From 90825e2392b2d70e43c7a25b8a3752299a933894 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: 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 --- qtjava/designer/juic/java/put.xsl | 486 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 486 insertions(+) create mode 100644 qtjava/designer/juic/java/put.xsl (limited to 'qtjava/designer/juic/java/put.xsl') 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Using output file with Exslt extension + + + + + + Using output file with Saxon extension + + + + + + Using output file with Xalan extension + + + + + + Using stdout + + + + + + + + + + + /* + * .java + * + * This class is generated from a UI description generated by + * the QtDesigner with XSLT. + * + * DO NOT EDIT! File will be overidden + * + * Author: + + + * Date: + + * Comment: + + + */ + + + + + + + + + + package + + ; + + + + + + + + + + + + + + + + + + Create imports to handle Images + + + + + + + + + + + +/** + * a user interface class using Qt + */ + + + public + + abstract + + class + + + extends + + + { + + + static { + // initialize the toolkit + org.kde.qt.qtjava.initialize(); + + org.kde.koala.kdejava.initialize(); + + } + + + + + + + Creating code for image + + + + protected QPixmap + + = decodePixmap( + + , " + + ", + + + true + + + false + + + ); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /** + * Constructor for class + */ + public () { + this(null, "", WType_TopLevel); + } + + /** + * Constructor for class + * @param parent the parent widget of this class + */ + public (QWidget parent) { + this(parent, "", WType_TopLevel); + } + + /** + * Constructor for class + * @param parent the patent widget of this class + * @param name the name of the widget + */ + public (QWidget parent, String name) { + this(parent, name, WType_TopLevel); + } + + /** + * Constructor for class + * @param parent the patent widget of this class + * @param name the name of the widget + * @param modal modality of the widget + */ + public (QWidget parent, String name, boolean modal) { + this(parent, name, modal, WType_TopLevel); + } + + /** + * Constructor for class + * @param parent the patent widget of this class + * @param name the name of the widget + * @param flags some "or"ed properties + */ + public (QWidget parent, String name, int flags) { + super(parent, name, flags); + + statusBar(); + + if (name == null) setName(""); + + // setup widgets + + + // setup databases + + + // setup actions + + + // setup toolbar + + + // setup menubar + + + resize(size().expandedTo(minimumSizeHint())); + + // signals and slots connections + + + // tabstops + + } + + + + + + + + + + + + + + + .insert( + + , " + + " ); + + + + + + + + + + + + + + + Error in slot: + A private method can't be overriden. + + Generating slot " + /** + * SLOT + */ + + + ; + + + { + qWarning("Warning: SLOT \"\" must be overridden"); + + + + return 0; + + + return '\0' + + + return 0.0; + + return null; + + + } + + + + + + + + + /** SIGNAL */ + + + + + + + + + + + setTabOrder( + + , + + ); + + + + + + + + + } + + + + + -- cgit v1.2.1