summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit90825e2392b2d70e43c7a25b8a3752299a933894 (patch)
treee33aa27f02b74604afbfd0ea4f1cfca8833d882a /qtjava/javalib/org/kde/qt
downloadtdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz
tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtjava/javalib/org/kde/qt')
-rw-r--r--qtjava/javalib/org/kde/qt/Invocation.java527
-rw-r--r--qtjava/javalib/org/kde/qt/Makefile.am17
-rw-r--r--qtjava/javalib/org/kde/qt/QAccel.java63
-rw-r--r--qtjava/javalib/org/kde/qt/QAccelSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QAction.java115
-rw-r--r--qtjava/javalib/org/kde/qt/QActionGroup.java58
-rw-r--r--qtjava/javalib/org/kde/qt/QActionGroupSignals.java7
-rw-r--r--qtjava/javalib/org/kde/qt/QActionSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QApplication.java161
-rw-r--r--qtjava/javalib/org/kde/qt/QApplicationSignals.java10
-rw-r--r--qtjava/javalib/org/kde/qt/QAsyncIO.java23
-rw-r--r--qtjava/javalib/org/kde/qt/QAuServer.java17
-rw-r--r--qtjava/javalib/org/kde/qt/QBig5Codec.java26
-rw-r--r--qtjava/javalib/org/kde/qt/QBitmap.java96
-rw-r--r--qtjava/javalib/org/kde/qt/QBoxLayout.java109
-rw-r--r--qtjava/javalib/org/kde/qt/QBrush.java52
-rw-r--r--qtjava/javalib/org/kde/qt/QBuffer.java39
-rw-r--r--qtjava/javalib/org/kde/qt/QButton.java85
-rw-r--r--qtjava/javalib/org/kde/qt/QButtonGroup.java100
-rw-r--r--qtjava/javalib/org/kde/qt/QButtonGroupSignals.java9
-rw-r--r--qtjava/javalib/org/kde/qt/QButtonSignals.java11
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvas.java103
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvasEllipse.java39
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvasItem.java57
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvasLine.java27
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvasPixmap.java32
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvasPixmapArray.java40
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvasPolygon.java25
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvasPolygonalItem.java17
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvasRectangle.java39
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvasSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvasSpline.java24
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvasSprite.java50
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvasText.java42
-rw-r--r--qtjava/javalib/org/kde/qt/QCanvasView.java65
-rw-r--r--qtjava/javalib/org/kde/qt/QCheckBox.java50
-rw-r--r--qtjava/javalib/org/kde/qt/QCheckListItem.java111
-rw-r--r--qtjava/javalib/org/kde/qt/QCheckTableItem.java27
-rw-r--r--qtjava/javalib/org/kde/qt/QChildEvent.java22
-rw-r--r--qtjava/javalib/org/kde/qt/QClassInfo.java21
-rw-r--r--qtjava/javalib/org/kde/qt/QClipboard.java40
-rw-r--r--qtjava/javalib/org/kde/qt/QCloseEvent.java22
-rw-r--r--qtjava/javalib/org/kde/qt/QColor.java84
-rw-r--r--qtjava/javalib/org/kde/qt/QColorDialog.java24
-rw-r--r--qtjava/javalib/org/kde/qt/QColorDrag.java51
-rw-r--r--qtjava/javalib/org/kde/qt/QColorGroup.java73
-rw-r--r--qtjava/javalib/org/kde/qt/QComboBox.java123
-rw-r--r--qtjava/javalib/org/kde/qt/QComboBoxSignals.java11
-rw-r--r--qtjava/javalib/org/kde/qt/QComboTableItem.java38
-rw-r--r--qtjava/javalib/org/kde/qt/QContextMenuEvent.java41
-rw-r--r--qtjava/javalib/org/kde/qt/QCursor.java69
-rw-r--r--qtjava/javalib/org/kde/qt/QCustomEvent.java22
-rw-r--r--qtjava/javalib/org/kde/qt/QCustomMenuItem.java13
-rw-r--r--qtjava/javalib/org/kde/qt/QDataBrowser.java97
-rw-r--r--qtjava/javalib/org/kde/qt/QDataBrowserSignals.java19
-rw-r--r--qtjava/javalib/org/kde/qt/QDataPump.java23
-rw-r--r--qtjava/javalib/org/kde/qt/QDataSink.java12
-rw-r--r--qtjava/javalib/org/kde/qt/QDataSource.java14
-rw-r--r--qtjava/javalib/org/kde/qt/QDataStream.java63
-rw-r--r--qtjava/javalib/org/kde/qt/QDataTable.java159
-rw-r--r--qtjava/javalib/org/kde/qt/QDataTableSignals.java15
-rw-r--r--qtjava/javalib/org/kde/qt/QDataView.java46
-rw-r--r--qtjava/javalib/org/kde/qt/QDateEdit.java88
-rw-r--r--qtjava/javalib/org/kde/qt/QDateEditSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QDateTimeEdit.java65
-rw-r--r--qtjava/javalib/org/kde/qt/QDateTimeEditBase.java18
-rw-r--r--qtjava/javalib/org/kde/qt/QDateTimeEditSignals.java9
-rw-r--r--qtjava/javalib/org/kde/qt/QDesktopWidget.java44
-rw-r--r--qtjava/javalib/org/kde/qt/QDesktopWidgetSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QDial.java102
-rw-r--r--qtjava/javalib/org/kde/qt/QDialSignals.java10
-rw-r--r--qtjava/javalib/org/kde/qt/QDialog.java77
-rw-r--r--qtjava/javalib/org/kde/qt/QDir.java141
-rw-r--r--qtjava/javalib/org/kde/qt/QDockArea.java58
-rw-r--r--qtjava/javalib/org/kde/qt/QDockWindow.java116
-rw-r--r--qtjava/javalib/org/kde/qt/QDockWindowSignals.java9
-rw-r--r--qtjava/javalib/org/kde/qt/QDomAttr.java31
-rw-r--r--qtjava/javalib/org/kde/qt/QDomCDATASection.java26
-rw-r--r--qtjava/javalib/org/kde/qt/QDomCharacterData.java34
-rw-r--r--qtjava/javalib/org/kde/qt/QDomComment.java26
-rw-r--r--qtjava/javalib/org/kde/qt/QDomDocument.java86
-rw-r--r--qtjava/javalib/org/kde/qt/QDomDocumentFragment.java26
-rw-r--r--qtjava/javalib/org/kde/qt/QDomDocumentType.java32
-rw-r--r--qtjava/javalib/org/kde/qt/QDomElement.java53
-rw-r--r--qtjava/javalib/org/kde/qt/QDomEntity.java29
-rw-r--r--qtjava/javalib/org/kde/qt/QDomEntityReference.java26
-rw-r--r--qtjava/javalib/org/kde/qt/QDomImplementation.java31
-rw-r--r--qtjava/javalib/org/kde/qt/QDomNamedNodeMap.java37
-rw-r--r--qtjava/javalib/org/kde/qt/QDomNode.java106
-rw-r--r--qtjava/javalib/org/kde/qt/QDomNotation.java28
-rw-r--r--qtjava/javalib/org/kde/qt/QDomProcessingInstruction.java29
-rw-r--r--qtjava/javalib/org/kde/qt/QDomText.java27
-rw-r--r--qtjava/javalib/org/kde/qt/QDoubleValidator.java47
-rw-r--r--qtjava/javalib/org/kde/qt/QDragEnterEvent.java19
-rw-r--r--qtjava/javalib/org/kde/qt/QDragLeaveEvent.java19
-rw-r--r--qtjava/javalib/org/kde/qt/QDragManager.java12
-rw-r--r--qtjava/javalib/org/kde/qt/QDragMoveEvent.java30
-rw-r--r--qtjava/javalib/org/kde/qt/QDragObject.java37
-rw-r--r--qtjava/javalib/org/kde/qt/QDragResponseEvent.java20
-rw-r--r--qtjava/javalib/org/kde/qt/QDropEvent.java51
-rw-r--r--qtjava/javalib/org/kde/qt/QDropSite.java21
-rw-r--r--qtjava/javalib/org/kde/qt/QEditorFactory.java32
-rw-r--r--qtjava/javalib/org/kde/qt/QErrorMessage.java31
-rw-r--r--qtjava/javalib/org/kde/qt/QEucJpCodec.java27
-rw-r--r--qtjava/javalib/org/kde/qt/QEucKrCodec.java27
-rw-r--r--qtjava/javalib/org/kde/qt/QEvent.java98
-rw-r--r--qtjava/javalib/org/kde/qt/QEventLoop.java57
-rw-r--r--qtjava/javalib/org/kde/qt/QEventLoopSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QFile.java51
-rw-r--r--qtjava/javalib/org/kde/qt/QFileDialog.java155
-rw-r--r--qtjava/javalib/org/kde/qt/QFileDialogSignals.java12
-rw-r--r--qtjava/javalib/org/kde/qt/QFileIconProvider.java34
-rw-r--r--qtjava/javalib/org/kde/qt/QFileInfo.java88
-rw-r--r--qtjava/javalib/org/kde/qt/QFilePreview.java12
-rw-r--r--qtjava/javalib/org/kde/qt/QFocusData.java18
-rw-r--r--qtjava/javalib/org/kde/qt/QFocusEvent.java32
-rw-r--r--qtjava/javalib/org/kde/qt/QFont.java203
-rw-r--r--qtjava/javalib/org/kde/qt/QFontDatabase.java56
-rw-r--r--qtjava/javalib/org/kde/qt/QFontDialog.java18
-rw-r--r--qtjava/javalib/org/kde/qt/QFontInfo.java42
-rw-r--r--qtjava/javalib/org/kde/qt/QFontMetrics.java61
-rw-r--r--qtjava/javalib/org/kde/qt/QFrame.java82
-rw-r--r--qtjava/javalib/org/kde/qt/QFtp.java110
-rw-r--r--qtjava/javalib/org/kde/qt/QFtpSignals.java14
-rw-r--r--qtjava/javalib/org/kde/qt/QGL.java40
-rw-r--r--qtjava/javalib/org/kde/qt/QGLColormap.java36
-rw-r--r--qtjava/javalib/org/kde/qt/QGLContext.java49
-rw-r--r--qtjava/javalib/org/kde/qt/QGLFormat.java57
-rw-r--r--qtjava/javalib/org/kde/qt/QGLWidget.java136
-rw-r--r--qtjava/javalib/org/kde/qt/QGb18030Codec.java26
-rw-r--r--qtjava/javalib/org/kde/qt/QGbkCodec.java26
-rw-r--r--qtjava/javalib/org/kde/qt/QGrid.java61
-rw-r--r--qtjava/javalib/org/kde/qt/QGridLayout.java142
-rw-r--r--qtjava/javalib/org/kde/qt/QGridView.java29
-rw-r--r--qtjava/javalib/org/kde/qt/QGroupBox.java109
-rw-r--r--qtjava/javalib/org/kde/qt/QGroupBoxSignals.java7
-rw-r--r--qtjava/javalib/org/kde/qt/QHBox.java52
-rw-r--r--qtjava/javalib/org/kde/qt/QHBoxLayout.java68
-rw-r--r--qtjava/javalib/org/kde/qt/QHButtonGroup.java48
-rw-r--r--qtjava/javalib/org/kde/qt/QHGroupBox.java48
-rw-r--r--qtjava/javalib/org/kde/qt/QHeader.java120
-rw-r--r--qtjava/javalib/org/kde/qt/QHeaderSignals.java14
-rw-r--r--qtjava/javalib/org/kde/qt/QHebrewCodec.java25
-rw-r--r--qtjava/javalib/org/kde/qt/QHideEvent.java19
-rw-r--r--qtjava/javalib/org/kde/qt/QHostAddress.java50
-rw-r--r--qtjava/javalib/org/kde/qt/QHttp.java105
-rw-r--r--qtjava/javalib/org/kde/qt/QHttpHeader.java27
-rw-r--r--qtjava/javalib/org/kde/qt/QHttpRequestHeader.java53
-rw-r--r--qtjava/javalib/org/kde/qt/QHttpResponseHeader.java30
-rw-r--r--qtjava/javalib/org/kde/qt/QHttpSignals.java14
-rw-r--r--qtjava/javalib/org/kde/qt/QIMEvent.java25
-rw-r--r--qtjava/javalib/org/kde/qt/QIODevice.java84
-rw-r--r--qtjava/javalib/org/kde/qt/QIODeviceInterface.java40
-rw-r--r--qtjava/javalib/org/kde/qt/QIODeviceSource.java29
-rw-r--r--qtjava/javalib/org/kde/qt/QIconDrag.java32
-rw-r--r--qtjava/javalib/org/kde/qt/QIconDragItem.java24
-rw-r--r--qtjava/javalib/org/kde/qt/QIconSet.java68
-rw-r--r--qtjava/javalib/org/kde/qt/QIconView.java154
-rw-r--r--qtjava/javalib/org/kde/qt/QIconViewItem.java116
-rw-r--r--qtjava/javalib/org/kde/qt/QIconViewSignals.java26
-rw-r--r--qtjava/javalib/org/kde/qt/QImage.java171
-rw-r--r--qtjava/javalib/org/kde/qt/QImageConsumer.java18
-rw-r--r--qtjava/javalib/org/kde/qt/QImageDecoder.java29
-rw-r--r--qtjava/javalib/org/kde/qt/QImageDrag.java54
-rw-r--r--qtjava/javalib/org/kde/qt/QImageFormat.java12
-rw-r--r--qtjava/javalib/org/kde/qt/QImageFormatType.java13
-rw-r--r--qtjava/javalib/org/kde/qt/QImageIO.java54
-rw-r--r--qtjava/javalib/org/kde/qt/QImageTextKeyLang.java27
-rw-r--r--qtjava/javalib/org/kde/qt/QInputDialog.java40
-rw-r--r--qtjava/javalib/org/kde/qt/QIntValidator.java44
-rw-r--r--qtjava/javalib/org/kde/qt/QJisCodec.java27
-rw-r--r--qtjava/javalib/org/kde/qt/QJpUnicodeConv.java62
-rw-r--r--qtjava/javalib/org/kde/qt/QKeyEvent.java44
-rw-r--r--qtjava/javalib/org/kde/qt/QKeySequence.java55
-rw-r--r--qtjava/javalib/org/kde/qt/QLCDNumber.java85
-rw-r--r--qtjava/javalib/org/kde/qt/QLCDNumberSignals.java7
-rw-r--r--qtjava/javalib/org/kde/qt/QLabel.java93
-rw-r--r--qtjava/javalib/org/kde/qt/QLayout.java61
-rw-r--r--qtjava/javalib/org/kde/qt/QLayoutItem.java27
-rw-r--r--qtjava/javalib/org/kde/qt/QLayoutItemInterface.java21
-rw-r--r--qtjava/javalib/org/kde/qt/QLibrary.java29
-rw-r--r--qtjava/javalib/org/kde/qt/QLineEdit.java141
-rw-r--r--qtjava/javalib/org/kde/qt/QLineEditSignals.java10
-rw-r--r--qtjava/javalib/org/kde/qt/QListBox.java174
-rw-r--r--qtjava/javalib/org/kde/qt/QListBoxItem.java25
-rw-r--r--qtjava/javalib/org/kde/qt/QListBoxPixmap.java49
-rw-r--r--qtjava/javalib/org/kde/qt/QListBoxSignals.java28
-rw-r--r--qtjava/javalib/org/kde/qt/QListBoxText.java43
-rw-r--r--qtjava/javalib/org/kde/qt/QListView.java161
-rw-r--r--qtjava/javalib/org/kde/qt/QListViewItem.java262
-rw-r--r--qtjava/javalib/org/kde/qt/QListViewSignals.java29
-rw-r--r--qtjava/javalib/org/kde/qt/QLocalFs.java30
-rw-r--r--qtjava/javalib/org/kde/qt/QMainWindow.java125
-rw-r--r--qtjava/javalib/org/kde/qt/QMainWindowSignals.java10
-rw-r--r--qtjava/javalib/org/kde/qt/QMenuBar.java158
-rw-r--r--qtjava/javalib/org/kde/qt/QMenuBarSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QMenuData.java114
-rw-r--r--qtjava/javalib/org/kde/qt/QMenuDataInterface.java94
-rw-r--r--qtjava/javalib/org/kde/qt/QMenuItem.java41
-rw-r--r--qtjava/javalib/org/kde/qt/QMessageBox.java144
-rw-r--r--qtjava/javalib/org/kde/qt/QMetaData.java25
-rw-r--r--qtjava/javalib/org/kde/qt/QMetaEnum.java21
-rw-r--r--qtjava/javalib/org/kde/qt/QMetaObject.java64
-rw-r--r--qtjava/javalib/org/kde/qt/QMetaProperty.java52
-rw-r--r--qtjava/javalib/org/kde/qt/QMimeSource.java19
-rw-r--r--qtjava/javalib/org/kde/qt/QMimeSourceFactory.java38
-rw-r--r--qtjava/javalib/org/kde/qt/QMimeSourceInterface.java11
-rw-r--r--qtjava/javalib/org/kde/qt/QMouseEvent.java36
-rw-r--r--qtjava/javalib/org/kde/qt/QMoveEvent.java21
-rw-r--r--qtjava/javalib/org/kde/qt/QMovie.java90
-rw-r--r--qtjava/javalib/org/kde/qt/QMultiLineEdit.java84
-rw-r--r--qtjava/javalib/org/kde/qt/QNetworkOperation.java40
-rw-r--r--qtjava/javalib/org/kde/qt/QNetworkProtocol.java84
-rw-r--r--qtjava/javalib/org/kde/qt/QNetworkProtocolSignals.java16
-rw-r--r--qtjava/javalib/org/kde/qt/QObject.java272
-rw-r--r--qtjava/javalib/org/kde/qt/QObjectCleanupHandler.java27
-rw-r--r--qtjava/javalib/org/kde/qt/QObjectSignals.java9
-rw-r--r--qtjava/javalib/org/kde/qt/QPaintDevice.java86
-rw-r--r--qtjava/javalib/org/kde/qt/QPaintDeviceInterface.java11
-rw-r--r--qtjava/javalib/org/kde/qt/QPaintDeviceMetrics.java42
-rw-r--r--qtjava/javalib/org/kde/qt/QPaintEvent.java47
-rw-r--r--qtjava/javalib/org/kde/qt/QPainter.java247
-rw-r--r--qtjava/javalib/org/kde/qt/QPalette.java64
-rw-r--r--qtjava/javalib/org/kde/qt/QPen.java61
-rw-r--r--qtjava/javalib/org/kde/qt/QPicture.java48
-rw-r--r--qtjava/javalib/org/kde/qt/QPixmap.java172
-rw-r--r--qtjava/javalib/org/kde/qt/QPoint.java39
-rw-r--r--qtjava/javalib/org/kde/qt/QPointArray.java68
-rw-r--r--qtjava/javalib/org/kde/qt/QPolygonScanner.java22
-rw-r--r--qtjava/javalib/org/kde/qt/QPopupMenu.java167
-rw-r--r--qtjava/javalib/org/kde/qt/QPopupMenuSignals.java12
-rw-r--r--qtjava/javalib/org/kde/qt/QPrintDialog.java40
-rw-r--r--qtjava/javalib/org/kde/qt/QPrinter.java147
-rw-r--r--qtjava/javalib/org/kde/qt/QProcess.java104
-rw-r--r--qtjava/javalib/org/kde/qt/QProcessSignals.java12
-rw-r--r--qtjava/javalib/org/kde/qt/QProgressBar.java77
-rw-r--r--qtjava/javalib/org/kde/qt/QProgressDialog.java98
-rw-r--r--qtjava/javalib/org/kde/qt/QProgressDialogSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QPushButton.java75
-rw-r--r--qtjava/javalib/org/kde/qt/QRadioButton.java46
-rw-r--r--qtjava/javalib/org/kde/qt/QRangeControl.java47
-rw-r--r--qtjava/javalib/org/kde/qt/QRangeControlInterface.java21
-rw-r--r--qtjava/javalib/org/kde/qt/QRect.java96
-rw-r--r--qtjava/javalib/org/kde/qt/QRegExp.java74
-rw-r--r--qtjava/javalib/org/kde/qt/QRegExpValidator.java41
-rw-r--r--qtjava/javalib/org/kde/qt/QRegion.java81
-rw-r--r--qtjava/javalib/org/kde/qt/QResizeEvent.java21
-rw-r--r--qtjava/javalib/org/kde/qt/QScrollBar.java97
-rw-r--r--qtjava/javalib/org/kde/qt/QScrollBarSignals.java14
-rw-r--r--qtjava/javalib/org/kde/qt/QScrollView.java160
-rw-r--r--qtjava/javalib/org/kde/qt/QScrollViewSignals.java11
-rw-r--r--qtjava/javalib/org/kde/qt/QSemiModal.java43
-rw-r--r--qtjava/javalib/org/kde/qt/QServerSocket.java18
-rw-r--r--qtjava/javalib/org/kde/qt/QSessionManager.java34
-rw-r--r--qtjava/javalib/org/kde/qt/QSettings.java70
-rw-r--r--qtjava/javalib/org/kde/qt/QShowEvent.java19
-rw-r--r--qtjava/javalib/org/kde/qt/QSignal.java83
-rw-r--r--qtjava/javalib/org/kde/qt/QSignalMapper.java35
-rw-r--r--qtjava/javalib/org/kde/qt/QSignalMapperSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QSignalSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QSimpleRichText.java59
-rw-r--r--qtjava/javalib/org/kde/qt/QSize.java49
-rw-r--r--qtjava/javalib/org/kde/qt/QSizeGrip.java33
-rw-r--r--qtjava/javalib/org/kde/qt/QSizePolicy.java77
-rw-r--r--qtjava/javalib/org/kde/qt/QSjisCodec.java27
-rw-r--r--qtjava/javalib/org/kde/qt/QSlider.java111
-rw-r--r--qtjava/javalib/org/kde/qt/QSliderSignals.java10
-rw-r--r--qtjava/javalib/org/kde/qt/QSocket.java108
-rw-r--r--qtjava/javalib/org/kde/qt/QSocketDevice.java92
-rw-r--r--qtjava/javalib/org/kde/qt/QSocketNotifier.java82
-rw-r--r--qtjava/javalib/org/kde/qt/QSocketNotifierSignals.java7
-rw-r--r--qtjava/javalib/org/kde/qt/QSocketSignals.java13
-rw-r--r--qtjava/javalib/org/kde/qt/QSound.java43
-rw-r--r--qtjava/javalib/org/kde/qt/QSpacerItem.java40
-rw-r--r--qtjava/javalib/org/kde/qt/QSpinBox.java116
-rw-r--r--qtjava/javalib/org/kde/qt/QSpinBoxSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QSpinWidget.java61
-rw-r--r--qtjava/javalib/org/kde/qt/QSpinWidgetSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QSplashScreen.java46
-rw-r--r--qtjava/javalib/org/kde/qt/QSplashScreenSignals.java7
-rw-r--r--qtjava/javalib/org/kde/qt/QSplitter.java83
-rw-r--r--qtjava/javalib/org/kde/qt/QSql.java42
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlCursor.java139
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlDatabase.java96
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlDriver.java45
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlEditorFactory.java33
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlError.java58
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlField.java45
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlFieldInfo.java88
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlForm.java51
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlIndex.java51
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlPropertyMap.java27
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlQuery.java76
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlQueryInterface.java38
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlRecord.java56
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlRecordInfo.java29
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlResult.java13
-rw-r--r--qtjava/javalib/org/kde/qt/QStatusBar.java50
-rw-r--r--qtjava/javalib/org/kde/qt/QStatusBarSignals.java7
-rw-r--r--qtjava/javalib/org/kde/qt/QStoredDrag.java36
-rw-r--r--qtjava/javalib/org/kde/qt/QStyle.java356
-rw-r--r--qtjava/javalib/org/kde/qt/QStyleFactory.java24
-rw-r--r--qtjava/javalib/org/kde/qt/QStyleOption.java88
-rw-r--r--qtjava/javalib/org/kde/qt/QStyleSheet.java44
-rw-r--r--qtjava/javalib/org/kde/qt/QStyleSheetItem.java105
-rw-r--r--qtjava/javalib/org/kde/qt/QSyntaxHighlighter.java15
-rw-r--r--qtjava/javalib/org/kde/qt/QTab.java44
-rw-r--r--qtjava/javalib/org/kde/qt/QTabBar.java79
-rw-r--r--qtjava/javalib/org/kde/qt/QTabBarSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QTabDialog.java89
-rw-r--r--qtjava/javalib/org/kde/qt/QTabDialogSignals.java13
-rw-r--r--qtjava/javalib/org/kde/qt/QTabWidget.java95
-rw-r--r--qtjava/javalib/org/kde/qt/QTabWidgetSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QTable.java212
-rw-r--r--qtjava/javalib/org/kde/qt/QTableItem.java61
-rw-r--r--qtjava/javalib/org/kde/qt/QTableSelection.java39
-rw-r--r--qtjava/javalib/org/kde/qt/QTableSignals.java14
-rw-r--r--qtjava/javalib/org/kde/qt/QTabletEvent.java35
-rw-r--r--qtjava/javalib/org/kde/qt/QTextBrowser.java45
-rw-r--r--qtjava/javalib/org/kde/qt/QTextBrowserSignals.java12
-rw-r--r--qtjava/javalib/org/kde/qt/QTextCodec.java43
-rw-r--r--qtjava/javalib/org/kde/qt/QTextDecoder.java12
-rw-r--r--qtjava/javalib/org/kde/qt/QTextDrag.java55
-rw-r--r--qtjava/javalib/org/kde/qt/QTextEdit.java262
-rw-r--r--qtjava/javalib/org/kde/qt/QTextEditSignals.java21
-rw-r--r--qtjava/javalib/org/kde/qt/QTextEncoder.java12
-rw-r--r--qtjava/javalib/org/kde/qt/QTextIStream.java24
-rw-r--r--qtjava/javalib/org/kde/qt/QTextOStream.java24
-rw-r--r--qtjava/javalib/org/kde/qt/QTextStream.java101
-rw-r--r--qtjava/javalib/org/kde/qt/QTextView.java53
-rw-r--r--qtjava/javalib/org/kde/qt/QTimeEdit.java87
-rw-r--r--qtjava/javalib/org/kde/qt/QTimeEditSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QTimer.java81
-rw-r--r--qtjava/javalib/org/kde/qt/QTimerEvent.java20
-rw-r--r--qtjava/javalib/org/kde/qt/QTimerSignals.java7
-rw-r--r--qtjava/javalib/org/kde/qt/QToolBar.java88
-rw-r--r--qtjava/javalib/org/kde/qt/QToolBox.java66
-rw-r--r--qtjava/javalib/org/kde/qt/QToolBoxSignals.java7
-rw-r--r--qtjava/javalib/org/kde/qt/QToolButton.java92
-rw-r--r--qtjava/javalib/org/kde/qt/QToolTip.java28
-rw-r--r--qtjava/javalib/org/kde/qt/QToolTipGroup.java35
-rw-r--r--qtjava/javalib/org/kde/qt/QToolTipGroupSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QTranslator.java59
-rw-r--r--qtjava/javalib/org/kde/qt/QTranslatorMessage.java59
-rw-r--r--qtjava/javalib/org/kde/qt/QTsciiCodec.java25
-rw-r--r--qtjava/javalib/org/kde/qt/QUriDrag.java65
-rw-r--r--qtjava/javalib/org/kde/qt/QUrl.java79
-rw-r--r--qtjava/javalib/org/kde/qt/QUrlInfo.java77
-rw-r--r--qtjava/javalib/org/kde/qt/QUrlInterface.java43
-rw-r--r--qtjava/javalib/org/kde/qt/QUrlOperator.java111
-rw-r--r--qtjava/javalib/org/kde/qt/QUrlOperatorSignals.java16
-rw-r--r--qtjava/javalib/org/kde/qt/QUtf16Codec.java24
-rw-r--r--qtjava/javalib/org/kde/qt/QUtf8Codec.java25
-rw-r--r--qtjava/javalib/org/kde/qt/QUuid.java54
-rw-r--r--qtjava/javalib/org/kde/qt/QVBox.java38
-rw-r--r--qtjava/javalib/org/kde/qt/QVBoxLayout.java68
-rw-r--r--qtjava/javalib/org/kde/qt/QVButtonGroup.java48
-rw-r--r--qtjava/javalib/org/kde/qt/QVGroupBox.java48
-rw-r--r--qtjava/javalib/org/kde/qt/QValidator.java35
-rw-r--r--qtjava/javalib/org/kde/qt/QVariant.java276
-rw-r--r--qtjava/javalib/org/kde/qt/QWMatrix.java63
-rw-r--r--qtjava/javalib/org/kde/qt/QWhatsThis.java37
-rw-r--r--qtjava/javalib/org/kde/qt/QWheelEvent.java46
-rw-r--r--qtjava/javalib/org/kde/qt/QWidget.java337
-rw-r--r--qtjava/javalib/org/kde/qt/QWidgetItem.java29
-rw-r--r--qtjava/javalib/org/kde/qt/QWidgetStack.java57
-rw-r--r--qtjava/javalib/org/kde/qt/QWidgetStackSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QWizard.java78
-rw-r--r--qtjava/javalib/org/kde/qt/QWizardSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QWorkspace.java61
-rw-r--r--qtjava/javalib/org/kde/qt/QWorkspaceSignals.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlAttributes.java36
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlContentHandler.java23
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlContentHandlerInterface.java18
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlDTDHandler.java14
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlDTDHandlerInterface.java9
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlDeclHandler.java15
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlDeclHandlerInterface.java10
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlDefaultHandler.java47
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlEntityResolver.java13
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlEntityResolverInterface.java8
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlErrorHandler.java15
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlErrorHandlerInterface.java10
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlInputSource.java41
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlLexicalHandler.java19
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlLexicalHandlerInterface.java14
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlLocator.java13
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlNamespaceSupport.java32
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlParseException.java46
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlReader.java32
-rw-r--r--qtjava/javalib/org/kde/qt/QXmlSimpleReader.java42
-rw-r--r--qtjava/javalib/org/kde/qt/Qt.java1140
-rw-r--r--qtjava/javalib/org/kde/qt/QtSupport.java27
-rw-r--r--qtjava/javalib/org/kde/qt/QtUtils.java15
-rw-r--r--qtjava/javalib/org/kde/qt/WeakValueMap.java68
-rw-r--r--qtjava/javalib/org/kde/qt/qtjava.java285
396 files changed, 22948 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/Invocation.java b/qtjava/javalib/org/kde/qt/Invocation.java
new file mode 100644
index 00000000..04a41949
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/Invocation.java
@@ -0,0 +1,527 @@
+/***************************************************************************
+ Invocation.java - description
+ -------------------
+ begin : Tue Oct 31 06:12:14 2000
+ copyright : (C) 2000-2002 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 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.qt;
+
+import java.util.*;
+import java.lang.reflect.*;
+
+/** A utility class for creating a closure to invoke later - when a Java
+ slot or event handler needs to be activated
+
+ @author Richard Dale <Richard_Dale@tipitina.demon.co.uk>
+ */
+public class Invocation {
+ /** The target object */
+ private Object onThis;
+ /** Arguments from an emitted signal to pass to the slot method */
+ private Object[] arguments;
+ /** The Java method that implements the slot, (or emit() for a signal target) */
+ private Method method;
+ /** An optional instance variable, used when the target is a signal,
+ rather than a slot. */
+ private String signalName;
+
+ /** Converts a type signature from a Qt signal or slot to an array of
+ Class objects corresponding to the Java types of the parameters */
+ private static Class[] fromQtTypeSignature(String qtTypeSignature) {
+ ArrayList parameterTypes = new ArrayList();
+ StringTokenizer tokenizer = new StringTokenizer(qtTypeSignature, ",");
+
+ while (tokenizer.hasMoreTokens()) {
+ String token = tokenizer.nextToken();
+
+ if (token.equals("")) {
+ parameterTypes.add(null);
+ } else if (token.equals("boolean")) {
+ parameterTypes.add(boolean.class);
+ } else if (token.equals("char")) {
+ parameterTypes.add(char.class);
+ } else if (token.equals("long")) {
+ parameterTypes.add(long.class);
+ } else if (token.equals("int")) {
+ parameterTypes.add(int.class);
+ } else if (token.equals("short")) {
+ parameterTypes.add(short.class);
+ } else if (token.equals("float")) {
+ parameterTypes.add(float.class);
+ } else if (token.equals("double")) {
+ parameterTypes.add(double.class);
+ } else if (token.equals("int[]")) {
+ parameterTypes.add(int[].class);
+ } else if (token.equals("byte[]")) {
+ parameterTypes.add(byte[].class);
+ } else {
+ try {
+ parameterTypes.add(Class.forName(token));
+ } catch (ClassNotFoundException e) {
+ Qt.qWarning("QObject.connect: No such argument type: " + token);
+ return null;
+ }
+ }
+ }
+
+ return (Class[]) parameterTypes.toArray(new Class[0]);
+ }
+
+ /** Contained in a C++ JavaSlot instance, allows the JavaSlot to act as a proxy for the Java method to be invoked.
+ The method name in the slot string is converted to a Java Method instance, and the arguments to a suitable
+ Class[] structure, as the corresponding argument type list. */
+ Invocation(Object target, String receiverString) {
+ Method targetMethod = null;
+ Class targetClass = null;
+ String methodName;
+ Class[] parameterTypes;
+
+ if (receiverString.startsWith("2")) {
+ // Target is a signal
+ methodName = "emit";
+ parameterTypes = new Class[] {java.lang.String.class, Object[].class};
+ signalName = receiverString;
+ } else {
+ // Target is a slot
+ methodName = receiverString.substring(1, receiverString.indexOf('('));
+ parameterTypes = fromQtTypeSignature(receiverString.substring( receiverString.indexOf('(') + 1,
+ receiverString.indexOf(')') ) );
+ if (parameterTypes == null) {
+ return;
+ }
+ signalName = null;
+ }
+
+ // A slot can either be public or protected. However, it isn't possible
+ // to obtain inherited protected members using getMethod() or
+ // getDeclaredMethod(). Hence, the apparently over complicated loop here.
+ targetClass = target.getClass();
+
+ do {
+ try {
+ targetMethod = targetClass.getDeclaredMethod(methodName, parameterTypes);
+ } catch (NoSuchMethodException e1) {
+ try {
+ targetMethod = targetClass.getMethod(methodName, parameterTypes);
+ } catch (NoSuchMethodException e2) {
+ ;
+ }
+ }
+
+ if (targetMethod != null) {
+ onThis = target;
+ arguments = null;
+ method = targetMethod;
+ method.setAccessible(true);
+ return;
+ }
+
+ targetClass = targetClass.getSuperclass();
+ } while (targetClass != null);
+
+ System.out.print("QObject.connect: No such slot " + methodName + "(");
+ for (int index = 0; index < parameterTypes.length; index++) {
+ System.out.print(parameterTypes[index].toString());
+
+ if (index + 1 < parameterTypes.length) {
+ System.out.print(",");
+ }
+ }
+ System.out.println(")");
+ return;
+ }
+
+ Invocation(Object target, Object[] args, Method aMethod) {
+ onThis = target;
+ arguments = args;
+ method = aMethod;
+ method.setAccessible(true);
+ }
+
+ public void setArguments(Object[] args) {
+ arguments = args;
+ }
+
+ /** Not used at present, here for completeness */
+ public Object invoke() throws IllegalAccessException, InvocationTargetException {
+ try {
+ Object result = method.invoke(onThis, arguments);
+ } catch (InvocationTargetException e) {
+ return null;
+ } catch (IllegalAccessException e) {
+ return null;
+ } finally {
+ return null;
+ }
+ }
+
+ /** Used for Java slot/signal targets, handles callbacks */
+ public Object invoke(Object[] args) throws IllegalAccessException, InvocationTargetException {
+ if (signalName != null) {
+ // If the target is a signal, then there are two parameters needed for QObject.emit().
+ // A signal name, followed by an array of arguments to be emitted.
+ Object[] emitArgs = new Object[2];
+ emitArgs[0] = signalName;
+ emitArgs[1] = args;
+ setArguments(emitArgs);
+ } else {
+ // If the target is a slot, then just pass on the arguments to the target slot
+ setArguments(args);
+ }
+
+ try {
+ Object result = method.invoke(onThis, arguments);
+ } catch (InvocationTargetException e) {
+ Qt.qWarning("Slot invocation failed");
+ e.printStackTrace();
+ return null;
+ } catch (IllegalAccessException e) {
+ Qt.qWarning("Slot invocation failed");
+ e.printStackTrace();
+ return null;
+ } finally {
+ return null;
+ }
+ }
+
+ /** Used for boolean slot handling callbacks */
+ public Object invoke(boolean arg) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[1];
+ arguments[0] = new Boolean(arg);
+ return invoke(arguments);
+ }
+
+ /** Used for C++ sender to byte (ie unsigned char in C++) Java slot handling callbacks */
+ public Object invoke(byte arg) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[1];
+ arguments[0] = new Byte(arg);
+ return invoke(arguments);
+ }
+
+ /** Used for C++ sender to char Java slot handling callbacks */
+ public Object invoke(char arg) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[1];
+ arguments[0] = new Character(arg);
+ return invoke(arguments);
+ }
+
+ /** Used for C++ sender to short Java slot handling callbacks */
+ public Object invoke(short arg) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[1];
+ arguments[0] = new Short(arg);
+ return invoke(arguments);
+ }
+
+ /** Used for C++ sender to int Java slot handling callbacks */
+ public Object invoke(int arg) throws IllegalAccessException, InvocationTargetException{
+ arguments = new Object[1];
+ arguments[0] = new Integer(arg);
+ return invoke(arguments);
+ }
+
+ /** Used for C++ sender to long Java slot handling callbacks */
+ public Object invoke(long arg) throws IllegalAccessException, InvocationTargetException{
+ arguments = new Object[1];
+ arguments[0] = new Long(arg);
+ return invoke(arguments);
+ }
+
+ /** Used for C++ sender float Java slot handling callbacks */
+ public Object invoke(float arg) throws IllegalAccessException, InvocationTargetException{
+ arguments = new Object[1];
+ arguments[0] = new Float(arg);
+ return invoke(arguments);
+ }
+
+ /** Used for C++ sender to double Java slot handling callbacks */
+ public Object invoke(double arg) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[1];
+ arguments[0] = new Double(arg);
+ return invoke(arguments);
+ }
+
+ public Object invoke(Object arg) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[1];
+ arguments[0] = arg;
+ return invoke(arguments);
+ }
+
+ public Object invoke(Object arg1, byte[] arg2) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[2];
+ arguments[0] = arg1;
+ arguments[1] = arg2;
+ return invoke(arguments);
+ }
+
+ public Object invoke(Object arg1, Object arg2) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[2];
+ arguments[0] = arg1;
+ arguments[1] = arg2;
+ return invoke(arguments);
+ }
+
+ public Object invoke(Object arg1, Object arg2, Object arg3) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[3];
+ arguments[0] = arg1;
+ arguments[1] = arg2;
+ arguments[2] = arg3;
+ return invoke(arguments);
+ }
+
+ public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[4];
+ arguments[0] = arg1;
+ arguments[1] = arg2;
+ arguments[2] = arg3;
+ arguments[3] = arg4;
+ return invoke(arguments);
+ }
+
+ public Object invoke(Object arg1, boolean arg2) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[2];
+ arguments[0] = arg1;
+ arguments[1] = new Boolean(arg2);
+ return invoke(arguments);
+ }
+
+ public Object invoke(Object arg1, Object arg2, int arg3) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[3];
+ arguments[0] = arg1;
+ arguments[1] = arg2;
+ arguments[2] = new Integer(arg3);
+ return invoke(arguments);
+ }
+
+ public Object invoke(int arg1, Object arg2) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[2];
+ arguments[0] = new Integer(arg1);
+ arguments[1] = arg2;
+ return invoke(arguments);
+ }
+
+ public Object invoke(int arg1, Object arg2, Object arg3) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[3];
+ arguments[0] = new Integer(arg1);
+ arguments[1] = arg2;
+ arguments[2] = arg3;
+ return invoke(arguments);
+ }
+
+ public Object invoke(int arg1, Object arg2, Object arg3, int arg4) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[3];
+ arguments[0] = new Integer(arg1);
+ arguments[1] = arg2;
+ arguments[2] = arg3;
+ arguments[3] = new Integer(arg4);
+ return invoke(arguments);
+ }
+
+ public Object invoke(int arg1, boolean arg2) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[2];
+ arguments[0] = new Integer(arg1);
+ arguments[1] = new Boolean(arg2);
+ return invoke(arguments);
+ }
+
+ public Object invoke(int arg1, int arg2) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[2];
+ arguments[0] = new Integer(arg1);
+ arguments[1] = new Integer(arg2);
+ return invoke(arguments);
+ }
+
+ public Object invoke(int arg1, int arg2, int arg3) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[3];
+ arguments[0] = new Integer(arg1);
+ arguments[1] = new Integer(arg2);
+ arguments[2] = new Integer(arg3);
+ return invoke(arguments);
+ }
+
+ public Object invoke(int arg1, int arg2, int arg3, Object arg4) throws IllegalAccessException, InvocationTargetException {
+ arguments = new Object[4];
+ arguments[0] = new Integer(arg1);
+ arguments[1] = new Integer(arg2);
+ arguments[2] = new Integer(arg3);
+ arguments[2] = arg4;
+ return invoke(arguments);
+ }
+
+ /** Invoke the named void method on the target object with no arguments. Returns true
+ if the target method was successfully invoked. */
+ public static boolean invoke(long target, String className, String methodName) throws NoSuchMethodException, ClassNotFoundException {
+ Method method;
+ Object onThis = qtjava.objectForQtKey(target, className, false);
+
+ try {
+ method = onThis.getClass().getMethod(methodName, (Class[]) null);
+ } catch (NoSuchMethodException e1) {
+ try {
+ method = onThis.getClass().getDeclaredMethod(methodName, (Class[]) null);
+ } catch (NoSuchMethodException e2) {
+ return false;
+ }
+ }
+
+ // Ignore any native code event handling methods
+ if ((method.getModifiers() & Modifier.NATIVE) != 0) {
+ return false;
+ }
+
+ try {
+ method.setAccessible(true);
+ Object result = method.invoke(onThis, (Class[]) null);
+ return true;
+ } catch (InvocationTargetException e) {
+ Qt.qWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()");
+ e.printStackTrace();
+ return false;
+ } catch (IllegalAccessException e) {
+ Qt.qWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()");
+ e.printStackTrace();
+ return false;
+ }
+ }
+ /** Invoke the named method on the target object with no arguments. Returns false
+ iff the target method was successfully invoked AND returned false. Unlike the other
+ variants of boolean invoke(), this method returns true if no target java method exists.
+ Used for boolean callbacks such as KMainWindow::queryClose() */
+ public static boolean booleanInvoke(long target, String methodName) throws NoSuchMethodException, ClassNotFoundException {
+ Method method;
+ Object onThis = qtjava.objectForQtKey(target, "QObject", false);
+
+ try {
+ method = onThis.getClass().getMethod(methodName, (Class[]) null);
+ } catch (NoSuchMethodException e1) {
+ try {
+ method = onThis.getClass().getDeclaredMethod(methodName, (Class[]) null);
+ } catch (NoSuchMethodException e2) {
+ return true;
+ }
+ }
+
+ // Ignore any native code event handling methods
+ if ((method.getModifiers() & Modifier.NATIVE) != 0) {
+ return true;
+ }
+
+ try {
+ method.setAccessible(true);
+ Object result = method.invoke(onThis, (Class[]) null);
+ return ((Boolean) result).booleanValue();
+ } catch (InvocationTargetException e) {
+ Qt.qWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()");
+ e.printStackTrace();
+ return true;
+ } catch (IllegalAccessException e) {
+ Qt.qWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()");
+ e.printStackTrace();
+ return true;
+ }
+ }
+
+ /** Invoke the named method on the target object with a single argument. Returns true
+ if the method was successfully invoked, otherwise false.
+ Used for event handling callbacks */
+ public static boolean invoke(long target, long arg, String argClass, String methodName) throws NoSuchMethodException, ClassNotFoundException {
+ Method method = null;
+ Class[] parameterType = new Class[1];
+ parameterType[0] = Class.forName(qtjava.toFullyQualifiedClassName(argClass));
+ Object onThis = qtjava.objectForQtKey(target, "org.kde.qt.QObject", false);
+
+ Class targetClass = onThis.getClass();
+
+ do {
+ try {
+ method = targetClass.getDeclaredMethod(methodName, parameterType);
+ method.setAccessible(true);
+ break;
+ } catch (NoSuchMethodException e1) {
+ }
+
+ targetClass = targetClass.getSuperclass();
+ } while (targetClass != null);
+
+ if (targetClass == null) {
+ return false;
+ }
+
+ // Ignore any native code event handling methods
+ if ((method.getModifiers() & Modifier.NATIVE) != 0) {
+ return false;
+ }
+
+ Object[] arguments = new Object[1];
+ arguments[0] = qtjava.objectForQtKey(arg, argClass, false);
+
+ try {
+ // Invoke the event handler
+ Object result = method.invoke(onThis, arguments);
+
+ // The event will no longer be referenced, so force remove its java mapping entry.
+ qtjava.removeObjectForQtKey(arg);
+ } catch (InvocationTargetException e) {
+ Qt.qWarning("Event handler failed : " + onThis.getClass().getName() + "." + methodName + "(" + qtjava.toFullyQualifiedClassName(argClass) + " event)");
+ e.printStackTrace();
+ return false;
+ } catch (IllegalAccessException e) {
+ Qt.qWarning("Event handler failed : " + onThis.getClass().getName() + "." + methodName + "(" + qtjava.toFullyQualifiedClassName(argClass) + " event)");
+ e.printStackTrace();
+ return false;
+ } finally {
+ return true;
+ }
+ }
+
+ /** Invoke the named method on the target object with two arguments. Returns true
+ if the method was successfully invoked, otherwise false.
+ Used for event filter callbacks */
+ public static boolean invoke(long target, long arg1, String arg1class, long arg2, String arg2class, String methodName) throws NoSuchMethodException, ClassNotFoundException {
+ Method method;
+ Boolean result = null;
+ Object[] arguments = new Object[2];
+ arguments[0] = qtjava.objectForQtKey(arg1, arg1class, false);
+ arguments[1] = qtjava.objectForQtKey(arg2, arg2class, false);
+
+ Class[] parameterTypes = new Class[] { QObject.class, QEvent.class };
+ Object onThis = qtjava.objectForQtKey(target, "QObject", false);
+
+ try {
+ method = onThis.getClass().getMethod(methodName, parameterTypes);
+ method.setAccessible(true);
+ } catch (NoSuchMethodException e) {
+ return false;
+ }
+
+ // Ignore any native code event handling methods
+ if ((method.getModifiers() & Modifier.NATIVE) != 0) {
+ return false;
+ }
+
+ try {
+ result = (Boolean) method.invoke(onThis, arguments);
+ } catch (InvocationTargetException e) {
+ Qt.qWarning("Event filter failed : " + onThis.getClass().getName() + "." + methodName + "()");
+ e.printStackTrace();
+ return false;
+ } catch (IllegalAccessException e) {
+ Qt.qWarning("Event filter failed : " + onThis.getClass().getName() + "." + methodName + "()");
+ e.printStackTrace();
+ return false;
+ } finally {
+ return result.booleanValue();
+ }
+ }
+}
diff --git a/qtjava/javalib/org/kde/qt/Makefile.am b/qtjava/javalib/org/kde/qt/Makefile.am
new file mode 100644
index 00000000..c05e600a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/Makefile.am
@@ -0,0 +1,17 @@
+####### kdevelop will overwrite this part!!! (begin)##########
+
+
+EXTRA_DIST = QtUtils.java QAccel.java QAction.java QActionGroup.java QApplication.java QAsyncIO.java QAuServer.java QBig5Codec.java QBitmap.java QBoxLayout.java QBrush.java QBuffer.java QButton.java QButtonGroup.java QCanvas.java QCanvasEllipse.java QCanvasItem.java QCanvasLine.java QCanvasPixmap.java QCanvasPixmapArray.java QCanvasPolygon.java QCanvasPolygonalItem.java QCanvasRectangle.java QCanvasSprite.java QCanvasText.java QCanvasView.java QCheckListItem.java QChildEvent.java QClassInfo.java QClipboard.java QCloseEvent.java QColor.java QColorDialog.java QColorDrag.java QColorGroup.java QComboBox.java QCursor.java QCustomEvent.java QCustomMenuItem.java QDataPump.java QDataSink.java QDataSource.java QDataStream.java QDial.java QDialog.java QDir.java QDomAttr.java QDomCDATASection.java QDomCharacterData.java QDomComment.java QDomDocument.java QDomDocumentFragment.java QDomDocumentType.java QDomElement.java QDomEntity.java QDomEntityReference.java QDomImplementation.java QDomNamedNodeMap.java QDomNode.java QDomNotation.java QDomProcessingInstruction.java QDomText.java QDoubleValidator.java QDragEnterEvent.java QDragLeaveEvent.java QDragManager.java QDragMoveEvent.java QDragObject.java QDragResponseEvent.java QDropEvent.java QDropSite.java QEucJpCodec.java QEucKrCodec.java QEvent.java QFile.java QFileDialog.java QFileIconProvider.java QFileInfo.java QFilePreview.java QFocusData.java QFocusEvent.java QFont.java QFontDatabase.java QFontDialog.java QFontInfo.java QFontMetrics.java QFrame.java QGL.java QGLContext.java QGLFormat.java QGLWidget.java QGbkCodec.java QGrid.java QGridLayout.java QGroupBox.java QHBox.java QHBoxLayout.java QHButtonGroup.java QHGroupBox.java QHeader.java QHebrewCodec.java QHideEvent.java QIODevice.java QIODeviceInterface.java QIODeviceSource.java QIconDrag.java QIconDragItem.java QIconSet.java QIconView.java QIconViewItem.java QImage.java QImageConsumer.java QImageDecoder.java QImageDrag.java QImageFormat.java QImageFormatType.java QImageIO.java QImageTextKeyLang.java QInputDialog.java QIntValidator.java QJisCodec.java QJpUnicodeConv.java QKeyEvent.java QLCDNumber.java QLabel.java QLayout.java QLayoutItem.java QLayoutItemInterface.java QLineEdit.java QListBox.java QListBoxItem.java QListBoxPixmap.java QListBoxText.java QListView.java QListViewItem.java QMainWindow.java QMenuBar.java QMenuData.java QMenuDataInterface.java QMessageBox.java QMetaData.java QMetaEnum.java QMetaObject.java QMetaProperty.java QMimeSource.java QMimeSourceFactory.java QMimeSourceInterface.java QMouseEvent.java QMoveEvent.java QMovie.java QMultiLineEdit.java QNetworkOperation.java QObject.java QPaintDevice.java QPaintDeviceInterface.java QPaintEvent.java QPainter.java QPalette.java QPen.java QPicture.java QPixmap.java QPoint.java QPointArray.java QPolygonScanner.java QPopupMenu.java QPrintDialog.java QPrinter.java QProgressBar.java QProgressDialog.java QPushButton.java QRadioButton.java QRangeControl.java QRangeControlInterface.java QRect.java QRegion.java QResizeEvent.java QScrollBar.java QScrollView.java QSemiModal.java QSessionManager.java QShowEvent.java QSignal.java QSignalMapper.java QSimpleRichText.java QSize.java QSizeGrip.java QSizePolicy.java QSjisCodec.java QSlider.java QSound.java QSpacerItem.java QSpinBox.java QSplitter.java QStatusBar.java QStoredDrag.java QStyle.java QStyleSheet.java QStyleSheetItem.java QTab.java QTabBar.java QTabDialog.java QTabWidget.java QTable.java QTableItem.java QTableSelection.java QTextBrowser.java QTextCodec.java QTextDecoder.java QTextDrag.java QTextEncoder.java QTextIStream.java QTextOStream.java QTextStream.java QTextView.java QTimer.java QTimerEvent.java QToolBar.java QToolButton.java QToolTip.java QToolTipGroup.java QTranslator.java QTranslatorMessage.java QTsciiCodec.java QUriDrag.java QUrl.java QUrlInfo.java QUrlInterface.java QUrlOperator.java QUtf16Codec.java QUtf8Codec.java QVBox.java QVBoxLayout.java QVButtonGroup.java QVGroupBox.java QValidator.java QVariant.java QWMatrix.java QWhatsThis.java QWheelEvent.java QWidget.java QWidgetItem.java QWidgetStack.java QMenuItem.java QPaintDeviceMetrics.java QRegExp.java QCanvasSpline.java QCheckTableItem.java QComboTableItem.java QContextMenuEvent.java QDataBrowser.java QDataTable.java QDataView.java QDateEdit.java QDateTimeEdit.java QDesktopWidget.java QDockArea.java QDockWindow.java QEditorFactory.java QErrorMessage.java QGLColormap.java QGridView.java QIMEvent.java QLibrary.java QProcess.java QRegExpValidator.java QSettings.java QSql.java QSqlCursor.java QSqlDatabase.java QSqlDriver.java QSqlEditorFactory.java QSqlError.java QSqlField.java QSqlForm.java QSqlIndex.java QSqlPropertyMap.java QSqlQuery.java QSqlRecord.java QSqlResult.java QTabletEvent.java QTextEdit.java QTimeEdit.java QUuid.java QDateTimeEditBase.java QSqlQueryInterface.java QAccelSignals.java QActionGroupSignals.java QActionSignals.java QApplicationSignals.java QButtonGroupSignals.java QButtonSignals.java QCanvasSignals.java QComboBoxSignals.java QDataBrowserSignals.java QDataTableSignals.java QDateEditSignals.java QDateTimeEditSignals.java QDesktopWidgetSignals.java QDialSignals.java QDockWindowSignals.java QFileDialogSignals.java QGroupBoxSignals.java QHeaderSignals.java QIconViewSignals.java QLCDNumberSignals.java QLineEditSignals.java QListBoxSignals.java QListViewSignals.java QMainWindowSignals.java QMenuBarSignals.java QObjectSignals.java QPopupMenuSignals.java QProcessSignals.java QProgressDialogSignals.java QScrollBarSignals.java QScrollViewSignals.java QSignalMapperSignals.java QSignalSignals.java QSliderSignals.java QSpinBoxSignals.java QStatusBarSignals.java QTabBarSignals.java QTabDialogSignals.java QTabWidgetSignals.java QTableSignals.java QTextBrowserSignals.java QTextEditSignals.java QTimeEditSignals.java QTimerSignals.java QToolTipGroupSignals.java QUrlOperatorSignals.java QWidgetStackSignals.java QStyleOption.java QKeySequence.java QSqlFieldInfo.java QSqlRecordInfo.java QFtp.java QHostAddress.java QHttp.java QLocalFs.java QNetworkProtocol.java QObjectCleanupHandler.java QServerSocket.java QSocket.java QSocketDevice.java QSocketNotifier.java QFtpSignals.java QHttpSignals.java QNetworkProtocolSignals.java QSocketSignals.java QSocketNotifierSignals.java QGb18030Codec.java QSpinWidget.java QSpinWidgetSignals.java QSplashScreen.java QSplashScreenSignals.java QToolBox.java QToolBoxSignals.java QHttpHeader.java QHttpRequestHeader.java QEventLoop.java QEventLoopSignals.java QHttpResponseHeader.java QStyleFactory.java QCheckBox.java QWorkspace.java QWizard.java QSyntaxHighlighter.java QXmlContentHandler.java QXmlDeclHandler.java QXmlDTDHandler.java QXmlEntityResolver.java QXmlErrorHandler.java QXmlLexicalHandler.java QXmlNamespaceSupport.java QXmlSimpleReader.java Invocation.java qtjava.java QtSupport.java QXmlDefaultHandler.java WeakValueMap.java Qt.java QWizardSignals.java QWorkspaceSignals.java QXmlAttributes.java QXmlContentHandlerInterface.java QXmlDTDHandlerInterface.java QXmlEntityResolverInterface.java QXmlErrorHandlerInterface.java QXmlInputSource.java QXmlLexicalHandlerInterface.java QXmlLocator.java QXmlParseException.java QXmlReader.java QXmlDeclHandlerInterface.java
+
+####### kdevelop will overwrite this part!!! (end)############
+
+# domi: don't install anything, it's put in a jar a few directories higher in the source tree
+#javadir = $(kde_libraries)/java/org/kde/qt
+noinst_JAVA = $(EXTRA_DIST)
+#install-data-hook: uninstall-javaJAVA
+
+JAVAROOT = ../../..
+CLASSPATH = $(srcdir)/../../..
+JAVACFLAGS = -classpath $(CLASSPATH)
+# Prevent stupid automake from putting JAVAC=javac in Makefile.in
+JAVAC = @JAVAC@
diff --git a/qtjava/javalib/org/kde/qt/QAccel.java b/qtjava/javalib/org/kde/qt/QAccel.java
new file mode 100644
index 00000000..7f6efa58
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QAccel.java
@@ -0,0 +1,63 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QAccelSignals} for signals emitted by QAccel
+*/
+public class QAccel extends QObject {
+ protected QAccel(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QAccel(QWidget parent, String name) {
+ super((Class) null);
+ newQAccel(parent,name);
+ }
+ private native void newQAccel(QWidget parent, String name);
+ public QAccel(QWidget parent) {
+ super((Class) null);
+ newQAccel(parent);
+ }
+ private native void newQAccel(QWidget parent);
+ public QAccel(QWidget watch, QObject parent, String name) {
+ super((Class) null);
+ newQAccel(watch,parent,name);
+ }
+ private native void newQAccel(QWidget watch, QObject parent, String name);
+ public QAccel(QWidget watch, QObject parent) {
+ super((Class) null);
+ newQAccel(watch,parent);
+ }
+ private native void newQAccel(QWidget watch, QObject parent);
+ public native boolean isEnabled();
+ public native void setEnabled(boolean arg1);
+ public native int count();
+ public native int insertItem(QKeySequence key, int id);
+ public native int insertItem(QKeySequence key);
+ public native void removeItem(int id);
+ public native void clear();
+ public native QKeySequence key(int id);
+ public native int findKey(QKeySequence key);
+ public native boolean isItemEnabled(int id);
+ public native void setItemEnabled(int id, boolean enable);
+ public native boolean connectItem(int id, QObject receiver, String member);
+ public native boolean disconnectItem(int id, QObject receiver, String member);
+ public native void repairEventFilter();
+ public native void setWhatsThis(int id, String arg2);
+ public native String whatsThis(int id);
+ public native void setIgnoreWhatsThis(boolean arg1);
+ public native boolean ignoreWhatsThis();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native QKeySequence shortcutKey(String arg1);
+ public static native String keyToString(QKeySequence k);
+ public static native QKeySequence stringToKey(String arg1);
+ public native boolean eventFilter(QObject arg1, QEvent 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/qtjava/javalib/org/kde/qt/QAccelSignals.java b/qtjava/javalib/org/kde/qt/QAccelSignals.java
new file mode 100644
index 00000000..ee9abb2b
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QAccelSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QAccelSignals {
+ void activated(int id);
+ void activatedAmbiguously(int id);
+}
diff --git a/qtjava/javalib/org/kde/qt/QAction.java b/qtjava/javalib/org/kde/qt/QAction.java
new file mode 100644
index 00000000..365bfc40
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QAction.java
@@ -0,0 +1,115 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QActionSignals} for signals emitted by QAction
+*/
+public class QAction extends QObject {
+ protected QAction(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QAction(QObject parent, String name) {
+ super((Class) null);
+ newQAction(parent,name);
+ }
+ private native void newQAction(QObject parent, String name);
+ public QAction(QObject parent) {
+ super((Class) null);
+ newQAction(parent);
+ }
+ private native void newQAction(QObject parent);
+ public QAction(String menuText, QKeySequence accel, QObject parent, String name) {
+ super((Class) null);
+ newQAction(menuText,accel,parent,name);
+ }
+ private native void newQAction(String menuText, QKeySequence accel, QObject parent, String name);
+ public QAction(String menuText, QKeySequence accel, QObject parent) {
+ super((Class) null);
+ newQAction(menuText,accel,parent);
+ }
+ private native void newQAction(String menuText, QKeySequence accel, QObject parent);
+ public QAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name) {
+ super((Class) null);
+ newQAction(icon,menuText,accel,parent,name);
+ }
+ private native void newQAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name);
+ public QAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent) {
+ super((Class) null);
+ newQAction(icon,menuText,accel,parent);
+ }
+ private native void newQAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent);
+ public QAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle) {
+ super((Class) null);
+ newQAction(text,icon,menuText,accel,parent,name,toggle);
+ }
+ private native void newQAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle);
+ public QAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name) {
+ super((Class) null);
+ newQAction(text,icon,menuText,accel,parent,name);
+ }
+ private native void newQAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name);
+ public QAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent) {
+ super((Class) null);
+ newQAction(text,icon,menuText,accel,parent);
+ }
+ private native void newQAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent);
+ public QAction(String text, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle) {
+ super((Class) null);
+ newQAction(text,menuText,accel,parent,name,toggle);
+ }
+ private native void newQAction(String text, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle);
+ public QAction(String text, String menuText, QKeySequence accel, QObject parent, String name) {
+ super((Class) null);
+ newQAction(text,menuText,accel,parent,name);
+ }
+ private native void newQAction(String text, String menuText, QKeySequence accel, QObject parent, String name);
+ public QAction(String text, String menuText, QKeySequence accel, QObject parent) {
+ super((Class) null);
+ newQAction(text,menuText,accel,parent);
+ }
+ private native void newQAction(String text, String menuText, QKeySequence accel, QObject parent);
+ public QAction(QObject parent, String name, boolean toggle) {
+ super((Class) null);
+ newQAction(parent,name,toggle);
+ }
+ private native void newQAction(QObject parent, String name, boolean toggle);
+ public native void setIconSet(QIconSet arg1);
+ public native QIconSet iconSet();
+ public native void setText(String arg1);
+ public native String text();
+ public native void setMenuText(String arg1);
+ public native String menuText();
+ public native void setToolTip(String arg1);
+ public native String toolTip();
+ public native void setStatusTip(String arg1);
+ public native String statusTip();
+ public native void setWhatsThis(String arg1);
+ public native String whatsThis();
+ public native void setAccel(QKeySequence key);
+ public native QKeySequence accel();
+ public native void setToggleAction(boolean arg1);
+ public native boolean isToggleAction();
+ public native boolean isOn();
+ public native boolean isEnabled();
+ public native boolean isVisible();
+ public native boolean addTo(QWidget arg1);
+ public native boolean removeFrom(QWidget arg1);
+ public native void activate();
+ public native void toggle();
+ public native void setOn(boolean arg1);
+ public native void setEnabled(boolean arg1);
+ public native void setDisabled(boolean arg1);
+ public native void setVisible(boolean arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void addedTo(QWidget actionWidget, QWidget container);
+ protected native void addedTo(int index, QPopupMenu menu);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QActionGroup.java b/qtjava/javalib/org/kde/qt/QActionGroup.java
new file mode 100644
index 00000000..cddbbf78
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QActionGroup.java
@@ -0,0 +1,58 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QActionGroupSignals} for signals emitted by QActionGroup
+*/
+public class QActionGroup extends QAction {
+ protected QActionGroup(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QActionGroup(QObject parent, String name) {
+ super((Class) null);
+ newQActionGroup(parent,name);
+ }
+ private native void newQActionGroup(QObject parent, String name);
+ public QActionGroup(QObject parent) {
+ super((Class) null);
+ newQActionGroup(parent);
+ }
+ private native void newQActionGroup(QObject parent);
+ public QActionGroup(QObject parent, String name, boolean exclusive) {
+ super((Class) null);
+ newQActionGroup(parent,name,exclusive);
+ }
+ private native void newQActionGroup(QObject parent, String name, boolean exclusive);
+ public native void setExclusive(boolean arg1);
+ public native boolean isExclusive();
+ public native void add(QAction a);
+ public native void addSeparator();
+ public native boolean addTo(QWidget arg1);
+ public native boolean removeFrom(QWidget arg1);
+ public native void setEnabled(boolean arg1);
+ public native void setToggleAction(boolean toggle);
+ public native void setOn(boolean on);
+ public native void setUsesDropDown(boolean enable);
+ public native boolean usesDropDown();
+ public native void setIconSet(QIconSet arg1);
+ public native void setText(String arg1);
+ public native void setMenuText(String arg1);
+ public native void setToolTip(String arg1);
+ public native void setWhatsThis(String arg1);
+ public native void insert(QAction a);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void childEvent(QChildEvent arg1);
+ protected native void addedTo(QWidget actionWidget, QWidget container, QAction a);
+ protected native void addedTo(int index, QPopupMenu menu, QAction a);
+ protected native void addedTo(QWidget actionWidget, QWidget container);
+ protected native void addedTo(int index, QPopupMenu menu);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QActionGroupSignals.java b/qtjava/javalib/org/kde/qt/QActionGroupSignals.java
new file mode 100644
index 00000000..7cb2eb9e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QActionGroupSignals.java
@@ -0,0 +1,7 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QActionGroupSignals {
+ void selected(QAction arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QActionSignals.java b/qtjava/javalib/org/kde/qt/QActionSignals.java
new file mode 100644
index 00000000..9eabb4ad
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QActionSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QActionSignals {
+ void activated();
+ void toggled(boolean arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QApplication.java b/qtjava/javalib/org/kde/qt/QApplication.java
new file mode 100644
index 00000000..b86bffcb
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QApplication.java
@@ -0,0 +1,161 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+/**
+ See {@link QApplicationSignals} for signals emitted by QApplication
+*/
+public class QApplication extends QObject {
+ protected QApplication(Class dummy){super((Class) null);}
+ public static final int Tty = 0;
+ public static final int GuiClient = 1;
+ public static final int GuiServer = 2;
+
+ public static final int NormalColors = 0;
+ public static final int CustomColors = 1;
+
+ public static final int NormalColor = 0;
+ public static final int CustomColor = 1;
+ public static final int ManyColor = 2;
+
+ public static final int DefaultCodec = 0;
+ public static final int UnicodeUTF8 = 1;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QApplication(String[] argv) {
+ super((Class) null);
+ newQApplication(argv);
+ }
+ private native void newQApplication(String[] argv);
+ public QApplication(String[] argv, boolean GUIenabled) {
+ super((Class) null);
+ newQApplication(argv,GUIenabled);
+ }
+ private native void newQApplication(String[] argv, boolean GUIenabled);
+ public QApplication(String[] argv, int arg3) {
+ super((Class) null);
+ newQApplication(argv,arg3);
+ }
+ private native void newQApplication(String[] argv, int arg3);
+ public native int type();
+ public native QWidget mainWidget();
+ public native void setMainWidget(QWidget arg1);
+ public native void polish(QWidget arg1);
+ public native QWidget focusWidget();
+ public native QWidget activeWindow();
+ public native int exec();
+ public native void processEvents();
+ public native void processEvents(int maxtime);
+ public native void processOneEvent();
+ public native boolean hasPendingEvents();
+ public native int enter_loop();
+ public native void exit_loop();
+ public native int loopLevel();
+ public native boolean notify(QObject arg1, QEvent arg2);
+ public native void setDefaultCodec(QTextCodec arg1);
+ public native QTextCodec defaultCodec();
+ public native void installTranslator(QTranslator arg1);
+ public native void removeTranslator(QTranslator arg1);
+ public native String translate(String context, String key, String comment, int encoding);
+ public native String translate(String context, String key, String comment);
+ public native String translate(String context, String key);
+ public native String applicationDirPath();
+ public native String applicationFilePath();
+ public native boolean isSessionRestored();
+ public native String sessionId();
+ public native String sessionKey();
+ public native void commitData(QSessionManager sm);
+ public native void saveState(QSessionManager sm);
+ public native void wakeUpGuiThread();
+ public native void quit();
+ public native void closeAllWindows();
+ public native void aboutQt();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native QStyle style();
+ public static native void setStyle(QStyle arg1);
+ public static native QStyle setStyle(String arg1);
+ public static native int colorMode();
+ public static native void setColorMode(int arg1);
+ public static native int colorSpec();
+ public static native void setColorSpec(int arg1);
+ public static native QCursor overrideCursor();
+ public static native void setOverrideCursor(QCursor arg1, boolean replace);
+ public static native void setOverrideCursor(QCursor arg1);
+ public static native void restoreOverrideCursor();
+ public static native boolean hasGlobalMouseTracking();
+ public static native void setGlobalMouseTracking(boolean enable);
+ public static native QPalette palette(QWidget arg1);
+ public static native QPalette palette();
+ public static native void setPalette(QPalette arg1, boolean informWidgets, String className);
+ public static native void setPalette(QPalette arg1, boolean informWidgets);
+ public static native void setPalette(QPalette arg1);
+ public static native QFont font(QWidget arg1);
+ public static native QFont font();
+ public static native void setFont(QFont arg1, boolean informWidgets, String className);
+ public static native void setFont(QFont arg1, boolean informWidgets);
+ public static native void setFont(QFont arg1);
+ public static native QFontMetrics fontMetrics();
+ public static native ArrayList allWidgets();
+ public static native ArrayList topLevelWidgets();
+ public static native QDesktopWidget desktop();
+ public static native QWidget activePopupWidget();
+ public static native QWidget activeModalWidget();
+ public static native QClipboard clipboard();
+ public static native QWidget widgetAt(int x, int y, boolean child);
+ public static native QWidget widgetAt(int x, int y);
+ public static native QWidget widgetAt(QPoint arg1, boolean child);
+ public static native QWidget widgetAt(QPoint arg1);
+ public static native QEventLoop eventLoop();
+ public static native void exit(int retcode);
+ public static native void exit();
+ public static native boolean sendEvent(QObject receiver, QEvent event);
+ public static native void postEvent(QObject receiver, QEvent event);
+ public static native void sendPostedEvents(QObject receiver, int event_type);
+ public static native void sendPostedEvents();
+ public static native void removePostedEvents(QObject receiver);
+ public static native boolean startingUp();
+ public static native boolean closingDown();
+ public static native void flushX();
+ public static native void flush();
+ public static native void syncX();
+ public static native void beep();
+ public static native void setWinStyleHighlightColor(QColor c);
+ public static native QColor winStyleHighlightColor();
+ public static native void setDesktopSettingsAware(boolean arg1);
+ public static native boolean desktopSettingsAware();
+ public static native void setCursorFlashTime(int arg1);
+ public static native int cursorFlashTime();
+ public static native void setDoubleClickInterval(int arg1);
+ public static native int doubleClickInterval();
+ public static native void setWheelScrollLines(int arg1);
+ public static native int wheelScrollLines();
+ public static native void setGlobalStrut(QSize arg1);
+ public static native QSize globalStrut();
+ public static native void setLibraryPaths(String[] arg1);
+ public static native ArrayList libraryPaths();
+ public static native void addLibraryPath(String arg1);
+ public static native void removeLibraryPath(String arg1);
+ public static native void setStartDragTime(int ms);
+ public static native int startDragTime();
+ public static native void setStartDragDistance(int l);
+ public static native int startDragDistance();
+ public static native void setReverseLayout(boolean b);
+ public static native boolean reverseLayout();
+ public static native int horizontalAlignment(int align);
+ public static native boolean isEffectEnabled(int arg1);
+ public static native void setEffectEnabled(int arg1, boolean enable);
+ public static native void setEffectEnabled(int arg1);
+ public native boolean event(QEvent 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 String[] args();
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QApplicationSignals.java b/qtjava/javalib/org/kde/qt/QApplicationSignals.java
new file mode 100644
index 00000000..811d4bc3
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QApplicationSignals.java
@@ -0,0 +1,10 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.util.ArrayList;
+
+public interface QApplicationSignals {
+ void lastWindowClosed();
+ void aboutToQuit();
+ void guiThreadAwake();
+}
diff --git a/qtjava/javalib/org/kde/qt/QAsyncIO.java b/qtjava/javalib/org/kde/qt/QAsyncIO.java
new file mode 100644
index 00000000..fee8ddf4
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QAsyncIO.java
@@ -0,0 +1,23 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QAsyncIO implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QAsyncIO(Class dummy){}
+
+ public native void connect(QObject arg1, String member);
+ public QAsyncIO() {
+ newQAsyncIO();
+ }
+ private native void newQAsyncIO();
+ protected native void ready();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QAuServer.java b/qtjava/javalib/org/kde/qt/QAuServer.java
new file mode 100644
index 00000000..54d37b43
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QAuServer.java
@@ -0,0 +1,17 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QAuServer extends QObject {
+ protected QAuServer(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public native void init(QSound arg1);
+ public native void play(String filename);
+ public native void play(QSound arg1);
+ public native void stop(QSound arg1);
+ public native boolean okay();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QBig5Codec.java b/qtjava/javalib/org/kde/qt/QBig5Codec.java
new file mode 100644
index 00000000..f829da96
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QBig5Codec.java
@@ -0,0 +1,26 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QBig5Codec extends QTextCodec {
+ protected QBig5Codec(Class dummy){super((Class) null);}
+ public native int mibEnum();
+ public native String name();
+ public native QTextDecoder makeDecoder();
+ public native String fromUnicode(String uc, int[] lenInOut);
+ public native String toUnicode(String chars, int len);
+ public native int heuristicContentMatch(String chars, int len);
+ public native int heuristicNameMatch(String hint);
+ public QBig5Codec() {
+ super((Class) null);
+ newQBig5Codec();
+ }
+ private native void newQBig5Codec();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QBitmap.java b/qtjava/javalib/org/kde/qt/QBitmap.java
new file mode 100644
index 00000000..e276b090
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QBitmap.java
@@ -0,0 +1,96 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QBitmap extends QPixmap {
+ protected QBitmap(Class dummy){super((Class) null);}
+ public QBitmap() {
+ super((Class) null);
+ newQBitmap();
+ }
+ private native void newQBitmap();
+ public QBitmap(int w, int h, boolean clear, int arg4) {
+ super((Class) null);
+ newQBitmap(w,h,clear,arg4);
+ }
+ private native void newQBitmap(int w, int h, boolean clear, int arg4);
+ public QBitmap(int w, int h, boolean clear) {
+ super((Class) null);
+ newQBitmap(w,h,clear);
+ }
+ private native void newQBitmap(int w, int h, boolean clear);
+ public QBitmap(int w, int h) {
+ super((Class) null);
+ newQBitmap(w,h);
+ }
+ private native void newQBitmap(int w, int h);
+ public QBitmap(QSize arg1, boolean clear, int arg3) {
+ super((Class) null);
+ newQBitmap(arg1,clear,arg3);
+ }
+ private native void newQBitmap(QSize arg1, boolean clear, int arg3);
+ public QBitmap(QSize arg1, boolean clear) {
+ super((Class) null);
+ newQBitmap(arg1,clear);
+ }
+ private native void newQBitmap(QSize arg1, boolean clear);
+ public QBitmap(QSize arg1) {
+ super((Class) null);
+ newQBitmap(arg1);
+ }
+ private native void newQBitmap(QSize arg1);
+ public QBitmap(int w, int h, char[] bits, boolean isXbitmap) {
+ super((Class) null);
+ newQBitmap(w,h,bits,isXbitmap);
+ }
+ private native void newQBitmap(int w, int h, char[] bits, boolean isXbitmap);
+ public QBitmap(int w, int h, char[] bits) {
+ super((Class) null);
+ newQBitmap(w,h,bits);
+ }
+ private native void newQBitmap(int w, int h, char[] bits);
+ public QBitmap(QSize arg1, char[] bits, boolean isXbitmap) {
+ super((Class) null);
+ newQBitmap(arg1,bits,isXbitmap);
+ }
+ private native void newQBitmap(QSize arg1, char[] bits, boolean isXbitmap);
+ public QBitmap(QSize arg1, char[] bits) {
+ super((Class) null);
+ newQBitmap(arg1,bits);
+ }
+ private native void newQBitmap(QSize arg1, char[] bits);
+ public QBitmap(QBitmap arg1) {
+ super((Class) null);
+ newQBitmap(arg1);
+ }
+ private native void newQBitmap(QBitmap arg1);
+ public QBitmap(String fileName, String format) {
+ super((Class) null);
+ newQBitmap(fileName,format);
+ }
+ private native void newQBitmap(String fileName, String format);
+ public QBitmap(String fileName) {
+ super((Class) null);
+ newQBitmap(fileName);
+ }
+ private native void newQBitmap(String fileName);
+ public native Object xForm(QWMatrix 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 QBitmap(QPixmap arg1) {
+ super((Class) null);
+ newQBitmap(arg1);
+ }
+ private native void newQBitmap(QPixmap arg1);
+ public QBitmap(QImage arg1) {
+ super((Class) null);
+ newQBitmap(arg1);
+ }
+ private native void newQBitmap(QImage arg1);
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QBoxLayout.java b/qtjava/javalib/org/kde/qt/QBoxLayout.java
new file mode 100644
index 00000000..8e8fb0dc
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QBoxLayout.java
@@ -0,0 +1,109 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QBoxLayout extends QLayout {
+ protected QBoxLayout(Class dummy){super((Class) null);}
+ public static final int LeftToRight = 0;
+ public static final int RightToLeft = 1;
+ public static final int TopToBottom = 2;
+ public static final int BottomToTop = 3;
+ public static final int Down = TopToBottom;
+ public static final int Up = BottomToTop;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QBoxLayout(QWidget parent, int arg2, int border, int spacing, String name) {
+ super((Class) null);
+ newQBoxLayout(parent,arg2,border,spacing,name);
+ }
+ private native void newQBoxLayout(QWidget parent, int arg2, int border, int spacing, String name);
+ public QBoxLayout(QWidget parent, int arg2, int border, int spacing) {
+ super((Class) null);
+ newQBoxLayout(parent,arg2,border,spacing);
+ }
+ private native void newQBoxLayout(QWidget parent, int arg2, int border, int spacing);
+ public QBoxLayout(QWidget parent, int arg2, int border) {
+ super((Class) null);
+ newQBoxLayout(parent,arg2,border);
+ }
+ private native void newQBoxLayout(QWidget parent, int arg2, int border);
+ public QBoxLayout(QWidget parent, int arg2) {
+ super((Class) null);
+ newQBoxLayout(parent,arg2);
+ }
+ private native void newQBoxLayout(QWidget parent, int arg2);
+ public QBoxLayout(QLayout parentLayout, int arg2, int spacing, String name) {
+ super((Class) null);
+ newQBoxLayout(parentLayout,arg2,spacing,name);
+ }
+ private native void newQBoxLayout(QLayout parentLayout, int arg2, int spacing, String name);
+ public QBoxLayout(QLayout parentLayout, int arg2, int spacing) {
+ super((Class) null);
+ newQBoxLayout(parentLayout,arg2,spacing);
+ }
+ private native void newQBoxLayout(QLayout parentLayout, int arg2, int spacing);
+ public QBoxLayout(QLayout parentLayout, int arg2) {
+ super((Class) null);
+ newQBoxLayout(parentLayout,arg2);
+ }
+ private native void newQBoxLayout(QLayout parentLayout, int arg2);
+ public QBoxLayout(int arg1, int spacing, String name) {
+ super((Class) null);
+ newQBoxLayout(arg1,spacing,name);
+ }
+ private native void newQBoxLayout(int arg1, int spacing, String name);
+ public QBoxLayout(int arg1, int spacing) {
+ super((Class) null);
+ newQBoxLayout(arg1,spacing);
+ }
+ private native void newQBoxLayout(int arg1, int spacing);
+ public QBoxLayout(int arg1) {
+ super((Class) null);
+ newQBoxLayout(arg1);
+ }
+ private native void newQBoxLayout(int arg1);
+ public native void addItem(QLayoutItemInterface arg1);
+ public native int direction();
+ public native void setDirection(int arg1);
+ public native void addSpacing(int size);
+ public native void addStretch(int stretch);
+ public native void addStretch();
+ public native void addWidget(QWidget arg1, int stretch, int alignment);
+ public native void addWidget(QWidget arg1, int stretch);
+ public native void addWidget(QWidget arg1);
+ public native void addLayout(QLayout layout, int stretch);
+ public native void addLayout(QLayout layout);
+ public native void addStrut(int arg1);
+ public native void insertSpacing(int index, int size);
+ public native void insertStretch(int index, int stretch);
+ public native void insertStretch(int index);
+ public native void insertWidget(int index, QWidget widget, int stretch, int alignment);
+ public native void insertWidget(int index, QWidget widget, int stretch);
+ public native void insertWidget(int index, QWidget widget);
+ public native void insertLayout(int index, QLayout layout, int stretch);
+ public native void insertLayout(int index, QLayout layout);
+ public native boolean setStretchFactor(QWidget arg1, int stretch);
+ public native boolean setStretchFactor(QLayout l, int stretch);
+ public native QSize sizeHint();
+ public native QSize minimumSize();
+ public native QSize maximumSize();
+ public native boolean hasHeightForWidth();
+ public native int heightForWidth(int arg1);
+ public native int minimumHeightForWidth(int arg1);
+ public native int expanding();
+ public native void invalidate();
+ // QLayoutIterator iterator(); >>>> NOT CONVERTED
+ public native void setGeometry(QRect arg1);
+ public native int findWidget(QWidget w);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public native void insertItem(int index, QLayoutItemInterface 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/qtjava/javalib/org/kde/qt/QBrush.java b/qtjava/javalib/org/kde/qt/QBrush.java
new file mode 100644
index 00000000..f987fa4d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QBrush.java
@@ -0,0 +1,52 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QBrush extends Qt {
+ protected QBrush(Class dummy){super((Class) null);}
+ public QBrush() {
+ super((Class) null);
+ newQBrush();
+ }
+ private native void newQBrush();
+ public QBrush(int arg1) {
+ super((Class) null);
+ newQBrush(arg1);
+ }
+ private native void newQBrush(int arg1);
+ public QBrush(QColor arg1, int arg2) {
+ super((Class) null);
+ newQBrush(arg1,arg2);
+ }
+ private native void newQBrush(QColor arg1, int arg2);
+ public QBrush(QColor arg1) {
+ super((Class) null);
+ newQBrush(arg1);
+ }
+ private native void newQBrush(QColor arg1);
+ public QBrush(QColor arg1, QPixmap arg2) {
+ super((Class) null);
+ newQBrush(arg1,arg2);
+ }
+ private native void newQBrush(QColor arg1, QPixmap arg2);
+ public QBrush(QBrush arg1) {
+ super((Class) null);
+ newQBrush(arg1);
+ }
+ private native void newQBrush(QBrush arg1);
+ public native int style();
+ public native void setStyle(int arg1);
+ public native QColor color();
+ public native void setColor(QColor arg1);
+ public native QPixmap pixmap();
+ public native void setPixmap(QPixmap arg1);
+ public native boolean op_equals(QBrush p);
+ public native boolean op_not_equals(QBrush b);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QBuffer.java b/qtjava/javalib/org/kde/qt/QBuffer.java
new file mode 100644
index 00000000..6ed688b2
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QBuffer.java
@@ -0,0 +1,39 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QBuffer extends QIODevice {
+ protected QBuffer(Class dummy){super((Class) null);}
+ public QBuffer() {
+ super((Class) null);
+ newQBuffer();
+ }
+ private native void newQBuffer();
+ public QBuffer(byte[] arg1) {
+ super((Class) null);
+ newQBuffer(arg1);
+ }
+ private native void newQBuffer(byte[] arg1);
+ public native byte[] buffer();
+ public native boolean setBuffer(byte[] arg1);
+ public native boolean open(int arg1);
+ public native void close();
+ public native void flush();
+ public native long size();
+ public native long at();
+ public native boolean at(long arg1);
+ public native long readBlock(StringBuffer p, long arg2);
+ public native long writeBlock(String p, long arg2);
+ public native long writeBlock(byte[] data);
+ public native long readLine(String p, long arg2);
+ public native int getch();
+ public native int putch(int arg1);
+ public native int ungetch(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/qtjava/javalib/org/kde/qt/QButton.java b/qtjava/javalib/org/kde/qt/QButton.java
new file mode 100644
index 00000000..57a3ab1f
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QButton.java
@@ -0,0 +1,85 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QButtonSignals} for signals emitted by QButton
+*/
+public class QButton extends QWidget {
+ protected QButton(Class dummy){super((Class) null);}
+ public static final int SingleShot = 0;
+ public static final int Toggle = 1;
+ public static final int Tristate = 2;
+
+ public static final int Off = 0;
+ public static final int NoChange = 1;
+ public static final int On = 2;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QButton(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQButton(parent,name,f);
+ }
+ private native void newQButton(QWidget parent, String name, int f);
+ public QButton(QWidget parent, String name) {
+ super((Class) null);
+ newQButton(parent,name);
+ }
+ private native void newQButton(QWidget parent, String name);
+ public QButton(QWidget parent) {
+ super((Class) null);
+ newQButton(parent);
+ }
+ private native void newQButton(QWidget parent);
+ public QButton() {
+ super((Class) null);
+ newQButton();
+ }
+ private native void newQButton();
+ public native String text();
+ public native void setText(String arg1);
+ public native QPixmap pixmap();
+ public native void setPixmap(QPixmap arg1);
+ public native QKeySequence accel();
+ public native void setAccel(QKeySequence arg1);
+ public native boolean isToggleButton();
+ public native int toggleType();
+ public native void setDown(boolean arg1);
+ public native boolean isDown();
+ public native boolean isOn();
+ public native int state();
+ public native boolean autoResize();
+ public native void setAutoResize(boolean arg1);
+ public native boolean autoRepeat();
+ public native void setAutoRepeat(boolean arg1);
+ public native boolean isExclusiveToggle();
+ public native QButtonGroup group();
+ public native void animateClick();
+ public native void toggle();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void setToggleButton(boolean arg1);
+ protected native void setToggleType(int arg1);
+ protected native void setOn(boolean arg1);
+ public native void setState(int arg1);
+ protected native boolean hitButton(QPoint pos);
+ protected native void drawButton(QPainter arg1);
+ protected native void drawButtonLabel(QPainter arg1);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ protected native void keyReleaseEvent(QKeyEvent arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void focusInEvent(QFocusEvent arg1);
+ protected native void focusOutEvent(QFocusEvent arg1);
+ protected native void enabledChange(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/qtjava/javalib/org/kde/qt/QButtonGroup.java b/qtjava/javalib/org/kde/qt/QButtonGroup.java
new file mode 100644
index 00000000..f69b0665
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QButtonGroup.java
@@ -0,0 +1,100 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QButtonGroupSignals} for signals emitted by QButtonGroup
+*/
+public class QButtonGroup extends QGroupBox {
+ protected QButtonGroup(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QButtonGroup(QWidget parent, String name) {
+ super((Class) null);
+ newQButtonGroup(parent,name);
+ }
+ private native void newQButtonGroup(QWidget parent, String name);
+ public QButtonGroup(QWidget parent) {
+ super((Class) null);
+ newQButtonGroup(parent);
+ }
+ private native void newQButtonGroup(QWidget parent);
+ public QButtonGroup() {
+ super((Class) null);
+ newQButtonGroup();
+ }
+ private native void newQButtonGroup();
+ public QButtonGroup(String title, QWidget parent, String name) {
+ super((Class) null);
+ newQButtonGroup(title,parent,name);
+ }
+ private native void newQButtonGroup(String title, QWidget parent, String name);
+ public QButtonGroup(String title, QWidget parent) {
+ super((Class) null);
+ newQButtonGroup(title,parent);
+ }
+ private native void newQButtonGroup(String title, QWidget parent);
+ public QButtonGroup(String title) {
+ super((Class) null);
+ newQButtonGroup(title);
+ }
+ private native void newQButtonGroup(String title);
+ public QButtonGroup(int columns, int o, QWidget parent, String name) {
+ super((Class) null);
+ newQButtonGroup(columns,o,parent,name);
+ }
+ private native void newQButtonGroup(int columns, int o, QWidget parent, String name);
+ public QButtonGroup(int columns, int o, QWidget parent) {
+ super((Class) null);
+ newQButtonGroup(columns,o,parent);
+ }
+ private native void newQButtonGroup(int columns, int o, QWidget parent);
+ public QButtonGroup(int columns, int o) {
+ super((Class) null);
+ newQButtonGroup(columns,o);
+ }
+ private native void newQButtonGroup(int columns, int o);
+ public QButtonGroup(int columns, int o, String title, QWidget parent, String name) {
+ super((Class) null);
+ newQButtonGroup(columns,o,title,parent,name);
+ }
+ private native void newQButtonGroup(int columns, int o, String title, QWidget parent, String name);
+ public QButtonGroup(int columns, int o, String title, QWidget parent) {
+ super((Class) null);
+ newQButtonGroup(columns,o,title,parent);
+ }
+ private native void newQButtonGroup(int columns, int o, String title, QWidget parent);
+ public QButtonGroup(int columns, int o, String title) {
+ super((Class) null);
+ newQButtonGroup(columns,o,title);
+ }
+ private native void newQButtonGroup(int columns, int o, String title);
+ public native boolean isExclusive();
+ public native boolean isRadioButtonExclusive();
+ public native void setExclusive(boolean arg1);
+ public native void setRadioButtonExclusive(boolean arg1);
+ public native int insert(QButton arg1, int id);
+ public native int insert(QButton arg1);
+ public native void remove(QButton arg1);
+ public native QButton findButton(int id);
+ public native int id(QButton arg1);
+ public native int count();
+ public native void setButton(int id);
+ public native void moveFocus(int arg1);
+ public native QButton selected();
+ public native int selectedId();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public native boolean event(QEvent e);
+ protected native void buttonPressed();
+ protected native void buttonReleased();
+ protected native void buttonClicked();
+ protected native void buttonToggled(boolean on);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QButtonGroupSignals.java b/qtjava/javalib/org/kde/qt/QButtonGroupSignals.java
new file mode 100644
index 00000000..d88385b4
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QButtonGroupSignals.java
@@ -0,0 +1,9 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QButtonGroupSignals {
+ void pressed(int id);
+ void released(int id);
+ void clicked(int id);
+}
diff --git a/qtjava/javalib/org/kde/qt/QButtonSignals.java b/qtjava/javalib/org/kde/qt/QButtonSignals.java
new file mode 100644
index 00000000..ee228b1a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QButtonSignals.java
@@ -0,0 +1,11 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QButtonSignals {
+ void pressed();
+ void released();
+ void clicked();
+ void toggled(boolean arg1);
+ void stateChanged(int arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QCanvas.java b/qtjava/javalib/org/kde/qt/QCanvas.java
new file mode 100644
index 00000000..c8a298f5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvas.java
@@ -0,0 +1,103 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+/**
+ See {@link QCanvasSignals} for signals emitted by QCanvas
+*/
+public class QCanvas extends QObject {
+ protected QCanvas(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QCanvas(QObject parent, String name) {
+ super((Class) null);
+ newQCanvas(parent,name);
+ }
+ private native void newQCanvas(QObject parent, String name);
+ public QCanvas(QObject parent) {
+ super((Class) null);
+ newQCanvas(parent);
+ }
+ private native void newQCanvas(QObject parent);
+ public QCanvas() {
+ super((Class) null);
+ newQCanvas();
+ }
+ private native void newQCanvas();
+ public QCanvas(int w, int h) {
+ super((Class) null);
+ newQCanvas(w,h);
+ }
+ private native void newQCanvas(int w, int h);
+ public QCanvas(QPixmap p, int h, int v, int tilewidth, int tileheight) {
+ super((Class) null);
+ newQCanvas(p,h,v,tilewidth,tileheight);
+ }
+ private native void newQCanvas(QPixmap p, int h, int v, int tilewidth, int tileheight);
+ public native void setTiles(QPixmap tiles, int h, int v, int tilewidth, int tileheight);
+ public native void setBackgroundPixmap(QPixmap p);
+ public native QPixmap backgroundPixmap();
+ public native void setBackgroundColor(QColor c);
+ public native QColor backgroundColor();
+ public native void setTile(int x, int y, int tilenum);
+ public native int tile(int x, int y);
+ public native int tilesHorizontally();
+ public native int tilesVertically();
+ public native int tileWidth();
+ public native int tileHeight();
+ public native void resize(int width, int height);
+ public native int width();
+ public native int height();
+ public native QSize size();
+ public native QRect rect();
+ public native boolean onCanvas(int x, int y);
+ public native boolean onCanvas(QPoint p);
+ public native boolean validChunk(int x, int y);
+ public native boolean validChunk(QPoint p);
+ public native int chunkSize();
+ public native void retune(int chunksize, int maxclusters);
+ public native void retune(int chunksize);
+ public native boolean sameChunk(int x1, int y1, int x2, int y2);
+ public native void setChangedChunk(int i, int j);
+ public native void setChangedChunkContaining(int x, int y);
+ public native void setAllChanged();
+ public native void setChanged(QRect area);
+ public native void setUnchanged(QRect area);
+ public native void addItemToChunk(QCanvasItem arg1, int i, int j);
+ public native void removeItemFromChunk(QCanvasItem arg1, int i, int j);
+ public native void addItemToChunkContaining(QCanvasItem arg1, int x, int y);
+ public native void removeItemFromChunkContaining(QCanvasItem arg1, int x, int y);
+ public native ArrayList allItems();
+ public native ArrayList collisions(QPoint arg1);
+ public native ArrayList collisions(QRect arg1);
+ public native ArrayList collisions(QPointArray pa, QCanvasItem item, boolean exact);
+ public native void drawArea(QRect arg1, QPainter p, boolean double_buffer);
+ public native void drawArea(QRect arg1, QPainter p);
+ public native void addView(QCanvasView arg1);
+ public native void removeView(QCanvasView arg1);
+ public native void drawCanvasArea(QRect arg1, QPainter p, boolean double_buffer);
+ public native void drawCanvasArea(QRect arg1, QPainter p);
+ public native void drawCanvasArea(QRect arg1);
+ public native void drawViewArea(QCanvasView view, QPainter p, QRect r, boolean dbuf);
+ public native void addItem(QCanvasItem arg1);
+ public native void addAnimation(QCanvasItem arg1);
+ public native void removeItem(QCanvasItem arg1);
+ public native void removeAnimation(QCanvasItem arg1);
+ public native void setAdvancePeriod(int ms);
+ public native void setUpdatePeriod(int ms);
+ public native void setDoubleBuffering(boolean y);
+ public native void advance();
+ public native void update();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawBackground(QPainter arg1, QRect area);
+ protected native void drawForeground(QPainter arg1, QRect area);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QCanvasEllipse.java b/qtjava/javalib/org/kde/qt/QCanvasEllipse.java
new file mode 100644
index 00000000..c73b2ba9
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvasEllipse.java
@@ -0,0 +1,39 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCanvasEllipse extends QCanvasPolygonalItem {
+ protected QCanvasEllipse(Class dummy){super((Class) null);}
+ public QCanvasEllipse(QCanvas canvas) {
+ super((Class) null);
+ newQCanvasEllipse(canvas);
+ }
+ private native void newQCanvasEllipse(QCanvas canvas);
+ public QCanvasEllipse(int width, int height, QCanvas canvas) {
+ super((Class) null);
+ newQCanvasEllipse(width,height,canvas);
+ }
+ private native void newQCanvasEllipse(int width, int height, QCanvas canvas);
+ public QCanvasEllipse(int width, int height, int startangle, int angle, QCanvas canvas) {
+ super((Class) null);
+ newQCanvasEllipse(width,height,startangle,angle,canvas);
+ }
+ private native void newQCanvasEllipse(int width, int height, int startangle, int angle, QCanvas canvas);
+ public native int width();
+ public native int height();
+ public native void setSize(int w, int h);
+ public native void setAngles(int start, int length);
+ public native int angleStart();
+ public native int angleLength();
+ public native QPointArray areaPoints();
+ public native boolean collidesWith(QCanvasItem arg1);
+ public native int rtti();
+ protected native void drawShape(QPainter 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/qtjava/javalib/org/kde/qt/QCanvasItem.java b/qtjava/javalib/org/kde/qt/QCanvasItem.java
new file mode 100644
index 00000000..f5cecb6d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvasItem.java
@@ -0,0 +1,57 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QCanvasItem extends Qt {
+ protected QCanvasItem(Class dummy){super((Class) null);}
+ public static final int Rtti_Item = 0;
+ public static final int Rtti_Sprite = 1;
+ public static final int Rtti_PolygonalItem = 2;
+ public static final int Rtti_Text = 3;
+ public static final int Rtti_Polygon = 4;
+ public static final int Rtti_Rectangle = 5;
+ public static final int Rtti_Ellipse = 6;
+ public static final int Rtti_Line = 7;
+ public static final int Rtti_Spline = 8;
+
+ public native double x();
+ public native double y();
+ public native double z();
+ public native void moveBy(double dx, double dy);
+ public native void move(double x, double y);
+ public native void setX(double a);
+ public native void setY(double a);
+ public native void setZ(double a);
+ public native boolean animated();
+ public native void setAnimated(boolean y);
+ public native void setVelocity(double vx, double vy);
+ public native void setXVelocity(double vx);
+ public native void setYVelocity(double vy);
+ public native double xVelocity();
+ public native double yVelocity();
+ public native void advance(int stage);
+ public native boolean collidesWith(QCanvasItem arg1);
+ public native ArrayList collisions(boolean exact);
+ public native void setCanvas(QCanvas arg1);
+ public native void draw(QPainter arg1);
+ public native void show();
+ public native void hide();
+ public native void setVisible(boolean yes);
+ public native boolean isVisible();
+ public native void setSelected(boolean yes);
+ public native boolean isSelected();
+ public native void setEnabled(boolean yes);
+ public native boolean isEnabled();
+ public native void setActive(boolean yes);
+ public native boolean isActive();
+ public native boolean visible();
+ public native boolean selected();
+ public native boolean enabled();
+ public native boolean active();
+ public native int rtti();
+ public native QRect boundingRect();
+ public native QRect boundingRectAdvanced();
+ public native QCanvas canvas();
+}
diff --git a/qtjava/javalib/org/kde/qt/QCanvasLine.java b/qtjava/javalib/org/kde/qt/QCanvasLine.java
new file mode 100644
index 00000000..f12de15e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvasLine.java
@@ -0,0 +1,27 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCanvasLine extends QCanvasPolygonalItem {
+ protected QCanvasLine(Class dummy){super((Class) null);}
+ public QCanvasLine(QCanvas canvas) {
+ super((Class) null);
+ newQCanvasLine(canvas);
+ }
+ private native void newQCanvasLine(QCanvas canvas);
+ public native void setPoints(int x1, int y1, int x2, int y2);
+ public native QPoint startPoint();
+ public native QPoint endPoint();
+ public native int rtti();
+ public native void setPen(QPen p);
+ public native void moveBy(double dx, double dy);
+ protected native void drawShape(QPainter arg1);
+ public native QPointArray areaPoints();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QCanvasPixmap.java b/qtjava/javalib/org/kde/qt/QCanvasPixmap.java
new file mode 100644
index 00000000..a8a67274
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvasPixmap.java
@@ -0,0 +1,32 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCanvasPixmap extends QPixmap {
+ protected QCanvasPixmap(Class dummy){super((Class) null);}
+ public QCanvasPixmap(String datafilename) {
+ super((Class) null);
+ newQCanvasPixmap(datafilename);
+ }
+ private native void newQCanvasPixmap(String datafilename);
+ public QCanvasPixmap(QImage image) {
+ super((Class) null);
+ newQCanvasPixmap(image);
+ }
+ private native void newQCanvasPixmap(QImage image);
+ public QCanvasPixmap(QPixmap arg1, QPoint hotspot) {
+ super((Class) null);
+ newQCanvasPixmap(arg1,hotspot);
+ }
+ private native void newQCanvasPixmap(QPixmap arg1, QPoint hotspot);
+ public native int offsetX();
+ public native int offsetY();
+ public native void setOffset(int x, int y);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QCanvasPixmapArray.java b/qtjava/javalib/org/kde/qt/QCanvasPixmapArray.java
new file mode 100644
index 00000000..ea870001
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvasPixmapArray.java
@@ -0,0 +1,40 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCanvasPixmapArray implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QCanvasPixmapArray(Class dummy){}
+
+ public QCanvasPixmapArray() {
+ newQCanvasPixmapArray();
+ }
+ private native void newQCanvasPixmapArray();
+ public QCanvasPixmapArray(String datafilenamepattern, int framecount) {
+ newQCanvasPixmapArray(datafilenamepattern,framecount);
+ }
+ private native void newQCanvasPixmapArray(String datafilenamepattern, int framecount);
+ public QCanvasPixmapArray(String datafilenamepattern) {
+ newQCanvasPixmapArray(datafilenamepattern);
+ }
+ private native void newQCanvasPixmapArray(String datafilenamepattern);
+ // QCanvasPixmapArray* QCanvasPixmapArray(QPtrList<QPixmap> arg1,QPtrList<QPoint> arg2); >>>> NOT CONVERTED
+ // QCanvasPixmapArray* QCanvasPixmapArray(QValueList<QPixmap> arg1,QPointArray arg2); >>>> NOT CONVERTED
+ // QCanvasPixmapArray* QCanvasPixmapArray(QValueList<QPixmap> arg1); >>>> NOT CONVERTED
+ public native boolean readPixmaps(String datafilenamepattern, int framecount);
+ public native boolean readPixmaps(String datafilenamepattern);
+ public native boolean readCollisionMasks(String filenamepattern);
+ public native boolean op_not();
+ public native boolean isValid();
+ public native QCanvasPixmap image(int i);
+ public native void setImage(int i, QCanvasPixmap p);
+ public native int count();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QCanvasPolygon.java b/qtjava/javalib/org/kde/qt/QCanvasPolygon.java
new file mode 100644
index 00000000..2ad59fdd
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvasPolygon.java
@@ -0,0 +1,25 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCanvasPolygon extends QCanvasPolygonalItem {
+ protected QCanvasPolygon(Class dummy){super((Class) null);}
+ public QCanvasPolygon(QCanvas canvas) {
+ super((Class) null);
+ newQCanvasPolygon(canvas);
+ }
+ private native void newQCanvasPolygon(QCanvas canvas);
+ public native void setPoints(QPointArray arg1);
+ public native QPointArray points();
+ public native void moveBy(double dx, double dy);
+ public native QPointArray areaPoints();
+ public native int rtti();
+ protected native void drawShape(QPainter 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/qtjava/javalib/org/kde/qt/QCanvasPolygonalItem.java b/qtjava/javalib/org/kde/qt/QCanvasPolygonalItem.java
new file mode 100644
index 00000000..66758ec6
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvasPolygonalItem.java
@@ -0,0 +1,17 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCanvasPolygonalItem extends QCanvasItem {
+ protected QCanvasPolygonalItem(Class dummy){super((Class) null);}
+ public native boolean collidesWith(QCanvasItem arg1);
+ public native void setPen(QPen p);
+ public native void setBrush(QBrush b);
+ public native QPen pen();
+ public native QBrush brush();
+ public native QPointArray areaPoints();
+ public native QPointArray areaPointsAdvanced();
+ public native QRect boundingRect();
+ public native int rtti();
+}
diff --git a/qtjava/javalib/org/kde/qt/QCanvasRectangle.java b/qtjava/javalib/org/kde/qt/QCanvasRectangle.java
new file mode 100644
index 00000000..d121a9d2
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvasRectangle.java
@@ -0,0 +1,39 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCanvasRectangle extends QCanvasPolygonalItem {
+ protected QCanvasRectangle(Class dummy){super((Class) null);}
+ public QCanvasRectangle(QCanvas canvas) {
+ super((Class) null);
+ newQCanvasRectangle(canvas);
+ }
+ private native void newQCanvasRectangle(QCanvas canvas);
+ public QCanvasRectangle(QRect arg1, QCanvas canvas) {
+ super((Class) null);
+ newQCanvasRectangle(arg1,canvas);
+ }
+ private native void newQCanvasRectangle(QRect arg1, QCanvas canvas);
+ public QCanvasRectangle(int x, int y, int width, int height, QCanvas canvas) {
+ super((Class) null);
+ newQCanvasRectangle(x,y,width,height,canvas);
+ }
+ private native void newQCanvasRectangle(int x, int y, int width, int height, QCanvas canvas);
+ public native int width();
+ public native int height();
+ public native void setSize(int w, int h);
+ public native QSize size();
+ public native QPointArray areaPoints();
+ public native QRect rect();
+ public native boolean collidesWith(QCanvasItem arg1);
+ public native int rtti();
+ protected native void drawShape(QPainter arg1);
+ protected native QPointArray chunks();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QCanvasSignals.java b/qtjava/javalib/org/kde/qt/QCanvasSignals.java
new file mode 100644
index 00000000..f4d074d4
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvasSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.util.ArrayList;
+
+public interface QCanvasSignals {
+ void resized();
+}
diff --git a/qtjava/javalib/org/kde/qt/QCanvasSpline.java b/qtjava/javalib/org/kde/qt/QCanvasSpline.java
new file mode 100644
index 00000000..98fcf552
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvasSpline.java
@@ -0,0 +1,24 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCanvasSpline extends QCanvasPolygon {
+ protected QCanvasSpline(Class dummy){super((Class) null);}
+ public QCanvasSpline(QCanvas canvas) {
+ super((Class) null);
+ newQCanvasSpline(canvas);
+ }
+ private native void newQCanvasSpline(QCanvas canvas);
+ public native void setControlPoints(QPointArray arg1, boolean closed);
+ public native void setControlPoints(QPointArray arg1);
+ public native QPointArray controlPoints();
+ public native boolean closed();
+ public native int rtti();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QCanvasSprite.java b/qtjava/javalib/org/kde/qt/QCanvasSprite.java
new file mode 100644
index 00000000..81741467
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvasSprite.java
@@ -0,0 +1,50 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCanvasSprite extends QCanvasItem {
+ protected QCanvasSprite(Class dummy){super((Class) null);}
+ public static final int Cycle = 0;
+ public static final int Oscillate = 1;
+
+ public QCanvasSprite(QCanvasPixmapArray array, QCanvas canvas) {
+ super((Class) null);
+ newQCanvasSprite(array,canvas);
+ }
+ private native void newQCanvasSprite(QCanvasPixmapArray array, QCanvas canvas);
+ public native void setSequence(QCanvasPixmapArray seq);
+ public native void move(double x, double y);
+ public native void move(double x, double y, int frame);
+ public native void setFrame(int arg1);
+ public native void setFrameAnimation(int arg1, int step, int state);
+ public native void setFrameAnimation(int arg1, int step);
+ public native void setFrameAnimation(int arg1);
+ public native void setFrameAnimation();
+ public native int frame();
+ public native int frameCount();
+ public native int rtti();
+ public native boolean collidesWith(QCanvasItem arg1);
+ public native QRect boundingRect();
+ public native int width();
+ public native int height();
+ public native int leftEdge();
+ public native int topEdge();
+ public native int rightEdge();
+ public native int bottomEdge();
+ public native int leftEdge(int nx);
+ public native int topEdge(int ny);
+ public native int rightEdge(int nx);
+ public native int bottomEdge(int ny);
+ public native QCanvasPixmap image();
+ public native QCanvasPixmap imageAdvanced();
+ public native QCanvasPixmap image(int f);
+ public native void advance(int stage);
+ public native void draw(QPainter 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/qtjava/javalib/org/kde/qt/QCanvasText.java b/qtjava/javalib/org/kde/qt/QCanvasText.java
new file mode 100644
index 00000000..03cf7ecd
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvasText.java
@@ -0,0 +1,42 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCanvasText extends QCanvasItem {
+ protected QCanvasText(Class dummy){super((Class) null);}
+ public QCanvasText(QCanvas canvas) {
+ super((Class) null);
+ newQCanvasText(canvas);
+ }
+ private native void newQCanvasText(QCanvas canvas);
+ public QCanvasText(String arg1, QCanvas canvas) {
+ super((Class) null);
+ newQCanvasText(arg1,canvas);
+ }
+ private native void newQCanvasText(String arg1, QCanvas canvas);
+ public QCanvasText(String arg1, QFont arg2, QCanvas canvas) {
+ super((Class) null);
+ newQCanvasText(arg1,arg2,canvas);
+ }
+ private native void newQCanvasText(String arg1, QFont arg2, QCanvas canvas);
+ public native void setText(String arg1);
+ public native void setFont(QFont arg1);
+ public native void setColor(QColor arg1);
+ public native String text();
+ public native QFont font();
+ public native QColor color();
+ public native void moveBy(double dx, double dy);
+ public native int textFlags();
+ public native void setTextFlags(int arg1);
+ public native QRect boundingRect();
+ public native boolean collidesWith(QCanvasItem arg1);
+ public native int rtti();
+ public native void draw(QPainter 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/qtjava/javalib/org/kde/qt/QCanvasView.java b/qtjava/javalib/org/kde/qt/QCanvasView.java
new file mode 100644
index 00000000..d4138e03
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCanvasView.java
@@ -0,0 +1,65 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCanvasView extends QScrollView {
+ protected QCanvasView(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QCanvasView(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQCanvasView(parent,name,f);
+ }
+ private native void newQCanvasView(QWidget parent, String name, int f);
+ public QCanvasView(QWidget parent, String name) {
+ super((Class) null);
+ newQCanvasView(parent,name);
+ }
+ private native void newQCanvasView(QWidget parent, String name);
+ public QCanvasView(QWidget parent) {
+ super((Class) null);
+ newQCanvasView(parent);
+ }
+ private native void newQCanvasView(QWidget parent);
+ public QCanvasView() {
+ super((Class) null);
+ newQCanvasView();
+ }
+ private native void newQCanvasView();
+ public QCanvasView(QCanvas viewing, QWidget parent, String name, int f) {
+ super((Class) null);
+ newQCanvasView(viewing,parent,name,f);
+ }
+ private native void newQCanvasView(QCanvas viewing, QWidget parent, String name, int f);
+ public QCanvasView(QCanvas viewing, QWidget parent, String name) {
+ super((Class) null);
+ newQCanvasView(viewing,parent,name);
+ }
+ private native void newQCanvasView(QCanvas viewing, QWidget parent, String name);
+ public QCanvasView(QCanvas viewing, QWidget parent) {
+ super((Class) null);
+ newQCanvasView(viewing,parent);
+ }
+ private native void newQCanvasView(QCanvas viewing, QWidget parent);
+ public QCanvasView(QCanvas viewing) {
+ super((Class) null);
+ newQCanvasView(viewing);
+ }
+ private native void newQCanvasView(QCanvas viewing);
+ public native QCanvas canvas();
+ public native void setCanvas(QCanvas v);
+ public native QWMatrix worldMatrix();
+ public native QWMatrix inverseWorldMatrix();
+ public native boolean setWorldMatrix(QWMatrix arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawContents(QPainter arg1, int cx, int cy, int cw, int ch);
+ public native QSize sizeHint();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QCheckBox.java b/qtjava/javalib/org/kde/qt/QCheckBox.java
new file mode 100644
index 00000000..d7359519
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCheckBox.java
@@ -0,0 +1,50 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCheckBox extends QButton {
+ protected QCheckBox(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QCheckBox(QWidget parent, String name) {
+ super((Class) null);
+ newQCheckBox(parent,name);
+ }
+ private native void newQCheckBox(QWidget parent, String name);
+ public QCheckBox(QWidget parent) {
+ super((Class) null);
+ newQCheckBox(parent);
+ }
+ private native void newQCheckBox(QWidget parent);
+ public QCheckBox(String text, QWidget parent, String name) {
+ super((Class) null);
+ newQCheckBox(text,parent,name);
+ }
+ private native void newQCheckBox(String text, QWidget parent, String name);
+ public QCheckBox(String text, QWidget parent) {
+ super((Class) null);
+ newQCheckBox(text,parent);
+ }
+ private native void newQCheckBox(String text, QWidget parent);
+ public native boolean isChecked();
+ public native void setNoChange();
+ public native void setTristate(boolean y);
+ public native void setTristate();
+ public native boolean isTristate();
+ public native QSize sizeHint();
+ public native void setChecked(boolean check);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void drawButton(QPainter arg1);
+ protected native void drawButtonLabel(QPainter arg1);
+ protected native void updateMask();
+ protected native boolean hitButton(QPoint 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/qtjava/javalib/org/kde/qt/QCheckListItem.java b/qtjava/javalib/org/kde/qt/QCheckListItem.java
new file mode 100644
index 00000000..b0ab448a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCheckListItem.java
@@ -0,0 +1,111 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCheckListItem extends QListViewItem {
+ protected QCheckListItem(Class dummy){super((Class) null);}
+ public static final int RadioButton = 0;
+ public static final int CheckBox = 1;
+ public static final int Controller = 2;
+ public static final int RadioButtonController = Controller;
+ public static final int CheckBoxController = 3;
+
+ public static final int Off = 0;
+ public static final int NoChange = 1;
+ public static final int On = 2;
+
+ public QCheckListItem(QCheckListItem parent, String text, int arg3) {
+ super((Class) null);
+ newQCheckListItem(parent,text,arg3);
+ }
+ private native void newQCheckListItem(QCheckListItem parent, String text, int arg3);
+ public QCheckListItem(QCheckListItem parent, String text) {
+ super((Class) null);
+ newQCheckListItem(parent,text);
+ }
+ private native void newQCheckListItem(QCheckListItem parent, String text);
+ public QCheckListItem(QCheckListItem parent, QListViewItem after, String text, int arg4) {
+ super((Class) null);
+ newQCheckListItem(parent,after,text,arg4);
+ }
+ private native void newQCheckListItem(QCheckListItem parent, QListViewItem after, String text, int arg4);
+ public QCheckListItem(QCheckListItem parent, QListViewItem after, String text) {
+ super((Class) null);
+ newQCheckListItem(parent,after,text);
+ }
+ private native void newQCheckListItem(QCheckListItem parent, QListViewItem after, String text);
+ public QCheckListItem(QListViewItem parent, String text, int arg3) {
+ super((Class) null);
+ newQCheckListItem(parent,text,arg3);
+ }
+ private native void newQCheckListItem(QListViewItem parent, String text, int arg3);
+ public QCheckListItem(QListViewItem parent, String text) {
+ super((Class) null);
+ newQCheckListItem(parent,text);
+ }
+ private native void newQCheckListItem(QListViewItem parent, String text);
+ public QCheckListItem(QListViewItem parent, QListViewItem after, String text, int arg4) {
+ super((Class) null);
+ newQCheckListItem(parent,after,text,arg4);
+ }
+ private native void newQCheckListItem(QListViewItem parent, QListViewItem after, String text, int arg4);
+ public QCheckListItem(QListViewItem parent, QListViewItem after, String text) {
+ super((Class) null);
+ newQCheckListItem(parent,after,text);
+ }
+ private native void newQCheckListItem(QListViewItem parent, QListViewItem after, String text);
+ public QCheckListItem(QListView parent, String text, int arg3) {
+ super((Class) null);
+ newQCheckListItem(parent,text,arg3);
+ }
+ private native void newQCheckListItem(QListView parent, String text, int arg3);
+ public QCheckListItem(QListView parent, String text) {
+ super((Class) null);
+ newQCheckListItem(parent,text);
+ }
+ private native void newQCheckListItem(QListView parent, String text);
+ public QCheckListItem(QListView parent, QListViewItem after, String text, int arg4) {
+ super((Class) null);
+ newQCheckListItem(parent,after,text,arg4);
+ }
+ private native void newQCheckListItem(QListView parent, QListViewItem after, String text, int arg4);
+ public QCheckListItem(QListView parent, QListViewItem after, String text) {
+ super((Class) null);
+ newQCheckListItem(parent,after,text);
+ }
+ private native void newQCheckListItem(QListView parent, QListViewItem after, String text);
+ public QCheckListItem(QListViewItem parent, String text, QPixmap arg3) {
+ super((Class) null);
+ newQCheckListItem(parent,text,arg3);
+ }
+ private native void newQCheckListItem(QListViewItem parent, String text, QPixmap arg3);
+ public QCheckListItem(QListView parent, String text, QPixmap arg3) {
+ super((Class) null);
+ newQCheckListItem(parent,text,arg3);
+ }
+ private native void newQCheckListItem(QListView parent, String text, QPixmap arg3);
+ public native void paintCell(QPainter arg1, QColorGroup cg, int column, int width, int alignment);
+ public native void paintFocus(QPainter arg1, QColorGroup cg, QRect r);
+ public native int width(QFontMetrics arg1, QListView arg2, int column);
+ public native void setup();
+ public native void setOn(boolean arg1);
+ public native boolean isOn();
+ public native int type();
+ public native String text();
+ public native String text(int n);
+ public native void setTristate(boolean arg1);
+ public native boolean isTristate();
+ public native int state();
+ public native void setState(int s);
+ public native int rtti();
+ protected native void activate();
+ protected native void turnOffChild();
+ protected native void stateChange(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/qtjava/javalib/org/kde/qt/QCheckTableItem.java b/qtjava/javalib/org/kde/qt/QCheckTableItem.java
new file mode 100644
index 00000000..541cdc98
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCheckTableItem.java
@@ -0,0 +1,27 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCheckTableItem extends QTableItem {
+ protected QCheckTableItem(Class dummy){super((Class) null);}
+ public QCheckTableItem(QTable table, String txt) {
+ super((Class) null);
+ newQCheckTableItem(table,txt);
+ }
+ private native void newQCheckTableItem(QTable table, String txt);
+ public native void setText(String t);
+ public native QWidget createEditor();
+ public native void setContentFromEditor(QWidget w);
+ public native void paint(QPainter p, QColorGroup cg, QRect cr, boolean selected);
+ public native void setChecked(boolean b);
+ public native boolean isChecked();
+ public native int rtti();
+ public native QSize sizeHint();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QChildEvent.java b/qtjava/javalib/org/kde/qt/QChildEvent.java
new file mode 100644
index 00000000..3b16d74e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QChildEvent.java
@@ -0,0 +1,22 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QChildEvent extends QEvent {
+ protected QChildEvent(Class dummy){super((Class) null);}
+ public QChildEvent(int type, QObject child) {
+ super((Class) null);
+ newQChildEvent(type,child);
+ }
+ private native void newQChildEvent(int type, QObject child);
+ public native QObject child();
+ public native boolean inserted();
+ public native boolean removed();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QClassInfo.java b/qtjava/javalib/org/kde/qt/QClassInfo.java
new file mode 100644
index 00000000..147f5e09
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QClassInfo.java
@@ -0,0 +1,21 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QClassInfo implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QClassInfo(Class dummy){}
+
+ public QClassInfo() {
+ newQClassInfo();
+ }
+ private native void newQClassInfo();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QClipboard.java b/qtjava/javalib/org/kde/qt/QClipboard.java
new file mode 100644
index 00000000..4ef8d32c
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QClipboard.java
@@ -0,0 +1,40 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QClipboard extends QObject {
+ protected QClipboard(Class dummy){super((Class) null);}
+ public static final int Clipboard = 0;
+ public static final int Selection = 1;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public native void clear(int mode);
+ public native void clear();
+ public native boolean supportsSelection();
+ public native boolean ownsSelection();
+ public native boolean ownsClipboard();
+ public native void setSelectionMode(boolean enable);
+ public native boolean selectionModeEnabled();
+ public native String text(int mode);
+ public native String text(StringBuffer subtype, int mode);
+ public native void setText(String arg1, int mode);
+ public native QMimeSourceInterface data(int mode);
+ public native void setData(QMimeSourceInterface arg1, int mode);
+ public native QImage image(int mode);
+ public native QPixmap pixmap(int mode);
+ public native void setImage(QImage arg1, int mode);
+ public native void setPixmap(QPixmap arg1, int mode);
+ public native String text();
+ public native String text(StringBuffer subtype);
+ public native void setText(String arg1);
+ public native QMimeSourceInterface data();
+ public native void setData(QMimeSourceInterface arg1);
+ public native QImage image();
+ public native QPixmap pixmap();
+ public native void setImage(QImage arg1);
+ public native void setPixmap(QPixmap arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QCloseEvent.java b/qtjava/javalib/org/kde/qt/QCloseEvent.java
new file mode 100644
index 00000000..1b437326
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCloseEvent.java
@@ -0,0 +1,22 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCloseEvent extends QEvent {
+ protected QCloseEvent(Class dummy){super((Class) null);}
+ public QCloseEvent() {
+ super((Class) null);
+ newQCloseEvent();
+ }
+ private native void newQCloseEvent();
+ public native boolean isAccepted();
+ public native void accept();
+ public native void ignore();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QColor.java b/qtjava/javalib/org/kde/qt/QColor.java
new file mode 100644
index 00000000..31db66bf
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QColor.java
@@ -0,0 +1,84 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QColor implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QColor(Class dummy){}
+
+ public static final int Dirt = 0x44495254;
+ public static final int Invalid = 0x49000000;
+
+ public static final int Rgb = 0;
+ public static final int Hsv = 1;
+
+ public QColor() {
+ newQColor();
+ }
+ private native void newQColor();
+ public QColor(int r, int g, int b) {
+ newQColor(r,g,b);
+ }
+ private native void newQColor(int r, int g, int b);
+ public QColor(int x, int y, int z, int arg4) {
+ newQColor(x,y,z,arg4);
+ }
+ private native void newQColor(int x, int y, int z, int arg4);
+ public QColor(int rgb, int pixel) {
+ newQColor(rgb,pixel);
+ }
+ private native void newQColor(int rgb, int pixel);
+ public QColor(int rgb) {
+ newQColor(rgb);
+ }
+ private native void newQColor(int rgb);
+ public QColor(String name) {
+ newQColor(name);
+ }
+ private native void newQColor(String name);
+ public QColor(QColor arg1) {
+ newQColor(arg1);
+ }
+ private native void newQColor(QColor arg1);
+ public native boolean isValid();
+ public native boolean isDirty();
+ public native String name();
+ public native void setNamedColor(String name);
+ public native int rgb();
+ public native void setRgb(int r, int g, int b);
+ public native void setRgb(int rgb);
+ public native void getRgb(int[] r, int[] g, int[] b);
+ public native void rgb(int[] r, int[] g, int[] b);
+ public native int red();
+ public native int green();
+ public native int blue();
+ public native void setHsv(int h, int s, int v);
+ public native void getHsv(int[] h, int[] s, int[] v);
+ public native void hsv(int[] h, int[] s, int[] v);
+ public native QColor light(int f);
+ public native QColor light();
+ public native QColor dark(int f);
+ public native QColor dark();
+ public native boolean op_equals(QColor c);
+ public native boolean op_not_equals(QColor c);
+ public native int alloc();
+ public native int pixel();
+ public static native int maxColors();
+ public static native int numBitPlanes();
+ public static native int enterAllocContext();
+ public static native void leaveAllocContext();
+ public static native int currentAllocContext();
+ public static native void destroyAllocContext(int arg1);
+ public static native void initialize();
+ public static native void cleanup();
+ public static native ArrayList colorNames();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QColorDialog.java b/qtjava/javalib/org/kde/qt/QColorDialog.java
new file mode 100644
index 00000000..a4477e1a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QColorDialog.java
@@ -0,0 +1,24 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QColorDialog extends QDialog {
+ protected QColorDialog(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native QColor getColor(QColor init, QWidget parent, String name);
+ public static native QColor getColor(QColor init, QWidget parent);
+ public static native QColor getColor(QColor init);
+ public static native QColor getColor();
+ public static native int getRgba(int arg1, boolean[] ok, QWidget parent, String name);
+ public static native int getRgba(int arg1, boolean[] ok, QWidget parent);
+ public static native int getRgba(int arg1, boolean[] ok);
+ public static native int getRgba(int arg1);
+ public static native int customCount();
+ public static native int customColor(int arg1);
+ public static native void setCustomColor(int arg1, int arg2);
+ public static native void setStandardColor(int arg1, int arg2);
+}
diff --git a/qtjava/javalib/org/kde/qt/QColorDrag.java b/qtjava/javalib/org/kde/qt/QColorDrag.java
new file mode 100644
index 00000000..2c41932f
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QColorDrag.java
@@ -0,0 +1,51 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QColorDrag extends QStoredDrag {
+ protected QColorDrag(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QColorDrag(QColor col, QWidget dragsource, String name) {
+ super((Class) null);
+ newQColorDrag(col,dragsource,name);
+ }
+ private native void newQColorDrag(QColor col, QWidget dragsource, String name);
+ public QColorDrag(QColor col, QWidget dragsource) {
+ super((Class) null);
+ newQColorDrag(col,dragsource);
+ }
+ private native void newQColorDrag(QColor col, QWidget dragsource);
+ public QColorDrag(QColor col) {
+ super((Class) null);
+ newQColorDrag(col);
+ }
+ private native void newQColorDrag(QColor col);
+ public QColorDrag(QWidget dragSource, String name) {
+ super((Class) null);
+ newQColorDrag(dragSource,name);
+ }
+ private native void newQColorDrag(QWidget dragSource, String name);
+ public QColorDrag(QWidget dragSource) {
+ super((Class) null);
+ newQColorDrag(dragSource);
+ }
+ private native void newQColorDrag(QWidget dragSource);
+ public QColorDrag() {
+ super((Class) null);
+ newQColorDrag();
+ }
+ private native void newQColorDrag();
+ public native void setColor(QColor col);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native boolean canDecode(QMimeSourceInterface arg1);
+ public static native boolean decode(QMimeSourceInterface arg1, QColor 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/qtjava/javalib/org/kde/qt/QColorGroup.java b/qtjava/javalib/org/kde/qt/QColorGroup.java
new file mode 100644
index 00000000..a59ef735
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QColorGroup.java
@@ -0,0 +1,73 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QColorGroup implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QColorGroup(Class dummy){}
+
+ public static final int Foreground = 0;
+ public static final int Button = 1;
+ public static final int Light = 2;
+ public static final int Midlight = 3;
+ public static final int Dark = 4;
+ public static final int Mid = 5;
+ public static final int Text = 6;
+ public static final int BrightText = 7;
+ public static final int ButtonText = 8;
+ public static final int Base = 9;
+ public static final int Background = 10;
+ public static final int Shadow = 11;
+ public static final int Highlight = 12;
+ public static final int HighlightedText = 13;
+ public static final int Link = 14;
+ public static final int LinkVisited = 15;
+ public static final int NColorRoles = 16;
+
+ public QColorGroup() {
+ newQColorGroup();
+ }
+ private native void newQColorGroup();
+ public QColorGroup(QColor foreground, QColor button, QColor light, QColor dark, QColor mid, QColor text, QColor base) {
+ newQColorGroup(foreground,button,light,dark,mid,text,base);
+ }
+ private native void newQColorGroup(QColor foreground, QColor button, QColor light, QColor dark, QColor mid, QColor text, QColor base);
+ public QColorGroup(QBrush foreground, QBrush button, QBrush light, QBrush dark, QBrush mid, QBrush text, QBrush bright_text, QBrush base, QBrush background) {
+ newQColorGroup(foreground,button,light,dark,mid,text,bright_text,base,background);
+ }
+ private native void newQColorGroup(QBrush foreground, QBrush button, QBrush light, QBrush dark, QBrush mid, QBrush text, QBrush bright_text, QBrush base, QBrush background);
+ public QColorGroup(QColorGroup arg1) {
+ newQColorGroup(arg1);
+ }
+ private native void newQColorGroup(QColorGroup arg1);
+ public native QColor color(int arg1);
+ public native QBrush brush(int arg1);
+ public native void setColor(int arg1, QColor arg2);
+ public native void setBrush(int arg1, QBrush arg2);
+ public native QColor foreground();
+ public native QColor button();
+ public native QColor light();
+ public native QColor dark();
+ public native QColor mid();
+ public native QColor text();
+ public native QColor base();
+ public native QColor background();
+ public native QColor midlight();
+ public native QColor brightText();
+ public native QColor buttonText();
+ public native QColor shadow();
+ public native QColor highlight();
+ public native QColor highlightedText();
+ public native QColor link();
+ public native QColor linkVisited();
+ public native boolean op_equals(QColorGroup g);
+ public native boolean op_not_equals(QColorGroup g);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QComboBox.java b/qtjava/javalib/org/kde/qt/QComboBox.java
new file mode 100644
index 00000000..92f0eeb4
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QComboBox.java
@@ -0,0 +1,123 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QComboBoxSignals} for signals emitted by QComboBox
+*/
+public class QComboBox extends QWidget {
+ protected QComboBox(Class dummy){super((Class) null);}
+ public static final int NoInsertion = 0;
+ public static final int AtTop = 1;
+ public static final int AtCurrent = 2;
+ public static final int AtBottom = 3;
+ public static final int AfterCurrent = 4;
+ public static final int BeforeCurrent = 5;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QComboBox(QWidget parent, String name) {
+ super((Class) null);
+ newQComboBox(parent,name);
+ }
+ private native void newQComboBox(QWidget parent, String name);
+ public QComboBox(QWidget parent) {
+ super((Class) null);
+ newQComboBox(parent);
+ }
+ private native void newQComboBox(QWidget parent);
+ public QComboBox() {
+ super((Class) null);
+ newQComboBox();
+ }
+ private native void newQComboBox();
+ public QComboBox(boolean rw, QWidget parent, String name) {
+ super((Class) null);
+ newQComboBox(rw,parent,name);
+ }
+ private native void newQComboBox(boolean rw, QWidget parent, String name);
+ public QComboBox(boolean rw, QWidget parent) {
+ super((Class) null);
+ newQComboBox(rw,parent);
+ }
+ private native void newQComboBox(boolean rw, QWidget parent);
+ public QComboBox(boolean rw) {
+ super((Class) null);
+ newQComboBox(rw);
+ }
+ private native void newQComboBox(boolean rw);
+ public native int count();
+ public native void insertStringList(String[] arg1, int index);
+ public native void insertStringList(String[] arg1);
+ public native void insertStrList(String[] arg1, int index);
+ public native void insertStrList(String[] arg1);
+ public native void insertStrList(String[] arg1, int numStrings, int index);
+ public native void insertItem(String text, int index);
+ public native void insertItem(String text);
+ public native void insertItem(QPixmap pixmap, int index);
+ public native void insertItem(QPixmap pixmap);
+ public native void insertItem(QPixmap pixmap, String text, int index);
+ public native void insertItem(QPixmap pixmap, String text);
+ public native void removeItem(int index);
+ public native int currentItem();
+ public native void setCurrentItem(int index);
+ public native String currentText();
+ public native void setCurrentText(String arg1);
+ public native String text(int index);
+ public native QPixmap pixmap(int index);
+ public native void changeItem(String text, int index);
+ public native void changeItem(QPixmap pixmap, int index);
+ public native void changeItem(QPixmap pixmap, String text, int index);
+ public native boolean autoResize();
+ public native void setAutoResize(boolean arg1);
+ public native QSize sizeHint();
+ public native void setPalette(QPalette arg1);
+ public native void setFont(QFont arg1);
+ public native void setEnabled(boolean arg1);
+ public native void setSizeLimit(int arg1);
+ public native int sizeLimit();
+ public native void setMaxCount(int arg1);
+ public native int maxCount();
+ public native void setInsertionPolicy(int policy);
+ public native int insertionPolicy();
+ public native void setValidator(QValidator arg1);
+ public native QValidator validator();
+ public native void setListBox(QListBox arg1);
+ public native QListBox listBox();
+ public native void setLineEdit(QLineEdit edit);
+ public native QLineEdit lineEdit();
+ public native void setAutoCompletion(boolean arg1);
+ public native boolean autoCompletion();
+ public native boolean eventFilter(QObject object, QEvent event);
+ public native void setDuplicatesEnabled(boolean enable);
+ public native boolean duplicatesEnabled();
+ public native boolean editable();
+ public native void setEditable(boolean arg1);
+ public native void popup();
+ public native void hide();
+ public native void clear();
+ public native void clearValidator();
+ public native void clearEdit();
+ public native void setEditText(String arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void mouseDoubleClickEvent(QMouseEvent arg1);
+ protected native void keyPressEvent(QKeyEvent e);
+ protected native void focusInEvent(QFocusEvent e);
+ protected native void focusOutEvent(QFocusEvent e);
+ protected native void wheelEvent(QWheelEvent e);
+ public native void styleChange(QStyle arg1);
+ protected native void updateMask();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QComboBoxSignals.java b/qtjava/javalib/org/kde/qt/QComboBoxSignals.java
new file mode 100644
index 00000000..b43c06b6
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QComboBoxSignals.java
@@ -0,0 +1,11 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QComboBoxSignals {
+ void activated(int index);
+ void highlighted(int index);
+ void activated(String arg1);
+ void highlighted(String arg1);
+ void textChanged(String arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QComboTableItem.java b/qtjava/javalib/org/kde/qt/QComboTableItem.java
new file mode 100644
index 00000000..87896fbd
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QComboTableItem.java
@@ -0,0 +1,38 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QComboTableItem extends QTableItem {
+ protected QComboTableItem(Class dummy){super((Class) null);}
+ public QComboTableItem(QTable table, String[] list, boolean editable) {
+ super((Class) null);
+ newQComboTableItem(table,list,editable);
+ }
+ private native void newQComboTableItem(QTable table, String[] list, boolean editable);
+ public QComboTableItem(QTable table, String[] list) {
+ super((Class) null);
+ newQComboTableItem(table,list);
+ }
+ private native void newQComboTableItem(QTable table, String[] list);
+ public native QWidget createEditor();
+ public native void setContentFromEditor(QWidget w);
+ public native void paint(QPainter p, QColorGroup cg, QRect cr, boolean selected);
+ public native void setCurrentItem(int i);
+ public native void setCurrentItem(String i);
+ public native int currentItem();
+ public native String currentText();
+ public native int count();
+ public native String text(int i);
+ public native void setEditable(boolean b);
+ public native boolean isEditable();
+ public native void setStringList(String[] l);
+ public native int rtti();
+ public native QSize sizeHint();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QContextMenuEvent.java b/qtjava/javalib/org/kde/qt/QContextMenuEvent.java
new file mode 100644
index 00000000..88a5eed6
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QContextMenuEvent.java
@@ -0,0 +1,41 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QContextMenuEvent extends QEvent {
+ protected QContextMenuEvent(Class dummy){super((Class) null);}
+ public static final int Mouse = 0;
+ public static final int Keyboard = 1;
+ public static final int Other = 2;
+
+ public QContextMenuEvent(int reason, QPoint pos, QPoint globalPos, int state) {
+ super((Class) null);
+ newQContextMenuEvent(reason,pos,globalPos,state);
+ }
+ private native void newQContextMenuEvent(int reason, QPoint pos, QPoint globalPos, int state);
+ public QContextMenuEvent(int reason, QPoint pos, int state) {
+ super((Class) null);
+ newQContextMenuEvent(reason,pos,state);
+ }
+ private native void newQContextMenuEvent(int reason, QPoint pos, int state);
+ public native int x();
+ public native int y();
+ public native int globalX();
+ public native int globalY();
+ public native QPoint pos();
+ public native QPoint globalPos();
+ public native int state();
+ public native boolean isAccepted();
+ public native boolean isConsumed();
+ public native void consume();
+ public native void accept();
+ public native void ignore();
+ public native int reason();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QCursor.java b/qtjava/javalib/org/kde/qt/QCursor.java
new file mode 100644
index 00000000..ef789934
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCursor.java
@@ -0,0 +1,69 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCursor extends Qt {
+ protected QCursor(Class dummy){super((Class) null);}
+ public QCursor() {
+ super((Class) null);
+ newQCursor();
+ }
+ private native void newQCursor();
+ public QCursor(int shape) {
+ super((Class) null);
+ newQCursor(shape);
+ }
+ private native void newQCursor(int shape);
+ public QCursor(QBitmap bitmap, QBitmap mask, int hotX, int hotY) {
+ super((Class) null);
+ newQCursor(bitmap,mask,hotX,hotY);
+ }
+ private native void newQCursor(QBitmap bitmap, QBitmap mask, int hotX, int hotY);
+ public QCursor(QBitmap bitmap, QBitmap mask, int hotX) {
+ super((Class) null);
+ newQCursor(bitmap,mask,hotX);
+ }
+ private native void newQCursor(QBitmap bitmap, QBitmap mask, int hotX);
+ public QCursor(QBitmap bitmap, QBitmap mask) {
+ super((Class) null);
+ newQCursor(bitmap,mask);
+ }
+ private native void newQCursor(QBitmap bitmap, QBitmap mask);
+ public QCursor(QPixmap pixmap, int hotX, int hotY) {
+ super((Class) null);
+ newQCursor(pixmap,hotX,hotY);
+ }
+ private native void newQCursor(QPixmap pixmap, int hotX, int hotY);
+ public QCursor(QPixmap pixmap, int hotX) {
+ super((Class) null);
+ newQCursor(pixmap,hotX);
+ }
+ private native void newQCursor(QPixmap pixmap, int hotX);
+ public QCursor(QPixmap pixmap) {
+ super((Class) null);
+ newQCursor(pixmap);
+ }
+ private native void newQCursor(QPixmap pixmap);
+ public QCursor(QCursor arg1) {
+ super((Class) null);
+ newQCursor(arg1);
+ }
+ private native void newQCursor(QCursor arg1);
+ public native int shape();
+ public native void setShape(int arg1);
+ public native QBitmap bitmap();
+ public native QBitmap mask();
+ public native QPoint hotSpot();
+ public static native QPoint pos();
+ public static native void setPos(int x, int y);
+ public static native void setPos(QPoint arg1);
+ public static native void initialize();
+ public static native void cleanup();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QCustomEvent.java b/qtjava/javalib/org/kde/qt/QCustomEvent.java
new file mode 100644
index 00000000..de31cc90
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCustomEvent.java
@@ -0,0 +1,22 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCustomEvent extends QEvent {
+ protected QCustomEvent(Class dummy){super((Class) null);}
+ public QCustomEvent(int type) {
+ super((Class) null);
+ newQCustomEvent(type);
+ }
+ private native void newQCustomEvent(int type);
+ // QCustomEvent* QCustomEvent(QEvent::Type arg1,void* arg2); >>>> NOT CONVERTED
+ // void* data(); >>>> NOT CONVERTED
+ // void setData(void* 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/qtjava/javalib/org/kde/qt/QCustomMenuItem.java b/qtjava/javalib/org/kde/qt/QCustomMenuItem.java
new file mode 100644
index 00000000..3c16b21f
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QCustomMenuItem.java
@@ -0,0 +1,13 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QCustomMenuItem extends Qt {
+ protected QCustomMenuItem(Class dummy){super((Class) null);}
+ public native boolean fullSpan();
+ public native boolean isSeparator();
+ public native void setFont(QFont font);
+ public native void paint(QPainter p, QColorGroup cg, boolean act, boolean enabled, int x, int y, int w, int h);
+ public native QSize sizeHint();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDataBrowser.java b/qtjava/javalib/org/kde/qt/QDataBrowser.java
new file mode 100644
index 00000000..d668a6f3
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDataBrowser.java
@@ -0,0 +1,97 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+/**
+ See {@link QDataBrowserSignals} for signals emitted by QDataBrowser
+*/
+public class QDataBrowser extends QWidget {
+ protected QDataBrowser(Class dummy){super((Class) null);}
+ public static final int Unknown = 0;
+ public static final int None = 1;
+ public static final int BeforeBeginning = 2;
+ public static final int Beginning = 3;
+ public static final int End = 4;
+ public static final int AfterEnd = 5;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QDataBrowser(QWidget parent, String name, int fl) {
+ super((Class) null);
+ newQDataBrowser(parent,name,fl);
+ }
+ private native void newQDataBrowser(QWidget parent, String name, int fl);
+ public QDataBrowser(QWidget parent, String name) {
+ super((Class) null);
+ newQDataBrowser(parent,name);
+ }
+ private native void newQDataBrowser(QWidget parent, String name);
+ public QDataBrowser(QWidget parent) {
+ super((Class) null);
+ newQDataBrowser(parent);
+ }
+ private native void newQDataBrowser(QWidget parent);
+ public QDataBrowser() {
+ super((Class) null);
+ newQDataBrowser();
+ }
+ private native void newQDataBrowser();
+ public native int boundary();
+ public native void setBoundaryChecking(boolean active);
+ public native boolean boundaryChecking();
+ public native void setSort(QSqlIndex sort);
+ public native void setSort(String[] sort);
+ public native ArrayList sort();
+ public native void setFilter(String filter);
+ public native String filter();
+ public native void setSqlCursor(QSqlCursor cursor, boolean autoDelete);
+ public native void setSqlCursor(QSqlCursor cursor);
+ public native QSqlCursor sqlCursor();
+ public native void setForm(QSqlForm form);
+ public native QSqlForm form();
+ public native void setConfirmEdits(boolean confirm);
+ public native void setConfirmInsert(boolean confirm);
+ public native void setConfirmUpdate(boolean confirm);
+ public native void setConfirmDelete(boolean confirm);
+ public native void setConfirmCancels(boolean confirm);
+ public native boolean confirmEdits();
+ public native boolean confirmInsert();
+ public native boolean confirmUpdate();
+ public native boolean confirmDelete();
+ public native boolean confirmCancels();
+ public native void setReadOnly(boolean active);
+ public native boolean isReadOnly();
+ public native void setAutoEdit(boolean autoEdit);
+ public native boolean autoEdit();
+ public native boolean seek(int i, boolean relative);
+ public native boolean seek(int i);
+ public native void refresh();
+ public native void insert();
+ public native void update();
+ public native void del();
+ public native void first();
+ public native void last();
+ public native void next();
+ public native void prev();
+ public native void readFields();
+ public native void writeFields();
+ public native void clearValues();
+ public native void updateBoundary();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native boolean insertCurrent();
+ protected native boolean updateCurrent();
+ protected native boolean deleteCurrent();
+ protected native boolean currentEdited();
+ protected native int confirmEdit(int m);
+ protected native int confirmCancel(int m);
+ protected native void handleError(QSqlError 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/qtjava/javalib/org/kde/qt/QDataBrowserSignals.java b/qtjava/javalib/org/kde/qt/QDataBrowserSignals.java
new file mode 100644
index 00000000..1835c0ae
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDataBrowserSignals.java
@@ -0,0 +1,19 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.util.ArrayList;
+
+public interface QDataBrowserSignals {
+ void firstRecordAvailable(boolean available);
+ void lastRecordAvailable(boolean available);
+ void nextRecordAvailable(boolean available);
+ void prevRecordAvailable(boolean available);
+ void currentChanged(QSqlRecord record);
+ void primeInsert(QSqlRecord buf);
+ void primeUpdate(QSqlRecord buf);
+ void primeDelete(QSqlRecord buf);
+ void beforeInsert(QSqlRecord buf);
+ void beforeUpdate(QSqlRecord buf);
+ void beforeDelete(QSqlRecord buf);
+ void cursorChanged(int mode);
+}
diff --git a/qtjava/javalib/org/kde/qt/QDataPump.java b/qtjava/javalib/org/kde/qt/QDataPump.java
new file mode 100644
index 00000000..11af9ee4
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDataPump.java
@@ -0,0 +1,23 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDataPump extends QObject {
+ protected QDataPump(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QDataPump(QDataSource arg1, QDataSink arg2) {
+ super((Class) null);
+ newQDataPump(arg1,arg2);
+ }
+ private native void newQDataPump(QDataSource arg1, QDataSink arg2);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QDataSink.java b/qtjava/javalib/org/kde/qt/QDataSink.java
new file mode 100644
index 00000000..4a823ed5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDataSink.java
@@ -0,0 +1,12 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDataSink extends QAsyncIO {
+ protected QDataSink(Class dummy){super((Class) null);}
+ public native int readyToReceive();
+ public native void receive(char[] arg1, int count);
+ public native void eof();
+ public native void maybeReady();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDataSource.java b/qtjava/javalib/org/kde/qt/QDataSource.java
new file mode 100644
index 00000000..cbb25d3e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDataSource.java
@@ -0,0 +1,14 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDataSource extends QAsyncIO {
+ protected QDataSource(Class dummy){super((Class) null);}
+ public native int readyToSend();
+ public native void sendTo(QDataSink arg1, int count);
+ public native void maybeReady();
+ public native boolean rewindable();
+ public native void enableRewind(boolean arg1);
+ public native void rewind();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDataStream.java b/qtjava/javalib/org/kde/qt/QDataStream.java
new file mode 100644
index 00000000..af0f1b43
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDataStream.java
@@ -0,0 +1,63 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDataStream implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QDataStream(Class dummy){}
+
+ public static final int BigEndian = 0;
+ public static final int LittleEndian = 1;
+
+ public QDataStream() {
+ newQDataStream();
+ }
+ private native void newQDataStream();
+ public QDataStream(QIODeviceInterface arg1) {
+ newQDataStream(arg1);
+ }
+ private native void newQDataStream(QIODeviceInterface arg1);
+ public QDataStream(byte[] arg1, int mode) {
+ newQDataStream(arg1,mode);
+ }
+ private native void newQDataStream(byte[] arg1, int mode);
+ public native QIODeviceInterface device();
+ public native void setDevice(QIODeviceInterface arg1);
+ public native void unsetDevice();
+ public native boolean atEnd();
+ public native boolean eof();
+ public native int byteOrder();
+ public native void setByteOrder(int arg1);
+ public native boolean isPrintableData();
+ public native void setPrintableData(boolean arg1);
+ public native int version();
+ public native void setVersion(int arg1);
+ public native QDataStream op_read(char i);
+ public native QDataStream op_read(short i);
+ public native QDataStream op_read(int i);
+ // QDataStream& op_read(Q_INT64& arg1); >>>> NOT CONVERTED
+ // QDataStream& op_read(Q_UINT64& arg1); >>>> NOT CONVERTED
+ public native QDataStream op_read(long i);
+ public native QDataStream op_read(float f);
+ public native QDataStream op_read(double f);
+ public native QDataStream op_read(String str);
+ public native QDataStream op_write(char i);
+ public native QDataStream op_write(short i);
+ public native QDataStream op_write(int i);
+ public native QDataStream op_write(long i);
+ public native QDataStream op_write(float f);
+ public native QDataStream op_write(double f);
+ public native QDataStream op_write(String str);
+ public native QDataStream readBytes(String arg1, int len);
+ public native QDataStream readRawBytes(String arg1, int len);
+ public native QDataStream writeBytes(String arg1, int len);
+ public native QDataStream writeRawBytes(String arg1, int len);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDataTable.java b/qtjava/javalib/org/kde/qt/QDataTable.java
new file mode 100644
index 00000000..a847ed39
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDataTable.java
@@ -0,0 +1,159 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+/**
+ See {@link QDataTableSignals} for signals emitted by QDataTable
+*/
+public class QDataTable extends QTable {
+ protected QDataTable(Class dummy){super((Class) null);}
+ public static final int RefreshData = 1;
+ public static final int RefreshColumns = 2;
+ public static final int RefreshAll = 3;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QDataTable(QWidget parent, String name) {
+ super((Class) null);
+ newQDataTable(parent,name);
+ }
+ private native void newQDataTable(QWidget parent, String name);
+ public QDataTable(QWidget parent) {
+ super((Class) null);
+ newQDataTable(parent);
+ }
+ private native void newQDataTable(QWidget parent);
+ public QDataTable() {
+ super((Class) null);
+ newQDataTable();
+ }
+ private native void newQDataTable();
+ public QDataTable(QSqlCursor cursor, boolean autoPopulate, QWidget parent, String name) {
+ super((Class) null);
+ newQDataTable(cursor,autoPopulate,parent,name);
+ }
+ private native void newQDataTable(QSqlCursor cursor, boolean autoPopulate, QWidget parent, String name);
+ public QDataTable(QSqlCursor cursor, boolean autoPopulate, QWidget parent) {
+ super((Class) null);
+ newQDataTable(cursor,autoPopulate,parent);
+ }
+ private native void newQDataTable(QSqlCursor cursor, boolean autoPopulate, QWidget parent);
+ public QDataTable(QSqlCursor cursor, boolean autoPopulate) {
+ super((Class) null);
+ newQDataTable(cursor,autoPopulate);
+ }
+ private native void newQDataTable(QSqlCursor cursor, boolean autoPopulate);
+ public QDataTable(QSqlCursor cursor) {
+ super((Class) null);
+ newQDataTable(cursor);
+ }
+ private native void newQDataTable(QSqlCursor cursor);
+ public native void addColumn(String fieldName, String label, int width, QIconSet iconset);
+ public native void addColumn(String fieldName, String label, int width);
+ public native void addColumn(String fieldName, String label);
+ public native void addColumn(String fieldName);
+ public native void removeColumn(int col);
+ public native void setColumn(int col, String fieldName, String label, int width, QIconSet iconset);
+ public native void setColumn(int col, String fieldName, String label, int width);
+ public native void setColumn(int col, String fieldName, String label);
+ public native void setColumn(int col, String fieldName);
+ public native String nullText();
+ public native String trueText();
+ public native String falseText();
+ public native int dateFormat();
+ public native boolean confirmEdits();
+ public native boolean confirmInsert();
+ public native boolean confirmUpdate();
+ public native boolean confirmDelete();
+ public native boolean confirmCancels();
+ public native boolean autoDelete();
+ public native boolean autoEdit();
+ public native String filter();
+ public native ArrayList sort();
+ public native void setSqlCursor(QSqlCursor cursor, boolean autoPopulate, boolean autoDelete);
+ public native void setSqlCursor(QSqlCursor cursor, boolean autoPopulate);
+ public native void setSqlCursor(QSqlCursor cursor);
+ public native void setSqlCursor();
+ public native QSqlCursor sqlCursor();
+ public native void setNullText(String nullText);
+ public native void setTrueText(String trueText);
+ public native void setFalseText(String falseText);
+ public native void setDateFormat(int f);
+ public native void setConfirmEdits(boolean confirm);
+ public native void setConfirmInsert(boolean confirm);
+ public native void setConfirmUpdate(boolean confirm);
+ public native void setConfirmDelete(boolean confirm);
+ public native void setConfirmCancels(boolean confirm);
+ public native void setAutoDelete(boolean enable);
+ public native void setAutoEdit(boolean autoEdit);
+ public native void setFilter(String filter);
+ public native void setSort(String[] sort);
+ public native void setSort(QSqlIndex sort);
+ public native void refresh(int mode);
+ public native void sortColumn(int col, boolean ascending, boolean wholeRows);
+ public native void sortColumn(int col, boolean ascending);
+ public native void sortColumn(int col);
+ public native String text(int row, int col);
+ public native QVariant value(int row, int col);
+ public native QSqlRecord currentRecord();
+ public native void installEditorFactory(QSqlEditorFactory f);
+ public native void installPropertyMap(QSqlPropertyMap m);
+ public native int numCols();
+ public native int numRows();
+ public native void setNumCols(int c);
+ public native void setNumRows(int r);
+ public native boolean findBuffer(QSqlIndex idx, int atHint);
+ public native boolean findBuffer(QSqlIndex idx);
+ public native void hideColumn(int col);
+ public native void showColumn(int col);
+ public native void find(String str, boolean caseSensitive, boolean backwards);
+ public native void sortAscending(int col);
+ public native void sortDescending(int col);
+ public native void refresh();
+ public native void setColumnWidth(int col, int w);
+ public native void adjustColumn(int col);
+ public native void setColumnStretchable(int col, boolean stretch);
+ public native void swapColumns(int col1, int col2, boolean swapHeaders);
+ public native void swapColumns(int col1, int col2);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native boolean insertCurrent();
+ protected native boolean updateCurrent();
+ protected native boolean deleteCurrent();
+ protected native int confirmEdit(int m);
+ protected native int confirmCancel(int m);
+ protected native void handleError(QSqlError e);
+ protected native boolean beginInsert();
+ protected native QWidget beginUpdate(int row, int col, boolean replace);
+ public native boolean eventFilter(QObject o, QEvent e);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void contentsMousePressEvent(QMouseEvent e);
+ protected native void contentsContextMenuEvent(QContextMenuEvent e);
+ protected native void endEdit(int row, int col, boolean accept, boolean replace);
+ protected native QWidget createEditor(int row, int col, boolean initFromCell);
+ protected native void activateNextCell();
+ protected native int indexOf(int i);
+ protected native void reset();
+ protected native void setSize(QSqlCursor sql);
+ protected native void repaintCell(int row, int col);
+ public native void paintCell(QPainter p, int row, int col, QRect cr, boolean selected, QColorGroup cg);
+ protected native void paintField(QPainter p, QSqlField field, QRect cr, boolean selected);
+ protected native void drawContents(QPainter p, int cx, int cy, int cw, int ch);
+ protected native int fieldAlignment(QSqlField field);
+ protected native void columnClicked(int col);
+ protected native void resizeData(int len);
+ public native QTableItem item(int row, int col);
+ public native void setItem(int row, int col, QTableItem item);
+ public native void clearCell(int row, int col);
+ public native void setPixmap(int row, int col, QPixmap pix);
+ public native void takeItem(QTableItem 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/qtjava/javalib/org/kde/qt/QDataTableSignals.java b/qtjava/javalib/org/kde/qt/QDataTableSignals.java
new file mode 100644
index 00000000..11c32209
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDataTableSignals.java
@@ -0,0 +1,15 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.util.ArrayList;
+
+public interface QDataTableSignals {
+ void currentChanged(QSqlRecord record);
+ void primeInsert(QSqlRecord buf);
+ void primeUpdate(QSqlRecord buf);
+ void primeDelete(QSqlRecord buf);
+ void beforeInsert(QSqlRecord buf);
+ void beforeUpdate(QSqlRecord buf);
+ void beforeDelete(QSqlRecord buf);
+ void cursorChanged(int mode);
+}
diff --git a/qtjava/javalib/org/kde/qt/QDataView.java b/qtjava/javalib/org/kde/qt/QDataView.java
new file mode 100644
index 00000000..dfbf75eb
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDataView.java
@@ -0,0 +1,46 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDataView extends QWidget {
+ protected QDataView(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QDataView(QWidget parent, String name, int fl) {
+ super((Class) null);
+ newQDataView(parent,name,fl);
+ }
+ private native void newQDataView(QWidget parent, String name, int fl);
+ public QDataView(QWidget parent, String name) {
+ super((Class) null);
+ newQDataView(parent,name);
+ }
+ private native void newQDataView(QWidget parent, String name);
+ public QDataView(QWidget parent) {
+ super((Class) null);
+ newQDataView(parent);
+ }
+ private native void newQDataView(QWidget parent);
+ public QDataView() {
+ super((Class) null);
+ newQDataView();
+ }
+ private native void newQDataView();
+ public native void setForm(QSqlForm form);
+ public native QSqlForm form();
+ public native void setRecord(QSqlRecord record);
+ public native QSqlRecord record();
+ public native void refresh(QSqlRecord buf);
+ public native void readFields();
+ public native void writeFields();
+ public native void clearValues();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QDateEdit.java b/qtjava/javalib/org/kde/qt/QDateEdit.java
new file mode 100644
index 00000000..d735c6a3
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDateEdit.java
@@ -0,0 +1,88 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.Calendar;
+
+/**
+ See {@link QDateEditSignals} for signals emitted by QDateEdit
+*/
+public class QDateEdit extends QDateTimeEditBase {
+ protected QDateEdit(Class dummy){super((Class) null);}
+ public static final int DMY = 0;
+ public static final int MDY = 1;
+ public static final int YMD = 2;
+ public static final int YDM = 3;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QDateEdit(QWidget parent, String name) {
+ super((Class) null);
+ newQDateEdit(parent,name);
+ }
+ private native void newQDateEdit(QWidget parent, String name);
+ public QDateEdit(QWidget parent) {
+ super((Class) null);
+ newQDateEdit(parent);
+ }
+ private native void newQDateEdit(QWidget parent);
+ public QDateEdit() {
+ super((Class) null);
+ newQDateEdit();
+ }
+ private native void newQDateEdit();
+ public QDateEdit(Calendar date, QWidget parent, String name) {
+ super((Class) null);
+ newQDateEdit(date,parent,name);
+ }
+ private native void newQDateEdit(Calendar date, QWidget parent, String name);
+ public QDateEdit(Calendar date, QWidget parent) {
+ super((Class) null);
+ newQDateEdit(date,parent);
+ }
+ private native void newQDateEdit(Calendar date, QWidget parent);
+ public QDateEdit(Calendar date) {
+ super((Class) null);
+ newQDateEdit(date);
+ }
+ private native void newQDateEdit(Calendar date);
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native Calendar date();
+ public native void setOrder(int order);
+ public native int order();
+ public native void setAutoAdvance(boolean advance);
+ public native boolean autoAdvance();
+ public native void setMinValue(Calendar d);
+ public native Calendar minValue();
+ public native void setMaxValue(Calendar d);
+ public native Calendar maxValue();
+ public native void setRange(Calendar min, Calendar max);
+ public native String separator();
+ public native void setSeparator(String s);
+ public native void removeFirstNumber(int sec);
+ public native void setDate(Calendar date);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public native boolean event(QEvent e);
+ protected native void timerEvent(QTimerEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ public native void stepUp();
+ public native void stepDown();
+ public native String sectionFormattedText(int sec);
+ public native void addNumber(int sec, int num);
+ public native void removeLastNumber(int sec);
+ public native boolean setFocusSection(int s);
+ protected native void setYear(int year);
+ protected native void setMonth(int month);
+ protected native void setDay(int day);
+ protected native void fix();
+ protected native boolean outOfRange(int y, int m, int d);
+ protected native void updateButtons();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDateEditSignals.java b/qtjava/javalib/org/kde/qt/QDateEditSignals.java
new file mode 100644
index 00000000..fb5a5ce0
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDateEditSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.util.Calendar;
+
+public interface QDateEditSignals {
+ void valueChanged(Calendar date);
+}
diff --git a/qtjava/javalib/org/kde/qt/QDateTimeEdit.java b/qtjava/javalib/org/kde/qt/QDateTimeEdit.java
new file mode 100644
index 00000000..782c4bd5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDateTimeEdit.java
@@ -0,0 +1,65 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.Calendar;
+import java.util.Date;
+
+/**
+ See {@link QDateTimeEditSignals} for signals emitted by QDateTimeEdit
+*/
+public class QDateTimeEdit extends QWidget {
+ protected QDateTimeEdit(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QDateTimeEdit(QWidget parent, String name) {
+ super((Class) null);
+ newQDateTimeEdit(parent,name);
+ }
+ private native void newQDateTimeEdit(QWidget parent, String name);
+ public QDateTimeEdit(QWidget parent) {
+ super((Class) null);
+ newQDateTimeEdit(parent);
+ }
+ private native void newQDateTimeEdit(QWidget parent);
+ public QDateTimeEdit() {
+ super((Class) null);
+ newQDateTimeEdit();
+ }
+ private native void newQDateTimeEdit();
+ public QDateTimeEdit(Calendar datetime, QWidget parent, String name) {
+ super((Class) null);
+ newQDateTimeEdit(datetime,parent,name);
+ }
+ private native void newQDateTimeEdit(Calendar datetime, QWidget parent, String name);
+ public QDateTimeEdit(Calendar datetime, QWidget parent) {
+ super((Class) null);
+ newQDateTimeEdit(datetime,parent);
+ }
+ private native void newQDateTimeEdit(Calendar datetime, QWidget parent);
+ public QDateTimeEdit(Calendar datetime) {
+ super((Class) null);
+ newQDateTimeEdit(datetime);
+ }
+ private native void newQDateTimeEdit(Calendar datetime);
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native Calendar dateTime();
+ public native QDateEdit dateEdit();
+ public native QTimeEdit timeEdit();
+ public native void setAutoAdvance(boolean advance);
+ public native boolean autoAdvance();
+ public native void setDateTime(Calendar dt);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void init();
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void newValue(Calendar d);
+ protected native void newValue(Date t);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDateTimeEditBase.java b/qtjava/javalib/org/kde/qt/QDateTimeEditBase.java
new file mode 100644
index 00000000..322ad016
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDateTimeEditBase.java
@@ -0,0 +1,18 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDateTimeEditBase extends QWidget {
+ protected QDateTimeEditBase(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public native boolean setFocusSection(int sec);
+ public native String sectionFormattedText(int sec);
+ public native void addNumber(int sec, int num);
+ public native void removeLastNumber(int sec);
+ public native void stepUp();
+ public native void stepDown();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QDateTimeEditSignals.java b/qtjava/javalib/org/kde/qt/QDateTimeEditSignals.java
new file mode 100644
index 00000000..f5cae3c6
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDateTimeEditSignals.java
@@ -0,0 +1,9 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.util.Calendar;
+import java.util.Date;
+
+public interface QDateTimeEditSignals {
+ void valueChanged(Calendar datetime);
+}
diff --git a/qtjava/javalib/org/kde/qt/QDesktopWidget.java b/qtjava/javalib/org/kde/qt/QDesktopWidget.java
new file mode 100644
index 00000000..e147bbdd
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDesktopWidget.java
@@ -0,0 +1,44 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QDesktopWidgetSignals} for signals emitted by QDesktopWidget
+*/
+public class QDesktopWidget extends QWidget {
+ protected QDesktopWidget(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QDesktopWidget() {
+ super((Class) null);
+ newQDesktopWidget();
+ }
+ private native void newQDesktopWidget();
+ public native boolean isVirtualDesktop();
+ public native int numScreens();
+ public native int primaryScreen();
+ public native int screenNumber(QWidget widget);
+ public native int screenNumber();
+ public native int screenNumber(QPoint arg1);
+ public native QWidget screen(int screen);
+ public native QWidget screen();
+ public native QRect screenGeometry(int screen);
+ public native QRect screenGeometry();
+ public native QRect screenGeometry(QWidget widget);
+ public native QRect screenGeometry(QPoint point);
+ public native QRect availableGeometry(int screen);
+ public native QRect availableGeometry();
+ public native QRect availableGeometry(QWidget widget);
+ public native QRect availableGeometry(QPoint point);
+ public native void insertChild(QObject arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void resizeEvent(QResizeEvent 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/qtjava/javalib/org/kde/qt/QDesktopWidgetSignals.java b/qtjava/javalib/org/kde/qt/QDesktopWidgetSignals.java
new file mode 100644
index 00000000..d0ea7c03
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDesktopWidgetSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QDesktopWidgetSignals {
+ void resized(int arg1);
+ void workAreaResized(int arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QDial.java b/qtjava/javalib/org/kde/qt/QDial.java
new file mode 100644
index 00000000..95dfa127
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDial.java
@@ -0,0 +1,102 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QDialSignals} for signals emitted by QDial
+*/
+public class QDial extends QWidget implements QRangeControlInterface {
+ protected QDial(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QDial(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQDial(parent,name,f);
+ }
+ private native void newQDial(QWidget parent, String name, int f);
+ public QDial(QWidget parent, String name) {
+ super((Class) null);
+ newQDial(parent,name);
+ }
+ private native void newQDial(QWidget parent, String name);
+ public QDial(QWidget parent) {
+ super((Class) null);
+ newQDial(parent);
+ }
+ private native void newQDial(QWidget parent);
+ public QDial() {
+ super((Class) null);
+ newQDial();
+ }
+ private native void newQDial();
+ public QDial(int minValue, int maxValue, int pageStep, int value, QWidget parent, String name) {
+ super((Class) null);
+ newQDial(minValue,maxValue,pageStep,value,parent,name);
+ }
+ private native void newQDial(int minValue, int maxValue, int pageStep, int value, QWidget parent, String name);
+ public QDial(int minValue, int maxValue, int pageStep, int value, QWidget parent) {
+ super((Class) null);
+ newQDial(minValue,maxValue,pageStep,value,parent);
+ }
+ private native void newQDial(int minValue, int maxValue, int pageStep, int value, QWidget parent);
+ public QDial(int minValue, int maxValue, int pageStep, int value) {
+ super((Class) null);
+ newQDial(minValue,maxValue,pageStep,value);
+ }
+ private native void newQDial(int minValue, int maxValue, int pageStep, int value);
+ public native boolean tracking();
+ public native boolean wrapping();
+ public native int notchSize();
+ public native void setNotchTarget(double arg1);
+ public native double notchTarget();
+ public native boolean notchesVisible();
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native int minValue();
+ public native int maxValue();
+ public native void setMinValue(int arg1);
+ public native void setMaxValue(int arg1);
+ public native int lineStep();
+ public native int pageStep();
+ public native void setLineStep(int arg1);
+ public native void setPageStep(int arg1);
+ public native int value();
+ public native void setValue(int arg1);
+ public native void addLine();
+ public native void subtractLine();
+ public native void addPage();
+ public native void subtractPage();
+ public native void setNotchesVisible(boolean b);
+ public native void setWrapping(boolean on);
+ public native void setTracking(boolean enable);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ protected native void wheelEvent(QWheelEvent arg1);
+ protected native void focusInEvent(QFocusEvent arg1);
+ protected native void focusOutEvent(QFocusEvent arg1);
+ protected native void valueChange();
+ protected native void rangeChange();
+ protected native void repaintScreen(QRect cr);
+ protected native void repaintScreen();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws 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 setRange(int minValue, int maxValue);
+ 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 stepChange();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDialSignals.java b/qtjava/javalib/org/kde/qt/QDialSignals.java
new file mode 100644
index 00000000..52d22d22
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDialSignals.java
@@ -0,0 +1,10 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QDialSignals {
+ void valueChanged(int value);
+ void dialPressed();
+ void dialMoved(int value);
+ void dialReleased();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDialog.java b/qtjava/javalib/org/kde/qt/QDialog.java
new file mode 100644
index 00000000..5ab01ad1
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDialog.java
@@ -0,0 +1,77 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDialog extends QWidget {
+ protected QDialog(Class dummy){super((Class) null);}
+ public static final int Rejected = 0;
+ public static final int Accepted = 1;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QDialog(QWidget parent, String name, boolean modal, int f) {
+ super((Class) null);
+ newQDialog(parent,name,modal,f);
+ }
+ private native void newQDialog(QWidget parent, String name, boolean modal, int f);
+ public QDialog(QWidget parent, String name, boolean modal) {
+ super((Class) null);
+ newQDialog(parent,name,modal);
+ }
+ private native void newQDialog(QWidget parent, String name, boolean modal);
+ public QDialog(QWidget parent, String name) {
+ super((Class) null);
+ newQDialog(parent,name);
+ }
+ private native void newQDialog(QWidget parent, String name);
+ public QDialog(QWidget parent) {
+ super((Class) null);
+ newQDialog(parent);
+ }
+ private native void newQDialog(QWidget parent);
+ public QDialog() {
+ super((Class) null);
+ newQDialog();
+ }
+ private native void newQDialog();
+ public native int result();
+ public native void show();
+ public native void hide();
+ public native void move(int x, int y);
+ public native void move(QPoint p);
+ public native void resize(int w, int h);
+ public native void resize(QSize arg1);
+ public native void setGeometry(int x, int y, int w, int h);
+ public native void setGeometry(QRect arg1);
+ public native void setOrientation(int orientation);
+ public native int orientation();
+ public native void setExtension(QWidget extension);
+ public native QWidget extension();
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native void setSizeGripEnabled(boolean arg1);
+ public native boolean isSizeGripEnabled();
+ public native void setModal(boolean modal);
+ public native boolean isModal();
+ public native int exec();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void setResult(int r);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ protected native void closeEvent(QCloseEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void contextMenuEvent(QContextMenuEvent arg1);
+ public native boolean eventFilter(QObject arg1, QEvent arg2);
+ protected native void adjustPosition(QWidget arg1);
+ protected native void done(int arg1);
+ protected native void accept();
+ protected native void reject();
+ protected native void showExtension(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/qtjava/javalib/org/kde/qt/QDir.java b/qtjava/javalib/org/kde/qt/QDir.java
new file mode 100644
index 00000000..b2c4ae85
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDir.java
@@ -0,0 +1,141 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QDir implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QDir(Class dummy){}
+
+ public static final int Dirs = 0x001;
+ public static final int Files = 0x002;
+ public static final int Drives = 0x004;
+ public static final int NoSymLinks = 0x008;
+ public static final int All = 0x007;
+ public static final int TypeMask = 0x00F;
+ public static final int Readable = 0x010;
+ public static final int Writable = 0x020;
+ public static final int Executable = 0x040;
+ public static final int RWEMask = 0x070;
+ public static final int Modified = 0x080;
+ public static final int Hidden = 0x100;
+ public static final int System = 0x200;
+ public static final int AccessMask = 0x3F0;
+ public static final int DefaultFilter = -1;
+
+ public static final int Name = 0x00;
+ public static final int Time = 0x01;
+ public static final int Size = 0x02;
+ public static final int Unsorted = 0x03;
+ public static final int SortByMask = 0x03;
+ public static final int DirsFirst = 0x04;
+ public static final int Reversed = 0x08;
+ public static final int IgnoreCase = 0x10;
+ public static final int LocaleAware = 0x20;
+ public static final int DefaultSort = -1;
+
+ public QDir() {
+ newQDir();
+ }
+ private native void newQDir();
+ public QDir(String path, String nameFilter, int sortSpec, int filterSpec) {
+ newQDir(path,nameFilter,sortSpec,filterSpec);
+ }
+ private native void newQDir(String path, String nameFilter, int sortSpec, int filterSpec);
+ public QDir(String path, String nameFilter, int sortSpec) {
+ newQDir(path,nameFilter,sortSpec);
+ }
+ private native void newQDir(String path, String nameFilter, int sortSpec);
+ public QDir(String path, String nameFilter) {
+ newQDir(path,nameFilter);
+ }
+ private native void newQDir(String path, String nameFilter);
+ public QDir(String path) {
+ newQDir(path);
+ }
+ private native void newQDir(String path);
+ public QDir(QDir arg1) {
+ newQDir(arg1);
+ }
+ private native void newQDir(QDir arg1);
+ public native void setPath(String path);
+ public native String path();
+ public native String absPath();
+ public native String canonicalPath();
+ public native String dirName();
+ public native String filePath(String fileName, boolean acceptAbsPath);
+ public native String filePath(String fileName);
+ public native String absFilePath(String fileName, boolean acceptAbsPath);
+ public native String absFilePath(String fileName);
+ public native boolean cd(String dirName, boolean acceptAbsPath);
+ public native boolean cd(String dirName);
+ public native boolean cdUp();
+ public native String nameFilter();
+ public native void setNameFilter(String nameFilter);
+ public native int filter();
+ public native void setFilter(int filterSpec);
+ public native int sorting();
+ public native void setSorting(int sortSpec);
+ public native boolean matchAllDirs();
+ public native void setMatchAllDirs(boolean arg1);
+ public native int count();
+ public native String op_at(int arg1);
+ public native ArrayList encodedEntryList(int filterSpec, int sortSpec);
+ public native ArrayList encodedEntryList(int filterSpec);
+ public native ArrayList encodedEntryList();
+ public native ArrayList encodedEntryList(String nameFilter, int filterSpec, int sortSpec);
+ public native ArrayList encodedEntryList(String nameFilter, int filterSpec);
+ public native ArrayList encodedEntryList(String nameFilter);
+ public native ArrayList entryList(int filterSpec, int sortSpec);
+ public native ArrayList entryList(int filterSpec);
+ public native ArrayList entryList();
+ public native ArrayList entryList(String nameFilter, int filterSpec, int sortSpec);
+ public native ArrayList entryList(String nameFilter, int filterSpec);
+ public native ArrayList entryList(String nameFilter);
+ // const QFileInfoList* entryInfoList(int arg1,int arg2); >>>> NOT CONVERTED
+ // const QFileInfoList* entryInfoList(int arg1); >>>> NOT CONVERTED
+ // const QFileInfoList* entryInfoList(); >>>> NOT CONVERTED
+ // const QFileInfoList* entryInfoList(const QString& arg1,int arg2,int arg3); >>>> NOT CONVERTED
+ // const QFileInfoList* entryInfoList(const QString& arg1,int arg2); >>>> NOT CONVERTED
+ // const QFileInfoList* entryInfoList(const QString& arg1); >>>> NOT CONVERTED
+ public native boolean mkdir(String dirName, boolean acceptAbsPath);
+ public native boolean mkdir(String dirName);
+ public native boolean rmdir(String dirName, boolean acceptAbsPath);
+ public native boolean rmdir(String dirName);
+ public native boolean isReadable();
+ public native boolean exists();
+ public native boolean isRoot();
+ public native boolean isRelative();
+ public native void convertToAbs();
+ public native boolean op_equals(QDir arg1);
+ public native boolean op_not_equals(QDir arg1);
+ public native boolean remove(String fileName, boolean acceptAbsPath);
+ public native boolean remove(String fileName);
+ public native boolean rename(String name, String newName, boolean acceptAbsPaths);
+ public native boolean rename(String name, String newName);
+ public native boolean exists(String name, boolean acceptAbsPath);
+ public native boolean exists(String name);
+ public native void refresh();
+ public static native String convertSeparators(String pathName);
+ // const QFileInfoList* drives(); >>>> NOT CONVERTED
+ public static native char separator();
+ public static native boolean setCurrent(String path);
+ public static native QDir current();
+ public static native QDir home();
+ public static native QDir root();
+ public static native String currentDirPath();
+ public static native String homeDirPath();
+ public static native String rootDirPath();
+ public static native boolean match(String[] filters, String fileName);
+ public static native boolean match(String filter, String fileName);
+ public static native String cleanDirPath(String dirPath);
+ public static native boolean isRelativePath(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/qtjava/javalib/org/kde/qt/QDockArea.java b/qtjava/javalib/org/kde/qt/QDockArea.java
new file mode 100644
index 00000000..8c0d9ec0
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDockArea.java
@@ -0,0 +1,58 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDockArea extends QWidget {
+ protected QDockArea(Class dummy){super((Class) null);}
+ public static final int Normal = 0;
+ public static final int Reverse = 1;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QDockArea(int o, int h, QWidget parent, String name) {
+ super((Class) null);
+ newQDockArea(o,h,parent,name);
+ }
+ private native void newQDockArea(int o, int h, QWidget parent, String name);
+ public QDockArea(int o, int h, QWidget parent) {
+ super((Class) null);
+ newQDockArea(o,h,parent);
+ }
+ private native void newQDockArea(int o, int h, QWidget parent);
+ public QDockArea(int o, int h) {
+ super((Class) null);
+ newQDockArea(o,h);
+ }
+ private native void newQDockArea(int o, int h);
+ public QDockArea(int o) {
+ super((Class) null);
+ newQDockArea(o);
+ }
+ private native void newQDockArea(int o);
+ public native void moveDockWindow(QDockWindow w, QPoint globalPos, QRect rect, boolean swap);
+ public native void removeDockWindow(QDockWindow w, boolean makeFloating, boolean swap, boolean fixNewLines);
+ public native void removeDockWindow(QDockWindow w, boolean makeFloating, boolean swap);
+ public native void moveDockWindow(QDockWindow w, int index);
+ public native void moveDockWindow(QDockWindow w);
+ public native boolean hasDockWindow(QDockWindow w, int[] index);
+ public native boolean hasDockWindow(QDockWindow w);
+ public native void invalidNextOffset(QDockWindow dw);
+ public native int orientation();
+ public native int handlePosition();
+ public native boolean eventFilter(QObject arg1, QEvent arg2);
+ public native boolean isEmpty();
+ public native int count();
+ // QPtrList<QDockWindow> dockWindowList(); >>>> NOT CONVERTED
+ public native boolean isDockWindowAccepted(QDockWindow dw);
+ public native void setAcceptDockWindow(QDockWindow dw, boolean accept);
+ public native void lineUp(boolean keepNewLines);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QDockWindow.java b/qtjava/javalib/org/kde/qt/QDockWindow.java
new file mode 100644
index 00000000..14ce1ce1
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDockWindow.java
@@ -0,0 +1,116 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QDockWindowSignals} for signals emitted by QDockWindow
+*/
+public class QDockWindow extends QFrame {
+ protected QDockWindow(Class dummy){super((Class) null);}
+ public static final int InDock = 0;
+ public static final int OutsideDock = 1;
+
+ public static final int Never = 0;
+ public static final int Docked = 1;
+ public static final int Undocked = 2;
+ public static final int Always = Docked|Undocked;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QDockWindow(int p, QWidget parent, String name, int f) {
+ super((Class) null);
+ newQDockWindow(p,parent,name,f);
+ }
+ private native void newQDockWindow(int p, QWidget parent, String name, int f);
+ public QDockWindow(int p, QWidget parent, String name) {
+ super((Class) null);
+ newQDockWindow(p,parent,name);
+ }
+ private native void newQDockWindow(int p, QWidget parent, String name);
+ public QDockWindow(int p, QWidget parent) {
+ super((Class) null);
+ newQDockWindow(p,parent);
+ }
+ private native void newQDockWindow(int p, QWidget parent);
+ public QDockWindow(int p) {
+ super((Class) null);
+ newQDockWindow(p);
+ }
+ private native void newQDockWindow(int p);
+ public QDockWindow() {
+ super((Class) null);
+ newQDockWindow();
+ }
+ private native void newQDockWindow();
+ public QDockWindow(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQDockWindow(parent,name,f);
+ }
+ private native void newQDockWindow(QWidget parent, String name, int f);
+ public QDockWindow(QWidget parent, String name) {
+ super((Class) null);
+ newQDockWindow(parent,name);
+ }
+ private native void newQDockWindow(QWidget parent, String name);
+ public QDockWindow(QWidget parent) {
+ super((Class) null);
+ newQDockWindow(parent);
+ }
+ private native void newQDockWindow(QWidget parent);
+ public native void setWidget(QWidget w);
+ public native QWidget widget();
+ public native int place();
+ public native QDockArea area();
+ public native void setCloseMode(int m);
+ public native boolean isCloseEnabled();
+ public native int closeMode();
+ public native void setResizeEnabled(boolean b);
+ public native void setMovingEnabled(boolean b);
+ public native boolean isResizeEnabled();
+ public native boolean isMovingEnabled();
+ public native void setHorizontallyStretchable(boolean b);
+ public native void setVerticallyStretchable(boolean b);
+ public native boolean isHorizontallyStretchable();
+ public native boolean isVerticallyStretchable();
+ public native void setHorizontalStretchable(boolean b);
+ public native void setVerticalStretchable(boolean b);
+ public native boolean isHorizontalStretchable();
+ public native boolean isVerticalStretchable();
+ public native boolean isStretchable();
+ public native void setOffset(int o);
+ public native int offset();
+ public native void setFixedExtentWidth(int w);
+ public native void setFixedExtentHeight(int h);
+ public native QSize fixedExtent();
+ public native void setNewLine(boolean b);
+ public native boolean newLine();
+ public native int orientation();
+ public native QSize sizeHint();
+ public native QSize minimumSize();
+ public native QSize minimumSizeHint();
+ public native QBoxLayout boxLayout();
+ public native void setOpaqueMoving(boolean b);
+ public native boolean opaqueMoving();
+ public native boolean eventFilter(QObject o, QEvent e);
+ public native void undock(QWidget w);
+ public native void undock();
+ public native void dock();
+ public native void setOrientation(int o);
+ public native void setCaption(String s);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void resizeEvent(QResizeEvent e);
+ public native void showEvent(QShowEvent e);
+ protected native void hideEvent(QHideEvent e);
+ protected native void contextMenuEvent(QContextMenuEvent e);
+ protected native void drawFrame(QPainter arg1);
+ protected native void drawContents(QPainter arg1);
+ public native boolean event(QEvent 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/qtjava/javalib/org/kde/qt/QDockWindowSignals.java b/qtjava/javalib/org/kde/qt/QDockWindowSignals.java
new file mode 100644
index 00000000..70bc3800
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDockWindowSignals.java
@@ -0,0 +1,9 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QDockWindowSignals {
+ void orientationChanged(int o);
+ void placeChanged(int p);
+ void visibilityChanged(boolean arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QDomAttr.java b/qtjava/javalib/org/kde/qt/QDomAttr.java
new file mode 100644
index 00000000..e29ba5f8
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomAttr.java
@@ -0,0 +1,31 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDomAttr extends QDomNode {
+ protected QDomAttr(Class dummy){super((Class) null);}
+ public QDomAttr() {
+ super((Class) null);
+ newQDomAttr();
+ }
+ private native void newQDomAttr();
+ public QDomAttr(QDomAttr x) {
+ super((Class) null);
+ newQDomAttr(x);
+ }
+ private native void newQDomAttr(QDomAttr x);
+ public native String name();
+ public native boolean specified();
+ public native QDomElement ownerElement();
+ public native String value();
+ public native void setValue(String arg1);
+ public native int nodeType();
+ public native boolean isAttr();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDomCDATASection.java b/qtjava/javalib/org/kde/qt/QDomCDATASection.java
new file mode 100644
index 00000000..6e8ebf93
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomCDATASection.java
@@ -0,0 +1,26 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDomCDATASection extends QDomText {
+ protected QDomCDATASection(Class dummy){super((Class) null);}
+ public QDomCDATASection() {
+ super((Class) null);
+ newQDomCDATASection();
+ }
+ private native void newQDomCDATASection();
+ public QDomCDATASection(QDomCDATASection x) {
+ super((Class) null);
+ newQDomCDATASection(x);
+ }
+ private native void newQDomCDATASection(QDomCDATASection x);
+ public native int nodeType();
+ public native boolean isCDATASection();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDomCharacterData.java b/qtjava/javalib/org/kde/qt/QDomCharacterData.java
new file mode 100644
index 00000000..3cfd1457
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomCharacterData.java
@@ -0,0 +1,34 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDomCharacterData extends QDomNode {
+ protected QDomCharacterData(Class dummy){super((Class) null);}
+ public QDomCharacterData() {
+ super((Class) null);
+ newQDomCharacterData();
+ }
+ private native void newQDomCharacterData();
+ public QDomCharacterData(QDomCharacterData x) {
+ super((Class) null);
+ newQDomCharacterData(x);
+ }
+ private native void newQDomCharacterData(QDomCharacterData x);
+ public native String substringData(long offset, long count);
+ public native void appendData(String arg);
+ public native void insertData(long offset, String arg);
+ public native void deleteData(long offset, long count);
+ public native void replaceData(long offset, long count, String arg);
+ public native int length();
+ public native String data();
+ public native void setData(String arg1);
+ public native int nodeType();
+ public native boolean isCharacterData();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDomComment.java b/qtjava/javalib/org/kde/qt/QDomComment.java
new file mode 100644
index 00000000..6304f4fa
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomComment.java
@@ -0,0 +1,26 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDomComment extends QDomCharacterData {
+ protected QDomComment(Class dummy){super((Class) null);}
+ public QDomComment() {
+ super((Class) null);
+ newQDomComment();
+ }
+ private native void newQDomComment();
+ public QDomComment(QDomComment x) {
+ super((Class) null);
+ newQDomComment(x);
+ }
+ private native void newQDomComment(QDomComment x);
+ public native int nodeType();
+ public native boolean isComment();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDomDocument.java b/qtjava/javalib/org/kde/qt/QDomDocument.java
new file mode 100644
index 00000000..944e2cd1
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomDocument.java
@@ -0,0 +1,86 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QDomDocument extends QDomNode {
+ protected QDomDocument(Class dummy){super((Class) null);}
+ public QDomDocument() {
+ super((Class) null);
+ newQDomDocument();
+ }
+ private native void newQDomDocument();
+ public QDomDocument(String name) {
+ super((Class) null);
+ newQDomDocument(name);
+ }
+ private native void newQDomDocument(String name);
+ public QDomDocument(QDomDocumentType doctype) {
+ super((Class) null);
+ newQDomDocument(doctype);
+ }
+ private native void newQDomDocument(QDomDocumentType doctype);
+ public QDomDocument(QDomDocument x) {
+ super((Class) null);
+ newQDomDocument(x);
+ }
+ private native void newQDomDocument(QDomDocument x);
+ public native QDomElement createElement(String tagName);
+ public native QDomDocumentFragment createDocumentFragment();
+ public native QDomText createTextNode(String data);
+ public native QDomComment createComment(String data);
+ public native QDomCDATASection createCDATASection(String data);
+ public native QDomProcessingInstruction createProcessingInstruction(String target, String data);
+ public native QDomAttr createAttribute(String name);
+ public native QDomEntityReference createEntityReference(String name);
+ public native ArrayList elementsByTagName(String tagname);
+ public native QDomNode importNode(QDomNode importedNode, boolean deep);
+ public native QDomElement createElementNS(String nsURI, String qName);
+ public native QDomAttr createAttributeNS(String nsURI, String qName);
+ public native ArrayList elementsByTagNameNS(String nsURI, String localName);
+ public native QDomElement elementById(String elementId);
+ public native QDomDocumentType doctype();
+ public native QDomImplementation implementation();
+ public native QDomElement documentElement();
+ public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
+ public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine);
+ public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg);
+ public native boolean setContent(String text, boolean namespaceProcessing);
+ public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
+ public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine);
+ public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg);
+ public native boolean setContent(byte[] text, boolean namespaceProcessing);
+ public native boolean setContent(QIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
+ public native boolean setContent(QIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine);
+ public native boolean setContent(QIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg);
+ public native boolean setContent(QIODeviceInterface dev, boolean namespaceProcessing);
+ public native boolean setContent(String text, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
+ public native boolean setContent(String text, StringBuffer errorMsg, int[] errorLine);
+ public native boolean setContent(String text, StringBuffer errorMsg);
+ public native boolean setContent(String text);
+ public native boolean setContent(byte[] text, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
+ public native boolean setContent(byte[] text, StringBuffer errorMsg, int[] errorLine);
+ public native boolean setContent(byte[] text, StringBuffer errorMsg);
+ public native boolean setContent(byte[] text);
+ public native boolean setContent(QIODeviceInterface dev, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
+ public native boolean setContent(QIODeviceInterface dev, StringBuffer errorMsg, int[] errorLine);
+ public native boolean setContent(QIODeviceInterface dev, StringBuffer errorMsg);
+ public native boolean setContent(QIODeviceInterface dev);
+ public native boolean setContent(QXmlInputSource source, QXmlReader reader, StringBuffer errorMsg, int[] errorLine, int[] errorColumn);
+ public native boolean setContent(QXmlInputSource source, QXmlReader reader, StringBuffer errorMsg, int[] errorLine);
+ public native boolean setContent(QXmlInputSource source, QXmlReader reader, StringBuffer errorMsg);
+ public native boolean setContent(QXmlInputSource source, QXmlReader reader);
+ public native int nodeType();
+ public native boolean isDocument();
+ public native String toString();
+ public native String toString(int arg1);
+ public native String toCString();
+ public native String toCString(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/qtjava/javalib/org/kde/qt/QDomDocumentFragment.java b/qtjava/javalib/org/kde/qt/QDomDocumentFragment.java
new file mode 100644
index 00000000..064f6cc3
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomDocumentFragment.java
@@ -0,0 +1,26 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDomDocumentFragment extends QDomNode {
+ protected QDomDocumentFragment(Class dummy){super((Class) null);}
+ public QDomDocumentFragment() {
+ super((Class) null);
+ newQDomDocumentFragment();
+ }
+ private native void newQDomDocumentFragment();
+ public QDomDocumentFragment(QDomDocumentFragment x) {
+ super((Class) null);
+ newQDomDocumentFragment(x);
+ }
+ private native void newQDomDocumentFragment(QDomDocumentFragment x);
+ public native int nodeType();
+ public native boolean isDocumentFragment();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDomDocumentType.java b/qtjava/javalib/org/kde/qt/QDomDocumentType.java
new file mode 100644
index 00000000..be6d3fdf
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomDocumentType.java
@@ -0,0 +1,32 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDomDocumentType extends QDomNode {
+ protected QDomDocumentType(Class dummy){super((Class) null);}
+ public QDomDocumentType() {
+ super((Class) null);
+ newQDomDocumentType();
+ }
+ private native void newQDomDocumentType();
+ public QDomDocumentType(QDomDocumentType x) {
+ super((Class) null);
+ newQDomDocumentType(x);
+ }
+ private native void newQDomDocumentType(QDomDocumentType x);
+ public native String name();
+ public native QDomNamedNodeMap entities();
+ public native QDomNamedNodeMap notations();
+ public native String publicId();
+ public native String systemId();
+ public native String internalSubset();
+ public native int nodeType();
+ public native boolean isDocumentType();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDomElement.java b/qtjava/javalib/org/kde/qt/QDomElement.java
new file mode 100644
index 00000000..4e178060
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomElement.java
@@ -0,0 +1,53 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QDomElement extends QDomNode {
+ protected QDomElement(Class dummy){super((Class) null);}
+ public QDomElement() {
+ super((Class) null);
+ newQDomElement();
+ }
+ private native void newQDomElement();
+ public QDomElement(QDomElement x) {
+ super((Class) null);
+ newQDomElement(x);
+ }
+ private native void newQDomElement(QDomElement x);
+ public native String attribute(String name, String defValue);
+ public native String attribute(String name);
+ public native void setAttribute(String name, String value);
+ public native void setAttribute(String name, int value);
+ public native void setAttribute(String name, long value);
+ public native void setAttribute(String name, double value);
+ public native void removeAttribute(String name);
+ public native QDomAttr attributeNode(String name);
+ public native QDomAttr setAttributeNode(QDomAttr newAttr);
+ public native QDomAttr removeAttributeNode(QDomAttr oldAttr);
+ public native ArrayList elementsByTagName(String tagname);
+ public native boolean hasAttribute(String name);
+ public native String attributeNS(String nsURI, String localName, String defValue);
+ public native void setAttributeNS(String nsURI, String qName, String value);
+ public native void setAttributeNS(String nsURI, String qName, int value);
+ public native void setAttributeNS(String nsURI, String qName, long value);
+ public native void setAttributeNS(String nsURI, String qName, double value);
+ public native void removeAttributeNS(String nsURI, String localName);
+ public native QDomAttr attributeNodeNS(String nsURI, String localName);
+ public native QDomAttr setAttributeNodeNS(QDomAttr newAttr);
+ public native ArrayList elementsByTagNameNS(String nsURI, String localName);
+ public native boolean hasAttributeNS(String nsURI, String localName);
+ public native String tagName();
+ public native void setTagName(String name);
+ public native QDomNamedNodeMap attributes();
+ public native int nodeType();
+ public native boolean isElement();
+ public native 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/qtjava/javalib/org/kde/qt/QDomEntity.java b/qtjava/javalib/org/kde/qt/QDomEntity.java
new file mode 100644
index 00000000..d2b7bcc6
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomEntity.java
@@ -0,0 +1,29 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDomEntity extends QDomNode {
+ protected QDomEntity(Class dummy){super((Class) null);}
+ public QDomEntity() {
+ super((Class) null);
+ newQDomEntity();
+ }
+ private native void newQDomEntity();
+ public QDomEntity(QDomEntity x) {
+ super((Class) null);
+ newQDomEntity(x);
+ }
+ private native void newQDomEntity(QDomEntity x);
+ public native String publicId();
+ public native String systemId();
+ public native String notationName();
+ public native int nodeType();
+ public native boolean isEntity();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDomEntityReference.java b/qtjava/javalib/org/kde/qt/QDomEntityReference.java
new file mode 100644
index 00000000..937460ac
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomEntityReference.java
@@ -0,0 +1,26 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDomEntityReference extends QDomNode {
+ protected QDomEntityReference(Class dummy){super((Class) null);}
+ public QDomEntityReference() {
+ super((Class) null);
+ newQDomEntityReference();
+ }
+ private native void newQDomEntityReference();
+ public QDomEntityReference(QDomEntityReference x) {
+ super((Class) null);
+ newQDomEntityReference(x);
+ }
+ private native void newQDomEntityReference(QDomEntityReference x);
+ public native int nodeType();
+ public native boolean isEntityReference();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDomImplementation.java b/qtjava/javalib/org/kde/qt/QDomImplementation.java
new file mode 100644
index 00000000..70ea0651
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomImplementation.java
@@ -0,0 +1,31 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDomImplementation implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QDomImplementation(Class dummy){}
+
+ public QDomImplementation() {
+ newQDomImplementation();
+ }
+ private native void newQDomImplementation();
+ public QDomImplementation(QDomImplementation arg1) {
+ newQDomImplementation(arg1);
+ }
+ private native void newQDomImplementation(QDomImplementation arg1);
+ public native boolean op_equals(QDomImplementation arg1);
+ public native boolean op_not_equals(QDomImplementation arg1);
+ public native boolean hasFeature(String feature, String version);
+ public native QDomDocumentType createDocumentType(String qName, String publicId, String systemId);
+ public native QDomDocument createDocument(String nsURI, String qName, QDomDocumentType doctype);
+ public native boolean isNull();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDomNamedNodeMap.java b/qtjava/javalib/org/kde/qt/QDomNamedNodeMap.java
new file mode 100644
index 00000000..12eed27d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomNamedNodeMap.java
@@ -0,0 +1,37 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDomNamedNodeMap implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QDomNamedNodeMap(Class dummy){}
+
+ public QDomNamedNodeMap() {
+ newQDomNamedNodeMap();
+ }
+ private native void newQDomNamedNodeMap();
+ public QDomNamedNodeMap(QDomNamedNodeMap arg1) {
+ newQDomNamedNodeMap(arg1);
+ }
+ private native void newQDomNamedNodeMap(QDomNamedNodeMap arg1);
+ public native boolean op_equals(QDomNamedNodeMap arg1);
+ public native boolean op_not_equals(QDomNamedNodeMap arg1);
+ public native QDomNode namedItem(String name);
+ public native QDomNode setNamedItem(QDomNode newNode);
+ public native QDomNode removeNamedItem(String name);
+ public native QDomNode item(int index);
+ public native QDomNode namedItemNS(String nsURI, String localName);
+ public native QDomNode setNamedItemNS(QDomNode newNode);
+ public native QDomNode removeNamedItemNS(String nsURI, String localName);
+ public native int length();
+ public native int count();
+ public native boolean contains(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/qtjava/javalib/org/kde/qt/QDomNode.java b/qtjava/javalib/org/kde/qt/QDomNode.java
new file mode 100644
index 00000000..a48f5255
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomNode.java
@@ -0,0 +1,106 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QDomNode implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QDomNode(Class dummy){}
+
+ public static final int ElementNode = 1;
+ public static final int AttributeNode = 2;
+ public static final int TextNode = 3;
+ public static final int CDATASectionNode = 4;
+ public static final int EntityReferenceNode = 5;
+ public static final int EntityNode = 6;
+ public static final int ProcessingInstructionNode = 7;
+ public static final int CommentNode = 8;
+ public static final int DocumentNode = 9;
+ public static final int DocumentTypeNode = 10;
+ public static final int DocumentFragmentNode = 11;
+ public static final int NotationNode = 12;
+ public static final int BaseNode = 21;
+ public static final int CharacterDataNode = 22;
+
+ public QDomNode() {
+ newQDomNode();
+ }
+ private native void newQDomNode();
+ public QDomNode(QDomNode arg1) {
+ newQDomNode(arg1);
+ }
+ private native void newQDomNode(QDomNode arg1);
+ public native boolean op_equals(QDomNode arg1);
+ public native boolean op_not_equals(QDomNode arg1);
+ public native QDomNode insertBefore(QDomNode newChild, QDomNode refChild);
+ public native QDomNode insertAfter(QDomNode newChild, QDomNode refChild);
+ public native QDomNode replaceChild(QDomNode newChild, QDomNode oldChild);
+ public native QDomNode removeChild(QDomNode oldChild);
+ public native QDomNode appendChild(QDomNode newChild);
+ public native boolean hasChildNodes();
+ public native QDomNode cloneNode(boolean deep);
+ public native QDomNode cloneNode();
+ public native void normalize();
+ public native boolean isSupported(String feature, String version);
+ public native String nodeName();
+ public native int nodeType();
+ public native QDomNode parentNode();
+ public native ArrayList childNodes();
+ public native QDomNode firstChild();
+ public native QDomNode lastChild();
+ public native QDomNode previousSibling();
+ public native QDomNode nextSibling();
+ public native QDomNamedNodeMap attributes();
+ public native QDomDocument ownerDocument();
+ public native String namespaceURI();
+ public native String localName();
+ public native boolean hasAttributes();
+ public native String nodeValue();
+ public native void setNodeValue(String arg1);
+ public native String prefix();
+ public native void setPrefix(String pre);
+ public native boolean isAttr();
+ public native boolean isCDATASection();
+ public native boolean isDocumentFragment();
+ public native boolean isDocument();
+ public native boolean isDocumentType();
+ public native boolean isElement();
+ public native boolean isEntityReference();
+ public native boolean isText();
+ public native boolean isEntity();
+ public native boolean isNotation();
+ public native boolean isProcessingInstruction();
+ public native boolean isCharacterData();
+ public native boolean isComment();
+ /**
+ Shortcut to avoid dealing with QDomArrayList
+ all the time.
+ @short Shortcut to avoid dealing with QDomNodeList all the time.
+ */
+ public native QDomNode namedItem(String name);
+ public native boolean isNull();
+ public native void clear();
+ public native QDomAttr toAttr();
+ public native QDomCDATASection toCDATASection();
+ public native QDomDocumentFragment toDocumentFragment();
+ public native QDomDocument toDocument();
+ public native QDomDocumentType toDocumentType();
+ public native QDomElement toElement();
+ public native QDomEntityReference toEntityReference();
+ public native QDomText toText();
+ public native QDomEntity toEntity();
+ public native QDomNotation toNotation();
+ public native QDomProcessingInstruction toProcessingInstruction();
+ public native QDomCharacterData toCharacterData();
+ public native QDomComment toComment();
+ public native void save(QTextStream arg1, int arg2);
+ // QDomNode* QDomNode(QDomNodePrivate* 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/qtjava/javalib/org/kde/qt/QDomNotation.java b/qtjava/javalib/org/kde/qt/QDomNotation.java
new file mode 100644
index 00000000..81b1e475
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomNotation.java
@@ -0,0 +1,28 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDomNotation extends QDomNode {
+ protected QDomNotation(Class dummy){super((Class) null);}
+ public QDomNotation() {
+ super((Class) null);
+ newQDomNotation();
+ }
+ private native void newQDomNotation();
+ public QDomNotation(QDomNotation x) {
+ super((Class) null);
+ newQDomNotation(x);
+ }
+ private native void newQDomNotation(QDomNotation x);
+ public native String publicId();
+ public native String systemId();
+ public native int nodeType();
+ public native boolean isNotation();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDomProcessingInstruction.java b/qtjava/javalib/org/kde/qt/QDomProcessingInstruction.java
new file mode 100644
index 00000000..8724e0d3
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomProcessingInstruction.java
@@ -0,0 +1,29 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDomProcessingInstruction extends QDomNode {
+ protected QDomProcessingInstruction(Class dummy){super((Class) null);}
+ public QDomProcessingInstruction() {
+ super((Class) null);
+ newQDomProcessingInstruction();
+ }
+ private native void newQDomProcessingInstruction();
+ public QDomProcessingInstruction(QDomProcessingInstruction x) {
+ super((Class) null);
+ newQDomProcessingInstruction(x);
+ }
+ private native void newQDomProcessingInstruction(QDomProcessingInstruction x);
+ public native String target();
+ public native String data();
+ public native void setData(String d);
+ public native int nodeType();
+ public native boolean isProcessingInstruction();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDomText.java b/qtjava/javalib/org/kde/qt/QDomText.java
new file mode 100644
index 00000000..ac104ca9
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDomText.java
@@ -0,0 +1,27 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDomText extends QDomCharacterData {
+ protected QDomText(Class dummy){super((Class) null);}
+ public QDomText() {
+ super((Class) null);
+ newQDomText();
+ }
+ private native void newQDomText();
+ public QDomText(QDomText x) {
+ super((Class) null);
+ newQDomText(x);
+ }
+ private native void newQDomText(QDomText x);
+ public native QDomText splitText(int offset);
+ public native int nodeType();
+ public native boolean isText();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDoubleValidator.java b/qtjava/javalib/org/kde/qt/QDoubleValidator.java
new file mode 100644
index 00000000..9e81ea5a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDoubleValidator.java
@@ -0,0 +1,47 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDoubleValidator extends QValidator {
+ protected QDoubleValidator(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QDoubleValidator(QObject parent, String name) {
+ super((Class) null);
+ newQDoubleValidator(parent,name);
+ }
+ private native void newQDoubleValidator(QObject parent, String name);
+ public QDoubleValidator(QObject parent) {
+ super((Class) null);
+ newQDoubleValidator(parent);
+ }
+ private native void newQDoubleValidator(QObject parent);
+ public QDoubleValidator(double bottom, double top, int decimals, QObject parent, String name) {
+ super((Class) null);
+ newQDoubleValidator(bottom,top,decimals,parent,name);
+ }
+ private native void newQDoubleValidator(double bottom, double top, int decimals, QObject parent, String name);
+ public QDoubleValidator(double bottom, double top, int decimals, QObject parent) {
+ super((Class) null);
+ newQDoubleValidator(bottom,top,decimals,parent);
+ }
+ private native void newQDoubleValidator(double bottom, double top, int decimals, QObject parent);
+ public native int validate(StringBuffer arg1, int[] arg2);
+ public native void setRange(double bottom, double top, int decimals);
+ public native void setRange(double bottom, double top);
+ public native void setBottom(double arg1);
+ public native void setTop(double arg1);
+ public native void setDecimals(int arg1);
+ public native double bottom();
+ public native double top();
+ public native int decimals();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QDragEnterEvent.java b/qtjava/javalib/org/kde/qt/QDragEnterEvent.java
new file mode 100644
index 00000000..61d041f9
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDragEnterEvent.java
@@ -0,0 +1,19 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDragEnterEvent extends QDragMoveEvent {
+ protected QDragEnterEvent(Class dummy){super((Class) null);}
+ public QDragEnterEvent(QPoint pos) {
+ super((Class) null);
+ newQDragEnterEvent(pos);
+ }
+ private native void newQDragEnterEvent(QPoint 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/qtjava/javalib/org/kde/qt/QDragLeaveEvent.java b/qtjava/javalib/org/kde/qt/QDragLeaveEvent.java
new file mode 100644
index 00000000..2b9ae1d3
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDragLeaveEvent.java
@@ -0,0 +1,19 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDragLeaveEvent extends QEvent {
+ protected QDragLeaveEvent(Class dummy){super((Class) null);}
+ public QDragLeaveEvent() {
+ super((Class) null);
+ newQDragLeaveEvent();
+ }
+ private native void newQDragLeaveEvent();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDragManager.java b/qtjava/javalib/org/kde/qt/QDragManager.java
new file mode 100644
index 00000000..8861dd05
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDragManager.java
@@ -0,0 +1,12 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDragManager extends QObject {
+ protected QDragManager(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QDragMoveEvent.java b/qtjava/javalib/org/kde/qt/QDragMoveEvent.java
new file mode 100644
index 00000000..b4a54c7e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDragMoveEvent.java
@@ -0,0 +1,30 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDragMoveEvent extends QDropEvent {
+ protected QDragMoveEvent(Class dummy){super((Class) null);}
+ public QDragMoveEvent(QPoint pos, int typ) {
+ super((Class) null);
+ newQDragMoveEvent(pos,typ);
+ }
+ private native void newQDragMoveEvent(QPoint pos, int typ);
+ public QDragMoveEvent(QPoint pos) {
+ super((Class) null);
+ newQDragMoveEvent(pos);
+ }
+ private native void newQDragMoveEvent(QPoint pos);
+ public native QRect answerRect();
+ public native void accept(boolean y);
+ public native void accept();
+ public native void accept(QRect r);
+ public native void ignore(QRect r);
+ public native void ignore();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDragObject.java b/qtjava/javalib/org/kde/qt/QDragObject.java
new file mode 100644
index 00000000..7f7369af
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDragObject.java
@@ -0,0 +1,37 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDragObject extends QObject implements QMimeSourceInterface {
+ protected QDragObject(Class dummy){super((Class) null);}
+ public static final int DragDefault = 0;
+ public static final int DragCopy = 1;
+ public static final int DragMove = 2;
+ public static final int DragLink = 3;
+ public static final int DragCopyOrMove = 4;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public native boolean drag();
+ public native boolean dragMove();
+ public native void dragCopy();
+ public native void dragLink();
+ public native void setPixmap(QPixmap arg1);
+ public native void setPixmap(QPixmap arg1, QPoint hotspot);
+ public native QPixmap pixmap();
+ public native QPoint pixmapHotSpot();
+ public native QWidget source();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native QWidget target();
+ public static native void setTarget(QWidget arg1);
+ public native String format(int n);
+ public native String format();
+ public native boolean provides(String arg1);
+ public native byte[] encodedData(String arg1);
+ public native int serialNumber();
+ /** Internal method */
+ protected native long mimeSource();
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QDragResponseEvent.java b/qtjava/javalib/org/kde/qt/QDragResponseEvent.java
new file mode 100644
index 00000000..791208f5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDragResponseEvent.java
@@ -0,0 +1,20 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDragResponseEvent extends QEvent {
+ protected QDragResponseEvent(Class dummy){super((Class) null);}
+ public QDragResponseEvent(boolean accepted) {
+ super((Class) null);
+ newQDragResponseEvent(accepted);
+ }
+ private native void newQDragResponseEvent(boolean accepted);
+ public native boolean dragAccepted();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QDropEvent.java b/qtjava/javalib/org/kde/qt/QDropEvent.java
new file mode 100644
index 00000000..ba73e415
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDropEvent.java
@@ -0,0 +1,51 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDropEvent extends QEvent implements QMimeSourceInterface {
+ protected QDropEvent(Class dummy){super((Class) null);}
+ public static final int Copy = 0;
+ public static final int Link = 1;
+ public static final int Move = 2;
+ public static final int Private = 3;
+ public static final int UserAction = 100;
+
+ public QDropEvent(QPoint pos, int typ) {
+ super((Class) null);
+ newQDropEvent(pos,typ);
+ }
+ private native void newQDropEvent(QPoint pos, int typ);
+ public QDropEvent(QPoint pos) {
+ super((Class) null);
+ newQDropEvent(pos);
+ }
+ private native void newQDropEvent(QPoint pos);
+ public native QPoint pos();
+ public native boolean isAccepted();
+ public native void accept(boolean y);
+ public native void accept();
+ public native void ignore();
+ public native boolean isActionAccepted();
+ public native void acceptAction(boolean y);
+ public native void acceptAction();
+ public native void setAction(int a);
+ public native int action();
+ public native QWidget source();
+ public native String format(int n);
+ public native String format();
+ public native byte[] encodedData(String arg1);
+ public native boolean provides(String arg1);
+ public native byte[] data(String f);
+ public native void setPoint(QPoint np);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws 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 int serialNumber();
+ /** Internal method */
+ protected native long mimeSource();
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QDropSite.java b/qtjava/javalib/org/kde/qt/QDropSite.java
new file mode 100644
index 00000000..b73c9226
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDropSite.java
@@ -0,0 +1,21 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QDropSite implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QDropSite(Class dummy){}
+
+ public QDropSite(QWidget parent) {
+ newQDropSite(parent);
+ }
+ private native void newQDropSite(QWidget 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/qtjava/javalib/org/kde/qt/QEditorFactory.java b/qtjava/javalib/org/kde/qt/QEditorFactory.java
new file mode 100644
index 00000000..e157002a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QEditorFactory.java
@@ -0,0 +1,32 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QEditorFactory extends QObject {
+ protected QEditorFactory(Class dummy){super((Class) null);}
+ public QEditorFactory(QObject parent, String name) {
+ super((Class) null);
+ newQEditorFactory(parent,name);
+ }
+ private native void newQEditorFactory(QObject parent, String name);
+ public QEditorFactory(QObject parent) {
+ super((Class) null);
+ newQEditorFactory(parent);
+ }
+ private native void newQEditorFactory(QObject parent);
+ public QEditorFactory() {
+ super((Class) null);
+ newQEditorFactory();
+ }
+ private native void newQEditorFactory();
+ public native QWidget createEditor(QWidget parent, QVariant v);
+ public static native QEditorFactory defaultFactory();
+ public static native void installDefaultFactory(QEditorFactory factory);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QErrorMessage.java b/qtjava/javalib/org/kde/qt/QErrorMessage.java
new file mode 100644
index 00000000..cc9c4431
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QErrorMessage.java
@@ -0,0 +1,31 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QErrorMessage extends QDialog {
+ protected QErrorMessage(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QErrorMessage(QWidget parent, String name) {
+ super((Class) null);
+ newQErrorMessage(parent,name);
+ }
+ private native void newQErrorMessage(QWidget parent, String name);
+ public QErrorMessage(QWidget parent) {
+ super((Class) null);
+ newQErrorMessage(parent);
+ }
+ private native void newQErrorMessage(QWidget parent);
+ public native void message(String arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native QErrorMessage qtHandler();
+ protected native void done(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/qtjava/javalib/org/kde/qt/QEucJpCodec.java b/qtjava/javalib/org/kde/qt/QEucJpCodec.java
new file mode 100644
index 00000000..7487b662
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QEucJpCodec.java
@@ -0,0 +1,27 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QEucJpCodec extends QTextCodec {
+ protected QEucJpCodec(Class dummy){super((Class) null);}
+ public native int mibEnum();
+ public native String name();
+ public native String mimeName();
+ public native QTextDecoder makeDecoder();
+ public native String fromUnicode(String uc, int[] lenInOut);
+ public native String toUnicode(String chars, int len);
+ public native int heuristicContentMatch(String chars, int len);
+ public native int heuristicNameMatch(String hint);
+ public QEucJpCodec() {
+ super((Class) null);
+ newQEucJpCodec();
+ }
+ private native void newQEucJpCodec();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QEucKrCodec.java b/qtjava/javalib/org/kde/qt/QEucKrCodec.java
new file mode 100644
index 00000000..1015e658
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QEucKrCodec.java
@@ -0,0 +1,27 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QEucKrCodec extends QTextCodec {
+ protected QEucKrCodec(Class dummy){super((Class) null);}
+ public native int mibEnum();
+ public native String name();
+ public native String mimeName();
+ public native QTextDecoder makeDecoder();
+ public native String fromUnicode(String uc, int[] lenInOut);
+ public native String toUnicode(String chars, int len);
+ public native int heuristicContentMatch(String chars, int len);
+ public native int heuristicNameMatch(String hint);
+ public QEucKrCodec() {
+ super((Class) null);
+ newQEucKrCodec();
+ }
+ private native void newQEucKrCodec();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QEvent.java b/qtjava/javalib/org/kde/qt/QEvent.java
new file mode 100644
index 00000000..f39504a5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QEvent.java
@@ -0,0 +1,98 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QEvent extends Qt {
+ protected QEvent(Class dummy){super((Class) null);}
+ public static final int None = 0;
+ public static final int Timer = 1;
+ public static final int MouseButtonPress = 2;
+ public static final int MouseButtonRelease = 3;
+ public static final int MouseButtonDblClick = 4;
+ public static final int MouseMove = 5;
+ public static final int KeyPress = 6;
+ public static final int KeyRelease = 7;
+ public static final int FocusIn = 8;
+ public static final int FocusOut = 9;
+ public static final int Enter = 10;
+ public static final int Leave = 11;
+ public static final int Paint = 12;
+ public static final int Move = 13;
+ public static final int Resize = 14;
+ public static final int Create = 15;
+ public static final int Destroy = 16;
+ public static final int Show = 17;
+ public static final int Hide = 18;
+ public static final int Close = 19;
+ public static final int Quit = 20;
+ public static final int Reparent = 21;
+ public static final int ShowMinimized = 22;
+ public static final int ShowNormal = 23;
+ public static final int WindowActivate = 24;
+ public static final int WindowDeactivate = 25;
+ public static final int ShowToParent = 26;
+ public static final int HideToParent = 27;
+ public static final int ShowMaximized = 28;
+ public static final int ShowFullScreen = 29;
+ public static final int Accel = 30;
+ public static final int Wheel = 31;
+ public static final int AccelAvailable = 32;
+ public static final int CaptionChange = 33;
+ public static final int IconChange = 34;
+ public static final int ParentFontChange = 35;
+ public static final int ApplicationFontChange = 36;
+ public static final int ParentPaletteChange = 37;
+ public static final int ApplicationPaletteChange = 38;
+ public static final int PaletteChange = 39;
+ public static final int Clipboard = 40;
+ public static final int Speech = 42;
+ public static final int SockAct = 50;
+ public static final int AccelOverride = 51;
+ public static final int DeferredDelete = 52;
+ public static final int DragEnter = 60;
+ public static final int DragMove = 61;
+ public static final int DragLeave = 62;
+ public static final int Drop = 63;
+ public static final int DragResponse = 64;
+ public static final int ChildInserted = 70;
+ public static final int ChildRemoved = 71;
+ public static final int LayoutHint = 72;
+ public static final int ShowWindowRequest = 73;
+ public static final int WindowBlocked = 74;
+ public static final int WindowUnblocked = 75;
+ public static final int ActivateControl = 80;
+ public static final int DeactivateControl = 81;
+ public static final int ContextMenu = 82;
+ public static final int IMStart = 83;
+ public static final int IMCompose = 84;
+ public static final int IMEnd = 85;
+ public static final int Accessibility = 86;
+ public static final int TabletMove = 87;
+ public static final int LocaleChange = 88;
+ public static final int LanguageChange = 89;
+ public static final int LayoutDirectionChange = 90;
+ public static final int Style = 91;
+ public static final int TabletPress = 92;
+ public static final int TabletRelease = 93;
+ public static final int OkRequest = 94;
+ public static final int HelpRequest = 95;
+ public static final int WindowStateChange = 96;
+ public static final int IconDrag = 97;
+ public static final int User = 1000;
+ public static final int MaxUser = 65535;
+
+ public QEvent(int type) {
+ super((Class) null);
+ newQEvent(type);
+ }
+ private native void newQEvent(int type);
+ public native int type();
+ public native boolean spontaneous();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QEventLoop.java b/qtjava/javalib/org/kde/qt/QEventLoop.java
new file mode 100644
index 00000000..22d5a810
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QEventLoop.java
@@ -0,0 +1,57 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QEventLoopSignals} for signals emitted by QEventLoop
+*/
+public class QEventLoop extends QObject {
+ protected QEventLoop(Class dummy){super((Class) null);}
+ public static final int AllEvents = 0x00;
+ public static final int ExcludeUserInput = 0x01;
+ public static final int ExcludeSocketNotifiers = 0x02;
+ public static final int WaitForMore = 0x04;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QEventLoop(QObject parent, String name) {
+ super((Class) null);
+ newQEventLoop(parent,name);
+ }
+ private native void newQEventLoop(QObject parent, String name);
+ public QEventLoop(QObject parent) {
+ super((Class) null);
+ newQEventLoop(parent);
+ }
+ private native void newQEventLoop(QObject parent);
+ public QEventLoop() {
+ super((Class) null);
+ newQEventLoop();
+ }
+ private native void newQEventLoop();
+ public native void processEvents(int flags, int maxtime);
+ public native boolean processEvents(int flags);
+ public native boolean hasPendingEvents();
+ public native void registerSocketNotifier(QSocketNotifier arg1);
+ public native void unregisterSocketNotifier(QSocketNotifier arg1);
+ public native void setSocketNotifierPending(QSocketNotifier arg1);
+ public native int activateSocketNotifiers();
+ public native int activateTimers();
+ public native int timeToWait();
+ public native int exec();
+ public native void exit(int retcode);
+ public native void exit();
+ public native int enterLoop();
+ public native void exitLoop();
+ public native int loopLevel();
+ public native void wakeUp();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QEventLoopSignals.java b/qtjava/javalib/org/kde/qt/QEventLoopSignals.java
new file mode 100644
index 00000000..3b14bc17
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QEventLoopSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QEventLoopSignals {
+ void awake();
+ void aboutToBlock();
+}
diff --git a/qtjava/javalib/org/kde/qt/QFile.java b/qtjava/javalib/org/kde/qt/QFile.java
new file mode 100644
index 00000000..8364d275
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFile.java
@@ -0,0 +1,51 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QFile extends QIODevice {
+ protected QFile(Class dummy){super((Class) null);}
+ public QFile() {
+ super((Class) null);
+ newQFile();
+ }
+ private native void newQFile();
+ public QFile(String name) {
+ super((Class) null);
+ newQFile(name);
+ }
+ private native void newQFile(String name);
+ public native String name();
+ public native void setName(String name);
+ public native boolean exists();
+ public native boolean remove();
+ public native boolean open(int arg1);
+ public native boolean open(int arg1, int arg2);
+ 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 long readBlock(StringBuffer data, long len);
+ public native long writeBlock(String data, long len);
+ public native long writeBlock(byte[] data);
+ public native long readLine(String data, long maxlen);
+ public native long readLine(StringBuffer arg1, long maxlen);
+ public native int getch();
+ public native int putch(int arg1);
+ public native int ungetch(int arg1);
+ public native int handle();
+ public native String errorString();
+ public static native String encodeName(String fileName);
+ public static native String decodeName(String localFileName);
+ public static native boolean exists(String fileName);
+ public static native boolean remove(String fileName);
+ protected native void setErrorString(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/qtjava/javalib/org/kde/qt/QFileDialog.java b/qtjava/javalib/org/kde/qt/QFileDialog.java
new file mode 100644
index 00000000..7fc31d0f
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFileDialog.java
@@ -0,0 +1,155 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+/**
+ See {@link QFileDialogSignals} for signals emitted by QFileDialog
+*/
+public class QFileDialog extends QDialog {
+ protected QFileDialog(Class dummy){super((Class) null);}
+ public static final int AnyFile = 0;
+ public static final int ExistingFile = 1;
+ public static final int Directory = 2;
+ public static final int ExistingFiles = 3;
+ public static final int DirectoryOnly = 4;
+
+ public static final int Detail = 0;
+ public static final int List = 1;
+
+ public static final int NoPreview = 0;
+ public static final int Contents = 1;
+ public static final int Info = 2;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QFileDialog(String dirName, String filter, QWidget parent, String name, boolean modal) {
+ super((Class) null);
+ newQFileDialog(dirName,filter,parent,name,modal);
+ }
+ private native void newQFileDialog(String dirName, String filter, QWidget parent, String name, boolean modal);
+ public QFileDialog(String dirName, String filter, QWidget parent, String name) {
+ super((Class) null);
+ newQFileDialog(dirName,filter,parent,name);
+ }
+ private native void newQFileDialog(String dirName, String filter, QWidget parent, String name);
+ public QFileDialog(String dirName, String filter, QWidget parent) {
+ super((Class) null);
+ newQFileDialog(dirName,filter,parent);
+ }
+ private native void newQFileDialog(String dirName, String filter, QWidget parent);
+ public QFileDialog(String dirName, String filter) {
+ super((Class) null);
+ newQFileDialog(dirName,filter);
+ }
+ private native void newQFileDialog(String dirName, String filter);
+ public QFileDialog(String dirName) {
+ super((Class) null);
+ newQFileDialog(dirName);
+ }
+ private native void newQFileDialog(String dirName);
+ public QFileDialog(QWidget parent, String name, boolean modal) {
+ super((Class) null);
+ newQFileDialog(parent,name,modal);
+ }
+ private native void newQFileDialog(QWidget parent, String name, boolean modal);
+ public QFileDialog(QWidget parent, String name) {
+ super((Class) null);
+ newQFileDialog(parent,name);
+ }
+ private native void newQFileDialog(QWidget parent, String name);
+ public QFileDialog(QWidget parent) {
+ super((Class) null);
+ newQFileDialog(parent);
+ }
+ private native void newQFileDialog(QWidget parent);
+ public QFileDialog() {
+ super((Class) null);
+ newQFileDialog();
+ }
+ private native void newQFileDialog();
+ public native String selectedFile();
+ public native String selectedFilter();
+ public native void setSelectedFilter(String arg1);
+ public native void setSelectedFilter(int arg1);
+ public native void setSelection(String arg1);
+ public native void selectAll(boolean b);
+ public native ArrayList selectedFiles();
+ public native String dirPath();
+ public native void setDir(QDir arg1);
+ public native QDir dir();
+ public native void setShowHiddenFiles(boolean s);
+ public native boolean showHiddenFiles();
+ public native void rereadDir();
+ public native void resortDir();
+ public native void setMode(int arg1);
+ public native int mode();
+ public native void setViewMode(int m);
+ public native int viewMode();
+ public native void setPreviewMode(int m);
+ public native int previewMode();
+ public native boolean eventFilter(QObject arg1, QEvent arg2);
+ public native boolean isInfoPreviewEnabled();
+ public native boolean isContentsPreviewEnabled();
+ public native void setInfoPreviewEnabled(boolean arg1);
+ public native void setContentsPreviewEnabled(boolean arg1);
+ public native void setInfoPreview(QWidget w, QFilePreview preview);
+ public native void setContentsPreview(QWidget w, QFilePreview preview);
+ public native QUrlInterface url();
+ public native void addFilter(String filter);
+ public native void done(int arg1);
+ public native void setDir(String arg1);
+ public native void setUrl(QUrlOperator url);
+ public native void setFilter(String arg1);
+ public native void setFilters(String arg1);
+ public native void setFilters(String[] arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native String getOpenFileName(String initially, String filter, QWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks);
+ public static native String getOpenFileName(String initially, String filter, QWidget parent, String name, String caption, StringBuffer selectedFilter);
+ public static native String getOpenFileName(String initially, String filter, QWidget parent, String name, String caption);
+ public static native String getOpenFileName(String initially, String filter, QWidget parent, String name);
+ public static native String getOpenFileName(String initially, String filter, QWidget parent);
+ public static native String getOpenFileName(String initially, String filter);
+ public static native String getOpenFileName(String initially);
+ public static native String getOpenFileName();
+ public static native String getSaveFileName(String initially, String filter, QWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks);
+ public static native String getSaveFileName(String initially, String filter, QWidget parent, String name, String caption, StringBuffer selectedFilter);
+ public static native String getSaveFileName(String initially, String filter, QWidget parent, String name, String caption);
+ public static native String getSaveFileName(String initially, String filter, QWidget parent, String name);
+ public static native String getSaveFileName(String initially, String filter, QWidget parent);
+ public static native String getSaveFileName(String initially, String filter);
+ public static native String getSaveFileName(String initially);
+ public static native String getSaveFileName();
+ public static native String getExistingDirectory(String dir, QWidget parent, String name, String caption, boolean dirOnly, boolean resolveSymlinks);
+ public static native String getExistingDirectory(String dir, QWidget parent, String name, String caption, boolean dirOnly);
+ public static native String getExistingDirectory(String dir, QWidget parent, String name, String caption);
+ public static native String getExistingDirectory(String dir, QWidget parent, String name);
+ public static native String getExistingDirectory(String dir, QWidget parent);
+ public static native String getExistingDirectory(String dir);
+ public static native String getExistingDirectory();
+ public static native ArrayList getOpenFileNames(String filter, String dir, QWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks);
+ public static native ArrayList getOpenFileNames(String filter, String dir, QWidget parent, String name, String caption, StringBuffer selectedFilter);
+ public static native ArrayList getOpenFileNames(String filter, String dir, QWidget parent, String name, String caption);
+ public static native ArrayList getOpenFileNames(String filter, String dir, QWidget parent, String name);
+ public static native ArrayList getOpenFileNames(String filter, String dir, QWidget parent);
+ public static native ArrayList getOpenFileNames(String filter, String dir);
+ public static native ArrayList getOpenFileNames(String filter);
+ public static native ArrayList getOpenFileNames();
+ public static native void setIconProvider(QFileIconProvider arg1);
+ public static native QFileIconProvider iconProvider();
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ protected native void addWidgets(QLabel arg1, QWidget arg2, QPushButton arg3);
+ protected native void addToolButton(QButton b, boolean separator);
+ protected native void addToolButton(QButton b);
+ protected native void addLeftWidget(QWidget w);
+ protected native void addRightWidget(QWidget w);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QFileDialogSignals.java b/qtjava/javalib/org/kde/qt/QFileDialogSignals.java
new file mode 100644
index 00000000..f3603885
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFileDialogSignals.java
@@ -0,0 +1,12 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.util.ArrayList;
+
+public interface QFileDialogSignals {
+ void fileHighlighted(String arg1);
+ void fileSelected(String arg1);
+ void filesSelected(String[] arg1);
+ void dirEntered(String arg1);
+ void filterSelected(String arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QFileIconProvider.java b/qtjava/javalib/org/kde/qt/QFileIconProvider.java
new file mode 100644
index 00000000..bddd57ba
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFileIconProvider.java
@@ -0,0 +1,34 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QFileIconProvider extends QObject {
+ protected QFileIconProvider(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QFileIconProvider(QObject parent, String name) {
+ super((Class) null);
+ newQFileIconProvider(parent,name);
+ }
+ private native void newQFileIconProvider(QObject parent, String name);
+ public QFileIconProvider(QObject parent) {
+ super((Class) null);
+ newQFileIconProvider(parent);
+ }
+ private native void newQFileIconProvider(QObject parent);
+ public QFileIconProvider() {
+ super((Class) null);
+ newQFileIconProvider();
+ }
+ private native void newQFileIconProvider();
+ public native QPixmap pixmap(QFileInfo arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QFileInfo.java b/qtjava/javalib/org/kde/qt/QFileInfo.java
new file mode 100644
index 00000000..73df9f3d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFileInfo.java
@@ -0,0 +1,88 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.Calendar;
+
+public class QFileInfo implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QFileInfo(Class dummy){}
+
+ public static final int ReadOwner = 04000;
+ public static final int WriteOwner = 02000;
+ public static final int ExeOwner = 01000;
+ public static final int ReadUser = 00400;
+ public static final int WriteUser = 00200;
+ public static final int ExeUser = 00100;
+ public static final int ReadGroup = 00040;
+ public static final int WriteGroup = 00020;
+ public static final int ExeGroup = 00010;
+ public static final int ReadOther = 00004;
+ public static final int WriteOther = 00002;
+ public static final int ExeOther = 00001;
+
+ public QFileInfo() {
+ newQFileInfo();
+ }
+ private native void newQFileInfo();
+ public QFileInfo(String file) {
+ newQFileInfo(file);
+ }
+ private native void newQFileInfo(String file);
+ public QFileInfo(QFile arg1) {
+ newQFileInfo(arg1);
+ }
+ private native void newQFileInfo(QFile arg1);
+ public QFileInfo(QDir arg1, String fileName) {
+ newQFileInfo(arg1,fileName);
+ }
+ private native void newQFileInfo(QDir arg1, String fileName);
+ public QFileInfo(QFileInfo arg1) {
+ newQFileInfo(arg1);
+ }
+ private native void newQFileInfo(QFileInfo arg1);
+ public native void setFile(String file);
+ public native void setFile(QFile arg1);
+ public native void setFile(QDir arg1, String fileName);
+ public native boolean exists();
+ public native void refresh();
+ public native boolean caching();
+ public native void setCaching(boolean arg1);
+ public native String filePath();
+ public native String fileName();
+ public native String absFilePath();
+ public native String baseName(boolean complete);
+ public native String baseName();
+ public native String extension(boolean complete);
+ public native String extension();
+ public native String dirPath(boolean absPath);
+ public native String dirPath();
+ public native QDir dir(boolean absPath);
+ public native QDir dir();
+ public native boolean isReadable();
+ public native boolean isWritable();
+ public native boolean isExecutable();
+ public native boolean isHidden();
+ public native boolean isRelative();
+ public native boolean convertToAbs();
+ public native boolean isFile();
+ public native boolean isDir();
+ public native boolean isSymLink();
+ public native String readLink();
+ public native String owner();
+ public native int ownerId();
+ public native String group();
+ public native int groupId();
+ public native boolean permission(int permissionSpec);
+ public native long size();
+ public native Calendar created();
+ public native Calendar lastModified();
+ public native Calendar lastRead();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QFilePreview.java b/qtjava/javalib/org/kde/qt/QFilePreview.java
new file mode 100644
index 00000000..c50f725b
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFilePreview.java
@@ -0,0 +1,12 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QFilePreview implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QFilePreview(Class dummy){}
+
+ public native void previewUrl(QUrlInterface url);
+}
diff --git a/qtjava/javalib/org/kde/qt/QFocusData.java b/qtjava/javalib/org/kde/qt/QFocusData.java
new file mode 100644
index 00000000..e15014ca
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFocusData.java
@@ -0,0 +1,18 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QFocusData implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QFocusData(Class dummy){}
+
+ public native QWidget focusWidget();
+ public native QWidget home();
+ public native QWidget next();
+ public native QWidget prev();
+ public native QWidget first();
+ public native QWidget last();
+ public native int count();
+}
diff --git a/qtjava/javalib/org/kde/qt/QFocusEvent.java b/qtjava/javalib/org/kde/qt/QFocusEvent.java
new file mode 100644
index 00000000..c205c18b
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFocusEvent.java
@@ -0,0 +1,32 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QFocusEvent extends QEvent {
+ protected QFocusEvent(Class dummy){super((Class) null);}
+ public static final int Mouse = 0;
+ public static final int Tab = 1;
+ public static final int Backtab = 2;
+ public static final int ActiveWindow = 3;
+ public static final int Popup = 4;
+ public static final int Shortcut = 5;
+ public static final int Other = 6;
+
+ public QFocusEvent(int type) {
+ super((Class) null);
+ newQFocusEvent(type);
+ }
+ private native void newQFocusEvent(int type);
+ public native boolean gotFocus();
+ public native boolean lostFocus();
+ public static native int reason();
+ public static native void setReason(int reason);
+ public static native void resetReason();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QFont.java b/qtjava/javalib/org/kde/qt/QFont.java
new file mode 100644
index 00000000..c795fc17
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFont.java
@@ -0,0 +1,203 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QFont implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QFont(Class dummy){}
+
+ public static final int Helvetica = 0;
+ public static final int SansSerif = Helvetica;
+ public static final int Times = 1;
+ public static final int Serif = Times;
+ public static final int Courier = 2;
+ public static final int TypeWriter = Courier;
+ public static final int OldEnglish = 3;
+ public static final int Decorative = OldEnglish;
+ public static final int System = 4;
+ public static final int AnyStyle = 5;
+
+ public static final int PreferDefault = 0x0001;
+ public static final int PreferBitmap = 0x0002;
+ public static final int PreferDevice = 0x0004;
+ public static final int PreferOutline = 0x0008;
+ public static final int ForceOutline = 0x0010;
+ public static final int PreferMatch = 0x0020;
+ public static final int PreferQuality = 0x0040;
+ public static final int PreferAntialias = 0x0080;
+ public static final int NoAntialias = 0x0100;
+ public static final int OpenGLCompatible = 0x0200;
+
+ public static final int Light = 25;
+ public static final int Normal = 50;
+ public static final int DemiBold = 63;
+ public static final int Bold = 75;
+ public static final int Black = 87;
+
+ public static final int UltraCondensed = 50;
+ public static final int ExtraCondensed = 62;
+ public static final int Condensed = 75;
+ public static final int SemiCondensed = 87;
+ public static final int Unstretched = 100;
+ public static final int SemiExpanded = 112;
+ public static final int Expanded = 125;
+ public static final int ExtraExpanded = 150;
+ public static final int UltraExpanded = 200;
+
+ public static final int Latin = 0;
+ public static final int Greek = 1;
+ public static final int Cyrillic = 2;
+ public static final int Armenian = 3;
+ public static final int Georgian = 4;
+ public static final int Runic = 5;
+ public static final int Ogham = 6;
+ public static final int SpacingModifiers = 7;
+ public static final int CombiningMarks = 8;
+ public static final int Hebrew = 9;
+ public static final int Arabic = 10;
+ public static final int Syriac = 11;
+ public static final int Thaana = 12;
+ public static final int Devanagari = 13;
+ public static final int Bengali = 14;
+ public static final int Gurmukhi = 15;
+ public static final int Gujarati = 16;
+ public static final int Oriya = 17;
+ public static final int Tamil = 18;
+ public static final int Telugu = 19;
+ public static final int Kannada = 20;
+ public static final int Malayalam = 21;
+ public static final int Sinhala = 22;
+ public static final int Thai = 23;
+ public static final int Lao = 24;
+ public static final int Tibetan = 25;
+ public static final int Myanmar = 26;
+ public static final int Khmer = 27;
+ public static final int Han = 28;
+ public static final int Hiragana = 29;
+ public static final int Katakana = 30;
+ public static final int Hangul = 31;
+ public static final int Bopomofo = 32;
+ public static final int Yi = 33;
+ public static final int Ethiopic = 34;
+ public static final int Cherokee = 35;
+ public static final int CanadianAboriginal = 36;
+ public static final int Mongolian = 37;
+ public static final int CurrencySymbols = 38;
+ public static final int LetterlikeSymbols = 39;
+ public static final int NumberForms = 40;
+ public static final int MathematicalOperators = 41;
+ public static final int TechnicalSymbols = 42;
+ public static final int GeometricSymbols = 43;
+ public static final int MiscellaneousSymbols = 44;
+ public static final int EnclosedAndSquare = 45;
+ public static final int Braille = 46;
+ public static final int Unicode = 47;
+ public static final int Tagalog = 48;
+ public static final int Hanunoo = 49;
+ public static final int Buhid = 50;
+ public static final int Tagbanwa = 51;
+ public static final int KatakanaHalfWidth = 52;
+ public static final int Limbu = 53;
+ public static final int TaiLe = 54;
+ public static final int NScripts = 55;
+ public static final int UnknownScript = NScripts;
+ public static final int NoScript = 56;
+ public static final int Han_Japanese = 57;
+ public static final int Han_SimplifiedChinese = 58;
+ public static final int Han_TraditionalChinese = 59;
+ public static final int Han_Korean = 60;
+ public static final int LastPrivateScript = 61;
+
+ public QFont() {
+ newQFont();
+ }
+ private native void newQFont();
+ public QFont(String family, int pointSize, int weight, boolean italic) {
+ newQFont(family,pointSize,weight,italic);
+ }
+ private native void newQFont(String family, int pointSize, int weight, boolean italic);
+ public QFont(String family, int pointSize, int weight) {
+ newQFont(family,pointSize,weight);
+ }
+ private native void newQFont(String family, int pointSize, int weight);
+ public QFont(String family, int pointSize) {
+ newQFont(family,pointSize);
+ }
+ private native void newQFont(String family, int pointSize);
+ public QFont(String family) {
+ newQFont(family);
+ }
+ private native void newQFont(String family);
+ public QFont(QFont arg1) {
+ newQFont(arg1);
+ }
+ private native void newQFont(QFont arg1);
+ public native String family();
+ public native void setFamily(String arg1);
+ public native int pointSize();
+ public native float pointSizeFloat();
+ public native void setPointSize(int arg1);
+ public native void setPointSizeFloat(float arg1);
+ public native int pixelSize();
+ public native void setPixelSize(int arg1);
+ public native void setPixelSizeFloat(float arg1);
+ public native int weight();
+ public native void setWeight(int arg1);
+ public native boolean bold();
+ public native void setBold(boolean arg1);
+ public native boolean italic();
+ public native void setItalic(boolean arg1);
+ public native boolean underline();
+ public native void setUnderline(boolean arg1);
+ public native boolean overline();
+ public native void setOverline(boolean arg1);
+ public native boolean strikeOut();
+ public native void setStrikeOut(boolean arg1);
+ public native boolean fixedPitch();
+ public native void setFixedPitch(boolean arg1);
+ public native int styleHint();
+ public native int styleStrategy();
+ public native void setStyleHint(int arg1, int arg2);
+ public native void setStyleHint(int arg1);
+ public native void setStyleStrategy(int s);
+ public native int stretch();
+ public native void setStretch(int arg1);
+ public native boolean rawMode();
+ public native void setRawMode(boolean arg1);
+ public native boolean exactMatch();
+ public native boolean op_equals(QFont arg1);
+ public native boolean op_not_equals(QFont arg1);
+ public native boolean isCopyOf(QFont arg1);
+ public native int handle();
+ public native void setRawName(String arg1);
+ public native String rawName();
+ public native String key();
+ public native String toString();
+ public native boolean fromString(String arg1);
+ public native String defaultFamily();
+ public native String lastResortFamily();
+ public native String lastResortFont();
+ public native QFont resolve(QFont arg1);
+ public static native String substitute(String arg1);
+ public static native ArrayList substitutes(String arg1);
+ public static native ArrayList substitutions();
+ public static native void insertSubstitution(String arg1, String arg2);
+ public static native void insertSubstitutions(String arg1, String[] arg2);
+ public static native void removeSubstitution(String arg1);
+ public static native void initialize();
+ public static native void cleanup();
+ public static native void cacheStatistics();
+ public static native QFont defaultFont();
+ public static native void setDefaultFont(QFont arg1);
+ protected native boolean dirty();
+ protected native int deciPointSize();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QFontDatabase.java b/qtjava/javalib/org/kde/qt/QFontDatabase.java
new file mode 100644
index 00000000..1f468c33
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFontDatabase.java
@@ -0,0 +1,56 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QFontDatabase implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QFontDatabase(Class dummy){}
+
+ public QFontDatabase() {
+ newQFontDatabase();
+ }
+ private native void newQFontDatabase();
+ public native ArrayList families();
+ public native ArrayList families(int arg1);
+ public native ArrayList styles(String arg1);
+ public native int[] pointSizes(String arg1, String arg2);
+ public native int[] pointSizes(String arg1);
+ public native int[] smoothSizes(String arg1, String arg2);
+ public native String styleString(QFont arg1);
+ public native QFont font(String arg1, String arg2, int arg3);
+ public native boolean isBitmapScalable(String arg1, String arg2);
+ public native boolean isBitmapScalable(String arg1);
+ public native boolean isSmoothlyScalable(String arg1, String arg2);
+ public native boolean isSmoothlyScalable(String arg1);
+ public native boolean isScalable(String arg1, String arg2);
+ public native boolean isScalable(String arg1);
+ public native boolean isFixedPitch(String arg1, String arg2);
+ public native boolean isFixedPitch(String arg1);
+ public native boolean italic(String arg1, String arg2);
+ public native boolean bold(String arg1, String arg2);
+ public native int weight(String arg1, String arg2);
+ public native ArrayList families(boolean arg1);
+ public native ArrayList styles(String arg1, String arg2);
+ public native int[] pointSizes(String arg1, String arg2, String arg3);
+ public native int[] smoothSizes(String arg1, String arg2, String arg3);
+ public native QFont font(String arg1, String arg2, int arg3, String arg4);
+ public native boolean isBitmapScalable(String arg1, String arg2, String arg3);
+ public native boolean isSmoothlyScalable(String arg1, String arg2, String arg3);
+ public native boolean isScalable(String arg1, String arg2, String arg3);
+ public native boolean isFixedPitch(String arg1, String arg2, String arg3);
+ public native boolean italic(String arg1, String arg2, String arg3);
+ public native boolean bold(String arg1, String arg2, String arg3);
+ public native int weight(String arg1, String arg2, String arg3);
+ public static native int[] standardSizes();
+ public static native String scriptName(int arg1);
+ public static native String scriptSample(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/qtjava/javalib/org/kde/qt/QFontDialog.java b/qtjava/javalib/org/kde/qt/QFontDialog.java
new file mode 100644
index 00000000..0a9fea2c
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFontDialog.java
@@ -0,0 +1,18 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QFontDialog extends QDialog {
+ protected QFontDialog(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native QFont getFont(boolean[] ok, QFont def, QWidget parent, String name);
+ public static native QFont getFont(boolean[] ok, QFont def, QWidget parent);
+ public static native QFont getFont(boolean[] ok, QFont def);
+ public static native QFont getFont(boolean[] ok, QWidget parent, String name);
+ public static native QFont getFont(boolean[] ok, QWidget parent);
+ public static native QFont getFont(boolean[] ok);
+}
diff --git a/qtjava/javalib/org/kde/qt/QFontInfo.java b/qtjava/javalib/org/kde/qt/QFontInfo.java
new file mode 100644
index 00000000..217051ec
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFontInfo.java
@@ -0,0 +1,42 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QFontInfo implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QFontInfo(Class dummy){}
+
+ public QFontInfo(QFont arg1) {
+ newQFontInfo(arg1);
+ }
+ private native void newQFontInfo(QFont arg1);
+ public QFontInfo(QFont arg1, int arg2) {
+ newQFontInfo(arg1,arg2);
+ }
+ private native void newQFontInfo(QFont arg1, int arg2);
+ public QFontInfo(QFontInfo arg1) {
+ newQFontInfo(arg1);
+ }
+ private native void newQFontInfo(QFontInfo arg1);
+ public native String family();
+ public native int pixelSize();
+ public native int pointSize();
+ public native boolean italic();
+ public native int weight();
+ public native boolean bold();
+ public native boolean underline();
+ public native boolean overline();
+ public native boolean strikeOut();
+ public native boolean fixedPitch();
+ public native int styleHint();
+ public native boolean rawMode();
+ public native boolean exactMatch();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QFontMetrics.java b/qtjava/javalib/org/kde/qt/QFontMetrics.java
new file mode 100644
index 00000000..6786b95e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFontMetrics.java
@@ -0,0 +1,61 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QFontMetrics implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QFontMetrics(Class dummy){}
+
+ public QFontMetrics(QFont arg1) {
+ newQFontMetrics(arg1);
+ }
+ private native void newQFontMetrics(QFont arg1);
+ public QFontMetrics(QFont arg1, int arg2) {
+ newQFontMetrics(arg1,arg2);
+ }
+ private native void newQFontMetrics(QFont arg1, int arg2);
+ public QFontMetrics(QFontMetrics arg1) {
+ newQFontMetrics(arg1);
+ }
+ private native void newQFontMetrics(QFontMetrics arg1);
+ public native int ascent();
+ public native int descent();
+ public native int height();
+ public native int leading();
+ public native int lineSpacing();
+ public native int minLeftBearing();
+ public native int minRightBearing();
+ public native int maxWidth();
+ public native boolean inFont(char arg1);
+ public native int leftBearing(char arg1);
+ public native int rightBearing(char arg1);
+ public native int width(String arg1, int len);
+ public native int width(String arg1);
+ public native int width(char arg1);
+ public native int charWidth(String str, int pos);
+ public native QRect boundingRect(String arg1, int len);
+ public native QRect boundingRect(String arg1);
+ public native QRect boundingRect(char arg1);
+ // QRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const QString& arg6,int arg7,int arg8,int* arg9,QTextParag** arg10); >>>> NOT CONVERTED
+ public native QRect boundingRect(int x, int y, int w, int h, int flags, String str, int len, int tabstops, int[] tabarray);
+ public native QRect boundingRect(int x, int y, int w, int h, int flags, String str, int len, int tabstops);
+ public native QRect boundingRect(int x, int y, int w, int h, int flags, String str, int len);
+ public native QRect boundingRect(int x, int y, int w, int h, int flags, String str);
+ // QSize size(int arg1,const QString& arg2,int arg3,int arg4,int* arg5,QTextParag** arg6); >>>> NOT CONVERTED
+ public native QSize size(int flags, String str, int len, int tabstops, int[] tabarray);
+ public native QSize size(int flags, String str, int len, int tabstops);
+ public native QSize size(int flags, String str, int len);
+ public native QSize size(int flags, String str);
+ public native int underlinePos();
+ public native int overlinePos();
+ public native int strikeOutPos();
+ public native int lineWidth();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QFrame.java b/qtjava/javalib/org/kde/qt/QFrame.java
new file mode 100644
index 00000000..65dbee4b
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFrame.java
@@ -0,0 +1,82 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QFrame extends QWidget {
+ protected QFrame(Class dummy){super((Class) null);}
+ public static final int NoFrame = 0;
+ public static final int Box = 0x0001;
+ public static final int Panel = 0x0002;
+ public static final int WinPanel = 0x0003;
+ public static final int HLine = 0x0004;
+ public static final int VLine = 0x0005;
+ public static final int StyledPanel = 0x0006;
+ public static final int PopupPanel = 0x0007;
+ public static final int MenuBarPanel = 0x0008;
+ public static final int ToolBarPanel = 0x0009;
+ public static final int LineEditPanel = 0x000a;
+ public static final int TabWidgetPanel = 0x000b;
+ public static final int GroupBoxPanel = 0x000c;
+ public static final int MShape = 0x000f;
+
+ public static final int Plain = 0x0010;
+ public static final int Raised = 0x0020;
+ public static final int Sunken = 0x0030;
+ public static final int MShadow = 0x00f0;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QFrame(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQFrame(parent,name,f);
+ }
+ private native void newQFrame(QWidget parent, String name, int f);
+ public QFrame(QWidget parent, String name) {
+ super((Class) null);
+ newQFrame(parent,name);
+ }
+ private native void newQFrame(QWidget parent, String name);
+ public QFrame(QWidget parent) {
+ super((Class) null);
+ newQFrame(parent);
+ }
+ private native void newQFrame(QWidget parent);
+ public QFrame() {
+ super((Class) null);
+ newQFrame();
+ }
+ private native void newQFrame();
+ public native int frameStyle();
+ public native void setFrameStyle(int arg1);
+ public native int frameWidth();
+ public native QRect contentsRect();
+ public native boolean lineShapesOk();
+ public native QSize sizeHint();
+ public native int frameShape();
+ public native void setFrameShape(int arg1);
+ public native int frameShadow();
+ public native void setFrameShadow(int arg1);
+ public native int lineWidth();
+ public native void setLineWidth(int arg1);
+ public native int margin();
+ public native void setMargin(int arg1);
+ public native int midLineWidth();
+ public native void setMidLineWidth(int arg1);
+ public native QRect frameRect();
+ public native void setFrameRect(QRect arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void drawFrame(QPainter arg1);
+ protected native void drawContents(QPainter arg1);
+ protected native void frameChanged();
+ public native void styleChange(QStyle 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/qtjava/javalib/org/kde/qt/QFtp.java b/qtjava/javalib/org/kde/qt/QFtp.java
new file mode 100644
index 00000000..4ed29425
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFtp.java
@@ -0,0 +1,110 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QFtpSignals} for signals emitted by QFtp
+*/
+public class QFtp extends QNetworkProtocol {
+ protected QFtp(Class dummy){super((Class) null);}
+ public static final int Unconnected = 0;
+ public static final int HostLookup = 1;
+ public static final int Connecting = 2;
+ public static final int Connected = 3;
+ public static final int LoggedIn = 4;
+ public static final int Closing = 5;
+
+ public static final int NoError = 0;
+ public static final int UnknownError = 1;
+ public static final int HostNotFound = 2;
+ public static final int ConnectionRefused = 3;
+ public static final int NotConnected = 4;
+
+ public static final int None = 0;
+ public static final int ConnectToHost = 1;
+ public static final int Login = 2;
+ public static final int Close = 3;
+ public static final int List = 4;
+ public static final int Cd = 5;
+ public static final int Get = 6;
+ public static final int Put = 7;
+ public static final int Remove = 8;
+ public static final int Mkdir = 9;
+ public static final int Rmdir = 10;
+ public static final int Rename = 11;
+ public static final int RawCommand = 12;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QFtp() {
+ super((Class) null);
+ newQFtp();
+ }
+ private native void newQFtp();
+ public QFtp(QObject parent, String name) {
+ super((Class) null);
+ newQFtp(parent,name);
+ }
+ private native void newQFtp(QObject parent, String name);
+ public QFtp(QObject parent) {
+ super((Class) null);
+ newQFtp(parent);
+ }
+ private native void newQFtp(QObject parent);
+ public native int supportedOperations();
+ public native int connectToHost(String host, short port);
+ public native int connectToHost(String host);
+ public native int login(String user, String password);
+ public native int login(String user);
+ public native int login();
+ public native int close();
+ public native int list(String dir);
+ public native int list();
+ public native int cd(String dir);
+ public native int get(String file, QIODeviceInterface dev);
+ public native int get(String file);
+ public native int put(byte[] data, String file);
+ public native int put(QIODeviceInterface dev, String file);
+ public native int remove(String file);
+ public native int mkdir(String dir);
+ public native int rmdir(String dir);
+ public native int rename(String oldname, String newname);
+ public native int rawCommand(String command);
+ public native long bytesAvailable();
+ public native long readBlock(StringBuffer data, long maxlen);
+ public native byte[] readAll();
+ public native int currentId();
+ public native QIODeviceInterface currentDevice();
+ public native int currentCommand();
+ public native boolean hasPendingCommands();
+ public native void clearPendingCommands();
+ public native int state();
+ public native int error();
+ public native String errorString();
+ public native void abort();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void parseDir(String buffer, QUrlInfo info);
+ protected native void operationListChildren(QNetworkOperation op);
+ protected native void operationMkDir(QNetworkOperation op);
+ protected native void operationRemove(QNetworkOperation op);
+ protected native void operationRename(QNetworkOperation op);
+ protected native void operationGet(QNetworkOperation op);
+ protected native void operationPut(QNetworkOperation op);
+ protected native void hostFound();
+ protected native void connected();
+ protected native void closed();
+ protected native void dataHostFound();
+ protected native void dataConnected();
+ protected native void dataClosed();
+ protected native void dataReadyRead();
+ protected native void dataBytesWritten(int nbytes);
+ protected native void error(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/qtjava/javalib/org/kde/qt/QFtpSignals.java b/qtjava/javalib/org/kde/qt/QFtpSignals.java
new file mode 100644
index 00000000..f1b8fa4a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QFtpSignals.java
@@ -0,0 +1,14 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QFtpSignals {
+ void stateChanged(int arg1);
+ void listInfo(QUrlInfo arg1);
+ void readyRead();
+ void dataTransferProgress(int arg1, int arg2);
+ void rawCommandReply(int arg1, String arg2);
+ void commandStarted(int arg1);
+ void commandFinished(int arg1, boolean arg2);
+ void done(boolean arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QGL.java b/qtjava/javalib/org/kde/qt/QGL.java
new file mode 100644
index 00000000..137b480a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QGL.java
@@ -0,0 +1,40 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QGL implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QGL(Class dummy){}
+
+ public static final int DoubleBuffer = 0x0001;
+ public static final int DepthBuffer = 0x0002;
+ public static final int Rgba = 0x0004;
+ public static final int AlphaChannel = 0x0008;
+ public static final int AccumBuffer = 0x0010;
+ public static final int StencilBuffer = 0x0020;
+ public static final int StereoBuffers = 0x0040;
+ public static final int DirectRendering = 0x0080;
+ public static final int HasOverlay = 0x0100;
+ public static final int SingleBuffer = DoubleBuffer<<16;
+ public static final int NoDepthBuffer = DepthBuffer<<16;
+ public static final int ColorIndex = Rgba<<16;
+ public static final int NoAlphaChannel = AlphaChannel<<16;
+ public static final int NoAccumBuffer = AccumBuffer<<16;
+ public static final int NoStencilBuffer = StencilBuffer<<16;
+ public static final int NoStereoBuffers = StereoBuffers<<16;
+ public static final int IndirectRendering = DirectRendering<<16;
+ public static final int NoOverlay = HasOverlay<<16;
+
+ public QGL() {
+ newQGL();
+ }
+ private native void newQGL();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QGLColormap.java b/qtjava/javalib/org/kde/qt/QGLColormap.java
new file mode 100644
index 00000000..818355cc
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QGLColormap.java
@@ -0,0 +1,36 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QGLColormap implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QGLColormap(Class dummy){}
+
+ public QGLColormap() {
+ newQGLColormap();
+ }
+ private native void newQGLColormap();
+ public QGLColormap(QGLColormap arg1) {
+ newQGLColormap(arg1);
+ }
+ private native void newQGLColormap(QGLColormap arg1);
+ public native boolean isEmpty();
+ public native int size();
+ public native void detach();
+ public native void setEntries(int count, int[] colors, int base);
+ public native void setEntries(int count, int[] colors);
+ public native void setEntry(int idx, int color);
+ public native void setEntry(int idx, QColor color);
+ public native int entryRgb(int idx);
+ public native QColor entryColor(int idx);
+ public native int find(int color);
+ public native int findNearest(int color);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QGLContext.java b/qtjava/javalib/org/kde/qt/QGLContext.java
new file mode 100644
index 00000000..41f967ef
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QGLContext.java
@@ -0,0 +1,49 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QGLContext extends QGL {
+ protected QGLContext(Class dummy){super((Class) null);}
+ public QGLContext(QGLFormat format, QPaintDeviceInterface device) {
+ super((Class) null);
+ newQGLContext(format,device);
+ }
+ private native void newQGLContext(QGLFormat format, QPaintDeviceInterface device);
+ public QGLContext(QGLFormat format) {
+ super((Class) null);
+ newQGLContext(format);
+ }
+ private native void newQGLContext(QGLFormat format);
+ public native boolean create(QGLContext shareContext);
+ public native boolean create();
+ public native boolean isValid();
+ public native boolean isSharing();
+ public native void reset();
+ public native QGLFormat format();
+ public native QGLFormat requestedFormat();
+ public native void setFormat(QGLFormat format);
+ public native void makeCurrent();
+ public native void swapBuffers();
+ public native QPaintDeviceInterface device();
+ public native QColor overlayTransparentColor();
+ public static native QGLContext currentContext();
+ protected native boolean chooseContext(QGLContext shareContext);
+ protected native boolean chooseContext();
+ protected native void doneCurrent();
+ protected native boolean deviceIsPixmap();
+ protected native boolean windowCreated();
+ protected native void setWindowCreated(boolean on);
+ protected native boolean initialized();
+ protected native void setInitialized(boolean on);
+ protected native void generateFontDisplayLists(QFont fnt, int listBase);
+ protected native int colorIndex(QColor c);
+ protected native void setValid(boolean valid);
+ protected native void setDevice(QPaintDeviceInterface pDev);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QGLFormat.java b/qtjava/javalib/org/kde/qt/QGLFormat.java
new file mode 100644
index 00000000..d8112b68
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QGLFormat.java
@@ -0,0 +1,57 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QGLFormat extends QGL {
+ protected QGLFormat(Class dummy){super((Class) null);}
+ public QGLFormat() {
+ super((Class) null);
+ newQGLFormat();
+ }
+ private native void newQGLFormat();
+ public QGLFormat(int options, int plane) {
+ super((Class) null);
+ newQGLFormat(options,plane);
+ }
+ private native void newQGLFormat(int options, int plane);
+ public QGLFormat(int options) {
+ super((Class) null);
+ newQGLFormat(options);
+ }
+ private native void newQGLFormat(int options);
+ public native boolean doubleBuffer();
+ public native void setDoubleBuffer(boolean enable);
+ public native boolean depth();
+ public native void setDepth(boolean enable);
+ public native boolean rgba();
+ public native void setRgba(boolean enable);
+ public native boolean alpha();
+ public native void setAlpha(boolean enable);
+ public native boolean accum();
+ public native void setAccum(boolean enable);
+ public native boolean stencil();
+ public native void setStencil(boolean enable);
+ public native boolean stereo();
+ public native void setStereo(boolean enable);
+ public native boolean directRendering();
+ public native void setDirectRendering(boolean enable);
+ public native boolean hasOverlay();
+ public native void setOverlay(boolean enable);
+ public native int plane();
+ public native void setPlane(int plane);
+ public native void setOption(int opt);
+ public native boolean testOption(int opt);
+ public static native QGLFormat defaultFormat();
+ public static native void setDefaultFormat(QGLFormat f);
+ public static native QGLFormat defaultOverlayFormat();
+ public static native void setDefaultOverlayFormat(QGLFormat f);
+ public static native boolean hasOpenGL();
+ public static native boolean hasOpenGLOverlays();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QGLWidget.java b/qtjava/javalib/org/kde/qt/QGLWidget.java
new file mode 100644
index 00000000..83af7d6c
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QGLWidget.java
@@ -0,0 +1,136 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QGLWidget extends QGL {
+ protected QGLWidget(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QGLWidget(QWidget parent, String name, QGLWidget shareWidget, int f) {
+ super((Class) null);
+ newQGLWidget(parent,name,shareWidget,f);
+ }
+ private native void newQGLWidget(QWidget parent, String name, QGLWidget shareWidget, int f);
+ public QGLWidget(QWidget parent, String name, QGLWidget shareWidget) {
+ super((Class) null);
+ newQGLWidget(parent,name,shareWidget);
+ }
+ private native void newQGLWidget(QWidget parent, String name, QGLWidget shareWidget);
+ public QGLWidget(QWidget parent, String name) {
+ super((Class) null);
+ newQGLWidget(parent,name);
+ }
+ private native void newQGLWidget(QWidget parent, String name);
+ public QGLWidget(QWidget parent) {
+ super((Class) null);
+ newQGLWidget(parent);
+ }
+ private native void newQGLWidget(QWidget parent);
+ public QGLWidget() {
+ super((Class) null);
+ newQGLWidget();
+ }
+ private native void newQGLWidget();
+ public QGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget, int f) {
+ super((Class) null);
+ newQGLWidget(context,parent,name,shareWidget,f);
+ }
+ private native void newQGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget, int f);
+ public QGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget) {
+ super((Class) null);
+ newQGLWidget(context,parent,name,shareWidget);
+ }
+ private native void newQGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget);
+ public QGLWidget(QGLContext context, QWidget parent, String name) {
+ super((Class) null);
+ newQGLWidget(context,parent,name);
+ }
+ private native void newQGLWidget(QGLContext context, QWidget parent, String name);
+ public QGLWidget(QGLContext context, QWidget parent) {
+ super((Class) null);
+ newQGLWidget(context,parent);
+ }
+ private native void newQGLWidget(QGLContext context, QWidget parent);
+ public QGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget, int f) {
+ super((Class) null);
+ newQGLWidget(format,parent,name,shareWidget,f);
+ }
+ private native void newQGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget, int f);
+ public QGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget) {
+ super((Class) null);
+ newQGLWidget(format,parent,name,shareWidget);
+ }
+ private native void newQGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget);
+ public QGLWidget(QGLFormat format, QWidget parent, String name) {
+ super((Class) null);
+ newQGLWidget(format,parent,name);
+ }
+ private native void newQGLWidget(QGLFormat format, QWidget parent, String name);
+ public QGLWidget(QGLFormat format, QWidget parent) {
+ super((Class) null);
+ newQGLWidget(format,parent);
+ }
+ private native void newQGLWidget(QGLFormat format, QWidget parent);
+ public QGLWidget(QGLFormat format) {
+ super((Class) null);
+ newQGLWidget(format);
+ }
+ private native void newQGLWidget(QGLFormat format);
+ public native void qglColor(QColor c);
+ public native void qglClearColor(QColor c);
+ public native boolean isValid();
+ public native boolean isSharing();
+ public native void makeCurrent();
+ public native void doneCurrent();
+ public native boolean doubleBuffer();
+ public native void swapBuffers();
+ public native QGLFormat format();
+ public native void setFormat(QGLFormat format);
+ public native QGLContext context();
+ public native void setContext(QGLContext context, QGLContext shareContext, boolean deleteOldContext);
+ public native void setContext(QGLContext context, QGLContext shareContext);
+ public native void setContext(QGLContext context);
+ public native QPixmap renderPixmap(int w, int h, boolean useContext);
+ public native QPixmap renderPixmap(int w, int h);
+ public native QPixmap renderPixmap(int w);
+ public native QPixmap renderPixmap();
+ public native QImage grabFrameBuffer(boolean withAlpha);
+ public native QImage grabFrameBuffer();
+ public native void makeOverlayCurrent();
+ public native QGLContext overlayContext();
+ public native void setMouseTracking(boolean enable);
+ public native void reparent(QWidget parent, int f, QPoint p, boolean showIt);
+ public native void reparent(QWidget parent, int f, QPoint p);
+ public native QGLColormap colormap();
+ public native void setColormap(QGLColormap map);
+ public native void renderText(int x, int y, String str, QFont fnt, int listBase);
+ public native void renderText(int x, int y, String str, QFont fnt);
+ public native void renderText(int x, int y, String str);
+ public native void renderText(double x, double y, double z, String str, QFont fnt, int listBase);
+ public native void renderText(double x, double y, double z, String str, QFont fnt);
+ public native void renderText(double x, double y, double z, String str);
+ public native void updateGL();
+ public native void updateOverlayGL();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native QImage convertToGLFormat(QImage img);
+ protected native void initializeGL();
+ protected native void resizeGL(int w, int h);
+ protected native void paintGL();
+ protected native void initializeOverlayGL();
+ protected native void resizeOverlayGL(int w, int h);
+ protected native void paintOverlayGL();
+ protected native void setAutoBufferSwap(boolean on);
+ protected native boolean autoBufferSwap();
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void glInit();
+ protected native void glDraw();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QGb18030Codec.java b/qtjava/javalib/org/kde/qt/QGb18030Codec.java
new file mode 100644
index 00000000..97b074b6
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QGb18030Codec.java
@@ -0,0 +1,26 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QGb18030Codec extends QTextCodec {
+ protected QGb18030Codec(Class dummy){super((Class) null);}
+ public QGb18030Codec() {
+ super((Class) null);
+ newQGb18030Codec();
+ }
+ private native void newQGb18030Codec();
+ public native int mibEnum();
+ public native String name();
+ public native QTextDecoder makeDecoder();
+ public native String fromUnicode(String uc, int[] lenInOut);
+ public native String toUnicode(String chars, int len);
+ public native int heuristicContentMatch(String chars, int len);
+ public native int heuristicNameMatch(String hint);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QGbkCodec.java b/qtjava/javalib/org/kde/qt/QGbkCodec.java
new file mode 100644
index 00000000..78a726c4
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QGbkCodec.java
@@ -0,0 +1,26 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QGbkCodec extends QGb18030Codec {
+ protected QGbkCodec(Class dummy){super((Class) null);}
+ public QGbkCodec() {
+ super((Class) null);
+ newQGbkCodec();
+ }
+ private native void newQGbkCodec();
+ public native int mibEnum();
+ public native String name();
+ public native QTextDecoder makeDecoder();
+ public native String fromUnicode(String uc, int[] lenInOut);
+ public native String toUnicode(String chars, int len);
+ public native int heuristicContentMatch(String chars, int len);
+ public native int heuristicNameMatch(String hint);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QGrid.java b/qtjava/javalib/org/kde/qt/QGrid.java
new file mode 100644
index 00000000..7b9e76b3
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QGrid.java
@@ -0,0 +1,61 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QGrid extends QFrame {
+ protected QGrid(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QGrid(int n, QWidget parent, String name, int f) {
+ super((Class) null);
+ newQGrid(n,parent,name,f);
+ }
+ private native void newQGrid(int n, QWidget parent, String name, int f);
+ public QGrid(int n, QWidget parent, String name) {
+ super((Class) null);
+ newQGrid(n,parent,name);
+ }
+ private native void newQGrid(int n, QWidget parent, String name);
+ public QGrid(int n, QWidget parent) {
+ super((Class) null);
+ newQGrid(n,parent);
+ }
+ private native void newQGrid(int n, QWidget parent);
+ public QGrid(int n) {
+ super((Class) null);
+ newQGrid(n);
+ }
+ private native void newQGrid(int n);
+ public QGrid(int n, int orient, QWidget parent, String name, int f) {
+ super((Class) null);
+ newQGrid(n,orient,parent,name,f);
+ }
+ private native void newQGrid(int n, int orient, QWidget parent, String name, int f);
+ public QGrid(int n, int orient, QWidget parent, String name) {
+ super((Class) null);
+ newQGrid(n,orient,parent,name);
+ }
+ private native void newQGrid(int n, int orient, QWidget parent, String name);
+ public QGrid(int n, int orient, QWidget parent) {
+ super((Class) null);
+ newQGrid(n,orient,parent);
+ }
+ private native void newQGrid(int n, int orient, QWidget parent);
+ public QGrid(int n, int orient) {
+ super((Class) null);
+ newQGrid(n,orient);
+ }
+ private native void newQGrid(int n, int orient);
+ public native void setSpacing(int arg1);
+ public native QSize sizeHint();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void frameChanged();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QGridLayout.java b/qtjava/javalib/org/kde/qt/QGridLayout.java
new file mode 100644
index 00000000..da08a17d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QGridLayout.java
@@ -0,0 +1,142 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QGridLayout extends QLayout {
+ protected QGridLayout(Class dummy){super((Class) null);}
+ public static final int TopLeft = 0;
+ public static final int TopRight = 1;
+ public static final int BottomLeft = 2;
+ public static final int BottomRight = 3;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QGridLayout(QWidget parent, int nRows, int nCols, int border, int spacing, String name) {
+ super((Class) null);
+ newQGridLayout(parent,nRows,nCols,border,spacing,name);
+ }
+ private native void newQGridLayout(QWidget parent, int nRows, int nCols, int border, int spacing, String name);
+ public QGridLayout(QWidget parent, int nRows, int nCols, int border, int spacing) {
+ super((Class) null);
+ newQGridLayout(parent,nRows,nCols,border,spacing);
+ }
+ private native void newQGridLayout(QWidget parent, int nRows, int nCols, int border, int spacing);
+ public QGridLayout(QWidget parent, int nRows, int nCols, int border) {
+ super((Class) null);
+ newQGridLayout(parent,nRows,nCols,border);
+ }
+ private native void newQGridLayout(QWidget parent, int nRows, int nCols, int border);
+ public QGridLayout(QWidget parent, int nRows, int nCols) {
+ super((Class) null);
+ newQGridLayout(parent,nRows,nCols);
+ }
+ private native void newQGridLayout(QWidget parent, int nRows, int nCols);
+ public QGridLayout(QWidget parent, int nRows) {
+ super((Class) null);
+ newQGridLayout(parent,nRows);
+ }
+ private native void newQGridLayout(QWidget parent, int nRows);
+ public QGridLayout(QWidget parent) {
+ super((Class) null);
+ newQGridLayout(parent);
+ }
+ private native void newQGridLayout(QWidget parent);
+ public QGridLayout(int nRows, int nCols, int spacing, String name) {
+ super((Class) null);
+ newQGridLayout(nRows,nCols,spacing,name);
+ }
+ private native void newQGridLayout(int nRows, int nCols, int spacing, String name);
+ public QGridLayout(int nRows, int nCols, int spacing) {
+ super((Class) null);
+ newQGridLayout(nRows,nCols,spacing);
+ }
+ private native void newQGridLayout(int nRows, int nCols, int spacing);
+ public QGridLayout(int nRows, int nCols) {
+ super((Class) null);
+ newQGridLayout(nRows,nCols);
+ }
+ private native void newQGridLayout(int nRows, int nCols);
+ public QGridLayout(int nRows) {
+ super((Class) null);
+ newQGridLayout(nRows);
+ }
+ private native void newQGridLayout(int nRows);
+ public QGridLayout() {
+ super((Class) null);
+ newQGridLayout();
+ }
+ private native void newQGridLayout();
+ public QGridLayout(QLayout parentLayout, int nRows, int nCols, int spacing, String name) {
+ super((Class) null);
+ newQGridLayout(parentLayout,nRows,nCols,spacing,name);
+ }
+ private native void newQGridLayout(QLayout parentLayout, int nRows, int nCols, int spacing, String name);
+ public QGridLayout(QLayout parentLayout, int nRows, int nCols, int spacing) {
+ super((Class) null);
+ newQGridLayout(parentLayout,nRows,nCols,spacing);
+ }
+ private native void newQGridLayout(QLayout parentLayout, int nRows, int nCols, int spacing);
+ public QGridLayout(QLayout parentLayout, int nRows, int nCols) {
+ super((Class) null);
+ newQGridLayout(parentLayout,nRows,nCols);
+ }
+ private native void newQGridLayout(QLayout parentLayout, int nRows, int nCols);
+ public QGridLayout(QLayout parentLayout, int nRows) {
+ super((Class) null);
+ newQGridLayout(parentLayout,nRows);
+ }
+ private native void newQGridLayout(QLayout parentLayout, int nRows);
+ public QGridLayout(QLayout parentLayout) {
+ super((Class) null);
+ newQGridLayout(parentLayout);
+ }
+ private native void newQGridLayout(QLayout parentLayout);
+ public native QSize sizeHint();
+ public native QSize minimumSize();
+ public native QSize maximumSize();
+ public native void setRowStretch(int row, int stretch);
+ public native void setColStretch(int col, int stretch);
+ public native int rowStretch(int row);
+ public native int colStretch(int col);
+ public native void setRowSpacing(int row, int minSize);
+ public native void setColSpacing(int col, int minSize);
+ public native int rowSpacing(int row);
+ public native int colSpacing(int col);
+ public native int numRows();
+ public native int numCols();
+ public native QRect cellGeometry(int row, int col);
+ public native boolean hasHeightForWidth();
+ public native int heightForWidth(int arg1);
+ public native int minimumHeightForWidth(int arg1);
+ public native int expanding();
+ public native void invalidate();
+ public native void addItem(QLayoutItemInterface arg1);
+ public native void addItem(QLayoutItemInterface item, int row, int col);
+ public native void addMultiCell(QLayoutItemInterface arg1, int fromRow, int toRow, int fromCol, int toCol, int align);
+ public native void addMultiCell(QLayoutItemInterface arg1, int fromRow, int toRow, int fromCol, int toCol);
+ public native void addWidget(QWidget arg1, int row, int col, int align);
+ public native void addWidget(QWidget arg1, int row, int col);
+ public native void addMultiCellWidget(QWidget arg1, int fromRow, int toRow, int fromCol, int toCol, int align);
+ public native void addMultiCellWidget(QWidget arg1, int fromRow, int toRow, int fromCol, int toCol);
+ public native void addLayout(QLayout layout, int row, int col);
+ public native void addMultiCellLayout(QLayout layout, int fromRow, int toRow, int fromCol, int toCol, int align);
+ public native void addMultiCellLayout(QLayout layout, int fromRow, int toRow, int fromCol, int toCol);
+ public native void addRowSpacing(int row, int minsize);
+ public native void addColSpacing(int col, int minsize);
+ public native void expand(int rows, int cols);
+ public native void setOrigin(int arg1);
+ public native int origin();
+ // QLayoutIterator iterator(); >>>> NOT CONVERTED
+ public native void setGeometry(QRect arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native boolean findWidget(QWidget w, int[] r, int[] c);
+ protected native void add(QLayoutItemInterface arg1, int row, int 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/qtjava/javalib/org/kde/qt/QGridView.java b/qtjava/javalib/org/kde/qt/QGridView.java
new file mode 100644
index 00000000..a57b7886
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QGridView.java
@@ -0,0 +1,29 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QGridView extends QScrollView {
+ protected QGridView(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public native int numRows();
+ public native void setNumRows(int arg1);
+ public native int numCols();
+ public native void setNumCols(int arg1);
+ public native int cellWidth();
+ public native void setCellWidth(int arg1);
+ public native int cellHeight();
+ public native void setCellHeight(int arg1);
+ public native QRect cellRect();
+ public native QRect cellGeometry(int row, int column);
+ public native QSize gridSize();
+ public native int rowAt(int y);
+ public native int columnAt(int x);
+ public native void repaintCell(int row, int column, boolean erase);
+ public native void repaintCell(int row, int column);
+ public native void updateCell(int row, int column);
+ public native void ensureCellVisible(int row, int column);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QGroupBox.java b/qtjava/javalib/org/kde/qt/QGroupBox.java
new file mode 100644
index 00000000..5de0cf05
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QGroupBox.java
@@ -0,0 +1,109 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QGroupBoxSignals} for signals emitted by QGroupBox
+*/
+public class QGroupBox extends QFrame {
+ protected QGroupBox(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QGroupBox(QWidget parent, String name) {
+ super((Class) null);
+ newQGroupBox(parent,name);
+ }
+ private native void newQGroupBox(QWidget parent, String name);
+ public QGroupBox(QWidget parent) {
+ super((Class) null);
+ newQGroupBox(parent);
+ }
+ private native void newQGroupBox(QWidget parent);
+ public QGroupBox() {
+ super((Class) null);
+ newQGroupBox();
+ }
+ private native void newQGroupBox();
+ public QGroupBox(String title, QWidget parent, String name) {
+ super((Class) null);
+ newQGroupBox(title,parent,name);
+ }
+ private native void newQGroupBox(String title, QWidget parent, String name);
+ public QGroupBox(String title, QWidget parent) {
+ super((Class) null);
+ newQGroupBox(title,parent);
+ }
+ private native void newQGroupBox(String title, QWidget parent);
+ public QGroupBox(String title) {
+ super((Class) null);
+ newQGroupBox(title);
+ }
+ private native void newQGroupBox(String title);
+ public QGroupBox(int strips, int o, QWidget parent, String name) {
+ super((Class) null);
+ newQGroupBox(strips,o,parent,name);
+ }
+ private native void newQGroupBox(int strips, int o, QWidget parent, String name);
+ public QGroupBox(int strips, int o, QWidget parent) {
+ super((Class) null);
+ newQGroupBox(strips,o,parent);
+ }
+ private native void newQGroupBox(int strips, int o, QWidget parent);
+ public QGroupBox(int strips, int o) {
+ super((Class) null);
+ newQGroupBox(strips,o);
+ }
+ private native void newQGroupBox(int strips, int o);
+ public QGroupBox(int strips, int o, String title, QWidget parent, String name) {
+ super((Class) null);
+ newQGroupBox(strips,o,title,parent,name);
+ }
+ private native void newQGroupBox(int strips, int o, String title, QWidget parent, String name);
+ public QGroupBox(int strips, int o, String title, QWidget parent) {
+ super((Class) null);
+ newQGroupBox(strips,o,title,parent);
+ }
+ private native void newQGroupBox(int strips, int o, String title, QWidget parent);
+ public QGroupBox(int strips, int o, String title) {
+ super((Class) null);
+ newQGroupBox(strips,o,title);
+ }
+ private native void newQGroupBox(int strips, int o, String title);
+ public native void setColumnLayout(int strips, int o);
+ public native String title();
+ public native void setTitle(String arg1);
+ public native int alignment();
+ public native void setAlignment(int arg1);
+ public native int columns();
+ public native void setColumns(int arg1);
+ public native int orientation();
+ public native void setOrientation(int arg1);
+ public native int insideMargin();
+ public native int insideSpacing();
+ public native void setInsideMargin(int m);
+ public native void setInsideSpacing(int s);
+ public native void addSpace(int arg1);
+ public native QSize sizeHint();
+ public native boolean isFlat();
+ public native void setFlat(boolean b);
+ public native boolean isCheckable();
+ public native void setCheckable(boolean b);
+ public native boolean isChecked();
+ public native void setEnabled(boolean on);
+ public native void setChecked(boolean b);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public native boolean event(QEvent arg1);
+ protected native void childEvent(QChildEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void focusInEvent(QFocusEvent arg1);
+ protected native void fontChange(QFont 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/qtjava/javalib/org/kde/qt/QGroupBoxSignals.java b/qtjava/javalib/org/kde/qt/QGroupBoxSignals.java
new file mode 100644
index 00000000..acf42709
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QGroupBoxSignals.java
@@ -0,0 +1,7 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QGroupBoxSignals {
+ void toggled(boolean arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QHBox.java b/qtjava/javalib/org/kde/qt/QHBox.java
new file mode 100644
index 00000000..5082fd6b
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QHBox.java
@@ -0,0 +1,52 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QHBox extends QFrame {
+ protected QHBox(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QHBox(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQHBox(parent,name,f);
+ }
+ private native void newQHBox(QWidget parent, String name, int f);
+ public QHBox(QWidget parent, String name) {
+ super((Class) null);
+ newQHBox(parent,name);
+ }
+ private native void newQHBox(QWidget parent, String name);
+ public QHBox(QWidget parent) {
+ super((Class) null);
+ newQHBox(parent);
+ }
+ private native void newQHBox(QWidget parent);
+ public QHBox() {
+ super((Class) null);
+ newQHBox();
+ }
+ private native void newQHBox();
+ public native void setSpacing(int arg1);
+ public native boolean setStretchFactor(QWidget arg1, int stretch);
+ public native QSize sizeHint();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public QHBox(boolean horizontal, QWidget parent, String name, int f) {
+ super((Class) null);
+ newQHBox(horizontal,parent,name,f);
+ }
+ private native void newQHBox(boolean horizontal, QWidget parent, String name, int f);
+ public QHBox(boolean horizontal, QWidget parent, String name) {
+ super((Class) null);
+ newQHBox(horizontal,parent,name);
+ }
+ private native void newQHBox(boolean horizontal, QWidget parent, String name);
+ protected native void frameChanged();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QHBoxLayout.java b/qtjava/javalib/org/kde/qt/QHBoxLayout.java
new file mode 100644
index 00000000..590eabb6
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QHBoxLayout.java
@@ -0,0 +1,68 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QHBoxLayout extends QBoxLayout {
+ protected QHBoxLayout(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QHBoxLayout(QWidget parent, int border, int spacing, String name) {
+ super((Class) null);
+ newQHBoxLayout(parent,border,spacing,name);
+ }
+ private native void newQHBoxLayout(QWidget parent, int border, int spacing, String name);
+ public QHBoxLayout(QWidget parent, int border, int spacing) {
+ super((Class) null);
+ newQHBoxLayout(parent,border,spacing);
+ }
+ private native void newQHBoxLayout(QWidget parent, int border, int spacing);
+ public QHBoxLayout(QWidget parent, int border) {
+ super((Class) null);
+ newQHBoxLayout(parent,border);
+ }
+ private native void newQHBoxLayout(QWidget parent, int border);
+ public QHBoxLayout(QWidget parent) {
+ super((Class) null);
+ newQHBoxLayout(parent);
+ }
+ private native void newQHBoxLayout(QWidget parent);
+ public QHBoxLayout(QLayout parentLayout, int spacing, String name) {
+ super((Class) null);
+ newQHBoxLayout(parentLayout,spacing,name);
+ }
+ private native void newQHBoxLayout(QLayout parentLayout, int spacing, String name);
+ public QHBoxLayout(QLayout parentLayout, int spacing) {
+ super((Class) null);
+ newQHBoxLayout(parentLayout,spacing);
+ }
+ private native void newQHBoxLayout(QLayout parentLayout, int spacing);
+ public QHBoxLayout(QLayout parentLayout) {
+ super((Class) null);
+ newQHBoxLayout(parentLayout);
+ }
+ private native void newQHBoxLayout(QLayout parentLayout);
+ public QHBoxLayout(int spacing, String name) {
+ super((Class) null);
+ newQHBoxLayout(spacing,name);
+ }
+ private native void newQHBoxLayout(int spacing, String name);
+ public QHBoxLayout(int spacing) {
+ super((Class) null);
+ newQHBoxLayout(spacing);
+ }
+ private native void newQHBoxLayout(int spacing);
+ public QHBoxLayout() {
+ super((Class) null);
+ newQHBoxLayout();
+ }
+ private native void newQHBoxLayout();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QHButtonGroup.java b/qtjava/javalib/org/kde/qt/QHButtonGroup.java
new file mode 100644
index 00000000..833eba74
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QHButtonGroup.java
@@ -0,0 +1,48 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QHButtonGroup extends QButtonGroup {
+ protected QHButtonGroup(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QHButtonGroup(QWidget parent, String name) {
+ super((Class) null);
+ newQHButtonGroup(parent,name);
+ }
+ private native void newQHButtonGroup(QWidget parent, String name);
+ public QHButtonGroup(QWidget parent) {
+ super((Class) null);
+ newQHButtonGroup(parent);
+ }
+ private native void newQHButtonGroup(QWidget parent);
+ public QHButtonGroup() {
+ super((Class) null);
+ newQHButtonGroup();
+ }
+ private native void newQHButtonGroup();
+ public QHButtonGroup(String title, QWidget parent, String name) {
+ super((Class) null);
+ newQHButtonGroup(title,parent,name);
+ }
+ private native void newQHButtonGroup(String title, QWidget parent, String name);
+ public QHButtonGroup(String title, QWidget parent) {
+ super((Class) null);
+ newQHButtonGroup(title,parent);
+ }
+ private native void newQHButtonGroup(String title, QWidget parent);
+ public QHButtonGroup(String title) {
+ super((Class) null);
+ newQHButtonGroup(title);
+ }
+ private native void newQHButtonGroup(String title);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QHGroupBox.java b/qtjava/javalib/org/kde/qt/QHGroupBox.java
new file mode 100644
index 00000000..2c533043
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QHGroupBox.java
@@ -0,0 +1,48 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QHGroupBox extends QGroupBox {
+ protected QHGroupBox(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QHGroupBox(QWidget parent, String name) {
+ super((Class) null);
+ newQHGroupBox(parent,name);
+ }
+ private native void newQHGroupBox(QWidget parent, String name);
+ public QHGroupBox(QWidget parent) {
+ super((Class) null);
+ newQHGroupBox(parent);
+ }
+ private native void newQHGroupBox(QWidget parent);
+ public QHGroupBox() {
+ super((Class) null);
+ newQHGroupBox();
+ }
+ private native void newQHGroupBox();
+ public QHGroupBox(String title, QWidget parent, String name) {
+ super((Class) null);
+ newQHGroupBox(title,parent,name);
+ }
+ private native void newQHGroupBox(String title, QWidget parent, String name);
+ public QHGroupBox(String title, QWidget parent) {
+ super((Class) null);
+ newQHGroupBox(title,parent);
+ }
+ private native void newQHGroupBox(String title, QWidget parent);
+ public QHGroupBox(String title) {
+ super((Class) null);
+ newQHGroupBox(title);
+ }
+ private native void newQHGroupBox(String title);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QHeader.java b/qtjava/javalib/org/kde/qt/QHeader.java
new file mode 100644
index 00000000..1a8b0eff
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QHeader.java
@@ -0,0 +1,120 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QHeaderSignals} for signals emitted by QHeader
+*/
+public class QHeader extends QWidget {
+ protected QHeader(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QHeader(QWidget parent, String name) {
+ super((Class) null);
+ newQHeader(parent,name);
+ }
+ private native void newQHeader(QWidget parent, String name);
+ public QHeader(QWidget parent) {
+ super((Class) null);
+ newQHeader(parent);
+ }
+ private native void newQHeader(QWidget parent);
+ public QHeader() {
+ super((Class) null);
+ newQHeader();
+ }
+ private native void newQHeader();
+ public QHeader(int arg1, QWidget parent, String name) {
+ super((Class) null);
+ newQHeader(arg1,parent,name);
+ }
+ private native void newQHeader(int arg1, QWidget parent, String name);
+ public QHeader(int arg1, QWidget parent) {
+ super((Class) null);
+ newQHeader(arg1,parent);
+ }
+ private native void newQHeader(int arg1, QWidget parent);
+ public QHeader(int arg1) {
+ super((Class) null);
+ newQHeader(arg1);
+ }
+ private native void newQHeader(int arg1);
+ public native int addLabel(String arg1, int size);
+ public native int addLabel(String arg1);
+ public native int addLabel(QIconSet arg1, String arg2, int size);
+ public native int addLabel(QIconSet arg1, String arg2);
+ public native void removeLabel(int section);
+ public native void setLabel(int arg1, String arg2, int size);
+ public native void setLabel(int arg1, String arg2);
+ public native void setLabel(int arg1, QIconSet arg2, String arg3, int size);
+ public native void setLabel(int arg1, QIconSet arg2, String arg3);
+ public native String label(int section);
+ public native QIconSet iconSet(int section);
+ public native void setOrientation(int arg1);
+ public native int orientation();
+ public native void setTracking(boolean enable);
+ public native boolean tracking();
+ public native void setClickEnabled(boolean arg1, int section);
+ public native void setClickEnabled(boolean arg1);
+ public native void setResizeEnabled(boolean arg1, int section);
+ public native void setResizeEnabled(boolean arg1);
+ public native void setMovingEnabled(boolean arg1);
+ public native void setStretchEnabled(boolean b, int section);
+ public native void setStretchEnabled(boolean b);
+ public native boolean isClickEnabled(int section);
+ public native boolean isClickEnabled();
+ public native boolean isResizeEnabled(int section);
+ public native boolean isResizeEnabled();
+ public native boolean isMovingEnabled();
+ public native boolean isStretchEnabled();
+ public native boolean isStretchEnabled(int section);
+ public native void resizeSection(int section, int s);
+ public native int sectionSize(int section);
+ public native int sectionPos(int section);
+ public native int sectionAt(int pos);
+ public native int count();
+ public native int headerWidth();
+ public native QRect sectionRect(int section);
+ public native void setCellSize(int arg1, int arg2);
+ public native int cellSize(int i);
+ public native int cellPos(int arg1);
+ public native int cellAt(int pos);
+ public native int offset();
+ public native QSize sizeHint();
+ public native int mapToSection(int index);
+ public native int mapToIndex(int section);
+ public native int mapToLogical(int arg1);
+ public native int mapToActual(int arg1);
+ public native void moveSection(int section, int toIndex);
+ public native void moveCell(int arg1, int arg2);
+ public native void setSortIndicator(int section, boolean ascending);
+ public native void setSortIndicator(int section);
+ public native void setSortIndicator(int section, int order);
+ public native int sortIndicatorSection();
+ public native int sortIndicatorOrder();
+ public native void adjustHeaderSize();
+ public native void setUpdatesEnabled(boolean enable);
+ public native void setOffset(int pos);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ public native void showEvent(QShowEvent e);
+ protected native void resizeEvent(QResizeEvent e);
+ protected native QRect sRect(int index);
+ protected native void paintSection(QPainter p, int index, QRect fr);
+ protected native void paintSectionLabel(QPainter p, int index, QRect fr);
+ protected native void fontChange(QFont arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ protected native void mouseDoubleClickEvent(QMouseEvent arg1);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ protected native void keyReleaseEvent(QKeyEvent 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/qtjava/javalib/org/kde/qt/QHeaderSignals.java b/qtjava/javalib/org/kde/qt/QHeaderSignals.java
new file mode 100644
index 00000000..2a48cda3
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QHeaderSignals.java
@@ -0,0 +1,14 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QHeaderSignals {
+ void clicked(int section);
+ void pressed(int section);
+ void released(int section);
+ void sizeChange(int section, int oldSize, int newSize);
+ void indexChange(int section, int fromIndex, int toIndex);
+ void sectionClicked(int arg1);
+ void moved(int arg1, int arg2);
+ void sectionHandleDoubleClicked(int section);
+}
diff --git a/qtjava/javalib/org/kde/qt/QHebrewCodec.java b/qtjava/javalib/org/kde/qt/QHebrewCodec.java
new file mode 100644
index 00000000..d7b4b7f7
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QHebrewCodec.java
@@ -0,0 +1,25 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QHebrewCodec extends QTextCodec {
+ protected QHebrewCodec(Class dummy){super((Class) null);}
+ public native int mibEnum();
+ public native String name();
+ public native String mimeName();
+ public native String fromUnicode(String uc, int[] lenInOut);
+ public native String toUnicode(String chars, int len);
+ public native int heuristicContentMatch(String chars, int len);
+ public QHebrewCodec() {
+ super((Class) null);
+ newQHebrewCodec();
+ }
+ private native void newQHebrewCodec();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QHideEvent.java b/qtjava/javalib/org/kde/qt/QHideEvent.java
new file mode 100644
index 00000000..ae94ee3e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QHideEvent.java
@@ -0,0 +1,19 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QHideEvent extends QEvent {
+ protected QHideEvent(Class dummy){super((Class) null);}
+ public QHideEvent() {
+ super((Class) null);
+ newQHideEvent();
+ }
+ private native void newQHideEvent();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QHostAddress.java b/qtjava/javalib/org/kde/qt/QHostAddress.java
new file mode 100644
index 00000000..e9fc4ec2
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QHostAddress.java
@@ -0,0 +1,50 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QHostAddress implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QHostAddress(Class dummy){}
+
+ public QHostAddress() {
+ newQHostAddress();
+ }
+ private native void newQHostAddress();
+ public QHostAddress(int ip4Addr) {
+ newQHostAddress(ip4Addr);
+ }
+ private native void newQHostAddress(int ip4Addr);
+ public QHostAddress(short ip6Addr) {
+ newQHostAddress(ip6Addr);
+ }
+ private native void newQHostAddress(short ip6Addr);
+ // QHostAddress* QHostAddress(const Q_IPV6ADDR& arg1); >>>> NOT CONVERTED
+ public QHostAddress(String address) {
+ newQHostAddress(address);
+ }
+ private native void newQHostAddress(String address);
+ public QHostAddress(QHostAddress arg1) {
+ newQHostAddress(arg1);
+ }
+ private native void newQHostAddress(QHostAddress arg1);
+ public native void setAddress(int ip4Addr);
+ public native void setAddress(short ip6Addr);
+ public native boolean setAddress(String address);
+ public native boolean isIp4Addr();
+ public native int ip4Addr();
+ public native boolean isIPv4Address();
+ public native int toIPv4Address();
+ public native boolean isIPv6Address();
+ // Q_IPV6ADDR toIPv6Address(); >>>> NOT CONVERTED
+ public native String toString();
+ public native boolean op_equals(QHostAddress arg1);
+ public native boolean isNull();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QHttp.java b/qtjava/javalib/org/kde/qt/QHttp.java
new file mode 100644
index 00000000..ff15f879
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QHttp.java
@@ -0,0 +1,105 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QHttpSignals} for signals emitted by QHttp
+*/
+public class QHttp extends QNetworkProtocol {
+ protected QHttp(Class dummy){super((Class) null);}
+ public static final int Unconnected = 0;
+ public static final int HostLookup = 1;
+ public static final int Connecting = 2;
+ public static final int Sending = 3;
+ public static final int Reading = 4;
+ public static final int Connected = 5;
+ public static final int Closing = 6;
+
+ public static final int NoError = 0;
+ public static final int UnknownError = 1;
+ public static final int HostNotFound = 2;
+ public static final int ConnectionRefused = 3;
+ public static final int UnexpectedClose = 4;
+ public static final int InvalidResponseHeader = 5;
+ public static final int WrongContentLength = 6;
+ public static final int Aborted = 7;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QHttp() {
+ super((Class) null);
+ newQHttp();
+ }
+ private native void newQHttp();
+ public QHttp(QObject parent, String name) {
+ super((Class) null);
+ newQHttp(parent,name);
+ }
+ private native void newQHttp(QObject parent, String name);
+ public QHttp(QObject parent) {
+ super((Class) null);
+ newQHttp(parent);
+ }
+ private native void newQHttp(QObject parent);
+ public QHttp(String hostname, short port, QObject parent, String name) {
+ super((Class) null);
+ newQHttp(hostname,port,parent,name);
+ }
+ private native void newQHttp(String hostname, short port, QObject parent, String name);
+ public QHttp(String hostname, short port, QObject parent) {
+ super((Class) null);
+ newQHttp(hostname,port,parent);
+ }
+ private native void newQHttp(String hostname, short port, QObject parent);
+ public QHttp(String hostname, short port) {
+ super((Class) null);
+ newQHttp(hostname,port);
+ }
+ private native void newQHttp(String hostname, short port);
+ public QHttp(String hostname) {
+ super((Class) null);
+ newQHttp(hostname);
+ }
+ private native void newQHttp(String hostname);
+ public native int supportedOperations();
+ public native int setHost(String hostname, short port);
+ public native int setHost(String hostname);
+ public native int get(String path, QIODeviceInterface to);
+ public native int get(String path);
+ public native int post(String path, QIODeviceInterface data, QIODeviceInterface to);
+ public native int post(String path, QIODeviceInterface data);
+ public native int post(String path, byte[] data, QIODeviceInterface to);
+ public native int post(String path, byte[] data);
+ public native int head(String path);
+ public native int request(QHttpRequestHeader header, QIODeviceInterface device, QIODeviceInterface to);
+ public native int request(QHttpRequestHeader header, QIODeviceInterface device);
+ public native int request(QHttpRequestHeader header);
+ public native int request(QHttpRequestHeader header, byte[] data, QIODeviceInterface to);
+ public native int request(QHttpRequestHeader header, byte[] data);
+ public native int closeConnection();
+ public native long bytesAvailable();
+ public native long readBlock(StringBuffer data, long maxlen);
+ public native byte[] readAll();
+ public native int currentId();
+ public native QIODeviceInterface currentSourceDevice();
+ public native QIODeviceInterface currentDestinationDevice();
+ public native QHttpRequestHeader currentRequest();
+ public native boolean hasPendingRequests();
+ public native void clearPendingRequests();
+ public native int state();
+ public native int error();
+ public native String errorString();
+ public native void abort();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void operationGet(QNetworkOperation op);
+ protected native void operationPut(QNetworkOperation op);
+ protected native void timerEvent(QTimerEvent 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/qtjava/javalib/org/kde/qt/QHttpHeader.java b/qtjava/javalib/org/kde/qt/QHttpHeader.java
new file mode 100644
index 00000000..4250e022
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QHttpHeader.java
@@ -0,0 +1,27 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QHttpHeader implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QHttpHeader(Class dummy){}
+
+ public native String value(String key);
+ public native void setValue(String key, String value);
+ public native void removeValue(String key);
+ public native ArrayList keys();
+ public native boolean hasKey(String key);
+ public native boolean hasContentLength();
+ public native int contentLength();
+ public native void setContentLength(int len);
+ public native boolean hasContentType();
+ public native String contentType();
+ public native void setContentType(String type);
+ public native String toString();
+ public native boolean isValid();
+ public native int majorVersion();
+ public native int minorVersion();
+}
diff --git a/qtjava/javalib/org/kde/qt/QHttpRequestHeader.java b/qtjava/javalib/org/kde/qt/QHttpRequestHeader.java
new file mode 100644
index 00000000..8896ceac
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QHttpRequestHeader.java
@@ -0,0 +1,53 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QHttpRequestHeader extends QHttpHeader {
+ protected QHttpRequestHeader(Class dummy){super((Class) null);}
+ public QHttpRequestHeader() {
+ super((Class) null);
+ newQHttpRequestHeader();
+ }
+ private native void newQHttpRequestHeader();
+ public QHttpRequestHeader(String method, String path, int majorVer, int minorVer) {
+ super((Class) null);
+ newQHttpRequestHeader(method,path,majorVer,minorVer);
+ }
+ private native void newQHttpRequestHeader(String method, String path, int majorVer, int minorVer);
+ public QHttpRequestHeader(String method, String path, int majorVer) {
+ super((Class) null);
+ newQHttpRequestHeader(method,path,majorVer);
+ }
+ private native void newQHttpRequestHeader(String method, String path, int majorVer);
+ public QHttpRequestHeader(String method, String path) {
+ super((Class) null);
+ newQHttpRequestHeader(method,path);
+ }
+ private native void newQHttpRequestHeader(String method, String path);
+ public QHttpRequestHeader(QHttpRequestHeader header) {
+ super((Class) null);
+ newQHttpRequestHeader(header);
+ }
+ private native void newQHttpRequestHeader(QHttpRequestHeader header);
+ public QHttpRequestHeader(String str) {
+ super((Class) null);
+ newQHttpRequestHeader(str);
+ }
+ private native void newQHttpRequestHeader(String str);
+ public native void setRequest(String method, String path, int majorVer, int minorVer);
+ public native void setRequest(String method, String path, int majorVer);
+ public native void setRequest(String method, String path);
+ public native String method();
+ public native String path();
+ public native int majorVersion();
+ public native int minorVersion();
+ public native String toString();
+ protected native boolean parseLine(String line, int number);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QHttpResponseHeader.java b/qtjava/javalib/org/kde/qt/QHttpResponseHeader.java
new file mode 100644
index 00000000..4b2172ff
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QHttpResponseHeader.java
@@ -0,0 +1,30 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QHttpResponseHeader extends QHttpHeader {
+ protected QHttpResponseHeader(Class dummy){super((Class) null);}
+ public QHttpResponseHeader() {
+ super((Class) null);
+ newQHttpResponseHeader();
+ }
+ private native void newQHttpResponseHeader();
+ public QHttpResponseHeader(QHttpResponseHeader header) {
+ super((Class) null);
+ newQHttpResponseHeader(header);
+ }
+ private native void newQHttpResponseHeader(QHttpResponseHeader header);
+ public native int statusCode();
+ public native String reasonPhrase();
+ public native int majorVersion();
+ public native int minorVersion();
+ public native String toString();
+ protected native boolean parseLine(String line, int number);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QHttpSignals.java b/qtjava/javalib/org/kde/qt/QHttpSignals.java
new file mode 100644
index 00000000..e3827550
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QHttpSignals.java
@@ -0,0 +1,14 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QHttpSignals {
+ void stateChanged(int arg1);
+ void responseHeaderReceived(QHttpResponseHeader resp);
+ void readyRead(QHttpResponseHeader resp);
+ void dataSendProgress(int arg1, int arg2);
+ void dataReadProgress(int arg1, int arg2);
+ void requestStarted(int arg1);
+ void requestFinished(int arg1, boolean arg2);
+ void done(boolean arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QIMEvent.java b/qtjava/javalib/org/kde/qt/QIMEvent.java
new file mode 100644
index 00000000..0a5256a9
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QIMEvent.java
@@ -0,0 +1,25 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QIMEvent extends QEvent {
+ protected QIMEvent(Class dummy){super((Class) null);}
+ public QIMEvent(int type, String text, int cursorPosition) {
+ super((Class) null);
+ newQIMEvent(type,text,cursorPosition);
+ }
+ private native void newQIMEvent(int type, String text, int cursorPosition);
+ public native String text();
+ public native int cursorPos();
+ public native boolean isAccepted();
+ public native void accept();
+ public native void ignore();
+ public native int selectionLength();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QIODevice.java b/qtjava/javalib/org/kde/qt/QIODevice.java
new file mode 100644
index 00000000..bedb51d6
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QIODevice.java
@@ -0,0 +1,84 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QIODevice implements QtSupport, QIODeviceInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QIODevice(Class dummy){}
+
+ 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);
+ public static final int IO_Direct = 0x0100; // direct access device
+ public static final int IO_Sequential = 0x0200; // sequential access device
+ public static final int IO_Combined = 0x0300; // combined direct/sequential
+ public static final int IO_TypeMask = 0x0f00;
+
+// IO handling modes
+
+ public static final int IO_Raw = 0x0040; // raw access (not buffered)
+ public static final int IO_Async = 0x0080; // asynchronous mode
+
+// IO device open modes
+
+ public static final int IO_ReadOnly = 0x0001; // readable device
+ public static final int IO_WriteOnly = 0x0002; // writable device
+ public static final int IO_ReadWrite = 0x0003; // read+write device
+ public static final int IO_Append = 0x0004; // append
+ public static final int IO_Truncate = 0x0008; // truncate device
+ public static final int IO_Translate = 0x0010; // translate CR+LF
+ public static final int IO_ModeMask = 0x00ff;
+
+// IO device state
+
+ public static final int IO_Open = 0x1000; // device is open
+ public static final int IO_StateMask = 0xf000;
+
+
+// IO device status
+
+ public static final int IO_Ok = 0;
+ public static final int IO_ReadError = 1; // read error
+ public static final int IO_WriteError = 2; // write error
+ public static final int IO_FatalError = 3; // fatal unrecoverable error
+ public static final int IO_ResourceError = 4; // resource limitation
+ public static final int IO_OpenError = 5; // cannot open device
+ public static final int IO_ConnectError = 5; // cannot connect to device
+ public static final int IO_AbortError = 6; // abort error
+ public static final int IO_TimeOutError = 7; // time out
+ public static final int IO_UnspecifiedError = 8; // unspecified error
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QIODeviceInterface.java b/qtjava/javalib/org/kde/qt/QIODeviceInterface.java
new file mode 100644
index 00000000..1ac4a7fd
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QIODeviceInterface.java
@@ -0,0 +1,40 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QIODeviceInterface {
+ int flags();
+ int mode();
+ int state();
+ boolean isDirectAccess();
+ boolean isSequentialAccess();
+ boolean isCombinedAccess();
+ boolean isBuffered();
+ boolean isRaw();
+ boolean isSynchronous();
+ boolean isAsynchronous();
+ boolean isTranslated();
+ boolean isReadable();
+ boolean isWritable();
+ boolean isReadWrite();
+ boolean isInactive();
+ boolean isOpen();
+ int status();
+ void resetStatus();
+ boolean open(int mode);
+ void close();
+ void flush();
+ long size();
+ long at();
+ boolean at(long arg1);
+ boolean atEnd();
+ boolean reset();
+ long readBlock(StringBuffer data, long maxlen);
+ long writeBlock(String data, long len);
+ long readLine(String data, long maxlen);
+ long writeBlock(byte[] data);
+ byte[] readAll();
+ int getch();
+ int putch(int arg1);
+ int ungetch(int arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QIODeviceSource.java b/qtjava/javalib/org/kde/qt/QIODeviceSource.java
new file mode 100644
index 00000000..e6fa75fb
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QIODeviceSource.java
@@ -0,0 +1,29 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QIODeviceSource extends QDataSource {
+ protected QIODeviceSource(Class dummy){super((Class) null);}
+ public QIODeviceSource(QIODeviceInterface arg1, int bufsize) {
+ super((Class) null);
+ newQIODeviceSource(arg1,bufsize);
+ }
+ private native void newQIODeviceSource(QIODeviceInterface arg1, int bufsize);
+ public QIODeviceSource(QIODeviceInterface arg1) {
+ super((Class) null);
+ newQIODeviceSource(arg1);
+ }
+ private native void newQIODeviceSource(QIODeviceInterface arg1);
+ public native int readyToSend();
+ public native void sendTo(QDataSink sink, int n);
+ public native boolean rewindable();
+ public native void enableRewind(boolean on);
+ public native void rewind();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QIconDrag.java b/qtjava/javalib/org/kde/qt/QIconDrag.java
new file mode 100644
index 00000000..799eb0ba
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QIconDrag.java
@@ -0,0 +1,32 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QIconDrag extends QDragObject {
+ protected QIconDrag(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QIconDrag(QWidget dragSource, String name) {
+ super((Class) null);
+ newQIconDrag(dragSource,name);
+ }
+ private native void newQIconDrag(QWidget dragSource, String name);
+ public QIconDrag(QWidget dragSource) {
+ super((Class) null);
+ newQIconDrag(dragSource);
+ }
+ private native void newQIconDrag(QWidget dragSource);
+ public native void append(QIconDragItem item, QRect pr, QRect tr);
+ public native String format(int i);
+ public native byte[] encodedData(String mime);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native boolean canDecode(QMimeSourceInterface 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/qtjava/javalib/org/kde/qt/QIconDragItem.java b/qtjava/javalib/org/kde/qt/QIconDragItem.java
new file mode 100644
index 00000000..827a6a52
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QIconDragItem.java
@@ -0,0 +1,24 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QIconDragItem implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QIconDragItem(Class dummy){}
+
+ public QIconDragItem() {
+ newQIconDragItem();
+ }
+ private native void newQIconDragItem();
+ public native byte[] data();
+ public native void setData(byte[] d);
+ public native boolean op_equals(QIconDragItem 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/qtjava/javalib/org/kde/qt/QIconSet.java b/qtjava/javalib/org/kde/qt/QIconSet.java
new file mode 100644
index 00000000..bd9df307
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QIconSet.java
@@ -0,0 +1,68 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QIconSet implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QIconSet(Class dummy){}
+
+ public static final int Automatic = 0;
+ public static final int Small = 1;
+ public static final int Large = 2;
+
+ public static final int Normal = 0;
+ public static final int Disabled = 1;
+ public static final int Active = 2;
+
+ public static final int On = 0;
+ public static final int Off = 1;
+
+ public QIconSet() {
+ newQIconSet();
+ }
+ private native void newQIconSet();
+ public QIconSet(QPixmap pixmap, int size) {
+ newQIconSet(pixmap,size);
+ }
+ private native void newQIconSet(QPixmap pixmap, int size);
+ public QIconSet(QPixmap pixmap) {
+ newQIconSet(pixmap);
+ }
+ private native void newQIconSet(QPixmap pixmap);
+ public QIconSet(QPixmap smallPix, QPixmap largePix) {
+ newQIconSet(smallPix,largePix);
+ }
+ private native void newQIconSet(QPixmap smallPix, QPixmap largePix);
+ public QIconSet(QIconSet other) {
+ newQIconSet(other);
+ }
+ private native void newQIconSet(QIconSet other);
+ public native void reset(QPixmap pixmap, int size);
+ public native void setPixmap(QPixmap pixmap, int size, int mode, int state);
+ public native void setPixmap(QPixmap pixmap, int size, int mode);
+ public native void setPixmap(QPixmap pixmap, int size);
+ public native void setPixmap(String fileName, int size, int mode, int state);
+ public native void setPixmap(String fileName, int size, int mode);
+ public native void setPixmap(String fileName, int size);
+ public native QPixmap pixmap(int size, int mode, int state);
+ public native QPixmap pixmap(int size, int mode);
+ public native QPixmap pixmap(int size, boolean enabled, int state);
+ public native QPixmap pixmap(int size, boolean enabled);
+ public native QPixmap pixmap();
+ public native boolean isGenerated(int size, int mode, int state);
+ public native boolean isGenerated(int size, int mode);
+ public native void clearGenerated();
+ // void installIconFactory(QIconFactory* arg1); >>>> NOT CONVERTED
+ public native boolean isNull();
+ public native void detach();
+ public static native void setIconSize(int which, QSize size);
+ public static native QSize iconSize(int which);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QIconView.java b/qtjava/javalib/org/kde/qt/QIconView.java
new file mode 100644
index 00000000..efb0ced0
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QIconView.java
@@ -0,0 +1,154 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QIconViewSignals} for signals emitted by QIconView
+*/
+public class QIconView extends QScrollView {
+ protected QIconView(Class dummy){super((Class) null);}
+ public static final int Single = 0;
+ public static final int Multi = 1;
+ public static final int Extended = 2;
+ public static final int NoSelection = 3;
+
+ public static final int LeftToRight = 0;
+ public static final int TopToBottom = 1;
+
+ public static final int Fixed = 0;
+ public static final int Adjust = 1;
+
+ public static final int Bottom = 0;
+ public static final int Right = 1;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QIconView(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQIconView(parent,name,f);
+ }
+ private native void newQIconView(QWidget parent, String name, int f);
+ public QIconView(QWidget parent, String name) {
+ super((Class) null);
+ newQIconView(parent,name);
+ }
+ private native void newQIconView(QWidget parent, String name);
+ public QIconView(QWidget parent) {
+ super((Class) null);
+ newQIconView(parent);
+ }
+ private native void newQIconView(QWidget parent);
+ public QIconView() {
+ super((Class) null);
+ newQIconView();
+ }
+ private native void newQIconView();
+ public native void insertItem(QIconViewItem item, QIconViewItem after);
+ public native void insertItem(QIconViewItem item);
+ public native void takeItem(QIconViewItem item);
+ public native int index(QIconViewItem item);
+ public native QIconViewItem firstItem();
+ public native QIconViewItem lastItem();
+ public native QIconViewItem currentItem();
+ public native void setCurrentItem(QIconViewItem item);
+ public native void setSelected(QIconViewItem item, boolean s, boolean cb);
+ public native void setSelected(QIconViewItem item, boolean s);
+ public native int count();
+ public native void showEvent(QShowEvent arg1);
+ public native void setSelectionMode(int m);
+ public native int selectionMode();
+ public native QIconViewItem findItem(QPoint pos);
+ public native QIconViewItem findItem(String text, int compare);
+ public native QIconViewItem findItem(String text);
+ public native void selectAll(boolean select);
+ public native void clearSelection();
+ public native void invertSelection();
+ public native void repaintItem(QIconViewItem item);
+ public native void repaintSelectedItems();
+ public native void ensureItemVisible(QIconViewItem item);
+ public native QIconViewItem findFirstVisibleItem(QRect r);
+ public native QIconViewItem findLastVisibleItem(QRect r);
+ public native void clear();
+ public native void setGridX(int rx);
+ public native void setGridY(int ry);
+ public native int gridX();
+ public native int gridY();
+ public native void setSpacing(int sp);
+ public native int spacing();
+ public native void setItemTextPos(int pos);
+ public native int itemTextPos();
+ public native void setItemTextBackground(QBrush b);
+ public native QBrush itemTextBackground();
+ public native void setArrangement(int am);
+ public native int arrangement();
+ public native void setResizeMode(int am);
+ public native int resizeMode();
+ public native void setMaxItemWidth(int w);
+ public native int maxItemWidth();
+ public native void setMaxItemTextLength(int w);
+ public native int maxItemTextLength();
+ public native void setAutoArrange(boolean b);
+ public native boolean autoArrange();
+ public native void setShowToolTips(boolean b);
+ public native boolean showToolTips();
+ public native void setSorting(boolean sort, boolean ascending);
+ public native void setSorting(boolean sort);
+ public native boolean sortOnInsert();
+ public native boolean sortDirection();
+ public native void setItemsMovable(boolean b);
+ public native boolean itemsMovable();
+ public native void setWordWrapIconText(boolean b);
+ public native boolean wordWrapIconText();
+ public native boolean eventFilter(QObject o, QEvent arg2);
+ public native QSize minimumSizeHint();
+ public native QSize sizeHint();
+ public native void sort(boolean ascending);
+ public native void sort();
+ public native void setFont(QFont arg1);
+ public native void setPalette(QPalette arg1);
+ public native boolean isRenaming();
+ public native void arrangeItemsInGrid(QSize grid, boolean update);
+ public native void arrangeItemsInGrid(QSize grid);
+ public native void arrangeItemsInGrid(boolean update);
+ public native void arrangeItemsInGrid();
+ public native void setContentsPos(int x, int y);
+ public native void updateContents();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawContents(QPainter p, int cx, int cy, int cw, int ch);
+ protected native void contentsMousePressEvent(QMouseEvent e);
+ protected native void contentsMouseReleaseEvent(QMouseEvent e);
+ protected native void contentsMouseMoveEvent(QMouseEvent e);
+ protected native void contentsMouseDoubleClickEvent(QMouseEvent e);
+ protected native void contentsContextMenuEvent(QContextMenuEvent e);
+ protected native void contentsDragEnterEvent(QDragEnterEvent e);
+ protected native void contentsDragMoveEvent(QDragMoveEvent e);
+ protected native void contentsDragLeaveEvent(QDragLeaveEvent e);
+ protected native void contentsDropEvent(QDropEvent e);
+ protected native void resizeEvent(QResizeEvent e);
+ protected native void keyPressEvent(QKeyEvent e);
+ protected native void focusInEvent(QFocusEvent e);
+ protected native void focusOutEvent(QFocusEvent e);
+ protected native void enterEvent(QEvent e);
+ protected native void drawRubber(QPainter p);
+ protected native QDragObject dragObject();
+ protected native void startDrag();
+ protected native void insertInGrid(QIconViewItem item);
+ protected native void drawBackground(QPainter p, QRect r);
+ protected native void emitSelectionChanged(QIconViewItem i);
+ protected native void emitSelectionChanged();
+ protected native void emitRenamed(QIconViewItem item);
+ protected native QIconViewItem makeRowLayout(QIconViewItem begin, int[] y, boolean changed);
+ public native void styleChange(QStyle arg1);
+ protected native void windowActivationChange(boolean arg1);
+ protected native void doAutoScroll();
+ protected native void adjustItems();
+ protected native void slotUpdate();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QIconViewItem.java b/qtjava/javalib/org/kde/qt/QIconViewItem.java
new file mode 100644
index 00000000..3572432d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QIconViewItem.java
@@ -0,0 +1,116 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QIconViewItem extends Qt {
+ protected QIconViewItem(Class dummy){super((Class) null);}
+ public QIconViewItem(QIconView parent) {
+ super((Class) null);
+ newQIconViewItem(parent);
+ }
+ private native void newQIconViewItem(QIconView parent);
+ public QIconViewItem(QIconView parent, QIconViewItem after) {
+ super((Class) null);
+ newQIconViewItem(parent,after);
+ }
+ private native void newQIconViewItem(QIconView parent, QIconViewItem after);
+ public QIconViewItem(QIconView parent, String text) {
+ super((Class) null);
+ newQIconViewItem(parent,text);
+ }
+ private native void newQIconViewItem(QIconView parent, String text);
+ public QIconViewItem(QIconView parent, QIconViewItem after, String text) {
+ super((Class) null);
+ newQIconViewItem(parent,after,text);
+ }
+ private native void newQIconViewItem(QIconView parent, QIconViewItem after, String text);
+ public QIconViewItem(QIconView parent, String text, QPixmap icon) {
+ super((Class) null);
+ newQIconViewItem(parent,text,icon);
+ }
+ private native void newQIconViewItem(QIconView parent, String text, QPixmap icon);
+ public QIconViewItem(QIconView parent, QIconViewItem after, String text, QPixmap icon) {
+ super((Class) null);
+ newQIconViewItem(parent,after,text,icon);
+ }
+ private native void newQIconViewItem(QIconView parent, QIconViewItem after, String text, QPixmap icon);
+ public QIconViewItem(QIconView parent, String text, QPicture picture) {
+ super((Class) null);
+ newQIconViewItem(parent,text,picture);
+ }
+ private native void newQIconViewItem(QIconView parent, String text, QPicture picture);
+ public QIconViewItem(QIconView parent, QIconViewItem after, String text, QPicture picture) {
+ super((Class) null);
+ newQIconViewItem(parent,after,text,picture);
+ }
+ private native void newQIconViewItem(QIconView parent, QIconViewItem after, String text, QPicture picture);
+ public native void setRenameEnabled(boolean allow);
+ public native void setDragEnabled(boolean allow);
+ public native void setDropEnabled(boolean allow);
+ public native String text();
+ public native QPixmap pixmap();
+ public native QPicture picture();
+ public native String key();
+ public native boolean renameEnabled();
+ public native boolean dragEnabled();
+ public native boolean dropEnabled();
+ public native QIconView iconView();
+ public native QIconViewItem prevItem();
+ public native QIconViewItem nextItem();
+ public native int index();
+ public native void setSelected(boolean s, boolean cb);
+ public native void setSelected(boolean s);
+ public native void setSelectable(boolean s);
+ public native boolean isSelected();
+ public native boolean isSelectable();
+ public native void repaint();
+ public native boolean move(int x, int y);
+ public native void moveBy(int dx, int dy);
+ public native boolean move(QPoint pnt);
+ public native void moveBy(QPoint pnt);
+ public native QRect rect();
+ public native int x();
+ public native int y();
+ public native int width();
+ public native int height();
+ public native QSize size();
+ public native QPoint pos();
+ public native QRect textRect(boolean relative);
+ public native QRect textRect();
+ public native QRect pixmapRect(boolean relative);
+ public native QRect pixmapRect();
+ public native boolean contains(QPoint pnt);
+ public native boolean intersects(QRect r);
+ public native boolean acceptDrop(QMimeSourceInterface mime);
+ public native void rename();
+ public native int compare(QIconViewItem i);
+ public native void setText(String text);
+ public native void setPixmap(QPixmap icon);
+ public native void setPicture(QPicture icon);
+ public native void setText(String text, boolean recalc, boolean redraw);
+ public native void setText(String text, boolean recalc);
+ public native void setPixmap(QPixmap icon, boolean recalc, boolean redraw);
+ public native void setPixmap(QPixmap icon, boolean recalc);
+ public native void setKey(String k);
+ public native int rtti();
+ protected native void removeRenameBox();
+ protected native void calcRect(String text_);
+ protected native void calcRect();
+ protected native void paintItem(QPainter p, QColorGroup cg);
+ protected native void paintFocus(QPainter p, QColorGroup cg);
+ // void dropped(QDropEvent* arg1,const QValueList<QIconDragItem>& arg2); >>>> NOT CONVERTED
+ protected native void dragEntered();
+ protected native void dragLeft();
+ protected native void setItemRect(QRect r);
+ protected native void setTextRect(QRect r);
+ protected native void setPixmapRect(QRect r);
+ protected native void calcTmpText();
+ protected native String tempText();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QIconViewSignals.java b/qtjava/javalib/org/kde/qt/QIconViewSignals.java
new file mode 100644
index 00000000..85098c96
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QIconViewSignals.java
@@ -0,0 +1,26 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QIconViewSignals {
+ void selectionChanged();
+ void selectionChanged(QIconViewItem item);
+ void currentChanged(QIconViewItem item);
+ void clicked(QIconViewItem arg1);
+ void clicked(QIconViewItem arg1, QPoint arg2);
+ void pressed(QIconViewItem arg1);
+ void pressed(QIconViewItem arg1, QPoint arg2);
+ void doubleClicked(QIconViewItem item);
+ void returnPressed(QIconViewItem item);
+ void rightButtonClicked(QIconViewItem item, QPoint pos);
+ void rightButtonPressed(QIconViewItem item, QPoint pos);
+ void mouseButtonPressed(int button, QIconViewItem item, QPoint pos);
+ void mouseButtonClicked(int button, QIconViewItem item, QPoint pos);
+ void contextMenuRequested(QIconViewItem item, QPoint pos);
+ // void dropped(QDropEvent* arg1,const QValueList<QIconDragItem>& arg2); >>>> NOT CONVERTED
+ void moved();
+ void onItem(QIconViewItem item);
+ void onViewport();
+ void itemRenamed(QIconViewItem item, String arg2);
+ void itemRenamed(QIconViewItem item);
+}
diff --git a/qtjava/javalib/org/kde/qt/QImage.java b/qtjava/javalib/org/kde/qt/QImage.java
new file mode 100644
index 00000000..9d223779
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QImage.java
@@ -0,0 +1,171 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QImage implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QImage(Class dummy){}
+
+ public static final int IgnoreEndian = 0;
+ public static final int BigEndian = 1;
+ public static final int LittleEndian = 2;
+
+ public static final int ScaleFree = 0;
+ public static final int ScaleMin = 1;
+ public static final int ScaleMax = 2;
+
+ public QImage() {
+ newQImage();
+ }
+ private native void newQImage();
+ public QImage(int width, int height, int depth, int numColors, int bitOrder) {
+ newQImage(width,height,depth,numColors,bitOrder);
+ }
+ private native void newQImage(int width, int height, int depth, int numColors, int bitOrder);
+ public QImage(int width, int height, int depth, int numColors) {
+ newQImage(width,height,depth,numColors);
+ }
+ private native void newQImage(int width, int height, int depth, int numColors);
+ public QImage(int width, int height, int depth) {
+ newQImage(width,height,depth);
+ }
+ private native void newQImage(int width, int height, int depth);
+ public QImage(QSize arg1, int depth, int numColors, int bitOrder) {
+ newQImage(arg1,depth,numColors,bitOrder);
+ }
+ private native void newQImage(QSize arg1, int depth, int numColors, int bitOrder);
+ public QImage(QSize arg1, int depth, int numColors) {
+ newQImage(arg1,depth,numColors);
+ }
+ private native void newQImage(QSize arg1, int depth, int numColors);
+ public QImage(QSize arg1, int depth) {
+ newQImage(arg1,depth);
+ }
+ private native void newQImage(QSize arg1, int depth);
+ public QImage(String fileName, String format) {
+ newQImage(fileName,format);
+ }
+ private native void newQImage(String fileName, String format);
+ public QImage(String fileName) {
+ newQImage(fileName);
+ }
+ private native void newQImage(String fileName);
+ // QImage* QImage(const char** arg1); >>>> NOT CONVERTED
+ public QImage(byte[] data) {
+ newQImage(data);
+ }
+ private native void newQImage(byte[] data);
+ public QImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder) {
+ newQImage(data,w,h,depth,colortable,numColors,bitOrder);
+ }
+ private native void newQImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder);
+ public QImage(QImage arg1) {
+ newQImage(arg1);
+ }
+ private native void newQImage(QImage arg1);
+ public native boolean op_equals(QImage arg1);
+ public native boolean op_not_equals(QImage arg1);
+ public native void detach();
+ public native QImage copy();
+ public native QImage copy(int x, int y, int w, int h, int conversion_flags);
+ public native QImage copy(int x, int y, int w, int h);
+ public native QImage copy(QRect arg1);
+ public native boolean isNull();
+ public native int width();
+ public native int height();
+ public native QSize size();
+ public native QRect rect();
+ public native int depth();
+ public native int numColors();
+ public native int bitOrder();
+ public native int color(int i);
+ public native void setColor(int i, int c);
+ public native void setNumColors(int arg1);
+ public native boolean hasAlphaBuffer();
+ public native void setAlphaBuffer(boolean arg1);
+ public native boolean allGray();
+ public native boolean isGrayscale();
+ public native byte[] bits();
+ public native byte[] scanLine(int arg1);
+ public native ArrayList jumpTable();
+ public native int[] colorTable();
+ public native int numBytes();
+ public native int bytesPerLine();
+ public native boolean create(int width, int height, int depth, int numColors, int bitOrder);
+ public native boolean create(int width, int height, int depth, int numColors);
+ public native boolean create(int width, int height, int depth);
+ public native boolean create(QSize arg1, int depth, int numColors, int bitOrder);
+ public native boolean create(QSize arg1, int depth, int numColors);
+ public native boolean create(QSize arg1, int depth);
+ public native void reset();
+ public native void fill(int pixel);
+ public native void invertPixels(boolean invertAlpha);
+ public native void invertPixels();
+ public native QImage convertDepth(int arg1);
+ public native QImage convertDepthWithPalette(int arg1, int[] p, int pc, int cf);
+ public native QImage convertDepthWithPalette(int arg1, int[] p, int pc);
+ public native QImage convertDepth(int arg1, int conversion_flags);
+ public native QImage convertBitOrder(int arg1);
+ public native QImage smoothScale(int w, int h, int mode);
+ public native QImage smoothScale(int w, int h);
+ public native QImage smoothScale(QSize s, int mode);
+ public native QImage smoothScale(QSize s);
+ public native QImage scale(int w, int h, int mode);
+ public native QImage scale(int w, int h);
+ public native QImage scale(QSize s, int mode);
+ public native QImage scale(QSize s);
+ public native QImage scaleWidth(int w);
+ public native QImage scaleHeight(int h);
+ public native Object xForm(QWMatrix matrix);
+ public native QImage createAlphaMask(int conversion_flags);
+ public native QImage createAlphaMask();
+ public native QImage createHeuristicMask(boolean clipTight);
+ public native QImage createHeuristicMask();
+ public native QImage mirror();
+ public native QImage mirror(boolean horizontally, boolean vertically);
+ public native QImage swapRGB();
+ public native boolean load(String fileName, String format);
+ public native boolean load(String fileName);
+ public native boolean loadFromData(char[] buf, int len, String format);
+ public native boolean loadFromData(char[] buf, int len);
+ public native boolean loadFromData(byte[] data, String format);
+ public native boolean loadFromData(byte[] data);
+ public native boolean save(String fileName, String format, int quality);
+ public native boolean save(String fileName, String format);
+ public native boolean save(QIODeviceInterface device, String format, int quality);
+ public native boolean save(QIODeviceInterface device, String format);
+ public native boolean valid(int x, int y);
+ public native int pixelIndex(int x, int y);
+ public native int pixel(int x, int y);
+ public native void setPixel(int x, int y, int index_or_rgb);
+ public native int dotsPerMeterX();
+ public native int dotsPerMeterY();
+ public native void setDotsPerMeterX(int arg1);
+ public native void setDotsPerMeterY(int arg1);
+ public native QPoint offset();
+ public native void setOffset(QPoint arg1);
+ // QValueList<QImageTextKeyLang> textList(); >>>> NOT CONVERTED
+ public native ArrayList textLanguages();
+ public native ArrayList textKeys();
+ public native String text(String key, String lang);
+ public native String text(String key);
+ public native String text(QImageTextKeyLang arg1);
+ public native void setText(String key, String lang, String arg3);
+ public static native QImage fromMimeSource(String abs_name);
+ public static native int systemBitOrder();
+ public static native int systemByteOrder();
+ public static native String imageFormat(String fileName);
+ public static native ArrayList inputFormats();
+ public static native ArrayList outputFormats();
+ public static native ArrayList inputFormatList();
+ public static native ArrayList outputFormatList();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QImageConsumer.java b/qtjava/javalib/org/kde/qt/QImageConsumer.java
new file mode 100644
index 00000000..4d2b5037
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QImageConsumer.java
@@ -0,0 +1,18 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QImageConsumer implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QImageConsumer(Class dummy){}
+
+ public native void end();
+ public native void changed(QRect arg1);
+ public native void frameDone();
+ public native void frameDone(QPoint arg1, QRect arg2);
+ public native void setLooping(int arg1);
+ public native void setFramePeriod(int arg1);
+ public native void setSize(int arg1, int arg2);
+}
diff --git a/qtjava/javalib/org/kde/qt/QImageDecoder.java b/qtjava/javalib/org/kde/qt/QImageDecoder.java
new file mode 100644
index 00000000..e03d95b6
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QImageDecoder.java
@@ -0,0 +1,29 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QImageDecoder implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QImageDecoder(Class dummy){}
+
+ public QImageDecoder(QImageConsumer c) {
+ newQImageDecoder(c);
+ }
+ private native void newQImageDecoder(QImageConsumer c);
+ public native QImage image();
+ public native int decode(char[] buffer, int length);
+ public static native String formatName(char[] buffer, int length);
+ public static native QImageFormatType format(String name);
+ public static native ArrayList inputFormats();
+ public static native void registerDecoderFactory(QImageFormatType arg1);
+ public static native void unregisterDecoderFactory(QImageFormatType 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/qtjava/javalib/org/kde/qt/QImageDrag.java b/qtjava/javalib/org/kde/qt/QImageDrag.java
new file mode 100644
index 00000000..eeedb433
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QImageDrag.java
@@ -0,0 +1,54 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QImageDrag extends QDragObject {
+ protected QImageDrag(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QImageDrag(QImage image, QWidget dragSource, String name) {
+ super((Class) null);
+ newQImageDrag(image,dragSource,name);
+ }
+ private native void newQImageDrag(QImage image, QWidget dragSource, String name);
+ public QImageDrag(QImage image, QWidget dragSource) {
+ super((Class) null);
+ newQImageDrag(image,dragSource);
+ }
+ private native void newQImageDrag(QImage image, QWidget dragSource);
+ public QImageDrag(QImage image) {
+ super((Class) null);
+ newQImageDrag(image);
+ }
+ private native void newQImageDrag(QImage image);
+ public QImageDrag(QWidget dragSource, String name) {
+ super((Class) null);
+ newQImageDrag(dragSource,name);
+ }
+ private native void newQImageDrag(QWidget dragSource, String name);
+ public QImageDrag(QWidget dragSource) {
+ super((Class) null);
+ newQImageDrag(dragSource);
+ }
+ private native void newQImageDrag(QWidget dragSource);
+ public QImageDrag() {
+ super((Class) null);
+ newQImageDrag();
+ }
+ private native void newQImageDrag();
+ public native void setImage(QImage image);
+ public native String format(int i);
+ public native byte[] encodedData(String arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native boolean canDecode(QMimeSourceInterface e);
+ public static native boolean decode(QMimeSourceInterface e, QImage i);
+ public static native boolean decode(QMimeSourceInterface e, QPixmap 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/qtjava/javalib/org/kde/qt/QImageFormat.java b/qtjava/javalib/org/kde/qt/QImageFormat.java
new file mode 100644
index 00000000..5dd4449d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QImageFormat.java
@@ -0,0 +1,12 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QImageFormat implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QImageFormat(Class dummy){}
+
+ public native int decode(QImage img, QImageConsumer consumer, char[] buffer, int length);
+}
diff --git a/qtjava/javalib/org/kde/qt/QImageFormatType.java b/qtjava/javalib/org/kde/qt/QImageFormatType.java
new file mode 100644
index 00000000..6142648a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QImageFormatType.java
@@ -0,0 +1,13 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QImageFormatType implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QImageFormatType(Class dummy){}
+
+ public native QImageFormat decoderFor(char[] buffer, int length);
+ public native String formatName();
+}
diff --git a/qtjava/javalib/org/kde/qt/QImageIO.java b/qtjava/javalib/org/kde/qt/QImageIO.java
new file mode 100644
index 00000000..7aef7393
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QImageIO.java
@@ -0,0 +1,54 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QImageIO implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QImageIO(Class dummy){}
+
+ public QImageIO() {
+ newQImageIO();
+ }
+ private native void newQImageIO();
+ public QImageIO(QIODeviceInterface ioDevice, String format) {
+ newQImageIO(ioDevice,format);
+ }
+ private native void newQImageIO(QIODeviceInterface ioDevice, String format);
+ public QImageIO(String fileName, String format) {
+ newQImageIO(fileName,format);
+ }
+ private native void newQImageIO(String fileName, String format);
+ public native QImage image();
+ public native int status();
+ public native String format();
+ public native QIODeviceInterface ioDevice();
+ public native String fileName();
+ public native int quality();
+ public native String description();
+ public native String parameters();
+ public native float gamma();
+ public native void setImage(QImage arg1);
+ public native void setStatus(int arg1);
+ public native void setFormat(String arg1);
+ public native void setIODevice(QIODeviceInterface arg1);
+ public native void setFileName(String arg1);
+ public native void setQuality(int arg1);
+ public native void setDescription(String arg1);
+ public native void setParameters(String arg1);
+ public native void setGamma(float arg1);
+ public native boolean read();
+ public native boolean write();
+ public static native String imageFormat(String fileName);
+ public static native String imageFormat(QIODeviceInterface arg1);
+ public static native ArrayList inputFormats();
+ public static native ArrayList outputFormats();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QImageTextKeyLang.java b/qtjava/javalib/org/kde/qt/QImageTextKeyLang.java
new file mode 100644
index 00000000..124e67d7
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QImageTextKeyLang.java
@@ -0,0 +1,27 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QImageTextKeyLang implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QImageTextKeyLang(Class dummy){}
+
+ public QImageTextKeyLang(String k, String l) {
+ newQImageTextKeyLang(k,l);
+ }
+ private native void newQImageTextKeyLang(String k, String l);
+ public QImageTextKeyLang() {
+ newQImageTextKeyLang();
+ }
+ private native void newQImageTextKeyLang();
+ public native boolean op_lt(QImageTextKeyLang other);
+ public native boolean op_equals(QImageTextKeyLang other);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QInputDialog.java b/qtjava/javalib/org/kde/qt/QInputDialog.java
new file mode 100644
index 00000000..fc251498
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QInputDialog.java
@@ -0,0 +1,40 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QInputDialog extends QDialog {
+ protected QInputDialog(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native String getText(String caption, String label, int echo, String text, boolean[] ok, QWidget parent, String name);
+ public static native String getText(String caption, String label, int echo, String text, boolean[] ok, QWidget parent);
+ public static native String getText(String caption, String label, int echo, String text, boolean[] ok);
+ public static native String getText(String caption, String label, int echo, String text);
+ public static native String getText(String caption, String label, int echo);
+ public static native String getText(String caption, String label);
+ public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step, boolean[] ok, QWidget parent, String name);
+ public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step, boolean[] ok, QWidget parent);
+ public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step, boolean[] ok);
+ public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step);
+ public static native int getInteger(String caption, String label, int value, int minValue, int maxValue);
+ public static native int getInteger(String caption, String label, int value, int minValue);
+ public static native int getInteger(String caption, String label, int value);
+ public static native int getInteger(String caption, String label);
+ public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals, boolean[] ok, QWidget parent, String name);
+ public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals, boolean[] ok, QWidget parent);
+ public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals, boolean[] ok);
+ public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals);
+ public static native double getDouble(String caption, String label, double value, double minValue, double maxValue);
+ public static native double getDouble(String caption, String label, double value, double minValue);
+ public static native double getDouble(String caption, String label, double value);
+ public static native double getDouble(String caption, String label);
+ public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, QWidget parent, String name);
+ public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, QWidget 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);
+}
diff --git a/qtjava/javalib/org/kde/qt/QIntValidator.java b/qtjava/javalib/org/kde/qt/QIntValidator.java
new file mode 100644
index 00000000..1ca98994
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QIntValidator.java
@@ -0,0 +1,44 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QIntValidator extends QValidator {
+ protected QIntValidator(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QIntValidator(QObject parent, String name) {
+ super((Class) null);
+ newQIntValidator(parent,name);
+ }
+ private native void newQIntValidator(QObject parent, String name);
+ public QIntValidator(QObject parent) {
+ super((Class) null);
+ newQIntValidator(parent);
+ }
+ private native void newQIntValidator(QObject parent);
+ public QIntValidator(int bottom, int top, QObject parent, String name) {
+ super((Class) null);
+ newQIntValidator(bottom,top,parent,name);
+ }
+ private native void newQIntValidator(int bottom, int top, QObject parent, String name);
+ public QIntValidator(int bottom, int top, QObject parent) {
+ super((Class) null);
+ newQIntValidator(bottom,top,parent);
+ }
+ private native void newQIntValidator(int bottom, int top, QObject parent);
+ public native int validate(StringBuffer arg1, int[] arg2);
+ public native void setBottom(int arg1);
+ public native void setTop(int arg1);
+ public native void setRange(int bottom, int top);
+ public native int bottom();
+ public native int top();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QJisCodec.java b/qtjava/javalib/org/kde/qt/QJisCodec.java
new file mode 100644
index 00000000..6d3e918d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QJisCodec.java
@@ -0,0 +1,27 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QJisCodec extends QTextCodec {
+ protected QJisCodec(Class dummy){super((Class) null);}
+ public native int mibEnum();
+ public native String name();
+ public native String mimeName();
+ public native QTextDecoder makeDecoder();
+ public native String fromUnicode(String uc, int[] lenInOut);
+ public native String toUnicode(String chars, int len);
+ public native int heuristicContentMatch(String chars, int len);
+ public native int heuristicNameMatch(String hint);
+ public QJisCodec() {
+ super((Class) null);
+ newQJisCodec();
+ }
+ private native void newQJisCodec();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QJpUnicodeConv.java b/qtjava/javalib/org/kde/qt/QJpUnicodeConv.java
new file mode 100644
index 00000000..fa6a2232
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QJpUnicodeConv.java
@@ -0,0 +1,62 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QJpUnicodeConv implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QJpUnicodeConv(Class dummy){}
+
+ public static final int Default = 0x0000;
+ public static final int Unicode = 0x0001;
+ public static final int Unicode_JISX0201 = 0x0001;
+ public static final int Unicode_ASCII = 0x0002;
+ public static final int JISX0221_JISX0201 = 0x0003;
+ public static final int JISX0221_ASCII = 0x0004;
+ public static final int Sun_JDK117 = 0x0005;
+ public static final int Microsoft_CP932 = 0x0006;
+ public static final int NEC_VDC = 0x0100;
+ public static final int UDC = 0x0200;
+ public static final int IBM_VDC = 0x0400;
+
+ public native int asciiToUnicode(int h, int l);
+ public native int jisx0201ToUnicode(int h, int l);
+ public native int jisx0201LatinToUnicode(int h, int l);
+ public native int jisx0201KanaToUnicode(int h, int l);
+ public native int jisx0208ToUnicode(int h, int l);
+ public native int jisx0212ToUnicode(int h, int l);
+ public native int asciiToUnicode(int ascii);
+ public native int jisx0201ToUnicode(int jis);
+ public native int jisx0201LatinToUnicode(int jis);
+ public native int jisx0201KanaToUnicode(int jis);
+ public native int jisx0208ToUnicode(int jis);
+ public native int jisx0212ToUnicode(int jis);
+ public native int unicodeToAscii(int h, int l);
+ public native int unicodeToJisx0201(int h, int l);
+ public native int unicodeToJisx0201Latin(int h, int l);
+ public native int unicodeToJisx0201Kana(int h, int l);
+ public native int unicodeToJisx0208(int h, int l);
+ public native int unicodeToJisx0212(int h, int l);
+ public native int unicodeToAscii(int unicode);
+ public native int unicodeToJisx0201(int unicode);
+ public native int unicodeToJisx0201Latin(int unicode);
+ public native int unicodeToJisx0201Kana(int unicode);
+ public native int unicodeToJisx0208(int unicode);
+ public native int unicodeToJisx0212(int unicode);
+ public native int sjisToUnicode(int h, int l);
+ public native int unicodeToSjis(int h, int l);
+ public native int sjisToUnicode(int sjis);
+ public native int unicodeToSjis(int unicode);
+ public static native QJpUnicodeConv newConverter(int rule);
+ public QJpUnicodeConv(int r) {
+ newQJpUnicodeConv(r);
+ }
+ private native void newQJpUnicodeConv(int r);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QKeyEvent.java b/qtjava/javalib/org/kde/qt/QKeyEvent.java
new file mode 100644
index 00000000..9bec7330
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QKeyEvent.java
@@ -0,0 +1,44 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QKeyEvent extends QEvent {
+ protected QKeyEvent(Class dummy){super((Class) null);}
+ public QKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count) {
+ super((Class) null);
+ newQKeyEvent(type,key,ascii,state,text,autorep,count);
+ }
+ private native void newQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count);
+ public QKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep) {
+ super((Class) null);
+ newQKeyEvent(type,key,ascii,state,text,autorep);
+ }
+ private native void newQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep);
+ public QKeyEvent(int type, int key, int ascii, int state, String text) {
+ super((Class) null);
+ newQKeyEvent(type,key,ascii,state,text);
+ }
+ private native void newQKeyEvent(int type, int key, int ascii, int state, String text);
+ public QKeyEvent(int type, int key, int ascii, int state) {
+ super((Class) null);
+ newQKeyEvent(type,key,ascii,state);
+ }
+ private native void newQKeyEvent(int type, int key, int ascii, int state);
+ public native int key();
+ public native int ascii();
+ public native int state();
+ public native int stateAfter();
+ public native boolean isAccepted();
+ public native String text();
+ public native boolean isAutoRepeat();
+ public native int count();
+ public native void accept();
+ public native void ignore();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QKeySequence.java b/qtjava/javalib/org/kde/qt/QKeySequence.java
new file mode 100644
index 00000000..6bed02ec
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QKeySequence.java
@@ -0,0 +1,55 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QKeySequence extends Qt {
+ protected QKeySequence(Class dummy){super((Class) null);}
+ public QKeySequence() {
+ super((Class) null);
+ newQKeySequence();
+ }
+ private native void newQKeySequence();
+ public QKeySequence(String key) {
+ super((Class) null);
+ newQKeySequence(key);
+ }
+ private native void newQKeySequence(String key);
+ public QKeySequence(int key) {
+ super((Class) null);
+ newQKeySequence(key);
+ }
+ private native void newQKeySequence(int key);
+ public QKeySequence(int k1, int k2, int k3, int k4) {
+ super((Class) null);
+ newQKeySequence(k1,k2,k3,k4);
+ }
+ private native void newQKeySequence(int k1, int k2, int k3, int k4);
+ public QKeySequence(int k1, int k2, int k3) {
+ super((Class) null);
+ newQKeySequence(k1,k2,k3);
+ }
+ private native void newQKeySequence(int k1, int k2, int k3);
+ public QKeySequence(int k1, int k2) {
+ super((Class) null);
+ newQKeySequence(k1,k2);
+ }
+ private native void newQKeySequence(int k1, int k2);
+ public QKeySequence(QKeySequence arg1) {
+ super((Class) null);
+ newQKeySequence(arg1);
+ }
+ private native void newQKeySequence(QKeySequence arg1);
+ public native int count();
+ public native boolean isEmpty();
+ public native int matches(QKeySequence arg1);
+ public native int op_at(int arg1);
+ public native boolean op_equals(QKeySequence arg1);
+ public native boolean op_not_equals(QKeySequence 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/qtjava/javalib/org/kde/qt/QLCDNumber.java b/qtjava/javalib/org/kde/qt/QLCDNumber.java
new file mode 100644
index 00000000..1ee961ac
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QLCDNumber.java
@@ -0,0 +1,85 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QLCDNumberSignals} for signals emitted by QLCDNumber
+*/
+public class QLCDNumber extends QFrame {
+ protected QLCDNumber(Class dummy){super((Class) null);}
+ public static final int Hex = 0;
+ public static final int Dec = 1;
+ public static final int Oct = 2;
+ public static final int Bin = 3;
+ public static final int HEX = Hex;
+ public static final int DEC = Dec;
+ public static final int OCT = Oct;
+ public static final int BIN = Bin;
+
+ public static final int Outline = 0;
+ public static final int Filled = 1;
+ public static final int Flat = 2;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QLCDNumber(QWidget parent, String name) {
+ super((Class) null);
+ newQLCDNumber(parent,name);
+ }
+ private native void newQLCDNumber(QWidget parent, String name);
+ public QLCDNumber(QWidget parent) {
+ super((Class) null);
+ newQLCDNumber(parent);
+ }
+ private native void newQLCDNumber(QWidget parent);
+ public QLCDNumber() {
+ super((Class) null);
+ newQLCDNumber();
+ }
+ private native void newQLCDNumber();
+ public QLCDNumber(int numDigits, QWidget parent, String name) {
+ super((Class) null);
+ newQLCDNumber(numDigits,parent,name);
+ }
+ private native void newQLCDNumber(int numDigits, QWidget parent, String name);
+ public QLCDNumber(int numDigits, QWidget parent) {
+ super((Class) null);
+ newQLCDNumber(numDigits,parent);
+ }
+ private native void newQLCDNumber(int numDigits, QWidget parent);
+ public QLCDNumber(int numDigits) {
+ super((Class) null);
+ newQLCDNumber(numDigits);
+ }
+ private native void newQLCDNumber(int numDigits);
+ public native boolean smallDecimalPoint();
+ public native int numDigits();
+ public native void setNumDigits(int nDigits);
+ public native boolean checkOverflow(double num);
+ public native boolean checkOverflow(int num);
+ public native int mode();
+ public native void setMode(int arg1);
+ public native int segmentStyle();
+ public native void setSegmentStyle(int arg1);
+ public native double value();
+ public native int intValue();
+ public native QSize sizeHint();
+ public native void display(String str);
+ public native void display(int num);
+ public native void display(double num);
+ public native void setHexMode();
+ public native void setDecMode();
+ public native void setOctMode();
+ public native void setBinMode();
+ public native void setSmallDecimalPoint(boolean arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawContents(QPainter 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/qtjava/javalib/org/kde/qt/QLCDNumberSignals.java b/qtjava/javalib/org/kde/qt/QLCDNumberSignals.java
new file mode 100644
index 00000000..6df79b7c
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QLCDNumberSignals.java
@@ -0,0 +1,7 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QLCDNumberSignals {
+ void overflow();
+}
diff --git a/qtjava/javalib/org/kde/qt/QLabel.java b/qtjava/javalib/org/kde/qt/QLabel.java
new file mode 100644
index 00000000..e50132bd
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QLabel.java
@@ -0,0 +1,93 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QLabel extends QFrame {
+ protected QLabel(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QLabel(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQLabel(parent,name,f);
+ }
+ private native void newQLabel(QWidget parent, String name, int f);
+ public QLabel(QWidget parent, String name) {
+ super((Class) null);
+ newQLabel(parent,name);
+ }
+ private native void newQLabel(QWidget parent, String name);
+ public QLabel(QWidget parent) {
+ super((Class) null);
+ newQLabel(parent);
+ }
+ private native void newQLabel(QWidget parent);
+ public QLabel(String text, QWidget parent, String name, int f) {
+ super((Class) null);
+ newQLabel(text,parent,name,f);
+ }
+ private native void newQLabel(String text, QWidget parent, String name, int f);
+ public QLabel(String text, QWidget parent, String name) {
+ super((Class) null);
+ newQLabel(text,parent,name);
+ }
+ private native void newQLabel(String text, QWidget parent, String name);
+ public QLabel(String text, QWidget parent) {
+ super((Class) null);
+ newQLabel(text,parent);
+ }
+ private native void newQLabel(String text, QWidget parent);
+ public QLabel(QWidget buddy, String arg2, QWidget parent, String name, int f) {
+ super((Class) null);
+ newQLabel(buddy,arg2,parent,name,f);
+ }
+ private native void newQLabel(QWidget buddy, String arg2, QWidget parent, String name, int f);
+ public QLabel(QWidget buddy, String arg2, QWidget parent, String name) {
+ super((Class) null);
+ newQLabel(buddy,arg2,parent,name);
+ }
+ private native void newQLabel(QWidget buddy, String arg2, QWidget parent, String name);
+ public QLabel(QWidget buddy, String arg2, QWidget parent) {
+ super((Class) null);
+ newQLabel(buddy,arg2,parent);
+ }
+ private native void newQLabel(QWidget buddy, String arg2, QWidget parent);
+ public native String text();
+ public native QPixmap pixmap();
+ public native QPicture picture();
+ public native QMovie movie();
+ public native int textFormat();
+ public native void setTextFormat(int arg1);
+ public native int alignment();
+ public native void setAlignment(int arg1);
+ public native int indent();
+ public native void setIndent(int arg1);
+ public native boolean autoResize();
+ public native void setAutoResize(boolean arg1);
+ public native boolean hasScaledContents();
+ public native void setScaledContents(boolean arg1);
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native void setBuddy(QWidget arg1);
+ public native QWidget buddy();
+ public native int heightForWidth(int arg1);
+ public native void setFont(QFont f);
+ public native void setText(String arg1);
+ public native void setPixmap(QPixmap arg1);
+ public native void setPicture(QPicture arg1);
+ public native void setMovie(QMovie arg1);
+ public native void setNum(int arg1);
+ public native void setNum(double arg1);
+ public native void clear();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawContents(QPainter arg1);
+ protected native void fontChange(QFont arg1);
+ protected native void resizeEvent(QResizeEvent 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/qtjava/javalib/org/kde/qt/QLayout.java b/qtjava/javalib/org/kde/qt/QLayout.java
new file mode 100644
index 00000000..b8108661
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QLayout.java
@@ -0,0 +1,61 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QLayout extends QObject implements QLayoutItemInterface {
+ protected QLayout(Class dummy){super((Class) null);}
+ public static final int FreeResize = 0;
+ public static final int Minimum = 1;
+ public static final int Fixed = 2;
+ public static final int Auto = 3;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public native int margin();
+ public native int spacing();
+ public native void setMargin(int arg1);
+ public native void setSpacing(int arg1);
+ public native int defaultBorder();
+ public native void freeze(int w, int h);
+ public native void freeze();
+ public native void setResizeMode(int arg1);
+ public native int resizeMode();
+ public native void setMenuBar(QMenuBar w);
+ public native QMenuBar menuBar();
+ public native QWidget mainWidget();
+ public native boolean isTopLevel();
+ public native void setAutoAdd(boolean arg1);
+ public native boolean autoAdd();
+ public native void invalidate();
+ public native QRect geometry();
+ public native boolean activate();
+ public native void add(QWidget w);
+ public native void addItem(QLayoutItemInterface arg1);
+ public native void remove(QWidget w);
+ public native void removeItem(QLayoutItemInterface arg1);
+ public native int expanding();
+ public native QSize minimumSize();
+ public native QSize maximumSize();
+ public native void setGeometry(QRect arg1);
+ // QLayoutIterator iterator(); >>>> NOT CONVERTED
+ public native boolean isEmpty();
+ public native int totalHeightForWidth(int w);
+ public native QSize totalMinimumSize();
+ public native QSize totalMaximumSize();
+ public native QSize totalSizeHint();
+ public native QLayout layout();
+ public native boolean supportsMargin();
+ public native void setEnabled(boolean arg1);
+ public native boolean isEnabled();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public native QSize sizeHint();
+ public native boolean hasHeightForWidth();
+ public native int heightForWidth(int arg1);
+ public native QWidget widget();
+ // QLayoutIterator iterator(); >>>> NOT CONVERTED
+ public native QSpacerItem spacerItem();
+ public native int alignment();
+ public native void setAlignment(int a);
+}
diff --git a/qtjava/javalib/org/kde/qt/QLayoutItem.java b/qtjava/javalib/org/kde/qt/QLayoutItem.java
new file mode 100644
index 00000000..0f484237
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QLayoutItem.java
@@ -0,0 +1,27 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QLayoutItem implements QtSupport, QLayoutItemInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QLayoutItem(Class dummy){}
+
+ public native QSize sizeHint();
+ public native QSize minimumSize();
+ public native QSize maximumSize();
+ public native int expanding();
+ public native void setGeometry(QRect arg1);
+ public native QRect geometry();
+ public native boolean isEmpty();
+ public native boolean hasHeightForWidth();
+ public native int heightForWidth(int arg1);
+ public native void invalidate();
+ public native QWidget widget();
+ // QLayoutIterator iterator(); >>>> NOT CONVERTED
+ public native QLayout layout();
+ public native QSpacerItem spacerItem();
+ public native int alignment();
+ public native void setAlignment(int a);
+}
diff --git a/qtjava/javalib/org/kde/qt/QLayoutItemInterface.java b/qtjava/javalib/org/kde/qt/QLayoutItemInterface.java
new file mode 100644
index 00000000..447061af
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QLayoutItemInterface.java
@@ -0,0 +1,21 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QLayoutItemInterface {
+ QSize sizeHint();
+ QSize minimumSize();
+ QSize maximumSize();
+ int expanding();
+ void setGeometry(QRect arg1);
+ QRect geometry();
+ boolean isEmpty();
+ boolean hasHeightForWidth();
+ int heightForWidth(int arg1);
+ void invalidate();
+ QWidget widget();
+ QLayout layout();
+ QSpacerItem spacerItem();
+ int alignment();
+ void setAlignment(int a);
+}
diff --git a/qtjava/javalib/org/kde/qt/QLibrary.java b/qtjava/javalib/org/kde/qt/QLibrary.java
new file mode 100644
index 00000000..88d5cffb
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QLibrary.java
@@ -0,0 +1,29 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QLibrary implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QLibrary(Class dummy){}
+
+ public QLibrary(String filename) {
+ newQLibrary(filename);
+ }
+ private native void newQLibrary(String filename);
+ // void* resolve(const char* arg1); >>>> NOT CONVERTED
+ public native boolean load();
+ public native boolean unload();
+ public native boolean isLoaded();
+ public native boolean autoUnload();
+ public native void setAutoUnload(boolean enable);
+ public native String library();
+ // void* resolve(const QString& arg1,const char* arg2); >>>> 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/qtjava/javalib/org/kde/qt/QLineEdit.java b/qtjava/javalib/org/kde/qt/QLineEdit.java
new file mode 100644
index 00000000..f33f08c4
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QLineEdit.java
@@ -0,0 +1,141 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QLineEditSignals} for signals emitted by QLineEdit
+*/
+public class QLineEdit extends QFrame {
+ protected QLineEdit(Class dummy){super((Class) null);}
+ public static final int Normal = 0;
+ public static final int NoEcho = 1;
+ public static final int Password = 2;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QLineEdit(QWidget parent, String name) {
+ super((Class) null);
+ newQLineEdit(parent,name);
+ }
+ private native void newQLineEdit(QWidget parent, String name);
+ public QLineEdit(QWidget parent) {
+ super((Class) null);
+ newQLineEdit(parent);
+ }
+ private native void newQLineEdit(QWidget parent);
+ public QLineEdit(String arg1, QWidget parent, String name) {
+ super((Class) null);
+ newQLineEdit(arg1,parent,name);
+ }
+ private native void newQLineEdit(String arg1, QWidget parent, String name);
+ public QLineEdit(String arg1, QWidget parent) {
+ super((Class) null);
+ newQLineEdit(arg1,parent);
+ }
+ private native void newQLineEdit(String arg1, QWidget parent);
+ public QLineEdit(String arg1, String arg2, QWidget parent, String name) {
+ super((Class) null);
+ newQLineEdit(arg1,arg2,parent,name);
+ }
+ private native void newQLineEdit(String arg1, String arg2, QWidget parent, String name);
+ public QLineEdit(String arg1, String arg2, QWidget parent) {
+ super((Class) null);
+ newQLineEdit(arg1,arg2,parent);
+ }
+ private native void newQLineEdit(String arg1, String arg2, QWidget parent);
+ public native String text();
+ public native String displayText();
+ public native int maxLength();
+ public native boolean frame();
+ public native int echoMode();
+ public native boolean isReadOnly();
+ public native QValidator validator();
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native int cursorPosition();
+ public native boolean validateAndSet(String arg1, int arg2, int arg3, int arg4);
+ public native int alignment();
+ public native void cursorLeft(boolean mark, int steps);
+ public native void cursorLeft(boolean mark);
+ public native void cursorRight(boolean mark, int steps);
+ public native void cursorRight(boolean mark);
+ public native void cursorForward(boolean mark, int steps);
+ public native void cursorForward(boolean mark);
+ public native void cursorBackward(boolean mark, int steps);
+ public native void cursorBackward(boolean mark);
+ public native void cursorWordForward(boolean mark);
+ public native void cursorWordBackward(boolean mark);
+ public native void backspace();
+ public native void del();
+ public native void home(boolean mark);
+ public native void end(boolean mark);
+ public native boolean isModified();
+ public native void clearModified();
+ public native boolean edited();
+ public native void setEdited(boolean arg1);
+ public native boolean hasSelectedText();
+ public native String selectedText();
+ public native int selectionStart();
+ public native boolean isUndoAvailable();
+ public native boolean isRedoAvailable();
+ public native boolean hasMarkedText();
+ public native String markedText();
+ public native boolean dragEnabled();
+ public native String inputMask();
+ public native void setInputMask(String inputMask);
+ public native boolean hasAcceptableInput();
+ public native int characterAt(int arg1, char arg2);
+ public native boolean getSelection(int[] arg1, int[] arg2);
+ public native void setText(String arg1);
+ public native void selectAll();
+ public native void deselect();
+ public native void clearValidator();
+ public native void insert(String arg1);
+ public native void clear();
+ public native void undo();
+ public native void redo();
+ public native void setMaxLength(int arg1);
+ public native void setFrame(boolean arg1);
+ public native void setEchoMode(int arg1);
+ public native void setReadOnly(boolean arg1);
+ public native void setValidator(QValidator arg1);
+ public native void setFont(QFont arg1);
+ public native void setPalette(QPalette arg1);
+ public native void setSelection(int arg1, int arg2);
+ public native void setCursorPosition(int arg1);
+ public native void setAlignment(int flag);
+ public native void cut();
+ public native void copy();
+ public native void paste();
+ public native void setDragEnabled(boolean b);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public native boolean event(QEvent arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void mouseDoubleClickEvent(QMouseEvent arg1);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ protected native void imStartEvent(QIMEvent arg1);
+ protected native void imComposeEvent(QIMEvent arg1);
+ protected native void imEndEvent(QIMEvent arg1);
+ protected native void focusInEvent(QFocusEvent arg1);
+ protected native void focusOutEvent(QFocusEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void drawContents(QPainter arg1);
+ protected native void dragEnterEvent(QDragEnterEvent arg1);
+ protected native void dragMoveEvent(QDragMoveEvent e);
+ protected native void dragLeaveEvent(QDragLeaveEvent e);
+ protected native void dropEvent(QDropEvent arg1);
+ protected native void contextMenuEvent(QContextMenuEvent arg1);
+ protected native QPopupMenu createPopupMenu();
+ protected native void windowActivationChange(boolean arg1);
+ protected native void repaintArea(int arg1, int 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/qtjava/javalib/org/kde/qt/QLineEditSignals.java b/qtjava/javalib/org/kde/qt/QLineEditSignals.java
new file mode 100644
index 00000000..f93d45e8
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QLineEditSignals.java
@@ -0,0 +1,10 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QLineEditSignals {
+ void textChanged(String arg1);
+ void returnPressed();
+ void lostFocus();
+ void selectionChanged();
+}
diff --git a/qtjava/javalib/org/kde/qt/QListBox.java b/qtjava/javalib/org/kde/qt/QListBox.java
new file mode 100644
index 00000000..61150d92
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QListBox.java
@@ -0,0 +1,174 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QListBoxSignals} for signals emitted by QListBox
+*/
+public class QListBox extends QScrollView {
+ protected QListBox(Class dummy){super((Class) null);}
+ public static final int Single = 0;
+ public static final int Multi = 1;
+ public static final int Extended = 2;
+ public static final int NoSelection = 3;
+
+ public static final int FixedNumber = 0;
+ public static final int FitToWidth = 1;
+ public static final int FitToHeight = FitToWidth;
+ public static final int Variable = 2;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QListBox(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQListBox(parent,name,f);
+ }
+ private native void newQListBox(QWidget parent, String name, int f);
+ public QListBox(QWidget parent, String name) {
+ super((Class) null);
+ newQListBox(parent,name);
+ }
+ private native void newQListBox(QWidget parent, String name);
+ public QListBox(QWidget parent) {
+ super((Class) null);
+ newQListBox(parent);
+ }
+ private native void newQListBox(QWidget parent);
+ public QListBox() {
+ super((Class) null);
+ newQListBox();
+ }
+ private native void newQListBox();
+ public native void setFont(QFont arg1);
+ public native int count();
+ public native void insertStringList(String[] arg1, int index);
+ public native void insertStringList(String[] arg1);
+ public native void insertStrList(String[] arg1, int index);
+ public native void insertStrList(String[] arg1);
+ public native void insertStrList(String[] arg1, int numStrings, int index);
+ public native void insertItem(QListBoxItem arg1, int index);
+ public native void insertItem(QListBoxItem arg1);
+ public native void insertItem(QListBoxItem arg1, QListBoxItem after);
+ public native void insertItem(String text, int index);
+ public native void insertItem(String text);
+ public native void insertItem(QPixmap pixmap, int index);
+ public native void insertItem(QPixmap pixmap);
+ public native void insertItem(QPixmap pixmap, String text, int index);
+ public native void insertItem(QPixmap pixmap, String text);
+ public native void removeItem(int index);
+ public native String text(int index);
+ public native QPixmap pixmap(int index);
+ public native void changeItem(QListBoxItem arg1, int index);
+ public native void changeItem(String text, int index);
+ public native void changeItem(QPixmap pixmap, int index);
+ public native void changeItem(QPixmap pixmap, String text, int index);
+ public native void takeItem(QListBoxItem arg1);
+ public native int numItemsVisible();
+ public native int currentItem();
+ public native String currentText();
+ public native void setCurrentItem(int index);
+ public native void setCurrentItem(QListBoxItem arg1);
+ public native void centerCurrentItem();
+ public native int topItem();
+ public native void setTopItem(int index);
+ public native void setBottomItem(int index);
+ public native long maxItemWidth();
+ public native void setSelectionMode(int arg1);
+ public native int selectionMode();
+ public native void setMultiSelection(boolean multi);
+ public native boolean isMultiSelection();
+ public native void setSelected(QListBoxItem arg1, boolean arg2);
+ public native void setSelected(int arg1, boolean arg2);
+ public native boolean isSelected(int arg1);
+ public native boolean isSelected(QListBoxItem arg1);
+ public native QListBoxItem selectedItem();
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native QListBoxItem item(int index);
+ public native int index(QListBoxItem arg1);
+ public native QListBoxItem findItem(String text, int compare);
+ public native QListBoxItem findItem(String text);
+ public native void triggerUpdate(boolean doLayout);
+ public native boolean itemVisible(int index);
+ public native boolean itemVisible(QListBoxItem arg1);
+ public native void setColumnMode(int arg1);
+ public native void setRowMode(int arg1);
+ public native int columnMode();
+ public native int rowMode();
+ public native int numColumns();
+ public native int numRows();
+ public native boolean variableWidth();
+ public native void setVariableWidth(boolean arg1);
+ public native boolean variableHeight();
+ public native void setVariableHeight(boolean arg1);
+ public native void viewportPaintEvent(QPaintEvent arg1);
+ public native boolean dragSelect();
+ public native void setDragSelect(boolean arg1);
+ public native boolean autoScroll();
+ public native void setAutoScroll(boolean arg1);
+ public native boolean autoScrollBar();
+ public native void setAutoScrollBar(boolean enable);
+ public native boolean scrollBar();
+ public native void setScrollBar(boolean enable);
+ public native boolean autoBottomScrollBar();
+ public native void setAutoBottomScrollBar(boolean enable);
+ public native boolean bottomScrollBar();
+ public native void setBottomScrollBar(boolean enable);
+ public native boolean smoothScrolling();
+ public native void setSmoothScrolling(boolean arg1);
+ public native boolean autoUpdate();
+ public native void setAutoUpdate(boolean arg1);
+ public native void setFixedVisibleLines(int lines);
+ public native int inSort(QListBoxItem arg1);
+ public native int inSort(String text);
+ public native int cellHeight(int i);
+ public native int cellHeight();
+ public native int cellWidth();
+ public native int cellWidth(int i);
+ public native int numCols();
+ public native int itemHeight(int index);
+ public native int itemHeight();
+ public native QListBoxItem itemAt(QPoint arg1);
+ public native QRect itemRect(QListBoxItem item);
+ public native QListBoxItem firstItem();
+ public native void sort(boolean ascending);
+ public native void sort();
+ public native void clear();
+ public native void ensureCurrentVisible();
+ public native void clearSelection();
+ public native void selectAll(boolean select);
+ public native void invertSelection();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void mouseDoubleClickEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ protected native void contentsContextMenuEvent(QContextMenuEvent arg1);
+ protected native void keyPressEvent(QKeyEvent e);
+ protected native void focusInEvent(QFocusEvent e);
+ protected native void focusOutEvent(QFocusEvent e);
+ protected native void resizeEvent(QResizeEvent arg1);
+ public native void showEvent(QShowEvent arg1);
+ public native boolean eventFilter(QObject o, QEvent e);
+ protected native void updateItem(int index);
+ protected native void updateItem(QListBoxItem arg1);
+ protected native void updateCellWidth();
+ protected native int totalWidth();
+ protected native int totalHeight();
+ public native void paintCell(QPainter arg1, int row, int col);
+ protected native void toggleCurrentItem();
+ protected native boolean isRubberSelecting();
+ protected native void doLayout();
+ protected native void windowActivationChange(boolean arg1);
+ protected native boolean itemYPos(int index, int[] yPos);
+ protected native int findItem(int yPos);
+ protected native void clearInputString();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QListBoxItem.java b/qtjava/javalib/org/kde/qt/QListBoxItem.java
new file mode 100644
index 00000000..268f2cb1
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QListBoxItem.java
@@ -0,0 +1,25 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QListBoxItem implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QListBoxItem(Class dummy){}
+
+ public native String text();
+ public native QPixmap pixmap();
+ public native int height(QListBox arg1);
+ public native int width(QListBox arg1);
+ public native boolean isSelected();
+ public native boolean isCurrent();
+ public native boolean selected();
+ public native boolean current();
+ public native QListBox listBox();
+ public native void setSelectable(boolean b);
+ public native boolean isSelectable();
+ public native QListBoxItem next();
+ public native QListBoxItem prev();
+ public native int rtti();
+}
diff --git a/qtjava/javalib/org/kde/qt/QListBoxPixmap.java b/qtjava/javalib/org/kde/qt/QListBoxPixmap.java
new file mode 100644
index 00000000..950801be
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QListBoxPixmap.java
@@ -0,0 +1,49 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QListBoxPixmap extends QListBoxItem {
+ protected QListBoxPixmap(Class dummy){super((Class) null);}
+ public QListBoxPixmap(QListBox listbox, QPixmap arg2) {
+ super((Class) null);
+ newQListBoxPixmap(listbox,arg2);
+ }
+ private native void newQListBoxPixmap(QListBox listbox, QPixmap arg2);
+ public QListBoxPixmap(QPixmap arg1) {
+ super((Class) null);
+ newQListBoxPixmap(arg1);
+ }
+ private native void newQListBoxPixmap(QPixmap arg1);
+ public QListBoxPixmap(QListBox listbox, QPixmap pix, QListBoxItem after) {
+ super((Class) null);
+ newQListBoxPixmap(listbox,pix,after);
+ }
+ private native void newQListBoxPixmap(QListBox listbox, QPixmap pix, QListBoxItem after);
+ public QListBoxPixmap(QListBox listbox, QPixmap arg2, String arg3) {
+ super((Class) null);
+ newQListBoxPixmap(listbox,arg2,arg3);
+ }
+ private native void newQListBoxPixmap(QListBox listbox, QPixmap arg2, String arg3);
+ public QListBoxPixmap(QPixmap arg1, String arg2) {
+ super((Class) null);
+ newQListBoxPixmap(arg1,arg2);
+ }
+ private native void newQListBoxPixmap(QPixmap arg1, String arg2);
+ public QListBoxPixmap(QListBox listbox, QPixmap pix, String arg3, QListBoxItem after) {
+ super((Class) null);
+ newQListBoxPixmap(listbox,pix,arg3,after);
+ }
+ private native void newQListBoxPixmap(QListBox listbox, QPixmap pix, String arg3, QListBoxItem after);
+ public native QPixmap pixmap();
+ public native int height(QListBox arg1);
+ public native int width(QListBox arg1);
+ public native int rtti();
+ protected native void paint(QPainter 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/qtjava/javalib/org/kde/qt/QListBoxSignals.java b/qtjava/javalib/org/kde/qt/QListBoxSignals.java
new file mode 100644
index 00000000..fe64ccda
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QListBoxSignals.java
@@ -0,0 +1,28 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QListBoxSignals {
+ void highlighted(int index);
+ void selected(int index);
+ void highlighted(String arg1);
+ void selected(String arg1);
+ void highlighted(QListBoxItem arg1);
+ void selected(QListBoxItem arg1);
+ void selectionChanged();
+ void selectionChanged(QListBoxItem arg1);
+ void currentChanged(QListBoxItem arg1);
+ void clicked(QListBoxItem arg1);
+ void clicked(QListBoxItem arg1, QPoint arg2);
+ void pressed(QListBoxItem arg1);
+ void pressed(QListBoxItem arg1, QPoint arg2);
+ void doubleClicked(QListBoxItem arg1);
+ void returnPressed(QListBoxItem arg1);
+ void rightButtonClicked(QListBoxItem arg1, QPoint arg2);
+ void rightButtonPressed(QListBoxItem arg1, QPoint arg2);
+ void mouseButtonPressed(int arg1, QListBoxItem arg2, QPoint arg3);
+ void mouseButtonClicked(int arg1, QListBoxItem arg2, QPoint arg3);
+ void contextMenuRequested(QListBoxItem arg1, QPoint arg2);
+ void onItem(QListBoxItem item);
+ void onViewport();
+}
diff --git a/qtjava/javalib/org/kde/qt/QListBoxText.java b/qtjava/javalib/org/kde/qt/QListBoxText.java
new file mode 100644
index 00000000..4e256b43
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QListBoxText.java
@@ -0,0 +1,43 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QListBoxText extends QListBoxItem {
+ protected QListBoxText(Class dummy){super((Class) null);}
+ public QListBoxText(QListBox listbox, String text) {
+ super((Class) null);
+ newQListBoxText(listbox,text);
+ }
+ private native void newQListBoxText(QListBox listbox, String text);
+ public QListBoxText(QListBox listbox) {
+ super((Class) null);
+ newQListBoxText(listbox);
+ }
+ private native void newQListBoxText(QListBox listbox);
+ public QListBoxText(String text) {
+ super((Class) null);
+ newQListBoxText(text);
+ }
+ private native void newQListBoxText(String text);
+ public QListBoxText() {
+ super((Class) null);
+ newQListBoxText();
+ }
+ private native void newQListBoxText();
+ public QListBoxText(QListBox listbox, String text, QListBoxItem after) {
+ super((Class) null);
+ newQListBoxText(listbox,text,after);
+ }
+ private native void newQListBoxText(QListBox listbox, String text, QListBoxItem after);
+ public native int height(QListBox arg1);
+ public native int width(QListBox arg1);
+ public native int rtti();
+ protected native void paint(QPainter 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/qtjava/javalib/org/kde/qt/QListView.java b/qtjava/javalib/org/kde/qt/QListView.java
new file mode 100644
index 00000000..d1ec696f
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QListView.java
@@ -0,0 +1,161 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.util.ArrayList;
+import org.kde.qt.Qt;
+
+/**
+ See {@link QListViewSignals} for signals emitted by QListView
+*/
+public class QListView extends QScrollView {
+ protected QListView(Class dummy){super((Class) null);}
+ public static final int Manual = 0;
+ public static final int Maximum = 1;
+
+ public static final int Single = 0;
+ public static final int Multi = 1;
+ public static final int Extended = 2;
+ public static final int NoSelection = 3;
+
+ public static final int NoColumn = 0;
+ public static final int AllColumns = 1;
+ public static final int LastColumn = 2;
+
+ public static final int Accept = 0;
+ public static final int Reject = 1;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QListView(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQListView(parent,name,f);
+ }
+ private native void newQListView(QWidget parent, String name, int f);
+ public QListView(QWidget parent, String name) {
+ super((Class) null);
+ newQListView(parent,name);
+ }
+ private native void newQListView(QWidget parent, String name);
+ public QListView(QWidget parent) {
+ super((Class) null);
+ newQListView(parent);
+ }
+ private native void newQListView(QWidget parent);
+ public QListView() {
+ super((Class) null);
+ newQListView();
+ }
+ private native void newQListView();
+ public native int treeStepSize();
+ public native void setTreeStepSize(int arg1);
+ public native void insertItem(QListViewItem arg1);
+ public native void takeItem(QListViewItem arg1);
+ public native void removeItem(QListViewItem item);
+ public native QHeader header();
+ public native int addColumn(String label, int size);
+ public native int addColumn(String label);
+ public native int addColumn(QIconSet iconset, String label, int size);
+ public native int addColumn(QIconSet iconset, String label);
+ public native void removeColumn(int index);
+ public native void setColumnText(int column, String label);
+ public native void setColumnText(int column, QIconSet iconset, String label);
+ public native String columnText(int column);
+ public native void setColumnWidth(int column, int width);
+ public native int columnWidth(int column);
+ public native void setColumnWidthMode(int column, int arg2);
+ public native int columnWidthMode(int column);
+ public native int columns();
+ public native void setColumnAlignment(int arg1, int arg2);
+ public native int columnAlignment(int arg1);
+ public native void show();
+ public native QListViewItem itemAt(QPoint screenPos);
+ public native QRect itemRect(QListViewItem arg1);
+ public native int itemPos(QListViewItem arg1);
+ public native void ensureItemVisible(QListViewItem arg1);
+ public native void repaintItem(QListViewItem arg1);
+ public native void setMultiSelection(boolean enable);
+ public native boolean isMultiSelection();
+ public native void setSelectionMode(int mode);
+ public native int selectionMode();
+ public native void clearSelection();
+ public native void setSelected(QListViewItem arg1, boolean arg2);
+ public native void setSelectionAnchor(QListViewItem arg1);
+ public native boolean isSelected(QListViewItem arg1);
+ public native QListViewItem selectedItem();
+ public native void setOpen(QListViewItem arg1, boolean arg2);
+ public native boolean isOpen(QListViewItem arg1);
+ public native void setCurrentItem(QListViewItem arg1);
+ public native QListViewItem currentItem();
+ public native QListViewItem firstChild();
+ public native QListViewItem lastItem();
+ public native int childCount();
+ public native void setAllColumnsShowFocus(boolean arg1);
+ public native boolean allColumnsShowFocus();
+ public native void setItemMargin(int arg1);
+ public native int itemMargin();
+ public native void setRootIsDecorated(boolean arg1);
+ public native boolean rootIsDecorated();
+ public native void setSorting(int column, boolean ascending);
+ public native void setSorting(int column);
+ public native int sortColumn();
+ public native void setSortColumn(int column);
+ public native int sortOrder();
+ public native void setSortOrder(int order);
+ public native void sort();
+ public native void setFont(QFont arg1);
+ public native void setPalette(QPalette arg1);
+ public native boolean eventFilter(QObject o, QEvent arg2);
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native void setShowSortIndicator(boolean show);
+ public native boolean showSortIndicator();
+ public native void setShowToolTips(boolean b);
+ public native boolean showToolTips();
+ public native void setResizeMode(int m);
+ public native int resizeMode();
+ public native QListViewItem findItem(String text, int column, int compare);
+ public native QListViewItem findItem(String text, int column);
+ public native void setDefaultRenameAction(int a);
+ public native int defaultRenameAction();
+ public native boolean isRenaming();
+ public native void hideColumn(int column);
+ public native void clear();
+ public native void invertSelection();
+ public native void selectAll(boolean select);
+ public native void triggerUpdate();
+ public native void setContentsPos(int x, int y);
+ public native void adjustColumn(int col);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void contentsMousePressEvent(QMouseEvent e);
+ protected native void contentsMouseReleaseEvent(QMouseEvent e);
+ protected native void contentsMouseMoveEvent(QMouseEvent e);
+ protected native void contentsMouseDoubleClickEvent(QMouseEvent e);
+ protected native void contentsContextMenuEvent(QContextMenuEvent e);
+ protected native void contentsDragEnterEvent(QDragEnterEvent e);
+ protected native void contentsDragMoveEvent(QDragMoveEvent e);
+ protected native void contentsDragLeaveEvent(QDragLeaveEvent e);
+ protected native void contentsDropEvent(QDropEvent e);
+ protected native QDragObject dragObject();
+ protected native void startDrag();
+ protected native void focusInEvent(QFocusEvent e);
+ protected native void focusOutEvent(QFocusEvent e);
+ protected native void keyPressEvent(QKeyEvent e);
+ protected native void resizeEvent(QResizeEvent e);
+ protected native void viewportResizeEvent(QResizeEvent e);
+ public native void showEvent(QShowEvent arg1);
+ protected native void drawContentsOffset(QPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch);
+ protected native void paintEmptyArea(QPainter arg1, QRect arg2);
+ public native void styleChange(QStyle arg1);
+ protected native void windowActivationChange(boolean arg1);
+ public native void updateContents();
+ protected native void doAutoScroll();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws 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 ArrayList itemList();
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QListViewItem.java b/qtjava/javalib/org/kde/qt/QListViewItem.java
new file mode 100644
index 00000000..e2aa59de
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QListViewItem.java
@@ -0,0 +1,262 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.util.ArrayList;
+import org.kde.qt.Qt;
+
+public class QListViewItem extends Qt {
+ protected QListViewItem(Class dummy){super((Class) null);}
+ public QListViewItem(QListView parent) {
+ super((Class) null);
+ newQListViewItem(parent);
+ }
+ private native void newQListViewItem(QListView parent);
+ public QListViewItem(QListViewItem parent) {
+ super((Class) null);
+ newQListViewItem(parent);
+ }
+ private native void newQListViewItem(QListViewItem parent);
+ public QListViewItem(QListView parent, QListViewItem after) {
+ super((Class) null);
+ newQListViewItem(parent,after);
+ }
+ private native void newQListViewItem(QListView parent, QListViewItem after);
+ public QListViewItem(QListViewItem parent, QListViewItem after) {
+ super((Class) null);
+ newQListViewItem(parent,after);
+ }
+ private native void newQListViewItem(QListViewItem parent, QListViewItem after);
+ public QListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) {
+ super((Class) null);
+ newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
+ }
+ private native void newQListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9);
+ public QListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) {
+ super((Class) null);
+ newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
+ }
+ private native void newQListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8);
+ public QListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) {
+ super((Class) null);
+ newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7);
+ }
+ private native void newQListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7);
+ public QListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6) {
+ super((Class) null);
+ newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6);
+ }
+ private native void newQListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6);
+ public QListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5) {
+ super((Class) null);
+ newQListViewItem(parent,arg2,arg3,arg4,arg5);
+ }
+ private native void newQListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5);
+ public QListViewItem(QListView parent, String arg2, String arg3, String arg4) {
+ super((Class) null);
+ newQListViewItem(parent,arg2,arg3,arg4);
+ }
+ private native void newQListViewItem(QListView parent, String arg2, String arg3, String arg4);
+ public QListViewItem(QListView parent, String arg2, String arg3) {
+ super((Class) null);
+ newQListViewItem(parent,arg2,arg3);
+ }
+ private native void newQListViewItem(QListView parent, String arg2, String arg3);
+ public QListViewItem(QListView parent, String arg2) {
+ super((Class) null);
+ newQListViewItem(parent,arg2);
+ }
+ private native void newQListViewItem(QListView parent, String arg2);
+ public QListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) {
+ super((Class) null);
+ newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
+ }
+ private native void newQListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9);
+ public QListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) {
+ super((Class) null);
+ newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
+ }
+ private native void newQListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8);
+ public QListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) {
+ super((Class) null);
+ newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7);
+ }
+ private native void newQListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7);
+ public QListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6) {
+ super((Class) null);
+ newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6);
+ }
+ private native void newQListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6);
+ public QListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5) {
+ super((Class) null);
+ newQListViewItem(parent,arg2,arg3,arg4,arg5);
+ }
+ private native void newQListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5);
+ public QListViewItem(QListViewItem parent, String arg2, String arg3, String arg4) {
+ super((Class) null);
+ newQListViewItem(parent,arg2,arg3,arg4);
+ }
+ private native void newQListViewItem(QListViewItem parent, String arg2, String arg3, String arg4);
+ public QListViewItem(QListViewItem parent, String arg2, String arg3) {
+ super((Class) null);
+ newQListViewItem(parent,arg2,arg3);
+ }
+ private native void newQListViewItem(QListViewItem parent, String arg2, String arg3);
+ public QListViewItem(QListViewItem parent, String arg2) {
+ super((Class) null);
+ newQListViewItem(parent,arg2);
+ }
+ private native void newQListViewItem(QListViewItem parent, String arg2);
+ public QListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
+ }
+ private native void newQListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10);
+ public QListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
+ }
+ private native void newQListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9);
+ public QListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8);
+ }
+ private native void newQListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8);
+ public QListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7);
+ }
+ private native void newQListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7);
+ public QListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3,arg4,arg5,arg6);
+ }
+ private native void newQListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6);
+ public QListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3,arg4,arg5);
+ }
+ private native void newQListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5);
+ public QListViewItem(QListView parent, QListViewItem after, String arg3, String arg4) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3,arg4);
+ }
+ private native void newQListViewItem(QListView parent, QListViewItem after, String arg3, String arg4);
+ public QListViewItem(QListView parent, QListViewItem after, String arg3) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3);
+ }
+ private native void newQListViewItem(QListView parent, QListViewItem after, String arg3);
+ public QListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
+ }
+ private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10);
+ public QListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
+ }
+ private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9);
+ public QListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8);
+ }
+ private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8);
+ public QListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7);
+ }
+ private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7);
+ public QListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3,arg4,arg5,arg6);
+ }
+ private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6);
+ public QListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3,arg4,arg5);
+ }
+ private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5);
+ public QListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3,arg4);
+ }
+ private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4);
+ public QListViewItem(QListViewItem parent, QListViewItem after, String arg3) {
+ super((Class) null);
+ newQListViewItem(parent,after,arg3);
+ }
+ private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3);
+ public native void insertItem(QListViewItem arg1);
+ public native void takeItem(QListViewItem arg1);
+ public native void removeItem(QListViewItem item);
+ public native int height();
+ public native void invalidateHeight();
+ public native int totalHeight();
+ public native int width(QFontMetrics arg1, QListView arg2, int column);
+ public native void widthChanged(int column);
+ public native void widthChanged();
+ public native int depth();
+ public native void setText(int arg1, String arg2);
+ public native String text(int arg1);
+ public native void setPixmap(int arg1, QPixmap arg2);
+ public native QPixmap pixmap(int arg1);
+ public native String key(int arg1, boolean arg2);
+ public native int compare(QListViewItem i, int col, boolean arg3);
+ public native void sortChildItems(int arg1, boolean arg2);
+ public native int childCount();
+ public native boolean isOpen();
+ public native void setOpen(boolean arg1);
+ public native void setup();
+ public native void setSelected(boolean arg1);
+ public native boolean isSelected();
+ public native void paintCell(QPainter arg1, QColorGroup cg, int column, int width, int alignment);
+ public native void paintBranches(QPainter p, QColorGroup cg, int w, int y, int h);
+ public native void paintFocus(QPainter arg1, QColorGroup cg, QRect r);
+ public native QListViewItem firstChild();
+ public native QListViewItem nextSibling();
+ public native QListViewItem parent();
+ public native QListViewItem itemAbove();
+ public native QListViewItem itemBelow();
+ public native int itemPos();
+ public native QListView listView();
+ public native void setSelectable(boolean enable);
+ public native boolean isSelectable();
+ public native void setExpandable(boolean arg1);
+ public native boolean isExpandable();
+ public native void repaint();
+ public native void sort();
+ public native void moveItem(QListViewItem after);
+ public native void setDragEnabled(boolean allow);
+ public native void setDropEnabled(boolean allow);
+ public native boolean dragEnabled();
+ public native boolean dropEnabled();
+ public native boolean acceptDrop(QMimeSourceInterface mime);
+ public native void setVisible(boolean b);
+ public native boolean isVisible();
+ public native void setRenameEnabled(int col, boolean b);
+ public native boolean renameEnabled(int col);
+ public native void startRename(int col);
+ public native void setEnabled(boolean b);
+ public native boolean isEnabled();
+ public native int rtti();
+ public native void setMultiLinesEnabled(boolean b);
+ public native boolean multiLinesEnabled();
+ protected native void enforceSortOrder();
+ protected native void setHeight(int arg1);
+ protected native void activate();
+ protected native boolean activatedPos(QPoint arg1);
+ protected native void dropped(QDropEvent e);
+ protected native void dragEntered();
+ protected native void dragLeft();
+ protected native void okRename(int col);
+ protected native void cancelRename(int col);
+ protected native void ignoreDoubleClick();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws 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 ArrayList itemList();
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QListViewSignals.java b/qtjava/javalib/org/kde/qt/QListViewSignals.java
new file mode 100644
index 00000000..f4c3995e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QListViewSignals.java
@@ -0,0 +1,29 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QListViewSignals {
+ void selectionChanged();
+ void selectionChanged(QListViewItem arg1);
+ void currentChanged(QListViewItem arg1);
+ void clicked(QListViewItem arg1);
+ void clicked(QListViewItem arg1, QPoint arg2, int arg3);
+ void pressed(QListViewItem arg1);
+ void pressed(QListViewItem arg1, QPoint arg2, int arg3);
+ void doubleClicked(QListViewItem arg1);
+ void doubleClicked(QListViewItem arg1, QPoint arg2, int arg3);
+ void returnPressed(QListViewItem arg1);
+ void spacePressed(QListViewItem arg1);
+ void rightButtonClicked(QListViewItem arg1, QPoint arg2, int arg3);
+ void rightButtonPressed(QListViewItem arg1, QPoint arg2, int arg3);
+ void mouseButtonPressed(int arg1, QListViewItem arg2, QPoint arg3, int arg4);
+ void mouseButtonClicked(int arg1, QListViewItem arg2, QPoint arg3, int arg4);
+ void contextMenuRequested(QListViewItem arg1, QPoint arg2, int arg3);
+ void onItem(QListViewItem item);
+ void onViewport();
+ void expanded(QListViewItem item);
+ void collapsed(QListViewItem item);
+ void dropped(QDropEvent e);
+ void itemRenamed(QListViewItem item, int col, String arg3);
+ void itemRenamed(QListViewItem item, int col);
+}
diff --git a/qtjava/javalib/org/kde/qt/QLocalFs.java b/qtjava/javalib/org/kde/qt/QLocalFs.java
new file mode 100644
index 00000000..48e5fbdc
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QLocalFs.java
@@ -0,0 +1,30 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QLocalFs extends QNetworkProtocol {
+ protected QLocalFs(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QLocalFs() {
+ super((Class) null);
+ newQLocalFs();
+ }
+ private native void newQLocalFs();
+ public native int supportedOperations();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void operationListChildren(QNetworkOperation op);
+ protected native void operationMkDir(QNetworkOperation op);
+ protected native void operationRemove(QNetworkOperation op);
+ protected native void operationRename(QNetworkOperation op);
+ protected native void operationGet(QNetworkOperation op);
+ protected native void operationPut(QNetworkOperation op);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QMainWindow.java b/qtjava/javalib/org/kde/qt/QMainWindow.java
new file mode 100644
index 00000000..7969ac6b
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMainWindow.java
@@ -0,0 +1,125 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QMainWindowSignals} for signals emitted by QMainWindow
+*/
+public class QMainWindow extends QWidget {
+ protected QMainWindow(Class dummy){super((Class) null);}
+ public static final int OnlyToolBars = 0;
+ public static final int NoToolBars = 1;
+ public static final int AllDockWindows = 2;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QMainWindow(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQMainWindow(parent,name,f);
+ }
+ private native void newQMainWindow(QWidget parent, String name, int f);
+ public QMainWindow(QWidget parent, String name) {
+ super((Class) null);
+ newQMainWindow(parent,name);
+ }
+ private native void newQMainWindow(QWidget parent, String name);
+ public QMainWindow(QWidget parent) {
+ super((Class) null);
+ newQMainWindow(parent);
+ }
+ private native void newQMainWindow(QWidget parent);
+ public QMainWindow() {
+ super((Class) null);
+ newQMainWindow();
+ }
+ private native void newQMainWindow();
+ public native QMenuBar menuBar();
+ public native QStatusBar statusBar();
+ public native QToolTipGroup toolTipGroup();
+ public native void setCentralWidget(QWidget arg1);
+ public native QWidget centralWidget();
+ public native void setDockEnabled(int dock, boolean enable);
+ public native boolean isDockEnabled(int dock);
+ public native boolean isDockEnabled(QDockArea area);
+ public native void setDockEnabled(QDockWindow tb, int dock, boolean enable);
+ public native boolean isDockEnabled(QDockWindow tb, int dock);
+ public native boolean isDockEnabled(QDockWindow tb, QDockArea area);
+ public native void addDockWindow(QDockWindow arg1, int arg2, boolean newLine);
+ public native void addDockWindow(QDockWindow arg1, int arg2);
+ public native void addDockWindow(QDockWindow arg1);
+ public native void addDockWindow(QDockWindow arg1, String label, int arg3, boolean newLine);
+ public native void addDockWindow(QDockWindow arg1, String label, int arg3);
+ public native void addDockWindow(QDockWindow arg1, String label);
+ public native void moveDockWindow(QDockWindow arg1, int arg2);
+ public native void moveDockWindow(QDockWindow arg1);
+ public native void moveDockWindow(QDockWindow arg1, int arg2, boolean nl, int index, int extraOffset);
+ public native void moveDockWindow(QDockWindow arg1, int arg2, boolean nl, int index);
+ public native void removeDockWindow(QDockWindow arg1);
+ public native void show();
+ public native void hide();
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native boolean rightJustification();
+ public native boolean usesBigPixmaps();
+ public native boolean usesTextLabel();
+ public native boolean dockWindowsMovable();
+ public native boolean opaqueMoving();
+ public native boolean eventFilter(QObject arg1, QEvent arg2);
+ public native boolean getLocation(QDockWindow tb, int dock, int[] index, boolean nl, int[] extraOffset);
+ // QPtrList<QDockWindow> dockWindows(Qt::Dock arg1); >>>> NOT CONVERTED
+ // QPtrList<QDockWindow> dockWindows(); >>>> NOT CONVERTED
+ public native void lineUpDockWindows(boolean keepNewLines);
+ public native void lineUpDockWindows();
+ public native boolean isDockMenuEnabled();
+ public native boolean hasDockWindow(QDockWindow dw);
+ public native void addToolBar(QDockWindow arg1, int arg2, boolean newLine);
+ public native void addToolBar(QDockWindow arg1, int arg2);
+ public native void addToolBar(QDockWindow arg1);
+ public native void addToolBar(QDockWindow arg1, String label, int arg3, boolean newLine);
+ public native void addToolBar(QDockWindow arg1, String label, int arg3);
+ public native void addToolBar(QDockWindow arg1, String label);
+ public native void moveToolBar(QDockWindow arg1, int arg2);
+ public native void moveToolBar(QDockWindow arg1);
+ public native void moveToolBar(QDockWindow arg1, int arg2, boolean nl, int index, int extraOffset);
+ public native void moveToolBar(QDockWindow arg1, int arg2, boolean nl, int index);
+ public native void removeToolBar(QDockWindow arg1);
+ public native boolean toolBarsMovable();
+ // QPtrList<QToolBar> toolBars(Qt::Dock arg1); >>>> NOT CONVERTED
+ public native void lineUpToolBars(boolean keepNewLines);
+ public native void lineUpToolBars();
+ public native QDockArea dockingArea(QPoint p);
+ public native QDockArea leftDock();
+ public native QDockArea rightDock();
+ public native QDockArea topDock();
+ public native QDockArea bottomDock();
+ public native boolean isCustomizable();
+ public native boolean appropriate(QDockWindow dw);
+ public native QPopupMenu createDockWindowMenu(int dockWindows);
+ public native QPopupMenu createDockWindowMenu();
+ public native void setRightJustification(boolean arg1);
+ public native void setUsesBigPixmaps(boolean arg1);
+ public native void setUsesTextLabel(boolean arg1);
+ public native void setDockWindowsMovable(boolean arg1);
+ public native void setOpaqueMoving(boolean arg1);
+ public native void setDockMenuEnabled(boolean arg1);
+ public native void whatsThis();
+ public native void setAppropriate(QDockWindow dw, boolean a);
+ public native void customize();
+ public native void setToolBarsMovable(boolean arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void childEvent(QChildEvent arg1);
+ public native boolean event(QEvent arg1);
+ public native void styleChange(QStyle arg1);
+ protected native void setUpLayout();
+ protected native boolean showDockMenu(QPoint globalPos);
+ protected native void menuAboutToShow();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QMainWindowSignals.java b/qtjava/javalib/org/kde/qt/QMainWindowSignals.java
new file mode 100644
index 00000000..40c5f637
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMainWindowSignals.java
@@ -0,0 +1,10 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QMainWindowSignals {
+ void pixmapSizeChanged(boolean arg1);
+ void usesTextLabelChanged(boolean arg1);
+ void dockWindowPositionChanged(QDockWindow arg1);
+ void toolBarPositionChanged(QToolBar arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QMenuBar.java b/qtjava/javalib/org/kde/qt/QMenuBar.java
new file mode 100644
index 00000000..1c23c428
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMenuBar.java
@@ -0,0 +1,158 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QMenuBarSignals} for signals emitted by QMenuBar
+*/
+public class QMenuBar extends QFrame implements QMenuDataInterface {
+ protected QMenuBar(Class dummy){super((Class) null);}
+ public static final int Never = 0;
+ public static final int InWindowsStyle = 1;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QMenuBar(QWidget parent, String name) {
+ super((Class) null);
+ newQMenuBar(parent,name);
+ }
+ private native void newQMenuBar(QWidget parent, String name);
+ public QMenuBar(QWidget parent) {
+ super((Class) null);
+ newQMenuBar(parent);
+ }
+ private native void newQMenuBar(QWidget parent);
+ public QMenuBar() {
+ super((Class) null);
+ newQMenuBar();
+ }
+ private native void newQMenuBar();
+ public native void updateItem(int id);
+ public native void show();
+ public native void hide();
+ public native boolean eventFilter(QObject arg1, QEvent arg2);
+ public native int heightForWidth(int arg1);
+ public native int separator();
+ public native void setSeparator(int when);
+ public native void setDefaultUp(boolean arg1);
+ public native boolean isDefaultUp();
+ public native boolean customWhatsThis();
+ public native QSize sizeHint();
+ public native QSize minimumSize();
+ public native QSize minimumSizeHint();
+ public native void activateItemAt(int index);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawContents(QPainter arg1);
+ protected native void fontChange(QFont arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ protected native void focusInEvent(QFocusEvent arg1);
+ protected native void focusOutEvent(QFocusEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void leaveEvent(QEvent arg1);
+ protected native void menuContentsChanged();
+ protected native void menuStateChanged();
+ public native void styleChange(QStyle arg1);
+ protected native int itemAtPos(QPoint arg1);
+ protected native void hidePopups();
+ protected native QRect itemRect(int 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();
+ public native int count();
+ public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id, int index);
+ public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id);
+ public native int insertItem(String text, QObject receiver, String member, QKeySequence accel);
+ public native int insertItem(String text, QObject receiver, String member);
+ public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id, int index);
+ public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id);
+ public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel);
+ public native int insertItem(QIconSet icon, String text, QObject receiver, String member);
+ public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index);
+ public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id);
+ public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel);
+ public native int insertItem(QPixmap pixmap, QObject receiver, String member);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member);
+ public native int insertItem(String text, int id, int index);
+ public native int insertItem(String text, int id);
+ public native int insertItem(String text);
+ public native int insertItem(QIconSet icon, String text, int id, int index);
+ public native int insertItem(QIconSet icon, String text, int id);
+ public native int insertItem(QIconSet icon, String text);
+ public native int insertItem(String text, QPopupMenu popup, int id, int index);
+ public native int insertItem(String text, QPopupMenu popup, int id);
+ public native int insertItem(String text, QPopupMenu popup);
+ public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id, int index);
+ public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id);
+ public native int insertItem(QIconSet icon, String text, QPopupMenu popup);
+ public native int insertItem(QPixmap pixmap, int id, int index);
+ public native int insertItem(QPixmap pixmap, int id);
+ public native int insertItem(QPixmap pixmap);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, int id, int index);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, int id);
+ public native int insertItem(QIconSet icon, QPixmap pixmap);
+ public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id, int index);
+ public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id);
+ public native int insertItem(QPixmap pixmap, QPopupMenu popup);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id, int index);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup);
+ public native int insertItem(QWidget widget, int id, int index);
+ public native int insertItem(QWidget widget, int id);
+ public native int insertItem(QWidget widget);
+ public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id, int index);
+ public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id);
+ public native int insertItem(QIconSet icon, QCustomMenuItem custom);
+ public native int insertItem(QCustomMenuItem custom, int id, int index);
+ public native int insertItem(QCustomMenuItem custom, int id);
+ public native int insertItem(QCustomMenuItem custom);
+ public native int insertSeparator(int index);
+ public native int insertSeparator();
+ public native void removeItem(int id);
+ public native void removeItemAt(int index);
+ public native void clear();
+ public native QKeySequence accel(int id);
+ public native void setAccel(QKeySequence key, int id);
+ public native QIconSet iconSet(int id);
+ public native String text(int id);
+ public native QPixmap pixmap(int id);
+ public native void setWhatsThis(int id, String arg2);
+ public native String whatsThis(int id);
+ public native void changeItem(int id, String text);
+ public native void changeItem(int id, QPixmap pixmap);
+ public native void changeItem(int id, QIconSet icon, String text);
+ public native void changeItem(int id, QIconSet icon, QPixmap pixmap);
+ public native void changeItem(String text, int id);
+ public native void changeItem(QPixmap pixmap, int id);
+ public native void changeItem(QIconSet icon, String text, int id);
+ public native boolean isItemActive(int id);
+ public native boolean isItemEnabled(int id);
+ public native void setItemEnabled(int id, boolean enable);
+ public native boolean isItemChecked(int id);
+ public native void setItemChecked(int id, boolean check);
+ public native boolean isItemVisible(int id);
+ public native void setItemVisible(int id, boolean visible);
+ public native int indexOf(int id);
+ public native int idAt(int index);
+ public native void setId(int index, int id);
+ public native boolean connectItem(int id, QObject receiver, String member);
+ public native boolean disconnectItem(int id, QObject receiver, String member);
+ public native boolean setItemParameter(int id, int param);
+ public native int itemParameter(int id);
+ public native QMenuItem findItem(int id);
+ // QMenuItem* findItem(int arg1,QMenuData** arg2); >>>> NOT CONVERTED
+ public native QMenuItem findPopup(QPopupMenu arg1, int[] index);
+ public native QMenuItem findPopup(QPopupMenu arg1);
+ protected native void menuInsPopup(QPopupMenu arg1);
+ protected native void menuDelPopup(QPopupMenu arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QMenuBarSignals.java b/qtjava/javalib/org/kde/qt/QMenuBarSignals.java
new file mode 100644
index 00000000..ee6154f8
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMenuBarSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QMenuBarSignals {
+ void activated(int itemId);
+ void highlighted(int itemId);
+}
diff --git a/qtjava/javalib/org/kde/qt/QMenuData.java b/qtjava/javalib/org/kde/qt/QMenuData.java
new file mode 100644
index 00000000..26ef6480
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMenuData.java
@@ -0,0 +1,114 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QMenuData implements QtSupport, QMenuDataInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QMenuData(Class dummy){}
+
+ public QMenuData() {
+ newQMenuData();
+ }
+ private native void newQMenuData();
+ public native int count();
+ public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id, int index);
+ public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id);
+ public native int insertItem(String text, QObject receiver, String member, QKeySequence accel);
+ public native int insertItem(String text, QObject receiver, String member);
+ public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id, int index);
+ public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id);
+ public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel);
+ public native int insertItem(QIconSet icon, String text, QObject receiver, String member);
+ public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index);
+ public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id);
+ public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel);
+ public native int insertItem(QPixmap pixmap, QObject receiver, String member);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member);
+ public native int insertItem(String text, int id, int index);
+ public native int insertItem(String text, int id);
+ public native int insertItem(String text);
+ public native int insertItem(QIconSet icon, String text, int id, int index);
+ public native int insertItem(QIconSet icon, String text, int id);
+ public native int insertItem(QIconSet icon, String text);
+ public native int insertItem(String text, QPopupMenu popup, int id, int index);
+ public native int insertItem(String text, QPopupMenu popup, int id);
+ public native int insertItem(String text, QPopupMenu popup);
+ public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id, int index);
+ public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id);
+ public native int insertItem(QIconSet icon, String text, QPopupMenu popup);
+ public native int insertItem(QPixmap pixmap, int id, int index);
+ public native int insertItem(QPixmap pixmap, int id);
+ public native int insertItem(QPixmap pixmap);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, int id, int index);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, int id);
+ public native int insertItem(QIconSet icon, QPixmap pixmap);
+ public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id, int index);
+ public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id);
+ public native int insertItem(QPixmap pixmap, QPopupMenu popup);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id, int index);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup);
+ public native int insertItem(QWidget widget, int id, int index);
+ public native int insertItem(QWidget widget, int id);
+ public native int insertItem(QWidget widget);
+ public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id, int index);
+ public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id);
+ public native int insertItem(QIconSet icon, QCustomMenuItem custom);
+ public native int insertItem(QCustomMenuItem custom, int id, int index);
+ public native int insertItem(QCustomMenuItem custom, int id);
+ public native int insertItem(QCustomMenuItem custom);
+ public native int insertSeparator(int index);
+ public native int insertSeparator();
+ public native void removeItem(int id);
+ public native void removeItemAt(int index);
+ public native void clear();
+ public native QKeySequence accel(int id);
+ public native void setAccel(QKeySequence key, int id);
+ public native QIconSet iconSet(int id);
+ public native String text(int id);
+ public native QPixmap pixmap(int id);
+ public native void setWhatsThis(int id, String arg2);
+ public native String whatsThis(int id);
+ public native void changeItem(int id, String text);
+ public native void changeItem(int id, QPixmap pixmap);
+ public native void changeItem(int id, QIconSet icon, String text);
+ public native void changeItem(int id, QIconSet icon, QPixmap pixmap);
+ public native void changeItem(String text, int id);
+ public native void changeItem(QPixmap pixmap, int id);
+ public native void changeItem(QIconSet icon, String text, int id);
+ public native boolean isItemActive(int id);
+ public native boolean isItemEnabled(int id);
+ public native void setItemEnabled(int id, boolean enable);
+ public native boolean isItemChecked(int id);
+ public native void setItemChecked(int id, boolean check);
+ public native boolean isItemVisible(int id);
+ public native void setItemVisible(int id, boolean visible);
+ public native void updateItem(int id);
+ public native int indexOf(int id);
+ public native int idAt(int index);
+ public native void setId(int index, int id);
+ public native boolean connectItem(int id, QObject receiver, String member);
+ public native boolean disconnectItem(int id, QObject receiver, String member);
+ public native boolean setItemParameter(int id, int param);
+ public native int itemParameter(int id);
+ public native QMenuItem findItem(int id);
+ // QMenuItem* findItem(int arg1,QMenuData** arg2); >>>> NOT CONVERTED
+ public native QMenuItem findPopup(QPopupMenu arg1, int[] index);
+ public native QMenuItem findPopup(QPopupMenu arg1);
+ public native void activateItemAt(int index);
+ protected native void menuContentsChanged();
+ protected native void menuStateChanged();
+ protected native void menuInsPopup(QPopupMenu arg1);
+ protected native void menuDelPopup(QPopupMenu 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/qtjava/javalib/org/kde/qt/QMenuDataInterface.java b/qtjava/javalib/org/kde/qt/QMenuDataInterface.java
new file mode 100644
index 00000000..05fc9adc
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMenuDataInterface.java
@@ -0,0 +1,94 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QMenuDataInterface {
+ int count();
+ int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id, int index);
+ int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id);
+ int insertItem(String text, QObject receiver, String member, QKeySequence accel);
+ int insertItem(String text, QObject receiver, String member);
+ int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id, int index);
+ int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id);
+ int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel);
+ int insertItem(QIconSet icon, String text, QObject receiver, String member);
+ int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index);
+ int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id);
+ int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel);
+ int insertItem(QPixmap pixmap, QObject receiver, String member);
+ int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index);
+ int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id);
+ int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel);
+ int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member);
+ int insertItem(String text, int id, int index);
+ int insertItem(String text, int id);
+ int insertItem(String text);
+ int insertItem(QIconSet icon, String text, int id, int index);
+ int insertItem(QIconSet icon, String text, int id);
+ int insertItem(QIconSet icon, String text);
+ int insertItem(String text, QPopupMenu popup, int id, int index);
+ int insertItem(String text, QPopupMenu popup, int id);
+ int insertItem(String text, QPopupMenu popup);
+ int insertItem(QIconSet icon, String text, QPopupMenu popup, int id, int index);
+ int insertItem(QIconSet icon, String text, QPopupMenu popup, int id);
+ int insertItem(QIconSet icon, String text, QPopupMenu popup);
+ int insertItem(QPixmap pixmap, int id, int index);
+ int insertItem(QPixmap pixmap, int id);
+ int insertItem(QPixmap pixmap);
+ int insertItem(QIconSet icon, QPixmap pixmap, int id, int index);
+ int insertItem(QIconSet icon, QPixmap pixmap, int id);
+ int insertItem(QIconSet icon, QPixmap pixmap);
+ int insertItem(QPixmap pixmap, QPopupMenu popup, int id, int index);
+ int insertItem(QPixmap pixmap, QPopupMenu popup, int id);
+ int insertItem(QPixmap pixmap, QPopupMenu popup);
+ int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id, int index);
+ int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id);
+ int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup);
+ int insertItem(QWidget widget, int id, int index);
+ int insertItem(QWidget widget, int id);
+ int insertItem(QWidget widget);
+ int insertItem(QIconSet icon, QCustomMenuItem custom, int id, int index);
+ int insertItem(QIconSet icon, QCustomMenuItem custom, int id);
+ int insertItem(QIconSet icon, QCustomMenuItem custom);
+ int insertItem(QCustomMenuItem custom, int id, int index);
+ int insertItem(QCustomMenuItem custom, int id);
+ int insertItem(QCustomMenuItem custom);
+ int insertSeparator(int index);
+ int insertSeparator();
+ void removeItem(int id);
+ void removeItemAt(int index);
+ void clear();
+ QKeySequence accel(int id);
+ void setAccel(QKeySequence key, int id);
+ QIconSet iconSet(int id);
+ String text(int id);
+ QPixmap pixmap(int id);
+ void setWhatsThis(int id, String arg2);
+ String whatsThis(int id);
+ void changeItem(int id, String text);
+ void changeItem(int id, QPixmap pixmap);
+ void changeItem(int id, QIconSet icon, String text);
+ void changeItem(int id, QIconSet icon, QPixmap pixmap);
+ void changeItem(String text, int id);
+ void changeItem(QPixmap pixmap, int id);
+ void changeItem(QIconSet icon, String text, int id);
+ boolean isItemActive(int id);
+ boolean isItemEnabled(int id);
+ void setItemEnabled(int id, boolean enable);
+ boolean isItemChecked(int id);
+ void setItemChecked(int id, boolean check);
+ boolean isItemVisible(int id);
+ void setItemVisible(int id, boolean visible);
+ void updateItem(int id);
+ int indexOf(int id);
+ int idAt(int index);
+ void setId(int index, int id);
+ boolean connectItem(int id, QObject receiver, String member);
+ boolean disconnectItem(int id, QObject receiver, String member);
+ boolean setItemParameter(int id, int param);
+ int itemParameter(int id);
+ QMenuItem findItem(int id);
+ QMenuItem findPopup(QPopupMenu arg1, int[] index);
+ QMenuItem findPopup(QPopupMenu arg1);
+ void activateItemAt(int index);
+}
diff --git a/qtjava/javalib/org/kde/qt/QMenuItem.java b/qtjava/javalib/org/kde/qt/QMenuItem.java
new file mode 100644
index 00000000..4ca0063c
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMenuItem.java
@@ -0,0 +1,41 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QMenuItem implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QMenuItem(Class dummy){}
+
+ public QMenuItem() {
+ newQMenuItem();
+ }
+ private native void newQMenuItem();
+ public native int id();
+ public native QIconSet iconSet();
+ public native String text();
+ public native String whatsThis();
+ public native QPixmap pixmap();
+ public native QPopupMenu popup();
+ public native QWidget widget();
+ public native QCustomMenuItem custom();
+ public native QKeySequence key();
+ public native QSignal signal();
+ public native boolean isSeparator();
+ public native boolean isEnabled();
+ public native boolean isChecked();
+ public native boolean isDirty();
+ public native boolean isVisible();
+ public native boolean isEnabledAndVisible();
+ public native void setText(String text);
+ public native void setDirty(boolean dirty);
+ public native void setVisible(boolean visible);
+ public native void setWhatsThis(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/qtjava/javalib/org/kde/qt/QMessageBox.java b/qtjava/javalib/org/kde/qt/QMessageBox.java
new file mode 100644
index 00000000..2c46f334
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMessageBox.java
@@ -0,0 +1,144 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QMessageBox extends QDialog {
+ protected QMessageBox(Class dummy){super((Class) null);}
+ public static final int NoButton = 0;
+ 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 Abort = 5;
+ public static final int Retry = 6;
+ public static final int Ignore = 7;
+ public static final int YesAll = 8;
+ public static final int NoAll = 9;
+ public static final int ButtonMask = 0xff;
+ public static final int Default = 0x100;
+ public static final int Escape = 0x200;
+ public static final int FlagMask = 0x300;
+
+ public static final int NoIcon = 0;
+ public static final int Information = 1;
+ public static final int Warning = 2;
+ public static final int Critical = 3;
+ public static final int Question = 4;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QMessageBox(QWidget parent, String name) {
+ super((Class) null);
+ newQMessageBox(parent,name);
+ }
+ private native void newQMessageBox(QWidget parent, String name);
+ public QMessageBox(QWidget parent) {
+ super((Class) null);
+ newQMessageBox(parent);
+ }
+ private native void newQMessageBox(QWidget parent);
+ public QMessageBox() {
+ super((Class) null);
+ newQMessageBox();
+ }
+ private native void newQMessageBox();
+ public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name, boolean modal, int f) {
+ super((Class) null);
+ newQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal,f);
+ }
+ private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name, boolean modal, int f);
+ public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name, boolean modal) {
+ super((Class) null);
+ newQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal);
+ }
+ private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name, boolean modal);
+ public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name) {
+ super((Class) null);
+ newQMessageBox(caption,text,icon,button0,button1,button2,parent,name);
+ }
+ private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name);
+ public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent) {
+ super((Class) null);
+ newQMessageBox(caption,text,icon,button0,button1,button2,parent);
+ }
+ private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent);
+ public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2) {
+ super((Class) null);
+ newQMessageBox(caption,text,icon,button0,button1,button2);
+ }
+ private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int button2);
+ public native String text();
+ public native void setText(String arg1);
+ public native int iconId();
+ public native void setIcon(int arg1);
+ public native void setIcon(QPixmap arg1);
+ public native QPixmap iconPixmap();
+ public native void setIconPixmap(QPixmap arg1);
+ public native String buttonText(int button);
+ public native void setButtonText(int button, String arg2);
+ public native void adjustSize();
+ public native int textFormat();
+ public native void setTextFormat(int arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native int information(QWidget parent, String caption, String text, int button0, int button1, int button2);
+ public static native int information(QWidget parent, String caption, String text, int button0, int button1);
+ public static native int information(QWidget parent, String caption, String text, int button0);
+ public static native int information(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber);
+ public static native int information(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber);
+ public static native int information(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text);
+ public static native int information(QWidget parent, String caption, String text, String button0Text, String button1Text);
+ public static native int information(QWidget parent, String caption, String text, String button0Text);
+ public static native int information(QWidget parent, String caption, String text);
+ public static native int question(QWidget parent, String caption, String text, int button0, int button1, int button2);
+ public static native int question(QWidget parent, String caption, String text, int button0, int button1);
+ public static native int question(QWidget parent, String caption, String text, int button0);
+ public static native int question(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber);
+ public static native int question(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber);
+ public static native int question(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text);
+ public static native int question(QWidget parent, String caption, String text, String button0Text, String button1Text);
+ public static native int question(QWidget parent, String caption, String text, String button0Text);
+ public static native int question(QWidget parent, String caption, String text);
+ public static native int warning(QWidget parent, String caption, String text, int button0, int button1, int button2);
+ public static native int warning(QWidget parent, String caption, String text, int button0, int button1);
+ public static native int warning(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber);
+ public static native int warning(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber);
+ public static native int warning(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text);
+ public static native int warning(QWidget parent, String caption, String text, String button0Text, String button1Text);
+ public static native int warning(QWidget parent, String caption, String text, String button0Text);
+ public static native int warning(QWidget parent, String caption, String text);
+ public static native int critical(QWidget parent, String caption, String text, int button0, int button1, int button2);
+ public static native int critical(QWidget parent, String caption, String text, int button0, int button1);
+ public static native int critical(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber);
+ public static native int critical(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber);
+ public static native int critical(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text);
+ public static native int critical(QWidget parent, String caption, String text, String button0Text, String button1Text);
+ public static native int critical(QWidget parent, String caption, String text, String button0Text);
+ public static native int critical(QWidget parent, String caption, String text);
+ public static native void about(QWidget parent, String caption, String text);
+ public static native void aboutQt(QWidget parent, String caption);
+ public static native void aboutQt(QWidget parent);
+ public static native int message(String caption, String text, String buttonText, QWidget parent, String arg5);
+ public static native int message(String caption, String text, String buttonText, QWidget parent);
+ public static native int message(String caption, String text, String buttonText);
+ public static native int message(String caption, String text);
+ public static native boolean query(String caption, String text, String yesButtonText, String noButtonText, QWidget parent, String arg6);
+ public static native boolean query(String caption, String text, String yesButtonText, String noButtonText, QWidget parent);
+ public static native boolean query(String caption, String text, String yesButtonText, String noButtonText);
+ public static native boolean query(String caption, String text, String yesButtonText);
+ public static native boolean query(String caption, String text);
+ public static native QPixmap standardIcon(int icon, int arg2);
+ public static native QPixmap standardIcon(int icon);
+ protected native void resizeEvent(QResizeEvent arg1);
+ public native void showEvent(QShowEvent arg1);
+ protected native void closeEvent(QCloseEvent arg1);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ protected native void styleChanged(QStyle 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/qtjava/javalib/org/kde/qt/QMetaData.java b/qtjava/javalib/org/kde/qt/QMetaData.java
new file mode 100644
index 00000000..5017a39e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMetaData.java
@@ -0,0 +1,25 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QMetaData implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QMetaData(Class dummy){}
+
+ public static final int Private = 0;
+ public static final int Protected = 1;
+ public static final int Public = 2;
+
+ public QMetaData() {
+ newQMetaData();
+ }
+ private native void newQMetaData();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QMetaEnum.java b/qtjava/javalib/org/kde/qt/QMetaEnum.java
new file mode 100644
index 00000000..de98e3a3
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMetaEnum.java
@@ -0,0 +1,21 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QMetaEnum implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QMetaEnum(Class dummy){}
+
+ public QMetaEnum() {
+ newQMetaEnum();
+ }
+ private native void newQMetaEnum();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QMetaObject.java b/qtjava/javalib/org/kde/qt/QMetaObject.java
new file mode 100644
index 00000000..22d685bd
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMetaObject.java
@@ -0,0 +1,64 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QMetaObject implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QMetaObject(Class dummy){}
+
+ // QMetaObject* QMetaObject(const char* arg1,QMetaObject* arg2,const QMetaData* arg3,int arg4,const QMetaData* arg5,int arg6,const QMetaProperty* arg7,int arg8,const QMetaEnum* arg9,int arg10,const QClassInfo* arg11,int arg12); >>>> NOT CONVERTED
+ public native String className();
+ public native String superClassName();
+ public native QMetaObject superClass();
+ public native boolean inherits(String clname);
+ public native int numSlots(boolean arg1);
+ public native int numSlots();
+ public native int numSignals(boolean arg1);
+ public native int numSignals();
+ public native int findSlot(String arg1, boolean arg2);
+ public native int findSlot(String arg1);
+ public native int findSignal(String arg1, boolean arg2);
+ public native int findSignal(String arg1);
+ public native QMetaData slot(int index, boolean arg2);
+ public native QMetaData slot(int index);
+ public native QMetaData signal(int index, boolean arg2);
+ public native QMetaData signal(int index);
+ public native ArrayList slotNames(boolean arg1);
+ public native ArrayList slotNames();
+ public native ArrayList signalNames(boolean arg1);
+ public native ArrayList signalNames();
+ public native int slotOffset();
+ public native int signalOffset();
+ public native int propertyOffset();
+ public native int numClassInfo(boolean arg1);
+ public native int numClassInfo();
+ public native QClassInfo classInfo(int index, boolean arg2);
+ public native QClassInfo classInfo(int index);
+ public native String classInfo(String name, boolean arg2);
+ public native String classInfo(String name);
+ public native QMetaProperty property(int index, boolean arg2);
+ public native QMetaProperty property(int index);
+ public native int findProperty(String name, boolean arg2);
+ public native int findProperty(String name);
+ public native int indexOfProperty(QMetaProperty arg1, boolean arg2);
+ public native int indexOfProperty(QMetaProperty arg1);
+ public native QMetaProperty resolveProperty(QMetaProperty arg1);
+ public native int resolveProperty(int arg1);
+ public native ArrayList propertyNames(boolean arg1);
+ public native ArrayList propertyNames();
+ public native int numProperties(boolean arg1);
+ public native int numProperties();
+ public native ArrayList enumeratorNames(boolean arg1);
+ public native ArrayList enumeratorNames();
+ public native int numEnumerators(boolean arg1);
+ public native int numEnumerators();
+ public native QMetaEnum enumerator(String name, boolean arg2);
+ public native QMetaEnum enumerator(String name);
+ public native boolean qt_static_property(QObject o, int id, int f, QVariant v);
+ // QMetaObject* new_metaobject(const char* arg1,QMetaObject* arg2,const QMetaData* arg3,int arg4,const QMetaData* arg5,int arg6,const QMetaProperty* arg7,int arg8,const QMetaEnum* arg9,int arg10,const QClassInfo* arg11,int arg12); >>>> NOT CONVERTED
+ public static native QMetaObject metaObject(String class_name);
+ public static native boolean hasMetaObject(String class_name);
+}
diff --git a/qtjava/javalib/org/kde/qt/QMetaProperty.java b/qtjava/javalib/org/kde/qt/QMetaProperty.java
new file mode 100644
index 00000000..b075a4e3
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMetaProperty.java
@@ -0,0 +1,52 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QMetaProperty implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QMetaProperty(Class dummy){}
+
+ public static final int Invalid = 0x00000000;
+ public static final int Readable = 0x00000001;
+ public static final int Writable = 0x00000002;
+ public static final int EnumOrSet = 0x00000004;
+ public static final int UnresolvedEnum = 0x00000008;
+ public static final int StdSet = 0x00000100;
+ public static final int Override = 0x00000200;
+
+ public native String type();
+ public native String name();
+ public native boolean writable();
+ public native boolean isValid();
+ public native boolean isSetType();
+ public native boolean isEnumType();
+ public native ArrayList enumKeys();
+ public native int keyToValue(String key);
+ public native String valueToKey(int value);
+ public native int keysToValue(String[] keys);
+ public native ArrayList valueToKeys(int value);
+ public native boolean designable(QObject arg1);
+ public native boolean designable();
+ public native boolean scriptable(QObject arg1);
+ public native boolean scriptable();
+ public native boolean stored(QObject arg1);
+ public native boolean stored();
+ public native boolean reset(QObject arg1);
+ public native boolean testFlags(int f);
+ public native boolean stdSet();
+ public native int id();
+ public native void clear();
+ public QMetaProperty() {
+ newQMetaProperty();
+ }
+ private native void newQMetaProperty();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QMimeSource.java b/qtjava/javalib/org/kde/qt/QMimeSource.java
new file mode 100644
index 00000000..b2346159
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMimeSource.java
@@ -0,0 +1,19 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QMimeSource implements QtSupport, QMimeSourceInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QMimeSource(Class dummy){}
+
+ public native String format(int n);
+ public native String format();
+ public native boolean provides(String arg1);
+ public native byte[] encodedData(String arg1);
+ public native int serialNumber();
+ /** Internal method */
+ protected native long mimeSource();
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QMimeSourceFactory.java b/qtjava/javalib/org/kde/qt/QMimeSourceFactory.java
new file mode 100644
index 00000000..3ebbb476
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMimeSourceFactory.java
@@ -0,0 +1,38 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QMimeSourceFactory implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QMimeSourceFactory(Class dummy){}
+
+ public QMimeSourceFactory() {
+ newQMimeSourceFactory();
+ }
+ private native void newQMimeSourceFactory();
+ public native QMimeSourceInterface data(String abs_name);
+ public native String makeAbsolute(String abs_or_rel_name, String context);
+ public native QMimeSourceInterface data(String abs_or_rel_name, String context);
+ public native void setText(String abs_name, String text);
+ public native void setImage(String abs_name, QImage im);
+ public native void setPixmap(String abs_name, QPixmap pm);
+ public native void setData(String abs_name, QMimeSourceInterface data);
+ public native void setFilePath(String[] arg1);
+ public native ArrayList filePath();
+ public native void addFilePath(String arg1);
+ public native void setExtensionType(String ext, String mimetype);
+ public static native QMimeSourceFactory defaultFactory();
+ public static native void setDefaultFactory(QMimeSourceFactory arg1);
+ public static native QMimeSourceFactory takeDefaultFactory();
+ public static native void addFactory(QMimeSourceFactory f);
+ public static native void removeFactory(QMimeSourceFactory 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/qtjava/javalib/org/kde/qt/QMimeSourceInterface.java b/qtjava/javalib/org/kde/qt/QMimeSourceInterface.java
new file mode 100644
index 00000000..3a057cd9
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMimeSourceInterface.java
@@ -0,0 +1,11 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QMimeSourceInterface {
+ String format(int n);
+ String format();
+ boolean provides(String arg1);
+ byte[] encodedData(String arg1);
+ int serialNumber();
+}
diff --git a/qtjava/javalib/org/kde/qt/QMouseEvent.java b/qtjava/javalib/org/kde/qt/QMouseEvent.java
new file mode 100644
index 00000000..d6d71c41
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMouseEvent.java
@@ -0,0 +1,36 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QMouseEvent extends QEvent {
+ protected QMouseEvent(Class dummy){super((Class) null);}
+ public QMouseEvent(int type, QPoint pos, int button, int state) {
+ super((Class) null);
+ newQMouseEvent(type,pos,button,state);
+ }
+ private native void newQMouseEvent(int type, QPoint pos, int button, int state);
+ public QMouseEvent(int type, QPoint pos, QPoint globalPos, int button, int state) {
+ super((Class) null);
+ newQMouseEvent(type,pos,globalPos,button,state);
+ }
+ private native void newQMouseEvent(int type, QPoint pos, QPoint globalPos, int button, int state);
+ public native QPoint pos();
+ public native QPoint globalPos();
+ public native int x();
+ public native int y();
+ public native int globalX();
+ public native int globalY();
+ public native int button();
+ public native int state();
+ public native int stateAfter();
+ public native boolean isAccepted();
+ public native void accept();
+ public native void ignore();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QMoveEvent.java b/qtjava/javalib/org/kde/qt/QMoveEvent.java
new file mode 100644
index 00000000..b9e128bd
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMoveEvent.java
@@ -0,0 +1,21 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QMoveEvent extends QEvent {
+ protected QMoveEvent(Class dummy){super((Class) null);}
+ public QMoveEvent(QPoint pos, QPoint oldPos) {
+ super((Class) null);
+ newQMoveEvent(pos,oldPos);
+ }
+ private native void newQMoveEvent(QPoint pos, QPoint oldPos);
+ public native QPoint pos();
+ public native QPoint oldPos();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QMovie.java b/qtjava/javalib/org/kde/qt/QMovie.java
new file mode 100644
index 00000000..6ad290af
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMovie.java
@@ -0,0 +1,90 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QMovie implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QMovie(Class dummy){}
+
+ public static final int SourceEmpty = -2;
+ public static final int UnrecognizedFormat = -1;
+ public static final int Paused = 1;
+ public static final int EndOfFrame = 2;
+ public static final int EndOfLoop = 3;
+ public static final int EndOfMovie = 4;
+ public static final int SpeedChanged = 5;
+
+ public QMovie() {
+ newQMovie();
+ }
+ private native void newQMovie();
+ public QMovie(int bufsize) {
+ newQMovie(bufsize);
+ }
+ private native void newQMovie(int bufsize);
+ public QMovie(QDataSource arg1, int bufsize) {
+ newQMovie(arg1,bufsize);
+ }
+ private native void newQMovie(QDataSource arg1, int bufsize);
+ public QMovie(QDataSource arg1) {
+ newQMovie(arg1);
+ }
+ private native void newQMovie(QDataSource arg1);
+ public QMovie(String fileName, int bufsize) {
+ newQMovie(fileName,bufsize);
+ }
+ private native void newQMovie(String fileName, int bufsize);
+ public QMovie(String fileName) {
+ newQMovie(fileName);
+ }
+ private native void newQMovie(String fileName);
+ public QMovie(byte[] data, int bufsize) {
+ newQMovie(data,bufsize);
+ }
+ private native void newQMovie(byte[] data, int bufsize);
+ public QMovie(byte[] data) {
+ newQMovie(data);
+ }
+ private native void newQMovie(byte[] data);
+ public QMovie(QMovie arg1) {
+ newQMovie(arg1);
+ }
+ private native void newQMovie(QMovie arg1);
+ public native int pushSpace();
+ public native void pushData(char[] data, int length);
+ public native QColor backgroundColor();
+ public native void setBackgroundColor(QColor arg1);
+ public native QRect getValidRect();
+ public native QPixmap framePixmap();
+ public native QImage frameImage();
+ public native boolean isNull();
+ public native int frameNumber();
+ public native int steps();
+ public native boolean paused();
+ public native boolean finished();
+ public native boolean running();
+ public native void unpause();
+ public native void pause();
+ public native void step();
+ public native void step(int arg1);
+ public native void restart();
+ public native int speed();
+ public native void setSpeed(int arg1);
+ public native void connectResize(QObject receiver, String member);
+ public native void disconnectResize(QObject receiver, String member);
+ public native void disconnectResize(QObject receiver);
+ public native void connectUpdate(QObject receiver, String member);
+ public native void disconnectUpdate(QObject receiver, String member);
+ public native void disconnectUpdate(QObject receiver);
+ public native void connectStatus(QObject receiver, String member);
+ public native void disconnectStatus(QObject receiver, String member);
+ public native void disconnectStatus(QObject receiver);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QMultiLineEdit.java b/qtjava/javalib/org/kde/qt/QMultiLineEdit.java
new file mode 100644
index 00000000..fecd5e30
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QMultiLineEdit.java
@@ -0,0 +1,84 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QMultiLineEdit extends QTextEdit {
+ protected QMultiLineEdit(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QMultiLineEdit(QWidget parent, String name) {
+ super((Class) null);
+ newQMultiLineEdit(parent,name);
+ }
+ private native void newQMultiLineEdit(QWidget parent, String name);
+ public QMultiLineEdit(QWidget parent) {
+ super((Class) null);
+ newQMultiLineEdit(parent);
+ }
+ private native void newQMultiLineEdit(QWidget parent);
+ public QMultiLineEdit() {
+ super((Class) null);
+ newQMultiLineEdit();
+ }
+ private native void newQMultiLineEdit();
+ public native String textLine(int line);
+ public native int numLines();
+ public native void insertLine(String s, int line);
+ public native void insertLine(String s);
+ public native void insertAt(String s, int line, int col);
+ public native void insertAt(String s, int line, int col, boolean mark);
+ public native void removeLine(int line);
+ public native void setCursorPosition(int line, int col);
+ public native void setCursorPosition(int line, int col, boolean mark);
+ public native boolean atBeginning();
+ public native boolean atEnd();
+ public native void setAlignment(int flags);
+ public native int alignment();
+ public native void setEdited(boolean arg1);
+ public native boolean edited();
+ public native boolean hasMarkedText();
+ public native String markedText();
+ public native void cursorWordForward(boolean mark);
+ public native void cursorWordBackward(boolean mark);
+ public native boolean autoUpdate();
+ public native void setAutoUpdate(boolean arg1);
+ public native int totalWidth();
+ public native int totalHeight();
+ public native int maxLines();
+ public native void setMaxLines(int arg1);
+ public native void deselect();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native QPoint cursorPoint();
+ protected native void insertAndMark(String arg1, boolean mark);
+ protected native void newLine();
+ protected native void killLine();
+ protected native void pageUp(boolean mark);
+ protected native void pageUp();
+ protected native void pageDown(boolean mark);
+ protected native void pageDown();
+ protected native void cursorLeft(boolean mark, boolean wrap);
+ protected native void cursorLeft(boolean mark);
+ protected native void cursorLeft();
+ protected native void cursorRight(boolean mark, boolean wrap);
+ protected native void cursorRight(boolean mark);
+ protected native void cursorRight();
+ protected native void cursorUp(boolean mark);
+ protected native void cursorUp();
+ protected native void cursorDown(boolean mark);
+ protected native void cursorDown();
+ protected native void backspace();
+ protected native void home(boolean mark);
+ protected native void home();
+ protected native void end(boolean mark);
+ protected native void end();
+ protected native boolean getMarkedRegion(int[] line1, int[] col1, int[] line2, int[] col2);
+ protected native int lineLength(int row);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QNetworkOperation.java b/qtjava/javalib/org/kde/qt/QNetworkOperation.java
new file mode 100644
index 00000000..c1048403
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QNetworkOperation.java
@@ -0,0 +1,40 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QNetworkOperation extends QObject {
+ protected QNetworkOperation(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QNetworkOperation(int operation, String arg0, String arg1, String arg2) {
+ super((Class) null);
+ newQNetworkOperation(operation,arg0,arg1,arg2);
+ }
+ private native void newQNetworkOperation(int operation, String arg0, String arg1, String arg2);
+ public QNetworkOperation(int operation, byte[] arg0, byte[] arg1, byte[] arg2) {
+ super((Class) null);
+ newQNetworkOperation(operation,arg0,arg1,arg2);
+ }
+ private native void newQNetworkOperation(int operation, byte[] arg0, byte[] arg1, byte[] arg2);
+ public native void setState(int state);
+ public native void setProtocolDetail(String detail);
+ public native void setErrorCode(int ec);
+ public native void setArg(int num, String arg);
+ public native void setRawArg(int num, byte[] arg);
+ public native int operation();
+ public native int state();
+ public native String arg(int num);
+ public native byte[] rawArg(int num);
+ public native String protocolDetail();
+ public native int errorCode();
+ public native void free();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QNetworkProtocol.java b/qtjava/javalib/org/kde/qt/QNetworkProtocol.java
new file mode 100644
index 00000000..41ea1b3f
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QNetworkProtocol.java
@@ -0,0 +1,84 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QNetworkProtocolSignals} for signals emitted by QNetworkProtocol
+*/
+public class QNetworkProtocol extends QObject {
+ protected QNetworkProtocol(Class dummy){super((Class) null);}
+ public static final int StWaiting = 0;
+ public static final int StInProgress = 1;
+ public static final int StDone = 2;
+ public static final int StFailed = 3;
+ public static final int StStopped = 4;
+
+ public static final int OpListChildren = 1;
+ public static final int OpMkDir = 2;
+ public static final int OpMkdir = OpMkDir;
+ public static final int OpRemove = 4;
+ public static final int OpRename = 8;
+ public static final int OpGet = 32;
+ public static final int OpPut = 64;
+
+ public static final int ConHostFound = 0;
+ public static final int ConConnected = 1;
+ public static final int ConClosed = 2;
+
+ public static final int NoError = 0;
+ public static final int ErrValid = 1;
+ public static final int ErrUnknownProtocol = 2;
+ public static final int ErrUnsupported = 3;
+ public static final int ErrParse = 4;
+ public static final int ErrLoginIncorrect = 5;
+ public static final int ErrHostNotFound = 6;
+ public static final int ErrListChildren = 7;
+ public static final int ErrListChlidren = ErrListChildren;
+ public static final int ErrMkDir = 8;
+ public static final int ErrMkdir = ErrMkDir;
+ public static final int ErrRemove = 9;
+ public static final int ErrRename = 10;
+ public static final int ErrGet = 11;
+ public static final int ErrPut = 12;
+ public static final int ErrFileNotExisting = 13;
+ public static final int ErrPermissionDenied = 14;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QNetworkProtocol() {
+ super((Class) null);
+ newQNetworkProtocol();
+ }
+ private native void newQNetworkProtocol();
+ public native void setUrl(QUrlOperator u);
+ public native void setAutoDelete(boolean b, int i);
+ public native void setAutoDelete(boolean b);
+ public native boolean autoDelete();
+ public native int supportedOperations();
+ public native void addOperation(QNetworkOperation op);
+ public native QUrlOperator url();
+ public native QNetworkOperation operationInProgress();
+ public native void clearOperationQueue();
+ public native void stop();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ // void registerNetworkProtocol(const QString& arg1,QNetworkProtocolFactoryBase* arg2); >>>> NOT CONVERTED
+ public static native QNetworkProtocol getNetworkProtocol(String protocol);
+ public static native boolean hasOnlyLocalFileSystem();
+ protected native void processOperation(QNetworkOperation op);
+ protected native void operationListChildren(QNetworkOperation op);
+ protected native void operationMkDir(QNetworkOperation op);
+ protected native void operationRemove(QNetworkOperation op);
+ protected native void operationRename(QNetworkOperation op);
+ protected native void operationGet(QNetworkOperation op);
+ protected native void operationPut(QNetworkOperation op);
+ protected native void operationPutChunk(QNetworkOperation op);
+ protected native boolean checkConnection(QNetworkOperation op);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QNetworkProtocolSignals.java b/qtjava/javalib/org/kde/qt/QNetworkProtocolSignals.java
new file mode 100644
index 00000000..ee1b8086
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QNetworkProtocolSignals.java
@@ -0,0 +1,16 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QNetworkProtocolSignals {
+ void data(byte[] arg1, QNetworkOperation res);
+ void connectionStateChanged(int state, String data);
+ void finished(QNetworkOperation res);
+ void start(QNetworkOperation res);
+ // void newChildren(const QValueList<QUrlInfo>& arg1,QNetworkOperation* arg2); >>>> NOT CONVERTED
+ void newChild(QUrlInfo arg1, QNetworkOperation res);
+ void createdDirectory(QUrlInfo arg1, QNetworkOperation res);
+ void removed(QNetworkOperation res);
+ void itemChanged(QNetworkOperation res);
+ void dataTransferProgress(int bytesDone, int bytesTotal, QNetworkOperation res);
+}
diff --git a/qtjava/javalib/org/kde/qt/QObject.java b/qtjava/javalib/org/kde/qt/QObject.java
new file mode 100644
index 00000000..c9c98412
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QObject.java
@@ -0,0 +1,272 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+/**
+ See {@link QObjectSignals} for signals emitted by QObject
+*/
+public class QObject extends Qt {
+ protected QObject(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QObject(QObject parent, String name) {
+ super((Class) null);
+ newQObject(parent,name);
+ }
+ private native void newQObject(QObject parent, String name);
+ public QObject(QObject parent) {
+ super((Class) null);
+ newQObject(parent);
+ }
+ private native void newQObject(QObject parent);
+ public QObject() {
+ super((Class) null);
+ newQObject();
+ }
+ private native void newQObject();
+ public native boolean event(QEvent arg1);
+ public native boolean eventFilter(QObject arg1, QEvent arg2);
+ public native boolean isA(String arg1);
+ public native boolean inherits(String arg1);
+ public native String name();
+ public native String name(String defaultName);
+ public native void setName(String name);
+ public native boolean isWidgetType();
+ public native boolean highPriority();
+ public native boolean signalsBlocked();
+ public native void blockSignals(boolean b);
+ public native int startTimer(int interval);
+ public native void killTimer(int id);
+ public native void killTimers();
+ public native QObject child(String objName, String inheritsClass, boolean recursiveSearch);
+ public native QObject child(String objName, String inheritsClass);
+ public native QObject child(String objName);
+ public native ArrayList children();
+ public native ArrayList queryList(String inheritsClass, String objName, boolean regexpMatch, boolean recursiveSearch);
+ public native ArrayList queryList(String inheritsClass, String objName, boolean regexpMatch);
+ public native ArrayList queryList(String inheritsClass, String objName);
+ public native ArrayList queryList(String inheritsClass);
+ public native ArrayList queryList();
+ public native void insertChild(QObject arg1);
+ public native void removeChild(QObject arg1);
+ public native void installEventFilter(QObject arg1);
+ public native void removeEventFilter(QObject arg1);
+ public native boolean connect(QObject sender, String signal, String member);
+ public native boolean disconnect(String signal, QObject receiver, String member);
+ public native boolean disconnect(String signal, QObject receiver);
+ public native boolean disconnect(String signal);
+ public native boolean disconnect();
+ public native boolean disconnect(QObject receiver, String member);
+ public native boolean disconnect(QObject receiver);
+ public native void dumpObjectTree();
+ public native void dumpObjectInfo();
+ public native boolean setProperty(String name, QVariant value);
+ public native QVariant property(String name);
+ // void setUserData(uint arg1,QObjectUserData* arg2); >>>> NOT CONVERTED
+ // QObjectUserData* userData(uint arg1); >>>> NOT CONVERTED
+ public native QObject parent();
+ public native void deleteLater();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native ArrayList objectTrees();
+ public static native boolean connect(QObject sender, String signal, QObject receiver, String member);
+ public static native boolean disconnect(QObject sender, String signal, QObject receiver, String member);
+ public static native void connectInternal(QObject sender, int signal_index, QObject receiver, int membcode, int member_index);
+ public static native boolean disconnectInternal(QObject sender, int signal_index, QObject receiver, int membcode, int member_index);
+ public static native int registerUserData();
+ protected native boolean activate_filters(QEvent arg1);
+ // QConnectionList* receivers(const char* arg1); >>>> NOT CONVERTED
+ // QConnectionList* receivers(int arg1); >>>> NOT CONVERTED
+ protected native void activate_signal(int signal);
+ protected native void activate_signal(int signal, int arg2);
+ protected native void activate_signal(int signal, double arg2);
+ protected native void activate_signal(int signal, String arg2);
+ protected native void activate_signal_bool(int signal, boolean arg2);
+ // void activate_signal(QConnectionList* arg1,QUObject* arg2); >>>> NOT CONVERTED
+ protected native QObject sender();
+ protected native void timerEvent(QTimerEvent arg1);
+ protected native void childEvent(QChildEvent arg1);
+ protected native void customEvent(QCustomEvent arg1);
+ protected native void connectNotify(String signal);
+ protected native void disconnectNotify(String signal);
+ protected native boolean checkConnectArgs(String signal, QObject receiver, String member);
+ protected static native String normalizeSignalSlot(String signalSlot);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+ /** i18n() is just a synonym of tr() for now */
+ public static String i18n(String s) {
+ return tr(s);
+ }
+
+ public native void emit(String signal, Object[] args);
+
+ protected void emit(String signal) {
+ Object[] args = new Object[0];
+ emit("2" + signal.trim() + "()", args);
+ }
+
+ protected void emit(String signal, Object value) {
+ Object[] args = new Object[1];
+ args[0] = value;
+ emit("2" + signal.trim() + "(" + value.getClass().getName() + ")", args);
+ }
+
+ protected void emit(String signal, Object value1, Object value2) {
+ Object[] args = new Object[2];
+ args[0] = value1;
+ args[1] = value2;
+ emit("2" + signal.trim() + "(" + value1.getClass().getName() + ","
+ + value2.getClass().getName()
+ + ")", args);
+ }
+
+ protected void emit(String signal, Object value1, Object value2, Object value3) {
+ Object[] args = new Object[3];
+ args[0] = value1;
+ args[1] = value2;
+ args[2] = value3;
+ emit("2" + signal.trim() + "(" + value1.getClass().getName() + ","
+ + value2.getClass().getName() + ","
+ + value3.getClass().getName()
+ + ")", args);
+ }
+
+ protected void emit(String signal, Object value1, Object value2, Object value3, Object value4) {
+ Object[] args = new Object[4];
+ args[0] = value1;
+ args[1] = value2;
+ args[2] = value3;
+ args[3] = value4;
+ emit("2" + signal.trim() + "(" + value1.getClass().getName() + ","
+ + value2.getClass().getName() + ","
+ + value3.getClass().getName() + ","
+ + value4.getClass().getName()
+ + ")", args);
+ }
+
+ protected void emit(String signal, boolean value) {
+ Object[] args = new Object[1];
+ args[0] = new Boolean(value);
+ emit("2" + signal.trim() + "(boolean)", args);
+ }
+
+ protected void emit(String signal, char value) {
+ Object[] args = new Object[1];
+ args[0] = new Character(value);
+ emit("2" + signal.trim() + "(char)", args);
+ }
+
+ protected void emit(String signal, byte value) {
+ Object[] args = new Object[1];
+ args[0] = new Byte(value);
+ emit("2" + signal.trim() + "(byte)", args);
+ }
+
+ protected void emit(String signal, short value) {
+ Object[] args = new Object[1];
+ args[0] = new Short(value);
+ emit("2" + signal.trim() + "(short)", args);
+ }
+
+ protected void emit(String signal, int value) {
+ Object[] args = new Object[1];
+ args[0] = new Integer(value);
+ emit("2" + signal.trim() + "(int)", args);
+ }
+
+ protected void emit(String signal, int value1, int value2) {
+ Object[] args = new Object[2];
+ args[0] = new Integer(value1);
+ args[1] = new Integer(value2);
+ emit("2" + signal.trim() + "(int,int)", args);
+ }
+
+ protected void emit(String signal, Object value1, int value2) {
+ Object[] args = new Object[2];
+ args[0] = value1;
+ args[1] = new Integer(value2);
+ emit("2" + signal.trim() + "(" + value1.getClass().getName() + ","
+ + "int"
+ + ")", args);
+ }
+
+ protected void emit(String signal, int value1, int value2, int value3) {
+ Object[] args = new Object[3];
+ args[0] = new Integer(value1);
+ args[1] = new Integer(value2);
+ args[2] = new Integer(value3);
+ emit("2" + signal.trim() + "(int,int,int)", args);
+ }
+
+ protected void emit(String signal, int value1, int value2, int value3, Object value4) {
+ Object[] args = new Object[4];
+ args[0] = new Integer(value1);
+ args[1] = new Integer(value2);
+ args[2] = new Integer(value3);
+ args[3] = value4;
+ emit("2" + signal.trim() + "(int,int,int," + value4.getClass().getName() + ")", args);
+ }
+
+ protected void emit(String signal, int value1, Object value2, Object value3) {
+ Object[] args = new Object[3];
+ args[0] = new Integer(value1);
+ args[1] = value2;
+ args[2] = value3;
+ emit("2" + signal.trim() + "(int,"
+ + value2.getClass().getName() + ","
+ + value3.getClass().getName()
+ + ")", args);
+ }
+
+ protected void emit(String signal, int value1, Object value2, Object value3, int value4) {
+ Object[] args = new Object[4];
+ args[0] = new Integer(value1);
+ args[1] = value2;
+ args[2] = value3;
+ args[3] = new Integer(value4);
+ emit("2" + signal.trim() + "(int,"
+ + value2.getClass().getName() + ","
+ + value3.getClass().getName()
+ + ",int)", args);
+ }
+
+ protected void emit(String signal, int value1, boolean value2) {
+ Object[] args = new Object[2];
+ args[0] = new Integer(value1);
+ args[1] = new Boolean(value2);
+ emit("2" + signal.trim() + "(int,boolean)", args);
+ }
+
+ protected void emit(String signal, long value) {
+ Object[] args = new Object[1];
+ args[0] = new Long(value);
+ emit("2" + signal.trim() + "(long)", args);
+ }
+
+ protected void emit(String signal, float value) {
+ Object[] args = new Object[1];
+ args[0] = new Float(value);
+ emit("2" + signal.trim() + "(float)", args);
+ }
+
+ protected void emit(String signal, double value) {
+ Object[] args = new Object[1];
+ args[0] = new Double(value);
+ emit("2" + signal.trim() + "(double)", args);
+ }
+
+ protected void emit(String signal, Object value1, int value2, int value3) {
+ Object[] args = new Object[3];
+ args[0] = value1;
+ args[1] = new Integer(value2);
+ args[2] = new Integer(value3);
+ emit("2" + signal.trim() + "(" + value1.getClass().getName() + ",int,int)", args);
+ }
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QObjectCleanupHandler.java b/qtjava/javalib/org/kde/qt/QObjectCleanupHandler.java
new file mode 100644
index 00000000..b49efe49
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QObjectCleanupHandler.java
@@ -0,0 +1,27 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QObjectCleanupHandler extends QObject {
+ protected QObjectCleanupHandler(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QObjectCleanupHandler() {
+ super((Class) null);
+ newQObjectCleanupHandler();
+ }
+ private native void newQObjectCleanupHandler();
+ public native QObject add(QObject object);
+ public native void remove(QObject object);
+ public native boolean isEmpty();
+ public native void clear();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QObjectSignals.java b/qtjava/javalib/org/kde/qt/QObjectSignals.java
new file mode 100644
index 00000000..5381a818
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QObjectSignals.java
@@ -0,0 +1,9 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.util.ArrayList;
+
+public interface QObjectSignals {
+ void destroyed();
+ void destroyed(QObject arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QPaintDevice.java b/qtjava/javalib/org/kde/qt/QPaintDevice.java
new file mode 100644
index 00000000..070d3afb
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPaintDevice.java
@@ -0,0 +1,86 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QPaintDevice implements QtSupport, QPaintDeviceInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QPaintDevice(Class dummy){}
+
+ public static final int PdcNOP = 0;
+ public static final int PdcDrawPoint = 1;
+ public static final int PdcDrawFirst = PdcDrawPoint;
+ public static final int PdcMoveTo = 2;
+ public static final int PdcLineTo = 3;
+ public static final int PdcDrawLine = 4;
+ public static final int PdcDrawRect = 5;
+ public static final int PdcDrawRoundRect = 6;
+ public static final int PdcDrawEllipse = 7;
+ public static final int PdcDrawArc = 8;
+ public static final int PdcDrawPie = 9;
+ public static final int PdcDrawChord = 10;
+ public static final int PdcDrawLineSegments = 11;
+ public static final int PdcDrawPolyline = 12;
+ public static final int PdcDrawPolygon = 13;
+ public static final int PdcDrawCubicBezier = 14;
+ public static final int PdcDrawText = 15;
+ public static final int PdcDrawTextFormatted = 16;
+ public static final int PdcDrawPixmap = 17;
+ public static final int PdcDrawImage = 18;
+ public static final int PdcDrawText2 = 19;
+ public static final int PdcDrawText2Formatted = 20;
+ public static final int PdcDrawTextItem = 21;
+ public static final int PdcDrawLast = PdcDrawTextItem;
+ public static final int PdcBegin = 30;
+ public static final int PdcEnd = 31;
+ public static final int PdcSave = 32;
+ public static final int PdcRestore = 33;
+ public static final int PdcSetdev = 34;
+ public static final int PdcSetBkColor = 40;
+ public static final int PdcSetBkMode = 41;
+ public static final int PdcSetROP = 42;
+ public static final int PdcSetBrushOrigin = 43;
+ public static final int PdcSetFont = 45;
+ public static final int PdcSetPen = 46;
+ public static final int PdcSetBrush = 47;
+ public static final int PdcSetTabStops = 48;
+ public static final int PdcSetTabArray = 49;
+ public static final int PdcSetUnit = 50;
+ public static final int PdcSetVXform = 51;
+ public static final int PdcSetWindow = 52;
+ public static final int PdcSetViewport = 53;
+ public static final int PdcSetWXform = 54;
+ public static final int PdcSetWMatrix = 55;
+ public static final int PdcSaveWMatrix = 56;
+ public static final int PdcRestoreWMatrix = 57;
+ public static final int PdcSetClip = 60;
+ public static final int PdcSetClipRegion = 61;
+ public static final int PdcReservedStart = 0;
+ public static final int PdcReservedStop = 199;
+
+ public native int devType();
+ public native boolean isExtDev();
+ public native boolean paintingActive();
+ public native void setResolution(int arg1);
+ public native int resolution();
+ public QPaintDevice(int devflags) {
+ newQPaintDevice(devflags);
+ }
+ private native void newQPaintDevice(int devflags);
+ // bool cmd(int arg1,QPainter* arg2,QPDevCmdParam* arg3); >>>> NOT CONVERTED
+ protected native int metric(int arg1);
+ protected native int fontMet(QFont arg1, int arg2, String arg3, int arg4);
+ protected native int fontMet(QFont arg1, int arg2, String arg3);
+ protected native int fontMet(QFont arg1, int arg2);
+ protected native int fontInf(QFont arg1, int 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();
+ /** Internal method */
+ protected native long paintDevice();
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QPaintDeviceInterface.java b/qtjava/javalib/org/kde/qt/QPaintDeviceInterface.java
new file mode 100644
index 00000000..c7861866
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPaintDeviceInterface.java
@@ -0,0 +1,11 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QPaintDeviceInterface {
+ int devType();
+ boolean isExtDev();
+ boolean paintingActive();
+ void setResolution(int arg1);
+ int resolution();
+}
diff --git a/qtjava/javalib/org/kde/qt/QPaintDeviceMetrics.java b/qtjava/javalib/org/kde/qt/QPaintDeviceMetrics.java
new file mode 100644
index 00000000..05dc802d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPaintDeviceMetrics.java
@@ -0,0 +1,42 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QPaintDeviceMetrics implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QPaintDeviceMetrics(Class dummy){}
+
+ public static final int PdmWidth = 1;
+ public static final int PdmHeight = 2;
+ public static final int PdmWidthMM = 3;
+ public static final int PdmHeightMM = 4;
+ public static final int PdmNumColors = 5;
+ public static final int PdmDepth = 6;
+ public static final int PdmDpiX = 7;
+ public static final int PdmDpiY = 8;
+ public static final int PdmPhysicalDpiX = 9;
+ public static final int PdmPhysicalDpiY = 10;
+
+ public QPaintDeviceMetrics(QPaintDeviceInterface arg1) {
+ newQPaintDeviceMetrics(arg1);
+ }
+ private native void newQPaintDeviceMetrics(QPaintDeviceInterface arg1);
+ public native int width();
+ public native int height();
+ public native int widthMM();
+ public native int heightMM();
+ public native int logicalDpiX();
+ public native int logicalDpiY();
+ public native int physicalDpiX();
+ public native int physicalDpiY();
+ public native int numColors();
+ public native int depth();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QPaintEvent.java b/qtjava/javalib/org/kde/qt/QPaintEvent.java
new file mode 100644
index 00000000..b8932358
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPaintEvent.java
@@ -0,0 +1,47 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QPaintEvent extends QEvent {
+ protected QPaintEvent(Class dummy){super((Class) null);}
+ public QPaintEvent(QRegion paintRegion, boolean erased) {
+ super((Class) null);
+ newQPaintEvent(paintRegion,erased);
+ }
+ private native void newQPaintEvent(QRegion paintRegion, boolean erased);
+ public QPaintEvent(QRegion paintRegion) {
+ super((Class) null);
+ newQPaintEvent(paintRegion);
+ }
+ private native void newQPaintEvent(QRegion paintRegion);
+ public QPaintEvent(QRect paintRect, boolean erased) {
+ super((Class) null);
+ newQPaintEvent(paintRect,erased);
+ }
+ private native void newQPaintEvent(QRect paintRect, boolean erased);
+ public QPaintEvent(QRect paintRect) {
+ super((Class) null);
+ newQPaintEvent(paintRect);
+ }
+ private native void newQPaintEvent(QRect paintRect);
+ public QPaintEvent(QRegion paintRegion, QRect paintRect, boolean erased) {
+ super((Class) null);
+ newQPaintEvent(paintRegion,paintRect,erased);
+ }
+ private native void newQPaintEvent(QRegion paintRegion, QRect paintRect, boolean erased);
+ public QPaintEvent(QRegion paintRegion, QRect paintRect) {
+ super((Class) null);
+ newQPaintEvent(paintRegion,paintRect);
+ }
+ private native void newQPaintEvent(QRegion paintRegion, QRect paintRect);
+ public native QRect rect();
+ public native QRegion region();
+ public native boolean erased();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QPainter.java b/qtjava/javalib/org/kde/qt/QPainter.java
new file mode 100644
index 00000000..146d06e6
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPainter.java
@@ -0,0 +1,247 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QPainter extends Qt {
+ protected QPainter(Class dummy){super((Class) null);}
+ public static final int IsActive = 0x01;
+ public static final int ExtDev = 0x02;
+ public static final int IsStartingUp = 0x04;
+ public static final int NoCache = 0x08;
+ public static final int VxF = 0x10;
+ public static final int WxF = 0x20;
+ public static final int ClipOn = 0x40;
+ public static final int SafePolygon = 0x80;
+ public static final int MonoDev = 0x100;
+ public static final int DirtyFont = 0x200;
+ public static final int DirtyPen = 0x400;
+ public static final int DirtyBrush = 0x800;
+ public static final int RGBColor = 0x1000;
+ public static final int FontMet = 0x2000;
+ public static final int FontInf = 0x4000;
+ public static final int CtorBegin = 0x8000;
+ public static final int UsePrivateCx = 0x10000;
+ public static final int VolatileDC = 0x20000;
+ public static final int Qt2Compat = 0x40000;
+
+ public static final int CoordDevice = 0;
+ public static final int CoordPainter = 1;
+
+ public static final int Auto = 0;
+ public static final int RTL = 1;
+ public static final int LTR = 2;
+
+ public QPainter() {
+ super((Class) null);
+ newQPainter();
+ }
+ private native void newQPainter();
+ public QPainter(QPaintDeviceInterface arg1, boolean unclipped) {
+ super((Class) null);
+ newQPainter(arg1,unclipped);
+ }
+ private native void newQPainter(QPaintDeviceInterface arg1, boolean unclipped);
+ public QPainter(QPaintDeviceInterface arg1) {
+ super((Class) null);
+ newQPainter(arg1);
+ }
+ private native void newQPainter(QPaintDeviceInterface arg1);
+ public QPainter(QPaintDeviceInterface arg1, QWidget arg2, boolean unclipped) {
+ super((Class) null);
+ newQPainter(arg1,arg2,unclipped);
+ }
+ private native void newQPainter(QPaintDeviceInterface arg1, QWidget arg2, boolean unclipped);
+ public QPainter(QPaintDeviceInterface arg1, QWidget arg2) {
+ super((Class) null);
+ newQPainter(arg1,arg2);
+ }
+ private native void newQPainter(QPaintDeviceInterface arg1, QWidget arg2);
+ public native boolean begin(QPaintDeviceInterface arg1, boolean unclipped);
+ public native boolean begin(QPaintDeviceInterface arg1);
+ public native boolean begin(QPaintDeviceInterface arg1, QWidget arg2, boolean unclipped);
+ public native boolean begin(QPaintDeviceInterface arg1, QWidget arg2);
+ public native boolean end();
+ public native QPaintDeviceInterface device();
+ public native boolean isActive();
+ public native void flush(QRegion region, int cm);
+ public native void flush(QRegion region);
+ public native void flush();
+ public native void save();
+ public native void restore();
+ public native QFontMetrics fontMetrics();
+ public native QFontInfo fontInfo();
+ public native QFont font();
+ public native void setFont(QFont arg1);
+ public native QPen pen();
+ public native void setPen(QPen arg1);
+ public native void setPen(int arg1);
+ public native void setPen(QColor arg1);
+ public native QBrush brush();
+ public native void setBrush(QBrush arg1);
+ public native void setBrush(int arg1);
+ public native void setBrush(QColor arg1);
+ public native QPoint pos();
+ public native QColor backgroundColor();
+ public native void setBackgroundColor(QColor arg1);
+ public native int backgroundMode();
+ public native void setBackgroundMode(int arg1);
+ public native int rasterOp();
+ public native void setRasterOp(int arg1);
+ public native QPoint brushOrigin();
+ public native void setBrushOrigin(int x, int y);
+ public native void setBrushOrigin(QPoint arg1);
+ public native boolean hasViewXForm();
+ public native boolean hasWorldXForm();
+ public native void setViewXForm(boolean arg1);
+ public native QRect window();
+ public native void setWindow(QRect arg1);
+ public native void setWindow(int x, int y, int w, int h);
+ public native QRect viewport();
+ public native void setViewport(QRect arg1);
+ public native void setViewport(int x, int y, int w, int h);
+ public native void setWorldXForm(boolean arg1);
+ public native QWMatrix worldMatrix();
+ public native void setWorldMatrix(QWMatrix arg1, boolean combine);
+ public native void setWorldMatrix(QWMatrix arg1);
+ public native void saveWorldMatrix();
+ public native void restoreWorldMatrix();
+ public native void scale(double sx, double sy);
+ public native void shear(double sh, double sv);
+ public native void rotate(double a);
+ public native void translate(double dx, double dy);
+ public native void resetXForm();
+ public native double translationX();
+ public native double translationY();
+ public native Object xForm(QPoint arg1);
+ public native Object xForm(QRect arg1);
+ public native Object xForm(QPointArray arg1);
+ public native Object xForm(QPointArray arg1, int index, int npoints);
+ public native QPoint xFormDev(QPoint arg1);
+ public native QRect xFormDev(QRect arg1);
+ public native QPointArray xFormDev(QPointArray arg1);
+ public native QPointArray xFormDev(QPointArray arg1, int index, int npoints);
+ public native void setClipping(boolean arg1);
+ public native boolean hasClipping();
+ public native QRegion clipRegion(int arg1);
+ public native QRegion clipRegion();
+ public native void setClipRect(QRect arg1, int arg2);
+ public native void setClipRect(QRect arg1);
+ public native void setClipRect(int x, int y, int w, int h, int arg5);
+ public native void setClipRect(int x, int y, int w, int h);
+ public native void setClipRegion(QRegion arg1, int arg2);
+ public native void setClipRegion(QRegion arg1);
+ public native void drawPoint(int x, int y);
+ public native void drawPoint(QPoint arg1);
+ public native void drawPoints(QPointArray a, int index, int npoints);
+ public native void drawPoints(QPointArray a, int index);
+ public native void drawPoints(QPointArray a);
+ public native void moveTo(int x, int y);
+ public native void moveTo(QPoint arg1);
+ public native void lineTo(int x, int y);
+ public native void lineTo(QPoint arg1);
+ public native void drawLine(int x1, int y1, int x2, int y2);
+ public native void drawLine(QPoint arg1, QPoint arg2);
+ public native void drawRect(int x, int y, int w, int h);
+ public native void drawRect(QRect arg1);
+ public native void drawWinFocusRect(int x, int y, int w, int h);
+ public native void drawWinFocusRect(int x, int y, int w, int h, QColor bgColor);
+ public native void drawWinFocusRect(QRect arg1);
+ public native void drawWinFocusRect(QRect arg1, QColor bgColor);
+ public native void drawRoundRect(int x, int y, int w, int h, int arg5, int arg6);
+ public native void drawRoundRect(int x, int y, int w, int h, int arg5);
+ public native void drawRoundRect(int x, int y, int w, int h);
+ public native void drawRoundRect(QRect arg1, int arg2, int arg3);
+ public native void drawRoundRect(QRect arg1, int arg2);
+ public native void drawRoundRect(QRect arg1);
+ public native void drawEllipse(int x, int y, int w, int h);
+ public native void drawEllipse(QRect arg1);
+ public native void drawArc(int x, int y, int w, int h, int a, int alen);
+ public native void drawArc(QRect arg1, int a, int alen);
+ public native void drawPie(int x, int y, int w, int h, int a, int alen);
+ public native void drawPie(QRect arg1, int a, int alen);
+ public native void drawChord(int x, int y, int w, int h, int a, int alen);
+ public native void drawChord(QRect arg1, int a, int alen);
+ public native void drawLineSegments(QPointArray arg1, int index, int nlines);
+ public native void drawLineSegments(QPointArray arg1, int index);
+ public native void drawLineSegments(QPointArray arg1);
+ public native void drawPolyline(QPointArray arg1, int index, int npoints);
+ public native void drawPolyline(QPointArray arg1, int index);
+ public native void drawPolyline(QPointArray arg1);
+ public native void drawPolygon(QPointArray arg1, boolean winding, int index, int npoints);
+ public native void drawPolygon(QPointArray arg1, boolean winding, int index);
+ public native void drawPolygon(QPointArray arg1, boolean winding);
+ public native void drawPolygon(QPointArray arg1);
+ public native void drawConvexPolygon(QPointArray arg1, int index, int npoints);
+ public native void drawConvexPolygon(QPointArray arg1, int index);
+ public native void drawConvexPolygon(QPointArray arg1);
+ public native void drawCubicBezier(QPointArray arg1, int index);
+ public native void drawCubicBezier(QPointArray arg1);
+ public native void drawPixmap(int x, int y, QPixmap arg3, int sx, int sy, int sw, int sh);
+ public native void drawPixmap(int x, int y, QPixmap arg3, int sx, int sy, int sw);
+ public native void drawPixmap(int x, int y, QPixmap arg3, int sx, int sy);
+ public native void drawPixmap(int x, int y, QPixmap arg3, int sx);
+ public native void drawPixmap(int x, int y, QPixmap arg3);
+ public native void drawPixmap(QPoint arg1, QPixmap arg2, QRect sr);
+ public native void drawPixmap(QPoint arg1, QPixmap arg2);
+ public native void drawPixmap(QRect arg1, QPixmap arg2);
+ public native void drawImage(int x, int y, QImage arg3, int sx, int sy, int sw, int sh, int conversionFlags);
+ public native void drawImage(int x, int y, QImage arg3, int sx, int sy, int sw, int sh);
+ public native void drawImage(int x, int y, QImage arg3, int sx, int sy, int sw);
+ public native void drawImage(int x, int y, QImage arg3, int sx, int sy);
+ public native void drawImage(int x, int y, QImage arg3, int sx);
+ public native void drawImage(int x, int y, QImage arg3);
+ public native void drawImage(QPoint arg1, QImage arg2, QRect sr, int conversionFlags);
+ public native void drawImage(QPoint arg1, QImage arg2, QRect sr);
+ public native void drawImage(QPoint arg1, QImage arg2, int conversion_flags);
+ public native void drawImage(QPoint arg1, QImage arg2);
+ public native void drawImage(QRect arg1, QImage arg2);
+ public native void drawTiledPixmap(int x, int y, int w, int h, QPixmap arg5, int sx, int sy);
+ public native void drawTiledPixmap(int x, int y, int w, int h, QPixmap arg5, int sx);
+ public native void drawTiledPixmap(int x, int y, int w, int h, QPixmap arg5);
+ public native void drawTiledPixmap(QRect arg1, QPixmap arg2, QPoint arg3);
+ public native void drawTiledPixmap(QRect arg1, QPixmap arg2);
+ public native void drawPicture(QPicture arg1);
+ public native void drawPicture(int x, int y, QPicture arg3);
+ public native void drawPicture(QPoint arg1, QPicture arg2);
+ public native void fillRect(int x, int y, int w, int h, QBrush arg5);
+ public native void fillRect(QRect arg1, QBrush arg2);
+ public native void eraseRect(int x, int y, int w, int h);
+ public native void eraseRect(QRect arg1);
+ public native void drawText(int x, int y, String arg3, int len, int dir);
+ public native void drawText(int x, int y, String arg3, int len);
+ public native void drawText(int x, int y, String arg3);
+ public native void drawText(QPoint arg1, String arg2, int len, int dir);
+ public native void drawText(QPoint arg1, String arg2, int len);
+ public native void drawText(QPoint arg1, String arg2);
+ public native void drawText(int x, int y, String arg3, int pos, int len, int dir);
+ public native void drawText(QPoint p, String arg2, int pos, int len, int dir);
+ // void drawText(int arg1,int arg2,int arg3,int arg4,int arg5,const QString& arg6,int arg7,QRect* arg8,QTextParag** arg9); >>>> NOT CONVERTED
+ public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len, QRect br);
+ public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len);
+ public native void drawText(int x, int y, int w, int h, int flags, String arg6);
+ // void drawText(const QRect& arg1,int arg2,const QString& arg3,int arg4,QRect* arg5,QTextParag** arg6); >>>> NOT CONVERTED
+ public native void drawText(QRect arg1, int flags, String arg3, int len, QRect br);
+ public native void drawText(QRect arg1, int flags, String arg3, int len);
+ public native void drawText(QRect arg1, int flags, String arg3);
+ // QRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const QString& arg6,int arg7,QTextParag** arg8); >>>> NOT CONVERTED
+ public native QRect boundingRect(int x, int y, int w, int h, int flags, String arg6, int len);
+ public native QRect boundingRect(int x, int y, int w, int h, int flags, String arg6);
+ // QRect boundingRect(const QRect& arg1,int arg2,const QString& arg3,int arg4,QTextParag** arg5); >>>> NOT CONVERTED
+ public native QRect boundingRect(QRect arg1, int flags, String arg3, int len);
+ public native QRect boundingRect(QRect arg1, int flags, String arg3);
+ public native int tabStops();
+ public native void setTabStops(int arg1);
+ public native int[] tabArray();
+ public native void setTabArray(int[] arg1);
+ public static native void redirect(QPaintDeviceInterface pdev, QPaintDeviceInterface replacement);
+ public static native QPaintDeviceInterface redirect(QPaintDeviceInterface pdev);
+ public static native void initialize();
+ public static native void cleanup();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QPalette.java b/qtjava/javalib/org/kde/qt/QPalette.java
new file mode 100644
index 00000000..d4d2153b
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPalette.java
@@ -0,0 +1,64 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QPalette implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QPalette(Class dummy){}
+
+ public static final int Disabled = 0;
+ public static final int Active = 1;
+ public static final int Inactive = 2;
+ public static final int NColorGroups = 3;
+ public static final int Normal = Active;
+
+ public QPalette() {
+ newQPalette();
+ }
+ private native void newQPalette();
+ public QPalette(QColor button) {
+ newQPalette(button);
+ }
+ private native void newQPalette(QColor button);
+ public QPalette(QColor button, QColor background) {
+ newQPalette(button,background);
+ }
+ private native void newQPalette(QColor button, QColor background);
+ public QPalette(QColorGroup active, QColorGroup disabled, QColorGroup inactive) {
+ newQPalette(active,disabled,inactive);
+ }
+ private native void newQPalette(QColorGroup active, QColorGroup disabled, QColorGroup inactive);
+ public QPalette(QPalette arg1) {
+ newQPalette(arg1);
+ }
+ private native void newQPalette(QPalette arg1);
+ public native QColor color(int arg1, int arg2);
+ public native QBrush brush(int arg1, int arg2);
+ public native void setColor(int arg1, int arg2, QColor arg3);
+ public native void setBrush(int arg1, int arg2, QBrush arg3);
+ public native void setColor(int arg1, QColor arg2);
+ public native void setBrush(int arg1, QBrush arg2);
+ public native QPalette copy();
+ public native QColorGroup active();
+ public native QColorGroup disabled();
+ public native QColorGroup inactive();
+ public native QColorGroup normal();
+ public native void setActive(QColorGroup arg1);
+ public native void setDisabled(QColorGroup arg1);
+ public native void setInactive(QColorGroup arg1);
+ public native void setNormal(QColorGroup cg);
+ public native boolean op_equals(QPalette p);
+ public native boolean op_not_equals(QPalette p);
+ public native boolean isCopyOf(QPalette arg1);
+ public native int serialNumber();
+ public static native int foregroundRoleFromMode(int mode);
+ public static native int backgroundRoleFromMode(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/qtjava/javalib/org/kde/qt/QPen.java b/qtjava/javalib/org/kde/qt/QPen.java
new file mode 100644
index 00000000..453050e2
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPen.java
@@ -0,0 +1,61 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QPen extends Qt {
+ protected QPen(Class dummy){super((Class) null);}
+ public QPen() {
+ super((Class) null);
+ newQPen();
+ }
+ private native void newQPen();
+ public QPen(int arg1) {
+ super((Class) null);
+ newQPen(arg1);
+ }
+ private native void newQPen(int arg1);
+ public QPen(QColor color, int width, int style) {
+ super((Class) null);
+ newQPen(color,width,style);
+ }
+ private native void newQPen(QColor color, int width, int style);
+ public QPen(QColor color, int width) {
+ super((Class) null);
+ newQPen(color,width);
+ }
+ private native void newQPen(QColor color, int width);
+ public QPen(QColor color) {
+ super((Class) null);
+ newQPen(color);
+ }
+ private native void newQPen(QColor color);
+ public QPen(QColor cl, int w, int s, int c, int j) {
+ super((Class) null);
+ newQPen(cl,w,s,c,j);
+ }
+ private native void newQPen(QColor cl, int w, int s, int c, int j);
+ public QPen(QPen arg1) {
+ super((Class) null);
+ newQPen(arg1);
+ }
+ private native void newQPen(QPen arg1);
+ public native int style();
+ public native void setStyle(int arg1);
+ public native int width();
+ public native void setWidth(int arg1);
+ public native QColor color();
+ public native void setColor(QColor arg1);
+ public native int capStyle();
+ public native void setCapStyle(int arg1);
+ public native int joinStyle();
+ public native void setJoinStyle(int arg1);
+ public native boolean op_equals(QPen p);
+ public native boolean op_not_equals(QPen 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/qtjava/javalib/org/kde/qt/QPicture.java b/qtjava/javalib/org/kde/qt/QPicture.java
new file mode 100644
index 00000000..4c877276
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPicture.java
@@ -0,0 +1,48 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QPicture extends QPaintDevice {
+ protected QPicture(Class dummy){super((Class) null);}
+ public QPicture(int formatVersion) {
+ super((Class) null);
+ newQPicture(formatVersion);
+ }
+ private native void newQPicture(int formatVersion);
+ public QPicture() {
+ super((Class) null);
+ newQPicture();
+ }
+ private native void newQPicture();
+ public QPicture(QPicture arg1) {
+ super((Class) null);
+ newQPicture(arg1);
+ }
+ private native void newQPicture(QPicture arg1);
+ public native boolean isNull();
+ public native int size();
+ public native String data();
+ public native void setData(String data, int size);
+ public native boolean play(QPainter arg1);
+ public native boolean load(QIODeviceInterface dev, String format);
+ public native boolean load(QIODeviceInterface dev);
+ public native boolean load(String fileName, String format);
+ public native boolean load(String fileName);
+ public native boolean save(QIODeviceInterface dev, String format);
+ public native boolean save(QIODeviceInterface dev);
+ public native boolean save(String fileName, String format);
+ public native boolean save(String fileName);
+ public native QRect boundingRect();
+ public native void setBoundingRect(QRect r);
+ // bool cmd(int arg1,QPainter* arg2,QPDevCmdParam* arg3); >>>> NOT CONVERTED
+ protected native int metric(int arg1);
+ public native void detach();
+ public native QPicture copy();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QPixmap.java b/qtjava/javalib/org/kde/qt/QPixmap.java
new file mode 100644
index 00000000..32bf8ca1
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPixmap.java
@@ -0,0 +1,172 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QPixmap extends Qt implements QPaintDeviceInterface {
+ protected QPixmap(Class dummy){super((Class) null);}
+ public static final int Auto = 0;
+ public static final int Color = 1;
+ public static final int Mono = 2;
+
+ public static final int DefaultOptim = 0;
+ public static final int NoOptim = 1;
+ public static final int MemoryOptim = NoOptim;
+ public static final int NormalOptim = 2;
+ public static final int BestOptim = 3;
+
+ public QPixmap() {
+ super((Class) null);
+ newQPixmap();
+ }
+ private native void newQPixmap();
+ public QPixmap(QImage image) {
+ super((Class) null);
+ newQPixmap(image);
+ }
+ private native void newQPixmap(QImage image);
+ public QPixmap(int w, int h, int depth, int arg4) {
+ super((Class) null);
+ newQPixmap(w,h,depth,arg4);
+ }
+ private native void newQPixmap(int w, int h, int depth, int arg4);
+ public QPixmap(int w, int h, int depth) {
+ super((Class) null);
+ newQPixmap(w,h,depth);
+ }
+ private native void newQPixmap(int w, int h, int depth);
+ public QPixmap(int w, int h) {
+ super((Class) null);
+ newQPixmap(w,h);
+ }
+ private native void newQPixmap(int w, int h);
+ public QPixmap(QSize arg1, int depth, int arg3) {
+ super((Class) null);
+ newQPixmap(arg1,depth,arg3);
+ }
+ private native void newQPixmap(QSize arg1, int depth, int arg3);
+ public QPixmap(QSize arg1, int depth) {
+ super((Class) null);
+ newQPixmap(arg1,depth);
+ }
+ private native void newQPixmap(QSize arg1, int depth);
+ public QPixmap(QSize arg1) {
+ super((Class) null);
+ newQPixmap(arg1);
+ }
+ private native void newQPixmap(QSize arg1);
+ public QPixmap(String fileName, String format, int mode) {
+ super((Class) null);
+ newQPixmap(fileName,format,mode);
+ }
+ private native void newQPixmap(String fileName, String format, int mode);
+ public QPixmap(String fileName, String format) {
+ super((Class) null);
+ newQPixmap(fileName,format);
+ }
+ private native void newQPixmap(String fileName, String format);
+ public QPixmap(String fileName) {
+ super((Class) null);
+ newQPixmap(fileName);
+ }
+ private native void newQPixmap(String fileName);
+ public QPixmap(String[] xpm) {
+ super((Class) null);
+ newQPixmap(xpm);
+ }
+ private native void newQPixmap(String[] xpm);
+ public QPixmap(byte[] data) {
+ super((Class) null);
+ newQPixmap(data);
+ }
+ private native void newQPixmap(byte[] data);
+ public QPixmap(QPixmap arg1) {
+ super((Class) null);
+ newQPixmap(arg1);
+ }
+ private native void newQPixmap(QPixmap arg1);
+ public native boolean isNull();
+ public native int width();
+ public native int height();
+ public native QSize size();
+ public native QRect rect();
+ public native int depth();
+ public native void fill(QColor fillColor);
+ public native void fill();
+ public native void fill(QWidget arg1, int xofs, int yofs);
+ public native void fill(QWidget arg1, QPoint ofs);
+ public native void resize(int width, int height);
+ public native void resize(QSize arg1);
+ public native QBitmap mask();
+ public native void setMask(QBitmap arg1);
+ public native boolean selfMask();
+ public native boolean hasAlpha();
+ public native boolean hasAlphaChannel();
+ public native QBitmap createHeuristicMask(boolean clipTight);
+ public native QBitmap createHeuristicMask();
+ public native Object xForm(QWMatrix arg1);
+ public native QImage convertToImage();
+ public native boolean convertFromImage(QImage arg1, int mode);
+ public native boolean convertFromImage(QImage arg1);
+ public native boolean load(String fileName, String format, int mode);
+ public native boolean load(String fileName, String format);
+ public native boolean load(String fileName);
+ public native boolean loadFromData(char[] buf, int len, String format, int mode);
+ public native boolean loadFromData(char[] buf, int len, String format);
+ public native boolean loadFromData(char[] buf, int len);
+ public native boolean loadFromData(byte[] data, String format, int conversion_flags);
+ public native boolean loadFromData(byte[] data, String format);
+ public native boolean loadFromData(byte[] data);
+ public native boolean save(String fileName, String format, int quality);
+ public native boolean save(String fileName, String format);
+ public native boolean save(QIODeviceInterface device, String format, int quality);
+ public native boolean save(QIODeviceInterface device, String format);
+ public native int serialNumber();
+ public native int optimization();
+ public native void setOptimization(int arg1);
+ public native void detach();
+ public native boolean isQBitmap();
+ public static native int defaultDepth();
+ public static native QPixmap fromMimeSource(String abs_name);
+ public static native QPixmap grabWindow(long arg1, int x, int y, int w, int h);
+ public static native QPixmap grabWindow(long arg1, int x, int y, int w);
+ public static native QPixmap grabWindow(long arg1, int x, int y);
+ public static native QPixmap grabWindow(long arg1, int x);
+ public static native QPixmap grabWindow(long arg1);
+ public static native QPixmap grabWidget(QWidget widget, int x, int y, int w, int h);
+ public static native QPixmap grabWidget(QWidget widget, int x, int y, int w);
+ public static native QPixmap grabWidget(QWidget widget, int x, int y);
+ public static native QPixmap grabWidget(QWidget widget, int x);
+ public static native QPixmap grabWidget(QWidget widget);
+ public static native QWMatrix trueMatrix(QWMatrix arg1, int w, int h);
+ public static native String imageFormat(String fileName);
+ public static native int defaultOptimization();
+ public static native void setDefaultOptimization(int arg1);
+ public QPixmap(int w, int h, char[] data, boolean isXbitmap) {
+ super((Class) null);
+ newQPixmap(w,h,data,isXbitmap);
+ }
+ private native void newQPixmap(int w, int h, char[] data, boolean isXbitmap);
+ protected native int metric(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();
+ public native int devType();
+ public native boolean isExtDev();
+ public native boolean paintingActive();
+ public native void setResolution(int arg1);
+ public native int resolution();
+ // bool cmd(int arg1,QPainter* arg2,QPDevCmdParam* arg3); >>>> NOT CONVERTED
+ protected native int fontMet(QFont arg1, int arg2, String arg3, int arg4);
+ protected native int fontMet(QFont arg1, int arg2, String arg3);
+ protected native int fontMet(QFont arg1, int arg2);
+ protected native int fontInf(QFont arg1, int arg2);
+ public native boolean loadFromData(char[] data);
+
+ /** Internal method */
+ protected native long paintDevice();
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QPoint.java b/qtjava/javalib/org/kde/qt/QPoint.java
new file mode 100644
index 00000000..d408b056
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPoint.java
@@ -0,0 +1,39 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QPoint implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QPoint(Class dummy){}
+
+ public QPoint() {
+ newQPoint();
+ }
+ private native void newQPoint();
+ public QPoint(int xpos, int ypos) {
+ newQPoint(xpos,ypos);
+ }
+ private native void newQPoint(int xpos, int ypos);
+ public native boolean isNull();
+ public native int x();
+ public native int y();
+ public native void setX(int x);
+ public native void setY(int y);
+ public native int manhattanLength();
+ public native short rx();
+ public native short ry();
+ public native QPoint op_plus_assign(QPoint p);
+ public native QPoint op_minus_assign(QPoint p);
+ public native QPoint op_mult_assign(int c);
+ public native QPoint op_mult_assign(double c);
+ public native QPoint op_div_assign(int c);
+ public native QPoint op_div_assign(double 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/qtjava/javalib/org/kde/qt/QPointArray.java b/qtjava/javalib/org/kde/qt/QPointArray.java
new file mode 100644
index 00000000..419d9bab
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPointArray.java
@@ -0,0 +1,68 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QPointArray implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QPointArray(Class dummy){}
+
+ public QPointArray() {
+ newQPointArray();
+ }
+ private native void newQPointArray();
+ public QPointArray(int size) {
+ newQPointArray(size);
+ }
+ private native void newQPointArray(int size);
+ public QPointArray(QPointArray a) {
+ newQPointArray(a);
+ }
+ private native void newQPointArray(QPointArray a);
+ public QPointArray(QRect r, boolean closed) {
+ newQPointArray(r,closed);
+ }
+ private native void newQPointArray(QRect r, boolean closed);
+ public QPointArray(QRect r) {
+ newQPointArray(r);
+ }
+ private native void newQPointArray(QRect r);
+ public QPointArray(int nPoints, short[] points) {
+ newQPointArray(nPoints,points);
+ }
+ private native void newQPointArray(int nPoints, short[] points);
+ public native QPointArray copy();
+ public native void translate(int dx, int dy);
+ public native QRect boundingRect();
+ public native void point(int i, int[] x, int[] y);
+ public native QPoint point(int i);
+ public native void setPoint(int i, int x, int y);
+ public native void setPoint(int i, QPoint p);
+ public native boolean setPoints(int nPoints, short[] points);
+ public native boolean putPoints(int index, int nPoints, short[] points);
+ public native boolean putPoints(int index, int nPoints, QPointArray from, int fromIndex);
+ public native boolean putPoints(int index, int nPoints, QPointArray from);
+ public native void makeArc(int x, int y, int w, int h, int a1, int a2);
+ public native void makeEllipse(int x, int y, int w, int h);
+ public native void makeArc(int x, int y, int w, int h, int a1, int a2, QWMatrix arg7);
+ public native QPointArray cubicBezier();
+ // void* shortPoints(int arg1,int arg2); >>>> NOT CONVERTED
+ // void* shortPoints(int arg1); >>>> NOT CONVERTED
+ // void* shortPoints(); >>>> NOT CONVERTED
+ public static native void cleanBuffers();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws 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 int size();
+ public native int count();
+ public native boolean isEmpty();
+ public native boolean isNull();
+ public native boolean resize( int size);
+ public native boolean truncate( int pos);
+ public native QPoint at(int index);
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QPolygonScanner.java b/qtjava/javalib/org/kde/qt/QPolygonScanner.java
new file mode 100644
index 00000000..b901c781
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPolygonScanner.java
@@ -0,0 +1,22 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QPolygonScanner implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QPolygonScanner(Class dummy){}
+
+ public static final int Left = 1;
+ public static final int Right = 2;
+ public static final int Top = 4;
+ public static final int Bottom = 8;
+
+ public native void scan(QPointArray pa, boolean winding, int index, int npoints);
+ public native void scan(QPointArray pa, boolean winding, int index);
+ public native void scan(QPointArray pa, boolean winding);
+ public native void scan(QPointArray pa, boolean winding, int index, int npoints, boolean stitchable);
+ public native void scan(QPointArray pa, boolean winding, int index, int npoints, int edges);
+ public native void processSpans(int n, QPoint point, int[] width);
+}
diff --git a/qtjava/javalib/org/kde/qt/QPopupMenu.java b/qtjava/javalib/org/kde/qt/QPopupMenu.java
new file mode 100644
index 00000000..a5d4149e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPopupMenu.java
@@ -0,0 +1,167 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QPopupMenuSignals} for signals emitted by QPopupMenu
+*/
+public class QPopupMenu extends QFrame implements QMenuDataInterface {
+ protected QPopupMenu(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QPopupMenu(QWidget parent, String name) {
+ super((Class) null);
+ newQPopupMenu(parent,name);
+ }
+ private native void newQPopupMenu(QWidget parent, String name);
+ public QPopupMenu(QWidget parent) {
+ super((Class) null);
+ newQPopupMenu(parent);
+ }
+ private native void newQPopupMenu(QWidget parent);
+ public QPopupMenu() {
+ super((Class) null);
+ newQPopupMenu();
+ }
+ private native void newQPopupMenu();
+ public native void popup(QPoint pos, int indexAtPoint);
+ public native void popup(QPoint pos);
+ public native void updateItem(int id);
+ public native void setCheckable(boolean arg1);
+ public native boolean isCheckable();
+ public native void setFont(QFont arg1);
+ public native void show();
+ public native void hide();
+ public native int exec();
+ public native int exec(QPoint pos, int indexAtPoint);
+ public native int exec(QPoint pos);
+ public native void setActiveItem(int arg1);
+ public native QSize sizeHint();
+ public native int idAt(int index);
+ public native int idAt(QPoint pos);
+ public native boolean customWhatsThis();
+ public native int insertTearOffHandle(int id, int index);
+ public native int insertTearOffHandle(int id);
+ public native int insertTearOffHandle();
+ public native void activateItemAt(int index);
+ public native QRect itemGeometry(int index);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native int itemHeight(int arg1);
+ protected native int itemHeight(QMenuItem mi);
+ protected native void drawItem(QPainter p, int tab, QMenuItem mi, boolean act, int x, int y, int w, int h);
+ protected native void drawContents(QPainter arg1);
+ protected native void closeEvent(QCloseEvent e);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ protected native void focusInEvent(QFocusEvent arg1);
+ protected native void focusOutEvent(QFocusEvent arg1);
+ protected native void timerEvent(QTimerEvent arg1);
+ protected native void leaveEvent(QEvent arg1);
+ public native void styleChange(QStyle arg1);
+ protected native void enabledChange(boolean arg1);
+ protected native int columns();
+ protected native boolean focusNextPrevChild(boolean next);
+ protected native int itemAtPos(QPoint arg1, boolean ignoreSeparator);
+ protected native int itemAtPos(QPoint 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 int count();
+ public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id, int index);
+ public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id);
+ public native int insertItem(String text, QObject receiver, String member, QKeySequence accel);
+ public native int insertItem(String text, QObject receiver, String member);
+ public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id, int index);
+ public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id);
+ public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel);
+ public native int insertItem(QIconSet icon, String text, QObject receiver, String member);
+ public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index);
+ public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id);
+ public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel);
+ public native int insertItem(QPixmap pixmap, QObject receiver, String member);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member);
+ public native int insertItem(String text, int id, int index);
+ public native int insertItem(String text, int id);
+ public native int insertItem(String text);
+ public native int insertItem(QIconSet icon, String text, int id, int index);
+ public native int insertItem(QIconSet icon, String text, int id);
+ public native int insertItem(QIconSet icon, String text);
+ public native int insertItem(String text, QPopupMenu popup, int id, int index);
+ public native int insertItem(String text, QPopupMenu popup, int id);
+ public native int insertItem(String text, QPopupMenu popup);
+ public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id, int index);
+ public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id);
+ public native int insertItem(QIconSet icon, String text, QPopupMenu popup);
+ public native int insertItem(QPixmap pixmap, int id, int index);
+ public native int insertItem(QPixmap pixmap, int id);
+ public native int insertItem(QPixmap pixmap);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, int id, int index);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, int id);
+ public native int insertItem(QIconSet icon, QPixmap pixmap);
+ public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id, int index);
+ public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id);
+ public native int insertItem(QPixmap pixmap, QPopupMenu popup);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id, int index);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id);
+ public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup);
+ public native int insertItem(QWidget widget, int id, int index);
+ public native int insertItem(QWidget widget, int id);
+ public native int insertItem(QWidget widget);
+ public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id, int index);
+ public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id);
+ public native int insertItem(QIconSet icon, QCustomMenuItem custom);
+ public native int insertItem(QCustomMenuItem custom, int id, int index);
+ public native int insertItem(QCustomMenuItem custom, int id);
+ public native int insertItem(QCustomMenuItem custom);
+ public native int insertSeparator(int index);
+ public native int insertSeparator();
+ public native void removeItem(int id);
+ public native void removeItemAt(int index);
+ public native void clear();
+ public native QKeySequence accel(int id);
+ public native void setAccel(QKeySequence key, int id);
+ public native QIconSet iconSet(int id);
+ public native String text(int id);
+ public native QPixmap pixmap(int id);
+ public native void setWhatsThis(int id, String arg2);
+ public native String whatsThis(int id);
+ public native void changeItem(int id, String text);
+ public native void changeItem(int id, QPixmap pixmap);
+ public native void changeItem(int id, QIconSet icon, String text);
+ public native void changeItem(int id, QIconSet icon, QPixmap pixmap);
+ public native void changeItem(String text, int id);
+ public native void changeItem(QPixmap pixmap, int id);
+ public native void changeItem(QIconSet icon, String text, int id);
+ public native boolean isItemActive(int id);
+ public native boolean isItemEnabled(int id);
+ public native void setItemEnabled(int id, boolean enable);
+ public native boolean isItemChecked(int id);
+ public native void setItemChecked(int id, boolean check);
+ public native boolean isItemVisible(int id);
+ public native void setItemVisible(int id, boolean visible);
+ public native int indexOf(int id);
+ public native void setId(int index, int id);
+ public native boolean connectItem(int id, QObject receiver, String member);
+ public native boolean disconnectItem(int id, QObject receiver, String member);
+ public native boolean setItemParameter(int id, int param);
+ public native int itemParameter(int id);
+ public native QMenuItem findItem(int id);
+ // QMenuItem* findItem(int arg1,QMenuData** arg2); >>>> NOT CONVERTED
+ public native QMenuItem findPopup(QPopupMenu arg1, int[] index);
+ public native QMenuItem findPopup(QPopupMenu arg1);
+ protected native void menuContentsChanged();
+ protected native void menuStateChanged();
+ protected native void menuInsPopup(QPopupMenu arg1);
+ protected native void menuDelPopup(QPopupMenu arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QPopupMenuSignals.java b/qtjava/javalib/org/kde/qt/QPopupMenuSignals.java
new file mode 100644
index 00000000..43d1b69e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPopupMenuSignals.java
@@ -0,0 +1,12 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QPopupMenuSignals {
+ void activated(int itemId);
+ void highlighted(int itemId);
+ void activatedRedirect(int itemId);
+ void highlightedRedirect(int itemId);
+ void aboutToShow();
+ void aboutToHide();
+}
diff --git a/qtjava/javalib/org/kde/qt/QPrintDialog.java b/qtjava/javalib/org/kde/qt/QPrintDialog.java
new file mode 100644
index 00000000..6da80c7f
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPrintDialog.java
@@ -0,0 +1,40 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QPrintDialog extends QDialog {
+ protected QPrintDialog(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QPrintDialog(QPrinter arg1, QWidget parent, String name) {
+ super((Class) null);
+ newQPrintDialog(arg1,parent,name);
+ }
+ private native void newQPrintDialog(QPrinter arg1, QWidget parent, String name);
+ public QPrintDialog(QPrinter arg1, QWidget parent) {
+ super((Class) null);
+ newQPrintDialog(arg1,parent);
+ }
+ private native void newQPrintDialog(QPrinter arg1, QWidget parent);
+ public QPrintDialog(QPrinter arg1) {
+ super((Class) null);
+ newQPrintDialog(arg1);
+ }
+ private native void newQPrintDialog(QPrinter arg1);
+ public native void setPrinter(QPrinter arg1, boolean arg2);
+ public native void setPrinter(QPrinter arg1);
+ public native QPrinter printer();
+ public native void addButton(QPushButton but);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native boolean getPrinterSetup(QPrinter arg1, QWidget arg2);
+ public static native boolean getPrinterSetup(QPrinter arg1);
+ public static native void setGlobalPrintDialog(QPrintDialog 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/qtjava/javalib/org/kde/qt/QPrinter.java b/qtjava/javalib/org/kde/qt/QPrinter.java
new file mode 100644
index 00000000..244d6456
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPrinter.java
@@ -0,0 +1,147 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QPrinter extends QPaintDevice {
+ protected QPrinter(Class dummy){super((Class) null);}
+ public static final int ScreenResolution = 0;
+ public static final int PrinterResolution = 1;
+ public static final int HighResolution = 2;
+ public static final int Compatible = 3;
+
+ public static final int Portrait = 0;
+ public static final int Landscape = 1;
+
+ public static final int A4 = 0;
+ public static final int B5 = 1;
+ public static final int Letter = 2;
+ public static final int Legal = 3;
+ public static final int Executive = 4;
+ public static final int A0 = 5;
+ public static final int A1 = 6;
+ public static final int A2 = 7;
+ public static final int A3 = 8;
+ public static final int A5 = 9;
+ public static final int A6 = 10;
+ public static final int A7 = 11;
+ public static final int A8 = 12;
+ public static final int A9 = 13;
+ public static final int B0 = 14;
+ public static final int B1 = 15;
+ public static final int B10 = 16;
+ public static final int B2 = 17;
+ public static final int B3 = 18;
+ public static final int B4 = 19;
+ public static final int B6 = 20;
+ public static final int B7 = 21;
+ public static final int B8 = 22;
+ public static final int B9 = 23;
+ public static final int C5E = 24;
+ public static final int Comm10E = 25;
+ public static final int DLE = 26;
+ public static final int Folio = 27;
+ public static final int Ledger = 28;
+ public static final int Tabloid = 29;
+ public static final int Custom = 30;
+ public static final int NPageSize = Custom;
+
+ public static final int FirstPageFirst = 0;
+ public static final int LastPageFirst = 1;
+
+ public static final int GrayScale = 0;
+ public static final int Color = 1;
+
+ public static final int OnlyOne = 0;
+ public static final int Lower = 1;
+ public static final int Middle = 2;
+ public static final int Manual = 3;
+ public static final int Envelope = 4;
+ public static final int EnvelopeManual = 5;
+ public static final int Auto = 6;
+ public static final int Tractor = 7;
+ public static final int SmallFormat = 8;
+ public static final int LargeFormat = 9;
+ public static final int LargeCapacity = 10;
+ public static final int Cassette = 11;
+ public static final int FormSource = 12;
+
+ public static final int AllPages = 0;
+ public static final int Selection = 1;
+ public static final int PageRange = 2;
+
+ public static final int PrintToFile = 0;
+ public static final int PrintSelection = 1;
+ public static final int PrintPageRange = 2;
+
+ public QPrinter(int mode) {
+ super((Class) null);
+ newQPrinter(mode);
+ }
+ private native void newQPrinter(int mode);
+ public QPrinter() {
+ super((Class) null);
+ newQPrinter();
+ }
+ private native void newQPrinter();
+ public native String printerName();
+ public native void setPrinterName(String arg1);
+ public native boolean outputToFile();
+ public native void setOutputToFile(boolean arg1);
+ public native String outputFileName();
+ public native void setOutputFileName(String arg1);
+ public native String printProgram();
+ public native void setPrintProgram(String arg1);
+ public native String printerSelectionOption();
+ public native void setPrinterSelectionOption(String arg1);
+ public native String docName();
+ public native void setDocName(String arg1);
+ public native String creator();
+ public native void setCreator(String arg1);
+ public native int orientation();
+ public native void setOrientation(int arg1);
+ public native int pageSize();
+ public native void setPageSize(int arg1);
+ public native void setPageOrder(int arg1);
+ public native int pageOrder();
+ public native void setResolution(int arg1);
+ public native int resolution();
+ public native void setColorMode(int arg1);
+ public native int colorMode();
+ public native void setFullPage(boolean arg1);
+ public native boolean fullPage();
+ public native QSize margins();
+ public native void setMargins(int top, int left, int bottom, int right);
+ public native void margins(int[] top, int[] left, int[] bottom, int[] right);
+ public native int fromPage();
+ public native int toPage();
+ public native void setFromTo(int fromPage, int toPage);
+ public native int minPage();
+ public native int maxPage();
+ public native void setMinMax(int minPage, int maxPage);
+ public native int numCopies();
+ public native void setNumCopies(int arg1);
+ public native boolean collateCopiesEnabled();
+ public native void setCollateCopiesEnabled(boolean arg1);
+ public native boolean collateCopies();
+ public native void setCollateCopies(boolean arg1);
+ public native int printRange();
+ public native void setPrintRange(int range);
+ public native boolean newPage();
+ public native boolean abort();
+ public native boolean aborted();
+ public native boolean setup(QWidget parent);
+ public native boolean setup();
+ public native int paperSource();
+ public native void setPaperSource(int arg1);
+ public native void setOptionEnabled(int arg1, boolean enable);
+ public native boolean isOptionEnabled(int arg1);
+ // bool cmd(int arg1,QPainter* arg2,QPDevCmdParam* arg3); >>>> NOT CONVERTED
+ protected native int metric(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/qtjava/javalib/org/kde/qt/QProcess.java b/qtjava/javalib/org/kde/qt/QProcess.java
new file mode 100644
index 00000000..c116696b
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QProcess.java
@@ -0,0 +1,104 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+/**
+ See {@link QProcessSignals} for signals emitted by QProcess
+*/
+public class QProcess extends QObject {
+ protected QProcess(Class dummy){super((Class) null);}
+ public static final int Stdin = 0x01;
+ public static final int Stdout = 0x02;
+ public static final int Stderr = 0x04;
+ public static final int DupStderr = 0x08;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QProcess(QObject parent, String name) {
+ super((Class) null);
+ newQProcess(parent,name);
+ }
+ private native void newQProcess(QObject parent, String name);
+ public QProcess(QObject parent) {
+ super((Class) null);
+ newQProcess(parent);
+ }
+ private native void newQProcess(QObject parent);
+ public QProcess() {
+ super((Class) null);
+ newQProcess();
+ }
+ private native void newQProcess();
+ public QProcess(String arg0, QObject parent, String name) {
+ super((Class) null);
+ newQProcess(arg0,parent,name);
+ }
+ private native void newQProcess(String arg0, QObject parent, String name);
+ public QProcess(String arg0, QObject parent) {
+ super((Class) null);
+ newQProcess(arg0,parent);
+ }
+ private native void newQProcess(String arg0, QObject parent);
+ public QProcess(String arg0) {
+ super((Class) null);
+ newQProcess(arg0);
+ }
+ private native void newQProcess(String arg0);
+ public QProcess(String[] args, QObject parent, String name) {
+ super((Class) null);
+ newQProcess(args,parent,name);
+ }
+ private native void newQProcess(String[] args, QObject parent, String name);
+ public QProcess(String[] args, QObject parent) {
+ super((Class) null);
+ newQProcess(args,parent);
+ }
+ private native void newQProcess(String[] args, QObject parent);
+ public QProcess(String[] args) {
+ super((Class) null);
+ newQProcess(args);
+ }
+ private native void newQProcess(String[] args);
+ public native ArrayList arguments();
+ public native void clearArguments();
+ public native void setArguments(String[] args);
+ public native void addArgument(String arg);
+ public native QDir workingDirectory();
+ public native void setWorkingDirectory(QDir dir);
+ public native void setCommunication(int c);
+ public native int communication();
+ public native boolean start(String[] arg1);
+ public native boolean start();
+ public native boolean launch(String buf, String[] arg2);
+ public native boolean launch(String buf);
+ public native boolean launch(byte[] buf, String[] arg2);
+ public native boolean launch(byte[] buf);
+ public native boolean isRunning();
+ public native boolean normalExit();
+ public native int exitStatus();
+ public native byte[] readStdout();
+ public native byte[] readStderr();
+ public native boolean canReadLineStdout();
+ public native boolean canReadLineStderr();
+ public native String readLineStdout();
+ public native String readLineStderr();
+ public native long processIdentifier();
+ public native void flushStdin();
+ public native void tryTerminate();
+ public native void kill();
+ public native void writeToStdin(byte[] buf);
+ public native void writeToStdin(String buf);
+ public native void closeStdin();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void connectNotify(String signal);
+ protected native void disconnectNotify(String signal);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QProcessSignals.java b/qtjava/javalib/org/kde/qt/QProcessSignals.java
new file mode 100644
index 00000000..1bb52bdf
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QProcessSignals.java
@@ -0,0 +1,12 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.util.ArrayList;
+
+public interface QProcessSignals {
+ void readyReadStdout();
+ void readyReadStderr();
+ void processExited();
+ void wroteToStdin();
+ void launchFinished();
+}
diff --git a/qtjava/javalib/org/kde/qt/QProgressBar.java b/qtjava/javalib/org/kde/qt/QProgressBar.java
new file mode 100644
index 00000000..ccce5ff1
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QProgressBar.java
@@ -0,0 +1,77 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QProgressBar extends QFrame {
+ protected QProgressBar(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QProgressBar(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQProgressBar(parent,name,f);
+ }
+ private native void newQProgressBar(QWidget parent, String name, int f);
+ public QProgressBar(QWidget parent, String name) {
+ super((Class) null);
+ newQProgressBar(parent,name);
+ }
+ private native void newQProgressBar(QWidget parent, String name);
+ public QProgressBar(QWidget parent) {
+ super((Class) null);
+ newQProgressBar(parent);
+ }
+ private native void newQProgressBar(QWidget parent);
+ public QProgressBar() {
+ super((Class) null);
+ newQProgressBar();
+ }
+ private native void newQProgressBar();
+ public QProgressBar(int totalSteps, QWidget parent, String name, int f) {
+ super((Class) null);
+ newQProgressBar(totalSteps,parent,name,f);
+ }
+ private native void newQProgressBar(int totalSteps, QWidget parent, String name, int f);
+ public QProgressBar(int totalSteps, QWidget parent, String name) {
+ super((Class) null);
+ newQProgressBar(totalSteps,parent,name);
+ }
+ private native void newQProgressBar(int totalSteps, QWidget parent, String name);
+ public QProgressBar(int totalSteps, QWidget parent) {
+ super((Class) null);
+ newQProgressBar(totalSteps,parent);
+ }
+ private native void newQProgressBar(int totalSteps, QWidget parent);
+ public QProgressBar(int totalSteps) {
+ super((Class) null);
+ newQProgressBar(totalSteps);
+ }
+ private native void newQProgressBar(int totalSteps);
+ public native int totalSteps();
+ public native int progress();
+ public native String progressString();
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native void setCenterIndicator(boolean on);
+ public native boolean centerIndicator();
+ public native void setIndicatorFollowsStyle(boolean arg1);
+ public native boolean indicatorFollowsStyle();
+ public native boolean percentageVisible();
+ public native void setPercentageVisible(boolean arg1);
+ public native void show();
+ public native void reset();
+ public native void setTotalSteps(int totalSteps);
+ public native void setProgress(int progress);
+ public native void setProgress(int progress, int totalSteps);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawContents(QPainter arg1);
+ protected native boolean setIndicator(StringBuffer progress_str, int progress, int totalSteps);
+ public native void styleChange(QStyle 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/qtjava/javalib/org/kde/qt/QProgressDialog.java b/qtjava/javalib/org/kde/qt/QProgressDialog.java
new file mode 100644
index 00000000..0bfb0e84
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QProgressDialog.java
@@ -0,0 +1,98 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QProgressDialogSignals} for signals emitted by QProgressDialog
+*/
+public class QProgressDialog extends QDialog {
+ protected QProgressDialog(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QProgressDialog(QWidget parent, String name, boolean modal, int f) {
+ super((Class) null);
+ newQProgressDialog(parent,name,modal,f);
+ }
+ private native void newQProgressDialog(QWidget parent, String name, boolean modal, int f);
+ public QProgressDialog(QWidget parent, String name, boolean modal) {
+ super((Class) null);
+ newQProgressDialog(parent,name,modal);
+ }
+ private native void newQProgressDialog(QWidget parent, String name, boolean modal);
+ public QProgressDialog(QWidget parent, String name) {
+ super((Class) null);
+ newQProgressDialog(parent,name);
+ }
+ private native void newQProgressDialog(QWidget parent, String name);
+ public QProgressDialog(QWidget parent) {
+ super((Class) null);
+ newQProgressDialog(parent);
+ }
+ private native void newQProgressDialog(QWidget parent);
+ public QProgressDialog() {
+ super((Class) null);
+ newQProgressDialog();
+ }
+ private native void newQProgressDialog();
+ public QProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent, String name, boolean modal, int f) {
+ super((Class) null);
+ newQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name,modal,f);
+ }
+ private native void newQProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent, String name, boolean modal, int f);
+ public QProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent, String name, boolean modal) {
+ super((Class) null);
+ newQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name,modal);
+ }
+ private native void newQProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent, String name, boolean modal);
+ public QProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent, String name) {
+ super((Class) null);
+ newQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name);
+ }
+ private native void newQProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent, String name);
+ public QProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent) {
+ super((Class) null);
+ newQProgressDialog(labelText,cancelButtonText,totalSteps,parent);
+ }
+ private native void newQProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent);
+ public QProgressDialog(String labelText, String cancelButtonText, int totalSteps) {
+ super((Class) null);
+ newQProgressDialog(labelText,cancelButtonText,totalSteps);
+ }
+ private native void newQProgressDialog(String labelText, String cancelButtonText, int totalSteps);
+ public native void setLabel(QLabel arg1);
+ public native void setCancelButton(QPushButton arg1);
+ public native void setBar(QProgressBar arg1);
+ public native boolean wasCancelled();
+ public native boolean wasCanceled();
+ public native int totalSteps();
+ public native int progress();
+ public native QSize sizeHint();
+ public native String labelText();
+ public native void setAutoReset(boolean b);
+ public native boolean autoReset();
+ public native void setAutoClose(boolean b);
+ public native boolean autoClose();
+ public native int minimumDuration();
+ public native void cancel();
+ public native void reset();
+ public native void setTotalSteps(int totalSteps);
+ public native void setProgress(int progress);
+ public native void setProgress(int progress, int totalSteps);
+ public native void setLabelText(String arg1);
+ public native void setCancelButtonText(String arg1);
+ public native void setMinimumDuration(int ms);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void closeEvent(QCloseEvent arg1);
+ public native void styleChange(QStyle arg1);
+ public native void showEvent(QShowEvent e);
+ protected native void forceShow();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QProgressDialogSignals.java b/qtjava/javalib/org/kde/qt/QProgressDialogSignals.java
new file mode 100644
index 00000000..9175fb67
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QProgressDialogSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QProgressDialogSignals {
+ void cancelled();
+ void canceled();
+}
diff --git a/qtjava/javalib/org/kde/qt/QPushButton.java b/qtjava/javalib/org/kde/qt/QPushButton.java
new file mode 100644
index 00000000..4171f90d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QPushButton.java
@@ -0,0 +1,75 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QPushButton extends QButton {
+ protected QPushButton(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QPushButton(QWidget parent, String name) {
+ super((Class) null);
+ newQPushButton(parent,name);
+ }
+ private native void newQPushButton(QWidget parent, String name);
+ public QPushButton(QWidget parent) {
+ super((Class) null);
+ newQPushButton(parent);
+ }
+ private native void newQPushButton(QWidget parent);
+ public QPushButton(String text, QWidget parent, String name) {
+ super((Class) null);
+ newQPushButton(text,parent,name);
+ }
+ private native void newQPushButton(String text, QWidget parent, String name);
+ public QPushButton(String text, QWidget parent) {
+ super((Class) null);
+ newQPushButton(text,parent);
+ }
+ private native void newQPushButton(String text, QWidget parent);
+ public QPushButton(QIconSet icon, String text, QWidget parent, String name) {
+ super((Class) null);
+ newQPushButton(icon,text,parent,name);
+ }
+ private native void newQPushButton(QIconSet icon, String text, QWidget parent, String name);
+ public QPushButton(QIconSet icon, String text, QWidget parent) {
+ super((Class) null);
+ newQPushButton(icon,text,parent);
+ }
+ private native void newQPushButton(QIconSet icon, String text, QWidget parent);
+ public native QSize sizeHint();
+ public native void move(int x, int y);
+ public native void move(QPoint p);
+ public native void resize(int w, int h);
+ public native void resize(QSize arg1);
+ public native void setGeometry(int x, int y, int w, int h);
+ public native void setGeometry(QRect arg1);
+ public native void setToggleButton(boolean arg1);
+ public native boolean autoDefault();
+ public native void setAutoDefault(boolean autoDef);
+ public native boolean isDefault();
+ public native void setDefault(boolean def);
+ public native void setIsMenuButton(boolean enable);
+ public native boolean isMenuButton();
+ public native void setPopup(QPopupMenu popup);
+ public native QPopupMenu popup();
+ public native void setIconSet(QIconSet arg1);
+ public native QIconSet iconSet();
+ public native void setFlat(boolean arg1);
+ public native boolean isFlat();
+ public native void setOn(boolean arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawButton(QPainter arg1);
+ protected native void drawButtonLabel(QPainter arg1);
+ protected native void focusInEvent(QFocusEvent arg1);
+ protected native void focusOutEvent(QFocusEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void updateMask();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QRadioButton.java b/qtjava/javalib/org/kde/qt/QRadioButton.java
new file mode 100644
index 00000000..56822b17
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QRadioButton.java
@@ -0,0 +1,46 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QRadioButton extends QButton {
+ protected QRadioButton(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QRadioButton(QWidget parent, String name) {
+ super((Class) null);
+ newQRadioButton(parent,name);
+ }
+ private native void newQRadioButton(QWidget parent, String name);
+ public QRadioButton(QWidget parent) {
+ super((Class) null);
+ newQRadioButton(parent);
+ }
+ private native void newQRadioButton(QWidget parent);
+ public QRadioButton(String text, QWidget parent, String name) {
+ super((Class) null);
+ newQRadioButton(text,parent,name);
+ }
+ private native void newQRadioButton(String text, QWidget parent, String name);
+ public QRadioButton(String text, QWidget parent) {
+ super((Class) null);
+ newQRadioButton(text,parent);
+ }
+ private native void newQRadioButton(String text, QWidget parent);
+ public native boolean isChecked();
+ public native QSize sizeHint();
+ public native void setChecked(boolean check);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native boolean hitButton(QPoint arg1);
+ protected native void drawButton(QPainter arg1);
+ protected native void drawButtonLabel(QPainter arg1);
+ protected native void updateMask();
+ protected native void resizeEvent(QResizeEvent 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/qtjava/javalib/org/kde/qt/QRangeControl.java b/qtjava/javalib/org/kde/qt/QRangeControl.java
new file mode 100644
index 00000000..0912688c
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QRangeControl.java
@@ -0,0 +1,47 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QRangeControl implements QtSupport, QRangeControlInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QRangeControl(Class dummy){}
+
+ public QRangeControl() {
+ newQRangeControl();
+ }
+ private native void newQRangeControl();
+ public QRangeControl(int minValue, int maxValue, int lineStep, int pageStep, int value) {
+ newQRangeControl(minValue,maxValue,lineStep,pageStep,value);
+ }
+ private native void newQRangeControl(int minValue, int maxValue, int lineStep, int pageStep, int value);
+ public native int value();
+ public native void setValue(int arg1);
+ public native void addPage();
+ public native void subtractPage();
+ public native void addLine();
+ public native void subtractLine();
+ public native int minValue();
+ public native int maxValue();
+ public native void setRange(int minValue, int maxValue);
+ public native void setMinValue(int minVal);
+ public native void setMaxValue(int minVal);
+ 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 valueChange();
+ protected native void rangeChange();
+ protected native void stepChange();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QRangeControlInterface.java b/qtjava/javalib/org/kde/qt/QRangeControlInterface.java
new file mode 100644
index 00000000..7088fd8e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QRangeControlInterface.java
@@ -0,0 +1,21 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QRangeControlInterface {
+ int value();
+ void setValue(int arg1);
+ void addPage();
+ void subtractPage();
+ void addLine();
+ void subtractLine();
+ int minValue();
+ int maxValue();
+ void setRange(int minValue, int maxValue);
+ void setMinValue(int minVal);
+ void setMaxValue(int minVal);
+ int lineStep();
+ int pageStep();
+ void setSteps(int line, int page);
+ int bound(int arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QRect.java b/qtjava/javalib/org/kde/qt/QRect.java
new file mode 100644
index 00000000..cac71544
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QRect.java
@@ -0,0 +1,96 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QRect implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QRect(Class dummy){}
+
+ public QRect() {
+ newQRect();
+ }
+ private native void newQRect();
+ public QRect(QPoint topleft, QPoint bottomright) {
+ newQRect(topleft,bottomright);
+ }
+ private native void newQRect(QPoint topleft, QPoint bottomright);
+ public QRect(QPoint topleft, QSize size) {
+ newQRect(topleft,size);
+ }
+ private native void newQRect(QPoint topleft, QSize size);
+ public QRect(int left, int top, int width, int height) {
+ newQRect(left,top,width,height);
+ }
+ private native void newQRect(int left, int top, int width, int height);
+ public native boolean isNull();
+ public native boolean isEmpty();
+ public native boolean isValid();
+ public native QRect normalize();
+ public native int left();
+ public native int top();
+ public native int right();
+ public native int bottom();
+ public native short rLeft();
+ public native short rTop();
+ public native short rRight();
+ public native short rBottom();
+ public native int x();
+ public native int y();
+ public native void setLeft(int pos);
+ public native void setTop(int pos);
+ public native void setRight(int pos);
+ public native void setBottom(int pos);
+ public native void setX(int x);
+ public native void setY(int y);
+ public native void setTopLeft(QPoint p);
+ public native void setBottomRight(QPoint p);
+ public native void setTopRight(QPoint p);
+ public native void setBottomLeft(QPoint p);
+ public native QPoint topLeft();
+ public native QPoint bottomRight();
+ public native QPoint topRight();
+ public native QPoint bottomLeft();
+ public native QPoint center();
+ public native void rect(int[] x, int[] y, int[] w, int[] h);
+ public native void coords(int[] x1, int[] y1, int[] x2, int[] y2);
+ public native void moveLeft(int pos);
+ public native void moveTop(int pos);
+ public native void moveRight(int pos);
+ public native void moveBottom(int pos);
+ public native void moveTopLeft(QPoint p);
+ public native void moveBottomRight(QPoint p);
+ public native void moveTopRight(QPoint p);
+ public native void moveBottomLeft(QPoint p);
+ public native void moveCenter(QPoint p);
+ public native void moveBy(int dx, int dy);
+ public native void setRect(int x, int y, int w, int h);
+ public native void setCoords(int x1, int y1, int x2, int y2);
+ public native void addCoords(int x1, int y1, int x2, int y2);
+ public native QSize size();
+ public native int width();
+ public native int height();
+ public native void setWidth(int w);
+ public native void setHeight(int h);
+ public native void setSize(QSize s);
+ public native QRect op_or(QRect r);
+ public native QRect op_and(QRect r);
+ public native QRect op_or_assign(QRect r);
+ public native QRect op_and_assign(QRect r);
+ public native boolean contains(QPoint p, boolean proper);
+ public native boolean contains(QPoint p);
+ public native boolean contains(int x, int y);
+ public native boolean contains(int x, int y, boolean proper);
+ public native boolean contains(QRect r, boolean proper);
+ public native boolean contains(QRect r);
+ public native QRect unite(QRect r);
+ public native QRect intersect(QRect r);
+ public native boolean intersects(QRect r);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QRegExp.java b/qtjava/javalib/org/kde/qt/QRegExp.java
new file mode 100644
index 00000000..b048dcfd
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QRegExp.java
@@ -0,0 +1,74 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QRegExp implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QRegExp(Class dummy){}
+
+ public static final int CaretAtZero = 0;
+ public static final int CaretAtOffset = 1;
+ public static final int CaretWontMatch = 2;
+
+ public QRegExp() {
+ newQRegExp();
+ }
+ private native void newQRegExp();
+ public QRegExp(String pattern, boolean caseSensitive, boolean wildcard) {
+ newQRegExp(pattern,caseSensitive,wildcard);
+ }
+ private native void newQRegExp(String pattern, boolean caseSensitive, boolean wildcard);
+ public QRegExp(String pattern, boolean caseSensitive) {
+ newQRegExp(pattern,caseSensitive);
+ }
+ private native void newQRegExp(String pattern, boolean caseSensitive);
+ public QRegExp(String pattern) {
+ newQRegExp(pattern);
+ }
+ private native void newQRegExp(String pattern);
+ public QRegExp(QRegExp rx) {
+ newQRegExp(rx);
+ }
+ private native void newQRegExp(QRegExp rx);
+ public native boolean op_equals(QRegExp rx);
+ public native boolean op_not_equals(QRegExp rx);
+ public native boolean isEmpty();
+ public native boolean isValid();
+ public native String pattern();
+ public native void setPattern(String pattern);
+ public native boolean caseSensitive();
+ public native void setCaseSensitive(boolean sensitive);
+ public native boolean wildcard();
+ public native void setWildcard(boolean wildcard);
+ public native boolean minimal();
+ public native void setMinimal(boolean minimal);
+ public native boolean exactMatch(String str);
+ public native int match(String str, int index, int[] len, boolean indexIsStart);
+ public native int match(String str, int index, int[] len);
+ public native int match(String str, int index);
+ public native int match(String str);
+ public native int search(String str, int offset, int caretMode);
+ public native int search(String str, int offset);
+ public native int search(String str);
+ public native int searchRev(String str, int offset, int caretMode);
+ public native int searchRev(String str, int offset);
+ public native int searchRev(String str);
+ public native int matchedLength();
+ public native int numCaptures();
+ public native ArrayList capturedTexts();
+ public native String cap(int nth);
+ public native String cap();
+ public native int pos(int nth);
+ public native int pos();
+ public native String errorString();
+ public static native String escape(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/qtjava/javalib/org/kde/qt/QRegExpValidator.java b/qtjava/javalib/org/kde/qt/QRegExpValidator.java
new file mode 100644
index 00000000..20ede895
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QRegExpValidator.java
@@ -0,0 +1,41 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QRegExpValidator extends QValidator {
+ protected QRegExpValidator(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QRegExpValidator(QObject parent, String name) {
+ super((Class) null);
+ newQRegExpValidator(parent,name);
+ }
+ private native void newQRegExpValidator(QObject parent, String name);
+ public QRegExpValidator(QObject parent) {
+ super((Class) null);
+ newQRegExpValidator(parent);
+ }
+ private native void newQRegExpValidator(QObject parent);
+ public QRegExpValidator(QRegExp rx, QObject parent, String name) {
+ super((Class) null);
+ newQRegExpValidator(rx,parent,name);
+ }
+ private native void newQRegExpValidator(QRegExp rx, QObject parent, String name);
+ public QRegExpValidator(QRegExp rx, QObject parent) {
+ super((Class) null);
+ newQRegExpValidator(rx,parent);
+ }
+ private native void newQRegExpValidator(QRegExp rx, QObject parent);
+ public native int validate(StringBuffer input, int[] pos);
+ public native void setRegExp(QRegExp rx);
+ public native QRegExp regExp();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QRegion.java b/qtjava/javalib/org/kde/qt/QRegion.java
new file mode 100644
index 00000000..85ff09e7
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QRegion.java
@@ -0,0 +1,81 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QRegion implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QRegion(Class dummy){}
+
+ public static final int Rectangle = 0;
+ public static final int Ellipse = 1;
+
+ public QRegion() {
+ newQRegion();
+ }
+ private native void newQRegion();
+ public QRegion(int x, int y, int w, int h, int arg5) {
+ newQRegion(x,y,w,h,arg5);
+ }
+ private native void newQRegion(int x, int y, int w, int h, int arg5);
+ public QRegion(int x, int y, int w, int h) {
+ newQRegion(x,y,w,h);
+ }
+ private native void newQRegion(int x, int y, int w, int h);
+ public QRegion(QRect arg1, int arg2) {
+ newQRegion(arg1,arg2);
+ }
+ private native void newQRegion(QRect arg1, int arg2);
+ public QRegion(QRect arg1) {
+ newQRegion(arg1);
+ }
+ private native void newQRegion(QRect arg1);
+ public QRegion(QPointArray arg1, boolean winding) {
+ newQRegion(arg1,winding);
+ }
+ private native void newQRegion(QPointArray arg1, boolean winding);
+ public QRegion(QPointArray arg1) {
+ newQRegion(arg1);
+ }
+ private native void newQRegion(QPointArray arg1);
+ public QRegion(QRegion arg1) {
+ newQRegion(arg1);
+ }
+ private native void newQRegion(QRegion arg1);
+ public QRegion(QBitmap arg1) {
+ newQRegion(arg1);
+ }
+ private native void newQRegion(QBitmap arg1);
+ public native boolean isNull();
+ public native boolean isEmpty();
+ public native boolean contains(QPoint p);
+ public native boolean contains(QRect r);
+ public native void translate(int dx, int dy);
+ public native QRegion unite(QRegion arg1);
+ public native QRegion intersect(QRegion arg1);
+ public native QRegion subtract(QRegion arg1);
+ public native QRegion eor(QRegion arg1);
+ public native QRect boundingRect();
+ public native ArrayList rects();
+ public native void setRects(QRect arg1, int arg2);
+ public native QRegion op_or(QRegion arg1);
+ public native QRegion op_plus(QRegion arg1);
+ public native QRegion op_and(QRegion arg1);
+ public native QRegion op_minus(QRegion arg1);
+ public native QRegion op_xor(QRegion arg1);
+ public native QRegion op_or_assign(QRegion arg1);
+ public native QRegion op_plus_assign(QRegion arg1);
+ public native QRegion op_and_assign(QRegion arg1);
+ public native QRegion op_minus_assign(QRegion arg1);
+ public native QRegion op_xor_assign(QRegion arg1);
+ public native boolean op_equals(QRegion arg1);
+ public native boolean op_not_equals(QRegion r);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QResizeEvent.java b/qtjava/javalib/org/kde/qt/QResizeEvent.java
new file mode 100644
index 00000000..3f975aa4
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QResizeEvent.java
@@ -0,0 +1,21 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QResizeEvent extends QEvent {
+ protected QResizeEvent(Class dummy){super((Class) null);}
+ public QResizeEvent(QSize size, QSize oldSize) {
+ super((Class) null);
+ newQResizeEvent(size,oldSize);
+ }
+ private native void newQResizeEvent(QSize size, QSize oldSize);
+ public native QSize size();
+ public native QSize oldSize();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QScrollBar.java b/qtjava/javalib/org/kde/qt/QScrollBar.java
new file mode 100644
index 00000000..8fe5348a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QScrollBar.java
@@ -0,0 +1,97 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QScrollBarSignals} for signals emitted by QScrollBar
+*/
+public class QScrollBar extends QWidget implements QRangeControlInterface {
+ protected QScrollBar(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QScrollBar(QWidget parent, String name) {
+ super((Class) null);
+ newQScrollBar(parent,name);
+ }
+ private native void newQScrollBar(QWidget parent, String name);
+ public QScrollBar(QWidget parent) {
+ super((Class) null);
+ newQScrollBar(parent);
+ }
+ private native void newQScrollBar(QWidget parent);
+ public QScrollBar(int arg1, QWidget parent, String name) {
+ super((Class) null);
+ newQScrollBar(arg1,parent,name);
+ }
+ private native void newQScrollBar(int arg1, QWidget parent, String name);
+ public QScrollBar(int arg1, QWidget parent) {
+ super((Class) null);
+ newQScrollBar(arg1,parent);
+ }
+ private native void newQScrollBar(int arg1, QWidget parent);
+ public QScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, QWidget parent, String name) {
+ super((Class) null);
+ newQScrollBar(minValue,maxValue,lineStep,pageStep,value,arg6,parent,name);
+ }
+ private native void newQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, QWidget parent, String name);
+ public QScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, QWidget parent) {
+ super((Class) null);
+ newQScrollBar(minValue,maxValue,lineStep,pageStep,value,arg6,parent);
+ }
+ private native void newQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, QWidget parent);
+ public native void setOrientation(int arg1);
+ public native int orientation();
+ public native void setTracking(boolean enable);
+ public native boolean tracking();
+ public native boolean draggingSlider();
+ public native void setPalette(QPalette arg1);
+ public native QSize sizeHint();
+ public native void setSizePolicy(QSizePolicy sp);
+ public native void setSizePolicy(int hor, int ver, boolean hfw);
+ public native void setSizePolicy(int hor, int ver);
+ public native int minValue();
+ public native int maxValue();
+ public native void setMinValue(int arg1);
+ public native void setMaxValue(int arg1);
+ public native int lineStep();
+ public native int pageStep();
+ public native void setLineStep(int arg1);
+ public native void setPageStep(int arg1);
+ public native int value();
+ public native int sliderStart();
+ public native QRect sliderRect();
+ public native void setValue(int arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void wheelEvent(QWheelEvent arg1);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ protected native void contextMenuEvent(QContextMenuEvent arg1);
+ protected native void hideEvent(QHideEvent arg1);
+ protected native void valueChange();
+ protected native void stepChange();
+ protected native void rangeChange();
+ public native void styleChange(QStyle 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 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();
+}
diff --git a/qtjava/javalib/org/kde/qt/QScrollBarSignals.java b/qtjava/javalib/org/kde/qt/QScrollBarSignals.java
new file mode 100644
index 00000000..bbfe4874
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QScrollBarSignals.java
@@ -0,0 +1,14 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QScrollBarSignals {
+ void valueChanged(int value);
+ void sliderPressed();
+ void sliderMoved(int value);
+ void sliderReleased();
+ void nextLine();
+ void prevLine();
+ void nextPage();
+ void prevPage();
+}
diff --git a/qtjava/javalib/org/kde/qt/QScrollView.java b/qtjava/javalib/org/kde/qt/QScrollView.java
new file mode 100644
index 00000000..187c8ecd
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QScrollView.java
@@ -0,0 +1,160 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QScrollViewSignals} for signals emitted by QScrollView
+*/
+public class QScrollView extends QFrame {
+ protected QScrollView(Class dummy){super((Class) null);}
+ public static final int Default = 0;
+ public static final int Manual = 1;
+ public static final int AutoOne = 2;
+ public static final int AutoOneFit = 3;
+
+ public static final int Auto = 0;
+ public static final int AlwaysOff = 1;
+ public static final int AlwaysOn = 2;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QScrollView(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQScrollView(parent,name,f);
+ }
+ private native void newQScrollView(QWidget parent, String name, int f);
+ public QScrollView(QWidget parent, String name) {
+ super((Class) null);
+ newQScrollView(parent,name);
+ }
+ private native void newQScrollView(QWidget parent, String name);
+ public QScrollView(QWidget parent) {
+ super((Class) null);
+ newQScrollView(parent);
+ }
+ private native void newQScrollView(QWidget parent);
+ public QScrollView() {
+ super((Class) null);
+ newQScrollView();
+ }
+ private native void newQScrollView();
+ public native void setResizePolicy(int arg1);
+ public native int resizePolicy();
+ public native void styleChange(QStyle arg1);
+ public native void removeChild(QWidget child);
+ public native void addChild(QWidget child, int x, int y);
+ public native void addChild(QWidget child, int x);
+ public native void addChild(QWidget child);
+ public native void moveChild(QWidget child, int x, int y);
+ public native int childX(QWidget child);
+ public native int childY(QWidget child);
+ public native boolean childIsVisible(QWidget child);
+ public native void showChild(QWidget child, boolean yes);
+ public native void showChild(QWidget child);
+ public native int vScrollBarMode();
+ public native void setVScrollBarMode(int arg1);
+ public native int hScrollBarMode();
+ public native void setHScrollBarMode(int arg1);
+ public native QWidget cornerWidget();
+ public native void setCornerWidget(QWidget arg1);
+ public native QScrollBar horizontalScrollBar();
+ public native QScrollBar verticalScrollBar();
+ public native QWidget viewport();
+ public native QWidget clipper();
+ public native int visibleWidth();
+ public native int visibleHeight();
+ public native int contentsWidth();
+ public native int contentsHeight();
+ public native int contentsX();
+ public native int contentsY();
+ public native void resize(int w, int h);
+ public native void resize(QSize arg1);
+ public native void show();
+ public native void updateContents(int x, int y, int w, int h);
+ public native void updateContents(QRect r);
+ public native void updateContents();
+ public native void repaintContents(int x, int y, int w, int h, boolean erase);
+ public native void repaintContents(int x, int y, int w, int h);
+ public native void repaintContents(QRect r, boolean erase);
+ public native void repaintContents(QRect r);
+ public native void repaintContents(boolean erase);
+ public native void repaintContents();
+ public native void contentsToViewport(int x, int y, int[] vx, int[] vy);
+ public native void viewportToContents(int vx, int vy, int[] x, int[] y);
+ public native QPoint contentsToViewport(QPoint arg1);
+ public native QPoint viewportToContents(QPoint arg1);
+ public native void enableClipper(boolean y);
+ public native void setStaticBackground(boolean y);
+ public native boolean hasStaticBackground();
+ public native QSize viewportSize(int arg1, int arg2);
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native void removeChild(QObject child);
+ public native boolean isHorizontalSliderPressed();
+ public native boolean isVerticalSliderPressed();
+ public native void setDragAutoScroll(boolean b);
+ public native boolean dragAutoScroll();
+ public native void disableSizeHintCaching();
+ public native void resizeContents(int w, int h);
+ public native void scrollBy(int dx, int dy);
+ public native void setContentsPos(int x, int y);
+ public native void ensureVisible(int x, int y);
+ public native void ensureVisible(int x, int y, int xmargin, int ymargin);
+ public native void center(int x, int y);
+ public native void center(int x, int y, float xmargin, float ymargin);
+ public native void updateScrollBars();
+ public native void setEnabled(boolean enable);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawContents(QPainter arg1, int cx, int cy, int cw, int ch);
+ protected native void drawContentsOffset(QPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch);
+ protected native void contentsMousePressEvent(QMouseEvent arg1);
+ protected native void contentsMouseReleaseEvent(QMouseEvent arg1);
+ protected native void contentsMouseDoubleClickEvent(QMouseEvent arg1);
+ protected native void contentsMouseMoveEvent(QMouseEvent arg1);
+ protected native void contentsDragEnterEvent(QDragEnterEvent arg1);
+ protected native void contentsDragMoveEvent(QDragMoveEvent arg1);
+ protected native void contentsDragLeaveEvent(QDragLeaveEvent arg1);
+ protected native void contentsDropEvent(QDropEvent arg1);
+ protected native void contentsWheelEvent(QWheelEvent arg1);
+ protected native void contentsContextMenuEvent(QContextMenuEvent arg1);
+ protected native void viewportPaintEvent(QPaintEvent arg1);
+ protected native void viewportResizeEvent(QResizeEvent arg1);
+ protected native void viewportMousePressEvent(QMouseEvent arg1);
+ protected native void viewportMouseReleaseEvent(QMouseEvent arg1);
+ protected native void viewportMouseDoubleClickEvent(QMouseEvent arg1);
+ protected native void viewportMouseMoveEvent(QMouseEvent arg1);
+ protected native void viewportDragEnterEvent(QDragEnterEvent arg1);
+ protected native void viewportDragMoveEvent(QDragMoveEvent arg1);
+ protected native void viewportDragLeaveEvent(QDragLeaveEvent arg1);
+ protected native void viewportDropEvent(QDropEvent arg1);
+ protected native void viewportWheelEvent(QWheelEvent arg1);
+ protected native void viewportContextMenuEvent(QContextMenuEvent arg1);
+ protected native void frameChanged();
+ protected native void setMargins(int left, int top, int right, int bottom);
+ protected native int leftMargin();
+ protected native int topMargin();
+ protected native int rightMargin();
+ protected native int bottomMargin();
+ protected native boolean focusNextPrevChild(boolean next);
+ protected native void setHBarGeometry(QScrollBar hbar, int x, int y, int w, int h);
+ protected native void setVBarGeometry(QScrollBar vbar, int x, int y, int w, int h);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void mouseDoubleClickEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ protected native void wheelEvent(QWheelEvent arg1);
+ protected native void contextMenuEvent(QContextMenuEvent arg1);
+ public native boolean eventFilter(QObject arg1, QEvent e);
+ protected native void setCachedSizeHint(QSize sh);
+ protected native QSize cachedSizeHint();
+ protected native void fontChange(QFont 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/qtjava/javalib/org/kde/qt/QScrollViewSignals.java b/qtjava/javalib/org/kde/qt/QScrollViewSignals.java
new file mode 100644
index 00000000..a112168f
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QScrollViewSignals.java
@@ -0,0 +1,11 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QScrollViewSignals {
+ void contentsMoving(int x, int y);
+ void horizontalSliderPressed();
+ void horizontalSliderReleased();
+ void verticalSliderPressed();
+ void verticalSliderReleased();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSemiModal.java b/qtjava/javalib/org/kde/qt/QSemiModal.java
new file mode 100644
index 00000000..016e9dfb
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSemiModal.java
@@ -0,0 +1,43 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSemiModal extends QDialog {
+ protected QSemiModal(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QSemiModal(QWidget parent, String name, boolean modal, int f) {
+ super((Class) null);
+ newQSemiModal(parent,name,modal,f);
+ }
+ private native void newQSemiModal(QWidget parent, String name, boolean modal, int f);
+ public QSemiModal(QWidget parent, String name, boolean modal) {
+ super((Class) null);
+ newQSemiModal(parent,name,modal);
+ }
+ private native void newQSemiModal(QWidget parent, String name, boolean modal);
+ public QSemiModal(QWidget parent, String name) {
+ super((Class) null);
+ newQSemiModal(parent,name);
+ }
+ private native void newQSemiModal(QWidget parent, String name);
+ public QSemiModal(QWidget parent) {
+ super((Class) null);
+ newQSemiModal(parent);
+ }
+ private native void newQSemiModal(QWidget parent);
+ public QSemiModal() {
+ super((Class) null);
+ newQSemiModal();
+ }
+ private native void newQSemiModal();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QServerSocket.java b/qtjava/javalib/org/kde/qt/QServerSocket.java
new file mode 100644
index 00000000..f38265c2
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QServerSocket.java
@@ -0,0 +1,18 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QServerSocket extends QObject {
+ protected QServerSocket(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public native boolean ok();
+ public native short port();
+ public native int socket();
+ public native void setSocket(int socket);
+ public native QHostAddress address();
+ public native void newConnection(int socket);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QSessionManager.java b/qtjava/javalib/org/kde/qt/QSessionManager.java
new file mode 100644
index 00000000..7a3a779a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSessionManager.java
@@ -0,0 +1,34 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QSessionManager extends QObject {
+ protected QSessionManager(Class dummy){super((Class) null);}
+ public static final int RestartIfRunning = 0;
+ public static final int RestartAnyway = 1;
+ public static final int RestartImmediately = 2;
+ public static final int RestartNever = 3;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public native String sessionId();
+ public native String sessionKey();
+ public native boolean allowsInteraction();
+ public native boolean allowsErrorInteraction();
+ public native void release();
+ public native void cancel();
+ public native void setRestartHint(int arg1);
+ public native int restartHint();
+ public native void setRestartCommand(String[] arg1);
+ public native ArrayList restartCommand();
+ public native void setDiscardCommand(String[] arg1);
+ public native ArrayList discardCommand();
+ public native void setManagerProperty(String name, String value);
+ public native void setManagerProperty(String name, String[] value);
+ public native boolean isPhase2();
+ public native void requestPhase2();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QSettings.java b/qtjava/javalib/org/kde/qt/QSettings.java
new file mode 100644
index 00000000..71627666
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSettings.java
@@ -0,0 +1,70 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QSettings implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QSettings(Class dummy){}
+
+ public static final int Native = 0;
+ public static final int Ini = 1;
+
+ public static final int Unix = 0;
+ public static final int Windows = 1;
+ public static final int Mac = 2;
+
+ public static final int User = 0;
+ public static final int Global = 1;
+
+ public QSettings() {
+ newQSettings();
+ }
+ private native void newQSettings();
+ public QSettings(int format) {
+ newQSettings(format);
+ }
+ private native void newQSettings(int format);
+ public native boolean writeEntry(String arg1, boolean arg2);
+ public native boolean writeEntry(String arg1, double arg2);
+ public native boolean writeEntry(String arg1, int arg2);
+ public native boolean writeEntry(String arg1, String arg2);
+ public native boolean writeEntry(String arg1, String[] arg2);
+ public native boolean writeEntry(String arg1, String[] arg2, char sep);
+ public native ArrayList entryList(String arg1);
+ public native ArrayList subkeyList(String arg1);
+ public native ArrayList readListEntry(String arg1, boolean[] arg2);
+ public native ArrayList readListEntry(String arg1);
+ public native ArrayList readListEntry(String arg1, char sep, boolean[] arg3);
+ public native ArrayList readListEntry(String arg1, char sep);
+ public native String readEntry(String arg1, String def, boolean[] arg3);
+ public native String readEntry(String arg1, String def);
+ public native String readEntry(String arg1);
+ public native int readNumEntry(String arg1, int def, boolean[] arg3);
+ public native int readNumEntry(String arg1, int def);
+ public native int readNumEntry(String arg1);
+ public native double readDoubleEntry(String arg1, double def, boolean[] arg3);
+ public native double readDoubleEntry(String arg1, double def);
+ public native double readDoubleEntry(String arg1);
+ public native boolean readBoolEntry(String arg1, boolean def, boolean[] arg3);
+ public native boolean readBoolEntry(String arg1, boolean def);
+ public native boolean readBoolEntry(String arg1);
+ public native boolean removeEntry(String arg1);
+ public native void insertSearchPath(int arg1, String arg2);
+ public native void removeSearchPath(int arg1, String arg2);
+ public native void setPath(String domain, String product, int arg3);
+ public native void setPath(String domain, String product);
+ public native void beginGroup(String group);
+ public native void endGroup();
+ public native void resetGroup();
+ public native String group();
+ public native boolean 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/qtjava/javalib/org/kde/qt/QShowEvent.java b/qtjava/javalib/org/kde/qt/QShowEvent.java
new file mode 100644
index 00000000..849c9502
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QShowEvent.java
@@ -0,0 +1,19 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QShowEvent extends QEvent {
+ protected QShowEvent(Class dummy){super((Class) null);}
+ public QShowEvent() {
+ super((Class) null);
+ newQShowEvent();
+ }
+ private native void newQShowEvent();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSignal.java b/qtjava/javalib/org/kde/qt/QSignal.java
new file mode 100644
index 00000000..a920cc6e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSignal.java
@@ -0,0 +1,83 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+*************************************************
+ $Id$
+
+* Definition of QSignal class
+
+* Created : 941201
+
+* Copyright (C) 1992-2005 Trolltech AS. All rights reserved.
+
+* This file is part of the kernel module of the Qt GUI Toolkit.
+
+* This file may be distributed under the terms of the Q Public License
+ as defined by Trolltech AS of Norway and appearing in the file
+ LICENSE.QPL included in the packaging of this file.
+
+* This file may be distributed and/or modified under the terms of the
+ GNU General Public License version 2 as published by the Free Software
+ Foundation and appearing in the file LICENSE.GPL included in the
+ packaging of this file.
+
+* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
+ licenses may use this file in accordance with the Qt Commercial License
+ Agreement provided with the Software.
+
+* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
+ information about Qt Commercial License Agreements.
+ See http://www.trolltech.com/qpl/ for QPL licensing information.
+ See http://www.trolltech.com/gpl/ for GPL licensing information.
+
+* Contact info@trolltech.com if any conditions of this licensing are
+ not clear to you.
+
+********************************************** See {@link QSignalSignals} for signals emitted by QSignal
+ @short $Id: qt/qsignal.
+
+*/
+public class QSignal extends QObject {
+ protected QSignal(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QSignal(QObject parent, String name) {
+ super((Class) null);
+ newQSignal(parent,name);
+ }
+ private native void newQSignal(QObject parent, String name);
+ public QSignal(QObject parent) {
+ super((Class) null);
+ newQSignal(parent);
+ }
+ private native void newQSignal(QObject parent);
+ public QSignal() {
+ super((Class) null);
+ newQSignal();
+ }
+ private native void newQSignal();
+ public native boolean connect(QObject receiver, String member);
+ public native boolean disconnect(QObject receiver, String member);
+ public native boolean disconnect(QObject receiver);
+ public native void activate();
+ public native boolean isBlocked();
+ public native void block(boolean b);
+ public native void setParameter(int value);
+ public native int parameter();
+ public native void setValue(QVariant value);
+ public native QVariant value();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QSignalMapper.java b/qtjava/javalib/org/kde/qt/QSignalMapper.java
new file mode 100644
index 00000000..ddc77bb9
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSignalMapper.java
@@ -0,0 +1,35 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QSignalMapperSignals} for signals emitted by QSignalMapper
+*/
+public class QSignalMapper extends QObject {
+ protected QSignalMapper(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QSignalMapper(QObject parent, String name) {
+ super((Class) null);
+ newQSignalMapper(parent,name);
+ }
+ private native void newQSignalMapper(QObject parent, String name);
+ public QSignalMapper(QObject parent) {
+ super((Class) null);
+ newQSignalMapper(parent);
+ }
+ private native void newQSignalMapper(QObject parent);
+ public native void setMapping(QObject sender, int identifier);
+ public native void setMapping(QObject sender, String identifier);
+ public native void removeMappings(QObject sender);
+ public native void map();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QSignalMapperSignals.java b/qtjava/javalib/org/kde/qt/QSignalMapperSignals.java
new file mode 100644
index 00000000..7b891bb0
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSignalMapperSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QSignalMapperSignals {
+ void mapped(int arg1);
+ void mapped(String arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QSignalSignals.java b/qtjava/javalib/org/kde/qt/QSignalSignals.java
new file mode 100644
index 00000000..cc9e9604
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSignalSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QSignalSignals {
+ void signal(QVariant arg1);
+ void intSignal(int arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QSimpleRichText.java b/qtjava/javalib/org/kde/qt/QSimpleRichText.java
new file mode 100644
index 00000000..f78a785d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSimpleRichText.java
@@ -0,0 +1,59 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSimpleRichText implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QSimpleRichText(Class dummy){}
+
+ public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet) {
+ newQSimpleRichText(text,fnt,context,sheet);
+ }
+ private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet);
+ public QSimpleRichText(String text, QFont fnt, String context) {
+ newQSimpleRichText(text,fnt,context);
+ }
+ private native void newQSimpleRichText(String text, QFont fnt, String context);
+ public QSimpleRichText(String text, QFont fnt) {
+ newQSimpleRichText(text,fnt);
+ }
+ private native void newQSimpleRichText(String text, QFont fnt);
+ public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor, boolean linkUnderline) {
+ newQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor,linkUnderline);
+ }
+ private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor, boolean linkUnderline);
+ public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor) {
+ newQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor);
+ }
+ private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor);
+ public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak) {
+ newQSimpleRichText(text,fnt,context,sheet,factory,pageBreak);
+ }
+ private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak);
+ public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory) {
+ newQSimpleRichText(text,fnt,context,sheet,factory);
+ }
+ private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory);
+ public native void setWidth(int arg1);
+ public native void setWidth(QPainter arg1, int arg2);
+ public native void setDefaultFont(QFont f);
+ public native int width();
+ public native int widthUsed();
+ public native int height();
+ public native void adjustSize();
+ public native void draw(QPainter p, int x, int y, QRect clipRect, QColorGroup cg, QBrush paper);
+ public native void draw(QPainter p, int x, int y, QRect clipRect, QColorGroup cg);
+ public native void draw(QPainter p, int x, int y, QRegion clipRegion, QColorGroup cg, QBrush paper);
+ public native void draw(QPainter p, int x, int y, QRegion clipRegion, QColorGroup cg);
+ public native String context();
+ public native String anchorAt(QPoint pos);
+ public native boolean inText(QPoint 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/qtjava/javalib/org/kde/qt/QSize.java b/qtjava/javalib/org/kde/qt/QSize.java
new file mode 100644
index 00000000..afd94a1d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSize.java
@@ -0,0 +1,49 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSize implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QSize(Class dummy){}
+
+ public static final int ScaleFree = 0;
+ public static final int ScaleMin = 1;
+ public static final int ScaleMax = 2;
+
+ public QSize() {
+ newQSize();
+ }
+ private native void newQSize();
+ public QSize(int w, int h) {
+ newQSize(w,h);
+ }
+ private native void newQSize(int w, int h);
+ public native boolean isNull();
+ public native boolean isEmpty();
+ public native boolean isValid();
+ public native int width();
+ public native int height();
+ public native void setWidth(int w);
+ public native void setHeight(int h);
+ public native void transpose();
+ public native void scale(int w, int h, int mode);
+ public native void scale(QSize s, int mode);
+ public native QSize expandedTo(QSize arg1);
+ public native QSize boundedTo(QSize arg1);
+ public native short rwidth();
+ public native short rheight();
+ public native QSize op_plus_assign(QSize arg1);
+ public native QSize op_minus_assign(QSize arg1);
+ public native QSize op_mult_assign(int c);
+ public native QSize op_mult_assign(double c);
+ public native QSize op_div_assign(int c);
+ public native QSize op_div_assign(double 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/qtjava/javalib/org/kde/qt/QSizeGrip.java b/qtjava/javalib/org/kde/qt/QSizeGrip.java
new file mode 100644
index 00000000..97671480
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSizeGrip.java
@@ -0,0 +1,33 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSizeGrip extends QWidget {
+ protected QSizeGrip(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QSizeGrip(QWidget parent, String name) {
+ super((Class) null);
+ newQSizeGrip(parent,name);
+ }
+ private native void newQSizeGrip(QWidget parent, String name);
+ public QSizeGrip(QWidget parent) {
+ super((Class) null);
+ newQSizeGrip(parent);
+ }
+ private native void newQSizeGrip(QWidget parent);
+ public native QSize sizeHint();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ public native boolean eventFilter(QObject arg1, QEvent 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/qtjava/javalib/org/kde/qt/QSizePolicy.java b/qtjava/javalib/org/kde/qt/QSizePolicy.java
new file mode 100644
index 00000000..d529129e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSizePolicy.java
@@ -0,0 +1,77 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSizePolicy implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QSizePolicy(Class dummy){}
+
+ public static final int HSize = 6;
+ public static final int HMask = 0x3f;
+ public static final int VMask = HMask<<HSize;
+ public static final int MayGrow = 1;
+ public static final int ExpMask = 2;
+ public static final int MayShrink = 4;
+
+ public static final int Fixed = 0;
+ public static final int Minimum = MayGrow;
+ public static final int Maximum = MayShrink;
+ public static final int Preferred = MayGrow|MayShrink;
+ public static final int MinimumExpanding = MayGrow|ExpMask;
+ public static final int Expanding = MayGrow|MayShrink|ExpMask;
+ public static final int Ignored = ExpMask;
+
+ public static final int NoDirection = 0;
+ public static final int Horizontally = 1;
+ public static final int Vertically = 2;
+ public static final int Horizontal = Horizontally;
+ public static final int Vertical = Vertically;
+ public static final int BothDirections = Horizontally|Vertically;
+
+ public QSizePolicy() {
+ newQSizePolicy();
+ }
+ private native void newQSizePolicy();
+ public QSizePolicy(int hor, int ver, boolean hfw) {
+ newQSizePolicy(hor,ver,hfw);
+ }
+ private native void newQSizePolicy(int hor, int ver, boolean hfw);
+ public QSizePolicy(int hor, int ver) {
+ newQSizePolicy(hor,ver);
+ }
+ private native void newQSizePolicy(int hor, int ver);
+ public QSizePolicy(int hor, int ver, short hors, short vers, boolean hfw) {
+ newQSizePolicy(hor,ver,hors,vers,hfw);
+ }
+ private native void newQSizePolicy(int hor, int ver, short hors, short vers, boolean hfw);
+ public QSizePolicy(int hor, int ver, short hors, short vers) {
+ newQSizePolicy(hor,ver,hors,vers);
+ }
+ private native void newQSizePolicy(int hor, int ver, short hors, short vers);
+ public native int horData();
+ public native int verData();
+ public native boolean mayShrinkHorizontally();
+ public native boolean mayShrinkVertically();
+ public native boolean mayGrowHorizontally();
+ public native boolean mayGrowVertically();
+ public native int expanding();
+ public native void setHorData(int d);
+ public native void setVerData(int d);
+ public native void setHeightForWidth(boolean b);
+ public native boolean hasHeightForWidth();
+ public native boolean op_equals(QSizePolicy s);
+ public native boolean op_not_equals(QSizePolicy s);
+ public native int horStretch();
+ public native int verStretch();
+ public native void setHorStretch(short sf);
+ public native void setVerStretch(short sf);
+ public native void transpose();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSjisCodec.java b/qtjava/javalib/org/kde/qt/QSjisCodec.java
new file mode 100644
index 00000000..6362c0a1
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSjisCodec.java
@@ -0,0 +1,27 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSjisCodec extends QTextCodec {
+ protected QSjisCodec(Class dummy){super((Class) null);}
+ public native int mibEnum();
+ public native String name();
+ public native String mimeName();
+ public native QTextDecoder makeDecoder();
+ public native String fromUnicode(String uc, int[] lenInOut);
+ public native String toUnicode(String chars, int len);
+ public native int heuristicContentMatch(String chars, int len);
+ public native int heuristicNameMatch(String hint);
+ public QSjisCodec() {
+ super((Class) null);
+ newQSjisCodec();
+ }
+ private native void newQSjisCodec();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSlider.java b/qtjava/javalib/org/kde/qt/QSlider.java
new file mode 100644
index 00000000..7ea764c4
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSlider.java
@@ -0,0 +1,111 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QSliderSignals} for signals emitted by QSlider
+*/
+public class QSlider extends QWidget implements QRangeControlInterface {
+ protected QSlider(Class dummy){super((Class) null);}
+ public static final int NoMarks = 0;
+ public static final int Above = 1;
+ public static final int Left = Above;
+ public static final int Below = 2;
+ public static final int Right = Below;
+ public static final int Both = 3;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QSlider(QWidget parent, String name) {
+ super((Class) null);
+ newQSlider(parent,name);
+ }
+ private native void newQSlider(QWidget parent, String name);
+ public QSlider(QWidget parent) {
+ super((Class) null);
+ newQSlider(parent);
+ }
+ private native void newQSlider(QWidget parent);
+ public QSlider(int arg1, QWidget parent, String name) {
+ super((Class) null);
+ newQSlider(arg1,parent,name);
+ }
+ private native void newQSlider(int arg1, QWidget parent, String name);
+ public QSlider(int arg1, QWidget parent) {
+ super((Class) null);
+ newQSlider(arg1,parent);
+ }
+ private native void newQSlider(int arg1, QWidget parent);
+ public QSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent, String name) {
+ super((Class) null);
+ newQSlider(minValue,maxValue,pageStep,value,arg5,parent,name);
+ }
+ private native void newQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent, String name);
+ public QSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent) {
+ super((Class) null);
+ newQSlider(minValue,maxValue,pageStep,value,arg5,parent);
+ }
+ private native void newQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent);
+ public native void setOrientation(int arg1);
+ public native int orientation();
+ public native void setTracking(boolean enable);
+ public native boolean tracking();
+ public native void setPalette(QPalette arg1);
+ public native int sliderStart();
+ public native QRect sliderRect();
+ public native QSize sizeHint();
+ public native void setSizePolicy(QSizePolicy sp);
+ public native void setSizePolicy(int hor, int ver, boolean hfw);
+ public native void setSizePolicy(int hor, int ver);
+ public native QSizePolicy sizePolicy();
+ public native QSize minimumSizeHint();
+ public native void setTickmarks(int arg1);
+ public native int tickmarks();
+ public native void setTickInterval(int arg1);
+ public native int tickInterval();
+ public native int minValue();
+ public native int maxValue();
+ public native void setMinValue(int arg1);
+ public native void setMaxValue(int arg1);
+ public native int lineStep();
+ public native int pageStep();
+ public native void setLineStep(int arg1);
+ public native void setPageStep(int arg1);
+ public native int value();
+ public native void setValue(int arg1);
+ public native void addStep();
+ public native void subtractStep();
+ public native void addLine();
+ public native void subtractLine();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ protected native void wheelEvent(QWheelEvent arg1);
+ protected native void focusInEvent(QFocusEvent e);
+ protected native void focusOutEvent(QFocusEvent e);
+ public native void styleChange(QStyle arg1);
+ protected native void valueChange();
+ protected native void rangeChange();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws 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 setRange(int minValue, int maxValue);
+ 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 stepChange();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSliderSignals.java b/qtjava/javalib/org/kde/qt/QSliderSignals.java
new file mode 100644
index 00000000..9d885c5b
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSliderSignals.java
@@ -0,0 +1,10 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QSliderSignals {
+ void valueChanged(int value);
+ void sliderPressed();
+ void sliderMoved(int value);
+ void sliderReleased();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSocket.java b/qtjava/javalib/org/kde/qt/QSocket.java
new file mode 100644
index 00000000..36967507
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSocket.java
@@ -0,0 +1,108 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QSocketSignals} for signals emitted by QSocket
+*/
+public class QSocket extends QObject implements QIODeviceInterface {
+ protected QSocket(Class dummy){super((Class) null);}
+ public static final int ErrConnectionRefused = 0;
+ public static final int ErrHostNotFound = 1;
+ public static final int ErrSocketRead = 2;
+
+ public static final int Idle = 0;
+ public static final int HostLookup = 1;
+ public static final int Connecting = 2;
+ public static final int Connected = 3;
+ public static final int Closing = 4;
+ public static final int Connection = Connected;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QSocket(QObject parent, String name) {
+ super((Class) null);
+ newQSocket(parent,name);
+ }
+ private native void newQSocket(QObject parent, String name);
+ public QSocket(QObject parent) {
+ super((Class) null);
+ newQSocket(parent);
+ }
+ private native void newQSocket(QObject parent);
+ public QSocket() {
+ super((Class) null);
+ newQSocket();
+ }
+ private native void newQSocket();
+ public native int state();
+ public native int socket();
+ public native void setSocket(int arg1);
+ public native QSocketDevice socketDevice();
+ public native void setSocketDevice(QSocketDevice arg1);
+ public native void connectToHost(String host, short port);
+ public native String peerName();
+ 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 long bytesAvailable();
+ public native long waitForMore(int msecs, boolean[] timeout);
+ public native long waitForMore(int msecs);
+ public native long bytesToWrite();
+ public native void clearPendingData();
+ 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 int getch();
+ public native int putch(int arg1);
+ public native int ungetch(int arg1);
+ public native boolean canReadLine();
+ public native String readLine();
+ public native short port();
+ public native short peerPort();
+ public native QHostAddress address();
+ public native QHostAddress peerAddress();
+ public native void setReadBufferSize(long arg1);
+ public native long readBufferSize();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void sn_read(boolean force);
+ protected native void sn_read();
+ protected native void sn_write();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws 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 int flags();
+ public native int mode();
+ 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 reset();
+ public native long writeBlock(byte[] data);
+ public native byte[] readAll();
+ protected native void setFlags(int f);
+ protected native void setType(int arg1);
+ protected native void setMode(int arg1);
+ public native void setState(int arg1);
+ public native void setStatus(int arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QSocketDevice.java b/qtjava/javalib/org/kde/qt/QSocketDevice.java
new file mode 100644
index 00000000..c3e97910
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSocketDevice.java
@@ -0,0 +1,92 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSocketDevice extends QIODevice {
+ protected QSocketDevice(Class dummy){super((Class) null);}
+ public static final int Stream = 0;
+ public static final int Datagram = 1;
+
+ public static final int IPv4 = 0;
+ public static final int IPv6 = 1;
+ public static final int Unknown = 2;
+
+ public static final int NoError = 0;
+ public static final int AlreadyBound = 1;
+ public static final int Inaccessible = 2;
+ public static final int NoResources = 3;
+ public static final int InternalError = 4;
+ public static final int Bug = InternalError;
+ public static final int Impossible = 5;
+ public static final int NoFiles = 6;
+ public static final int ConnectionRefused = 7;
+ public static final int NetworkFailure = 8;
+ public static final int UnknownError = 9;
+
+ public QSocketDevice(int type) {
+ super((Class) null);
+ newQSocketDevice(type);
+ }
+ private native void newQSocketDevice(int type);
+ public QSocketDevice() {
+ super((Class) null);
+ newQSocketDevice();
+ }
+ private native void newQSocketDevice();
+ public QSocketDevice(int type, int protocol, int dummy) {
+ super((Class) null);
+ newQSocketDevice(type,protocol,dummy);
+ }
+ private native void newQSocketDevice(int type, int protocol, int dummy);
+ public QSocketDevice(int socket, int type) {
+ super((Class) null);
+ newQSocketDevice(socket,type);
+ }
+ private native void newQSocketDevice(int socket, int type);
+ public native boolean isValid();
+ public native int type();
+ public native int protocol();
+ public native int socket();
+ public native void setSocket(int socket, int type);
+ 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 blocking();
+ public native void setBlocking(boolean arg1);
+ public native boolean addressReusable();
+ public native void setAddressReusable(boolean arg1);
+ public native int receiveBufferSize();
+ public native void setReceiveBufferSize(int arg1);
+ public native int sendBufferSize();
+ public native void setSendBufferSize(int arg1);
+ public native boolean connect(QHostAddress arg1, short arg2);
+ public native boolean bind(QHostAddress arg1, short arg2);
+ public native boolean listen(int backlog);
+ public native int accept();
+ public native long bytesAvailable();
+ public native long waitForMore(int msecs, boolean[] timeout);
+ public native long waitForMore(int msecs);
+ public native long readBlock(StringBuffer data, long maxlen);
+ public native long writeBlock(String data, long len);
+ public native long writeBlock(String data, long len, QHostAddress host, short port);
+ public native int getch();
+ public native int putch(int arg1);
+ public native int ungetch(int arg1);
+ public native short port();
+ public native short peerPort();
+ public native QHostAddress address();
+ public native QHostAddress peerAddress();
+ public native int error();
+ protected native void setError(int err);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSocketNotifier.java b/qtjava/javalib/org/kde/qt/QSocketNotifier.java
new file mode 100644
index 00000000..bae73507
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSocketNotifier.java
@@ -0,0 +1,82 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+*************************************************
+ $Id$
+
+* Definition of QSocketNotifier class
+
+* Created : 951114
+
+* Copyright (C) 1992-2005 Trolltech AS. All rights reserved.
+
+* This file is part of the kernel module of the Qt GUI Toolkit.
+
+* This file may be distributed under the terms of the Q Public License
+ as defined by Trolltech AS of Norway and appearing in the file
+ LICENSE.QPL included in the packaging of this file.
+
+* This file may be distributed and/or modified under the terms of the
+ GNU General Public License version 2 as published by the Free Software
+ Foundation and appearing in the file LICENSE.GPL included in the
+ packaging of this file.
+
+* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
+ licenses may use this file in accordance with the Qt Commercial License
+ Agreement provided with the Software.
+
+* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
+ information about Qt Commercial License Agreements.
+ See http://www.trolltech.com/qpl/ for QPL licensing information.
+ See http://www.trolltech.com/gpl/ for GPL licensing information.
+
+* Contact info@trolltech.com if any conditions of this licensing are
+ not clear to you.
+
+********************************************** See {@link QSocketNotifierSignals} for signals emitted by QSocketNotifier
+ @short $Id: qt/qsocketnotifier.
+
+*/
+public class QSocketNotifier extends QObject {
+ protected QSocketNotifier(Class dummy){super((Class) null);}
+ public static final int Read = 0;
+ public static final int Write = 1;
+ public static final int Exception = 2;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QSocketNotifier(int socket, int arg2, QObject parent, String name) {
+ super((Class) null);
+ newQSocketNotifier(socket,arg2,parent,name);
+ }
+ private native void newQSocketNotifier(int socket, int arg2, QObject parent, String name);
+ public QSocketNotifier(int socket, int arg2, QObject parent) {
+ super((Class) null);
+ newQSocketNotifier(socket,arg2,parent);
+ }
+ private native void newQSocketNotifier(int socket, int arg2, QObject parent);
+ public QSocketNotifier(int socket, int arg2) {
+ super((Class) null);
+ newQSocketNotifier(socket,arg2);
+ }
+ private native void newQSocketNotifier(int socket, int arg2);
+ public native int socket();
+ public native int type();
+ public native boolean isEnabled();
+ public native void setEnabled(boolean arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public native boolean event(QEvent 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/qtjava/javalib/org/kde/qt/QSocketNotifierSignals.java b/qtjava/javalib/org/kde/qt/QSocketNotifierSignals.java
new file mode 100644
index 00000000..ef6726bc
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSocketNotifierSignals.java
@@ -0,0 +1,7 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QSocketNotifierSignals {
+ void activated(int socket);
+}
diff --git a/qtjava/javalib/org/kde/qt/QSocketSignals.java b/qtjava/javalib/org/kde/qt/QSocketSignals.java
new file mode 100644
index 00000000..48ef4d4b
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSocketSignals.java
@@ -0,0 +1,13 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QSocketSignals {
+ void hostFound();
+ void connected();
+ void connectionClosed();
+ void delayedCloseFinished();
+ void readyRead();
+ void bytesWritten(int nbytes);
+ void error(int arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QSound.java b/qtjava/javalib/org/kde/qt/QSound.java
new file mode 100644
index 00000000..eb436d59
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSound.java
@@ -0,0 +1,43 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSound extends QObject {
+ protected QSound(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QSound(String filename, QObject parent, String name) {
+ super((Class) null);
+ newQSound(filename,parent,name);
+ }
+ private native void newQSound(String filename, QObject parent, String name);
+ public QSound(String filename, QObject parent) {
+ super((Class) null);
+ newQSound(filename,parent);
+ }
+ private native void newQSound(String filename, QObject parent);
+ public QSound(String filename) {
+ super((Class) null);
+ newQSound(filename);
+ }
+ private native void newQSound(String filename);
+ public native int loops();
+ public native int loopsRemaining();
+ public native void setLoops(int arg1);
+ public native String fileName();
+ public native boolean isFinished();
+ public native void play();
+ public native void stop();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native boolean isAvailable();
+ public static native void play(String filename);
+ public static native boolean available();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSpacerItem.java b/qtjava/javalib/org/kde/qt/QSpacerItem.java
new file mode 100644
index 00000000..7bada4a4
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSpacerItem.java
@@ -0,0 +1,40 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSpacerItem extends QLayoutItem {
+ protected QSpacerItem(Class dummy){super((Class) null);}
+ public QSpacerItem(int w, int h, int hData, int vData) {
+ super((Class) null);
+ newQSpacerItem(w,h,hData,vData);
+ }
+ private native void newQSpacerItem(int w, int h, int hData, int vData);
+ public QSpacerItem(int w, int h, int hData) {
+ super((Class) null);
+ newQSpacerItem(w,h,hData);
+ }
+ private native void newQSpacerItem(int w, int h, int hData);
+ public QSpacerItem(int w, int h) {
+ super((Class) null);
+ newQSpacerItem(w,h);
+ }
+ private native void newQSpacerItem(int w, int h);
+ public native void changeSize(int w, int h, int hData, int vData);
+ public native void changeSize(int w, int h, int hData);
+ public native void changeSize(int w, int h);
+ public native QSize sizeHint();
+ public native QSize minimumSize();
+ public native QSize maximumSize();
+ public native int expanding();
+ public native boolean isEmpty();
+ public native void setGeometry(QRect arg1);
+ public native QRect geometry();
+ public native QSpacerItem spacerItem();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSpinBox.java b/qtjava/javalib/org/kde/qt/QSpinBox.java
new file mode 100644
index 00000000..51bd338d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSpinBox.java
@@ -0,0 +1,116 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QSpinBoxSignals} for signals emitted by QSpinBox
+*/
+public class QSpinBox extends QWidget implements QRangeControlInterface {
+ protected QSpinBox(Class dummy){super((Class) null);}
+ public static final int UpDownArrows = 0;
+ public static final int PlusMinus = 1;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QSpinBox(QWidget parent, String name) {
+ super((Class) null);
+ newQSpinBox(parent,name);
+ }
+ private native void newQSpinBox(QWidget parent, String name);
+ public QSpinBox(QWidget parent) {
+ super((Class) null);
+ newQSpinBox(parent);
+ }
+ private native void newQSpinBox(QWidget parent);
+ public QSpinBox() {
+ super((Class) null);
+ newQSpinBox();
+ }
+ private native void newQSpinBox();
+ public QSpinBox(int minValue, int maxValue, int step, QWidget parent, String name) {
+ super((Class) null);
+ newQSpinBox(minValue,maxValue,step,parent,name);
+ }
+ private native void newQSpinBox(int minValue, int maxValue, int step, QWidget parent, String name);
+ public QSpinBox(int minValue, int maxValue, int step, QWidget parent) {
+ super((Class) null);
+ newQSpinBox(minValue,maxValue,step,parent);
+ }
+ private native void newQSpinBox(int minValue, int maxValue, int step, QWidget parent);
+ public QSpinBox(int minValue, int maxValue, int step) {
+ super((Class) null);
+ newQSpinBox(minValue,maxValue,step);
+ }
+ private native void newQSpinBox(int minValue, int maxValue, int step);
+ public QSpinBox(int minValue, int maxValue) {
+ super((Class) null);
+ newQSpinBox(minValue,maxValue);
+ }
+ private native void newQSpinBox(int minValue, int maxValue);
+ public native String text();
+ public native String prefix();
+ public native String suffix();
+ public native String cleanText();
+ public native void setSpecialValueText(String text);
+ public native String specialValueText();
+ public native void setWrapping(boolean on);
+ public native boolean wrapping();
+ public native void setButtonSymbols(int arg1);
+ public native int buttonSymbols();
+ public native void setValidator(QValidator v);
+ public native QValidator validator();
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native int minValue();
+ public native int maxValue();
+ public native void setMinValue(int arg1);
+ public native void setMaxValue(int arg1);
+ public native int lineStep();
+ public native void setLineStep(int arg1);
+ public native int value();
+ public native QRect upRect();
+ public native QRect downRect();
+ public native void setValue(int value);
+ public native void setPrefix(String text);
+ public native void setSuffix(String text);
+ public native void stepUp();
+ public native void stepDown();
+ public native void setEnabled(boolean enabled);
+ public native void selectAll();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native String mapValueToText(int value);
+ protected native int mapTextToValue(boolean[] ok);
+ protected native String currentValueText();
+ protected native void updateDisplay();
+ protected native void interpretText();
+ protected native QLineEdit editor();
+ protected native void valueChange();
+ protected native void rangeChange();
+ public native boolean eventFilter(QObject arg1, QEvent ev);
+ protected native void resizeEvent(QResizeEvent ev);
+ protected native void wheelEvent(QWheelEvent arg1);
+ protected native void leaveEvent(QEvent arg1);
+ public native void styleChange(QStyle arg1);
+ protected native void textChanged();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws 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 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 stepChange();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSpinBoxSignals.java b/qtjava/javalib/org/kde/qt/QSpinBoxSignals.java
new file mode 100644
index 00000000..8e6e7e8a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSpinBoxSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QSpinBoxSignals {
+ void valueChanged(int value);
+ void valueChanged(String valueText);
+}
diff --git a/qtjava/javalib/org/kde/qt/QSpinWidget.java b/qtjava/javalib/org/kde/qt/QSpinWidget.java
new file mode 100644
index 00000000..6081df43
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSpinWidget.java
@@ -0,0 +1,61 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QSpinWidgetSignals} for signals emitted by QSpinWidget
+*/
+public class QSpinWidget extends QWidget {
+ protected QSpinWidget(Class dummy){super((Class) null);}
+ public static final int UpDownArrows = 0;
+ public static final int PlusMinus = 1;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QSpinWidget(QWidget parent, String name) {
+ super((Class) null);
+ newQSpinWidget(parent,name);
+ }
+ private native void newQSpinWidget(QWidget parent, String name);
+ public QSpinWidget(QWidget parent) {
+ super((Class) null);
+ newQSpinWidget(parent);
+ }
+ private native void newQSpinWidget(QWidget parent);
+ public QSpinWidget() {
+ super((Class) null);
+ newQSpinWidget();
+ }
+ private native void newQSpinWidget();
+ public native void setEditWidget(QWidget widget);
+ public native QWidget editWidget();
+ public native QRect upRect();
+ public native QRect downRect();
+ public native void setUpEnabled(boolean on);
+ public native void setDownEnabled(boolean on);
+ public native boolean isUpEnabled();
+ public native boolean isDownEnabled();
+ public native void setButtonSymbols(int bs);
+ public native int buttonSymbols();
+ public native void arrange();
+ public native void stepUp();
+ public native void stepDown();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void mousePressEvent(QMouseEvent e);
+ protected native void resizeEvent(QResizeEvent ev);
+ protected native void mouseReleaseEvent(QMouseEvent e);
+ protected native void mouseMoveEvent(QMouseEvent e);
+ protected native void wheelEvent(QWheelEvent arg1);
+ public native void styleChange(QStyle arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void enableChanged(boolean old);
+ protected native void windowActivationChange(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/qtjava/javalib/org/kde/qt/QSpinWidgetSignals.java b/qtjava/javalib/org/kde/qt/QSpinWidgetSignals.java
new file mode 100644
index 00000000..13404a0a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSpinWidgetSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QSpinWidgetSignals {
+ void stepUpPressed();
+ void stepDownPressed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSplashScreen.java b/qtjava/javalib/org/kde/qt/QSplashScreen.java
new file mode 100644
index 00000000..92f3ce0d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSplashScreen.java
@@ -0,0 +1,46 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QSplashScreenSignals} for signals emitted by QSplashScreen
+*/
+public class QSplashScreen extends QWidget {
+ protected QSplashScreen(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QSplashScreen(QPixmap pixmap, int f) {
+ super((Class) null);
+ newQSplashScreen(pixmap,f);
+ }
+ private native void newQSplashScreen(QPixmap pixmap, int f);
+ public QSplashScreen(QPixmap pixmap) {
+ super((Class) null);
+ newQSplashScreen(pixmap);
+ }
+ private native void newQSplashScreen(QPixmap pixmap);
+ public QSplashScreen() {
+ super((Class) null);
+ newQSplashScreen();
+ }
+ private native void newQSplashScreen();
+ public native void setPixmap(QPixmap pixmap);
+ public native QPixmap pixmap();
+ public native void finish(QWidget w);
+ public native void repaint();
+ public native void message(String str, int flags, QColor color);
+ public native void message(String str, int flags);
+ public native void message(String str);
+ public native void clear();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawContents(QPainter painter);
+ protected native void mousePressEvent(QMouseEvent 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/qtjava/javalib/org/kde/qt/QSplashScreenSignals.java b/qtjava/javalib/org/kde/qt/QSplashScreenSignals.java
new file mode 100644
index 00000000..99ab41ae
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSplashScreenSignals.java
@@ -0,0 +1,7 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QSplashScreenSignals {
+ void messageChanged(String str);
+}
diff --git a/qtjava/javalib/org/kde/qt/QSplitter.java b/qtjava/javalib/org/kde/qt/QSplitter.java
new file mode 100644
index 00000000..3340ec6b
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSplitter.java
@@ -0,0 +1,83 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSplitter extends QFrame {
+ protected QSplitter(Class dummy){super((Class) null);}
+ public static final int DefaultResizeMode = 3;
+
+ public static final int Stretch = 0;
+ public static final int KeepSize = 1;
+ public static final int FollowSizeHint = 2;
+ public static final int Auto = 3;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QSplitter(QWidget parent, String name) {
+ super((Class) null);
+ newQSplitter(parent,name);
+ }
+ private native void newQSplitter(QWidget parent, String name);
+ public QSplitter(QWidget parent) {
+ super((Class) null);
+ newQSplitter(parent);
+ }
+ private native void newQSplitter(QWidget parent);
+ public QSplitter() {
+ super((Class) null);
+ newQSplitter();
+ }
+ private native void newQSplitter();
+ public QSplitter(int arg1, QWidget parent, String name) {
+ super((Class) null);
+ newQSplitter(arg1,parent,name);
+ }
+ private native void newQSplitter(int arg1, QWidget parent, String name);
+ public QSplitter(int arg1, QWidget parent) {
+ super((Class) null);
+ newQSplitter(arg1,parent);
+ }
+ private native void newQSplitter(int arg1, QWidget parent);
+ public QSplitter(int arg1) {
+ super((Class) null);
+ newQSplitter(arg1);
+ }
+ private native void newQSplitter(int arg1);
+ public native void setOrientation(int arg1);
+ public native int orientation();
+ public native void setChildrenCollapsible(boolean arg1);
+ public native boolean childrenCollapsible();
+ public native void setCollapsible(QWidget w, boolean arg2);
+ public native void setResizeMode(QWidget w, int arg2);
+ public native void setOpaqueResize(boolean arg1);
+ public native void setOpaqueResize();
+ public native boolean opaqueResize();
+ public native void moveToFirst(QWidget arg1);
+ public native void moveToLast(QWidget arg1);
+ public native void refresh();
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native int[] sizes();
+ public native void setSizes(int[] arg1);
+ public native int handleWidth();
+ public native void setHandleWidth(int arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void childEvent(QChildEvent arg1);
+ public native boolean event(QEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native int idAfter(QWidget arg1);
+ protected native void moveSplitter(int pos, int id);
+ protected native void drawSplitter(QPainter arg1, int x, int y, int w, int h);
+ public native void styleChange(QStyle arg1);
+ protected native int adjustPos(int arg1, int arg2);
+ protected native void setRubberband(int arg1);
+ protected native void getRange(int id, int[] arg2, int[] arg3);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSql.java b/qtjava/javalib/org/kde/qt/QSql.java
new file mode 100644
index 00000000..c2f1b128
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSql.java
@@ -0,0 +1,42 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSql implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QSql(Class dummy){}
+
+ public static final int None = -1;
+ public static final int Insert = 0;
+ public static final int Update = 1;
+ public static final int Delete = 2;
+
+ public static final int BeforeFirst = -1;
+ public static final int AfterLast = -2;
+
+ public static final int Cancel = -1;
+ public static final int No = 0;
+ public static final int Yes = 1;
+
+ public static final int In = 1;
+ public static final int Out = 2;
+ public static final int InOut = 3;
+
+ public static final int Tables = 0x01;
+ public static final int SystemTables = 0x02;
+ public static final int Views = 0x04;
+ public static final int AllTables = 0xff;
+
+ public QSql() {
+ newQSql();
+ }
+ private native void newQSql();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlCursor.java b/qtjava/javalib/org/kde/qt/QSqlCursor.java
new file mode 100644
index 00000000..fd3482cb
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlCursor.java
@@ -0,0 +1,139 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSqlCursor extends QSqlRecord implements QSqlQueryInterface {
+ protected QSqlCursor(Class dummy){super((Class) null);}
+ public static final int ReadOnly = 0;
+ public static final int Insert = 1;
+ public static final int Update = 2;
+ public static final int Delete = 4;
+ public static final int Writable = 7;
+
+ public QSqlCursor(String name, boolean autopopulate, QSqlDatabase db) {
+ super((Class) null);
+ newQSqlCursor(name,autopopulate,db);
+ }
+ private native void newQSqlCursor(String name, boolean autopopulate, QSqlDatabase db);
+ public QSqlCursor(String name, boolean autopopulate) {
+ super((Class) null);
+ newQSqlCursor(name,autopopulate);
+ }
+ private native void newQSqlCursor(String name, boolean autopopulate);
+ public QSqlCursor(String name) {
+ super((Class) null);
+ newQSqlCursor(name);
+ }
+ private native void newQSqlCursor(String name);
+ public QSqlCursor() {
+ super((Class) null);
+ newQSqlCursor();
+ }
+ private native void newQSqlCursor();
+ public QSqlCursor(QSqlCursor other) {
+ super((Class) null);
+ newQSqlCursor(other);
+ }
+ private native void newQSqlCursor(QSqlCursor other);
+ public native QVariant value(int i);
+ public native QVariant value(String name);
+ public native void setValue(int i, QVariant val);
+ public native void setValue(String name, QVariant val);
+ public native QSqlIndex primaryIndex(boolean prime);
+ public native QSqlIndex primaryIndex();
+ public native QSqlIndex index(String[] fieldNames);
+ public native QSqlIndex index(String fieldName);
+ public native void setPrimaryIndex(QSqlIndex idx);
+ public native void append(QSqlFieldInfo fieldInfo);
+ public native void insert(int pos, QSqlFieldInfo fieldInfo);
+ public native void remove(int pos);
+ public native void clear();
+ public native void setGenerated(String name, boolean generated);
+ public native void setGenerated(int i, boolean generated);
+ public native QSqlRecord editBuffer(boolean copy);
+ public native QSqlRecord editBuffer();
+ public native QSqlRecord primeInsert();
+ public native QSqlRecord primeUpdate();
+ public native QSqlRecord primeDelete();
+ public native int insert(boolean invalidate);
+ public native int insert();
+ public native int update(boolean invalidate);
+ public native int update();
+ public native int del(boolean invalidate);
+ public native int del();
+ public native void setMode(int flags);
+ public native int mode();
+ public native void setCalculated(String name, boolean calculated);
+ public native boolean isCalculated(String name);
+ public native void setTrimmed(String name, boolean trim);
+ public native boolean isTrimmed(String name);
+ public native boolean isReadOnly();
+ public native boolean canInsert();
+ public native boolean canUpdate();
+ public native boolean canDelete();
+ public native boolean select();
+ public native boolean select(QSqlIndex sort);
+ public native boolean select(QSqlIndex filter, QSqlIndex sort);
+ public native boolean select(String filter, QSqlIndex sort);
+ public native boolean select(String filter);
+ public native void setSort(QSqlIndex sort);
+ public native QSqlIndex sort();
+ public native void setFilter(String filter);
+ public native String filter();
+ public native void setName(String name, boolean autopopulate);
+ public native void setName(String name);
+ public native String name();
+ public native String toString(String prefix, String sep);
+ public native String toString(String prefix);
+ public native String toString();
+ public native boolean isNull(int i);
+ public native boolean isNull(String name);
+ protected native void afterSeek();
+ public native boolean exec(String sql);
+ protected native QVariant calculateField(String name);
+ protected native int update(String filter, boolean invalidate);
+ protected native int update(String filter);
+ protected native int del(String filter, boolean invalidate);
+ protected native int del(String filter);
+ protected native String toString(String prefix, QSqlField field, String fieldSep);
+ protected native String toString(QSqlRecord rec, String prefix, String fieldSep, String sep);
+ protected native String toString(QSqlIndex i, QSqlRecord rec, String prefix, String fieldSep, String sep);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws 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 boolean isValid();
+ public native boolean isActive();
+ public native int at();
+ public native String lastQuery();
+ public native int numRowsAffected();
+ public native QSqlError lastError();
+ public native boolean isSelect();
+ public native int size();
+ public native QSqlDriver driver();
+ public native QSqlResult result();
+ public native boolean isForwardOnly();
+ public native void setForwardOnly(boolean forward);
+ public native boolean seek(int i, boolean relative);
+ public native boolean seek(int i);
+ public native boolean next();
+ public native boolean prev();
+ public native boolean first();
+ public native boolean last();
+ public native boolean exec();
+ public native boolean prepare(String query);
+ public native void bindValue(String placeholder, QVariant val);
+ public native void bindValue(int pos, QVariant val);
+ public native void addBindValue(QVariant val);
+ public native void bindValue(String placeholder, QVariant val, int type);
+ public native void bindValue(int pos, QVariant val, int type);
+ public native void addBindValue(QVariant val, int type);
+ public native QVariant boundValue(String placeholder);
+ public native QVariant boundValue(int pos);
+ // QMap<QString, QVariant> boundValues(); >>>> NOT CONVERTED
+ public native String executedQuery();
+ protected native void beforeSeek();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlDatabase.java b/qtjava/javalib/org/kde/qt/QSqlDatabase.java
new file mode 100644
index 00000000..c71a1d7b
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlDatabase.java
@@ -0,0 +1,96 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QSqlDatabase extends QObject {
+ protected QSqlDatabase(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public native boolean open();
+ public native boolean open(String user, String password);
+ public native void close();
+ public native boolean isOpen();
+ public native boolean isOpenError();
+ public native ArrayList tables();
+ public native ArrayList tables(int type);
+ public native QSqlIndex primaryIndex(String tablename);
+ public native QSqlRecord record(String tablename);
+ public native QSqlRecord record(QSqlQueryInterface query);
+ public native QSqlRecordInfo recordInfo(String tablename);
+ public native QSqlRecordInfo recordInfo(QSqlQueryInterface query);
+ public native QSqlQueryInterface exec(String query);
+ public native QSqlQueryInterface exec();
+ public native QSqlError lastError();
+ public native boolean transaction();
+ public native boolean commit();
+ public native boolean rollback();
+ public native void setDatabaseName(String name);
+ public native void setUserName(String name);
+ public native void setPassword(String password);
+ public native void setHostName(String host);
+ public native void setPort(int p);
+ public native void setConnectOptions(String options);
+ public native void setConnectOptions();
+ public native String databaseName();
+ public native String userName();
+ public native String password();
+ public native String hostName();
+ public native String driverName();
+ public native int port();
+ public native String connectOptions();
+ public native QSqlDriver driver();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native QSqlDatabase addDatabase(String type, String connectionName);
+ public static native QSqlDatabase addDatabase(String type);
+ public static native QSqlDatabase addDatabase(QSqlDriver driver, String connectionName);
+ public static native QSqlDatabase addDatabase(QSqlDriver driver);
+ public static native QSqlDatabase database(String connectionName, boolean open);
+ public static native QSqlDatabase database(String connectionName);
+ public static native QSqlDatabase database();
+ public static native void removeDatabase(String connectionName);
+ public static native void removeDatabase(QSqlDatabase db);
+ public static native boolean contains(String connectionName);
+ public static native boolean contains();
+ public static native ArrayList drivers();
+ // void registerSqlDriver(const QString& arg1,const QSqlDriverCreatorBase* arg2); >>>> NOT CONVERTED
+ public static native boolean isDriverAvailable(String name);
+ public QSqlDatabase(String type, String name, QObject parent, String objname) {
+ super((Class) null);
+ newQSqlDatabase(type,name,parent,objname);
+ }
+ private native void newQSqlDatabase(String type, String name, QObject parent, String objname);
+ public QSqlDatabase(String type, String name, QObject parent) {
+ super((Class) null);
+ newQSqlDatabase(type,name,parent);
+ }
+ private native void newQSqlDatabase(String type, String name, QObject parent);
+ public QSqlDatabase(String type, String name) {
+ super((Class) null);
+ newQSqlDatabase(type,name);
+ }
+ private native void newQSqlDatabase(String type, String name);
+ public QSqlDatabase(QSqlDriver driver, QObject parent, String objname) {
+ super((Class) null);
+ newQSqlDatabase(driver,parent,objname);
+ }
+ private native void newQSqlDatabase(QSqlDriver driver, QObject parent, String objname);
+ public QSqlDatabase(QSqlDriver driver, QObject parent) {
+ super((Class) null);
+ newQSqlDatabase(driver,parent);
+ }
+ private native void newQSqlDatabase(QSqlDriver driver, QObject parent);
+ public QSqlDatabase(QSqlDriver driver) {
+ super((Class) null);
+ newQSqlDatabase(driver);
+ }
+ private native void newQSqlDatabase(QSqlDriver driver);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlDriver.java b/qtjava/javalib/org/kde/qt/QSqlDriver.java
new file mode 100644
index 00000000..583cd803
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlDriver.java
@@ -0,0 +1,45 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QSqlDriver extends QObject {
+ protected QSqlDriver(Class dummy){super((Class) null);}
+ public static final int Transactions = 0;
+ public static final int QuerySize = 1;
+ public static final int BLOB = 2;
+ public static final int Unicode = 3;
+ public static final int PreparedQueries = 4;
+ public static final int NamedPlaceholders = 5;
+ public static final int PositionalPlaceholders = 6;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public native boolean isOpen();
+ public native boolean isOpenError();
+ public native boolean beginTransaction();
+ public native boolean commitTransaction();
+ public native boolean rollbackTransaction();
+ public native ArrayList tables(String tableType);
+ public native QSqlIndex primaryIndex(String tableName);
+ public native QSqlRecord record(String tableName);
+ public native QSqlRecord record(QSqlQueryInterface query);
+ public native QSqlRecordInfo recordInfo(String tablename);
+ public native QSqlRecordInfo recordInfo(QSqlQueryInterface query);
+ public native String nullText();
+ public native String formatValue(QSqlField field, boolean trimStrings);
+ public native String formatValue(QSqlField field);
+ public native QSqlError lastError();
+ public native boolean hasFeature(int f);
+ public native boolean open(String db, String user, String password, String host, int port);
+ public native boolean open(String db, String user, String password, String host);
+ public native boolean open(String db, String user, String password);
+ public native boolean open(String db, String user);
+ public native boolean open(String db);
+ public native void close();
+ public native QSqlQueryInterface createQuery();
+ public native boolean open(String db, String user, String password, String host, int port, String connOpts);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlEditorFactory.java b/qtjava/javalib/org/kde/qt/QSqlEditorFactory.java
new file mode 100644
index 00000000..adeb0ba5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlEditorFactory.java
@@ -0,0 +1,33 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSqlEditorFactory extends QEditorFactory {
+ protected QSqlEditorFactory(Class dummy){super((Class) null);}
+ public QSqlEditorFactory(QObject parent, String name) {
+ super((Class) null);
+ newQSqlEditorFactory(parent,name);
+ }
+ private native void newQSqlEditorFactory(QObject parent, String name);
+ public QSqlEditorFactory(QObject parent) {
+ super((Class) null);
+ newQSqlEditorFactory(parent);
+ }
+ private native void newQSqlEditorFactory(QObject parent);
+ public QSqlEditorFactory() {
+ super((Class) null);
+ newQSqlEditorFactory();
+ }
+ private native void newQSqlEditorFactory();
+ public native QWidget createEditor(QWidget parent, QVariant variant);
+ public native QWidget createEditor(QWidget parent, QSqlField field);
+ public static native QEditorFactory defaultFactory();
+ public static native void installDefaultFactory(QSqlEditorFactory factory);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlError.java b/qtjava/javalib/org/kde/qt/QSqlError.java
new file mode 100644
index 00000000..0c3cbe51
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlError.java
@@ -0,0 +1,58 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSqlError implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QSqlError(Class dummy){}
+
+ public static final int None = 0;
+ public static final int Connection = 1;
+ public static final int Statement = 2;
+ public static final int Transaction = 3;
+ public static final int Unknown = 4;
+
+ public QSqlError(String driverText, String databaseText, int type, int number) {
+ newQSqlError(driverText,databaseText,type,number);
+ }
+ private native void newQSqlError(String driverText, String databaseText, int type, int number);
+ public QSqlError(String driverText, String databaseText, int type) {
+ newQSqlError(driverText,databaseText,type);
+ }
+ private native void newQSqlError(String driverText, String databaseText, int type);
+ public QSqlError(String driverText, String databaseText) {
+ newQSqlError(driverText,databaseText);
+ }
+ private native void newQSqlError(String driverText, String databaseText);
+ public QSqlError(String driverText) {
+ newQSqlError(driverText);
+ }
+ private native void newQSqlError(String driverText);
+ public QSqlError() {
+ newQSqlError();
+ }
+ private native void newQSqlError();
+ public QSqlError(QSqlError other) {
+ newQSqlError(other);
+ }
+ private native void newQSqlError(QSqlError other);
+ public native String driverText();
+ public native void setDriverText(String driverText);
+ public native String databaseText();
+ public native void setDatabaseText(String databaseText);
+ public native int type();
+ public native void setType(int type);
+ public native int number();
+ public native void setNumber(int number);
+ public native String text();
+ public native void showMessage(String msg);
+ public native void showMessage();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlField.java b/qtjava/javalib/org/kde/qt/QSqlField.java
new file mode 100644
index 00000000..ac2e1e4c
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlField.java
@@ -0,0 +1,45 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSqlField implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QSqlField(Class dummy){}
+
+ public QSqlField(String fieldName, int type) {
+ newQSqlField(fieldName,type);
+ }
+ private native void newQSqlField(String fieldName, int type);
+ public QSqlField(String fieldName) {
+ newQSqlField(fieldName);
+ }
+ private native void newQSqlField(String fieldName);
+ public QSqlField() {
+ newQSqlField();
+ }
+ private native void newQSqlField();
+ public QSqlField(QSqlField other) {
+ newQSqlField(other);
+ }
+ private native void newQSqlField(QSqlField other);
+ public native boolean op_equals(QSqlField other);
+ public native void setValue(QVariant value);
+ public native QVariant value();
+ public native void setName(String name);
+ public native String name();
+ public native void setNull();
+ public native boolean isNull();
+ public native void setReadOnly(boolean readOnly);
+ public native boolean isReadOnly();
+ public native void clear(boolean nullify);
+ public native void clear();
+ public native int type();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlFieldInfo.java b/qtjava/javalib/org/kde/qt/QSqlFieldInfo.java
new file mode 100644
index 00000000..1a9bb4bc
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlFieldInfo.java
@@ -0,0 +1,88 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSqlFieldInfo implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QSqlFieldInfo(Class dummy){}
+
+ public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated) {
+ newQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated,trim,calculated);
+ }
+ private native void newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated);
+ public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated, boolean trim) {
+ newQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated,trim);
+ }
+ private native void newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated, boolean trim);
+ public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated) {
+ newQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated);
+ }
+ private native void newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated);
+ public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType) {
+ newQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType);
+ }
+ private native void newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType);
+ public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue) {
+ newQSqlFieldInfo(name,typ,required,len,prec,defValue);
+ }
+ private native void newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue);
+ public QSqlFieldInfo(String name, int typ, int required, int len, int prec) {
+ newQSqlFieldInfo(name,typ,required,len,prec);
+ }
+ private native void newQSqlFieldInfo(String name, int typ, int required, int len, int prec);
+ public QSqlFieldInfo(String name, int typ, int required, int len) {
+ newQSqlFieldInfo(name,typ,required,len);
+ }
+ private native void newQSqlFieldInfo(String name, int typ, int required, int len);
+ public QSqlFieldInfo(String name, int typ, int required) {
+ newQSqlFieldInfo(name,typ,required);
+ }
+ private native void newQSqlFieldInfo(String name, int typ, int required);
+ public QSqlFieldInfo(String name, int typ) {
+ newQSqlFieldInfo(name,typ);
+ }
+ private native void newQSqlFieldInfo(String name, int typ);
+ public QSqlFieldInfo(String name) {
+ newQSqlFieldInfo(name);
+ }
+ private native void newQSqlFieldInfo(String name);
+ public QSqlFieldInfo() {
+ newQSqlFieldInfo();
+ }
+ private native void newQSqlFieldInfo();
+ public QSqlFieldInfo(QSqlFieldInfo other) {
+ newQSqlFieldInfo(other);
+ }
+ private native void newQSqlFieldInfo(QSqlFieldInfo other);
+ public QSqlFieldInfo(QSqlField other, boolean generated) {
+ newQSqlFieldInfo(other,generated);
+ }
+ private native void newQSqlFieldInfo(QSqlField other, boolean generated);
+ public QSqlFieldInfo(QSqlField other) {
+ newQSqlFieldInfo(other);
+ }
+ private native void newQSqlFieldInfo(QSqlField other);
+ public native boolean op_equals(QSqlFieldInfo f);
+ public native QSqlField toField();
+ public native int isRequired();
+ public native int type();
+ public native int length();
+ public native int precision();
+ public native QVariant defaultValue();
+ public native String name();
+ public native int typeID();
+ public native boolean isGenerated();
+ public native boolean isTrim();
+ public native boolean isCalculated();
+ public native void setTrim(boolean trim);
+ public native void setGenerated(boolean gen);
+ public native void setCalculated(boolean calc);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlForm.java b/qtjava/javalib/org/kde/qt/QSqlForm.java
new file mode 100644
index 00000000..3b075fb2
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlForm.java
@@ -0,0 +1,51 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSqlForm extends QObject {
+ protected QSqlForm(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QSqlForm(QObject parent, String name) {
+ super((Class) null);
+ newQSqlForm(parent,name);
+ }
+ private native void newQSqlForm(QObject parent, String name);
+ public QSqlForm(QObject parent) {
+ super((Class) null);
+ newQSqlForm(parent);
+ }
+ private native void newQSqlForm(QObject parent);
+ public QSqlForm() {
+ super((Class) null);
+ newQSqlForm();
+ }
+ private native void newQSqlForm();
+ public native void insert(QWidget widget, String field);
+ public native void remove(String field);
+ public native int count();
+ public native QWidget widget(int i);
+ public native QSqlField widgetToField(QWidget widget);
+ public native QWidget fieldToWidget(QSqlField field);
+ public native void installPropertyMap(QSqlPropertyMap map);
+ public native void setRecord(QSqlRecord buf);
+ public native void readField(QWidget widget);
+ public native void writeField(QWidget widget);
+ public native void readFields();
+ public native void writeFields();
+ public native void clear();
+ public native void clearValues(boolean nullify);
+ public native void clearValues();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void insert(QWidget widget, QSqlField field);
+ protected native void remove(QWidget widget);
+ protected native void clearMap();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlIndex.java b/qtjava/javalib/org/kde/qt/QSqlIndex.java
new file mode 100644
index 00000000..133518ee
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlIndex.java
@@ -0,0 +1,51 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QSqlIndex extends QSqlRecord {
+ protected QSqlIndex(Class dummy){super((Class) null);}
+ public QSqlIndex(String cursorName, String name) {
+ super((Class) null);
+ newQSqlIndex(cursorName,name);
+ }
+ private native void newQSqlIndex(String cursorName, String name);
+ public QSqlIndex(String cursorName) {
+ super((Class) null);
+ newQSqlIndex(cursorName);
+ }
+ private native void newQSqlIndex(String cursorName);
+ public QSqlIndex() {
+ super((Class) null);
+ newQSqlIndex();
+ }
+ private native void newQSqlIndex();
+ public QSqlIndex(QSqlIndex other) {
+ super((Class) null);
+ newQSqlIndex(other);
+ }
+ private native void newQSqlIndex(QSqlIndex other);
+ public native void setCursorName(String cursorName);
+ public native String cursorName();
+ public native void setName(String name);
+ public native String name();
+ public native void append(QSqlField field);
+ public native void append(QSqlField field, boolean desc);
+ public native boolean isDescending(int i);
+ public native void setDescending(int i, boolean desc);
+ public native String toString(String prefix, String sep, boolean verbose);
+ public native String toString(String prefix, String sep);
+ public native String toString(String prefix);
+ public native String toString();
+ public native ArrayList toStringList(String prefix, boolean verbose);
+ public native ArrayList toStringList(String prefix);
+ public native ArrayList toStringList();
+ public static native QSqlIndex fromStringList(String[] l, QSqlCursor cursor);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlPropertyMap.java b/qtjava/javalib/org/kde/qt/QSqlPropertyMap.java
new file mode 100644
index 00000000..3815b8a7
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlPropertyMap.java
@@ -0,0 +1,27 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSqlPropertyMap implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QSqlPropertyMap(Class dummy){}
+
+ public QSqlPropertyMap() {
+ newQSqlPropertyMap();
+ }
+ private native void newQSqlPropertyMap();
+ public native QVariant property(QWidget widget);
+ public native void setProperty(QWidget widget, QVariant value);
+ public native void insert(String classname, String property);
+ public native void remove(String classname);
+ public static native QSqlPropertyMap defaultMap();
+ public static native void installDefaultMap(QSqlPropertyMap map);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlQuery.java b/qtjava/javalib/org/kde/qt/QSqlQuery.java
new file mode 100644
index 00000000..ff5574eb
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlQuery.java
@@ -0,0 +1,76 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSqlQuery implements QtSupport, QSqlQueryInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QSqlQuery(Class dummy){}
+
+ public QSqlQuery(QSqlResult r) {
+ newQSqlQuery(r);
+ }
+ private native void newQSqlQuery(QSqlResult r);
+ public QSqlQuery(String query, QSqlDatabase db) {
+ newQSqlQuery(query,db);
+ }
+ private native void newQSqlQuery(String query, QSqlDatabase db);
+ public QSqlQuery(String query) {
+ newQSqlQuery(query);
+ }
+ private native void newQSqlQuery(String query);
+ public QSqlQuery() {
+ newQSqlQuery();
+ }
+ private native void newQSqlQuery();
+ public QSqlQuery(QSqlDatabase db) {
+ newQSqlQuery(db);
+ }
+ private native void newQSqlQuery(QSqlDatabase db);
+ public QSqlQuery(QSqlQueryInterface other) {
+ newQSqlQuery(other);
+ }
+ private native void newQSqlQuery(QSqlQueryInterface other);
+ public native boolean isValid();
+ public native boolean isActive();
+ public native boolean isNull(int field);
+ public native int at();
+ public native String lastQuery();
+ public native int numRowsAffected();
+ public native QSqlError lastError();
+ public native boolean isSelect();
+ public native int size();
+ public native QSqlDriver driver();
+ public native QSqlResult result();
+ public native boolean isForwardOnly();
+ public native void setForwardOnly(boolean forward);
+ public native boolean exec(String query);
+ public native QVariant value(int i);
+ public native boolean seek(int i, boolean relative);
+ public native boolean seek(int i);
+ public native boolean next();
+ public native boolean prev();
+ public native boolean first();
+ public native boolean last();
+ public native boolean exec();
+ public native boolean prepare(String query);
+ public native void bindValue(String placeholder, QVariant val);
+ public native void bindValue(int pos, QVariant val);
+ public native void addBindValue(QVariant val);
+ public native void bindValue(String placeholder, QVariant val, int type);
+ public native void bindValue(int pos, QVariant val, int type);
+ public native void addBindValue(QVariant val, int type);
+ public native QVariant boundValue(String placeholder);
+ public native QVariant boundValue(int pos);
+ // QMap<QString, QVariant> boundValues(); >>>> NOT CONVERTED
+ public native String executedQuery();
+ protected native void beforeSeek();
+ protected native void afterSeek();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlQueryInterface.java b/qtjava/javalib/org/kde/qt/QSqlQueryInterface.java
new file mode 100644
index 00000000..b28ed2ef
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlQueryInterface.java
@@ -0,0 +1,38 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QSqlQueryInterface {
+ boolean isValid();
+ boolean isActive();
+ boolean isNull(int field);
+ int at();
+ String lastQuery();
+ int numRowsAffected();
+ QSqlError lastError();
+ boolean isSelect();
+ int size();
+ QSqlDriver driver();
+ QSqlResult result();
+ boolean isForwardOnly();
+ void setForwardOnly(boolean forward);
+ boolean exec(String query);
+ QVariant value(int i);
+ boolean seek(int i, boolean relative);
+ boolean seek(int i);
+ boolean next();
+ boolean prev();
+ boolean first();
+ boolean last();
+ boolean exec();
+ boolean prepare(String query);
+ void bindValue(String placeholder, QVariant val);
+ void bindValue(int pos, QVariant val);
+ void addBindValue(QVariant val);
+ void bindValue(String placeholder, QVariant val, int type);
+ void bindValue(int pos, QVariant val, int type);
+ void addBindValue(QVariant val, int type);
+ QVariant boundValue(String placeholder);
+ QVariant boundValue(int pos);
+ String executedQuery();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlRecord.java b/qtjava/javalib/org/kde/qt/QSqlRecord.java
new file mode 100644
index 00000000..69ba2b73
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlRecord.java
@@ -0,0 +1,56 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QSqlRecord implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QSqlRecord(Class dummy){}
+
+ public QSqlRecord() {
+ newQSqlRecord();
+ }
+ private native void newQSqlRecord();
+ public QSqlRecord(QSqlRecord other) {
+ newQSqlRecord(other);
+ }
+ private native void newQSqlRecord(QSqlRecord other);
+ public native QVariant value(int i);
+ public native QVariant value(String name);
+ public native void setValue(int i, QVariant val);
+ public native void setValue(String name, QVariant val);
+ public native boolean isGenerated(int i);
+ public native boolean isGenerated(String name);
+ public native void setGenerated(String name, boolean generated);
+ public native void setGenerated(int i, boolean generated);
+ public native void setNull(int i);
+ public native void setNull(String name);
+ public native boolean isNull(int i);
+ public native boolean isNull(String name);
+ public native int position(String name);
+ public native String fieldName(int i);
+ public native QSqlField field(int i);
+ public native QSqlField field(String name);
+ public native void append(QSqlField field);
+ public native void insert(int pos, QSqlField field);
+ public native void remove(int pos);
+ public native boolean isEmpty();
+ public native boolean contains(String name);
+ public native void clear();
+ public native void clearValues(boolean nullify);
+ public native void clearValues();
+ public native int count();
+ public native String toString(String prefix, String sep);
+ public native String toString(String prefix);
+ public native String toString();
+ public native ArrayList toStringList(String prefix);
+ public native ArrayList toStringList();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlRecordInfo.java b/qtjava/javalib/org/kde/qt/QSqlRecordInfo.java
new file mode 100644
index 00000000..b8e9ba40
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlRecordInfo.java
@@ -0,0 +1,29 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSqlRecordInfo implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QSqlRecordInfo(Class dummy){}
+
+ public QSqlRecordInfo() {
+ newQSqlRecordInfo();
+ }
+ private native void newQSqlRecordInfo();
+ // QSqlRecordInfo* QSqlRecordInfo(const QSqlFieldInfoList& arg1); >>>> NOT CONVERTED
+ public QSqlRecordInfo(QSqlRecord other) {
+ newQSqlRecordInfo(other);
+ }
+ private native void newQSqlRecordInfo(QSqlRecord other);
+ public native int contains(String fieldName);
+ public native QSqlFieldInfo find(String fieldName);
+ public native QSqlRecord toRecord();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSqlResult.java b/qtjava/javalib/org/kde/qt/QSqlResult.java
new file mode 100644
index 00000000..906b1ec9
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlResult.java
@@ -0,0 +1,13 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSqlResult implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QSqlResult(Class dummy){}
+
+ // void setExtension(QSqlExtension* arg1); >>>> NOT CONVERTED
+ // QSqlExtension* extension(); >>>> NOT CONVERTED
+}
diff --git a/qtjava/javalib/org/kde/qt/QStatusBar.java b/qtjava/javalib/org/kde/qt/QStatusBar.java
new file mode 100644
index 00000000..23e5321a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QStatusBar.java
@@ -0,0 +1,50 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QStatusBarSignals} for signals emitted by QStatusBar
+*/
+public class QStatusBar extends QWidget {
+ protected QStatusBar(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QStatusBar(QWidget parent, String name) {
+ super((Class) null);
+ newQStatusBar(parent,name);
+ }
+ private native void newQStatusBar(QWidget parent, String name);
+ public QStatusBar(QWidget parent) {
+ super((Class) null);
+ newQStatusBar(parent);
+ }
+ private native void newQStatusBar(QWidget parent);
+ public QStatusBar() {
+ super((Class) null);
+ newQStatusBar();
+ }
+ private native void newQStatusBar();
+ public native void addWidget(QWidget arg1, int stretch, boolean arg3);
+ public native void addWidget(QWidget arg1, int stretch);
+ public native void addWidget(QWidget arg1);
+ public native void removeWidget(QWidget arg1);
+ public native void setSizeGripEnabled(boolean arg1);
+ public native boolean isSizeGripEnabled();
+ public native void message(String arg1);
+ public native void message(String arg1, int arg2);
+ public native void clear();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void reformat();
+ protected native void hideOrShow();
+ public native boolean event(QEvent 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/qtjava/javalib/org/kde/qt/QStatusBarSignals.java b/qtjava/javalib/org/kde/qt/QStatusBarSignals.java
new file mode 100644
index 00000000..92f6f615
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QStatusBarSignals.java
@@ -0,0 +1,7 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QStatusBarSignals {
+ void messageChanged(String text);
+}
diff --git a/qtjava/javalib/org/kde/qt/QStoredDrag.java b/qtjava/javalib/org/kde/qt/QStoredDrag.java
new file mode 100644
index 00000000..0d7d4ada
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QStoredDrag.java
@@ -0,0 +1,36 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QStoredDrag extends QDragObject {
+ protected QStoredDrag(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QStoredDrag(String mimeType, QWidget dragSource, String name) {
+ super((Class) null);
+ newQStoredDrag(mimeType,dragSource,name);
+ }
+ private native void newQStoredDrag(String mimeType, QWidget dragSource, String name);
+ public QStoredDrag(String mimeType, QWidget dragSource) {
+ super((Class) null);
+ newQStoredDrag(mimeType,dragSource);
+ }
+ private native void newQStoredDrag(String mimeType, QWidget dragSource);
+ public QStoredDrag(String mimeType) {
+ super((Class) null);
+ newQStoredDrag(mimeType);
+ }
+ private native void newQStoredDrag(String mimeType);
+ public native void setEncodedData(byte[] arg1);
+ public native String format(int i);
+ public native byte[] encodedData(String arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QStyle.java b/qtjava/javalib/org/kde/qt/QStyle.java
new file mode 100644
index 00000000..f04bf0ed
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QStyle.java
@@ -0,0 +1,356 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QStyle extends QObject {
+ protected QStyle(Class dummy){super((Class) null);}
+ public static final int PE_ButtonCommand = 0;
+ public static final int PE_ButtonDefault = 1;
+ public static final int PE_ButtonBevel = 2;
+ public static final int PE_ButtonTool = 3;
+ public static final int PE_ButtonDropDown = 4;
+ public static final int PE_FocusRect = 5;
+ public static final int PE_ArrowUp = 6;
+ public static final int PE_ArrowDown = 7;
+ public static final int PE_ArrowRight = 8;
+ public static final int PE_ArrowLeft = 9;
+ public static final int PE_SpinWidgetUp = 10;
+ public static final int PE_SpinWidgetDown = 11;
+ public static final int PE_SpinWidgetPlus = 12;
+ public static final int PE_SpinWidgetMinus = 13;
+ public static final int PE_Indicator = 14;
+ public static final int PE_IndicatorMask = 15;
+ public static final int PE_ExclusiveIndicator = 16;
+ public static final int PE_ExclusiveIndicatorMask = 17;
+ public static final int PE_DockWindowHandle = 18;
+ public static final int PE_DockWindowSeparator = 19;
+ public static final int PE_DockWindowResizeHandle = 20;
+ public static final int PE_Splitter = 21;
+ public static final int PE_Panel = 22;
+ public static final int PE_PanelPopup = 23;
+ public static final int PE_PanelMenuBar = 24;
+ public static final int PE_PanelDockWindow = 25;
+ public static final int PE_TabBarBase = 26;
+ public static final int PE_HeaderSection = 27;
+ public static final int PE_HeaderArrow = 28;
+ public static final int PE_StatusBarSection = 29;
+ public static final int PE_GroupBoxFrame = 30;
+ public static final int PE_Separator = 31;
+ public static final int PE_SizeGrip = 32;
+ public static final int PE_CheckMark = 33;
+ public static final int PE_ScrollBarAddLine = 34;
+ public static final int PE_ScrollBarSubLine = 35;
+ public static final int PE_ScrollBarAddPage = 36;
+ public static final int PE_ScrollBarSubPage = 37;
+ public static final int PE_ScrollBarSlider = 38;
+ public static final int PE_ScrollBarFirst = 39;
+ public static final int PE_ScrollBarLast = 40;
+ public static final int PE_ProgressBarChunk = 41;
+ public static final int PE_PanelLineEdit = 42;
+ public static final int PE_PanelTabWidget = 43;
+ public static final int PE_WindowFrame = 44;
+ public static final int PE_CheckListController = 45;
+ public static final int PE_CheckListIndicator = 46;
+ public static final int PE_CheckListExclusiveIndicator = 47;
+ public static final int PE_PanelGroupBox = 48;
+ public static final int PE_RubberBand = 49;
+ public static final int PE_CustomBase = 0xf000000;
+
+ public static final int Style_Default = 0x00000000;
+ public static final int Style_Enabled = 0x00000001;
+ public static final int Style_Raised = 0x00000002;
+ public static final int Style_Sunken = 0x00000004;
+ public static final int Style_Off = 0x00000008;
+ public static final int Style_NoChange = 0x00000010;
+ public static final int Style_On = 0x00000020;
+ public static final int Style_Down = 0x00000040;
+ public static final int Style_Horizontal = 0x00000080;
+ public static final int Style_HasFocus = 0x00000100;
+ public static final int Style_Top = 0x00000200;
+ public static final int Style_Bottom = 0x00000400;
+ public static final int Style_FocusAtBorder = 0x00000800;
+ public static final int Style_AutoRaise = 0x00001000;
+ public static final int Style_MouseOver = 0x00002000;
+ public static final int Style_Up = 0x00004000;
+ public static final int Style_Selected = 0x00008000;
+ public static final int Style_Active = 0x00010000;
+ public static final int Style_ButtonDefault = 0x00020000;
+
+ public static final int CE_PushButton = 0;
+ public static final int CE_PushButtonLabel = 1;
+ public static final int CE_CheckBox = 2;
+ public static final int CE_CheckBoxLabel = 3;
+ public static final int CE_RadioButton = 4;
+ public static final int CE_RadioButtonLabel = 5;
+ public static final int CE_TabBarTab = 6;
+ public static final int CE_TabBarLabel = 7;
+ public static final int CE_ProgressBarGroove = 8;
+ public static final int CE_ProgressBarContents = 9;
+ public static final int CE_ProgressBarLabel = 10;
+ public static final int CE_PopupMenuItem = 11;
+ public static final int CE_MenuBarItem = 12;
+ public static final int CE_ToolButtonLabel = 13;
+ public static final int CE_MenuBarEmptyArea = 14;
+ public static final int CE_PopupMenuScroller = 15;
+ public static final int CE_DockWindowEmptyArea = 16;
+ public static final int CE_PopupMenuVerticalExtra = 17;
+ public static final int CE_PopupMenuHorizontalExtra = 18;
+ public static final int CE_ToolBoxTab = 19;
+ public static final int CE_HeaderLabel = 20;
+ public static final int CE_CustomBase = 0xf0000000;
+
+ public static final int SR_PushButtonContents = 0;
+ public static final int SR_PushButtonFocusRect = 1;
+ public static final int SR_CheckBoxIndicator = 2;
+ public static final int SR_CheckBoxContents = 3;
+ public static final int SR_CheckBoxFocusRect = 4;
+ public static final int SR_RadioButtonIndicator = 5;
+ public static final int SR_RadioButtonContents = 6;
+ public static final int SR_RadioButtonFocusRect = 7;
+ public static final int SR_ComboBoxFocusRect = 8;
+ public static final int SR_SliderFocusRect = 9;
+ public static final int SR_DockWindowHandleRect = 10;
+ public static final int SR_ProgressBarGroove = 11;
+ public static final int SR_ProgressBarContents = 12;
+ public static final int SR_ProgressBarLabel = 13;
+ public static final int SR_ToolButtonContents = 14;
+ public static final int SR_DialogButtonAccept = 15;
+ public static final int SR_DialogButtonReject = 16;
+ public static final int SR_DialogButtonApply = 17;
+ public static final int SR_DialogButtonHelp = 18;
+ public static final int SR_DialogButtonAll = 19;
+ public static final int SR_DialogButtonAbort = 20;
+ public static final int SR_DialogButtonIgnore = 21;
+ public static final int SR_DialogButtonRetry = 22;
+ public static final int SR_DialogButtonCustom = 23;
+ public static final int SR_ToolBoxTabContents = 24;
+ public static final int SR_CustomBase = 0xf0000000;
+
+ public static final int CC_SpinWidget = 0;
+ public static final int CC_ComboBox = 1;
+ public static final int CC_ScrollBar = 2;
+ public static final int CC_Slider = 3;
+ public static final int CC_ToolButton = 4;
+ public static final int CC_TitleBar = 5;
+ public static final int CC_ListView = 6;
+ public static final int CC_CustomBase = 0xf0000000;
+
+ public static final int SC_None = 0x00000000;
+ public static final int SC_ScrollBarAddLine = 0x00000001;
+ public static final int SC_ScrollBarSubLine = 0x00000002;
+ public static final int SC_ScrollBarAddPage = 0x00000004;
+ public static final int SC_ScrollBarSubPage = 0x00000008;
+ public static final int SC_ScrollBarFirst = 0x00000010;
+ public static final int SC_ScrollBarLast = 0x00000020;
+ public static final int SC_ScrollBarSlider = 0x00000040;
+ public static final int SC_ScrollBarGroove = 0x00000080;
+ public static final int SC_SpinWidgetUp = 0x00000001;
+ public static final int SC_SpinWidgetDown = 0x00000002;
+ public static final int SC_SpinWidgetFrame = 0x00000004;
+ public static final int SC_SpinWidgetEditField = 0x00000008;
+ public static final int SC_SpinWidgetButtonField = 0x00000010;
+ public static final int SC_ComboBoxFrame = 0x00000001;
+ public static final int SC_ComboBoxEditField = 0x00000002;
+ public static final int SC_ComboBoxArrow = 0x00000004;
+ public static final int SC_ComboBoxListBoxPopup = 0x00000008;
+ public static final int SC_SliderGroove = 0x00000001;
+ public static final int SC_SliderHandle = 0x00000002;
+ public static final int SC_SliderTickmarks = 0x00000004;
+ public static final int SC_ToolButton = 0x00000001;
+ public static final int SC_ToolButtonMenu = 0x00000002;
+ public static final int SC_TitleBarLabel = 0x00000001;
+ public static final int SC_TitleBarSysMenu = 0x00000002;
+ public static final int SC_TitleBarMinButton = 0x00000004;
+ public static final int SC_TitleBarMaxButton = 0x00000008;
+ public static final int SC_TitleBarCloseButton = 0x00000010;
+ public static final int SC_TitleBarNormalButton = 0x00000020;
+ public static final int SC_TitleBarShadeButton = 0x00000040;
+ public static final int SC_TitleBarUnshadeButton = 0x00000080;
+ public static final int SC_ListView = 0x00000001;
+ public static final int SC_ListViewBranch = 0x00000002;
+ public static final int SC_ListViewExpand = 0x00000004;
+ public static final int SC_All = 0xffffffff;
+
+ public static final int PM_ButtonMargin = 0;
+ public static final int PM_ButtonDefaultIndicator = 1;
+ public static final int PM_MenuButtonIndicator = 2;
+ public static final int PM_ButtonShiftHorizontal = 3;
+ public static final int PM_ButtonShiftVertical = 4;
+ public static final int PM_DefaultFrameWidth = 5;
+ public static final int PM_SpinBoxFrameWidth = 6;
+ public static final int PM_MaximumDragDistance = 7;
+ public static final int PM_ScrollBarExtent = 8;
+ public static final int PM_ScrollBarSliderMin = 9;
+ public static final int PM_SliderThickness = 10;
+ public static final int PM_SliderControlThickness = 11;
+ public static final int PM_SliderLength = 12;
+ public static final int PM_SliderTickmarkOffset = 13;
+ public static final int PM_SliderSpaceAvailable = 14;
+ public static final int PM_DockWindowSeparatorExtent = 15;
+ public static final int PM_DockWindowHandleExtent = 16;
+ public static final int PM_DockWindowFrameWidth = 17;
+ public static final int PM_MenuBarFrameWidth = 18;
+ public static final int PM_TabBarTabOverlap = 19;
+ public static final int PM_TabBarTabHSpace = 20;
+ public static final int PM_TabBarTabVSpace = 21;
+ public static final int PM_TabBarBaseHeight = 22;
+ public static final int PM_TabBarBaseOverlap = 23;
+ public static final int PM_ProgressBarChunkWidth = 24;
+ public static final int PM_SplitterWidth = 25;
+ public static final int PM_TitleBarHeight = 26;
+ public static final int PM_IndicatorWidth = 27;
+ public static final int PM_IndicatorHeight = 28;
+ public static final int PM_ExclusiveIndicatorWidth = 29;
+ public static final int PM_ExclusiveIndicatorHeight = 30;
+ public static final int PM_PopupMenuScrollerHeight = 31;
+ public static final int PM_CheckListButtonSize = 32;
+ public static final int PM_CheckListControllerSize = 33;
+ public static final int PM_PopupMenuFrameHorizontalExtra = 34;
+ public static final int PM_PopupMenuFrameVerticalExtra = 35;
+ public static final int PM_DialogButtonsSeparator = 36;
+ public static final int PM_DialogButtonsButtonWidth = 37;
+ public static final int PM_DialogButtonsButtonHeight = 38;
+ public static final int PM_MDIFrameWidth = 39;
+ public static final int PM_MDIMinimizedWidth = 40;
+ public static final int PM_HeaderMargin = 41;
+ public static final int PM_HeaderMarkSize = 42;
+ public static final int PM_HeaderGripMargin = 43;
+ public static final int PM_TabBarTabShiftHorizontal = 44;
+ public static final int PM_TabBarTabShiftVertical = 45;
+ public static final int PM_TabBarScrollButtonWidth = 46;
+ public static final int PM_MenuBarItemSpacing = 47;
+ public static final int PM_ToolBarItemSpacing = 48;
+ public static final int PM_CustomBase = 0xf0000000;
+
+ public static final int CT_PushButton = 0;
+ public static final int CT_CheckBox = 1;
+ public static final int CT_RadioButton = 2;
+ public static final int CT_ToolButton = 3;
+ public static final int CT_ComboBox = 4;
+ public static final int CT_Splitter = 5;
+ public static final int CT_DockWindow = 6;
+ public static final int CT_ProgressBar = 7;
+ public static final int CT_PopupMenuItem = 8;
+ public static final int CT_TabBarTab = 9;
+ public static final int CT_Slider = 10;
+ public static final int CT_Header = 11;
+ public static final int CT_LineEdit = 12;
+ public static final int CT_MenuBar = 13;
+ public static final int CT_SpinBox = 14;
+ public static final int CT_SizeGrip = 15;
+ public static final int CT_TabWidget = 16;
+ public static final int CT_DialogButtons = 17;
+ public static final int CT_CustomBase = 0xf0000000;
+
+ public static final int SH_EtchDisabledText = 0;
+ public static final int SH_GUIStyle = 1;
+ public static final int SH_ScrollBar_BackgroundMode = 2;
+ public static final int SH_ScrollBar_MiddleClickAbsolutePosition = 3;
+ public static final int SH_ScrollBar_ScrollWhenPointerLeavesControl = 4;
+ public static final int SH_TabBar_SelectMouseType = 5;
+ public static final int SH_TabBar_Alignment = 6;
+ public static final int SH_Header_ArrowAlignment = 7;
+ public static final int SH_Slider_SnapToValue = 8;
+ public static final int SH_Slider_SloppyKeyEvents = 9;
+ public static final int SH_ProgressDialog_CenterCancelButton = 10;
+ public static final int SH_ProgressDialog_TextLabelAlignment = 11;
+ public static final int SH_PrintDialog_RightAlignButtons = 12;
+ public static final int SH_MainWindow_SpaceBelowMenuBar = 13;
+ public static final int SH_FontDialog_SelectAssociatedText = 14;
+ public static final int SH_PopupMenu_AllowActiveAndDisabled = 15;
+ public static final int SH_PopupMenu_SpaceActivatesItem = 16;
+ public static final int SH_PopupMenu_SubMenuPopupDelay = 17;
+ public static final int SH_ScrollView_FrameOnlyAroundContents = 18;
+ public static final int SH_MenuBar_AltKeyNavigation = 19;
+ public static final int SH_ComboBox_ListMouseTracking = 20;
+ public static final int SH_PopupMenu_MouseTracking = 21;
+ public static final int SH_MenuBar_MouseTracking = 22;
+ public static final int SH_ItemView_ChangeHighlightOnFocus = 23;
+ public static final int SH_Widget_ShareActivation = 24;
+ public static final int SH_Workspace_FillSpaceOnMaximize = 25;
+ public static final int SH_ComboBox_Popup = 26;
+ public static final int SH_TitleBar_NoBorder = 27;
+ public static final int SH_ScrollBar_StopMouseOverSlider = 28;
+ public static final int SH_BlinkCursorWhenTextSelected = 29;
+ public static final int SH_RichText_FullWidthSelection = 30;
+ public static final int SH_PopupMenu_Scrollable = 31;
+ public static final int SH_GroupBox_TextLabelVerticalAlignment = 32;
+ public static final int SH_GroupBox_TextLabelColor = 33;
+ public static final int SH_PopupMenu_SloppySubMenus = 34;
+ public static final int SH_Table_GridLineColor = 35;
+ public static final int SH_LineEdit_PasswordCharacter = 36;
+ public static final int SH_DialogButtons_DefaultButton = 37;
+ public static final int SH_ToolBox_SelectedPageTitleBold = 38;
+ public static final int SH_TabBar_PreferNoArrows = 39;
+ public static final int SH_ScrollBar_LeftClickAbsolutePosition = 40;
+ public static final int SH_ListViewExpand_SelectMouseType = 41;
+ public static final int SH_UnderlineAccelerator = 42;
+ public static final int SH_ToolButton_Uses3D = 43;
+ public static final int SH_CustomBase = 0xf0000000;
+
+ public static final int SP_TitleBarMinButton = 0;
+ public static final int SP_TitleBarMaxButton = 1;
+ public static final int SP_TitleBarCloseButton = 2;
+ public static final int SP_TitleBarNormalButton = 3;
+ public static final int SP_TitleBarShadeButton = 4;
+ public static final int SP_TitleBarUnshadeButton = 5;
+ public static final int SP_DockWindowCloseButton = 6;
+ public static final int SP_MessageBoxInformation = 7;
+ public static final int SP_MessageBoxWarning = 8;
+ public static final int SP_MessageBoxCritical = 9;
+ public static final int SP_MessageBoxQuestion = 10;
+ public static final int SP_CustomBase = 0xf0000000;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public native void polish(QWidget arg1);
+ public native void unPolish(QWidget arg1);
+ public native void polish(QApplication arg1);
+ public native void unPolish(QApplication arg1);
+ public native void polish(QPalette arg1);
+ public native void polishPopupMenu(QPopupMenu arg1);
+ public native QRect itemRect(QPainter p, QRect r, int flags, boolean enabled, QPixmap pixmap, String text, int len);
+ public native QRect itemRect(QPainter p, QRect r, int flags, boolean enabled, QPixmap pixmap, String text);
+ public native void drawItem(QPainter p, QRect r, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text, int len, QColor penColor);
+ public native void drawItem(QPainter p, QRect r, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text, int len);
+ public native void drawItem(QPainter p, QRect r, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text);
+ public native void drawPrimitive(int pe, QPainter p, QRect r, QColorGroup cg, int flags, QStyleOption arg6);
+ public native void drawPrimitive(int pe, QPainter p, QRect r, QColorGroup cg, int flags);
+ public native void drawPrimitive(int pe, QPainter p, QRect r, QColorGroup cg);
+ public native void drawControl(int element, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how, QStyleOption arg7);
+ public native void drawControl(int element, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how);
+ public native void drawControl(int element, QPainter p, QWidget widget, QRect r, QColorGroup cg);
+ public native void drawControlMask(int element, QPainter p, QWidget widget, QRect r, QStyleOption arg5);
+ public native void drawControlMask(int element, QPainter p, QWidget widget, QRect r);
+ public native QRect subRect(int r, QWidget widget);
+ public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how, int sub, int subActive, QStyleOption arg9);
+ public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how, int sub, int subActive);
+ public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how, int sub);
+ public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how);
+ public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg);
+ public native void drawComplexControlMask(int control, QPainter p, QWidget widget, QRect r, QStyleOption arg5);
+ public native void drawComplexControlMask(int control, QPainter p, QWidget widget, QRect r);
+ public native QRect querySubControlMetrics(int control, QWidget widget, int sc, QStyleOption arg4);
+ public native QRect querySubControlMetrics(int control, QWidget widget, int sc);
+ public native int querySubControl(int control, QWidget widget, QPoint pos, QStyleOption arg4);
+ public native int querySubControl(int control, QWidget widget, QPoint pos);
+ public native int pixelMetric(int metric, QWidget widget);
+ public native int pixelMetric(int metric);
+ public native QSize sizeFromContents(int contents, QWidget widget, QSize contentsSize, QStyleOption arg4);
+ public native QSize sizeFromContents(int contents, QWidget widget, QSize contentsSize);
+ // int styleHint(QStyle::StyleHint arg1,const QWidget* arg2,const QStyleOption& arg3,QStyleHintReturn* arg4); >>>> NOT CONVERTED
+ public native int styleHint(int stylehint, QWidget widget, QStyleOption arg3);
+ public native int styleHint(int stylehint, QWidget widget);
+ public native int styleHint(int stylehint);
+ public native QPixmap stylePixmap(int stylepixmap, QWidget widget, QStyleOption arg3);
+ public native QPixmap stylePixmap(int stylepixmap, QWidget widget);
+ public native QPixmap stylePixmap(int stylepixmap);
+ public native int defaultFrameWidth();
+ public native void tabbarMetrics(QWidget t, int[] hf, int[] vf, int[] ov);
+ public native QSize scrollBarExtent();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native QRect visualRect(QRect logical, QWidget w);
+ public static native QRect visualRect(QRect logical, QRect bounding);
+}
diff --git a/qtjava/javalib/org/kde/qt/QStyleFactory.java b/qtjava/javalib/org/kde/qt/QStyleFactory.java
new file mode 100644
index 00000000..884d45d5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QStyleFactory.java
@@ -0,0 +1,24 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QStyleFactory implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QStyleFactory(Class dummy){}
+
+ public QStyleFactory() {
+ newQStyleFactory();
+ }
+ private native void newQStyleFactory();
+ public static native ArrayList keys();
+ public static native QStyle create(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/qtjava/javalib/org/kde/qt/QStyleOption.java b/qtjava/javalib/org/kde/qt/QStyleOption.java
new file mode 100644
index 00000000..fc7ded15
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QStyleOption.java
@@ -0,0 +1,88 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QStyleOption implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QStyleOption(Class dummy){}
+
+ public static final int Default = 0;
+
+ public QStyleOption(int arg1) {
+ newQStyleOption(arg1);
+ }
+ private native void newQStyleOption(int arg1);
+ public QStyleOption() {
+ newQStyleOption();
+ }
+ private native void newQStyleOption();
+ public QStyleOption(int in1, int in2) {
+ newQStyleOption(in1,in2);
+ }
+ private native void newQStyleOption(int in1, int in2);
+ public QStyleOption(int in1, int in2, int in3, int in4) {
+ newQStyleOption(in1,in2,in3,in4);
+ }
+ private native void newQStyleOption(int in1, int in2, int in3, int in4);
+ public QStyleOption(QMenuItem m) {
+ newQStyleOption(m);
+ }
+ private native void newQStyleOption(QMenuItem m);
+ public QStyleOption(QMenuItem m, int in1) {
+ newQStyleOption(m,in1);
+ }
+ private native void newQStyleOption(QMenuItem m, int in1);
+ public QStyleOption(QMenuItem m, int in1, int in2) {
+ newQStyleOption(m,in1,in2);
+ }
+ private native void newQStyleOption(QMenuItem m, int in1, int in2);
+ public QStyleOption(QColor c) {
+ newQStyleOption(c);
+ }
+ private native void newQStyleOption(QColor c);
+ public QStyleOption(QTab t) {
+ newQStyleOption(t);
+ }
+ private native void newQStyleOption(QTab t);
+ public QStyleOption(QListViewItem i) {
+ newQStyleOption(i);
+ }
+ private native void newQStyleOption(QListViewItem i);
+ public QStyleOption(QCheckListItem i) {
+ newQStyleOption(i);
+ }
+ private native void newQStyleOption(QCheckListItem i);
+ public QStyleOption(QRect r) {
+ newQStyleOption(r);
+ }
+ private native void newQStyleOption(QRect r);
+ public QStyleOption(QWidget w) {
+ newQStyleOption(w);
+ }
+ private native void newQStyleOption(QWidget w);
+ public native boolean isDefault();
+ public native int day();
+ public native int lineWidth();
+ public native int midLineWidth();
+ public native int frameShape();
+ public native int frameShadow();
+ public native int headerSection();
+ public native QMenuItem menuItem();
+ public native int maxIconWidth();
+ public native int tabWidth();
+ public native QColor color();
+ public native QTab tab();
+ public native QCheckListItem checkListItem();
+ public native QListViewItem listViewItem();
+ public native int arrowType();
+ public native QRect rect();
+ public native QWidget 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/qtjava/javalib/org/kde/qt/QStyleSheet.java b/qtjava/javalib/org/kde/qt/QStyleSheet.java
new file mode 100644
index 00000000..1e26bced
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QStyleSheet.java
@@ -0,0 +1,44 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QStyleSheet extends QObject {
+ protected QStyleSheet(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QStyleSheet(QObject parent, String name) {
+ super((Class) null);
+ newQStyleSheet(parent,name);
+ }
+ private native void newQStyleSheet(QObject parent, String name);
+ public QStyleSheet(QObject parent) {
+ super((Class) null);
+ newQStyleSheet(parent);
+ }
+ private native void newQStyleSheet(QObject parent);
+ public QStyleSheet() {
+ super((Class) null);
+ newQStyleSheet();
+ }
+ private native void newQStyleSheet();
+ public native QStyleSheetItem item(String name);
+ public native void insert(QStyleSheetItem item);
+ // QTextCustomItem* tag(const QString& arg1,const QMap<QString, QString>& arg2,const QString& arg3,const QMimeSourceFactory& arg4,bool arg5,QTextDocument* arg6); >>>> NOT CONVERTED
+ public native void scaleFont(QFont font, int logicalSize);
+ public native void error(String arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native QStyleSheet defaultSheet();
+ public static native void setDefaultSheet(QStyleSheet arg1);
+ public static native String escape(String arg1);
+ public static native String convertFromPlainText(String arg1, int mode);
+ public static native String convertFromPlainText(String arg1);
+ public static native boolean mightBeRichText(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/qtjava/javalib/org/kde/qt/QStyleSheetItem.java b/qtjava/javalib/org/kde/qt/QStyleSheetItem.java
new file mode 100644
index 00000000..4102c2f7
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QStyleSheetItem.java
@@ -0,0 +1,105 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QStyleSheetItem extends Qt {
+ protected QStyleSheetItem(Class dummy){super((Class) null);}
+ public static final int Undefined = -1;
+
+ public static final int DisplayBlock = 0;
+ public static final int DisplayInline = 1;
+ public static final int DisplayListItem = 2;
+ public static final int DisplayNone = 3;
+ public static final int DisplayModeUndefined = -1;
+
+ public static final int VAlignBaseline = 0;
+ public static final int VAlignSub = 1;
+ public static final int VAlignSuper = 2;
+
+ public static final int WhiteSpaceNormal = 0;
+ public static final int WhiteSpacePre = 1;
+ public static final int WhiteSpaceNoWrap = 2;
+ public static final int WhiteSpaceModeUndefined = -1;
+
+ public static final int MarginLeft = 0;
+ public static final int MarginRight = 1;
+ public static final int MarginTop = 2;
+ public static final int MarginBottom = 3;
+ public static final int MarginFirstLine = 4;
+ public static final int MarginAll = 5;
+ public static final int MarginVertical = 6;
+ public static final int MarginHorizontal = 7;
+ public static final int MarginUndefined = -1;
+
+ public static final int ListDisc = 0;
+ public static final int ListCircle = 1;
+ public static final int ListSquare = 2;
+ public static final int ListDecimal = 3;
+ public static final int ListLowerAlpha = 4;
+ public static final int ListUpperAlpha = 5;
+ public static final int ListStyleUndefined = -1;
+
+ public QStyleSheetItem(QStyleSheet parent, String name) {
+ super((Class) null);
+ newQStyleSheetItem(parent,name);
+ }
+ private native void newQStyleSheetItem(QStyleSheet parent, String name);
+ public QStyleSheetItem(QStyleSheetItem arg1) {
+ super((Class) null);
+ newQStyleSheetItem(arg1);
+ }
+ private native void newQStyleSheetItem(QStyleSheetItem arg1);
+ public native String name();
+ public native QStyleSheet styleSheet();
+ public native int displayMode();
+ public native void setDisplayMode(int m);
+ public native int alignment();
+ public native void setAlignment(int f);
+ public native int verticalAlignment();
+ public native void setVerticalAlignment(int valign);
+ public native int fontWeight();
+ public native void setFontWeight(int w);
+ public native int logicalFontSize();
+ public native void setLogicalFontSize(int s);
+ public native int logicalFontSizeStep();
+ public native void setLogicalFontSizeStep(int s);
+ public native int fontSize();
+ public native void setFontSize(int s);
+ public native String fontFamily();
+ public native void setFontFamily(String arg1);
+ public native int numberOfColumns();
+ public native void setNumberOfColumns(int ncols);
+ public native QColor color();
+ public native void setColor(QColor arg1);
+ public native boolean fontItalic();
+ public native void setFontItalic(boolean arg1);
+ public native boolean definesFontItalic();
+ public native boolean fontUnderline();
+ public native void setFontUnderline(boolean arg1);
+ public native boolean definesFontUnderline();
+ public native boolean fontStrikeOut();
+ public native void setFontStrikeOut(boolean arg1);
+ public native boolean definesFontStrikeOut();
+ public native boolean isAnchor();
+ public native void setAnchor(boolean anc);
+ public native int whiteSpaceMode();
+ public native void setWhiteSpaceMode(int m);
+ public native int margin(int m);
+ public native void setMargin(int arg1, int arg2);
+ public native int listStyle();
+ public native void setListStyle(int arg1);
+ public native String contexts();
+ public native void setContexts(String arg1);
+ public native boolean allowedInContext(QStyleSheetItem arg1);
+ public native boolean selfNesting();
+ public native void setSelfNesting(boolean arg1);
+ public native void setLineSpacing(int ls);
+ public native int lineSpacing();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QSyntaxHighlighter.java b/qtjava/javalib/org/kde/qt/QSyntaxHighlighter.java
new file mode 100644
index 00000000..d246c901
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSyntaxHighlighter.java
@@ -0,0 +1,15 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QSyntaxHighlighter extends Qt {
+ protected QSyntaxHighlighter(Class dummy){super((Class) null);}
+ public native int highlightParagraph(String text, int endStateOfLastPara);
+ public native void setFormat(int start, int count, QFont font, QColor color);
+ public native void setFormat(int start, int count, QColor color);
+ public native void setFormat(int start, int count, QFont font);
+ public native QTextEdit textEdit();
+ public native void rehighlight();
+ public native int currentParagraph();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTab.java b/qtjava/javalib/org/kde/qt/QTab.java
new file mode 100644
index 00000000..e4e383cf
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTab.java
@@ -0,0 +1,44 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTab extends Qt {
+ protected QTab(Class dummy){super((Class) null);}
+ public QTab() {
+ super((Class) null);
+ newQTab();
+ }
+ private native void newQTab();
+ public QTab(String text) {
+ super((Class) null);
+ newQTab(text);
+ }
+ private native void newQTab(String text);
+ public QTab(QIconSet icon, String text) {
+ super((Class) null);
+ newQTab(icon,text);
+ }
+ private native void newQTab(QIconSet icon, String text);
+ public QTab(QIconSet icon) {
+ super((Class) null);
+ newQTab(icon);
+ }
+ private native void newQTab(QIconSet icon);
+ public native void setText(String text);
+ public native String text();
+ public native void setIconSet(QIconSet icon);
+ public native QIconSet iconSet();
+ public native void setRect(QRect rect);
+ public native QRect rect();
+ public native void setEnabled(boolean enable);
+ public native boolean isEnabled();
+ public native void setIdentifier(int i);
+ public native int identifier();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTabBar.java b/qtjava/javalib/org/kde/qt/QTabBar.java
new file mode 100644
index 00000000..2a7917a5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTabBar.java
@@ -0,0 +1,79 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QTabBarSignals} for signals emitted by QTabBar
+*/
+public class QTabBar extends QWidget {
+ protected QTabBar(Class dummy){super((Class) null);}
+ public static final int RoundedAbove = 0;
+ public static final int RoundedBelow = 1;
+ public static final int TriangularAbove = 2;
+ public static final int TriangularBelow = 3;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QTabBar(QWidget parent, String name) {
+ super((Class) null);
+ newQTabBar(parent,name);
+ }
+ private native void newQTabBar(QWidget parent, String name);
+ public QTabBar(QWidget parent) {
+ super((Class) null);
+ newQTabBar(parent);
+ }
+ private native void newQTabBar(QWidget parent);
+ public QTabBar() {
+ super((Class) null);
+ newQTabBar();
+ }
+ private native void newQTabBar();
+ public native int shape();
+ public native void setShape(int arg1);
+ public native void show();
+ public native int addTab(QTab arg1);
+ public native int insertTab(QTab arg1, int index);
+ public native int insertTab(QTab arg1);
+ public native void removeTab(QTab arg1);
+ public native void setTabEnabled(int arg1, boolean arg2);
+ public native boolean isTabEnabled(int arg1);
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native int currentTab();
+ public native int keyboardFocusTab();
+ public native QTab tab(int arg1);
+ public native QTab tabAt(int arg1);
+ public native int indexOf(int arg1);
+ public native int count();
+ public native void layoutTabs();
+ public native QTab selectTab(QPoint p);
+ public native void removeToolTip(int index);
+ public native void setToolTip(int index, String tip);
+ public native String toolTip(int index);
+ public native void setCurrentTab(int arg1);
+ public native void setCurrentTab(QTab arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void paint(QPainter arg1, QTab arg2, boolean arg3);
+ protected native void paintLabel(QPainter arg1, QRect arg2, QTab arg3, boolean arg4);
+ protected native void focusInEvent(QFocusEvent e);
+ protected native void focusOutEvent(QFocusEvent e);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ public native void styleChange(QStyle arg1);
+ protected native void fontChange(QFont arg1);
+ public native boolean event(QEvent e);
+ // QPtrList<QTab>* tabList(); >>>> 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/qtjava/javalib/org/kde/qt/QTabBarSignals.java b/qtjava/javalib/org/kde/qt/QTabBarSignals.java
new file mode 100644
index 00000000..b196674b
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTabBarSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QTabBarSignals {
+ void selected(int arg1);
+ void layoutChanged();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTabDialog.java b/qtjava/javalib/org/kde/qt/QTabDialog.java
new file mode 100644
index 00000000..9629c348
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTabDialog.java
@@ -0,0 +1,89 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QTabDialogSignals} for signals emitted by QTabDialog
+*/
+public class QTabDialog extends QDialog {
+ protected QTabDialog(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QTabDialog(QWidget parent, String name, boolean modal, int f) {
+ super((Class) null);
+ newQTabDialog(parent,name,modal,f);
+ }
+ private native void newQTabDialog(QWidget parent, String name, boolean modal, int f);
+ public QTabDialog(QWidget parent, String name, boolean modal) {
+ super((Class) null);
+ newQTabDialog(parent,name,modal);
+ }
+ private native void newQTabDialog(QWidget parent, String name, boolean modal);
+ public QTabDialog(QWidget parent, String name) {
+ super((Class) null);
+ newQTabDialog(parent,name);
+ }
+ private native void newQTabDialog(QWidget parent, String name);
+ public QTabDialog(QWidget parent) {
+ super((Class) null);
+ newQTabDialog(parent);
+ }
+ private native void newQTabDialog(QWidget parent);
+ public QTabDialog() {
+ super((Class) null);
+ newQTabDialog();
+ }
+ private native void newQTabDialog();
+ public native void show();
+ public native void setFont(QFont font);
+ public native void addTab(QWidget arg1, String arg2);
+ public native void addTab(QWidget child, QIconSet iconset, String label);
+ public native void addTab(QWidget arg1, QTab arg2);
+ public native void insertTab(QWidget arg1, String arg2, int index);
+ public native void insertTab(QWidget arg1, String arg2);
+ public native void insertTab(QWidget child, QIconSet iconset, String label, int index);
+ public native void insertTab(QWidget child, QIconSet iconset, String label);
+ public native void insertTab(QWidget arg1, QTab arg2, int index);
+ public native void insertTab(QWidget arg1, QTab arg2);
+ public native void changeTab(QWidget arg1, String arg2);
+ public native void changeTab(QWidget child, QIconSet iconset, String label);
+ public native boolean isTabEnabled(QWidget arg1);
+ public native void setTabEnabled(QWidget arg1, boolean arg2);
+ public native boolean isTabEnabled(String arg1);
+ public native void setTabEnabled(String arg1, boolean arg2);
+ public native void showPage(QWidget arg1);
+ public native void removePage(QWidget arg1);
+ public native String tabLabel(QWidget arg1);
+ public native QWidget currentPage();
+ public native void setDefaultButton(String text);
+ public native void setDefaultButton();
+ public native boolean hasDefaultButton();
+ public native void setHelpButton(String text);
+ public native void setHelpButton();
+ public native boolean hasHelpButton();
+ public native void setCancelButton(String text);
+ public native void setCancelButton();
+ public native boolean hasCancelButton();
+ public native void setApplyButton(String text);
+ public native void setApplyButton();
+ public native boolean hasApplyButton();
+ public native void setOKButton(String text);
+ public native void setOKButton();
+ public native void setOkButton(String text);
+ public native void setOkButton();
+ public native boolean hasOkButton();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ public native void styleChange(QStyle arg1);
+ protected native void setTabBar(QTabBar arg1);
+ protected native QTabBar tabBar();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTabDialogSignals.java b/qtjava/javalib/org/kde/qt/QTabDialogSignals.java
new file mode 100644
index 00000000..f8c2e06d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTabDialogSignals.java
@@ -0,0 +1,13 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QTabDialogSignals {
+ void aboutToShow();
+ void applyButtonPressed();
+ void cancelButtonPressed();
+ void defaultButtonPressed();
+ void helpButtonPressed();
+ void currentChanged(QWidget arg1);
+ void selected(String arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QTabWidget.java b/qtjava/javalib/org/kde/qt/QTabWidget.java
new file mode 100644
index 00000000..20496804
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTabWidget.java
@@ -0,0 +1,95 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QTabWidgetSignals} for signals emitted by QTabWidget
+*/
+public class QTabWidget extends QWidget {
+ protected QTabWidget(Class dummy){super((Class) null);}
+ public static final int Top = 0;
+ public static final int Bottom = 1;
+
+ public static final int Rounded = 0;
+ public static final int Triangular = 1;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QTabWidget(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQTabWidget(parent,name,f);
+ }
+ private native void newQTabWidget(QWidget parent, String name, int f);
+ public QTabWidget(QWidget parent, String name) {
+ super((Class) null);
+ newQTabWidget(parent,name);
+ }
+ private native void newQTabWidget(QWidget parent, String name);
+ public QTabWidget(QWidget parent) {
+ super((Class) null);
+ newQTabWidget(parent);
+ }
+ private native void newQTabWidget(QWidget parent);
+ public QTabWidget() {
+ super((Class) null);
+ newQTabWidget();
+ }
+ private native void newQTabWidget();
+ public native void addTab(QWidget arg1, String arg2);
+ public native void addTab(QWidget child, QIconSet iconset, String label);
+ public native void addTab(QWidget arg1, QTab arg2);
+ public native void insertTab(QWidget arg1, String arg2, int index);
+ public native void insertTab(QWidget arg1, String arg2);
+ public native void insertTab(QWidget child, QIconSet iconset, String label, int index);
+ public native void insertTab(QWidget child, QIconSet iconset, String label);
+ public native void insertTab(QWidget arg1, QTab arg2, int index);
+ public native void insertTab(QWidget arg1, QTab arg2);
+ public native void changeTab(QWidget arg1, String arg2);
+ public native void changeTab(QWidget child, QIconSet iconset, String label);
+ public native boolean isTabEnabled(QWidget arg1);
+ public native void setTabEnabled(QWidget arg1, boolean arg2);
+ public native void setCornerWidget(QWidget w, int corner);
+ public native void setCornerWidget(QWidget w);
+ public native QWidget cornerWidget(int corner);
+ public native QWidget cornerWidget();
+ public native String tabLabel(QWidget arg1);
+ public native void setTabLabel(QWidget p, String l);
+ public native QIconSet tabIconSet(QWidget w);
+ public native void setTabIconSet(QWidget w, QIconSet iconset);
+ public native void removeTabToolTip(QWidget w);
+ public native void setTabToolTip(QWidget w, String tip);
+ public native String tabToolTip(QWidget w);
+ public native QWidget currentPage();
+ public native QWidget page(int arg1);
+ public native String label(int arg1);
+ public native int currentPageIndex();
+ public native int indexOf(QWidget arg1);
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native int tabPosition();
+ public native void setTabPosition(int arg1);
+ public native int tabShape();
+ public native void setTabShape(int s);
+ public native int margin();
+ public native void setMargin(int arg1);
+ public native int count();
+ public native void setCurrentPage(int arg1);
+ public native void showPage(QWidget arg1);
+ public native void removePage(QWidget arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public native void showEvent(QShowEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void setTabBar(QTabBar arg1);
+ protected native QTabBar tabBar();
+ public native void styleChange(QStyle arg1);
+ protected native void updateMask();
+ public native boolean eventFilter(QObject arg1, QEvent 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/qtjava/javalib/org/kde/qt/QTabWidgetSignals.java b/qtjava/javalib/org/kde/qt/QTabWidgetSignals.java
new file mode 100644
index 00000000..933aadb6
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTabWidgetSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QTabWidgetSignals {
+ void currentChanged(QWidget arg1);
+ void selected(String arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QTable.java b/qtjava/javalib/org/kde/qt/QTable.java
new file mode 100644
index 00000000..cf249fbe
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTable.java
@@ -0,0 +1,212 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QTableSignals} for signals emitted by QTable
+*/
+public class QTable extends QScrollView {
+ protected QTable(Class dummy){super((Class) null);}
+ public static final int Single = 0;
+ public static final int Multi = 1;
+ public static final int SingleRow = 2;
+ public static final int MultiRow = 3;
+ public static final int NoSelection = 4;
+
+ public static final int FollowStyle = 0;
+ public static final int SpreadSheet = 1;
+
+ public static final int NotEditing = 0;
+ public static final int Editing = 1;
+ public static final int Replacing = 2;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QTable(QWidget parent, String name) {
+ super((Class) null);
+ newQTable(parent,name);
+ }
+ private native void newQTable(QWidget parent, String name);
+ public QTable(QWidget parent) {
+ super((Class) null);
+ newQTable(parent);
+ }
+ private native void newQTable(QWidget parent);
+ public QTable() {
+ super((Class) null);
+ newQTable();
+ }
+ private native void newQTable();
+ public QTable(int numRows, int numCols, QWidget parent, String name) {
+ super((Class) null);
+ newQTable(numRows,numCols,parent,name);
+ }
+ private native void newQTable(int numRows, int numCols, QWidget parent, String name);
+ public QTable(int numRows, int numCols, QWidget parent) {
+ super((Class) null);
+ newQTable(numRows,numCols,parent);
+ }
+ private native void newQTable(int numRows, int numCols, QWidget parent);
+ public QTable(int numRows, int numCols) {
+ super((Class) null);
+ newQTable(numRows,numCols);
+ }
+ private native void newQTable(int numRows, int numCols);
+ public native QHeader horizontalHeader();
+ public native QHeader verticalHeader();
+ public native void setSelectionMode(int mode);
+ public native int selectionMode();
+ public native void setItem(int row, int col, QTableItem item);
+ public native void setText(int row, int col, String text);
+ public native void setPixmap(int row, int col, QPixmap pix);
+ public native QTableItem item(int row, int col);
+ public native String text(int row, int col);
+ public native QPixmap pixmap(int row, int col);
+ public native void clearCell(int row, int col);
+ public native QRect cellGeometry(int row, int col);
+ public native int columnWidth(int col);
+ public native int rowHeight(int row);
+ public native int columnPos(int col);
+ public native int rowPos(int row);
+ public native int columnAt(int x);
+ public native int rowAt(int y);
+ public native int numRows();
+ public native int numCols();
+ public native void updateCell(int row, int col);
+ public native boolean eventFilter(QObject o, QEvent arg2);
+ public native int currentRow();
+ public native int currentColumn();
+ public native void ensureCellVisible(int row, int col);
+ public native boolean isSelected(int row, int col);
+ public native boolean isRowSelected(int row, boolean full);
+ public native boolean isRowSelected(int row);
+ public native boolean isColumnSelected(int col, boolean full);
+ public native boolean isColumnSelected(int col);
+ public native int numSelections();
+ public native QTableSelection selection(int num);
+ public native int addSelection(QTableSelection s);
+ public native void removeSelection(QTableSelection s);
+ public native void removeSelection(int num);
+ public native int currentSelection();
+ public native void selectCells(int start_row, int start_col, int end_row, int end_col);
+ public native void selectRow(int row);
+ public native void selectColumn(int col);
+ public native boolean showGrid();
+ public native boolean columnMovingEnabled();
+ public native boolean rowMovingEnabled();
+ public native void sortColumn(int col, boolean ascending, boolean wholeRows);
+ public native void sortColumn(int col, boolean ascending);
+ public native void sortColumn(int col);
+ public native boolean sortOnInsert();
+ public native void takeItem(QTableItem i);
+ public native void setCellWidget(int row, int col, QWidget e);
+ public native QWidget cellWidget(int row, int col);
+ public native void clearCellWidget(int row, int col);
+ public native QRect cellRect(int row, int col);
+ public native void paintCell(QPainter p, int row, int col, QRect cr, boolean selected);
+ public native void paintCell(QPainter p, int row, int col, QRect cr, boolean selected, QColorGroup cg);
+ public native void paintFocus(QPainter p, QRect r);
+ public native QSize sizeHint();
+ public native boolean isReadOnly();
+ public native boolean isRowReadOnly(int row);
+ public native boolean isColumnReadOnly(int col);
+ public native void setEnabled(boolean b);
+ public native void repaintSelections();
+ public native void setFocusStyle(int fs);
+ public native int focusStyle();
+ public native void updateHeaderStates();
+ public native void setNumRows(int r);
+ public native void setNumCols(int r);
+ public native void setShowGrid(boolean b);
+ public native void hideRow(int row);
+ public native void hideColumn(int col);
+ public native void showRow(int row);
+ public native void showColumn(int col);
+ public native boolean isRowHidden(int row);
+ public native boolean isColumnHidden(int col);
+ public native void setColumnWidth(int col, int w);
+ public native void setRowHeight(int row, int h);
+ public native void adjustColumn(int col);
+ public native void adjustRow(int row);
+ public native void setColumnStretchable(int col, boolean stretch);
+ public native void setRowStretchable(int row, boolean stretch);
+ public native boolean isColumnStretchable(int col);
+ public native boolean isRowStretchable(int row);
+ public native void setSorting(boolean b);
+ public native void swapRows(int row1, int row2, boolean swapHeader);
+ public native void swapRows(int row1, int row2);
+ public native void swapColumns(int col1, int col2, boolean swapHeader);
+ public native void swapColumns(int col1, int col2);
+ public native void swapCells(int row1, int col1, int row2, int col2);
+ public native void setLeftMargin(int m);
+ public native void setTopMargin(int m);
+ public native void setCurrentCell(int row, int col);
+ public native void clearSelection(boolean repaint);
+ public native void clearSelection();
+ public native void setColumnMovingEnabled(boolean b);
+ public native void setRowMovingEnabled(boolean b);
+ public native void setReadOnly(boolean b);
+ public native void setRowReadOnly(int row, boolean ro);
+ public native void setColumnReadOnly(int col, boolean ro);
+ public native void setDragEnabled(boolean b);
+ public native boolean dragEnabled();
+ public native void insertRows(int row, int count);
+ public native void insertRows(int row);
+ public native void insertColumns(int col, int count);
+ public native void insertColumns(int col);
+ public native void removeRow(int row);
+ // void removeRows(const QMemArray<int>& arg1); >>>> NOT CONVERTED
+ public native void removeColumn(int col);
+ // void removeColumns(const QMemArray<int>& arg1); >>>> NOT CONVERTED
+ public native void editCell(int row, int col, boolean replace);
+ public native void editCell(int row, int col);
+ public native void setRowLabels(String[] labels);
+ public native void setColumnLabels(String[] labels);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawContents(QPainter p, int cx, int cy, int cw, int ch);
+ protected native void contentsMousePressEvent(QMouseEvent arg1);
+ protected native void contentsMouseMoveEvent(QMouseEvent arg1);
+ protected native void contentsMouseDoubleClickEvent(QMouseEvent arg1);
+ protected native void contentsMouseReleaseEvent(QMouseEvent arg1);
+ protected native void contentsContextMenuEvent(QContextMenuEvent e);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ protected native void focusInEvent(QFocusEvent arg1);
+ protected native void focusOutEvent(QFocusEvent arg1);
+ protected native void viewportResizeEvent(QResizeEvent arg1);
+ public native void showEvent(QShowEvent e);
+ protected native void paintEvent(QPaintEvent e);
+ // void setEditMode(QTable::EditMode arg1,int arg2,int arg3); >>>> NOT CONVERTED
+ protected native void contentsDragEnterEvent(QDragEnterEvent e);
+ protected native void contentsDragMoveEvent(QDragMoveEvent e);
+ protected native void contentsDragLeaveEvent(QDragLeaveEvent e);
+ protected native void contentsDropEvent(QDropEvent e);
+ protected native QDragObject dragObject();
+ protected native void startDrag();
+ protected native void paintEmptyArea(QPainter p, int cx, int cy, int cw, int ch);
+ protected native void activateNextCell();
+ protected native QWidget createEditor(int row, int col, boolean initFromCell);
+ protected native void setCellContentFromEditor(int row, int col);
+ protected native QWidget beginEdit(int row, int col, boolean replace);
+ protected native void endEdit(int row, int col, boolean accept, boolean replace);
+ protected native void resizeData(int len);
+ protected native void insertWidget(int row, int col, QWidget w);
+ protected native int indexOf(int row, int col);
+ protected native void windowActivationChange(boolean arg1);
+ protected native boolean isEditing();
+ // QTable::EditMode editMode(); >>>> NOT CONVERTED
+ protected native int currEditRow();
+ protected native int currEditCol();
+ protected native void columnWidthChanged(int col);
+ protected native void rowHeightChanged(int row);
+ protected native void columnIndexChanged(int section, int fromIndex, int toIndex);
+ protected native void rowIndexChanged(int section, int fromIndex, int toIndex);
+ protected native void columnClicked(int 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/qtjava/javalib/org/kde/qt/QTableItem.java b/qtjava/javalib/org/kde/qt/QTableItem.java
new file mode 100644
index 00000000..adbb8b8a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTableItem.java
@@ -0,0 +1,61 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTableItem extends Qt {
+ protected QTableItem(Class dummy){super((Class) null);}
+ public static final int Never = 0;
+ public static final int OnTyping = 1;
+ public static final int WhenCurrent = 2;
+ public static final int Always = 3;
+
+ public QTableItem(QTable table, int et) {
+ super((Class) null);
+ newQTableItem(table,et);
+ }
+ private native void newQTableItem(QTable table, int et);
+ public QTableItem(QTable table, int et, String text) {
+ super((Class) null);
+ newQTableItem(table,et,text);
+ }
+ private native void newQTableItem(QTable table, int et, String text);
+ public QTableItem(QTable table, int et, String text, QPixmap p) {
+ super((Class) null);
+ newQTableItem(table,et,text,p);
+ }
+ private native void newQTableItem(QTable table, int et, String text, QPixmap p);
+ public native QPixmap pixmap();
+ public native String text();
+ public native void setPixmap(QPixmap p);
+ public native void setText(String t);
+ public native QTable table();
+ public native int alignment();
+ public native void setWordWrap(boolean b);
+ public native boolean wordWrap();
+ public native int editType();
+ public native QWidget createEditor();
+ public native void setContentFromEditor(QWidget w);
+ public native void setReplaceable(boolean arg1);
+ public native boolean isReplaceable();
+ public native String key();
+ public native QSize sizeHint();
+ public native void setSpan(int rs, int cs);
+ public native int rowSpan();
+ public native int colSpan();
+ public native void setRow(int r);
+ public native void setCol(int c);
+ public native int row();
+ public native int col();
+ public native void paint(QPainter p, QColorGroup cg, QRect cr, boolean selected);
+ public native void updateEditor(int oldRow, int oldCol);
+ public native void setEnabled(boolean b);
+ public native boolean isEnabled();
+ public native int rtti();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTableSelection.java b/qtjava/javalib/org/kde/qt/QTableSelection.java
new file mode 100644
index 00000000..26550e79
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTableSelection.java
@@ -0,0 +1,39 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTableSelection implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QTableSelection(Class dummy){}
+
+ public QTableSelection() {
+ newQTableSelection();
+ }
+ private native void newQTableSelection();
+ public QTableSelection(int start_row, int start_col, int end_row, int end_col) {
+ newQTableSelection(start_row,start_col,end_row,end_col);
+ }
+ private native void newQTableSelection(int start_row, int start_col, int end_row, int end_col);
+ public native void init(int row, int col);
+ public native void expandTo(int row, int col);
+ public native boolean op_equals(QTableSelection s);
+ public native boolean op_not_equals(QTableSelection s);
+ public native int topRow();
+ public native int bottomRow();
+ public native int leftCol();
+ public native int rightCol();
+ public native int anchorRow();
+ public native int anchorCol();
+ public native int numRows();
+ public native int numCols();
+ public native boolean isActive();
+ public native boolean isEmpty();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTableSignals.java b/qtjava/javalib/org/kde/qt/QTableSignals.java
new file mode 100644
index 00000000..f656f4c9
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTableSignals.java
@@ -0,0 +1,14 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QTableSignals {
+ void currentChanged(int row, int col);
+ void clicked(int row, int col, int button, QPoint mousePos);
+ void doubleClicked(int row, int col, int button, QPoint mousePos);
+ void pressed(int row, int col, int button, QPoint mousePos);
+ void selectionChanged();
+ void valueChanged(int row, int col);
+ void contextMenuRequested(int row, int col, QPoint pos);
+ void dropped(QDropEvent e);
+}
diff --git a/qtjava/javalib/org/kde/qt/QTabletEvent.java b/qtjava/javalib/org/kde/qt/QTabletEvent.java
new file mode 100644
index 00000000..2da895c5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTabletEvent.java
@@ -0,0 +1,35 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTabletEvent extends QEvent {
+ protected QTabletEvent(Class dummy){super((Class) null);}
+ public static final int NoDevice = -1;
+ public static final int Puck = 0;
+ public static final int Stylus = 1;
+ public static final int Eraser = 2;
+
+ // QTabletEvent* QTabletEvent(QEvent::Type arg1,const QPoint& arg2,const QPoint& arg3,int arg4,int arg5,int arg6,int arg7,const QPair<int, int>& arg8); >>>> NOT CONVERTED
+ // QTabletEvent* QTabletEvent(const QPoint& arg1,const QPoint& arg2,int arg3,int arg4,int arg5,int arg6,const QPair<int, int>& arg7); >>>> NOT CONVERTED
+ public native int pressure();
+ public native int xTilt();
+ public native int yTilt();
+ public native QPoint pos();
+ public native QPoint globalPos();
+ public native int x();
+ public native int y();
+ public native int globalX();
+ public native int globalY();
+ public native int device();
+ public native int isAccepted();
+ public native void accept();
+ public native void ignore();
+ // QPair<int, int> uniqueId(); >>>> 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/qtjava/javalib/org/kde/qt/QTextBrowser.java b/qtjava/javalib/org/kde/qt/QTextBrowser.java
new file mode 100644
index 00000000..6a355738
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTextBrowser.java
@@ -0,0 +1,45 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QTextBrowserSignals} for signals emitted by QTextBrowser
+*/
+public class QTextBrowser extends QTextEdit {
+ protected QTextBrowser(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QTextBrowser(QWidget parent, String name) {
+ super((Class) null);
+ newQTextBrowser(parent,name);
+ }
+ private native void newQTextBrowser(QWidget parent, String name);
+ public QTextBrowser(QWidget parent) {
+ super((Class) null);
+ newQTextBrowser(parent);
+ }
+ private native void newQTextBrowser(QWidget parent);
+ public QTextBrowser() {
+ super((Class) null);
+ newQTextBrowser();
+ }
+ private native void newQTextBrowser();
+ public native String source();
+ public native void setSource(String name);
+ public native void backward();
+ public native void forward();
+ public native void home();
+ public native void reload();
+ public native void setText(String txt);
+ public native void setText(String txt, String context);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void keyPressEvent(QKeyEvent 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/qtjava/javalib/org/kde/qt/QTextBrowserSignals.java b/qtjava/javalib/org/kde/qt/QTextBrowserSignals.java
new file mode 100644
index 00000000..0d2c0004
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTextBrowserSignals.java
@@ -0,0 +1,12 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QTextBrowserSignals {
+ void backwardAvailable(boolean arg1);
+ void forwardAvailable(boolean arg1);
+ void sourceChanged(String arg1);
+ void highlighted(String arg1);
+ void linkClicked(String arg1);
+ void anchorClicked(String arg1, String arg2);
+}
diff --git a/qtjava/javalib/org/kde/qt/QTextCodec.java b/qtjava/javalib/org/kde/qt/QTextCodec.java
new file mode 100644
index 00000000..5b27de17
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTextCodec.java
@@ -0,0 +1,43 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTextCodec implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QTextCodec(Class dummy){}
+
+ public native String name();
+ public native String mimeName();
+ public native int mibEnum();
+ public native QTextDecoder makeDecoder();
+ public native QTextEncoder makeEncoder();
+ public native String toUnicode(String chars, int len);
+ public native String fromUnicode(String uc, int[] lenInOut);
+ public native String fromUnicode(String uc);
+ public native String toUnicode(byte[] arg1, int len);
+ public native String toUnicode(byte[] arg1);
+ public native String toUnicode(String arg1);
+ public native boolean canEncode(char arg1);
+ public native boolean canEncode(String arg1);
+ public native int heuristicContentMatch(String chars, int len);
+ public native int heuristicNameMatch(String hint);
+ public native byte[] fromUnicode(String uc, int from, int len);
+ public native short characterFromUnicode(String str, int pos);
+ public static native QTextCodec loadCharmap(QIODeviceInterface arg1);
+ public static native QTextCodec loadCharmapFile(String filename);
+ public static native QTextCodec codecForMib(int mib);
+ public static native QTextCodec codecForName(String hint, int accuracy);
+ public static native QTextCodec codecForName(String hint);
+ public static native QTextCodec codecForContent(String chars, int len);
+ public static native QTextCodec codecForIndex(int i);
+ public static native QTextCodec codecForLocale();
+ public static native void setCodecForLocale(QTextCodec c);
+ public static native QTextCodec codecForTr();
+ public static native void setCodecForTr(QTextCodec c);
+ public static native QTextCodec codecForCStrings();
+ public static native void setCodecForCStrings(QTextCodec c);
+ public static native void deleteAllCodecs();
+ public static native String locale();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTextDecoder.java b/qtjava/javalib/org/kde/qt/QTextDecoder.java
new file mode 100644
index 00000000..51855e90
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTextDecoder.java
@@ -0,0 +1,12 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTextDecoder implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QTextDecoder(Class dummy){}
+
+ public native String toUnicode(String chars, int len);
+}
diff --git a/qtjava/javalib/org/kde/qt/QTextDrag.java b/qtjava/javalib/org/kde/qt/QTextDrag.java
new file mode 100644
index 00000000..961e768c
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTextDrag.java
@@ -0,0 +1,55 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTextDrag extends QDragObject {
+ protected QTextDrag(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QTextDrag(String arg1, QWidget dragSource, String name) {
+ super((Class) null);
+ newQTextDrag(arg1,dragSource,name);
+ }
+ private native void newQTextDrag(String arg1, QWidget dragSource, String name);
+ public QTextDrag(String arg1, QWidget dragSource) {
+ super((Class) null);
+ newQTextDrag(arg1,dragSource);
+ }
+ private native void newQTextDrag(String arg1, QWidget dragSource);
+ public QTextDrag(String arg1) {
+ super((Class) null);
+ newQTextDrag(arg1);
+ }
+ private native void newQTextDrag(String arg1);
+ public QTextDrag(QWidget dragSource, String name) {
+ super((Class) null);
+ newQTextDrag(dragSource,name);
+ }
+ private native void newQTextDrag(QWidget dragSource, String name);
+ public QTextDrag(QWidget dragSource) {
+ super((Class) null);
+ newQTextDrag(dragSource);
+ }
+ private native void newQTextDrag(QWidget dragSource);
+ public QTextDrag() {
+ super((Class) null);
+ newQTextDrag();
+ }
+ private native void newQTextDrag();
+ public native void setText(String arg1);
+ public native void setSubtype(String arg1);
+ public native String format(int i);
+ public native byte[] encodedData(String arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native boolean canDecode(QMimeSourceInterface e);
+ public static native boolean decode(QMimeSourceInterface e, StringBuffer s);
+ public static native boolean decode(QMimeSourceInterface e, StringBuffer s, StringBuffer subtype);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTextEdit.java b/qtjava/javalib/org/kde/qt/QTextEdit.java
new file mode 100644
index 00000000..829ea8ba
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTextEdit.java
@@ -0,0 +1,262 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QTextEditSignals} for signals emitted by QTextEdit
+*/
+public class QTextEdit extends QScrollView {
+ protected QTextEdit(Class dummy){super((Class) null);}
+ public static final int NoWrap = 0;
+ public static final int WidgetWidth = 1;
+ public static final int FixedPixelWidth = 2;
+ public static final int FixedColumnWidth = 3;
+
+ public static final int AtWordBoundary = 0;
+ public static final int AtWhiteSpace = AtWordBoundary;
+ public static final int Anywhere = 1;
+ public static final int AtWordOrDocumentBoundary = 2;
+
+ public static final int AutoNone = 0;
+ public static final int AutoBulletList = 0x00000001;
+ public static final int AutoAll = 0xffffffff;
+
+ public static final int ActionBackspace = 0;
+ public static final int ActionDelete = 1;
+ public static final int ActionReturn = 2;
+ public static final int ActionKill = 3;
+ public static final int ActionWordBackspace = 4;
+ public static final int ActionWordDelete = 5;
+
+ public static final int MoveBackward = 0;
+ public static final int MoveForward = 1;
+ public static final int MoveWordBackward = 2;
+ public static final int MoveWordForward = 3;
+ public static final int MoveUp = 4;
+ public static final int MoveDown = 5;
+ public static final int MoveLineStart = 6;
+ public static final int MoveLineEnd = 7;
+ public static final int MoveHome = 8;
+ public static final int MoveEnd = 9;
+ public static final int MovePgUp = 10;
+ public static final int MovePgDown = 11;
+
+ public static final int AlignNormal = 0;
+ public static final int AlignSuperScript = 1;
+ public static final int AlignSubScript = 2;
+
+ public static final int RedoIndentation = 0x0001;
+ public static final int CheckNewLines = 0x0002;
+ public static final int RemoveSelected = 0x0004;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QTextEdit(String text, String context, QWidget parent, String name) {
+ super((Class) null);
+ newQTextEdit(text,context,parent,name);
+ }
+ private native void newQTextEdit(String text, String context, QWidget parent, String name);
+ public QTextEdit(String text, String context, QWidget parent) {
+ super((Class) null);
+ newQTextEdit(text,context,parent);
+ }
+ private native void newQTextEdit(String text, String context, QWidget parent);
+ public QTextEdit(String text, String context) {
+ super((Class) null);
+ newQTextEdit(text,context);
+ }
+ private native void newQTextEdit(String text, String context);
+ public QTextEdit(String text) {
+ super((Class) null);
+ newQTextEdit(text);
+ }
+ private native void newQTextEdit(String text);
+ public QTextEdit(QWidget parent, String name) {
+ super((Class) null);
+ newQTextEdit(parent,name);
+ }
+ private native void newQTextEdit(QWidget parent, String name);
+ public QTextEdit(QWidget parent) {
+ super((Class) null);
+ newQTextEdit(parent);
+ }
+ private native void newQTextEdit(QWidget parent);
+ public QTextEdit() {
+ super((Class) null);
+ newQTextEdit();
+ }
+ private native void newQTextEdit();
+ public native void setPalette(QPalette arg1);
+ public native String text();
+ public native String text(int para);
+ public native int textFormat();
+ public native String context();
+ public native String documentTitle();
+ public native void getSelection(int[] paraFrom, int[] indexFrom, int[] paraTo, int[] indexTo, int selNum);
+ public native void getSelection(int[] paraFrom, int[] indexFrom, int[] paraTo, int[] indexTo);
+ public native boolean find(String expr, boolean cs, boolean wo, boolean forward, int[] para, int[] index);
+ public native boolean find(String expr, boolean cs, boolean wo, boolean forward, int[] para);
+ public native boolean find(String expr, boolean cs, boolean wo, boolean forward);
+ public native boolean find(String expr, boolean cs, boolean wo);
+ public native int paragraphs();
+ public native int lines();
+ public native int linesOfParagraph(int para);
+ public native int lineOfChar(int para, int chr);
+ public native int length();
+ public native QRect paragraphRect(int para);
+ public native int paragraphAt(QPoint pos);
+ public native int charAt(QPoint pos, int[] para);
+ public native int paragraphLength(int para);
+ public native QStyleSheet styleSheet();
+ public native QMimeSourceFactory mimeSourceFactory();
+ public native QBrush paper();
+ public native boolean linkUnderline();
+ public native int heightForWidth(int w);
+ public native boolean hasSelectedText();
+ public native String selectedText();
+ public native boolean isUndoAvailable();
+ public native boolean isRedoAvailable();
+ public native int wordWrap();
+ public native int wrapColumnOrWidth();
+ public native int wrapPolicy();
+ public native int tabStopWidth();
+ public native String anchorAt(QPoint pos);
+ public native String anchorAt(QPoint pos, int a);
+ public native QSize sizeHint();
+ public native boolean isReadOnly();
+ public native void getCursorPosition(int[] parag, int[] index);
+ public native boolean isModified();
+ public native boolean italic();
+ public native boolean bold();
+ public native boolean underline();
+ public native String family();
+ public native int pointSize();
+ public native QColor color();
+ public native QFont font();
+ public native QFont currentFont();
+ public native int alignment();
+ public native int undoDepth();
+ public native boolean getFormat(int para, int index, QFont font, QColor color, int verticalAlignment);
+ public native boolean getParagraphFormat(int para, QFont font, QColor color, int verticalAlignment, int[] alignment, int displayMode, int listStyle, int[] listDepth);
+ public native boolean isOverwriteMode();
+ public native QColor paragraphBackgroundColor(int para);
+ public native boolean isUndoRedoEnabled();
+ public native boolean eventFilter(QObject o, QEvent e);
+ public native boolean tabChangesFocus();
+ public native void setAutoFormatting(int features);
+ public native int autoFormatting();
+ public native QSyntaxHighlighter syntaxHighlighter();
+ public native void setEnabled(boolean arg1);
+ public native void setMimeSourceFactory(QMimeSourceFactory factory);
+ public native void setStyleSheet(QStyleSheet styleSheet);
+ public native void scrollToAnchor(String name);
+ public native void setPaper(QBrush pap);
+ public native void setLinkUnderline(boolean arg1);
+ public native void setWordWrap(int mode);
+ public native void setWrapColumnOrWidth(int arg1);
+ public native void setWrapPolicy(int policy);
+ public native void copy();
+ public native void append(String text);
+ public native void setText(String txt);
+ public native void setText(String txt, String context);
+ public native void setTextFormat(int f);
+ public native void selectAll(boolean select);
+ public native void selectAll();
+ public native void setTabStopWidth(int ts);
+ public native void zoomIn(int range);
+ public native void zoomIn();
+ public native void zoomOut(int range);
+ public native void zoomOut();
+ public native void zoomTo(int size);
+ public native void sync();
+ public native void setReadOnly(boolean b);
+ public native void undo();
+ public native void redo();
+ public native void cut();
+ public native void paste();
+ public native void pasteSubType(String subtype);
+ public native void clear();
+ public native void del();
+ public native void indent();
+ public native void setItalic(boolean b);
+ public native void setBold(boolean b);
+ public native void setUnderline(boolean b);
+ public native void setFamily(String f);
+ public native void setPointSize(int s);
+ public native void setColor(QColor c);
+ public native void setFont(QFont f);
+ public native void setVerticalAlignment(int a);
+ public native void setAlignment(int a);
+ public native void setParagType(int dm, int listStyle);
+ public native void setCursorPosition(int parag, int index);
+ public native void setSelection(int parag_from, int index_from, int parag_to, int index_to, int selNum);
+ public native void setSelection(int parag_from, int index_from, int parag_to, int index_to);
+ public native void setSelectionAttributes(int selNum, QColor back, boolean invertText);
+ public native void setModified(boolean m);
+ public native void resetFormat();
+ public native void setUndoDepth(int d);
+ // void setFormat(QTextFormat* arg1,int arg2); >>>> NOT CONVERTED
+ public native void ensureCursorVisible();
+ // void placeCursor(const QPoint& arg1,QTextCursor* arg2); >>>> NOT CONVERTED
+ public native void placeCursor(QPoint pos);
+ public native void moveCursor(int action, boolean select);
+ public native void doKeyboardAction(int action);
+ public native void removeSelectedText(int selNum);
+ public native void removeSelectedText();
+ public native void removeSelection(int selNum);
+ public native void removeSelection();
+ public native void setCurrentFont(QFont f);
+ public native void setOverwriteMode(boolean b);
+ public native void scrollToBottom();
+ public native void insert(String text, int insertionFlags);
+ public native void insert(String text);
+ public native void insert(String text, boolean arg2, boolean arg3, boolean arg4);
+ public native void insert(String text, boolean arg2, boolean arg3);
+ public native void insert(String text, boolean arg2);
+ public native void insertAt(String text, int para, int index);
+ public native void removeParagraph(int para);
+ public native void insertParagraph(String text, int para);
+ public native void setParagraphBackgroundColor(int para, QColor bg);
+ public native void clearParagraphBackground(int para);
+ public native void setUndoRedoEnabled(boolean b);
+ public native void setTabChangesFocus(boolean b);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void repaintChanged();
+ protected native void updateStyles();
+ protected native void drawContents(QPainter p, int cx, int cy, int cw, int ch);
+ public native boolean event(QEvent e);
+ protected native void keyPressEvent(QKeyEvent e);
+ protected native void resizeEvent(QResizeEvent e);
+ protected native void viewportResizeEvent(QResizeEvent arg1);
+ protected native void contentsMousePressEvent(QMouseEvent e);
+ protected native void contentsMouseMoveEvent(QMouseEvent e);
+ protected native void contentsMouseReleaseEvent(QMouseEvent e);
+ protected native void contentsMouseDoubleClickEvent(QMouseEvent e);
+ protected native void contentsWheelEvent(QWheelEvent e);
+ protected native void imStartEvent(QIMEvent arg1);
+ protected native void imComposeEvent(QIMEvent arg1);
+ protected native void imEndEvent(QIMEvent arg1);
+ protected native void contentsDragEnterEvent(QDragEnterEvent e);
+ protected native void contentsDragMoveEvent(QDragMoveEvent e);
+ protected native void contentsDragLeaveEvent(QDragLeaveEvent e);
+ protected native void contentsDropEvent(QDropEvent e);
+ protected native void contentsContextMenuEvent(QContextMenuEvent e);
+ protected native boolean focusNextPrevChild(boolean next);
+ // QTextDocument* document(); >>>> NOT CONVERTED
+ // QTextCursor* textCursor(); >>>> NOT CONVERTED
+ // void setDocument(QTextDocument* arg1); >>>> NOT CONVERTED
+ protected native QPopupMenu createPopupMenu(QPoint pos);
+ protected native QPopupMenu createPopupMenu();
+ protected native void drawCursor(boolean visible);
+ protected native void windowActivationChange(boolean arg1);
+ protected native void doChangeInterval();
+ protected native void sliderReleased();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTextEditSignals.java b/qtjava/javalib/org/kde/qt/QTextEditSignals.java
new file mode 100644
index 00000000..ea89fd80
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTextEditSignals.java
@@ -0,0 +1,21 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QTextEditSignals {
+ void textChanged();
+ void selectionChanged();
+ void copyAvailable(boolean arg1);
+ void undoAvailable(boolean yes);
+ void redoAvailable(boolean yes);
+ void currentFontChanged(QFont f);
+ void currentColorChanged(QColor c);
+ void currentAlignmentChanged(int a);
+ void currentVerticalAlignmentChanged(int a);
+ // void cursorPositionChanged(QTextCursor* arg1); >>>> NOT CONVERTED
+ void cursorPositionChanged(int para, int pos);
+ void returnPressed();
+ void modificationChanged(boolean m);
+ void clicked(int parag, int index);
+ void doubleClicked(int parag, int index);
+}
diff --git a/qtjava/javalib/org/kde/qt/QTextEncoder.java b/qtjava/javalib/org/kde/qt/QTextEncoder.java
new file mode 100644
index 00000000..5cb1d62f
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTextEncoder.java
@@ -0,0 +1,12 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTextEncoder implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QTextEncoder(Class dummy){}
+
+ public native String fromUnicode(String uc, int[] lenInOut);
+}
diff --git a/qtjava/javalib/org/kde/qt/QTextIStream.java b/qtjava/javalib/org/kde/qt/QTextIStream.java
new file mode 100644
index 00000000..afce047a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTextIStream.java
@@ -0,0 +1,24 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTextIStream extends QTextStream {
+ protected QTextIStream(Class dummy){super((Class) null);}
+ public QTextIStream(String s) {
+ super((Class) null);
+ newQTextIStream(s);
+ }
+ private native void newQTextIStream(String s);
+ public QTextIStream(byte[] ba) {
+ super((Class) null);
+ newQTextIStream(ba);
+ }
+ private native void newQTextIStream(byte[] ba);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTextOStream.java b/qtjava/javalib/org/kde/qt/QTextOStream.java
new file mode 100644
index 00000000..cc60e81d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTextOStream.java
@@ -0,0 +1,24 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTextOStream extends QTextStream {
+ protected QTextOStream(Class dummy){super((Class) null);}
+ public QTextOStream(StringBuffer s) {
+ super((Class) null);
+ newQTextOStream(s);
+ }
+ private native void newQTextOStream(StringBuffer s);
+ public QTextOStream(byte[] ba) {
+ super((Class) null);
+ newQTextOStream(ba);
+ }
+ private native void newQTextOStream(byte[] ba);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTextStream.java b/qtjava/javalib/org/kde/qt/QTextStream.java
new file mode 100644
index 00000000..0a27feec
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTextStream.java
@@ -0,0 +1,101 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTextStream implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QTextStream(Class dummy){}
+
+ public static final int skipws = 0x0001;
+ public static final int left = 0x0002;
+ public static final int right = 0x0004;
+ public static final int internal = 0x0008;
+ public static final int bin = 0x0010;
+ public static final int oct = 0x0020;
+ public static final int dec = 0x0040;
+ public static final int hex = 0x0080;
+ public static final int showbase = 0x0100;
+ public static final int showpoint = 0x0200;
+ public static final int uppercase = 0x0400;
+ public static final int showpos = 0x0800;
+ public static final int scientific = 0x1000;
+ public static final int fixed = 0x2000;
+
+ public static final int Locale = 0;
+ public static final int Latin1 = 1;
+ public static final int Unicode = 2;
+ public static final int UnicodeNetworkOrder = 3;
+ public static final int UnicodeReverse = 4;
+ public static final int RawUnicode = 5;
+ public static final int UnicodeUTF8 = 6;
+
+ public native void setEncoding(int arg1);
+ public native void setCodec(QTextCodec arg1);
+ public native QTextCodec codec();
+ public QTextStream() {
+ newQTextStream();
+ }
+ private native void newQTextStream();
+ public QTextStream(QIODeviceInterface arg1) {
+ newQTextStream(arg1);
+ }
+ private native void newQTextStream(QIODeviceInterface arg1);
+ public QTextStream(StringBuffer arg1, int mode) {
+ newQTextStream(arg1,mode);
+ }
+ private native void newQTextStream(StringBuffer arg1, int mode);
+ public QTextStream(byte[] arg1, int mode) {
+ newQTextStream(arg1,mode);
+ }
+ private native void newQTextStream(byte[] arg1, int mode);
+ public native QIODeviceInterface device();
+ public native void setDevice(QIODeviceInterface arg1);
+ public native void unsetDevice();
+ public native boolean atEnd();
+ public native boolean eof();
+ public native QTextStream op_read(char arg1);
+ // QTextStream& op_read(signed short& arg1); >>>> NOT CONVERTED
+ public native QTextStream op_read(short arg1);
+ // QTextStream& op_read(signed int& arg1); >>>> NOT CONVERTED
+ public native QTextStream op_read(int arg1);
+ // QTextStream& op_read(signed long& arg1); >>>> NOT CONVERTED
+ public native QTextStream op_read(long arg1);
+ public native QTextStream op_read(float arg1);
+ public native QTextStream op_read(double arg1);
+ public native QTextStream op_read(String arg1);
+ public native QTextStream op_read(StringBuffer arg1);
+ public native QTextStream op_write(char arg1);
+ public native QTextStream op_write(short arg1);
+ // QTextStream& op_write(signed arg1); >>>> NOT CONVERTED
+ public native QTextStream op_write(int arg1);
+ public native QTextStream op_write(long arg1);
+ public native QTextStream op_write(float arg1);
+ public native QTextStream op_write(double arg1);
+ public native QTextStream op_write(String arg1);
+ // QTextStream& op_write(void* arg1); >>>> NOT CONVERTED
+ public native QTextStream readRawBytes(String arg1, int len);
+ public native QTextStream writeRawBytes(String arg1, int len);
+ public native String readLine();
+ public native String read();
+ public native void skipWhiteSpace();
+ public native int flags();
+ public native int flags(int f);
+ public native int setf(int bits);
+ public native int setf(int bits, int mask);
+ public native int unsetf(int bits);
+ public native void reset();
+ public native int width();
+ public native int width(int arg1);
+ public native int fill();
+ public native int fill(int arg1);
+ public native int precision();
+ public native int precision(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/qtjava/javalib/org/kde/qt/QTextView.java b/qtjava/javalib/org/kde/qt/QTextView.java
new file mode 100644
index 00000000..10457a8e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTextView.java
@@ -0,0 +1,53 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTextView extends QTextEdit {
+ protected QTextView(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QTextView(String text, String context, QWidget parent, String name) {
+ super((Class) null);
+ newQTextView(text,context,parent,name);
+ }
+ private native void newQTextView(String text, String context, QWidget parent, String name);
+ public QTextView(String text, String context, QWidget parent) {
+ super((Class) null);
+ newQTextView(text,context,parent);
+ }
+ private native void newQTextView(String text, String context, QWidget parent);
+ public QTextView(String text, String context) {
+ super((Class) null);
+ newQTextView(text,context);
+ }
+ private native void newQTextView(String text, String context);
+ public QTextView(String text) {
+ super((Class) null);
+ newQTextView(text);
+ }
+ private native void newQTextView(String text);
+ public QTextView(QWidget parent, String name) {
+ super((Class) null);
+ newQTextView(parent,name);
+ }
+ private native void newQTextView(QWidget parent, String name);
+ public QTextView(QWidget parent) {
+ super((Class) null);
+ newQTextView(parent);
+ }
+ private native void newQTextView(QWidget parent);
+ public QTextView() {
+ super((Class) null);
+ newQTextView();
+ }
+ private native void newQTextView();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QTimeEdit.java b/qtjava/javalib/org/kde/qt/QTimeEdit.java
new file mode 100644
index 00000000..a6298aa9
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTimeEdit.java
@@ -0,0 +1,87 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.Date;
+
+/**
+ See {@link QTimeEditSignals} for signals emitted by QTimeEdit
+*/
+public class QTimeEdit extends QDateTimeEditBase {
+ protected QTimeEdit(Class dummy){super((Class) null);}
+ public static final int Hours = 0x01;
+ public static final int Minutes = 0x02;
+ public static final int Seconds = 0x04;
+ public static final int AMPM = 0x10;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QTimeEdit(QWidget parent, String name) {
+ super((Class) null);
+ newQTimeEdit(parent,name);
+ }
+ private native void newQTimeEdit(QWidget parent, String name);
+ public QTimeEdit(QWidget parent) {
+ super((Class) null);
+ newQTimeEdit(parent);
+ }
+ private native void newQTimeEdit(QWidget parent);
+ public QTimeEdit() {
+ super((Class) null);
+ newQTimeEdit();
+ }
+ private native void newQTimeEdit();
+ public QTimeEdit(Date time, QWidget parent, String name) {
+ super((Class) null);
+ newQTimeEdit(time,parent,name);
+ }
+ private native void newQTimeEdit(Date time, QWidget parent, String name);
+ public QTimeEdit(Date time, QWidget parent) {
+ super((Class) null);
+ newQTimeEdit(time,parent);
+ }
+ private native void newQTimeEdit(Date time, QWidget parent);
+ public QTimeEdit(Date time) {
+ super((Class) null);
+ newQTimeEdit(time);
+ }
+ private native void newQTimeEdit(Date time);
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native Date time();
+ public native void setAutoAdvance(boolean advance);
+ public native boolean autoAdvance();
+ public native void setMinValue(Date d);
+ public native Date minValue();
+ public native void setMaxValue(Date d);
+ public native Date maxValue();
+ public native void setRange(Date min, Date max);
+ public native String separator();
+ public native void setSeparator(String s);
+ public native int display();
+ public native void setDisplay(int disp);
+ public native void removeFirstNumber(int sec);
+ public native void setTime(Date time);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public native boolean event(QEvent e);
+ protected native void timerEvent(QTimerEvent e);
+ protected native void resizeEvent(QResizeEvent arg1);
+ public native void stepUp();
+ public native void stepDown();
+ public native String sectionFormattedText(int sec);
+ public native void addNumber(int sec, int num);
+ public native void removeLastNumber(int sec);
+ public native boolean setFocusSection(int s);
+ protected native boolean outOfRange(int h, int m, int s);
+ protected native void setHour(int h);
+ protected native void setMinute(int m);
+ protected native void setSecond(int s);
+ protected native void updateButtons();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTimeEditSignals.java b/qtjava/javalib/org/kde/qt/QTimeEditSignals.java
new file mode 100644
index 00000000..51dce769
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTimeEditSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.util.Date;
+
+public interface QTimeEditSignals {
+ void valueChanged(Date time);
+}
diff --git a/qtjava/javalib/org/kde/qt/QTimer.java b/qtjava/javalib/org/kde/qt/QTimer.java
new file mode 100644
index 00000000..b8fd1a74
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTimer.java
@@ -0,0 +1,81 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+*************************************************
+ $Id$
+
+* Definition of QTimer class
+
+* Created : 931111
+
+* Copyright (C) 1992-2005 Trolltech AS. All rights reserved.
+
+* This file is part of the kernel module of the Qt GUI Toolkit.
+
+* This file may be distributed under the terms of the Q Public License
+ as defined by Trolltech AS of Norway and appearing in the file
+ LICENSE.QPL included in the packaging of this file.
+
+* This file may be distributed and/or modified under the terms of the
+ GNU General Public License version 2 as published by the Free Software
+ Foundation and appearing in the file LICENSE.GPL included in the
+ packaging of this file.
+
+* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
+ licenses may use this file in accordance with the Qt Commercial License
+ Agreement provided with the Software.
+
+* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
+ information about Qt Commercial License Agreements.
+ See http://www.trolltech.com/qpl/ for QPL licensing information.
+ See http://www.trolltech.com/gpl/ for GPL licensing information.
+
+* Contact info@trolltech.com if any conditions of this licensing are
+ not clear to you.
+
+********************************************** See {@link QTimerSignals} for signals emitted by QTimer
+ @short $Id: qt/qtimer.
+
+*/
+public class QTimer extends QObject {
+ protected QTimer(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QTimer(QObject parent, String name) {
+ super((Class) null);
+ newQTimer(parent,name);
+ }
+ private native void newQTimer(QObject parent, String name);
+ public QTimer(QObject parent) {
+ super((Class) null);
+ newQTimer(parent);
+ }
+ private native void newQTimer(QObject parent);
+ public QTimer() {
+ super((Class) null);
+ newQTimer();
+ }
+ private native void newQTimer();
+ public native boolean isActive();
+ public native int start(int msec, boolean sshot);
+ public native int start(int msec);
+ public native void changeInterval(int msec);
+ public native void stop();
+ public native int timerId();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native void singleShot(int msec, QObject receiver, String member);
+ public native boolean event(QEvent 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/qtjava/javalib/org/kde/qt/QTimerEvent.java b/qtjava/javalib/org/kde/qt/QTimerEvent.java
new file mode 100644
index 00000000..c99a03d7
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTimerEvent.java
@@ -0,0 +1,20 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTimerEvent extends QEvent {
+ protected QTimerEvent(Class dummy){super((Class) null);}
+ public QTimerEvent(int timerId) {
+ super((Class) null);
+ newQTimerEvent(timerId);
+ }
+ private native void newQTimerEvent(int timerId);
+ public native int timerId();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTimerSignals.java b/qtjava/javalib/org/kde/qt/QTimerSignals.java
new file mode 100644
index 00000000..7f241cfd
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTimerSignals.java
@@ -0,0 +1,7 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QTimerSignals {
+ void timeout();
+}
diff --git a/qtjava/javalib/org/kde/qt/QToolBar.java b/qtjava/javalib/org/kde/qt/QToolBar.java
new file mode 100644
index 00000000..194a1b5c
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QToolBar.java
@@ -0,0 +1,88 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QToolBar extends QDockWindow {
+ protected QToolBar(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QToolBar(String label, QMainWindow arg2, int arg3, boolean newLine, String name) {
+ super((Class) null);
+ newQToolBar(label,arg2,arg3,newLine,name);
+ }
+ private native void newQToolBar(String label, QMainWindow arg2, int arg3, boolean newLine, String name);
+ public QToolBar(String label, QMainWindow arg2, int arg3, boolean newLine) {
+ super((Class) null);
+ newQToolBar(label,arg2,arg3,newLine);
+ }
+ private native void newQToolBar(String label, QMainWindow arg2, int arg3, boolean newLine);
+ public QToolBar(String label, QMainWindow arg2, int arg3) {
+ super((Class) null);
+ newQToolBar(label,arg2,arg3);
+ }
+ private native void newQToolBar(String label, QMainWindow arg2, int arg3);
+ public QToolBar(String label, QMainWindow arg2) {
+ super((Class) null);
+ newQToolBar(label,arg2);
+ }
+ private native void newQToolBar(String label, QMainWindow arg2);
+ public QToolBar(String label, QMainWindow arg2, QWidget arg3, boolean newLine, String name, int f) {
+ super((Class) null);
+ newQToolBar(label,arg2,arg3,newLine,name,f);
+ }
+ private native void newQToolBar(String label, QMainWindow arg2, QWidget arg3, boolean newLine, String name, int f);
+ public QToolBar(String label, QMainWindow arg2, QWidget arg3, boolean newLine, String name) {
+ super((Class) null);
+ newQToolBar(label,arg2,arg3,newLine,name);
+ }
+ private native void newQToolBar(String label, QMainWindow arg2, QWidget arg3, boolean newLine, String name);
+ public QToolBar(String label, QMainWindow arg2, QWidget arg3, boolean newLine) {
+ super((Class) null);
+ newQToolBar(label,arg2,arg3,newLine);
+ }
+ private native void newQToolBar(String label, QMainWindow arg2, QWidget arg3, boolean newLine);
+ public QToolBar(String label, QMainWindow arg2, QWidget arg3) {
+ super((Class) null);
+ newQToolBar(label,arg2,arg3);
+ }
+ private native void newQToolBar(String label, QMainWindow arg2, QWidget arg3);
+ public QToolBar(QMainWindow parent, String name) {
+ super((Class) null);
+ newQToolBar(parent,name);
+ }
+ private native void newQToolBar(QMainWindow parent, String name);
+ public QToolBar(QMainWindow parent) {
+ super((Class) null);
+ newQToolBar(parent);
+ }
+ private native void newQToolBar(QMainWindow parent);
+ public QToolBar() {
+ super((Class) null);
+ newQToolBar();
+ }
+ private native void newQToolBar();
+ public native void addSeparator();
+ public native void show();
+ public native void hide();
+ public native QMainWindow mainWindow();
+ public native void setStretchableWidget(QWidget arg1);
+ public native boolean event(QEvent e);
+ public native void setLabel(String arg1);
+ public native String label();
+ public native void clear();
+ public native QSize minimumSize();
+ public native QSize minimumSizeHint();
+ public native void setOrientation(int o);
+ public native void setMinimumSize(int minw, int minh);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void resizeEvent(QResizeEvent e);
+ public native void styleChange(QStyle 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/qtjava/javalib/org/kde/qt/QToolBox.java b/qtjava/javalib/org/kde/qt/QToolBox.java
new file mode 100644
index 00000000..c24294c5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QToolBox.java
@@ -0,0 +1,66 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QToolBoxSignals} for signals emitted by QToolBox
+*/
+public class QToolBox extends QFrame {
+ protected QToolBox(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QToolBox(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQToolBox(parent,name,f);
+ }
+ private native void newQToolBox(QWidget parent, String name, int f);
+ public QToolBox(QWidget parent, String name) {
+ super((Class) null);
+ newQToolBox(parent,name);
+ }
+ private native void newQToolBox(QWidget parent, String name);
+ public QToolBox(QWidget parent) {
+ super((Class) null);
+ newQToolBox(parent);
+ }
+ private native void newQToolBox(QWidget parent);
+ public QToolBox() {
+ super((Class) null);
+ newQToolBox();
+ }
+ private native void newQToolBox();
+ public native int addItem(QWidget item, String label);
+ public native int addItem(QWidget item, QIconSet iconSet, String label);
+ public native int insertItem(int index, QWidget item, String label);
+ public native int insertItem(int index, QWidget item, QIconSet iconSet, String label);
+ public native int removeItem(QWidget item);
+ public native void setItemEnabled(int index, boolean enabled);
+ public native boolean isItemEnabled(int index);
+ public native void setItemLabel(int index, String label);
+ public native String itemLabel(int index);
+ public native void setItemIconSet(int index, QIconSet iconSet);
+ public native QIconSet itemIconSet(int index);
+ public native void setItemToolTip(int index, String toolTip);
+ public native String itemToolTip(int index);
+ public native QWidget currentItem();
+ public native void setCurrentItem(QWidget item);
+ public native int currentIndex();
+ public native QWidget item(int index);
+ public native int indexOf(QWidget item);
+ public native int count();
+ public native void setCurrentIndex(int index);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void itemInserted(int index);
+ protected native void itemRemoved(int index);
+ public native void showEvent(QShowEvent e);
+ protected native void frameChanged();
+ public native void styleChange(QStyle 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/qtjava/javalib/org/kde/qt/QToolBoxSignals.java b/qtjava/javalib/org/kde/qt/QToolBoxSignals.java
new file mode 100644
index 00000000..0fc890c2
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QToolBoxSignals.java
@@ -0,0 +1,7 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QToolBoxSignals {
+ void currentChanged(int index);
+}
diff --git a/qtjava/javalib/org/kde/qt/QToolButton.java b/qtjava/javalib/org/kde/qt/QToolButton.java
new file mode 100644
index 00000000..c0b5a3d1
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QToolButton.java
@@ -0,0 +1,92 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QToolButton extends QButton {
+ protected QToolButton(Class dummy){super((Class) null);}
+ public static final int BesideIcon = 0;
+ public static final int BelowIcon = 1;
+ public static final int Right = BesideIcon;
+ public static final int Under = BelowIcon;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QToolButton(QWidget parent, String name) {
+ super((Class) null);
+ newQToolButton(parent,name);
+ }
+ private native void newQToolButton(QWidget parent, String name);
+ public QToolButton(QWidget parent) {
+ super((Class) null);
+ newQToolButton(parent);
+ }
+ private native void newQToolButton(QWidget parent);
+ public QToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent, String name) {
+ super((Class) null);
+ newQToolButton(s,textLabel,grouptext,receiver,slot,parent,name);
+ }
+ private native void newQToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent, String name);
+ public QToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent) {
+ super((Class) null);
+ newQToolButton(s,textLabel,grouptext,receiver,slot,parent);
+ }
+ private native void newQToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent);
+ public QToolButton(int type, QWidget parent, String name) {
+ super((Class) null);
+ newQToolButton(type,parent,name);
+ }
+ private native void newQToolButton(int type, QWidget parent, String name);
+ public QToolButton(int type, QWidget parent) {
+ super((Class) null);
+ newQToolButton(type,parent);
+ }
+ private native void newQToolButton(int type, QWidget parent);
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native void setOnIconSet(QIconSet arg1);
+ public native void setOffIconSet(QIconSet arg1);
+ public native void setIconSet(QIconSet arg1, boolean on);
+ public native QIconSet onIconSet();
+ public native QIconSet offIconSet();
+ public native QIconSet iconSet(boolean on);
+ public native void setIconSet(QIconSet arg1);
+ public native QIconSet iconSet();
+ public native boolean usesBigPixmap();
+ public native boolean usesTextLabel();
+ public native String textLabel();
+ public native void setPopup(QPopupMenu popup);
+ public native QPopupMenu popup();
+ public native void setPopupDelay(int delay);
+ public native int popupDelay();
+ public native void openPopup();
+ public native void setAutoRaise(boolean enable);
+ public native boolean autoRaise();
+ public native int textPosition();
+ public native void setText(String txt);
+ public native void setUsesBigPixmap(boolean enable);
+ public native void setUsesTextLabel(boolean enable);
+ public native void setTextLabel(String arg1, boolean arg2);
+ public native void setToggleButton(boolean enable);
+ public native void setOn(boolean enable);
+ public native void toggle();
+ public native void setTextLabel(String arg1);
+ public native void setTextPosition(int pos);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void drawButton(QPainter arg1);
+ protected native void drawButtonLabel(QPainter arg1);
+ protected native void enterEvent(QEvent arg1);
+ protected native void leaveEvent(QEvent arg1);
+ protected native void moveEvent(QMoveEvent arg1);
+ protected native boolean uses3D();
+ public native boolean eventFilter(QObject o, QEvent e);
+ protected native void paletteChange(QPalette 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/qtjava/javalib/org/kde/qt/QToolTip.java b/qtjava/javalib/org/kde/qt/QToolTip.java
new file mode 100644
index 00000000..5a778375
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QToolTip.java
@@ -0,0 +1,28 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QToolTip extends Qt {
+ protected QToolTip(Class dummy){super((Class) null);}
+ public native QWidget parentWidget();
+ public native QToolTipGroup group();
+ public static native void add(QWidget arg1, String arg2);
+ public static native void add(QWidget arg1, String arg2, QToolTipGroup arg3, String arg4);
+ public static native void remove(QWidget arg1);
+ public static native void add(QWidget arg1, QRect arg2, String arg3);
+ public static native void add(QWidget arg1, QRect arg2, String arg3, QToolTipGroup arg4, String arg5);
+ public static native void remove(QWidget arg1, QRect arg2);
+ public static native String textFor(QWidget arg1, QPoint pos);
+ public static native String textFor(QWidget arg1);
+ public static native void hide();
+ public static native QFont font();
+ public static native void setFont(QFont arg1);
+ public static native QPalette palette();
+ public static native void setPalette(QPalette arg1);
+ public static native void setEnabled(boolean enable);
+ public static native boolean enabled();
+ public static native void setGloballyEnabled(boolean arg1);
+ public static native boolean isGloballyEnabled();
+ public static native void setWakeUpDelay(int arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QToolTipGroup.java b/qtjava/javalib/org/kde/qt/QToolTipGroup.java
new file mode 100644
index 00000000..3cba2027
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QToolTipGroup.java
@@ -0,0 +1,35 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QToolTipGroupSignals} for signals emitted by QToolTipGroup
+*/
+public class QToolTipGroup extends QObject {
+ protected QToolTipGroup(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QToolTipGroup(QObject parent, String name) {
+ super((Class) null);
+ newQToolTipGroup(parent,name);
+ }
+ private native void newQToolTipGroup(QObject parent, String name);
+ public QToolTipGroup(QObject parent) {
+ super((Class) null);
+ newQToolTipGroup(parent);
+ }
+ private native void newQToolTipGroup(QObject parent);
+ public native boolean delay();
+ public native boolean enabled();
+ public native void setDelay(boolean arg1);
+ public native void setEnabled(boolean arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QToolTipGroupSignals.java b/qtjava/javalib/org/kde/qt/QToolTipGroupSignals.java
new file mode 100644
index 00000000..d625d94d
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QToolTipGroupSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QToolTipGroupSignals {
+ void showTip(String arg1);
+ void removeTip();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTranslator.java b/qtjava/javalib/org/kde/qt/QTranslator.java
new file mode 100644
index 00000000..9e791b48
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTranslator.java
@@ -0,0 +1,59 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTranslator extends QObject {
+ protected QTranslator(Class dummy){super((Class) null);}
+ public static final int Everything = 0;
+ public static final int Stripped = 1;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QTranslator(QObject parent, String name) {
+ super((Class) null);
+ newQTranslator(parent,name);
+ }
+ private native void newQTranslator(QObject parent, String name);
+ public QTranslator(QObject parent) {
+ super((Class) null);
+ newQTranslator(parent);
+ }
+ private native void newQTranslator(QObject parent);
+ public QTranslator() {
+ super((Class) null);
+ newQTranslator();
+ }
+ private native void newQTranslator();
+ public native String find(String context, String sourceText, String comment);
+ public native String find(String context, String sourceText);
+ public native QTranslatorMessage findMessage(String arg1, String arg2, String arg3);
+ public native QTranslatorMessage findMessage(String arg1, String arg2);
+ public native boolean load(String filename, String directory, String search_delimiters, String suffix);
+ public native boolean load(String filename, String directory, String search_delimiters);
+ public native boolean load(String filename, String directory);
+ public native boolean load(String filename);
+ public native boolean load(char[] data, int len);
+ public native void clear();
+ public native boolean save(String filename, int mode);
+ public native boolean save(String filename);
+ public native void insert(QTranslatorMessage arg1);
+ public native void insert(String context, String sourceText, String translation);
+ public native void remove(QTranslatorMessage arg1);
+ public native void remove(String context, String sourceText);
+ public native boolean contains(String arg1, String arg2, String comment);
+ public native boolean contains(String arg1, String arg2);
+ public native void squeeze(int arg1);
+ public native void squeeze();
+ public native void unsqueeze();
+ // QValueList<QTranslatorMessage> messages(); >>>> NOT CONVERTED
+ public native boolean isEmpty();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QTranslatorMessage.java b/qtjava/javalib/org/kde/qt/QTranslatorMessage.java
new file mode 100644
index 00000000..66357fdc
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTranslatorMessage.java
@@ -0,0 +1,59 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTranslatorMessage implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QTranslatorMessage(Class dummy){}
+
+ public static final int NoPrefix = 0;
+ public static final int Hash = 1;
+ public static final int HashContext = 2;
+ public static final int HashContextSourceText = 3;
+ public static final int HashContextSourceTextComment = 4;
+
+ public QTranslatorMessage() {
+ newQTranslatorMessage();
+ }
+ private native void newQTranslatorMessage();
+ public QTranslatorMessage(String context, String sourceText, String comment, String translation) {
+ newQTranslatorMessage(context,sourceText,comment,translation);
+ }
+ private native void newQTranslatorMessage(String context, String sourceText, String comment, String translation);
+ public QTranslatorMessage(String context, String sourceText, String comment) {
+ newQTranslatorMessage(context,sourceText,comment);
+ }
+ private native void newQTranslatorMessage(String context, String sourceText, String comment);
+ public QTranslatorMessage(QDataStream arg1) {
+ newQTranslatorMessage(arg1);
+ }
+ private native void newQTranslatorMessage(QDataStream arg1);
+ public QTranslatorMessage(QTranslatorMessage m) {
+ newQTranslatorMessage(m);
+ }
+ private native void newQTranslatorMessage(QTranslatorMessage m);
+ public native int hash();
+ public native String context();
+ public native String sourceText();
+ public native String comment();
+ public native void setTranslation(String translation);
+ public native String translation();
+ public native void write(QDataStream s, boolean strip, int prefix);
+ public native void write(QDataStream s, boolean strip);
+ public native void write(QDataStream s);
+ public native int commonPrefix(QTranslatorMessage arg1);
+ public native boolean op_equals(QTranslatorMessage m);
+ public native boolean op_not_equals(QTranslatorMessage m);
+ public native boolean op_lt(QTranslatorMessage m);
+ public native boolean op_lte(QTranslatorMessage m);
+ public native boolean op_gt(QTranslatorMessage m);
+ public native boolean op_gte(QTranslatorMessage m);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QTsciiCodec.java b/qtjava/javalib/org/kde/qt/QTsciiCodec.java
new file mode 100644
index 00000000..43cc9ffb
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QTsciiCodec.java
@@ -0,0 +1,25 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QTsciiCodec extends QTextCodec {
+ protected QTsciiCodec(Class dummy){super((Class) null);}
+ public native int mibEnum();
+ public native String name();
+ public native String fromUnicode(String uc, int[] lenInOut);
+ public native String toUnicode(String chars, int len);
+ public native int heuristicContentMatch(String chars, int len);
+ public native int heuristicNameMatch(String hint);
+ public QTsciiCodec() {
+ super((Class) null);
+ newQTsciiCodec();
+ }
+ private native void newQTsciiCodec();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QUriDrag.java b/qtjava/javalib/org/kde/qt/QUriDrag.java
new file mode 100644
index 00000000..c719cd6c
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QUriDrag.java
@@ -0,0 +1,65 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.util.ArrayList;
+import org.kde.qt.Qt;
+
+public class QUriDrag extends QStoredDrag {
+ protected QUriDrag(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QUriDrag(String[] uris, QWidget dragSource, String name) {
+ super((Class) null);
+ newQUriDrag(uris,dragSource,name);
+ }
+ private native void newQUriDrag(String[] uris, QWidget dragSource, String name);
+ public QUriDrag(String[] uris, QWidget dragSource) {
+ super((Class) null);
+ newQUriDrag(uris,dragSource);
+ }
+ private native void newQUriDrag(String[] uris, QWidget dragSource);
+ public QUriDrag(String[] uris) {
+ super((Class) null);
+ newQUriDrag(uris);
+ }
+ private native void newQUriDrag(String[] uris);
+ public QUriDrag(QWidget dragSource, String name) {
+ super((Class) null);
+ newQUriDrag(dragSource,name);
+ }
+ private native void newQUriDrag(QWidget dragSource, String name);
+ public QUriDrag(QWidget dragSource) {
+ super((Class) null);
+ newQUriDrag(dragSource);
+ }
+ private native void newQUriDrag(QWidget dragSource);
+ public QUriDrag() {
+ super((Class) null);
+ newQUriDrag();
+ }
+ private native void newQUriDrag();
+ public native void setFilenames(String[] fnames);
+ public native void setFileNames(String[] fnames);
+ public native void setUnicodeUris(String[] uuris);
+ public native void setUris(String[] uris);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native String uriToLocalFile(String arg1);
+ public static native String localFileToUri(String arg1);
+ public static native String uriToUnicodeUri(String arg1);
+ public static native String unicodeUriToUri(String arg1);
+ public static native boolean canDecode(QMimeSourceInterface e);
+ public static native boolean decode(QMimeSourceInterface e, String[] i);
+ public static native boolean decodeToUnicodeUris(QMimeSourceInterface e, String[] i);
+ public static native boolean decodeLocalFiles(QMimeSourceInterface e, String[] 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();
+ public static native boolean decode(QMimeSourceInterface e, ArrayList i);
+ public static native boolean decodeToUnicodeUris(QMimeSourceInterface e, ArrayList i);
+ public static native boolean decodeLocalFiles(QMimeSourceInterface e, ArrayList i);
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QUrl.java b/qtjava/javalib/org/kde/qt/QUrl.java
new file mode 100644
index 00000000..0dd13f90
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QUrl.java
@@ -0,0 +1,79 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QUrl implements QtSupport, QUrlInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QUrl(Class dummy){}
+
+ public QUrl() {
+ newQUrl();
+ }
+ private native void newQUrl();
+ public QUrl(String url) {
+ newQUrl(url);
+ }
+ private native void newQUrl(String url);
+ public QUrl(QUrlInterface url) {
+ newQUrl(url);
+ }
+ private native void newQUrl(QUrlInterface url);
+ public QUrl(QUrlInterface url, String relUrl, boolean checkSlash) {
+ newQUrl(url,relUrl,checkSlash);
+ }
+ private native void newQUrl(QUrlInterface url, String relUrl, boolean checkSlash);
+ public QUrl(QUrlInterface url, String relUrl) {
+ newQUrl(url,relUrl);
+ }
+ private native void newQUrl(QUrlInterface url, String relUrl);
+ public native String protocol();
+ public native void setProtocol(String protocol);
+ public native String user();
+ public native void setUser(String user);
+ public native boolean hasUser();
+ public native String password();
+ public native void setPassword(String pass);
+ public native boolean hasPassword();
+ public native String host();
+ public native void setHost(String user);
+ public native boolean hasHost();
+ public native int port();
+ public native void setPort(int port);
+ public native boolean hasPort();
+ public native String path(boolean correct);
+ public native String path();
+ public native void setPath(String path);
+ public native boolean hasPath();
+ public native void setEncodedPathAndQuery(String enc);
+ public native String encodedPathAndQuery();
+ public native void setQuery(String txt);
+ public native String query();
+ public native String ref();
+ public native void setRef(String txt);
+ public native boolean hasRef();
+ public native boolean isValid();
+ public native boolean isLocalFile();
+ public native void addPath(String path);
+ public native void setFileName(String txt);
+ public native String fileName();
+ public native String dirPath();
+ public native boolean op_equals(QUrlInterface url);
+ public native boolean op_equals(String url);
+ public native String toString(boolean encodedPath, boolean forcePrependProtocol);
+ public native String toString(boolean encodedPath);
+ public native String toString();
+ public native boolean cdUp();
+ public static native void decode(StringBuffer url);
+ public static native void encode(StringBuffer url);
+ public static native boolean isRelativeUrl(String url);
+ protected native void reset();
+ protected native boolean 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/qtjava/javalib/org/kde/qt/QUrlInfo.java b/qtjava/javalib/org/kde/qt/QUrlInfo.java
new file mode 100644
index 00000000..6d577eb9
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QUrlInfo.java
@@ -0,0 +1,77 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.Calendar;
+
+public class QUrlInfo implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QUrlInfo(Class dummy){}
+
+ public static final int ReadOwner = 00400;
+ public static final int WriteOwner = 00200;
+ public static final int ExeOwner = 00100;
+ public static final int ReadGroup = 00040;
+ public static final int WriteGroup = 00020;
+ public static final int ExeGroup = 00010;
+ public static final int ReadOther = 00004;
+ public static final int WriteOther = 00002;
+ public static final int ExeOther = 00001;
+
+ public QUrlInfo() {
+ newQUrlInfo();
+ }
+ private native void newQUrlInfo();
+ public QUrlInfo(QUrlOperator path, String file) {
+ newQUrlInfo(path,file);
+ }
+ private native void newQUrlInfo(QUrlOperator path, String file);
+ public QUrlInfo(QUrlInfo ui) {
+ newQUrlInfo(ui);
+ }
+ private native void newQUrlInfo(QUrlInfo ui);
+ public QUrlInfo(String name, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable) {
+ newQUrlInfo(name,permissions,owner,group,size,lastModified,lastRead,isDir,isFile,isSymLink,isWritable,isReadable,isExecutable);
+ }
+ private native void newQUrlInfo(String name, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable);
+ public QUrlInfo(QUrlInterface url, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable) {
+ newQUrlInfo(url,permissions,owner,group,size,lastModified,lastRead,isDir,isFile,isSymLink,isWritable,isReadable,isExecutable);
+ }
+ private native void newQUrlInfo(QUrlInterface url, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable);
+ public native void setName(String name);
+ public native void setDir(boolean b);
+ public native void setFile(boolean b);
+ public native void setSymLink(boolean b);
+ public native void setOwner(String s);
+ public native void setGroup(String s);
+ public native void setSize(long size);
+ public native void setWritable(boolean b);
+ public native void setReadable(boolean b);
+ public native void setPermissions(int p);
+ public native void setLastModified(Calendar dt);
+ public native boolean isValid();
+ public native String name();
+ public native int permissions();
+ public native String owner();
+ public native String group();
+ public native long size();
+ public native Calendar lastModified();
+ public native Calendar lastRead();
+ public native boolean isDir();
+ public native boolean isFile();
+ public native boolean isSymLink();
+ public native boolean isWritable();
+ public native boolean isReadable();
+ public native boolean isExecutable();
+ public native boolean op_equals(QUrlInfo i);
+ public static native boolean greaterThan(QUrlInfo i1, QUrlInfo i2, int sortBy);
+ public static native boolean lessThan(QUrlInfo i1, QUrlInfo i2, int sortBy);
+ public static native boolean equal(QUrlInfo i1, QUrlInfo i2, int sortBy);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QUrlInterface.java b/qtjava/javalib/org/kde/qt/QUrlInterface.java
new file mode 100644
index 00000000..79656d7a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QUrlInterface.java
@@ -0,0 +1,43 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QUrlInterface {
+ String protocol();
+ void setProtocol(String protocol);
+ String user();
+ void setUser(String user);
+ boolean hasUser();
+ String password();
+ void setPassword(String pass);
+ boolean hasPassword();
+ String host();
+ void setHost(String user);
+ boolean hasHost();
+ int port();
+ void setPort(int port);
+ boolean hasPort();
+ String path(boolean correct);
+ String path();
+ void setPath(String path);
+ boolean hasPath();
+ void setEncodedPathAndQuery(String enc);
+ String encodedPathAndQuery();
+ void setQuery(String txt);
+ String query();
+ String ref();
+ void setRef(String txt);
+ boolean hasRef();
+ boolean isValid();
+ boolean isLocalFile();
+ void addPath(String path);
+ void setFileName(String txt);
+ String fileName();
+ String dirPath();
+ boolean op_equals(QUrlInterface url);
+ boolean op_equals(String url);
+ String toString(boolean encodedPath, boolean forcePrependProtocol);
+ String toString(boolean encodedPath);
+ String toString();
+ boolean cdUp();
+}
diff --git a/qtjava/javalib/org/kde/qt/QUrlOperator.java b/qtjava/javalib/org/kde/qt/QUrlOperator.java
new file mode 100644
index 00000000..495ccc78
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QUrlOperator.java
@@ -0,0 +1,111 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QUrlOperatorSignals} for signals emitted by QUrlOperator
+*/
+public class QUrlOperator extends QObject implements QUrlInterface {
+ protected QUrlOperator(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QUrlOperator() {
+ super((Class) null);
+ newQUrlOperator();
+ }
+ private native void newQUrlOperator();
+ public QUrlOperator(String urL) {
+ super((Class) null);
+ newQUrlOperator(urL);
+ }
+ private native void newQUrlOperator(String urL);
+ public QUrlOperator(QUrlOperator url) {
+ super((Class) null);
+ newQUrlOperator(url);
+ }
+ private native void newQUrlOperator(QUrlOperator url);
+ public QUrlOperator(QUrlOperator url, String relUrl, boolean checkSlash) {
+ super((Class) null);
+ newQUrlOperator(url,relUrl,checkSlash);
+ }
+ private native void newQUrlOperator(QUrlOperator url, String relUrl, boolean checkSlash);
+ public QUrlOperator(QUrlOperator url, String relUrl) {
+ super((Class) null);
+ newQUrlOperator(url,relUrl);
+ }
+ private native void newQUrlOperator(QUrlOperator url, String relUrl);
+ public native void setPath(String path);
+ public native boolean cdUp();
+ public native QNetworkOperation listChildren();
+ public native QNetworkOperation mkdir(String dirname);
+ public native QNetworkOperation remove(String filename);
+ public native QNetworkOperation rename(String oldname, String newname);
+ public native QNetworkOperation get(String location);
+ public native QNetworkOperation get();
+ public native QNetworkOperation put(byte[] data, String location);
+ public native QNetworkOperation put(byte[] data);
+ // QPtrList<QNetworkOperation> copy(const QString& arg1,const QString& arg2,bool arg3,bool arg4); >>>> NOT CONVERTED
+ // QPtrList<QNetworkOperation> copy(const QString& arg1,const QString& arg2,bool arg3); >>>> NOT CONVERTED
+ // QPtrList<QNetworkOperation> copy(const QString& arg1,const QString& arg2); >>>> NOT CONVERTED
+ public native void copy(String[] files, String dest, boolean move);
+ public native void copy(String[] files, String dest);
+ public native boolean isDir(boolean[] ok);
+ public native boolean isDir();
+ public native void setNameFilter(String nameFilter);
+ public native String nameFilter();
+ public native QUrlInfo info(String entry);
+ public native void stop();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void reset();
+ protected native boolean parse(String url);
+ protected native boolean checkValid();
+ protected native void clearEntries();
+ protected native void getNetworkProtocol();
+ protected native void deleteNetworkProtocol();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws 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 String protocol();
+ public native void setProtocol(String protocol);
+ public native String user();
+ public native void setUser(String user);
+ public native boolean hasUser();
+ public native String password();
+ public native void setPassword(String pass);
+ public native boolean hasPassword();
+ public native String host();
+ public native void setHost(String user);
+ public native boolean hasHost();
+ public native int port();
+ public native void setPort(int port);
+ public native boolean hasPort();
+ public native String path(boolean correct);
+ public native String path();
+ public native boolean hasPath();
+ public native void setEncodedPathAndQuery(String enc);
+ public native String encodedPathAndQuery();
+ public native void setQuery(String txt);
+ public native String query();
+ public native String ref();
+ public native void setRef(String txt);
+ public native boolean hasRef();
+ public native boolean isValid();
+ public native boolean isLocalFile();
+ public native void addPath(String path);
+ public native void setFileName(String txt);
+ public native String fileName();
+ public native String dirPath();
+ public native boolean op_equals(QUrlInterface url);
+ public native boolean op_equals(String url);
+ public native String toString(boolean encodedPath, boolean forcePrependProtocol);
+ public native String toString(boolean encodedPath);
+ public native String toString();
+ public static native void decode(StringBuffer url);
+ public static native void encode(StringBuffer url);
+ public static native boolean isRelativeUrl(String url);
+}
diff --git a/qtjava/javalib/org/kde/qt/QUrlOperatorSignals.java b/qtjava/javalib/org/kde/qt/QUrlOperatorSignals.java
new file mode 100644
index 00000000..4468a234
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QUrlOperatorSignals.java
@@ -0,0 +1,16 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QUrlOperatorSignals {
+ // void newChildren(const QValueList<QUrlInfo>& arg1,QNetworkOperation* arg2); >>>> NOT CONVERTED
+ void finished(QNetworkOperation res);
+ void start(QNetworkOperation res);
+ void createdDirectory(QUrlInfo arg1, QNetworkOperation res);
+ void removed(QNetworkOperation res);
+ void itemChanged(QNetworkOperation res);
+ void data(byte[] arg1, QNetworkOperation res);
+ void dataTransferProgress(int bytesDone, int bytesTotal, QNetworkOperation res);
+ // void startedNextCopy(const QPtrList<QNetworkOperation>& arg1); >>>> NOT CONVERTED
+ void connectionStateChanged(int state, String data);
+}
diff --git a/qtjava/javalib/org/kde/qt/QUtf16Codec.java b/qtjava/javalib/org/kde/qt/QUtf16Codec.java
new file mode 100644
index 00000000..a456bd6e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QUtf16Codec.java
@@ -0,0 +1,24 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QUtf16Codec extends QTextCodec {
+ protected QUtf16Codec(Class dummy){super((Class) null);}
+ public native int mibEnum();
+ public native String name();
+ public native QTextDecoder makeDecoder();
+ public native QTextEncoder makeEncoder();
+ public native int heuristicContentMatch(String chars, int len);
+ public QUtf16Codec() {
+ super((Class) null);
+ newQUtf16Codec();
+ }
+ private native void newQUtf16Codec();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QUtf8Codec.java b/qtjava/javalib/org/kde/qt/QUtf8Codec.java
new file mode 100644
index 00000000..66f2d0a7
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QUtf8Codec.java
@@ -0,0 +1,25 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QUtf8Codec extends QTextCodec {
+ protected QUtf8Codec(Class dummy){super((Class) null);}
+ public native int mibEnum();
+ public native String name();
+ public native QTextDecoder makeDecoder();
+ public native String fromUnicode(String uc, int[] lenInOut);
+ public native String toUnicode(String chars, int len);
+ public native int heuristicContentMatch(String chars, int len);
+ public QUtf8Codec() {
+ super((Class) null);
+ newQUtf8Codec();
+ }
+ private native void newQUtf8Codec();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QUuid.java b/qtjava/javalib/org/kde/qt/QUuid.java
new file mode 100644
index 00000000..e25e0929
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QUuid.java
@@ -0,0 +1,54 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QUuid implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QUuid(Class dummy){}
+
+ public static final int VarUnknown = -1;
+ public static final int NCS = 0;
+ public static final int DCE = 2;
+ public static final int Microsoft = 6;
+ public static final int Reserved = 7;
+
+ public static final int VerUnknown = -1;
+ public static final int Time = 1;
+ public static final int EmbeddedPOSIX = 2;
+ public static final int Name = 3;
+ public static final int Random = 4;
+
+ public QUuid() {
+ newQUuid();
+ }
+ private native void newQUuid();
+ public QUuid(int l, short w1, short w2, short b1, short b2, short b3, short b4, short b5, short b6, short b7, short b8) {
+ newQUuid(l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8);
+ }
+ private native void newQUuid(int l, short w1, short w2, short b1, short b2, short b3, short b4, short b5, short b6, short b7, short b8);
+ public QUuid(QUuid uuid) {
+ newQUuid(uuid);
+ }
+ private native void newQUuid(QUuid uuid);
+ public QUuid(String arg1) {
+ newQUuid(arg1);
+ }
+ private native void newQUuid(String arg1);
+ public native String toString();
+ public native boolean isNull();
+ public native boolean op_equals(QUuid orig);
+ public native boolean op_not_equals(QUuid orig);
+ public native boolean op_lt(QUuid other);
+ public native boolean op_gt(QUuid other);
+ public native int variant();
+ public native int version();
+ public static native QUuid createUuid();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QVBox.java b/qtjava/javalib/org/kde/qt/QVBox.java
new file mode 100644
index 00000000..6f558cfe
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QVBox.java
@@ -0,0 +1,38 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QVBox extends QHBox {
+ protected QVBox(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QVBox(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQVBox(parent,name,f);
+ }
+ private native void newQVBox(QWidget parent, String name, int f);
+ public QVBox(QWidget parent, String name) {
+ super((Class) null);
+ newQVBox(parent,name);
+ }
+ private native void newQVBox(QWidget parent, String name);
+ public QVBox(QWidget parent) {
+ super((Class) null);
+ newQVBox(parent);
+ }
+ private native void newQVBox(QWidget parent);
+ public QVBox() {
+ super((Class) null);
+ newQVBox();
+ }
+ private native void newQVBox();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QVBoxLayout.java b/qtjava/javalib/org/kde/qt/QVBoxLayout.java
new file mode 100644
index 00000000..75b327b2
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QVBoxLayout.java
@@ -0,0 +1,68 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QVBoxLayout extends QBoxLayout {
+ protected QVBoxLayout(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QVBoxLayout(QWidget parent, int border, int spacing, String name) {
+ super((Class) null);
+ newQVBoxLayout(parent,border,spacing,name);
+ }
+ private native void newQVBoxLayout(QWidget parent, int border, int spacing, String name);
+ public QVBoxLayout(QWidget parent, int border, int spacing) {
+ super((Class) null);
+ newQVBoxLayout(parent,border,spacing);
+ }
+ private native void newQVBoxLayout(QWidget parent, int border, int spacing);
+ public QVBoxLayout(QWidget parent, int border) {
+ super((Class) null);
+ newQVBoxLayout(parent,border);
+ }
+ private native void newQVBoxLayout(QWidget parent, int border);
+ public QVBoxLayout(QWidget parent) {
+ super((Class) null);
+ newQVBoxLayout(parent);
+ }
+ private native void newQVBoxLayout(QWidget parent);
+ public QVBoxLayout(QLayout parentLayout, int spacing, String name) {
+ super((Class) null);
+ newQVBoxLayout(parentLayout,spacing,name);
+ }
+ private native void newQVBoxLayout(QLayout parentLayout, int spacing, String name);
+ public QVBoxLayout(QLayout parentLayout, int spacing) {
+ super((Class) null);
+ newQVBoxLayout(parentLayout,spacing);
+ }
+ private native void newQVBoxLayout(QLayout parentLayout, int spacing);
+ public QVBoxLayout(QLayout parentLayout) {
+ super((Class) null);
+ newQVBoxLayout(parentLayout);
+ }
+ private native void newQVBoxLayout(QLayout parentLayout);
+ public QVBoxLayout(int spacing, String name) {
+ super((Class) null);
+ newQVBoxLayout(spacing,name);
+ }
+ private native void newQVBoxLayout(int spacing, String name);
+ public QVBoxLayout(int spacing) {
+ super((Class) null);
+ newQVBoxLayout(spacing);
+ }
+ private native void newQVBoxLayout(int spacing);
+ public QVBoxLayout() {
+ super((Class) null);
+ newQVBoxLayout();
+ }
+ private native void newQVBoxLayout();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QVButtonGroup.java b/qtjava/javalib/org/kde/qt/QVButtonGroup.java
new file mode 100644
index 00000000..a7eeed49
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QVButtonGroup.java
@@ -0,0 +1,48 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QVButtonGroup extends QButtonGroup {
+ protected QVButtonGroup(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QVButtonGroup(QWidget parent, String name) {
+ super((Class) null);
+ newQVButtonGroup(parent,name);
+ }
+ private native void newQVButtonGroup(QWidget parent, String name);
+ public QVButtonGroup(QWidget parent) {
+ super((Class) null);
+ newQVButtonGroup(parent);
+ }
+ private native void newQVButtonGroup(QWidget parent);
+ public QVButtonGroup() {
+ super((Class) null);
+ newQVButtonGroup();
+ }
+ private native void newQVButtonGroup();
+ public QVButtonGroup(String title, QWidget parent, String name) {
+ super((Class) null);
+ newQVButtonGroup(title,parent,name);
+ }
+ private native void newQVButtonGroup(String title, QWidget parent, String name);
+ public QVButtonGroup(String title, QWidget parent) {
+ super((Class) null);
+ newQVButtonGroup(title,parent);
+ }
+ private native void newQVButtonGroup(String title, QWidget parent);
+ public QVButtonGroup(String title) {
+ super((Class) null);
+ newQVButtonGroup(title);
+ }
+ private native void newQVButtonGroup(String title);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QVGroupBox.java b/qtjava/javalib/org/kde/qt/QVGroupBox.java
new file mode 100644
index 00000000..213872f2
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QVGroupBox.java
@@ -0,0 +1,48 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QVGroupBox extends QGroupBox {
+ protected QVGroupBox(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QVGroupBox(QWidget parent, String name) {
+ super((Class) null);
+ newQVGroupBox(parent,name);
+ }
+ private native void newQVGroupBox(QWidget parent, String name);
+ public QVGroupBox(QWidget parent) {
+ super((Class) null);
+ newQVGroupBox(parent);
+ }
+ private native void newQVGroupBox(QWidget parent);
+ public QVGroupBox() {
+ super((Class) null);
+ newQVGroupBox();
+ }
+ private native void newQVGroupBox();
+ public QVGroupBox(String title, QWidget parent, String name) {
+ super((Class) null);
+ newQVGroupBox(title,parent,name);
+ }
+ private native void newQVGroupBox(String title, QWidget parent, String name);
+ public QVGroupBox(String title, QWidget parent) {
+ super((Class) null);
+ newQVGroupBox(title,parent);
+ }
+ private native void newQVGroupBox(String title, QWidget parent);
+ public QVGroupBox(String title) {
+ super((Class) null);
+ newQVGroupBox(title);
+ }
+ private native void newQVGroupBox(String title);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QValidator.java b/qtjava/javalib/org/kde/qt/QValidator.java
new file mode 100644
index 00000000..4031b347
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QValidator.java
@@ -0,0 +1,35 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QValidator extends QObject {
+ protected QValidator(Class dummy){super((Class) null);}
+ public static final int Invalid = 0;
+ public static final int Intermediate = 1;
+ public static final int Valid = Intermediate;
+ public static final int Acceptable = 2;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QValidator(QObject parent, String name) {
+ super((Class) null);
+ newQValidator(parent,name);
+ }
+ private native void newQValidator(QObject parent, String name);
+ public QValidator(QObject parent) {
+ super((Class) null);
+ newQValidator(parent);
+ }
+ private native void newQValidator(QObject parent);
+ public native int validate(StringBuffer arg1, int[] arg2);
+ public native void fixup(StringBuffer arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(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/qtjava/javalib/org/kde/qt/QVariant.java b/qtjava/javalib/org/kde/qt/QVariant.java
new file mode 100644
index 00000000..87e27b3a
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QVariant.java
@@ -0,0 +1,276 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+import java.util.Calendar;
+import java.util.Date;
+
+public class QVariant implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QVariant(Class dummy){}
+
+ public static final int Invalid = 0;
+ public static final int Map = 1;
+ public static final int List = 2;
+ public static final int String = 3;
+ public static final int StringList = 4;
+ public static final int Font = 5;
+ public static final int Pixmap = 6;
+ public static final int Brush = 7;
+ public static final int Rect = 8;
+ public static final int Size = 9;
+ public static final int Color = 10;
+ public static final int Palette = 11;
+ public static final int ColorGroup = 12;
+ public static final int IconSet = 13;
+ public static final int Point = 14;
+ public static final int Image = 15;
+ public static final int Int = 16;
+ public static final int UInt = 17;
+ public static final int Bool = 18;
+ public static final int Double = 19;
+ public static final int CString = 20;
+ public static final int PointArray = 21;
+ public static final int Region = 22;
+ public static final int Bitmap = 23;
+ public static final int Cursor = 24;
+ public static final int SizePolicy = 25;
+ public static final int Date = 26;
+ public static final int Time = 27;
+ public static final int DateTime = 28;
+ public static final int ByteArray = 29;
+ public static final int BitArray = 30;
+ public static final int KeySequence = 31;
+ public static final int Pen = 32;
+ public static final int LongLong = 33;
+ public static final int ULongLong = 34;
+
+ public QVariant() {
+ newQVariant();
+ }
+ private native void newQVariant();
+ public QVariant(QVariant arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QVariant arg1);
+ public QVariant(QDataStream s) {
+ newQVariant(s);
+ }
+ private native void newQVariant(QDataStream s);
+ public QVariant(String arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(String arg1);
+ public QVariant(String[] arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(String[] arg1);
+ public QVariant(QFont arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QFont arg1);
+ public QVariant(QPixmap arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QPixmap arg1);
+ public QVariant(QImage arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QImage arg1);
+ public QVariant(QBrush arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QBrush arg1);
+ public QVariant(QPoint arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QPoint arg1);
+ public QVariant(QRect arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QRect arg1);
+ public QVariant(QSize arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QSize arg1);
+ public QVariant(QColor arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QColor arg1);
+ public QVariant(QPalette arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QPalette arg1);
+ public QVariant(QColorGroup arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QColorGroup arg1);
+ public QVariant(QIconSet arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QIconSet arg1);
+ public QVariant(QPointArray arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QPointArray arg1);
+ public QVariant(QRegion arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QRegion arg1);
+ public QVariant(QBitmap arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QBitmap arg1);
+ public QVariant(QCursor arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QCursor arg1);
+ public QVariant(Calendar arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(Calendar arg1);
+ public QVariant(Date arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(Date arg1);
+ public QVariant(byte[] arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(byte[] arg1);
+ // QVariant* QVariant(const QBitArray& arg1); >>>> NOT CONVERTED
+ public QVariant(QKeySequence arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QKeySequence arg1);
+ public QVariant(QPen arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QPen arg1);
+ // QVariant* QVariant(const QValueList<QVariant>& arg1); >>>> NOT CONVERTED
+ // QVariant* QVariant(const QMap<QString, QVariant>& arg1); >>>> NOT CONVERTED
+ public QVariant(int arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(int arg1);
+ public QVariant(long arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(long arg1);
+ public QVariant(boolean arg1, int arg2) {
+ newQVariant(arg1,arg2);
+ }
+ private native void newQVariant(boolean arg1, int arg2);
+ public QVariant(double arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(double arg1);
+ public QVariant(QSizePolicy arg1) {
+ newQVariant(arg1);
+ }
+ private native void newQVariant(QSizePolicy arg1);
+ public native boolean op_equals(QVariant arg1);
+ public native boolean op_not_equals(QVariant arg1);
+ public native int type();
+ public native String typeName();
+ public native boolean canCast(int arg1);
+ public native boolean cast(int arg1);
+ public native boolean isValid();
+ public native boolean isNull();
+ public native void clear();
+ public native String toString();
+ public native String toCString();
+ public native ArrayList toStringList();
+ public native QFont toFont();
+ public native QPixmap toPixmap();
+ public native QImage toImage();
+ public native QBrush toBrush();
+ public native QPoint toPoint();
+ public native QRect toRect();
+ public native QSize toSize();
+ public native QColor toColor();
+ public native QPalette toPalette();
+ public native QColorGroup toColorGroup();
+ public native QIconSet toIconSet();
+ public native QPointArray toPointArray();
+ public native QBitmap toBitmap();
+ public native QRegion toRegion();
+ public native QCursor toCursor();
+ public native Calendar toDate();
+ public native Date toTime();
+ public native Calendar toDateTime();
+ public native byte[] toByteArray();
+ // const QBitArray toBitArray(); >>>> NOT CONVERTED
+ public native QKeySequence toKeySequence();
+ public native QPen toPen();
+ public native int toInt(boolean[] ok);
+ public native int toInt();
+ public native int toUInt(boolean[] ok);
+ public native int toUInt();
+ public native long toLongLong(boolean[] ok);
+ public native long toLongLong();
+ public native long toULongLong(boolean[] ok);
+ public native long toULongLong();
+ public native boolean toBool();
+ public native double toDouble(boolean[] ok);
+ public native double toDouble();
+ // const QValueList<QVariant> toList(); >>>> NOT CONVERTED
+ // const QMap<QString, QVariant> toMap(); >>>> NOT CONVERTED
+ public native QSizePolicy toSizePolicy();
+ // QValueListConstIterator<QString> stringListBegin(); >>>> NOT CONVERTED
+ // QValueListConstIterator<QString> stringListEnd(); >>>> NOT CONVERTED
+ // QValueListConstIterator<QVariant> listBegin(); >>>> NOT CONVERTED
+ // QValueListConstIterator<QVariant> listEnd(); >>>> NOT CONVERTED
+ // QMapConstIterator<QString, QVariant> mapBegin(); >>>> NOT CONVERTED
+ // QMapConstIterator<QString, QVariant> mapEnd(); >>>> NOT CONVERTED
+ // QMapConstIterator<QString, QVariant> mapFind(const QString& arg1); >>>> NOT CONVERTED
+ public native String asString();
+ public native String asCString();
+ public native ArrayList asStringList();
+ public native QFont asFont();
+ public native QPixmap asPixmap();
+ public native QImage asImage();
+ public native QBrush asBrush();
+ public native QPoint asPoint();
+ public native QRect asRect();
+ public native QSize asSize();
+ public native QColor asColor();
+ public native QPalette asPalette();
+ public native QColorGroup asColorGroup();
+ public native QIconSet asIconSet();
+ public native QPointArray asPointArray();
+ public native QBitmap asBitmap();
+ public native QRegion asRegion();
+ public native QCursor asCursor();
+ public native Calendar asDate();
+ public native Date asTime();
+ public native Calendar asDateTime();
+ public native byte[] asByteArray();
+ // QBitArray& asBitArray(); >>>> NOT CONVERTED
+ public native QKeySequence asKeySequence();
+ public native QPen asPen();
+ public native int asInt();
+ public native int asUInt();
+ // Q_LLONG& asLongLong(); >>>> NOT CONVERTED
+ // Q_ULLONG& asULongLong(); >>>> NOT CONVERTED
+ public native boolean asBool();
+ public native double asDouble();
+ // QValueList<QVariant>& asList(); >>>> NOT CONVERTED
+ // QMap<QString, QVariant>& asMap(); >>>> NOT CONVERTED
+ public native QSizePolicy asSizePolicy();
+ public native void load(QDataStream arg1);
+ public native void save(QDataStream arg1);
+ // void* rawAccess(void* arg1,QVariant::Type arg2,bool arg3); >>>> NOT CONVERTED
+ // void* rawAccess(void* arg1,QVariant::Type arg2); >>>> NOT CONVERTED
+ // void* rawAccess(void* arg1); >>>> NOT CONVERTED
+ // void* rawAccess(); >>>> NOT CONVERTED
+ public static native String typeToName(int typ);
+ public static native int nameToType(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/qtjava/javalib/org/kde/qt/QWMatrix.java b/qtjava/javalib/org/kde/qt/QWMatrix.java
new file mode 100644
index 00000000..94521c47
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QWMatrix.java
@@ -0,0 +1,63 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QWMatrix implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QWMatrix(Class dummy){}
+
+ public static final int Points = 0;
+ public static final int Areas = 1;
+
+ public QWMatrix() {
+ newQWMatrix();
+ }
+ private native void newQWMatrix();
+ public QWMatrix(double m11, double m12, double m21, double m22, double dx, double dy) {
+ newQWMatrix(m11,m12,m21,m22,dx,dy);
+ }
+ private native void newQWMatrix(double m11, double m12, double m21, double m22, double dx, double dy);
+ public native void setMatrix(double m11, double m12, double m21, double m22, double dx, double dy);
+ public native double m11();
+ public native double m12();
+ public native double m21();
+ public native double m22();
+ public native double dx();
+ public native double dy();
+ public native void map(int x, int y, int[] tx, int[] ty);
+ public native void map(double x, double y, double[] tx, double[] ty);
+ public native QRect mapRect(QRect arg1);
+ public native QPoint map(QPoint p);
+ public native QRect map(QRect r);
+ public native QPointArray map(QPointArray a);
+ public native QRegion map(QRegion r);
+ public native QRegion mapToRegion(QRect r);
+ public native QPointArray mapToPolygon(QRect r);
+ public native void reset();
+ public native boolean isIdentity();
+ public native QWMatrix translate(double dx, double dy);
+ public native QWMatrix scale(double sx, double sy);
+ public native QWMatrix shear(double sh, double sv);
+ public native QWMatrix rotate(double a);
+ public native boolean isInvertible();
+ public native double det();
+ public native QWMatrix invert(boolean[] arg1);
+ public native QWMatrix invert();
+ public native boolean op_equals(QWMatrix arg1);
+ public native boolean op_not_equals(QWMatrix arg1);
+ public native QWMatrix op_mult_assign(QWMatrix arg1);
+ public native QPoint op_mult(QPoint arg1);
+ public native QRegion op_mult(QRect arg1);
+ public native QRegion op_mult(QRegion arg1);
+ public native QPointArray op_mult(QPointArray a);
+ public static native void setTransformationMode(int m);
+ public static native int transformationMode();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QWhatsThis.java b/qtjava/javalib/org/kde/qt/QWhatsThis.java
new file mode 100644
index 00000000..685b59c0
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QWhatsThis.java
@@ -0,0 +1,37 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QWhatsThis extends Qt {
+ protected QWhatsThis(Class dummy){super((Class) null);}
+ public QWhatsThis(QWidget arg1) {
+ super((Class) null);
+ newQWhatsThis(arg1);
+ }
+ private native void newQWhatsThis(QWidget arg1);
+ public native String text(QPoint arg1);
+ public native boolean clicked(String href);
+ public static native void setFont(QFont font);
+ public static native void add(QWidget arg1, String arg2);
+ public static native void remove(QWidget arg1);
+ public static native String textFor(QWidget arg1, QPoint pos, boolean includeParents);
+ public static native String textFor(QWidget arg1, QPoint pos);
+ public static native String textFor(QWidget arg1);
+ public static native QToolButton whatsThisButton(QWidget parent);
+ public static native void enterWhatsThisMode();
+ public static native boolean inWhatsThisMode();
+ public static native void leaveWhatsThisMode(String arg1, QPoint pos, QWidget w);
+ public static native void leaveWhatsThisMode(String arg1, QPoint pos);
+ public static native void leaveWhatsThisMode(String arg1);
+ public static native void leaveWhatsThisMode();
+ public static native void display(String text, QPoint pos, QWidget w);
+ public static native void display(String text, QPoint pos);
+ public static native void display(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/qtjava/javalib/org/kde/qt/QWheelEvent.java b/qtjava/javalib/org/kde/qt/QWheelEvent.java
new file mode 100644
index 00000000..565c4ff8
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QWheelEvent.java
@@ -0,0 +1,46 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QWheelEvent extends QEvent {
+ protected QWheelEvent(Class dummy){super((Class) null);}
+ public QWheelEvent(QPoint pos, int delta, int state, int orient) {
+ super((Class) null);
+ newQWheelEvent(pos,delta,state,orient);
+ }
+ private native void newQWheelEvent(QPoint pos, int delta, int state, int orient);
+ public QWheelEvent(QPoint pos, int delta, int state) {
+ super((Class) null);
+ newQWheelEvent(pos,delta,state);
+ }
+ private native void newQWheelEvent(QPoint pos, int delta, int state);
+ public QWheelEvent(QPoint pos, QPoint globalPos, int delta, int state, int orient) {
+ super((Class) null);
+ newQWheelEvent(pos,globalPos,delta,state,orient);
+ }
+ private native void newQWheelEvent(QPoint pos, QPoint globalPos, int delta, int state, int orient);
+ public QWheelEvent(QPoint pos, QPoint globalPos, int delta, int state) {
+ super((Class) null);
+ newQWheelEvent(pos,globalPos,delta,state);
+ }
+ private native void newQWheelEvent(QPoint pos, QPoint globalPos, int delta, int state);
+ public native int delta();
+ public native QPoint pos();
+ public native QPoint globalPos();
+ public native int x();
+ public native int y();
+ public native int globalX();
+ public native int globalY();
+ public native int state();
+ public native int orientation();
+ public native boolean isAccepted();
+ public native void accept();
+ public native void ignore();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QWidget.java b/qtjava/javalib/org/kde/qt/QWidget.java
new file mode 100644
index 00000000..e7f5d77f
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QWidget.java
@@ -0,0 +1,337 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QWidget extends QObject implements QPaintDeviceInterface {
+ protected QWidget(Class dummy){super((Class) null);}
+ public static final int NoFocus = 0;
+ public static final int TabFocus = 0x1;
+ public static final int ClickFocus = 0x2;
+ public static final int StrongFocus = TabFocus|ClickFocus|0x8;
+ public static final int WheelFocus = StrongFocus|0x4;
+
+ public static final int WidgetOrigin = 0;
+ public static final int ParentOrigin = 1;
+ public static final int WindowOrigin = 2;
+ public static final int AncestorOrigin = 3;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QWidget(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQWidget(parent,name,f);
+ }
+ private native void newQWidget(QWidget parent, String name, int f);
+ public QWidget(QWidget parent, String name) {
+ super((Class) null);
+ newQWidget(parent,name);
+ }
+ private native void newQWidget(QWidget parent, String name);
+ public QWidget(QWidget parent) {
+ super((Class) null);
+ newQWidget(parent);
+ }
+ private native void newQWidget(QWidget parent);
+ public QWidget() {
+ super((Class) null);
+ newQWidget();
+ }
+ private native void newQWidget();
+ public native long winId();
+ public native void setName(String name);
+ public native QStyle style();
+ public native void setStyle(QStyle arg1);
+ public native QStyle setStyle(String arg1);
+ public native boolean isTopLevel();
+ public native boolean isDialog();
+ public native boolean isPopup();
+ public native boolean isDesktop();
+ public native boolean isModal();
+ public native boolean isEnabled();
+ public native boolean isEnabledTo(QWidget arg1);
+ public native boolean isEnabledToTLW();
+ public native QRect frameGeometry();
+ public native QRect geometry();
+ public native int x();
+ public native int y();
+ public native QPoint pos();
+ public native QSize frameSize();
+ public native QSize size();
+ public native int width();
+ public native int height();
+ public native QRect rect();
+ public native QRect childrenRect();
+ public native QRegion childrenRegion();
+ public native QSize minimumSize();
+ public native QSize maximumSize();
+ public native int minimumWidth();
+ public native int minimumHeight();
+ public native int maximumWidth();
+ public native int maximumHeight();
+ public native void setMinimumSize(QSize arg1);
+ public native void setMinimumSize(int minw, int minh);
+ public native void setMaximumSize(QSize arg1);
+ public native void setMaximumSize(int maxw, int maxh);
+ public native void setMinimumWidth(int minw);
+ public native void setMinimumHeight(int minh);
+ public native void setMaximumWidth(int maxw);
+ public native void setMaximumHeight(int maxh);
+ public native QSize sizeIncrement();
+ public native void setSizeIncrement(QSize arg1);
+ public native void setSizeIncrement(int w, int h);
+ public native QSize baseSize();
+ public native void setBaseSize(QSize arg1);
+ public native void setBaseSize(int basew, int baseh);
+ public native void setFixedSize(QSize arg1);
+ public native void setFixedSize(int w, int h);
+ public native void setFixedWidth(int w);
+ public native void setFixedHeight(int h);
+ public native QPoint mapToGlobal(QPoint arg1);
+ public native QPoint mapFromGlobal(QPoint arg1);
+ public native QPoint mapToParent(QPoint arg1);
+ public native QPoint mapFromParent(QPoint arg1);
+ public native QPoint mapTo(QWidget arg1, QPoint arg2);
+ public native QPoint mapFrom(QWidget arg1, QPoint arg2);
+ public native QWidget topLevelWidget();
+ public native int backgroundMode();
+ public native void setBackgroundMode(int arg1);
+ public native void setBackgroundMode(int arg1, int arg2);
+ public native QColor foregroundColor();
+ public native QColor eraseColor();
+ public native void setEraseColor(QColor arg1);
+ public native QPixmap erasePixmap();
+ public native void setErasePixmap(QPixmap arg1);
+ public native QColorGroup colorGroup();
+ public native QPalette palette();
+ public native boolean ownPalette();
+ public native void setPalette(QPalette arg1);
+ public native void unsetPalette();
+ public native QColor paletteForegroundColor();
+ public native void setPaletteForegroundColor(QColor arg1);
+ public native QColor paletteBackgroundColor();
+ public native void setPaletteBackgroundColor(QColor arg1);
+ public native QPixmap paletteBackgroundPixmap();
+ public native void setPaletteBackgroundPixmap(QPixmap arg1);
+ public native QBrush backgroundBrush();
+ public native QFont font();
+ public native boolean ownFont();
+ public native void setFont(QFont arg1);
+ public native void unsetFont();
+ public native QFontMetrics fontMetrics();
+ public native QFontInfo fontInfo();
+ public native QCursor cursor();
+ public native boolean ownCursor();
+ public native void setCursor(QCursor arg1);
+ public native void unsetCursor();
+ public native String caption();
+ public native QPixmap icon();
+ public native String iconText();
+ public native boolean hasMouseTracking();
+ public native boolean hasMouse();
+ public native void setMask(QBitmap arg1);
+ public native void setMask(QRegion arg1);
+ public native void clearMask();
+ public native QColor backgroundColor();
+ public native void setBackgroundColor(QColor arg1);
+ public native QPixmap backgroundPixmap();
+ public native void setBackgroundPixmap(QPixmap arg1);
+ public native boolean isActiveWindow();
+ public native void setActiveWindow();
+ public native boolean isFocusEnabled();
+ public native int focusPolicy();
+ public native void setFocusPolicy(int arg1);
+ public native boolean hasFocus();
+ public native void setFocusProxy(QWidget arg1);
+ public native QWidget focusProxy();
+ public native void setInputMethodEnabled(boolean b);
+ public native boolean isInputMethodEnabled();
+ public native void grabMouse();
+ public native void grabMouse(QCursor arg1);
+ public native void releaseMouse();
+ public native void grabKeyboard();
+ public native void releaseKeyboard();
+ public native boolean isUpdatesEnabled();
+ public native boolean close(boolean alsoDelete);
+ public native boolean isVisible();
+ public native boolean isVisibleTo(QWidget arg1);
+ public native boolean isVisibleToTLW();
+ public native QRect visibleRect();
+ public native boolean isHidden();
+ public native boolean isShown();
+ public native boolean isMinimized();
+ public native boolean isMaximized();
+ public native boolean isFullScreen();
+ public native int windowState();
+ public native void setWindowState(int windowState);
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native QSizePolicy sizePolicy();
+ public native void setSizePolicy(QSizePolicy arg1);
+ public native void setSizePolicy(int hor, int ver, boolean hfw);
+ public native void setSizePolicy(int hor, int ver);
+ public native int heightForWidth(int arg1);
+ public native QRegion clipRegion();
+ public native QLayout layout();
+ public native void updateGeometry();
+ public native void reparent(QWidget parent, int arg2, QPoint arg3, boolean showIt);
+ public native void reparent(QWidget parent, int arg2, QPoint arg3);
+ public native void reparent(QWidget parent, QPoint arg2, boolean showIt);
+ public native void reparent(QWidget parent, QPoint arg2);
+ public native void recreate(QWidget parent, int f, QPoint p, boolean showIt);
+ public native void recreate(QWidget parent, int f, QPoint p);
+ public native void erase();
+ public native void erase(int x, int y, int w, int h);
+ public native void erase(QRect arg1);
+ public native void erase(QRegion arg1);
+ public native void scroll(int dx, int dy);
+ public native void scroll(int dx, int dy, QRect arg3);
+ public native void drawText(int x, int y, String arg3);
+ public native void drawText(QPoint arg1, String arg2);
+ public native QWidget focusWidget();
+ public native QRect microFocusHint();
+ public native boolean acceptDrops();
+ public native void setAcceptDrops(boolean on);
+ public native void setAutoMask(boolean arg1);
+ public native boolean autoMask();
+ public native void setBackgroundOrigin(int arg1);
+ public native int backgroundOrigin();
+ public native QPoint backgroundOffset();
+ public native boolean customWhatsThis();
+ public native QWidget parentWidget(boolean sameWindow);
+ public native QWidget parentWidget();
+ public native int testWState(int s);
+ public native int testWFlags(int f);
+ public native QWidget childAt(int x, int y, boolean includeThis);
+ public native QWidget childAt(int x, int y);
+ public native QWidget childAt(QPoint arg1, boolean includeThis);
+ public native QWidget childAt(QPoint arg1);
+ public native void setWindowOpacity(double level);
+ public native double windowOpacity();
+ public native void setPalette(QPalette p, boolean arg2);
+ public native void setFont(QFont f, boolean arg2);
+ public native void setEnabled(boolean arg1);
+ public native void setDisabled(boolean arg1);
+ public native void setCaption(String arg1);
+ public native void setIcon(QPixmap arg1);
+ public native void setIconText(String arg1);
+ public native void setMouseTracking(boolean enable);
+ public native void setFocus();
+ public native void clearFocus();
+ public native void setUpdatesEnabled(boolean enable);
+ public native void update();
+ public native void update(int x, int y, int w, int h);
+ public native void update(QRect arg1);
+ public native void repaint();
+ public native void repaint(boolean erase);
+ public native void repaint(int x, int y, int w, int h, boolean erase);
+ public native void repaint(int x, int y, int w, int h);
+ public native void repaint(QRect arg1, boolean erase);
+ public native void repaint(QRect arg1);
+ public native void repaint(QRegion arg1, boolean erase);
+ public native void repaint(QRegion arg1);
+ public native void show();
+ public native void hide();
+ public native void setShown(boolean show);
+ public native void setHidden(boolean hide);
+ public native void iconify();
+ public native void showMinimized();
+ public native void showMaximized();
+ public native void showFullScreen();
+ public native void showNormal();
+ public native void polish();
+ public native void constPolish();
+ public native boolean close();
+ public native void raise();
+ public native void lower();
+ public native void stackUnder(QWidget arg1);
+ public native void move(int x, int y);
+ public native void move(QPoint arg1);
+ public native void resize(int w, int h);
+ public native void resize(QSize arg1);
+ public native void setGeometry(int x, int y, int w, int h);
+ public native void setGeometry(QRect arg1);
+ public native void adjustSize();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public static native void setTabOrder(QWidget arg1, QWidget arg2);
+ public static native QWidget mouseGrabber();
+ public static native QWidget keyboardGrabber();
+ public static native QWidget find(long arg1);
+ // QWidgetMapper* wmapper(); >>>> NOT CONVERTED
+ public native boolean event(QEvent arg1);
+ protected native void mousePressEvent(QMouseEvent arg1);
+ protected native void mouseReleaseEvent(QMouseEvent arg1);
+ protected native void mouseDoubleClickEvent(QMouseEvent arg1);
+ protected native void mouseMoveEvent(QMouseEvent arg1);
+ protected native void wheelEvent(QWheelEvent arg1);
+ protected native void keyPressEvent(QKeyEvent arg1);
+ protected native void keyReleaseEvent(QKeyEvent arg1);
+ protected native void focusInEvent(QFocusEvent arg1);
+ protected native void focusOutEvent(QFocusEvent arg1);
+ protected native void enterEvent(QEvent arg1);
+ protected native void leaveEvent(QEvent arg1);
+ protected native void paintEvent(QPaintEvent arg1);
+ protected native void moveEvent(QMoveEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void closeEvent(QCloseEvent arg1);
+ protected native void contextMenuEvent(QContextMenuEvent arg1);
+ protected native void imStartEvent(QIMEvent arg1);
+ protected native void imComposeEvent(QIMEvent arg1);
+ protected native void imEndEvent(QIMEvent arg1);
+ protected native void tabletEvent(QTabletEvent arg1);
+ protected native void dragEnterEvent(QDragEnterEvent arg1);
+ protected native void dragMoveEvent(QDragMoveEvent arg1);
+ protected native void dragLeaveEvent(QDragLeaveEvent arg1);
+ protected native void dropEvent(QDropEvent arg1);
+ public native void showEvent(QShowEvent arg1);
+ protected native void hideEvent(QHideEvent arg1);
+ protected native void updateMask();
+ public native void styleChange(QStyle arg1);
+ protected native void enabledChange(boolean oldEnabled);
+ protected native void paletteChange(QPalette arg1);
+ protected native void fontChange(QFont arg1);
+ protected native void windowActivationChange(boolean oldActive);
+ protected native int metric(int arg1);
+ protected native void resetInputContext();
+ 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 destroy(boolean destroyWindow, boolean destroySubWindows);
+ protected native void destroy(boolean destroyWindow);
+ protected native void destroy();
+ protected native int getWState();
+ protected native void setWState(int arg1);
+ protected native void clearWState(int n);
+ protected native int getWFlags();
+ protected native void setWFlags(int arg1);
+ protected native void clearWFlags(int n);
+ protected native boolean focusNextPrevChild(boolean next);
+ // QWExtra* extraData(); >>>> NOT CONVERTED
+ // QTLWExtra* topData(); >>>> NOT CONVERTED
+ protected native QFocusData focusData();
+ protected native void setKeyCompression(boolean arg1);
+ protected native void setMicroFocusHint(int x, int y, int w, int h, boolean text, QFont f);
+ protected native void setMicroFocusHint(int x, int y, int w, int h, boolean text);
+ protected native void setMicroFocusHint(int x, int y, int w, int h);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws 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 int devType();
+ public native boolean isExtDev();
+ public native boolean paintingActive();
+ public native void setResolution(int arg1);
+ public native int resolution();
+ // bool cmd(int arg1,QPainter* arg2,QPDevCmdParam* arg3); >>>> NOT CONVERTED
+ protected native int fontMet(QFont arg1, int arg2, String arg3, int arg4);
+ protected native int fontMet(QFont arg1, int arg2, String arg3);
+ protected native int fontMet(QFont arg1, int arg2);
+ protected native int fontInf(QFont arg1, int arg2);
+ /** Internal method */
+ protected native long paintDevice();
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QWidgetItem.java b/qtjava/javalib/org/kde/qt/QWidgetItem.java
new file mode 100644
index 00000000..b29b8f78
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QWidgetItem.java
@@ -0,0 +1,29 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QWidgetItem extends QLayoutItem {
+ protected QWidgetItem(Class dummy){super((Class) null);}
+ public QWidgetItem(QWidget w) {
+ super((Class) null);
+ newQWidgetItem(w);
+ }
+ private native void newQWidgetItem(QWidget w);
+ public native QSize sizeHint();
+ public native QSize minimumSize();
+ public native QSize maximumSize();
+ public native int expanding();
+ public native boolean isEmpty();
+ public native void setGeometry(QRect arg1);
+ public native QRect geometry();
+ public native QWidget widget();
+ public native boolean hasHeightForWidth();
+ public native int heightForWidth(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/qtjava/javalib/org/kde/qt/QWidgetStack.java b/qtjava/javalib/org/kde/qt/QWidgetStack.java
new file mode 100644
index 00000000..1146ca35
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QWidgetStack.java
@@ -0,0 +1,57 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QWidgetStackSignals} for signals emitted by QWidgetStack
+*/
+public class QWidgetStack extends QFrame {
+ protected QWidgetStack(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QWidgetStack(QWidget parent, String name) {
+ super((Class) null);
+ newQWidgetStack(parent,name);
+ }
+ private native void newQWidgetStack(QWidget parent, String name);
+ public QWidgetStack(QWidget parent) {
+ super((Class) null);
+ newQWidgetStack(parent);
+ }
+ private native void newQWidgetStack(QWidget parent);
+ public QWidgetStack() {
+ super((Class) null);
+ newQWidgetStack();
+ }
+ private native void newQWidgetStack();
+ public QWidgetStack(QWidget parent, String name, int f) {
+ super((Class) null);
+ newQWidgetStack(parent,name,f);
+ }
+ private native void newQWidgetStack(QWidget parent, String name, int f);
+ public native int addWidget(QWidget arg1, int arg2);
+ public native int addWidget(QWidget arg1);
+ public native void removeWidget(QWidget arg1);
+ public native QSize sizeHint();
+ public native QSize minimumSizeHint();
+ public native void show();
+ public native QWidget widget(int arg1);
+ public native int id(QWidget arg1);
+ public native QWidget visibleWidget();
+ public native void setFrameRect(QRect arg1);
+ public native void raiseWidget(int arg1);
+ public native void raiseWidget(QWidget arg1);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void frameChanged();
+ protected native void resizeEvent(QResizeEvent arg1);
+ protected native void setChildGeometries();
+ protected native void childEvent(QChildEvent 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/qtjava/javalib/org/kde/qt/QWidgetStackSignals.java b/qtjava/javalib/org/kde/qt/QWidgetStackSignals.java
new file mode 100644
index 00000000..d8d833b7
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QWidgetStackSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QWidgetStackSignals {
+ void aboutToShow(int arg1);
+ void aboutToShow(QWidget arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QWizard.java b/qtjava/javalib/org/kde/qt/QWizard.java
new file mode 100644
index 00000000..2e290366
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QWizard.java
@@ -0,0 +1,78 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+/**
+ See {@link QWizardSignals} for signals emitted by QWizard
+*/
+public class QWizard extends QDialog {
+ protected QWizard(Class dummy){super((Class) null);}
+ public native QMetaObject metaObject();
+ public native String className();
+ public QWizard(QWidget parent, String name, boolean modal, int f) {
+ super((Class) null);
+ newQWizard(parent,name,modal,f);
+ }
+ private native void newQWizard(QWidget parent, String name, boolean modal, int f);
+ public QWizard(QWidget parent, String name, boolean modal) {
+ super((Class) null);
+ newQWizard(parent,name,modal);
+ }
+ private native void newQWizard(QWidget parent, String name, boolean modal);
+ public QWizard(QWidget parent, String name) {
+ super((Class) null);
+ newQWizard(parent,name);
+ }
+ private native void newQWizard(QWidget parent, String name);
+ public QWizard(QWidget parent) {
+ super((Class) null);
+ newQWizard(parent);
+ }
+ private native void newQWizard(QWidget parent);
+ public QWizard() {
+ super((Class) null);
+ newQWizard();
+ }
+ private native void newQWizard();
+ public native void show();
+ public native void setFont(QFont font);
+ public native void addPage(QWidget arg1, String arg2);
+ public native void insertPage(QWidget arg1, String arg2, int arg3);
+ public native void removePage(QWidget arg1);
+ public native String title(QWidget arg1);
+ public native void setTitle(QWidget arg1, String arg2);
+ public native QFont titleFont();
+ public native void setTitleFont(QFont arg1);
+ public native void showPage(QWidget arg1);
+ public native QWidget currentPage();
+ public native QWidget page(int arg1);
+ public native int pageCount();
+ public native int indexOf(QWidget arg1);
+ public native boolean appropriate(QWidget arg1);
+ public native void setAppropriate(QWidget arg1, boolean arg2);
+ public native QPushButton backButton();
+ public native QPushButton nextButton();
+ public native QPushButton finishButton();
+ public native QPushButton cancelButton();
+ public native QPushButton helpButton();
+ public native boolean eventFilter(QObject arg1, QEvent arg2);
+ public native void setBackEnabled(QWidget arg1, boolean arg2);
+ public native void setNextEnabled(QWidget arg1, boolean arg2);
+ public native void setFinishEnabled(QWidget arg1, boolean arg2);
+ public native void setHelpEnabled(QWidget arg1, boolean arg2);
+ public native void setFinish(QWidget arg1, boolean arg2);
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void layOutButtonRow(QHBoxLayout arg1);
+ protected native void layOutTitleRow(QHBoxLayout arg1, String arg2);
+ protected native void back();
+ protected native void next();
+ protected native void help();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QWizardSignals.java b/qtjava/javalib/org/kde/qt/QWizardSignals.java
new file mode 100644
index 00000000..03d979ae
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QWizardSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QWizardSignals {
+ void helpClicked();
+ void selected(String arg1);
+}
diff --git a/qtjava/javalib/org/kde/qt/QWorkspace.java b/qtjava/javalib/org/kde/qt/QWorkspace.java
new file mode 100644
index 00000000..52413dd5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QWorkspace.java
@@ -0,0 +1,61 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+/**
+ See {@link QWorkspaceSignals} for signals emitted by QWorkspace
+*/
+public class QWorkspace extends QWidget {
+ protected QWorkspace(Class dummy){super((Class) null);}
+ public static final int CreationOrder = 0;
+ public static final int StackingOrder = 1;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QWorkspace(QWidget parent, String name) {
+ super((Class) null);
+ newQWorkspace(parent,name);
+ }
+ private native void newQWorkspace(QWidget parent, String name);
+ public QWorkspace(QWidget parent) {
+ super((Class) null);
+ newQWorkspace(parent);
+ }
+ private native void newQWorkspace(QWidget parent);
+ public QWorkspace() {
+ super((Class) null);
+ newQWorkspace();
+ }
+ private native void newQWorkspace();
+ public native QWidget activeWindow();
+ public native ArrayList windowList();
+ public native ArrayList windowList(int order);
+ public native QSize sizeHint();
+ public native boolean scrollBarsEnabled();
+ public native void setScrollBarsEnabled(boolean enable);
+ public native void setPaletteBackgroundColor(QColor arg1);
+ public native void setPaletteBackgroundPixmap(QPixmap arg1);
+ public native void cascade();
+ public native void tile();
+ public native void closeActiveWindow();
+ public native void closeAllWindows();
+ public native void activateNextWindow();
+ public native void activatePrevWindow();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ public native void styleChange(QStyle arg1);
+ protected native void childEvent(QChildEvent arg1);
+ protected native void resizeEvent(QResizeEvent arg1);
+ public native boolean eventFilter(QObject arg1, QEvent arg2);
+ public native void showEvent(QShowEvent e);
+ protected native void hideEvent(QHideEvent e);
+ protected native void wheelEvent(QWheelEvent 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/qtjava/javalib/org/kde/qt/QWorkspaceSignals.java b/qtjava/javalib/org/kde/qt/QWorkspaceSignals.java
new file mode 100644
index 00000000..f6492cb7
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QWorkspaceSignals.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.util.ArrayList;
+
+public interface QWorkspaceSignals {
+ void windowActivated(QWidget w);
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlAttributes.java b/qtjava/javalib/org/kde/qt/QXmlAttributes.java
new file mode 100644
index 00000000..d6fec641
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlAttributes.java
@@ -0,0 +1,36 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QXmlAttributes implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QXmlAttributes(Class dummy){}
+
+ public QXmlAttributes() {
+ newQXmlAttributes();
+ }
+ private native void newQXmlAttributes();
+ public native int index(String qName);
+ public native int index(String uri, String localPart);
+ public native int length();
+ public native int count();
+ public native String localName(int index);
+ public native String qName(int index);
+ public native String uri(int index);
+ public native String type(int index);
+ public native String type(String qName);
+ public native String type(String uri, String localName);
+ public native String value(int index);
+ public native String value(String qName);
+ public native String value(String uri, String localName);
+ public native void clear();
+ public native void append(String qName, String uri, String localPart, String value);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlContentHandler.java b/qtjava/javalib/org/kde/qt/QXmlContentHandler.java
new file mode 100644
index 00000000..5c1485e2
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlContentHandler.java
@@ -0,0 +1,23 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QXmlContentHandler implements QtSupport, QXmlContentHandlerInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QXmlContentHandler(Class dummy){}
+
+ public native void setDocumentLocator(QXmlLocator locator);
+ public native boolean startDocument();
+ public native boolean endDocument();
+ public native boolean startPrefixMapping(String prefix, String uri);
+ public native boolean endPrefixMapping(String prefix);
+ public native boolean startElement(String namespaceURI, String localName, String qName, QXmlAttributes atts);
+ public native boolean endElement(String namespaceURI, String localName, String qName);
+ public native boolean characters(String ch);
+ public native boolean ignorableWhitespace(String ch);
+ public native boolean processingInstruction(String target, String data);
+ public native boolean skippedEntity(String name);
+ public native String errorString();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlContentHandlerInterface.java b/qtjava/javalib/org/kde/qt/QXmlContentHandlerInterface.java
new file mode 100644
index 00000000..02a52f4f
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlContentHandlerInterface.java
@@ -0,0 +1,18 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QXmlContentHandlerInterface {
+ void setDocumentLocator(QXmlLocator locator);
+ boolean startDocument();
+ boolean endDocument();
+ boolean startPrefixMapping(String prefix, String uri);
+ boolean endPrefixMapping(String prefix);
+ boolean startElement(String namespaceURI, String localName, String qName, QXmlAttributes atts);
+ boolean endElement(String namespaceURI, String localName, String qName);
+ boolean characters(String ch);
+ boolean ignorableWhitespace(String ch);
+ boolean processingInstruction(String target, String data);
+ boolean skippedEntity(String name);
+ String errorString();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlDTDHandler.java b/qtjava/javalib/org/kde/qt/QXmlDTDHandler.java
new file mode 100644
index 00000000..65df4ff6
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlDTDHandler.java
@@ -0,0 +1,14 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QXmlDTDHandler implements QtSupport, QXmlDTDHandlerInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QXmlDTDHandler(Class dummy){}
+
+ public native boolean notationDecl(String name, String publicId, String systemId);
+ public native boolean unparsedEntityDecl(String name, String publicId, String systemId, String notationName);
+ public native String errorString();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlDTDHandlerInterface.java b/qtjava/javalib/org/kde/qt/QXmlDTDHandlerInterface.java
new file mode 100644
index 00000000..e0c3c7d5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlDTDHandlerInterface.java
@@ -0,0 +1,9 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QXmlDTDHandlerInterface {
+ boolean notationDecl(String name, String publicId, String systemId);
+ boolean unparsedEntityDecl(String name, String publicId, String systemId, String notationName);
+ String errorString();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlDeclHandler.java b/qtjava/javalib/org/kde/qt/QXmlDeclHandler.java
new file mode 100644
index 00000000..2a67225f
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlDeclHandler.java
@@ -0,0 +1,15 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QXmlDeclHandler implements QtSupport, QXmlDeclHandlerInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QXmlDeclHandler(Class dummy){}
+
+ public native boolean attributeDecl(String eName, String aName, String type, String valueDefault, String value);
+ public native boolean internalEntityDecl(String name, String value);
+ public native boolean externalEntityDecl(String name, String publicId, String systemId);
+ public native String errorString();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlDeclHandlerInterface.java b/qtjava/javalib/org/kde/qt/QXmlDeclHandlerInterface.java
new file mode 100644
index 00000000..e52e268c
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlDeclHandlerInterface.java
@@ -0,0 +1,10 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QXmlDeclHandlerInterface {
+ boolean attributeDecl(String eName, String aName, String type, String valueDefault, String value);
+ boolean internalEntityDecl(String name, String value);
+ boolean externalEntityDecl(String name, String publicId, String systemId);
+ String errorString();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlDefaultHandler.java b/qtjava/javalib/org/kde/qt/QXmlDefaultHandler.java
new file mode 100644
index 00000000..42f4c3a5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlDefaultHandler.java
@@ -0,0 +1,47 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QXmlDefaultHandler extends QXmlLexicalHandler implements QXmlContentHandlerInterface, QXmlDTDHandlerInterface, QXmlDeclHandlerInterface, QXmlEntityResolverInterface, QXmlErrorHandlerInterface, QXmlLexicalHandlerInterface {
+ protected QXmlDefaultHandler(Class dummy){super((Class) null);}
+ public QXmlDefaultHandler() {
+ super((Class) null);
+ newQXmlDefaultHandler();
+ }
+ private native void newQXmlDefaultHandler();
+ public native void setDocumentLocator(QXmlLocator locator);
+ public native boolean startDocument();
+ public native boolean endDocument();
+ public native boolean startPrefixMapping(String prefix, String uri);
+ public native boolean endPrefixMapping(String prefix);
+ public native boolean startElement(String namespaceURI, String localName, String qName, QXmlAttributes atts);
+ public native boolean endElement(String namespaceURI, String localName, String qName);
+ public native boolean characters(String ch);
+ public native boolean ignorableWhitespace(String ch);
+ public native boolean processingInstruction(String target, String data);
+ public native boolean skippedEntity(String name);
+ public native boolean warning(QXmlParseException exception);
+ public native boolean error(QXmlParseException exception);
+ public native boolean fatalError(QXmlParseException exception);
+ public native boolean notationDecl(String name, String publicId, String systemId);
+ public native boolean unparsedEntityDecl(String name, String publicId, String systemId, String notationName);
+ public native boolean resolveEntity(String publicId, String systemId, QXmlInputSource ret);
+ public native boolean startDTD(String name, String publicId, String systemId);
+ public native boolean endDTD();
+ public native boolean startEntity(String name);
+ public native boolean endEntity(String name);
+ public native boolean startCDATA();
+ public native boolean endCDATA();
+ public native boolean comment(String ch);
+ public native boolean attributeDecl(String eName, String aName, String type, String valueDefault, String value);
+ public native boolean internalEntityDecl(String name, String value);
+ public native boolean externalEntityDecl(String name, String publicId, String systemId);
+ public native String errorString();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlEntityResolver.java b/qtjava/javalib/org/kde/qt/QXmlEntityResolver.java
new file mode 100644
index 00000000..c9725f27
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlEntityResolver.java
@@ -0,0 +1,13 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QXmlEntityResolver implements QtSupport, QXmlEntityResolverInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QXmlEntityResolver(Class dummy){}
+
+ public native boolean resolveEntity(String publicId, String systemId, QXmlInputSource ret);
+ public native String errorString();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlEntityResolverInterface.java b/qtjava/javalib/org/kde/qt/QXmlEntityResolverInterface.java
new file mode 100644
index 00000000..d93a54ff
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlEntityResolverInterface.java
@@ -0,0 +1,8 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QXmlEntityResolverInterface {
+ boolean resolveEntity(String publicId, String systemId, QXmlInputSource ret);
+ String errorString();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlErrorHandler.java b/qtjava/javalib/org/kde/qt/QXmlErrorHandler.java
new file mode 100644
index 00000000..cca6b897
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlErrorHandler.java
@@ -0,0 +1,15 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QXmlErrorHandler implements QtSupport, QXmlErrorHandlerInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QXmlErrorHandler(Class dummy){}
+
+ public native boolean warning(QXmlParseException exception);
+ public native boolean error(QXmlParseException exception);
+ public native boolean fatalError(QXmlParseException exception);
+ public native String errorString();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlErrorHandlerInterface.java b/qtjava/javalib/org/kde/qt/QXmlErrorHandlerInterface.java
new file mode 100644
index 00000000..af9381a5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlErrorHandlerInterface.java
@@ -0,0 +1,10 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QXmlErrorHandlerInterface {
+ boolean warning(QXmlParseException exception);
+ boolean error(QXmlParseException exception);
+ boolean fatalError(QXmlParseException exception);
+ String errorString();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlInputSource.java b/qtjava/javalib/org/kde/qt/QXmlInputSource.java
new file mode 100644
index 00000000..fb5cf06e
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlInputSource.java
@@ -0,0 +1,41 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QXmlInputSource implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QXmlInputSource(Class dummy){}
+
+ public QXmlInputSource() {
+ newQXmlInputSource();
+ }
+ private native void newQXmlInputSource();
+ public QXmlInputSource(QIODeviceInterface dev) {
+ newQXmlInputSource(dev);
+ }
+ private native void newQXmlInputSource(QIODeviceInterface dev);
+ public QXmlInputSource(QFile file) {
+ newQXmlInputSource(file);
+ }
+ private native void newQXmlInputSource(QFile file);
+ public QXmlInputSource(QTextStream stream) {
+ newQXmlInputSource(stream);
+ }
+ private native void newQXmlInputSource(QTextStream stream);
+ public native void setData(String dat);
+ public native void setData(byte[] dat);
+ public native void fetchData();
+ public native String data();
+ public native char next();
+ public native void reset();
+ protected native String fromRawData(byte[] data, boolean beginning);
+ protected native String fromRawData(byte[] data);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlLexicalHandler.java b/qtjava/javalib/org/kde/qt/QXmlLexicalHandler.java
new file mode 100644
index 00000000..a0805ce2
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlLexicalHandler.java
@@ -0,0 +1,19 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QXmlLexicalHandler implements QtSupport, QXmlLexicalHandlerInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QXmlLexicalHandler(Class dummy){}
+
+ public native boolean startDTD(String name, String publicId, String systemId);
+ public native boolean endDTD();
+ public native boolean startEntity(String name);
+ public native boolean endEntity(String name);
+ public native boolean startCDATA();
+ public native boolean endCDATA();
+ public native boolean comment(String ch);
+ public native String errorString();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlLexicalHandlerInterface.java b/qtjava/javalib/org/kde/qt/QXmlLexicalHandlerInterface.java
new file mode 100644
index 00000000..b60839b0
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlLexicalHandlerInterface.java
@@ -0,0 +1,14 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+
+public interface QXmlLexicalHandlerInterface {
+ boolean startDTD(String name, String publicId, String systemId);
+ boolean endDTD();
+ boolean startEntity(String name);
+ boolean endEntity(String name);
+ boolean startCDATA();
+ boolean endCDATA();
+ boolean comment(String ch);
+ String errorString();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlLocator.java b/qtjava/javalib/org/kde/qt/QXmlLocator.java
new file mode 100644
index 00000000..df000e39
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlLocator.java
@@ -0,0 +1,13 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QXmlLocator implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QXmlLocator(Class dummy){}
+
+ public native int columnNumber();
+ public native int lineNumber();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlNamespaceSupport.java b/qtjava/javalib/org/kde/qt/QXmlNamespaceSupport.java
new file mode 100644
index 00000000..2c9f5347
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlNamespaceSupport.java
@@ -0,0 +1,32 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QXmlNamespaceSupport implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QXmlNamespaceSupport(Class dummy){}
+
+ public QXmlNamespaceSupport() {
+ newQXmlNamespaceSupport();
+ }
+ private native void newQXmlNamespaceSupport();
+ public native void setPrefix(String arg1, String arg2);
+ public native String prefix(String arg1);
+ public native String uri(String arg1);
+ public native void splitName(String arg1, StringBuffer arg2, StringBuffer arg3);
+ public native void processName(String arg1, boolean arg2, StringBuffer arg3, StringBuffer arg4);
+ public native ArrayList prefixes();
+ public native ArrayList prefixes(String arg1);
+ public native void pushContext();
+ public native void popContext();
+ 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/qtjava/javalib/org/kde/qt/QXmlParseException.java b/qtjava/javalib/org/kde/qt/QXmlParseException.java
new file mode 100644
index 00000000..3e035222
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlParseException.java
@@ -0,0 +1,46 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QXmlParseException implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QXmlParseException(Class dummy){}
+
+ public QXmlParseException(String name, int c, int l, String p, String s) {
+ newQXmlParseException(name,c,l,p,s);
+ }
+ private native void newQXmlParseException(String name, int c, int l, String p, String s);
+ public QXmlParseException(String name, int c, int l, String p) {
+ newQXmlParseException(name,c,l,p);
+ }
+ private native void newQXmlParseException(String name, int c, int l, String p);
+ public QXmlParseException(String name, int c, int l) {
+ newQXmlParseException(name,c,l);
+ }
+ private native void newQXmlParseException(String name, int c, int l);
+ public QXmlParseException(String name, int c) {
+ newQXmlParseException(name,c);
+ }
+ private native void newQXmlParseException(String name, int c);
+ public QXmlParseException(String name) {
+ newQXmlParseException(name);
+ }
+ private native void newQXmlParseException(String name);
+ public QXmlParseException() {
+ newQXmlParseException();
+ }
+ private native void newQXmlParseException();
+ public native int columnNumber();
+ public native int lineNumber();
+ public native String publicId();
+ public native String systemId();
+ public native String message();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlReader.java b/qtjava/javalib/org/kde/qt/QXmlReader.java
new file mode 100644
index 00000000..46f6d3f7
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlReader.java
@@ -0,0 +1,32 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QXmlReader implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected QXmlReader(Class dummy){}
+
+ public native boolean feature(String name, boolean[] ok);
+ public native boolean feature(String name);
+ public native void setFeature(String name, boolean value);
+ public native boolean hasFeature(String name);
+ // void* property(const QString& arg1,bool* arg2); >>>> NOT CONVERTED
+ // void* property(const QString& arg1); >>>> NOT CONVERTED
+ // void setProperty(const QString& arg1,void* arg2); >>>> NOT CONVERTED
+ public native boolean hasProperty(String name);
+ public native void setEntityResolver(QXmlEntityResolverInterface handler);
+ public native QXmlEntityResolverInterface entityResolver();
+ public native void setDTDHandler(QXmlDTDHandlerInterface handler);
+ public native QXmlDTDHandlerInterface DTDHandler();
+ public native void setContentHandler(QXmlContentHandlerInterface handler);
+ public native QXmlContentHandlerInterface contentHandler();
+ public native void setErrorHandler(QXmlErrorHandlerInterface handler);
+ public native QXmlErrorHandlerInterface errorHandler();
+ public native void setLexicalHandler(QXmlLexicalHandlerInterface handler);
+ public native QXmlLexicalHandlerInterface lexicalHandler();
+ public native void setDeclHandler(QXmlDeclHandlerInterface handler);
+ public native QXmlDeclHandlerInterface declHandler();
+ public native boolean parse(QXmlInputSource input);
+}
diff --git a/qtjava/javalib/org/kde/qt/QXmlSimpleReader.java b/qtjava/javalib/org/kde/qt/QXmlSimpleReader.java
new file mode 100644
index 00000000..ebd04945
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QXmlSimpleReader.java
@@ -0,0 +1,42 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class QXmlSimpleReader extends QXmlReader {
+ protected QXmlSimpleReader(Class dummy){super((Class) null);}
+ public QXmlSimpleReader() {
+ super((Class) null);
+ newQXmlSimpleReader();
+ }
+ private native void newQXmlSimpleReader();
+ public native boolean feature(String name, boolean[] ok);
+ public native boolean feature(String name);
+ public native void setFeature(String name, boolean value);
+ public native boolean hasFeature(String name);
+ // void* property(const QString& arg1,bool* arg2); >>>> NOT CONVERTED
+ // void* property(const QString& arg1); >>>> NOT CONVERTED
+ // void setProperty(const QString& arg1,void* arg2); >>>> NOT CONVERTED
+ public native boolean hasProperty(String name);
+ public native void setEntityResolver(QXmlEntityResolverInterface handler);
+ public native QXmlEntityResolverInterface entityResolver();
+ public native void setDTDHandler(QXmlDTDHandlerInterface handler);
+ public native QXmlDTDHandlerInterface DTDHandler();
+ public native void setContentHandler(QXmlContentHandlerInterface handler);
+ public native QXmlContentHandlerInterface contentHandler();
+ public native void setErrorHandler(QXmlErrorHandlerInterface handler);
+ public native QXmlErrorHandlerInterface errorHandler();
+ public native void setLexicalHandler(QXmlLexicalHandlerInterface handler);
+ public native QXmlLexicalHandlerInterface lexicalHandler();
+ public native void setDeclHandler(QXmlDeclHandlerInterface handler);
+ public native QXmlDeclHandlerInterface declHandler();
+ public native boolean parse(QXmlInputSource input);
+ public native boolean parse(QXmlInputSource input, boolean incremental);
+ public native boolean parseContinue();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}
diff --git a/qtjava/javalib/org/kde/qt/Qt.java b/qtjava/javalib/org/kde/qt/Qt.java
new file mode 100644
index 00000000..11be3f41
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/Qt.java
@@ -0,0 +1,1140 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import java.io.*;
+import java.text.MessageFormat;
+import java.lang.reflect.*;
+import java.util.Calendar;
+import java.util.Date;
+
+public class Qt implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected Qt(Class dummy){}
+
+ public static final int NoButton = 0x0000;
+ public static final int LeftButton = 0x0001;
+ public static final int RightButton = 0x0002;
+ public static final int MidButton = 0x0004;
+ public static final int MouseButtonMask = 0x0007;
+ public static final int ShiftButton = 0x0100;
+ public static final int ControlButton = 0x0200;
+ public static final int AltButton = 0x0400;
+ public static final int MetaButton = 0x0800;
+ public static final int KeyButtonMask = 0x0f00;
+ public static final int Keypad = 0x4000;
+
+ public static final int Horizontal = 0;
+ public static final int Vertical = 1;
+
+ public static final int Ascending = 0;
+ public static final int Descending = 1;
+
+ public static final int AlignAuto = 0x0000;
+ public static final int AlignLeft = 0x0001;
+ public static final int AlignRight = 0x0002;
+ public static final int AlignHCenter = 0x0004;
+ public static final int AlignJustify = 0x0008;
+ public static final int AlignHorizontal_Mask = AlignLeft|AlignRight|AlignHCenter|AlignJustify;
+ public static final int AlignTop = 0x0010;
+ public static final int AlignBottom = 0x0020;
+ public static final int AlignVCenter = 0x0040;
+ public static final int AlignVertical_Mask = AlignTop|AlignBottom|AlignVCenter;
+ public static final int AlignCenter = AlignVCenter|AlignHCenter;
+
+ public static final int SingleLine = 0x0080;
+ public static final int DontClip = 0x0100;
+ public static final int ExpandTabs = 0x0200;
+ public static final int ShowPrefix = 0x0400;
+ public static final int WordBreak = 0x0800;
+ public static final int BreakAnywhere = 0x1000;
+ public static final int DontPrint = 0x2000;
+ public static final int Underline = 0x01000000;
+ public static final int Overline = 0x02000000;
+ public static final int StrikeOut = 0x04000000;
+ public static final int IncludeTrailingSpaces = 0x08000000;
+ public static final int NoAccel = 0x4000;
+
+ public static final int WState_Created = 0x00000001;
+ public static final int WState_Disabled = 0x00000002;
+ public static final int WState_Visible = 0x00000004;
+ public static final int WState_ForceHide = 0x00000008;
+ public static final int WState_OwnCursor = 0x00000010;
+ public static final int WState_MouseTracking = 0x00000020;
+ public static final int WState_CompressKeys = 0x00000040;
+ public static final int WState_BlockUpdates = 0x00000080;
+ public static final int WState_InPaintEvent = 0x00000100;
+ public static final int WState_Reparented = 0x00000200;
+ public static final int WState_ConfigPending = 0x00000400;
+ public static final int WState_Resized = 0x00000800;
+ public static final int WState_AutoMask = 0x00001000;
+ public static final int WState_Polished = 0x00002000;
+ public static final int WState_DND = 0x00004000;
+ public static final int WState_Reserved0 = 0x00008000;
+ public static final int WState_FullScreen = 0x00010000;
+ public static final int WState_OwnSizePolicy = 0x00020000;
+ public static final int WState_CreatedHidden = 0x00040000;
+ public static final int WState_Maximized = 0x00080000;
+ public static final int WState_Minimized = 0x00100000;
+ public static final int WState_ForceDisabled = 0x00200000;
+ public static final int WState_Exposed = 0x00400000;
+ public static final int WState_HasMouse = 0x00800000;
+
+ public static final int WType_TopLevel = 0x00000001;
+ public static final int WType_Dialog = 0x00000002;
+ public static final int WType_Popup = 0x00000004;
+ public static final int WType_Desktop = 0x00000008;
+ public static final int WType_Mask = 0x0000000f;
+ public static final int WStyle_Customize = 0x00000010;
+ public static final int WStyle_NormalBorder = 0x00000020;
+ public static final int WStyle_DialogBorder = 0x00000040;
+ public static final int WStyle_NoBorder = 0x00002000;
+ public static final int WStyle_Title = 0x00000080;
+ public static final int WStyle_SysMenu = 0x00000100;
+ public static final int WStyle_Minimize = 0x00000200;
+ public static final int WStyle_Maximize = 0x00000400;
+ public static final int WStyle_MinMax = WStyle_Minimize|WStyle_Maximize;
+ public static final int WStyle_Tool = 0x00000800;
+ public static final int WStyle_StaysOnTop = 0x00001000;
+ public static final int WStyle_ContextHelp = 0x00004000;
+ public static final int WStyle_Reserved = 0x00008000;
+ public static final int WStyle_Mask = 0x0000fff0;
+ public static final int WDestructiveClose = 0x00010000;
+ public static final int WPaintDesktop = 0x00020000;
+ public static final int WPaintUnclipped = 0x00040000;
+ public static final int WPaintClever = 0x00080000;
+ public static final int WResizeNoErase = 0x00100000;
+ public static final int WMouseNoMask = 0x00200000;
+ public static final int WStaticContents = 0x00400000;
+ public static final int WRepaintNoErase = 0x00800000;
+ public static final int WX11BypassWM = 0x00000000;
+ public static final int WWinOwnDC = 0x01000000;
+ public static final int WMacNoSheet = 0x00000000;
+ public static final int WMacDrawer = 0x00000000;
+ public static final int WGroupLeader = 0x02000000;
+ public static final int WShowModal = 0x04000000;
+ public static final int WNoMousePropagation = 0x08000000;
+ public static final int WSubWindow = 0x10000000;
+ public static final int WStyle_Splash = WStyle_NoBorder|WMacNoSheet|WStyle_Tool|WWinOwnDC;
+ public static final int WNoAutoErase = WRepaintNoErase|WResizeNoErase;
+ public static final int WNorthWestGravity = WStaticContents;
+ public static final int WType_Modal = WType_Dialog|WShowModal;
+ public static final int WStyle_Dialog = WType_Dialog;
+ public static final int WStyle_NoBorderEx = WStyle_NoBorder;
+
+ public static final int WindowNoState = 0x00000000;
+ public static final int WindowMinimized = 0x00000001;
+ public static final int WindowMaximized = 0x00000002;
+ public static final int WindowFullScreen = 0x00000004;
+ public static final int WindowActive = 0x00000008;
+
+ public static final int ColorMode_Mask = 0x00000003;
+ public static final int AutoColor = 0x00000000;
+ public static final int ColorOnly = 0x00000003;
+ public static final int MonoOnly = 0x00000002;
+ public static final int AlphaDither_Mask = 0x0000000c;
+ public static final int ThresholdAlphaDither = 0x00000000;
+ public static final int OrderedAlphaDither = 0x00000004;
+ public static final int DiffuseAlphaDither = 0x00000008;
+ public static final int NoAlpha = 0x0000000c;
+ public static final int Dither_Mask = 0x00000030;
+ public static final int DiffuseDither = 0x00000000;
+ public static final int OrderedDither = 0x00000010;
+ public static final int ThresholdDither = 0x00000020;
+ public static final int DitherMode_Mask = 0x000000c0;
+ public static final int AutoDither = 0x00000000;
+ public static final int PreferDither = 0x00000040;
+ public static final int AvoidDither = 0x00000080;
+
+ public static final int TransparentMode = 0;
+ public static final int OpaqueMode = 1;
+
+ public static final int PixelUnit = 0;
+ public static final int LoMetricUnit = 1;
+ public static final int HiMetricUnit = 2;
+ public static final int LoEnglishUnit = 3;
+ public static final int HiEnglishUnit = 4;
+ public static final int TwipsUnit = 5;
+
+ public static final int MacStyle = 0;
+ public static final int WindowsStyle = 1;
+ public static final int Win3Style = 2;
+ public static final int PMStyle = 3;
+ public static final int MotifStyle = 4;
+
+ public static final int NoMatch = 0;
+ public static final int PartialMatch = 1;
+ public static final int Identical = 2;
+
+ public static final int META = 0x00100000;
+ public static final int SHIFT = 0x00200000;
+ public static final int CTRL = 0x00400000;
+ public static final int ALT = 0x00800000;
+ public static final int MODIFIER_MASK = 0x00f00000;
+ public static final int UNICODE_ACCEL = 0x10000000;
+ public static final int ASCII_ACCEL = UNICODE_ACCEL;
+
+ public static final int Key_Escape = 0x1000;
+ public static final int Key_Tab = 0x1001;
+ public static final int Key_Backtab = 0x1002;
+ public static final int Key_BackTab = Key_Backtab;
+ public static final int Key_Backspace = 0x1003;
+ public static final int Key_BackSpace = Key_Backspace;
+ public static final int Key_Return = 0x1004;
+ public static final int Key_Enter = 0x1005;
+ public static final int Key_Insert = 0x1006;
+ public static final int Key_Delete = 0x1007;
+ public static final int Key_Pause = 0x1008;
+ public static final int Key_Print = 0x1009;
+ public static final int Key_SysReq = 0x100a;
+ public static final int Key_Clear = 0x100b;
+ public static final int Key_Home = 0x1010;
+ public static final int Key_End = 0x1011;
+ public static final int Key_Left = 0x1012;
+ public static final int Key_Up = 0x1013;
+ public static final int Key_Right = 0x1014;
+ public static final int Key_Down = 0x1015;
+ public static final int Key_Prior = 0x1016;
+ public static final int Key_PageUp = Key_Prior;
+ public static final int Key_Next = 0x1017;
+ public static final int Key_PageDown = Key_Next;
+ public static final int Key_Shift = 0x1020;
+ public static final int Key_Control = 0x1021;
+ public static final int Key_Meta = 0x1022;
+ public static final int Key_Alt = 0x1023;
+ public static final int Key_CapsLock = 0x1024;
+ public static final int Key_NumLock = 0x1025;
+ public static final int Key_ScrollLock = 0x1026;
+ public static final int Key_F1 = 0x1030;
+ public static final int Key_F2 = 0x1031;
+ public static final int Key_F3 = 0x1032;
+ public static final int Key_F4 = 0x1033;
+ public static final int Key_F5 = 0x1034;
+ public static final int Key_F6 = 0x1035;
+ public static final int Key_F7 = 0x1036;
+ public static final int Key_F8 = 0x1037;
+ public static final int Key_F9 = 0x1038;
+ public static final int Key_F10 = 0x1039;
+ public static final int Key_F11 = 0x103a;
+ public static final int Key_F12 = 0x103b;
+ public static final int Key_F13 = 0x103c;
+ public static final int Key_F14 = 0x103d;
+ public static final int Key_F15 = 0x103e;
+ public static final int Key_F16 = 0x103f;
+ public static final int Key_F17 = 0x1040;
+ public static final int Key_F18 = 0x1041;
+ public static final int Key_F19 = 0x1042;
+ public static final int Key_F20 = 0x1043;
+ public static final int Key_F21 = 0x1044;
+ public static final int Key_F22 = 0x1045;
+ public static final int Key_F23 = 0x1046;
+ public static final int Key_F24 = 0x1047;
+ public static final int Key_F25 = 0x1048;
+ public static final int Key_F26 = 0x1049;
+ public static final int Key_F27 = 0x104a;
+ public static final int Key_F28 = 0x104b;
+ public static final int Key_F29 = 0x104c;
+ public static final int Key_F30 = 0x104d;
+ public static final int Key_F31 = 0x104e;
+ public static final int Key_F32 = 0x104f;
+ public static final int Key_F33 = 0x1050;
+ public static final int Key_F34 = 0x1051;
+ public static final int Key_F35 = 0x1052;
+ public static final int Key_Super_L = 0x1053;
+ public static final int Key_Super_R = 0x1054;
+ public static final int Key_Menu = 0x1055;
+ public static final int Key_Hyper_L = 0x1056;
+ public static final int Key_Hyper_R = 0x1057;
+ public static final int Key_Help = 0x1058;
+ public static final int Key_Direction_L = 0x1059;
+ public static final int Key_Direction_R = 0x1060;
+ public static final int Key_Space = 0x20;
+ public static final int Key_Any = Key_Space;
+ public static final int Key_Exclam = 0x21;
+ public static final int Key_QuoteDbl = 0x22;
+ public static final int Key_NumberSign = 0x23;
+ public static final int Key_Dollar = 0x24;
+ public static final int Key_Percent = 0x25;
+ public static final int Key_Ampersand = 0x26;
+ public static final int Key_Apostrophe = 0x27;
+ public static final int Key_ParenLeft = 0x28;
+ public static final int Key_ParenRight = 0x29;
+ public static final int Key_Asterisk = 0x2a;
+ public static final int Key_Plus = 0x2b;
+ public static final int Key_Comma = 0x2c;
+ public static final int Key_Minus = 0x2d;
+ public static final int Key_Period = 0x2e;
+ public static final int Key_Slash = 0x2f;
+ public static final int Key_0 = 0x30;
+ public static final int Key_1 = 0x31;
+ public static final int Key_2 = 0x32;
+ public static final int Key_3 = 0x33;
+ public static final int Key_4 = 0x34;
+ public static final int Key_5 = 0x35;
+ public static final int Key_6 = 0x36;
+ public static final int Key_7 = 0x37;
+ public static final int Key_8 = 0x38;
+ public static final int Key_9 = 0x39;
+ public static final int Key_Colon = 0x3a;
+ public static final int Key_Semicolon = 0x3b;
+ public static final int Key_Less = 0x3c;
+ public static final int Key_Equal = 0x3d;
+ public static final int Key_Greater = 0x3e;
+ public static final int Key_Question = 0x3f;
+ public static final int Key_At = 0x40;
+ public static final int Key_A = 0x41;
+ public static final int Key_B = 0x42;
+ public static final int Key_C = 0x43;
+ public static final int Key_D = 0x44;
+ public static final int Key_E = 0x45;
+ public static final int Key_F = 0x46;
+ public static final int Key_G = 0x47;
+ public static final int Key_H = 0x48;
+ public static final int Key_I = 0x49;
+ public static final int Key_J = 0x4a;
+ public static final int Key_K = 0x4b;
+ public static final int Key_L = 0x4c;
+ public static final int Key_M = 0x4d;
+ public static final int Key_N = 0x4e;
+ public static final int Key_O = 0x4f;
+ public static final int Key_P = 0x50;
+ public static final int Key_Q = 0x51;
+ public static final int Key_R = 0x52;
+ public static final int Key_S = 0x53;
+ public static final int Key_T = 0x54;
+ public static final int Key_U = 0x55;
+ public static final int Key_V = 0x56;
+ public static final int Key_W = 0x57;
+ public static final int Key_X = 0x58;
+ public static final int Key_Y = 0x59;
+ public static final int Key_Z = 0x5a;
+ public static final int Key_BracketLeft = 0x5b;
+ public static final int Key_Backslash = 0x5c;
+ public static final int Key_BracketRight = 0x5d;
+ public static final int Key_AsciiCircum = 0x5e;
+ public static final int Key_Underscore = 0x5f;
+ public static final int Key_QuoteLeft = 0x60;
+ public static final int Key_BraceLeft = 0x7b;
+ public static final int Key_Bar = 0x7c;
+ public static final int Key_BraceRight = 0x7d;
+ public static final int Key_AsciiTilde = 0x7e;
+ public static final int Key_nobreakspace = 0x0a0;
+ public static final int Key_exclamdown = 0x0a1;
+ public static final int Key_cent = 0x0a2;
+ public static final int Key_sterling = 0x0a3;
+ public static final int Key_currency = 0x0a4;
+ public static final int Key_yen = 0x0a5;
+ public static final int Key_brokenbar = 0x0a6;
+ public static final int Key_section = 0x0a7;
+ public static final int Key_diaeresis = 0x0a8;
+ public static final int Key_copyright = 0x0a9;
+ public static final int Key_ordfeminine = 0x0aa;
+ public static final int Key_guillemotleft = 0x0ab;
+ public static final int Key_notsign = 0x0ac;
+ public static final int Key_hyphen = 0x0ad;
+ public static final int Key_registered = 0x0ae;
+ public static final int Key_macron = 0x0af;
+ public static final int Key_degree = 0x0b0;
+ public static final int Key_plusminus = 0x0b1;
+ public static final int Key_twosuperior = 0x0b2;
+ public static final int Key_threesuperior = 0x0b3;
+ public static final int Key_acute = 0x0b4;
+ public static final int Key_mu = 0x0b5;
+ public static final int Key_paragraph = 0x0b6;
+ public static final int Key_periodcentered = 0x0b7;
+ public static final int Key_cedilla = 0x0b8;
+ public static final int Key_onesuperior = 0x0b9;
+ public static final int Key_masculine = 0x0ba;
+ public static final int Key_guillemotright = 0x0bb;
+ public static final int Key_onequarter = 0x0bc;
+ public static final int Key_onehalf = 0x0bd;
+ public static final int Key_threequarters = 0x0be;
+ public static final int Key_questiondown = 0x0bf;
+ public static final int Key_Agrave = 0x0c0;
+ public static final int Key_Aacute = 0x0c1;
+ public static final int Key_Acircumflex = 0x0c2;
+ public static final int Key_Atilde = 0x0c3;
+ public static final int Key_Adiaeresis = 0x0c4;
+ public static final int Key_Aring = 0x0c5;
+ public static final int Key_AE = 0x0c6;
+ public static final int Key_Ccedilla = 0x0c7;
+ public static final int Key_Egrave = 0x0c8;
+ public static final int Key_Eacute = 0x0c9;
+ public static final int Key_Ecircumflex = 0x0ca;
+ public static final int Key_Ediaeresis = 0x0cb;
+ public static final int Key_Igrave = 0x0cc;
+ public static final int Key_Iacute = 0x0cd;
+ public static final int Key_Icircumflex = 0x0ce;
+ public static final int Key_Idiaeresis = 0x0cf;
+ public static final int Key_ETH = 0x0d0;
+ public static final int Key_Ntilde = 0x0d1;
+ public static final int Key_Ograve = 0x0d2;
+ public static final int Key_Oacute = 0x0d3;
+ public static final int Key_Ocircumflex = 0x0d4;
+ public static final int Key_Otilde = 0x0d5;
+ public static final int Key_Odiaeresis = 0x0d6;
+ public static final int Key_multiply = 0x0d7;
+ public static final int Key_Ooblique = 0x0d8;
+ public static final int Key_Ugrave = 0x0d9;
+ public static final int Key_Uacute = 0x0da;
+ public static final int Key_Ucircumflex = 0x0db;
+ public static final int Key_Udiaeresis = 0x0dc;
+ public static final int Key_Yacute = 0x0dd;
+ public static final int Key_THORN = 0x0de;
+ public static final int Key_ssharp = 0x0df;
+ public static final int Key_agrave = 0x0e0;
+ public static final int Key_aacute = 0x0e1;
+ public static final int Key_acircumflex = 0x0e2;
+ public static final int Key_atilde = 0x0e3;
+ public static final int Key_adiaeresis = 0x0e4;
+ public static final int Key_aring = 0x0e5;
+ public static final int Key_ae = 0x0e6;
+ public static final int Key_ccedilla = 0x0e7;
+ public static final int Key_egrave = 0x0e8;
+ public static final int Key_eacute = 0x0e9;
+ public static final int Key_ecircumflex = 0x0ea;
+ public static final int Key_ediaeresis = 0x0eb;
+ public static final int Key_igrave = 0x0ec;
+ public static final int Key_iacute = 0x0ed;
+ public static final int Key_icircumflex = 0x0ee;
+ public static final int Key_idiaeresis = 0x0ef;
+ public static final int Key_eth = 0x0f0;
+ public static final int Key_ntilde = 0x0f1;
+ public static final int Key_ograve = 0x0f2;
+ public static final int Key_oacute = 0x0f3;
+ public static final int Key_ocircumflex = 0x0f4;
+ public static final int Key_otilde = 0x0f5;
+ public static final int Key_odiaeresis = 0x0f6;
+ public static final int Key_division = 0x0f7;
+ public static final int Key_oslash = 0x0f8;
+ public static final int Key_ugrave = 0x0f9;
+ public static final int Key_uacute = 0x0fa;
+ public static final int Key_ucircumflex = 0x0fb;
+ public static final int Key_udiaeresis = 0x0fc;
+ public static final int Key_yacute = 0x0fd;
+ public static final int Key_thorn = 0x0fe;
+ public static final int Key_ydiaeresis = 0x0ff;
+ public static final int Key_Back = 0x1061;
+ public static final int Key_Forward = 0x1062;
+ public static final int Key_Stop = 0x1063;
+ public static final int Key_Refresh = 0x1064;
+ public static final int Key_VolumeDown = 0x1070;
+ public static final int Key_VolumeMute = 0x1071;
+ public static final int Key_VolumeUp = 0x1072;
+ public static final int Key_BassBoost = 0x1073;
+ public static final int Key_BassUp = 0x1074;
+ public static final int Key_BassDown = 0x1075;
+ public static final int Key_TrebleUp = 0x1076;
+ public static final int Key_TrebleDown = 0x1077;
+ public static final int Key_MediaPlay = 0x1080;
+ public static final int Key_MediaStop = 0x1081;
+ public static final int Key_MediaPrev = 0x1082;
+ public static final int Key_MediaNext = 0x1083;
+ public static final int Key_MediaRecord = 0x1084;
+ public static final int Key_HomePage = 0x1090;
+ public static final int Key_Favorites = 0x1091;
+ public static final int Key_Search = 0x1092;
+ public static final int Key_Standby = 0x1093;
+ public static final int Key_OpenUrl = 0x1094;
+ public static final int Key_LaunchMail = 0x10a0;
+ public static final int Key_LaunchMedia = 0x10a1;
+ public static final int Key_Launch0 = 0x10a2;
+ public static final int Key_Launch1 = 0x10a3;
+ public static final int Key_Launch2 = 0x10a4;
+ public static final int Key_Launch3 = 0x10a5;
+ public static final int Key_Launch4 = 0x10a6;
+ public static final int Key_Launch5 = 0x10a7;
+ public static final int Key_Launch6 = 0x10a8;
+ public static final int Key_Launch7 = 0x10a9;
+ public static final int Key_Launch8 = 0x10aa;
+ public static final int Key_Launch9 = 0x10ab;
+ public static final int Key_LaunchA = 0x10ac;
+ public static final int Key_LaunchB = 0x10ad;
+ public static final int Key_LaunchC = 0x10ae;
+ public static final int Key_LaunchD = 0x10af;
+ public static final int Key_LaunchE = 0x10b0;
+ public static final int Key_LaunchF = 0x10b1;
+ public static final int Key_MediaLast = 0x1fff;
+ public static final int Key_unknown = 0xffff;
+
+ public static final int UpArrow = 0;
+ public static final int DownArrow = 1;
+ public static final int LeftArrow = 2;
+ public static final int RightArrow = 3;
+
+ public static final int CopyROP = 0;
+ public static final int OrROP = 1;
+ public static final int XorROP = 2;
+ public static final int NotAndROP = 3;
+ public static final int EraseROP = NotAndROP;
+ public static final int NotCopyROP = 4;
+ public static final int NotOrROP = 5;
+ public static final int NotXorROP = 6;
+ public static final int AndROP = 7;
+ public static final int NotEraseROP = AndROP;
+ public static final int NotROP = 8;
+ public static final int ClearROP = 9;
+ public static final int SetROP = 10;
+ public static final int NopROP = 11;
+ public static final int AndNotROP = 12;
+ public static final int OrNotROP = 13;
+ public static final int NandROP = 14;
+ public static final int NorROP = 15;
+ public static final int LastROP = NorROP;
+
+ public static final int NoPen = 0;
+ public static final int SolidLine = 1;
+ public static final int DashLine = 2;
+ public static final int DotLine = 3;
+ public static final int DashDotLine = 4;
+ public static final int DashDotDotLine = 5;
+ public static final int MPenStyle = 0x0f;
+
+ public static final int FlatCap = 0x00;
+ public static final int SquareCap = 0x10;
+ public static final int RoundCap = 0x20;
+ public static final int MPenCapStyle = 0x30;
+
+ public static final int MiterJoin = 0x00;
+ public static final int BevelJoin = 0x40;
+ public static final int RoundJoin = 0x80;
+ public static final int MPenJoinStyle = 0xc0;
+
+ public static final int NoBrush = 0;
+ public static final int SolidPattern = 1;
+ public static final int Dense1Pattern = 2;
+ public static final int Dense2Pattern = 3;
+ public static final int Dense3Pattern = 4;
+ public static final int Dense4Pattern = 5;
+ public static final int Dense5Pattern = 6;
+ public static final int Dense6Pattern = 7;
+ public static final int Dense7Pattern = 8;
+ public static final int HorPattern = 9;
+ public static final int VerPattern = 10;
+ public static final int CrossPattern = 11;
+ public static final int BDiagPattern = 12;
+ public static final int FDiagPattern = 13;
+ public static final int DiagCrossPattern = 14;
+ public static final int CustomPattern = 24;
+
+ public static final int MV_Unknown = 0x0000;
+ public static final int MV_9 = 0x0001;
+ public static final int MV_10_DOT_0 = 0x0002;
+ public static final int MV_10_DOT_1 = 0x0003;
+ public static final int MV_10_DOT_2 = 0x0004;
+ public static final int MV_10_DOT_3 = 0x0005;
+ public static final int MV_10_DOT_4 = 0x0006;
+ public static final int MV_CHEETAH = MV_10_DOT_0;
+ public static final int MV_PUMA = MV_10_DOT_1;
+ public static final int MV_JAGUAR = MV_10_DOT_2;
+ public static final int MV_PANTHER = MV_10_DOT_3;
+ public static final int MV_TIGER = MV_10_DOT_4;
+
+ public static final int WV_32s = 0x0001;
+ public static final int WV_95 = 0x0002;
+ public static final int WV_98 = 0x0003;
+ public static final int WV_Me = 0x0004;
+ public static final int WV_DOS_based = 0x000f;
+ public static final int WV_NT = 0x0010;
+ public static final int WV_2000 = 0x0020;
+ public static final int WV_XP = 0x0030;
+ public static final int WV_2003 = 0x0040;
+ public static final int WV_NT_based = 0x00f0;
+ public static final int WV_CE = 0x0100;
+ public static final int WV_CENET = 0x0200;
+ public static final int WV_CE_based = 0x0f00;
+
+ public static final int UI_General = 0;
+ public static final int UI_AnimateMenu = 1;
+ public static final int UI_FadeMenu = 2;
+ public static final int UI_AnimateCombo = 3;
+ public static final int UI_AnimateTooltip = 4;
+ public static final int UI_FadeTooltip = 5;
+ public static final int UI_AnimateToolBox = 6;
+
+ public static final int ArrowCursor = 0;
+ public static final int UpArrowCursor = 1;
+ public static final int CrossCursor = 2;
+ public static final int WaitCursor = 3;
+ public static final int IbeamCursor = 4;
+ public static final int SizeVerCursor = 5;
+ public static final int SizeHorCursor = 6;
+ public static final int SizeBDiagCursor = 7;
+ public static final int SizeFDiagCursor = 8;
+ public static final int SizeAllCursor = 9;
+ public static final int BlankCursor = 10;
+ public static final int SplitVCursor = 11;
+ public static final int SplitHCursor = 12;
+ public static final int PointingHandCursor = 13;
+ public static final int ForbiddenCursor = 14;
+ public static final int WhatsThisCursor = 15;
+ public static final int BusyCursor = 16;
+ public static final int LastCursor = BusyCursor;
+ public static final int BitmapCursor = 24;
+
+ public static final int PlainText = 0;
+ public static final int RichText = 1;
+ public static final int AutoText = 2;
+ public static final int LogText = 3;
+
+ public static final int AnchorName = 0;
+ public static final int AnchorHref = 1;
+
+ public static final int DockUnmanaged = 0;
+ public static final int DockTornOff = 1;
+ public static final int DockTop = 2;
+ public static final int DockBottom = 3;
+ public static final int DockRight = 4;
+ public static final int DockLeft = 5;
+ public static final int DockMinimized = 6;
+ public static final int Unmanaged = DockUnmanaged;
+ public static final int TornOff = DockTornOff;
+ public static final int Top = DockTop;
+ public static final int Bottom = DockBottom;
+ public static final int Right = DockRight;
+ public static final int Left = DockLeft;
+ public static final int Minimized = DockMinimized;
+
+ public static final int TextDate = 0;
+ public static final int ISODate = 1;
+ public static final int LocalDate = 2;
+
+ public static final int LocalTime = 0;
+ public static final int UTC = 1;
+
+ public static final int FixedColor = 0;
+ public static final int FixedPixmap = 1;
+ public static final int NoBackground = 2;
+ public static final int PaletteForeground = 3;
+ public static final int PaletteButton = 4;
+ public static final int PaletteLight = 5;
+ public static final int PaletteMidlight = 6;
+ public static final int PaletteDark = 7;
+ public static final int PaletteMid = 8;
+ public static final int PaletteText = 9;
+ public static final int PaletteBrightText = 10;
+ public static final int PaletteBase = 11;
+ public static final int PaletteBackground = 12;
+ public static final int PaletteShadow = 13;
+ public static final int PaletteHighlight = 14;
+ public static final int PaletteHighlightedText = 15;
+ public static final int PaletteButtonText = 16;
+ public static final int PaletteLink = 17;
+ public static final int PaletteLinkVisited = 18;
+ public static final int X11ParentRelative = 19;
+
+ public static final int CaseSensitive = 0x00001;
+ public static final int BeginsWith = 0x00002;
+ public static final int EndsWith = 0x00004;
+ public static final int Contains = 0x00008;
+ public static final int ExactMatch = 0x00010;
+
+ public static final int TopLeft = 0x00000;
+ public static final int TopRight = 0x00001;
+ public static final int BottomLeft = 0x00002;
+ public static final int BottomRight = 0x00003;
+
+ public Qt() {
+ newQt();
+ }
+ private native void newQt();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+ /** **************************************************
+ QPoint stream functions
+ ************************************************** @short QPoint stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, QPoint arg2);
+ public static native QDataStream op_read(QDataStream arg1, QPoint arg2);
+ /** **************************************************
+ QPoint inline functions
+ ************************************************** @short QPoint inline functions
+ */
+ public static native boolean op_equals(QPoint p1, QPoint p2);
+ public static native boolean op_not_equals(QPoint p1, QPoint p2);
+ public static native QPoint op_plus(QPoint p1, QPoint p2);
+ public static native QPoint op_minus(QPoint p1, QPoint p2);
+ public static native QPoint op_mult(QPoint p, int c);
+ public static native QPoint op_mult(int c, QPoint p);
+ public static native QPoint op_mult(QPoint p, double c);
+ public static native QPoint op_mult(double c, QPoint p);
+ public static native QPoint op_minus(QPoint p);
+ public static native QPoint op_div(QPoint p, int c);
+ public static native QPoint op_div(QPoint p, double c);
+ /** **************************************************
+ QRegion stream functions
+ ************************************************** @short QRegion stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, QRegion arg2);
+ public static native QDataStream op_read(QDataStream arg1, QRegion arg2);
+ /** **************************************************
+ Misc. QBitArray operator functions
+ ************************************************** @short Misc.
+ */
+ // QBitArray op_and(const QBitArray& arg1,const QBitArray& arg2); >>>> NOT CONVERTED
+ // QBitArray op_or(const QBitArray& arg1,const QBitArray& arg2); >>>> NOT CONVERTED
+ // QBitArray op_xor(const QBitArray& arg1,const QBitArray& arg2); >>>> NOT CONVERTED
+ /** **************************************************
+ QBitArray stream functions
+ ************************************************** @short QBitArray stream functions
+ */
+ // QDataStream& op_write(QDataStream& arg1,const QBitArray& arg2); >>>> NOT CONVERTED
+ // QDataStream& op_read(QDataStream& arg1,QBitArray& arg2); >>>> NOT CONVERTED
+ /** **************************************************
+ QColorGroup/QPalette stream functions
+ ************************************************** @short QColorGroup/QPalette stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, QColorGroup arg2);
+ public static native QDataStream op_read(QDataStream arg1, QColorGroup arg2);
+ public static native QDataStream op_write(QDataStream arg1, QPalette arg2);
+ public static native QDataStream op_read(QDataStream arg1, QPalette arg2);
+ // QTextStream& op_read(QTextStream& arg1,QTSFUNC arg2); >>>> NOT CONVERTED
+ // QTextStream& op_write(QTextStream& arg1,QTSFUNC arg2); >>>> NOT CONVERTED
+ // QTextStream& op_write(QTextStream& arg1,QTSManip arg2); >>>> NOT CONVERTED
+ public static native QTextStream bin(QTextStream s);
+ public static native QTextStream oct(QTextStream s);
+ public static native QTextStream dec(QTextStream s);
+ public static native QTextStream hex(QTextStream s);
+ public static native QTextStream endl(QTextStream s);
+ public static native QTextStream flush(QTextStream s);
+ public static native QTextStream ws(QTextStream s);
+ public static native QTextStream reset(QTextStream s);
+ // QTSManip qSetW(int arg1); >>>> NOT CONVERTED
+ // QTSManip qSetFill(int arg1); >>>> NOT CONVERTED
+ // QTSManip qSetPrecision(int arg1); >>>> NOT CONVERTED
+ // QDataStream& op_read(QDataStream& arg1,QGList& arg2); >>>> NOT CONVERTED
+ // QDataStream& op_write(QDataStream& arg1,const QGList& arg2); >>>> NOT CONVERTED
+ public static native void qDrawShadeLine(QPainter p, int x1, int y1, int x2, int y2, QColorGroup g, boolean sunken, int lineWidth, int midLineWidth);
+ public static native void qDrawShadeLine(QPainter p, int x1, int y1, int x2, int y2, QColorGroup g, boolean sunken, int lineWidth);
+ public static native void qDrawShadeLine(QPainter p, int x1, int y1, int x2, int y2, QColorGroup g, boolean sunken);
+ public static native void qDrawShadeLine(QPainter p, int x1, int y1, int x2, int y2, QColorGroup g);
+ public static native void qDrawShadeLine(QPainter p, QPoint p1, QPoint p2, QColorGroup g, boolean sunken, int lineWidth, int midLineWidth);
+ public static native void qDrawShadeLine(QPainter p, QPoint p1, QPoint p2, QColorGroup g, boolean sunken, int lineWidth);
+ public static native void qDrawShadeLine(QPainter p, QPoint p1, QPoint p2, QColorGroup g, boolean sunken);
+ public static native void qDrawShadeLine(QPainter p, QPoint p1, QPoint p2, QColorGroup g);
+ public static native void qDrawShadeRect(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken, int lineWidth, int midLineWidth, QBrush fill);
+ public static native void qDrawShadeRect(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken, int lineWidth, int midLineWidth);
+ public static native void qDrawShadeRect(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken, int lineWidth);
+ public static native void qDrawShadeRect(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken);
+ public static native void qDrawShadeRect(QPainter p, int x, int y, int w, int h, QColorGroup arg6);
+ public static native void qDrawShadeRect(QPainter p, QRect r, QColorGroup arg3, boolean sunken, int lineWidth, int midLineWidth, QBrush fill);
+ public static native void qDrawShadeRect(QPainter p, QRect r, QColorGroup arg3, boolean sunken, int lineWidth, int midLineWidth);
+ public static native void qDrawShadeRect(QPainter p, QRect r, QColorGroup arg3, boolean sunken, int lineWidth);
+ public static native void qDrawShadeRect(QPainter p, QRect r, QColorGroup arg3, boolean sunken);
+ public static native void qDrawShadeRect(QPainter p, QRect r, QColorGroup arg3);
+ public static native void qDrawShadePanel(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken, int lineWidth, QBrush fill);
+ public static native void qDrawShadePanel(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken, int lineWidth);
+ public static native void qDrawShadePanel(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken);
+ public static native void qDrawShadePanel(QPainter p, int x, int y, int w, int h, QColorGroup arg6);
+ public static native void qDrawShadePanel(QPainter p, QRect r, QColorGroup arg3, boolean sunken, int lineWidth, QBrush fill);
+ public static native void qDrawShadePanel(QPainter p, QRect r, QColorGroup arg3, boolean sunken, int lineWidth);
+ public static native void qDrawShadePanel(QPainter p, QRect r, QColorGroup arg3, boolean sunken);
+ public static native void qDrawShadePanel(QPainter p, QRect r, QColorGroup arg3);
+ public static native void qDrawWinButton(QPainter p, int x, int y, int w, int h, QColorGroup g, boolean sunken, QBrush fill);
+ public static native void qDrawWinButton(QPainter p, int x, int y, int w, int h, QColorGroup g, boolean sunken);
+ public static native void qDrawWinButton(QPainter p, int x, int y, int w, int h, QColorGroup g);
+ public static native void qDrawWinButton(QPainter p, QRect r, QColorGroup g, boolean sunken, QBrush fill);
+ public static native void qDrawWinButton(QPainter p, QRect r, QColorGroup g, boolean sunken);
+ public static native void qDrawWinButton(QPainter p, QRect r, QColorGroup g);
+ public static native void qDrawWinPanel(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken, QBrush fill);
+ public static native void qDrawWinPanel(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken);
+ public static native void qDrawWinPanel(QPainter p, int x, int y, int w, int h, QColorGroup arg6);
+ public static native void qDrawWinPanel(QPainter p, QRect r, QColorGroup arg3, boolean sunken, QBrush fill);
+ public static native void qDrawWinPanel(QPainter p, QRect r, QColorGroup arg3, boolean sunken);
+ public static native void qDrawWinPanel(QPainter p, QRect r, QColorGroup arg3);
+ public static native void qDrawPlainRect(QPainter p, int x, int y, int w, int h, QColor arg6, int lineWidth, QBrush fill);
+ public static native void qDrawPlainRect(QPainter p, int x, int y, int w, int h, QColor arg6, int lineWidth);
+ public static native void qDrawPlainRect(QPainter p, int x, int y, int w, int h, QColor arg6);
+ public static native void qDrawPlainRect(QPainter p, QRect r, QColor arg3, int lineWidth, QBrush fill);
+ public static native void qDrawPlainRect(QPainter p, QRect r, QColor arg3, int lineWidth);
+ public static native void qDrawPlainRect(QPainter p, QRect r, QColor arg3);
+ public static native QRect qItemRect(QPainter p, int gs, int x, int y, int w, int h, int flags, boolean enabled, QPixmap pixmap, String text, int len);
+ public static native QRect qItemRect(QPainter p, int gs, int x, int y, int w, int h, int flags, boolean enabled, QPixmap pixmap, String text);
+ public static native void qDrawItem(QPainter p, int gs, int x, int y, int w, int h, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text, int len, QColor penColor);
+ public static native void qDrawItem(QPainter p, int gs, int x, int y, int w, int h, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text, int len);
+ public static native void qDrawItem(QPainter p, int gs, int x, int y, int w, int h, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text);
+ public static native void qDrawArrow(QPainter p, int type, int style, boolean down, int x, int y, int w, int h, QColorGroup g, boolean enabled);
+ /** **************************************************
+ QCursor stream functions
+ ************************************************** @short QCursor stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, QCursor arg2);
+ public static native QDataStream op_read(QDataStream arg1, QCursor arg2);
+ public static native String qAppName();
+ // void qAddPostRoutine(QtCleanUpFunction arg1); >>>> NOT CONVERTED
+ // void qRemovePostRoutine(QtCleanUpFunction arg1); >>>> NOT CONVERTED
+ public static native byte[] qCompress(char[] data, int nbytes);
+ public static native byte[] qUncompress(char[] data, int nbytes);
+ public static native byte[] qCompress(byte[] data);
+ public static native byte[] qUncompress(byte[] data);
+ public static native QTextStream op_write(QTextStream arg1, QDomNode arg2);
+ public static native QWMatrix op_mult(QWMatrix arg1, QWMatrix arg2);
+ /** **************************************************
+ QWMatrix stream functions
+ ************************************************** @short QWMatrix stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, QWMatrix arg2);
+ public static native QDataStream op_read(QDataStream arg1, QWMatrix arg2);
+ /** **************************************************
+ QBrush stream functions
+ ************************************************** @short QBrush stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, QBrush arg2);
+ public static native QDataStream op_read(QDataStream arg1, QBrush arg2);
+ public static native QDataStream op_write(QDataStream arg1, QImage arg2);
+ public static native QDataStream op_read(QDataStream arg1, QImage arg2);
+ public static native void bitBlt(QImage dst, int dx, int dy, QImage src, int sx, int sy, int sw, int sh, int conversion_flags);
+ public static native void bitBlt(QImage dst, int dx, int dy, QImage src, int sx, int sy, int sw, int sh);
+ public static native void bitBlt(QImage dst, int dx, int dy, QImage src, int sx, int sy, int sw);
+ public static native void bitBlt(QImage dst, int dx, int dy, QImage src, int sx, int sy);
+ public static native void bitBlt(QImage dst, int dx, int dy, QImage src, int sx);
+ public static native void bitBlt(QImage dst, int dx, int dy, QImage src);
+ public static native QDataStream op_read(QDataStream s, QVariant p);
+ public static native QDataStream op_write(QDataStream s, QVariant p);
+ public static native QDataStream op_read(QDataStream s, int p);
+ public static native QDataStream op_write(QDataStream s, int p);
+ /** *************************************************
+ $Id$
+
+ * Definition of OpenGL classes for Qt
+
+ * Created : 970112
+
+ * Copyright (C) 1992-2005 Trolltech AS. All rights reserved.
+
+ * This file is part of the opengl module of the Qt GUI Toolkit.
+
+ * This file may be distributed under the terms of the Q Public License
+ as defined by Trolltech AS of Norway and appearing in the file
+ LICENSE.QPL included in the packaging of this file.
+
+ * This file may be distributed and/or modified under the terms of the
+ GNU General Public License version 2 as published by the Free Software
+ Foundation and appearing in the file LICENSE.GPL included in the
+ packaging of this file.
+
+ * Licensees holding valid Qt Enterprise Edition licenses may use this
+ file in accordance with the Qt Commercial License Agreement provided
+ with the Software.
+
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+ * See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
+ information about Qt Commercial License Agreements.
+ See http://www.trolltech.com/qpl/ for QPL licensing information.
+ See http://www.trolltech.com/gpl/ for GPL licensing information.
+
+ * Contact info@trolltech.com if any conditions of this licensing are
+ not clear to you.
+
+ ********************************************** @short $Id: qt/qgl.
+ */
+ public static native String qGLVersion();
+ public static native boolean op_equals(QGLFormat arg1, QGLFormat arg2);
+ public static native boolean op_not_equals(QGLFormat arg1, QGLFormat arg2);
+ /** **************************************************
+ QFont stream functions
+ ************************************************** @short QFont stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, QFont arg2);
+ public static native QDataStream op_read(QDataStream arg1, QFont arg2);
+ /** **************************************************
+ QSize stream functions
+ ************************************************** @short QSize stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, QSize arg2);
+ public static native QDataStream op_read(QDataStream arg1, QSize arg2);
+ /** **************************************************
+ QSize inline functions
+ ************************************************** @short QSize inline functions
+ */
+ public static native boolean op_equals(QSize s1, QSize s2);
+ public static native boolean op_not_equals(QSize s1, QSize s2);
+ public static native QSize op_plus(QSize s1, QSize s2);
+ public static native QSize op_minus(QSize s1, QSize s2);
+ public static native QSize op_mult(QSize s, int c);
+ public static native QSize op_mult(int c, QSize s);
+ public static native QSize op_mult(QSize s, double c);
+ public static native QSize op_mult(double c, QSize s);
+ public static native QSize op_div(QSize s, int c);
+ public static native QSize op_div(QSize s, double c);
+ public static native QDataStream op_read(QDataStream arg1, String[] arg2);
+ public static native QDataStream op_write(QDataStream arg1, String[] arg2);
+ /** **************************************************
+ QPixmap stream functions
+ ************************************************** @short QPixmap stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, QPixmap arg2);
+ public static native QDataStream op_read(QDataStream arg1, QPixmap arg2);
+ public static native void copyBlt(QPixmap dst, int dx, int dy, QPixmap src, int sx, int sy, int sw, int sh);
+ public static native void copyBlt(QPixmap dst, int dx, int dy, QPixmap src, int sx, int sy, int sw);
+ public static native void copyBlt(QPixmap dst, int dx, int dy, QPixmap src, int sx, int sy);
+ public static native void copyBlt(QPixmap dst, int dx, int dy, QPixmap src, int sx);
+ public static native void copyBlt(QPixmap dst, int dx, int dy, QPixmap src);
+ /** *************************************************
+ $Id$
+
+ * Definition of qInitNetworkProtocols function.
+
+ * Created : 970521
+
+ * Copyright (C) 1992-2005 Trolltech AS. All rights reserved.
+
+ * This file is part of the network module of the Qt GUI Toolkit.
+
+ * This file may be distributed under the terms of the Q Public License
+ as defined by Trolltech AS of Norway and appearing in the file
+ LICENSE.QPL included in the packaging of this file.
+
+ * This file may be distributed and/or modified under the terms of the
+ GNU General Public License version 2 as published by the Free Software
+ Foundation and appearing in the file LICENSE.GPL included in the
+ packaging of this file.
+
+ * Licensees holding valid Qt Enterprise Edition licenses may use this
+ file in accordance with the Qt Commercial License Agreement provided
+ with the Software.
+
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+ * See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
+ information about Qt Commercial License Agreements.
+ See http://www.trolltech.com/qpl/ for QPL licensing information.
+ See http://www.trolltech.com/gpl/ for GPL licensing information.
+
+ * Contact info@trolltech.com if any conditions of this licensing are
+ not clear to you.
+
+ ********************************************** @short $Id: qt/qnetwork.
+ */
+ public static native void qInitNetworkProtocols();
+ /** **************************************************
+ QPointArray stream functions
+ ************************************************** @short QPointArray stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, QPointArray arg2);
+ public static native QDataStream op_read(QDataStream arg1, QPointArray arg2);
+ /** **************************************************
+ QPen stream functions
+ ************************************************** @short QPen stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, QPen arg2);
+ public static native QDataStream op_read(QDataStream arg1, QPen arg2);
+ public static native int qRed(int rgb);
+ public static native int qGreen(int rgb);
+ public static native int qBlue(int rgb);
+ public static native int qAlpha(int rgb);
+ public static native int qRgb(int r, int g, int b);
+ public static native int qRgba(int r, int g, int b, int a);
+ public static native int qGray(int r, int g, int b);
+ public static native int qGray(int rgb);
+ /** **************************************************
+ QColor stream functions
+ ************************************************** @short QColor stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, QColor arg2);
+ public static native QDataStream op_read(QDataStream arg1, QColor arg2);
+ public static native QTextStream op_write(QTextStream arg1, QSplitter arg2);
+ public static native QTextStream op_read(QTextStream arg1, QSplitter arg2);
+ public static native QDataStream op_write(QDataStream arg1, QUuid arg2);
+ public static native QDataStream op_read(QDataStream arg1, QUuid arg2);
+ /** **************************************************
+ Date and time stream functions
+ ************************************************** @short Date and time stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, Calendar arg2);
+ public static native QDataStream op_read(QDataStream arg1, Calendar arg2);
+ public static native QDataStream op_write(QDataStream arg1, Date arg2);
+ public static native QDataStream op_read(QDataStream arg1, Date arg2);
+ public static native QDataStream op_write(QDataStream arg1, QKeySequence arg2);
+ public static native QDataStream op_read(QDataStream arg1, QKeySequence arg2);
+ /** **************************************************
+ QPicture stream functions
+ ************************************************** @short QPicture stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, QPicture arg2);
+ public static native QDataStream op_read(QDataStream arg1, QPicture arg2);
+ public static native QTextStream op_write(QTextStream arg1, QMainWindow arg2);
+ public static native QTextStream op_read(QTextStream arg1, QMainWindow arg2);
+ // QDataStream& op_read(QDataStream& arg1,QGVector& arg2); >>>> NOT CONVERTED
+ // QDataStream& op_write(QDataStream& arg1,const QGVector& arg2); >>>> NOT CONVERTED
+ public static native int qRound(double d);
+ public static native String qVersion();
+ public static native boolean qSysInfo(int[] wordSize, boolean[] bigEndian);
+ public static native boolean qSharedBuild();
+ public static native void qSystemWarning(String arg1, int code);
+ public static native void qSystemWarning(String arg1);
+ // QtMsgHandler qInstallMsgHandler(QtMsgHandler arg1); >>>> NOT CONVERTED
+ public static native void qSuppressObsoleteWarnings(boolean arg1);
+ public static native void qSuppressObsoleteWarnings();
+ public static native void qObsolete(String arg1, String oldfunc, String newfunc);
+ public static native void qObsolete(String arg1, String oldfunc);
+ public static native void qObsolete(String message);
+ public static native String qInstallPath();
+ public static native String qInstallPathDocs();
+ public static native String qInstallPathHeaders();
+ public static native String qInstallPathLibs();
+ public static native String qInstallPathBins();
+ public static native String qInstallPathPlugins();
+ public static native String qInstallPathData();
+ public static native String qInstallPathTranslations();
+ public static native String qInstallPathSysconf();
+ public static native QTextStream op_write(QTextStream arg1, QDockArea arg2);
+ public static native QTextStream op_read(QTextStream arg1, QDockArea arg2);
+ public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QPaintDeviceInterface src, int sx, int sy, int sw, int sh, int arg9, boolean ignoreMask);
+ public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QPaintDeviceInterface src, int sx, int sy, int sw, int sh, int arg9);
+ public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QPaintDeviceInterface src, int sx, int sy, int sw, int sh);
+ public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QPaintDeviceInterface src, int sx, int sy, int sw);
+ public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QPaintDeviceInterface src, int sx, int sy);
+ public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QPaintDeviceInterface src, int sx);
+ public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QPaintDeviceInterface src);
+ public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QImage src, int sx, int sy, int sw, int sh, int conversion_flags);
+ public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QImage src, int sx, int sy, int sw, int sh);
+ public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QImage src, int sx, int sy, int sw);
+ public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QImage src, int sx, int sy);
+ public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QImage src, int sx);
+ public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QImage src);
+ /** **************************************************
+ Inline functions
+ ************************************************** @short Inline functions
+ */
+ public static native void bitBlt(QPaintDeviceInterface dst, QPoint dp, QPaintDeviceInterface src, QRect sr, int rop, boolean ignoreMask);
+ public static native void bitBlt(QPaintDeviceInterface dst, QPoint dp, QPaintDeviceInterface src, QRect sr, int rop);
+ public static native void bitBlt(QPaintDeviceInterface dst, QPoint dp, QPaintDeviceInterface src, QRect sr);
+ public static native void bitBlt(QPaintDeviceInterface dst, QPoint dp, QPaintDeviceInterface src);
+ public static native boolean op_equals(QRect arg1, QRect arg2);
+ public static native boolean op_not_equals(QRect arg1, QRect arg2);
+ /** **************************************************
+ QRect stream functions
+ ************************************************** @short QRect stream functions
+ */
+ public static native QDataStream op_write(QDataStream arg1, QRect arg2);
+ public static native QDataStream op_read(QDataStream arg1, QRect arg2);
+ /** This member allows a typecast of an instance which wraps a Qt instance,
+ to a more specialized type. Invokes the private qtjava.dynamicCast()
+ via reflection, as that method isn't part of the public Qt api */
+ public static QtSupport dynamicCast(String type, QtSupport source) {
+ Method method = null;
+
+ try {
+ method = qtjava.class.getDeclaredMethod( "dynamicCast",
+ new Class[] { String.class, QtSupport.class } );
+ } catch (NoSuchMethodException e1) {
+ Qt.qWarning("No such method : qtjava.dynamicCast()");
+ }
+
+ try {
+ method.setAccessible(true);
+ Object result = method.invoke(qtjava.class, new Object[] { type, source } );
+ return (QtSupport) result;
+ } catch (InvocationTargetException e) {
+ Qt.qWarning("Invocation failed : qtjava.dynamicCast()");
+ return null;
+ } catch (IllegalAccessException e) {
+ Qt.qWarning("Invocation failed : qtjava.dynamicCast()");
+ return null;
+ }
+ }
+
+ public static native QColor color0();
+ public static native QColor color1();
+ public static native QColor black();
+ public static native QColor white();
+ public static native QColor darkGray();
+ public static native QColor gray();
+ public static native QColor lightGray();
+ public static native QColor red();
+ public static native QColor green();
+ public static native QColor blue();
+ public static native QColor cyan();
+ public static native QColor magenta();
+ public static native QColor yellow();
+ public static native QColor darkRed();
+ public static native QColor darkGreen();
+ public static native QColor darkBlue();
+ public static native QColor darkCyan();
+ public static native QColor darkMagenta();
+ public static native QColor darkYellow();
+
+ // Global cursors
+
+ public static native QCursor arrowCursor(); // standard arrow cursor
+ public static native QCursor upArrowCursor(); // upwards arrow
+ public static native QCursor crossCursor(); // crosshair
+ public static native QCursor waitCursor(); // hourglass/watch
+ public static native QCursor ibeamCursor(); // ibeam/text entry
+ public static native QCursor sizeVerCursor(); // vertical resize
+ public static native QCursor sizeHorCursor(); // horizontal resize
+ public static native QCursor sizeBDiagCursor(); // diagonal resize (/)
+ public static native QCursor sizeFDiagCursor(); // diagonal resize ()
+ public static native QCursor sizeAllCursor(); // all directions resize
+ public static native QCursor blankCursor(); // blank/invisible cursor
+ public static native QCursor splitVCursor(); // vertical bar with left-right
+ // arrows
+ public static native QCursor splitHCursor(); // horizontal bar with up-down
+ // arrows
+ public static native QCursor pointingHandCursor(); // pointing hand
+ public static native QCursor forbiddenCursor(); // forbidden cursor (slashed circle)
+ public static native QCursor whatsThisCursor(); // arrow with a question mark
+
+ public static native QApplication qApp();
+
+ public static native void qDebug(String message);
+ public static void qDebug(String pattern, Object[] arguments) {
+ qDebug(MessageFormat.format(pattern, arguments));
+ }
+
+ public static native void qWarning(String message);
+ public static void qWarning(String pattern, Object[] arguments) {
+ qWarning(MessageFormat.format(pattern, arguments));
+ }
+
+ public static native void qFatal(String message);
+ public static void qFatal(String pattern, Object[] arguments) {
+ qFatal(MessageFormat.format(pattern, arguments));
+ }
+
+ private static String sqeezeOut(String from, char toss) {
+ char[] chars = from.toCharArray();
+ int len = chars.length;
+ int put = 0;
+
+ for (int i = 0; i < len; i++) {
+ if (chars[i] != toss) {
+ chars[put++] = chars[i];
+ }
+ }
+
+ return new String(chars, 0, put);
+ }
+
+ /** Prepend a '2' to a signal string and remove any spaces */
+ public static String SIGNAL(String signal) {
+ return "2" + sqeezeOut(signal, ' ');
+ }
+
+ /** Prepend a '1' to a slot string and remove any spaces */
+ public static String SLOT(String slot) {
+ return "1" + sqeezeOut(slot, ' ');
+ }
+
+ /** Convert from a UTF-8 string to Unicode - the java equivalent to QString::fromUtf8() */
+ public String fromUtf8(byte[] bytes) {
+ String result = null;
+
+ try {
+ result = new String(bytes, "UTF-8");
+ } catch (UnsupportedEncodingException e) {
+ qWarning("UTF-8 encoding not supported");
+ } finally {
+ return result;
+ }
+ }
+
+}
diff --git a/qtjava/javalib/org/kde/qt/QtSupport.java b/qtjava/javalib/org/kde/qt/QtSupport.java
new file mode 100644
index 00000000..097c95bd
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QtSupport.java
@@ -0,0 +1,27 @@
+/***************************************************************************
+ QtSupport.java - description
+ -------------------
+ begin : Sun Nov 5 23:27:21 2000
+ copyright : (C) 2000 Lost Highway Ltd. All rights reserved.
+ email : Lost_Highway@tipitina.demon.co.uk
+ generated by : duke@tipitina on Sun Nov 5 23:27:21 2000, using kdoc $.
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * 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. *
+ * *
+ * Lost Highway Ltd reserves the right to issue additional license types *
+ * compatible with the Trolltech AS Qt commercial license. *
+ ***************************************************************************/
+
+/** A marker interface to denote whether or not a Java instance contains
+ a wrapped Qt C++ instance */
+
+package org.kde.qt;
+
+public interface QtSupport {
+}
diff --git a/qtjava/javalib/org/kde/qt/QtUtils.java b/qtjava/javalib/org/kde/qt/QtUtils.java
new file mode 100644
index 00000000..dedc0ad5
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QtUtils.java
@@ -0,0 +1,15 @@
+package org.kde.qt;
+
+public class QtUtils {
+
+ public interface Compute {
+ public Object run();
+ }
+
+ public static native Object execSyncOnGUIThread(Compute c);
+ public static native void execSyncOnGUIThread(Runnable r);
+
+ public static native void execAsyncOnGUIThread(Runnable r);
+
+}
+
diff --git a/qtjava/javalib/org/kde/qt/WeakValueMap.java b/qtjava/javalib/org/kde/qt/WeakValueMap.java
new file mode 100644
index 00000000..4378b7e2
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/WeakValueMap.java
@@ -0,0 +1,68 @@
+/** From Section 12.5.3, Reference Queues page 324-326
+ of 'The Java Programming Language, Third Edition'.
+
+ But why wasn't it included in the java.util Collection package?
+ */
+
+
+package org.kde.qt;
+
+import java.lang.ref.*;
+import java.util.*;
+
+public class WeakValueMap extends HashMap {
+ private ReferenceQueue reaped = new ReferenceQueue();
+
+ private static class ValueRef extends WeakReference {
+ private final Object key; // key for value
+
+ ValueRef(Object val, Object key, ReferenceQueue q) {
+ super(val, q);
+ this.key = key;
+ }
+ }
+
+ public Object put(Object key, Object value) {
+ reap();
+ ValueRef vr = new ValueRef(value, key, reaped);
+ return super.put(key, vr);
+ }
+
+ public Object get(Object key) {
+ reap();
+ ValueRef vr = (ValueRef) super.get(key);
+ if (vr == null) {
+ return null;
+ } else {
+ return vr.get();
+ }
+ }
+
+ /** Force an entry to be removed if it is known to be invalid,
+ rather than waiting for the garbage collector to put it
+ on the reaped queue.
+ */
+ public Object remove(Object key) {
+ reap();
+ ValueRef vr = (ValueRef) super.get(key);
+ if (vr == null) {
+ return null;
+ } else {
+ vr.clear();
+ super.remove(key);
+ return null;
+ }
+ }
+
+ public int size() {
+ reap();
+ return super.size();
+ }
+
+ public void reap() {
+ ValueRef ref;
+ while ((ref = (ValueRef) reaped.poll()) != null) {
+ super.remove(ref.key);
+ }
+ }
+}
diff --git a/qtjava/javalib/org/kde/qt/qtjava.java b/qtjava/javalib/org/kde/qt/qtjava.java
new file mode 100644
index 00000000..8547776c
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/qtjava.java
@@ -0,0 +1,285 @@
+/***************************************************************************
+ qtjava.java - description
+ -------------------
+ begin : Tue Oct 31 06:12:14 2000
+ copyright : (C) 2000 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 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.qt;
+
+import java.util.*;
+import java.lang.Error;
+
+/** The 'Run the Qt Java library' class'. Various utility methods to manage
+ the mapping between C++ and java instances. Used in conjunction the C++ methods
+ in QtSupport.cpp and JavaSlot.cpp.
+
+ @author Richard Dale <Richard_Dale@tipitina.demon.co.uk>
+ */
+public class qtjava {
+ /** Uses a C++ key to retrieve the corresponding Java instance */
+ public static WeakValueMap qtKeyToJavaMap = null;
+
+ /** Allows a JavaSignal proxy instance to be retrieved for a given Java
+ instance/Signal name combination */
+ public static HashMap qtSignalDictionary = null;
+
+ /** Allows a JavaSlot proxy instance to be retrieved for a given Java
+ instance/Slot name combination */
+ public static HashMap qtSlotDictionary = null;
+
+ /** Register a JavaVM pointer to make it easy to retrieve the current
+ JNIEnv later */
+ private native static void registerJVM();
+
+ /** Get/set the C++ instance for a given Java instance */
+ private native static void setQt(Object obj, long qt);
+ private native static long getQt(Object obj);
+
+ /** If a C++ instance has been allocated in the Java World, it will
+ be deleted within the corresponding Java instance's finalize method. */
+ private native static void setAllocatedInJavaWorld(Object obj, boolean yn);
+ private native static boolean allocatedInJavaWorld(Object obj);
+
+ /** This member allows a typecast of an instance which wraps a
+ Qt instance, to a more specialized type. */
+ private static QtSupport dynamicCast(String type, QtSupport source) {
+ boolean sourceAllocatedInJavaWorld = allocatedInJavaWorld(source);
+ long qtHandle = getQt(source);
+
+ removeObjectForQtKey(qtHandle);
+ setAllocatedInJavaWorld(source, false);
+ return (QtSupport) objectForQtKey(qtHandle, type, sourceAllocatedInJavaWorld);
+ }
+
+ /** Add a 'C++ qt instance key/Java instance value' pair to the map */
+ public static void setObjectForQtKey(Object obj, long qt) {
+ qtKeyToJavaMap.put(Long.toString(qt).intern(), obj);
+ return;
+ }
+
+ /** Remove a 'C++ qt instance key/Java instance value' pair from the map.
+ Normally an entry would be removed when its map value is the last reference
+ left to the java instance, and it becomes a weak reference to be reaped.
+ But C++ can reuse a heap address for a C++ ref without giving the java runtime
+ a chance to do any garbage collection and tidy up the corresponding entry in the
+ qtKeyToJavaMap (tricky!).
+
+ So it is useful to be able to force the early removal of an entry, when the C++
+ instance has a known lifetime (eg a QEvent after its event handler has
+ returned).
+ */
+ public static void removeObjectForQtKey(long qt) {
+ qtKeyToJavaMap.remove(Long.toString(qt).intern());
+ return;
+ }
+
+ /** Allocates an instance of a class without initializing it */
+ private native static Object allocateInstance(Class cls) throws InstantiationException, IllegalAccessException;
+
+ /** If the C++ qt instance is an instance of QObject, then
+ use the Qt runtime meta-data to retrieve the class name.
+ If there is a Java class with the same name, then return
+ a Class object for that class. Otherwise, just return the
+ original 'approximate' Class passed to the method.
+
+ Note that a java equivalent of the C++ instance doesn't have
+ to be instantiated to do this */
+ private native static Class classFromQtMetaData(Class approximateClass, String approximateClassName, long qt);
+
+ /** Retrieves a corresponding Java instance for a given C++ instance. Allocates
+ the Java instance if it doesn't already exist. */
+ public static Object objectForQtKey(long qt, String className, boolean allocatedInJavaWorld) {
+ Object result;
+ Class aClass;
+
+ result = qtKeyToJavaMap.get(Long.toString(qt).intern());
+
+ if (result == null) {
+ try {
+ aClass = Class.forName(toFullyQualifiedClassName(className));
+ } catch (ClassNotFoundException e) {
+ Qt.qWarning("Error class not found: " + toFullyQualifiedClassName(className));
+ return null;
+ }
+
+ if (QtSupport.class.isAssignableFrom(aClass)) {
+ if (QObject.class.isAssignableFrom(aClass)) {
+ aClass = qtjava.classFromQtMetaData(aClass, aClass.getName(), qt);
+ }
+
+ try {
+ result = qtjava.allocateInstance(aClass);
+ } catch (InstantiationException e) {
+ Qt.qWarning("Can't instantiate : " + toFullyQualifiedClassName(className));
+ return null;
+ } catch (IllegalAccessException e) {
+ Qt.qWarning("Illegal access to class : " + toFullyQualifiedClassName(className));
+ return null;
+ }
+
+ setQt(result, qt);
+ setAllocatedInJavaWorld(result, allocatedInJavaWorld);
+ } else {
+ // A Java instance without a wrapped Qt C++ instance (eg a list)
+ try {
+ result = aClass.newInstance();
+ } catch (InstantiationException e) {
+ return null;
+ } catch (IllegalAccessException e) {
+ return null;
+ }
+ }
+
+ setObjectForQtKey(result, qt);
+ }
+
+ return result;
+ }
+
+ /** When a C++ instance has been deleted. Retrieves a corresponding Java instance for a given C++ instance. Sets
+ the '_allocatedInJavaWorld' flag to false. */
+ public static void qtKeyDeleted(long qt) {
+ Object result = qtKeyToJavaMap.get(Long.toString(qt).intern());
+
+ if ( result != null
+ && QtSupport.class.isAssignableFrom(result.getClass()) )
+ {
+ setAllocatedInJavaWorld(result, false);
+ }
+ }
+
+ /** Converts any unqualified class names in a signal or slot string to the fully qualified versions */
+ public static String toFullyQualifiedClassName(String className) {
+ if (className.equals("String")) {
+ return "java.lang.String";
+ } else if (className.equals("Date")) {
+ return "java.util.Date";
+ } else if (className.equals("Calendar")) {
+ return "java.util.GregorianCalendar";
+ } else if (className.equals("ArrayList")) {
+ return "java.util.ArrayList";
+ } else if (className.equals("ByteArrayOutputStream")) {
+ return "java.io.ByteArrayOutputStream";
+ } else if (className.equals("Job")) {
+ return "org.kde.koala.Job";
+ } else if (className.equals("Part")) {
+ return "org.kde.koala.Part";
+ } else if (className.equals("Slave")) {
+ return "org.kde.koala.Slave";
+ } else if (className.equals("DOMNode")) {
+ return "org.kde.koala.DOMNode";
+ } else if (className.startsWith("Q")) {
+ return "org.kde.qt." + className;
+ } else if (className.startsWith("K")) {
+ return "org.kde.koala." + className;
+ }
+ return className;
+ }
+
+ /** Converts from a list Java types in a signal or slot string, to the fully qualified equivalent */
+ private static String toNormalizedTypeSignature(String typeSignature) {
+ StringBuffer normalizedTypeSignature = new StringBuffer( typeSignature.substring( 0,
+ typeSignature.indexOf('(') + 1 ) );
+ StringTokenizer tokenizer = new StringTokenizer( typeSignature.substring( typeSignature.indexOf('(') + 1,
+ typeSignature.indexOf(')') ),
+ "," );
+
+ while (tokenizer.hasMoreTokens()) {
+ String token = tokenizer.nextToken();
+
+ if ( token.equals("boolean")
+ || token.equals("byte")
+ || token.equals("char")
+ || token.equals("long")
+ || token.equals("int")
+ || token.equals("short")
+ || token.equals("float")
+ || token.equals("double") )
+ {
+ normalizedTypeSignature.append(token);
+ } else {
+ normalizedTypeSignature.append(toFullyQualifiedClassName(token));
+ }
+
+ if (tokenizer.hasMoreTokens()) {
+ normalizedTypeSignature.append(",");
+ }
+ }
+
+ normalizedTypeSignature.append(")");
+ return normalizedTypeSignature.toString();
+ }
+
+ /** Returns a new C++ JavaSignal proxy instance, to forward the signal
+ onto the target Java slot */
+ private native static long newJavaSignal();
+
+ /** Looks up a 'qt instance/signal name' key and returns the corresponding
+ JavaSignal instance */
+ public static long signalForSender(long qt, String signal) {
+ String normalizedSignal = toNormalizedTypeSignature(signal);
+ String key = (Long.toString(qt) + normalizedSignal).intern();
+ Long result = (Long) qtSignalDictionary.get(key);
+
+ if (result == null) {
+ long javaSignal = newJavaSignal();
+ qtSignalDictionary.put(key, new Long(javaSignal));
+ return javaSignal;
+ } else {
+ return result.longValue();
+ }
+ }
+
+ /** Initialises the JavaSlot factory */
+ private native static void setJavaSlotFactory();
+
+ /** Returns a new C++ JavaSlot proxy instance, to receive signals
+ and invoke the target Java slot */
+ private native static long newJavaSlot(QObject receiver, String member);
+
+ /** Looks up a 'qt instance/slot name' key and returns the corresponding
+ JavaSlot instance */
+ public static long slotForReceiver(long qt, QObject receiver, String slot) {
+ String normalizedSlot = toNormalizedTypeSignature(slot);
+ String key = (Long.toString(qt) + normalizedSlot).intern();
+ Long result = (Long) qtSlotDictionary.get(key);
+
+ if (result == null) {
+ long javaSlot = newJavaSlot(receiver, normalizedSlot);
+ qtSlotDictionary.put(key, new Long(javaSlot));
+ return javaSlot;
+ } else {
+ return result.longValue();
+ }
+ }
+
+ private static boolean _initialized = false;
+
+ public static void initialize() {
+ if (!_initialized) {
+ System.loadLibrary("qtjava");
+ qtjava.registerJVM();
+ qtjava.setJavaSlotFactory();
+ qtKeyToJavaMap = new WeakValueMap();
+ qtSignalDictionary = new HashMap();
+ qtSlotDictionary = new HashMap();
+ _initialized = true;
+ }
+ }
+
+ static {
+ initialize();
+ }
+}