diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /qtjava/designer | |
download | tdebindings-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/designer')
-rwxr-xr-x | qtjava/designer/juic/bin/juic | 93 | ||||
-rw-r--r-- | qtjava/designer/juic/common/QtClasses.xml | 1725 | ||||
-rw-r--r-- | qtjava/designer/juic/common/classes.xsl | 231 | ||||
-rw-r--r-- | qtjava/designer/juic/common/main.xsl | 568 | ||||
-rw-r--r-- | qtjava/designer/juic/common/properties.xsl | 198 | ||||
-rw-r--r-- | qtjava/designer/juic/common/util.xsl | 302 | ||||
-rw-r--r-- | qtjava/designer/juic/java/JavaClasses.xml | 5019 | ||||
-rw-r--r-- | qtjava/designer/juic/java/definitions.xsl | 640 | ||||
-rw-r--r-- | qtjava/designer/juic/java/methods.xsl | 259 | ||||
-rw-r--r-- | qtjava/designer/juic/java/param.xsl | 39 | ||||
-rw-r--r-- | qtjava/designer/juic/java/properties.xsl | 397 | ||||
-rw-r--r-- | qtjava/designer/juic/java/put.xsl | 486 | ||||
-rw-r--r-- | qtjava/designer/juic/java/util.xsl | 135 | ||||
-rw-r--r-- | qtjava/designer/juic/juic.xsl | 26 |
14 files changed, 10118 insertions, 0 deletions
diff --git a/qtjava/designer/juic/bin/juic b/qtjava/designer/juic/bin/juic new file mode 100755 index 00000000..8104ac9b --- /dev/null +++ b/qtjava/designer/juic/bin/juic @@ -0,0 +1,93 @@ +#!/bin/sh +# +# Author: Marco Ladermann +# Date: Sat May 10 13:59:35 CEST 2003 @541 /Internet Time/ +# Purpose: Starts the transformation process of a UI file to Java +# Changed: +# +# This software is free software. It is released under the terms of the +# GNU Lesser General Public Licence (LGPL) +# see http://www.gnu.org/copyleft/lesser.html +# +# These stylesheets are distributed in the hope that they will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# + +getAbsolutePath() { + ls=$(ls -l $1) + pushd `dirname ${ls##* }` >/dev/null + pwd -P + popd >/dev/null +} + +usage() { + juic=$(basename $0) + cat <<EOT +Usage: $juic [options] uifile... +Where options can be: + -outdir "dir" : output directory, defaults to current directory + -package "the.package.for.the.class" : Generates a package declaration + -main (true | false) : Generate a main method, defaults to "false" + -abstract (true | false) : Slots are declared abstract, defaults to "true" + -images dir : Path to images, defaults to "images" + -os (unix | msdos | mac) : Selects newline characters +EOT + exit 1 +} + +# Assume the directory structure +# ${UIXSL}/ +# bin/ +# xsl/ +# common/ +# java + +a=$(getAbsolutePath $0) +UIXSLDIR=$(dirname "$a") +UIXSL=${UIXSLDIR}/juic.xsl + +ABSTRACT="true" +MAIN="false" +OUTDIR="." +IMAGES="images" +OS="unix" +PACKAGE="" + +while [ -n "$1" ] +do + case "$1" in + -abstract) ABSTRACT=$2; shift; shift;; + -main) MAIN=$2; shift; shift;; + -outdir) OUTDIR=$2; shift; shift;; + -images) IMAGES=$2; shift; shift;; + -os) OS=$2; shift; shift;; + -package) PACKAGE=$2; shift; shift;; + -*) echo Unknown parameter $1; shift;; + *) break;; + esac +done + +if [ -z "$1" ] +then + usage +fi +if [ $ABSTRACT = 'true' -a $MAIN = 'true' ] +then + echo "Option \"-main\" will be ignored, because class will be abstract" + MAIN="false" +fi + +while [ -n "$1" ] +do + xsltproc --nonet --novalid \ + --stringparam package "$PACKAGE" \ + --stringparam outdir "$OUTDIR/" \ + --stringparam images "$IMAGES/" \ + --stringparam os $OS \ + --stringparam genabstract $ABSTRACT \ + --stringparam genmain $MAIN \ + $UIXSL "$1" + shift +done + diff --git a/qtjava/designer/juic/common/QtClasses.xml b/qtjava/designer/juic/common/QtClasses.xml new file mode 100644 index 00000000..d20b6576 --- /dev/null +++ b/qtjava/designer/juic/common/QtClasses.xml @@ -0,0 +1,1725 @@ +<Qt> + <class> + <name>QAccelEventHandling</name> + </class> + <class> + <name>QAccel</name> + </class> + <class> + <name>QAccelSignals</name> + </class> + <class> + <name>QAccessibleInterface</name> + </class> + <class> + <name>QAccessible</name> + </class> + <class> + <name>QAccessibleObjectEventHandling</name> + </class> + <class> + <name>QAccessibleObject</name> + </class> + <class> + <name>QAccessibleObjectSignals</name> + </class> + <class> + <name>QActionEventHandling</name> + </class> + <class> + <name>QActionGroupEventHandling</name> + </class> + <class> + <name>QActionGroup</name> + </class> + <class> + <name>QActionGroupSignals</name> + </class> + <class> + <name>QAction</name> + </class> + <class> + <name>QActionSignals</name> + </class> + <class> + <name>QApplicationEventHandling</name> + </class> + <class> + <name>QApplication</name> + </class> + <class> + <name>QApplicationSignals</name> + </class> + <class> + <name>QAsyncIO</name> + </class> + <class> + <name>QAuServer</name> + </class> + <class> + <name>QBig5Codec</name> + </class> + <class> + <name>QBitmap</name> + </class> + <class> + <name>QBoxLayoutEventHandling</name> + </class> + <class> + <name>QBoxLayout</name> + </class> + <class> + <name>QBoxLayoutSignals</name> + </class> + <class> + <name>QBrush</name> + </class> + <class> + <name>QBuffer</name> + </class> + <class> + <name>QButtonEventHandling</name> + </class> + <class> + <name>QButtonGroupEventHandling</name> + </class> + <class> + <name>QButtonGroup</name> + </class> + <class> + <name>QButtonGroupSignals</name> + </class> + <class> + <name>QButton</name> + </class> + <class> + <name>QButtonSignals</name> + </class> + <class> + <name>QCanvasEllipse</name> + </class> + <class> + <name>QCanvasEventHandling</name> + </class> + <class> + <name>QCanvasItem</name> + </class> + <class> + <name>QCanvas</name> + </class> + <class> + <name>QCanvasLine</name> + </class> + <class> + <name>QCanvasPixmapArray</name> + </class> + <class> + <name>QCanvasPixmap</name> + </class> + <class> + <name>QCanvasPolygonalItem</name> + </class> + <class> + <name>QCanvasPolygon</name> + </class> + <class> + <name>QCanvasRectangle</name> + </class> + <class> + <name>QCanvasSignals</name> + </class> + <class> + <name>QCanvasSpline</name> + </class> + <class> + <name>QCanvasSprite</name> + </class> + <class> + <name>QCanvasText</name> + </class> + <class> + <name>QCanvasViewEventHandling</name> + </class> + <class> + <name>QCanvasView</name> + </class> + <class> + <name>QCanvasViewSignals</name> + </class> + <class> + <name>QCDEStyleEventHandling</name> + </class> + <class> + <name>QCDEStyle</name> + </class> + <class> + <name>QCDEStyleSignals</name> + </class> + <class> + <name>QCheckBoxEventHandling</name> + </class> + <class> + <name>QCheckBox</name> + </class> + <class> + <name>QCheckBoxSignals</name> + </class> + <class> + <name>QCheckListItem</name> + </class> + <class> + <name>QCheckTableItem</name> + </class> + <class> + <name>QChildEvent</name> + </class> + <class> + <name>QClassInfo</name> + </class> + <class> + <name>QClipboard</name> + </class> + <class> + <name>QCloseEvent</name> + </class> + <class> + <name>QColorDialog</name> + </class> + <class> + <name>QColorDragEventHandling</name> + </class> + <class> + <name>QColorDrag</name> + </class> + <class> + <name>QColorDragSignals</name> + </class> + <class> + <name>QColorGroup</name> + </class> + <class> + <name>QColor</name> + </class> + <class> + <name>QComboBoxEventHandling</name> + </class> + <class> + <name>QComboBox</name> + </class> + <class> + <name>QComboBoxSignals</name> + </class> + <class> + <name>QComboTableItem</name> + </class> + <class> + <name>QCommonStyle</name> + </class> + <class> + <name>QContextMenuEvent</name> + </class> + <class> + <name>QCursor</name> + </class> + <class> + <name>QCustomEvent</name> + </class> + <class> + <name>QCustomMenuItem</name> + </class> + <class> + <name>QDataBrowserEventHandling</name> + </class> + <class> + <name>QDataBrowser</name> + </class> + <class> + <name>QDataBrowserSignals</name> + </class> + <class> + <name>QDataPumpEventHandling</name> + </class> + <class> + <name>QDataPump</name> + </class> + <class> + <name>QDataPumpSignals</name> + </class> + <class> + <name>QDataSink</name> + </class> + <class> + <name>QDataSource</name> + </class> + <class> + <name>QDataStream</name> + </class> + <class> + <name>QDataTableEventHandling</name> + </class> + <class> + <name>QDataTable</name> + </class> + <class> + <name>QDataTableSignals</name> + </class> + <class> + <name>QDataViewEventHandling</name> + </class> + <class> + <name>QDataView</name> + </class> + <class> + <name>QDataViewSignals</name> + </class> + <class> + <name>QDateEditEventHandling</name> + </class> + <class> + <name>QDateEdit</name> + </class> + <class> + <name>QDateEditSignals</name> + </class> + <class> + <name>QDateTimeEditBase</name> + </class> + <class> + <name>QDateTimeEditEventHandling</name> + </class> + <class> + <name>QDateTimeEdit</name> + </class> + <class> + <name>QDateTimeEditSignals</name> + </class> + <class> + <name>QDesktopWidgetEventHandling</name> + </class> + <class> + <name>QDesktopWidget</name> + </class> + <class> + <name>QDesktopWidgetSignals</name> + </class> + <class> + <name>QDialEventHandling</name> + </class> + <class> + <name>QDial</name> + </class> + <class> + <name>QDialogEventHandling</name> + </class> + <class> + <name>QDialog</name> + </class> + <class> + <name>QDialogSignals</name> + </class> + <class> + <name>QDialSignals</name> + </class> + <class> + <name>QDir</name> + </class> + <class> + <name>QDnsEventHandling</name> + </class> + <class> + <name>QDns</name> + </class> + <class> + <name>QDnsSignals</name> + </class> + <class> + <name>QDockAreaEventHandling</name> + </class> + <class> + <name>QDockArea</name> + </class> + <class> + <name>QDockAreaSignals</name> + </class> + <class> + <name>QDockWindowEventHandling</name> + </class> + <class> + <name>QDockWindow</name> + </class> + <class> + <name>QDockWindowSignals</name> + </class> + <class> + <name>QDomAttr</name> + </class> + <class> + <name>QDomCDATASection</name> + </class> + <class> + <name>QDomCharacterData</name> + </class> + <class> + <name>QDomComment</name> + </class> + <class> + <name>QDomDocumentFragment</name> + </class> + <class> + <name>QDomDocument</name> + </class> + <class> + <name>QDomDocumentType</name> + </class> + <class> + <name>QDomElement</name> + </class> + <class> + <name>QDomEntity</name> + </class> + <class> + <name>QDomEntityReference</name> + </class> + <class> + <name>QDomImplementation</name> + </class> + <class> + <name>QDomNamedNodeMap</name> + </class> + <class> + <name>QDomNode</name> + </class> + <class> + <name>QDomNodeList</name> + </class> + <class> + <name>QDomNotation</name> + </class> + <class> + <name>QDomProcessingInstruction</name> + </class> + <class> + <name>QDomText</name> + </class> + <class> + <name>QDoubleValidatorEventHandling</name> + </class> + <class> + <name>QDoubleValidator</name> + </class> + <class> + <name>QDoubleValidatorSignals</name> + </class> + <class> + <name>QDragEnterEvent</name> + </class> + <class> + <name>QDragLeaveEvent</name> + </class> + <class> + <name>QDragManager</name> + </class> + <class> + <name>QDragMoveEvent</name> + </class> + <class> + <name>QDragObjectEventHandling</name> + </class> + <class> + <name>QDragObject</name> + </class> + <class> + <name>QDragObjectSignals</name> + </class> + <class> + <name>QDragResponseEvent</name> + </class> + <class> + <name>QDropEvent</name> + </class> + <class> + <name>QDropSite</name> + </class> + <class> + <name>QEditorFactoryEventHandling</name> + </class> + <class> + <name>QEditorFactory</name> + </class> + <class> + <name>QEditorFactorySignals</name> + </class> + <class> + <name>QErrorMessageEventHandling</name> + </class> + <class> + <name>QErrorMessage</name> + </class> + <class> + <name>QErrorMessageSignals</name> + </class> + <class> + <name>QEucJpCodec</name> + </class> + <class> + <name>QEucKrCodec</name> + </class> + <class> + <name>QEvent</name> + </class> + <class> + <name>QFileDialogEventHandling</name> + </class> + <class> + <name>QFileDialog</name> + </class> + <class> + <name>QFileDialogSignals</name> + </class> + <class> + <name>QFileIconProviderEventHandling</name> + </class> + <class> + <name>QFileIconProvider</name> + </class> + <class> + <name>QFileIconProviderSignals</name> + </class> + <class> + <name>QFileInfo</name> + </class> + <class> + <name>QFile</name> + </class> + <class> + <name>QFilePreview</name> + </class> + <class> + <name>QFocusData</name> + </class> + <class> + <name>QFocusEvent</name> + </class> + <class> + <name>QFontDatabase</name> + </class> + <class> + <name>QFontDialog</name> + </class> + <class> + <name>QFontInfo</name> + </class> + <class> + <name>QFont</name> + </class> + <class> + <name>QFontMetrics</name> + </class> + <class> + <name>QFrameEventHandling</name> + </class> + <class> + <name>QFrame</name> + </class> + <class> + <name>QFrameSignals</name> + </class> + <class> + <name>QFtpEventHandling</name> + </class> + <class> + <name>QFtp</name> + </class> + <class> + <name>QFtpSignals</name> + </class> + <class> + <name>QGbkCodec</name> + </class> + <class> + <name>QGLColormap</name> + </class> + <class> + <name>QGLContext</name> + </class> + <class> + <name>QGLFormat</name> + </class> + <class> + <name>QGL</name> + </class> + <class> + <name>QGLWidgetEventHandling</name> + </class> + <class> + <name>QGLWidget</name> + </class> + <class> + <name>QGLWidgetSignals</name> + </class> + <class> + <name>QGridEventHandling</name> + </class> + <class> + <name>QGrid</name> + </class> + <class> + <name>QGridLayoutEventHandling</name> + </class> + <class> + <name>QGridLayout</name> + </class> + <class> + <name>QGridLayoutSignals</name> + </class> + <class> + <name>QGridSignals</name> + </class> + <class> + <name>QGridView</name> + </class> + <class> + <name>QGroupBoxEventHandling</name> + </class> + <class> + <name>QGroupBox</name> + </class> + <class> + <name>QGroupBoxSignals</name> + </class> + <class> + <name>QHBoxEventHandling</name> + </class> + <class> + <name>QHBox</name> + </class> + <class> + <name>QHBoxLayoutEventHandling</name> + </class> + <class> + <name>QHBoxLayout</name> + </class> + <class> + <name>QHBoxLayoutSignals</name> + </class> + <class> + <name>QHBoxSignals</name> + </class> + <class> + <name>QHButtonGroupEventHandling</name> + </class> + <class> + <name>QHButtonGroup</name> + </class> + <class> + <name>QHButtonGroupSignals</name> + </class> + <class> + <name>QHeaderEventHandling</name> + </class> + <class> + <name>QHeader</name> + </class> + <class> + <name>QHeaderSignals</name> + </class> + <class> + <name>QHebrewCodec</name> + </class> + <class> + <name>QHGroupBoxEventHandling</name> + </class> + <class> + <name>QHGroupBox</name> + </class> + <class> + <name>QHGroupBoxSignals</name> + </class> + <class> + <name>QHideEvent</name> + </class> + <class> + <name>QHostAddress</name> + </class> + <class> + <name>QHttpEventHandling</name> + </class> + <class> + <name>QHttp</name> + </class> + <class> + <name>QHttpSignals</name> + </class> + <class> + <name>QIconDragEventHandling</name> + </class> + <class> + <name>QIconDragItem</name> + </class> + <class> + <name>QIconDrag</name> + </class> + <class> + <name>QIconDragSignals</name> + </class> + <class> + <name>QIconSet</name> + </class> + <class> + <name>QIconViewEventHandling</name> + </class> + <class> + <name>QIconViewItem</name> + </class> + <class> + <name>QIconView</name> + </class> + <class> + <name>QIconViewSignals</name> + </class> + <class> + <name>QImageConsumer</name> + </class> + <class> + <name>QImageDecoder</name> + </class> + <class> + <name>QImageDragEventHandling</name> + </class> + <class> + <name>QImageDrag</name> + </class> + <class> + <name>QImageDragSignals</name> + </class> + <class> + <name>QImageFormat</name> + </class> + <class> + <name>QImageFormatType</name> + </class> + <class> + <name>QImageIO</name> + </class> + <class> + <name>QImage</name> + </class> + <class> + <name>QImageTextKeyLang</name> + </class> + <class> + <name>QIMEvent</name> + </class> + <class> + <name>QInputDialog</name> + </class> + <class> + <name>QInterlaceStyleEventHandling</name> + </class> + <class> + <name>QInterlaceStyleSignals</name> + </class> + <class> + <name>QIntValidatorEventHandling</name> + </class> + <class> + <name>QIntValidator</name> + </class> + <class> + <name>QIntValidatorSignals</name> + </class> + <class> + <name>QIODeviceInterface</name> + </class> + <class> + <name>QIODevice</name> + </class> + <class> + <name>QIODeviceSource</name> + </class> + <class> + <name>QJisCodec</name> + </class> + <class> + <name>QJpUnicodeConv</name> + </class> + <class> + <name>QKeyEvent</name> + </class> + <class> + <name>QKeySequence</name> + </class> + <class> + <name>QLabelEventHandling</name> + </class> + <class> + <name>QLabel</name> + </class> + <class> + <name>QLabelSignals</name> + </class> + <class> + <name>QLayoutItemInterface</name> + </class> + <class> + <name>QLayoutItem</name> + </class> + <class> + <name>QLayout</name> + </class> + <class> + <name>QLCDNumberEventHandling</name> + </class> + <class> + <name>QLCDNumber</name> + </class> + <class> + <name>QLCDNumberSignals</name> + </class> + <class> + <name>QLibrary</name> + </class> + <class> + <name>QLineEditEventHandling</name> + </class> + <class> + <name>QLineEdit</name> + </class> + <class> + <name>QLineEditSignals</name> + </class> + <class> + <name>QListBoxEventHandling</name> + </class> + <class> + <name>QListBoxItem</name> + </class> + <class> + <name>QListBox</name> + </class> + <class> + <name>QListBoxPixmap</name> + </class> + <class> + <name>QListBoxSignals</name> + </class> + <class> + <name>QListBoxText</name> + </class> + <class> + <name>QListViewEventHandling</name> + </class> + <class> + <name>QListViewItem</name> + </class> + <class> + <name>QListView</name> + </class> + <class> + <name>QListViewSignals</name> + </class> + <class> + <name>QLocalFsEventHandling</name> + </class> + <class> + <name>QLocalFs</name> + </class> + <class> + <name>QLocalFsSignals</name> + </class> + <class> + <name>QMainWindowEventHandling</name> + </class> + <class> + <name>QMainWindow</name> + </class> + <class> + <name>QMainWindowSignals</name> + </class> + <class> + <name>QMenuBarEventHandling</name> + </class> + <class> + <name>QMenuBar</name> + </class> + <class> + <name>QMenuBarSignals</name> + </class> + <class> + <name>QMenuDataInterface</name> + </class> + <class> + <name>QMenuData</name> + </class> + <class> + <name>QMenuItem</name> + </class> + <class> + <name>QMessageBoxEventHandling</name> + </class> + <class> + <name>QMessageBox</name> + </class> + <class> + <name>QMessageBoxSignals</name> + </class> + <class> + <name>QMetaData</name> + </class> + <class> + <name>QMetaEnum</name> + </class> + <class> + <name>QMetaObject</name> + </class> + <class> + <name>QMetaProperty</name> + </class> + <class> + <name>QMimeSourceFactory</name> + </class> + <class> + <name>QMimeSourceInterface</name> + </class> + <class> + <name>QMimeSource</name> + </class> + <class> + <name>QMotifPlusStyleEventHandling</name> + </class> + <class> + <name>QMotifPlusStyle</name> + </class> + <class> + <name>QMotifPlusStyleSignals</name> + </class> + <class> + <name>QMotifStyleEventHandling</name> + </class> + <class> + <name>QMotifStyle</name> + </class> + <class> + <name>QMotifStyleSignals</name> + </class> + <class> + <name>QMouseEvent</name> + </class> + <class> + <name>QMoveEvent</name> + </class> + <class> + <name>QMovie</name> + </class> + <class> + <name>QMultiLineEditEventHandling</name> + </class> + <class> + <name>QMultiLineEdit</name> + </class> + <class> + <name>QMultiLineEditSignals</name> + </class> + <class> + <name>QNetworkOperationEventHandling</name> + </class> + <class> + <name>QNetworkOperation</name> + </class> + <class> + <name>QNetworkOperationSignals</name> + </class> + <class> + <name>QNetworkProtocolEventHandling</name> + </class> + <class> + <name>QNetworkProtocol</name> + </class> + <class> + <name>QNetworkProtocolSignals</name> + </class> + <class> + <name>QObjectCleanupHandlerEventHandling</name> + </class> + <class> + <name>QObjectCleanupHandler</name> + </class> + <class> + <name>QObjectCleanupHandlerSignals</name> + </class> + <class> + <name>QObjectEventHandling</name> + </class> + <class> + <name>QObject</name> + </class> + <class> + <name>QObjectSignals</name> + </class> + <class> + <name>QPaintDeviceInterface</name> + </class> + <class> + <name>QPaintDevice</name> + </class> + <class> + <name>QPaintDeviceMetrics</name> + </class> + <class> + <name>QPainter</name> + </class> + <class> + <name>QPaintEvent</name> + </class> + <class> + <name>QPalette</name> + </class> + <class> + <name>QPen</name> + </class> + <class> + <name>QPicture</name> + </class> + <class> + <name>QPixmap</name> + </class> + <class> + <name>QPlatinumStyleEventHandling</name> + </class> + <class> + <name>QPlatinumStyle</name> + </class> + <class> + <name>QPlatinumStyleSignals</name> + </class> + <class> + <name>QPNGImagePacker</name> + </class> + <class> + <name>QPNGImageWriter</name> + </class> + <class> + <name>QPointArray</name> + </class> + <class> + <name>QPoint</name> + </class> + <class> + <name>QPolygonScanner</name> + </class> + <class> + <name>QPopupMenuEventHandling</name> + </class> + <class> + <name>QPopupMenu</name> + </class> + <class> + <name>QPopupMenuSignals</name> + </class> + <class> + <name>QPrintDialogEventHandling</name> + </class> + <class> + <name>QPrintDialog</name> + </class> + <class> + <name>QPrintDialogSignals</name> + </class> + <class> + <name>QPrinter</name> + </class> + <class> + <name>QProcessEventHandling</name> + </class> + <class> + <name>QProcess</name> + </class> + <class> + <name>QProcessSignals</name> + </class> + <class> + <name>QProgressBarEventHandling</name> + </class> + <class> + <name>QProgressBar</name> + </class> + <class> + <name>QProgressBarSignals</name> + </class> + <class> + <name>QProgressDialogEventHandling</name> + </class> + <class> + <name>QProgressDialog</name> + </class> + <class> + <name>QProgressDialogSignals</name> + </class> + <class> + <name>QPushButtonEventHandling</name> + </class> + <class> + <name>QPushButton</name> + </class> + <class> + <name>QPushButtonSignals</name> + </class> + <class> + <name>QRadioButtonEventHandling</name> + </class> + <class> + <name>QRadioButton</name> + </class> + <class> + <name>QRadioButtonSignals</name> + </class> + <class> + <name>QRangeControlInterface</name> + </class> + <class> + <name>QRangeControl</name> + </class> + <class> + <name>QRect</name> + </class> + <class> + <name>QRegExp</name> + </class> + <class> + <name>QRegExpValidatorEventHandling</name> + </class> + <class> + <name>QRegExpValidator</name> + </class> + <class> + <name>QRegExpValidatorSignals</name> + </class> + <class> + <name>QRegion</name> + </class> + <class> + <name>QResizeEvent</name> + </class> + <class> + <name>QScrollBarEventHandling</name> + </class> + <class> + <name>QScrollBar</name> + </class> + <class> + <name>QScrollBarSignals</name> + </class> + <class> + <name>QScrollViewEventHandling</name> + </class> + <class> + <name>QScrollView</name> + </class> + <class> + <name>QScrollViewSignals</name> + </class> + <class> + <name>QSemiModalEventHandling</name> + </class> + <class> + <name>QSemiModal</name> + </class> + <class> + <name>QSemiModalSignals</name> + </class> + <class> + <name>QServerSocket</name> + </class> + <class> + <name>QSessionManager</name> + </class> + <class> + <name>QSettings</name> + </class> + <class> + <name>QSGIStyleEventHandling</name> + </class> + <class> + <name>QSGIStyle</name> + </class> + <class> + <name>QSGIStyleSignals</name> + </class> + <class> + <name>QShowEvent</name> + </class> + <class> + <name>QSignalEventHandling</name> + </class> + <class> + <name>QSignal</name> + </class> + <class> + <name>QSignalMapperEventHandling</name> + </class> + <class> + <name>QSignalMapper</name> + </class> + <class> + <name>QSignalMapperSignals</name> + </class> + <class> + <name>QSignalSignals</name> + </class> + <class> + <name>QSimpleRichText</name> + </class> + <class> + <name>QSizeGripEventHandling</name> + </class> + <class> + <name>QSizeGrip</name> + </class> + <class> + <name>QSizeGripSignals</name> + </class> + <class> + <name>QSize</name> + </class> + <class> + <name>QSizePolicy</name> + </class> + <class> + <name>QSjisCodec</name> + </class> + <class> + <name>QSliderEventHandling</name> + </class> + <class> + <name>QSlider</name> + </class> + <class> + <name>QSliderSignals</name> + </class> + <class> + <name>QSocketDevice</name> + </class> + <class> + <name>QSocketEventHandling</name> + </class> + <class> + <name>QSocket</name> + </class> + <class> + <name>QSocketNotifierEventHandling</name> + </class> + <class> + <name>QSocketNotifier</name> + </class> + <class> + <name>QSocketNotifierSignals</name> + </class> + <class> + <name>QSocketSignals</name> + </class> + <class> + <name>QSoundEventHandling</name> + </class> + <class> + <name>QSound</name> + </class> + <class> + <name>QSoundSignals</name> + </class> + <class> + <name>QSpacerItem</name> + </class> + <class> + <name>QSpinBoxEventHandling</name> + </class> + <class> + <name>QSpinBox</name> + </class> + <class> + <name>QSpinBoxSignals</name> + </class> + <class> + <name>QSplitterEventHandling</name> + </class> + <class> + <name>QSplitter</name> + </class> + <class> + <name>QSplitterSignals</name> + </class> + <class> + <name>QSqlCursor</name> + </class> + <class> + <name>QSqlDatabaseEventHandling</name> + </class> + <class> + <name>QSqlDatabase</name> + </class> + <class> + <name>QSqlDatabaseSignals</name> + </class> + <class> + <name>QSqlDriver</name> + </class> + <class> + <name>QSqlEditorFactoryEventHandling</name> + </class> + <class> + <name>QSqlEditorFactory</name> + </class> + <class> + <name>QSqlEditorFactorySignals</name> + </class> + <class> + <name>QSqlError</name> + </class> + <class> + <name>QSqlFieldInfo</name> + </class> + <class> + <name>QSqlField</name> + </class> + <class> + <name>QSqlFormEventHandling</name> + </class> + <class> + <name>QSqlForm</name> + </class> + <class> + <name>QSqlFormSignals</name> + </class> + <class> + <name>QSqlIndex</name> + </class> + <class> + <name>QSql</name> + </class> + <class> + <name>QSqlPropertyMap</name> + </class> + <class> + <name>QSqlQueryInterface</name> + </class> + <class> + <name>QSqlQuery</name> + </class> + <class> + <name>QSqlRecordInfo</name> + </class> + <class> + <name>QSqlRecord</name> + </class> + <class> + <name>QSqlResult</name> + </class> + <class> + <name>QStatusBarEventHandling</name> + </class> + <class> + <name>QStatusBar</name> + </class> + <class> + <name>QStatusBarSignals</name> + </class> + <class> + <name>QStoredDragEventHandling</name> + </class> + <class> + <name>QStoredDrag</name> + </class> + <class> + <name>QStoredDragSignals</name> + </class> + <class> + <name>QStyleFactory</name> + </class> + <class> + <name>QStyle</name> + </class> + <class> + <name>QStyleOption</name> + </class> + <class> + <name>QStyleSheetEventHandling</name> + </class> + <class> + <name>QStyleSheetItem</name> + </class> + <class> + <name>QStyleSheet</name> + </class> + <class> + <name>QStyleSheetSignals</name> + </class> + <class> + <name>QTabBarEventHandling</name> + </class> + <class> + <name>QTabBar</name> + </class> + <class> + <name>QTabBarSignals</name> + </class> + <class> + <name>QTabDialogEventHandling</name> + </class> + <class> + <name>QTabDialog</name> + </class> + <class> + <name>QTabDialogSignals</name> + </class> + <class> + <name>QTab</name> + </class> + <class> + <name>QTableEventHandling</name> + </class> + <class> + <name>QTableItem</name> + </class> + <class> + <name>QTable</name> + </class> + <class> + <name>QTableSelection</name> + </class> + <class> + <name>QTableSignals</name> + </class> + <class> + <name>QTabletEvent</name> + </class> + <class> + <name>QTabWidgetEventHandling</name> + </class> + <class> + <name>QTabWidget</name> + </class> + <class> + <name>QTabWidgetSignals</name> + </class> + <class> + <name>QTextBrowserEventHandling</name> + </class> + <class> + <name>QTextBrowser</name> + </class> + <class> + <name>QTextBrowserSignals</name> + </class> + <class> + <name>QTextCodec</name> + </class> + <class> + <name>QTextDecoder</name> + </class> + <class> + <name>QTextDragEventHandling</name> + </class> + <class> + <name>QTextDrag</name> + </class> + <class> + <name>QTextDragSignals</name> + </class> + <class> + <name>QTextEditEventHandling</name> + </class> + <class> + <name>QTextEdit</name> + </class> + <class> + <name>QTextEditSignals</name> + </class> + <class> + <name>QTextEncoder</name> + </class> + <class> + <name>QTextIStream</name> + </class> + <class> + <name>QTextOStream</name> + </class> + <class> + <name>QTextStream</name> + </class> + <class> + <name>QTextViewEventHandling</name> + </class> + <class> + <name>QTextView</name> + </class> + <class> + <name>QTextViewSignals</name> + </class> + <class> + <name>QTimeEditEventHandling</name> + </class> + <class> + <name>QTimeEdit</name> + </class> + <class> + <name>QTimeEditSignals</name> + </class> + <class> + <name>QTimerEventHandling</name> + </class> + <class> + <name>QTimerEvent</name> + </class> + <class> + <name>QTimer</name> + </class> + <class> + <name>QTimerSignals</name> + </class> + <class> + <name>Qt</name> + </class> + <class> + <name>QToolBarEventHandling</name> + </class> + <class> + <name>QToolBar</name> + </class> + <class> + <name>QToolBarSignals</name> + </class> + <class> + <name>QToolButtonEventHandling</name> + </class> + <class> + <name>QToolButton</name> + </class> + <class> + <name>QToolButtonSignals</name> + </class> + <class> + <name>QToolTipGroupEventHandling</name> + </class> + <class> + <name>QToolTipGroup</name> + </class> + <class> + <name>QToolTipGroupSignals</name> + </class> + <class> + <name>QToolTip</name> + </class> + <class> + <name>QTranslatorEventHandling</name> + </class> + <class> + <name>QTranslator</name> + </class> + <class> + <name>QTranslatorMessage</name> + </class> + <class> + <name>QTranslatorSignals</name> + </class> + <class> + <name>QTsciiCodec</name> + </class> + <class> + <name>QtSupport</name> + </class> + <class> + <name>QUriDragEventHandling</name> + </class> + <class> + <name>QUriDrag</name> + </class> + <class> + <name>QUriDragSignals</name> + </class> + <class> + <name>QUrlInfo</name> + </class> + <class> + <name>QUrlInterface</name> + </class> + <class> + <name>QUrl</name> + </class> + <class> + <name>QUrlOperatorEventHandling</name> + </class> + <class> + <name>QUrlOperator</name> + </class> + <class> + <name>QUrlOperatorSignals</name> + </class> + <class> + <name>QUtf16Codec</name> + </class> + <class> + <name>QUtf8Codec</name> + </class> + <class> + <name>QUuid</name> + </class> + <class> + <name>QValidator</name> + </class> + <class> + <name>QVariant</name> + </class> + <class> + <name>QVBoxEventHandling</name> + </class> + <class> + <name>QVBox</name> + </class> + <class> + <name>QVBoxLayoutEventHandling</name> + </class> + <class> + <name>QVBoxLayout</name> + </class> + <class> + <name>QVBoxLayoutSignals</name> + </class> + <class> + <name>QVBoxSignals</name> + </class> + <class> + <name>QVButtonGroupEventHandling</name> + </class> + <class> + <name>QVButtonGroup</name> + </class> + <class> + <name>QVButtonGroupSignals</name> + </class> + <class> + <name>QVGroupBoxEventHandling</name> + </class> + <class> + <name>QVGroupBox</name> + </class> + <class> + <name>QVGroupBoxSignals</name> + </class> + <class> + <name>QWhatsThis</name> + </class> + <class> + <name>QWheelEvent</name> + </class> + <class> + <name>QWidgetEventHandling</name> + </class> + <class> + <name>QWidgetItem</name> + </class> + <class> + <name>QWidget</name> + </class> + <class> + <name>QWidgetSignals</name> + </class> + <class> + <name>QWidgetStackEventHandling</name> + </class> + <class> + <name>QWidgetStack</name> + </class> + <class> + <name>QWidgetStackSignals</name> + </class> + <class> + <name>QWindowsStyleEventHandling</name> + </class> + <class> + <name>QWindowsStyle</name> + </class> + <class> + <name>QWindowsStyleSignals</name> + </class> + <class> + <name>QWizardEventHandling</name> + </class> + <class> + <name>QWizard</name> + </class> + <class> + <name>QWizardSignals</name> + </class> + <class> + <name>QWMatrix</name> + </class> + <class> + <name>QWorkspaceEventHandling</name> + </class> + <class> + <name>QWorkspace</name> + </class> + <class> + <name>QWorkspaceSignals</name> + </class> + <class> + <name>QXmlAttributes</name> + </class> + <class> + <name>QXmlContentHandlerInterface</name> + </class> + <class> + <name>QXmlContentHandler</name> + </class> + <class> + <name>QXmlDeclHandlerInterface</name> + </class> + <class> + <name>QXmlDeclHandler</name> + </class> + <class> + <name>QXmlDefaultHandler</name> + </class> + <class> + <name>QXmlDTDHandlerInterface</name> + </class> + <class> + <name>QXmlDTDHandler</name> + </class> + <class> + <name>QXmlEntityResolverInterface</name> + </class> + <class> + <name>QXmlEntityResolver</name> + </class> + <class> + <name>QXmlErrorHandlerInterface</name> + </class> + <class> + <name>QXmlErrorHandler</name> + </class> + <class> + <name>QXmlInputSource</name> + </class> + <class> + <name>QXmlLexicalHandlerInterface</name> + </class> + <class> + <name>QXmlLexicalHandler</name> + </class> + <class> + <name>QXmlLocator</name> + </class> + <class> + <name>QXmlNamespaceSupport</name> + </class> + <class> + <name>QXmlParseException</name> + </class> + <class> + <name>QXmlReader</name> + </class> + <class> + <name>QXmlSimpleReader</name> + </class> +</Qt> + diff --git a/qtjava/designer/juic/common/classes.xsl b/qtjava/designer/juic/common/classes.xsl new file mode 100644 index 00000000..c6acbfa4 --- /dev/null +++ b/qtjava/designer/juic/common/classes.xsl @@ -0,0 +1,231 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ** Author: Marco Ladermann + ** Date: Wed Jan 29 08:41:56 CET 2003 @362 /Internet Time/ + ** Purpose: Convert tags in the UI file to Qt classes + ** Changed: + ** + ** This software is free software. It is released under the terms of the + ** GNU Lesser General Public Licence (LGPL) + ** see http://www.gnu.org/copyleft/lesser.html + ** + ** These stylesheets are distributed in the hope that they will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + --> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:kde="http://kde.org/functions" +> + + <!-- + ** Start of mode 'classes' + ** The patterns with mode "classes" construct a + ** result tree fragment of "class" elements with the + ** Qt classes that should be used for a ui tag. + --> + <xsl:template match="action" mode="classes"> + <class>QAction</class> + <class>QKeySequence</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="actiongroup" mode="classes"> + <class>QActionGroup</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="color" mode="classes"> + <class>QColor</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="cursor" mode="classes"> + <class>QCursor</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="font" mode="classes"> + <class>QFont</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="grid" mode="classes"> + <class>QGridLayout</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="hbox" mode="classes"> + <class>QHBoxLayout</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="iconset" mode="classes"> + <class>QIconSet</class> + <class>QPixmap</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="item" mode="classes"> + <xsl:if test="name(..) = 'widget'"> + <class><xsl:value-of select="concat(../@class, 'Item')"/></class> + </xsl:if> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="menubar" mode="classes"> + <class>QMenuBar</class> + <class>QPopupMenu</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="pixmap" mode="classes"> + <class>QPixmap</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="rect" mode="classes"> + <class>QRect</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="size" mode="classes"> + <xsl:if test="not(name(../..) = 'spacer')"> + <class>QSize</class> + </xsl:if> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="sizepolicy" mode="classes"> + <class>QSizePolicy</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="spacer" mode="classes"> + <class>QSpacerItem</class> + <class>QSizePolicy</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="toolbar" mode="classes"> + <class>QToolBar</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="vbox" mode="classes"> + <class>QVBoxLayout</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="palette" mode="classes"> + <class>QPalette</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="active|disabled|inactive" mode="classes"> + <class>QColorGroup</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="signal|slot" mode="classes"> + <xsl:message>Check <xsl:value-of select="name()"/>: <xsl:value-of select="."/></xsl:message> + <xsl:call-template name="kde:classes-in-signature"> + <xsl:with-param name="signature" select="."/> + </xsl:call-template> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="widget" mode="classes"> + <xsl:choose> + <xsl:when test="@class = 'QLayoutWidget'"> + <class>QWidget</class> + </xsl:when> + <xsl:when test="@class = 'QDataBrowser'"> + <class>QDataBrowser</class> + <class>QSqlForm</class> + </xsl:when> + <xsl:otherwise> + <class><xsl:value-of select="@class"/></class> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="property[@name = 'accel']" mode="classes"> + <class>QKeySequence</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="property[@name = 'toolTip']" mode="classes"> + <class>QToolTip</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="property[@name = 'whatsThis']" mode="classes"> + <class>QWhatsThis</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="property[@name = 'database']" mode="classes"> + <class>QSqlDatabase</class> + <class>QSqlCursor</class> + <xsl:apply-templates mode="classes"/> + </xsl:template> + + <xsl:template match="text()|@*" mode="classes"/> + + <!-- + ** End of mode 'classes' + --> + + <!-- + ** A mode to get classes corresponding to the tag names. This templates + ** do not recurse and return a simple text value + --> + <xsl:template match="action" mode="toClass"> + <xsl:text>QAction</xsl:text> + </xsl:template> + <xsl:template match="actiongroup" mode="toClass"> + <xsl:text>QActionGroup</xsl:text> + </xsl:template> + <xsl:template match="grid" mode="toClass"> + <xsl:text>QGridLayout</xsl:text> + </xsl:template> + <xsl:template match="hbox" mode="toClass"> + <xsl:text>QHBoxLayout</xsl:text> + </xsl:template> + <xsl:template match="iconset" mode="toClass"> + <xsl:text>QIconSet</xsl:text> + </xsl:template> + <xsl:template match="menubar" mode="toClass"> + <xsl:text>QMenuBar</xsl:text> + </xsl:template> + <xsl:template match="pixmap" mode="toClass"> + <xsl:text>QPixmap</xsl:text> + </xsl:template> + <xsl:template match="spacer" mode="toClass"> + <xsl:text>QSpacerItem</xsl:text> + </xsl:template> + <xsl:template match="toolbar" mode="toClass"> + <xsl:text>QToolBar</xsl:text> + </xsl:template> + <xsl:template match="vbox" mode="toClass"> + <xsl:text>QVBoxLayout</xsl:text> + </xsl:template> + <xsl:template match="widget" mode="toClass"> + <xsl:choose> + <xsl:when test="@class = 'QLayoutWidget'"> + <class>QWidget</class> + </xsl:when> + <xsl:otherwise> + <class><xsl:value-of select="@class"/></class> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + <xsl:template match="*" mode="toClass"> + <xsl:message terminate="yes">Upps! Which class? <xsl:value-of select="name(.)"/></xsl:message> + </xsl:template> + +</xsl:stylesheet> + diff --git a/qtjava/designer/juic/common/main.xsl b/qtjava/designer/juic/common/main.xsl new file mode 100644 index 00000000..fd18d274 --- /dev/null +++ b/qtjava/designer/juic/common/main.xsl @@ -0,0 +1,568 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- + ** Author: Marco Ladermann (<marco.ladermann@gmx.de>) + ** Date: Sat Feb 01 18:26:59 CET 2003 @768 /Internet Time/ + ** + ** This software is free software. It is released under the terms of the + ** GNU Lesser General Public Licence (LGPL) + ** see http://www.gnu.org/copyleft/lesser.html + ** + ** These stylesheets are distributed in the hope that they will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + --> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:set="http://exslt.org/sets" + extension-element-prefixes="exsl set" +> + <xsl:import href="classes.xsl"/> + <xsl:import href="properties.xsl"/> + + <xsl:output encoding="utf-8" indent="no" method="text"/> + + <!-- + <xsl:variable name="QtClasses" select="document('QtClasses.xml')"/> + --> + + <!-- + ** Matching the root node call named templates to do all the work + ** @param data opaque data for user purpose + --> + <xsl:template match="/" mode="main"> + <xsl:param name="data"/> + <xsl:message>Java package : "<xsl:value-of select="$package"/>"</xsl:message> + <xsl:message>Abstract slots : "<xsl:value-of select="$abstract"/>"</xsl:message> + <xsl:message>Method main : "<xsl:value-of select="$main"/>"</xsl:message> + <xsl:message>Image directory : "<xsl:value-of select="$images"/>"</xsl:message> + <xsl:message>Output directory: "<xsl:value-of select="$outdir"/>"</xsl:message> + <xsl:message>OS type : "<xsl:value-of select="$os"/>"</xsl:message> + <xsl:message></xsl:message> + <xsl:if test="$abstract and $main"> + <xsl:message>Class will be abstract without main method</xsl:message> + </xsl:if> + <xsl:call-template name="createFileHeader"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:call-template name="createClassPreamble"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:call-template name="createClassHeader"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:call-template name="createInstanceVariables"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:call-template name="createConstructors"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:call-template name="createSlots"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:call-template name="createMethods"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:call-template name="createMain"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:call-template name="createClassFooter"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- + ** Create the file header + ** @param data opaque data for user purpose + --> + <xsl:template name="createFileHeader"> + <xsl:param name="data"/> + <xsl:call-template name="putFileHeader"> + <xsl:with-param name="comment" select="/UI/comment"/> + <xsl:with-param name="author" select="/UI/author"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- + ** Finds all Qt classes to import and forwards a set of them to the + ** template "putClassPreamble". The set of classes is given as a set + ** of class-tagged names. + ** @param data opaque data for user purpose + --> + <xsl:template name="createClassPreamble"> + <xsl:param name="data"/> + <xsl:variable name="classes.tf"> + <xsl:if test="not($abstract) and $main"> + <xsl:choose> + <xsl:when test="$kde"> + <class>KApplication</class> + <class>KCmdLineArgs</class> + </xsl:when> + <xsl:otherwise> + <class>QApplication</class> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + <class>QWidget</class> + <xsl:apply-templates mode="classes"/> + </xsl:variable> + <xsl:variable name="classes.ns" select="exsl:node-set($classes.tf)"/> + <xsl:variable name="classes" select="set:distinct($classes.ns/class)"/> + + <xsl:variable name="sortedClasses"> + <xsl:for-each select="exsl:node-set($classes)"> + <xsl:sort/> + <class><xsl:value-of select="."/></class> + </xsl:for-each> + </xsl:variable> + + <xsl:call-template name="putClassPreamble"> + <xsl:with-param name="classes" select="exsl:node-set($sortedClasses)"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- + ** Create the class header + ** @param data opaque data for user purpose + --> + <xsl:template name="createClassHeader"> + <xsl:param name="data"/> + <xsl:call-template name="putClassHeader"> + <xsl:with-param name="extends" select="/UI/widget/@class"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- + ** Create the instance variables + ** @param data opaque data for user purpose + --> + <xsl:template name="createInstanceVariables"> + <xsl:param name="data"/> + <xsl:call-template name="putVariables"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:apply-templates mode="declareInstances" select="/UI"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + + <!-- + ** Create the constructors + ** @param data opaque data for user purpose + --> + <xsl:template name="createConstructors"> + <xsl:param name="data"/> + <xsl:call-template name="putConstructors"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- + ** Create the slots + ** @param data opaque data for user purpose + --> + <xsl:template name="createSlots"> + <xsl:param name="data"/> + <xsl:for-each select="/UI/slots/slot | /UI/connections/slot"> + <xsl:call-template name="putSlot"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:for-each> + </xsl:template> + + <!-- + ** Create the signals + ** @param data opaque data for user purpose + --> + <xsl:template name="createSignals"> + <xsl:param name="data"/> + <xsl:for-each select="/UI/signals/signal"> + <xsl:call-template name="putSignal"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:for-each> + </xsl:template> + + <!-- + ** Create the methods + ** @param data opaque data for user purpose + --> + <xsl:template name="createMethods"> + <xsl:param name="data"/> + <xsl:call-template name="putMethods"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- + ** Create the main class + ** @param data opaque data for user purpose + --> + <xsl:template name="createMain"> + <xsl:param name="data"/> + <xsl:call-template name="putMain"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- + ** Create the class header, i.e. the class declaration and + ** the declaration of the instance variables + ** @param data opaque data for user purpose + --> + <xsl:template name="createClassFooter"> + <xsl:param name="data"/> + <xsl:call-template name="putClassFooter"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- + ** Create the instance definitions + ** @param data opaque data for user purpose + --> + <xsl:template name="createInstanceDefinitions"> + <xsl:param name="data"/> + <xsl:apply-templates mode="defineInstances" select="/UI/widget"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + + <!-- + ** Create the database definitions + ** @param data opaque data for user purpose + --> + <xsl:template name="createDatabaseDefinitions"> + <xsl:param name="data"/> + <xsl:for-each select="//widget[@class = 'QDataBrowser']"> + <xsl:call-template name="putDatabaseDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:for-each> + </xsl:template> + + <!-- + ** Create the action definitions + ** @param data opaque data for user purpose + --> + <xsl:template name="createActionDefinitions"> + <xsl:param name="data"/> + <xsl:apply-templates mode="defineActions" select="/UI/actions/*"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + + <!-- + ** Create the toolbar definitions + ** @param data opaque data for user purpose + --> + <xsl:template name="createToolbarDefinitions"> + <xsl:param name="data"/> + <xsl:apply-templates mode="toolbar" select="/UI/toolbars/toolbar"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + + <!-- + ** Create the menubar definitions + ** @param data opaque data for user purpose + --> + <xsl:template name="createMenubarDefinitions"> + <xsl:param name="data"/> + <xsl:apply-templates mode="menubar" select="/UI/menubar"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + + <!-- + ** Create the connection definitions + ** @param data opaque data for user purpose + --> + <xsl:template name="createConnectionDefinitions"> + <xsl:param name="data"/> + <xsl:for-each select="/UI/connections/connection"> + <xsl:call-template name="putConnectionDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:for-each> + </xsl:template> + + <!-- + ** Create the tabstops definitions + ** @param data opaque data for user purpose + --> + <xsl:template name="createTabstopsDefinitions"> + <xsl:param name="data"/> + <xsl:if test="/UI/tabstops"> + <xsl:call-template name="putTabstops"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:if> + </xsl:template> + + + <!-- + ** Declare instance variables for all children objects of the + ** main widget, actions, menubars etc. + ** @param data opaque data for user purpose + --> + + <!-- Declare instances of all objects that are not QLayoutWidgets --> + <xsl:template match="property[(@name = 'name') and not(../@class = 'QLayoutWidget')]" mode="declareInstances" priority="1"> + <xsl:param name="data"/> + <xsl:call-template name="putInstanceVariable"><!-- call user hook --> + <xsl:with-param name="class"> + <xsl:apply-templates mode="toClass" select=".."/> + </xsl:with-param> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- Declare instances of all objects that are QLayoutWidgets not included in a hbox, vbox or grid --> + <xsl:template match="property[(@name = 'name') and (../@class = 'QLayoutWidget') and (count(ancestor::hbox|ancestor::vbox|ancestor::grid)=0)]" mode="declareInstances"> + <xsl:param name="data"/> + <xsl:message>Declare a QLayoutWidget</xsl:message> + <xsl:call-template name="putInstanceVariable"><!-- call user hook --> + <xsl:with-param name="class"> + <xsl:apply-templates mode="toClass" select=".."/> + </xsl:with-param> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <xsl:template match="menubar/item" mode="declareInstances"> + <xsl:param name="data"/> + <xsl:call-template name="putInstanceVariable"><!-- call user hook --> + <xsl:with-param name="class"> + <class>QPopupMenu</class> + </xsl:with-param> + <xsl:with-param name="name" select="@name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- leave out the main widget --> + <xsl:template match="/UI/widget" mode="declareInstances" priority="1"> + <xsl:param name="data"/> + <xsl:apply-templates mode="declareInstances" select="widget|grid|hbox|vbox"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + <!-- descent --> + <xsl:template match="widget|grid|hbox|vbox" mode="declareInstances"> + <xsl:param name="data"/> + <xsl:apply-templates mode="declareInstances" select="*"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + <xsl:template match="text()|@*" mode="declareInstances"/> + + <!-- + ** + ** The following templates generate the definitions of the instance variables. + ** They are called/applied in the "putConstructor" template + ** + --> + + <!-- Match the toplevel widget --> + <xsl:template match="/UI/widget" mode="defineInstances" priority="1"> + <xsl:param name="data"/> + <xsl:call-template name="putTopLevelWindowDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:apply-templates mode="defineInstances"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + + <!-- Match subsequent widgets --> + <xsl:template match="widget[@class = 'QLayoutWidget']" mode="defineInstances" priority="1"> + <xsl:param name="data"/> + <xsl:if test="count(ancestor::hbox|ancestor::vbox|ancestor::grid)=0"> + <xsl:call-template name="putWidgetDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:if> + <xsl:apply-templates mode="defineInstances"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + <!-- Match subsequent widgets --> + <xsl:template match="widget[not(@class = 'QLayoutWidget')]" mode="defineInstances"> + <xsl:param name="data"/> + <xsl:call-template name="putWidgetDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:apply-templates mode="defineInstances"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + + <!-- Match layout tags --> + <xsl:template match="grid|hbox|vbox" mode="defineInstances"> + <xsl:param name="data"/> + <xsl:variable name="class"> + <xsl:apply-templates mode="toClass" select="."/> + </xsl:variable> + <xsl:call-template name="putLayoutDefinition"> + <xsl:with-param name="class" select="$class"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:apply-templates mode="defineInstances"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + <xsl:for-each select="widget|spacer"> + <xsl:call-template name="putLayoutContentDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:for-each> + </xsl:template> + + <!-- Match column tags --> + <xsl:template match="column" mode="defineInstances"> + <xsl:param name="data"/> + <xsl:call-template name="putColumnDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- Match row tags --> + <xsl:template match="row" mode="defineInstances"> + <xsl:param name="data"/> + <xsl:call-template name="putRowDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- Match item tags --> + <xsl:template match="item" mode="defineInstances"> + <xsl:param name="data"/> + <xsl:variable name="containerClass"> + <xsl:apply-templates mode="toClass" select=".."/> + </xsl:variable> + <xsl:call-template name="putItemDefinition"> + <xsl:with-param name="class" select="$containerClass"/> + <xsl:with-param name="number" select="count(preceding-sibling::item)"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- Match spacer tags --> + <xsl:template match="spacer" mode="defineInstances"> + <xsl:param name="data"/> + <xsl:call-template name="putSpacerDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <!-- <xsl:apply-templates mode="defineInstances"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + --> + </xsl:template> + + <xsl:template match="property[not(@name = 'name')]" mode="defineInstances"> + <xsl:param name="data"/> + <xsl:apply-templates mode="property"> + <xsl:with-param name="name" select="@name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + + <!-- Ignore everything else --> + <xsl:template match="text()|@*" mode="defineInstances"/> + + <!-- ACTIONS --> + <xsl:template match="action" mode="defineActions"> + <xsl:param name="data"/> + <xsl:call-template name="putActionDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:apply-templates select="*" mode="defineInstances"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + <xsl:template match="actiongroup" mode="defineActions"> + <xsl:param name="data"/> + <xsl:call-template name="putActionGroupDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:apply-templates select="*" mode="defineActions"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + <!-- Ignore everything else --> + <xsl:template match="*|text()|@*" mode="defineActions"/> + + <!-- + ** Match menubar + --> + <xsl:template match="menubar" mode="menubar"> + <xsl:param name="data"/> + <xsl:call-template name="putMenubarDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:apply-templates mode="menubar"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + + <xsl:template match="item" mode="menubar"> + <xsl:param name="data"/> + <xsl:call-template name="putMenubarItemDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:apply-templates mode="menubar"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + + <xsl:template match="action" mode="menubar"> + <xsl:param name="data"/> + <xsl:call-template name="putMenubarActionDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <xsl:template match="separator" mode="menubar"> + <xsl:param name="data"/> + <xsl:call-template name="putMenubarSeperatorDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <xsl:template match="*|text()|@*" mode="menubar"/> + + <!-- + ** Match Toolbar + --> + <xsl:template match="toolbar" mode="toolbar"> + <xsl:param name="data"/> + <xsl:call-template name="putToolbarDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + <xsl:apply-templates mode="toolbar"> + <xsl:with-param name="data" select="$data"/> + </xsl:apply-templates> + </xsl:template> + + <xsl:template match="action" mode="toolbar"> + <xsl:param name="data"/> + <xsl:call-template name="putToolbarActionDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <xsl:template match="separator" mode="toolbar"> + <xsl:param name="data"/> + <xsl:call-template name="putToolbarSeperatorDefinition"> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <xsl:template match="*|text()|@*" mode="toolbar"/> + +</xsl:stylesheet> + diff --git a/qtjava/designer/juic/common/properties.xsl b/qtjava/designer/juic/common/properties.xsl new file mode 100644 index 00000000..3f6283ad --- /dev/null +++ b/qtjava/designer/juic/common/properties.xsl @@ -0,0 +1,198 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ** Author: Marco Ladermann <marco.ladermann@gmx.de> + ** Date: Thu Sep 12 21:57:42 CEST 2002 @873 /Internet Time/ + ** + ** This software is free software. It is released under the terms of the + ** GNU Lesser General Public Licence (LGPL) + ** see http://www.gnu.org/copyleft/lesser.html + ** + ** These stylesheets are distributed in the hope that they will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + --> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:kde="http://kde.org/functions" +> + + <!-- call user hook for string property --> + <xsl:template match="string" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putStringProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for string property --> + <xsl:template match="stringlist" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putStringlistProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <xsl:template match="comment" mode="property"/> + + <!-- call user hook for boolean property --> + <xsl:template match="bool" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putBoolProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for a cstring property--> + <xsl:template match="cstring" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putCstringProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for a color property--> + <xsl:template match="color" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putColorProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for cursor value properties --> + <xsl:template match="cursor" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putCursorProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for integer value properties --> + <xsl:template match="number" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putNumberProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for enum value properties --> + <xsl:template match="enum" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putEnumProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for pixmap value properties --> + <xsl:template match="pixmap" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putPixmapProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for point value properties --> + <xsl:template match="point" mode="property"> + <xsl:param name="data"/> + <xsl:param name="name"/> + <xsl:call-template name="putPointProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for rectangular value properties --> + <xsl:template match="rect" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putRectProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for set value properties --> + <xsl:template match="set" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putSetProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for size value properties --> + <xsl:template match="size" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putSizeProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for sizepolicy properties --> + <xsl:template match="sizepolicy" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putSizepolicyProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for font properties --> + <xsl:template match="font" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putFontProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for palette properties --> + <xsl:template match="palette" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putPaletteProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <!-- call user hook for iconSet properties --> + <xsl:template match="iconset" mode="property"> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:call-template name="putIconsetProperty"> + <xsl:with-param name="property" select="$name"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:template> + + <xsl:template match="*" mode="property"> + <xsl:message>WARNING: Unknown property type "<xsl:value-of select="name()"/>" at <xsl:value-of select="kde:printPath(.)"/></xsl:message> + </xsl:template> + <xsl:template match="@*|text()" mode="property"/> +</xsl:stylesheet> + diff --git a/qtjava/designer/juic/common/util.xsl b/qtjava/designer/juic/common/util.xsl new file mode 100644 index 00000000..9432b468 --- /dev/null +++ b/qtjava/designer/juic/common/util.xsl @@ -0,0 +1,302 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- + ** Author: Marco Ladermann + ** Date: Thu Sep 12 18:57:21 CEST 2002 @831 /Internet Time/ + ** Purpose: + ** Changed: + ** + ** This software is free software. It is released under the terms of the + ** GNU Lesser General Public Licence (LGPL) + ** see http://www.gnu.org/copyleft/lesser.html + ** + ** These stylesheets are distributed in the hope that they will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + --> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:func="http://exslt.org/functions" + xmlns:str="http://exslt.org/strings" + xmlns:kde="http://kde.org/functions" + extension-element-prefixes="func" +> + + <!-- + ** As a constant, we define a empty node set + --> + <xsl:variable name="emptyNodeSet" select="/no-such-node"/> + + <!-- + ** A constant to contain all 8-bit characters whith highest bit set. + ** Needed to check if strings contain utf-8 characters + --> + <xsl:variable name="c8" select="'€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ'"/> + <xsl:variable name="tmp" select='"

'"'/> + <xsl:variable name="c7" select="concat($tmp, ' !"#$%&()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~')"/> + + <!-- Function: kde:if + ** @param bool + ** @param trueVal + ** @param falseVal + ** @return ( bool ) ? trueVal : falseVal + --> + <func:function name="kde:if"> + <xsl:param name="bool"/> + <xsl:param name="trueVal"/> + <xsl:param name="falseVal"/> + <func:result> + <xsl:choose> + <xsl:when test="$bool"><xsl:value-of select="$trueVal"/></xsl:when> + <xsl:otherwise><xsl:value-of select="$falseVal"/></xsl:otherwise> + </xsl:choose> + </func:result> + </func:function> + + <!-- Function: kde:index + ** @param string + ** @param substring + ** @return the index of "substring" in "string" + --> + <func:function name="kde:index"> + <xsl:param name="string"/> + <xsl:param name="substring"/> + <func:result select="string-length(substring-before($string, $substring))"/> + </func:function> + + <!-- + ** Function: replace + ** @param string, string to search + ** @param lookup, string to look up + ** @param replace, string to substitute + ** @return $string with all occurences of $lookup replaced by $replace + --> + <func:function name="kde:replace"> + <xsl:param name="string"/> + <xsl:param name="lookup"/> + <xsl:param name="replace"/> + <func:result> + <xsl:choose> + <xsl:when test="function-available('str:replace')"> + <xsl:value-of select="str:replace($string, $lookup, $replace)"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="replace-string"> + <xsl:with-param name="string" select="$string"/> + <xsl:with-param name="lookup" select="$lookup"/> + <xsl:with-param name="replace" select="$replace"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </func:result> + </func:function> + <!-- named helper template --> + <xsl:template name="replace-string"> + <xsl:param name="string"/> + <xsl:param name="lookup"/> + <xsl:param name="replace"/> + <xsl:variable name="first" select="substring-before($string, $lookup)"/> + <xsl:choose> + <xsl:when test="$first = ''"> + <xsl:value-of select="$string"/> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="rs"> + <xsl:call-template name="replace-string"> + <xsl:with-param name="string" select="substring-after($string, $lookup)"/> + <xsl:with-param name="lookup" select="$lookup"/> + <xsl:with-param name="replace" select="$replace"/> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="result" select="concat($first, $replace, $rs)"/> + <xsl:value-of select="$result"/> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- + ** Function: upper-case + ** @param string + ** @return string in upper case letter + --> + <func:function name="kde:upper-case"> + <xsl:param name="string"/> + <func:result select="translate($string, + 'abcdefghijklmnopqrstuvwxyz', + 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/> + </func:function> + + + <!-- + ** Function: lower-case + ** @param string + ** @return string in upper case letter + --> + <func:function name="kde:lower-case"> + <xsl:param name="string"/> + <func:result select="translate($string, + 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', + 'abcdefghijklmnopqrstuvwxyz')"/> + </func:function> + + <!-- + ** Function: upper-first + ** @param string + ** @return string with first character as upper case letter + --> + <func:function name="kde:upper-first"> + <xsl:param name="string"/> + <xsl:variable name="rest" select="substring($string, 2)"/> + <xsl:variable name="head" select="kde:upper-case(substring($string, 1, 1))"/> + <func:result> + <xsl:value-of select="concat($head, $rest)"/> + </func:result> + </func:function> + + <!-- + ** Function: isUtf8 + ** @param string + ** @return true if and only if string contains a character > 255 + --> + <func:function name="kde:isUtf8"> + <xsl:param name="string"/> + <xsl:variable name="rest" select="substring($string, 2)"/> + <xsl:variable name="head" select="substring($string, 1, 1)"/> + <func:result> + <xsl:choose> + <xsl:when test="string-length($string) = 0"> + <xsl:value-of select="false()"/> + </xsl:when> + <xsl:when test="contains($c8, $head) or not(contains($c7, $head))"> + <xsl:value-of select="true()"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="kde:isUtf8($rest)"/> + </xsl:otherwise> + </xsl:choose> + </func:result> + </func:function> + + <!-- + ** Function: repeat + ** @param string + ** @param times + ** @return 'times' copies of string + --> + <func:function name="kde:repeat"> + <xsl:param name="string"/> + <xsl:param name="times"/> + <xsl:variable name="copy" select="$string"/> + <func:result> + <xsl:choose> + <xsl:when test="$times <= 0"><xsl:value-of select="''"/></xsl:when> + <xsl:otherwise> + <xsl:value-of select="concat($string, kde:repeat($copy, $times - 1))"/> + </xsl:otherwise> + </xsl:choose> + </func:result> + </func:function> + + <!-- + ** Function: getNodeName + ** @param node + ** @return the (variable) name of a node + --> + <func:function name="kde:getNodeName"> + <xsl:param name="node" select="."/> + <func:result> + <xsl:variable name="variableName"> + <xsl:call-template name="getNodeName"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + </xsl:variable> + <xsl:value-of select="translate(normalize-space($variableName),' ','')" /> + </func:result> + </func:function> + <xsl:template name="getNodeName"> + <xsl:param name="node" select="."/> + <xsl:variable name="name" select="$node/property[@name = 'name']/cstring"/> + <xsl:choose> + <xsl:when test="$name = 'unnamed'"> + <xsl:call-template name="getNodeName"> + <xsl:with-param name="node" select="$node/.."/> + </xsl:call-template> + <xsl:value-of select="kde:upper-first(name($node))"/> + <xsl:variable name="precedingUnnamed" select="count($node/preceding::*[name() = name($node)]/property[@name='name' and cstring = 'unnamed'])"/> + <xsl:if test="$precedingUnnamed > 0"> + <xsl:value-of select="$precedingUnnamed + 1"/> + </xsl:if> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$name"/> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- + ** Templates to "print" xml in text output mode + --> + <xsl:template match="*" mode="print"> + <xsl:value-of select="concat('<', name())"/> + <xsl:apply-templates select="@*" mode="print"/> + <xsl:value-of select="'>'"/> + <xsl:apply-templates mode="print"/> + <xsl:value-of select="concat('</', name(), '>')"/> + </xsl:template> + <xsl:template match="@*" mode="print"> + <xsl:value-of select="concat(' ', name(), '="', ., '"')"/> + </xsl:template> + + + <!-- + ** Print the path from the root to a given node + --> + <func:function name="kde:printPath"> + <xsl:param name="node"/> + <xsl:param name="path" select="''"/> + <func:result> + <xsl:choose> + <xsl:when test="$node = /UI"> + <xsl:value-of select="concat('/UI', $path)"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="kde:printPath($node/.., + concat('/', + name($node), + '[', + count($node/preceding-sibling::*[name() = name($node)]) + 1, + ']', + $path))"/> + </xsl:otherwise> + </xsl:choose> + </func:result> + </func:function> + + <!-- + ** Return qt and kde classes used in signal/slot signature + --> + <xsl:template name="kde:classes-in-signature"> + <xsl:param name="signature"/> + <xsl:variable name="sig" select="kde:replace( + substring-before( + substring-after( + translate($signature, '&*,', ' '), + '(' + ), + ')' + ), + 'QString', + 'String')"/> + <xsl:for-each select="str:split($sig)"> + <xsl:variable name="prefix" select="substring(., 1, 1)"/> + <xsl:if test="$prefix = 'Q' or $prefix = 'K'"> + <xsl:element name="class"> + <xsl:value-of select="."/> + </xsl:element> + </xsl:if> + </xsl:for-each> + </xsl:template> + +</xsl:stylesheet> + diff --git a/qtjava/designer/juic/java/JavaClasses.xml b/qtjava/designer/juic/java/JavaClasses.xml new file mode 100644 index 00000000..0981474e --- /dev/null +++ b/qtjava/designer/juic/java/JavaClasses.xml @@ -0,0 +1,5019 @@ +<Qt> + <class> + <package>org.kde.qt</package> + <name>QAccelEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QAccel</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QAccelSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QAccessibleInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QAccessible</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QAccessibleObjectEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QAccessibleObject</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QAccessibleObjectSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QActionEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QActionGroupEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QActionGroup</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QActionGroupSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QAction</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QActionSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QApplicationEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QApplication</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QApplicationSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QAsyncIO</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QAuServer</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QBig5Codec</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QBitmap</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QBoxLayoutEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QBoxLayout</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QBoxLayoutSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QBrush</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QBuffer</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QButtonEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QButtonGroupEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QButtonGroup</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QButtonGroupSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QButton</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QButtonSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasEllipse</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvas</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasLine</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasPixmapArray</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasPixmap</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasPolygonalItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasPolygon</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasRectangle</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasSpline</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasSprite</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasText</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasViewEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasView</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCanvasViewSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCDEStyleEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCDEStyle</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCDEStyleSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCheckBoxEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCheckBox</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCheckBoxSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCheckListItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCheckTableItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QChildEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QClassInfo</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QClipboard</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCloseEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QColorDialog</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QColorDragEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QColorDrag</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QColorDragSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QColorGroup</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QColor</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QComboBoxEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QComboBox</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QComboBoxSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QComboTableItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCommonStyle</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QContextMenuEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCursor</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCustomEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QCustomMenuItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataBrowserEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataBrowser</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataBrowserSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataPumpEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataPump</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataPumpSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataSink</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataSource</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataStream</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataTableEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataTable</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataTableSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataViewEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataView</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDataViewSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDateEditEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDateEdit</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDateEditSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDateTimeEditBase</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDateTimeEditEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDateTimeEdit</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDateTimeEditSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDesktopWidgetEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDesktopWidget</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDesktopWidgetSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDialEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDial</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDialogEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDialog</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDialogSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDialSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDir</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDnsEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDns</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDnsSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDockAreaEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDockArea</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDockAreaSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDockWindowEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDockWindow</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDockWindowSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomAttr</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomCDATASection</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomCharacterData</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomComment</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomDocumentFragment</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomDocument</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomDocumentType</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomElement</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomEntity</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomEntityReference</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomImplementation</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomNamedNodeMap</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomNode</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomNodeList</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomNotation</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomProcessingInstruction</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDomText</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDoubleValidatorEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDoubleValidator</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDoubleValidatorSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDragEnterEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDragLeaveEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDragManager</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDragMoveEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDragObjectEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDragObject</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDragObjectSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDragResponseEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDropEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QDropSite</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QEditorFactoryEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QEditorFactory</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QEditorFactorySignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QErrorMessageEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QErrorMessage</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QErrorMessageSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QEucJpCodec</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QEucKrCodec</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFileDialogEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFileDialog</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFileDialogSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFileIconProviderEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFileIconProvider</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFileIconProviderSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFileInfo</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFile</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFilePreview</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFocusData</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFocusEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFontDatabase</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFontDialog</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFontInfo</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFont</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFontMetrics</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFrameEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFrame</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFrameSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFtpEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFtp</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QFtpSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGbkCodec</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGLColormap</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGLContext</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGLFormat</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGL</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGLWidgetEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGLWidget</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGLWidgetSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGridEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGrid</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGridLayoutEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGridLayout</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGridLayoutSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGridSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGridView</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGroupBoxEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGroupBox</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QGroupBoxSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHBoxEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHBox</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHBoxLayoutEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHBoxLayout</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHBoxLayoutSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHBoxSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHButtonGroupEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHButtonGroup</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHButtonGroupSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHeaderEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHeader</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHeaderSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHebrewCodec</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHGroupBoxEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHGroupBox</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHGroupBoxSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHideEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHostAddress</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHttpEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHttp</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QHttpSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIconDragEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIconDragItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIconDrag</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIconDragSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIconSet</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIconViewEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIconViewItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIconView</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIconViewSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QImageConsumer</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QImageDecoder</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QImageDragEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QImageDrag</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QImageDragSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QImageFormat</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QImageFormatType</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QImageIO</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QImage</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QImageTextKeyLang</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIMEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QInputDialog</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QInterlaceStyleEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QInterlaceStyleSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIntValidatorEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIntValidator</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIntValidatorSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIODeviceInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIODevice</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QIODeviceSource</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QJisCodec</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QJpUnicodeConv</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QKeyEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QKeySequence</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLabelEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLabel</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLabelSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLayoutItemInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLayoutItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLayout</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLCDNumberEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLCDNumber</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLCDNumberSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLibrary</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLineEditEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLineEdit</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLineEditSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QListBoxEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QListBoxItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QListBox</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QListBoxPixmap</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QListBoxSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QListBoxText</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QListViewEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QListViewItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QListView</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QListViewSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLocalFsEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLocalFs</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QLocalFsSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMainWindowEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMainWindow</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMainWindowSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMenuBarEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMenuBar</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMenuBarSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMenuDataInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMenuData</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMenuItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMessageBoxEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMessageBox</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMessageBoxSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMetaData</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMetaEnum</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMetaObject</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMetaProperty</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMimeSourceFactory</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMimeSourceInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMimeSource</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMotifPlusStyleEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMotifPlusStyle</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMotifPlusStyleSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMotifStyleEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMotifStyle</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMotifStyleSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMouseEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMoveEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMovie</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMultiLineEditEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMultiLineEdit</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QMultiLineEditSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QNetworkOperationEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QNetworkOperation</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QNetworkOperationSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QNetworkProtocolEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QNetworkProtocol</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QNetworkProtocolSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QObjectCleanupHandlerEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QObjectCleanupHandler</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QObjectCleanupHandlerSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QObjectEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QObject</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QObjectSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPaintDeviceInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPaintDevice</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPaintDeviceMetrics</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPainter</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPaintEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPalette</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPen</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPicture</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPixmap</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPlatinumStyleEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPlatinumStyle</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPlatinumStyleSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPNGImagePacker</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPNGImageWriter</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPointArray</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPoint</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPolygonScanner</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPopupMenuEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPopupMenu</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPopupMenuSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPrintDialogEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPrintDialog</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPrintDialogSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPrinter</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QProcessEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QProcess</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QProcessSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QProgressBarEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QProgressBar</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QProgressBarSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QProgressDialogEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QProgressDialog</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QProgressDialogSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPushButtonEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPushButton</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QPushButtonSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QRadioButtonEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QRadioButton</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QRadioButtonSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QRangeControlInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QRangeControl</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QRect</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QRegExp</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QRegExpValidatorEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QRegExpValidator</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QRegExpValidatorSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QRegion</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QResizeEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QScrollBarEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QScrollBar</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QScrollBarSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QScrollViewEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QScrollView</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QScrollViewSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSemiModalEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSemiModal</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSemiModalSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QServerSocket</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSessionManager</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSettings</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSGIStyleEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSGIStyle</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSGIStyleSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QShowEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSignalEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSignal</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSignalMapperEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSignalMapper</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSignalMapperSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSignalSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSimpleRichText</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSizeGripEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSizeGrip</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSizeGripSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSize</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSizePolicy</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSjisCodec</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSliderEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSlider</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSliderSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSocketDevice</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSocketEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSocket</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSocketNotifierEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSocketNotifier</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSocketNotifierSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSocketSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSoundEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSound</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSoundSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSpacerItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSpinBoxEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSpinBox</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSpinBoxSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSplitterEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSplitter</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSplitterSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlCursor</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlDatabaseEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlDatabase</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlDatabaseSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlDriver</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlEditorFactoryEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlEditorFactory</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlEditorFactorySignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlError</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlFieldInfo</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlField</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlFormEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlForm</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlFormSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlIndex</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSql</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlPropertyMap</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlQueryInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlQuery</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlRecordInfo</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlRecord</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QSqlResult</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QStatusBarEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QStatusBar</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QStatusBarSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QStoredDragEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QStoredDrag</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QStoredDragSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QStyleFactory</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QStyle</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QStyleOption</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QStyleSheetEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QStyleSheetItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QStyleSheet</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QStyleSheetSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTabBarEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTabBar</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTabBarSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTabDialogEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTabDialog</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTabDialogSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTab</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTableEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTableItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTable</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTableSelection</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTableSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTabletEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTabWidgetEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTabWidget</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTabWidgetSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextBrowserEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextBrowser</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextBrowserSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextCodec</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextDecoder</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextDragEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextDrag</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextDragSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextEditEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextEdit</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextEditSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextEncoder</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextIStream</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextOStream</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextStream</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextViewEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextView</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTextViewSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTimeEditEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTimeEdit</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTimeEditSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTimerEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTimerEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTimer</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTimerSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>Qt</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QToolBarEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QToolBar</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QToolBarSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QToolButtonEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QToolButton</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QToolButtonSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QToolTipGroupEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QToolTipGroup</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QToolTipGroupSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QToolTip</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTranslatorEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTranslator</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTranslatorMessage</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTranslatorSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QTsciiCodec</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QtSupport</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QUriDragEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QUriDrag</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QUriDragSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QUrlInfo</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QUrlInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QUrl</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QUrlOperatorEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QUrlOperator</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QUrlOperatorSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QUtf16Codec</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QUtf8Codec</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QUuid</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QValidator</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QVariant</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QVBoxEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QVBox</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QVBoxLayoutEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QVBoxLayout</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QVBoxLayoutSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QVBoxSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QVButtonGroupEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QVButtonGroup</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QVButtonGroupSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QVGroupBoxEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QVGroupBox</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QVGroupBoxSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWhatsThis</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWheelEvent</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWidgetEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWidgetItem</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWidget</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWidgetSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWidgetStackEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWidgetStack</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWidgetStackSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWindowsStyleEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWindowsStyle</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWindowsStyleSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWizardEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWizard</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWizardSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWMatrix</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWorkspaceEventHandling</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWorkspace</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QWorkspaceSignals</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlAttributes</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlContentHandlerInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlContentHandler</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlDeclHandlerInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlDeclHandler</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlDefaultHandler</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlDTDHandlerInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlDTDHandler</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlEntityResolverInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlEntityResolver</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlErrorHandlerInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlErrorHandler</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlInputSource</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlLexicalHandlerInterface</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlLexicalHandler</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlLocator</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlNamespaceSupport</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlParseException</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlReader</name> + </class> + <class> + <package>org.kde.qt</package> + <name>QXmlSimpleReader</name> + </class> + <class> + <package>org.kde.koala</package> + <name>AlsaOut</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Attr</name> + </class> + <class> + <package>org.kde.koala</package> + <name>BrowserExtension</name> + </class> + <class> + <package>org.kde.koala</package> + <name>BrowserExtensionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>CDATASection</name> + </class> + <class> + <package>org.kde.koala</package> + <name>CharacterData</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Comment</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Connection</name> + </class> + <class> + <package>org.kde.koala</package> + <name>ConnectionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>CopyJob</name> + </class> + <class> + <package>org.kde.koala</package> + <name>CopyJobSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Counter</name> + </class> + <class> + <package>org.kde.koala</package> + <name>CSSException</name> + </class> + <class> + <package>org.kde.koala</package> + <name>CSSPrimitiveValue</name> + </class> + <class> + <package>org.kde.koala</package> + <name>CSSStyleDeclaration</name> + </class> + <class> + <package>org.kde.koala</package> + <name>CSSStyleSheet</name> + </class> + <class> + <package>org.kde.koala</package> + <name>CSSValue</name> + </class> + <class> + <package>org.kde.koala</package> + <name>CVS</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DCOPAnswer</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DCOPClient</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DCOPClientSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DCOPObjectInterface</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DCOPObject</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DCOPObjectProxy</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DCOPRef</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DCOPStub</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DeleteJob</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DeleteJobSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DeviceManager</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DockMainWindow</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DockMainWindowSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DocumentFragment</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DocumentStyle</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DocumentType</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DOMDocument</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DOMNode</name> + </class> + <class> + <package>org.kde.koala</package> + <name>DrawContentsEvent</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Element</name> + </class> + <class> + <package>org.kde.koala</package> + <name>EntityReference</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Event</name> + </class> + <class> + <package>org.kde.koala</package> + <name>FileCopyJob</name> + </class> + <class> + <package>org.kde.koala</package> + <name>FileCopyJobSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>FMOut</name> + </class> + <class> + <package>org.kde.koala</package> + <name>GUIActivateEvent</name> + </class> + <class> + <package>org.kde.koala</package> + <name>GUSOut</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLAnchorElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLAppletElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLAreaElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLBaseElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLBaseFontElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLBlockquoteElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLBodyElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLBRElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLButtonElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLCollection</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLDirectoryElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLDivElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLDListElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLDocument</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLFieldSetElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLFontElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLFormElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLFrameElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLFrameSetElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLHeadElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLHeadingElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLHRElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLHtmlElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLIFrameElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLImageElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLInputElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLIsIndexElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLLabelElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLLegendElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLLIElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLLinkElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLMapElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLMenuElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLMetaElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLModElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLObjectElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLOListElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLOptGroupElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLOptionElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLParagraphElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLParamElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLPreElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLQuoteElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLScriptElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLSelectElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLStyleElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLTableCaptionElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLTableCellElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLTableColElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLTableElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLTableRowElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLTableSectionElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLTextAreaElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLTitleElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>HTMLUListElement</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Invocation</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Job</name> + </class> + <class> + <package>org.kde.koala</package> + <name>JobSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutApplication</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutApplicationSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutContainer</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutContainerSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutContributor</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutContributorSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutData</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutDialog</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutDialogSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutKDE</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutKDESignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutPerson</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutTranslator</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutWidget</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAboutWidgetSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAccelAction</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAccelActions</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAccel</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAccelSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KActionCollection</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KActionCollectionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAction</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KActionMenu</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KActionMenuSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KActionSeparator</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KActionSeparatorSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KActionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAnimWidget</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAnimWidgetSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KApplication</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KApplicationPropsPlugin</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KApplicationPropsPluginSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KApplicationSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KArchiveDirectory</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KArchiveEntry</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KArchiveFile</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KArchive</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAudioPlayer</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAudioPlayerSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAuthIcon</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAutoMount</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAutoMountSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAutoUnmount</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KAutoUnmountSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KBindingPropsPlugin</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KBindingPropsPluginSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KBugReport</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KBugReportSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KButtonBox</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KButtonBoxSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCharSelect</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCharSelectSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCharSelectTable</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCharSelectTableSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCharsets</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCmdLineArgs</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCModule</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCModuleSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCodecs</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KColorButton</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KColorButtonSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KColorCells</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KColorCellsSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KColorCombo</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KColorComboSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KColorDialog</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KColorDialogSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KColorDrag</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KColorDragSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KColor</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KColorPatch</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KColorPatchSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCombiView</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCombiViewSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KComboBox</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KComboBoxSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCommandHistory</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCommandHistorySignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCommand</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCompletionBaseInterface</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCompletionBase</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCompletionBox</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCompletionBoxSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCompletion</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCompletionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KConfigBackEnd</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KConfigBase</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KConfigGroupSaver</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KConfigINIBackEnd</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KConfig</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KConfigSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KContextMenuManager</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCookie</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCrash</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KCursor</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDataToolAction</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDataToolActionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDataToolInfo</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDataTool</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDateInternalMonthPicker</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDateInternalMonthPickerSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDateInternalYearSelector</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDateInternalYearSelectorSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDatePicker</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDatePickerSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDateTable</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDateTableSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDateValidator</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDateValidatorSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDateWidget</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDateWidgetSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>kdbgstream</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDCOPActionProxy</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDCOPPropertyProxy</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KdeClasses.xml</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDEDesktopMimeType</name> + </class> + <class> + <package>org.kde.koala</package> + <name>kdejava</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDesktopFile</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDesktopFileSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDEsuClient</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDevicePropsPlugin</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDevicePropsPluginSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDialogBase</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDialogBaseSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDialog</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDialogQueue</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDialogQueueSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDialogSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDirLister</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDirListerSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDirNotifyInterface</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDirNotify</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDirOperator</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDirOperatorSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDirSelectDialog</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDirSelectDialogSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDirSize</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDirSizeSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDirWatch</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDirWatchSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockMainWindow</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockMainWindowSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockManager</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockManagerSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockTabGroup</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockTabGroupSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockWidgetAbstractHeaderDrag</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockWidgetAbstractHeaderDragSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockWidgetAbstractHeader</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockWidgetAbstractHeaderSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockWidgetHeaderDrag</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockWidgetHeaderDragSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockWidgetHeader</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockWidgetHeaderSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockWidget</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockWidgetSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockWindow</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDockWindowSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDoubleNumInput</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDoubleNumInputSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDualColorButton</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KDualColorButtonSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEdFind</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEdFindSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEdGotoLine</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEdGotoLineSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEdit</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEditListBox</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEditListBoxSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEditSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEditToolbar</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEditToolbarSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEditToolbarWidget</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEditToolbarWidgetSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEdReplace</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEdReplaceSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEMailSettings</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEntry</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KEntryKey</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KExecMimeType</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KExecPropsPlugin</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KExecPropsPluginSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileDetailView</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileDetailViewSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileDialog</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileDialogSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileFilterCombo</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileFilterComboSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileFilter</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileIconViewItem</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileIconView</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileIconViewSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileItem</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFile</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileListViewItem</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileMetaInfoItem</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileMetaInfo</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileOpenWithHandler</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFilePermissionsPropsPlugin</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFilePermissionsPropsPluginSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFilePreview</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFilePreviewSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFilePropsPlugin</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFilePropsPluginSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileTreeBranch</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileTreeBranchSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileTreeViewItem</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileTreeView</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileTreeViewSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileTreeViewToolTip</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileViewInterface</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileView</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFileViewSignaler</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFilterBase</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFilterDev</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFloatValidator</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFloatValidatorSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFolderType</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFontAction</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFontActionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFontChooser</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFontChooserSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFontCombo</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFontComboSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFontDialog</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFontDialogSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFontSizeAction</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KFontSizeActionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KGlobalAccel</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KGlobalAccelSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KGlobal</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KGlobalSettings</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KGradientSelector</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KGradientSelectorSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KGuiItem</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KHelpMenu</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KHelpMenuSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KHistoryCombo</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KHistoryComboSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KHSSelector</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KHTMLPart</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KHTMLPartSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KHTMLSettings</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KHTMLView</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KHTMLViewSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIconButton</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIconButtonSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIconCanvas</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIconCanvasSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIconDialog</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIconDialogSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIconEffect</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIcon</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIconLoader</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIconTheme</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIconViewItem</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIconView</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIconViewSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KImageEffect</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KImageFilePreview</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KImageFilePreviewSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KImageIO</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KInstanceInterface</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KInstance</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIntNumInput</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIntNumInputSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIntSpinBox</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIntSpinBoxSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIntValidator</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIntValidatorSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIO</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KIPC</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KJanusWidget</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KJanusWidgetSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KKeyChooser</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KKeyChooserSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KKeyDialog</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KKeyDialogSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KKey</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KKeySequence</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KLed</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KLedSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KLibFactory</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KLibLoader</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KLibLoaderSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KLibrary</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KLibrarySignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KLineEditDlg</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KLineEditDlgSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KLineEdit</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KLineEditSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KListAction</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KListActionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KListBox</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KListBoxSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KListViewItem</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KListView</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KListViewSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KLocale</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KMacroCommand</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KMainWindow</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KMainWindowSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KMenuBar</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KMenuBarSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KMessageBox</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KMidSimpleAPI</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KMimeMagic</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KMimeMagicResult</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KMimeType</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KMultipleDrag</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KMultipleDragSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KNamedCommand</name> + </class> + <class> + <package>org.kde.koala</package> + <name>kndbgstream</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KNotifyClient</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KNumInput</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KOpenWithDlg</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KOpenWithDlgSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KOpenWithHandler</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPalette</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPaletteTable</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPaletteTableSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPanelApplet</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPanelAppletSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPanelExtension</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPanelExtensionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPanelMenu</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPasswordDialog</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPasswordDialogSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPasswordEdit</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPasswordEditSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPixmapEffect</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPixmapIO</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPixmap</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPixmapProvider</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPixmapSplitter</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPopupFrame</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPopupFrameSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPopupMenu</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPopupMenuSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPopupTitle</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPopupTitleSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPreviewWidgetBase</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPrinter</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KProcessController</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KProcessControllerSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KProcess</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KProcessRunner</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KProcessSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KProcIO</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KProcIOSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KProgress</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KProgressSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPropertiesDialog</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPropertiesDialogSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPropsDlgPlugin</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPropsDlgPluginSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KProtocolInfo</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KProtocolManager</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPushButton</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KPushButtonSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRadioAction</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRadioActionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRandomSequence</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRecentDocument</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRecentFilesAction</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRecentFilesActionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRegExp</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRestrictedLine</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRestrictedLineSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRFCDate</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRootPermsIcon</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRootPermsIconSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRootPixmap</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRootPixmapSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRootProp</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRuler</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRulerSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRun</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KRunSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSaveFile</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KScanDialogFactory</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KScanDialog</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KScanDialogSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KScriptClientInterface</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KScriptInterface</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KScriptManager</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KScriptManagerSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSelectAction</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSelectActionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSelector</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSelectorSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSeparator</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSeparatorSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KServerSocket</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KServerSocketSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KServiceGroup</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KService</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KServiceOffer</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KServiceType</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KServiceTypeProfile</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSessionManaged</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KShared</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSharedPixmap</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSharedPixmapSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KShellCompletion</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KShellCompletionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KShellProcess</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KShellProcessSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KShortcut</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KShred</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KShredSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSimpleConfig</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSimpleConfigSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSocket</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSocketSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSpellConfig</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSpellConfigSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSpellDlg</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSpellDlgSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSpell</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSpellSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSqueezedTextLabel</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSqueezedTextLabelSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSSLCertificateHome</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSSLCertificate</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSSLConnectionInfo</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSSLInfoDlg</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSSLInfoDlgSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSSL</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSSLPeerInfo</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSSLPKCS12</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSSLSettings</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSSLX509Map</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KStandardDirs</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KStaticDeleterBase</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KStatusBar</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KStatusBarLabel</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KStatusBarLabelSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KStatusBarSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KStdAccel</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KStdAction</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KStdGuiItem</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KStringHandler</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSycocaEntry</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSycoca</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSycocaSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSystemTray</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KSystemTraySignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KTabCtl</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KTabCtlSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KTar</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KTempFile</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KTextBrowser</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KTextBrowserSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KTipDatabase</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KTipDialog</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KTipDialogSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KToggleAction</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KToggleActionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KToolBarButton</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KToolBarButtonSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KToolBar</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KToolBarPopupAction</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KToolBarPopupActionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KToolBarRadioGroup</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KToolBarRadioGroupSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KToolBarSeparator</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KToolBarSeparatorSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KToolBarSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KTrader</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KTraderSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KUniqueApplication</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KUniqueApplicationSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURIFilterData</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURIFilter</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURIFilterPlugin</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLComboBox</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLComboBoxSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLCompletion</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLCompletionSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLDrag</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLDragSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURL</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLLabel</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLLabelSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLPixmapProvider</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLPropsPlugin</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLPropsPluginSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLRequesterDlg</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLRequesterDlgSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLRequester</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KURLRequesterSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KValueSelector</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KWindowListMenu</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KWindowListMenuSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KWin</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KWinModule</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KWinModuleSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KWizard</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KWizardSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KWordWrap</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KWritePermsIcon</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KWritePermsIconSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KXMLGUIBuilderInterface</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KXMLGUIBuilder</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KXMLGUIClientInterface</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KXMLGUIClient</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KXMLGUIFactory</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KXMLGUIFactorySignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KXYSelector</name> + </class> + <class> + <package>org.kde.koala</package> + <name>KXYSelectorSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>ListJob</name> + </class> + <class> + <package>org.kde.koala</package> + <name>ListJobSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>MainWindow</name> + </class> + <class> + <package>org.kde.koala</package> + <name>MainWindowSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Makefile.am</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Marchaller</name> + </class> + <class> + <package>org.kde.koala</package> + <name>MidiMapper</name> + </class> + <class> + <package>org.kde.koala</package> + <name>MidiOut</name> + </class> + <class> + <package>org.kde.koala</package> + <name>MimetypeJob</name> + </class> + <class> + <package>org.kde.koala</package> + <name>MimetypeJobSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>MouseDoubleClickEvent</name> + </class> + <class> + <package>org.kde.koala</package> + <name>MouseEvent</name> + </class> + <class> + <package>org.kde.koala</package> + <name>MouseMoveEvent</name> + </class> + <class> + <package>org.kde.koala</package> + <name>MousePressEvent</name> + </class> + <class> + <package>org.kde.koala</package> + <name>MouseReleaseEvent</name> + </class> + <class> + <package>org.kde.koala</package> + <name>NamedNodeMap</name> + </class> + <class> + <package>org.kde.koala</package> + <name>NetAccess</name> + </class> + <class> + <package>org.kde.koala</package> + <name>NETIcon</name> + </class> + <class> + <package>org.kde.koala</package> + <name>NET</name> + </class> + <class> + <package>org.kde.koala</package> + <name>NETPoint</name> + </class> + <class> + <package>org.kde.koala</package> + <name>NETSize</name> + </class> + <class> + <package>org.kde.koala</package> + <name>NETStrut</name> + </class> + <class> + <package>org.kde.koala</package> + <name>NodeFilter</name> + </class> + <class> + <package>org.kde.koala</package> + <name>NodeIterator</name> + </class> + <class> + <package>org.kde.koala</package> + <name>NoteArray</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Observer</name> + </class> + <class> + <package>org.kde.koala</package> + <name>ObserverSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>OpenURLEvent</name> + </class> + <class> + <package>org.kde.koala</package> + <name>PartActivateEvent</name> + </class> + <class> + <package>org.kde.koala</package> + <name>PartBaseInterface</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Part</name> + </class> + <class> + <package>org.kde.koala</package> + <name>PartManager</name> + </class> + <class> + <package>org.kde.koala</package> + <name>PartManagerSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>PartSelectEvent</name> + </class> + <class> + <package>org.kde.koala</package> + <name>ProcessingInstruction</name> + </class> + <class> + <package>org.kde.koala</package> + <name>ProgressBase</name> + </class> + <class> + <package>org.kde.koala</package> + <name>ProgressBaseSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>PtyProcess</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Range</name> + </class> + <class> + <package>org.kde.koala</package> + <name>ReadOnlyPart</name> + </class> + <class> + <package>org.kde.koala</package> + <name>ReadWritePart</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Rect</name> + </class> + <class> + <package>org.kde.koala</package> + <name>RGBColor</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Scheduler</name> + </class> + <class> + <package>org.kde.koala</package> + <name>SchedulerSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>SimpleJob</name> + </class> + <class> + <package>org.kde.koala</package> + <name>SimpleJobSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Slave</name> + </class> + <class> + <package>org.kde.koala</package> + <name>SlaveSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>SshProcess</name> + </class> + <class> + <package>org.kde.koala</package> + <name>StatJob</name> + </class> + <class> + <package>org.kde.koala</package> + <name>StatJobSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>StatusbarProgress</name> + </class> + <class> + <package>org.kde.koala</package> + <name>StatusbarProgressSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>StubProcess</name> + </class> + <class> + <package>org.kde.koala</package> + <name>StyleSheet</name> + </class> + <class> + <package>org.kde.koala</package> + <name>SuProcess</name> + </class> + <class> + <package>org.kde.koala</package> + <name>SynthOut</name> + </class> + <class> + <package>org.kde.koala</package> + <name>Text</name> + </class> + <class> + <package>org.kde.koala</package> + <name>TransferJob</name> + </class> + <class> + <package>org.kde.koala</package> + <name>TransferJobSignals</name> + </class> + <class> + <package>org.kde.koala</package> + <name>TreeWalker</name> + </class> + <class> + <package>org.kde.koala</package> + <name>URLArgs</name> + </class> + <class> + <package>org.kde.koala</package> + <name>VoiceManager</name> + </class> + <class> + <package>org.kde.koala</package> + <name>WindowArgs</name> + </class> +</Qt> + diff --git a/qtjava/designer/juic/java/definitions.xsl b/qtjava/designer/juic/java/definitions.xsl new file mode 100644 index 00000000..9e3af53d --- /dev/null +++ b/qtjava/designer/juic/java/definitions.xsl @@ -0,0 +1,640 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- + ** Author: Marco Ladermann <marco.ladermann@gmx.de> + ** Date: Tue Jan 28 17:19:16 CET 2003 @721 /Internet Time/ + ** + ** This software is free software. It is released under the terms of the + ** GNU Lesser General Public Licence (LGPL) + ** see http://www.gnu.org/copyleft/lesser.html + ** + ** These stylesheets are distributed in the hope that they will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + --> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:func="http://exslt.org/functions" + xmlns:date="http://exslt.org/dates-and-times" + xmlns:kde="http://kde.org/functions" + xmlns:java="http://kde.org/java" + + > + <!-- + ** Put the definition of the toplevel window + ** @param data opaque data for user purpose + --> + <xsl:template name="putTopLevelWindowDefinition"> + <xsl:param name="data"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:choose> + <xsl:when test="@class = 'QMainWindow'"> + <xsl:text>setCentralWidget( new QWidget( this, "qt_central_widget" ) );</xsl:text> + </xsl:when> + </xsl:choose> + </xsl:template> + + <!-- + ** Put the definition of each embedded widget. + ** @context widget + ** @param data opaque data for user purpose + --> + <xsl:template name="putWidgetDefinition"> + <xsl:param name="data"/> + <xsl:value-of select="$newline"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:variable name="name" select="java:getNodeName(.)"/> + <xsl:value-of select="$name"/><xsl:text> = new </xsl:text> + <xsl:apply-templates mode="toClass" select="."/> + <xsl:text>( </xsl:text> + <!-- insert reference to parent widget --> + <xsl:variable name="container" select="ancestor::widget[@class != 'QLayoutWidget'][1]"/> + <xsl:value-of select="java:getContainerName($container)"/> + <xsl:text>, "</xsl:text> + <xsl:value-of select="$name"/> + <xsl:text>" );</xsl:text> + <xsl:if test="../@class = 'KWizard' or ../@class = 'QWizard'"> + <xsl:value-of select="$newline"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:text>addPage( </xsl:text> + <xsl:value-of select="$name"/> + <xsl:text>, "</xsl:text> + <xsl:value-of select="attribute[@name='title']/string"/> + <xsl:text>" );</xsl:text> + </xsl:if> + </xsl:template> + + <!-- + ** Put the definition of a layout class + ** @context hbox | vbox | grid + ** @param class is the Qt class name of the layout + ** @param data opaque data for user purpose + --> + <xsl:template name="putLayoutDefinition"> + <xsl:param name="class"/> + <xsl:param name="data"/> + <xsl:value-of select="$newline"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:variable name="name" select="java:getNodeName(.)"/> + <xsl:variable name="isTopmost" select="count(ancestor::vbox|ancestor::hbox|ancestor::grid)=0"/> + <xsl:value-of select="$name"/> + <xsl:text> = new </xsl:text> + <xsl:value-of select="$class"/> + <xsl:text>( </xsl:text> + <!-- insert reference to parent container --> + <xsl:choose> + <xsl:when test="../@class != 'QLayoutWidget' or $isTopmost"> + <xsl:value-of select="java:getContainerName(..)"/> + </xsl:when> + <xsl:otherwise> + <xsl:text>(QWidget)null</xsl:text> + </xsl:otherwise> + </xsl:choose> + <xsl:text>, </xsl:text> + <xsl:if test="name() = 'grid'"> + <xsl:text> 1, 1, </xsl:text> + </xsl:if> + <xsl:choose> + <xsl:when test="property[@name='margin']"> + <xsl:value-of select="property[@name='margin']/number"/> + <xsl:text>, </xsl:text> + </xsl:when> + <xsl:when test="not($isTopmost)"> + <xsl:value-of select="'0'"/> + <xsl:text>, </xsl:text> + </xsl:when> + <xsl:when test="/UI/layoutdefaults"> + <xsl:value-of select="/UI/layoutdefaults/@margin"/> + <xsl:text>, </xsl:text> + </xsl:when> + </xsl:choose> + <xsl:choose> + <xsl:when test="property[@name='spacing']"> + <xsl:value-of select="property[@name='spacing']/number"/> + </xsl:when> + <xsl:when test="/UI/layoutdefaults"> + <xsl:value-of select="/UI/layoutdefaults/@spacing"/> + </xsl:when> + </xsl:choose> + <xsl:value-of select="concat(', "', $name, '"')"/> + <xsl:text> );</xsl:text> + </xsl:template> + + <!-- + ** Put the content (widgets) of a layout. + ** @context widget + ** @param data opaque data for user purpose + --> + <xsl:template name="putLayoutContentDefinition"> + <xsl:param name="data"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="java:getNodeName(..)"/> + <xsl:choose> + <xsl:when test="@class = 'QLayoutWidget'"> + <xsl:text>.addLayout( </xsl:text> + <xsl:value-of select="java:getNodeName(hbox|vbox|grid)"/> + </xsl:when> + <xsl:when test="name() = 'spacer'"> + <xsl:text>.addItem( </xsl:text> + <xsl:value-of select="java:getNodeName(.)"/> + </xsl:when> + <xsl:otherwise> + <xsl:text>.addWidget( </xsl:text> + <xsl:value-of select="java:getNodeName(.)"/> + </xsl:otherwise> + </xsl:choose> + <xsl:if test="@row"> + <xsl:value-of select="concat(', ',@row,', ', @column)"/> + </xsl:if> + <xsl:text> );</xsl:text> + </xsl:template> + + <!-- + ** Put column definitions. + ** @context column + ** @param data opaque data for user purpose + --> + <xsl:template name="putColumnDefinition"> + <xsl:param name="data"/> + <xsl:variable name="container" select="../@class"/> + <xsl:variable name="colno" select="count(preceding-sibling::column)"/> + <xsl:variable name="colname" select="java:getNodeName(..)"/> + <xsl:variable name="text" select="property[@name='text']/string"/> + <xsl:variable name="isUtf8" select="kde:isUtf8($text)"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:text>// Column number </xsl:text> + <xsl:value-of select="$colno"/> + <xsl:choose> + <xsl:when test="$container = 'QTable'"> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="$colname"/> + <xsl:text>.setNumCols( </xsl:text> + <xsl:value-of select="$colname"/> + <xsl:text>.numCols() + 1 );</xsl:text> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="$colname"/> + <xsl:text>.horizontalHeader().setLabel( </xsl:text> + <xsl:value-of select="$colname"/> + <xsl:text>.numCols() - 1, </xsl:text> + <xsl:value-of select="java:tr($isUtf8)"/> + <xsl:text>( "</xsl:text> + <xsl:value-of select="java:toJavaString($text)"/> + <xsl:text>" ));</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="$colname"/> + <xsl:text>.addColumn( "</xsl:text> + <xsl:value-of select="java:toJavaString($text)"/> + <xsl:text>" );</xsl:text> + <xsl:for-each select="property[@name != 'text']/bool"> + <xsl:variable name="attr" select="../@name"/> + <xsl:variable name="bool" select="string(. = 1 or . = 'true')"/> + <xsl:variable name="method"> + <xsl:choose> + <xsl:when test="$attr = 'clickable'"> + <xsl:text>setClickEnabled</xsl:text> + </xsl:when> + <xsl:when test="$attr = 'resizable'"> + <xsl:text>setResizeEnabled</xsl:text> + </xsl:when> + <xsl:when test="$attr = 'movable'"> + <xsl:text>setMovingEnabled</xsl:text> + </xsl:when> + <xsl:when test="$attr = 'strechable'"> + <xsl:text>setStrechEnabled</xsl:text> + </xsl:when> + </xsl:choose> + </xsl:variable> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="$colname"/> + <xsl:text>.header().</xsl:text> + <xsl:value-of select="$method"/> + <xsl:text>( </xsl:text> + <xsl:value-of select="$bool"/> + <xsl:text>, </xsl:text> + <xsl:value-of select="$colname"/> + <xsl:text>.header().count() - 1 );</xsl:text> + </xsl:for-each> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- + ** Put row definitions. + ** @context row + ** @param data opaque data for user purpose + --> + <xsl:template name="putRowDefinition"> + <xsl:param name="data"/> + <xsl:variable name="container" select="../@class"/> + <xsl:variable name="rowno" select="count(preceding-sibling::row)"/> + <xsl:variable name="rowname" select="java:getNodeName(..)"/> + <xsl:variable name="text" select="property[@name='text']/string"/> + <xsl:variable name="isUtf8" select="kde:isUtf8($text)"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:text>// Row number </xsl:text> + <xsl:value-of select="$rowno"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="$rowname"/> + <xsl:text>.setNumRows( </xsl:text> + <xsl:value-of select="$rowname"/> + <xsl:text>.numRows() + 1 );</xsl:text> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="$rowname"/> + <xsl:text>.verticalHeader().setLabel( </xsl:text> + <xsl:value-of select="$rowname"/> + <xsl:text>.numRows() - 1, </xsl:text> + <xsl:value-of select="java:tr($isUtf8)"/> + <xsl:text>( "</xsl:text> + <xsl:value-of select="java:toJavaString($text)"/> + <xsl:text>" ));</xsl:text> + </xsl:template> + + + <!-- + ** Put item definitions. + ** @context item + ** @param class is the class of the item, ie: concat(../@class, 'Item') + ** @param index is the number of the item in the sequence + ** @param data opaque data for user purpose + --> + <xsl:template name="putItemDefinition"> + <xsl:param name="class"/> <!-- class of the item --> + <xsl:param name="number"/> <!-- number of item in sequence --> + <xsl:param name="data"/> + <xsl:variable name="name" select="concat($class, 'Item')"/> + <xsl:variable name="classInfo" select="document($qtJavaClassesXml)/Qt/class[name = $name]"/> + <xsl:choose> + <xsl:when test="$classInfo"> + <xsl:call-template name="putItemObjectDefinition"> + <xsl:with-param name="class" select="$name"/> + <xsl:with-param name="number" select="$number"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="putItemInsertDefinition"> + <xsl:with-param name="class" select="$class"/> + <xsl:with-param name="number" select="$number"/> + <xsl:with-param name="data" select="$data"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- + ** Put item inserts. + ** @context item + ** @param index is the number of the item in the sequence + ** @param data opaque data for user purpose + --> + <xsl:template name="putItemInsertDefinition"> + <xsl:param name="class"/> <!-- class of the item --> + <xsl:param name="number"/> <!-- number of item in sequence --> + <xsl:param name="data"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat(java:getNodeName(..) + ,'.insertItem( "' + , property/string + , '" ); ')"/> + + </xsl:template> + + <!-- + ** Put item Object definitions. + ** @context item + ** @param class is the class of the item, ie: concat(../@class, 'Item') + ** @param index is the number of the item in the sequence + ** @param data opaque data for user purpose + --> + <xsl:template name="putItemObjectDefinition"> + <xsl:param name="class"/> <!-- class of the item --> + <xsl:param name="number"/> <!-- number of item in sequence --> + <xsl:param name="data"/> + <xsl:variable name="name" select="java:getNodeName(..)"/> + <xsl:variable name="varname" select="concat($name, 'Item', $number)"/> + <xsl:variable name="previous"> + <xsl:choose> + <xsl:when test="$number = 0"> + <xsl:value-of select="concat('(', $class, ') null')"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="concat($name, 'Item', $number - 1)"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:value-of select="concat($nlIndent8, '// Item number ', $number, $nlIndent8)"/> + <xsl:value-of select="concat($class, ' ', $varname, ' = new ', $class, '( ', $name, ', ', $previous, ' );')"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($varname, '.setOpen(true);')"/> + <!-- items need special handling of the property subtags --> + <xsl:for-each select="property[@name = 'text']"> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($varname, + '.setText( ', position() - 1 + , ', ' + , java:tr(kde:isUtf8(string)) + , '("' + , java:toJavaString(string) + , '") );')"/> + </xsl:for-each> + <xsl:for-each select="property[@name = 'pixmap']"> + <xsl:if test="pixmap != ''"> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($varname, + '.setPixmap( ', position() - 1 + , ', ', pixmap, ' );')"/> + </xsl:if> + </xsl:for-each> + <xsl:for-each select="item"> + <xsl:call-template name="putSubItemDefinition"> + <xsl:with-param name="class" select="$class"/> + <xsl:with-param name="parent" select="$varname"/> + <xsl:with-param name="number" select="position() - 1"/> + <xsl:with-param name="name" select="concat($name, 'ItemItem')"/> + </xsl:call-template> + </xsl:for-each> + </xsl:template> + + <xsl:template name="putSubItemDefinition"> + <xsl:param name="class"/> + <xsl:param name="parent"/> + <xsl:param name="number"/> + <xsl:param name="name"/> + <xsl:variable name="varname" select="concat($name, $number)"/> + <xsl:variable name="previous"> + <xsl:choose> + <xsl:when test="$number = 0"> + <xsl:value-of select="concat('(', $class, ') null')"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="concat($name, $number - 1)"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($class, ' ', $varname, ' = new ', $class, '( ', $parent, ', ', $previous, ' );')"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($varname, '.setOpen(true);')"/> + <!-- items need special handling of the property subtags --> + <xsl:for-each select="property[@name = 'text']"> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($varname, + '.setText( ', position() - 1 + , ', ' + , java:tr(kde:isUtf8(string)) + , '("' + , java:toJavaString(string) + , '") );')"/> + </xsl:for-each> + <xsl:for-each select="property[@name = 'pixmap']"> + <xsl:if test="pixmap != ''"> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($varname, + '.setPixmap( ', position() - 1 + , ', ', pixmap, ' );')"/> + </xsl:if> + </xsl:for-each> + <xsl:for-each select="item"> + <xsl:call-template name="putSubItemDefinition"> + <xsl:with-param name="class" select="$class"/> + <xsl:with-param name="parent" select="$varname"/> + <xsl:with-param name="number" select="position() - 1"/> + <xsl:with-param name="name" select="concat($name, 'Item')"/> + </xsl:call-template> + </xsl:for-each> + </xsl:template> + + <!-- + ** Put spacer definitions. + ** @context spacer + ** @param data opaque data for user purpose + --> + <xsl:template name="putSpacerDefinition"> + <xsl:param name="data"/> + <xsl:variable name="orientation" select="property[@name='orientation']/enum"/> + <xsl:variable name="sizeType" select="property[@name='sizeType']/enum"/> + <xsl:variable name="hexp"> + <xsl:choose> + <xsl:when test="$orientation = 'Horizontal'"> + <xsl:value-of select="concat('QSizePolicy.', $sizeType)"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="'QSizePolicy.Minimum'"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="vexp"> + <xsl:choose> + <xsl:when test="$orientation = 'Vertical'"> + <xsl:value-of select="concat('QSizePolicy.', $sizeType)"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="'QSizePolicy.Minimum'"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat(java:getNodeName(.), + ' = new QSpacerItem( ', property[@name = 'sizeHint']/size/width, + ', ', property[@name = 'sizeHint']/size/height, + ', ', $hexp, + ', ', $vexp, ' );')"/> + <xsl:value-of select="$nlIndent8"/> + </xsl:template> + + + <!-- + ** Puts the definition of an actiongroup + ** @context actiongroup + ** @param data opaque data for user purpose + --> + <xsl:template name="putActionGroupDefinition"> + <xsl:param name="data"/> + <xsl:variable name="nodeName" select="java:getNodeName(.)"/> + <xsl:variable name="parent" select="java:getNodeName(..)"/> + <xsl:variable name="parentName"> + <xsl:choose> + <xsl:when test="$parent = ''">this</xsl:when> + <xsl:otherwise><xsl:value-of select="$parent"/></xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($nodeName, + ' = new QActionGroup( ', + $parentName, + ', "', $nodeName, '" );')"/> + </xsl:template> + + <!-- + ** Puts the definition of the actions + ** @context action + ** @param data opaque data for user purpose + --> + <xsl:template name="putActionDefinition"> + <xsl:param name="data"/> + <xsl:variable name="nodeName" select="java:getNodeName(.)"/> + <xsl:variable name="parent" select="java:getNodeName(..)"/> + <xsl:variable name="parentName"> + <xsl:choose> + <xsl:when test="$parent = ''">this</xsl:when> + <xsl:otherwise><xsl:value-of select="$parent"/></xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($nodeName, + ' = new QAction( ', + $parentName, + ', "', $nodeName, '" );')"/> + </xsl:template> + + <!-- + ** Puts the definition of the menubar + ** @context menubar + ** @param data opaque data for user purpose + --> + <xsl:template name="putMenubarDefinition"> + <xsl:param name="data"/> + <xsl:variable name="name" select="java:getNodeName(.)"/> + <xsl:value-of select="$newline"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($name, + ' = new QMenuBar( this, "', $name, '" );')"/> + </xsl:template> + + <!-- + ** Puts the definition of the menubar items + ** @context item + ** @param data opaque data for user purpose + --> + <xsl:template name="putMenubarItemDefinition"> + <xsl:param name="data"/> + <xsl:variable name="menu" select="java:getNodeName(..)"/> + <xsl:variable name="pos" select="count(preceding-sibling::item)"/> + <xsl:value-of select="$newline"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat('QPopupMenu ', @name, ' = new QPopupMenu( this );')"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($menu, + '.insertItem( "", ', + @name, + ', ', + $pos, + ' , -1 );')"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($menu, + '.findItem( ', + $pos, + ' ).setText( "', + @text, + '" );')"/> + </xsl:template> + + <!-- + ** Puts the definition of the menubar actions + ** @context action + ** @param data opaque data for user purpose + --> + <xsl:template name="putMenubarActionDefinition"> + <xsl:param name="data"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat(@name, '.addTo( ', ../@name, ' );')"/> + </xsl:template> + + <!-- + ** Puts the definition of a seperator in a popup menu + ** @context seperator + ** @param data opaque data for user purpose + --> + <xsl:template name="putMenubarSeperatorDefinition"> + <xsl:param name="data"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:choose> + <xsl:when test="../@name"> + <xsl:value-of select="../@name"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="kde:getNodeName(..)"/> + </xsl:otherwise> + </xsl:choose> + <xsl:text>.insertSeparator();</xsl:text> + </xsl:template> + + <!-- + ** Puts the definition of the toolbar + ** @context toolbar + ** @param data opaque data for user purpose + --> + <xsl:template name="putToolbarDefinition"> + <xsl:param name="data"/> + <xsl:variable name="name" select="java:getNodeName(.)"/> + <xsl:value-of select="$newline"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($name, + ' = new QToolBar( "', + property[@name='label']/string, + '", this );')"/> + </xsl:template> + + <!-- + ** Puts the definition of the toolbar actions + ** @context action + ** @param data opaque data for user purpose + --> + <xsl:template name="putToolbarActionDefinition"> + <xsl:param name="data"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat(@name, '.addTo( ', java:getNodeName(..), ' );')"/> + </xsl:template> + + <!-- + ** Puts the definition of a seperator in a toolbar + ** @context seperator + ** @param data opaque data for user purpose + --> + <xsl:template name="putToolbarSeperatorDefinition"> + <xsl:param name="data"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat(java:getNodeName(..), '.addSeparator( );')"/> + </xsl:template> + + <!-- + ** Puts the definition of signal-slot connections + ** @context connection + ** @param data opaque data for user purpose + --> + <xsl:template name="putConnectionDefinition"> + <xsl:param name="data"/> + <xsl:variable name="signal" select="java:cpp-to-java-signature(signal)"/> + <xsl:variable name="slot" select="java:cpp-to-java-signature(slot)"/> + <xsl:variable name="sender"> + <xsl:choose> + <xsl:when test="sender = /UI/widget/property[@name = 'name']/cstring"> + <xsl:value-of select="'this'"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="sender"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="receiver"> + <xsl:choose> + <xsl:when test="receiver = /UI/widget/property[@name = 'name']/cstring"> + <xsl:value-of select="'this'"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="receiver"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat('connect( ', $sender, + ', SIGNAL( "', $signal, '" ), ', + $receiver, + ', SLOT( "', $slot, '" ));')"/> + </xsl:template> + +</xsl:stylesheet> + diff --git a/qtjava/designer/juic/java/methods.xsl b/qtjava/designer/juic/java/methods.xsl new file mode 100644 index 00000000..388ba32e --- /dev/null +++ b/qtjava/designer/juic/java/methods.xsl @@ -0,0 +1,259 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- + ** Author: Marco Ladermann <marco.ladermann@gmx.de> + ** Date: Thu Mar 06 16:08:06 CET 2003 @672 /Internet Time/ + ** + ** This software is free software. It is released under the terms of the + ** GNU Lesser General Public Licence (LGPL) + ** see http://www.gnu.org/copyleft/lesser.html + ** + ** These stylesheets are distributed in the hope that they will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + --> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:func="http://exslt.org/functions" + xmlns:date="http://exslt.org/dates-and-times" + xmlns:kde="http://kde.org/functions" + xmlns:java="http://kde.org/java" + > + <!-- + ** All methods definitions are in this stylesheet + --> + <!-- + ** Put the definition of all needed method + ** @param data opaque data for user purpose + --> + <xsl:template name="putMethods"> + <xsl:param name="data"/> + <!-- Do we need a uncompress function for Pixmap's ? --> + <xsl:if test="boolean(//image | //pixmap) and not(/UI/pixmapfunction | /UI/pixmapinproject)"> + <xsl:call-template name="putDecodePixmaps"/> + </xsl:if> + <!-- Do we need "polishing" ? --> + <xsl:if test="//property[@name = 'database']"> + <xsl:call-template name="putPolish"/> + </xsl:if> + <!-- The slot for a language change signal --> + <xsl:call-template name="putLanguageChangeSlot"/> + </xsl:template> + <!-- + ** Put the definition of the main method + ** @param data opaque data for user purpose + --> + <xsl:template name="putMain"> + <xsl:param name="data"/> + <xsl:if test="not($abstract) and $main"> + + public static void main(String [] args) { + <xsl:choose> + <xsl:when test="$kde"> + KCmdLineArgs.init( args , "<xsl:value-of select="$mainClass"/>", "<xsl:value-of select="$mainClass"/>", "<xsl:value-of select="java:toJavaString(/UI/widget/property[@name='caption']/string)"/>", "version"); + KApplication app = new KApplication(); + </xsl:when> + <xsl:otherwise> + QApplication app = new QApplication(args); + </xsl:otherwise> + </xsl:choose> + <xsl:value-of select="$mainClass"/> myWidget = new <xsl:value-of select="$mainClass"/>(); + app.setMainWidget( myWidget ); + myWidget.show(); + app.exec(); + }</xsl:if> + </xsl:template> + + + <xsl:template name="putDecodePixmaps"> + + /** + * decodePixmap extracts a pixmap from coded data + * @param size of uncompressed data + * @param code string coded data + * @param isCompressed need data to be uncompressed + */ + private static QPixmap decodePixmap(int size, String code, boolean isCompressed) { + int len = code.length() >> 1; + byte [] data = new byte[len]; + try { + for (int i=0, j=0 ; i < len; ++i, j+=2) { + data[i] = (byte)Short.parseShort(code.substring(j, j+2), 16); + } + if (isCompressed) { + byte [] pic = new byte [size]; + Inflater inflater = new Inflater(); + pic = new byte [size]; + inflater.setInput(data); + inflater.inflate(pic, 0, size); + return new QPixmap(pic); + } else { + return new QPixmap(data); + } + } + catch (Exception e) { + System.err.println("Problem, while reading image data: "+e.getMessage()); + } + return null; + } + </xsl:template> + + <xsl:template name="putPolish"> + + /** + * polish does some last initialization just before the widget + * is displayed. Here we setup: + * i) databases + * ... + */ + public void polish() { + <xsl:for-each select="//widget[@class = 'QDataTable' or @class = 'QDataBrowser']"> + <xsl:if test="not( property[@name = 'frameworkCode']/bool = 'false' )"> + <xsl:variable name="dataName" select="java:getNodeName(.)"/> + <xsl:variable name="conn" select="property[@name='database']/stringlist/string[1]"/> + <xsl:variable name="table" select="property[@name='database']/stringlist/string[2]"/> + <xsl:choose> + <xsl:when test="@class = 'QDataTable'"> + if ( <xsl:value-of select="$dataName"/> != null ) { + QSqlCursor cursor = <xsl:value-of select="$dataName"/>.sqlCursor(); + if ( cursor == null ) {<xsl:choose> + <xsl:when test="$conn = '(default)'"> + cursor = new QSqlCursor( "<xsl:value-of select="$table"/>" );</xsl:when> + <xsl:otherwise> + cursor = new QSqlCursor( "<xsl:value-of select="$table"/>", true, QSqlDatabase.database("<xsl:value-of select="$conn"/>") );</xsl:otherwise> + </xsl:choose> + if ( <xsl:value-of select="$dataName"/>.isReadOnly() ) + cursor.setMode( QSqlCursor.ReadOnly ); + <xsl:value-of select="$dataName"/>.setSqlCursor( cursor, false, true ); + } + if ( !cursor.isActive() ) + <xsl:value-of select="$dataName"/>.refresh( QDataTable.RefreshAll ); + } + </xsl:when> + <xsl:otherwise> + if ( <xsl:value-of select="$dataName"/> != null ) { + if ( <xsl:value-of select="$dataName"/>.sqlCursor() == null ) {<xsl:choose> + <xsl:when test="$conn = '(default)'"> + QSqlCursor cursor = new QSqlCursor( "<xsl:value-of select="$table"/>" );</xsl:when> + <xsl:otherwise> + QSqlCursor cursor = new QSqlCursor( "<xsl:value-of select="$table"/>", true, QSqlDatabase.database("<xsl:value-of select="$conn"/>") );</xsl:otherwise> + </xsl:choose><xsl:text> + </xsl:text> + <xsl:value-of select="$dataName"/>.setSqlCursor( cursor, true ); + <xsl:value-of select="$dataName"/>.refresh(); + <xsl:value-of select="$dataName"/>.first(); + } + } + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:for-each> + super.polish(); + } + </xsl:template> + + <xsl:template name="putLanguageChangeSlot"> + + /** + * SLOT + * languageChange sets the strings according to current language + */ + protected void languageChange() { + <!-- all "normal" i18n strings --> + <xsl:for-each select="//*[not(name() = 'item' or name() = 'column' or name() = 'row')]/property/string"> + <xsl:apply-templates select="." mode="property"> + <xsl:with-param name="name" select="../@name"/> + <xsl:with-param name="data" select="'languageChange'"/> + </xsl:apply-templates> + </xsl:for-each> + <!-- all ListViews --> + <xsl:for-each select="//widget[item]"> + <xsl:variable name="contName" select="java:getContainerName(.)"/> + <xsl:for-each select="./column"> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="$contName"/> + <xsl:text>.header().setLabel( </xsl:text> + <xsl:value-of select="position() - 1"/> + <xsl:text>, </xsl:text> + <xsl:value-of select="java:tr(kde:isUtf8(property[@name = 'text']/string))"/> + <xsl:text>( "</xsl:text> + <xsl:value-of select="java:toJavaString(property[@name = 'text']/string)"/> + <xsl:text>" ) );</xsl:text> + </xsl:for-each> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="$contName"/> + <xsl:text>.clear();</xsl:text> + <xsl:variable name="containerClass"> + <xsl:apply-templates mode="toClass" select="."/> + </xsl:variable> + <xsl:for-each select="item"> + <xsl:call-template name="putItemDefinition"> + <xsl:with-param name="class" select="$containerClass"/> + <xsl:with-param name="number" select="position() - 1"/> + <!-- xsl:with-param name="data" select=""/ --> + </xsl:call-template> + </xsl:for-each> + </xsl:for-each> + <!-- all Tables --> + <xsl:for-each select="//widget[(column or row) and not(item)]"> + <xsl:variable name="table" select="property[@name='name']/cstring"/> + <xsl:for-each select="column"> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="$table"/> + <xsl:choose> + <xsl:when test="substring(../@class, 2) = 'ListView'"> + <xsl:text>.header()</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>.horizontalHeader()</xsl:text> + </xsl:otherwise> + </xsl:choose> + <xsl:text>.setLabel( </xsl:text> + <xsl:value-of select="position() - 1"/> + <xsl:text>, </xsl:text> + <xsl:value-of select="java:tr(kde:isUtf8(property[@name='text']/string))"/> + <xsl:text>( "</xsl:text> + <xsl:value-of select="java:toJavaString(property[@name='text']/string)"/> + <xsl:if test="property[@name='image']"> + </xsl:if> + <xsl:text>" ) );</xsl:text> + </xsl:for-each> + <xsl:for-each select="row"> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="$table"/> + <xsl:text>.verticalHeader().setLabel( </xsl:text> + <xsl:value-of select="position() - 1"/> + <xsl:value-of select="java:tr(kde:isUtf8(property[@name='text']/string))"/> + <xsl:text>( "</xsl:text> + <xsl:value-of select="java:toJavaString(property[@name='text']/string)"/> + <xsl:text>" ) );</xsl:text> + </xsl:for-each> + </xsl:for-each> + <!-- Menubar --> + <xsl:variable name="menubar" select="/UI/menubar/property[@name='name']/cstring"/> + <xsl:for-each select="/UI/menubar/item"> + <xsl:variable name="findItem"> + <xsl:value-of select="$menubar"/> + <xsl:text>.findItem(</xsl:text> + <xsl:value-of select="position()"/> + <xsl:text>)</xsl:text> + </xsl:variable> + <xsl:value-of select="$nlIndent8"/> + <xsl:text>if (</xsl:text> + <xsl:value-of select="$findItem"/> + <xsl:text> != null)</xsl:text> + <xsl:value-of select="$nlIndent8"/> + <xsl:text> </xsl:text> + <xsl:value-of select="$findItem"/> + <xsl:text>.setText( </xsl:text> + <xsl:value-of select="java:tr(kde:isUtf8(@text))"/> + <xsl:text>( "</xsl:text> + <xsl:value-of select="java:toJavaString(@text)"/> + <xsl:text>" ) );</xsl:text> + </xsl:for-each> + } + </xsl:template> + +</xsl:stylesheet> + diff --git a/qtjava/designer/juic/java/param.xsl b/qtjava/designer/juic/java/param.xsl new file mode 100644 index 00000000..0714ef90 --- /dev/null +++ b/qtjava/designer/juic/java/param.xsl @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ** Author: Marco Ladermann + ** Date: Thu Jan 23 10:08:18 CET 2003 @422 /Internet Time/ + ** Purpose: Define some parameters and routines to check them + ** Changed: + ** + ** This software is free software. It is released under the terms of the + ** GNU Lesser General Public Licence (LGPL) + ** see http://www.gnu.org/copyleft/lesser.html + ** + ** These stylesheets are distributed in the hope that they will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + --> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" +> + <xsl:param name="package" select="''"/><!-- package name of classes --> + <xsl:param name="outdir" select="'.'"/><!-- output directory --> + <xsl:param name="genmain" select="'true'"/><!-- generate a main method --> + <xsl:param name="genabstract" select="'true'"/><!-- generate slots as abstract and not with a default implementation --> + <xsl:param name="os" select="'unix'"/><!-- operating system, see $newline --> + <xsl:param name="images" select="'images/'"/> + <xsl:param name="kde" select="//widget[starts-with(@class, 'K')]"/> + + <xsl:variable name="main" select="$genmain = 'true'"/> + <xsl:variable name="abstract" select="$genabstract = 'true'"/> + <xsl:variable name="newline"> + <xsl:choose> + <xsl:when test="$os = 'unix'"><xsl:value-of select="'
'"/></xsl:when> + <xsl:when test="$os = 'msdos'"><xsl:value-of select="'
'"/></xsl:when> + <xsl:when test="$os = 'mac'"><xsl:value-of select="'
'"/></xsl:when> + <xsl:otherwise><xsl:value-of select="'
'"/></xsl:otherwise> + </xsl:choose> + </xsl:variable> +</xsl:stylesheet> + diff --git a/qtjava/designer/juic/java/properties.xsl b/qtjava/designer/juic/java/properties.xsl new file mode 100644 index 00000000..34187582 --- /dev/null +++ b/qtjava/designer/juic/java/properties.xsl @@ -0,0 +1,397 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- + ** Author: Marco Ladermann <marco.ladermann@gmx.de> + ** Date: Tue Jan 28 17:19:16 CET 2003 @721 /Internet Time/ + ** + ** This software is free software. It is released under the terms of the + ** GNU Lesser General Public Licence (LGPL) + ** see http://www.gnu.org/copyleft/lesser.html + ** + ** These stylesheets are distributed in the hope that they will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + --> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:kde="http://kde.org/functions" + xmlns:java="http://kde.org/java" + + > + <!-- + ** putStringProperty + ** TODO: Use data to distinguish constructor generation from languageChange + ** @context string + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putStringProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="text" select="."/> + <xsl:variable name="quotedtext" select="java:toJavaString($text)"/> + <xsl:variable name="val"> + <xsl:value-of select="java:tr(kde:isUtf8($text))"/> + <xsl:text>( "</xsl:text> + <xsl:value-of select="$quotedtext"/> + <xsl:if test="../comment"> + <xsl:text>", "</xsl:text> + <xsl:value-of select="../comment"/> + </xsl:if> + <xsl:text>" )</xsl:text> + </xsl:variable> + <xsl:choose> + <xsl:when test="$property = 'toolTip' and name(../..) != 'action'"> + <xsl:value-of select="concat('QToolTip.add( ', $object, ', ', $val, ' );')"/> + </xsl:when> + <xsl:when test="$property = 'whatsThis' and name(../..) != 'action'"> + <xsl:value-of select="concat('QWhatsThis.add( ', $object, ', ', $val, ' );')"/> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:variable name="parameter"> + <xsl:choose> + <xsl:when test="$property = 'accel'"> + <xsl:value-of select="concat('new QKeySequence( ', $val, ' ) ')"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$val"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:value-of select="concat($object, '.', $method, '( ', $parameter, ' );')"/> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- + ** putStringlistProperty + ** @context stringlist + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putStringlistProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:if test="$property != 'database'"><!-- database must be handled in "putMethods" --> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method)"/> + <xsl:text>(new String[] { </xsl:text> + <xsl:for-each select="string"> + <xsl:if test="position() > 1"> + <xsl:text>, </xsl:text> + </xsl:if> + <xsl:value-of select="concat('"',java:toJavaString(.) ,'"')"/> + </xsl:for-each> + <xsl:text>});</xsl:text> + </xsl:if> + </xsl:template> + + <!-- + ** putCstringProperty + ** @context cstring + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putCstringProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method, '( ', ., ' );')"/> + </xsl:template> + + + <!-- + ** putBoolProperty + ** @context bool 1|0 but i have seen also "true" and "false" + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putBoolProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <!-- the frameworkCode property is an "generation" time property --> + <xsl:if test="$property != 'frameworkCode'"> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:variable name="bool" select="string(. = 1 or . = 'true')"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method, '( ', $bool, ' );')"/> + </xsl:if> + </xsl:template> + + <!-- + ** putColorProperty + ** @context color (green, red, blue) + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putColorProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method, '( new QColor( ', green, ', ', + red, ', ', + blue,' ) );')"/> + </xsl:template> + + <!-- + ** putCursorProperty + ** @context cursor + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putCursorProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method, '( new QCursor(', ., ') );')"/> + </xsl:template> + + + <!-- + ** putNumberProperty + ** @context number + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putNumberProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:variable name="arg"> + <xsl:choose> + <xsl:when test="$property = 'accel'"> + <xsl:value-of select="concat('new QKeySequence( ', ., ' )')"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="."/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method, '( ', $arg, ' );')"/> + </xsl:template> + + <!-- + ** putEnumProperty + ** @context enum + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putEnumProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:variable name="enumClass"> + <xsl:apply-templates select="../.." mode="toClass"/> + <xsl:text>.</xsl:text> + </xsl:variable> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method, '( ', $enumClass, ., ' );')"/> + </xsl:template> + + <!-- + ** putSetProperty + ** @context set + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putSetProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:variable name="setClass"> + <xsl:apply-templates select="../.." mode="toClass"/> + <xsl:text>.</xsl:text> + </xsl:variable> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method, '( ', $setClass, + kde:replace(., + '|', + concat('|', $setClass)), + ' );')"/> + </xsl:template> + + <!-- + ** putPixmapProperty + ** @context pixmap + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putPixmapProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.' + , $method, + '( QPixmap.fromMimeSource( "', . , '" ) );')"/> + </xsl:template> + + <!-- + ** putPointProperty + ** @context point (x, y) + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putPointProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method, + '( new QPoint( ', kde:if(x, x, 0), ', ', kde:if(y, y, 0), ' ) );')"/> + </xsl:template> + + <!-- + ** putRectProperty + ** @context rect (x, y, width, height) + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putRectProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method, + '( new QRect( ', kde:if(x, x, 0), ', ' + , kde:if(y, y, 0), ', ' + , kde:if(width, width, 0), ', ' + , kde:if(height, height, 0), + ' ) );')"/> + </xsl:template> + + <!-- + ** putSizeProperty + ** @context size (width, height) + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putSizeProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method, + '( new QSize( ', kde:if(width, width, 0), ', ' + , kde:if(heigth, heigth, 0), + ' ) );')"/> + </xsl:template> + + <!-- + ** putSizepolicyProperty + ** @context sizepolicy (hsizetype, vsizetype, horstretch, verstretch) + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putSizepolicyProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method, + '( new QSizePolicy( ', hsizetype, ', ' + , vsizetype, ', ' + , '(short)', horstretch, ', ' + , '(short)', verstretch, + ' ) );')"/> + </xsl:template> + + <!-- + ** putFontProperty + ** @context font (family, pointsize, weight, underline, strikeout) + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putFontProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method, + '( new QFont( "', family, '", ' + , kde:if(pointsize, pointsize, 10), ', ' + , kde:if(weight, weight, 'QFont.Normal'), + ' ) );')"/> + </xsl:template> + + + <!-- + ** putPaletteProperty + ** @context palette (color){1, 15} + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putPaletteProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:variable name="pal" select="concat($object, 'Palette')"/> + <xsl:variable name="cgroup" select="concat($object, 'ColorGroup')"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="'// setup a modified palette'"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat('QPalette ', $pal, ' = new QPalette();')"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat('QColorGroup ', $cgroup, ' = new QColorGroup();')"/> + <xsl:for-each select="active|disabled|inactive"> + <xsl:for-each select="color"> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($cgroup, + '.setColor( ', position() - 1, + ', new QColor( ', + red, ', ', + green, ', ', + blue, '));')"/> + </xsl:for-each> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($pal, '.set', kde:upper-first(name()),'( ',$cgroup, ' );')"/> + </xsl:for-each> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method, '( ', $pal, ' );')"/> + </xsl:template> + + <!-- + ** putIconsetProperty + ** @context iconset + ** @param property is the name of the property + ** @param data opaque data for user purpose + --> + <xsl:template name="putIconsetProperty"> + <xsl:param name="property"/> + <xsl:param name="data"/> + + <xsl:if test=". != ''"> + <xsl:variable name="object" select="java:getNodeName(../..)"/> + <xsl:variable name="method" select="concat('set', kde:upper-first($property))"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat($object, '.', $method, + '( new QIconSet( ', java:getPixmap(.), ' ) );')"/> + </xsl:if> + </xsl:template> + +</xsl:stylesheet> + diff --git a/qtjava/designer/juic/java/put.xsl b/qtjava/designer/juic/java/put.xsl new file mode 100644 index 00000000..472ad8f6 --- /dev/null +++ b/qtjava/designer/juic/java/put.xsl @@ -0,0 +1,486 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- + ** Author: Marco Ladermann <marco.ladermann@gmx.de> + ** Date: Tue Jan 28 17:19:16 CET 2003 @721 /Internet Time/ + ** + ** This software is free software. It is released under the terms of the + ** GNU Lesser General Public Licence (LGPL) + ** see http://www.gnu.org/copyleft/lesser.html + ** + ** These stylesheets are distributed in the hope that they will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + --> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:date="http://exslt.org/dates-and-times" + xmlns:redirect="http://xml.apache.org/xalan/redirect" + xmlns:saxon="http://icl.com/saxon" + xmlns:kde="http://kde.org/functions" + xmlns:java="http://kde.org/java" + extension-element-prefixes="exsl redirect saxon" + > + <!-- + ** This is the toplevel stylesheet of the language dependend parts + --> + + <xsl:import href="definitions.xsl"/> + <xsl:import href="properties.xsl"/> + <xsl:import href="methods.xsl"/> + <xsl:include href="../common/util.xsl"/> + <xsl:include href="util.xsl"/> + + <xsl:variable name="mainClass" select="/UI/class"/> + + <!-- read XML file with Information about the Qt classes for Java --> + <xsl:variable name="qtJavaClassesXml" select="'JavaClasses.xml'"/> + <!--<xsl:variable name="qtJavaClasses" select="document($qtJavaClassesXml)"/> --> + + <xsl:variable name="nlIndent8" select="concat($newline, ' ')"/> + + <!-- + ** This template starts the whole process. + ** + --> + <xsl:template match="/"> + <xsl:variable name="file"> + <xsl:choose> + <xsl:when test="$package = ''"> + <xsl:value-of select="concat($outdir, '/', $mainClass, '.java')"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="concat($outdir, '/', translate($package, '.', '/'), '/', $mainClass, '.java')"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:choose> + <xsl:when test="element-available('exsl:document')"> + <xsl:message>Using output file <xsl:value-of select="$file"/> with Exslt extension</xsl:message> + <exsl:document href="{$file}" method="text"> + <xsl:apply-templates mode="main" select="/"/> + </exsl:document> + </xsl:when> + <xsl:when test="element-available('saxon:output')"> + <xsl:message>Using output file <xsl:value-of select="$file"/> with Saxon extension</xsl:message> + <saxon:output href="{$file}" method="text"> + <xsl:apply-templates mode="main" select="/"/> + </saxon:output> + </xsl:when> + <xsl:when test="element-available('redirect:write')"> + <xsl:message>Using output file <xsl:value-of select="$file"/> with Xalan extension</xsl:message> + <redirect:write file="$file" method="text"> + <xsl:apply-templates mode="main" select="/"/> + </redirect:write> + </xsl:when> + <xsl:otherwise> + <xsl:message>Using stdout</xsl:message> + <xsl:apply-templates mode="main" select="/"/> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- + ** Put the file header + ** @param comment from ui file + ** @param author name of author from ui file + ** @param data opaque data for user purpose + --> + <xsl:template name="putFileHeader"> + <xsl:param name="comment"/> + <xsl:param name="author"/> + <xsl:param name="data"/> + <xsl:text>/* + * </xsl:text><xsl:value-of select="$mainClass"/><xsl:text>.java + * + * This class is generated from a UI description generated by + * the QtDesigner with XSLT. + * + * DO NOT EDIT! File will be overidden + * + * Author: </xsl:text> + <xsl:value-of select="$author"/> + <xsl:text> + * Date: </xsl:text><xsl:value-of select="date:date()"/> + <xsl:text> + * Comment: </xsl:text> +<xsl:value-of select="$comment"/> + <xsl:text> + */ +</xsl:text> + </xsl:template> + + <!-- + ** Put the class preamble. Use this to generate package information, imports etc. + ** @param classes node-set with sorted list of all classes needed + ** @param data opaque data for user purpose + --> + <xsl:template name="putClassPreamble"> + <xsl:param name="classes"/> + <xsl:param name="data"/> + <xsl:if test="not($package = '')"> + <xsl:value-of select="$newline"/> + <xsl:text>package </xsl:text> + <xsl:value-of select="$package"/> + <xsl:text>;</xsl:text> + </xsl:if> + + <!-- import Qt specific classes --> + <xsl:value-of select="$newline"/> + <xsl:for-each select="$classes/class"> + <xsl:variable name="name" select="."/> + <xsl:variable name="classInfo" select="document($qtJavaClassesXml)/Qt/class[name = $name]"/> + <xsl:if test="$classInfo"> + <xsl:value-of select="$newline"/> + <xsl:value-of select="concat('import ', $classInfo/package, '.', $classInfo/name, ';')"/> + </xsl:if> + </xsl:for-each> + + <xsl:value-of select="$newline"/> + + <!-- import of java specific classes --> + <xsl:if test="/UI/images"> + <xsl:message>Create imports to handle Images</xsl:message> + <xsl:value-of select="'import java.util.zip.Inflater;'"/> + <xsl:value-of select="$newline"/> + </xsl:if> + </xsl:template> + + <!-- + ** Put the class header. + ** @param extends the class that is extended by this + ** @param data opaque data for user purpose + --> + <xsl:template name="putClassHeader"> + <xsl:param name="extends"/> + <xsl:param name="data"/> + + <xsl:text> +/** + * </xsl:text><xsl:value-of select="$mainClass"/> a user interface class using Qt<xsl:text> + */ + </xsl:text> + <xsl:value-of select="$newline"/> + <xsl:text>public </xsl:text> + <xsl:if test="$abstract"> + <xsl:text>abstract </xsl:text> + </xsl:if> + <xsl:text>class </xsl:text> + <xsl:value-of select="$mainClass"/> + <xsl:if test="$extends"> + <xsl:text> extends </xsl:text> + <xsl:value-of select="$extends"/> + </xsl:if> + <xsl:text> {</xsl:text> + <xsl:value-of select="$newline"/> + + static { + // initialize the toolkit + org.kde.qt.qtjava.initialize(); + <xsl:if test="$kde"> + org.kde.koala.kdejava.initialize(); + </xsl:if> + } + </xsl:template> + + <!-- + ** Put the definition of user defined variables. + ** Here we define some QPixmap instances for embedded images + ** @param data opaque data for user purpose + --> + <xsl:template name="putVariables"> + <xsl:param name="data"/> + <xsl:for-each select="/UI/images/image"> + <xsl:message>Creating code for image <xsl:value-of select="@name"/></xsl:message> + <!-- + <xsl:variable name="img" select="concat('_img', position())"/> + <xsl:value-of select="$newline"/> + <xsl:text> protected static String </xsl:text> + <xsl:value-of select="$img"/> + <xsl:text> = "</xsl:text> + <xsl:value-of select="data"/> + <xsl:text>";</xsl:text> + --> + <!-- + <xsl:call-template name="toBytes"> + <xsl:with-param name="hexstring" select="data"/> + </xsl:call-template> + <xsl:text> }; </xsl:text> + --> + <xsl:value-of select="$newline"/> + <xsl:text> protected QPixmap </xsl:text> + <xsl:value-of select="@name"/> + <xsl:text> = decodePixmap( </xsl:text> + <xsl:value-of select="data/@length"/> + <xsl:text>, "</xsl:text> + <xsl:value-of select="data"/> + <xsl:text>", </xsl:text> + <xsl:choose> + <xsl:when test="data/@format = 'XPM.GZ'"> + <xsl:text> true</xsl:text> + </xsl:when> + <xsl:when test="data/@format = 'PNG'"> + <xsl:text> false</xsl:text> + </xsl:when> + </xsl:choose> + <xsl:text>);</xsl:text> + </xsl:for-each> + </xsl:template> + + <!-- helper template + <xsl:template name="toBytes"> + <xsl:param name="hexstring" select="''"/> + <xsl:param name="count" select="0"/> + <xsl:variable name="len" select="string-length($hexstring)"/> + <xsl:if test="$count = 0"> + <xsl:value-of select="$nlIndent8"/> + </xsl:if> + <xsl:variable name="cnt"> + <xsl:choose> + <xsl:when test="$count = 6">0</xsl:when> + <xsl:otherwise><xsl:value-of select="$count + 1"/></xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:choose> + <xsl:when test="$len > 2"> + <xsl:value-of select="concat('(byte)0x', substring($hexstring, 1, 2), ', ')"/> + <xsl:call-template name="toBytes"> + <xsl:with-param name="hexstring" select="substring($hexstring, 3)"/> + <xsl:with-param name="count" select="$cnt"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$len = 2"> + <xsl:value-of select="concat('(byte)0x', $hexstring)"/> + </xsl:when> + </xsl:choose> + </xsl:template> + --> + + <!-- + ** Put the definition of instance variables + ** @context property + ** @param data opaque data for user purpose + --> + <xsl:template name="putInstanceVariable"> + <xsl:param name="class"/> + <xsl:param name="name"/> + <xsl:param name="data"/> + <xsl:variable name="varname"> + <xsl:choose> + <xsl:when test="$name"> + <xsl:value-of select="$name"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="java:getNodeName(..)"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:value-of select="$newline"/> + <xsl:value-of select="concat(' protected ', $class, ' ', $varname, ' = null;')"/> + </xsl:template> + + <!-- + ** Put the declaration of the constructors + ** @param data opaque data for user purpose + --> + <xsl:template name="putConstructors"> + <xsl:param name="data"/> + <xsl:variable name="kind" select="substring(/UI/widget/@class, 2)"/> + <xsl:variable name="isModal" select="$kind = 'Wizard' or $kind = 'Dialog'"/> + <xsl:variable name="modalParam" select="kde:if($isModal, ', false', '')"/> + <xsl:variable name="modalArg" select="kde:if($isModal, ', boolean modal', '')"/> + + /** + * Constructor for class <xsl:value-of select="$mainClass"/> + */ + public <xsl:value-of select="$mainClass"/>() { + this(null, "<xsl:value-of select="$mainClass"/>"<xsl:value-of select="$modalParam"/>, WType_TopLevel); + } + + /** + * Constructor for class <xsl:value-of select="$mainClass"/> + * @param parent the parent widget of this class + */ + public <xsl:value-of select="$mainClass"/>(QWidget parent) { + this(parent, "<xsl:value-of select="$mainClass"/>"<xsl:value-of select="$modalParam"/>, WType_TopLevel); + } + + /** + * Constructor for class <xsl:value-of select="$mainClass"/> + * @param parent the patent widget of this class + * @param name the name of the widget + */ + public <xsl:value-of select="$mainClass"/>(QWidget parent, String name) { + this(parent, name<xsl:value-of select="$modalParam"/>, WType_TopLevel); + } +<xsl:if test="$modalArg != ''"> + /** + * Constructor for class <xsl:value-of select="$mainClass"/> + * @param parent the patent widget of this class + * @param name the name of the widget + * @param modal modality of the widget + */ + public <xsl:value-of select="$mainClass"/>(QWidget parent, String name, boolean modal) { + this(parent, name, modal, WType_TopLevel); + } +</xsl:if> + /** + * Constructor for class <xsl:value-of select="$mainClass"/> + * @param parent the patent widget of this class + * @param name the name of the widget + * @param flags some "or"ed properties + */ + public <xsl:value-of select="$mainClass"/>(QWidget parent, String name<xsl:value-of select="$modalArg"/>, int flags) { + super(parent, name<xsl:value-of select="$modalParam"/>, flags); +<xsl:if test="/UI/widget/@class = 'QMainWindow'"> + statusBar(); +</xsl:if> + if (name == null) setName("<xsl:value-of select="$mainClass"/>"); + + // setup widgets + <xsl:call-template name="createInstanceDefinitions"/> + + // setup databases + <xsl:call-template name="createDatabaseDefinitions"/> + + // setup actions + <xsl:call-template name="createActionDefinitions"/> + + // setup toolbar + <xsl:call-template name="createToolbarDefinitions"/> + + // setup menubar + <xsl:call-template name="createMenubarDefinitions"/> + + resize(size().expandedTo(minimumSizeHint())); + + // signals and slots connections + <xsl:call-template name="createConnectionDefinitions"/> + + // tabstops + <xsl:call-template name="createTabstopsDefinitions"/> + } + </xsl:template> + + <!-- + ** Put the definition of a database + ** @context widget[@class='QDataTable' or @class='QDataBrowser"] + ** @param data opaque data for user purpose + --> + <xsl:template name="putDatabaseDefinition"> + <xsl:param name="data"/> + <xsl:variable name="formName" select="concat(java:getNodeName(.), 'Form')"/> + <xsl:variable name="conn" select="property[@name='database']/stringlist/string[1]"/> + <xsl:variable name="table" select="property[@name='database']/stringlist/string[2]"/> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat('QSqlForm ', $formName, ' = new QSqlForm(this, "', $formName, '");')"/> + <xsl:for-each select=".//widget[@class != 'QDataTable' and property[@name='database']]"> + <xsl:if test="property[@name='database']/stringlist/string[1]=$conn + and property[@name='database']/stringlist/string[2]=$table"> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="$formName"/> + <xsl:text>.insert( </xsl:text> + <xsl:value-of select="java:getNodeName()"/> + <xsl:text>, "</xsl:text> + <xsl:value-of select="property[@name='database']/stringlist/string[3]"/> + <xsl:text>" );</xsl:text> + </xsl:if> + </xsl:for-each> + <xsl:value-of select="$nlIndent8"/> + <xsl:value-of select="concat(java:getNodeName(), '.setForm( ', $formName, ');')"/> + </xsl:template> + + <!-- + ** Put the definition of a slot + ** @context slot + ** @param data opaque data for user purpose + --> + <xsl:template name="putSlot"> + <xsl:param name="data"/> + <xsl:variable name="access" select="kde:if(@access, @access, 'public')"/> + <xsl:variable name="return" select="kde:if(@returnType, @returnType, 'void')"/> + <xsl:variable name="sig" select="java:cpp-to-java-signature(.)"/> + <xsl:variable name="method" select="concat($access, ' ', + kde:if($abstract, 'abstract ', ''), + $return , ' ', + $sig)"/> + <xsl:if test="$access = 'private'"> + <xsl:message>Error in slot: <xsl:value-of select="$method"/></xsl:message> + <xsl:message>A private method can't be overriden.</xsl:message> + </xsl:if> + <xsl:message>Generating slot "<xsl:value-of select="$method"/></xsl:message> + /** + * SLOT <xsl:value-of select="$method"/> + */ + <xsl:choose> + <xsl:when test="$abstract"> + <xsl:value-of select="$method"/>; + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$method"/> { + qWarning("Warning: SLOT \"<xsl:value-of select="$method"/>\" must be overridden"); + <xsl:if test="not($return = 'void')"> + <xsl:choose> + <xsl:when test="$return = 'byte' or $return = 'short' or $return = 'int' or $return = 'long'"> + <xsl:text>return </xsl:text><xsl:value-of select="concat('(',$return,')')"/><xsl:text>0;</xsl:text> + </xsl:when> + <xsl:when test="$return = 'char'"> + <xsl:text>return '\0'</xsl:text> + </xsl:when> + <xsl:when test="$return = 'float' or $return = 'double'"> + <xsl:text>return 0.0;</xsl:text> + </xsl:when> + <xsl:otherwise>return null;</xsl:otherwise> + </xsl:choose> + </xsl:if> + } + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- + ** Put the definition of a signal + ** @context slot + ** @param data opaque data for user purpose + --> + <xsl:template name="putSignal"> + <xsl:param name="data"/> + <xsl:variable name="sig" select="java:cpp-to-java-signature(.)"/> + /** SIGNAL <xsl:value-of select="."/> */ + </xsl:template> + + <!-- + ** Put the definition of tabstops + ** @param data opaque data for user purpose + --> + <xsl:template name="putTabstops"> + <xsl:param name="data"/> + <xsl:variable name="widgets" select="count(/UI/tabstops/tabstop)"/> + <xsl:for-each select="/UI/tabstops/tabstop"> + <xsl:variable name="pos" select="position()"/> + <xsl:if test="$pos < $widgets"> + <xsl:value-of select="$nlIndent8"/> + <xsl:text>setTabOrder(</xsl:text> + <xsl:value-of select="."/> + <xsl:text>, </xsl:text> + <xsl:value-of select="/UI/tabstops/tabstop[$pos + 1]"/> + <xsl:text>);</xsl:text> + </xsl:if> + </xsl:for-each> + </xsl:template> + + <!-- + ** Put the class footer. + ** Here it is nothing more, but a closing brace + ** @param data opaque data for user purpose + --> + <xsl:template name="putClassFooter"> + <xsl:param name="data"/> + <xsl:value-of select="$newline"/> + <xsl:text>}</xsl:text> + <xsl:value-of select="$newline"/> + </xsl:template> + +</xsl:stylesheet> + diff --git a/qtjava/designer/juic/java/util.xsl b/qtjava/designer/juic/java/util.xsl new file mode 100644 index 00000000..7d3c2191 --- /dev/null +++ b/qtjava/designer/juic/java/util.xsl @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- + ** Author: Marco Ladermann <marco.ladermann@gmx.de> + ** Date: Fri Mar 28 18:37:09 CET 2003 @775 /Internet Time/ + ** + ** This software is free software. It is released under the terms of the + ** GNU Lesser General Public Licence (LGPL) + ** see http://www.gnu.org/copyleft/lesser.html + ** + ** These stylesheets are distributed in the hope that they will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + --> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:func="http://exslt.org/functions" + xmlns:date="http://exslt.org/dates-and-times" + xmlns:kde="http://kde.org/functions" + xmlns:java="http://kde.org/java" + extension-element-prefixes="func" + > + <!-- + ** Utility functions for java output + --> + + <!-- Are images in the ui file or in the project or loaded via function ? --> + <func:function name="java:getPixmap"> + <xsl:param name="image" select="."/> + <func:result> + <xsl:choose> + <xsl:when test="/UI/pixmapfunction"> + <xsl:value-of select="concat(/UI/pixmapfunction,'( ',$image, ' )')"/> + </xsl:when> + <xsl:when test="/UI/pixmapinproject"> + <xsl:value-of select="concat('QPixmap.fromMimeSource( "', + $images, + $image, + '" )')"/> + + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$image"/> + </xsl:otherwise> + </xsl:choose> + </func:result> + </func:function> + + <!-- Function to generate the appropriate translate function for strings --> + <func:function name="java:tr"> + <xsl:param name="isUtf8"/> + <func:result> + <xsl:choose> + <xsl:when test="string($isUtf8) = 'true'"> + <xsl:text>trUtf8</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>tr</xsl:text> + </xsl:otherwise> + </xsl:choose> + </func:result> + </func:function> + + <!-- Helper function to calculate the name of the containing node --> + <func:function name="java:getNodeName"> + <xsl:param name="node" select="."/> + <func:result> + <xsl:variable name="nn" select="kde:getNodeName($node)"/> + <xsl:choose> + <xsl:when test="$nn = /UI/widget/property[@name = 'name']/cstring"> + <xsl:value-of select="'this'"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$nn"/> + </xsl:otherwise> + </xsl:choose> + </func:result> + </func:function> + + <!-- Helper function to calculate the name of the containing container --> + <func:function name="java:getContainerName"> + <xsl:param name="node" select="."/> + <func:result> + <xsl:choose> + <xsl:when test="$node = /UI/widget and /UI/widget/@class = 'QMainWindow'"> + <xsl:value-of select="'centralWidget()'"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="java:getNodeName($node)"/> + </xsl:otherwise> + </xsl:choose> + </func:result> + </func:function> + + <!-- + ** Change signal/slot signature + --> + <func:function name="java:cpp-to-java-signature"> + <xsl:param name="node"/> + <func:result> + <xsl:variable name="s1" select="translate($node, '&*', ' ')"/> + <xsl:variable name="s2" select="kde:replace($s1, 'QString', 'String')"/> + <xsl:variable name="s3" select="kde:replace($s2, 'const', '')"/> + <xsl:variable name="s4" select="kde:replace($s3, 'virtual', '')"/> + <xsl:variable name="s5" select="kde:replace($s4, 'bool', 'boolean')"/> + <xsl:variable name="result" select="$s5"/> + <xsl:if test="$node != $result"> + <xsl:variable name="path" select="kde:printPath($node)"/> + <xsl:message> +In element at <xsl:value-of select="$path"/>: +signature changed from C++: <xsl:value-of select="$node"/> + to Java: <xsl:value-of select="$result"/> + </xsl:message> + </xsl:if> + <xsl:value-of select="$result"/> + </func:result> + </func:function> + + <!-- + ** Mask backslash and quote characters + --> + <func:function name="java:toJavaString"> + <xsl:param name="text"/> + <func:result> + <xsl:variable name="s1" select="kde:replace($text, '\', '\\')"/> + <xsl:variable name="s2" select="kde:replace($s1, '"', '\"')" /> + <xsl:variable name="s3" select="kde:replace($s2, '
', '\n')" /> + <xsl:variable name="s4" select="kde:replace($s3, '
', '\r')" /> + <xsl:variable name="result" select="$s4" /> + <xsl:value-of select="$result"/> + </func:result> + </func:function> +</xsl:stylesheet> + diff --git a/qtjava/designer/juic/juic.xsl b/qtjava/designer/juic/juic.xsl new file mode 100644 index 00000000..d72060b2 --- /dev/null +++ b/qtjava/designer/juic/juic.xsl @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- + ** Author: Marco Ladermann + ** Date: Thu Sep 12 20:57:21 CEST 2002 @831 /Internet Time/ + ** Purpose: + ** Changed: + ** + ** This software is free software. It is released under the terms of the + ** GNU Lesser General Public Licence (LGPL) + ** see http://www.gnu.org/copyleft/lesser.html + ** + ** These stylesheets are distributed in the hope that they will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + --> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" +> + + <xsl:import href="java/param.xsl"/> + <xsl:import href="common/main.xsl"/> + <xsl:import href="java/put.xsl"/> + +</xsl:stylesheet> + |