diff options
Diffstat (limited to 'qtsharp')
119 files changed, 42920 insertions, 0 deletions
diff --git a/qtsharp/AUTHORS b/qtsharp/AUTHORS new file mode 100644 index 00000000..14d41b0d --- /dev/null +++ b/qtsharp/AUTHORS @@ -0,0 +1,3 @@ +Adam Treat <manyoso@yahoo.com> +Marcus Urban murban@houston.rr.com> +Nicholas Zigarovich <nick@chemlab.org> diff --git a/qtsharp/Makefile.am b/qtsharp/Makefile.am new file mode 100644 index 00000000..dfa49b2e --- /dev/null +++ b/qtsharp/Makefile.am @@ -0,0 +1,2 @@ +AUTOMAKE_OPTIONS = foreign +SUBDIRS = src diff --git a/qtsharp/README b/qtsharp/README new file mode 100644 index 00000000..84c6cd16 --- /dev/null +++ b/qtsharp/README @@ -0,0 +1,14 @@ +* Quick note ... you will need csant to build this module. I haven't +had a chance to put a ./configure check for csant yet, but I will soon. + +You can find csant with the Portable.NET tools. +URL: http://www.southern-storm.com.au/portable_net.html + +csant is in the pnet package. If you have any other problems building +please email me and I'll answer your questions: + +Adam Treat: manyoso@yahoo.com + +and + +Qt# mailing list: qtcsharp-list@lists.sourceforge.net diff --git a/qtsharp/TODO b/qtsharp/TODO new file mode 100644 index 00000000..71d412f1 --- /dev/null +++ b/qtsharp/TODO @@ -0,0 +1,70 @@ +** General + +o Better error checking on method arguments in generated code. +o System.Windows.Forms implementation using Qt#. :-) +o Devise connection and event handling schemes for calling C++ + methods directly from C#. (thanks jowenn) +o Type mappings need better resolution in the generator. + +** Methods to be throttled + +o Qt reflection methods that are useless in C#, like those relating to + inheritance and class name. +o Maybe translation methods? I don't know if these could be useful from + C# or not, but I kind of doubt it, especially since Rhys gave Mono his + I18N code. +o Superfluous event handling methods in QObject. +o There should be no trace of connection code in any class except + QtSignal and QtSlot. + +** New tools + +o Need to refine generator design to support the above tools. +o Signals and slots should be identified in the API XML representation. In + particular, signal information must be present so we know to DllImport + them so we can connect C# signals to C++ signals. +o Tools should identify what underlying type enums should use in C#. + For example. the QStyle enum problem. + +** Classes needing converted to C# types moving in and out of methods + +QDate, QTime, QDateTime, QDir, QFile*, QDict*, QDns, QFtp, QHttp, +QUrl*, QHostAddress, QGL*, QInt*, QIODevice, QString*, QMap + +o QPROPERTYs + +** Classes needing attention, discussion or throttling + +QTimeEdit, QDateTimeEdit, QHebrewCodec, QJisCodec, QTsciiCodec, QPtr*, +QHeader (needed?), QLibrary (hehe), QNetwork*, QInt*, QNS*, QStr*, +QText*Stream, QTextCodec*, QText[En|De]coder, QThread, QWaitCondition, +QTimer, QValidator, QValue*, QWidgetStack, QXml*, QXt* + +** MI Classes (very incomplete list) + +o Some QGL* classes + +** Build Environment todo + +o Write better library detection macros for autoconf. +o Use QTDIR when searching for Qt stuff. +o See if thre's a way to use LD_LIBRARY_PATH when hunting for libraries. +o Set up cvsignore files. +o Organize Qt.dll Makefile stuffs - maybe use external targets for building + the gargle-blaster foo muncher, csc, and mono. + +** Signals/Slots + +o Need error checking in Emit. Signal arguments should be compared to the + actual arguments provided. The current setup will make it hard for users + with buggy code to know what the problem is. +o Must research how Qt/C++ handles signals connected to slots that don't + have matching argument lists. I know its supported, but I don't know to + what extend. +o Use method access to determine what connections are allowed. + +** Object model + +o Ctors aren't the only way children can be added to a parent; for example, + QBoxLayout.AddLayout adds a layout as a child. Need to identify all such + instances and code accordingly. diff --git a/qtsharp/configure.in.in b/qtsharp/configure.in.in new file mode 100644 index 00000000..516349b1 --- /dev/null +++ b/qtsharp/configure.in.in @@ -0,0 +1,10 @@ +AC_LANG_CPLUSPLUS + +# Check for programs... +AC_PROG_CXX +AC_PROG_LIBTOOL +KDE_CHECK_CLI +KDE_CHECK_CS_COMPILER + +# Other stuff... +AC_PATH_XTRA diff --git a/qtsharp/doc/dtd/annotation.dtd b/qtsharp/doc/dtd/annotation.dtd new file mode 100644 index 00000000..29e004d6 --- /dev/null +++ b/qtsharp/doc/dtd/annotation.dtd @@ -0,0 +1,65 @@ +<!-- Qt# API annotation XML DTD --> + +<!ELEMENT Annotation (Prepend | Append | Create | Replace | Namespace)+ > + +<!-- Formatting elements --> + +<!ELEMENT Prepend (Constructor | Method | Field | Property | Destructor)+ > +<!ELEMENT Append (Constructor | Method | Field | Property | Destructor)+ > +<!ELEMENT Create (Constructor | Method | Field | Property | Destructor)+ > +<!ELEMENT Replace (Constructor | Method | Field | Property | Destructor)+ > + +<!-- API elements --> + +<!ELEMENT Namespace (Using | Class | Interface | Enum)+ > +<!ATTLIST Namespace Name CDATA #REQUIRED > + +<!ELEMENT Using EMPTY > +<!ATTLIST Using Name CDATA #REQUIRED > + +<!ELEMENT Class (Using | Prepend | Append | Create | Replace)+ > +<!ATTLIST Class Name CDATA #REQUIRED > + +<!ELEMENT Field EMPTY > +<!ATTLIST Field + Name CDATA #REQUIRED + Type CDATA #REQUIRED + Access CDATA #REQUIRED +> + +<!ELEMENT Property (Get | Set)+ > +<!ATTLIST Property + Name CDATA #REQUIRED + Type CDATA #REQUIRED + Access CDATA #REQUIRED + ReadOnly CDATA #IMPLIED +> + +<!ELEMENT Get (Code)+ > +<!ELEMENT Set (Code)+ > + +<!ELEMENT Parameter EMPTY > +<!ATTLIST Parameter + Name CDATA #REQUIRED + Type CDATA #REQUIRED +> + +<!ELEMENT Constructor (Parameter | Code)* > +<!ATTLIST Constructor + Name CDATA #IMPLIED + Access CDATA #IMPLIED +> + +<!ELEMENT Destructor (Code)* > + +<!ELEMENT Method (Parameter | Code)* > +<!ATTLIST Method + Name CDATA #REQUIRED + Access CDATA #REQUIRED + Static CDATA #IMPLIED + Virtual CDATA #IMPLIED + Return CDATA #REQUIRED + MethodType CDATA #IMPLIED +> + +<!ELEMENT Code (#PCDATA) > diff --git a/qtsharp/doc/dtd/api.dtd b/qtsharp/doc/dtd/api.dtd new file mode 100644 index 00000000..c0b9506d --- /dev/null +++ b/qtsharp/doc/dtd/api.dtd @@ -0,0 +1,79 @@ +<!-- Qt# parser/generator API XML DTD --> + +<!ELEMENT API (Namespace)+ > + +<!ELEMENT Namespace (Namespace | Class | Enum)+ > +<!ATTLIST Namespace Name CDATA #REQUIRED > + +<!ELEMENT Class (Ancestor | Field | Property | Constructor | Destructor | Method | Enum)+ > +<!ATTLIST Class Name CDATA #REQUIRED > + +<!ELEMENT Ancestor EMPTY > +<!ATTLIST Ancestor Name CDATA #REQUIRED > + +<!ELEMENT Field EMPTY > +<!ATTLIST Field + Name CDATA #REQUIRED + Type CDATA #REQUIRED + Access CDATA #REQUIRED + Static CDATA #IMPLIED + ReadOnly CDATA #IMPLIED +> + +<!ELEMENT Property (Parameter) > +<!ATTLIST Property + Name CDATA #REQUIRED + Type CDATA #IMPLIED + ReadOnly CDATA #IMPLIED +> + +<!ELEMENT Parameter (ATTRIBUTE) > +<!ATTLIST Parameter + Name CDATA #REQUIRED + Type CDATA #REQUIRED + PassBy CDATA #IMPLIED + Const CDATA #IMPLIED + Unsigned CDATA #IMPLIED + Default CDATA #IMPLIED +> + +<!ELEMENT Constructor (Parameter)* > +<!ATTLIST Constructor + Name CDATA #IMPLIED + Access CDATA #REQUIRED + Id CDATA #IMPLIED +> + +<!ELEMENT Destructor EMPTY > +<!ATTLIST Destructor Name CDATA #IMPLIED > + +<!ELEMENT Method (ReturnType, Parameter*) > +<!ATTLIST Method + Name CDATA #REQUIRED + Access CDATA #REQUIRED + Const CDATA #IMPLIED + Static CDATA #IMPLIED + Virtual CDATA #IMPLIED + MethodType CDATA #IMPLIED + Id CDATA #IMPLIED +> + +<!ELEMENT ReturnType EMPTY > +<!ATTLIST ReturnType + Type CDATA #ACCESS + PassBy CDATA #IMPLIED + Const CDATA #IMPLIED + Unsigned CDATA #IMPLIED +> + +<!ELEMENT Enum (EnumItem)+ > +<!ATTLIST Enum + Name CDATA #REQUIRED + Unsigned CDATA #IMPLIED +> + +<!ELEMENT EnumItem EMPTY > +<!ATTLIST EnumItem + Name CDATA #REQUIRED + Value CDATA #REQUIRED +> diff --git a/qtsharp/src/Makefile.am b/qtsharp/src/Makefile.am new file mode 100644 index 00000000..b7388c8e --- /dev/null +++ b/qtsharp/src/Makefile.am @@ -0,0 +1,2 @@ +SUBDIRS = generator libqtsharp bindings examples + diff --git a/qtsharp/src/api/qt.xml b/qtsharp/src/api/qt.xml new file mode 100644 index 00000000..29fc39ea --- /dev/null +++ b/qtsharp/src/api/qt.xml @@ -0,0 +1,23157 @@ +<qtypes> +<qtype name="QAccel" access="public"> + <qancestor name="QObject"/> + <qctor name="QAccel" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QAccel" access="public" id="1"> + <qparam type="QWidget*" name="watch"/> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QAccel" access="public"/> + <qmethod name="isEnabled" access="public" return="bool" id="0"/> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="insertItem" access="public" return="int" id="0"> + <qparam type="QKeySequenceamp" name="key"/> + <qparam type="int" name="identifier" default="-1"/> + </qmethod> + <qmethod name="removeItem" access="public" return="void" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="key" access="public" return="QKeySequence" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="findKey" access="public" return="int" id="0"> + <qparam type="QKeySequenceamp" name="key"/> + </qmethod> + <qmethod name="isItemEnabled" access="public" return="bool" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="setItemEnabled" access="public" return="void" id="0"> + <qparam type="int" name="identifier"/> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="connectItem" access="public" return="bool" id="0"> + <qparam type="int" name="identifier"/> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + </qmethod> + <qmethod name="disconnectItem" access="public" return="bool" id="0"> + <qparam type="int" name="identifier"/> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + </qmethod> + <qmethod name="repairEventFilter" access="public" return="void" id="0"/> + <qmethod name="setWhatsThis" access="public" return="void" id="0"> + <qparam type="int" name="identifier"/> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="whatsThis" access="public" return="QString" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="setIgnoreWhatsThis" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="ignoreWhatsThis" access="public" return="bool" id="0"/> + <qmethod name="shortcutKey" access="public static" return="QKeySequence" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="keyToString" access="public static" return="QString" id="0"> + <qparam type="QKeySequence" name="k"/> + </qmethod> + <qmethod name="stringToKey" access="public static" return="QKeySequence" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="protected_eventFilter" access="protected" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> +</qtype> <qtype name="QAccessible" access="public"> + <qenum name="Event" access="public"> + <qitem name="SoundPlayed" value="1"/> + <qitem name="Alert" value="2"/> + <qitem name="ForegroundChanged" value="3"/> + <qitem name="MenuStart" value="4"/> + <qitem name="MenuEnd" value="5"/> + <qitem name="PopupMenuStart" value="6"/> + <qitem name="PopupMenuEnd" value="7"/> + <qitem name="ContextHelpStart" value="12"/> + <qitem name="ContextHelpEnd" value="13"/> + <qitem name="DragDropStart" value="14"/> + <qitem name="DragDropEnd" value="15"/> + <qitem name="DialogStart" value="16"/> + <qitem name="DialogEnd" value="17"/> + <qitem name="ScrollingStart" value="18"/> + <qitem name="ScrollingEnd" value="19"/> + <qitem name="MenuCommand" value="24"/> + <qitem name="ObjectCreated" value="32768"/> + <qitem name="ObjectDestroyed" value="32769"/> + <qitem name="ObjectShow" value="32770"/> + <qitem name="ObjectHide" value="32771"/> + <qitem name="ObjectReorder" value="32772"/> + <qitem name="Focus" value="32773"/> + <qitem name="Selection" value="32774"/> + <qitem name="SelectionAdd" value="32775"/> + <qitem name="SelectionRemove" value="32776"/> + <qitem name="SelectionWithin" value="32777"/> + <qitem name="StateChanged" value="32778"/> + <qitem name="LocationChanged" value="32779"/> + <qitem name="NameChanged" value="32780"/> + <qitem name="DescriptionChanged" value="32781"/> + <qitem name="ValueChanged" value="32782"/> + <qitem name="ParentChanged" value="32783"/> + <qitem name="HelpChanged" value="32928"/> + <qitem name="DefaultActionChanged" value="32944"/> + <qitem name="AcceleratorChanged" value="32960"/> + </qenum> + <qenum name="State" access="public"> + <qitem name="Normal" value="0"/> + <qitem name="Unavailable" value="1"/> + <qitem name="Selected" value="2"/> + <qitem name="Focused" value="4"/> + <qitem name="Pressed" value="8"/> + <qitem name="Checked" value="16"/> + <qitem name="Mixed" value="32"/> + <qitem name="ReadOnly" value="64"/> + <qitem name="HotTracked" value="128"/> + <qitem name="Default" value="256"/> + <qitem name="Expanded" value="512"/> + <qitem name="Collapsed" value="1024"/> + <qitem name="Busy" value="2048"/> + <qitem name="Floating" value="4096"/> + <qitem name="Marqueed" value="8192"/> + <qitem name="Animated" value="16384"/> + <qitem name="Invisible" value="32768"/> + <qitem name="Offscreen" value="65536"/> + <qitem name="Sizeable" value="131072"/> + <qitem name="Moveable" value="262144"/> + <qitem name="SelfVoicing" value="524288"/> + <qitem name="Focusable" value="1048576"/> + <qitem name="Selectable" value="2097152"/> + <qitem name="Linked" value="4194304"/> + <qitem name="Traversed" value="8388608"/> + <qitem name="MultiSelectable" value="16777216"/> + <qitem name="ExtSelectable" value="33554432"/> + <qitem name="AlertLow" value="67108864"/> + <qitem name="AlertMedium" value="134217728"/> + <qitem name="AlertHigh" value="268435456"/> + <qitem name="Protected" value="536870912"/> + <qitem name="Valid" value="1073741823"/> + </qenum> + <qenum name="Role" access="public"> + <qitem name="NoRole" value="0"/> + <qitem name="TitleBar" value="1"/> + <qitem name="MenuBar" value="2"/> + <qitem name="ScrollBar" value="3"/> + <qitem name="Grip" value="4"/> + <qitem name="Sound" value="5"/> + <qitem name="Cursor" value="6"/> + <qitem name="Caret" value="7"/> + <qitem name="AlertMessage" value="8"/> + <qitem name="Window" value="9"/> + <qitem name="Client" value="10"/> + <qitem name="PopupMenu" value="11"/> + <qitem name="MenuItem" value="12"/> + <qitem name="ToolTip" value="13"/> + <qitem name="Application" value="14"/> + <qitem name="Document" value="15"/> + <qitem name="Pane" value="16"/> + <qitem name="Chart" value="17"/> + <qitem name="Dialog" value="18"/> + <qitem name="Border" value="19"/> + <qitem name="Grouping" value="20"/> + <qitem name="Separator" value="21"/> + <qitem name="ToolBar" value="22"/> + <qitem name="StatusBar" value="23"/> + <qitem name="Table" value="24"/> + <qitem name="ColumnHeader" value="25"/> + <qitem name="RowHeader" value="26"/> + <qitem name="Column" value="27"/> + <qitem name="Row" value="28"/> + <qitem name="Cell" value="29"/> + <qitem name="Link" value="30"/> + <qitem name="HelpBalloon" value="31"/> + <qitem name="Character" value="32"/> + <qitem name="List" value="33"/> + <qitem name="ListItem" value="34"/> + <qitem name="Outline" value="35"/> + <qitem name="OutlineItem" value="36"/> + <qitem name="PageTab" value="37"/> + <qitem name="PropertyPage" value="38"/> + <qitem name="Indicator" value="39"/> + <qitem name="Graphic" value="40"/> + <qitem name="StaticText" value="41"/> + <qitem name="EditableText" value="42"/> + <qitem name="PushButton" value="43"/> + <qitem name="CheckBox" value="44"/> + <qitem name="RadioButton" value="45"/> + <qitem name="ComboBox" value="46"/> + <qitem name="DropLest" value="47"/> + <qitem name="ProgressBar" value="48"/> + <qitem name="Dial" value="49"/> + <qitem name="HotkeyField" value="50"/> + <qitem name="Slider" value="51"/> + <qitem name="SpinBox" value="52"/> + <qitem name="Diagram" value="53"/> + <qitem name="Animation" value="54"/> + <qitem name="Equation" value="55"/> + <qitem name="ButtonDropDown" value="56"/> + <qitem name="ButtonMenu" value="57"/> + <qitem name="ButtonDropGrid" value="58"/> + <qitem name="Whitespace" value="59"/> + <qitem name="PageTabList" value="60"/> + <qitem name="Clock" value="61"/> + </qenum> + <qenum name="NavDirection" access="public"> + <qitem name="NavUp" value="1"/> + <qitem name="NavDown" value="2"/> + <qitem name="NavLeft" value="3"/> + <qitem name="NavRight" value="4"/> + <qitem name="NavNext" value="5"/> + <qitem name="NavPrevious" value="6"/> + <qitem name="NavFirstChild" value="7"/> + <qitem name="NavLastChild" value="8"/> + <qitem name="NavFocusChild" value="9"/> + </qenum> + <qenum name="Text" access="public"> + <qitem name="Name" value="0"/> + <qitem name="Description" value="1"/> + <qitem name="Value" value="2"/> + <qitem name="Help" value="3"/> + <qitem name="Accelerator" value="4"/> + <qitem name="DefaultAction" value="5"/> + </qenum> + <qmethod name="queryAccessibleInterface" access="public static" return="QRESULT" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QAccessibleInterface**" name="arg2"/> + </qmethod> + <qmethod name="updateAccessibility" access="public static" return="void" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="int" name="who"/> + <qparam type="Event" name="reason"/> + </qmethod> +</qtype> <qtype name="QAccessibleFactoryInterface" access="public"> + <qancestor name="QAccessible"/> + <qancestor name="QFeatureListInterface"/> + <qmethod name="createAccessibleInterface" access="public" return="QRESULT" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QObject*" name="arg2"/> + <qparam type="QAccessibleInterface**" name="arg3"/> + </qmethod> +</qtype> <qtype name="QAccessibleInterface" access="public"> + <qancestor name="QAccessible"/> + <qancestor name="QUnknownInterface"/> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="childCount" access="public" return="int" id="0"/> + <qmethod name="queryChild" access="public" return="QRESULT" id="0"> + <qparam type="int" name="control"/> + <qparam type="QAccessibleInterface**" name="arg1"/> + </qmethod> + <qmethod name="queryParent" access="public" return="QRESULT" id="0"> + <qparam type="QAccessibleInterface**" name="arg1"/> + </qmethod> + <qmethod name="controlAt" access="public" return="int" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="rect" access="public" return="QRect" id="0"> + <qparam type="int" name="control"/> + </qmethod> + <qmethod name="navigate" access="public" return="int" id="0"> + <qparam type="NavDirection" name="direction"/> + <qparam type="int" name="startControl"/> + </qmethod> + <qmethod name="text" access="public" return="QString" id="0"> + <qparam type="Text" name="t"/> + <qparam type="int" name="control"/> + </qmethod> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="Text" name="t"/> + <qparam type="int" name="control"/> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="role" access="public" return="Role" id="0"> + <qparam type="int" name="control"/> + </qmethod> + <qmethod name="state" access="public" return="QAccessible.State" id="0"> + <qparam type="int" name="control"/> + </qmethod> + <qmethod name="doDefaultAction" access="public" return="bool" id="0"> + <qparam type="int" name="control"/> + </qmethod> + <qmethod name="setFocus" access="public" return="bool" id="0"> + <qparam type="int" name="control"/> + </qmethod> + <qmethod name="setSelected" access="public" return="bool" id="0"> + <qparam type="int" name="control"/> + <qparam type="bool" name="on"/> + <qparam type="bool" name="extend"/> + </qmethod> + <qmethod name="clearSelection" access="public" return="void" id="0"/> +</qtype> <qtype name="QAccessibleObject" access="public"> + <qancestor name="QAccessibleInterface"/> + <qancestor name="QObject"/> + <qctor name="QAccessibleObject" access="public" id="0"> + <qparam type="QObject*" name="object"/> + </qctor> + <qdctor name="QAccessibleObject" access="public"/> + <qmethod name="queryInterface" access="public" return="QRESULT" id="0"> + <qparam type="QUuidamp" name="arg1"/> + <qparam type="QUnknownInterface**" name="arg2"/> + </qmethod> + <qmethod name="isValid" access="public" return="Q_REFCOUNT bool" id="0"/> + <qmethod name="protected_object" access="protected" return="QObject*" id="0"/> +</qtype> <qtype name="QAction" access="public"> + <qancestor name="QObject"/> + <qctor name="QAction" access="public" id="0"> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="bool" name="toggle" default="FALSE"/> + </qctor> + <qctor name="QAction" access="public" id="1"> + <qparam type="QStringamp" name="text"/> + <qparam type="QIconSetamp" name="icon"/> + <qparam type="QStringamp" name="menuText"/> + <qparam type="QKeySequence" name="accel"/> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="bool" name="toggle" default="FALSE"/> + </qctor> + <qctor name="QAction" access="public" id="2"> + <qparam type="QStringamp" name="text"/> + <qparam type="QStringamp" name="menuText"/> + <qparam type="QKeySequence" name="accel"/> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="bool" name="toggle" default="FALSE"/> + </qctor> + <qdctor name="QAction" access="public"/> + <qmethod name="setIconSet" access="public" return="void" id="0"> + <qparam type="QIconSetamp" name="arg1"/> + </qmethod> + <qmethod name="iconSet" access="public" return="QIconSet" id="0"/> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="setMenuText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="menuText" access="public" return="QString" id="0"/> + <qmethod name="setToolTip" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="toolTip" access="public" return="QString" id="0"/> + <qmethod name="setStatusTip" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="statusTip" access="public" return="QString" id="0"/> + <qmethod name="setWhatsThis" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="whatsThis" access="public" return="QString" id="0"/> + <qmethod name="setAccel" access="public" return="void" id="0"> + <qparam type="QKeySequenceamp" name="key"/> + </qmethod> + <qmethod name="accel" access="public" return="QKeySequence" id="0"/> + <qmethod name="setToggleAction" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isToggleAction" access="public" return="bool" id="0"/> + <qmethod name="isOn" access="public" return="bool" id="0"/> + <qmethod name="isEnabled" access="public" return="bool" id="0"/> + <qmethod name="addTo" access="public" return="bool" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="removeFrom" access="public" return="bool" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="toggle" access="public" return="void" id="0"/> + <qmethod name="setOn" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_addedTo" access="protected" return="void" id="0"> + <qparam type="QWidget*" name="actionWidget"/> + <qparam type="QWidget*" name="container"/> + </qmethod> + <qmethod name="protected_addedTo" access="protected" return="void" id="1"> + <qparam type="int" name="index"/> + <qparam type="QPopupMenu*" name="menu"/> + </qmethod> +</qtype> <qtype name="QActionGroup" access="public"> + <qancestor name="QAction"/> + <qctor name="QActionGroup" access="public" id="0"> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="bool" name="exclusive" default="TRUE"/> + </qctor> + <qdctor name="QActionGroup" access="public"/> + <qmethod name="setExclusive" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isExclusive" access="public" return="bool" id="0"/> + <qmethod name="add" access="public" return="void" id="0"> + <qparam type="QAction*" name="a"/> + </qmethod> + <qmethod name="addSeparator" access="public" return="void" id="0"/> + <qmethod name="addTo" access="public" return="bool" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="removeFrom" access="public" return="bool" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setUsesDropDown" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="usesDropDown" access="public" return="bool" id="0"/> + <qmethod name="setIconSet" access="public" return="void" id="0"> + <qparam type="QIconSetamp" name="arg1"/> + </qmethod> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setMenuText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setToolTip" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setWhatsThis" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="QAction*" name="a"/> + </qmethod> + <qmethod name="protected_addedTo" access="protected" return="void" id="0"> + <qparam type="QWidget*" name="actionWidget"/> + <qparam type="QWidget*" name="container"/> + <qparam type="QAction*" name="a"/> + </qmethod> + <qmethod name="protected_addedTo" access="protected" return="void" id="1"> + <qparam type="int" name="index"/> + <qparam type="QPopupMenu*" name="menu"/> + <qparam type="QAction*" name="a"/> + </qmethod> + <qmethod name="protected_addedTo" access="protected" return="void" id="2"> + <qparam type="QWidget*" name="actionWidget"/> + <qparam type="QWidget*" name="container"/> + </qmethod> + <qmethod name="protected_addedTo" access="protected" return="void" id="3"> + <qparam type="int" name="index"/> + <qparam type="QPopupMenu*" name="menu"/> + </qmethod> +</qtype> <qtype name="QApplication" access="public"> + <qancestor name="QObject"/> + <qenum name="Type" access="public"> + <qitem name="Tty" value="0"/> + <qitem name="GuiClient" value="1"/> + <qitem name="GuiServer" value="2"/> + </qenum> + <qenum name="ColorMode" access="public"> + <qitem name="NormalColors" value="0"/> + <qitem name="CustomColors" value="1"/> + </qenum> + <qenum name="ColorSpec" access="public"> + <qitem name="NormalColor" value="0"/> + <qitem name="CustomColor" value="1"/> + <qitem name="ManyColor" value="2"/> + </qenum> + <qenum name="Encoding" access="public"> + <qitem name="DefaultCodec" value="0"/> + <qitem name="UnicodeUTF8" value="1"/> + </qenum> + <qctor name="QApplication" access="public" id="0"> + <qparam type="intamp" name="argc"/> + <qparam type="char**" name="argv"/> + </qctor> + <qctor name="QApplication" access="public" id="1"> + <qparam type="intamp" name="argc"/> + <qparam type="char**" name="argv"/> + <qparam type="bool" name="GUIenabled"/> + </qctor> + <qctor name="QApplication" access="public" id="2"> + <qparam type="intamp" name="argc"/> + <qparam type="char**" name="argv"/> + <qparam type="Type" name="arg1"/> + </qctor> + <qctor name="QApplication" access="public" id="3"> + <qparam type="Display*" name="dpy"/> + <qparam type="HANDLE" name="visual" default="0"/> + <qparam type="HANDLE" name="cmap" default="0"/> + </qctor> + <qctor name="QApplication" access="public" id="4"> + <qparam type="Display*" name="dpy"/> + <qparam type="int" name="argc"/> + <qparam type="char**" name="argv"/> + <qparam type="HANDLE" name="visual" default="0"/> + <qparam type="HANDLE" name="cmap" default="0"/> + </qctor> + <qdctor name="QApplication" access="public"/> + <qmethod name="argc" access="public" return="int" id="0"/> + <qmethod name="argv" access="public" return="char**" id="0"/> + <qmethod name="type" access="public" return="Type" id="0"/> + <qmethod name="mainWidget" access="public" return="QWidget*" id="0"/> + <qmethod name="setMainWidget" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="polish" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="focusWidget" access="public" return="QWidget*" id="0"/> + <qmethod name="activeWindow" access="public" return="QWidget*" id="0"/> + <qmethod name="exec" access="public" return="int" id="0"/> + <qmethod name="processEvents" access="public" return="void" id="0"/> + <qmethod name="processEvents" access="public" return="void" id="1"> + <qparam type="int" name="maxtime"/> + </qmethod> + <qmethod name="hasPendingEvents" access="public" return="bool" id="0"/> + <qmethod name="enter_loop" access="public" return="int" id="0"/> + <qmethod name="exit_loop" access="public" return="void" id="0"/> + <qmethod name="loopLevel" access="public" return="int" id="0"/> + <qmethod name="notify" access="public" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> + <qmethod name="setDefaultCodec" access="public" return="void" id="0"> + <qparam type="QTextCodec*" name="arg1"/> + </qmethod> + <qmethod name="defaultCodec" access="public" return="QTextCodec*" id="0"/> + <qmethod name="installTranslator" access="public" return="void" id="0"> + <qparam type="QTranslator*" name="arg1"/> + </qmethod> + <qmethod name="removeTranslator" access="public" return="void" id="0"> + <qparam type="QTranslator*" name="arg1"/> + </qmethod> + <qmethod name="translate" access="public" return="QString" id="0"> + <qparam type="char*" name="context"/> + <qparam type="char*" name="key"/> + <qparam type="char*" name="comment" default="0"/> + <qparam type="Encoding" name="encoding" default="DefaultCodec"/> + </qmethod> + <qmethod name="macEventFilter" access="public" return="bool" id="0"> + <qparam type="EventRef" name="arg1"/> + </qmethod> + <qmethod name="winEventFilter" access="public" return="bool" id="0"> + <qparam type="MSG*" name="arg1"/> + </qmethod> + <qmethod name="x11EventFilter" access="public" return="bool" id="0"> + <qparam type="XEvent*" name="arg1"/> + </qmethod> + <qmethod name="x11ClientMessage" access="public" return="int" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="XEvent*" name="arg2"/> + <qparam type="bool" name="passive_only"/> + </qmethod> + <qmethod name="qwsEventFilter" access="public" return="bool" id="0"> + <qparam type="QWSEvent*" name="arg1"/> + </qmethod> + <qmethod name="qwsSetCustomColors" access="public" return="void" id="0"> + <qparam type="QRgb*" name="colortable"/> + <qparam type="int" name="start"/> + <qparam type="int" name="numColors"/> + </qmethod> + <qmethod name="winFocus" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="isSessionRestored" access="public" return="bool" id="0"/> + <qmethod name="sessionId" access="public" return="QString" id="0"/> + <qmethod name="commitData" access="public" return="void" id="0"> + <qparam type="QSessionManageramp" name="sm"/> + </qmethod> + <qmethod name="saveState" access="public" return="void" id="0"> + <qparam type="QSessionManageramp" name="sm"/> + </qmethod> + <qmethod name="wakeUpGuiThread" access="public" return="void" id="0"/> + <qmethod name="lock" access="public" return="void" id="0"/> + <qmethod name="unlock" access="public" return="void" id="0"> + <qparam type="bool" name="wakeUpGui" default="TRUE"/> + </qmethod> + <qmethod name="locked" access="public" return="bool" id="0"/> + <qmethod name="tryLock" access="public" return="bool" id="0"/> + <qmethod name="setEnableRemoteControl" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + <qparam type="QUuid" name="appId" default="QUuid()"/> + </qmethod> + <qmethod name="remoteControlEnabled" access="public" return="bool" id="0"/> + <qmethod name="applicationId" access="public" return="QUuid" id="0"/> + <qmethod name="quit" access="public" return="void" id="0"/> + <qmethod name="closeAllWindows" access="public" return="void" id="0"/> + <qmethod name="style" access="public static" return="QStyleamp" id="0"/> + <qmethod name="setStyle" access="public static" return="void" id="0"> + <qparam type="QStyle*" name="arg1"/> + </qmethod> + <qmethod name="setStyle" access="public static" return="QStyle*" id="1"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="colorMode" access="public static" return="ColorMode" id="0"/> + <qmethod name="setColorMode" access="public static" return="void" id="0"> + <qparam type="QApplication::ColorMode" name="arg1"/> + </qmethod> + <qmethod name="colorSpec" access="public static" return="int" id="0"/> + <qmethod name="setColorSpec" access="public static" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="overrideCursor" access="public static" return="QCursor*" id="0"/> + <qmethod name="setOverrideCursor" access="public static" return="void" id="0"> + <qparam type="QCursoramp" name="arg1"/> + <qparam type="bool" name="replace" default="FALSE"/> + </qmethod> + <qmethod name="restoreOverrideCursor" access="public static" return="void" +id="0"/> + <qmethod name="hasGlobalMouseTracking" access="public static" return="bool" +id="0"/> + <qmethod name="setGlobalMouseTracking" access="public static" return="void" +id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="palette" access="public static" return="QPalette" id="0"> + <qparam type="QWidget*" name="arg1" default="0"/> + </qmethod> + <qmethod name="setPalette" access="public static" return="void" id="0"> + <qparam type="QPaletteamp" name="arg1"/> + <qparam type="bool" name="informWidgets" default="FALSE"/> + <qparam type="char*" name="className" default="0"/> + </qmethod> + <qmethod name="font" access="public static" return="QFont" id="0"> + <qparam type="QWidget*" name="arg1" default="0"/> + </qmethod> + <qmethod name="setFont" access="public static" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + <qparam type="bool" name="informWidgets" default="FALSE"/> + <qparam type="char*" name="className" default="0"/> + </qmethod> + <qmethod name="fontMetrics" access="public static" return="QFontMetrics" id="0"/> + <qmethod name="allWidgets" access="public static" return="QWidgetList*" id="0"/> + <qmethod name="topLevelWidgets" access="public static" return="QWidgetList*" id="0"/> + <qmethod name="desktop" access="public static" return="QDesktopWidget*" id="0"/> + <qmethod name="activePopupWidget" access="public static" return="QWidget*" id="0"/> + <qmethod name="activeModalWidget" access="public static" return="QWidget*" id="0"/> + <qmethod name="clipboard" access="public static" return="QClipboard*" id="0"/> + <qmethod name="widgetAt" access="public static" return="QWidget*" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="bool" name="child" default="FALSE"/> + </qmethod> + <qmethod name="widgetAt" access="public static" return="QWidget*" id="1"> + <qparam type="QPointamp" name="arg1"/> + <qparam type="bool" name="child" default="FALSE"/> + </qmethod> + <qmethod name="exit" access="public static" return="void" id="0"> + <qparam type="int" name="retcode" default="0"/> + </qmethod> + <qmethod name="sendPostedEvents" access="public static" return="void" id="0"> + <qparam type="QObject*" name="receiver"/> + <qparam type="int" name="event_type"/> + </qmethod> + <qmethod name="sendPostedEvents" access="public static" return="void" id="1"/> + <qmethod name="removePostedEvents" access="public static" return="void" id="0"> + <qparam type="QObject*" name="receiver"/> + </qmethod> + <qmethod name="startingUp" access="public static" return="bool" id="0"/> + <qmethod name="closingDown" access="public static" return="bool" id="0"/> + <qmethod name="flushX" access="public static" return="void" id="0"/> + <qmethod name="flush" access="public static" return="void" id="0"/> + <qmethod name="syncX" access="public static" return="void" id="0"/> + <qmethod name="beep" access="public static" return="void" id="0"/> + <qmethod name="setWinStyleHighlightColor" access="public static" return="void" id="0"> + <qparam type="QColoramp" name="c"/> + </qmethod> + <qmethod name="winStyleHighlightColor" access="public static" return="QColoramp" id="0"/> + <qmethod name="setDesktopSettingsAware" access="public static" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="desktopSettingsAware" access="public static" return="bool" id="0"/> + <qmethod name="setCursorFlashTime" access="public static" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="cursorFlashTime" access="public static" return="int" id="0"/> + <qmethod name="setDoubleClickInterval" access="public static" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="doubleClickInterval" access="public static" return="int" id="0"/> + <qmethod name="setWheelScrollLines" access="public static" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="wheelScrollLines" access="public static" return="int" id="0"/> + <qmethod name="setGlobalStrut" access="public static" return="void" id="0"> + <qparam type="QSizeamp" name="arg1"/> + </qmethod> + <qmethod name="globalStrut" access="public static" return="QSize" id="0"/> + <qmethod name="setLibraryPaths" access="public static" return="void" id="0"> + <qparam type="QStringListamp" name="arg1"/> + </qmethod> + <qmethod name="libraryPaths" access="public static" return="QStringList" id="0"/> + <qmethod name="addLibraryPath" access="public static" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="removeLibraryPath" access="public static" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setStartDragTime" access="public static" return="void" id="0"> + <qparam type="int" name="ms"/> + </qmethod> + <qmethod name="startDragTime" access="public static" return="int" id="0"/> + <qmethod name="setStartDragDistance" access="public static" return="void" id="0"> + <qparam type="int" name="l"/> + </qmethod> + <qmethod name="startDragDistance" access="public static" return="int" id="0"/> + <qmethod name="setReverseLayout" access="public static" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="reverseLayout" access="public static" return="bool" id="0"/> + <qmethod name="horizontalAlignment" access="public static" return="int" id="0"> + <qparam type="int" name="align"/> + </qmethod> + <qmethod name="isEffectEnabled" access="public static" return="bool" id="0"> + <qparam type="Qt::UIEffect" name="arg1"/> + </qmethod> + <qmethod name="setEffectEnabled" access="public static" return="void" id="0"> + <qparam type="Qt::UIEffect" name="arg1"/> + <qparam type="bool" name="enable" default="TRUE"/> + </qmethod> + <qmethod name="qwsDecoration" access="public static" return="QWSDecorationamp" id="0"/> + <qmethod name="qwsSetDecoration" access="public static" return="void" id="0"> + <qparam type="QWSDecoration*" name="arg1"/> + </qmethod> + <qmethod name="winVersion" access="public static" return="WindowsVersion" id="0"/> + <qmethod name="winMouseButtonUp" access="public static" return="void" id="0"/> + <qmethod name="create_xim" access="public static" return="void" id="0"/> + <qmethod name="close_xim" access="public static" return="void" id="0"/> + <qmethod name="x11_apply_settings" access="public static" return="bool" id="0"/> +</qtype> <qtype name="QAsciiBucket" access="public"> + <qancestor name="QBaseBucket"/> + <qctor name="QAsciiBucket" access="public" id="0"> + <qparam type="char*" name="k"/> + <qparam type="QPtrCollection::Item" name="d"/> + <qparam type="QBaseBucket*" name="n"/> + </qctor> + <qmethod name="getKey" access="public" return="char*" id="0"/> +</qtype> <qtype name="QAsciiCache" access="public"> + <qancestor name="QGCache"/> + <qctor name="QAsciiCache" access="public" id="1"> + <qparam type="int" name="maxCost" default="100"/> + <qparam type="int" name="size" default="17"/> + <qparam type="bool" name="caseSensitive" default="TRUE"/> + <qparam type="bool" name="copyKeys" default="TRUE"/> + </qctor> + <qdctor name="QAsciiCache" access="public"/> + <qmethod name="maxCost" access="public" return="int" id="0"/> + <qmethod name="totalCost" access="public" return="int" id="0"/> + <qmethod name="setMaxCost" access="public" return="void" id="0"> + <qparam type="int" name="m"/> + </qmethod> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="size" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="insert" access="public" return="bool" id="0"> + <qparam type="char*" name="k"/> + <qparam type="type*" name="d"/> + <qparam type="int" name="c" default="1"/> + <qparam type="int" name="p" default="0"/> + </qmethod> + <qmethod name="remove" access="public" return="bool" id="0"> + <qparam type="char*" name="k"/> + </qmethod> + <qmethod name="take" access="public" return="type*" id="0"> + <qparam type="char*" name="k"/> + </qmethod> + <qmethod name="find" access="public" return="type*" id="0"> + <qparam type="char*" name="k"/> + <qparam type="bool" name="ref" default="TRUE"/> + </qmethod> + <qmethod name="statistics" access="public" return="void" id="0"/> +</qtype> <qtype name="QAsciiCacheIterator" access="public"> + <qancestor name="QGCacheIterator"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="atFirst" access="public" return="bool" id="0"/> + <qmethod name="atLast" access="public" return="bool" id="0"/> + <qmethod name="toFirst" access="public" return="type*" id="0"/> + <qmethod name="toLast" access="public" return="type*" id="0"/> + <qmethod name="current" access="public" return="type*" id="0"/> + <qmethod name="currentKey" access="public" return="char*" id="0"/> +</qtype> <qtype name="QAsciiDict" access="public"> + <qancestor name="QPtrCollection"/> + <qctor name="QAsciiDict" access="public" id="0"> + <qparam type="int" name="size" default="17"/> + <qparam type="bool" name="caseSensitive" default="TRUE"/> + <qparam type="bool" name="copyKeys" default="TRUE"/> + </qctor> + <qdctor name="QAsciiDict" access="public"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="size" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="char*" name="k"/> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="replace" access="public" return="void" id="0"> + <qparam type="char*" name="k"/> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="remove" access="public" return="bool" id="0"> + <qparam type="char*" name="k"/> + </qmethod> + <qmethod name="take" access="public" return="type*" id="0"> + <qparam type="char*" name="k"/> + </qmethod> + <qmethod name="find" access="public" return="type*" id="0"> + <qparam type="char*" name="k"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="resize" access="public" return="void" id="0"> + <qparam type="uint" name="n"/> + </qmethod> + <qmethod name="statistics" access="public" return="void" id="0"/> + <qmethod name="protected_read" access="protected" return="QDataStreamamp" id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Itemamp" name="arg2"/> + </qmethod> + <qmethod name="protected_write" access="protected" return="QDataStreamamp" id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Item" name="arg2"/> + </qmethod> +</qtype> <qtype name="QAsciiDictIterator" access="public"> + <qancestor name="QGDictIterator"/> + <qdctor name="QAsciiDictIterator" access="public"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="toFirst" access="public" return="type*" id="0"/> + <qmethod name="current" access="public" return="type*" id="0"/> + <qmethod name="currentKey" access="public" return="char*" id="0"/> +</qtype> <qtype name="QAsyncIO" access="public"> + <qdctor name="QAsyncIO" access="public"/> + <qmethod name="connect" access="public" return="void" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="char*" name="member"/> + </qmethod> + <qmethod name="protected_ready" access="protected" return="void" id="0"/> +</qtype> <qtype name="QAuBucket" access="public"> + <qdctor name="QAuBucket" access="public"/> +</qtype> <qtype name="QAuServer" access="public"> + <qancestor name="QObject"/> + <qdctor name="QAuServer" access="public"/> + <qmethod name="init" access="public" return="void" id="0"> + <qparam type="QSound*" name="arg1"/> + </qmethod> + <qmethod name="play" access="public" return="void" id="0"> + <qparam type="QStringamp" name="filename"/> + </qmethod> + <qmethod name="play" access="public" return="void" id="1"> + <qparam type="QSound*" name="arg1"/> + </qmethod> + <qmethod name="stop" access="public" return="void" id="0"> + <qparam type="QSound*" name="arg1"/> + </qmethod> + <qmethod name="okay" access="public" return="bool" id="0"/> +</qtype> <qtype name="QBaseBucket" access="public"> + <qmethod name="getData" access="public" return="QPtrCollection::Item" id="0"/> + <qmethod name="setData" access="public" return="QPtrCollection::Item" id="0"> + <qparam type="QPtrCollection::Item" name="d"/> + </qmethod> + <qmethod name="getNext" access="public" return="QBaseBucket*" id="0"/> + <qmethod name="setNext" access="public" return="void" id="0"> + <qparam type="QBaseBucket*" name="n"/> + </qmethod> + <qctor name="QBaseBucket" access="protected" id="0"> + <qparam type="QPtrCollection::Item" name="d"/> + <qparam type="QBaseBucket*" name="n"/> + </qctor> +</qtype> <qtype name="QBig5Codec" access="public"> + <qancestor name="QTextCodec"/> + <qmethod name="mibEnum" access="public" return="int" id="0"/> + <qmethod name="name" access="public" return="char*" id="0"/> + <qmethod name="makeDecoder" access="public" return="QTextDecoder*" id="0"/> + <qmethod name="fromUnicode" access="public" return="QCString" id="0"> + <qparam type="QStringamp" name="uc"/> + <qparam type="intamp" name="len_in_out"/> + </qmethod> + <qmethod name="toUnicode" access="public" return="QString" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicContentMatch" access="public" return="int" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicNameMatch" access="public" return="int" id="0"> + <qparam type="char*" name="hint"/> + </qmethod> +</qtype> <qtype name="QBitArray" access="public"> + <qancestor name="QByteArray"/> + <qctor name="QBitArray" access="public" id="0"/> + <qctor name="QBitArray" access="public" id="1"> + <qparam type="uint" name="size"/> + </qctor> + <qctor name="QBitArray" access="public" id="2"> + <qparam type="QBitArrayamp" name="a"/> + </qctor> + <qmethod name="size" access="public" return="uint" id="0"/> + <qmethod name="resize" access="public" return="bool" id="0"> + <qparam type="uint" name="size"/> + </qmethod> + <qmethod name="fill" access="public" return="bool" id="0"> + <qparam type="bool" name="v"/> + <qparam type="int" name="size" default="-1"/> + </qmethod> + <qmethod name="detach" access="public" return="void" id="0"/> + <qmethod name="copy" access="public" return="QBitArray" id="0"/> + <qmethod name="testBit" access="public" return="bool" id="0"> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="setBit" access="public" return="void" id="0"> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="setBit" access="public" return="void" id="1"> + <qparam type="uint" name="index"/> + <qparam type="bool" name="value"/> + </qmethod> + <qmethod name="clearBit" access="public" return="void" id="0"> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="toggleBit" access="public" return="bool" id="0"> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="at" access="public" return="bool" id="0"> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="protected_newData" access="protected" return="array_data*" id="0"/> + <qmethod name="protected_deleteData" access="protected" return="void" id="0"> + <qparam type="array_data*" name="d"/> + </qmethod> +</qtype> <qtype name="bitarr_data" access="public"> + <qancestor name="QGArray::array_data"/> +</qtype> <qtype name="QBitVal" access="public"> + <qctor name="QBitVal" access="public" id="0"> + <qparam type="QBitArray*" name="a"/> + <qparam type="uint" name="i"/> + </qctor> +</qtype> <qtype name="QBitmap" access="public"> + <qancestor name="QPixmap"/> + <qctor name="QBitmap" access="public" id="0"/> + <qctor name="QBitmap" access="public" id="1"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="bool" name="clear" default="FALSE"/> + <qparam type="QPixmap::Optimization" name="arg1" default="QPixmap::DefaultOptim"/> + </qctor> + <qctor name="QBitmap" access="public" id="2"> + <qparam type="QSizeamp" name="arg1"/> + <qparam type="bool" name="clear" default="FALSE"/> + <qparam type="QPixmap::Optimization" name="arg2" default="QPixmap::DefaultOptim"/> + </qctor> + <qctor name="QBitmap" access="public" id="3"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="uchar*" name="bits"/> + <qparam type="bool" name="isXbitmap" default="FALSE"/> + </qctor> + <qctor name="QBitmap" access="public" id="4"> + <qparam type="QSizeamp" name="arg1"/> + <qparam type="uchar*" name="bits"/> + <qparam type="bool" name="isXbitmap" default="FALSE"/> + </qctor> + <qctor name="QBitmap" access="public" id="5"> + <qparam type="QBitmapamp" name="arg1"/> + </qctor> + <qctor name="QBitmap" access="public" id="6"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="char*" name="format" default="0"/> + </qctor> + <qmethod name="xForm" access="public" return="QBitmap" id="0" throttle="true"> + <qparam type="QWMatrixamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QBoxLayout" access="public"> + <qancestor name="QLayout"/> + <qenum name="Direction" access="public"> + <qitem name="LeftToRight" value="0"/> + <qitem name="RightToLeft" value="1"/> + <qitem name="TopToBottom" value="2"/> + <qitem name="BottomToTop" value="3"/> + <qitem name="Down" value="TopToBottom"/> + <qitem name="Up" value="BottomToTop"/> + </qenum> + <qctor name="QBoxLayout" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="Direction" name="arg1"/> + <qparam type="int" name="border" default="0"/> + <qparam type="int" name="spacing" default="-1"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QBoxLayout" access="public" id="1"> + <qparam type="QLayout*" name="parentLayout"/> + <qparam type="Direction" name="arg1"/> + <qparam type="int" name="spacing" default="-1"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QBoxLayout" access="public" id="2"> + <qparam type="Direction" name="arg1"/> + <qparam type="int" name="spacing" default="-1"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QBoxLayout" access="public"/> + <qmethod name="addItem" access="public" return="void" id="0"> + <qparam type="QLayoutItem*" name="arg1"/> + </qmethod> + <qmethod name="direction" access="public" return="Direction" id="0"/> + <qmethod name="setDirection" access="public" return="void" id="0"> + <qparam type="Direction" name="arg1"/> + </qmethod> + <qmethod name="addSpacing" access="public" return="void" id="0"> + <qparam type="int" name="size"/> + </qmethod> + <qmethod name="addStretch" access="public" return="void" id="0"> + <qparam type="int" name="stretch" default="0"/> + </qmethod> + <qmethod name="addWidget" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="int" name="stretch" default="0"/> + <qparam type="int" name="alignment" default="0"/> + </qmethod> + <qmethod name="addLayout" access="public" return="void" id="0"> + <qparam type="QLayout*" name="layout"/> + <qparam type="int" name="stretch" default="0"/> + </qmethod> + <qmethod name="addStrut" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="insertSpacing" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + <qparam type="int" name="size"/> + </qmethod> + <qmethod name="insertStretch" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + <qparam type="int" name="stretch" default="0"/> + </qmethod> + <qmethod name="insertWidget" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="int" name="stretch" default="0"/> + <qparam type="int" name="alignment" default="0"/> + </qmethod> + <qmethod name="insertLayout" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + <qparam type="QLayout*" name="layout"/> + <qparam type="int" name="stretch" default="0"/> + </qmethod> + <qmethod name="setStretchFactor" access="public" return="bool" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="int" name="stretch"/> + </qmethod> + <qmethod name="setStretchFactor" access="public" return="bool" id="1"> + <qparam type="QLayout*" name="l"/> + <qparam type="int" name="stretch"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSize" access="public" return="QSize" id="0"/> + <qmethod name="maximumSize" access="public" return="QSize" id="0"/> + <qmethod name="hasHeightForWidth" access="public" return="bool" id="0"/> + <qmethod name="heightForWidth" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="expanding" access="public" return="QSizePolicy::ExpandData" id="0"/> + <qmethod name="invalidate" access="public" return="void" id="0"/> + <qmethod name="iterator" access="public" return="QLayoutIterator" id="0"/> + <qmethod name="setGeometry" access="public" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="findWidget" access="public" return="int" id="0"> + <qparam type="QWidget*" name="w"/> + </qmethod> + <qmethod name="protected_insertItem" access="protected" return="void" id="0"> + <qparam type="int" name="index"/> + <qparam type="QLayoutItem*" name="arg1"/> + </qmethod> +</qtype> <qtype name="QBrush" access="public"> + <qancestor name="Qt"/> + <qctor name="QBrush" access="public" id="0"/> + <qctor name="QBrush" access="public" id="1"> + <qparam type="BrushStyle" name="arg1"/> + </qctor> + <qctor name="QBrush" access="public" id="2"> + <qparam type="QColoramp" name="arg1"/> + <qparam type="BrushStyle" name="arg2" default="SolidPattern"/> + </qctor> + <qctor name="QBrush" access="public" id="3"> + <qparam type="QColoramp" name="arg1"/> + <qparam type="QPixmapamp" name="arg2"/> + </qctor> + <qctor name="QBrush" access="public" id="4"> + <qparam type="QBrushamp" name="arg1"/> + </qctor> + <qdctor name="QBrush" access="public"/> + <qmethod name="style" access="public" return="BrushStyle" id="0"/> + <qmethod name="setStyle" access="public" return="void" id="0"> + <qparam type="BrushStyle" name="arg1"/> + </qmethod> + <qmethod name="color" access="public" return="QColoramp" id="0"/> + <qmethod name="setColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="arg1"/> + </qmethod> + <qmethod name="pixmap" access="public" return="QPixmap*" id="0"/> + <qmethod name="setPixmap" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QBuffer" access="public"> + <qancestor name="QIODevice"/> + <qctor name="QBuffer" access="public" id="0"/> + <qctor name="QBuffer" access="public" id="1"> + <qparam type="QByteArray" name="arg1"/> + </qctor> + <qdctor name="QBuffer" access="public"/> + <qmethod name="buffer" access="public" return="QByteArray" id="0"/> + <qmethod name="setBuffer" access="public" return="bool" id="0"> + <qparam type="QByteArray" name="arg1"/> + </qmethod> + <qmethod name="open" access="public" return="bool" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="close" access="public" return="void" id="0"/> + <qmethod name="flush" access="public" return="void" id="0"/> + <qmethod name="size" access="public" return="Offset" id="0"/> + <qmethod name="at" access="public" return="Offset" id="0"/> + <qmethod name="at" access="public" return="bool" id="1"> + <qparam type="Offset" name="arg1"/> + </qmethod> + <qmethod name="readBlock" access="public" return="Q_LONG" id="0"> + <qparam type="char*" name="p"/> + <qparam type="Q_ULONG" name="arg1"/> + </qmethod> + <qmethod name="writeBlock" access="public" return="Q_LONG" id="0"> + <qparam type="char*" name="p"/> + <qparam type="Q_ULONG" name="arg1"/> + </qmethod> + <qmethod name="writeBlock" access="public" return="Q_LONG" id="1"> + <qparam type="QByteArrayamp" name="data"/> + </qmethod> + <qmethod name="readLine" access="public" return="Q_LONG" id="0"> + <qparam type="char*" name="p"/> + <qparam type="Q_ULONG" name="arg1"/> + </qmethod> + <qmethod name="getch" access="public" return="int" id="0"/> + <qmethod name="putch" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="ungetch" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> +</qtype> <qtype name="QButton" access="public"> + <qancestor name="QWidget"/> + <qenum name="ToggleType" access="public"> + <qitem name="SingleShot" value="0"/> + <qitem name="Toggle" value="1"/> + <qitem name="Tristate" value="2"/> + </qenum> + <qenum name="ToggleState" access="public"> + <qitem name="Off" value="0"/> + <qitem name="NoChange" value="1"/> + <qitem name="On" value="2"/> + </qenum> + <qctor name="QButton" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qdctor name="QButton" access="public"/> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="pixmap" access="public" return="QPixmap*" id="0"/> + <qmethod name="setPixmap" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="arg1"/> + </qmethod> + <qmethod name="accel" access="public" return="QKeySequence" id="0"/> + <qmethod name="setAccel" access="public" return="void" id="0"> + <qparam type="QKeySequenceamp" name="arg1"/> + </qmethod> + <qmethod name="isToggleButton" access="public" return="bool" id="0"/> + <qmethod name="toggleType" access="public" return="ToggleType" id="0"/> + <qmethod name="setDown" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isDown" access="public" return="bool" id="0"/> + <qmethod name="isOn" access="public" return="bool" id="0"/> + <qmethod name="state" access="public" return="ToggleState" id="0"/> + <qmethod name="autoResize" access="public" return="bool" id="0"/> + <qmethod name="setAutoResize" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="autoRepeat" access="public" return="bool" id="0"/> + <qmethod name="setAutoRepeat" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isExclusiveToggle" access="public" return="bool" id="0"/> + <qmethod name="group" access="public" return="QButtonGroup*" id="0"/> + <qmethod name="animateClick" access="public" return="void" id="0"/> + <qmethod name="toggle" access="public" return="void" id="0"/> + <qmethod name="protected_setToggleButton" access="protected" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_setToggleType" access="protected" return="void" id="0"> + <qparam type="ToggleType" name="arg1"/> + </qmethod> + <qmethod name="protected_setOn" access="protected" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_setState" access="protected" return="void" id="0"> + <qparam type="ToggleState" name="arg1"/> + </qmethod> + <qmethod name="protected_hitButton" access="protected" return="bool" id="0"> + <qparam type="QPointamp" name="pos"/> + </qmethod> + <qmethod name="protected_drawButton" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_drawButtonLabel" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_enabledChange" access="protected" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> +</qtype> <qtype name="QButtonGroup" access="public"> + <qancestor name="QGroupBox"/> + <qctor name="QButtonGroup" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QButtonGroup" access="public" id="1"> + <qparam type="QStringamp" name="title"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QButtonGroup" access="public" id="2"> + <qparam type="int" name="columns"/> + <qparam type="Orientation" name="o"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QButtonGroup" access="public" id="3"> + <qparam type="int" name="columns"/> + <qparam type="Orientation" name="o"/> + <qparam type="QStringamp" name="title"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QButtonGroup" access="public"/> + <qmethod name="isExclusive" access="public" return="bool" id="0"/> + <qmethod name="isRadioButtonExclusive" access="public" return="bool" id="0"/> + <qmethod name="setExclusive" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setRadioButtonExclusive" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="insert" access="public" return="int" id="0"> + <qparam type="QButton*" name="arg1"/> + <qparam type="int" name="identifier" default="-1"/> + </qmethod> + <qmethod name="remove" access="public" return="void" id="0"> + <qparam type="QButton*" name="arg1"/> + </qmethod> + <qmethod name="find" access="public" return="QButton*" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="id" access="public" return="int" id="0"> + <qparam type="QButton*" name="arg1"/> + </qmethod> + <qmethod name="count" access="public" return="int" id="0"/> + <qmethod name="setButton" access="public" return="void" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="moveFocus" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="selected" access="public" return="QButton*" id="0"/> + <qmethod name="protected_buttonPressed" access="protected" return="void" id="0"/> + <qmethod name="protected_buttonReleased" access="protected" return="void" id="0"/> + <qmethod name="protected_buttonClicked" access="protected" return="void" id="0"/> + <qmethod name="protected_buttonToggled" access="protected" return="void" id="0"> + <qparam type="bool" name="on"/> + </qmethod> +</qtype> <qtype name="QByteArray" access="public"> + <qancestor name="QMemArray"/> + <qctor name="QByteArray" access="public" id="0"/> + <qctor name="QByteArray" access="public" id="1"> + <qparam type="int" name="size"/> + </qctor> +</qtype> <qtype name="QCDEStyle" access="public"> + <qancestor name="QMotifStyle"/> + <qctor name="QCDEStyle" access="public" id="0"> + <qparam type="bool" name="useHighlightCols" default="FALSE"/> + </qctor> + <qdctor name="QCDEStyle" access="public"/> + <qmethod name="pixelMetric" access="public" return="int" id="0"> + <qparam type="PixelMetric" name="metric"/> + <qparam type="QWidget*" name="widget" default="0"/> + </qmethod> + <qmethod name="drawControl" access="public" return="void" id="0"> + <qparam type="ControlElement" name="element"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="how" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawPrimitive" access="public" return="void" id="0"> + <qparam type="PrimitiveElement" name="pe"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="flags" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> +</qtype> <qtype name="QCString" access="public"> + <qancestor name="QByteArray"/> + <qctor name="QCString" access="public" id="0"/> + <qctor name="QCString" access="public" id="1"> + <qparam type="int" name="size"/> + </qctor> + <qctor name="QCString" access="public" id="2"> + <qparam type="QCStringamp" name="s"/> + </qctor> + <qctor name="QCString" access="public" id="3"> + <qparam type="char*" name="str"/> + </qctor> + <qctor name="QCString" access="public" id="4"> + <qparam type="char*" name="str"/> + <qparam type="uint" name="maxlen"/> + </qctor> + <qdctor name="QCString" access="public"/> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="length" access="public" return="uint" id="0"/> + <qmethod name="resize" access="public" return="bool" id="0"> + <qparam type="uint" name="newlen"/> + </qmethod> + <qmethod name="truncate" access="public" return="bool" id="0"> + <qparam type="uint" name="pos"/> + </qmethod> + <qmethod name="fill" access="public" return="bool" id="0"> + <qparam type="char" name="c"/> + <qparam type="int" name="len" default="-1"/> + </qmethod> + <qmethod name="copy" access="public" return="QCString" id="0"/> + <qmethod name="find" access="public" return="int" id="0"> + <qparam type="char" name="c"/> + <qparam type="int" name="index" default="0"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="find" access="public" return="int" id="1"> + <qparam type="char*" name="str"/> + <qparam type="int" name="index" default="0"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="find" access="public" return="int" id="2"> + <qparam type="QRegExpamp" name="arg1"/> + <qparam type="int" name="index" default="0"/> + </qmethod> + <qmethod name="findRev" access="public" return="int" id="0"> + <qparam type="char" name="c"/> + <qparam type="int" name="index" default="-1"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="findRev" access="public" return="int" id="1"> + <qparam type="char*" name="str"/> + <qparam type="int" name="index" default="-1"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="findRev" access="public" return="int" id="2"> + <qparam type="QRegExpamp" name="arg1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="contains" access="public" return="int" id="0"> + <qparam type="char" name="c"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="contains" access="public" return="int" id="1"> + <qparam type="char*" name="str"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="contains" access="public" return="int" id="2"> + <qparam type="QRegExpamp" name="arg1"/> + </qmethod> + <qmethod name="left" access="public" return="QCString" id="0"> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="right" access="public" return="QCString" id="0"> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="mid" access="public" return="QCString" id="0"> + <qparam type="uint" name="index"/> + <qparam type="uint" name="len" default="0xffffffff"/> + </qmethod> + <qmethod name="leftJustify" access="public" return="QCString" id="0"> + <qparam type="uint" name="width"/> + <qparam type="char" name="fill" default="' '"/> + <qparam type="bool" name="trunc" default="FALSE"/> + </qmethod> + <qmethod name="rightJustify" access="public" return="QCString" id="0"> + <qparam type="uint" name="width"/> + <qparam type="char" name="fill" default="' '"/> + <qparam type="bool" name="trunc" default="FALSE"/> + </qmethod> + <qmethod name="lower" access="public" return="QCString" id="0"/> + <qmethod name="upper" access="public" return="QCString" id="0"/> + <qmethod name="stripWhiteSpace" access="public" return="QCString" id="0"/> + <qmethod name="simplifyWhiteSpace" access="public" return="QCString" id="0"/> + <qmethod name="insert" access="public" return="QCStringamp" id="0"> + <qparam type="uint" name="index"/> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="insert" access="public" return="QCStringamp" id="1"> + <qparam type="uint" name="index"/> + <qparam type="char" name="arg1"/> + </qmethod> + <qmethod name="append" access="public" return="QCStringamp" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="prepend" access="public" return="QCStringamp" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="remove" access="public" return="QCStringamp" id="0"> + <qparam type="uint" name="index"/> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="replace" access="public" return="QCStringamp" id="0"> + <qparam type="uint" name="index"/> + <qparam type="uint" name="len"/> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="replace" access="public" return="QCStringamp" id="1"> + <qparam type="QRegExpamp" name="arg1"/> + <qparam type="char*" name="arg2"/> + </qmethod> + <qmethod name="toShort" access="public" return="short" id="0"> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="toUShort" access="public" return="ushort" id="0"> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="toInt" access="public" return="int" id="0"> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="toUInt" access="public" return="uint" id="0"> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="toLong" access="public" return="long" id="0"> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="toULong" access="public" return="ulong" id="0"> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="toFloat" access="public" return="float" id="0"> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="toDouble" access="public" return="double" id="0"> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="setStr" access="public" return="QCStringamp" id="0"> + <qparam type="char*" name="s"/> + </qmethod> + <qmethod name="setNum" access="public" return="QCStringamp" id="0"> + <qparam type="short" name="arg1"/> + </qmethod> + <qmethod name="setNum" access="public" return="QCStringamp" id="1"> + <qparam type="ushort" name="arg1"/> + </qmethod> + <qmethod name="setNum" access="public" return="QCStringamp" id="2"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setNum" access="public" return="QCStringamp" id="3"> + <qparam type="uint" name="arg1"/> + </qmethod> + <qmethod name="setNum" access="public" return="QCStringamp" id="4"> + <qparam type="long" name="arg1"/> + </qmethod> + <qmethod name="setNum" access="public" return="QCStringamp" id="5"> + <qparam type="ulong" name="arg1"/> + </qmethod> + <qmethod name="setNum" access="public" return="QCStringamp" id="6"> + <qparam type="float" name="arg1"/> + <qparam type="char" name="f" default="'g'"/> + <qparam type="int" name="prec" default="6"/> + </qmethod> + <qmethod name="setNum" access="public" return="QCStringamp" id="7"> + <qparam type="double" name="arg1"/> + <qparam type="char" name="f" default="'g'"/> + <qparam type="int" name="prec" default="6"/> + </qmethod> + <qmethod name="setExpand" access="public" return="bool" id="0"> + <qparam type="uint" name="index"/> + <qparam type="char" name="c"/> + </qmethod> +</qtype> <qtype name="QCache" access="public"> + <qancestor name="QPtrCollection"/> + <qctor name="QCache" access="public" id="1"> + <qparam type="int" name="maxCost" default="100"/> + <qparam type="int" name="size" default="17"/> + <qparam type="bool" name="caseSensitive" default="TRUE"/> + </qctor> + <qdctor name="QCache" access="public"/> + <qmethod name="maxCost" access="public" return="int" id="0"/> + <qmethod name="totalCost" access="public" return="int" id="0"/> + <qmethod name="setMaxCost" access="public" return="void" id="0"> + <qparam type="int" name="m"/> + </qmethod> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="size" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="insert" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="k"/> + <qparam type="type*" name="d"/> + <qparam type="int" name="c" default="1"/> + <qparam type="int" name="p" default="0"/> + </qmethod> + <qmethod name="remove" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="k"/> + </qmethod> + <qmethod name="take" access="public" return="type*" id="0"> + <qparam type="QStringamp" name="k"/> + </qmethod> + <qmethod name="find" access="public" return="type*" id="0"> + <qparam type="QStringamp" name="k"/> + <qparam type="bool" name="ref" default="TRUE"/> + </qmethod> + <qmethod name="statistics" access="public" return="void" id="0"/> +</qtype> <qtype name="QCacheIterator" access="public"> + <qancestor name="QGCacheIterator"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="atFirst" access="public" return="bool" id="0"/> + <qmethod name="atLast" access="public" return="bool" id="0"/> + <qmethod name="toFirst" access="public" return="type*" id="0"/> + <qmethod name="toLast" access="public" return="type*" id="0"/> + <qmethod name="current" access="public" return="type*" id="0"/> + <qmethod name="currentKey" access="public" return="QString" id="0"/> +</qtype> <qtype name="QCanvas" access="public"> + <qancestor name="QObject"/> + <qctor name="QCanvas" access="public" id="0"> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QCanvas" access="public" id="1"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qctor> + <qctor name="QCanvas" access="public" id="2"> + <qparam type="QPixmap" name="p"/> + <qparam type="int" name="h"/> + <qparam type="int" name="v"/> + <qparam type="int" name="tilewidth"/> + <qparam type="int" name="tileheight"/> + </qctor> + <qdctor name="QCanvas" access="public"/> + <qmethod name="setTiles" access="public" return="void" id="0"> + <qparam type="QPixmap" name="tiles"/> + <qparam type="int" name="h"/> + <qparam type="int" name="v"/> + <qparam type="int" name="tilewidth"/> + <qparam type="int" name="tileheight"/> + </qmethod> + <qmethod name="setBackgroundPixmap" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="p"/> + </qmethod> + <qmethod name="backgroundPixmap" access="public" return="QPixmap" id="0"/> + <qmethod name="setBackgroundColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="c"/> + </qmethod> + <qmethod name="backgroundColor" access="public" return="QColor" id="0"/> + <qmethod name="setTile" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="tilenum"/> + </qmethod> + <qmethod name="tile" access="public" return="int" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="tilesHorizontally" access="public" return="int" id="0"/> + <qmethod name="tilesVertically" access="public" return="int" id="0"/> + <qmethod name="tileWidth" access="public" return="int" id="0"/> + <qmethod name="tileHeight" access="public" return="int" id="0"/> + <qmethod name="resize" access="public" return="void" id="0"> + <qparam type="int" name="width"/> + <qparam type="int" name="height"/> + </qmethod> + <qmethod name="width" access="public" return="int" id="0"/> + <qmethod name="height" access="public" return="int" id="0"/> + <qmethod name="size" access="public" return="QSize" id="0"/> + <qmethod name="rect" access="public" return="QRect" id="0"/> + <qmethod name="onCanvas" access="public" return="bool" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="onCanvas" access="public" return="bool" id="1"> + <qparam type="QPointamp" name="p"/> + </qmethod> + <qmethod name="validChunk" access="public" return="bool" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="validChunk" access="public" return="bool" id="1"> + <qparam type="QPointamp" name="p"/> + </qmethod> + <qmethod name="chunkSize" access="public" return="int" id="0"/> + <qmethod name="retune" access="public" return="void" id="0"> + <qparam type="int" name="chunksize"/> + <qparam type="int" name="maxclusters" default="100"/> + </qmethod> + <qmethod name="sameChunk" access="public" return="bool" id="0"> + <qparam type="int" name="x1"/> + <qparam type="int" name="y1"/> + <qparam type="int" name="x2"/> + <qparam type="int" name="y2"/> + </qmethod> + <qmethod name="setChangedChunk" access="public" return="void" id="0"> + <qparam type="int" name="i"/> + <qparam type="int" name="j"/> + </qmethod> + <qmethod name="setChangedChunkContaining" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="setAllChanged" access="public" return="void" id="0"/> + <qmethod name="setChanged" access="public" return="void" id="0"> + <qparam type="QRectamp" name="area"/> + </qmethod> + <qmethod name="setUnchanged" access="public" return="void" id="0"> + <qparam type="QRectamp" name="area"/> + </qmethod> + <qmethod name="addItemToChunk" access="public" return="void" id="0"> + <qparam type="QCanvasItem*" name="arg1"/> + <qparam type="int" name="i"/> + <qparam type="int" name="j"/> + </qmethod> + <qmethod name="removeItemFromChunk" access="public" return="void" id="0"> + <qparam type="QCanvasItem*" name="arg1"/> + <qparam type="int" name="i"/> + <qparam type="int" name="j"/> + </qmethod> + <qmethod name="addItemToChunkContaining" access="public" return="void" id="0"> + <qparam type="QCanvasItem*" name="arg1"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="removeItemFromChunkContaining" access="public" return="void" id="0"> + <qparam type="QCanvasItem*" name="arg1"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="allItems" access="public" return="QCanvasItemList" id="0"/> + <qmethod name="collisions" access="public" return="QCanvasItemList" id="0"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="collisions" access="public" return="QCanvasItemList" id="1"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="collisions" access="public" return="QCanvasItemList" id="2"> + <qparam type="QPointArrayamp" name="pa"/> + <qparam type="QCanvasItem*" name="item"/> + <qparam type="bool" name="exact"/> + </qmethod> + <qmethod name="drawArea" access="public" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="QPainter*" name="p"/> + <qparam type="bool" name="double_buffer" default="FALSE"/> + </qmethod> + <qmethod name="addView" access="public" return="void" id="0"> + <qparam type="QCanvasView*" name="arg1"/> + </qmethod> + <qmethod name="removeView" access="public" return="void" id="0"> + <qparam type="QCanvasView*" name="arg1"/> + </qmethod> + <qmethod name="drawCanvasArea" access="public" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="QPainter*" name="p" default="0"/> + <qparam type="bool" name="double_buffer" default="TRUE"/> + </qmethod> + <qmethod name="drawViewArea" access="public" return="void" id="0"> + <qparam type="QCanvasView*" name="view"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QRectamp" name="r"/> + <qparam type="bool" name="dbuf"/> + </qmethod> + <qmethod name="addItem" access="public" return="void" id="0"> + <qparam type="QCanvasItem*" name="arg1"/> + </qmethod> + <qmethod name="addAnimation" access="public" return="void" id="0"> + <qparam type="QCanvasItem*" name="arg1"/> + </qmethod> + <qmethod name="removeItem" access="public" return="void" id="0"> + <qparam type="QCanvasItem*" name="arg1"/> + </qmethod> + <qmethod name="removeAnimation" access="public" return="void" id="0"> + <qparam type="QCanvasItem*" name="arg1"/> + </qmethod> + <qmethod name="setAdvancePeriod" access="public" return="void" id="0"> + <qparam type="int" name="ms"/> + </qmethod> + <qmethod name="setUpdatePeriod" access="public" return="void" id="0"> + <qparam type="int" name="ms"/> + </qmethod> + <qmethod name="setDoubleBuffering" access="public" return="void" id="0"> + <qparam type="bool" name="y"/> + </qmethod> + <qmethod name="advance" access="public" return="void" id="0"/> + <qmethod name="update" access="public" return="void" id="0"/> + <qmethod name="protected_drawBackground" access="protected" return="void" id="0"> + <qparam type="QPainteramp" name="arg1"/> + <qparam type="QRectamp" name="area"/> + </qmethod> + <qmethod name="protected_drawForeground" access="protected" return="void" id="0"> + <qparam type="QPainteramp" name="arg1"/> + <qparam type="QRectamp" name="area"/> + </qmethod> +</qtype> <qtype name="QCanvasEllipse" access="public"> + <qancestor name="QCanvasPolygonalItem"/> + <qctor name="QCanvasEllipse" access="public" id="0"> + <qparam type="QCanvas*" name="canvas"/> + </qctor> + <qctor name="QCanvasEllipse" access="public" id="1"> + <qparam type="int" name="width"/> + <qparam type="int" name="height"/> + <qparam type="QCanvas*" name="canvas"/> + </qctor> + <qctor name="QCanvasEllipse" access="public" id="2"> + <qparam type="int" name="width"/> + <qparam type="int" name="height"/> + <qparam type="int" name="startangle"/> + <qparam type="int" name="angle"/> + <qparam type="QCanvas*" name="canvas"/> + </qctor> + <qdctor name="QCanvasEllipse" access="public"/> + <qmethod name="width" access="public" return="int" id="0"/> + <qmethod name="height" access="public" return="int" id="0"/> + <qmethod name="setSize" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="setAngles" access="public" return="void" id="0"> + <qparam type="int" name="start"/> + <qparam type="int" name="length"/> + </qmethod> + <qmethod name="angleStart" access="public" return="int" id="0"/> + <qmethod name="angleLength" access="public" return="int" id="0"/> + <qmethod name="areaPoints" access="public" return="QPointArray" id="0"/> + <qmethod name="collidesWith" access="public" return="bool" id="0"> + <qparam type="QCanvasItem*" name="arg1"/> + </qmethod> + <qmethod name="rtti" access="public" return="int" id="0"/> + <qmethod name="protected_drawShape" access="protected" return="void" id="0"> + <qparam type="QPainteramp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QCanvasItem" access="public"> + <qancestor name="Qt"/> + <qenum name="RttiValues" access="public"> + <qitem name="Rtti_Item" value="0"/> + <qitem name="Rtti_Sprite" value="1"/> + <qitem name="Rtti_PolygonalItem" value="2"/> + <qitem name="Rtti_Text" value="3"/> + <qitem name="Rtti_Polygon" value="4"/> + <qitem name="Rtti_Rectangle" value="5"/> + <qitem name="Rtti_Ellipse" value="6"/> + <qitem name="Rtti_Line" value="7"/> + <qitem name="Rtti_Spline" value="8"/> + </qenum> + <qdctor name="QCanvasItem" access="public"/> + <qmethod name="x" access="public" return="double" id="0"/> + <qmethod name="y" access="public" return="double" id="0"/> + <qmethod name="z" access="public" return="double" id="0"/> + <qmethod name="moveBy" access="public" return="void" id="0"> + <qparam type="double" name="dx"/> + <qparam type="double" name="dy"/> + </qmethod> + <qmethod name="move" access="public" return="void" id="0"> + <qparam type="double" name="x"/> + <qparam type="double" name="y"/> + </qmethod> + <qmethod name="setX" access="public" return="void" id="0"> + <qparam type="double" name="a"/> + </qmethod> + <qmethod name="setY" access="public" return="void" id="0"> + <qparam type="double" name="a"/> + </qmethod> + <qmethod name="setZ" access="public" return="void" id="0"> + <qparam type="double" name="a"/> + </qmethod> + <qmethod name="animated" access="public" return="bool" id="0"/> + <qmethod name="setAnimated" access="public" return="void" id="0"> + <qparam type="bool" name="y"/> + </qmethod> + <qmethod name="setVelocity" access="public" return="void" id="0"> + <qparam type="double" name="vx"/> + <qparam type="double" name="vy"/> + </qmethod> + <qmethod name="setXVelocity" access="public" return="void" id="0"> + <qparam type="double" name="vx"/> + </qmethod> + <qmethod name="setYVelocity" access="public" return="void" id="0"> + <qparam type="double" name="vy"/> + </qmethod> + <qmethod name="xVelocity" access="public" return="double" id="0"/> + <qmethod name="yVelocity" access="public" return="double" id="0"/> + <qmethod name="advance" access="public" return="void" id="0"> + <qparam type="int" name="stage"/> + </qmethod> + <qmethod name="collidesWith" access="public" return="bool" id="0"> + <qparam type="QCanvasItem*" name="arg1"/> + </qmethod> + <qmethod name="collisions" access="public" return="QCanvasItemList" id="0"> + <qparam type="bool" name="exact"/> + </qmethod> + <qmethod name="setCanvas" access="public" return="void" id="0"> + <qparam type="QCanvas*" name="arg1"/> + </qmethod> + <qmethod name="draw" access="public" return="void" id="0"> + <qparam type="QPainteramp" name="arg1"/> + </qmethod> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="hide" access="public" return="void" id="0"/> + <qmethod name="setVisible" access="public" return="void" id="0"> + <qparam type="bool" name="yes"/> + </qmethod> + <qmethod name="isVisible" access="public" return="bool" id="0"/> + <qmethod name="setSelected" access="public" return="void" id="0"> + <qparam type="bool" name="yes"/> + </qmethod> + <qmethod name="isSelected" access="public" return="bool" id="0"/> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="yes"/> + </qmethod> + <qmethod name="isEnabled" access="public" return="bool" id="0"/> + <qmethod name="setActive" access="public" return="void" id="0"> + <qparam type="bool" name="yes"/> + </qmethod> + <qmethod name="isActive" access="public" return="bool" id="0"/> + <qmethod name="visible" access="public" return="bool" id="0"/> + <qmethod name="selected" access="public" return="bool" id="0"/> + <qmethod name="enabled" access="public" return="bool" id="0"/> + <qmethod name="active" access="public" return="bool" id="0"/> + <qmethod name="rtti" access="public" return="int" id="0"/> + <qmethod name="boundingRect" access="public" return="QRect" id="0"/> + <qmethod name="boundingRectAdvanced" access="public" return="QRect" id="0"/> + <qmethod name="canvas" access="public" return="QCanvas*" id="0"/> +</qtype> <qtype name="QCanvasItemList" access="public"> + <qancestor name="QValueList"/> + <qmethod name="sort" access="public" return="void" id="0"/> + <qmethod name="drawUnique" access="public" return="void" id="0"> + <qparam type="QPainteramp" name="painter"/> + </qmethod> +</qtype> <qtype name="QCanvasLine" access="public"> + <qancestor name="QCanvasPolygonalItem"/> + <qctor name="QCanvasLine" access="public" id="0"> + <qparam type="QCanvas*" name="canvas"/> + </qctor> + <qdctor name="QCanvasLine" access="public"/> + <qmethod name="setPoints" access="public" return="void" id="0"> + <qparam type="int" name="x1"/> + <qparam type="int" name="y1"/> + <qparam type="int" name="x2"/> + <qparam type="int" name="y2"/> + </qmethod> + <qmethod name="startPoint" access="public" return="QPoint" id="0"/> + <qmethod name="endPoint" access="public" return="QPoint" id="0"/> + <qmethod name="rtti" access="public" return="int" id="0"/> + <qmethod name="setPen" access="public" return="void" id="0"> + <qparam type="QPen" name="p"/> + </qmethod> + <qmethod name="protected_drawShape" access="protected" return="void" id="0"> + <qparam type="QPainteramp" name="arg1"/> + </qmethod> + <qmethod name="protected_areaPoints" access="protected" return="QPointArray" id="0"/> +</qtype> <qtype name="QCanvasPixmap" access="public"> + <qancestor name="QPixmap"/> + <qctor name="QCanvasPixmap" access="public" id="0"> + <qparam type="QStringamp" name="datafilename"/> + </qctor> + <qctor name="QCanvasPixmap" access="public" id="1"> + <qparam type="QImageamp" name="image"/> + </qctor> + <qctor name="QCanvasPixmap" access="public" id="2"> + <qparam type="QPixmapamp" name="arg1"/> + <qparam type="QPointamp" name="hotspot"/> + </qctor> + <qdctor name="QCanvasPixmap" access="public"/> + <qmethod name="offsetX" access="public" return="int" id="0"/> + <qmethod name="offsetY" access="public" return="int" id="0"/> + <qmethod name="setOffset" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> +</qtype> <qtype name="QCanvasPixmapArray" access="public"> + <qctor name="QCanvasPixmapArray" access="public" id="0"/> + <qctor name="QCanvasPixmapArray" access="public" id="1"> + <qparam type="QStringamp" name="datafilenamepattern"/> + <qparam type="int" name="framecount" default="0"/> + </qctor> + <qdctor name="QCanvasPixmapArray" access="public"/> + <qmethod name="readPixmaps" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="datafilenamepattern"/> + <qparam type="int" name="framecount" default="0"/> + </qmethod> + <qmethod name="readCollisionMasks" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="filenamepattern"/> + </qmethod> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="image" access="public" return="QCanvasPixmap*" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="setImage" access="public" return="void" id="0"> + <qparam type="int" name="i"/> + <qparam type="QCanvasPixmap*" name="p"/> + </qmethod> + <qmethod name="count" access="public" return="uint" id="0"/> +</qtype> <qtype name="QCanvasPolygon" access="public"> + <qancestor name="QCanvasPolygonalItem"/> + <qctor name="QCanvasPolygon" access="public" id="0"> + <qparam type="QCanvas*" name="canvas"/> + </qctor> + <qdctor name="QCanvasPolygon" access="public"/> + <qmethod name="setPoints" access="public" return="void" id="0"> + <qparam type="QPointArray" name="arg1"/> + </qmethod> + <qmethod name="points" access="public" return="QPointArray" id="0"/> + <qmethod name="moveBy" access="public" return="void" id="0"> + <qparam type="double" name="dx"/> + <qparam type="double" name="dy"/> + </qmethod> + <qmethod name="areaPoints" access="public" return="QPointArray" id="0"/> + <qmethod name="rtti" access="public" return="int" id="0"/> + <qmethod name="protected_drawShape" access="protected" return="void" id="0"> + <qparam type="QPainteramp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QCanvasPolygonalItem" access="public"> + <qancestor name="QCanvasItem"/> + <qdctor name="QCanvasPolygonalItem" access="public"/> + <qmethod name="collidesWith" access="public" return="bool" id="0"> + <qparam type="QCanvasItem*" name="arg1"/> + </qmethod> + <qmethod name="setPen" access="public" return="void" id="0"> + <qparam type="QPen" name="p"/> + </qmethod> + <qmethod name="setBrush" access="public" return="void" id="0"> + <qparam type="QBrush" name="b"/> + </qmethod> + <qmethod name="pen" access="public" return="QPen" id="0"/> + <qmethod name="brush" access="public" return="QBrush" id="0"/> + <qmethod name="areaPoints" access="public" return="QPointArray" id="0"/> + <qmethod name="areaPointsAdvanced" access="public" return="QPointArray" id="0"/> + <qmethod name="boundingRect" access="public" return="QRect" id="0"/> + <qmethod name="rtti" access="public" return="int" id="0"/> +</qtype> <qtype name="QCanvasRectangle" access="public"> + <qancestor name="QCanvasPolygonalItem"/> + <qctor name="QCanvasRectangle" access="public" id="0"> + <qparam type="QCanvas*" name="canvas"/> + </qctor> + <qctor name="QCanvasRectangle" access="public" id="1"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="QCanvas*" name="canvas"/> + </qctor> + <qctor name="QCanvasRectangle" access="public" id="2"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="width"/> + <qparam type="int" name="height"/> + <qparam type="QCanvas*" name="canvas"/> + </qctor> + <qdctor name="QCanvasRectangle" access="public"/> + <qmethod name="width" access="public" return="int" id="0"/> + <qmethod name="height" access="public" return="int" id="0"/> + <qmethod name="setSize" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="size" access="public" return="QSize" id="0"/> + <qmethod name="areaPoints" access="public" return="QPointArray" id="0"/> + <qmethod name="rect" access="public" return="QRect" id="0"/> + <qmethod name="collidesWith" access="public" return="bool" id="0"> + <qparam type="QCanvasItem*" name="arg1"/> + </qmethod> + <qmethod name="rtti" access="public" return="int" id="0"/> + <qmethod name="protected_drawShape" access="protected" return="void" id="0"> + <qparam type="QPainteramp" name="arg1"/> + </qmethod> + <qmethod name="protected_chunks" access="protected" return="QPointArray" id="0"/> +</qtype> <qtype name="QCanvasSpline" access="public"> + <qancestor name="QCanvasPolygon"/> + <qctor name="QCanvasSpline" access="public" id="0"> + <qparam type="QCanvas*" name="canvas"/> + </qctor> + <qdctor name="QCanvasSpline" access="public"/> + <qmethod name="setControlPoints" access="public" return="void" id="0"> + <qparam type="QPointArray" name="arg1"/> + <qparam type="bool" name="closed" default="TRUE"/> + </qmethod> + <qmethod name="controlPoints" access="public" return="QPointArray" id="0"/> + <qmethod name="closed" access="public" return="bool" id="0"/> + <qmethod name="rtti" access="public" return="int" id="0"/> +</qtype> <qtype name="QCanvasSprite" access="public"> + <qancestor name="QCanvasItem"/> + <qenum name="FrameAnimationType" access="public"> + <qitem name="Cycle" value="0"/> + <qitem name="Oscillate" value="1"/> + </qenum> + <qctor name="QCanvasSprite" access="public" id="0"> + <qparam type="QCanvasPixmapArray*" name="array"/> + <qparam type="QCanvas*" name="canvas"/> + </qctor> + <qmethod name="setSequence" access="public" return="void" id="0"> + <qparam type="QCanvasPixmapArray*" name="seq"/> + </qmethod> + <qdctor name="QCanvasSprite" access="public"/> + <qmethod name="move" access="public" return="void" id="0"> + <qparam type="double" name="x"/> + <qparam type="double" name="y"/> + </qmethod> + <qmethod name="move" access="public" return="void" id="1"> + <qparam type="double" name="x"/> + <qparam type="double" name="y"/> + <qparam type="int" name="frame"/> + </qmethod> + <qmethod name="setFrame" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setFrameAnimation" access="public" return="void" id="0"> + <qparam type="FrameAnimationType" name="arg1" default="Cycle"/> + <qparam type="int" name="step" default="1"/> + <qparam type="int" name="state" default="0"/> + </qmethod> + <qmethod name="frame" access="public" return="int" id="0"/> + <qmethod name="frameCount" access="public" return="int" id="0"/> + <qmethod name="rtti" access="public" return="int" id="0"/> + <qmethod name="collidesWith" access="public" return="bool" id="0"> + <qparam type="QCanvasItem*" name="arg1"/> + </qmethod> + <qmethod name="boundingRect" access="public" return="QRect" id="0"/> + <qmethod name="width" access="public" return="int" id="0"/> + <qmethod name="height" access="public" return="int" id="0"/> + <qmethod name="leftEdge" access="public" return="int" id="0"/> + <qmethod name="topEdge" access="public" return="int" id="0"/> + <qmethod name="rightEdge" access="public" return="int" id="0"/> + <qmethod name="bottomEdge" access="public" return="int" id="0"/> + <qmethod name="leftEdge" access="public" return="int" id="1"> + <qparam type="int" name="nx"/> + </qmethod> + <qmethod name="topEdge" access="public" return="int" id="1"> + <qparam type="int" name="ny"/> + </qmethod> + <qmethod name="rightEdge" access="public" return="int" id="1"> + <qparam type="int" name="nx"/> + </qmethod> + <qmethod name="bottomEdge" access="public" return="int" id="1"> + <qparam type="int" name="ny"/> + </qmethod> + <qmethod name="image" access="public" return="QCanvasPixmap*" id="0"/> + <qmethod name="imageAdvanced" access="public" return="QCanvasPixmap*" id="0"/> + <qmethod name="image" access="public" return="QCanvasPixmap*" id="1"> + <qparam type="int" name="f"/> + </qmethod> + <qmethod name="advance" access="public" return="void" id="0"> + <qparam type="int" name="stage"/> + </qmethod> + <qmethod name="draw" access="public" return="void" id="0"> + <qparam type="QPainteramp" name="painter"/> + </qmethod> +</qtype> <qtype name="QCanvasText" access="public"> + <qancestor name="QCanvasItem"/> + <qctor name="QCanvasText" access="public" id="0"> + <qparam type="QCanvas*" name="canvas"/> + </qctor> + <qctor name="QCanvasText" access="public" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QCanvas*" name="canvas"/> + </qctor> + <qctor name="QCanvasText" access="public" id="2"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QFont" name="arg2"/> + <qparam type="QCanvas*" name="canvas"/> + </qctor> + <qdctor name="QCanvasText" access="public"/> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="setColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="arg1"/> + </qmethod> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="font" access="public" return="QFont" id="0"/> + <qmethod name="color" access="public" return="QColor" id="0"/> + <qmethod name="moveBy" access="public" return="void" id="0"> + <qparam type="double" name="dx"/> + <qparam type="double" name="dy"/> + </qmethod> + <qmethod name="textFlags" access="public" return="int" id="0"/> + <qmethod name="setTextFlags" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="boundingRect" access="public" return="QRect" id="0"/> + <qmethod name="collidesWith" access="public" return="bool" id="0"> + <qparam type="QCanvasItem*" name="arg1"/> + </qmethod> + <qmethod name="rtti" access="public" return="int" id="0"/> + <qmethod name="protected_draw" access="protected" return="void" id="0"> + <qparam type="QPainteramp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QCanvasView" access="public"> + <qancestor name="QScrollView"/> + <qctor name="QCanvasView" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qctor name="QCanvasView" access="public" id="1"> + <qparam type="QCanvas*" name="viewing"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qdctor name="QCanvasView" access="public"/> + <qmethod name="canvas" access="public" return="QCanvas*" id="0"/> + <qmethod name="setCanvas" access="public" return="void" id="0"> + <qparam type="QCanvas*" name="v"/> + </qmethod> + <qmethod name="worldMatrix" access="public" return="QWMatrixamp" id="0"/> + <qmethod name="inverseWorldMatrix" access="public" return="QWMatrixamp" id="0"/> + <qmethod name="setWorldMatrix" access="public" return="bool" id="0"> + <qparam type="QWMatrixamp" name="arg1"/> + </qmethod> + <qmethod name="protected_drawContents" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="int" name="cx"/> + <qparam type="int" name="cy"/> + <qparam type="int" name="cw"/> + <qparam type="int" name="ch"/> + </qmethod> + <qmethod name="protected_sizeHint" access="protected" return="QSize" id="0"/> +</qtype> <qtype name="QChar" access="public"> + <qenum name="Category" access="public"> + <qitem name="NoCategory" value="0"/> + <qitem name="Mark_NonSpacing" value="1"/> + <qitem name="Mark_SpacingCombining" value="2"/> + <qitem name="Mark_Enclosing" value="3"/> + <qitem name="Number_DecimalDigit" value="4"/> + <qitem name="Number_Letter" value="5"/> + <qitem name="Number_Other" value="6"/> + <qitem name="Separator_Space" value="7"/> + <qitem name="Separator_Line" value="8"/> + <qitem name="Separator_Paragraph" value="9"/> + <qitem name="Other_Control" value="10"/> + <qitem name="Other_Format" value="11"/> + <qitem name="Other_Surrogate" value="12"/> + <qitem name="Other_PrivateUse" value="13"/> + <qitem name="Other_NotAssigned" value="14"/> + <qitem name="Letter_Uppercase" value="15"/> + <qitem name="Letter_Lowercase" value="16"/> + <qitem name="Letter_Titlecase" value="17"/> + <qitem name="Letter_Modifier" value="18"/> + <qitem name="Letter_Other" value="19"/> + <qitem name="Punctuation_Connector" value="20"/> + <qitem name="Punctuation_Dash" value="21"/> + <qitem name="Punctuation_Dask" value="Punctuation_Dash"/> + <qitem name="Punctuation_Open" value="23"/> + <qitem name="Punctuation_Close" value="24"/> + <qitem name="Punctuation_InitialQuote" value="25"/> + <qitem name="Punctuation_FinalQuote" value="26"/> + <qitem name="Punctuation_Other" value="27"/> + <qitem name="Symbol_Math" value="28"/> + <qitem name="Symbol_Currency" value="29"/> + <qitem name="Symbol_Modifier" value="30"/> + <qitem name="Symbol_Other" value="31"/> + </qenum> + <qenum name="Direction" access="public"> + <qitem name="DirL" value="0"/> + <qitem name="DirR" value="1"/> + <qitem name="DirEN" value="2"/> + <qitem name="DirES" value="3"/> + <qitem name="DirET" value="4"/> + <qitem name="DirAN" value="5"/> + <qitem name="DirCS" value="6"/> + <qitem name="DirB" value="7"/> + <qitem name="DirS" value="8"/> + <qitem name="DirWS" value="9"/> + <qitem name="DirON" value="10"/> + <qitem name="DirLRE" value="11"/> + <qitem name="DirLRO" value="12"/> + <qitem name="DirAL" value="13"/> + <qitem name="DirRLE" value="14"/> + <qitem name="DirRLO" value="15"/> + <qitem name="DirPDF" value="16"/> + <qitem name="DirNSM" value="17"/> + <qitem name="DirBN" value="18"/> + </qenum> + <qenum name="Decomposition" access="public"> + <qitem name="Single" value="0"/> + <qitem name="Canonical" value="1"/> + <qitem name="Font" value="2"/> + <qitem name="NoBreak" value="3"/> + <qitem name="Initial" value="4"/> + <qitem name="Medial" value="5"/> + <qitem name="Final" value="6"/> + <qitem name="Isolated" value="7"/> + <qitem name="Circle" value="8"/> + <qitem name="Super" value="9"/> + <qitem name="Sub" value="10"/> + <qitem name="Vertical" value="11"/> + <qitem name="Wide" value="12"/> + <qitem name="Narrow" value="13"/> + <qitem name="Small" value="14"/> + <qitem name="Square" value="15"/> + <qitem name="Compat" value="16"/> + <qitem name="Fraction" value="17"/> + </qenum> + <qenum name="Joining" access="public"> + <qitem name="OtherJoining" value="0"/> + <qitem name="Dual" value="1"/> + <qitem name="Right" value="2"/> + <qitem name="Center" value="3"/> + </qenum> + <qenum name="CombiningClass" access="public"> + <qitem name="Combining_BelowLeftAttached" value="200"/> + <qitem name="Combining_BelowAttached" value="202"/> + <qitem name="Combining_BelowRightAttached" value="204"/> + <qitem name="Combining_LeftAttached" value="208"/> + <qitem name="Combining_RightAttached" value="210"/> + <qitem name="Combining_AboveLeftAttached" value="212"/> + <qitem name="Combining_AboveAttached" value="214"/> + <qitem name="Combining_AboveRightAttached" value="216"/> + <qitem name="Combining_BelowLeft" value="218"/> + <qitem name="Combining_Below" value="220"/> + <qitem name="Combining_BelowRight" value="222"/> + <qitem name="Combining_Left" value="224"/> + <qitem name="Combining_Right" value="226"/> + <qitem name="Combining_AboveLeft" value="228"/> + <qitem name="Combining_Above" value="230"/> + <qitem name="Combining_AboveRight" value="232"/> + <qitem name="Combining_DoubleBelow" value="233"/> + <qitem name="Combining_DoubleAbove" value="234"/> + <qitem name="Combining_IotaSubscript" value="240"/> + </qenum> + <qctor name="QChar" access="public" id="0"/> + <qctor name="QChar" access="public" id="1"> + <qparam type="char" name="c"/> + </qctor> + <qctor name="QChar" access="public" id="2"> + <qparam type="uchar" name="c"/> + </qctor> + <qctor name="QChar" access="public" id="3"> + <qparam type="uchar" name="c"/> + <qparam type="uchar" name="r"/> + </qctor> + <qctor name="QChar" access="public" id="4"> + <qparam type="QCharamp" name="c"/> + </qctor> + <qctor name="QChar" access="public" id="5"> + <qparam type="ushort" name="rc"/> + </qctor> + <qctor name="QChar" access="public" id="6"> + <qparam type="short" name="rc"/> + </qctor> + <qctor name="QChar" access="public" id="7"> + <qparam type="uint" name="rc"/> + </qctor> + <qctor name="QChar" access="public" id="8"> + <qparam type="int" name="rc"/> + </qctor> + <qmethod name="digitValue" access="public" return="int" id="0"/> + <qmethod name="lower" access="public" return="QChar" id="0"/> + <qmethod name="upper" access="public" return="QChar" id="0"/> + <qmethod name="category" access="public" return="Category" id="0"/> + <qmethod name="direction" access="public" return="Direction" id="0"/> + <qmethod name="joining" access="public" return="Joining" id="0"/> + <qmethod name="mirrored" access="public" return="bool" id="0"/> + <qmethod name="mirroredChar" access="public" return="QChar" id="0"/> + <qmethod name="decomposition" access="public" return="QStringamp" id="0"/> + <qmethod name="decompositionTag" access="public" return="Decomposition" id="0"/> + <qmethod name="combiningClass" access="public" return="unsigned char" id="0"/> + <qmethod name="latin1" access="public" return="char" id="0"/> + <qmethod name="unicode" access="public" return="ushort" id="0"/> + <qmethod name="unicode" access="public" return="ushortamp" id="1"/> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="isPrint" access="public" return="bool" id="0"/> + <qmethod name="isPunct" access="public" return="bool" id="0"/> + <qmethod name="isSpace" access="public" return="bool" id="0"/> + <qmethod name="isMark" access="public" return="bool" id="0"/> + <qmethod name="isLetter" access="public" return="bool" id="0"/> + <qmethod name="isNumber" access="public" return="bool" id="0"/> + <qmethod name="isLetterOrNumber" access="public" return="bool" id="0"/> + <qmethod name="isDigit" access="public" return="bool" id="0"/> + <qmethod name="isSymbol" access="public" return="bool" id="0"/> + <qmethod name="cell" access="public" return="uchar" id="0"/> + <qmethod name="row" access="public" return="uchar" id="0"/> + <qmethod name="setCell" access="public" return="void" id="0"> + <qparam type="uchar" name="cell"/> + </qmethod> + <qmethod name="setRow" access="public" return="void" id="0"> + <qparam type="uchar" name="row"/> + </qmethod> + <qmethod name="networkOrdered" access="public static" return="bool" id="0"/> +</qtype> <qtype name="QCharRef" access="public"> + <qmethod name="unicode" access="public" return="ushort" id="0"/> + <qmethod name="latin1" access="public" return="char" id="0"/> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="isPrint" access="public" return="bool" id="0"/> + <qmethod name="isPunct" access="public" return="bool" id="0"/> + <qmethod name="isSpace" access="public" return="bool" id="0"/> + <qmethod name="isMark" access="public" return="bool" id="0"/> + <qmethod name="isLetter" access="public" return="bool" id="0"/> + <qmethod name="isNumber" access="public" return="bool" id="0"/> + <qmethod name="isLetterOrNumber" access="public" return="bool" id="0"/> + <qmethod name="isDigit" access="public" return="bool" id="0"/> + <qmethod name="digitValue" access="public" return="int" id="0"/> + <qmethod name="lower" access="public" return="QChar" id="0"/> + <qmethod name="upper" access="public" return="QChar" id="0"/> + <qmethod name="category" access="public" return="QChar::Category" id="0"/> + <qmethod name="direction" access="public" return="QChar::Direction" id="0"/> + <qmethod name="joining" access="public" return="QChar::Joining" id="0"/> + <qmethod name="mirrored" access="public" return="bool" id="0"/> + <qmethod name="mirroredChar" access="public" return="QChar" id="0"/> + <qmethod name="decomposition" access="public" return="QStringamp" id="0"/> + <qmethod name="decompositionTag" access="public" return="QChar::Decomposition" id="0"/> + <qmethod name="combiningClass" access="public" return="unsigned char" id="0"/> + <qmethod name="cell" access="public" return="uchar" id="0"/> + <qmethod name="row" access="public" return="uchar" id="0"/> +</qtype> <qtype name="QCheckBox" access="public"> + <qancestor name="QButton"/> + <qctor name="QCheckBox" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QCheckBox" access="public" id="1"> + <qparam type="QStringamp" name="text"/> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qmethod name="isChecked" access="public" return="bool" id="0"/> + <qmethod name="setChecked" access="public" return="void" id="0"> + <qparam type="bool" name="check"/> + </qmethod> + <qmethod name="setNoChange" access="public" return="void" id="0"/> + <qmethod name="setTristate" access="public" return="void" id="0"> + <qparam type="bool" name="y" default="TRUE"/> + </qmethod> + <qmethod name="isTristate" access="public" return="bool" id="0"/> + <qmethod name="protected_drawButton" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_drawButtonLabel" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_updateMask" access="protected" return="void" id="0"/> +</qtype> <qtype name="QCheckListItem" access="public"> + <qancestor name="QListViewItem"/> + <qenum name="Type" access="public"> + <qitem name="RadioButton" value="0"/> + <qitem name="CheckBox" value="1"/> + <qitem name="Controller" value="2"/> + </qenum> + <qctor name="QCheckListItem" access="public" id="0"> + <qparam type="QCheckListItem*" name="parent"/> + <qparam type="QStringamp" name="text"/> + <qparam type="Type" name="arg1" default="Controller"/> + </qctor> + <qctor name="QCheckListItem" access="public" id="1"> + <qparam type="QListViewItem*" name="parent"/> + <qparam type="QStringamp" name="text"/> + <qparam type="Type" name="arg1" default="Controller"/> + </qctor> + <qctor name="QCheckListItem" access="public" id="2"> + <qparam type="QListView*" name="parent"/> + <qparam type="QStringamp" name="text"/> + <qparam type="Type" name="arg1" default="Controller"/> + </qctor> + <qctor name="QCheckListItem" access="public" id="3"> + <qparam type="QListViewItem*" name="parent"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QPixmapamp" name="arg1"/> + </qctor> + <qctor name="QCheckListItem" access="public" id="4"> + <qparam type="QListView*" name="parent"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QPixmapamp" name="arg1"/> + </qctor> + <qdctor name="QCheckListItem" access="public"/> + <qmethod name="paintCell" access="public" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="int" name="column"/> + <qparam type="int" name="width"/> + <qparam type="int" name="alignment"/> + </qmethod> + <qmethod name="paintFocus" access="public" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="width" access="public" return="int" id="0"> + <qparam type="QFontMetricsamp" name="arg1"/> + <qparam type="QListView*" name="arg2"/> + <qparam type="int" name="column"/> + </qmethod> + <qmethod name="setup" access="public" return="void" id="0"/> + <qmethod name="setOn" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isOn" access="public" return="bool" id="0"/> + <qmethod name="type" access="public" return="Type" id="0"/> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="text" access="public" return="QString" id="1"> + <qparam type="int" name="n"/> + </qmethod> + <qmethod name="rtti" access="public" return="int" id="0"/> + <qmethod name="protected_activate" access="protected" return="void" id="0"/> + <qmethod name="protected_turnOffChild" access="protected" return="void" id="0"/> + <qmethod name="protected_stateChange" access="protected" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> +</qtype> <qtype name="QCheckTableItem" access="public"> + <qancestor name="QTableItem"/> + <qctor name="QCheckTableItem" access="public" id="0"> + <qparam type="QTable*" name="table"/> + <qparam type="QStringamp" name="txt"/> + </qctor> + <qmethod name="createEditor" access="public" return="QWidget*" id="0"/> + <qmethod name="setContentFromEditor" access="public" return="void" id="0"> + <qparam type="QWidget*" name="w"/> + </qmethod> + <qmethod name="paint" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="QRectamp" name="cr"/> + <qparam type="bool" name="selected"/> + </qmethod> + <qmethod name="setChecked" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="isChecked" access="public" return="bool" id="0"/> + <qmethod name="rtti" access="public" return="int" id="0"/> +</qtype> <qtype name="QChildEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QChildEvent" access="public" id="0"> + <qparam type="Type" name="type"/> + <qparam type="QObject*" name="child"/> + </qctor> + <qmethod name="child" access="public" return="QObject*" id="0"/> + <qmethod name="inserted" access="public" return="bool" id="0"/> + <qmethod name="removed" access="public" return="bool" id="0"/> +</qtype> <qtype name="QClassInfo" access="public"> +</qtype> <qtype name="QCleanupHandler" access="public"> + <qctor name="QCleanupHandler" access="public" id="0"/> + <qdctor name="QCleanupHandler" access="public"/> + <qmethod name="add" access="public" return="Type*" id="0"> + <qparam type="Type**" name="object"/> + </qmethod> + <qmethod name="remove" access="public" return="void" id="0"> + <qparam type="Type**" name="object"/> + </qmethod> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="clear" access="public" return="void" id="0"/> +</qtype> <qtype name="QClipboard" access="public"> + <qancestor name="QObject"/> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="supportsSelection" access="public" return="bool" id="0"/> + <qmethod name="ownsSelection" access="public" return="bool" id="0"/> + <qmethod name="ownsClipboard" access="public" return="bool" id="0"/> + <qmethod name="setSelectionMode" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="selectionModeEnabled" access="public" return="bool" id="0"/> + <qmethod name="data" access="public" return="QMimeSource*" id="0"/> + <qmethod name="setData" access="public" return="void" id="0"> + <qparam type="QMimeSource*" name="arg1"/> + </qmethod> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="text" access="public" return="QString" id="1"> + <qparam type="QCStringamp" name="subtype"/> + </qmethod> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="image" access="public" return="QImage" id="0"/> + <qmethod name="pixmap" access="public" return="QPixmap" id="0"/> + <qmethod name="setImage" access="public" return="void" id="0"> + <qparam type="QImageamp" name="arg1"/> + </qmethod> + <qmethod name="setPixmap" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="arg1"/> + </qmethod> + <qmethod name="protected_connectNotify" access="protected" return="void" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="protected_event" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="arg1"/> + </qmethod> +</qtype> <qtype name="QCloseEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QCloseEvent" access="public" id="0"/> + <qmethod name="isAccepted" access="public" return="bool" id="0"/> + <qmethod name="accept" access="public" return="void" id="0"/> + <qmethod name="ignore" access="public" return="void" id="0"/> +</qtype> <qtype name="QColor" access="public"> + <qenum name="Spec" access="public"> + <qitem name="Rgb" value="0"/> + <qitem name="Hsv" value="1"/> + </qenum> + <qenum name="DirtFlag" access="public"> + <qitem name="Dirt" value="1145655892"/> + <qitem name="Invalid" value="1224736768"/> + </qenum> + <qctor name="QColor" access="public" id="0"/> + <qctor name="QColor" access="public" id="1"> + <qparam type="int" name="r"/> + <qparam type="int" name="g"/> + <qparam type="int" name="b"/> + </qctor> + <qctor name="QColor" access="public" id="2"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="z"/> + <qparam type="Spec" name="arg1"/> + </qctor> + <qctor name="QColor" access="public" id="3"> + <qparam type="QRgb" name="rgb"/> + <qparam type="uint" name="pixel" default="0xffffffff"/> + </qctor> + <qctor name="QColor" access="public" id="4"> + <qparam type="QStringamp" name="name"/> + </qctor> + <qctor name="QColor" access="public" id="5"> + <qparam type="char*" name="name"/> + </qctor> + <qctor name="QColor" access="public" id="6"> + <qparam type="QColoramp" name="arg1"/> + </qctor> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="isDirty" access="public" return="bool" id="0"/> + <qmethod name="name" access="public" return="QString" id="0"/> + <qmethod name="setNamedColor" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="rgb" access="public" return="void" id="0"> + <qparam type="int*" name="r"/> + <qparam type="int*" name="g"/> + <qparam type="int*" name="b"/> + </qmethod> + <qmethod name="rgb" access="public" return="QRgb" id="1"/> + <qmethod name="setRgb" access="public" return="void" id="0"> + <qparam type="int" name="r"/> + <qparam type="int" name="g"/> + <qparam type="int" name="b"/> + </qmethod> + <qmethod name="setRgb" access="public" return="void" id="1"> + <qparam type="QRgb" name="rgb"/> + </qmethod> + <qmethod name="red" access="public" return="int" id="0"/> + <qmethod name="green" access="public" return="int" id="0"/> + <qmethod name="blue" access="public" return="int" id="0"/> + <qmethod name="hsv" access="public" return="void" id="0"> + <qparam type="int*" name="h"/> + <qparam type="int*" name="s"/> + <qparam type="int*" name="v"/> + </qmethod> + <qmethod name="getHsv" access="public" return="void" id="0"> + <qparam type="intamp" name="h"/> + <qparam type="intamp" name="s"/> + <qparam type="intamp" name="v"/> + </qmethod> + <qmethod name="setHsv" access="public" return="void" id="0"> + <qparam type="int" name="h"/> + <qparam type="int" name="s"/> + <qparam type="int" name="v"/> + </qmethod> + <qmethod name="light" access="public" return="QColor" id="0"> + <qparam type="int" name="f" default="150"/> + </qmethod> + <qmethod name="dark" access="public" return="QColor" id="0"> + <qparam type="int" name="f" default="200"/> + </qmethod> + <qmethod name="alloc" access="public" return="uint" id="0"/> + <qmethod name="pixel" access="public" return="uint" id="0"/> + <qmethod name="maxColors" access="public static" return="int" id="0"/> + <qmethod name="numBitPlanes" access="public static" return="int" id="0"/> + <qmethod name="enterAllocContext" access="public static" return="int" id="0"/> + <qmethod name="leaveAllocContext" access="public static" return="void" id="0"/> + <qmethod name="currentAllocContext" access="public static" return="int" id="0"/> + <qmethod name="destroyAllocContext" access="public static" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="palette" access="public static" return="QRgb*" id="0"> + <qparam type="int*" name="numEntries" default="0"/> + </qmethod> + <qmethod name="setPaletteEntries" access="public static" return="int" id="0"> + <qparam type="QRgb*" name="entries"/> + <qparam type="int" name="numEntries"/> + <qparam type="int" name="base" default="-1"/> + </qmethod> + <qmethod name="hPal" access="public static" return="HPALETTE" id="0"/> + <qmethod name="realizePal" access="public static" return="uint" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="initialize" access="public static" return="void" id="0"/> + <qmethod name="cleanup" access="public static" return="void" id="0"/> +</qtype> <qtype name="QColorDialog" access="public"> + <qancestor name="QDialog"/> + <qmethod name="getColor" access="public static" return="QColor" id="0"> + <qparam type="QColoramp" name="init" default="white"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qmethod> + <qmethod name="getRgba" access="public static" return="QRgb" id="0"> + <qparam type="QRgb" name="arg1"/> + <qparam type="bool*" name="ok" default="0"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qmethod> + <qmethod name="customCount" access="public static" return="int" id="0"/> + <qmethod name="customColor" access="public static" return="QRgb" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setCustomColor" access="public static" return="void" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="QRgb" name="arg2"/> + </qmethod> +</qtype> <qtype name="QColorDrag" access="public"> + <qancestor name="QStoredDrag"/> + <qctor name="QColorDrag" access="public" id="0"> + <qparam type="QColoramp" name="col"/> + <qparam type="QWidget*" name="dragsource" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QColorDrag" access="public" id="1"> + <qparam type="QWidget*" name="dragSource" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qmethod name="setColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="col"/> + </qmethod> + <qmethod name="canDecode" access="public static" return="bool" id="0"> + <qparam type="QMimeSource*" name="arg1"/> + </qmethod> + <qmethod name="decode" access="public static" return="bool" id="0"> + <qparam type="QMimeSource*" name="arg1"/> + <qparam type="QColoramp" name="col"/> + </qmethod> +</qtype> <qtype name="QColorGroup" access="public"> + <qenum name="ColorRole" access="public"> + <qitem name="Foreground" value="0"/> + <qitem name="Button" value="1"/> + <qitem name="Light" value="2"/> + <qitem name="Midlight" value="3"/> + <qitem name="Dark" value="4"/> + <qitem name="Mid" value="5"/> + <qitem name="Text" value="6"/> + <qitem name="BrightText" value="7"/> + <qitem name="ButtonText" value="8"/> + <qitem name="Base" value="9"/> + <qitem name="Background" value="10"/> + <qitem name="Shadow" value="11"/> + <qitem name="Highlight" value="12"/> + <qitem name="HighlightedText" value="13"/> + <qitem name="Link" value="14"/> + <qitem name="LinkVisited" value="15"/> + <qitem name="NColorRoles" value="16"/> + </qenum> + <qctor name="QColorGroup" access="public" id="0"/> + <qctor name="QColorGroup" access="public" id="1"> + <qparam type="QColoramp" name="foreground"/> + <qparam type="QColoramp" name="button"/> + <qparam type="QColoramp" name="light"/> + <qparam type="QColoramp" name="dark"/> + <qparam type="QColoramp" name="mid"/> + <qparam type="QColoramp" name="text"/> + <qparam type="QColoramp" name="base"/> + </qctor> + <qctor name="QColorGroup" access="public" id="2"> + <qparam type="QBrushamp" name="foreground"/> + <qparam type="QBrushamp" name="button"/> + <qparam type="QBrushamp" name="light"/> + <qparam type="QBrushamp" name="dark"/> + <qparam type="QBrushamp" name="mid"/> + <qparam type="QBrushamp" name="text"/> + <qparam type="QBrushamp" name="bright_text"/> + <qparam type="QBrushamp" name="base"/> + <qparam type="QBrushamp" name="background"/> + </qctor> + <qctor name="QColorGroup" access="public" id="3"> + <qparam type="QColorGroupamp" name="arg1"/> + </qctor> + <qdctor name="QColorGroup" access="public"/> + <qmethod name="color" access="public" return="QColoramp" id="0"> + <qparam type="ColorRole" name="arg1"/> + </qmethod> + <qmethod name="brush" access="public" return="QBrushamp" id="0"> + <qparam type="ColorRole" name="arg1"/> + </qmethod> + <qmethod name="setColor" access="public" return="void" id="0"> + <qparam type="ColorRole" name="arg1"/> + <qparam type="QColoramp" name="arg2"/> + </qmethod> + <qmethod name="setBrush" access="public" return="void" id="0"> + <qparam type="ColorRole" name="arg1"/> + <qparam type="QBrushamp" name="arg2"/> + </qmethod> + <qmethod name="foreground" access="public" return="QColoramp" id="0"/> + <qmethod name="button" access="public" return="QColoramp" id="0"/> + <qmethod name="light" access="public" return="QColoramp" id="0"/> + <qmethod name="dark" access="public" return="QColoramp" id="0"/> + <qmethod name="mid" access="public" return="QColoramp" id="0"/> + <qmethod name="text" access="public" return="QColoramp" id="0"/> + <qmethod name="base" access="public" return="QColoramp" id="0"/> + <qmethod name="background" access="public" return="QColoramp" id="0"/> + <qmethod name="midlight" access="public" return="QColoramp" id="0"/> + <qmethod name="brightText" access="public" return="QColoramp" id="0"/> + <qmethod name="buttonText" access="public" return="QColoramp" id="0"/> + <qmethod name="shadow" access="public" return="QColoramp" id="0"/> + <qmethod name="highlight" access="public" return="QColoramp" id="0"/> + <qmethod name="highlightedText" access="public" return="QColoramp" id="0"/> + <qmethod name="link" access="public" return="QColoramp" id="0"/> + <qmethod name="linkVisited" access="public" return="QColoramp" id="0"/> +</qtype> <qtype name="QComboBox" access="public"> + <qancestor name="QWidget"/> + <qenum name="Policy" access="public"> + <qitem name="NoInsertion" value="0"/> + <qitem name="AtTop" value="1"/> + <qitem name="AtCurrent" value="2"/> + <qitem name="AtBottom" value="3"/> + <qitem name="AfterCurrent" value="4"/> + <qitem name="BeforeCurrent" value="5"/> + </qenum> + <qctor name="QComboBox" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QComboBox" access="public" id="1"> + <qparam type="bool" name="rw" /> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qmethod name="autoCompletion" access="public" return="bool" id="0"/> + <qmethod name="autoResize" access="public" return="bool" id="0"/> + <qmethod name="changeItem" access="public" return="void" id="0"> + <qparam type="QStringamp" name="t"/> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="changeItem" access="public" return="void" id="1"> + <qparam type="QPixmapamp" name="im"/> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="changeItem" access="public" return="void" id="2"> + <qparam type="QPixmapamp" name="im"/> + <qparam type="QStringamp" name="t"/> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="clearValidator" access="public" return="void" id="0"/> + <qmethod name="clearEdit" access="public" return="void" id="0"/> + <qmethod name="count" access="public" return="int" id="0"/> + <qmethod name="currentItem" access="public" return="int" id="0"/> + <qmethod name="currentText" access="public" return="QStringamp" id="0"/> + <qmethod name="duplicatesEnabled" access="public" return="bool" id="0"/> + <qmethod name="editable" access="public" return="bool" id="0"/> + <qmethod name="insertItem" access="public" return="void" id="0"> + <qparam type="QStringamp" name="t"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="void" id="1"> + <qparam type="QPixmapamp" name="pixmap"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="void" id="2"> + <qparam type="QPixmapamp" name="pixmap"/> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertionPolicy" access="public" return="Policy" id="0"/> + <qmethod name="lineEdit" access="public" return="QLineEdit*" id="0"/> + <qmethod name="listBox" access="public" return="QListBox*" id="0"/> + <qmethod name="maxCount" access="public" return="int" id="0"/> + <qmethod name="pixmap" access="public" return="QPixmap*" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="popup" access="public" return="void" id="0"/> + <qmethod name="removeItem" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="setAutoCompletion" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setAutoResize" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setCurrenItem" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="setCurrentText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setDuplicatesEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="setEditText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="newText"/> + </qmethod> + <qmethod name="setEditable" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="font"/> + </qmethod> + <qmethod name="setInsertionPolicy" access="public" return="void" id="0"> + <qparam type="Policy" name="policy"/> + </qmethod> + <qmethod name="setLineEdit" access="public" return="void" id="0"> + <qparam type="QLineEdit*" name="edit"/> + </qmethod> + <qmethod name="setListBox" access="public" return="void" id="0"> + <qparam type="QListBox*" name="newListBox"/> + </qmethod> + <qmethod name="setMaxCount" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setPalette" access="public" return="void" id="0"> + <qparam type="QPaletteamp" name="palette"/> + </qmethod> + <qmethod name="setSizeLimit" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setValidator" access="public" return="void" id="0"> + <qparam type="QValidator*" name="v"/> + </qmethod> + <qmethod name="sizeLimit" access="public" return="int" id="0"/> + <qmethod name="text" access="public" return="QString" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="validator" access="public" return="QValidator*" id="0"/> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_updateMask" access="protected" return="void" id="0"/> +</qtype> <qtype name="QComboTableItem" access="public"> + <qancestor name="QTableItem"/> + <qctor name="QComboTableItem" access="public" id="0"> + <qparam type="QTable*" name="table"/> + <qparam type="QStringListamp" name="list"/> + <qparam type="bool" name="editable" default="FALSE"/> + </qctor> + <qmethod name="createEditor" access="public" return="QWidget*" id="0"/> + <qmethod name="setContentFromEditor" access="public" return="void" id="0"> + <qparam type="QWidget*" name="w"/> + </qmethod> + <qmethod name="paint" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="QRectamp" name="cr"/> + <qparam type="bool" name="selected"/> + </qmethod> + <qmethod name="setCurrentItem" access="public" return="void" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="setCurrentItem" access="public" return="void" id="1"> + <qparam type="QStringamp" name="i"/> + </qmethod> + <qmethod name="currentItem" access="public" return="int" id="0"/> + <qmethod name="currentText" access="public" return="QString" id="0"/> + <qmethod name="count" access="public" return="int" id="0"/> + <qmethod name="text" access="public" return="QString" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="setEditable" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="isEditable" access="public" return="bool" id="0"/> + <qmethod name="setStringList" access="public" return="void" id="0"> + <qparam type="QStringListamp" name="l"/> + </qmethod> + <qmethod name="rtti" access="public" return="int" id="0"/> +</qtype> <qtype name="QCommonStyle" access="public"> + <qancestor name="QStyle"/> + <qctor name="QCommonStyle" access="public" id="0"/> + <qdctor name="QCommonStyle" access="public"/> + <qmethod name="drawPrimitive" access="public" return="void" id="0"> + <qparam type="PrimitiveElement" name="pe"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="flags" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawControl" access="public" return="void" id="0"> + <qparam type="ControlElement" name="element"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="how" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawControlMask" access="public" return="void" id="0"> + <qparam type="ControlElement" name="element"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="subRect" access="public" return="QRect" id="0"> + <qparam type="SubRect" name="r"/> + <qparam type="QWidget*" name="widget"/> + </qmethod> + <qmethod name="drawComplexControl" access="public" return="void" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="how" default="Style_Default"/> + <qparam type="SCFlags" name="sub" default="SC_All"/> + <qparam type="SCFlags" name="subActive" default="SC_None"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawComplexControlMask" access="public" return="void" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="querySubControlMetrics" access="public" return="QRect" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="SubControl" name="sc"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="querySubControl" access="public" return="SubControl" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QPointamp" name="pos"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="pixelMetric" access="public" return="int" id="0"> + <qparam type="PixelMetric" name="m"/> + <qparam type="QWidget*" name="widget" default="0"/> + </qmethod> + <qmethod name="sizeFromContents" access="public" return="QSize" id="0"> + <qparam type="ContentsType" name="s"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QSizeamp" name="contentsSize"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="styleHint" access="public" return="int" id="0"> + <qparam type="StyleHint" name="sh"/> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QStyleOptionamp" name="arg2"/> + <qparam type="QStyleHintReturn*" name="arg3"/> + </qmethod> + <qmethod name="stylePixmap" access="public" return="QPixmap" id="0"> + <qparam type="StylePixmap" name="sp"/> + <qparam type="QWidget*" name="widget" default="0"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> +</qtype> <qtype name="QCompactStyle" access="public"> + <qancestor name="QWindowsStyle"/> + <qctor name="QCompactStyle" access="public" id="0"/> + <qmethod name="pixelMetric" access="public" return="int" id="0"> + <qparam type="PixelMetric" name="metric"/> + <qparam type="QWidget*" name="widget" default="0"/> + </qmethod> + <qmethod name="drawControl" access="public" return="void" id="0"> + <qparam type="ControlElement" name="element"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="w"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="how" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> +</qtype> <qtype name="QConnection" access="public"> + <qctor name="QConnection" access="public" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="int" name="arg2"/> + <qparam type="char*" name="memberName"/> + <qparam type="int" name="memberType"/> + </qctor> + <qdctor name="QConnection" access="public"/> + <qmethod name="isConnected" access="public" return="bool" id="0"/> + <qmethod name="object" access="public" return="QObject*" id="0"/> + <qmethod name="member" access="public" return="int" id="0"/> + <qmethod name="memberName" access="public" return="char*" id="0"/> + <qmethod name="memberType" access="public" return="int" id="0"/> + <qmethod name="numArgs" access="public" return="int" id="0"/> +</qtype> <qtype name="QConnectionList" access="public"> + <qancestor name="QPtrList"/> + <qdctor name="QConnectionList" access="public"/> +</qtype> <qtype name="QConnectionListIt" access="public"> + <qancestor name="QPtrListIterator"/> +</qtype> <qtype name="QConstString" access="public"> + <qancestor name="QString"/> + <qctor name="QConstString" access="public" id="0"> + <qparam type="QChar*" name="unicode"/> + <qparam type="uint" name="length"/> + </qctor> + <qdctor name="QConstString" access="public"/> + <qmethod name="string" access="public" return="QStringamp" id="0"/> +</qtype> <qtype name="QContextMenuEvent" access="public"> + <qancestor name="QEvent"/> + <qenum name="Reason" access="public"> + <qitem name="Mouse" value="0"/> + <qitem name="Keyboard" value="1"/> + <qitem name="Other" value="2"/> + </qenum> + <qctor name="QContextMenuEvent" access="public" id="0"> + <qparam type="Reason" name="reason"/> + <qparam type="QPointamp" name="pos"/> + <qparam type="QPointamp" name="globalPos"/> + <qparam type="int" name="state"/> + </qctor> + <qctor name="QContextMenuEvent" access="public" id="1"> + <qparam type="Reason" name="reason"/> + <qparam type="QPointamp" name="pos"/> + <qparam type="int" name="state"/> + </qctor> + <qmethod name="x" access="public" return="int" id="0"/> + <qmethod name="y" access="public" return="int" id="0"/> + <qmethod name="globalX" access="public" return="int" id="0"/> + <qmethod name="globalY" access="public" return="int" id="0"/> + <qmethod name="pos" access="public" return="QPointamp" id="0"/> + <qmethod name="globalPos" access="public" return="QPointamp" id="0"/> + <qmethod name="state" access="public" return="ButtonState" id="0"/> + <qmethod name="isAccepted" access="public" return="bool" id="0"/> + <qmethod name="isConsumed" access="public" return="bool" id="0"/> + <qmethod name="consume" access="public" return="void" id="0"/> + <qmethod name="accept" access="public" return="void" id="0"/> + <qmethod name="ignore" access="public" return="void" id="0"/> + <qmethod name="reason" access="public" return="Reason" id="0"/> +</qtype> <qtype name="QCursor" access="public"> + <qancestor name="Qt"/> + <qancestor name="Qt"/> + <qctor name="QCursor" access="public" id="0"/> + <qctor name="QCursor" access="public" id="1"> + <qparam type="int" name="shape"/> + </qctor> + <qctor name="QCursor" access="public" id="2"> + <qparam type="QBitmapamp" name="bitmap"/> + <qparam type="QBitmapamp" name="mask"/> + <qparam type="int" name="hotX" default="-1"/> + <qparam type="int" name="hotY" default="-1"/> + </qctor> + <qctor name="QCursor" access="public" id="3"> + <qparam type="QPixmapamp" name="pixmap"/> + <qparam type="int" name="hotX" default="-1"/> + <qparam type="int" name="hotY" default="-1"/> + </qctor> + <qctor name="QCursor" access="public" id="4"> + <qparam type="QCursoramp" name="arg1"/> + </qctor> + <qdctor name="QCursor" access="public"/> + <qmethod name="shape" access="public" return="int" id="0"/> + <qmethod name="setShape" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="bitmap" access="public" return="QBitmap*" id="0"/> + <qmethod name="mask" access="public" return="QBitmap*" id="0"/> + <qmethod name="hotSpot" access="public" return="QPoint" id="0"/> + <qmethod name="handle" access="public" return="HCURSOR" id="0"/> + <qctor name="QCursor" access="public" id="5"> + <qparam type="HCURSOR" name="arg1"/> + </qctor> + <qmethod name="handle" access="public" return="HANDLE" id="1"/> + <qmethod name="handle" access="public" return="HANDLE" id="2"/> + <qmethod name="handle" access="public" return="HANDLE" id="3"/> + <qmethod name="pos" access="public static" return="QPoint" id="0"/> + <qmethod name="setPos" access="public static" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="setPos" access="public static" return="void" id="1"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="pos" access="public static" return="QPoint" id="1"/> + <qmethod name="setPos" access="public static" return="void" id="2"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="setPos" access="public static" return="void" id="3"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="initialize" access="public static" return="void" id="0"/> + <qmethod name="cleanup" access="public static" return="void" id="0"/> + <qmethod name="x11Screen" access="public static" return="int" id="0"/> +</qtype> <qtype name="QCustomEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QCustomEvent" access="public" id="0"> + <qparam type="int" name="type"/> + </qctor> + <qctor name="QCustomEvent" access="public" id="1"> + <qparam type="Type" name="type"/> + <qparam type="void*" name="data"/> + </qctor> + <qmethod name="data" access="public" return="void*" id="0"/> + <qmethod name="setData" access="public" return="void" id="0"> + <qparam type="void*" name="data"/> + </qmethod> +</qtype> <qtype name="QCustomMenuItem" access="public"> + <qancestor name="Qt"/> + <qdctor name="QCustomMenuItem" access="public"/> + <qmethod name="fullSpan" access="public" return="bool" id="0"/> + <qmethod name="isSeparator" access="public" return="bool" id="0"/> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="font"/> + </qmethod> + <qmethod name="paint" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="bool" name="act"/> + <qparam type="bool" name="enabled"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> +</qtype> <qtype name="QDataBrowser" access="public"> + <qancestor name="QWidget"/> + <qenum name="Boundary" access="public"> + <qitem name="Unknown" value="0"/> + <qitem name="None" value="1"/> + <qitem name="BeforeBeginning" value="2"/> + <qitem name="Beginning" value="3"/> + <qitem name="End" value="4"/> + <qitem name="AfterEnd" value="5"/> + </qenum> + <qctor name="QDataBrowser" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="fl" default="0"/> + </qctor> + <qdctor name="QDataBrowser" access="public"/> + <qmethod name="boundary" access="public" return="Boundary" id="0"/> + <qmethod name="setBoundaryChecking" access="public" return="void" id="0"> + <qparam type="bool" name="active"/> + </qmethod> + <qmethod name="boundaryChecking" access="public" return="bool" id="0"/> + <qmethod name="setSort" access="public" return="void" id="0"> + <qparam type="QSqlIndexamp" name="sort"/> + </qmethod> + <qmethod name="setSort" access="public" return="void" id="1"> + <qparam type="QStringListamp" name="sort"/> + </qmethod> + <qmethod name="sort" access="public" return="QStringList" id="0"/> + <qmethod name="setFilter" access="public" return="void" id="0"> + <qparam type="QStringamp" name="filter"/> + </qmethod> + <qmethod name="filter" access="public" return="QString" id="0"/> + <qmethod name="setSqlCursor" access="public" return="void" id="0"> + <qparam type="QSqlCursor*" name="cursor"/> + <qparam type="bool" name="autoDelete" default="FALSE"/> + </qmethod> + <qmethod name="sqlCursor" access="public" return="QSqlCursor*" id="0"/> + <qmethod name="setForm" access="public" return="void" id="0"> + <qparam type="QSqlForm*" name="form"/> + </qmethod> + <qmethod name="form" access="public" return="QSqlForm*" id="0"/> + <qmethod name="setConfirmEdits" access="public" return="void" id="0"> + <qparam type="bool" name="confirm"/> + </qmethod> + <qmethod name="setConfirmInsert" access="public" return="void" id="0"> + <qparam type="bool" name="confirm"/> + </qmethod> + <qmethod name="setConfirmUpdate" access="public" return="void" id="0"> + <qparam type="bool" name="confirm"/> + </qmethod> + <qmethod name="setConfirmDelete" access="public" return="void" id="0"> + <qparam type="bool" name="confirm"/> + </qmethod> + <qmethod name="setConfirmCancels" access="public" return="void" id="0"> + <qparam type="bool" name="confirm"/> + </qmethod> + <qmethod name="confirmEdits" access="public" return="bool" id="0"/> + <qmethod name="confirmInsert" access="public" return="bool" id="0"/> + <qmethod name="confirmUpdate" access="public" return="bool" id="0"/> + <qmethod name="confirmDelete" access="public" return="bool" id="0"/> + <qmethod name="confirmCancels" access="public" return="bool" id="0"/> + <qmethod name="setReadOnly" access="public" return="void" id="0"> + <qparam type="bool" name="active"/> + </qmethod> + <qmethod name="isReadOnly" access="public" return="bool" id="0"/> + <qmethod name="setAutoEdit" access="public" return="void" id="0"> + <qparam type="bool" name="autoEdit"/> + </qmethod> + <qmethod name="autoEdit" access="public" return="bool" id="0"/> + <qmethod name="seek" access="public" return="bool" id="0"> + <qparam type="int" name="i"/> + <qparam type="bool" name="relative" default="FALSE"/> + </qmethod> + <qmethod name="refresh" access="public" return="void" id="0"/> + <qmethod name="insert" access="public" return="void" id="0"/> + <qmethod name="update" access="public" return="void" id="0"/> + <qmethod name="del" access="public" return="void" id="0"/> + <qmethod name="first" access="public" return="void" id="0"/> + <qmethod name="last" access="public" return="void" id="0"/> + <qmethod name="next" access="public" return="void" id="0"/> + <qmethod name="prev" access="public" return="void" id="0"/> + <qmethod name="readFields" access="public" return="void" id="0"/> + <qmethod name="writeFields" access="public" return="void" id="0"/> + <qmethod name="clearValues" access="public" return="void" id="0"/> + <qmethod name="updateBoundary" access="public" return="void" id="0"/> + <qmethod name="protected_insertCurrent" access="protected" return="bool" id="0"/> + <qmethod name="protected_updateCurrent" access="protected" return="bool" id="0"/> + <qmethod name="protected_deleteCurrent" access="protected" return="bool" id="0"/> + <qmethod name="protected_currentEdited" access="protected" return="bool" id="0"/> + <qmethod name="protected_confirmEdit" access="protected" return="QSql::Confirm" id="0"> + <qparam type="QSql::Op" name="m"/> + </qmethod> + <qmethod name="protected_confirmCancel" access="protected" return="QSql::Confirm" id="0"> + <qparam type="QSql::Op" name="m"/> + </qmethod> + <qmethod name="protected_handleError" access="protected" return="void" id="0"> + <qparam type="QSqlErroramp" name="error"/> + </qmethod> +</qtype> <qtype name="QDataPump" access="public"> + <qancestor name="QObject"/> + <qctor name="QDataPump" access="public" id="0"> + <qparam type="QDataSource*" name="arg1"/> + <qparam type="QDataSink*" name="arg2"/> + </qctor> +</qtype> <qtype name="QDataSink" access="public"> + <qancestor name="QAsyncIO"/> + <qmethod name="readyToReceive" access="public" return="int" id="0"/> + <qmethod name="receive" access="public" return="void" id="0"> + <qparam type="uchar*" name="arg1"/> + <qparam type="int" name="count"/> + </qmethod> + <qmethod name="eof" access="public" return="void" id="0"/> + <qmethod name="maybeReady" access="public" return="void" id="0"/> +</qtype> <qtype name="QDataSource" access="public"> + <qancestor name="QAsyncIO"/> + <qmethod name="readyToSend" access="public" return="int" id="0"/> + <qmethod name="sendTo" access="public" return="void" id="0"> + <qparam type="QDataSink*" name="arg1"/> + <qparam type="int" name="count"/> + </qmethod> + <qmethod name="maybeReady" access="public" return="void" id="0"/> + <qmethod name="rewindable" access="public" return="bool" id="0"/> + <qmethod name="enableRewind" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="rewind" access="public" return="void" id="0"/> +</qtype> <qtype name="QDataStream" access="public"> + <qenum name="ByteOrder" access="public"> + <qitem name="BigEndian" value="0"/> + <qitem name="LittleEndian" value="1"/> + </qenum> + <qctor name="QDataStream" access="public" id="0"/> + <qctor name="QDataStream" access="public" id="1"> + <qparam type="QIODevice*" name="arg1"/> + </qctor> + <qctor name="QDataStream" access="public" id="2"> + <qparam type="QByteArray" name="arg1"/> + <qparam type="int" name="mode"/> + </qctor> + <qdctor name="QDataStream" access="public"/> + <qmethod name="device" access="public" return="QIODevice*" id="0"/> + <qmethod name="setDevice" access="public" return="void" id="0"> + <qparam type="QIODevice*" name="arg1"/> + </qmethod> + <qmethod name="unsetDevice" access="public" return="void" id="0"/> + <qmethod name="atEnd" access="public" return="bool" id="0"/> + <qmethod name="eof" access="public" return="bool" id="0"/> + <qmethod name="byteOrder" access="public" return="int" id="0"/> + <qmethod name="setByteOrder" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="isPrintableData" access="public" return="bool" id="0"/> + <qmethod name="setPrintableData" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="version" access="public" return="int" id="0"/> + <qmethod name="setVersion" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="readBytes" access="public" return="QDataStreamamp" id="0"> + <qparam type="char*amp" name="arg1"/> + <qparam type="uintamp" name="len"/> + </qmethod> + <qmethod name="readRawBytes" access="public" return="QDataStreamamp" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="writeBytes" access="public" return="QDataStreamamp" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="writeRawBytes" access="public" return="QDataStreamamp" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="uint" name="len"/> + </qmethod> +</qtype> <qtype name="QDataTable" access="public"> + <qancestor name="QTable"/> + <qenum name="Refresh" access="public"> + <qitem name="RefreshData" value="1"/> + <qitem name="RefreshColumns" value="2"/> + <qitem name="RefreshAll" value="3"/> + </qenum> + <qctor name="QDataTable" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QDataTable" access="public" id="1"> + <qparam type="QSqlCursor*" name="cursor"/> + <qparam type="bool" name="autoPopulate" default="FALSE"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QDataTable" access="public"/> + <qmethod name="addColumn" access="public" return="void" id="0"> + <qparam type="QStringamp" name="fieldName"/> + <qparam type="QStringamp" name="label" default="QString::null"/> + <qparam type="int" name="width" default="-1"/> + <qparam type="QIconSetamp" name="iconset" default="QIconSet()"/> + </qmethod> + <qmethod name="removeColumn" access="public" return="void" id="0"> + <qparam type="uint" name="col"/> + </qmethod> + <qmethod name="setColumn" access="public" return="void" id="0"> + <qparam type="uint" name="col"/> + <qparam type="QStringamp" name="fieldName"/> + <qparam type="QStringamp" name="label" default="QString::null"/> + <qparam type="int" name="width" default="-1"/> + <qparam type="QIconSetamp" name="iconset" default="QIconSet()"/> + </qmethod> + <qmethod name="nullText" access="public" return="QString" id="0"/> + <qmethod name="trueText" access="public" return="QString" id="0"/> + <qmethod name="falseText" access="public" return="QString" id="0"/> + <qmethod name="dateFormat" access="public" return="DateFormat" id="0"/> + <qmethod name="confirmEdits" access="public" return="bool" id="0"/> + <qmethod name="confirmInsert" access="public" return="bool" id="0"/> + <qmethod name="confirmUpdate" access="public" return="bool" id="0"/> + <qmethod name="confirmDelete" access="public" return="bool" id="0"/> + <qmethod name="confirmCancels" access="public" return="bool" id="0"/> + <qmethod name="autoDelete" access="public" return="bool" id="0"/> + <qmethod name="autoEdit" access="public" return="bool" id="0"/> + <qmethod name="filter" access="public" return="QString" id="0"/> + <qmethod name="sort" access="public" return="QStringList" id="0"/> + <qmethod name="setSqlCursor" access="public" return="void" id="0"> + <qparam type="QSqlCursor*" name="cursor" default="0"/> + <qparam type="bool" name="autoPopulate" default="FALSE"/> + <qparam type="bool" name="autoDelete" default="FALSE"/> + </qmethod> + <qmethod name="sqlCursor" access="public" return="QSqlCursor*" id="0"/> + <qmethod name="setNullText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="nullText"/> + </qmethod> + <qmethod name="setTrueText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="trueText"/> + </qmethod> + <qmethod name="setFalseText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="falseText"/> + </qmethod> + <qmethod name="setDateFormat" access="public" return="void" id="0"> + <qparam type="DateFormat" name="f"/> + </qmethod> + <qmethod name="setConfirmEdits" access="public" return="void" id="0"> + <qparam type="bool" name="confirm"/> + </qmethod> + <qmethod name="setConfirmInsert" access="public" return="void" id="0"> + <qparam type="bool" name="confirm"/> + </qmethod> + <qmethod name="setConfirmUpdate" access="public" return="void" id="0"> + <qparam type="bool" name="confirm"/> + </qmethod> + <qmethod name="setConfirmDelete" access="public" return="void" id="0"> + <qparam type="bool" name="confirm"/> + </qmethod> + <qmethod name="setConfirmCancels" access="public" return="void" id="0"> + <qparam type="bool" name="confirm"/> + </qmethod> + <qmethod name="setAutoDelete" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="setAutoEdit" access="public" return="void" id="0"> + <qparam type="bool" name="autoEdit"/> + </qmethod> + <qmethod name="setFilter" access="public" return="void" id="0"> + <qparam type="QStringamp" name="filter"/> + </qmethod> + <qmethod name="setSort" access="public" return="void" id="0"> + <qparam type="QStringListamp" name="sort"/> + </qmethod> + <qmethod name="setSort" access="public" return="void" id="1"> + <qparam type="QSqlIndexamp" name="sort"/> + </qmethod> + <qmethod name="refresh" access="public" return="void" id="0"> + <qparam type="Refresh" name="mode"/> + </qmethod> + <qmethod name="sortColumn" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + <qparam type="bool" name="ascending" default="TRUE"/> + <qparam type="bool" name="wholeRows" default="FALSE"/> + </qmethod> + <qmethod name="text" access="public" return="QString" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="value" access="public" return="QVariant" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="currentRecord" access="public" return="QSqlRecord*" id="0"/> + <qmethod name="installEditorFactory" access="public" return="void" id="0"> + <qparam type="QSqlEditorFactory*" name="f"/> + </qmethod> + <qmethod name="installPropertyMap" access="public" return="void" id="0"> + <qparam type="QSqlPropertyMap*" name="m"/> + </qmethod> + <qmethod name="numCols" access="public" return="int" id="0"/> + <qmethod name="numRows" access="public" return="int" id="0"/> + <qmethod name="setNumCols" access="public" return="void" id="0"> + <qparam type="int" name="c"/> + </qmethod> + <qmethod name="setNumRows" access="public" return="void" id="0"> + <qparam type="int" name="r"/> + </qmethod> + <qmethod name="findBuffer" access="public" return="bool" id="0"> + <qparam type="QSqlIndexamp" name="idx"/> + <qparam type="int" name="atHint" default="0"/> + </qmethod> + <qmethod name="find" access="public" return="void" id="0"> + <qparam type="QStringamp" name="str"/> + <qparam type="bool" name="caseSensitive"/> + <qparam type="bool" name="backwards"/> + </qmethod> + <qmethod name="sortAscending" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="sortDescending" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="refresh" access="public" return="void" id="1"/> + <qmethod name="setColumnWidth" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + <qparam type="int" name="w"/> + </qmethod> + <qmethod name="protected_insertCurrent" access="protected" return="bool" id="0"/> + <qmethod name="protected_updateCurrent" access="protected" return="bool" id="0"/> + <qmethod name="protected_deleteCurrent" access="protected" return="bool" id="0"/> + <qmethod name="protected_confirmEdit" access="protected" return="QSql::Confirm" id="0"> + <qparam type="QSql::Op" name="m"/> + </qmethod> + <qmethod name="protected_confirmCancel" access="protected" return="QSql::Confirm" id="0"> + <qparam type="QSql::Op" name="m"/> + </qmethod> + <qmethod name="protected_handleError" access="protected" return="void" id="0"> + <qparam type="QSqlErroramp" name="e"/> + </qmethod> + <qmethod name="protected_beginInsert" access="protected" return="bool" id="0"/> + <qmethod name="protected_beginUpdate" access="protected" return="QWidget*" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="bool" name="replace"/> + </qmethod> + <qmethod name="protected_eventFilter" access="protected" return="bool" id="0"> + <qparam type="QObject*" name="o"/> + <qparam type="QEvent*" name="e"/> + </qmethod> + <qmethod name="protected_endEdit" access="protected" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="bool" name="accept"/> + <qparam type="bool" name="replace"/> + </qmethod> + <qmethod name="protected_createEditor" access="protected" return="QWidget*" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="bool" name="initFromCell"/> + </qmethod> + <qmethod name="protected_activateNextCell" access="protected" return="void" id="0"/> + <qmethod name="protected_indexOf" access="protected" return="int" id="0"> + <qparam type="uint" name="i"/> + </qmethod> + <qmethod name="protected_reset" access="protected" return="void" id="0"/> + <qmethod name="protected_setSize" access="protected" return="void" id="0"> + <qparam type="QSqlCursor*" name="sql"/> + </qmethod> + <qmethod name="protected_repaintCell" access="protected" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="protected_paintCell" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="QRectamp" name="cr"/> + <qparam type="bool" name="selected"/> + <qparam type="QColorGroupamp" name="cg"/> + </qmethod> + <qmethod name="protected_paintField" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="QSqlField*" name="field"/> + <qparam type="QRectamp" name="cr"/> + <qparam type="bool" name="selected"/> + </qmethod> + <qmethod name="protected_fieldAlignment" access="protected" return="int" id="0"> + <qparam type="QSqlField*" name="field"/> + </qmethod> + <qmethod name="protected_columnClicked" access="protected" return="void" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="protected_resizeData" access="protected" return="void" id="0"> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="protected_item" access="protected" return="QTableItem*" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="protected_setItem" access="protected" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="QTableItem*" name="item"/> + </qmethod> + <qmethod name="protected_clearCell" access="protected" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="protected_setPixmap" access="protected" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="QPixmapamp" name="pix"/> + </qmethod> + <qmethod name="protected_takeItem" access="protected" return="void" id="0"> + <qparam type="QTableItem*" name="i"/> + </qmethod> +</qtype> <qtype name="QDataView" access="public"> + <qancestor name="QWidget"/> + <qctor name="QDataView" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="fl" default="0"/> + </qctor> + <qdctor name="QDataView" access="public"/> + <qmethod name="setForm" access="public" return="void" id="0"> + <qparam type="QSqlForm*" name="form"/> + </qmethod> + <qmethod name="form" access="public" return="QSqlForm*" id="0"/> + <qmethod name="setRecord" access="public" return="void" id="0"> + <qparam type="QSqlRecord*" name="record"/> + </qmethod> + <qmethod name="record" access="public" return="QSqlRecord*" id="0"/> + <qmethod name="refresh" access="public" return="void" id="0"> + <qparam type="QSqlRecord*" name="buf"/> + </qmethod> + <qmethod name="readFields" access="public" return="void" id="0"/> + <qmethod name="writeFields" access="public" return="void" id="0"/> + <qmethod name="clearValues" access="public" return="void" id="0"/> +</qtype> <qtype name="QDate" access="public"> + <qctor name="QDate" access="public" id="0"/> + <qctor name="QDate" access="public" id="1"> + <qparam type="int" name="y"/> + <qparam type="int" name="m"/> + <qparam type="int" name="d"/> + </qctor> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="year" access="public" return="int" id="0"/> + <qmethod name="month" access="public" return="int" id="0"/> + <qmethod name="day" access="public" return="int" id="0"/> + <qmethod name="dayOfWeek" access="public" return="int" id="0"/> + <qmethod name="dayOfYear" access="public" return="int" id="0"/> + <qmethod name="daysInMonth" access="public" return="int" id="0"/> + <qmethod name="daysInYear" access="public" return="int" id="0"/> + <qmethod name="toString" access="public" return="QString" id="0"> + <qparam type="Qt::DateFormat" name="f" default="Qt::TextDate"/> + </qmethod> + <qmethod name="toString" access="public" return="QString" id="1"> + <qparam type="QStringamp" name="format"/> + </qmethod> + <qmethod name="setYMD" access="public" return="bool" id="0"> + <qparam type="int" name="y"/> + <qparam type="int" name="m"/> + <qparam type="int" name="d"/> + </qmethod> + <qmethod name="addDays" access="public" return="QDate" id="0"> + <qparam type="int" name="days"/> + </qmethod> + <qmethod name="addMonths" access="public" return="QDate" id="0"> + <qparam type="int" name="months"/> + </qmethod> + <qmethod name="addYears" access="public" return="QDate" id="0"> + <qparam type="int" name="years"/> + </qmethod> + <qmethod name="daysTo" access="public" return="int" id="0"> + <qparam type="QDateamp" name="arg1"/> + </qmethod> + <qmethod name="monthName" access="public static" return="QString" id="0"> + <qparam type="int" name="month"/> + </qmethod> + <qmethod name="dayName" access="public static" return="QString" id="0"> + <qparam type="int" name="weekday"/> + </qmethod> + <qmethod name="shortMonthName" access="public static" return="QString" id="0"> + <qparam type="int" name="month"/> + </qmethod> + <qmethod name="shortDayName" access="public static" return="QString" id="0"> + <qparam type="int" name="weekday"/> + </qmethod> + <qmethod name="longMonthName" access="public static" return="QString" id="0"> + <qparam type="int" name="month"/> + </qmethod> + <qmethod name="longDayName" access="public static" return="QString" id="0"> + <qparam type="int" name="weekday"/> + </qmethod> + <qmethod name="currentDate" access="public static" return="QDate" id="0"/> + <qmethod name="fromString" access="public static" return="QDate" id="0"> + <qparam type="QStringamp" name="s"/> + <qparam type="Qt::DateFormat" name="f" default="Qt::TextDate"/> + </qmethod> + <qmethod name="isValid" access="public static" return="bool" id="1"> + <qparam type="int" name="y"/> + <qparam type="int" name="m"/> + <qparam type="int" name="d"/> + </qmethod> + <qmethod name="leapYear" access="public static" return="bool" id="0"> + <qparam type="int" name="year"/> + </qmethod> + <qmethod name="gregorianToJulian" access="public static" return="uint" id="0"> + <qparam type="int" name="y"/> + <qparam type="int" name="m"/> + <qparam type="int" name="d"/> + </qmethod> + <qmethod name="julianToGregorian" access="public static" return="void" id="0"> + <qparam type="uint" name="jd"/> + <qparam type="intamp" name="y"/> + <qparam type="intamp" name="m"/> + <qparam type="intamp" name="d"/> + </qmethod> +</qtype> <qtype name="QDateEdit" access="public"> + <qancestor name="QDateTimeEditBase"/> + <qenum name="Order" access="public"> + <qitem name="DMY" value="0"/> + <qitem name="MDY" value="1"/> + <qitem name="YMD" value="2"/> + <qitem name="YDM" value="3"/> + </qenum> + <qctor name="QDateEdit" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QDateEdit" access="public" id="1"> + <qparam type="QDateamp" name="date"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QDateEdit" access="public"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="setDate" access="public" return="void" id="0"> + <qparam type="QDateamp" name="date"/> + </qmethod> + <qmethod name="date" access="public" return="QDate" id="0"/> + <qmethod name="setOrder" access="public" return="void" id="0"> + <qparam type="Order" name="order"/> + </qmethod> + <qmethod name="order" access="public" return="Order" id="0"/> + <qmethod name="setAutoAdvance" access="public" return="void" id="0"> + <qparam type="bool" name="advance"/> + </qmethod> + <qmethod name="autoAdvance" access="public" return="bool" id="0"/> + <qmethod name="setMinValue" access="public" return="void" id="0"> + <qparam type="QDateamp" name="d"/> + </qmethod> + <qmethod name="minValue" access="public" return="QDate" id="0"/> + <qmethod name="setMaxValue" access="public" return="void" id="0"> + <qparam type="QDateamp" name="d"/> + </qmethod> + <qmethod name="maxValue" access="public" return="QDate" id="0"/> + <qmethod name="setRange" access="public" return="void" id="0"> + <qparam type="QDateamp" name="min"/> + <qparam type="QDateamp" name="max"/> + </qmethod> + <qmethod name="separator" access="public" return="QString" id="0"/> + <qmethod name="setSeparator" access="public" return="void" id="0"> + <qparam type="QStringamp" name="s"/> + </qmethod> + <qmethod name="protected_event" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="e"/> + </qmethod> + <qmethod name="protected_stepUp" access="protected" return="void" id="0"/> + <qmethod name="protected_stepDown" access="protected" return="void" id="0"/> + <qmethod name="protected_sectionFormattedText" access="protected" return="QString" id="0"> + <qparam type="int" name="sec"/> + </qmethod> + <qmethod name="protected_addNumber" access="protected" return="void" id="0"> + <qparam type="int" name="sec"/> + <qparam type="int" name="num"/> + </qmethod> + <qmethod name="protected_removeLastNumber" access="protected" return="void" id="0"> + <qparam type="int" name="sec"/> + </qmethod> + <qmethod name="protected_setFocusSection" access="protected" return="bool" id="0"> + <qparam type="int" name="s"/> + </qmethod> + <qmethod name="protected_setYear" access="protected" return="void" id="0"> + <qparam type="int" name="year"/> + </qmethod> + <qmethod name="protected_setMonth" access="protected" return="void" id="0"> + <qparam type="int" name="month"/> + </qmethod> + <qmethod name="protected_setDay" access="protected" return="void" id="0"> + <qparam type="int" name="day"/> + </qmethod> + <qmethod name="protected_fix" access="protected" return="void" id="0"/> + <qmethod name="protected_outOfRange" access="protected" return="bool" id="0"> + <qparam type="int" name="y"/> + <qparam type="int" name="m"/> + <qparam type="int" name="d"/> + </qmethod> + <qmethod name="protected_updateButtons" access="protected" return="void" id="0"/> +</qtype> <qtype name="QDateTime" access="public"> + <qctor name="QDateTime" access="public" id="0"/> + <qctor name="QDateTime" access="public" id="1"> + <qparam type="QDateamp" name="arg1"/> + </qctor> + <qctor name="QDateTime" access="public" id="2"> + <qparam type="QDateamp" name="arg1"/> + <qparam type="QTimeamp" name="arg2"/> + </qctor> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="date" access="public" return="QDate" id="0"/> + <qmethod name="time" access="public" return="QTime" id="0"/> + <qmethod name="setDate" access="public" return="void" id="0"> + <qparam type="QDateamp" name="date"/> + </qmethod> + <qmethod name="setTime" access="public" return="void" id="0"> + <qparam type="QTimeamp" name="time"/> + </qmethod> + <qmethod name="setTime_t" access="public" return="void" id="0"> + <qparam type="uint" name="secsSince1Jan1970UTC"/> + </qmethod> + <qmethod name="toString" access="public" return="QString" id="0"> + <qparam type="Qt::DateFormat" name="f" default="Qt::TextDate"/> + </qmethod> + <qmethod name="toString" access="public" return="QString" id="1"> + <qparam type="QStringamp" name="format"/> + </qmethod> + <qmethod name="addDays" access="public" return="QDateTime" id="0"> + <qparam type="int" name="days"/> + </qmethod> + <qmethod name="addMonths" access="public" return="QDateTime" id="0"> + <qparam type="int" name="months"/> + </qmethod> + <qmethod name="addYears" access="public" return="QDateTime" id="0"> + <qparam type="int" name="years"/> + </qmethod> + <qmethod name="addSecs" access="public" return="QDateTime" id="0"> + <qparam type="int" name="secs"/> + </qmethod> + <qmethod name="daysTo" access="public" return="int" id="0"> + <qparam type="QDateTimeamp" name="arg1"/> + </qmethod> + <qmethod name="secsTo" access="public" return="int" id="0"> + <qparam type="QDateTimeamp" name="arg1"/> + </qmethod> + <qmethod name="currentDateTime" access="public static" return="QDateTime" id="0"/> + <qmethod name="fromString" access="public static" return="QDateTime" id="0"> + <qparam type="QStringamp" name="s"/> + <qparam type="Qt::DateFormat" name="f" default="Qt::TextDate"/> + </qmethod> +</qtype> <qtype name="QDateTimeEdit" access="public"> + <qancestor name="QWidget"/> + <qctor name="QDateTimeEdit" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QDateTimeEdit" access="public" id="1"> + <qparam type="QDateTimeamp" name="datetime"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QDateTimeEdit" access="public"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="setDateTime" access="public" return="void" id="0"> + <qparam type="QDateTimeamp" name="dt"/> + </qmethod> + <qmethod name="dateTime" access="public" return="QDateTime" id="0"/> + <qmethod name="dateEdit" access="public" return="QDateEdit*" id="0"/> + <qmethod name="timeEdit" access="public" return="QTimeEdit*" id="0"/> + <qmethod name="setAutoAdvance" access="public" return="void" id="0"> + <qparam type="bool" name="advance"/> + </qmethod> + <qmethod name="autoAdvance" access="public" return="bool" id="0"/> + <qmethod name="protected_init" access="protected" return="void" id="0"/> + <qmethod name="protected_layoutEditors" access="protected" return="void" id="0"/> + <qmethod name="protected_newValue" access="protected" return="void" id="0"> + <qparam type="QDateamp" name="d"/> + </qmethod> + <qmethod name="protected_newValue" access="protected" return="void" id="1"> + <qparam type="QTimeamp" name="t"/> + </qmethod> +</qtype> <qtype name="QDateTimeEditBase" access="public"> + <qancestor name="QWidget"/> + <qmethod name="setFocusSection" access="public" return="bool" id="0"> + <qparam type="int" name="sec"/> + </qmethod> + <qmethod name="sectionFormattedText" access="public" return="QString" id="0"> + <qparam type="int" name="sec"/> + </qmethod> + <qmethod name="addNumber" access="public" return="void" id="0"> + <qparam type="int" name="sec"/> + <qparam type="int" name="num"/> + </qmethod> + <qmethod name="removeLastNumber" access="public" return="void" id="0"> + <qparam type="int" name="sec"/> + </qmethod> + <qmethod name="stepUp" access="public" return="void" id="0"/> + <qmethod name="stepDown" access="public" return="void" id="0"/> +</qtype> <qtype name="QDesktopWidget" access="public"> + <qancestor name="QWidget"/> + <qctor name="QDesktopWidget" access="public" id="0"/> + <qdctor name="QDesktopWidget" access="public"/> + <qmethod name="isVirtualDesktop" access="public" return="bool" id="0"/> + <qmethod name="numScreens" access="public" return="int" id="0"/> + <qmethod name="primaryScreen" access="public" return="int" id="0"/> + <qmethod name="screenNumber" access="public" return="int" id="0"> + <qparam type="QWidget*" name="widget" default="0"/> + </qmethod> + <qmethod name="screenNumber" access="public" return="int" id="1"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="screen" access="public" return="QWidget*" id="0"> + <qparam type="int" name="screen" default="-1"/> + </qmethod> + <qmethod name="screenGeometry" access="public" return="QRectamp" id="0"> + <qparam type="int" name="screen" default="-1"/> + </qmethod> + <qmethod name="handle" access="public" return="GDHandle" id="0"> + <qparam type="int" name="screen"/> + </qmethod> +</qtype> <qtype name="QDial" access="public"> + <qancestor name="QRangeControl"/> + <qancestor name="QWidget"/> + <qctor name="QDial" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qctor name="QDial" access="public" id="1"> + <qparam type="int" name="minValue"/> + <qparam type="int" name="maxValue"/> + <qparam type="int" name="pageStep"/> + <qparam type="int" name="value"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QDial" access="public"/> + <qmethod name="tracking" access="public" return="bool" id="0"/> + <qmethod name="wrapping" access="public" return="bool" id="0"/> + <qmethod name="notchSize" access="public" return="int" id="0"/> + <qmethod name="setNotchTarget" access="public" return="void" id="0"> + <qparam type="double" name="arg1"/> + </qmethod> + <qmethod name="notchTarget" access="public" return="double" id="0"/> + <qmethod name="notchesVisible" access="public" return="bool" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minValue" access="public" return="int" id="0"/> + <qmethod name="maxValue" access="public" return="int" id="0"/> + <qmethod name="setMinValue" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setMaxValue" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="lineStep" access="public" return="int" id="0"/> + <qmethod name="pageStep" access="public" return="int" id="0"/> + <qmethod name="setLineStep" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setPageStep" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="value" access="public" return="int" id="0"/> + <qmethod name="setValue" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="addLine" access="public" return="void" id="0"/> + <qmethod name="subtractLine" access="public" return="void" id="0"/> + <qmethod name="addPage" access="public" return="void" id="0"/> + <qmethod name="subtractPage" access="public" return="void" id="0"/> + <qmethod name="setNotchesVisible" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setWrapping" access="public" return="void" id="0"> + <qparam type="bool" name="on"/> + </qmethod> + <qmethod name="setTracking" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="protected_valueChange" access="protected" return="void" id="0"/> + <qmethod name="protected_rangeChange" access="protected" return="void" id="0"/> + <qmethod name="protected_repaintScreen" access="protected" return="void" id="0"> + <qparam type="QRect*" name="cr" default="0"/> + </qmethod> +</qtype> <qtype name="QDialog" access="public"> + <qancestor name="QWidget"/> + <qenum name="DialogCode" access="public"> + <qitem name="Rejected" value="0"/> + <qitem name="Accepted" value="1"/> + </qenum> + <qctor name="QDialog" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="bool" name="modal" default="FALSE"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qdctor name="QDialog" access="public"/> + <qmethod name="result" access="public" return="int" id="0"/> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="hide" access="public" return="void" id="0"/> + <qmethod name="move" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="move" access="public" return="void" id="1"> + <qparam type="QPointamp" name="p"/> + </qmethod> + <qmethod name="resize" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="resize" access="public" return="void" id="1"> + <qparam type="QSizeamp" name="arg1"/> + </qmethod> + <qmethod name="setGeometry" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="setGeometry" access="public" return="void" id="1"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="setOrientation" access="public" return="void" id="0"> + <qparam type="Orientation" name="orientation"/> + </qmethod> + <qmethod name="orientation" access="public" return="Orientation" id="0"/> + <qmethod name="setExtension" access="public" return="void" id="0"> + <qparam type="QWidget*" name="extension"/> + </qmethod> + <qmethod name="extension" access="public" return="QWidget*" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="setSizeGripEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isSizeGripEnabled" access="public" return="bool" id="0"/> + <qmethod name="exec" access="public" return="int" id="0"/> + <qmethod name="protected_setResult" access="protected" return="void" id="0"> + <qparam type="int" name="r"/> + </qmethod> + <qmethod name="protected_eventFilter" access="protected" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> + <qmethod name="protected_adjustPosition" access="protected" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="protected_done" access="protected" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="protected_accept" access="protected" return="void" id="0"/> + <qmethod name="protected_reject" access="protected" return="void" id="0"/> + <qmethod name="protected_showExtension" access="protected" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> +</qtype> <qtype name="QDict" access="public"> + <qancestor name="QPtrCollection"/> + <qctor name="QDict" access="public" id="0"> + <qparam type="int" name="size" default="17"/> + <qparam type="bool" name="caseSensitive" default="TRUE"/> + </qctor> + <qdctor name="QDict" access="public"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="size" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="QStringamp" name="k"/> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="replace" access="public" return="void" id="0"> + <qparam type="QStringamp" name="k"/> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="remove" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="k"/> + </qmethod> + <qmethod name="take" access="public" return="type*" id="0"> + <qparam type="QStringamp" name="k"/> + </qmethod> + <qmethod name="find" access="public" return="type*" id="0"> + <qparam type="QStringamp" name="k"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="resize" access="public" return="void" id="0"> + <qparam type="uint" name="n"/> + </qmethod> + <qmethod name="statistics" access="public" return="void" id="0"/> + <qmethod name="protected_read" access="protected" return="QDataStreamamp" id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Itemamp" name="arg2"/> + </qmethod> + <qmethod name="protected_write" access="protected" return="QDataStreamamp" id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Item" name="arg2"/> + </qmethod> +</qtype> <qtype name="QDictIterator" access="public"> + <qancestor name="QGDictIterator"/> + <qdctor name="QDictIterator" access="public"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="toFirst" access="public" return="type*" id="0"/> + <qmethod name="current" access="public" return="type*" id="0"/> + <qmethod name="currentKey" access="public" return="QString" id="0"/> +</qtype> <qtype name="QDir" access="public"> + <qenum name="FilterSpec" access="public"> + <qitem name="Dirs" value="1"/> + <qitem name="Files" value="2"/> + <qitem name="Drives" value="4"/> + <qitem name="NoSymLinks" value="8"/> + <qitem name="All" value="7"/> + <qitem name="TypeMask" value="15"/> + <qitem name="Readable" value="16"/> + <qitem name="Writable" value="32"/> + <qitem name="Executable" value="64"/> + <qitem name="RWEMask" value="112"/> + <qitem name="Modified" value="128"/> + <qitem name="Hidden" value="256"/> + <qitem name="System" value="512"/> + <qitem name="AccessMask" value="1008"/> + <qitem name="DefaultFilter" value="-1"/> + </qenum> + <qenum name="SortSpec" access="public"> + <qitem name="Name" value="0"/> + <qitem name="Time" value="1"/> + <qitem name="Size" value="2"/> + <qitem name="Unsorted" value="3"/> + <qitem name="SortByMask" value="3"/> + <qitem name="DirsFirst" value="4"/> + <qitem name="Reversed" value="8"/> + <qitem name="IgnoreCase" value="16"/> + <qitem name="DefaultSort" value="-1"/> + </qenum> + <qctor name="QDir" access="public" id="0"/> + <qctor name="QDir" access="public" id="1"> + <qparam type="QStringamp" name="path"/> + <qparam type="QStringamp" name="nameFilter" default="QString::null"/> + <qparam type="SortSpec" name="SortSpec" default="Name"/> + <qparam type="FilterSpec" name="FilterSpec" default="All"/> + </qctor> + <qctor name="QDir" access="public" id="2"> + <qparam type="QDiramp" name="arg1"/> + </qctor> + <qdctor name="QDir" access="public"/> + <qmethod name="setPath" access="public" return="void" id="0"> + <qparam type="QStringamp" name="path"/> + </qmethod> + <qmethod name="path" access="public" return="QString" id="0"/> + <qmethod name="absPath" access="public" return="QString" id="0"/> + <qmethod name="canonicalPath" access="public" return="QString" id="0"/> + <qmethod name="dirName" access="public" return="QString" id="0"/> + <qmethod name="filePath" access="public" return="QString" id="0"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="bool" name="acceptAbsPath" default="TRUE"/> + </qmethod> + <qmethod name="absFilePath" access="public" return="QString" id="0"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="bool" name="acceptAbsPath" default="TRUE"/> + </qmethod> + <qmethod name="cd" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="dirName"/> + <qparam type="bool" name="acceptAbsPath" default="TRUE"/> + </qmethod> + <qmethod name="cdUp" access="public" return="bool" id="0"/> + <qmethod name="nameFilter" access="public" return="QString" id="0"/> + <qmethod name="setNameFilter" access="public" return="void" id="0"> + <qparam type="QStringamp" name="nameFilter"/> + </qmethod> + <qmethod name="filter" access="public" return="FilterSpec" id="0"/> + <qmethod name="setFilter" access="public" return="void" id="0"> + <qparam type="int" name="filterSpec"/> + </qmethod> + <qmethod name="sorting" access="public" return="SortSpec" id="0"/> + <qmethod name="setSorting" access="public" return="void" id="0"> + <qparam type="int" name="sortSpec"/> + </qmethod> + <qmethod name="matchAllDirs" access="public" return="bool" id="0"/> + <qmethod name="setMatchAllDirs" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="encodedEntryList" access="public" return="QStrList" id="0"> + <qparam type="FilterSpec" name="filterSpec" default="DefaultFilter"/> + <qparam type="SortSpec" name="sortSpec" default="DefaultSort"/> + </qmethod> + <qmethod name="encodedEntryList" access="public" return="QStrList" id="1"> + <qparam type="QStringamp" name="nameFilter"/> + <qparam type="FilterSpec" name="filterSpec" default="DefaultFilter"/> + <qparam type="SortSpec" name="sortSpec" default="DefaultSort"/> + </qmethod> + <qmethod name="entryList" access="public" return="QStringList" id="0"> + <qparam type="FilterSpec" name="filterSpec" default="DefaultFilter"/> + <qparam type="SortSpec" name="sortSpec" default="DefaultSort"/> + </qmethod> + <qmethod name="entryList" access="public" return="QStringList" id="1"> + <qparam type="QStringamp" name="nameFilter"/> + <qparam type="FilterSpec" name="filterSpec" default="DefaultFilter"/> + <qparam type="SortSpec" name="sortSpec" default="DefaultSort"/> + </qmethod> + <qmethod name="entryInfoList" access="public" return="QFileInfoList*" id="0"> + <qparam type="FilterSpec" name="filterSpec" default="DefaultFilter"/> + <qparam type="SortSpec" name="sortSpec" default="DefaultSort"/> + </qmethod> + <qmethod name="entryInfoList" access="public" return="QFileInfoList*" id="1"> + <qparam type="QStringamp" name="nameFilter"/> + <qparam type="FilterSpec" name="filterSpec" default="DefaultFilter"/> + <qparam type="SortSpec" name="sortSpec" default="DefaultSort"/> + </qmethod> + <qmethod name="mkdir" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="dirName"/> + <qparam type="bool" name="acceptAbsPath" default="TRUE"/> + </qmethod> + <qmethod name="rmdir" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="dirName"/> + <qparam type="bool" name="acceptAbsPath" default="TRUE"/> + </qmethod> + <qmethod name="isReadable" access="public" return="bool" id="0"/> + <qmethod name="exists" access="public" return="bool" id="0"/> + <qmethod name="isRoot" access="public" return="bool" id="0"/> + <qmethod name="isRelative" access="public" return="bool" id="0"/> + <qmethod name="convertToAbs" access="public" return="void" id="0"/> + <qmethod name="remove" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="bool" name="acceptAbsPath" default="TRUE"/> + </qmethod> + <qmethod name="rename" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringamp" name="newName"/> + <qparam type="bool" name="acceptAbsPaths" default="TRUE"/> + </qmethod> + <qmethod name="exists" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="name"/> + <qparam type="bool" name="acceptAbsPath" default="TRUE"/> + </qmethod> + <qmethod name="convertSeparators" access="public static" return="QString" id="0"> + <qparam type="QStringamp" name="pathName"/> + </qmethod> + <qmethod name="drives" access="public static" return="QFileInfoList*" id="0"/> + <qmethod name="separator" access="public static" return="char" id="0"/> + <qmethod name="setCurrent" access="public static" return="bool" id="0"> + <qparam type="QStringamp" name="path"/> + </qmethod> + <qmethod name="current" access="public static" return="QDir" id="0"/> + <qmethod name="home" access="public static" return="QDir" id="0"/> + <qmethod name="root" access="public static" return="QDir" id="0"/> + <qmethod name="currentDirPath" access="public static" return="QString" id="0"/> + <qmethod name="homeDirPath" access="public static" return="QString" id="0"/> + <qmethod name="rootDirPath" access="public static" return="QString" id="0"/> + <qmethod name="match" access="public static" return="bool" id="0"> + <qparam type="QStringListamp" name="filters"/> + <qparam type="QStringamp" name="fileName"/> + </qmethod> + <qmethod name="match" access="public static" return="bool" id="1"> + <qparam type="QStringamp" name="filter"/> + <qparam type="QStringamp" name="fileName"/> + </qmethod> + <qmethod name="cleanDirPath" access="public static" return="QString" id="0"> + <qparam type="QStringamp" name="dirPath"/> + </qmethod> + <qmethod name="isRelativePath" access="public static" return="bool" id="0"> + <qparam type="QStringamp" name="path"/> + </qmethod> +</qtype> <qtype name="QDirSortItem" access="public"> +</qtype> <qtype name="QDns" access="public"> + <qancestor name="QObject"/> + <qenum name="RecordType" access="public"> + <qitem name="None" value="0"/> + <qitem name="A" value="1"/> + <qitem name="Aaaa" value="2"/> + <qitem name="Mx" value="3"/> + <qitem name="Srv" value="4"/> + <qitem name="Cname" value="5"/> + <qitem name="Ptr" value="6"/> + <qitem name="Txt" value="7"/> + </qenum> + <qctor name="QDns" access="public" id="0"/> + <qctor name="QDns" access="public" id="1"> + <qparam type="QStringamp" name="label"/> + <qparam type="RecordType" name="rr" default="A"/> + </qctor> + <qctor name="QDns" access="public" id="2"> + <qparam type="QHostAddressamp" name="address"/> + <qparam type="RecordType" name="rr" default="Ptr"/> + </qctor> + <qdctor name="QDns" access="public"/> + <qmethod name="setLabel" access="public" return="void" id="0"> + <qparam type="QStringamp" name="label"/> + </qmethod> + <qmethod name="setLabel" access="public" return="void" id="1"> + <qparam type="QHostAddressamp" name="address"/> + </qmethod> + <qmethod name="label" access="public" return="QString" id="0"/> + <qmethod name="setRecordType" access="public" return="void" id="0"> + <qparam type="RecordType" name="rr" default="A"/> + </qmethod> + <qmethod name="recordType" access="public" return="RecordType" id="0"/> + <qmethod name="isWorking" access="public" return="bool" id="0"/> + <qmethod name="hostNames" access="public" return="QStringList" id="0"/> + <qmethod name="texts" access="public" return="QStringList" id="0"/> + <qmethod name="canonicalName" access="public" return="QString" id="0"/> + <qmethod name="qualifiedNames" access="public" return="QStringList" id="0"/> + <qmethod name="protected_connectNotify" access="protected" return="void" id="0"> + <qparam type="char*" name="signal"/> + </qmethod> +</qtype> <qtype name="QDnsSocket" access="public"> + <qancestor name="QObject"/> + <qctor name="QDnsSocket" access="protected" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="char*" name="arg2"/> + </qctor> + <qdctor name="QDnsSocket" access="protected"/> +</qtype> <qtype name="MailServer" access="public"> + <qctor name="MailServer" access="public" id="0"> + <qparam type="QStringamp" name="n" default="QString::null"/> + <qparam type="Q_UINT16" name="p" default="0"/> + </qctor> +</qtype> <qtype name="Server" access="public"> + <qctor name="Server" access="public" id="0"> + <qparam type="QStringamp" name="n" default="QString::null"/> + <qparam type="Q_UINT16" name="p" default="0"/> + <qparam type="Q_UINT16" name="w" default="0"/> + <qparam type="Q_UINT16" name="po" default="0"/> + </qctor> +</qtype> <qtype name="QDockArea" access="public"> + <qancestor name="QWidget"/> + <qenum name="HandlePosition" access="public"> + <qitem name="Normal" value="0"/> + <qitem name="Reverse" value="1"/> + </qenum> + <qctor name="QDockArea" access="public" id="0"> + <qparam type="Orientation" name="o"/> + <qparam type="HandlePosition" name="h" default="Normal"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QDockArea" access="public"/> + <qmethod name="moveDockWindow" access="public" return="void" id="0"> + <qparam type="QDockWindow*" name="w"/> + <qparam type="QPointamp" name="globalPos"/> + <qparam type="QRectamp" name="rect"/> + <qparam type="bool" name="swap"/> + </qmethod> + <qmethod name="removeDockWindow" access="public" return="void" id="0"> + <qparam type="QDockWindow*" name="w"/> + <qparam type="bool" name="makeFloating"/> + <qparam type="bool" name="swap"/> + <qparam type="bool" name="fixNewLines" default="TRUE"/> + </qmethod> + <qmethod name="moveDockWindow" access="public" return="void" id="1"> + <qparam type="QDockWindow*" name="w"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="hasDockWindow" access="public" return="bool" id="0"> + <qparam type="QDockWindow*" name="w"/> + <qparam type="int*" name="index" default="0"/> + </qmethod> + <qmethod name="invalidNextOffset" access="public" return="void" id="0"> + <qparam type="QDockWindow*" name="dw"/> + </qmethod> + <qmethod name="orientation" access="public" return="Orientation" id="0"/> + <qmethod name="handlePosition" access="public" return="HandlePosition" id="0"/> + <qmethod name="eventFilter" access="public" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="count" access="public" return="int" id="0"/> + <qmethod name="isDockWindowAccepted" access="public" return="bool" id="0"> + <qparam type="QDockWindow*" name="dw"/> + </qmethod> + <qmethod name="setAcceptDockWindow" access="public" return="void" id="0"> + <qparam type="QDockWindow*" name="dw"/> + <qparam type="bool" name="accept"/> + </qmethod> + <qmethod name="lineUp" access="public" return="void" id="0"> + <qparam type="bool" name="keepNewLines"/> + </qmethod> +</qtype> <qtype name="QDockAreaLayout" access="public"> + <qancestor name="QLayout"/> + <qdctor name="QDockAreaLayout" access="public"/> + <qmethod name="addItem" access="public" return="void" id="0"> + <qparam type="QLayoutItem*" name="arg1"/> + </qmethod> + <qmethod name="hasHeightForWidth" access="public" return="bool" id="0"/> + <qmethod name="heightForWidth" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="widthForHeight" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSize" access="public" return="QSize" id="0"/> + <qmethod name="iterator" access="public" return="QLayoutIterator" id="0"/> + <qmethod name="expanding" access="public" return="QSizePolicy::ExpandData" id="0"/> + <qmethod name="invalidate" access="public" return="void" id="0"/> + <qmethod name="orientation" access="public" return="Qt::Orientation" id="0"/> + <qmethod name="protected_setGeometry" access="protected" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QDockWindow" access="public"> + <qancestor name="QFrame"/> + <qenum name="Place" access="public"> + <qitem name="InDock" value="0"/> + <qitem name="OutsideDock" value="1"/> + </qenum> + <qenum name="CloseMode" access="public"> + <qitem name="Never" value="0"/> + <qitem name="Docked" value="1"/> + <qitem name="Undocked" value="2"/> + <qitem name="Always" value="Docked|Undocked"/> + </qenum> + <qctor name="QDockWindow" access="public" id="0"> + <qparam type="Place" name="p" default="InDock"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qdctor name="QDockWindow" access="public"/> + <qmethod name="setWidget" access="public" return="void" id="0"> + <qparam type="QWidget*" name="w"/> + </qmethod> + <qmethod name="widget" access="public" return="QWidget*" id="0"/> + <qmethod name="place" access="public" return="Place" id="0"/> + <qmethod name="area" access="public" return="QDockArea*" id="0"/> + <qmethod name="setCloseMode" access="public" return="void" id="0"> + <qparam type="int" name="m"/> + </qmethod> + <qmethod name="isCloseEnabled" access="public" return="bool" id="0"/> + <qmethod name="closeMode" access="public" return="int" id="0"/> + <qmethod name="setResizeEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setMovingEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="isResizeEnabled" access="public" return="bool" id="0"/> + <qmethod name="isMovingEnabled" access="public" return="bool" id="0"/> + <qmethod name="setHorizontallyStretchable" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setVerticallyStretchable" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="isHorizontallyStretchable" access="public" return="bool" id="0"/> + <qmethod name="isVerticallyStretchable" access="public" return="bool" id="0"/> + <qmethod name="setHorizontalStretchable" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setVerticalStretchable" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="isHorizontalStretchable" access="public" return="bool" id="0"/> + <qmethod name="isVerticalStretchable" access="public" return="bool" id="0"/> + <qmethod name="isStretchable" access="public" return="bool" id="0"/> + <qmethod name="setOffset" access="public" return="void" id="0"> + <qparam type="int" name="o"/> + </qmethod> + <qmethod name="offset" access="public" return="int" id="0"/> + <qmethod name="setFixedExtentWidth" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + </qmethod> + <qmethod name="setFixedExtentHeight" access="public" return="void" id="0"> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="fixedExtent" access="public" return="QSize" id="0"/> + <qmethod name="setNewLine" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="newLine" access="public" return="bool" id="0"/> + <qmethod name="orientation" access="public" return="Qt::Orientation" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSize" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="boxLayout" access="public" return="QBoxLayout*" id="0"/> + <qmethod name="setOpaqueMoving" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="opaqueMoving" access="public" return="bool" id="0"/> + <qmethod name="eventFilter" access="public" return="bool" id="0"> + <qparam type="QObject*" name="o"/> + <qparam type="QEvent*" name="e"/> + </qmethod> + <qmethod name="caption" access="public" return="QString" id="0"/> + <qmethod name="undock" access="public" return="void" id="0"> + <qparam type="QWidget*" name="w"/> + </qmethod> + <qmethod name="undock" access="public" return="void" id="1"/> + <qmethod name="dock" access="public" return="void" id="0"/> + <qmethod name="setOrientation" access="public" return="void" id="0"> + <qparam type="Orientation" name="o"/> + </qmethod> + <qmethod name="setCaption" access="public" return="void" id="0"> + <qparam type="QStringamp" name="s"/> + </qmethod> + <qmethod name="protected_drawFrame" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_event" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="e"/> + </qmethod> +</qtype> <qtype name="QDomAttr" access="public"> + <qancestor name="QDomNode"/> + <qctor name="QDomAttr" access="public" id="0"/> + <qctor name="QDomAttr" access="public" id="1"> + <qparam type="QDomAttramp" name="x"/> + </qctor> + <qdctor name="QDomAttr" access="public"/> + <qmethod name="name" access="public" return="QString" id="0"/> + <qmethod name="specified" access="public" return="bool" id="0"/> + <qmethod name="ownerElement" access="public" return="QDomElement" id="0"/> + <qmethod name="value" access="public" return="QString" id="0"/> + <qmethod name="setValue" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="nodeType" access="public" return="QDomNode::NodeType" id="0"/> + <qmethod name="isAttr" access="public" return="bool" id="0"/> +</qtype> <qtype name="QDomCDATASection" access="public"> + <qancestor name="QDomText"/> + <qctor name="QDomCDATASection" access="public" id="0"/> + <qctor name="QDomCDATASection" access="public" id="1"> + <qparam type="QDomCDATASectionamp" name="x"/> + </qctor> + <qdctor name="QDomCDATASection" access="public"/> + <qmethod name="nodeType" access="public" return="QDomNode::NodeType" id="0"/> + <qmethod name="isCDATASection" access="public" return="bool" id="0"/> +</qtype> <qtype name="QDomCharacterData" access="public"> + <qancestor name="QDomNode"/> + <qctor name="QDomCharacterData" access="public" id="0"/> + <qctor name="QDomCharacterData" access="public" id="1"> + <qparam type="QDomCharacterDataamp" name="x"/> + </qctor> + <qdctor name="QDomCharacterData" access="public"/> + <qmethod name="substringData" access="public" return="QString" id="0"> + <qparam type="unsigned long" name="offset"/> + <qparam type="unsigned long" name="count"/> + </qmethod> + <qmethod name="appendData" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg"/> + </qmethod> + <qmethod name="insertData" access="public" return="void" id="0"> + <qparam type="unsigned long" name="offset"/> + <qparam type="QStringamp" name="arg"/> + </qmethod> + <qmethod name="deleteData" access="public" return="void" id="0"> + <qparam type="unsigned long" name="offset"/> + <qparam type="unsigned long" name="count"/> + </qmethod> + <qmethod name="replaceData" access="public" return="void" id="0"> + <qparam type="unsigned long" name="offset"/> + <qparam type="unsigned long" name="count"/> + <qparam type="QStringamp" name="arg"/> + </qmethod> + <qmethod name="length" access="public" return="uint" id="0"/> + <qmethod name="data" access="public" return="QString" id="0"/> + <qmethod name="setData" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="nodeType" access="public" return="QDomNode::NodeType" id="0"/> + <qmethod name="isCharacterData" access="public" return="bool" id="0"/> +</qtype> <qtype name="QDomComment" access="public"> + <qancestor name="QDomCharacterData"/> + <qctor name="QDomComment" access="public" id="0"/> + <qctor name="QDomComment" access="public" id="1"> + <qparam type="QDomCommentamp" name="x"/> + </qctor> + <qdctor name="QDomComment" access="public"/> + <qmethod name="nodeType" access="public" return="QDomNode::NodeType" id="0"/> + <qmethod name="isComment" access="public" return="bool" id="0"/> +</qtype> <qtype name="QDomDocument" access="public"> + <qancestor name="QDomNode"/> + <qctor name="QDomDocument" access="public" id="0"/> + <qctor name="QDomDocument" access="public" id="1"> + <qparam type="QStringamp" name="name"/> + </qctor> + <qctor name="QDomDocument" access="public" id="2"> + <qparam type="QDomDocumentTypeamp" name="doctype"/> + </qctor> + <qctor name="QDomDocument" access="public" id="3"> + <qparam type="QDomDocumentamp" name="x"/> + </qctor> + <qdctor name="QDomDocument" access="public"/> + <qmethod name="createElement" access="public" return="QDomElement" id="0"> + <qparam type="QStringamp" name="tagName"/> + </qmethod> + <qmethod name="createDocumentFragment" access="public" return="QDomDocumentFragment" id="0"/> + <qmethod name="createTextNode" access="public" return="QDomText" id="0"> + <qparam type="QStringamp" name="data"/> + </qmethod> + <qmethod name="createComment" access="public" return="QDomComment" id="0"> + <qparam type="QStringamp" name="data"/> + </qmethod> + <qmethod name="createCDATASection" access="public" return="QDomCDATASection" id="0"> + <qparam type="QStringamp" name="data"/> + </qmethod> + <qmethod name="createProcessingInstruction" access="public" return="QDomProcessingInstruction" id="0"> + <qparam type="QStringamp" name="target"/> + <qparam type="QStringamp" name="data"/> + </qmethod> + <qmethod name="createAttribute" access="public" return="QDomAttr" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="createEntityReference" access="public" return="QDomEntityReference" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="elementsByTagName" access="public" return="QDomNodeList" id="0"> + <qparam type="QStringamp" name="tagname"/> + </qmethod> + <qmethod name="importNode" access="public" return="QDomNode" id="0"> + <qparam type="QDomNodeamp" name="importedNode"/> + <qparam type="bool" name="deep"/> + </qmethod> + <qmethod name="createElementNS" access="public" return="QDomElement" id="0"> + <qparam type="QStringamp" name="nsURI"/> + <qparam type="QStringamp" name="qName"/> + </qmethod> + <qmethod name="createAttributeNS" access="public" return="QDomAttr" id="0"> + <qparam type="QStringamp" name="nsURI"/> + <qparam type="QStringamp" name="qName"/> + </qmethod> + <qmethod name="elementsByTagNameNS" access="public" return="QDomNodeList" id="0"> + <qparam type="QStringamp" name="nsURI"/> + <qparam type="QStringamp" name="localName"/> + </qmethod> + <qmethod name="elementById" access="public" return="QDomElement" id="0"> + <qparam type="QStringamp" name="elementId"/> + </qmethod> + <qmethod name="doctype" access="public" return="QDomDocumentType" id="0"/> + <qmethod name="implementation" access="public" return="QDomImplementation" id="0"/> + <qmethod name="documentElement" access="public" return="QDomElement" id="0"/> + <qmethod name="nodeType" access="public" return="QDomNode::NodeType" id="0"/> + <qmethod name="isDocument" access="public" return="bool" id="0"/> + <qmethod name="toString" access="public" return="QString" id="0"/> + <qmethod name="toCString" access="public" return="QCString" id="0"/> +</qtype> <qtype name="QDomDocumentFragment" access="public"> + <qancestor name="QDomNode"/> + <qctor name="QDomDocumentFragment" access="public" id="0"/> + <qctor name="QDomDocumentFragment" access="public" id="1"> + <qparam type="QDomDocumentFragmentamp" name="x"/> + </qctor> + <qdctor name="QDomDocumentFragment" access="public"/> + <qmethod name="nodeType" access="public" return="QDomNode::NodeType" id="0"/> + <qmethod name="isDocumentFragment" access="public" return="bool" id="0"/> +</qtype> <qtype name="QDomDocumentType" access="public"> + <qancestor name="QDomNode"/> + <qctor name="QDomDocumentType" access="public" id="0"/> + <qctor name="QDomDocumentType" access="public" id="1"> + <qparam type="QDomDocumentTypeamp" name="x"/> + </qctor> + <qdctor name="QDomDocumentType" access="public"/> + <qmethod name="name" access="public" return="QString" id="0"/> + <qmethod name="entities" access="public" return="QDomNamedNodeMap" id="0"/> + <qmethod name="notations" access="public" return="QDomNamedNodeMap" id="0"/> + <qmethod name="publicId" access="public" return="QString" id="0"/> + <qmethod name="systemId" access="public" return="QString" id="0"/> + <qmethod name="internalSubset" access="public" return="QString" id="0"/> + <qmethod name="nodeType" access="public" return="QDomNode::NodeType" id="0"/> + <qmethod name="isDocumentType" access="public" return="bool" id="0"/> +</qtype> <qtype name="QDomElement" access="public"> + <qancestor name="QDomNode"/> + <qctor name="QDomElement" access="public" id="0"/> + <qctor name="QDomElement" access="public" id="1"> + <qparam type="QDomElementamp" name="x"/> + </qctor> + <qdctor name="QDomElement" access="public"/> + <qmethod name="attribute" access="public" return="QString" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringamp" name="defValue" default="QString::null"/> + </qmethod> + <qmethod name="setAttribute" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringamp" name="value"/> + </qmethod> + <qmethod name="setAttribute" access="public" return="void" id="1"> + <qparam type="QStringamp" name="name"/> + <qparam type="int" name="value"/> + </qmethod> + <qmethod name="setAttribute" access="public" return="void" id="2"> + <qparam type="QStringamp" name="name"/> + <qparam type="uint" name="value"/> + </qmethod> + <qmethod name="setAttribute" access="public" return="void" id="3"> + <qparam type="QStringamp" name="name"/> + <qparam type="double" name="value"/> + </qmethod> + <qmethod name="removeAttribute" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="attributeNode" access="public" return="QDomAttr" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="setAttributeNode" access="public" return="QDomAttr" id="0"> + <qparam type="QDomAttramp" name="newAttr"/> + </qmethod> + <qmethod name="removeAttributeNode" access="public" return="QDomAttr" id="0"> + <qparam type="QDomAttramp" name="oldAttr"/> + </qmethod> + <qmethod name="elementsByTagName" access="public" return="QDomNodeList" id="0"> + <qparam type="QStringamp" name="tagname"/> + </qmethod> + <qmethod name="hasAttribute" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="attributeNS" access="public" return="QString" id="0"> + <qparam type="QString" name="nsURI"/> + <qparam type="QStringamp" name="localName"/> + <qparam type="QStringamp" name="defValue"/> + </qmethod> + <qmethod name="setAttributeNS" access="public" return="void" id="0"> + <qparam type="QString" name="nsURI"/> + <qparam type="QStringamp" name="qName"/> + <qparam type="QStringamp" name="value"/> + </qmethod> + <qmethod name="setAttributeNS" access="public" return="void" id="1"> + <qparam type="QString" name="nsURI"/> + <qparam type="QStringamp" name="qName"/> + <qparam type="int" name="value"/> + </qmethod> + <qmethod name="setAttributeNS" access="public" return="void" id="2"> + <qparam type="QString" name="nsURI"/> + <qparam type="QStringamp" name="qName"/> + <qparam type="uint" name="value"/> + </qmethod> + <qmethod name="setAttributeNS" access="public" return="void" id="3"> + <qparam type="QString" name="nsURI"/> + <qparam type="QStringamp" name="qName"/> + <qparam type="double" name="value"/> + </qmethod> + <qmethod name="removeAttributeNS" access="public" return="void" id="0"> + <qparam type="QStringamp" name="nsURI"/> + <qparam type="QStringamp" name="localName"/> + </qmethod> + <qmethod name="attributeNodeNS" access="public" return="QDomAttr" id="0"> + <qparam type="QStringamp" name="nsURI"/> + <qparam type="QStringamp" name="localName"/> + </qmethod> + <qmethod name="setAttributeNodeNS" access="public" return="QDomAttr" id="0"> + <qparam type="QDomAttramp" name="newAttr"/> + </qmethod> + <qmethod name="elementsByTagNameNS" access="public" return="QDomNodeList" id="0"> + <qparam type="QStringamp" name="nsURI"/> + <qparam type="QStringamp" name="localName"/> + </qmethod> + <qmethod name="hasAttributeNS" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="nsURI"/> + <qparam type="QStringamp" name="localName"/> + </qmethod> + <qmethod name="tagName" access="public" return="QString" id="0"/> + <qmethod name="setTagName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="attributes" access="public" return="QDomNamedNodeMap" id="0"/> + <qmethod name="nodeType" access="public" return="QDomNode::NodeType" id="0"/> + <qmethod name="isElement" access="public" return="bool" id="0"/> + <qmethod name="text" access="public" return="QString" id="0"/> +</qtype> <qtype name="QDomEntity" access="public"> + <qancestor name="QDomNode"/> + <qctor name="QDomEntity" access="public" id="0"/> + <qctor name="QDomEntity" access="public" id="1"> + <qparam type="QDomEntityamp" name="x"/> + </qctor> + <qdctor name="QDomEntity" access="public"/> + <qmethod name="publicId" access="public" return="QString" id="0"/> + <qmethod name="systemId" access="public" return="QString" id="0"/> + <qmethod name="notationName" access="public" return="QString" id="0"/> + <qmethod name="nodeType" access="public" return="QDomNode::NodeType" id="0"/> + <qmethod name="isEntity" access="public" return="bool" id="0"/> +</qtype> <qtype name="QDomEntityReference" access="public"> + <qancestor name="QDomNode"/> + <qctor name="QDomEntityReference" access="public" id="0"/> + <qctor name="QDomEntityReference" access="public" id="1"> + <qparam type="QDomEntityReferenceamp" name="x"/> + </qctor> + <qdctor name="QDomEntityReference" access="public"/> + <qmethod name="nodeType" access="public" return="QDomNode::NodeType" id="0"/> + <qmethod name="isEntityReference" access="public" return="bool" id="0"/> +</qtype> <qtype name="QDomImplementation" access="public"> + <qctor name="QDomImplementation" access="public" id="0"/> + <qdctor name="QDomImplementation" access="public"/> + <qmethod name="hasFeature" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="feature"/> + <qparam type="QStringamp" name="version"/> + </qmethod> + <qmethod name="createDocumentType" access="public" return="QDomDocumentType" id="0"> + <qparam type="QStringamp" name="qName"/> + <qparam type="QStringamp" name="publicId"/> + <qparam type="QStringamp" name="systemId"/> + </qmethod> + <qmethod name="createDocument" access="public" return="QDomDocument" id="0"> + <qparam type="QStringamp" name="nsURI"/> + <qparam type="QStringamp" name="qName"/> + <qparam type="QDomDocumentTypeamp" name="doctype"/> + </qmethod> + <qmethod name="isNull" access="public" return="bool" id="0"/> +</qtype> <qtype name="QDomNamedNodeMap" access="public"> + <qctor name="QDomNamedNodeMap" access="public" id="0"/> + <qctor name="QDomNamedNodeMap" access="public" id="1"> + <qparam type="QDomNamedNodeMapamp" name="arg1"/> + </qctor> + <qdctor name="QDomNamedNodeMap" access="public"/> + <qmethod name="namedItem" access="public" return="QDomNode" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="setNamedItem" access="public" return="QDomNode" id="0"> + <qparam type="QDomNodeamp" name="newNode"/> + </qmethod> + <qmethod name="removeNamedItem" access="public" return="QDomNode" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="item" access="public" return="QDomNode" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="namedItemNS" access="public" return="QDomNode" id="0"> + <qparam type="QStringamp" name="nsURI"/> + <qparam type="QStringamp" name="localName"/> + </qmethod> + <qmethod name="setNamedItemNS" access="public" return="QDomNode" id="0"> + <qparam type="QDomNodeamp" name="newNode"/> + </qmethod> + <qmethod name="removeNamedItemNS" access="public" return="QDomNode" id="0"> + <qparam type="QStringamp" name="nsURI"/> + <qparam type="QStringamp" name="localName"/> + </qmethod> + <qmethod name="length" access="public" return="uint" id="0"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="contains" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> +</qtype> <qtype name="QDomNode" access="public"> + <qenum name="NodeType" access="public"> + <qitem name="ElementNode" value="1"/> + <qitem name="AttributeNode" value="2"/> + <qitem name="TextNode" value="3"/> + <qitem name="CDATASectionNode" value="4"/> + <qitem name="EntityReferenceNode" value="5"/> + <qitem name="EntityNode" value="6"/> + <qitem name="ProcessingInstructionNode" value="7"/> + <qitem name="CommentNode" value="8"/> + <qitem name="DocumentNode" value="9"/> + <qitem name="DocumentTypeNode" value="10"/> + <qitem name="DocumentFragmentNode" value="11"/> + <qitem name="NotationNode" value="12"/> + <qitem name="BaseNode" value="21"/> + <qitem name="CharacterDataNode" value="22"/> + </qenum> + <qctor name="QDomNode" access="public" id="0"/> + <qctor name="QDomNode" access="public" id="1"> + <qparam type="QDomNodeamp" name="arg1"/> + </qctor> + <qdctor name="QDomNode" access="public"/> + <qmethod name="insertBefore" access="public" return="QDomNode" id="0"> + <qparam type="QDomNodeamp" name="newChild"/> + <qparam type="QDomNodeamp" name="refChild"/> + </qmethod> + <qmethod name="insertAfter" access="public" return="QDomNode" id="0"> + <qparam type="QDomNodeamp" name="newChild"/> + <qparam type="QDomNodeamp" name="refChild"/> + </qmethod> + <qmethod name="replaceChild" access="public" return="QDomNode" id="0"> + <qparam type="QDomNodeamp" name="newChild"/> + <qparam type="QDomNodeamp" name="oldChild"/> + </qmethod> + <qmethod name="removeChild" access="public" return="QDomNode" id="0"> + <qparam type="QDomNodeamp" name="oldChild"/> + </qmethod> + <qmethod name="appendChild" access="public" return="QDomNode" id="0"> + <qparam type="QDomNodeamp" name="newChild"/> + </qmethod> + <qmethod name="hasChildNodes" access="public" return="bool" id="0"/> + <qmethod name="cloneNode" access="public" return="QDomNode" id="0"> + <qparam type="bool" name="deep" default="TRUE"/> + </qmethod> + <qmethod name="normalize" access="public" return="void" id="0"/> + <qmethod name="isSupported" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="feature"/> + <qparam type="QStringamp" name="version"/> + </qmethod> + <qmethod name="nodeName" access="public" return="QString" id="0"/> + <qmethod name="nodeType" access="public" return="QDomNode::NodeType" id="0"/> + <qmethod name="parentNode" access="public" return="QDomNode" id="0"/> + <qmethod name="childNodes" access="public" return="QDomNodeList" id="0"/> + <qmethod name="firstChild" access="public" return="QDomNode" id="0"/> + <qmethod name="lastChild" access="public" return="QDomNode" id="0"/> + <qmethod name="previousSibling" access="public" return="QDomNode" id="0"/> + <qmethod name="nextSibling" access="public" return="QDomNode" id="0"/> + <qmethod name="attributes" access="public" return="QDomNamedNodeMap" id="0"/> + <qmethod name="ownerDocument" access="public" return="QDomDocument" id="0"/> + <qmethod name="namespaceURI" access="public" return="QString" id="0"/> + <qmethod name="localName" access="public" return="QString" id="0"/> + <qmethod name="hasAttributes" access="public" return="bool" id="0"/> + <qmethod name="nodeValue" access="public" return="QString" id="0"/> + <qmethod name="setNodeValue" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="prefix" access="public" return="QString" id="0"/> + <qmethod name="setPrefix" access="public" return="void" id="0"> + <qparam type="QStringamp" name="pre"/> + </qmethod> + <qmethod name="isAttr" access="public" return="bool" id="0"/> + <qmethod name="isCDATASection" access="public" return="bool" id="0"/> + <qmethod name="isDocumentFragment" access="public" return="bool" id="0"/> + <qmethod name="isDocument" access="public" return="bool" id="0"/> + <qmethod name="isDocumentType" access="public" return="bool" id="0"/> + <qmethod name="isElement" access="public" return="bool" id="0"/> + <qmethod name="isEntityReference" access="public" return="bool" id="0"/> + <qmethod name="isText" access="public" return="bool" id="0"/> + <qmethod name="isEntity" access="public" return="bool" id="0"/> + <qmethod name="isNotation" access="public" return="bool" id="0"/> + <qmethod name="isProcessingInstruction" access="public" return="bool" id="0"/> + <qmethod name="isCharacterData" access="public" return="bool" id="0"/> + <qmethod name="isComment" access="public" return="bool" id="0"/> +/** + Shortcut to avoid dealing with QDomNodeList + all the time. + +*/ + + <qmethod name="namedItem" access="public" return="QDomNode" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="toAttr" access="public" return="QDomAttr" id="0"/> + <qmethod name="toCDATASection" access="public" return="QDomCDATASection" +id="0"/> + <qmethod name="toDocumentFragment" access="public" return="QDomDocumentFragment" +id="0"/> + <qmethod name="toDocument" access="public" return="QDomDocument" id="0"/> + <qmethod name="toDocumentType" access="public" return="QDomDocumentType" +id="0"/> + <qmethod name="toElement" access="public" return="QDomElement" id="0"/> + <qmethod name="toEntityReference" access="public" return="QDomEntityReference" +id="0"/> + <qmethod name="toText" access="public" return="QDomText" id="0"/> + <qmethod name="toEntity" access="public" return="QDomEntity" id="0"/> + <qmethod name="toNotation" access="public" return="QDomNotation" id="0"/> + <qmethod name="toProcessingInstruction" access="public" +return="QDomProcessingInstruction" +id="0"/> + <qmethod name="toCharacterData" access="public" return="QDomCharacterData" +id="0"/> + <qmethod name="toComment" access="public" return="QDomComment" id="0"/> + <qmethod name="save" access="public" return="void" id="0"> + <qparam type="QTextStreamamp" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qctor name="QDomNode" access="protected" id="2"> + <qparam type="int" name="arg1"/> + </qctor> +</qtype> <qtype name="QDomNodeList" access="public"> + <qctor name="QDomNodeList" access="public" id="0"/> + <qctor name="QDomNodeList" access="public" id="1"> + <qparam type="QDomNodeListamp" name="arg1"/> + </qctor> + <qdctor name="QDomNodeList" access="public"/> + <qmethod name="item" access="public" return="QDomNode" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="length" access="public" return="uint" id="0"/> + <qmethod name="count" access="public" return="uint" id="0"/> +</qtype> <qtype name="QDomNotation" access="public"> + <qancestor name="QDomNode"/> + <qctor name="QDomNotation" access="public" id="0"/> + <qctor name="QDomNotation" access="public" id="1"> + <qparam type="QDomNotationamp" name="x"/> + </qctor> + <qdctor name="QDomNotation" access="public"/> + <qmethod name="publicId" access="public" return="QString" id="0"/> + <qmethod name="systemId" access="public" return="QString" id="0"/> + <qmethod name="nodeType" access="public" return="QDomNode::NodeType" id="0"/> + <qmethod name="isNotation" access="public" return="bool" id="0"/> +</qtype> <qtype name="QDomProcessingInstruction" access="public"> + <qancestor name="QDomNode"/> + <qctor name="QDomProcessingInstruction" access="public" id="0"/> + <qctor name="QDomProcessingInstruction" access="public" id="1"> + <qparam type="QDomProcessingInstructionamp" name="x"/> + </qctor> + <qdctor name="QDomProcessingInstruction" access="public"/> + <qmethod name="target" access="public" return="QString" id="0"/> + <qmethod name="data" access="public" return="QString" id="0"/> + <qmethod name="setData" access="public" return="void" id="0"> + <qparam type="QStringamp" name="d"/> + </qmethod> + <qmethod name="nodeType" access="public" return="QDomNode::NodeType" id="0"/> + <qmethod name="isProcessingInstruction" access="public" return="bool" id="0"/> +</qtype> <qtype name="QDomText" access="public"> + <qancestor name="QDomCharacterData"/> + <qctor name="QDomText" access="public" id="0"/> + <qctor name="QDomText" access="public" id="1"> + <qparam type="QDomTextamp" name="x"/> + </qctor> + <qdctor name="QDomText" access="public"/> + <qmethod name="splitText" access="public" return="QDomText" id="0"> + <qparam type="int" name="offset"/> + </qmethod> + <qmethod name="nodeType" access="public" return="QDomNode::NodeType" id="0"/> + <qmethod name="isText" access="public" return="bool" id="0"/> +</qtype> <qtype name="QDoubleValidator" access="public"> + <qancestor name="QValidator"/> + <qctor name="QDoubleValidator" access="public" id="0"> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QDoubleValidator" access="public" id="1"> + <qparam type="double" name="bottom"/> + <qparam type="double" name="top"/> + <qparam type="int" name="decimals"/> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QDoubleValidator" access="public"/> + <qmethod name="validate" access="public" return="QValidator::State" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="intamp" name="arg2"/> + </qmethod> + <qmethod name="setRange" access="public" return="void" id="0"> + <qparam type="double" name="bottom"/> + <qparam type="double" name="top"/> + <qparam type="int" name="decimals" default="0"/> + </qmethod> + <qmethod name="setBottom" access="public" return="void" id="0"> + <qparam type="double" name="arg1"/> + </qmethod> + <qmethod name="setTop" access="public" return="void" id="0"> + <qparam type="double" name="arg1"/> + </qmethod> + <qmethod name="setDecimals" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="bottom" access="public" return="double" id="0"/> + <qmethod name="top" access="public" return="double" id="0"/> + <qmethod name="decimals" access="public" return="int" id="0"/> +</qtype> <qtype name="QDragEnterEvent" access="public"> + <qancestor name="QDragMoveEvent"/> + <qctor name="QDragEnterEvent" access="public" id="0"> + <qparam type="QPointamp" name="pos"/> + </qctor> +</qtype> <qtype name="QDragLeaveEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QDragLeaveEvent" access="public" id="0"/> +</qtype> <qtype name="QDragManager" access="public"> + <qancestor name="QObject"/> +</qtype> <qtype name="QDragMoveEvent" access="public"> + <qancestor name="QDropEvent"/> + <qctor name="QDragMoveEvent" access="public" id="0"> + <qparam type="QPointamp" name="pos"/> + <qparam type="Type" name="typ"/> + </qctor> + <qmethod name="answerRect" access="public" return="QRect" id="0"/> + <qmethod name="accept" access="public" return="void" id="0"> + <qparam type="bool" name="y" default="TRUE"/> + </qmethod> + <qmethod name="accept" access="public" return="void" id="1"> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="ignore" access="public" return="void" id="0"> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="ignore" access="public" return="void" id="1"/> +</qtype> <qtype name="QDragObject" access="public"> + <qancestor name="QMimeSource"/> + <qancestor name="QObject"/> + <qenum name="DragMode" access="public"> + <qitem name="DragDefault" value="0"/> + <qitem name="DragCopy" value="1"/> + <qitem name="DragMove" value="2"/> + <qitem name="DragLink" value="3"/> + <qitem name="DragCopyOrMove" value="4"/> + </qenum> + <qctor name="QDragObject" access="public" id="0"> + <qparam type="QWidget*" name="dragSource" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QDragObject" access="public"/> + <qmethod name="drag" access="public" return="bool" id="0"/> + <qmethod name="dragMove" access="public" return="bool" id="0"/> + <qmethod name="dragCopy" access="public" return="void" id="0"/> + <qmethod name="dragLink" access="public" return="void" id="0"/> + <qmethod name="setPixmap" access="public" return="void" id="0"> + <qparam type="QPixmap" name="arg1"/> + </qmethod> + <qmethod name="setPixmap" access="public" return="void" id="1"> + <qparam type="QPixmap" name="arg1"/> + <qparam type="QPointamp" name="hotspot"/> + </qmethod> + <qmethod name="pixmap" access="public" return="QPixmap" id="0"/> + <qmethod name="pixmapHotSpot" access="public" return="QPoint" id="0"/> + <qmethod name="source" access="public" return="QWidget*" id="0"/> + <qmethod name="target" access="public static" return="QWidget*" id="0"/> + <qmethod name="setTarget" access="public static" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="protected_drag" access="protected" return="bool" id="1"> + <qparam type="DragMode" name="arg1"/> + </qmethod> +</qtype> <qtype name="QDragResponseEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QDragResponseEvent" access="public" id="0"> + <qparam type="bool" name="accepted"/> + </qctor> + <qmethod name="dragAccepted" access="public" return="bool" id="0"/> +</qtype> <qtype name="QDropEvent" access="public"> + <qancestor name="QEvent"/> + <qancestor name="QMimeSource"/> + <qenum name="Action" access="public"> + <qitem name="Copy" value="0"/> + <qitem name="Link" value="1"/> + <qitem name="Move" value="2"/> + <qitem name="Private" value="3"/> + <qitem name="UserAction" value="100"/> + </qenum> + <qctor name="QDropEvent" access="public" id="0"> + <qparam type="QPointamp" name="pos"/> + <qparam type="Type" name="typ"/> + </qctor> + <qmethod name="pos" access="public" return="QPointamp" id="0"/> + <qmethod name="isAccepted" access="public" return="bool" id="0"/> + <qmethod name="accept" access="public" return="void" id="0"> + <qparam type="bool" name="y" default="TRUE"/> + </qmethod> + <qmethod name="ignore" access="public" return="void" id="0"/> + <qmethod name="isActionAccepted" access="public" return="bool" id="0"/> + <qmethod name="acceptAction" access="public" return="void" id="0"> + <qparam type="bool" name="y" default="TRUE"/> + </qmethod> + <qmethod name="setAction" access="public" return="void" id="0"> + <qparam type="Action" name="a"/> + </qmethod> + <qmethod name="action" access="public" return="Action" id="0"/> + <qmethod name="source" access="public" return="QWidget*" id="0"/> + <qmethod name="format" access="public" return="char*" id="0"> + <qparam type="int" name="n" default="0"/> + </qmethod> + <qmethod name="encodedData" access="public" return="QByteArray" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="provides" access="public" return="bool" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="data" access="public" return="QByteArray" id="0"> + <qparam type="char*" name="f"/> + </qmethod> + <qmethod name="setPoint" access="public" return="void" id="0"> + <qparam type="QPointamp" name="np"/> + </qmethod> +</qtype> <qtype name="QDropSite" access="public"> + <qctor name="QDropSite" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + </qctor> + <qdctor name="QDropSite" access="public"/> +</qtype> <qtype name="QEditorFactory" access="public"> + <qancestor name="QObject"/> + <qctor name="QEditorFactory" access="public" id="0"> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QEditorFactory" access="public"/> + <qmethod name="createEditor" access="public" return="QWidget*" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="QVariantamp" name="v"/> + </qmethod> + <qmethod name="defaultFactory" access="public static" return="QEditorFactory*" +id="0"/> + <qmethod name="installDefaultFactory" access="public static" return="void" +id="0"> + <qparam type="QEditorFactory*" name="factory"/> + </qmethod> +</qtype> <qtype name="QErrorMessage" access="public"> + <qancestor name="QDialog"/> + <qctor name="QErrorMessage" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QErrorMessage" access="public"/> + <qmethod name="message" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="qtHandler" access="public static" return="QErrorMessage*" +id="0"/> + <qmethod name="protected_done" access="protected" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> +</qtype> <qtype name="QEucJpCodec" access="public"> + <qancestor name="QTextCodec"/> + <qmethod name="mibEnum" access="public" return="int" id="0"/> + <qmethod name="name" access="public" return="char*" id="0"/> + <qmethod name="mimeName" access="public" return="char*" id="0"/> + <qmethod name="makeDecoder" access="public" return="QTextDecoder*" id="0"/> + <qmethod name="fromUnicode" access="public" return="QCString" id="0"> + <qparam type="QStringamp" name="uc"/> + <qparam type="intamp" name="len_in_out"/> + </qmethod> + <qmethod name="toUnicode" access="public" return="QString" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicContentMatch" access="public" return="int" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicNameMatch" access="public" return="int" id="0"> + <qparam type="char*" name="hint"/> + </qmethod> + <qctor name="QEucJpCodec" access="public" id="0"/> + <qdctor name="QEucJpCodec" access="public"/> +</qtype> <qtype name="QEucKrCodec" access="public"> + <qancestor name="QTextCodec"/> + <qmethod name="mibEnum" access="public" return="int" id="0"/> + <qmethod name="name" access="public" return="char*" id="0"/> + <qmethod name="mimeName" access="public" return="char*" id="0"/> + <qmethod name="makeDecoder" access="public" return="QTextDecoder*" id="0"/> + <qmethod name="fromUnicode" access="public" return="QCString" id="0"> + <qparam type="QStringamp" name="uc"/> + <qparam type="intamp" name="len_in_out"/> + </qmethod> + <qmethod name="toUnicode" access="public" return="QString" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicContentMatch" access="public" return="int" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicNameMatch" access="public" return="int" id="0"> + <qparam type="char*" name="hint"/> + </qmethod> +</qtype> <qtype name="QEvent" access="public"> + <qancestor name="Qt"/> + <qenum name="Type" access="public"> + <qitem name="None" value="0"/> + <qitem name="Timer" value="1"/> + <qitem name="MouseButtonPress" value="2"/> + <qitem name="MouseButtonRelease" value="3"/> + <qitem name="MouseButtonDblClick" value="4"/> + <qitem name="MouseMove" value="5"/> + <qitem name="KeyPress" value="6"/> + <qitem name="KeyRelease" value="7"/> + <qitem name="FocusIn" value="8"/> + <qitem name="FocusOut" value="9"/> + <qitem name="Enter" value="10"/> + <qitem name="Leave" value="11"/> + <qitem name="Paint" value="12"/> + <qitem name="Move" value="13"/> + <qitem name="Resize" value="14"/> + <qitem name="Create" value="15"/> + <qitem name="Destroy" value="16"/> + <qitem name="Show" value="17"/> + <qitem name="Hide" value="18"/> + <qitem name="Close" value="19"/> + <qitem name="Quit" value="20"/> + <qitem name="Reparent" value="21"/> + <qitem name="ShowMinimized" value="22"/> + <qitem name="ShowNormal" value="23"/> + <qitem name="WindowActivate" value="24"/> + <qitem name="WindowDeactivate" value="25"/> + <qitem name="ShowToParent" value="26"/> + <qitem name="HideToParent" value="27"/> + <qitem name="ShowMaximized" value="28"/> + <qitem name="ShowFullScreen" value="29"/> + <qitem name="Accel" value="30"/> + <qitem name="Wheel" value="31"/> + <qitem name="AccelAvailable" value="32"/> + <qitem name="CaptionChange" value="33"/> + <qitem name="IconChange" value="34"/> + <qitem name="ParentFontChange" value="35"/> + <qitem name="ApplicationFontChange" value="36"/> + <qitem name="ParentPaletteChange" value="37"/> + <qitem name="ApplicationPaletteChange" value="38"/> + <qitem name="PaletteChange" value="39"/> + <qitem name="Clipboard" value="40"/> + <qitem name="Speech" value="42"/> + <qitem name="SockAct" value="50"/> + <qitem name="AccelOverride" value="51"/> + <qitem name="DeferredDelete" value="52"/> + <qitem name="DragEnter" value="60"/> + <qitem name="DragMove" value="61"/> + <qitem name="DragLeave" value="62"/> + <qitem name="Drop" value="63"/> + <qitem name="DragResponse" value="64"/> + <qitem name="ChildInserted" value="70"/> + <qitem name="ChildRemoved" value="71"/> + <qitem name="LayoutHint" value="72"/> + <qitem name="ShowWindowRequest" value="73"/> + <qitem name="ActivateControl" value="80"/> + <qitem name="DeactivateControl" value="81"/> + <qitem name="ContextMenu" value="82"/> + <qitem name="IMStart" value="83"/> + <qitem name="IMCompose" value="84"/> + <qitem name="IMEnd" value="85"/> + <qitem name="Accessibility" value="86"/> + <qitem name="Tablet" value="87"/> + <qitem name="User" value="1000"/> + <qitem name="MaxUser" value="65535"/> + </qenum> + <qctor name="QEvent" access="public" id="0"> + <qparam type="Type" name="type"/> + </qctor> + <qdctor name="QEvent" access="public"/> + <qmethod name="type" access="public" return="Type" id="0"/> + <qmethod name="spontaneous" access="public" return="bool" id="0"/> +</qtype> <qtype name="QFile" access="public"> + <qancestor name="QIODevice"/> + <qctor name="QFile" access="public" id="0"/> + <qctor name="QFile" access="public" id="1"> + <qparam type="QStringamp" name="name"/> + </qctor> + <qdctor name="QFile" access="public"/> + <qmethod name="name" access="public" return="QString" id="0"/> + <qmethod name="setName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="exists" access="public" return="bool" id="0"/> + <qmethod name="remove" access="public" return="bool" id="0"/> + <qmethod name="open" access="public" return="bool" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="open" access="public" return="bool" id="1"> + <qparam type="int" name="arg1"/> + <qparam type="FILE*" name="arg2"/> + </qmethod> + <qmethod name="open" access="public" return="bool" id="2"> + <qparam type="int" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="close" access="public" return="void" id="0"/> + <qmethod name="flush" access="public" return="void" id="0"/> + <qmethod name="size" access="public" return="Offset" id="0"/> + <qmethod name="at" access="public" return="Offset" id="0"/> + <qmethod name="at" access="public" return="bool" id="1"> + <qparam type="Offset" name="arg1"/> + </qmethod> + <qmethod name="atEnd" access="public" return="bool" id="0"/> + <qmethod name="readBlock" access="public" return="Q_LONG" id="0"> + <qparam type="char*" name="data"/> + <qparam type="Q_ULONG" name="len"/> + </qmethod> + <qmethod name="writeBlock" access="public" return="Q_LONG" id="0"> + <qparam type="char*" name="data"/> + <qparam type="Q_ULONG" name="len"/> + </qmethod> + <qmethod name="writeBlock" access="public" return="Q_LONG" id="1"> + <qparam type="QByteArrayamp" name="data"/> + </qmethod> + <qmethod name="readLine" access="public" return="Q_LONG" id="0"> + <qparam type="char*" name="data"/> + <qparam type="Q_ULONG" name="maxlen"/> + </qmethod> + <qmethod name="readLine" access="public" return="Q_LONG" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="Q_ULONG" name="maxlen"/> + </qmethod> + <qmethod name="getch" access="public" return="int" id="0"/> + <qmethod name="putch" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="ungetch" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="handle" access="public" return="int" id="0"/> + <qmethod name="encodeName" access="public static" return="QCString" id="0"> + <qparam type="QStringamp" name="fileName"/> + </qmethod> + <qmethod name="decodeName" access="public static" return="QString" id="0"> + <qparam type="QCStringamp" name="localFileName"/> + </qmethod> + <qmethod name="setEncodingFunction" access="public static" return="void" id="0"> + <qparam type="EncoderFn" name="arg1"/> + </qmethod> + <qmethod name="setDecodingFunction" access="public static" return="void" id="0"> + <qparam type="DecoderFn" name="arg1"/> + </qmethod> + <qmethod name="exists" access="public static" return="bool" id="1"> + <qparam type="QStringamp" name="fileName"/> + </qmethod> + <qmethod name="remove" access="public static" return="bool" id="1"> + <qparam type="QStringamp" name="fileName"/> + </qmethod> +</qtype> <qtype name="QFileDialog" access="public"> + <qancestor name="QDialog"/> + <qenum name="Mode" access="public"> + <qitem name="AnyFile" value="0"/> + <qitem name="ExistingFile" value="1"/> + <qitem name="Directory" value="2"/> + <qitem name="ExistingFiles" value="3"/> + <qitem name="DirectoryOnly" value="4"/> + </qenum> + <qenum name="ViewMode" access="public"> + <qitem name="Detail" value="0"/> + <qitem name="List" value="1"/> + </qenum> + <qenum name="PreviewMode" access="public"> + <qitem name="NoPreview" value="0"/> + <qitem name="Contents" value="1"/> + <qitem name="Info" value="2"/> + </qenum> + <qctor name="QFileDialog" access="public" id="0"> + <qparam type="QStringamp" name="dirName"/> + <qparam type="QStringamp" name="filter" default="QString::null"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="bool" name="modal" default="FALSE"/> + </qctor> + <qctor name="QFileDialog" access="public" id="1"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="bool" name="modal" default="FALSE"/> + </qctor> + <qdctor name="QFileDialog" access="public"/> + <qmethod name="selectedFile" access="public" return="QString" id="0"/> + <qmethod name="selectedFilter" access="public" return="QString" id="0"/> + <qmethod name="setSelectedFilter" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setSelectedFilter" access="public" return="void" id="1"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setSelection" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="selectAll" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="selectedFiles" access="public" return="QStringList" id="0"/> + <qmethod name="dirPath" access="public" return="QString" id="0"/> + <qmethod name="setDir" access="public" return="void" id="0"> + <qparam type="QDiramp" name="arg1"/> + </qmethod> + <qmethod name="dir" access="public" return="QDir*" id="0"/> + <qmethod name="setShowHiddenFiles" access="public" return="void" id="0"> + <qparam type="bool" name="s"/> + </qmethod> + <qmethod name="showHiddenFiles" access="public" return="bool" id="0"/> + <qmethod name="rereadDir" access="public" return="void" id="0"/> + <qmethod name="resortDir" access="public" return="void" id="0"/> + <qmethod name="setMode" access="public" return="void" id="0"> + <qparam type="Mode" name="arg1"/> + </qmethod> + <qmethod name="mode" access="public" return="Mode" id="0"/> + <qmethod name="setViewMode" access="public" return="void" id="0"> + <qparam type="ViewMode" name="m"/> + </qmethod> + <qmethod name="viewMode" access="public" return="ViewMode" id="0"/> + <qmethod name="setPreviewMode" access="public" return="void" id="0"> + <qparam type="PreviewMode" name="m"/> + </qmethod> + <qmethod name="previewMode" access="public" return="PreviewMode" id="0"/> + <qmethod name="eventFilter" access="public" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> + <qmethod name="isInfoPreviewEnabled" access="public" return="bool" id="0"/> + <qmethod name="isContentsPreviewEnabled" access="public" return="bool" id="0"/> + <qmethod name="setInfoPreviewEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setContentsPreviewEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setInfoPreview" access="public" return="void" id="0"> + <qparam type="QWidget*" name="w"/> + <qparam type="QFilePreview*" name="preview"/> + </qmethod> + <qmethod name="setContentsPreview" access="public" return="void" id="0"> + <qparam type="QWidget*" name="w"/> + <qparam type="QFilePreview*" name="preview"/> + </qmethod> + <qmethod name="url" access="public" return="QUrl" id="0"/> + <qmethod name="addFilter" access="public" return="void" id="0"> + <qparam type="QStringamp" name="filter"/> + </qmethod> + <qmethod name="done" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setDir" access="public" return="void" id="1"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setUrl" access="public" return="void" id="0"> + <qparam type="QUrlOperatoramp" name="url"/> + </qmethod> + <qmethod name="setFilter" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setFilters" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setFilters" access="public" return="void" id="1"> + <qparam type="char**" name="arg1"/> + </qmethod> + <qmethod name="setFilters" access="public" return="void" id="2"> + <qparam type="QStringListamp" name="arg1"/> + </qmethod> + <qmethod name="getOpenFileName" access="public static" return="QString" id="0"> + <qparam type="QStringamp" name="initially" default="QString::null"/> + <qparam type="QStringamp" name="filter" default="QString::null"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="QStringamp" name="caption" default="QString::null"/> + <qparam type="QString*" name="selectedFilter" default="0"/> + <qparam type="bool" name="resolveSymlinks" default="TRUE"/> + </qmethod> + <qmethod name="getSaveFileName" access="public static" return="QString" id="0"> + <qparam type="QStringamp" name="initially" default="QString::null"/> + <qparam type="QStringamp" name="filter" default="QString::null"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="QStringamp" name="caption" default="QString::null"/> + <qparam type="QString*" name="selectedFilter" default="0"/> + <qparam type="bool" name="resolveSymlinks" default="TRUE"/> + </qmethod> + <qmethod name="getExistingDirectory" access="public static" return="QString" +id="0"> + <qparam type="QStringamp" name="dir" default="QString::null"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="QStringamp" name="caption" default="QString::null"/> + <qparam type="bool" name="dirOnly" default="TRUE"/> + <qparam type="bool" name="resolveSymlinks" default="TRUE"/> + </qmethod> + <qmethod name="getOpenFileNames" access="public static" return="QStringList" +id="0"> + <qparam type="QStringamp" name="filter" default="QString::null"/> + <qparam type="QStringamp" name="dir" default="QString::null"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="QStringamp" name="caption" default="QString::null"/> + <qparam type="QString*" name="selectedFilter" default="0"/> + <qparam type="bool" name="resolveSymlinks" default="TRUE"/> + </qmethod> + <qmethod name="setIconProvider" access="public static" return="void" id="0"> + <qparam type="QFileIconProvider*" name="arg1"/> + </qmethod> + <qmethod name="iconProvider" access="public static" return="QFileIconProvider*" +id="0"/> + <qmethod name="protected_addWidgets" access="protected" return="void" id="0"> + <qparam type="QLabel*" name="arg1"/> + <qparam type="QWidget*" name="arg2"/> + <qparam type="QPushButton*" name="arg3"/> + </qmethod> + <qmethod name="protected_addToolButton" access="protected" return="void" id="0"> + <qparam type="QButton*" name="b"/> + <qparam type="bool" name="separator" default="FALSE"/> + </qmethod> + <qmethod name="protected_addLeftWidget" access="protected" return="void" id="0"> + <qparam type="QWidget*" name="w"/> + </qmethod> + <qmethod name="protected_addRightWidget" access="protected" return="void" +id="0"> + <qparam type="QWidget*" name="w"/> + </qmethod> +</qtype> <qtype name="QFileIconProvider" access="public"> + <qancestor name="QObject"/> + <qctor name="QFileIconProvider" access="public" id="0"> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qmethod name="pixmap" access="public" return="QPixmap*" id="0"> + <qparam type="QFileInfoamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QFileInfo" access="public"> + <qenum name="PermissionSpec" access="public"> + <qitem name="ReadUser" value="0400"/> + <qitem name="WriteUser" value="0200"/> + <qitem name="ExeUser" value="0100"/> + <qitem name="ReadGroup" value="0040"/> + <qitem name="WriteGroup" value="0020"/> + <qitem name="ExeGroup" value="0010"/> + <qitem name="ReadOther" value="0004"/> + <qitem name="WriteOther" value="0002"/> + <qitem name="ExeOther" value="0001"/> + </qenum> + <qctor name="QFileInfo" access="public" id="0"/> + <qctor name="QFileInfo" access="public" id="1"> + <qparam type="QStringamp" name="file"/> + </qctor> + <qctor name="QFileInfo" access="public" id="2"> + <qparam type="QFileamp" name="arg1"/> + </qctor> + <qctor name="QFileInfo" access="public" id="3"> + <qparam type="QDiramp" name="arg1"/> + <qparam type="QStringamp" name="fileName"/> + </qctor> + <qctor name="QFileInfo" access="public" id="4"> + <qparam type="QFileInfoamp" name="arg1"/> + </qctor> + <qdctor name="QFileInfo" access="public"/> + <qmethod name="setFile" access="public" return="void" id="0"> + <qparam type="QStringamp" name="file"/> + </qmethod> + <qmethod name="setFile" access="public" return="void" id="1"> + <qparam type="QFileamp" name="arg1"/> + </qmethod> + <qmethod name="setFile" access="public" return="void" id="2"> + <qparam type="QDiramp" name="arg1"/> + <qparam type="QStringamp" name="fileName"/> + </qmethod> + <qmethod name="exists" access="public" return="bool" id="0"/> + <qmethod name="refresh" access="public" return="void" id="0"/> + <qmethod name="caching" access="public" return="bool" id="0"/> + <qmethod name="setCaching" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="filePath" access="public" return="QString" id="0"/> + <qmethod name="fileName" access="public" return="QString" id="0"/> + <qmethod name="absFilePath" access="public" return="QString" id="0"/> + <qmethod name="baseName" access="public" return="QString" id="0"> + <qparam type="bool" name="complete" default="FALSE"/> + </qmethod> + <qmethod name="extension" access="public" return="QString" id="0"> + <qparam type="bool" name="complete" default="TRUE"/> + </qmethod> + <qmethod name="dirPath" access="public" return="QString" id="0"> + <qparam type="bool" name="absPath" default="FALSE"/> + </qmethod> + <qmethod name="dir" access="public" return="QDir" id="0"> + <qparam type="bool" name="absPath" default="FALSE"/> + </qmethod> + <qmethod name="isReadable" access="public" return="bool" id="0"/> + <qmethod name="isWritable" access="public" return="bool" id="0"/> + <qmethod name="isExecutable" access="public" return="bool" id="0"/> + <qmethod name="isRelative" access="public" return="bool" id="0"/> + <qmethod name="convertToAbs" access="public" return="bool" id="0"/> + <qmethod name="isFile" access="public" return="bool" id="0"/> + <qmethod name="isDir" access="public" return="bool" id="0"/> + <qmethod name="isSymLink" access="public" return="bool" id="0"/> + <qmethod name="readLink" access="public" return="QString" id="0"/> + <qmethod name="owner" access="public" return="QString" id="0"/> + <qmethod name="ownerId" access="public" return="uint" id="0"/> + <qmethod name="group" access="public" return="QString" id="0"/> + <qmethod name="groupId" access="public" return="uint" id="0"/> + <qmethod name="permission" access="public" return="bool" id="0"> + <qparam type="int" name="permissionSpec"/> + </qmethod> + <qmethod name="size" access="public" return="uint" id="0"/> + <qmethod name="created" access="public" return="QDateTime" id="0"/> + <qmethod name="lastModified" access="public" return="QDateTime" id="0"/> + <qmethod name="lastRead" access="public" return="QDateTime" id="0"/> +</qtype> <qtype name="QFilePreview" access="public"> + <qmethod name="previewUrl" access="public" return="void" id="0"> + <qparam type="QUrlamp" name="url"/> + </qmethod> +</qtype> <qtype name="QFocusData" access="public"> + <qmethod name="focusWidget" access="public" return="QWidget*" id="0"/> + <qmethod name="home" access="public" return="QWidget*" id="0"/> + <qmethod name="next" access="public" return="QWidget*" id="0"/> + <qmethod name="prev" access="public" return="QWidget*" id="0"/> + <qmethod name="count" access="public" return="int" id="0"/> +</qtype> <qtype name="QFocusEvent" access="public"> + <qancestor name="QEvent"/> + <qenum name="Reason" access="public"> + <qitem name="Mouse" value="0"/> + <qitem name="Tab" value="1"/> + <qitem name="Backtab" value="2"/> + <qitem name="ActiveWindow" value="3"/> + <qitem name="Popup" value="4"/> + <qitem name="Shortcut" value="5"/> + <qitem name="Other" value="6"/> + </qenum> + <qctor name="QFocusEvent" access="public" id="0"> + <qparam type="Type" name="type"/> + </qctor> + <qmethod name="gotFocus" access="public" return="bool" id="0"/> + <qmethod name="lostFocus" access="public" return="bool" id="0"/> + <qmethod name="reason" access="public static" return="Reason" id="0"/> + <qmethod name="setReason" access="public static" return="void" id="0"> + <qparam type="Reason" name="reason"/> + </qmethod> + <qmethod name="resetReason" access="public static" return="void" id="0"/> +</qtype> <qtype name="QFont" access="public"> + <qenum name="StyleHint" access="public"> + <qitem name="Helvetica" value="0"/> + <qitem name="SansSerif" value="Helvetica"/> + <qitem name="Times" value="1"/> + <qitem name="Serif" value="Times"/> + <qitem name="Courier" value="2"/> + <qitem name="TypeWriter" value="Courier"/> + <qitem name="OldEnglish" value="3"/> + <qitem name="Decorative" value="OldEnglish"/> + <qitem name="System" value="4"/> + <qitem name="AnyStyle" value="5"/> + </qenum> + <qenum name="StyleStrategy" access="public"> + <qitem name="PreferDefault" value="1"/> + <qitem name="PreferBitmap" value="2"/> + <qitem name="PreferDevice" value="4"/> + <qitem name="PreferOutline" value="8"/> + <qitem name="ForceOutline" value="16"/> + <qitem name="PreferMatch" value="32"/> + <qitem name="PreferQuality" value="64"/> + <qitem name="PreferAntialias" value="128"/> + <qitem name="NoAntialias" value="256"/> + </qenum> + <qenum name="Weight" access="public"> + <qitem name="Light" value="25"/> + <qitem name="Normal" value="50"/> + <qitem name="DemiBold" value="63"/> + <qitem name="Bold" value="75"/> + <qitem name="Black" value="87"/> + </qenum> + <qenum name="Script" access="public"> + <qitem name="Latin" value="0"/> + <qitem name="Greek" value="1"/> + <qitem name="Cyrillic" value="2"/> + <qitem name="Armenian" value="3"/> + <qitem name="Georgian" value="4"/> + <qitem name="Runic" value="5"/> + <qitem name="Ogham" value="6"/> + <qitem name="SpacingModifiers" value="7"/> + <qitem name="CombiningMarks" value="8"/> + <qitem name="Hebrew" value="9"/> + <qitem name="Arabic" value="10"/> + <qitem name="Syriac" value="11"/> + <qitem name="Thaana" value="12"/> + <qitem name="Devanagari" value="13"/> + <qitem name="Bengali" value="14"/> + <qitem name="Gurmukhi" value="15"/> + <qitem name="Gujarati" value="16"/> + <qitem name="Oriya" value="17"/> + <qitem name="Tamil" value="18"/> + <qitem name="Telugu" value="19"/> + <qitem name="Kannada" value="20"/> + <qitem name="Malayalam" value="21"/> + <qitem name="Sinhala" value="22"/> + <qitem name="Thai" value="23"/> + <qitem name="Lao" value="24"/> + <qitem name="Tibetan" value="25"/> + <qitem name="Myanmar" value="26"/> + <qitem name="Khmer" value="27"/> + <qitem name="Han" value="28"/> + <qitem name="Hiragana" value="29"/> + <qitem name="Katakana" value="30"/> + <qitem name="Hangul" value="31"/> + <qitem name="Bopomofo" value="32"/> + <qitem name="Yi" value="33"/> + <qitem name="Ethiopic" value="34"/> + <qitem name="Cherokee" value="35"/> + <qitem name="CanadianAboriginal" value="36"/> + <qitem name="Mongolian" value="37"/> + <qitem name="CurrencySymbols" value="38"/> + <qitem name="LetterlikeSymbols" value="39"/> + <qitem name="NumberForms" value="40"/> + <qitem name="MathematicalOperators" value="41"/> + <qitem name="TechnicalSymbols" value="42"/> + <qitem name="GeometricSymbols" value="43"/> + <qitem name="MiscellaneousSymbols" value="44"/> + <qitem name="EnclosedAndSquare" value="45"/> + <qitem name="Braille" value="46"/> + <qitem name="Unicode" value="47"/> + <qitem name="NScripts" value="48"/> + <qitem name="UnknownScript" value="NScripts"/> + <qitem name="NoScript" value="49"/> + <qitem name="HanX11" value="50"/> + <qitem name="LatinBasic" value="Latin"/> + <qitem name="LatinExtendedA_2" value="HanX11+1"/> + <qitem name="LatinExtendedA_3" value="52"/> + <qitem name="LatinExtendedA_4" value="53"/> + <qitem name="LatinExtendedA_14" value="54"/> + <qitem name="LatinExtendedA_15" value="55"/> + <qitem name="LastPrivateScript" value="56"/> + </qenum> + <qctor name="QFont" access="public" id="0"/> + <qctor name="QFont" access="public" id="1"> + <qparam type="QStringamp" name="family"/> + <qparam type="int" name="pointSize" default="12"/> + <qparam type="Weight" name="weight" default="Normal"/> + <qparam type="bool" name="italic" default="FALSE"/> + </qctor> + <qctor name="QFont" access="public" id="2"> + <qparam type="QFontamp" name="arg1"/> + </qctor> + <qdctor name="QFont" access="public"/> + <qmethod name="family" access="public" return="QString" id="0"/> + <qmethod name="setFamily" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="pointSize" access="public" return="int" id="0"/> + <qmethod name="pointSizeFloat" access="public" return="float" id="0"/> + <qmethod name="setPointSize" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setPointSizeFloat" access="public" return="void" id="0"> + <qparam type="float" name="arg1"/> + </qmethod> + <qmethod name="pixelSize" access="public" return="int" id="0"/> + <qmethod name="setPixelSize" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setPixelSizeFloat" access="public" return="void" id="0"> + <qparam type="float" name="arg1"/> + </qmethod> + <qmethod name="weight" access="public" return="int" id="0"/> + <qmethod name="setWeight" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="bold" access="public" return="bool" id="0"/> + <qmethod name="setBold" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="italic" access="public" return="bool" id="0"/> + <qmethod name="setItalic" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="underline" access="public" return="bool" id="0"/> + <qmethod name="setUnderline" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="strikeOut" access="public" return="bool" id="0"/> + <qmethod name="setStrikeOut" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="fixedPitch" access="public" return="bool" id="0"/> + <qmethod name="setFixedPitch" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="styleHint" access="public" return="StyleHint" id="0"/> + <qmethod name="styleStrategy" access="public" return="StyleStrategy" id="0"/> + <qmethod name="setStyleHint" access="public" return="void" id="0"> + <qparam type="StyleHint" name="arg1"/> + <qparam type="StyleStrategy" name="arg2" default="PreferDefault"/> + </qmethod> + <qmethod name="setStyleStrategy" access="public" return="void" id="0"> + <qparam type="StyleStrategy" name="s"/> + </qmethod> + <qmethod name="rawMode" access="public" return="bool" id="0"/> + <qmethod name="setRawMode" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="exactMatch" access="public" return="bool" id="0"/> + <qmethod name="isCopyOf" access="public" return="bool" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="handle" access="public" return="HFONT" id="0"/> + <qmethod name="handle" access="public" return="Qt::HANDLE" id="1"/> + <qmethod name="setRawName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="rawName" access="public" return="QString" id="0"/> + <qmethod name="key" access="public" return="QString" id="0"/> + <qmethod name="toString" access="public" return="QString" id="0"/> + <qmethod name="fromString" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="qwsRenderToDisk" access="public" return="void" id="0"> + <qparam type="bool" name="all" default="TRUE"/> + </qmethod> + <qmethod name="defaultFamily" access="public" return="QString" id="0"/> + <qmethod name="lastResortFamily" access="public" return="QString" id="0"/> + <qmethod name="lastResortFont" access="public" return="QString" id="0"/> + <qmethod name="substitute" access="public static" return="QString" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="substitutes" access="public static" return="QStringList" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="substitutions" access="public static" return="QStringList" +id="0"/> + <qmethod name="insertSubstitution" access="public static" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="insertSubstitutions" access="public static" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringListamp" name="arg2"/> + </qmethod> + <qmethod name="removeSubstitution" access="public static" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="initialize" access="public static" return="void" id="0"/> + <qmethod name="cleanup" access="public static" return="void" id="0"/> + <qmethod name="cacheStatistics" access="public static" return="void" id="0"/> + <qmethod name="defaultFont" access="public static" return="QFont" id="0"/> + <qmethod name="setDefaultFont" access="public static" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="protected_dirty" access="protected" return="bool" id="0"/> + <qmethod name="protected_deciPointSize" access="protected" return="int" id="0"/> +</qtype> <qtype name="QFontDatabase" access="public"> + <qctor name="QFontDatabase" access="public" id="0"/> + <qmethod name="families" access="public" return="QStringList" id="0"/> + <qmethod name="styles" access="public" return="QStringList" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="styleString" access="public" return="QString" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="font" access="public" return="QFont" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="int" name="arg3"/> + </qmethod> + <qmethod name="isBitmapScalable" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2" default="QString::null"/> + </qmethod> + <qmethod name="isSmoothlyScalable" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2" default="QString::null"/> + </qmethod> + <qmethod name="isScalable" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2" default="QString::null"/> + </qmethod> + <qmethod name="isFixedPitch" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2" default="QString::null"/> + </qmethod> + <qmethod name="italic" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="bold" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="weight" access="public" return="int" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="families" access="public" return="QStringList" id="1"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="styles" access="public" return="QStringList" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="font" access="public" return="QFont" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="int" name="arg3"/> + <qparam type="QStringamp" name="arg4"/> + </qmethod> + <qmethod name="isBitmapScalable" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="QStringamp" name="arg3"/> + </qmethod> + <qmethod name="isSmoothlyScalable" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="QStringamp" name="arg3"/> + </qmethod> + <qmethod name="isScalable" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="QStringamp" name="arg3"/> + </qmethod> + <qmethod name="isFixedPitch" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="QStringamp" name="arg3"/> + </qmethod> + <qmethod name="italic" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="QStringamp" name="arg3"/> + </qmethod> + <qmethod name="bold" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="QStringamp" name="arg3"/> + </qmethod> + <qmethod name="weight" access="public" return="int" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="QStringamp" name="arg3"/> + </qmethod> + <qmethod name="scriptName" access="public static" return="QString" id="0"> + <qparam type="QFont::Script" name="arg1"/> + </qmethod> + <qmethod name="scriptSample" access="public static" return="QString" id="0"> + <qparam type="QFont::Script" name="arg1"/> + </qmethod> + <qmethod name="qwsAddDiskFont" access="public static" return="void" id="0"> + <qparam type="QDiskFont*" name="qdf"/> + </qmethod> +</qtype> <qtype name="QFontDialog" access="public"> + <qancestor name="QDialog"/> + <qmethod name="getFont" access="public static" return="QFont" id="0"> + <qparam type="bool*" name="ok"/> + <qparam type="QFontamp" name="def"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qmethod> + <qmethod name="getFont" access="public static" return="QFont" id="1"> + <qparam type="bool*" name="ok"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qmethod> + <qmethod name="protected_eventFilter" access="protected" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> + <qmethod name="protected_familyListBox" access="protected" return="QListBox*" +id="0"/> + <qmethod name="protected_updateFamilies" access="protected" return="void" +id="0"/> + <qmethod name="protected_styleListBox" access="protected" return="QListBox*" +id="0"/> + <qmethod name="protected_updateStyles" access="protected" return="void" id="0"/> + <qmethod name="protected_sizeListBox" access="protected" return="QListBox*" +id="0"/> + <qmethod name="protected_updateSizes" access="protected" return="void" id="0"/> + <qmethod name="protected_scriptCombo" access="protected" return="QComboBox*" +id="0"/> + <qmethod name="protected_updateScripts" access="protected" return="void" +id="0"/> + <qmethod name="protected_family" access="protected" return="QString" id="0"/> + <qmethod name="protected_script" access="protected" return="QString" id="0"/> + <qmethod name="protected_style" access="protected" return="QString" id="0" +throttle="true"/> + <qmethod name="protected_size" access="protected" return="QString" id="0" +throttle="true"/> + <qmethod name="protected_sizeChanged" access="protected" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QFontInfo" access="public"> + <qctor name="QFontInfo" access="public" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qctor> + <qctor name="QFontInfo" access="public" id="1"> + <qparam type="QFontInfoamp" name="arg1"/> + </qctor> + <qdctor name="QFontInfo" access="public"/> + <qmethod name="family" access="public" return="QString" id="0"/> + <qmethod name="pixelSize" access="public" return="int" id="0"/> + <qmethod name="pointSize" access="public" return="int" id="0"/> + <qmethod name="italic" access="public" return="bool" id="0"/> + <qmethod name="weight" access="public" return="int" id="0"/> + <qmethod name="bold" access="public" return="bool" id="0"/> + <qmethod name="underline" access="public" return="bool" id="0"/> + <qmethod name="strikeOut" access="public" return="bool" id="0"/> + <qmethod name="fixedPitch" access="public" return="bool" id="0"/> + <qmethod name="styleHint" access="public" return="QFont::StyleHint" id="0"/> + <qmethod name="rawMode" access="public" return="bool" id="0"/> + <qmethod name="exactMatch" access="public" return="bool" id="0"/> +</qtype> <qtype name="QFontMetrics" access="public"> + <qctor name="QFontMetrics" access="public" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qctor> + <qctor name="QFontMetrics" access="public" id="1"> + <qparam type="QFontMetricsamp" name="arg1"/> + </qctor> + <qdctor name="QFontMetrics" access="public"/> + <qmethod name="ascent" access="public" return="int" id="0"/> + <qmethod name="descent" access="public" return="int" id="0"/> + <qmethod name="height" access="public" return="int" id="0"/> + <qmethod name="leading" access="public" return="int" id="0"/> + <qmethod name="lineSpacing" access="public" return="int" id="0"/> + <qmethod name="minLeftBearing" access="public" return="int" id="0"/> + <qmethod name="minRightBearing" access="public" return="int" id="0"/> + <qmethod name="maxWidth" access="public" return="int" id="0"/> + <qmethod name="inFont" access="public" return="bool" id="0"> + <qparam type="QChar" name="arg1"/> + </qmethod> + <qmethod name="leftBearing" access="public" return="int" id="0"> + <qparam type="QChar" name="arg1"/> + </qmethod> + <qmethod name="rightBearing" access="public" return="int" id="0"> + <qparam type="QChar" name="arg1"/> + </qmethod> + <qmethod name="width" access="public" return="int" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="int" name="len" default="-1"/> + </qmethod> + <qmethod name="width" access="public" return="int" id="1"> + <qparam type="QChar" name="arg1"/> + </qmethod> + <qmethod name="width" access="public" return="int" id="2"> + <qparam type="char" name="c"/> + </qmethod> + <qmethod name="charWidth" access="public" return="int" id="0"> + <qparam type="QStringamp" name="str"/> + <qparam type="int" name="pos"/> + </qmethod> + <qmethod name="boundingRect" access="public" return="QRect" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="int" name="len" default="-1"/> + </qmethod> + <qmethod name="boundingRect" access="public" return="QRect" id="1"> + <qparam type="QChar" name="arg1"/> + </qmethod> + <qmethod name="boundingRect" access="public" return="QRect" id="2"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="int" name="flags"/> + <qparam type="QStringamp" name="str"/> + <qparam type="int" name="len" default="-1"/> + <qparam type="int" name="tabstops" default="0"/> + <qparam type="int*" name="tabarray" default="0"/> + <qparam type="QTextParag**" name="intern" default="0"/> + </qmethod> + <qmethod name="size" access="public" return="QSize" id="0"> + <qparam type="int" name="flags"/> + <qparam type="QStringamp" name="str"/> + <qparam type="int" name="len" default="-1"/> + <qparam type="int" name="tabstops" default="0"/> + <qparam type="int*" name="tabarray" default="0"/> + <qparam type="QTextParag**" name="intern" default="0"/> + </qmethod> + <qmethod name="underlinePos" access="public" return="int" id="0"/> + <qmethod name="strikeOutPos" access="public" return="int" id="0"/> + <qmethod name="lineWidth" access="public" return="int" id="0"/> +</qtype> <qtype name="QFrame" access="public"> + <qancestor name="QWidget"/> + <qenum name="Shape" access="public"> + <qitem name="NoFrame" value="0"/> + <qitem name="Box" value="1"/> + <qitem name="Panel" value="2"/> + <qitem name="WinPanel" value="3"/> + <qitem name="HLine" value="4"/> + <qitem name="VLine" value="5"/> + <qitem name="StyledPanel" value="6"/> + <qitem name="PopupPanel" value="7"/> + <qitem name="MenuBarPanel" value="8"/> + <qitem name="ToolBarPanel" value="9"/> + <qitem name="LineEditPanel" value="10"/> + <qitem name="TabWidgetPanel" value="11"/> + <qitem name="MShape" value="15"/> + </qenum> + <qenum name="Shadow" access="public"> + <qitem name="Plain" value="16"/> + <qitem name="Raised" value="32"/> + <qitem name="Sunken" value="48"/> + <qitem name="MShadow" value="240"/> + </qenum> + <qctor name="QFrame" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qmethod name="frameStyle" access="public" return="int" id="0"/> + <qmethod name="setFrameStyle" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="frameWidth" access="public" return="int" id="0"/> + <qmethod name="contentsRect" access="public" return="QRect" id="0"/> + <qmethod name="lineShapesOk" access="public" return="bool" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="frameShape" access="public" return="Shape" id="0"/> + <qmethod name="setFrameShape" access="public" return="void" id="0"> + <qparam type="Shape" name="arg1"/> + </qmethod> + <qmethod name="frameShadow" access="public" return="Shadow" id="0"/> + <qmethod name="setFrameShadow" access="public" return="void" id="0"> + <qparam type="Shadow" name="arg1"/> + </qmethod> + <qmethod name="lineWidth" access="public" return="int" id="0"/> + <qmethod name="setLineWidth" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="margin" access="public" return="int" id="0"/> + <qmethod name="setMargin" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="midLineWidth" access="public" return="int" id="0"/> + <qmethod name="setMidLineWidth" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="frameRect" access="public" return="QRect" id="0"/> + <qmethod name="setFrameRect" access="public" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="protected_drawFrame" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_drawContents" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_frameChanged" access="protected" return="void" id="0"/> +</qtype> <qtype name="QFtp" access="public"> + <qancestor name="QNetworkProtocol"/> + <qctor name="QFtp" access="public" id="0"/> + <qdctor name="QFtp" access="public"/> + <qmethod name="supportedOperations" access="public" return="int" id="0"/> + <qmethod name="protected_parseDir" access="protected" return="void" id="0"> + <qparam type="QStringamp" name="buffer"/> + <qparam type="QUrlInfoamp" name="info"/> + </qmethod> + <qmethod name="protected_operationListChildren" access="protected" return="void" +id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationMkDir" access="protected" return="void" +id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationRemove" access="protected" return="void" +id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationRename" access="protected" return="void" +id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationGet" access="protected" return="void" id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationPut" access="protected" return="void" id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_hostFound" access="protected" return="void" id="0"/> + <qmethod name="protected_connected" access="protected" return="void" id="0"/> + <qmethod name="protected_closed" access="protected" return="void" id="0"/> + <qmethod name="protected_readyRead" access="protected" return="void" id="0"/> + <qmethod name="protected_dataHostFound" access="protected" return="void" +id="0"/> + <qmethod name="protected_dataConnected" access="protected" return="void" +id="0"/> + <qmethod name="protected_dataClosed" access="protected" return="void" id="0"/> + <qmethod name="protected_dataReadyRead" access="protected" return="void" +id="0"/> + <qmethod name="protected_dataBytesWritten" access="protected" return="void" +id="0"> + <qparam type="int" name="nbytes"/> + </qmethod> + <qmethod name="protected_error" access="protected" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> +</qtype> <qtype name="QGArray" access="public"> + <qctor name="QGArray" access="public" id="0"/> + <qctor name="QGArray" access="protected" id="1"> + <qparam type="int" name="arg1"/> + <qparam type="int" name="arg2"/> + </qctor> + <qctor name="QGArray" access="protected" id="2"> + <qparam type="int" name="size"/> + </qctor> + <qctor name="QGArray" access="protected" id="3"> + <qparam type="QGArrayamp" name="a"/> + </qctor> + <qdctor name="QGArray" access="protected"/> + <qmethod name="protected_detach" access="protected" return="void" id="0"/> + <qmethod name="protected_data" access="protected" return="char*" id="0"/> + <qmethod name="protected_nrefs" access="protected" return="uint" id="0"/> + <qmethod name="protected_size" access="protected" return="uint" id="0"/> + <qmethod name="protected_isEqual" access="protected" return="bool" id="0"> + <qparam type="QGArrayamp" name="a"/> + </qmethod> + <qmethod name="protected_resize" access="protected" return="bool" id="0"> + <qparam type="uint" name="newsize"/> + </qmethod> + <qmethod name="protected_fill" access="protected" return="bool" id="0"> + <qparam type="char*" name="d"/> + <qparam type="int" name="len"/> + <qparam type="uint" name="sz"/> + </qmethod> + <qmethod name="protected_assign" access="protected" return="QGArrayamp" id="0"> + <qparam type="QGArrayamp" name="a"/> + </qmethod> + <qmethod name="protected_assign" access="protected" return="QGArrayamp" id="1"> + <qparam type="char*" name="d"/> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="protected_duplicate" access="protected" return="QGArrayamp" +id="0"> + <qparam type="QGArrayamp" name="a"/> + </qmethod> + <qmethod name="protected_duplicate" access="protected" return="QGArrayamp" +id="1"> + <qparam type="char*" name="d"/> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="protected_store" access="protected" return="void" id="0"> + <qparam type="char*" name="d"/> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="protected_sharedBlock" access="protected" return="array_data*" +id="0"/> + <qmethod name="protected_setSharedBlock" access="protected" return="void" +id="0"> + <qparam type="array_data*" name="p"/> + </qmethod> + <qmethod name="protected_setRawData" access="protected" return="QGArrayamp" +id="0"> + <qparam type="char*" name="d"/> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="protected_resetRawData" access="protected" return="void" id="0"> + <qparam type="char*" name="d"/> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="protected_find" access="protected" return="int" id="0"> + <qparam type="char*" name="d"/> + <qparam type="uint" name="index"/> + <qparam type="uint" name="sz"/> + </qmethod> + <qmethod name="protected_contains" access="protected" return="int" id="0"> + <qparam type="char*" name="d"/> + <qparam type="uint" name="sz"/> + </qmethod> + <qmethod name="protected_sort" access="protected" return="void" id="0"> + <qparam type="uint" name="sz"/> + </qmethod> + <qmethod name="protected_bsearch" access="protected" return="int" id="0"> + <qparam type="char*" name="d"/> + <qparam type="uint" name="sz"/> + </qmethod> + <qmethod name="protected_at" access="protected" return="char*" id="0"> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="protected_setExpand" access="protected" return="bool" id="0"> + <qparam type="uint" name="index"/> + <qparam type="char*" name="d"/> + <qparam type="uint" name="sz"/> + </qmethod> + <qmethod name="protected_newData" access="protected" return="array_data*" +id="0"/> + <qmethod name="protected_deleteData" access="protected" return="void" id="0"> + <qparam type="array_data*" name="p"/> + </qmethod> +</qtype> <qtype name="array_data" access="public"> + <qancestor name="QShared"/> + <qctor name="array_data" access="public" id="0"/> +</qtype> <qtype name="QGCache" access="public"> + <qancestor name="QPtrCollection"/> + <qenum name="KeyType" access="protected"> + <qitem name="StringKey" value="0"/> + <qitem name="AsciiKey" value="1"/> + <qitem name="IntKey" value="2"/> + <qitem name="PtrKey" value="3"/> + </qenum> + <qctor name="QGCache" access="protected" id="0"> + <qparam type="int" name="maxCost"/> + <qparam type="uint" name="size"/> + <qparam type="KeyType" name="kt"/> + <qparam type="bool" name="caseSensitive"/> + <qparam type="bool" name="copyKeys"/> + </qctor> + <qctor name="QGCache" access="protected" id="1"> + <qparam type="QGCacheamp" name="arg1"/> + </qctor> + <qdctor name="QGCache" access="protected"/> + <qmethod name="protected_count" access="protected" return="uint" id="0"/> + <qmethod name="protected_size" access="protected" return="uint" id="0"/> + <qmethod name="protected_maxCost" access="protected" return="int" id="0"/> + <qmethod name="protected_totalCost" access="protected" return="int" id="0"/> + <qmethod name="protected_setMaxCost" access="protected" return="void" id="0"> + <qparam type="int" name="maxCost"/> + </qmethod> + <qmethod name="protected_clear" access="protected" return="void" id="0"/> + <qmethod name="protected_insert_string" access="protected" return="bool" id="0"> + <qparam type="QStringamp" name="key"/> + <qparam type="QPtrCollection::Item" name="arg1"/> + <qparam type="int" name="cost"/> + <qparam type="int" name="priority"/> + </qmethod> + <qmethod name="protected_insert_other" access="protected" return="bool" id="0"> + <qparam type="char*" name="key"/> + <qparam type="QPtrCollection::Item" name="arg1"/> + <qparam type="int" name="cost"/> + <qparam type="int" name="priority"/> + </qmethod> + <qmethod name="protected_remove_string" access="protected" return="bool" id="0"> + <qparam type="QStringamp" name="key"/> + </qmethod> + <qmethod name="protected_remove_other" access="protected" return="bool" id="0"> + <qparam type="char*" name="key"/> + </qmethod> + <qmethod name="protected_take_string" access="protected" +return="QPtrCollection::Item" +id="0"> + <qparam type="QStringamp" name="key"/> + </qmethod> + <qmethod name="protected_take_other" access="protected" +return="QPtrCollection::Item" +id="0"> + <qparam type="char*" name="key"/> + </qmethod> + <qmethod name="protected_find_string" access="protected" +return="QPtrCollection::Item" +id="0"> + <qparam type="QStringamp" name="key"/> + <qparam type="bool" name="ref" default="TRUE"/> + </qmethod> + <qmethod name="protected_find_other" access="protected" +return="QPtrCollection::Item" +id="0"> + <qparam type="char*" name="key"/> + <qparam type="bool" name="ref" default="TRUE"/> + </qmethod> + <qmethod name="protected_statistics" access="protected" return="void" id="0"/> +</qtype> <qtype name="QGCacheIterator" access="public"> + <qctor name="QGCacheIterator" access="protected" id="0"> + <qparam type="QGCacheamp" name="arg1"/> + </qctor> + <qctor name="QGCacheIterator" access="protected" id="1"> + <qparam type="QGCacheIteratoramp" name="arg1"/> + </qctor> + <qdctor name="QGCacheIterator" access="protected"/> + <qmethod name="protected_count" access="protected" return="uint" id="0"/> + <qmethod name="protected_atFirst" access="protected" return="bool" id="0"/> + <qmethod name="protected_atLast" access="protected" return="bool" id="0"/> + <qmethod name="protected_toFirst" access="protected" +return="QPtrCollection::Item" id="0"/> + <qmethod name="protected_toLast" access="protected" +return="QPtrCollection::Item" id="0"/> + <qmethod name="protected_get" access="protected" return="QPtrCollection::Item" +id="0"/> + <qmethod name="protected_getKeyString" access="protected" return="QString" +id="0"/> + <qmethod name="protected_getKeyAscii" access="protected" return="char*" id="0"/> + <qmethod name="protected_getKeyInt" access="protected" return="long" id="0"/> +</qtype> <qtype name="QGDict" access="public"> + <qancestor name="QPtrCollection"/> + <qenum name="KeyType" access="protected"> + <qitem name="StringKey" value="0"/> + <qitem name="AsciiKey" value="1"/> + <qitem name="IntKey" value="2"/> + <qitem name="PtrKey" value="3"/> + </qenum> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="size" access="public" return="uint" id="0"/> + <qmethod name="look_string" access="public" return="QPtrCollection::Item" +id="0"> + <qparam type="QStringamp" name="key"/> + <qparam type="QPtrCollection::Item" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="look_ascii" access="public" return="QPtrCollection::Item" id="0"> + <qparam type="char*" name="key"/> + <qparam type="QPtrCollection::Item" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="look_int" access="public" return="QPtrCollection::Item" id="0"> + <qparam type="long" name="key"/> + <qparam type="QPtrCollection::Item" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="look_ptr" access="public" return="QPtrCollection::Item" id="0"> + <qparam type="void*" name="key"/> + <qparam type="QPtrCollection::Item" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="read" access="public" return="QDataStreamamp" id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + </qmethod> + <qmethod name="write" access="public" return="QDataStreamamp" id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + </qmethod> + <qctor name="QGDict" access="protected" id="0"> + <qparam type="uint" name="len"/> + <qparam type="KeyType" name="kt"/> + <qparam type="bool" name="cs"/> + <qparam type="bool" name="ck"/> + </qctor> + <qctor name="QGDict" access="protected" id="1"> + <qparam type="QGDictamp" name="arg1"/> + </qctor> + <qdctor name="QGDict" access="protected"/> + <qmethod name="protected_remove_string" access="protected" return="bool" id="0"> + <qparam type="QStringamp" name="key"/> + <qparam type="QPtrCollection::Item" name="item" default="0"/> + </qmethod> + <qmethod name="protected_remove_ascii" access="protected" return="bool" id="0"> + <qparam type="char*" name="key"/> + <qparam type="QPtrCollection::Item" name="item" default="0"/> + </qmethod> + <qmethod name="protected_remove_int" access="protected" return="bool" id="0"> + <qparam type="long" name="key"/> + <qparam type="QPtrCollection::Item" name="item" default="0"/> + </qmethod> + <qmethod name="protected_remove_ptr" access="protected" return="bool" id="0"> + <qparam type="void*" name="key"/> + <qparam type="QPtrCollection::Item" name="item" default="0"/> + </qmethod> + <qmethod name="protected_take_string" access="protected" +return="QPtrCollection::Item" +id="0"> + <qparam type="QStringamp" name="key"/> + </qmethod> + <qmethod name="protected_take_ascii" access="protected" +return="QPtrCollection::Item" +id="0"> + <qparam type="char*" name="key"/> + </qmethod> + <qmethod name="protected_take_int" access="protected" +return="QPtrCollection::Item" id="0"> + <qparam type="long" name="key"/> + </qmethod> + <qmethod name="protected_take_ptr" access="protected" +return="QPtrCollection::Item" id="0"> + <qparam type="void*" name="key"/> + </qmethod> + <qmethod name="protected_clear" access="protected" return="void" id="0"/> + <qmethod name="protected_resize" access="protected" return="void" id="0"> + <qparam type="uint" name="arg1"/> + </qmethod> + <qmethod name="protected_hashKeyString" access="protected" return="int" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="protected_hashKeyAscii" access="protected" return="int" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="protected_statistics" access="protected" return="void" id="0"/> + <qmethod name="protected_read" access="protected" return="QDataStreamamp" +id="1"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Itemamp" name="arg2"/> + </qmethod> + <qmethod name="protected_write" access="protected" return="QDataStreamamp" +id="1"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Item" name="arg2"/> + </qmethod> +</qtype> <qtype name="QGDictIterator" access="public"> + <qctor name="QGDictIterator" access="public" id="0"> + <qparam type="QGDictamp" name="arg1"/> + </qctor> + <qctor name="QGDictIterator" access="public" id="1"> + <qparam type="QGDictIteratoramp" name="arg1"/> + </qctor> + <qdctor name="QGDictIterator" access="public"/> + <qmethod name="toFirst" access="public" return="QPtrCollection::Item" id="0"/> + <qmethod name="get" access="public" return="QPtrCollection::Item" id="0"/> + <qmethod name="getKeyString" access="public" return="QString" id="0"/> + <qmethod name="getKeyAscii" access="public" return="char*" id="0"/> + <qmethod name="getKeyInt" access="public" return="long" id="0"/> + <qmethod name="getKeyPtr" access="public" return="void*" id="0"/> +</qtype> <qtype name="QGLColormap" access="public"> + <qctor name="QGLColormap" access="public" id="0"/> + <qctor name="QGLColormap" access="public" id="1"> + <qparam type="QGLColormapamp" name="arg1"/> + </qctor> + <qdctor name="QGLColormap" access="public"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="size" access="public" return="int" id="0"/> + <qmethod name="detach" access="public" return="void" id="0"/> + <qmethod name="setEntries" access="public" return="void" id="0"> + <qparam type="int" name="count"/> + <qparam type="QRgb*" name="colors"/> + <qparam type="int" name="base" default="0"/> + </qmethod> + <qmethod name="setEntry" access="public" return="void" id="0"> + <qparam type="int" name="idx"/> + <qparam type="QRgb" name="color"/> + </qmethod> + <qmethod name="setEntry" access="public" return="void" id="1"> + <qparam type="int" name="idx"/> + <qparam type="QColoramp" name="color"/> + </qmethod> + <qmethod name="entryRgb" access="public" return="QRgb" id="0"> + <qparam type="int" name="idx"/> + </qmethod> + <qmethod name="entryColor" access="public" return="QColor" id="0"> + <qparam type="int" name="idx"/> + </qmethod> + <qmethod name="find" access="public" return="int" id="0"> + <qparam type="QRgb" name="color"/> + </qmethod> + <qmethod name="findNearest" access="public" return="int" id="0"> + <qparam type="QRgb" name="color"/> + </qmethod> +</qtype> <qtype name="QGLContext" access="public"> + <qctor name="QGLContext" access="public" id="0"> + <qparam type="QGLFormatamp" name="format"/> + <qparam type="QPaintDevice*" name="device"/> + </qctor> + <qdctor name="QGLContext" access="public"/> + <qmethod name="create" access="public" return="bool" id="0"> + <qparam type="QGLContext*" name="shareContext" default="0"/> + </qmethod> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="isSharing" access="public" return="bool" id="0"/> + <qmethod name="reset" access="public" return="void" id="0"/> + <qmethod name="format" access="public" return="QGLFormat" id="0"/> + <qmethod name="requestedFormat" access="public" return="QGLFormat" id="0"/> + <qmethod name="setFormat" access="public" return="void" id="0"> + <qparam type="QGLFormatamp" name="format"/> + </qmethod> + <qmethod name="makeCurrent" access="public" return="void" id="0"/> + <qmethod name="swapBuffers" access="public" return="void" id="0"/> + <qmethod name="device" access="public" return="QPaintDevice*" id="0"/> + <qmethod name="overlayTransparentColor" access="public" return="QColor" id="0"/> + <qmethod name="currentContext" access="public static" return="QGLContext*" +id="0"/> + <qmethod name="protected_chooseContext" access="protected" return="bool" id="0"> + <qparam type="QGLContext*" name="shareContext" default="0"/> + </qmethod> + <qmethod name="protected_doneCurrent" access="protected" return="void" id="0"/> + <qmethod name="protected_choosePixelFormat" access="protected" return="int" +id="0"> + <qparam type="void*" name="pfd"/> + <qparam type="HDC" name="pdc"/> + </qmethod> + <qmethod name="protected_tryVisual" access="protected" return="void*" id="0"> + <qparam type="QGLFormatamp" name="f"/> + <qparam type="int" name="bufDepth" default="1"/> + </qmethod> + <qmethod name="protected_chooseVisual" access="protected" return="void*" +id="0"/> + <qmethod name="protected_chooseMacVisual" access="protected" return="void*" +id="0"> + <qparam type="GDHandle" name="arg1"/> + </qmethod> + <qmethod name="protected_deviceIsPixmap" access="protected" return="bool" +id="0"/> + <qmethod name="protected_windowCreated" access="protected" return="bool" +id="0"/> + <qmethod name="protected_setWindowCreated" access="protected" return="void" +id="0"> + <qparam type="bool" name="on"/> + </qmethod> + <qmethod name="protected_initialized" access="protected" return="bool" id="0"/> + <qmethod name="protected_setInitialized" access="protected" return="void" +id="0"> + <qparam type="bool" name="on"/> + </qmethod> + <qmethod name="protected_colorIndex" access="protected" return="uint" id="0"> + <qparam type="QColoramp" name="c"/> + </qmethod> +</qtype> <qtype name="QGLFormat" access="public"> + <qctor name="QGLFormat" access="public" id="0"/> + <qctor name="QGLFormat" access="public" id="1"> + <qparam type="int" name="options"/> + <qparam type="int" name="plane" default="0"/> + </qctor> + <qmethod name="doubleBuffer" access="public" return="bool" id="0"/> + <qmethod name="setDoubleBuffer" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="depth" access="public" return="bool" id="0"/> + <qmethod name="setDepth" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="rgba" access="public" return="bool" id="0"/> + <qmethod name="setRgba" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="alpha" access="public" return="bool" id="0"/> + <qmethod name="setAlpha" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="accum" access="public" return="bool" id="0"/> + <qmethod name="setAccum" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="stencil" access="public" return="bool" id="0"/> + <qmethod name="setStencil" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="stereo" access="public" return="bool" id="0"/> + <qmethod name="setStereo" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="directRendering" access="public" return="bool" id="0"/> + <qmethod name="setDirectRendering" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="hasOverlay" access="public" return="bool" id="0"/> + <qmethod name="setOverlay" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="plane" access="public" return="int" id="0"/> + <qmethod name="setPlane" access="public" return="void" id="0"> + <qparam type="int" name="plane"/> + </qmethod> + <qmethod name="setOption" access="public" return="void" id="0"> + <qparam type="FormatOption" name="opt"/> + </qmethod> + <qmethod name="testOption" access="public" return="bool" id="0"> + <qparam type="FormatOption" name="opt"/> + </qmethod> + <qmethod name="defaultFormat" access="public static" return="QGLFormat" id="0"/> + <qmethod name="setDefaultFormat" access="public static" return="void" id="0"> + <qparam type="QGLFormatamp" name="f"/> + </qmethod> + <qmethod name="defaultOverlayFormat" access="public static" return="QGLFormat" +id="0"/> + <qmethod name="setDefaultOverlayFormat" access="public static" return="void" +id="0"> + <qparam type="QGLFormatamp" name="f"/> + </qmethod> + <qmethod name="hasOpenGL" access="public static" return="bool" id="0"/> + <qmethod name="hasOpenGLOverlays" access="public static" return="bool" id="0"/> +</qtype> <qtype name="QGLWidget" access="public"> + <qancestor name="QWidget"/> + <qctor name="QGLWidget" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="QGLWidget*" name="shareWidget" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qctor name="QGLWidget" access="public" id="1"> + <qparam type="QGLFormatamp" name="format"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="QGLWidget*" name="shareWidget" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qdctor name="QGLWidget" access="public"/> + <qmethod name="qglColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="c"/> + </qmethod> + <qmethod name="qglClearColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="c"/> + </qmethod> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="isSharing" access="public" return="bool" id="0"/> + <qmethod name="makeCurrent" access="public" return="void" id="0"/> + <qmethod name="doubleBuffer" access="public" return="bool" id="0"/> + <qmethod name="swapBuffers" access="public" return="void" id="0"/> + <qmethod name="format" access="public" return="QGLFormat" id="0"/> + <qmethod name="setFormat" access="public" return="void" id="0"> + <qparam type="QGLFormatamp" name="format"/> + </qmethod> + <qmethod name="context" access="public" return="QGLContext*" id="0"/> + <qmethod name="setContext" access="public" return="void" id="0"> + <qparam type="QGLContext*" name="context"/> + <qparam type="QGLContext*" name="shareContext" default="0"/> + <qparam type="bool" name="deleteOldContext" default="TRUE"/> + </qmethod> + <qmethod name="renderPixmap" access="public" return="QPixmap" id="0"> + <qparam type="int" name="w" default="0"/> + <qparam type="int" name="h" default="0"/> + <qparam type="bool" name="useContext" default="FALSE"/> + </qmethod> + <qmethod name="grabFrameBuffer" access="public" return="QImage" id="0"> + <qparam type="bool" name="withAlpha" default="FALSE"/> + </qmethod> + <qmethod name="makeOverlayCurrent" access="public" return="void" id="0"/> + <qmethod name="overlayContext" access="public" return="QGLContext*" id="0"/> + <qmethod name="setMouseTracking" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="reparent" access="public" return="void" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="WFlags" name="f"/> + <qparam type="QPointamp" name="p"/> + <qparam type="bool" name="showIt" default="FALSE"/> + </qmethod> + <qmethod name="colormap" access="public" return="QGLColormapamp" id="0"/> + <qmethod name="setColormap" access="public" return="void" id="0"> + <qparam type="QGLColormapamp" name="map"/> + </qmethod> + <qmethod name="updateGL" access="public" return="void" id="0"/> + <qmethod name="updateOverlayGL" access="public" return="void" id="0"/> + <qmethod name="convertToGLFormat" access="public static" return="QImage" id="0"> + <qparam type="QImageamp" name="img"/> + </qmethod> + <qmethod name="protected_initializeGL" access="protected" return="void" id="0"/> + <qmethod name="protected_resizeGL" access="protected" return="void" id="0"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="protected_paintGL" access="protected" return="void" id="0"/> + <qmethod name="protected_initializeOverlayGL" access="protected" return="void" +id="0"/> + <qmethod name="protected_resizeOverlayGL" access="protected" return="void" +id="0"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="protected_paintOverlayGL" access="protected" return="void" +id="0"/> + <qmethod name="protected_setAutoBufferSwap" access="protected" return="void" +id="0"> + <qparam type="bool" name="on"/> + </qmethod> + <qmethod name="protected_autoBufferSwap" access="protected" return="bool" +id="0"/> + <qmethod name="protected_glInit" access="protected" return="void" id="0"/> + <qmethod name="protected_glDraw" access="protected" return="void" id="0"/> +</qtype> <qtype name="QGLayoutIterator" access="public"> + <qancestor name="QShared"/> + <qdctor name="QGLayoutIterator" access="public"/> + <qmethod name="next" access="public" return="QLayoutItem*" id="0"/> + <qmethod name="current" access="public" return="QLayoutItem*" id="0"/> + <qmethod name="takeCurrent" access="public" return="QLayoutItem*" id="0"/> +</qtype> <qtype name="QGList" access="public"> + <qancestor name="QPtrCollection"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="read" access="public" return="QDataStreamamp" id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + </qmethod> + <qmethod name="write" access="public" return="QDataStreamamp" id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + </qmethod> + <qctor name="QGList" access="protected" id="0"/> + <qctor name="QGList" access="protected" id="1"> + <qparam type="QGListamp" name="arg1"/> + </qctor> + <qdctor name="QGList" access="protected"/> + <qmethod name="protected_inSort" access="protected" return="void" id="0"> + <qparam type="QPtrCollection::Item" name="arg1"/> + </qmethod> + <qmethod name="protected_append" access="protected" return="void" id="0"> + <qparam type="QPtrCollection::Item" name="arg1"/> + </qmethod> + <qmethod name="protected_insertAt" access="protected" return="bool" id="0"> + <qparam type="uint" name="index"/> + <qparam type="QPtrCollection::Item" name="arg1"/> + </qmethod> + <qmethod name="protected_relinkNode" access="protected" return="void" id="0"> + <qparam type="QLNode*" name="arg1"/> + </qmethod> + <qmethod name="protected_removeNode" access="protected" return="bool" id="0"> + <qparam type="QLNode*" name="arg1"/> + </qmethod> + <qmethod name="protected_remove" access="protected" return="bool" id="0"> + <qparam type="QPtrCollection::Item" name="arg1" default="0"/> + </qmethod> + <qmethod name="protected_removeRef" access="protected" return="bool" id="0"> + <qparam type="QPtrCollection::Item" name="arg1" default="0"/> + </qmethod> + <qmethod name="protected_removeFirst" access="protected" return="bool" id="0"/> + <qmethod name="protected_removeLast" access="protected" return="bool" id="0"/> + <qmethod name="protected_removeAt" access="protected" return="bool" id="0"> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="protected_takeNode" access="protected" +return="QPtrCollection::Item" id="0"> + <qparam type="QLNode*" name="arg1"/> + </qmethod> + <qmethod name="protected_take" access="protected" return="QPtrCollection::Item" +id="0"/> + <qmethod name="protected_takeAt" access="protected" +return="QPtrCollection::Item" id="0"> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="protected_takeFirst" access="protected" +return="QPtrCollection::Item" +id="0"/> + <qmethod name="protected_takeLast" access="protected" +return="QPtrCollection::Item" +id="0"/> + <qmethod name="protected_sort" access="protected" return="void" id="0"/> + <qmethod name="protected_clear" access="protected" return="void" id="0"/> + <qmethod name="protected_findRef" access="protected" return="int" id="0"> + <qparam type="QPtrCollection::Item" name="arg1"/> + <qparam type="bool" name="arg2" default="TRUE"/> + </qmethod> + <qmethod name="protected_find" access="protected" return="int" id="0"> + <qparam type="QPtrCollection::Item" name="arg1"/> + <qparam type="bool" name="arg2" default="TRUE"/> + </qmethod> + <qmethod name="protected_containsRef" access="protected" return="uint" id="0"> + <qparam type="QPtrCollection::Item" name="arg1"/> + </qmethod> + <qmethod name="protected_contains" access="protected" return="uint" id="0"> + <qparam type="QPtrCollection::Item" name="arg1"/> + </qmethod> + <qmethod name="protected_at" access="protected" return="QPtrCollection::Item" +id="0"> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="protected_at" access="protected" return="int" id="1"/> + <qmethod name="protected_currentNode" access="protected" return="QLNode*" +id="0"/> + <qmethod name="protected_get" access="protected" return="QPtrCollection::Item" +id="0"/> + <qmethod name="protected_cfirst" access="protected" +return="QPtrCollection::Item" id="0"/> + <qmethod name="protected_clast" access="protected" return="QPtrCollection::Item" +id="0"/> + <qmethod name="protected_first" access="protected" return="QPtrCollection::Item" +id="0"/> + <qmethod name="protected_last" access="protected" return="QPtrCollection::Item" +id="0"/> + <qmethod name="protected_next" access="protected" return="QPtrCollection::Item" +id="0"/> + <qmethod name="protected_prev" access="protected" return="QPtrCollection::Item" +id="0"/> + <qmethod name="protected_toVector" access="protected" return="void" id="0"> + <qparam type="QGVector*" name="arg1"/> + </qmethod> + <qmethod name="protected_compareItems" access="protected" return="int" id="0"> + <qparam type="QPtrCollection::Item" name="arg1"/> + <qparam type="QPtrCollection::Item" name="arg2"/> + </qmethod> + <qmethod name="protected_read" access="protected" return="QDataStreamamp" +id="1"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Itemamp" name="arg2"/> + </qmethod> + <qmethod name="protected_write" access="protected" return="QDataStreamamp" +id="1"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Item" name="arg2"/> + </qmethod> +</qtype> <qtype name="QGListIterator" access="public"> + <qctor name="QGListIterator" access="protected" id="0"> + <qparam type="QGListamp" name="arg1"/> + </qctor> + <qctor name="QGListIterator" access="protected" id="1"> + <qparam type="QGListIteratoramp" name="arg1"/> + </qctor> + <qdctor name="QGListIterator" access="protected"/> + <qmethod name="protected_atFirst" access="protected" return="bool" id="0"/> + <qmethod name="protected_atLast" access="protected" return="bool" id="0"/> + <qmethod name="protected_toFirst" access="protected" +return="QPtrCollection::Item" id="0"/> + <qmethod name="protected_toLast" access="protected" +return="QPtrCollection::Item" id="0"/> + <qmethod name="protected_get" access="protected" return="QPtrCollection::Item" +id="0"/> +</qtype> <qtype name="QGPlugin" access="public"> + <qancestor name="QObject"/> + <qctor name="QGPlugin" access="public" id="0"> + <qparam type="QUnknownInterface*" name="i"/> + </qctor> + <qdctor name="QGPlugin" access="public"/> + <qmethod name="iface" access="public" return="QUnknownInterface*" id="0"/> + <qmethod name="setIface" access="public" return="void" id="0"> + <qparam type="QUnknownInterface*" name="iface"/> + </qmethod> +</qtype> <qtype name="QGVector" access="public"> + <qancestor name="QPtrCollection"/> + <qmethod name="read" access="public" return="QDataStreamamp" id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + </qmethod> + <qmethod name="write" access="public" return="QDataStreamamp" id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + </qmethod> + <qmethod name="compareItems" access="public" return="int" id="0"> + <qparam type="Item" name="arg1"/> + <qparam type="Item" name="arg2"/> + </qmethod> + <qctor name="QGVector" access="protected" id="0"/> + <qctor name="QGVector" access="protected" id="1"> + <qparam type="uint" name="size"/> + </qctor> + <qctor name="QGVector" access="protected" id="2"> + <qparam type="QGVectoramp" name="v"/> + </qctor> + <qdctor name="QGVector" access="protected"/> + <qmethod name="protected_data" access="protected" return="Item*" id="0"/> + <qmethod name="protected_size" access="protected" return="uint" id="0"/> + <qmethod name="protected_count" access="protected" return="uint" id="0"/> + <qmethod name="protected_insert" access="protected" return="bool" id="0"> + <qparam type="uint" name="index"/> + <qparam type="Item" name="arg1"/> + </qmethod> + <qmethod name="protected_remove" access="protected" return="bool" id="0"> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="protected_take" access="protected" return="Item" id="0"> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="protected_clear" access="protected" return="void" id="0"/> + <qmethod name="protected_resize" access="protected" return="bool" id="0"> + <qparam type="uint" name="newsize"/> + </qmethod> + <qmethod name="protected_fill" access="protected" return="bool" id="0"> + <qparam type="Item" name="arg1"/> + <qparam type="int" name="flen"/> + </qmethod> + <qmethod name="protected_sort" access="protected" return="void" id="0"/> + <qmethod name="protected_bsearch" access="protected" return="int" id="0"> + <qparam type="Item" name="arg1"/> + </qmethod> + <qmethod name="protected_findRef" access="protected" return="int" id="0"> + <qparam type="Item" name="arg1"/> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="protected_find" access="protected" return="int" id="0"> + <qparam type="Item" name="arg1"/> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="protected_containsRef" access="protected" return="uint" id="0"> + <qparam type="Item" name="arg1"/> + </qmethod> + <qmethod name="protected_contains" access="protected" return="uint" id="0"> + <qparam type="Item" name="arg1"/> + </qmethod> + <qmethod name="protected_at" access="protected" return="Item" id="0"> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="protected_insertExpand" access="protected" return="bool" id="0"> + <qparam type="uint" name="index"/> + <qparam type="Item" name="arg1"/> + </qmethod> + <qmethod name="protected_toList" access="protected" return="void" id="0"> + <qparam type="QGList*" name="arg1"/> + </qmethod> + <qmethod name="protected_read" access="protected" return="QDataStreamamp" +id="1"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="Itemamp" name="arg2"/> + </qmethod> + <qmethod name="protected_write" access="protected" return="QDataStreamamp" +id="1"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="Item" name="arg2"/> + </qmethod> +</qtype> <qtype name="QGbkCodec" access="public"> + <qancestor name="QTextCodec"/> + <qctor name="QGbkCodec" access="public" id="0"/> + <qmethod name="mibEnum" access="public" return="int" id="0"/> + <qmethod name="name" access="public" return="char*" id="0"/> + <qmethod name="mimeName" access="public" return="char*" id="0"/> + <qmethod name="makeDecoder" access="public" return="QTextDecoder*" id="0"/> + <qmethod name="fromUnicode" access="public" return="QCString" id="0"> + <qparam type="QStringamp" name="uc"/> + <qparam type="intamp" name="len_in_out"/> + </qmethod> + <qmethod name="toUnicode" access="public" return="QString" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicContentMatch" access="public" return="int" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicNameMatch" access="public" return="int" id="0"> + <qparam type="char*" name="hint"/> + </qmethod> +</qtype> <qtype name="QGrid" access="public"> + <qancestor name="QFrame"/> + <qctor name="QGrid" access="public" id="0"> + <qparam type="int" name="n"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qctor name="QGrid" access="public" id="1"> + <qparam type="int" name="n"/> + <qparam type="Orientation" name="orient"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qmethod name="setSpacing" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="protected_frameChanged" access="protected" return="void" id="0"/> +</qtype> <qtype name="QGridLayout" access="public"> + <qancestor name="QLayout"/> + <qenum name="Corner" access="public"> + <qitem name="TopLeft" value="0"/> + <qitem name="TopRight" value="1"/> + <qitem name="BottomLeft" value="2"/> + <qitem name="BottomRight" value="3"/> + </qenum> + <qctor name="QGridLayout" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="int" name="nRows" default="1"/> + <qparam type="int" name="nCols" default="1"/> + <qparam type="int" name="border" default="0"/> + <qparam type="int" name="spacing" default="-1"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QGridLayout" access="public" id="1"> + <qparam type="int" name="nRows" default="1"/> + <qparam type="int" name="nCols" default="1"/> + <qparam type="int" name="spacing" default="-1"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QGridLayout" access="public" id="2"> + <qparam type="QLayout*" name="parentLayout"/> + <qparam type="int" name="nRows" default="1"/> + <qparam type="int" name="nCols" default="1"/> + <qparam type="int" name="spacing" default="-1"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QGridLayout" access="public"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSize" access="public" return="QSize" id="0"/> + <qmethod name="maximumSize" access="public" return="QSize" id="0"/> + <qmethod name="setRowStretch" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="stretch"/> + </qmethod> + <qmethod name="setColStretch" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + <qparam type="int" name="stretch"/> + </qmethod> + <qmethod name="rowStretch" access="public" return="int" id="0"> + <qparam type="int" name="row"/> + </qmethod> + <qmethod name="colStretch" access="public" return="int" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="numRows" access="public" return="int" id="0"/> + <qmethod name="numCols" access="public" return="int" id="0"/> + <qmethod name="cellGeometry" access="public" return="QRect" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="hasHeightForWidth" access="public" return="bool" id="0"/> + <qmethod name="heightForWidth" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="expanding" access="public" return="QSizePolicy::ExpandData" +id="0"/> + <qmethod name="invalidate" access="public" return="void" id="0"/> + <qmethod name="addItem" access="public" return="void" id="0"> + <qparam type="QLayoutItem*" name="arg1"/> + </qmethod> + <qmethod name="addItem" access="public" return="void" id="1"> + <qparam type="QLayoutItem*" name="item"/> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="addMultiCell" access="public" return="void" id="0"> + <qparam type="QLayoutItem*" name="arg1"/> + <qparam type="int" name="fromRow"/> + <qparam type="int" name="toRow"/> + <qparam type="int" name="fromCol"/> + <qparam type="int" name="toCol"/> + <qparam type="int" name="align" default="0"/> + </qmethod> + <qmethod name="addWidget" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="int" name="align" default="0"/> + </qmethod> + <qmethod name="addMultiCellWidget" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="int" name="fromRow"/> + <qparam type="int" name="toRow"/> + <qparam type="int" name="fromCol"/> + <qparam type="int" name="toCol"/> + <qparam type="int" name="align" default="0"/> + </qmethod> + <qmethod name="addLayout" access="public" return="void" id="0"> + <qparam type="QLayout*" name="layout"/> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="addMultiCellLayout" access="public" return="void" id="0"> + <qparam type="QLayout*" name="layout"/> + <qparam type="int" name="fromRow"/> + <qparam type="int" name="toRow"/> + <qparam type="int" name="fromCol"/> + <qparam type="int" name="toCol"/> + <qparam type="int" name="align" default="0"/> + </qmethod> + <qmethod name="addRowSpacing" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="minsize"/> + </qmethod> + <qmethod name="addColSpacing" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + <qparam type="int" name="minsize"/> + </qmethod> + <qmethod name="expand" access="public" return="void" id="0"> + <qparam type="int" name="rows"/> + <qparam type="int" name="cols"/> + </qmethod> + <qmethod name="setOrigin" access="public" return="void" id="0"> + <qparam type="Corner" name="arg1"/> + </qmethod> + <qmethod name="origin" access="public" return="Corner" id="0"/> + <qmethod name="iterator" access="public" return="QLayoutIterator" id="0"/> + <qmethod name="setGeometry" access="public" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="protected_findWidget" access="protected" return="bool" id="0"> + <qparam type="QWidget*" name="w"/> + <qparam type="int*" name="r"/> + <qparam type="int*" name="c"/> + </qmethod> + <qmethod name="protected_add" access="protected" return="void" id="0"> + <qparam type="QLayoutItem*" name="arg1"/> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> +</qtype> <qtype name="QGridView" access="public"> + <qancestor name="QScrollView"/> + <qdctor name="QGridView" access="public"/> + <qmethod name="numRows" access="public" return="int" id="0"/> + <qmethod name="setNumRows" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="numCols" access="public" return="int" id="0"/> + <qmethod name="setNumCols" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="cellWidth" access="public" return="int" id="0"/> + <qmethod name="setCellWidth" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="cellHeight" access="public" return="int" id="0"/> + <qmethod name="setCellHeight" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="cellRect" access="public" return="QRect" id="0"/> + <qmethod name="cellGeometry" access="public" return="QRect" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="column"/> + </qmethod> + <qmethod name="gridSize" access="public" return="QSize" id="0"/> + <qmethod name="rowAt" access="public" return="int" id="0"> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="columnAt" access="public" return="int" id="0"> + <qparam type="int" name="x"/> + </qmethod> + <qmethod name="repaintCell" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="column"/> + <qparam type="bool" name="erase" default="TRUE"/> + </qmethod> + <qmethod name="updateCell" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="column"/> + </qmethod> + <qmethod name="ensureCellVisible" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="column"/> + </qmethod> +</qtype> <qtype name="QGroupBox" access="public"> + <qancestor name="QFrame"/> + <qctor name="QGroupBox" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QGroupBox" access="public" id="1"> + <qparam type="QStringamp" name="title"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QGroupBox" access="public" id="2"> + <qparam type="int" name="columns"/> + <qparam type="Orientation" name="o"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QGroupBox" access="public" id="3"> + <qparam type="int" name="columns"/> + <qparam type="Orientation" name="o"/> + <qparam type="QStringamp" name="title"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qmethod name="setColumnLayout" access="public" return="void" id="0"> + <qparam type="int" name="columns"/> + <qparam type="Orientation" name="o"/> + </qmethod> + <qmethod name="title" access="public" return="QString" id="0"/> + <qmethod name="setTitle" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="alignment" access="public" return="int" id="0"/> + <qmethod name="setAlignment" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="columns" access="public" return="int" id="0"/> + <qmethod name="setColumns" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="orientation" access="public" return="Orientation" id="0"/> + <qmethod name="setOrientation" access="public" return="void" id="0"> + <qparam type="Orientation" name="arg1"/> + </qmethod> + <qmethod name="insideMargin" access="public" return="int" id="0"/> + <qmethod name="insideSpacing" access="public" return="int" id="0"/> + <qmethod name="setInsideMargin" access="public" return="void" id="0"> + <qparam type="int" name="m"/> + </qmethod> + <qmethod name="setInsideSpacing" access="public" return="void" id="0"> + <qparam type="int" name="s"/> + </qmethod> + <qmethod name="addSpace" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="protected_event" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="arg1"/> + </qmethod> + <qmethod name="protected_fontChange" access="protected" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QGuardedPtr" access="public"> + <qctor name="QGuardedPtr" access="public" id="0"/> + <qctor name="QGuardedPtr" access="public" id="1"> + <qparam type="T*" name="o"/> + </qctor> + <qdctor name="QGuardedPtr" access="public"/> + <qmethod name="isNull" access="public" return="bool" id="0"/> +</qtype> <qtype name="QGuardedPtrPrivate" access="public"> + <qancestor name="QObject"/> + <qancestor name="QShared"/> + <qctor name="QGuardedPtrPrivate" access="public" id="0"> + <qparam type="QObject*" name="arg1"/> + </qctor> + <qdctor name="QGuardedPtrPrivate" access="public"/> + <qmethod name="object" access="public" return="QObject*" id="0"/> + <qmethod name="reconnect" access="public" return="void" id="0"> + <qparam type="QObject*" name="arg1"/> + </qmethod> +</qtype> <qtype name="QHBox" access="public"> + <qancestor name="QFrame"/> + <qctor name="QHBox" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qmethod name="setSpacing" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setStretchFactor" access="public" return="bool" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="int" name="stretch"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qctor name="QHBox" access="protected" id="1"> + <qparam type="bool" name="horizontal"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qmethod name="protected_frameChanged" access="protected" return="void" id="0"/> +</qtype> <qtype name="QHBoxLayout" access="public"> + <qancestor name="QBoxLayout"/> + <qctor name="QHBoxLayout" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="int" name="border" default="0"/> + <qparam type="int" name="spacing" default="-1"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QHBoxLayout" access="public" id="1"> + <qparam type="QLayout*" name="parentLayout"/> + <qparam type="int" name="spacing" default="-1"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QHBoxLayout" access="public" id="2"> + <qparam type="int" name="spacing" default="-1"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QHBoxLayout" access="public"/> +</qtype> <qtype name="QHButtonGroup" access="public"> + <qancestor name="QButtonGroup"/> + <qctor name="QHButtonGroup" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QHButtonGroup" access="public" id="1"> + <qparam type="QStringamp" name="title"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QHButtonGroup" access="public"/> +</qtype> <qtype name="QHGroupBox" access="public"> + <qancestor name="QGroupBox"/> + <qctor name="QHGroupBox" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QHGroupBox" access="public" id="1"> + <qparam type="QStringamp" name="title"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QHGroupBox" access="public"/> +</qtype> <qtype name="QHeader" access="public"> + <qancestor name="QWidget"/> + <qctor name="QHeader" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QHeader" access="public" id="1"> + <qparam type="int" name="arg1"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QHeader" access="public"/> + <qmethod name="addLabel" access="public" return="int" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="int" name="size" default="-1"/> + </qmethod> + <qmethod name="addLabel" access="public" return="int" id="1"> + <qparam type="QIconSetamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="int" name="size" default="-1"/> + </qmethod> + <qmethod name="removeLabel" access="public" return="void" id="0"> + <qparam type="int" name="section"/> + </qmethod> + <qmethod name="setLabel" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="int" name="size" default="-1"/> + </qmethod> + <qmethod name="setLabel" access="public" return="void" id="1"> + <qparam type="int" name="arg1"/> + <qparam type="QIconSetamp" name="arg2"/> + <qparam type="QStringamp" name="arg3"/> + <qparam type="int" name="size" default="-1"/> + </qmethod> + <qmethod name="label" access="public" return="QString" id="0"> + <qparam type="int" name="section"/> + </qmethod> + <qmethod name="iconSet" access="public" return="QIconSet*" id="0"> + <qparam type="int" name="section"/> + </qmethod> + <qmethod name="setOrientation" access="public" return="void" id="0"> + <qparam type="Orientation" name="arg1"/> + </qmethod> + <qmethod name="orientation" access="public" return="Orientation" id="0"/> + <qmethod name="setTracking" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="tracking" access="public" return="bool" id="0"/> + <qmethod name="setClickEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + <qparam type="int" name="section" default="-1"/> + </qmethod> + <qmethod name="setResizeEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + <qparam type="int" name="section" default="-1"/> + </qmethod> + <qmethod name="setMovingEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setStretchEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + <qparam type="int" name="section"/> + </qmethod> + <qmethod name="setStretchEnabled" access="public" return="void" id="1"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="isClickEnabled" access="public" return="bool" id="0"> + <qparam type="int" name="section" default="-1"/> + </qmethod> + <qmethod name="isResizeEnabled" access="public" return="bool" id="0"> + <qparam type="int" name="section" default="-1"/> + </qmethod> + <qmethod name="isMovingEnabled" access="public" return="bool" id="0"/> + <qmethod name="isStretchEnabled" access="public" return="bool" id="0"/> + <qmethod name="isStretchEnabled" access="public" return="bool" id="1"> + <qparam type="int" name="section"/> + </qmethod> + <qmethod name="resizeSection" access="public" return="void" id="0"> + <qparam type="int" name="section"/> + <qparam type="int" name="s"/> + </qmethod> + <qmethod name="sectionSize" access="public" return="int" id="0"> + <qparam type="int" name="section"/> + </qmethod> + <qmethod name="sectionPos" access="public" return="int" id="0"> + <qparam type="int" name="section"/> + </qmethod> + <qmethod name="sectionAt" access="public" return="int" id="0"> + <qparam type="int" name="pos"/> + </qmethod> + <qmethod name="count" access="public" return="int" id="0"/> + <qmethod name="headerWidth" access="public" return="int" id="0"/> + <qmethod name="sectionRect" access="public" return="QRect" id="0"> + <qparam type="int" name="section"/> + </qmethod> + <qmethod name="setCellSize" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="cellSize" access="public" return="int" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="cellPos" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="cellAt" access="public" return="int" id="0"> + <qparam type="int" name="pos"/> + </qmethod> + <qmethod name="offset" access="public" return="int" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="mapToSection" access="public" return="int" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="mapToIndex" access="public" return="int" id="0"> + <qparam type="int" name="section"/> + </qmethod> + <qmethod name="mapToLogical" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="mapToActual" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="moveSection" access="public" return="void" id="0"> + <qparam type="int" name="section"/> + <qparam type="int" name="toIndex"/> + </qmethod> + <qmethod name="moveCell" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="setSortIndicator" access="public" return="void" id="0"> + <qparam type="int" name="section"/> + <qparam type="bool" name="increasing" default="TRUE"/> + </qmethod> + <qmethod name="adjustHeaderSize" access="public" return="void" id="0"/> + <qmethod name="setUpdatesEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="setOffset" access="public" return="void" id="0"> + <qparam type="int" name="pos"/> + </qmethod> + <qmethod name="protected_sRect" access="protected" return="QRect" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="protected_paintSection" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="index"/> + <qparam type="QRectamp" name="fr"/> + </qmethod> + <qmethod name="protected_paintSectionLabel" access="protected" return="void" +id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="index"/> + <qparam type="QRectamp" name="fr"/> + </qmethod> +</qtype> <qtype name="QHebrewCodec" access="public"> + <qancestor name="QTextCodec"/> + <qmethod name="mibEnum" access="public" return="int" id="0"/> + <qmethod name="name" access="public" return="char*" id="0"/> + <qmethod name="mimeName" access="public" return="char*" id="0"/> + <qmethod name="fromUnicode" access="public" return="QCString" id="0"> + <qparam type="QStringamp" name="uc"/> + <qparam type="intamp" name="len_in_out"/> + </qmethod> + <qmethod name="toUnicode" access="public" return="QString" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicContentMatch" access="public" return="int" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> +</qtype> <qtype name="QHideEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QHideEvent" access="public" id="0"/> +</qtype> <qtype name="QHostAddress" access="public"> + <qctor name="QHostAddress" access="public" id="0"/> + <qctor name="QHostAddress" access="public" id="1"> + <qparam type="Q_UINT32" name="ip4Addr"/> + </qctor> + <qctor name="QHostAddress" access="public" id="2"> + <qparam type="Q_UINT8*" name="ip6Addr"/> + </qctor> + <qctor name="QHostAddress" access="public" id="3"> + <qparam type="QHostAddressamp" name="arg1"/> + </qctor> + <qdctor name="QHostAddress" access="public"/> + <qmethod name="setAddress" access="public" return="void" id="0"> + <qparam type="Q_UINT32" name="ip4Addr"/> + </qmethod> + <qmethod name="setAddress" access="public" return="void" id="1"> + <qparam type="Q_UINT8*" name="ip6Addr"/> + </qmethod> + <qmethod name="setAddress" access="public" return="bool" id="2"> + <qparam type="QStringamp" name="address"/> + </qmethod> + <qmethod name="isIp4Addr" access="public" return="bool" id="0"/> + <qmethod name="ip4Addr" access="public" return="Q_UINT32" id="0"/> + <qmethod name="toString" access="public" return="QString" id="0"/> +</qtype> <qtype name="QHttp" access="public"> + <qancestor name="QNetworkProtocol"/> + <qctor name="QHttp" access="public" id="0"/> + <qdctor name="QHttp" access="public"/> + <qmethod name="supportedOperations" access="public" return="int" id="0"/> + <qmethod name="protected_operationGet" access="protected" return="void" id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationPut" access="protected" return="void" id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> +</qtype> <qtype name="QIMEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QIMEvent" access="public" id="0"> + <qparam type="Type" name="type"/> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="cursorPosition"/> + </qctor> + <qmethod name="text" access="public" return="QStringamp" id="0"/> + <qmethod name="cursorPos" access="public" return="int" id="0"/> + <qmethod name="isAccepted" access="public" return="bool" id="0"/> + <qmethod name="accept" access="public" return="void" id="0"/> + <qmethod name="ignore" access="public" return="void" id="0"/> +</qtype> <qtype name="QIODevice" access="public"> + <qdctor name="QIODevice" access="public"/> + <qmethod name="flags" access="public" return="int" id="0"/> + <qmethod name="mode" access="public" return="int" id="0"/> + <qmethod name="state" access="public" return="int" id="0"/> + <qmethod name="isDirectAccess" access="public" return="bool" id="0"/> + <qmethod name="isSequentialAccess" access="public" return="bool" id="0"/> + <qmethod name="isCombinedAccess" access="public" return="bool" id="0"/> + <qmethod name="isBuffered" access="public" return="bool" id="0"/> + <qmethod name="isRaw" access="public" return="bool" id="0"/> + <qmethod name="isSynchronous" access="public" return="bool" id="0"/> + <qmethod name="isAsynchronous" access="public" return="bool" id="0"/> + <qmethod name="isTranslated" access="public" return="bool" id="0"/> + <qmethod name="isReadable" access="public" return="bool" id="0"/> + <qmethod name="isWritable" access="public" return="bool" id="0"/> + <qmethod name="isReadWrite" access="public" return="bool" id="0"/> + <qmethod name="isInactive" access="public" return="bool" id="0"/> + <qmethod name="isOpen" access="public" return="bool" id="0"/> + <qmethod name="status" access="public" return="int" id="0"/> + <qmethod name="resetStatus" access="public" return="void" id="0"/> + <qmethod name="open" access="public" return="bool" id="0"> + <qparam type="int" name="mode"/> + </qmethod> + <qmethod name="close" access="public" return="void" id="0"/> + <qmethod name="flush" access="public" return="void" id="0"/> + <qmethod name="size" access="public" return="Offset" id="0"/> + <qmethod name="at" access="public" return="Offset" id="0"/> + <qmethod name="at" access="public" return="bool" id="1"> + <qparam type="Offset" name="arg1"/> + </qmethod> + <qmethod name="atEnd" access="public" return="bool" id="0"/> + <qmethod name="reset" access="public" return="bool" id="0"/> + <qmethod name="readBlock" access="public" return="Q_LONG" id="0"> + <qparam type="char*" name="data"/> + <qparam type="Q_ULONG" name="maxlen"/> + </qmethod> + <qmethod name="writeBlock" access="public" return="Q_LONG" id="0"> + <qparam type="char*" name="data"/> + <qparam type="Q_ULONG" name="len"/> + </qmethod> + <qmethod name="readLine" access="public" return="Q_LONG" id="0"> + <qparam type="char*" name="data"/> + <qparam type="Q_ULONG" name="maxlen"/> + </qmethod> + <qmethod name="writeBlock" access="public" return="Q_LONG" id="1"> + <qparam type="QByteArrayamp" name="data"/> + </qmethod> + <qmethod name="readAll" access="public" return="QByteArray" id="0"/> + <qmethod name="getch" access="public" return="int" id="0"/> + <qmethod name="putch" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="ungetch" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> +</qtype> <qtype name="QIODeviceSource" access="public"> + <qancestor name="QDataSource"/> + <qctor name="QIODeviceSource" access="public" id="0"> + <qparam type="QIODevice*" name="arg1"/> + <qparam type="int" name="bufsize" default="4096"/> + </qctor> + <qdctor name="QIODeviceSource" access="public"/> + <qmethod name="readyToSend" access="public" return="int" id="0"/> + <qmethod name="sendTo" access="public" return="void" id="0"> + <qparam type="QDataSink*" name="sink"/> + <qparam type="int" name="n"/> + </qmethod> + <qmethod name="rewindable" access="public" return="bool" id="0"/> + <qmethod name="enableRewind" access="public" return="void" id="0"> + <qparam type="bool" name="on"/> + </qmethod> + <qmethod name="rewind" access="public" return="void" id="0"/> +</qtype> <qtype name="QIconDrag" access="public"> + <qancestor name="QDragObject"/> + <qctor name="QIconDrag" access="public" id="0"> + <qparam type="QWidget*" name="dragSource"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QIconDrag" access="public"/> + <qmethod name="append" access="public" return="void" id="0"> + <qparam type="QIconDragItemamp" name="item"/> + <qparam type="QRectamp" name="pr"/> + <qparam type="QRectamp" name="tr"/> + </qmethod> + <qmethod name="format" access="public" return="char*" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="encodedData" access="public" return="QByteArray" id="0"> + <qparam type="char*" name="mime"/> + </qmethod> + <qmethod name="canDecode" access="public static" return="bool" id="0"> + <qparam type="QMimeSource*" name="e"/> + </qmethod> +</qtype> <qtype name="QIconDragItem" access="public"> + <qctor name="QIconDragItem" access="public" id="0"/> + <qdctor name="QIconDragItem" access="public"/> + <qmethod name="data" access="public" return="QByteArray" id="0"/> + <qmethod name="setData" access="public" return="void" id="0"> + <qparam type="QByteArrayamp" name="d"/> + </qmethod> +</qtype> <qtype name="QIconSet" access="public"> + <qenum name="Size" access="public"> + <qitem name="Automatic" value="0"/> + <qitem name="Small" value="1"/> + <qitem name="Large" value="2"/> + </qenum> + <qenum name="Mode" access="public"> + <qitem name="Normal" value="0"/> + <qitem name="Disabled" value="1"/> + <qitem name="Active" value="2"/> + </qenum> + <qenum name="State" access="public"> + <qitem name="On" value="0"/> + <qitem name="Off" value="1"/> + </qenum> + <qctor name="QIconSet" access="public" id="0"/> + <qctor name="QIconSet" access="public" id="1"> + <qparam type="QPixmapamp" name="arg1"/> + <qparam type="Size" name="arg2" default="Automatic"/> + </qctor> + <qctor name="QIconSet" access="public" id="2"> + <qparam type="QPixmapamp" name="smallPix"/> + <qparam type="QPixmapamp" name="largePix"/> + </qctor> + <qctor name="QIconSet" access="public" id="3"> + <qparam type="QIconSetamp" name="arg1"/> + </qctor> + <qdctor name="QIconSet" access="public"/> + <qmethod name="reset" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="arg1"/> + <qparam type="Size" name="arg2"/> + </qmethod> + <qmethod name="setPixmap" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="arg1"/> + <qparam type="Size" name="arg2"/> + <qparam type="Mode" name="arg3" default="Normal"/> + <qparam type="State" name="arg4" default="Off"/> + </qmethod> + <qmethod name="setPixmap" access="public" return="void" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="Size" name="arg2"/> + <qparam type="Mode" name="arg3" default="Normal"/> + <qparam type="State" name="arg4" default="Off"/> + </qmethod> + <qmethod name="pixmap" access="public" return="QPixmap" id="0"> + <qparam type="Size" name="arg1"/> + <qparam type="Mode" name="arg2"/> + <qparam type="State" name="arg3" default="Off"/> + </qmethod> + <qmethod name="pixmap" access="public" return="QPixmap" id="1"> + <qparam type="Size" name="s"/> + <qparam type="bool" name="enabled"/> + <qparam type="State" name="arg1" default="Off"/> + </qmethod> + <qmethod name="pixmap" access="public" return="QPixmap" id="2"/> + <qmethod name="isGenerated" access="public" return="bool" id="0"> + <qparam type="Size" name="arg1"/> + <qparam type="Mode" name="arg2"/> + <qparam type="State" name="arg3" default="Off"/> + </qmethod> + <qmethod name="clearGenerated" access="public" return="void" id="0"/> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="detach" access="public" return="void" id="0"/> + <qmethod name="setIconSize" access="public static" return="void" id="0"> + <qparam type="Size" name="arg1"/> + <qparam type="QSizeamp" name="arg2"/> + </qmethod> + <qmethod name="iconSize" access="public static" return="QSizeamp" id="0"> + <qparam type="Size" name="arg1"/> + </qmethod> +</qtype> <qtype name="QIconView" access="public"> + <qancestor name="QScrollView"/> + <qenum name="SelectionMode" access="public"> + <qitem name="Single" value="0"/> + <qitem name="Multi" value="1"/> + <qitem name="Extended" value="2"/> + <qitem name="NoSelection" value="3"/> + </qenum> + <qenum name="Arrangement" access="public"> + <qitem name="LeftToRight" value="0"/> + <qitem name="TopToBottom" value="1"/> + </qenum> + <qenum name="ResizeMode" access="public"> + <qitem name="Fixed" value="0"/> + <qitem name="Adjust" value="1"/> + </qenum> + <qenum name="ItemTextPos" access="public"> + <qitem name="Bottom" value="0"/> + <qitem name="Right" value="1"/> + </qenum> + <qctor name="QIconView" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qdctor name="QIconView" access="public"/> + <qmethod name="insertItem" access="public" return="void" id="0"> + <qparam type="QIconViewItem*" name="item"/> + <qparam type="QIconViewItem*" name="after" default="0L"/> + </qmethod> + <qmethod name="takeItem" access="public" return="void" id="0"> + <qparam type="QIconViewItem*" name="item"/> + </qmethod> + <qmethod name="index" access="public" return="int" id="0"> + <qparam type="QIconViewItem*" name="item"/> + </qmethod> + <qmethod name="firstItem" access="public" return="QIconViewItem*" id="0"/> + <qmethod name="lastItem" access="public" return="QIconViewItem*" id="0"/> + <qmethod name="currentItem" access="public" return="QIconViewItem*" id="0"/> + <qmethod name="setCurrentItem" access="public" return="void" id="0"> + <qparam type="QIconViewItem*" name="item"/> + </qmethod> + <qmethod name="setSelected" access="public" return="void" id="0"> + <qparam type="QIconViewItem*" name="item"/> + <qparam type="bool" name="s"/> + <qparam type="bool" name="cb" default="FALSE"/> + </qmethod> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="setSelectionMode" access="public" return="void" id="0"> + <qparam type="SelectionMode" name="m"/> + </qmethod> + <qmethod name="selectionMode" access="public" return="SelectionMode" id="0"/> + <qmethod name="findItem" access="public" return="QIconViewItem*" id="0"> + <qparam type="QPointamp" name="pos"/> + </qmethod> + <qmethod name="findItem" access="public" return="QIconViewItem*" id="1"> + <qparam type="QStringamp" name="text"/> + <qparam type="StringComparisonMode" name="compare" default="BeginsWith"/> + </qmethod> + <qmethod name="selectAll" access="public" return="void" id="0"> + <qparam type="bool" name="select"/> + </qmethod> + <qmethod name="clearSelection" access="public" return="void" id="0"/> + <qmethod name="invertSelection" access="public" return="void" id="0"/> + <qmethod name="repaintItem" access="public" return="void" id="0"> + <qparam type="QIconViewItem*" name="item"/> + </qmethod> + <qmethod name="ensureItemVisible" access="public" return="void" id="0"> + <qparam type="QIconViewItem*" name="item"/> + </qmethod> + <qmethod name="findFirstVisibleItem" access="public" return="QIconViewItem*" +id="0"> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="findLastVisibleItem" access="public" return="QIconViewItem*" +id="0"> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="setGridX" access="public" return="void" id="0"> + <qparam type="int" name="rx"/> + </qmethod> + <qmethod name="setGridY" access="public" return="void" id="0"> + <qparam type="int" name="ry"/> + </qmethod> + <qmethod name="gridX" access="public" return="int" id="0"/> + <qmethod name="gridY" access="public" return="int" id="0"/> + <qmethod name="setSpacing" access="public" return="void" id="0"> + <qparam type="int" name="sp"/> + </qmethod> + <qmethod name="spacing" access="public" return="int" id="0"/> + <qmethod name="setItemTextPos" access="public" return="void" id="0"> + <qparam type="ItemTextPos" name="pos"/> + </qmethod> + <qmethod name="itemTextPos" access="public" return="ItemTextPos" id="0"/> + <qmethod name="setItemTextBackground" access="public" return="void" id="0"> + <qparam type="QBrushamp" name="b"/> + </qmethod> + <qmethod name="itemTextBackground" access="public" return="QBrush" id="0"/> + <qmethod name="setArrangement" access="public" return="void" id="0"> + <qparam type="Arrangement" name="am"/> + </qmethod> + <qmethod name="arrangement" access="public" return="Arrangement" id="0"/> + <qmethod name="setResizeMode" access="public" return="void" id="0"> + <qparam type="ResizeMode" name="am"/> + </qmethod> + <qmethod name="resizeMode" access="public" return="ResizeMode" id="0"/> + <qmethod name="setMaxItemWidth" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + </qmethod> + <qmethod name="maxItemWidth" access="public" return="int" id="0"/> + <qmethod name="setMaxItemTextLength" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + </qmethod> + <qmethod name="maxItemTextLength" access="public" return="int" id="0"/> + <qmethod name="setAutoArrange" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="autoArrange" access="public" return="bool" id="0"/> + <qmethod name="setShowToolTips" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="showToolTips" access="public" return="bool" id="0"/> + <qmethod name="setSorting" access="public" return="void" id="0"> + <qparam type="bool" name="sort"/> + <qparam type="bool" name="ascending" default="TRUE"/> + </qmethod> + <qmethod name="sorting" access="public" return="bool" id="0"/> + <qmethod name="sortDirection" access="public" return="bool" id="0"/> + <qmethod name="setItemsMovable" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="itemsMovable" access="public" return="bool" id="0"/> + <qmethod name="setWordWrapIconText" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="wordWrapIconText" access="public" return="bool" id="0"/> + <qmethod name="eventFilter" access="public" return="bool" id="0"> + <qparam type="QObject*" name="o"/> + <qparam type="QEvent*" name="arg1"/> + </qmethod> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="sort" access="public" return="void" id="0"> + <qparam type="bool" name="ascending" default="TRUE"/> + </qmethod> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="setPalette" access="public" return="void" id="0"> + <qparam type="QPaletteamp" name="arg1"/> + </qmethod> + <qmethod name="isRenaming" access="public" return="bool" id="0"/> + <qmethod name="arrangeItemsInGrid" access="public" return="void" id="0"> + <qparam type="QSizeamp" name="grid"/> + <qparam type="bool" name="update" default="TRUE"/> + </qmethod> + <qmethod name="arrangeItemsInGrid" access="public" return="void" id="1"> + <qparam type="bool" name="update" default="TRUE"/> + </qmethod> + <qmethod name="setContentsPos" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="updateContents" access="public" return="void" id="0"/> + <qmethod name="protected_drawContents" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="cx"/> + <qparam type="int" name="cy"/> + <qparam type="int" name="cw"/> + <qparam type="int" name="ch"/> + </qmethod> + <qmethod name="protected_drawRubber" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + </qmethod> + <qmethod name="protected_dragObject" access="protected" return="QDragObject*" +id="0"/> + <qmethod name="protected_startDrag" access="protected" return="void" id="0"/> + <qmethod name="protected_insertInGrid" access="protected" return="void" id="0"> + <qparam type="QIconViewItem*" name="item"/> + </qmethod> + <qmethod name="protected_drawBackground" access="protected" return="void" +id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="protected_emitSelectionChanged" access="protected" return="void" +id="0"> + <qparam type="QIconViewItem*" name="i" default="0"/> + </qmethod> + <qmethod name="protected_emitRenamed" access="protected" return="void" id="0"> + <qparam type="QIconViewItem*" name="item"/> + </qmethod> + <qmethod name="protected_makeRowLayout" access="protected" +return="QIconViewItem*" id="0"> + <qparam type="QIconViewItem*" name="begin"/> + <qparam type="intamp" name="y"/> + <qparam type="boolamp" name="changed"/> + </qmethod> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_windowActivationChange" access="protected" +return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_doAutoScroll" access="protected" return="void" id="0"/> + <qmethod name="protected_adjustItems" access="protected" return="void" id="0"/> + <qmethod name="protected_slotUpdate" access="protected" return="void" id="0"/> +</qtype> <qtype name="QIconViewItem" access="public"> + <qancestor name="Qt"/> + <qctor name="QIconViewItem" access="public" id="0"> + <qparam type="QIconView*" name="parent"/> + </qctor> + <qctor name="QIconViewItem" access="public" id="1"> + <qparam type="QIconView*" name="parent"/> + <qparam type="QIconViewItem*" name="after"/> + </qctor> + <qctor name="QIconViewItem" access="public" id="2"> + <qparam type="QIconView*" name="parent"/> + <qparam type="QStringamp" name="text"/> + </qctor> + <qctor name="QIconViewItem" access="public" id="3"> + <qparam type="QIconView*" name="parent"/> + <qparam type="QIconViewItem*" name="after"/> + <qparam type="QStringamp" name="text"/> + </qctor> + <qctor name="QIconViewItem" access="public" id="4"> + <qparam type="QIconView*" name="parent"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QPixmapamp" name="icon"/> + </qctor> + <qctor name="QIconViewItem" access="public" id="5"> + <qparam type="QIconView*" name="parent"/> + <qparam type="QIconViewItem*" name="after"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QPixmapamp" name="icon"/> + </qctor> + <qctor name="QIconViewItem" access="public" id="6"> + <qparam type="QIconView*" name="parent"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QPictureamp" name="picture"/> + </qctor> + <qctor name="QIconViewItem" access="public" id="7"> + <qparam type="QIconView*" name="parent"/> + <qparam type="QIconViewItem*" name="after"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QPictureamp" name="picture"/> + </qctor> + <qdctor name="QIconViewItem" access="public"/> + <qmethod name="setRenameEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="allow"/> + </qmethod> + <qmethod name="setDragEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="allow"/> + </qmethod> + <qmethod name="setDropEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="allow"/> + </qmethod> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="pixmap" access="public" return="QPixmap*" id="0"/> + <qmethod name="picture" access="public" return="QPicture*" id="0"/> + <qmethod name="key" access="public" return="QString" id="0"/> + <qmethod name="renameEnabled" access="public" return="bool" id="0"/> + <qmethod name="dragEnabled" access="public" return="bool" id="0"/> + <qmethod name="dropEnabled" access="public" return="bool" id="0"/> + <qmethod name="iconView" access="public" return="QIconView*" id="0"/> + <qmethod name="prevItem" access="public" return="QIconViewItem*" id="0"/> + <qmethod name="nextItem" access="public" return="QIconViewItem*" id="0"/> + <qmethod name="index" access="public" return="int" id="0"/> + <qmethod name="setSelected" access="public" return="void" id="0"> + <qparam type="bool" name="s"/> + <qparam type="bool" name="cb"/> + </qmethod> + <qmethod name="setSelected" access="public" return="void" id="1"> + <qparam type="bool" name="s"/> + </qmethod> + <qmethod name="setSelectable" access="public" return="void" id="0"> + <qparam type="bool" name="s"/> + </qmethod> + <qmethod name="isSelected" access="public" return="bool" id="0"/> + <qmethod name="isSelectable" access="public" return="bool" id="0"/> + <qmethod name="repaint" access="public" return="void" id="0"/> + <qmethod name="move" access="public" return="bool" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="moveBy" access="public" return="void" id="0"> + <qparam type="int" name="dx"/> + <qparam type="int" name="dy"/> + </qmethod> + <qmethod name="move" access="public" return="bool" id="1"> + <qparam type="QPointamp" name="pnt"/> + </qmethod> + <qmethod name="moveBy" access="public" return="void" id="1"> + <qparam type="QPointamp" name="pnt"/> + </qmethod> + <qmethod name="rect" access="public" return="QRect" id="0"/> + <qmethod name="x" access="public" return="int" id="0"/> + <qmethod name="y" access="public" return="int" id="0"/> + <qmethod name="width" access="public" return="int" id="0"/> + <qmethod name="height" access="public" return="int" id="0"/> + <qmethod name="size" access="public" return="QSize" id="0"/> + <qmethod name="pos" access="public" return="QPoint" id="0"/> + <qmethod name="textRect" access="public" return="QRect" id="0"> + <qparam type="bool" name="relative" default="TRUE"/> + </qmethod> + <qmethod name="pixmapRect" access="public" return="QRect" id="0"> + <qparam type="bool" name="relative" default="TRUE"/> + </qmethod> + <qmethod name="contains" access="public" return="bool" id="0"> + <qparam type="QPointamp" name="pnt"/> + </qmethod> + <qmethod name="intersects" access="public" return="bool" id="0"> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="acceptDrop" access="public" return="bool" id="0"> + <qparam type="QMimeSource*" name="mime"/> + </qmethod> + <qmethod name="rename" access="public" return="void" id="0"/> + <qmethod name="compare" access="public" return="int" id="0"> + <qparam type="QIconViewItem*" name="i"/> + </qmethod> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="setPixmap" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="icon"/> + </qmethod> + <qmethod name="setPicture" access="public" return="void" id="0"> + <qparam type="QPictureamp" name="icon"/> + </qmethod> + <qmethod name="setText" access="public" return="void" id="1"> + <qparam type="QStringamp" name="text"/> + <qparam type="bool" name="recalc"/> + <qparam type="bool" name="redraw" default="TRUE"/> + </qmethod> + <qmethod name="setPixmap" access="public" return="void" id="1"> + <qparam type="QPixmapamp" name="icon"/> + <qparam type="bool" name="recalc"/> + <qparam type="bool" name="redraw" default="TRUE"/> + </qmethod> + <qmethod name="setKey" access="public" return="void" id="0"> + <qparam type="QStringamp" name="k"/> + </qmethod> + <qmethod name="rtti" access="public" return="int" id="0"/> + <qmethod name="protected_removeRenameBox" access="protected" return="void" +id="0"/> + <qmethod name="protected_calcRect" access="protected" return="void" id="0"> + <qparam type="QStringamp" name="text_" default="QString::null"/> + </qmethod> + <qmethod name="protected_paintItem" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="QColorGroupamp" name="cg"/> + </qmethod> + <qmethod name="protected_paintFocus" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="QColorGroupamp" name="cg"/> + </qmethod> + <qmethod name="protected_dragEntered" access="protected" return="void" id="0"/> + <qmethod name="protected_dragLeft" access="protected" return="void" id="0"/> + <qmethod name="protected_setItemRect" access="protected" return="void" id="0"> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="protected_setTextRect" access="protected" return="void" id="0"> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="protected_setPixmapRect" access="protected" return="void" id="0"> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="protected_calcTmpText" access="protected" return="void" id="0"/> +</qtype> <qtype name="QImage" access="public"> + <qenum name="Endian" access="public"> + <qitem name="IgnoreEndian" value="0"/> + <qitem name="BigEndian" value="1"/> + <qitem name="LittleEndian" value="2"/> + </qenum> + <qenum name="ScaleMode" access="public"> + <qitem name="ScaleFree" value="0"/> + <qitem name="ScaleMin" value="1"/> + <qitem name="ScaleMax" value="2"/> + </qenum> + <qctor name="QImage" access="public" id="0"/> + <qctor name="QImage" access="public" id="1"> + <qparam type="int" name="width"/> + <qparam type="int" name="height"/> + <qparam type="int" name="depth"/> + <qparam type="int" name="numColors" default="0"/> + <qparam type="Endian" name="bitOrder" default="IgnoreEndian"/> + </qctor> + <qctor name="QImage" access="public" id="2"> + <qparam type="QSizeamp" name="arg1"/> + <qparam type="int" name="depth"/> + <qparam type="int" name="numColors" default="0"/> + <qparam type="Endian" name="bitOrder" default="IgnoreEndian"/> + </qctor> + <qctor name="QImage" access="public" id="3"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="char*" name="format" default="0"/> + </qctor> + <qctor name="QImage" access="public" id="4"> + <qparam type="char**" name="xpm"/> + </qctor> + <qctor name="QImage" access="public" id="5"> + <qparam type="QByteArrayamp" name="data"/> + </qctor> + <qctor name="QImage" access="public" id="6"> + <qparam type="uchar*" name="data"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="int" name="depth"/> + <qparam type="QRgb*" name="colortable"/> + <qparam type="int" name="numColors"/> + <qparam type="Endian" name="bitOrder"/> + </qctor> + <qctor name="QImage" access="public" id="7"> + <qparam type="uchar*" name="data"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="int" name="depth"/> + <qparam type="int" name="pbl"/> + <qparam type="QRgb*" name="colortable"/> + <qparam type="int" name="numColors"/> + <qparam type="Endian" name="bitOrder"/> + </qctor> + <qctor name="QImage" access="public" id="8"> + <qparam type="QImageamp" name="arg1"/> + </qctor> + <qdctor name="QImage" access="public"/> + <qmethod name="detach" access="public" return="void" id="0"/> + <qmethod name="copy" access="public" return="QImage" id="0"/> + <qmethod name="copy" access="public" return="QImage" id="1"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="int" name="conversion_flags" default="0"/> + </qmethod> + <qmethod name="copy" access="public" return="QImage" id="2"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="width" access="public" return="int" id="0"/> + <qmethod name="height" access="public" return="int" id="0"/> + <qmethod name="size" access="public" return="QSize" id="0"/> + <qmethod name="rect" access="public" return="QRect" id="0"/> + <qmethod name="depth" access="public" return="int" id="0"/> + <qmethod name="numColors" access="public" return="int" id="0"/> + <qmethod name="bitOrder" access="public" return="Endian" id="0"/> + <qmethod name="color" access="public" return="QRgb" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="setColor" access="public" return="void" id="0"> + <qparam type="int" name="i"/> + <qparam type="QRgb" name="c"/> + </qmethod> + <qmethod name="setNumColors" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="hasAlphaBuffer" access="public" return="bool" id="0"/> + <qmethod name="setAlphaBuffer" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="allGray" access="public" return="bool" id="0"/> + <qmethod name="isGrayscale" access="public" return="bool" id="0"/> + <qmethod name="bits" access="public" return="uchar*" id="0"/> + <qmethod name="scanLine" access="public" return="uchar*" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="jumpTable" access="public" return="uchar**" id="0"/> + <qmethod name="colorTable" access="public" return="QRgb*" id="0"/> + <qmethod name="numBytes" access="public" return="int" id="0"/> + <qmethod name="bytesPerLine" access="public" return="int" id="0"/> + <qmethod name="graphicsContext" access="public" return="QGfx*" id="0"/> + <qmethod name="create" access="public" return="bool" id="0"> + <qparam type="int" name="width"/> + <qparam type="int" name="height"/> + <qparam type="int" name="depth"/> + <qparam type="int" name="numColors" default="0"/> + <qparam type="Endian" name="bitOrder" default="IgnoreEndian"/> + </qmethod> + <qmethod name="create" access="public" return="bool" id="1"> + <qparam type="QSizeamp" name="arg1"/> + <qparam type="int" name="depth"/> + <qparam type="int" name="numColors" default="0"/> + <qparam type="Endian" name="bitOrder" default="IgnoreEndian"/> + </qmethod> + <qmethod name="reset" access="public" return="void" id="0"/> + <qmethod name="fill" access="public" return="void" id="0"> + <qparam type="uint" name="pixel"/> + </qmethod> + <qmethod name="invertPixels" access="public" return="void" id="0"> + <qparam type="bool" name="invertAlpha" default="TRUE"/> + </qmethod> + <qmethod name="convertDepth" access="public" return="QImage" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="convertDepthWithPalette" access="public" return="QImage" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="QRgb*" name="p"/> + <qparam type="int" name="pc"/> + <qparam type="int" name="cf" default="0"/> + </qmethod> + <qmethod name="convertDepth" access="public" return="QImage" id="1"> + <qparam type="int" name="arg1"/> + <qparam type="int" name="conversion_flags"/> + </qmethod> + <qmethod name="convertBitOrder" access="public" return="QImage" id="0"> + <qparam type="Endian" name="arg1"/> + </qmethod> + <qmethod name="smoothScale" access="public" return="QImage" id="0"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="ScaleMode" name="mode" default="ScaleFree"/> + </qmethod> + <qmethod name="smoothScale" access="public" return="QImage" id="1"> + <qparam type="QSizeamp" name="s"/> + <qparam type="ScaleMode" name="mode" default="ScaleFree"/> + </qmethod> + <qmethod name="scale" access="public" return="QImage" id="0"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="ScaleMode" name="mode" default="ScaleFree"/> + </qmethod> + <qmethod name="scale" access="public" return="QImage" id="1"> + <qparam type="QSizeamp" name="s"/> + <qparam type="ScaleMode" name="mode" default="ScaleFree"/> + </qmethod> + <qmethod name="scaleWidth" access="public" return="QImage" id="0"> + <qparam type="int" name="w"/> + </qmethod> + <qmethod name="scaleHeight" access="public" return="QImage" id="0"> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="xForm" access="public" return="QImage" id="0"> + <qparam type="QWMatrixamp" name="matrix"/> + </qmethod> + <qmethod name="createAlphaMask" access="public" return="QImage" id="0"> + <qparam type="int" name="conversion_flags" default="0"/> + </qmethod> + <qmethod name="createHeuristicMask" access="public" return="QImage" id="0"> + <qparam type="bool" name="clipTight" default="TRUE"/> + </qmethod> + <qmethod name="mirror" access="public" return="QImage" id="0"/> + <qmethod name="mirror" access="public" return="QImage" id="1"> + <qparam type="bool" name="horizontally"/> + <qparam type="bool" name="vertically"/> + </qmethod> + <qmethod name="swapRGB" access="public" return="QImage" id="0"/> + <qmethod name="load" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="char*" name="format" default="0"/> + </qmethod> + <qmethod name="loadFromData" access="public" return="bool" id="0"> + <qparam type="uchar*" name="buf"/> + <qparam type="uint" name="len"/> + <qparam type="char*" name="format" default="0"/> + </qmethod> + <qmethod name="loadFromData" access="public" return="bool" id="1"> + <qparam type="QByteArray" name="data"/> + <qparam type="char*" name="format" default="0"/> + </qmethod> + <qmethod name="save" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="char*" name="format"/> + <qparam type="int" name="quality" default="-1"/> + </qmethod> + <qmethod name="valid" access="public" return="bool" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="pixelIndex" access="public" return="int" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="pixel" access="public" return="QRgb" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="setPixel" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="uint" name="index_or_rgb"/> + </qmethod> + <qmethod name="dotsPerMeterX" access="public" return="int" id="0"/> + <qmethod name="dotsPerMeterY" access="public" return="int" id="0"/> + <qmethod name="setDotsPerMeterX" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setDotsPerMeterY" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="offset" access="public" return="QPoint" id="0"/> + <qmethod name="setOffset" access="public" return="void" id="0"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="textLanguages" access="public" return="QStringList" id="0"/> + <qmethod name="textKeys" access="public" return="QStringList" id="0"/> + <qmethod name="text" access="public" return="QString" id="0"> + <qparam type="char*" name="key"/> + <qparam type="char*" name="lang" default="0"/> + </qmethod> + <qmethod name="text" access="public" return="QString" id="1"> + <qparam type="QImageTextKeyLangamp" name="arg1"/> + </qmethod> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="char*" name="key"/> + <qparam type="char*" name="lang"/> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="systemBitOrder" access="public static" return="Endian" id="0"/> + <qmethod name="systemByteOrder" access="public static" return="Endian" id="0"/> + <qmethod name="imageFormat" access="public static" return="char*" id="0"> + <qparam type="QStringamp" name="fileName"/> + </qmethod> + <qmethod name="inputFormats" access="public static" return="QStrList" id="0"/> + <qmethod name="outputFormats" access="public static" return="QStrList" id="0"/> + <qmethod name="inputFormatList" access="public static" return="QStringList" +id="0"/> + <qmethod name="outputFormatList" access="public static" return="QStringList" +id="0"/> +</qtype> <qtype name="QImageConsumer" access="public"> + <qmethod name="end" access="public" return="void" id="0"/> + <qmethod name="changed" access="public" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="frameDone" access="public" return="void" id="0"/> + <qmethod name="frameDone" access="public" return="void" id="1"> + <qparam type="QPointamp" name="arg1"/> + <qparam type="QRectamp" name="arg2"/> + </qmethod> + <qmethod name="setLooping" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setFramePeriod" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setSize" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> +</qtype> <qtype name="QImageDecoder" access="public"> + <qctor name="QImageDecoder" access="public" id="0"> + <qparam type="QImageConsumer*" name="c"/> + </qctor> + <qdctor name="QImageDecoder" access="public"/> + <qmethod name="image" access="public" return="QImageamp" id="0"/> + <qmethod name="decode" access="public" return="int" id="0"> + <qparam type="uchar*" name="buffer"/> + <qparam type="int" name="length"/> + </qmethod> + <qmethod name="formatName" access="public static" return="char*" id="0"> + <qparam type="uchar*" name="buffer"/> + <qparam type="int" name="length"/> + </qmethod> + <qmethod name="format" access="public static" return="QImageFormatType*" id="0"> + <qparam type="char*" name="name"/> + </qmethod> + <qmethod name="inputFormats" access="public static" return="QStrList" id="0"/> + <qmethod name="registerDecoderFactory" access="public static" return="void" +id="0"> + <qparam type="QImageFormatType*" name="arg1"/> + </qmethod> + <qmethod name="unregisterDecoderFactory" access="public static" return="void" +id="0"> + <qparam type="QImageFormatType*" name="arg1"/> + </qmethod> +</qtype> <qtype name="QImageDrag" access="public"> + <qancestor name="QDragObject"/> + <qctor name="QImageDrag" access="public" id="0"> + <qparam type="QImage" name="image"/> + <qparam type="QWidget*" name="dragSource" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QImageDrag" access="public" id="1"> + <qparam type="QWidget*" name="dragSource" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QImageDrag" access="public"/> + <qmethod name="setImage" access="public" return="void" id="0"> + <qparam type="QImage" name="image"/> + </qmethod> + <qmethod name="format" access="public" return="char*" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="encodedData" access="public" return="QByteArray" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="canDecode" access="public static" return="bool" id="0"> + <qparam type="QMimeSource*" name="e"/> + </qmethod> + <qmethod name="decode" access="public static" return="bool" id="0"> + <qparam type="QMimeSource*" name="e"/> + <qparam type="QImageamp" name="i"/> + </qmethod> + <qmethod name="decode" access="public static" return="bool" id="1"> + <qparam type="QMimeSource*" name="e"/> + <qparam type="QPixmapamp" name="i"/> + </qmethod> +</qtype> <qtype name="QImageFormat" access="public"> + <qdctor name="QImageFormat" access="public"/> + <qmethod name="decode" access="public" return="int" id="0"> + <qparam type="QImageamp" name="img"/> + <qparam type="QImageConsumer*" name="consumer"/> + <qparam type="uchar*" name="buffer"/> + <qparam type="int" name="length"/> + </qmethod> +</qtype> <qtype name="QImageFormatPlugin" access="public"> + <qancestor name="QGPlugin"/> + <qdctor name="QImageFormatPlugin" access="public"/> + <qmethod name="keys" access="public" return="QStringList" id="0"/> + <qmethod name="loadImage" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="format"/> + <qparam type="QStringamp" name="filename"/> + <qparam type="QImage*" name="image"/> + </qmethod> + <qmethod name="saveImage" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="format"/> + <qparam type="QStringamp" name="filename"/> + <qparam type="QImageamp" name="image"/> + </qmethod> + <qmethod name="installIOHandler" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="format"/> + </qmethod> +</qtype> <qtype name="QImageFormatType" access="public"> + <qdctor name="QImageFormatType" access="public"/> + <qmethod name="decoderFor" access="public" return="QImageFormat*" id="0"> + <qparam type="uchar*" name="buffer"/> + <qparam type="int" name="length"/> + </qmethod> + <qmethod name="formatName" access="public" return="char*" id="0"/> +</qtype> <qtype name="QImageIO" access="public"> + <qctor name="QImageIO" access="public" id="0"/> + <qctor name="QImageIO" access="public" id="1"> + <qparam type="QIODevice*" name="ioDevice"/> + <qparam type="char*" name="format"/> + </qctor> + <qctor name="QImageIO" access="public" id="2"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="char*" name="format"/> + </qctor> + <qdctor name="QImageIO" access="public"/> + <qmethod name="image" access="public" return="QImageamp" id="0"/> + <qmethod name="status" access="public" return="int" id="0"/> + <qmethod name="format" access="public" return="char*" id="0"/> + <qmethod name="ioDevice" access="public" return="QIODevice*" id="0"/> + <qmethod name="fileName" access="public" return="QString" id="0"/> + <qmethod name="quality" access="public" return="int" id="0"/> + <qmethod name="description" access="public" return="QString" id="0"/> + <qmethod name="parameters" access="public" return="char*" id="0"/> + <qmethod name="gamma" access="public" return="float" id="0"/> + <qmethod name="setImage" access="public" return="void" id="0"> + <qparam type="QImageamp" name="arg1"/> + </qmethod> + <qmethod name="setStatus" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setFormat" access="public" return="void" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="setIODevice" access="public" return="void" id="0"> + <qparam type="QIODevice*" name="arg1"/> + </qmethod> + <qmethod name="setFileName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setQuality" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setDescription" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setParameters" access="public" return="void" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="setGamma" access="public" return="void" id="0"> + <qparam type="float" name="arg1"/> + </qmethod> + <qmethod name="read" access="public" return="bool" id="0"/> + <qmethod name="write" access="public" return="bool" id="0"/> + <qmethod name="imageFormat" access="public static" return="char*" id="0"> + <qparam type="QStringamp" name="fileName"/> + </qmethod> + <qmethod name="imageFormat" access="public static" return="char*" id="1"> + <qparam type="QIODevice*" name="arg1"/> + </qmethod> + <qmethod name="inputFormats" access="public static" return="QStrList" id="0"/> + <qmethod name="outputFormats" access="public static" return="QStrList" id="0"/> + <qmethod name="defineIOHandler" access="public static" return="void" id="0"> + <qparam type="char*" name="format"/> + <qparam type="char*" name="header"/> + <qparam type="char*" name="flags"/> + <qparam type="image_io_handler" name="read_image"/> + <qparam type="image_io_handler" name="write_image"/> + </qmethod> +</qtype> <qtype name="QImageTextKeyLang" access="public"> + <qctor name="QImageTextKeyLang" access="public" id="0"> + <qparam type="char*" name="k"/> + <qparam type="char*" name="l"/> + </qctor> + <qctor name="QImageTextKeyLang" access="public" id="1"/> +</qtype> <qtype name="QInputDialog" access="public"> + <qancestor name="QDialog"/> + <qmethod name="getText" access="public static" return="QString" id="0"> + <qparam type="QStringamp" name="caption"/> + <qparam type="QStringamp" name="label"/> + <qparam type="QLineEdit::EchoMode" name="echo" default="QLineEdit::Normal"/> + <qparam type="QStringamp" name="text" default="QString::null"/> + <qparam type="bool*" name="ok" default="0"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qmethod> + <qmethod name="getInteger" access="public static" return="int" id="0"> + <qparam type="QStringamp" name="caption"/> + <qparam type="QStringamp" name="label"/> + <qparam type="int" name="num" default="0"/> + <qparam type="int" name="from" default="-2147483647"/> + <qparam type="int" name="to" default="2147483647"/> + <qparam type="int" name="step" default="1"/> + <qparam type="bool*" name="ok" default="0"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qmethod> + <qmethod name="getDouble" access="public static" return="double" id="0"> + <qparam type="QStringamp" name="caption"/> + <qparam type="QStringamp" name="label"/> + <qparam type="double" name="num" default="0"/> + <qparam type="double" name="from" default="-2147483647"/> + <qparam type="double" name="to" default="2147483647"/> + <qparam type="int" name="decimals" default="1"/> + <qparam type="bool*" name="ok" default="0"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qmethod> + <qmethod name="getItem" access="public static" return="QString" id="0"> + <qparam type="QStringamp" name="caption"/> + <qparam type="QStringamp" name="label"/> + <qparam type="QStringListamp" name="list"/> + <qparam type="int" name="current" default="0"/> + <qparam type="bool" name="editable" default="TRUE"/> + <qparam type="bool*" name="ok" default="0"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qmethod> +</qtype> <qtype name="QIntBucket" access="public"> + <qancestor name="QBaseBucket"/> + <qctor name="QIntBucket" access="public" id="0"> + <qparam type="long" name="k"/> + <qparam type="QPtrCollection::Item" name="d"/> + <qparam type="QBaseBucket*" name="n"/> + </qctor> + <qmethod name="getKey" access="public" return="long" id="0"/> +</qtype> <qtype name="QIntCache" access="public"> + <qancestor name="QGCache"/> + <qctor name="QIntCache" access="public" id="1"> + <qparam type="int" name="maxCost" default="100"/> + <qparam type="int" name="size" default="17"/> + </qctor> + <qdctor name="QIntCache" access="public"/> + <qmethod name="maxCost" access="public" return="int" id="0"/> + <qmethod name="totalCost" access="public" return="int" id="0"/> + <qmethod name="setMaxCost" access="public" return="void" id="0"> + <qparam type="int" name="m"/> + </qmethod> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="size" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="insert" access="public" return="bool" id="0"> + <qparam type="long" name="k"/> + <qparam type="type*" name="d"/> + <qparam type="int" name="c" default="1"/> + <qparam type="int" name="p" default="0"/> + </qmethod> + <qmethod name="remove" access="public" return="bool" id="0"> + <qparam type="long" name="k"/> + </qmethod> + <qmethod name="take" access="public" return="type*" id="0"> + <qparam type="long" name="k"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="find" access="public" return="type*" id="0"> + <qparam type="long" name="k"/> + <qparam type="bool" name="ref" default="TRUE"/> + </qmethod> + <qmethod name="statistics" access="public" return="void" id="0"/> +</qtype> <qtype name="QIntCacheIterator" access="public"> + <qancestor name="QGCacheIterator"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="atFirst" access="public" return="bool" id="0"/> + <qmethod name="atLast" access="public" return="bool" id="0"/> + <qmethod name="toFirst" access="public" return="type*" id="0"/> + <qmethod name="toLast" access="public" return="type*" id="0"/> + <qmethod name="current" access="public" return="type*" id="0"/> + <qmethod name="currentKey" access="public" return="long" id="0"/> +</qtype> <qtype name="QIntDict" access="public"> + <qancestor name="QPtrCollection"/> + <qctor name="QIntDict" access="public" id="0"> + <qparam type="int" name="size" default="17"/> + </qctor> + <qdctor name="QIntDict" access="public"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="size" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="long" name="k"/> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="replace" access="public" return="void" id="0"> + <qparam type="long" name="k"/> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="remove" access="public" return="bool" id="0"> + <qparam type="long" name="k"/> + </qmethod> + <qmethod name="take" access="public" return="type*" id="0"> + <qparam type="long" name="k"/> + </qmethod> + <qmethod name="find" access="public" return="type*" id="0"> + <qparam type="long" name="k"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="resize" access="public" return="void" id="0"> + <qparam type="uint" name="n"/> + </qmethod> + <qmethod name="statistics" access="public" return="void" id="0"/> + <qmethod name="protected_read" access="protected" return="QDataStreamamp" +id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Itemamp" name="arg2"/> + </qmethod> + <qmethod name="protected_write" access="protected" return="QDataStreamamp" +id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Item" name="arg2"/> + </qmethod> +</qtype> <qtype name="QIntDictIterator" access="public"> + <qancestor name="QGDictIterator"/> + <qdctor name="QIntDictIterator" access="public"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="toFirst" access="public" return="type*" id="0"/> + <qmethod name="current" access="public" return="type*" id="0"/> + <qmethod name="currentKey" access="public" return="long" id="0"/> +</qtype> <qtype name="QIntValidator" access="public"> + <qancestor name="QValidator"/> + <qctor name="QIntValidator" access="public" id="0"> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QIntValidator" access="public" id="1"> + <qparam type="int" name="bottom"/> + <qparam type="int" name="top"/> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QIntValidator" access="public"/> + <qmethod name="validate" access="public" return="QValidator::State" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="intamp" name="arg2"/> + </qmethod> + <qmethod name="setBottom" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setTop" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setRange" access="public" return="void" id="0"> + <qparam type="int" name="bottom"/> + <qparam type="int" name="top"/> + </qmethod> + <qmethod name="bottom" access="public" return="int" id="0"/> + <qmethod name="top" access="public" return="int" id="0"/> +</qtype> <qtype name="QInterlaceStyle" access="public"> + <qancestor name="QMotifStyle"/> + <qctor name="QInterlaceStyle" access="public" id="0"/> + <qmethod name="polish" access="public" return="void" id="0"> + <qparam type="QApplication*" name="arg1"/> + </qmethod> + <qmethod name="unPolish" access="public" return="void" id="0"> + <qparam type="QApplication*" name="arg1"/> + </qmethod> + <qmethod name="polish" access="public" return="void" id="1"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="unPolish" access="public" return="void" id="1"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="defaultFrameWidth" access="public" return="int" id="0"/> + <qmethod name="pushButtonContentsRect" access="public" return="QRect" id="0"> + <qparam type="QPushButton*" name="btn"/> + </qmethod> + <qmethod name="drawFocusRect" access="public" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="QRectamp" name="arg2"/> + <qparam type="QColorGroupamp" name="arg3"/> + <qparam type="QColor*" name="bg" default="0"/> + <qparam type="bool" name="arg4" default="FALSE"/> + </qmethod> + <qmethod name="drawButton" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QColorGroupamp" name="g"/> + <qparam type="bool" name="sunken" default="FALSE"/> + <qparam type="QBrush*" name="fill" default="0"/> + </qmethod> + <qmethod name="drawButtonMask" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="drawBevelButton" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QColorGroupamp" name="g"/> + <qparam type="bool" name="sunken" default="FALSE"/> + <qparam type="QBrush*" name="fill" default="0"/> + </qmethod> + <qmethod name="drawPushButton" access="public" return="void" id="0"> + <qparam type="QPushButton*" name="btn"/> + <qparam type="QPainter*" name="p"/> + </qmethod> + <qmethod name="indicatorSize" access="public" return="QSize" id="0"/> + <qmethod name="drawIndicator" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QColorGroupamp" name="g"/> + <qparam type="int" name="state"/> + <qparam type="bool" name="down" default="FALSE"/> + <qparam type="bool" name="enabled" default="TRUE"/> + </qmethod> + <qmethod name="drawIndicatorMask" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="exclusiveIndicatorSize" access="public" return="QSize" id="0"/> + <qmethod name="drawExclusiveIndicator" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QColorGroupamp" name="g"/> + <qparam type="bool" name="on"/> + <qparam type="bool" name="down" default="FALSE"/> + <qparam type="bool" name="enabled" default="TRUE"/> + </qmethod> + <qmethod name="drawExclusiveIndicatorMask" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="comboButtonRect" access="public" return="QRect" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="drawComboButton" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QColorGroupamp" name="g"/> + <qparam type="bool" name="sunken"/> + <qparam type="bool" name="editable"/> + <qparam type="bool" name="enabled"/> + <qparam type="QBrush*" name="fb"/> + </qmethod> + <qmethod name="drawPushButtonLabel" access="public" return="void" id="0"> + <qparam type="QPushButton*" name="btn"/> + <qparam type="QPainter*" name="p"/> + </qmethod> + <qmethod name="drawPanel" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QColorGroupamp" name="arg1"/> + <qparam type="bool" name="sunken"/> + <qparam type="int" name="lineWidth"/> + <qparam type="QBrush*" name="fill"/> + </qmethod> + <qmethod name="scrollBarMetrics" access="public" return="void" id="0"> + <qparam type="QScrollBar*" name="sb"/> + <qparam type="intamp" name="sliderMin"/> + <qparam type="intamp" name="sliderMax"/> + <qparam type="intamp" name="sliderLength"/> + <qparam type="intamp" name="buttonDim"/> + </qmethod> + <qmethod name="drawScrollBarControls" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="QScrollBar*" name="sb"/> + <qparam type="int" name="sliderStart"/> + <qparam type="uint" name="controls"/> + <qparam type="uint" name="activeControl"/> + </qmethod> + <qmethod name="drawSlider" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QColorGroupamp" name="g"/> + <qparam type="Orientation" name="arg1"/> + <qparam type="bool" name="tickAbove"/> + <qparam type="bool" name="tickBelow"/> + </qmethod> + <qmethod name="drawSliderGroove" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QColorGroupamp" name="g"/> + <qparam type="QCOORD" name="c"/> + <qparam type="Orientation" name="arg1"/> + </qmethod> + <qmethod name="splitterWidth" access="public" return="int" id="0"/> + <qmethod name="drawSplitter" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QColorGroupamp" name="g"/> + <qparam type="Orientation" name="orient"/> + </qmethod> + <qmethod name="buttonDefaultIndicatorWidth" access="public" return="int" +id="0"/> + <qmethod name="setSliderThickness" access="public" return="int" id="0"/> + <qmethod name="scrollBarExtent" access="public" return="QSize" id="0"/> +</qtype> <qtype name="QInternal" access="public"> + <qenum name="PaintDeviceFlags" access="public"> + <qitem name="UndefinedDevice" value="0"/> + <qitem name="Widget" value="1"/> + <qitem name="Pixmap" value="2"/> + <qitem name="Printer" value="3"/> + <qitem name="Picture" value="4"/> + <qitem name="System" value="5"/> + <qitem name="DeviceTypeMask" value="15"/> + <qitem name="ExternalDevice" value="16"/> + <qitem name="CompatibilityMode" value="32"/> + </qenum> +</qtype> <qtype name="QJisCodec" access="public"> + <qancestor name="QTextCodec"/> + <qmethod name="mibEnum" access="public" return="int" id="0"/> + <qmethod name="name" access="public" return="char*" id="0"/> + <qmethod name="mimeName" access="public" return="char*" id="0"/> + <qmethod name="makeDecoder" access="public" return="QTextDecoder*" id="0"/> + <qmethod name="fromUnicode" access="public" return="QCString" id="0"> + <qparam type="QStringamp" name="uc"/> + <qparam type="intamp" name="len_in_out"/> + </qmethod> + <qmethod name="toUnicode" access="public" return="QString" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicContentMatch" access="public" return="int" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicNameMatch" access="public" return="int" id="0"> + <qparam type="char*" name="hint"/> + </qmethod> + <qctor name="QJisCodec" access="public" id="0"/> + <qdctor name="QJisCodec" access="public"/> +</qtype> <qtype name="QJpUnicodeConv" access="public"> + <qenum name="Rules" access="public"> + <qitem name="Default" value="0"/> + <qitem name="Unicode" value="1"/> + <qitem name="Unicode_JISX0201" value="1"/> + <qitem name="Unicode_ASCII" value="2"/> + <qitem name="JISX0221_JISX0201" value="3"/> + <qitem name="JISX0221_ASCII" value="4"/> + <qitem name="Sun_JDK117" value="5"/> + <qitem name="Microsoft_CP932" value="6"/> + <qitem name="NEC_VDC" value="256"/> + <qitem name="UDC" value="512"/> + <qitem name="IBM_VDC" value="1024"/> + </qenum> + <qmethod name="asciiToUnicode" access="public" return="uint" id="0"> + <qparam type="uint" name="h"/> + <qparam type="uint" name="l"/> + </qmethod> + <qmethod name="jisx0201ToUnicode" access="public" return="uint" id="0"> + <qparam type="uint" name="h"/> + <qparam type="uint" name="l"/> + </qmethod> + <qmethod name="jisx0201LatinToUnicode" access="public" return="uint" id="0"> + <qparam type="uint" name="h"/> + <qparam type="uint" name="l"/> + </qmethod> + <qmethod name="jisx0201KanaToUnicode" access="public" return="uint" id="0"> + <qparam type="uint" name="h"/> + <qparam type="uint" name="l"/> + </qmethod> + <qmethod name="jisx0208ToUnicode" access="public" return="uint" id="0"> + <qparam type="uint" name="h"/> + <qparam type="uint" name="l"/> + </qmethod> + <qmethod name="jisx0212ToUnicode" access="public" return="uint" id="0"> + <qparam type="uint" name="h"/> + <qparam type="uint" name="l"/> + </qmethod> + <qmethod name="asciiToUnicode" access="public" return="uint" id="1"> + <qparam type="uint" name="ascii"/> + </qmethod> + <qmethod name="jisx0201ToUnicode" access="public" return="uint" id="1"> + <qparam type="uint" name="jis"/> + </qmethod> + <qmethod name="jisx0201LatinToUnicode" access="public" return="uint" id="1"> + <qparam type="uint" name="jis"/> + </qmethod> + <qmethod name="jisx0201KanaToUnicode" access="public" return="uint" id="1"> + <qparam type="uint" name="jis"/> + </qmethod> + <qmethod name="jisx0208ToUnicode" access="public" return="uint" id="1"> + <qparam type="uint" name="jis"/> + </qmethod> + <qmethod name="jisx0212ToUnicode" access="public" return="uint" id="1"> + <qparam type="uint" name="jis"/> + </qmethod> + <qmethod name="unicodeToAscii" access="public" return="uint" id="0"> + <qparam type="uint" name="h"/> + <qparam type="uint" name="l"/> + </qmethod> + <qmethod name="unicodeToJisx0201" access="public" return="uint" id="0"> + <qparam type="uint" name="h"/> + <qparam type="uint" name="l"/> + </qmethod> + <qmethod name="unicodeToJisx0201Latin" access="public" return="uint" id="0"> + <qparam type="uint" name="h"/> + <qparam type="uint" name="l"/> + </qmethod> + <qmethod name="unicodeToJisx0201Kana" access="public" return="uint" id="0"> + <qparam type="uint" name="h"/> + <qparam type="uint" name="l"/> + </qmethod> + <qmethod name="unicodeToJisx0208" access="public" return="uint" id="0"> + <qparam type="uint" name="h"/> + <qparam type="uint" name="l"/> + </qmethod> + <qmethod name="unicodeToJisx0212" access="public" return="uint" id="0"> + <qparam type="uint" name="h"/> + <qparam type="uint" name="l"/> + </qmethod> + <qmethod name="unicodeToAscii" access="public" return="uint" id="1"> + <qparam type="uint" name="unicode"/> + </qmethod> + <qmethod name="unicodeToJisx0201" access="public" return="uint" id="1"> + <qparam type="uint" name="unicode"/> + </qmethod> + <qmethod name="unicodeToJisx0201Latin" access="public" return="uint" id="1"> + <qparam type="uint" name="unicode"/> + </qmethod> + <qmethod name="unicodeToJisx0201Kana" access="public" return="uint" id="1"> + <qparam type="uint" name="unicode"/> + </qmethod> + <qmethod name="unicodeToJisx0208" access="public" return="uint" id="1"> + <qparam type="uint" name="unicode"/> + </qmethod> + <qmethod name="unicodeToJisx0212" access="public" return="uint" id="1"> + <qparam type="uint" name="unicode"/> + </qmethod> + <qmethod name="sjisToUnicode" access="public" return="uint" id="0"> + <qparam type="uint" name="h"/> + <qparam type="uint" name="l"/> + </qmethod> + <qmethod name="unicodeToSjis" access="public" return="uint" id="0"> + <qparam type="uint" name="h"/> + <qparam type="uint" name="l"/> + </qmethod> + <qmethod name="sjisToUnicode" access="public" return="uint" id="1"> + <qparam type="uint" name="sjis"/> + </qmethod> + <qmethod name="unicodeToSjis" access="public" return="uint" id="1"> + <qparam type="uint" name="unicode"/> + </qmethod> + <qmethod name="newConverter" access="public static" return="QJpUnicodeConv*" +id="0"> + <qparam type="int" name="rule"/> + </qmethod> + <qctor name="QJpUnicodeConv" access="protected" id="0"> + <qparam type="int" name="r"/> + </qctor> +</qtype> <qtype name="QKeyEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QKeyEvent" access="public" id="0"> + <qparam type="Type" name="type"/> + <qparam type="int" name="key"/> + <qparam type="int" name="ascii"/> + <qparam type="int" name="state"/> + <qparam type="QStringamp" name="text" default="QString::null"/> + <qparam type="bool" name="autorep" default="FALSE"/> + <qparam type="ushort" name="count" default="1"/> + </qctor> + <qmethod name="key" access="public" return="int" id="0"/> + <qmethod name="ascii" access="public" return="int" id="0"/> + <qmethod name="state" access="public" return="ButtonState" id="0"/> + <qmethod name="stateAfter" access="public" return="ButtonState" id="0"/> + <qmethod name="isAccepted" access="public" return="bool" id="0"/> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="isAutoRepeat" access="public" return="bool" id="0"/> + <qmethod name="count" access="public" return="int" id="0"/> + <qmethod name="accept" access="public" return="void" id="0"/> + <qmethod name="ignore" access="public" return="void" id="0"/> +</qtype> <qtype name="QKeySequence" access="public"> + <qancestor name="Qt"/> + <qancestor name="Qt"/> + <qctor name="QKeySequence" access="public" id="0"/> + <qctor name="QKeySequence" access="public" id="1"> + <qparam type="QStringamp" name="key"/> + </qctor> + <qctor name="QKeySequence" access="public" id="2"> + <qparam type="int" name="key"/> + </qctor> + <qctor name="QKeySequence" access="public" id="3"> + <qparam type="QKeySequenceamp" name="arg1"/> + </qctor> + <qdctor name="QKeySequence" access="public"/> + <qctor name="QKeySequence" access="public" id="4"/> + <qctor name="QKeySequence" access="public" id="5"> + <qparam type="int" name="arg1"/> + </qctor> +</qtype> <qtype name="QLCDNumber" access="public"> + <qancestor name="QFrame"/> + <qenum name="Mode" access="public"> + <qitem name="Hex" value="0"/> + <qitem name="Dec" value="1"/> + <qitem name="Oct" value="2"/> + <qitem name="Bin" value="3"/> + <qitem name="HEX" value="Hex"/> + <qitem name="DEC" value="Dec"/> + <qitem name="OCT" value="Oct"/> + <qitem name="BIN" value="Bin"/> + </qenum> + <qenum name="SegmentStyle" access="public"> + <qitem name="Outline" value="0"/> + <qitem name="Filled" value="1"/> + <qitem name="Flat" value="2"/> + </qenum> + <qctor name="QLCDNumber" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QLCDNumber" access="public" id="1"> + <qparam type="uint" name="numDigits"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QLCDNumber" access="public"/> + <qmethod name="smallDecimalPoint" access="public" return="bool" id="0"/> + <qmethod name="numDigits" access="public" return="int" id="0"/> + <qmethod name="setNumDigits" access="public" return="void" id="0"> + <qparam type="int" name="nDigits"/> + </qmethod> + <qmethod name="checkOverflow" access="public" return="bool" id="0"> + <qparam type="double" name="num"/> + </qmethod> + <qmethod name="checkOverflow" access="public" return="bool" id="1"> + <qparam type="int" name="num"/> + </qmethod> + <qmethod name="mode" access="public" return="Mode" id="0"/> + <qmethod name="setMode" access="public" return="void" id="0"> + <qparam type="Mode" name="arg1"/> + </qmethod> + <qmethod name="segmentStyle" access="public" return="SegmentStyle" id="0"/> + <qmethod name="setSegmentStyle" access="public" return="void" id="0"> + <qparam type="SegmentStyle" name="arg1"/> + </qmethod> + <qmethod name="value" access="public" return="double" id="0"/> + <qmethod name="intValue" access="public" return="int" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="display" access="public" return="void" id="1"> + <qparam type="int" name="num"/> + </qmethod> + <qmethod name="display" access="public" return="void" id="0"> + <qparam type="QStringamp" name="str"/> + </qmethod> + <qmethod name="display" access="public" return="void" id="2"> + <qparam type="double" name="num"/> + </qmethod> + <qmethod name="setHexMode" access="public" return="void" id="0"/> + <qmethod name="setDecMode" access="public" return="void" id="0"/> + <qmethod name="setOctMode" access="public" return="void" id="0"/> + <qmethod name="setBinMode" access="public" return="void" id="0"/> + <qmethod name="setSmallDecimalPoint" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_drawContents" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> +</qtype> <qtype name="QLNode" access="public"> + <qmethod name="getData" access="public" return="QPtrCollection::Item" id="0"/> +</qtype> <qtype name="QLabel" access="public"> + <qancestor name="QFrame"/> + <qctor name="QLabel" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qctor name="QLabel" access="public" id="1"> + <qparam type="QStringamp" name="text"/> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qctor name="QLabel" access="public" id="2"> + <qparam type="QWidget*" name="buddy"/> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qdctor name="QLabel" access="public"/> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="pixmap" access="public" return="QPixmap*" id="0"/> + <qmethod name="picture" access="public" return="QPicture*" id="0"/> + <qmethod name="movie" access="public" return="QMovie*" id="0"/> + <qmethod name="textFormat" access="public" return="TextFormat" id="0"/> + <qmethod name="setTextFormat" access="public" return="void" id="0"> + <qparam type="TextFormat" name="arg1"/> + </qmethod> + <qmethod name="alignment" access="public" return="int" id="0"/> + <qmethod name="setAlignment" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="indent" access="public" return="int" id="0"/> + <qmethod name="setIndent" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="autoResize" access="public" return="bool" id="0"/> + <qmethod name="setAutoResize" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="hasScaledContents" access="public" return="bool" id="0"/> + <qmethod name="setScaledContents" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="setBuddy" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="buddy" access="public" return="QWidget*" id="0"/> + <qmethod name="heightForWidth" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="f"/> + </qmethod> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setPixmap" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="arg1"/> + </qmethod> + <qmethod name="setPicture" access="public" return="void" id="0"> + <qparam type="QPictureamp" name="arg1"/> + </qmethod> + <qmethod name="setMovie" access="public" return="void" id="0"> + <qparam type="QMovieamp" name="arg1"/> + </qmethod> + <qmethod name="setNum" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setNum" access="public" return="void" id="1"> + <qparam type="double" name="arg1"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="protected_drawContents" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_fontChange" access="protected" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QLayout" access="public"> + <qancestor name="QLayoutItem"/> + <qancestor name="QObject"/> + <qenum name="ResizeMode" access="public"> + <qitem name="FreeResize" value="0"/> + <qitem name="Minimum" value="1"/> + <qitem name="Fixed" value="2"/> + </qenum> + <qdctor name="QLayout" access="public"/> + <qmethod name="margin" access="public" return="int" id="0"/> + <qmethod name="spacing" access="public" return="int" id="0"/> + <qmethod name="setMargin" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setSpacing" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="defaultBorder" access="public" return="int" id="0"/> + <qmethod name="freeze" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="freeze" access="public" return="void" id="1"/> + <qmethod name="setResizeMode" access="public" return="void" id="0"> + <qparam type="ResizeMode" name="arg1"/> + </qmethod> + <qmethod name="resizeMode" access="public" return="ResizeMode" id="0"/> + <qmethod name="setMenuBar" access="public" return="void" id="0"> + <qparam type="QMenuBar*" name="w"/> + </qmethod> + <qmethod name="menuBar" access="public" return="QMenuBar*" id="0"/> + <qmethod name="mainWidget" access="public" return="QWidget*" id="0"/> + <qmethod name="isTopLevel" access="public" return="bool" id="0"/> + <qmethod name="setAutoAdd" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="autoAdd" access="public" return="bool" id="0"/> + <qmethod name="invalidate" access="public" return="void" id="0"/> + <qmethod name="geometry" access="public" return="QRect" id="0"/> + <qmethod name="activate" access="public" return="bool" id="0"/> + <qmethod name="add" access="public" return="void" id="0"> + <qparam type="QWidget*" name="w"/> + </qmethod> + <qmethod name="addItem" access="public" return="void" id="0"> + <qparam type="QLayoutItem*" name="arg1"/> + </qmethod> + <qmethod name="expanding" access="public" return="QSizePolicy::ExpandData" +id="0"/> + <qmethod name="minimumSize" access="public" return="QSize" id="0"/> + <qmethod name="maximumSize" access="public" return="QSize" id="0"/> + <qmethod name="setGeometry" access="public" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="iterator" access="public" return="QLayoutIterator" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="totalHeightForWidth" access="public" return="int" id="0"> + <qparam type="int" name="w"/> + </qmethod> + <qmethod name="totalMinimumSize" access="public" return="QSize" id="0"/> + <qmethod name="totalMaximumSize" access="public" return="QSize" id="0"/> + <qmethod name="totalSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="layout" access="public" return="QLayout*" id="0"/> + <qmethod name="supportsMargin" access="public" return="bool" id="0"/> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isEnabled" access="public" return="bool" id="0"/> +</qtype> <qtype name="QLayoutItem" access="public"> + <qdctor name="QLayoutItem" access="public"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSize" access="public" return="QSize" id="0"/> + <qmethod name="maximumSize" access="public" return="QSize" id="0"/> + <qmethod name="expanding" access="public" return="QSizePolicy::ExpandData" +id="0"/> + <qmethod name="setGeometry" access="public" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="geometry" access="public" return="QRect" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="hasHeightForWidth" access="public" return="bool" id="0"/> + <qmethod name="heightForWidth" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="invalidate" access="public" return="void" id="0"/> + <qmethod name="widget" access="public" return="QWidget*" id="0"/> + <qmethod name="iterator" access="public" return="QLayoutIterator" id="0"/> + <qmethod name="layout" access="public" return="QLayout*" id="0"/> + <qmethod name="spacerItem" access="public" return="QSpacerItem*" id="0"/> + <qmethod name="alignment" access="public" return="int" id="0"/> + <qmethod name="setAlignment" access="public" return="void" id="0"> + <qparam type="int" name="a"/> + </qmethod> +</qtype> <qtype name="QLayoutIterator" access="public"> + <qctor name="QLayoutIterator" access="public" id="0"> + <qparam type="QGLayoutIterator*" name="i"/> + </qctor> + <qctor name="QLayoutIterator" access="public" id="1"> + <qparam type="QLayoutIteratoramp" name="i"/> + </qctor> + <qdctor name="QLayoutIterator" access="public"/> + <qmethod name="current" access="public" return="QLayoutItem*" id="0"/> + <qmethod name="takeCurrent" access="public" return="QLayoutItem*" id="0"/> + <qmethod name="deleteCurrent" access="public" return="void" id="0"/> +</qtype> <qtype name="QLibrary" access="public"> + <qctor name="QLibrary" access="public" id="0"> + <qparam type="QStringamp" name="filename"/> + </qctor> + <qdctor name="QLibrary" access="public"/> + <qmethod name="resolve" access="public" return="void*" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="load" access="public" return="bool" id="0"/> + <qmethod name="unload" access="public" return="bool" id="0"/> + <qmethod name="isLoaded" access="public" return="bool" id="0"/> + <qmethod name="autoUnload" access="public" return="bool" id="0"/> + <qmethod name="setAutoUnload" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="library" access="public" return="QString" id="0"/> + <qmethod name="resolve" access="public static" return="void*" id="1"> + <qparam type="QStringamp" name="filename"/> + <qparam type="char*" name="arg1"/> + </qmethod> +</qtype> <qtype name="QLineEdit" access="public"> + <qancestor name="QFrame"/> + <qenum name="EchoMode" access="public"> + <qitem name="Normal" value="0"/> + <qitem name="NoEcho" value="1"/> + <qitem name="Password" value="2"/> + </qenum> + <qctor name="QLineEdit" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QLineEdit" access="public" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QLineEdit" access="public"/> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="displayText" access="public" return="QString" id="0"/> + <qmethod name="maxLength" access="public" return="int" id="0"/> + <qmethod name="frame" access="public" return="bool" id="0"/> + <qmethod name="echoMode" access="public" return="EchoMode" id="0"/> + <qmethod name="isReadOnly" access="public" return="bool" id="0"/> + <qmethod name="validator" access="public" return="QValidator*" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="cursorPosition" access="public" return="int" id="0"/> + <qmethod name="validateAndSet" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="int" name="arg2"/> + <qparam type="int" name="arg3"/> + <qparam type="int" name="arg4"/> + </qmethod> + <qmethod name="alignment" access="public" return="int" id="0"/> + <qmethod name="cursorLeft" access="public" return="void" id="0"> + <qparam type="bool" name="mark"/> + <qparam type="int" name="steps" default="1"/> + </qmethod> + <qmethod name="cursorRight" access="public" return="void" id="0"> + <qparam type="bool" name="mark"/> + <qparam type="int" name="steps" default="1"/> + </qmethod> + <qmethod name="cursorForward" access="public" return="void" id="0"> + <qparam type="bool" name="mark"/> + <qparam type="int" name="steps" default="1"/> + </qmethod> + <qmethod name="cursorBackward" access="public" return="void" id="0"> + <qparam type="bool" name="mark"/> + <qparam type="int" name="steps" default="1"/> + </qmethod> + <qmethod name="cursorWordForward" access="public" return="void" id="0"> + <qparam type="bool" name="mark"/> + </qmethod> + <qmethod name="cursorWordBackward" access="public" return="void" id="0"> + <qparam type="bool" name="mark"/> + </qmethod> + <qmethod name="backspace" access="public" return="void" id="0"/> + <qmethod name="del" access="public" return="void" id="0"/> + <qmethod name="home" access="public" return="void" id="0"> + <qparam type="bool" name="mark"/> + </qmethod> + <qmethod name="end" access="public" return="void" id="0"> + <qparam type="bool" name="mark"/> + </qmethod> + <qmethod name="setEdited" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="edited" access="public" return="bool" id="0"/> + <qmethod name="hasSelectedText" access="public" return="bool" id="0"/> + <qmethod name="selectedText" access="public" return="QString" id="0"/> + <qmethod name="getSelection" access="public" return="bool" id="0"> + <qparam type="int*" name="start"/> + <qparam type="int*" name="end"/> + </qmethod> + <qmethod name="isUndoAvailable" access="public" return="bool" id="0"/> + <qmethod name="isRedoAvailable" access="public" return="bool" id="0"/> + <qmethod name="hasMarkedText" access="public" return="bool" id="0"/> + <qmethod name="markedText" access="public" return="QString" id="0"/> + <qmethod name="setPasswordChar" access="public" return="void" id="0"> + <qparam type="QChar" name="c"/> + </qmethod> + <qmethod name="passwordChar" access="public" return="QChar" id="0"/> + <qmethod name="dragEnabled" access="public" return="bool" id="0"/> + <qmethod name="characterAt" access="public" return="int" id="0"> + <qparam type="int" name="xpos"/> + <qparam type="QChar*" name="chr"/> + </qmethod> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="selectAll" access="public" return="void" id="0"/> + <qmethod name="deselect" access="public" return="void" id="0"/> + <qmethod name="clearValidator" access="public" return="void" id="0"/> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="undo" access="public" return="void" id="0"/> + <qmethod name="redo" access="public" return="void" id="0"/> + <qmethod name="setMaxLength" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setFrame" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setEchoMode" access="public" return="void" id="0"> + <qparam type="EchoMode" name="arg1"/> + </qmethod> + <qmethod name="setReadOnly" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setValidator" access="public" return="void" id="0"> + <qparam type="QValidator*" name="arg1"/> + </qmethod> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="setPalette" access="public" return="void" id="0"> + <qparam type="QPaletteamp" name="arg1"/> + </qmethod> + <qmethod name="setSelection" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="setCursorPosition" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setAlignment" access="public" return="void" id="0"> + <qparam type="int" name="flag"/> + </qmethod> + <qmethod name="cut" access="public" return="void" id="0"/> + <qmethod name="copy" access="public" return="void" id="0"/> + <qmethod name="paste" access="public" return="void" id="0"/> + <qmethod name="setDragEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="protected_event" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="arg1"/> + </qmethod> + <qmethod name="protected_drawContents" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="painter"/> + </qmethod> + <qmethod name="protected_repaintArea" access="protected" return="void" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="protected_createPopupMenu" access="protected" +return="QPopupMenu*" id="0"/> + <qmethod name="protected_windowActivationChange" access="protected" +return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> +</qtype> <qtype name="QListBox" access="public"> + <qancestor name="QScrollView"/> + <qenum name="SelectionMode" access="public"> + <qitem name="Single" value="0"/> + <qitem name="Multi" value="1"/> + <qitem name="Extended" value="2"/> + <qitem name="NoSelection" value="3"/> + </qenum> + <qenum name="LayoutMode" access="public"> + <qitem name="FixedNumber" value="0"/> + <qitem name="FitToWidth" value="1"/> + <qitem name="FitToHeight" value="FitToWidth"/> + <qitem name="Variable" value="3"/> + </qenum> + <qctor name="QListBox" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qdctor name="QListBox" access="public"/> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="insertStringList" access="public" return="void" id="0"> + <qparam type="QStringListamp" name="arg1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertStrList" access="public" return="void" id="0"> + <qparam type="QStrList*" name="arg1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertStrList" access="public" return="void" id="2"> + <qparam type="char**" name="arg1"/> + <qparam type="int" name="numStrings" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="void" id="0"> + <qparam type="QListBoxItem*" name="arg1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="void" id="1"> + <qparam type="QListBoxItem*" name="arg1"/> + <qparam type="QListBoxItem*" name="after"/> + </qmethod> + <qmethod name="insertItem" access="public" return="void" id="2"> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="void" id="3"> + <qparam type="QPixmapamp" name="pixmap"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="void" id="4"> + <qparam type="QPixmapamp" name="pixmap"/> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="removeItem" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="text" access="public" return="QString" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="pixmap" access="public" return="QPixmap*" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="changeItem" access="public" return="void" id="0"> + <qparam type="QListBoxItem*" name="arg1"/> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="changeItem" access="public" return="void" id="1"> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="changeItem" access="public" return="void" id="2"> + <qparam type="QPixmapamp" name="pixmap"/> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="changeItem" access="public" return="void" id="3"> + <qparam type="QPixmapamp" name="pixmap"/> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="takeItem" access="public" return="void" id="0"> + <qparam type="QListBoxItem*" name="arg1"/> + </qmethod> + <qmethod name="numItemsVisible" access="public" return="int" id="0"/> + <qmethod name="currentItem" access="public" return="int" id="0"/> + <qmethod name="currentText" access="public" return="QString" id="0"/> + <qmethod name="setCurrentItem" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="setCurrentItem" access="public" return="void" id="1"> + <qparam type="QListBoxItem*" name="arg1"/> + </qmethod> + <qmethod name="centerCurrentItem" access="public" return="void" id="0"/> + <qmethod name="topItem" access="public" return="int" id="0"/> + <qmethod name="setTopItem" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="setBottomItem" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="maxItemWidth" access="public" return="long" id="0"/> + <qmethod name="setSelectionMode" access="public" return="void" id="0"> + <qparam type="SelectionMode" name="arg1"/> + </qmethod> + <qmethod name="selectionMode" access="public" return="SelectionMode" id="0"/> + <qmethod name="setMultiSelection" access="public" return="void" id="0"> + <qparam type="bool" name="multi"/> + </qmethod> + <qmethod name="isMultiSelection" access="public" return="bool" id="0"/> + <qmethod name="setSelected" access="public" return="void" id="0"> + <qparam type="QListBoxItem*" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="setSelected" access="public" return="void" id="1"> + <qparam type="int" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="isSelected" access="public" return="bool" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="isSelected" access="public" return="bool" id="1"> + <qparam type="QListBoxItem*" name="arg1"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="item" access="public" return="QListBoxItem*" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="index" access="public" return="int" id="0"> + <qparam type="QListBoxItem*" name="arg1"/> + </qmethod> + <qmethod name="findItem" access="public" return="QListBoxItem*" id="0"> + <qparam type="QStringamp" name="text"/> + <qparam type="ComparisonFlags" name="compare" default="BeginsWith"/> + </qmethod> + <qmethod name="triggerUpdate" access="public" return="void" id="0"> + <qparam type="bool" name="doLayout"/> + </qmethod> + <qmethod name="itemVisible" access="public" return="bool" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="itemVisible" access="public" return="bool" id="1"> + <qparam type="QListBoxItem*" name="arg1"/> + </qmethod> + <qmethod name="setColumnMode" access="public" return="void" id="0"> + <qparam type="LayoutMode" name="arg1"/> + </qmethod> + <qmethod name="setColumnMode" access="public" return="void" id="1"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setRowMode" access="public" return="void" id="0"> + <qparam type="LayoutMode" name="arg1"/> + </qmethod> + <qmethod name="setRowMode" access="public" return="void" id="1"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="columnMode" access="public" return="LayoutMode" id="0"/> + <qmethod name="rowMode" access="public" return="LayoutMode" id="0"/> + <qmethod name="numColumns" access="public" return="int" id="0"/> + <qmethod name="numRows" access="public" return="int" id="0"/> + <qmethod name="variableWidth" access="public" return="bool" id="0"/> + <qmethod name="setVariableWidth" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="variableHeight" access="public" return="bool" id="0"/> + <qmethod name="setVariableHeight" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="dragSelect" access="public" return="bool" id="0"/> + <qmethod name="setDragSelect" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="autoScroll" access="public" return="bool" id="0"/> + <qmethod name="setAutoScroll" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="autoScrollBar" access="public" return="bool" id="0"/> + <qmethod name="setAutoScrollBar" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="scrollBar" access="public" return="bool" id="0"/> + <qmethod name="setScrollBar" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="autoBottomScrollBar" access="public" return="bool" id="0"/> + <qmethod name="setAutoBottomScrollBar" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="bottomScrollBar" access="public" return="bool" id="0"/> + <qmethod name="setBottomScrollBar" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="smoothScrolling" access="public" return="bool" id="0"/> + <qmethod name="setSmoothScrolling" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="autoUpdate" access="public" return="bool" id="0"/> + <qmethod name="setAutoUpdate" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setFixedVisibleLines" access="public" return="void" id="0"> + <qparam type="int" name="lines"/> + </qmethod> + <qmethod name="inSort" access="public" return="int" id="0"> + <qparam type="QListBoxItem*" name="arg1"/> + </qmethod> + <qmethod name="inSort" access="public" return="int" id="1"> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="cellHeight" access="public" return="int" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="cellHeight" access="public" return="int" id="1"/> + <qmethod name="cellWidth" access="public" return="int" id="0"/> + <qmethod name="cellWidth" access="public" return="int" id="1"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="numCols" access="public" return="int" id="0"/> + <qmethod name="itemHeight" access="public" return="int" id="0"> + <qparam type="int" name="index" default="0"/> + </qmethod> + <qmethod name="itemAt" access="public" return="QListBoxItem*" id="0"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="itemRect" access="public" return="QRect" id="0"> + <qparam type="QListBoxItem*" name="item"/> + </qmethod> + <qmethod name="firstItem" access="public" return="QListBoxItem*" id="0"/> + <qmethod name="sort" access="public" return="void" id="0"> + <qparam type="bool" name="ascending" default="TRUE"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="ensureCurrentVisible" access="public" return="void" id="0"/> + <qmethod name="clearSelection" access="public" return="void" id="0"/> + <qmethod name="selectAll" access="public" return="void" id="0"> + <qparam type="bool" name="select"/> + </qmethod> + <qmethod name="invertSelection" access="public" return="void" id="0"/> + <qmethod name="protected_eventFilter" access="protected" return="bool" id="0"> + <qparam type="QObject*" name="o"/> + <qparam type="QEvent*" name="e"/> + </qmethod> + <qmethod name="protected_updateItem" access="protected" return="void" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="protected_updateItem" access="protected" return="void" id="1"> + <qparam type="QListBoxItem*" name="arg1"/> + </qmethod> + <qmethod name="protected_updateCellWidth" access="protected" return="void" +id="0"/> + <qmethod name="protected_totalWidth" access="protected" return="int" id="0"/> + <qmethod name="protected_totalHeight" access="protected" return="int" id="0"/> + <qmethod name="protected_paintCell" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="protected_toggleCurrentItem" access="protected" return="void" +id="0"/> + <qmethod name="protected_isRubberSelecting" access="protected" return="bool" +id="0"/> + <qmethod name="protected_doLayout" access="protected" return="void" id="0"/> + <qmethod name="protected_windowActivationChange" access="protected" +return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_itemYPos" access="protected" return="bool" id="0"> + <qparam type="int" name="index"/> + <qparam type="int*" name="yPos"/> + </qmethod> + <qmethod name="protected_findItem" access="protected" return="int" id="1"> + <qparam type="int" name="yPos"/> + </qmethod> + <qmethod name="protected_clearInputString" access="protected" return="void" +id="0"/> +</qtype> <qtype name="QListBoxItem" access="public"> + <qdctor name="QListBoxItem" access="public"/> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="pixmap" access="public" return="QPixmap*" id="0"/> + <qmethod name="height" access="public" return="int" id="0"> + <qparam type="QListBox*" name="arg1"/> + </qmethod> + <qmethod name="width" access="public" return="int" id="0"> + <qparam type="QListBox*" name="arg1"/> + </qmethod> + <qmethod name="isSelected" access="public" return="bool" id="0"/> + <qmethod name="isCurrent" access="public" return="bool" id="0"/> + <qmethod name="selected" access="public" return="bool" id="0"/> + <qmethod name="current" access="public" return="bool" id="0"/> + <qmethod name="listBox" access="public" return="QListBox*" id="0"/> + <qmethod name="setSelectable" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="isSelectable" access="public" return="bool" id="0"/> + <qmethod name="next" access="public" return="QListBoxItem*" id="0"/> + <qmethod name="prev" access="public" return="QListBoxItem*" id="0"/> + <qmethod name="rtti" access="public" return="int" id="0"/> +</qtype> <qtype name="QListBoxPixmap" access="public"> + <qancestor name="QListBoxItem"/> + <qctor name="QListBoxPixmap" access="public" id="0"> + <qparam type="QListBox*" name="listbox"/> + <qparam type="QPixmapamp" name="arg1"/> + </qctor> + <qctor name="QListBoxPixmap" access="public" id="1"> + <qparam type="QPixmapamp" name="arg1"/> + </qctor> + <qctor name="QListBoxPixmap" access="public" id="2"> + <qparam type="QListBox*" name="listbox"/> + <qparam type="QPixmapamp" name="pix"/> + <qparam type="QListBoxItem*" name="after"/> + </qctor> + <qctor name="QListBoxPixmap" access="public" id="3"> + <qparam type="QListBox*" name="listbox"/> + <qparam type="QPixmapamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qctor> + <qctor name="QListBoxPixmap" access="public" id="4"> + <qparam type="QPixmapamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qctor> + <qctor name="QListBoxPixmap" access="public" id="5"> + <qparam type="QListBox*" name="listbox"/> + <qparam type="QPixmapamp" name="pix"/> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QListBoxItem*" name="after"/> + </qctor> + <qdctor name="QListBoxPixmap" access="public"/> + <qmethod name="pixmap" access="public" return="QPixmap*" id="0"/> + <qmethod name="height" access="public" return="int" id="0"> + <qparam type="QListBox*" name="arg1"/> + </qmethod> + <qmethod name="width" access="public" return="int" id="0"> + <qparam type="QListBox*" name="arg1"/> + </qmethod> + <qmethod name="rtti" access="public" return="int" id="0"/> + <qmethod name="protected_paint" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> +</qtype> <qtype name="QListBoxText" access="public"> + <qancestor name="QListBoxItem"/> + <qctor name="QListBoxText" access="public" id="0"> + <qparam type="QListBox*" name="listbox"/> + <qparam type="QStringamp" name="text" default="QString::null"/> + </qctor> + <qctor name="QListBoxText" access="public" id="1"> + <qparam type="QStringamp" name="text" default="QString::null"/> + </qctor> + <qctor name="QListBoxText" access="public" id="2"> + <qparam type="QListBox*" name="listbox"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QListBoxItem*" name="after"/> + </qctor> + <qdctor name="QListBoxText" access="public"/> + <qmethod name="height" access="public" return="int" id="0"> + <qparam type="QListBox*" name="arg1"/> + </qmethod> + <qmethod name="width" access="public" return="int" id="0"> + <qparam type="QListBox*" name="arg1"/> + </qmethod> + <qmethod name="rtti" access="public" return="int" id="0"/> + <qmethod name="protected_paint" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> +</qtype> <qtype name="QListView" access="public"> + <qancestor name="QScrollView"/> + <qenum name="WidthMode" access="public"> + <qitem name="Manual" value="0"/> + <qitem name="Maximum" value="1"/> + </qenum> + <qenum name="SelectionMode" access="public"> + <qitem name="Single" value="0"/> + <qitem name="Multi" value="1"/> + <qitem name="Extended" value="2"/> + <qitem name="NoSelection" value="3"/> + </qenum> + <qenum name="ResizeMode" access="public"> + <qitem name="NoColumn" value="0"/> + <qitem name="AllColumns" value="1"/> + <qitem name="LastColumn" value="2"/> + </qenum> + <qenum name="RenameAction" access="public"> + <qitem name="Accept" value="0"/> + <qitem name="Reject" value="1"/> + </qenum> + <qctor name="QListView" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qdctor name="QListView" access="public"/> + <qmethod name="treeStepSize" access="public" return="int" id="0"/> + <qmethod name="setTreeStepSize" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="void" id="0"> + <qparam type="QListViewItem*" name="arg1"/> + </qmethod> + <qmethod name="takeItem" access="public" return="void" id="0"> + <qparam type="QListViewItem*" name="arg1"/> + </qmethod> + <qmethod name="removeItem" access="public" return="void" id="0"> + <qparam type="QListViewItem*" name="item"/> + </qmethod> + <qmethod name="header" access="public" return="QHeader*" id="0"/> + <qmethod name="addColumn" access="public" return="int" id="0"> + <qparam type="QStringamp" name="label"/> + <qparam type="int" name="size" default="-1"/> + </qmethod> + <qmethod name="addColumn" access="public" return="int" id="1"> + <qparam type="QIconSetamp" name="iconset"/> + <qparam type="QStringamp" name="label"/> + <qparam type="int" name="size" default="-1"/> + </qmethod> + <qmethod name="removeColumn" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="setColumnText" access="public" return="void" id="0"> + <qparam type="int" name="column"/> + <qparam type="QStringamp" name="label"/> + </qmethod> + <qmethod name="setColumnText" access="public" return="void" id="1"> + <qparam type="int" name="column"/> + <qparam type="QIconSetamp" name="iconset"/> + <qparam type="QStringamp" name="label"/> + </qmethod> + <qmethod name="columnText" access="public" return="QString" id="0"> + <qparam type="int" name="column"/> + </qmethod> + <qmethod name="setColumnWidth" access="public" return="void" id="0"> + <qparam type="int" name="column"/> + <qparam type="int" name="width"/> + </qmethod> + <qmethod name="columnWidth" access="public" return="int" id="0"> + <qparam type="int" name="column"/> + </qmethod> + <qmethod name="setColumnWidthMode" access="public" return="void" id="0"> + <qparam type="int" name="column"/> + <qparam type="WidthMode" name="arg1"/> + </qmethod> + <qmethod name="columnWidthMode" access="public" return="WidthMode" id="0"> + <qparam type="int" name="column"/> + </qmethod> + <qmethod name="columns" access="public" return="int" id="0"/> + <qmethod name="setColumnAlignment" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="columnAlignment" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="itemAt" access="public" return="QListViewItem*" id="0"> + <qparam type="QPointamp" name="screenPos"/> + </qmethod> + <qmethod name="itemRect" access="public" return="QRect" id="0"> + <qparam type="QListViewItem*" name="arg1"/> + </qmethod> + <qmethod name="itemPos" access="public" return="int" id="0"> + <qparam type="QListViewItem*" name="arg1"/> + </qmethod> + <qmethod name="ensureItemVisible" access="public" return="void" id="0"> + <qparam type="QListViewItem*" name="arg1"/> + </qmethod> + <qmethod name="repaintItem" access="public" return="void" id="0"> + <qparam type="QListViewItem*" name="arg1"/> + </qmethod> + <qmethod name="setMultiSelection" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="isMultiSelection" access="public" return="bool" id="0"/> + <qmethod name="setSelectionMode" access="public" return="void" id="0"> + <qparam type="SelectionMode" name="mode"/> + </qmethod> + <qmethod name="selectionMode" access="public" return="SelectionMode" id="0"/> + <qmethod name="clearSelection" access="public" return="void" id="0"/> + <qmethod name="setSelected" access="public" return="void" id="0"> + <qparam type="QListViewItem*" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="isSelected" access="public" return="bool" id="0"> + <qparam type="QListViewItem*" name="arg1"/> + </qmethod> + <qmethod name="selectedItem" access="public" return="QListViewItem*" id="0"/> + <qmethod name="setOpen" access="public" return="void" id="0"> + <qparam type="QListViewItem*" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="isOpen" access="public" return="bool" id="0"> + <qparam type="QListViewItem*" name="arg1"/> + </qmethod> + <qmethod name="setCurrentItem" access="public" return="void" id="0"> + <qparam type="QListViewItem*" name="arg1"/> + </qmethod> + <qmethod name="currentItem" access="public" return="QListViewItem*" id="0"/> + <qmethod name="firstChild" access="public" return="QListViewItem*" id="0"/> + <qmethod name="lastItem" access="public" return="QListViewItem*" id="0"/> + <qmethod name="childCount" access="public" return="int" id="0"/> + <qmethod name="setAllColumnsShowFocus" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="allColumnsShowFocus" access="public" return="bool" id="0"/> + <qmethod name="setItemMargin" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="itemMargin" access="public" return="int" id="0"/> + <qmethod name="setRootIsDecorated" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="rootIsDecorated" access="public" return="bool" id="0"/> + <qmethod name="setSorting" access="public" return="void" id="0"> + <qparam type="int" name="column"/> + <qparam type="bool" name="increasing" default="TRUE"/> + </qmethod> + <qmethod name="sort" access="public" return="void" id="0"/> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="setPalette" access="public" return="void" id="0"> + <qparam type="QPaletteamp" name="arg1"/> + </qmethod> + <qmethod name="eventFilter" access="public" return="bool" id="0"> + <qparam type="QObject*" name="o"/> + <qparam type="QEvent*" name="arg1"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="setShowSortIndicator" access="public" return="void" id="0"> + <qparam type="bool" name="show"/> + </qmethod> + <qmethod name="showSortIndicator" access="public" return="bool" id="0"/> + <qmethod name="setShowToolTips" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="showToolTips" access="public" return="bool" id="0"/> + <qmethod name="setResizeMode" access="public" return="void" id="0"> + <qparam type="ResizeMode" name="m"/> + </qmethod> + <qmethod name="resizeMode" access="public" return="ResizeMode" id="0"/> + <qmethod name="findItem" access="public" return="QListViewItem*" id="0"> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="column"/> + <qparam type="ComparisonFlags" name="compare" default="ExactMatch | +CaseSensitive"/> + </qmethod> + <qmethod name="setDefaultRenameAction" access="public" return="void" id="0"> + <qparam type="RenameAction" name="a"/> + </qmethod> + <qmethod name="defaultRenameAction" access="public" return="RenameAction" +id="0"/> + <qmethod name="isRenaming" access="public" return="bool" id="0"/> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="invertSelection" access="public" return="void" id="0"/> + <qmethod name="selectAll" access="public" return="void" id="0"> + <qparam type="bool" name="select"/> + </qmethod> + <qmethod name="triggerUpdate" access="public" return="void" id="0"/> + <qmethod name="setContentsPos" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="protected_dragObject" access="protected" return="QDragObject*" +id="0"/> + <qmethod name="protected_startDrag" access="protected" return="void" id="0"/> + <qmethod name="protected_drawContentsOffset" access="protected" return="void" +id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="int" name="ox"/> + <qparam type="int" name="oy"/> + <qparam type="int" name="cx"/> + <qparam type="int" name="cy"/> + <qparam type="int" name="cw"/> + <qparam type="int" name="ch"/> + </qmethod> + <qmethod name="protected_paintEmptyArea" access="protected" return="void" +id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="QRectamp" name="arg2"/> + </qmethod> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_windowActivationChange" access="protected" +return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_updateContents" access="protected" return="void" +id="0"/> + <qmethod name="protected_doAutoScroll" access="protected" return="void" id="0"/> +</qtype> <qtype name="QListViewItem" access="public"> + <qancestor name="Qt"/> + <qctor name="QListViewItem" access="public" id="0"> + <qparam type="QListView*" name="parent"/> + </qctor> + <qctor name="QListViewItem" access="public" id="1"> + <qparam type="QListViewItem*" name="parent"/> + </qctor> + <qctor name="QListViewItem" access="public" id="2"> + <qparam type="QListView*" name="parent"/> + <qparam type="QListViewItem*" name="after"/> + </qctor> + <qctor name="QListViewItem" access="public" id="3"> + <qparam type="QListViewItem*" name="parent"/> + <qparam type="QListViewItem*" name="after"/> + </qctor> + <qctor name="QListViewItem" access="public" id="4"> + <qparam type="QListView*" name="parent"/> + <qparam type="QString" name="arg1"/> + <qparam type="QString" name="arg2" default="QString::null"/> + <qparam type="QString" name="arg3" default="QString::null"/> + <qparam type="QString" name="arg4" default="QString::null"/> + <qparam type="QString" name="arg5" default="QString::null"/> + <qparam type="QString" name="arg6" default="QString::null"/> + <qparam type="QString" name="arg7" default="QString::null"/> + <qparam type="QString" name="arg8" default="QString::null"/> + </qctor> + <qctor name="QListViewItem" access="public" id="5"> + <qparam type="QListViewItem*" name="parent"/> + <qparam type="QString" name="arg1"/> + <qparam type="QString" name="arg2" default="QString::null"/> + <qparam type="QString" name="arg3" default="QString::null"/> + <qparam type="QString" name="arg4" default="QString::null"/> + <qparam type="QString" name="arg5" default="QString::null"/> + <qparam type="QString" name="arg6" default="QString::null"/> + <qparam type="QString" name="arg7" default="QString::null"/> + <qparam type="QString" name="arg8" default="QString::null"/> + </qctor> + <qctor name="QListViewItem" access="public" id="6"> + <qparam type="QListView*" name="parent"/> + <qparam type="QListViewItem*" name="after"/> + <qparam type="QString" name="arg1"/> + <qparam type="QString" name="arg2" default="QString::null"/> + <qparam type="QString" name="arg3" default="QString::null"/> + <qparam type="QString" name="arg4" default="QString::null"/> + <qparam type="QString" name="arg5" default="QString::null"/> + <qparam type="QString" name="arg6" default="QString::null"/> + <qparam type="QString" name="arg7" default="QString::null"/> + <qparam type="QString" name="arg8" default="QString::null"/> + </qctor> + <qctor name="QListViewItem" access="public" id="7"> + <qparam type="QListViewItem*" name="parent"/> + <qparam type="QListViewItem*" name="after"/> + <qparam type="QString" name="arg1"/> + <qparam type="QString" name="arg2" default="QString::null"/> + <qparam type="QString" name="arg3" default="QString::null"/> + <qparam type="QString" name="arg4" default="QString::null"/> + <qparam type="QString" name="arg5" default="QString::null"/> + <qparam type="QString" name="arg6" default="QString::null"/> + <qparam type="QString" name="arg7" default="QString::null"/> + <qparam type="QString" name="arg8" default="QString::null"/> + </qctor> + <qdctor name="QListViewItem" access="public"/> + <qmethod name="insertItem" access="public" return="void" id="0"> + <qparam type="QListViewItem*" name="arg1"/> + </qmethod> + <qmethod name="takeItem" access="public" return="void" id="0"> + <qparam type="QListViewItem*" name="arg1"/> + </qmethod> + <qmethod name="removeItem" access="public" return="void" id="0"> + <qparam type="QListViewItem*" name="item"/> + </qmethod> + <qmethod name="height" access="public" return="int" id="0"/> + <qmethod name="invalidateHeight" access="public" return="void" id="0"/> + <qmethod name="totalHeight" access="public" return="int" id="0"/> + <qmethod name="width" access="public" return="int" id="0"> + <qparam type="QFontMetricsamp" name="arg1"/> + <qparam type="QListView*" name="arg2"/> + <qparam type="int" name="column"/> + </qmethod> + <qmethod name="widthChanged" access="public" return="void" id="0"> + <qparam type="int" name="column" default="-1"/> + </qmethod> + <qmethod name="depth" access="public" return="int" id="0"/> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="text" access="public" return="QString" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setPixmap" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="QPixmapamp" name="arg2"/> + </qmethod> + <qmethod name="pixmap" access="public" return="QPixmap*" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="key" access="public" return="QString" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="compare" access="public" return="int" id="0"> + <qparam type="QListViewItem*" name="i"/> + <qparam type="int" name="col"/> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="sortChildItems" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="childCount" access="public" return="int" id="0"/> + <qmethod name="isOpen" access="public" return="bool" id="0"/> + <qmethod name="setOpen" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setup" access="public" return="void" id="0"/> + <qmethod name="setSelected" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isSelected" access="public" return="bool" id="0"/> + <qmethod name="paintCell" access="public" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="int" name="column"/> + <qparam type="int" name="width"/> + <qparam type="int" name="alignment"/> + </qmethod> + <qmethod name="paintBranches" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="int" name="w"/> + <qparam type="int" name="y"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="paintFocus" access="public" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="firstChild" access="public" return="QListViewItem*" id="0"/> + <qmethod name="nextSibling" access="public" return="QListViewItem*" id="0"/> + <qmethod name="parent" access="public" return="QListViewItem*" id="0"/> + <qmethod name="itemAbove" access="public" return="QListViewItem*" id="0"/> + <qmethod name="itemBelow" access="public" return="QListViewItem*" id="0"/> + <qmethod name="itemPos" access="public" return="int" id="0"/> + <qmethod name="listView" access="public" return="QListView*" id="0"/> + <qmethod name="setSelectable" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="isSelectable" access="public" return="bool" id="0"/> + <qmethod name="setExpandable" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isExpandable" access="public" return="bool" id="0"/> + <qmethod name="repaint" access="public" return="void" id="0"/> + <qmethod name="sort" access="public" return="void" id="0"/> + <qmethod name="moveItem" access="public" return="void" id="0"> + <qparam type="QListViewItem*" name="after"/> + </qmethod> + <qmethod name="setDragEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="allow"/> + </qmethod> + <qmethod name="setDropEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="allow"/> + </qmethod> + <qmethod name="dragEnabled" access="public" return="bool" id="0"/> + <qmethod name="dropEnabled" access="public" return="bool" id="0"/> + <qmethod name="acceptDrop" access="public" return="bool" id="0"> + <qparam type="QMimeSource*" name="mime"/> + </qmethod> + <qmethod name="setVisible" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="isVisible" access="public" return="bool" id="0"/> + <qmethod name="setRenameEnabled" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="renameEnabled" access="public" return="bool" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="startRename" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="isEnabled" access="public" return="bool" id="0"/> + <qmethod name="rtti" access="public" return="int" id="0"/> + <qmethod name="setMultiLinesEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="multiLinesEnabled" access="public" return="bool" id="0"/> + <qmethod name="protected_enforceSortOrder" access="protected" return="void" +id="0"/> + <qmethod name="protected_setHeight" access="protected" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="protected_activate" access="protected" return="void" id="0"/> + <qmethod name="protected_activatedPos" access="protected" return="bool" id="0"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="protected_dropped" access="protected" return="void" id="0"> + <qparam type="QDropEvent*" name="e"/> + </qmethod> + <qmethod name="protected_dragEntered" access="protected" return="void" id="0"/> + <qmethod name="protected_dragLeft" access="protected" return="void" id="0"/> + <qmethod name="protected_okRename" access="protected" return="void" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="protected_cancelRename" access="protected" return="void" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="protected_ignoreDoubleClick" access="protected" return="void" +id="0"/> +</qtype> <qtype name="QListViewItemIterator" access="public"> + <qctor name="QListViewItemIterator" access="public" id="0"/> + <qctor name="QListViewItemIterator" access="public" id="1"> + <qparam type="QListViewItem*" name="item"/> + </qctor> + <qctor name="QListViewItemIterator" access="public" id="2"> + <qparam type="QListViewItemIteratoramp" name="it"/> + </qctor> + <qctor name="QListViewItemIterator" access="public" id="3"> + <qparam type="QListView*" name="lv"/> + </qctor> + <qdctor name="QListViewItemIterator" access="public"/> + <qmethod name="current" access="public" return="QListViewItem*" id="0"/> +</qtype> <qtype name="QLocalFs" access="public"> + <qancestor name="QNetworkProtocol"/> + <qctor name="QLocalFs" access="public" id="0"/> + <qmethod name="supportedOperations" access="public" return="int" id="0"/> + <qmethod name="protected_operationListChildren" access="protected" return="void" +id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationMkDir" access="protected" return="void" +id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationRemove" access="protected" return="void" +id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationRename" access="protected" return="void" +id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationGet" access="protected" return="void" id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationPut" access="protected" return="void" id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> +</qtype> <qtype name="QMainWindow" access="public"> + <qancestor name="QWidget"/> + <qenum name="DockWindows" access="public"> + <qitem name="OnlyToolBars" value="0"/> + <qitem name="NoToolBars" value="1"/> + <qitem name="AllDockWindows" value="2"/> + </qenum> + <qctor name="QMainWindow" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="WType_TopLevel"/> + </qctor> + <qdctor name="QMainWindow" access="public"/> + <qmethod name="menuBar" access="public" return="QMenuBar*" id="0"/> + <qmethod name="statusBar" access="public" return="QStatusBar*" id="0"/> + <qmethod name="toolTipGroup" access="public" return="QToolTipGroup*" id="0"/> + <qmethod name="setCentralWidget" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="centralWidget" access="public" return="QWidget*" id="0"/> + <qmethod name="setDockEnabled" access="public" return="void" id="0"> + <qparam type="Dock" name="dock"/> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="isDockEnabled" access="public" return="bool" id="0"> + <qparam type="Dock" name="dock"/> + </qmethod> + <qmethod name="isDockEnabled" access="public" return="bool" id="1"> + <qparam type="QDockArea*" name="area"/> + </qmethod> + <qmethod name="setDockEnabled" access="public" return="void" id="1"> + <qparam type="QDockWindow*" name="tb"/> + <qparam type="Dock" name="dock"/> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="isDockEnabled" access="public" return="bool" id="2"> + <qparam type="QDockWindow*" name="tb"/> + <qparam type="Dock" name="dock"/> + </qmethod> + <qmethod name="isDockEnabled" access="public" return="bool" id="3"> + <qparam type="QDockWindow*" name="tb"/> + <qparam type="QDockArea*" name="area"/> + </qmethod> + <qmethod name="addDockWindow" access="public" return="void" id="0"> + <qparam type="QDockWindow*" name="arg1"/> + <qparam type="Dock" name="arg2" default="DockTop"/> + <qparam type="bool" name="newLine" default="FALSE"/> + </qmethod> + <qmethod name="addDockWindow" access="public" return="void" id="1"> + <qparam type="QDockWindow*" name="arg1"/> + <qparam type="QStringamp" name="label"/> + <qparam type="Dock" name="arg2" default="DockTop"/> + <qparam type="bool" name="newLine" default="FALSE"/> + </qmethod> + <qmethod name="moveDockWindow" access="public" return="void" id="0"> + <qparam type="QDockWindow*" name="arg1"/> + <qparam type="Dock" name="arg2" default="DockTop"/> + </qmethod> + <qmethod name="moveDockWindow" access="public" return="void" id="1"> + <qparam type="QDockWindow*" name="arg1"/> + <qparam type="Dock" name="arg2"/> + <qparam type="bool" name="nl"/> + <qparam type="int" name="index"/> + <qparam type="int" name="extraOffset" default="-1"/> + </qmethod> + <qmethod name="removeDockWindow" access="public" return="void" id="0"> + <qparam type="QDockWindow*" name="arg1"/> + </qmethod> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="rightJustification" access="public" return="bool" id="0"/> + <qmethod name="usesBigPixmaps" access="public" return="bool" id="0"/> + <qmethod name="usesTextLabel" access="public" return="bool" id="0"/> + <qmethod name="dockWindowsMovable" access="public" return="bool" id="0"/> + <qmethod name="opaqueMoving" access="public" return="bool" id="0"/> + <qmethod name="eventFilter" access="public" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> + <qmethod name="getLocation" access="public" return="bool" id="0"> + <qparam type="QDockWindow*" name="tb"/> + <qparam type="Dockamp" name="dock"/> + <qparam type="intamp" name="index"/> + <qparam type="boolamp" name="nl"/> + <qparam type="intamp" name="extraOffset"/> + </qmethod> + <qmethod name="lineUpDockWindows" access="public" return="void" id="0"> + <qparam type="bool" name="keepNewLines" default="FALSE"/> + </qmethod> + <qmethod name="isDockMenuEnabled" access="public" return="bool" id="0"/> + <qmethod name="hasDockWindow" access="public" return="bool" id="0"> + <qparam type="QDockWindow*" name="dw"/> + </qmethod> + <qmethod name="addToolBar" access="public" return="void" id="0"> + <qparam type="QDockWindow*" name="arg1"/> + <qparam type="Dock" name="arg2" default="DockTop"/> + <qparam type="bool" name="newLine" default="FALSE"/> + </qmethod> + <qmethod name="addToolBar" access="public" return="void" id="1"> + <qparam type="QDockWindow*" name="arg1"/> + <qparam type="QStringamp" name="label"/> + <qparam type="Dock" name="arg2" default="DockTop"/> + <qparam type="bool" name="newLine" default="FALSE"/> + </qmethod> + <qmethod name="moveToolBar" access="public" return="void" id="0"> + <qparam type="QDockWindow*" name="arg1"/> + <qparam type="Dock" name="arg2" default="DockTop"/> + </qmethod> + <qmethod name="moveToolBar" access="public" return="void" id="1"> + <qparam type="QDockWindow*" name="arg1"/> + <qparam type="Dock" name="arg2"/> + <qparam type="bool" name="nl"/> + <qparam type="int" name="index"/> + <qparam type="int" name="extraOffset" default="-1"/> + </qmethod> + <qmethod name="removeToolBar" access="public" return="void" id="0"> + <qparam type="QDockWindow*" name="arg1"/> + </qmethod> + <qmethod name="toolBarsMovable" access="public" return="bool" id="0"/> + <qmethod name="lineUpToolBars" access="public" return="void" id="0"> + <qparam type="bool" name="keepNewLines" default="FALSE"/> + </qmethod> + <qmethod name="dockingArea" access="public" return="QDockArea*" id="0"> + <qparam type="QPointamp" name="p"/> + </qmethod> + <qmethod name="leftDock" access="public" return="QDockArea*" id="0"/> + <qmethod name="rightDock" access="public" return="QDockArea*" id="0"/> + <qmethod name="topDock" access="public" return="QDockArea*" id="0"/> + <qmethod name="bottomDock" access="public" return="QDockArea*" id="0"/> + <qmethod name="isCustomizable" access="public" return="bool" id="0"/> + <qmethod name="appropriate" access="public" return="bool" id="0"> + <qparam type="QDockWindow*" name="dw"/> + </qmethod> + <qmethod name="createDockWindowMenu" access="public" return="QPopupMenu*" +id="0"> + <qparam type="DockWindows" name="dockWindows" default="AllDockWindows"/> + </qmethod> + <qmethod name="setRightJustification" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setUsesBigPixmaps" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setUsesTextLabel" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setDockWindowsMovable" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setOpaqueMoving" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setDockMenuEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="whatsThis" access="public" return="void" id="0"/> + <qmethod name="setAppropriate" access="public" return="void" id="0"> + <qparam type="QDockWindow*" name="dw"/> + <qparam type="bool" name="a"/> + </qmethod> + <qmethod name="customize" access="public" return="void" id="0"/> + <qmethod name="setToolBarsMovable" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_event" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="arg1"/> + </qmethod> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_setUpLayout" access="protected" return="void" id="0"/> + <qmethod name="protected_showDockMenu" access="protected" return="bool" id="0"> + <qparam type="QPointamp" name="globalPos"/> + </qmethod> + <qmethod name="protected_menuAboutToShow" access="protected" return="void" +id="0"/> +</qtype> <qtype name="QMap" access="public"> +/** + API + +*/ + + <qctor name="QMap" access="public" id="0"/> + <qdctor name="QMap" access="public"/> + <qmethod name="begin" access="public" return="iterator" id="0"/> + <qmethod name="end" access="public" return="iterator" id="0"/> + <qmethod name="begin" access="public" return="_iterator" id="1"/> + <qmethod name="end" access="public" return="_iterator" id="1"/> + <qmethod name="replace" access="public" return="iterator" id="0"> + <qparam type="Keyamp" name="k"/> + <qparam type="Tamp" name="v"/> + </qmethod> + <qmethod name="size" access="public" return="size_type" id="0"/> + <qmethod name="empty" access="public" return="bool" id="0"/> + <qmethod name="erase" access="public" return="void" id="0"> + <qparam type="iterator" name="it"/> + </qmethod> + <qmethod name="erase" access="public" return="void" id="1"> + <qparam type="key_typeamp" name="k"/> + </qmethod> + <qmethod name="count" access="public" return="size_type" id="0"> + <qparam type="key_typeamp" name="k"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="find" access="public" return="iterator" id="0"> + <qparam type="Keyamp" name="k"/> + </qmethod> + <qmethod name="find" access="public" return="_iterator" id="1"> + <qparam type="Keyamp" name="k"/> + </qmethod> + <qmethod name="contains" access="public" return="bool" id="0"> + <qparam type="Keyamp" name="k"/> + </qmethod> + <qmethod name="count" access="public" return="size_type" id="1"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="insert" access="public" return="iterator" id="1"> + <qparam type="Keyamp" name="key"/> + <qparam type="Tamp" name="value"/> + <qparam type="bool" name="overwrite" default="TRUE"/> + </qmethod> + <qmethod name="remove" access="public" return="void" id="0"> + <qparam type="iterator" name="it"/> + </qmethod> + <qmethod name="remove" access="public" return="void" id="1"> + <qparam type="Keyamp" name="k"/> + </qmethod> +/** + Helpers + +*/ + + <qmethod name="protected_detach" access="protected" return="void" id="0"/> +</qtype> <qtype name="QMapConstIterator" access="public"> +/** + Functions + +*/ + + <qctor name="QMapConstIterator" access="public" id="0"/> + <qmethod name="key" access="public" return="Kamp" id="0"/> + <qmethod name="data" access="public" return="Tamp" id="0"/> +</qtype> <qtype name="QMapIterator" access="public"> +/** + Functions + +*/ + + <qctor name="QMapIterator" access="public" id="0"/> + <qmethod name="key" access="public" return="Kamp" id="0"/> + <qmethod name="data" access="public" return="Tamp" id="0"/> + <qmethod name="data" access="public" return="Tamp" id="1"/> +</qtype> <qtype name="QMapNode" access="public"> + <qancestor name="QMapNodeBase"/> + <qctor name="QMapNode" access="public" id="0"> + <qparam type="Kamp" name="_key"/> + <qparam type="Tamp" name="_data"/> + </qctor> + <qctor name="QMapNode" access="public" id="1"> + <qparam type="Kamp" name="_key"/> + </qctor> + <qctor name="QMapNode" access="public" id="3"/> +</qtype> <qtype name="QMapNodeBase" access="public"> + <qenum name="Color" access="public"> + <qitem name="Red" value="0"/> + <qitem name="Black" value="1"/> + </qenum> + <qmethod name="minimum" access="public" return="QMapNodeBase*" id="0"/> + <qmethod name="maximum" access="public" return="QMapNodeBase*" id="0"/> +</qtype> <qtype name="QMapPrivate" access="public"> + <qancestor name="QMapPrivateBase"/> +/** + Functions + +*/ + + <qctor name="QMapPrivate" access="public" id="0"/> + <qdctor name="QMapPrivate" access="public"/> + <qmethod name="copy" access="public" return="NodePtr" id="0"> + <qparam type="NodePtr" name="p"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="clear" access="public" return="void" id="1"> + <qparam type="NodePtr" name="p"/> + </qmethod> + <qmethod name="begin" access="public" return="Iterator" id="0"/> + <qmethod name="end" access="public" return="Iterator" id="0"/> + <qmethod name="begin" access="public" return="ConstIterator" id="1"/> + <qmethod name="end" access="public" return="ConstIterator" id="1"/> + <qmethod name="find" access="public" return="ConstIterator" id="0"> + <qparam type="Keyamp" name="k"/> + </qmethod> + <qmethod name="remove" access="public" return="void" id="0"> + <qparam type="Iterator" name="it"/> + </qmethod> + <qmethod name="inorder" access="public" return="void" id="0"> + <qparam type="QMapNodeBase*" name="x" default="0"/> + <qparam type="int" name="level" default="0"/> + </qmethod> + <qmethod name="insertMulti" access="public" return="Iterator" id="0"> + <qparam type="Keyamp" name="v"/> + </qmethod> + <qmethod name="insertSingle" access="public" return="Iterator" id="0"> + <qparam type="Keyamp" name="k"/> + </qmethod> + <qmethod name="insert" access="public" return="Iterator" id="0"> + <qparam type="QMapNodeBase*" name="x"/> + <qparam type="QMapNodeBase*" name="y"/> + <qparam type="Keyamp" name="k"/> + </qmethod> +/** + Helpers + +*/ + + <qmethod name="protected_key" access="protected" return="Keyamp" id="0"> + <qparam type="QMapNodeBase*" name="b"/> + </qmethod> +</qtype> <qtype name="QMapPrivateBase" access="public"> + <qancestor name="QShared"/> + <qctor name="QMapPrivateBase" access="public" id="0"/> + <qctor name="QMapPrivateBase" access="public" id="1"> + <qparam type="QMapPrivateBase*" name="_map"/> + </qctor> +/** + Implementations of basic tree algorithms + +*/ + + <qmethod name="rotateLeft" access="public" return="void" id="0"> + <qparam type="QMapNodeBase*" name="x"/> + <qparam type="QMapNodeBase*amp" name="root"/> + </qmethod> + <qmethod name="rotateRight" access="public" return="void" id="0"> + <qparam type="QMapNodeBase*" name="x"/> + <qparam type="QMapNodeBase*amp" name="root"/> + </qmethod> + <qmethod name="rebalance" access="public" return="void" id="0"> + <qparam type="QMapNodeBase*" name="x"/> + <qparam type="QMapNodeBase*amp" name="root"/> + </qmethod> + <qmethod name="removeAndRebalance" access="public" return="QMapNodeBase*" +id="0"> + <qparam type="QMapNodeBase*" name="z"/> + <qparam type="QMapNodeBase*amp" name="root"/> + <qparam type="QMapNodeBase*amp" name="leftmost"/> + <qparam type="QMapNodeBase*amp" name="rightmost"/> + </qmethod> +</qtype> <qtype name="QMemArray" access="public"> + <qancestor name="QGArray"/> + <qctor name="QMemArray" access="public" id="0"/> + <qctor name="QMemArray" access="public" id="1"> + <qparam type="int" name="size"/> + </qctor> + <qdctor name="QMemArray" access="public"/> + <qmethod name="data" access="public" return="type*" id="0" throttle="true"/> + <qmethod name="nrefs" access="public" return="uint" id="0"/> + <qmethod name="size" access="public" return="uint" id="0"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="resize" access="public" return="bool" id="0"> + <qparam type="uint" name="size"/> + </qmethod> + <qmethod name="truncate" access="public" return="bool" id="0"> + <qparam type="uint" name="pos"/> + </qmethod> + <qmethod name="fill" access="public" return="bool" id="0"> + <qparam type="typeamp" name="d"/> + <qparam type="int" name="size" default="-1"/> + </qmethod> + <qmethod name="detach" access="public" return="void" id="0"/> + <qmethod name="resetRawData" access="public" return="void" id="0"> + <qparam type="type*" name="a"/> + <qparam type="uint" name="n"/> + </qmethod> + <qmethod name="find" access="public" return="int" id="0"> + <qparam type="typeamp" name="d"/> + <qparam type="uint" name="i" default="0"/> + </qmethod> + <qmethod name="contains" access="public" return="int" id="0"> + <qparam type="typeamp" name="d"/> + </qmethod> + <qmethod name="sort" access="public" return="void" id="0"/> + <qmethod name="bsearch" access="public" return="int" id="0"> + <qparam type="typeamp" name="d"/> + </qmethod> + <qmethod name="at" access="public" return="typeamp" id="0" throttle="true"> + <qparam type="uint" name="i"/> + </qmethod> + <qmethod name="begin" access="public" return="Iterator" id="0"/> + <qmethod name="end" access="public" return="Iterator" id="0"/> + <qmethod name="begin" access="public" return="ConstIterator" id="1"/> + <qmethod name="end" access="public" return="ConstIterator" id="1"/> + <qctor name="QMemArray" access="protected" id="3"> + <qparam type="int" name="arg1"/> + <qparam type="int" name="arg2"/> + </qctor> +</qtype> <qtype name="QMenuBar" access="public"> + <qancestor name="QFrame"/> + <qancestor name="QMenuData"/> + <qenum name="Separator" access="public"> + <qitem name="Never" value="0"/> + <qitem name="InWindowsStyle" value="1"/> + </qenum> + <qctor name="QMenuBar" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QMenuBar" access="public"/> + <qmethod name="updateItem" access="public" return="void" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="hide" access="public" return="void" id="0"/> + <qmethod name="eventFilter" access="public" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> + <qmethod name="heightForWidth" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="separator" access="public" return="Separator" id="0"/> + <qmethod name="setSeparator" access="public" return="void" id="0"> + <qparam type="Separator" name="when"/> + </qmethod> + <qmethod name="setDefaultUp" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isDefaultUp" access="public" return="bool" id="0"/> + <qmethod name="customWhatsThis" access="public" return="bool" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSize" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="activateItemAt" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="initialize" access="public static" return="void" id="0"/> + <qmethod name="cleanup" access="public static" return="void" id="0"/> + <qmethod name="protected_drawContents" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_fontChange" access="protected" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="protected_menuContentsChanged" access="protected" return="void" +id="0"/> + <qmethod name="protected_menuStateChanged" access="protected" return="void" +id="0"/> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_itemAtPos" access="protected" return="int" id="0"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="protected_hidePopups" access="protected" return="void" id="0"/> + <qmethod name="protected_itemRect" access="protected" return="QRect" id="0"> + <qparam type="int" name="item"/> + </qmethod> +</qtype> <qtype name="QMenuData" access="public"> + <qctor name="QMenuData" access="public" id="0"/> + <qdctor name="QMenuData" access="public"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="insertItem" access="public" return="int" id="0"> + <qparam type="QStringamp" name="text"/> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + <qparam type="QKeySequenceamp" name="accel" default="0"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="int" id="1"> + <qparam type="QIconSetamp" name="icon"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + <qparam type="QKeySequenceamp" name="accel" default="0"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="int" id="2"> + <qparam type="QPixmapamp" name="pixmap"/> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + <qparam type="QKeySequenceamp" name="accel" default="0"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="int" id="3"> + <qparam type="QIconSetamp" name="icon"/> + <qparam type="QPixmapamp" name="pixmap"/> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + <qparam type="QKeySequenceamp" name="accel" default="0"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="int" id="4"> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="int" id="5"> + <qparam type="QIconSetamp" name="icon"/> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="int" id="6"> + <qparam type="QStringamp" name="text"/> + <qparam type="QPopupMenu*" name="popup"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="int" id="7"> + <qparam type="QIconSetamp" name="icon"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QPopupMenu*" name="popup"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="int" id="8"> + <qparam type="QPixmapamp" name="pixmap"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="int" id="9"> + <qparam type="QIconSetamp" name="icon"/> + <qparam type="QPixmapamp" name="pixmap"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="int" id="10"> + <qparam type="QPixmapamp" name="pixmap"/> + <qparam type="QPopupMenu*" name="popup"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="int" id="11"> + <qparam type="QIconSetamp" name="icon"/> + <qparam type="QPixmapamp" name="pixmap"/> + <qparam type="QPopupMenu*" name="popup"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="int" id="12"> + <qparam type="QWidget*" name="widget"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="int" id="13"> + <qparam type="QIconSetamp" name="icon"/> + <qparam type="QCustomMenuItem*" name="custom"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertItem" access="public" return="int" id="14"> + <qparam type="QCustomMenuItem*" name="custom"/> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertSeparator" access="public" return="int" id="0"> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="removeItem" access="public" return="void" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="removeItemAt" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="accel" access="public" return="QKeySequence" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="setAccel" access="public" return="void" id="0"> + <qparam type="QKeySequenceamp" name="key"/> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="iconSet" access="public" return="QIconSet*" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="text" access="public" return="QString" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="pixmap" access="public" return="QPixmap*" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="setWhatsThis" access="public" return="void" id="0"> + <qparam type="int" name="identifier"/> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="whatsThis" access="public" return="QString" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="changeItem" access="public" return="void" id="0"> + <qparam type="int" name="identifier"/> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="changeItem" access="public" return="void" id="1"> + <qparam type="int" name="identifier"/> + <qparam type="QPixmapamp" name="pixmap"/> + </qmethod> + <qmethod name="changeItem" access="public" return="void" id="2"> + <qparam type="int" name="identifier"/> + <qparam type="QIconSetamp" name="icon"/> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="changeItem" access="public" return="void" id="3"> + <qparam type="int" name="identifier"/> + <qparam type="QIconSetamp" name="icon"/> + <qparam type="QPixmapamp" name="pixmap"/> + </qmethod> + <qmethod name="changeItem" access="public" return="void" id="4"> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="changeItem" access="public" return="void" id="5"> + <qparam type="QPixmapamp" name="pixmap"/> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="changeItem" access="public" return="void" id="6"> + <qparam type="QIconSetamp" name="icon"/> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="isItemActive" access="public" return="bool" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="isItemEnabled" access="public" return="bool" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="setItemEnabled" access="public" return="void" id="0"> + <qparam type="int" name="identifier"/> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="isItemChecked" access="public" return="bool" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="setItemChecked" access="public" return="void" id="0"> + <qparam type="int" name="identifier"/> + <qparam type="bool" name="check"/> + </qmethod> + <qmethod name="updateItem" access="public" return="void" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="indexOf" access="public" return="int" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="idAt" access="public" return="int" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="setId" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="connectItem" access="public" return="bool" id="0"> + <qparam type="int" name="identifier"/> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + </qmethod> + <qmethod name="disconnectItem" access="public" return="bool" id="0"> + <qparam type="int" name="identifier"/> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + </qmethod> + <qmethod name="setItemParameter" access="public" return="bool" id="0"> + <qparam type="int" name="identifier"/> + <qparam type="int" name="param"/> + </qmethod> + <qmethod name="itemParameter" access="public" return="int" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="findItem" access="public" return="QMenuItem*" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="findItem" access="public" return="QMenuItem*" id="1"> + <qparam type="int" name="identifier"/> + <qparam type="QMenuData**" name="parent"/> + </qmethod> + <qmethod name="findPopup" access="public" return="QMenuItem*" id="0"> + <qparam type="QPopupMenu*" name="arg1"/> + <qparam type="int*" name="index" default="0"/> + </qmethod> + <qmethod name="activateItemAt" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="protected_menuContentsChanged" access="protected" return="void" +id="0"/> + <qmethod name="protected_menuStateChanged" access="protected" return="void" +id="0"/> + <qmethod name="protected_menuInsPopup" access="protected" return="void" id="0"> + <qparam type="QPopupMenu*" name="arg1"/> + </qmethod> + <qmethod name="protected_menuDelPopup" access="protected" return="void" id="0"> + <qparam type="QPopupMenu*" name="arg1"/> + </qmethod> +</qtype> <qtype name="QMenuItem" access="public"> + <qctor name="QMenuItem" access="public" id="0"/> + <qdctor name="QMenuItem" access="public"/> + <qmethod name="id" access="public" return="int" id="0"/> + <qmethod name="iconSet" access="public" return="QIconSet*" id="0"/> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="whatsThis" access="public" return="QString" id="0"/> + <qmethod name="pixmap" access="public" return="QPixmap*" id="0"/> + <qmethod name="popup" access="public" return="QPopupMenu*" id="0"/> + <qmethod name="widget" access="public" return="QWidget*" id="0"/> + <qmethod name="custom" access="public" return="QCustomMenuItem*" id="0"/> + <qmethod name="key" access="public" return="QKeySequence" id="0"/> + <qmethod name="signal" access="public" return="QSignal*" id="0"/> + <qmethod name="isSeparator" access="public" return="bool" id="0"/> + <qmethod name="isEnabled" access="public" return="bool" id="0"/> + <qmethod name="isChecked" access="public" return="bool" id="0"/> + <qmethod name="isDirty" access="public" return="bool" id="0"/> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="setDirty" access="public" return="void" id="0"> + <qparam type="bool" name="dirty"/> + </qmethod> + <qmethod name="setWhatsThis" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + </qmethod> +</qtype> <qtype name="QMessageBox" access="public"> + <qancestor name="QDialog"/> + <qenum name="Icon" access="public"> + <qitem name="NoIcon" value="0"/> + <qitem name="Information" value="1"/> + <qitem name="Warning" value="2"/> + <qitem name="Critical" value="3"/> + </qenum> + <qenum name="ButtonType" access="public"> + <qitem name="NoButton" value="0"/> + <qitem name="Ok" value="1"/> + <qitem name="Cancel" value="2"/> + <qitem name="Yes" value="3"/> + <qitem name="No" value="4"/> + <qitem name="Abort" value="5"/> + <qitem name="Retry" value="6"/> + <qitem name="Ignore" value="7"/> + <qitem name="ButtonMask" value="7"/> + <qitem name="Default" value="256"/> + <qitem name="Escape" value="512"/> + <qitem name="FlagMask" value="768"/> + </qenum> + <qctor name="QMessageBox" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QMessageBox" access="public" id="1"> + <qparam type="QStringamp" name="caption"/> + <qparam type="QStringamp" name="text"/> + <qparam type="Icon" name="icon"/> + <qparam type="ButtonType" name="button0"/> + <qparam type="ButtonType" name="button1"/> + <qparam type="int" name="button2"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="bool" name="modal" default="TRUE"/> + <qparam type="WFlags" name="f" default="WStyle_DialogBorder"/> + </qctor> + <qdctor name="QMessageBox" access="public"/> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="icon" access="public" return="Icon" id="0" throttle="true"/> + <qmethod name="setIcon" access="public" return="void" id="0"> + <qparam type="Icon" name="arg1"/> + </qmethod> + <qmethod name="setIcon" access="public" return="void" id="1"> + <qparam type="QPixmapamp" name="arg1"/> + </qmethod> + <qmethod name="iconPixmap" access="public" return="QPixmap*" id="0"/> + <qmethod name="setIconPixmap" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="arg1"/> + </qmethod> + <qmethod name="buttonText" access="public" return="QString" id="0"> + <qparam type="int" name="button"/> + </qmethod> + <qmethod name="setButtonText" access="public" return="void" id="0"> + <qparam type="int" name="button"/> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="adjustSize" access="public" return="void" id="0"/> + <qmethod name="textFormat" access="public" return="TextFormat" id="0"/> + <qmethod name="setTextFormat" access="public" return="void" id="0"> + <qparam type="TextFormat" name="arg1"/> + </qmethod> + <qmethod name="information" access="public static" return="int" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="QStringamp" name="caption"/> + <qparam type="QStringamp" name="text"/> + <qparam type="ButtonType" name="button0"/> + <qparam type="ButtonType" name="button1" default="0"/> + <qparam type="ButtonType" name="button2" default="0"/> + </qmethod> + <qmethod name="information" access="public static" return="int" id="1"> + <qparam type="QWidget*" name="parent"/> + <qparam type="QStringamp" name="caption"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QStringamp" name="button0Text" default="QString::null"/> + <qparam type="QStringamp" name="button1Text" default="QString::null"/> + <qparam type="QStringamp" name="button2Text" default="QString::null"/> + <qparam type="int" name="defaultButtonNumber" default="0"/> + <qparam type="int" name="escapeButtonNumber" default="-1"/> + </qmethod> + <qmethod name="warning" access="public static" return="int" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="QStringamp" name="caption"/> + <qparam type="QStringamp" name="text"/> + <qparam type="ButtonType" name="button0"/> + <qparam type="ButtonType" name="button1"/> + <qparam type="ButtonType" name="button2" default="0"/> + </qmethod> + <qmethod name="warning" access="public static" return="int" id="1"> + <qparam type="QWidget*" name="parent"/> + <qparam type="QStringamp" name="caption"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QStringamp" name="button0Text" default="QString::null"/> + <qparam type="QStringamp" name="button1Text" default="QString::null"/> + <qparam type="QStringamp" name="button2Text" default="QString::null"/> + <qparam type="int" name="defaultButtonNumber" default="0"/> + <qparam type="int" name="escapeButtonNumber" default="-1"/> + </qmethod> + <qmethod name="critical" access="public static" return="int" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="QStringamp" name="caption"/> + <qparam type="QStringamp" name="text"/> + <qparam type="ButtonType" name="button0"/> + <qparam type="ButtonType" name="button1"/> + <qparam type="ButtonType" name="button2" default="0"/> + </qmethod> + <qmethod name="critical" access="public static" return="int" id="1"> + <qparam type="QWidget*" name="parent"/> + <qparam type="QStringamp" name="caption"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QStringamp" name="button0Text" default="QString::null"/> + <qparam type="QStringamp" name="button1Text" default="QString::null"/> + <qparam type="QStringamp" name="button2Text" default="QString::null"/> + <qparam type="int" name="defaultButtonNumber" default="0"/> + <qparam type="int" name="escapeButtonNumber" default="-1"/> + </qmethod> + <qmethod name="about" access="public static" return="void" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="QStringamp" name="caption"/> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="aboutQt" access="public static" return="void" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="QStringamp" name="caption" default="QString::null"/> + </qmethod> + <qmethod name="message" access="public static" return="int" id="0"> + <qparam type="QStringamp" name="caption"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QStringamp" name="buttonText" default="QString::null"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="arg1" default="0"/> + </qmethod> + <qmethod name="query" access="public static" return="bool" id="0"> + <qparam type="QStringamp" name="caption"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QStringamp" name="yesButtonText" default="QString::null"/> + <qparam type="QStringamp" name="noButtonText" default="QString::null"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="arg1" default="0"/> + </qmethod> + <qmethod name="standardIcon" access="public static" return="QPixmap" id="0"> + <qparam type="Icon" name="icon"/> + <qparam type="GUIStyle" name="arg1"/> + </qmethod> + <qmethod name="standardIcon" access="public static" return="QPixmap" id="1"> + <qparam type="Icon" name="icon"/> + </qmethod> + <qmethod name="protected_styleChanged" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QMetaData" access="public"> + <qenum name="Access" access="public"> + <qitem name="Private" value="0"/> + <qitem name="Protected" value="1"/> + <qitem name="Public" value="2"/> + </qenum> +</qtype> <qtype name="QMetaEnum" access="public"> +</qtype> <qtype name="Item" access="public"> +</qtype> <qtype name="QMetaObject" access="public"> + <qctor name="QMetaObject" access="public" id="0"> + <qparam type="char*" name="class_name"/> + <qparam type="QMetaObject*" name="superclass"/> + <qparam type="QMetaData*" name="slot_data"/> + <qparam type="int" name="n_slots"/> + <qparam type="QMetaData*" name="signal_data"/> + <qparam type="int" name="n_signals"/> + <qparam type="QMetaProperty*" name="prop_data"/> + <qparam type="int" name="n_props"/> + <qparam type="QMetaEnum*" name="enum_data"/> + <qparam type="int" name="n_enums"/> + <qparam type="QClassInfo*" name="class_info"/> + <qparam type="int" name="n_info"/> + </qctor> + <qdctor name="QMetaObject" access="public"/> + <qmethod name="className" access="public" return="char*" id="0"/> + <qmethod name="superClassName" access="public" return="char*" id="0"/> + <qmethod name="superClass" access="public" return="QMetaObject*" id="0"/> + <qmethod name="inherits" access="public" return="bool" id="0"> + <qparam type="char*" name="clname"/> + </qmethod> + <qmethod name="numSlots" access="public" return="int" id="0"> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="numSignals" access="public" return="int" id="0"> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="findSlot" access="public" return="int" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="findSignal" access="public" return="int" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="slot" access="public" return="QMetaData*" id="0"> + <qparam type="int" name="index"/> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="signal" access="public" return="QMetaData*" id="0"> + <qparam type="int" name="index"/> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="slotNames" access="public" return="QStrList" id="0"> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="signalNames" access="public" return="QStrList" id="0"> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="slotOffset" access="public" return="int" id="0"/> + <qmethod name="signalOffset" access="public" return="int" id="0"/> + <qmethod name="propertyOffset" access="public" return="int" id="0"/> + <qmethod name="numClassInfo" access="public" return="int" id="0"> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="classInfo" access="public" return="QClassInfo*" id="0"> + <qparam type="int" name="index"/> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="classInfo" access="public" return="char*" id="1"> + <qparam type="char*" name="name"/> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="property" access="public" return="QMetaProperty*" id="0"> + <qparam type="int" name="index"/> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="findProperty" access="public" return="int" id="0"> + <qparam type="char*" name="name"/> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="indexOfProperty" access="public" return="int" id="0"> + <qparam type="QMetaProperty*" name="arg1"/> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="resolveProperty" access="public" return="QMetaProperty*" id="0"> + <qparam type="QMetaProperty*" name="arg1"/> + </qmethod> + <qmethod name="resolveProperty" access="public" return="int" id="1"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="propertyNames" access="public" return="QStrList" id="0"> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="numProperties" access="public" return="int" id="0"> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="enumerator" access="public" return="QMetaEnum*" id="0"> + <qparam type="char*" name="name"/> + <qparam type="bool" name="super" default="FALSE"/> + </qmethod> + <qmethod name="metaObject" access="public static" return="QMetaObject*" id="0"> + <qparam type="char*" name="class_name"/> + </qmethod> +</qtype> <qtype name="QMetaObjectCleanUp" access="public"> + <qctor name="QMetaObjectCleanUp" access="public" id="0"/> + <qdctor name="QMetaObjectCleanUp" access="public"/> + <qmethod name="setMetaObject" access="public" return="void" id="0"> + <qparam type="QMetaObject*amp" name="mo"/> + </qmethod> +</qtype> <qtype name="QMetaProperty" access="public"> + <qenum name="Flags" access="public"> + <qitem name="Invalid" value="0"/> + <qitem name="Readable" value="1"/> + <qitem name="Writable" value="2"/> + <qitem name="EnumOrSet" value="4"/> + <qitem name="StdSet" value="256"/> + <qitem name="Override" value="512"/> + </qenum> + <qmethod name="type" access="public" return="char*" id="0"/> + <qmethod name="name" access="public" return="char*" id="0"/> + <qmethod name="writable" access="public" return="bool" id="0"/> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="isSetType" access="public" return="bool" id="0"/> + <qmethod name="isEnumType" access="public" return="bool" id="0"/> + <qmethod name="enumKeys" access="public" return="QStrList" id="0"/> + <qmethod name="keyToValue" access="public" return="int" id="0"> + <qparam type="char*" name="key"/> + </qmethod> + <qmethod name="valueToKey" access="public" return="char*" id="0"> + <qparam type="int" name="value"/> + </qmethod> + <qmethod name="keysToValue" access="public" return="int" id="0"> + <qparam type="QStrListamp" name="keys"/> + </qmethod> + <qmethod name="valueToKeys" access="public" return="QStrList" id="0"> + <qparam type="int" name="value"/> + </qmethod> + <qmethod name="designable" access="public" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + </qmethod> + <qmethod name="scriptable" access="public" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + </qmethod> + <qmethod name="stored" access="public" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + </qmethod> + <qmethod name="reset" access="public" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + </qmethod> + <qmethod name="testFlags" access="public" return="bool" id="0"> + <qparam type="uint" name="f"/> + </qmethod> + <qmethod name="stdSet" access="public" return="bool" id="0"/> + <qmethod name="id" access="public" return="int" id="0"/> + <qmethod name="clear" access="public" return="void" id="0"/> +</qtype> <qtype name="QMimeSource" access="public"> + <qdctor name="QMimeSource" access="public"/> + <qmethod name="format" access="public" return="char*" id="0"> + <qparam type="int" name="n" default="0"/> + </qmethod> + <qmethod name="provides" access="public" return="bool" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="encodedData" access="public" return="QByteArray" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="serialNumber" access="public" return="int" id="0"/> +</qtype> <qtype name="QMimeSourceFactory" access="public"> + <qctor name="QMimeSourceFactory" access="public" id="0"/> + <qdctor name="QMimeSourceFactory" access="public"/> + <qmethod name="data" access="public" return="QMimeSource*" id="0"> + <qparam type="QStringamp" name="abs_name"/> + </qmethod> + <qmethod name="makeAbsolute" access="public" return="QString" id="0"> + <qparam type="QStringamp" name="abs_or_rel_name"/> + <qparam type="QStringamp" name="context"/> + </qmethod> + <qmethod name="data" access="public" return="QMimeSource*" id="1"> + <qparam type="QStringamp" name="abs_or_rel_name"/> + <qparam type="QStringamp" name="context"/> + </qmethod> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="abs_name"/> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="setImage" access="public" return="void" id="0"> + <qparam type="QStringamp" name="abs_name"/> + <qparam type="QImageamp" name="im"/> + </qmethod> + <qmethod name="setPixmap" access="public" return="void" id="0"> + <qparam type="QStringamp" name="abs_name"/> + <qparam type="QPixmapamp" name="pm"/> + </qmethod> + <qmethod name="setData" access="public" return="void" id="0"> + <qparam type="QStringamp" name="abs_name"/> + <qparam type="QMimeSource*" name="data"/> + </qmethod> + <qmethod name="setFilePath" access="public" return="void" id="0"> + <qparam type="QStringListamp" name="arg1"/> + </qmethod> + <qmethod name="filePath" access="public" return="QStringList" id="0"/> + <qmethod name="addFilePath" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setExtensionType" access="public" return="void" id="0"> + <qparam type="QStringamp" name="ext"/> + <qparam type="char*" name="mimetype"/> + </qmethod> + <qmethod name="defaultFactory" access="public static" +return="QMimeSourceFactory*" id="0"/> + <qmethod name="setDefaultFactory" access="public static" return="void" id="0"> + <qparam type="QMimeSourceFactory*" name="arg1"/> + </qmethod> + <qmethod name="takeDefaultFactory" access="public static" +return="QMimeSourceFactory*" +id="0"/> + <qmethod name="addFactory" access="public static" return="void" id="0"> + <qparam type="QMimeSourceFactory*" name="f"/> + </qmethod> + <qmethod name="removeFactory" access="public static" return="void" id="0"> + <qparam type="QMimeSourceFactory*" name="f"/> + </qmethod> +</qtype> <qtype name="QMotifPlusStyle" access="public"> + <qancestor name="QMotifStyle"/> + <qctor name="QMotifPlusStyle" access="public" id="0"> + <qparam type="bool" name="hoveringHighlight" default="FALSE"/> + </qctor> + <qdctor name="QMotifPlusStyle" access="public"/> + <qmethod name="polish" access="public" return="void" id="0"> + <qparam type="QPaletteamp" name="pal"/> + </qmethod> + <qmethod name="polish" access="public" return="void" id="1"> + <qparam type="QWidget*" name="widget"/> + </qmethod> + <qmethod name="unPolish" access="public" return="void" id="0"> + <qparam type="QWidget*" name="widget"/> + </qmethod> + <qmethod name="polish" access="public" return="void" id="2"> + <qparam type="QApplication*" name="app"/> + </qmethod> + <qmethod name="unPolish" access="public" return="void" id="1"> + <qparam type="QApplication*" name="app"/> + </qmethod> + <qmethod name="drawPrimitive" access="public" return="void" id="0"> + <qparam type="PrimitiveElement" name="pe"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="flags" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawControl" access="public" return="void" id="0"> + <qparam type="ControlElement" name="element"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="how" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="subRect" access="public" return="QRect" id="0"> + <qparam type="SubRect" name="r"/> + <qparam type="QWidget*" name="widget"/> + </qmethod> + <qmethod name="drawComplexControl" access="public" return="void" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="how" default="Style_Default"/> + <qparam type="SCFlags" name="controls" default="SC_All"/> + <qparam type="SCFlags" name="active" default="SC_None"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="querySubControlMetrics" access="public" return="QRect" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="SubControl" name="subcontrol"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="pixelMetric" access="public" return="int" id="0"> + <qparam type="PixelMetric" name="metric"/> + <qparam type="QWidget*" name="widget" default="0"/> + </qmethod> + <qmethod name="styleHint" access="public" return="int" id="0"> + <qparam type="StyleHint" name="sh"/> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QStyleOptionamp" name="arg2" default="QStyleOption::Default"/> + <qparam type="QStyleHintReturn*" name="arg3" default="0"/> + </qmethod> + <qmethod name="protected_eventFilter" access="protected" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> +</qtype> <qtype name="QMotifStyle" access="public"> + <qancestor name="QCommonStyle"/> + <qctor name="QMotifStyle" access="public" id="0"> + <qparam type="bool" name="useHighlightCols" default="FALSE"/> + </qctor> + <qdctor name="QMotifStyle" access="public"/> + <qmethod name="setUseHighlightColors" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="useHighlightColors" access="public" return="bool" id="0"/> + <qmethod name="polish" access="public" return="void" id="0"> + <qparam type="QPaletteamp" name="arg1"/> + </qmethod> + <qmethod name="polish" access="public" return="void" id="1"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="polish" access="public" return="void" id="2"> + <qparam type="QApplication*" name="arg1"/> + </qmethod> + <qmethod name="polishPopupMenu" access="public" return="void" id="0"> + <qparam type="QPopupMenu*" name="arg1"/> + </qmethod> + <qmethod name="drawPrimitive" access="public" return="void" id="0"> + <qparam type="PrimitiveElement" name="pe"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="flags" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawControl" access="public" return="void" id="0"> + <qparam type="ControlElement" name="element"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="how" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawComplexControl" access="public" return="void" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="how" default="Style_Default"/> + <qparam type="SCFlags" name="sub" default="SC_All"/> + <qparam type="SCFlags" name="subActive" default="SC_None"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="querySubControlMetrics" access="public" return="QRect" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="SubControl" name="sc"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="pixelMetric" access="public" return="int" id="0"> + <qparam type="PixelMetric" name="metric"/> + <qparam type="QWidget*" name="widget" default="0"/> + </qmethod> + <qmethod name="sizeFromContents" access="public" return="QSize" id="0"> + <qparam type="ContentsType" name="contents"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QSizeamp" name="contentsSize"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="subRect" access="public" return="QRect" id="0"> + <qparam type="SubRect" name="r"/> + <qparam type="QWidget*" name="widget"/> + </qmethod> + <qmethod name="stylePixmap" access="public" return="QPixmap" id="0"> + <qparam type="StylePixmap" name="arg1"/> + <qparam type="QWidget*" name="arg2" default="0"/> + <qparam type="QStyleOptionamp" name="arg3" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="styleHint" access="public" return="int" id="0"> + <qparam type="StyleHint" name="sh"/> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QStyleOptionamp" name="arg2" default="QStyleOption::Default"/> + <qparam type="QStyleHintReturn*" name="arg3" default="0"/> + </qmethod> +</qtype> <qtype name="QMouseEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QMouseEvent" access="public" id="0"> + <qparam type="Type" name="type"/> + <qparam type="QPointamp" name="pos"/> + <qparam type="int" name="button"/> + <qparam type="int" name="state"/> + </qctor> + <qctor name="QMouseEvent" access="public" id="1"> + <qparam type="Type" name="type"/> + <qparam type="QPointamp" name="pos"/> + <qparam type="QPointamp" name="globalPos"/> + <qparam type="int" name="button"/> + <qparam type="int" name="state"/> + </qctor> + <qmethod name="pos" access="public" return="QPointamp" id="0"/> + <qmethod name="globalPos" access="public" return="QPointamp" id="0"/> + <qmethod name="x" access="public" return="int" id="0"/> + <qmethod name="y" access="public" return="int" id="0"/> + <qmethod name="globalX" access="public" return="int" id="0"/> + <qmethod name="globalY" access="public" return="int" id="0"/> + <qmethod name="button" access="public" return="ButtonState" id="0"/> + <qmethod name="state" access="public" return="ButtonState" id="0"/> + <qmethod name="stateAfter" access="public" return="ButtonState" id="0"/> + <qmethod name="isAccepted" access="public" return="bool" id="0"/> + <qmethod name="accept" access="public" return="void" id="0"/> + <qmethod name="ignore" access="public" return="void" id="0"/> +</qtype> <qtype name="QMoveEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QMoveEvent" access="public" id="0"> + <qparam type="QPointamp" name="pos"/> + <qparam type="QPointamp" name="oldPos"/> + </qctor> + <qmethod name="pos" access="public" return="QPointamp" id="0"/> + <qmethod name="oldPos" access="public" return="QPointamp" id="0"/> +</qtype> <qtype name="QMovie" access="public"> + <qenum name="Status" access="public"> + <qitem name="SourceEmpty" value="-2"/> + <qitem name="UnrecognizedFormat" value="-1"/> + <qitem name="Paused" value="1"/> + <qitem name="EndOfFrame" value="2"/> + <qitem name="EndOfLoop" value="3"/> + <qitem name="EndOfMovie" value="4"/> + <qitem name="SpeedChanged" value="5"/> + </qenum> + <qctor name="QMovie" access="public" id="0"/> + <qctor name="QMovie" access="public" id="1"> + <qparam type="int" name="bufsize"/> + </qctor> + <qctor name="QMovie" access="public" id="2"> + <qparam type="QDataSource*" name="arg1"/> + <qparam type="int" name="bufsize" default="1024"/> + </qctor> + <qctor name="QMovie" access="public" id="3"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="int" name="bufsize" default="1024"/> + </qctor> + <qctor name="QMovie" access="public" id="4"> + <qparam type="QByteArray" name="data"/> + <qparam type="int" name="bufsize" default="1024"/> + </qctor> + <qctor name="QMovie" access="public" id="5"> + <qparam type="QMovieamp" name="arg1"/> + </qctor> + <qdctor name="QMovie" access="public"/> + <qmethod name="pushSpace" access="public" return="int" id="0"/> + <qmethod name="pushData" access="public" return="void" id="0"> + <qparam type="uchar*" name="data"/> + <qparam type="int" name="length"/> + </qmethod> + <qmethod name="backgroundColor" access="public" return="QColoramp" id="0"/> + <qmethod name="setBackgroundColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="arg1"/> + </qmethod> + <qmethod name="getValidRect" access="public" return="QRectamp" id="0"/> + <qmethod name="framePixmap" access="public" return="QPixmapamp" id="0"/> + <qmethod name="frameImage" access="public" return="QImageamp" id="0"/> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="frameNumber" access="public" return="int" id="0"/> + <qmethod name="steps" access="public" return="int" id="0"/> + <qmethod name="paused" access="public" return="bool" id="0"/> + <qmethod name="finished" access="public" return="bool" id="0"/> + <qmethod name="running" access="public" return="bool" id="0"/> + <qmethod name="unpause" access="public" return="void" id="0"/> + <qmethod name="pause" access="public" return="void" id="0"/> + <qmethod name="step" access="public" return="void" id="0"/> + <qmethod name="step" access="public" return="void" id="1"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="restart" access="public" return="void" id="0"/> + <qmethod name="speed" access="public" return="int" id="0"/> + <qmethod name="setSpeed" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="connectResize" access="public" return="void" id="0"> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + </qmethod> + <qmethod name="disconnectResize" access="public" return="void" id="0"> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member" default="0"/> + </qmethod> + <qmethod name="connectUpdate" access="public" return="void" id="0"> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + </qmethod> + <qmethod name="disconnectUpdate" access="public" return="void" id="0"> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member" default="0"/> + </qmethod> + <qmethod name="setDisplayWidget" access="public" return="void" id="0"> + <qparam type="QWidget*" name="w"/> + </qmethod> + <qmethod name="connectStatus" access="public" return="void" id="0"> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + </qmethod> + <qmethod name="disconnectStatus" access="public" return="void" id="0"> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member" default="0"/> + </qmethod> +</qtype> <qtype name="QMultiLineEdit" access="public"> + <qancestor name="QTextEdit"/> + <qctor name="QMultiLineEdit" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QMultiLineEdit" access="public"/> + <qmethod name="textLine" access="public" return="QString" id="0"> + <qparam type="int" name="line"/> + </qmethod> + <qmethod name="numLines" access="public" return="int" id="0"/> + <qmethod name="insertLine" access="public" return="void" id="0"> + <qparam type="QStringamp" name="s"/> + <qparam type="int" name="line" default="-1"/> + </qmethod> + <qmethod name="insertAt" access="public" return="void" id="0"> + <qparam type="QStringamp" name="s"/> + <qparam type="int" name="line"/> + <qparam type="int" name="col"/> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="removeLine" access="public" return="void" id="0"> + <qparam type="int" name="line"/> + </qmethod> + <qmethod name="setCursorPosition" access="public" return="void" id="0"> + <qparam type="int" name="line"/> + <qparam type="int" name="col"/> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="atBeginning" access="public" return="bool" id="0"/> + <qmethod name="atEnd" access="public" return="bool" id="0"/> + <qmethod name="setAlignment" access="public" return="void" id="0"> + <qparam type="int" name="flags"/> + </qmethod> + <qmethod name="alignment" access="public" return="int" id="0"/> + <qmethod name="setEdited" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="edited" access="public" return="bool" id="0"/> + <qmethod name="hasMarkedText" access="public" return="bool" id="0"/> + <qmethod name="markedText" access="public" return="QString" id="0"/> + <qmethod name="cursorWordForward" access="public" return="void" id="0"> + <qparam type="bool" name="mark"/> + </qmethod> + <qmethod name="cursorWordBackward" access="public" return="void" id="0"> + <qparam type="bool" name="mark"/> + </qmethod> + <qmethod name="autoUpdate" access="public" return="bool" id="0"/> + <qmethod name="setAutoUpdate" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="totalWidth" access="public" return="int" id="0"/> + <qmethod name="totalHeight" access="public" return="int" id="0"/> + <qmethod name="maxLines" access="public" return="int" id="0"/> + <qmethod name="setMaxLines" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="deselect" access="public" return="void" id="0"/> + <qmethod name="protected_cursorPoint" access="protected" return="QPoint" +id="0"/> + <qmethod name="protected_insertAndMark" access="protected" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="bool" name="mark"/> + </qmethod> + <qmethod name="protected_newLine" access="protected" return="void" id="0"/> + <qmethod name="protected_killLine" access="protected" return="void" id="0"/> + <qmethod name="protected_pageUp" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="protected_pageDown" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="protected_cursorLeft" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + <qparam type="bool" name="wrap" default="TRUE"/> + </qmethod> + <qmethod name="protected_cursorRight" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + <qparam type="bool" name="wrap" default="TRUE"/> + </qmethod> + <qmethod name="protected_cursorUp" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="protected_cursorDown" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="protected_backspace" access="protected" return="void" id="0"/> + <qmethod name="protected_home" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="protected_end" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="protected_getMarkedRegion" access="protected" return="bool" +id="0"> + <qparam type="int*" name="line1"/> + <qparam type="int*" name="col1"/> + <qparam type="int*" name="line2"/> + <qparam type="int*" name="col2"/> + </qmethod> + <qmethod name="protected_lineLength" access="protected" return="int" id="0"> + <qparam type="int" name="row"/> + </qmethod> +</qtype> <qtype name="QMutex" access="public"> + <qctor name="QMutex" access="public" id="0"> + <qparam type="bool" name="recursive" default="FALSE"/> + </qctor> + <qdctor name="QMutex" access="public"/> + <qmethod name="lock" access="public" return="void" id="0"/> + <qmethod name="unlock" access="public" return="void" id="0"/> + <qmethod name="locked" access="public" return="bool" id="0"/> + <qmethod name="tryLock" access="public" return="bool" id="0"/> +</qtype> <qtype name="QNPInstance" access="public"> + <qancestor name="QObject"/> + <qenum name="Reason" access="public"> + <qitem name="ReasonDone" value="0"/> + <qitem name="ReasonBreak" value="1"/> + <qitem name="ReasonError" value="2"/> + <qitem name="ReasonUnknown" value="-1"/> + </qenum> + <qenum name="InstanceMode" access="public"> + <qitem name="Embed" value="1"/> + <qitem name="Full" value="2"/> + <qitem name="Background" value="3"/> + </qenum> + <qenum name="StreamMode" access="public"> + <qitem name="Normal" value="1"/> + <qitem name="Seek" value="2"/> + <qitem name="AsFile" value="3"/> + <qitem name="AsFileOnly" value="4"/> + </qenum> + <qdctor name="QNPInstance" access="public"/> + <qmethod name="argc" access="public" return="int" id="0"/> + <qmethod name="argn" access="public" return="char*" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="argv" access="public" return="char*" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="arg" access="public" return="char*" id="0"> + <qparam type="char*" name="name"/> + </qmethod> + <qmethod name="mode" access="public" return="InstanceMode" id="0"/> + <qmethod name="userAgent" access="public" return="char*" id="0"/> + <qmethod name="newWindow" access="public" return="QNPWidget*" id="0"/> + <qmethod name="widget" access="public" return="QNPWidget*" id="0"/> + <qmethod name="newStreamCreated" access="public" return="bool" id="0"> + <qparam type="QNPStream*" name="arg1"/> + <qparam type="StreamModeamp" name="smode"/> + </qmethod> + <qmethod name="writeReady" access="public" return="int" id="0"> + <qparam type="QNPStream*" name="arg1"/> + </qmethod> + <qmethod name="write" access="public" return="int" id="0"> + <qparam type="QNPStream*" name="arg1"/> + <qparam type="int" name="offset"/> + <qparam type="int" name="len"/> + <qparam type="void*" name="buffer"/> + </qmethod> + <qmethod name="streamDestroyed" access="public" return="void" id="0"> + <qparam type="QNPStream*" name="arg1"/> + </qmethod> + <qmethod name="status" access="public" return="void" id="0"> + <qparam type="char*" name="msg"/> + </qmethod> + <qmethod name="getURLNotify" access="public" return="void" id="0"> + <qparam type="char*" name="url"/> + <qparam type="char*" name="window" default="0"/> + <qparam type="void*" name="data" default="0"/> + </qmethod> + <qmethod name="getURL" access="public" return="void" id="0"> + <qparam type="char*" name="url"/> + <qparam type="char*" name="window" default="0"/> + </qmethod> + <qmethod name="postURL" access="public" return="void" id="0"> + <qparam type="char*" name="url"/> + <qparam type="char*" name="window"/> + <qparam type="uint" name="len"/> + <qparam type="char*" name="buf"/> + <qparam type="bool" name="file"/> + </qmethod> + <qmethod name="newStream" access="public" return="QNPStream*" id="0"> + <qparam type="char*" name="mimetype"/> + <qparam type="char*" name="window"/> + <qparam type="bool" name="as_file" default="FALSE"/> + </qmethod> + <qmethod name="streamAsFile" access="public" return="void" id="0"> + <qparam type="QNPStream*" name="arg1"/> + <qparam type="char*" name="fname"/> + </qmethod> + <qmethod name="getJavaPeer" access="public" return="void*" id="0"/> + <qmethod name="notifyURL" access="public" return="void" id="0"> + <qparam type="char*" name="url"/> + <qparam type="Reason" name="r"/> + <qparam type="void*" name="notifyData"/> + </qmethod> + <qmethod name="printFullPage" access="public" return="bool" id="0"/> + <qmethod name="print" access="public" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qctor name="QNPInstance" access="protected" id="0"/> +</qtype> <qtype name="QNPStream" access="public"> + <qdctor name="QNPStream" access="public"/> + <qmethod name="url" access="public" return="char*" id="0"/> + <qmethod name="end" access="public" return="uint" id="0"/> + <qmethod name="lastModified" access="public" return="uint" id="0"/> + <qmethod name="type" access="public" return="char*" id="0"/> + <qmethod name="seekable" access="public" return="bool" id="0"/> + <qmethod name="okay" access="public" return="bool" id="0"/> + <qmethod name="complete" access="public" return="bool" id="0"/> + <qmethod name="requestRead" access="public" return="void" id="0"> + <qparam type="int" name="offset"/> + <qparam type="uint" name="length"/> + </qmethod> + <qmethod name="write" access="public" return="int" id="0"> + <qparam type="int" name="len"/> + <qparam type="void*" name="buffer"/> + </qmethod> + <qmethod name="instance" access="public" return="QNPInstance*" id="0"/> + <qctor name="QNPStream" access="public" id="0"> + <qparam type="QNPInstance*" name="arg1"/> + <qparam type="char*" name="arg2"/> + <qparam type="_NPStream*" name="arg3"/> + <qparam type="bool" name="arg4"/> + </qctor> + <qmethod name="setOkay" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setComplete" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> +</qtype> <qtype name="QNPWidget" access="public"> + <qancestor name="QWidget"/> + <qctor name="QNPWidget" access="public" id="0"/> + <qdctor name="QNPWidget" access="public"/> + <qmethod name="setWindow" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="unsetWindow" access="public" return="void" id="0"/> + <qmethod name="enterInstance" access="public" return="void" id="0"/> + <qmethod name="leaveInstance" access="public" return="void" id="0"/> + <qmethod name="instance" access="public" return="QNPInstance*" id="0"/> +</qtype> <qtype name="QNPlugin" access="public"> + <qdctor name="QNPlugin" access="public"/> + <qmethod name="getVersionInfo" access="public" return="void" id="0"> + <qparam type="intamp" name="plugin_major"/> + <qparam type="intamp" name="plugin_minor"/> + <qparam type="intamp" name="browser_major"/> + <qparam type="intamp" name="browser_minor"/> + </qmethod> + <qmethod name="newInstance" access="public" return="QNPInstance*" id="0"/> + <qmethod name="getMIMEDescription" access="public" return="char*" id="0"/> + <qmethod name="getPluginNameString" access="public" return="char*" id="0"/> + <qmethod name="getPluginDescriptionString" access="public" return="char*" +id="0"/> + <qmethod name="getJavaClass" access="public" return="void*" id="0"/> + <qmethod name="unuseJavaClass" access="public" return="void" id="0"/> + <qmethod name="getJavaEnv" access="public" return="void*" id="0"/> + <qmethod name="create" access="public static" return="QNPlugin*" id="0"/> + <qmethod name="actual" access="public static" return="QNPlugin*" id="0"/> +</qtype> <qtype name="QNetworkOperation" access="public"> + <qancestor name="QObject"/> + <qctor name="QNetworkOperation" access="public" id="0"> + <qparam type="QNetworkProtocol::Operation" name="operation"/> + <qparam type="QStringamp" name="arg0"/> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qctor> + <qctor name="QNetworkOperation" access="public" id="1"> + <qparam type="QNetworkProtocol::Operation" name="operation"/> + <qparam type="QByteArrayamp" name="arg0"/> + <qparam type="QByteArrayamp" name="arg1"/> + <qparam type="QByteArrayamp" name="arg2"/> + </qctor> + <qdctor name="QNetworkOperation" access="public"/> + <qmethod name="setState" access="public" return="void" id="0"> + <qparam type="QNetworkProtocol::State" name="state"/> + </qmethod> + <qmethod name="setProtocolDetail" access="public" return="void" id="0"> + <qparam type="QStringamp" name="detail"/> + </qmethod> + <qmethod name="setErrorCode" access="public" return="void" id="0"> + <qparam type="int" name="ec"/> + </qmethod> + <qmethod name="setArg" access="public" return="void" id="0"> + <qparam type="int" name="num"/> + <qparam type="QStringamp" name="arg"/> + </qmethod> + <qmethod name="setRawArg" access="public" return="void" id="0"> + <qparam type="int" name="num"/> + <qparam type="QByteArrayamp" name="arg"/> + </qmethod> + <qmethod name="operation" access="public" return="QNetworkProtocol::Operation" +id="0"/> + <qmethod name="state" access="public" return="QNetworkProtocol::State" id="0"/> + <qmethod name="arg" access="public" return="QString" id="0"> + <qparam type="int" name="num"/> + </qmethod> + <qmethod name="rawArg" access="public" return="QByteArray" id="0"> + <qparam type="int" name="num"/> + </qmethod> + <qmethod name="protocolDetail" access="public" return="QString" id="0"/> + <qmethod name="errorCode" access="public" return="int" id="0"/> + <qmethod name="free" access="public" return="void" id="0"/> +</qtype> <qtype name="QNetworkProtocol" access="public"> + <qancestor name="QObject"/> + <qenum name="State" access="public"> + <qitem name="StWaiting" value="0"/> + <qitem name="StInProgress" value="1"/> + <qitem name="StDone" value="2"/> + <qitem name="StFailed" value="3"/> + <qitem name="StStopped" value="4"/> + </qenum> + <qenum name="Operation" access="public"> + <qitem name="OpListChildren" value="1"/> + <qitem name="OpMkDir" value="2"/> + <qitem name="OpMkdir" value="OpMkDir"/> + <qitem name="OpRemove" value="4"/> + <qitem name="OpRename" value="8"/> + <qitem name="OpGet" value="32"/> + <qitem name="OpPut" value="64"/> + </qenum> + <qenum name="ConnectionState" access="public"> + <qitem name="ConHostFound" value="0"/> + <qitem name="ConConnected" value="1"/> + <qitem name="ConClosed" value="2"/> + </qenum> + <qenum name="Error" access="public"> + <qitem name="NoError" value="0"/> + <qitem name="ErrValid" value="1"/> + <qitem name="ErrUnknownProtocol" value="2"/> + <qitem name="ErrUnsupported" value="3"/> + <qitem name="ErrParse" value="4"/> + <qitem name="ErrLoginIncorrect" value="5"/> + <qitem name="ErrHostNotFound" value="6"/> + <qitem name="ErrListChildren" value="7"/> + <qitem name="ErrListChlidren" value="ErrListChildren"/> + <qitem name="ErrMkDir" value="8"/> + <qitem name="ErrMkdir" value="ErrMkDir"/> + <qitem name="ErrRemove" value="9"/> + <qitem name="ErrRename" value="10"/> + <qitem name="ErrGet" value="11"/> + <qitem name="ErrPut" value="12"/> + <qitem name="ErrFileNotExisting" value="13"/> + <qitem name="ErrPermissionDenied" value="14"/> + </qenum> + <qctor name="QNetworkProtocol" access="public" id="0"/> + <qdctor name="QNetworkProtocol" access="public"/> + <qmethod name="setUrl" access="public" return="void" id="0"> + <qparam type="QUrlOperator*" name="u"/> + </qmethod> + <qmethod name="setAutoDelete" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + <qparam type="int" name="i" default="10000"/> + </qmethod> + <qmethod name="autoDelete" access="public" return="bool" id="0"/> + <qmethod name="supportedOperations" access="public" return="int" id="0"/> + <qmethod name="addOperation" access="public" return="void" id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="url" access="public" return="QUrlOperator*" id="0"/> + <qmethod name="operationInProgress" access="public" return="QNetworkOperation*" +id="0"/> + <qmethod name="clearOperationQueue" access="public" return="void" id="0"/> + <qmethod name="stop" access="public" return="void" id="0"/> + <qmethod name="registerNetworkProtocol" access="public static" return="void" +id="0"> + <qparam type="QStringamp" name="protocol"/> + <qparam type="QNetworkProtocolFactoryBase*" name="protocolFactory"/> + </qmethod> + <qmethod name="getNetworkProtocol" access="public static" +return="QNetworkProtocol*" id="0"> + <qparam type="QStringamp" name="protocol"/> + </qmethod> + <qmethod name="hasOnlyLocalFileSystem" access="public static" return="bool" id="0"/> + <qmethod name="protected_processOperation" access="protected" return="void" id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationListChildren" access="protected" return="void" id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationMkDir" access="protected" return="void" id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationRemove" access="protected" return="void" id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationRename" access="protected" return="void" id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationGet" access="protected" return="void" id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationPut" access="protected" return="void" id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_operationPutChunk" access="protected" return="void" +id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> + <qmethod name="protected_checkConnection" access="protected" return="bool" +id="0"> + <qparam type="QNetworkOperation*" name="op"/> + </qmethod> +</qtype> <qtype name="QNetworkProtocolFactory" access="public"> + <qancestor name="QNetworkProtocolFactoryBase"/> + <qmethod name="createObject" access="public" return="QNetworkProtocol*" id="0"/> +</qtype> <qtype name="QNetworkProtocolFactoryBase" access="public"> + <qmethod name="createObject" access="public" return="QNetworkProtocol*" id="0"/> +</qtype> <qtype name="QObject" access="public"> + <qancestor name="Qt"/> + <qctor name="QObject" access="public" id="0"> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QObject" access="public"/> + <qmethod name="className" access="public" return="char*" id="0"/> + <qmethod name="tr" access="public" return="QString" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="char*" name="arg2"/> + </qmethod> + <qmethod name="trUtf8" access="public" return="QString" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="char*" name="arg2"/> + </qmethod> + <qmethod name="metaObject" access="public" return="QMetaObject*" id="0"/> + <qmethod name="event" access="public" return="bool" id="0"> + <qparam type="QEvent*" name="arg1"/> + </qmethod> + <qmethod name="eventFilter" access="public" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> + <qmethod name="isA" access="public" return="bool" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="inherits" access="public" return="bool" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="name" access="public" return="char*" id="0"/> + <qmethod name="name" access="public" return="char*" id="1"> + <qparam type="char*" name="defaultName"/> + </qmethod> + <qmethod name="setName" access="public" return="void" id="0"> + <qparam type="char*" name="name"/> + </qmethod> + <qmethod name="isWidgetType" access="public" return="bool" id="0"/> + <qmethod name="highPriority" access="public" return="bool" id="0"/> + <qmethod name="signalsBlocked" access="public" return="bool" id="0"/> + <qmethod name="blockSignals" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="startTimer" access="public" return="int" id="0"> + <qparam type="int" name="interval"/> + </qmethod> + <qmethod name="killTimer" access="public" return="void" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="killTimers" access="public" return="void" id="0"/> + <qmethod name="child" access="public" return="QObject*" id="0"> + <qparam type="char*" name="objName"/> + <qparam type="char*" name="inheritsClass" default="0"/> + <qparam type="bool" name="recursiveSearch" default="TRUE"/> + </qmethod> + <qmethod name="children" access="public" return="QObjectList*" id="0"/> + <qmethod name="queryList" access="public" return="QObjectList*" id="0"> + <qparam type="char*" name="inheritsClass" default="0"/> + <qparam type="char*" name="objName" default="0"/> + <qparam type="bool" name="regexpMatch" default="TRUE"/> + <qparam type="bool" name="recursiveSearch" default="TRUE"/> + </qmethod> + <qmethod name="insertChild" access="public" return="void" id="0"> + <qparam type="QObject*" name="arg1"/> + </qmethod> + <qmethod name="removeChild" access="public" return="void" id="0"> + <qparam type="QObject*" name="arg1"/> + </qmethod> + <qmethod name="installEventFilter" access="public" return="void" id="0"> + <qparam type="QObject*" name="arg1"/> + </qmethod> + <qmethod name="removeEventFilter" access="public" return="void" id="0"> + <qparam type="QObject*" name="arg1"/> + </qmethod> + <qmethod name="connect" access="public" return="bool" id="0"> + <qparam type="QObject*" name="sender"/> + <qparam type="char*" name="signal"/> + <qparam type="char*" name="member"/> + </qmethod> + <qmethod name="disconnect" access="public" return="bool" id="0"> + <qparam type="char*" name="signal" default="0"/> + <qparam type="QObject*" name="receiver" default="0"/> + <qparam type="char*" name="member" default="0"/> + </qmethod> + <qmethod name="disconnect" access="public" return="bool" id="1"> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member" default="0"/> + </qmethod> + <qmethod name="dumpObjectTree" access="public" return="void" id="0"/> + <qmethod name="dumpObjectInfo" access="public" return="void" id="0"/> + <qmethod name="setProperty" access="public" return="bool" id="0"> + <qparam type="char*" name="name"/> + <qparam type="QVariantamp" name="value"/> + </qmethod> + <qmethod name="property" access="public" return="QVariant" id="0"> + <qparam type="char*" name="name"/> + </qmethod> + <qmethod name="parent" access="public" return="QObject*" id="0"/> + <qmethod name="deleteLater" access="public" return="void" id="0"/> + <qmethod name="objectTrees" access="public static" return="QObjectList*" +id="0"/> + <qmethod name="connect" access="public static" return="bool" id="1"> + <qparam type="QObject*" name="sender"/> + <qparam type="char*" name="signal"/> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + </qmethod> + <qmethod name="disconnect" access="public static" return="bool" id="2"> + <qparam type="QObject*" name="sender"/> + <qparam type="char*" name="signal"/> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + </qmethod> + <qmethod name="connectInternal" access="public static" return="void" id="0"> + <qparam type="QObject*" name="sender"/> + <qparam type="int" name="signal_index"/> + <qparam type="QObject*" name="receiver"/> + <qparam type="int" name="membcode"/> + <qparam type="int" name="member_index"/> + </qmethod> + <qmethod name="protected_activate_filters" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="arg1"/> + </qmethod> + <qmethod name="protected_receivers" access="protected" return="QConnectionList*" id="0"> + <qparam type="char*" name="signal"/> + </qmethod> + <qmethod name="protected_receivers" access="protected" return="QConnectionList*" id="1"> + <qparam type="int" name="signal"/> + </qmethod> + <qmethod name="protected_activate_signal" access="protected" return="void" id="0"> + <qparam type="int" name="signal"/> + </qmethod> + <qmethod name="protected_activate_signal" access="protected" return="void" +id="1"> + <qparam type="int" name="signal"/> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="protected_activate_signal" access="protected" return="void" +id="2"> + <qparam type="int" name="signal"/> + <qparam type="double" name="arg1"/> + </qmethod> + <qmethod name="protected_activate_signal" access="protected" return="void" +id="3"> + <qparam type="int" name="signal"/> + <qparam type="QString" name="arg1"/> + </qmethod> + <qmethod name="protected_activate_signal_bool" access="protected" return="void" +id="0"> + <qparam type="int" name="signal"/> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_activate_signal" access="protected" return="void" +id="4"> + <qparam type="QConnectionList*" name="clist"/> + <qparam type="QUObject*" name="o"/> + </qmethod> + <qmethod name="protected_sender" access="protected" return="QObject*" id="0"/> + <qmethod name="protected_connectNotify" access="protected" return="void" id="0"> + <qparam type="char*" name="signal"/> + </qmethod> + <qmethod name="protected_disconnectNotify" access="protected" return="void" +id="0"> + <qparam type="char*" name="signal"/> + </qmethod> + <qmethod name="protected_checkConnectArgs" access="protected" return="bool" +id="0"> + <qparam type="char*" name="signal"/> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + </qmethod> + <qmethod name="protected_normalizeSignalSlot" access="protected static" +return="QCString" +id="0"> + <qparam type="char*" name="signalSlot"/> + </qmethod> +</qtype> <qtype name="QObjectCleanupHandler" access="public"> + <qancestor name="QObject"/> + <qctor name="QObjectCleanupHandler" access="public" id="0"/> + <qdctor name="QObjectCleanupHandler" access="public"/> + <qmethod name="add" access="public" return="QObject*" id="0"> + <qparam type="QObject*" name="object"/> + </qmethod> + <qmethod name="remove" access="public" return="void" id="0"> + <qparam type="QObject*" name="object"/> + </qmethod> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="clear" access="public" return="void" id="0"/> +</qtype> <qtype name="QObjectDictionary" access="public"> + <qancestor name="QAsciiDict"/> + <qdctor name="QObjectDictionary" access="public"/> +</qtype> <qtype name="QObjectList" access="public"> + <qancestor name="QPtrList"/> + <qdctor name="QObjectList" access="public"/> +</qtype> <qtype name="QObjectListIt" access="public"> + <qancestor name="QPtrListIterator"/> +</qtype> <qtype name="QPDevCmdParam" access="public"> +</qtype> <qtype name="QPNGImagePacker" access="public"> + <qancestor name="QPNGImageWriter"/> + <qctor name="QPNGImagePacker" access="public" id="0"> + <qparam type="QIODevice*" name="arg1"/> + <qparam type="int" name="depth"/> + <qparam type="int" name="convflags"/> + </qctor> + <qmethod name="setPixelAlignment" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + </qmethod> + <qmethod name="packImage" access="public" return="bool" id="0"> + <qparam type="QImageamp" name="img"/> + </qmethod> +</qtype> <qtype name="QPNGImageWriter" access="public"> + <qenum name="DisposalMethod" access="public"> + <qitem name="Unspecified" value="0"/> + <qitem name="NoDisposal" value="1"/> + <qitem name="RestoreBackground" value="2"/> + <qitem name="RestoreImage" value="3"/> + </qenum> + <qctor name="QPNGImageWriter" access="public" id="0"> + <qparam type="QIODevice*" name="arg1"/> + </qctor> + <qdctor name="QPNGImageWriter" access="public"/> + <qmethod name="setDisposalMethod" access="public" return="void" id="0"> + <qparam type="DisposalMethod" name="arg1"/> + </qmethod> + <qmethod name="setLooping" access="public" return="void" id="0"> + <qparam type="int" name="loops" default="0"/> + </qmethod> + <qmethod name="setFrameDelay" access="public" return="void" id="0"> + <qparam type="int" name="msecs"/> + </qmethod> + <qmethod name="setGamma" access="public" return="void" id="0"> + <qparam type="float" name="arg1"/> + </qmethod> + <qmethod name="writeImage" access="public" return="bool" id="0"> + <qparam type="QImageamp" name="img"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="writeImage" access="public" return="bool" id="1"> + <qparam type="QImageamp" name="img"/> + <qparam type="int" name="quality"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="writeImage" access="public" return="bool" id="2"> + <qparam type="QImageamp" name="img"/> + </qmethod> + <qmethod name="writeImage" access="public" return="bool" id="3"> + <qparam type="QImageamp" name="img"/> + <qparam type="int" name="quality"/> + </qmethod> + <qmethod name="device" access="public" return="QIODevice*" id="0"/> +</qtype> <qtype name="QPaintDevice" access="public"> + <qenum name="PDevCmd" access="public"> + <qitem name="PdcNOP" value="0"/> + <qitem name="PdcDrawPoint" value="1"/> + <qitem name="PdcDrawFirst" value="PdcDrawPoint"/> + <qitem name="PdcMoveTo" value="2"/> + <qitem name="PdcLineTo" value="3"/> + <qitem name="PdcDrawLine" value="4"/> + <qitem name="PdcDrawRect" value="5"/> + <qitem name="PdcDrawRoundRect" value="6"/> + <qitem name="PdcDrawEllipse" value="7"/> + <qitem name="PdcDrawArc" value="8"/> + <qitem name="PdcDrawPie" value="9"/> + <qitem name="PdcDrawChord" value="10"/> + <qitem name="PdcDrawLineSegments" value="11"/> + <qitem name="PdcDrawPolyline" value="12"/> + <qitem name="PdcDrawPolygon" value="13"/> + <qitem name="PdcDrawCubicBezier" value="14"/> + <qitem name="PdcDrawText" value="15"/> + <qitem name="PdcDrawTextFormatted" value="16"/> + <qitem name="PdcDrawPixmap" value="17"/> + <qitem name="PdcDrawImage" value="18"/> + <qitem name="PdcDrawText2" value="19"/> + <qitem name="PdcDrawText2Formatted" value="20"/> + <qitem name="PdcDrawLast" value="PdcDrawText2Formatted"/> + <qitem name="PdcBegin" value="30"/> + <qitem name="PdcEnd" value="31"/> + <qitem name="PdcSave" value="32"/> + <qitem name="PdcRestore" value="33"/> + <qitem name="PdcSetdev" value="34"/> + <qitem name="PdcSetBkColor" value="40"/> + <qitem name="PdcSetBkMode" value="41"/> + <qitem name="PdcSetROP" value="42"/> + <qitem name="PdcSetBrushOrigin" value="43"/> + <qitem name="PdcSetFont" value="45"/> + <qitem name="PdcSetPen" value="46"/> + <qitem name="PdcSetBrush" value="47"/> + <qitem name="PdcSetTabStops" value="48"/> + <qitem name="PdcSetTabArray" value="49"/> + <qitem name="PdcSetUnit" value="50"/> + <qitem name="PdcSetVXform" value="51"/> + <qitem name="PdcSetWindow" value="52"/> + <qitem name="PdcSetViewport" value="53"/> + <qitem name="PdcSetWXform" value="54"/> + <qitem name="PdcSetWMatrix" value="55"/> + <qitem name="PdcSaveWMatrix" value="56"/> + <qitem name="PdcRestoreWMatrix" value="57"/> + <qitem name="PdcSetClip" value="60"/> + <qitem name="PdcSetClipRegion" value="61"/> + <qitem name="PdcReservedStart" value="0"/> + <qitem name="PdcReservedStop" value="199"/> + </qenum> + <qdctor name="QPaintDevice" access="public"/> + <qmethod name="devType" access="public" return="int" id="0"/> + <qmethod name="isExtDev" access="public" return="bool" id="0"/> + <qmethod name="paintingActive" access="public" return="bool" id="0"/> + <qmethod name="setResolution" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="resolution" access="public" return="int" id="0"/> + <qmethod name="handle" access="public" return="HDC" id="0"/> + <qmethod name="handle" access="public" return="Qt::HANDLE" id="1"/> + <qmethod name="x11RenderHandle" access="public" return="Qt::HANDLE" id="0"/> + <qmethod name="handle" access="public" return="Qt::HANDLE" id="2"/> + <qmethod name="handle" access="public" return="Qt::HANDLE" id="3"/> + <qmethod name="x11Display" access="public" return="Display*" id="0"/> + <qmethod name="x11Screen" access="public" return="int" id="0"/> + <qmethod name="x11Depth" access="public" return="int" id="0"/> + <qmethod name="x11Cells" access="public" return="int" id="0"/> + <qmethod name="x11Colormap" access="public" return="Qt::HANDLE" id="0"/> + <qmethod name="x11DefaultColormap" access="public" return="bool" id="0"/> + <qmethod name="x11Visual" access="public" return="void*" id="0"/> + <qmethod name="x11DefaultVisual" access="public" return="bool" id="0"/> + <qmethod name="scanLine" access="public" return="unsigned char*" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="bytesPerLine" access="public" return="int" id="0"/> + <qmethod name="graphicsContext" access="public" return="QGfx*" id="0"> + <qparam type="bool" name="clip_children" default="TRUE"/> + </qmethod> + <qmethod name="x11AppDisplay" access="public static" return="Display*" id="0"/> + <qmethod name="x11AppScreen" access="public static" return="int" id="0"/> + <qmethod name="x11AppDepth" access="public static" return="int" id="0"/> + <qmethod name="x11AppCells" access="public static" return="int" id="0"/> + <qmethod name="x11AppDpiX" access="public static" return="int" id="0"/> + <qmethod name="x11AppDpiY" access="public static" return="int" id="0"/> + <qmethod name="x11AppColormap" access="public static" return="Qt::HANDLE" id="0"/> + <qmethod name="x11AppDefaultColormap" access="public static" return="bool" id="0"/> + <qmethod name="x11AppVisual" access="public static" return="void*" id="0"/> + <qmethod name="x11AppDefaultVisual" access="public static" return="bool" id="0"/> + <qmethod name="x11SetAppDpiX" access="public static" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="x11SetAppDpiY" access="public static" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="qwsDisplay" access="public static" return="QWSDisplay*" id="0"/> + <qctor name="QPaintDevice" access="protected" id="0"> + <qparam type="uint" name="devflags"/> + </qctor> + <qmethod name="protected_copyX11Data" access="protected" return="void" id="0"> + <qparam type="QPaintDevice*" name="arg1"/> + </qmethod> + <qmethod name="protected_cloneX11Data" access="protected" return="void" id="0"> + <qparam type="QPaintDevice*" name="arg1"/> + </qmethod> + <qmethod name="protected_setX11Data" access="protected" return="void" id="0"> + <qparam type="QPaintDeviceX11Data*" name="arg1"/> + </qmethod> + <qmethod name="protected_getX11Data" access="protected" return="QPaintDeviceX11Data*" id="0"> + <qparam type="bool" name="def" default="FALSE"/> + </qmethod> + <qmethod name="protected_cmd" access="protected" return="bool" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="QPainter*" name="arg2"/> + <qparam type="QPDevCmdParam*" name="arg3"/> + </qmethod> + <qmethod name="protected_metric" access="protected" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="protected_fontMet" access="protected" return="int" id="0"> + <qparam type="QFont*" name="arg1"/> + <qparam type="int" name="arg2"/> + <qparam type="char*" name="arg3" default="0"/> + <qparam type="int" name="arg4" default="0"/> + </qmethod> + <qmethod name="protected_fontInf" access="protected" return="int" id="0"> + <qparam type="QFont*" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="protected_macCGContext" access="protected" return="CGContextRef" id="0"> + <qparam type="bool" name="clipped" default="TRUE"/> + </qmethod> + <qmethod name="bitBlt" access="public static" return="void" id="0"> + <qparam type="QPaintDevice*" name="dst"/> + <qparam type="int" name="dx"/> + <qparam type="int" name="dy"/> + <qparam type="QPaintDevice*" name="src"/> + <qparam type="int" name="sx"/> + <qparam type="int" name="sy"/> + <qparam type="int" name="sw"/> + <qparam type="int" name="sh"/> + <qparam type="Qt::RasterOp" name="rop"/> + <qparam type="bool" name="ignoreMask"/> + </qmethod> +</qtype> <qtype name="QPaintDeviceMetrics" access="public"> + <qenum name="PdmType" access="public"> + <qitem name="PdmWidth" value="1"/> + <qitem name="PdmHeight" value="1"/> + <qitem name="PdmWidthMM" value="2"/> + <qitem name="PdmHeightMM" value="3"/> + <qitem name="PdmNumColors" value="4"/> + <qitem name="PdmDepth" value="5"/> + <qitem name="PdmDpiX" value="6"/> + <qitem name="PdmDpiY" value="7"/> + <qitem name="PdmPhysicalDpiX" value="8"/> + <qitem name="PdmPhysicalDpiY" value="9"/> + </qenum> + <qctor name="QPaintDeviceMetrics" access="public" id="0"> + <qparam type="QPaintDevice*" name="arg1"/> + </qctor> + <qmethod name="width" access="public" return="int" id="0"/> + <qmethod name="height" access="public" return="int" id="0"/> + <qmethod name="widthMM" access="public" return="int" id="0"/> + <qmethod name="heightMM" access="public" return="int" id="0"/> + <qmethod name="logicalDpiX" access="public" return="int" id="0"/> + <qmethod name="logicalDpiY" access="public" return="int" id="0"/> + <qmethod name="physicalDpiX" access="public" return="int" id="0"/> + <qmethod name="physicalDpiY" access="public" return="int" id="0"/> + <qmethod name="numColors" access="public" return="int" id="0"/> + <qmethod name="depth" access="public" return="int" id="0"/> +</qtype> <qtype name="QPaintDeviceX11Data" access="public"> + <qancestor name="QShared"/> +</qtype> <qtype name="QPaintEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QPaintEvent" access="public" id="0"> + <qparam type="QRegionamp" name="paintRegion"/> + <qparam type="bool" name="erased" default="TRUE"/> + </qctor> + <qctor name="QPaintEvent" access="public" id="1"> + <qparam type="QRectamp" name="paintRect"/> + <qparam type="bool" name="erased" default="TRUE"/> + </qctor> + <qmethod name="rect" access="public" return="QRectamp" id="0"/> + <qmethod name="region" access="public" return="QRegionamp" id="0"/> + <qmethod name="erased" access="public" return="bool" id="0"/> +</qtype> <qtype name="QPainter" access="public"> + <qancestor name="Qt"/> + <qenum name="CoordinateMode" access="public"> + <qitem name="CoordDevice" value="0"/> + <qitem name="CoordPainter" value="1"/> + </qenum> + <qenum name="TextDirection" access="public"> + <qitem name="Auto" value="0"/> + <qitem name="RTL" value="1"/> + <qitem name="LTR" value="2"/> + </qenum> + <qctor name="QPainter" access="public" id="0"/> + <qctor name="QPainter" access="public" id="1"> + <qparam type="QPaintDevice*" name="arg1"/> + <qparam type="bool" name="unclipped" default="FALSE"/> + </qctor> + <qctor name="QPainter" access="public" id="2"> + <qparam type="QPaintDevice*" name="arg1"/> + <qparam type="QWidget*" name="arg2"/> + <qparam type="bool" name="unclipped" default="FALSE"/> + </qctor> + <qdctor name="QPainter" access="public"/> + <qmethod name="begin" access="public" return="bool" id="0"> + <qparam type="QPaintDevice*" name="arg1"/> + <qparam type="bool" name="unclipped" default="FALSE"/> + </qmethod> + <qmethod name="begin" access="public" return="bool" id="1"> + <qparam type="QPaintDevice*" name="arg1"/> + <qparam type="QWidget*" name="arg2"/> + <qparam type="bool" name="unclipped" default="FALSE"/> + </qmethod> + <qmethod name="end" access="public" return="bool" id="0"/> + <qmethod name="device" access="public" return="QPaintDevice*" id="0"/> + <qmethod name="internalGfx" access="public" return="QGfx*" id="0"/> + <qmethod name="isActive" access="public" return="bool" id="0"/> + <qmethod name="flush" access="public" return="void" id="0"> + <qparam type="QRegionamp" name="region"/> + <qparam type="CoordinateMode" name="cm" default="CoordDevice"/> + </qmethod> + <qmethod name="flush" access="public" return="void" id="1"/> + <qmethod name="save" access="public" return="void" id="0"/> + <qmethod name="restore" access="public" return="void" id="0"/> + <qmethod name="fontMetrics" access="public" return="QFontMetrics" id="0"/> + <qmethod name="fontInfo" access="public" return="QFontInfo" id="0"/> + <qmethod name="font" access="public" return="QFontamp" id="0"/> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="pen" access="public" return="QPenamp" id="0"/> + <qmethod name="setPen" access="public" return="void" id="0"> + <qparam type="QPenamp" name="arg1"/> + </qmethod> + <qmethod name="setPen" access="public" return="void" id="1"> + <qparam type="PenStyle" name="arg1"/> + </qmethod> + <qmethod name="setPen" access="public" return="void" id="2"> + <qparam type="QColoramp" name="arg1"/> + </qmethod> + <qmethod name="brush" access="public" return="QBrushamp" id="0"/> + <qmethod name="setBrush" access="public" return="void" id="0"> + <qparam type="QBrushamp" name="arg1"/> + </qmethod> + <qmethod name="setBrush" access="public" return="void" id="1"> + <qparam type="BrushStyle" name="arg1"/> + </qmethod> + <qmethod name="setBrush" access="public" return="void" id="2"> + <qparam type="QColoramp" name="arg1"/> + </qmethod> + <qmethod name="pos" access="public" return="QPoint" id="0"/> + <qmethod name="backgroundColor" access="public" return="QColoramp" id="0"/> + <qmethod name="setBackgroundColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="arg1"/> + </qmethod> + <qmethod name="backgroundMode" access="public" return="BGMode" id="0"/> + <qmethod name="setBackgroundMode" access="public" return="void" id="0"> + <qparam type="BGMode" name="arg1"/> + </qmethod> + <qmethod name="rasterOp" access="public" return="RasterOp" id="0"/> + <qmethod name="setRasterOp" access="public" return="void" id="0"> + <qparam type="RasterOp" name="arg1"/> + </qmethod> + <qmethod name="brushOrigin" access="public" return="QPointamp" id="0"/> + <qmethod name="setBrushOrigin" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="setBrushOrigin" access="public" return="void" id="1"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="hasViewXForm" access="public" return="bool" id="0"/> + <qmethod name="hasWorldXForm" access="public" return="bool" id="0"/> + <qmethod name="setViewXForm" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="window" access="public" return="QRect" id="0"/> + <qmethod name="setWindow" access="public" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="setWindow" access="public" return="void" id="1"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="viewport" access="public" return="QRect" id="0"/> + <qmethod name="setViewport" access="public" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="setViewport" access="public" return="void" id="1"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="setWorldXForm" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="worldMatrix" access="public" return="QWMatrixamp" id="0"/> + <qmethod name="setWorldMatrix" access="public" return="void" id="0"> + <qparam type="QWMatrixamp" name="arg1"/> + <qparam type="bool" name="combine" default="FALSE"/> + </qmethod> + <qmethod name="saveWorldMatrix" access="public" return="void" id="0"/> + <qmethod name="restoreWorldMatrix" access="public" return="void" id="0"/> + <qmethod name="scale" access="public" return="void" id="0"> + <qparam type="double" name="sx"/> + <qparam type="double" name="sy"/> + </qmethod> + <qmethod name="shear" access="public" return="void" id="0"> + <qparam type="double" name="sh"/> + <qparam type="double" name="sv"/> + </qmethod> + <qmethod name="rotate" access="public" return="void" id="0"> + <qparam type="double" name="a"/> + </qmethod> + <qmethod name="translate" access="public" return="void" id="0"> + <qparam type="double" name="dx"/> + <qparam type="double" name="dy"/> + </qmethod> + <qmethod name="resetXForm" access="public" return="void" id="0"/> + <qmethod name="translationX" access="public" return="double" id="0"/> + <qmethod name="translationY" access="public" return="double" id="0"/> + <qmethod name="xForm" access="public" return="QPoint" id="0"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="xForm" access="public" return="QRect" id="1"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="xForm" access="public" return="QPointArray" id="2"> + <qparam type="QPointArrayamp" name="arg1"/> + </qmethod> + <qmethod name="xForm" access="public" return="QPointArray" id="3"> + <qparam type="QPointArrayamp" name="arg1"/> + <qparam type="int" name="index"/> + <qparam type="int" name="npoints"/> + </qmethod> + <qmethod name="xFormDev" access="public" return="QPoint" id="0"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="xFormDev" access="public" return="QRect" id="1"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="xFormDev" access="public" return="QPointArray" id="2"> + <qparam type="QPointArrayamp" name="arg1"/> + </qmethod> + <qmethod name="xFormDev" access="public" return="QPointArray" id="3"> + <qparam type="QPointArrayamp" name="arg1"/> + <qparam type="int" name="index"/> + <qparam type="int" name="npoints"/> + </qmethod> + <qmethod name="setClipping" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="hasClipping" access="public" return="bool" id="0"/> + <qmethod name="clipRegion" access="public" return="QRegion" id="0"> + <qparam type="CoordinateMode" name="arg1" default="CoordDevice"/> + </qmethod> + <qmethod name="setClipRect" access="public" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="CoordinateMode" name="arg2" default="CoordDevice"/> + </qmethod> + <qmethod name="setClipRect" access="public" return="void" id="1"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="CoordinateMode" name="arg1" default="CoordDevice"/> + </qmethod> + <qmethod name="setClipRegion" access="public" return="void" id="0"> + <qparam type="QRegionamp" name="arg1"/> + <qparam type="CoordinateMode" name="arg2" default="CoordDevice"/> + </qmethod> + <qmethod name="drawPoint" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="drawPoint" access="public" return="void" id="1"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="drawPoints" access="public" return="void" id="0"> + <qparam type="QPointArrayamp" name="a"/> + <qparam type="int" name="index" default="0"/> + <qparam type="int" name="npoints" default="-1"/> + </qmethod> + <qmethod name="moveTo" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="moveTo" access="public" return="void" id="1"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="lineTo" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="lineTo" access="public" return="void" id="1"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="drawLine" access="public" return="void" id="0"> + <qparam type="int" name="x1"/> + <qparam type="int" name="y1"/> + <qparam type="int" name="x2"/> + <qparam type="int" name="y2"/> + </qmethod> + <qmethod name="drawLine" access="public" return="void" id="1"> + <qparam type="QPointamp" name="arg1"/> + <qparam type="QPointamp" name="arg2"/> + </qmethod> + <qmethod name="drawRect" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="drawRect" access="public" return="void" id="1"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="drawWinFocusRect" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="drawWinFocusRect" access="public" return="void" id="1"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QColoramp" name="bgColor"/> + </qmethod> + <qmethod name="drawWinFocusRect" access="public" return="void" id="2"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="drawWinFocusRect" access="public" return="void" id="3"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="QColoramp" name="bgColor"/> + </qmethod> + <qmethod name="drawRoundRect" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="int" name="arg1" default="25"/> + <qparam type="int" name="arg2" default="25"/> + </qmethod> + <qmethod name="drawRoundRect" access="public" return="void" id="1"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="int" name="arg2" default="25"/> + <qparam type="int" name="arg3" default="25"/> + </qmethod> + <qmethod name="drawEllipse" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="drawEllipse" access="public" return="void" id="1"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="drawArc" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="int" name="a"/> + <qparam type="int" name="alen"/> + </qmethod> + <qmethod name="drawArc" access="public" return="void" id="1"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="int" name="a"/> + <qparam type="int" name="alen"/> + </qmethod> + <qmethod name="drawPie" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="int" name="a"/> + <qparam type="int" name="alen"/> + </qmethod> + <qmethod name="drawPie" access="public" return="void" id="1"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="int" name="a"/> + <qparam type="int" name="alen"/> + </qmethod> + <qmethod name="drawChord" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="int" name="a"/> + <qparam type="int" name="alen"/> + </qmethod> + <qmethod name="drawChord" access="public" return="void" id="1"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="int" name="a"/> + <qparam type="int" name="alen"/> + </qmethod> + <qmethod name="drawLineSegments" access="public" return="void" id="0"> + <qparam type="QPointArrayamp" name="arg1"/> + <qparam type="int" name="index" default="0"/> + <qparam type="int" name="nlines" default="-1"/> + </qmethod> + <qmethod name="drawPolyline" access="public" return="void" id="0"> + <qparam type="QPointArrayamp" name="arg1"/> + <qparam type="int" name="index" default="0"/> + <qparam type="int" name="npoints" default="-1"/> + </qmethod> + <qmethod name="drawPolygon" access="public" return="void" id="0"> + <qparam type="QPointArrayamp" name="arg1"/> + <qparam type="bool" name="winding" default="FALSE"/> + <qparam type="int" name="index" default="0"/> + <qparam type="int" name="npoints" default="-1"/> + </qmethod> + <qmethod name="drawConvexPolygon" access="public" return="void" id="0"> + <qparam type="QPointArrayamp" name="arg1"/> + <qparam type="int" name="index" default="0"/> + <qparam type="int" name="npoints" default="-1"/> + </qmethod> + <qmethod name="drawCubicBezier" access="public" return="void" id="0"> + <qparam type="QPointArrayamp" name="arg1"/> + <qparam type="int" name="index" default="0"/> + </qmethod> + <qmethod name="drawPixmap" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="QPixmapamp" name="arg1"/> + <qparam type="int" name="sx" default="0"/> + <qparam type="int" name="sy" default="0"/> + <qparam type="int" name="sw" default="-1"/> + <qparam type="int" name="sh" default="-1"/> + </qmethod> + <qmethod name="drawPixmap" access="public" return="void" id="1"> + <qparam type="QPointamp" name="arg1"/> + <qparam type="QPixmapamp" name="arg2"/> + <qparam type="QRectamp" name="sr"/> + </qmethod> + <qmethod name="drawPixmap" access="public" return="void" id="2"> + <qparam type="QPointamp" name="arg1"/> + <qparam type="QPixmapamp" name="arg2"/> + </qmethod> + <qmethod name="drawPixmap" access="public" return="void" id="3"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="QPixmapamp" name="arg2"/> + </qmethod> + <qmethod name="drawImage" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="QImageamp" name="arg1"/> + <qparam type="int" name="sx" default="0"/> + <qparam type="int" name="sy" default="0"/> + <qparam type="int" name="sw" default="-1"/> + <qparam type="int" name="sh" default="-1"/> + <qparam type="int" name="conversionFlags" default="0"/> + </qmethod> + <qmethod name="drawImage" access="public" return="void" id="1"> + <qparam type="QPointamp" name="arg1"/> + <qparam type="QImageamp" name="arg2"/> + <qparam type="QRectamp" name="sr"/> + <qparam type="int" name="conversionFlags" default="0"/> + </qmethod> + <qmethod name="drawImage" access="public" return="void" id="2"> + <qparam type="QPointamp" name="arg1"/> + <qparam type="QImageamp" name="arg2"/> + <qparam type="int" name="conversion_flags" default="0"/> + </qmethod> + <qmethod name="drawImage" access="public" return="void" id="3"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="QImageamp" name="arg2"/> + </qmethod> + <qmethod name="drawTiledPixmap" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QPixmapamp" name="arg1"/> + <qparam type="int" name="sx" default="0"/> + <qparam type="int" name="sy" default="0"/> + </qmethod> + <qmethod name="drawTiledPixmap" access="public" return="void" id="1"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="QPixmapamp" name="arg2"/> + <qparam type="QPointamp" name="arg3"/> + </qmethod> + <qmethod name="drawTiledPixmap" access="public" return="void" id="2"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="QPixmapamp" name="arg2"/> + </qmethod> + <qmethod name="drawPicture" access="public" return="void" id="0"> + <qparam type="QPictureamp" name="arg1"/> + </qmethod> + <qmethod name="drawPicture" access="public" return="void" id="1"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="QPictureamp" name="arg1"/> + </qmethod> + <qmethod name="drawPicture" access="public" return="void" id="2"> + <qparam type="QPointamp" name="arg1"/> + <qparam type="QPictureamp" name="arg2"/> + </qmethod> + <qmethod name="fillRect" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QBrushamp" name="arg1"/> + </qmethod> + <qmethod name="fillRect" access="public" return="void" id="1"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="QBrushamp" name="arg2"/> + </qmethod> + <qmethod name="eraseRect" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="eraseRect" access="public" return="void" id="1"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="drawText" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="QStringamp" name="arg1"/> + <qparam type="int" name="len" default="-1"/> + <qparam type="TextDirection" name="dir" default="Auto"/> + </qmethod> + <qmethod name="drawText" access="public" return="void" id="1"> + <qparam type="QPointamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="int" name="len" default="-1"/> + <qparam type="TextDirection" name="dir" default="Auto"/> + </qmethod> + <qmethod name="drawText" access="public" return="void" id="2"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="QStringamp" name="arg1"/> + <qparam type="int" name="pos"/> + <qparam type="int" name="len"/> + <qparam type="TextDirection" name="dir" default="Auto"/> + </qmethod> + <qmethod name="drawText" access="public" return="void" id="3"> + <qparam type="QPointamp" name="p"/> + <qparam type="QStringamp" name="arg1"/> + <qparam type="int" name="pos"/> + <qparam type="int" name="len"/> + <qparam type="TextDirection" name="dir" default="Auto"/> + </qmethod> + <qmethod name="drawText" access="public" return="void" id="4"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="int" name="flags"/> + <qparam type="QStringamp" name="arg1"/> + <qparam type="int" name="len" default="-1"/> + <qparam type="QRect*" name="br" default="0"/> + <qparam type="QTextParag**" name="intern" default="0"/> + </qmethod> + <qmethod name="drawText" access="public" return="void" id="5"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="int" name="flags"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="int" name="len" default="-1"/> + <qparam type="QRect*" name="br" default="0"/> + <qparam type="QTextParag**" name="intern" default="0"/> + </qmethod> + <qmethod name="boundingRect" access="public" return="QRect" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="int" name="flags"/> + <qparam type="QStringamp" name="arg1"/> + <qparam type="int" name="len" default="-1"/> + <qparam type="QTextParag**" name="intern" default="0"/> + </qmethod> + <qmethod name="boundingRect" access="public" return="QRect" id="1"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="int" name="flags"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="int" name="len" default="-1"/> + <qparam type="QTextParag**" name="intern" default="0"/> + </qmethod> + <qmethod name="tabStops" access="public" return="int" id="0"/> + <qmethod name="setTabStops" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="tabArray" access="public" return="int*" id="0"/> + <qmethod name="setTabArray" access="public" return="void" id="0"> + <qparam type="int*" name="arg1"/> + </qmethod> + <qmethod name="handle" access="public" return="HDC" id="0"/> + <qmethod name="handle" access="public" return="HANDLE" id="1"/> + <qmethod name="redirect" access="public static" return="void" id="0"> + <qparam type="QPaintDevice*" name="pdev"/> + <qparam type="QPaintDevice*" name="replacement"/> + </qmethod> + <qmethod name="initialize" access="public static" return="void" id="0"/> + <qmethod name="cleanup" access="public static" return="void" id="0"/> + <qmethod name="protected_initPaintDevice" access="protected" return="void" +id="0"> + <qparam type="bool" name="force" default="FALSE"/> + </qmethod> +</qtype> <qtype name="QPair" access="public"> + <qctor name="QPair" access="public" id="0"/> + <qctor name="QPair" access="public" id="1"> + <qparam type="T1amp" name="t1"/> + <qparam type="T2amp" name="t2"/> + </qctor> +</qtype> <qtype name="QPalette" access="public"> + <qenum name="ColorGroup" access="public"> + <qitem name="Disabled" value="0"/> + <qitem name="Active" value="1"/> + <qitem name="Inactive" value="2"/> + <qitem name="NColorGroups" value="3"/> + <qitem name="Normal" value="Active"/> + </qenum> + <qctor name="QPalette" access="public" id="0"/> + <qctor name="QPalette" access="public" id="1"> + <qparam type="QColoramp" name="button"/> + </qctor> + <qctor name="QPalette" access="public" id="2"> + <qparam type="QColoramp" name="button"/> + <qparam type="QColoramp" name="background"/> + </qctor> + <qctor name="QPalette" access="public" id="3"> + <qparam type="QColorGroupamp" name="active"/> + <qparam type="QColorGroupamp" name="disabled"/> + <qparam type="QColorGroupamp" name="inactive"/> + </qctor> + <qctor name="QPalette" access="public" id="4"> + <qparam type="QPaletteamp" name="arg1"/> + </qctor> + <qdctor name="QPalette" access="public"/> + <qmethod name="color" access="public" return="QColoramp" id="0"> + <qparam type="ColorGroup" name="arg1"/> + <qparam type="QColorGroup::ColorRole" name="arg2"/> + </qmethod> + <qmethod name="brush" access="public" return="QBrushamp" id="0"> + <qparam type="ColorGroup" name="arg1"/> + <qparam type="QColorGroup::ColorRole" name="arg2"/> + </qmethod> + <qmethod name="setColor" access="public" return="void" id="0"> + <qparam type="ColorGroup" name="arg1"/> + <qparam type="QColorGroup::ColorRole" name="arg2"/> + <qparam type="QColoramp" name="arg3"/> + </qmethod> + <qmethod name="setBrush" access="public" return="void" id="0"> + <qparam type="ColorGroup" name="arg1"/> + <qparam type="QColorGroup::ColorRole" name="arg2"/> + <qparam type="QBrushamp" name="arg3"/> + </qmethod> + <qmethod name="setColor" access="public" return="void" id="1"> + <qparam type="QColorGroup::ColorRole" name="arg1"/> + <qparam type="QColoramp" name="arg2"/> + </qmethod> + <qmethod name="setBrush" access="public" return="void" id="1"> + <qparam type="QColorGroup::ColorRole" name="arg1"/> + <qparam type="QBrushamp" name="arg2"/> + </qmethod> + <qmethod name="copy" access="public" return="QPalette" id="0"/> + <qmethod name="active" access="public" return="QColorGroupamp" id="0"/> + <qmethod name="disabled" access="public" return="QColorGroupamp" id="0"/> + <qmethod name="inactive" access="public" return="QColorGroupamp" id="0"/> + <qmethod name="normal" access="public" return="QColorGroupamp" id="0"/> + <qmethod name="setActive" access="public" return="void" id="0"> + <qparam type="QColorGroupamp" name="arg1"/> + </qmethod> + <qmethod name="setDisabled" access="public" return="void" id="0"> + <qparam type="QColorGroupamp" name="arg1"/> + </qmethod> + <qmethod name="setInactive" access="public" return="void" id="0"> + <qparam type="QColorGroupamp" name="arg1"/> + </qmethod> + <qmethod name="setNormal" access="public" return="void" id="0"> + <qparam type="QColorGroupamp" name="cg"/> + </qmethod> + <qmethod name="isCopyOf" access="public" return="bool" id="0"> + <qparam type="QPaletteamp" name="arg1"/> + </qmethod> + <qmethod name="serialNumber" access="public" return="int" id="0"/> + <qmethod name="foregroundRoleFromMode" access="public static" +return="QColorGroup::ColorRole" id="0"> + <qparam type="Qt::BackgroundMode" name="mode"/> + </qmethod> + <qmethod name="backgroundRoleFromMode" access="public static" +return="QColorGroup::ColorRole" id="0"> + <qparam type="Qt::BackgroundMode" name="mode"/> + </qmethod> +</qtype> <qtype name="QPen" access="public"> + <qancestor name="Qt"/> + <qctor name="QPen" access="public" id="0"/> + <qctor name="QPen" access="public" id="1"> + <qparam type="PenStyle" name="arg1"/> + </qctor> + <qctor name="QPen" access="public" id="2"> + <qparam type="QColoramp" name="color"/> + <qparam type="uint" name="width" default="0"/> + <qparam type="PenStyle" name="style" default="SolidLine"/> + </qctor> + <qctor name="QPen" access="public" id="3"> + <qparam type="QColoramp" name="cl"/> + <qparam type="uint" name="w"/> + <qparam type="PenStyle" name="s"/> + <qparam type="PenCapStyle" name="c"/> + <qparam type="PenJoinStyle" name="j"/> + </qctor> + <qctor name="QPen" access="public" id="4"> + <qparam type="QPenamp" name="arg1"/> + </qctor> + <qdctor name="QPen" access="public"/> + <qmethod name="style" access="public" return="PenStyle" id="0"/> + <qmethod name="setStyle" access="public" return="void" id="0"> + <qparam type="PenStyle" name="arg1"/> + </qmethod> + <qmethod name="width" access="public" return="uint" id="0"/> + <qmethod name="setWidth" access="public" return="void" id="0"> + <qparam type="uint" name="arg1"/> + </qmethod> + <qmethod name="color" access="public" return="QColoramp" id="0"/> + <qmethod name="setColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="arg1"/> + </qmethod> + <qmethod name="capStyle" access="public" return="PenCapStyle" id="0"/> + <qmethod name="setCapStyle" access="public" return="void" id="0"> + <qparam type="PenCapStyle" name="arg1"/> + </qmethod> + <qmethod name="joinStyle" access="public" return="PenJoinStyle" id="0"/> + <qmethod name="setJoinStyle" access="public" return="void" id="0"> + <qparam type="PenJoinStyle" name="arg1"/> + </qmethod> +</qtype> <qtype name="QPicture" access="public"> + <qancestor name="QPaintDevice"/> + <qctor name="QPicture" access="public" id="0"> + <qparam type="int" name="formatVersion" default="-1"/> + </qctor> + <qctor name="QPicture" access="public" id="1"> + <qparam type="QPictureamp" name="arg1"/> + </qctor> + <qdctor name="QPicture" access="public"/> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="size" access="public" return="uint" id="0"/> + <qmethod name="data" access="public" return="char*" id="0"/> + <qmethod name="setData" access="public" return="void" id="0"> + <qparam type="char*" name="data"/> + <qparam type="uint" name="size"/> + </qmethod> + <qmethod name="play" access="public" return="bool" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="load" access="public" return="bool" id="0"> + <qparam type="QIODevice*" name="dev"/> + <qparam type="char*" name="format" default="0"/> + </qmethod> + <qmethod name="load" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="char*" name="format" default="0"/> + </qmethod> + <qmethod name="save" access="public" return="bool" id="0"> + <qparam type="QIODevice*" name="dev"/> + <qparam type="char*" name="format" default="0"/> + </qmethod> + <qmethod name="save" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="char*" name="format" default="0"/> + </qmethod> + <qmethod name="boundingRect" access="public" return="QRect" id="0"/> + <qmethod name="protected_cmd" access="protected" return="bool" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="QPainter*" name="arg2"/> + <qparam type="QPDevCmdParam*" name="arg3"/> + </qmethod> + <qmethod name="protected_metric" access="protected" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="protected_detach" access="protected" return="void" id="0"/> + <qmethod name="protected_copy" access="protected" return="QPicture" id="0"/> +</qtype> <qtype name="QPixmap" access="public"> + <qancestor name="QPaintDevice"/> + <qancestor name="Qt"/> + <qenum name="ColorMode" access="public"> + <qitem name="Auto" value="0"/> + <qitem name="Color" value="1"/> + <qitem name="Mono" value="2"/> + </qenum> + <qenum name="Optimization" access="public"> + <qitem name="DefaultOptim" value="0"/> + <qitem name="NoOptim" value="1"/> + <qitem name="MemoryOptim" value="NoOptim"/> + <qitem name="NormalOptim" value="2"/> + <qitem name="BestOptim" value="3"/> + </qenum> + <qctor name="QPixmap" access="public" id="0"/> + <qctor name="QPixmap" access="public" id="1"> + <qparam type="QImageamp" name="image"/> + </qctor> + <qctor name="QPixmap" access="public" id="2"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="int" name="depth" default="-1"/> + <qparam type="Optimization" name="arg1" default="DefaultOptim"/> + </qctor> + <qctor name="QPixmap" access="public" id="3"> + <qparam type="QSizeamp" name="arg1"/> + <qparam type="int" name="depth" default="-1"/> + <qparam type="Optimization" name="arg2" default="DefaultOptim"/> + </qctor> + <qctor name="QPixmap" access="public" id="4"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="char*" name="format" default="0"/> + <qparam type="ColorMode" name="mode" default="Auto"/> + </qctor> + <qctor name="QPixmap" access="public" id="5"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="char*" name="format"/> + <qparam type="int" name="conversion_flags"/> + </qctor> + <qctor name="QPixmap" access="public" id="6"> + <qparam type="char**" name="xpm"/> + </qctor> + <qctor name="QPixmap" access="public" id="7"> + <qparam type="QByteArrayamp" name="data"/> + </qctor> + <qctor name="QPixmap" access="public" id="8"> + <qparam type="QPixmapamp" name="arg1"/> + </qctor> + <qdctor name="QPixmap" access="public"/> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="width" access="public" return="int" id="0"/> + <qmethod name="height" access="public" return="int" id="0"/> + <qmethod name="size" access="public" return="QSize" id="0"/> + <qmethod name="rect" access="public" return="QRect" id="0"/> + <qmethod name="depth" access="public" return="int" id="0"/> + <qmethod name="fill" access="public" return="void" id="0"> + <qparam type="QColoramp" name="fillColor" default="Qt::white"/> + </qmethod> + <qmethod name="fill" access="public" return="void" id="1"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="int" name="xofs"/> + <qparam type="int" name="yofs"/> + </qmethod> + <qmethod name="fill" access="public" return="void" id="2"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QPointamp" name="ofs"/> + </qmethod> + <qmethod name="resize" access="public" return="void" id="0"> + <qparam type="int" name="width"/> + <qparam type="int" name="height"/> + </qmethod> + <qmethod name="resize" access="public" return="void" id="1"> + <qparam type="QSizeamp" name="arg1"/> + </qmethod> + <qmethod name="mask" access="public" return="QBitmap*" id="0"/> + <qmethod name="setMask" access="public" return="void" id="0"> + <qparam type="QBitmapamp" name="arg1"/> + </qmethod> + <qmethod name="selfMask" access="public" return="bool" id="0"/> + <qmethod name="createHeuristicMask" access="public" return="QBitmap" id="0"> + <qparam type="bool" name="clipTight" default="TRUE"/> + </qmethod> + <qmethod name="xForm" access="public" return="QPixmap" id="0"> + <qparam type="QWMatrixamp" name="arg1"/> + </qmethod> + <qmethod name="convertToImage" access="public" return="QImage" id="0"/> + <qmethod name="convertFromImage" access="public" return="bool" id="0"> + <qparam type="QImageamp" name="arg1"/> + <qparam type="ColorMode" name="mode" default="Auto"/> + </qmethod> + <qmethod name="convertFromImage" access="public" return="bool" id="1"> + <qparam type="QImageamp" name="arg1"/> + <qparam type="int" name="conversion_flags"/> + </qmethod> + <qmethod name="load" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="char*" name="format" default="0"/> + <qparam type="ColorMode" name="mode" default="Auto"/> + </qmethod> + <qmethod name="load" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="char*" name="format"/> + <qparam type="int" name="conversion_flags"/> + </qmethod> + <qmethod name="loadFromData" access="public" return="bool" id="0"> + <qparam type="uchar*" name="buf"/> + <qparam type="uint" name="len"/> + <qparam type="char*" name="format" default="0"/> + <qparam type="ColorMode" name="mode" default="Auto"/> + </qmethod> + <qmethod name="loadFromData" access="public" return="bool" id="1"> + <qparam type="uchar*" name="buf"/> + <qparam type="uint" name="len"/> + <qparam type="char*" name="format"/> + <qparam type="int" name="conversion_flags"/> + </qmethod> + <qmethod name="loadFromData" access="public" return="bool" id="2"> + <qparam type="QByteArrayamp" name="data"/> + <qparam type="char*" name="format" default="0"/> + <qparam type="int" name="conversion_flags" default="0"/> + </qmethod> + <qmethod name="save" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="fileName"/> + <qparam type="char*" name="format"/> + <qparam type="int" name="quality" default="-1"/> + </qmethod> + <qmethod name="hbm" access="public" return="HBITMAP" id="0"/> + <qmethod name="serialNumber" access="public" return="int" id="0"/> + <qmethod name="optimization" access="public" return="Optimization" id="0"/> + <qmethod name="setOptimization" access="public" return="void" id="0"> + <qparam type="Optimization" name="arg1"/> + </qmethod> + <qmethod name="detach" access="public" return="void" id="0"/> + <qmethod name="isQBitmap" access="public" return="bool" id="0"/> + <qmethod name="isMultiCellPixmap" access="public" return="bool" id="0"/> + <qmethod name="multiCellHandle" access="public" return="HDC" id="0"/> + <qmethod name="multiCellBitmap" access="public" return="HBITMAP" id="0"/> + <qmethod name="multiCellOffset" access="public" return="int" id="0"/> + <qmethod name="allocCell" access="public" return="int" id="0"/> + <qmethod name="freeCell" access="public" return="void" id="0"> + <qparam type="bool" name="arg1" default="FALSE"/> + </qmethod> + <qmethod name="graphicsContext" access="public" return="QGfx*" id="0"> + <qparam type="bool" name="clip_children" default="TRUE"/> + </qmethod> + <qmethod name="scanLine" access="public" return="unsigned char*" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="bytesPerLine" access="public" return="int" id="0"/> + <qmethod name="clut" access="public" return="QRgb*" id="0"/> + <qmethod name="numCols" access="public" return="int" id="0"/> + <qmethod name="x11SetScreen" access="public" return="void" id="0"> + <qparam type="int" name="screen"/> + </qmethod> + <qmethod name="defaultDepth" access="public static" return="int" id="0"/> + <qmethod name="grabWindow" access="public static" return="QPixmap" id="0"> + <qparam type="WId" name="arg1"/> + <qparam type="int" name="x" default="0"/> + <qparam type="int" name="y" default="0"/> + <qparam type="int" name="w" default="-1"/> + <qparam type="int" name="h" default="-1"/> + </qmethod> + <qmethod name="grabWidget" access="public static" return="QPixmap" id="0"> + <qparam type="QWidget*" name="widget"/> + <qparam type="int" name="x" default="0"/> + <qparam type="int" name="y" default="0"/> + <qparam type="int" name="w" default="-1"/> + <qparam type="int" name="h" default="-1"/> + </qmethod> + <qmethod name="trueMatrix" access="public static" return="QWMatrix" id="0"> + <qparam type="QWMatrixamp" name="arg1"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="imageFormat" access="public static" return="char*" id="0"> + <qparam type="QStringamp" name="fileName"/> + </qmethod> + <qmethod name="defaultOptimization" access="public static" return="Optimization" +id="0"/> + <qmethod name="setDefaultOptimization" access="public static" return="void" +id="0"> + <qparam type="Optimization" name="arg1"/> + </qmethod> + <qmethod name="x11SetDefaultScreen" access="public static" return="int" id="0"> + <qparam type="int" name="screen"/> + </qmethod> + <qctor name="QPixmap" access="protected" id="9"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="uchar*" name="data"/> + <qparam type="bool" name="isXbitmap"/> + </qctor> + <qmethod name="protected_metric" access="protected" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> +</qtype> <qtype name="QPixmapCache" access="public"> + <qmethod name="cacheLimit" access="public static" return="int" id="0"/> + <qmethod name="setCacheLimit" access="public static" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="find" access="public static" return="QPixmap*" id="0"> + <qparam type="QStringamp" name="key"/> + </qmethod> + <qmethod name="find" access="public static" return="bool" id="1"> + <qparam type="QStringamp" name="key"/> + <qparam type="QPixmapamp" name="arg1"/> + </qmethod> + <qmethod name="insert" access="public static" return="bool" id="0"> + <qparam type="QStringamp" name="key"/> + <qparam type="QPixmap*" name="arg1"/> + </qmethod> + <qmethod name="insert" access="public static" return="bool" id="1"> + <qparam type="QStringamp" name="key"/> + <qparam type="QPixmapamp" name="arg1"/> + </qmethod> + <qmethod name="clear" access="public static" return="void" id="0"/> +</qtype> <qtype name="QMCPI" access="public"> +</qtype> <qtype name="QPixmapData" access="public"> + <qancestor name="QShared"/> +</qtype> <qtype name="QPlatinumStyle" access="public"> + <qancestor name="QWindowsStyle"/> + <qctor name="QPlatinumStyle" access="public" id="0"/> + <qdctor name="QPlatinumStyle" access="public"/> + <qmethod name="drawPrimitive" access="public" return="void" id="0"> + <qparam type="PrimitiveElement" name="pe"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="flags" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawControl" access="public" return="void" id="0"> + <qparam type="ControlElement" name="element"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="how" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawComplexControl" access="public" return="void" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="how" default="Style_Default"/> + <qparam type="SCFlags" name="sub" default="SC_All"/> + <qparam type="SCFlags" name="subActive" default="SC_None"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="querySubControlMetrics" access="public" return="QRect" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="SubControl" name="sc"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="pixelMetric" access="public" return="int" id="0"> + <qparam type="PixelMetric" name="metric"/> + <qparam type="QWidget*" name="widget" default="0"/> + </qmethod> + <qmethod name="subRect" access="public" return="QRect" id="0"> + <qparam type="SubRect" name="r"/> + <qparam type="QWidget*" name="widget"/> + </qmethod> + <qmethod name="protected_mixedColor" access="protected" return="QColor" id="0"> + <qparam type="QColoramp" name="arg1"/> + <qparam type="QColoramp" name="arg2"/> + </qmethod> + <qmethod name="protected_drawRiffles" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QColorGroupamp" name="g"/> + <qparam type="bool" name="horizontal"/> + </qmethod> +</qtype> <qtype name="QPoint" access="public"> + <qctor name="QPoint" access="public" id="0"/> + <qctor name="QPoint" access="public" id="1"> + <qparam type="int" name="xpos"/> + <qparam type="int" name="ypos"/> + </qctor> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="x" access="public" return="int" id="0"/> + <qmethod name="y" access="public" return="int" id="0"/> + <qmethod name="setX" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + </qmethod> + <qmethod name="setY" access="public" return="void" id="0"> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="manhattanLength" access="public" return="int" id="0"/> + <qmethod name="rx" access="public" return="QCOORDamp" id="0"/> + <qmethod name="ry" access="public" return="QCOORDamp" id="0"/> +</qtype> <qtype name="QPointArray" access="public"> + <qancestor name="QMemArray"/> + <qctor name="QPointArray" access="public" id="0"/> + <qdctor name="QPointArray" access="public"/> + <qctor name="QPointArray" access="public" id="3"> + <qparam type="QRectamp" name="r"/> + <qparam type="bool" name="closed" default="FALSE"/> + </qctor> + <qctor name="QPointArray" access="public" id="4"> + <qparam type="int" name="nPoints"/> + <qparam type="QCOORD*" name="points"/> + </qctor> + <qmethod name="copy" access="public" return="QPointArray" id="0"/> + <qmethod name="translate" access="public" return="void" id="0"> + <qparam type="int" name="dx"/> + <qparam type="int" name="dy"/> + </qmethod> + <qmethod name="boundingRect" access="public" return="QRect" id="0"/> + <qmethod name="point" access="public" return="void" id="0"> + <qparam type="uint" name="i"/> + <qparam type="int*" name="x"/> + <qparam type="int*" name="y"/> + </qmethod> + <qmethod name="point" access="public" return="QPoint" id="1"> + <qparam type="uint" name="i"/> + </qmethod> + <qmethod name="setPoint" access="public" return="void" id="0"> + <qparam type="uint" name="i"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="setPoint" access="public" return="void" id="1"> + <qparam type="uint" name="i"/> + <qparam type="QPointamp" name="p"/> + </qmethod> + <qmethod name="setPoints" access="public" return="bool" id="0"> + <qparam type="int" name="nPoints"/> + <qparam type="QCOORD*" name="points"/> + </qmethod> + <qmethod name="putPoints" access="public" return="bool" id="0"> + <qparam type="int" name="index"/> + <qparam type="int" name="nPoints"/> + <qparam type="QCOORD*" name="points"/> + </qmethod> + <qmethod name="putPoints" access="public" return="bool" id="2"> + <qparam type="int" name="index"/> + <qparam type="int" name="nPoints"/> + <qparam type="QPointArrayamp" name="from"/> + <qparam type="int" name="fromIndex" default="0"/> + </qmethod> + <qmethod name="makeArc" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="int" name="a1"/> + <qparam type="int" name="a2"/> + </qmethod> + <qmethod name="makeEllipse" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="makeArc" access="public" return="void" id="1"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="int" name="a1"/> + <qparam type="int" name="a2"/> + <qparam type="QWMatrixamp" name="arg1"/> + </qmethod> + <qmethod name="cubicBezier" access="public" return="QPointArray" id="0"/> + <qmethod name="shortPoints" access="public" return="void*" id="0"> + <qparam type="int" name="index" default="0"/> + <qparam type="int" name="nPoints" default="-1"/> + </qmethod> + <qmethod name="cleanBuffers" access="public static" return="void" id="0"/> +</qtype> <qtype name="QPolygonScanner" access="public"> + <qenum name="Edge" access="public"> + <qitem name="Left" value="1"/> + <qitem name="Right" value="2"/> + <qitem name="Top" value="4"/> + <qitem name="Bottom" value="8"/> + </qenum> + <qmethod name="scan" access="public" return="void" id="0"> + <qparam type="QPointArrayamp" name="pa"/> + <qparam type="bool" name="winding"/> + <qparam type="int" name="index" default="0"/> + <qparam type="int" name="npoints" default="-1"/> + </qmethod> + <qmethod name="scan" access="public" return="void" id="1"> + <qparam type="QPointArrayamp" name="pa"/> + <qparam type="bool" name="winding"/> + <qparam type="int" name="index"/> + <qparam type="int" name="npoints"/> + <qparam type="bool" name="stitchable"/> + </qmethod> + <qmethod name="scan" access="public" return="void" id="2"> + <qparam type="QPointArrayamp" name="pa"/> + <qparam type="bool" name="winding"/> + <qparam type="int" name="index"/> + <qparam type="int" name="npoints"/> + <qparam type="Edge" name="edges"/> + </qmethod> + <qmethod name="processSpans" access="public" return="void" id="0"> + <qparam type="int" name="n"/> + <qparam type="QPoint*" name="point"/> + <qparam type="int*" name="width"/> + </qmethod> +</qtype> <qtype name="QPopupMenu" access="public"> + <qancestor name="QFrame"/> + <qancestor name="QMenuData"/> + <qctor name="QPopupMenu" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QPopupMenu" access="public"/> + <qmethod name="popup" access="public" return="void" id="0"> + <qparam type="QPointamp" name="pos"/> + <qparam type="int" name="indexAtPoint" default="0"/> + </qmethod> + <qmethod name="updateItem" access="public" return="void" id="0"> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="setCheckable" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isCheckable" access="public" return="bool" id="0"/> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="hide" access="public" return="void" id="0"/> + <qmethod name="exec" access="public" return="int" id="0"/> + <qmethod name="exec" access="public" return="int" id="1"> + <qparam type="QPointamp" name="pos"/> + <qparam type="int" name="indexAtPoint" default="0"/> + </qmethod> + <qmethod name="setActiveItem" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="idAt" access="public" return="int" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="idAt" access="public" return="int" id="1"> + <qparam type="QPointamp" name="pos"/> + </qmethod> + <qmethod name="customWhatsThis" access="public" return="bool" id="0"/> + <qmethod name="insertTearOffHandle" access="public" return="int" id="0"> + <qparam type="int" name="identifier" default="-1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="activateItemAt" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="itemGeometry" access="public" return="QRect" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="protected_itemHeight" access="protected" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="protected_itemHeight" access="protected" return="int" id="1"> + <qparam type="QMenuItem*" name="mi"/> + </qmethod> + <qmethod name="protected_drawItem" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="tab"/> + <qparam type="QMenuItem*" name="mi"/> + <qparam type="bool" name="act"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="protected_drawContents" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_columns" access="protected" return="int" id="0"/> + <qmethod name="protected_focusNextPrevChild" access="protected" return="bool" +id="0"> + <qparam type="bool" name="next"/> + </qmethod> + <qmethod name="protected_itemAtPos" access="protected" return="int" id="0"> + <qparam type="QPointamp" name="arg1"/> + <qparam type="bool" name="ignoreSeparator" default="TRUE"/> + </qmethod> +</qtype> <qtype name="QPrintDialog" access="public"> + <qancestor name="QDialog"/> + <qctor name="QPrintDialog" access="public" id="0"> + <qparam type="QPrinter*" name="arg1"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QPrintDialog" access="public"/> + <qmethod name="setPrinter" access="public" return="void" id="0"> + <qparam type="QPrinter*" name="arg1"/> + <qparam type="bool" name="arg2" default="FALSE"/> + </qmethod> + <qmethod name="printer" access="public" return="QPrinter*" id="0"/> + <qmethod name="addButton" access="public" return="void" id="0"> + <qparam type="QPushButton*" name="but"/> + </qmethod> + <qmethod name="getPrinterSetup" access="public static" return="bool" id="0"> + <qparam type="QPrinter*" name="arg1"/> + <qparam type="QWidget*" name="arg2" default="0"/> + </qmethod> + <qmethod name="setGlobalPrintDialog" access="public static" return="void" +id="0"> + <qparam type="QPrintDialog*" name="arg1"/> + </qmethod> +</qtype> <qtype name="QPrinter" access="public"> + <qancestor name="QPaintDevice"/> + <qenum name="PrinterMode" access="public"> + <qitem name="ScreenResolution" value="0"/> + <qitem name="PrinterResolution" value="1"/> + <qitem name="HighResolution" value="2"/> + <qitem name="Compatible" value="3"/> + </qenum> + <qenum name="Orientation" access="public"> + <qitem name="Portrait" value="0"/> + <qitem name="Landscape" value="1"/> + </qenum> + <qenum name="PageSize" access="public"> + <qitem name="A4" value="0"/> + <qitem name="B5" value="1"/> + <qitem name="Letter" value="2"/> + <qitem name="Legal" value="3"/> + <qitem name="Executive" value="4"/> + <qitem name="A0" value="5"/> + <qitem name="A1" value="6"/> + <qitem name="A2" value="7"/> + <qitem name="A3" value="8"/> + <qitem name="A5" value="9"/> + <qitem name="A6" value="10"/> + <qitem name="A7" value="11"/> + <qitem name="A8" value="12"/> + <qitem name="A9" value="13"/> + <qitem name="B0" value="14"/> + <qitem name="B1" value="15"/> + <qitem name="B10" value="16"/> + <qitem name="B2" value="17"/> + <qitem name="B3" value="18"/> + <qitem name="B4" value="19"/> + <qitem name="B6" value="20"/> + <qitem name="B7" value="21"/> + <qitem name="B8" value="22"/> + <qitem name="B9" value="23"/> + <qitem name="C5E" value="24"/> + <qitem name="Comm10E" value="25"/> + <qitem name="DLE" value="26"/> + <qitem name="Folio" value="27"/> + <qitem name="Ledger" value="28"/> + <qitem name="Tabloid" value="29"/> + <qitem name="Custom" value="30"/> + <qitem name="NPageSize" value="Custom"/> + </qenum> + <qenum name="PageOrder" access="public"> + <qitem name="FirstPageFirst" value="0"/> + <qitem name="LastPageFirst" value="1"/> + </qenum> + <qenum name="ColorMode" access="public"> + <qitem name="GrayScale" value="0"/> + <qitem name="Color" value="1"/> + </qenum> + <qenum name="PaperSource" access="public"> + <qitem name="OnlyOne" value="0"/> + <qitem name="Lower" value="1"/> + <qitem name="Middle" value="2"/> + <qitem name="Manual" value="3"/> + <qitem name="Envelope" value="4"/> + <qitem name="EnvelopeManual" value="5"/> + <qitem name="Auto" value="6"/> + <qitem name="Tractor" value="7"/> + <qitem name="SmallFormat" value="8"/> + <qitem name="LargeFormat" value="9"/> + <qitem name="LargeCapacity" value="10"/> + <qitem name="Cassette" value="11"/> + <qitem name="FormSource" value="12"/> + </qenum> + <qctor name="QPrinter" access="public" id="0"> + <qparam type="PrinterMode" name="mode" default="ScreenResolution"/> + </qctor> + <qdctor name="QPrinter" access="public"/> + <qmethod name="printerName" access="public" return="QString" id="0"/> + <qmethod name="setPrinterName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="outputToFile" access="public" return="bool" id="0"/> + <qmethod name="setOutputToFile" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="outputFileName" access="public" return="QString" id="0"/> + <qmethod name="setOutputFileName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="printProgram" access="public" return="QString" id="0"/> + <qmethod name="setPrintProgram" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="printerSelectionOption" access="public" return="QString" id="0"/> + <qmethod name="setPrinterSelectionOption" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="docName" access="public" return="QString" id="0"/> + <qmethod name="setDocName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="creator" access="public" return="QString" id="0"/> + <qmethod name="setCreator" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="orientation" access="public" return="Orientation" id="0"/> + <qmethod name="setOrientation" access="public" return="void" id="0"> + <qparam type="Orientation" name="arg1"/> + </qmethod> + <qmethod name="pageSize" access="public" return="PageSize" id="0"/> + <qmethod name="setPageSize" access="public" return="void" id="0"> + <qparam type="PageSize" name="arg1"/> + </qmethod> + <qmethod name="winPageSize" access="public" return="short" id="0"/> + <qmethod name="setPageOrder" access="public" return="void" id="0"> + <qparam type="PageOrder" name="arg1"/> + </qmethod> + <qmethod name="pageOrder" access="public" return="PageOrder" id="0"/> + <qmethod name="setResolution" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="resolution" access="public" return="int" id="0"/> + <qmethod name="setColorMode" access="public" return="void" id="0"> + <qparam type="ColorMode" name="arg1"/> + </qmethod> + <qmethod name="colorMode" access="public" return="ColorMode" id="0"/> + <qmethod name="setFullPage" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="fullPage" access="public" return="bool" id="0"/> + <qmethod name="margins" access="public" return="QSize" id="0"/> + <qmethod name="fromPage" access="public" return="int" id="0"/> + <qmethod name="toPage" access="public" return="int" id="0"/> + <qmethod name="setFromTo" access="public" return="void" id="0"> + <qparam type="int" name="fromPage"/> + <qparam type="int" name="toPage"/> + </qmethod> + <qmethod name="minPage" access="public" return="int" id="0"/> + <qmethod name="maxPage" access="public" return="int" id="0"/> + <qmethod name="setMinMax" access="public" return="void" id="0"> + <qparam type="int" name="minPage"/> + <qparam type="int" name="maxPage"/> + </qmethod> + <qmethod name="numCopies" access="public" return="int" id="0"/> + <qmethod name="setNumCopies" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="collateCopiesEnabled" access="public" return="bool" id="0"/> + <qmethod name="setCollateCopiesEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="collateCopies" access="public" return="bool" id="0"/> + <qmethod name="setCollateCopies" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="newPage" access="public" return="bool" id="0"/> + <qmethod name="abort" access="public" return="bool" id="0"/> + <qmethod name="aborted" access="public" return="bool" id="0"/> + <qmethod name="setup" access="public" return="bool" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + </qmethod> + <qmethod name="paperSource" access="public" return="PaperSource" id="0"/> + <qmethod name="setPaperSource" access="public" return="void" id="0"> + <qparam type="PaperSource" name="arg1"/> + </qmethod> + <qmethod name="protected_cmd" access="protected" return="bool" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="QPainter*" name="arg2"/> + <qparam type="QPDevCmdParam*" name="arg3"/> + </qmethod> + <qmethod name="protected_metric" access="protected" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="protected_setActive" access="protected" return="void" id="0"/> + <qmethod name="protected_setIdle" access="protected" return="void" id="0"/> +</qtype> <qtype name="QProcess" access="public"> + <qancestor name="QObject"/> + <qenum name="Communication" access="public"> + <qitem name="Stdin" value="1"/> + <qitem name="Stdout" value="2"/> + <qitem name="Stderr" value="4"/> + <qitem name="DupStderr" value="8"/> + </qenum> + <qctor name="QProcess" access="public" id="0"> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QProcess" access="public" id="1"> + <qparam type="QStringamp" name="arg0"/> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QProcess" access="public" id="2"> + <qparam type="QStringListamp" name="args"/> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QProcess" access="public"/> + <qmethod name="arguments" access="public" return="QStringList" id="0"/> + <qmethod name="clearArguments" access="public" return="void" id="0"/> + <qmethod name="setArguments" access="public" return="void" id="0"> + <qparam type="QStringListamp" name="args"/> + </qmethod> + <qmethod name="addArgument" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg"/> + </qmethod> + <qmethod name="workingDirectory" access="public" return="QDir" id="0"/> + <qmethod name="setWorkingDirectory" access="public" return="void" id="0"> + <qparam type="QDiramp" name="dir"/> + </qmethod> + <qmethod name="setCommunication" access="public" return="void" id="0"> + <qparam type="int" name="c"/> + </qmethod> + <qmethod name="communication" access="public" return="int" id="0"/> + <qmethod name="start" access="public" return="bool" id="0"> + <qparam type="QStringList*" name="env" default="0"/> + </qmethod> + <qmethod name="launch" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="buf"/> + <qparam type="QStringList*" name="env" default="0"/> + </qmethod> + <qmethod name="launch" access="public" return="bool" id="1"> + <qparam type="QByteArrayamp" name="buf"/> + <qparam type="QStringList*" name="env" default="0"/> + </qmethod> + <qmethod name="isRunning" access="public" return="bool" id="0"/> + <qmethod name="normalExit" access="public" return="bool" id="0"/> + <qmethod name="exitStatus" access="public" return="int" id="0"/> + <qmethod name="readStdout" access="public" return="QByteArray" id="0"/> + <qmethod name="readStderr" access="public" return="QByteArray" id="0"/> + <qmethod name="canReadLineStdout" access="public" return="bool" id="0"/> + <qmethod name="canReadLineStderr" access="public" return="bool" id="0"/> + <qmethod name="readLineStdout" access="public" return="QString" id="0"/> + <qmethod name="readLineStderr" access="public" return="QString" id="0"/> + <qmethod name="processIdentifier" access="public" return="PID" id="0"/> + <qmethod name="flushStdin" access="public" return="void" id="0"/> + <qmethod name="tryTerminate" access="public" return="void" id="0"/> + <qmethod name="kill" access="public" return="void" id="0"/> + <qmethod name="writeToStdin" access="public" return="void" id="0"> + <qparam type="QByteArrayamp" name="buf"/> + </qmethod> + <qmethod name="writeToStdin" access="public" return="void" id="1"> + <qparam type="QStringamp" name="buf"/> + </qmethod> + <qmethod name="closeStdin" access="public" return="void" id="0"/> + <qmethod name="protected_connectNotify" access="protected" return="void" id="0"> + <qparam type="char*" name="signal"/> + </qmethod> + <qmethod name="protected_disconnectNotify" access="protected" return="void" +id="0"> + <qparam type="char*" name="signal"/> + </qmethod> +</qtype> <qtype name="QProgressBar" access="public"> + <qancestor name="QFrame"/> + <qctor name="QProgressBar" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qctor name="QProgressBar" access="public" id="1"> + <qparam type="int" name="totalSteps"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qmethod name="totalSteps" access="public" return="int" id="0"/> + <qmethod name="progress" access="public" return="int" id="0"/> + <qmethod name="progressString" access="public" return="QStringamp" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="setCenterIndicator" access="public" return="void" id="0"> + <qparam type="bool" name="on"/> + </qmethod> + <qmethod name="centerIndicator" access="public" return="bool" id="0"/> + <qmethod name="setIndicatorFollowsStyle" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="indicatorFollowsStyle" access="public" return="bool" id="0"/> + <qmethod name="percentageVisible" access="public" return="bool" id="0"/> + <qmethod name="setPercentageVisible" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="reset" access="public" return="void" id="0"/> + <qmethod name="setTotalSteps" access="public" return="void" id="0"> + <qparam type="int" name="totalSteps"/> + </qmethod> + <qmethod name="setProgress" access="public" return="void" id="0"> + <qparam type="int" name="progress"/> + </qmethod> + <qmethod name="protected_drawContents" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_setIndicator" access="protected" return="bool" id="0"> + <qparam type="QStringamp" name="progress_str"/> + <qparam type="int" name="progress"/> + <qparam type="int" name="totalSteps"/> + </qmethod> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QProgressDialog" access="public"> + <qancestor name="QDialog"/> + <qctor name="QProgressDialog" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="bool" name="modal" default="FALSE"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qctor name="QProgressDialog" access="public" id="1"> + <qparam type="QStringamp" name="labelText"/> + <qparam type="QStringamp" name="cancelButtonText"/> + <qparam type="int" name="totalSteps"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="bool" name="modal" default="FALSE"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qdctor name="QProgressDialog" access="public"/> + <qmethod name="setLabel" access="public" return="void" id="0"> + <qparam type="QLabel*" name="arg1"/> + </qmethod> + <qmethod name="setCancelButton" access="public" return="void" id="0"> + <qparam type="QPushButton*" name="arg1"/> + </qmethod> + <qmethod name="setBar" access="public" return="void" id="0"> + <qparam type="QProgressBar*" name="arg1"/> + </qmethod> + <qmethod name="wasCancelled" access="public" return="bool" id="0"/> + <qmethod name="totalSteps" access="public" return="int" id="0"/> + <qmethod name="progress" access="public" return="int" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="labelText" access="public" return="QString" id="0"/> + <qmethod name="setAutoReset" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="autoReset" access="public" return="bool" id="0"/> + <qmethod name="setAutoClose" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="autoClose" access="public" return="bool" id="0"/> + <qmethod name="minimumDuration" access="public" return="int" id="0"/> + <qmethod name="cancel" access="public" return="void" id="0"/> + <qmethod name="reset" access="public" return="void" id="0"/> + <qmethod name="setTotalSteps" access="public" return="void" id="0"> + <qparam type="int" name="totalSteps"/> + </qmethod> + <qmethod name="setProgress" access="public" return="void" id="0"> + <qparam type="int" name="progress"/> + </qmethod> + <qmethod name="setLabelText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setCancelButtonText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setMinimumDuration" access="public" return="void" id="0"> + <qparam type="int" name="ms"/> + </qmethod> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_forceShow" access="protected" return="void" id="0"/> +</qtype> <qtype name="QPtrBucket" access="public"> + <qancestor name="QBaseBucket"/> + <qctor name="QPtrBucket" access="public" id="0"> + <qparam type="void*" name="k"/> + <qparam type="QPtrCollection::Item" name="d"/> + <qparam type="QBaseBucket*" name="n"/> + </qctor> + <qmethod name="getKey" access="public" return="void*" id="0"/> +</qtype> <qtype name="QPtrCollection" access="public"> + <qmethod name="autoDelete" access="public" return="bool" id="0"/> + <qmethod name="setAutoDelete" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="clear" access="public" return="void" id="0"/> +</qtype> <qtype name="QPtrDict" access="public"> + <qancestor name="QPtrCollection"/> + <qctor name="QPtrDict" access="public" id="0"> + <qparam type="int" name="size" default="17"/> + </qctor> + <qdctor name="QPtrDict" access="public"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="size" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="void*" name="k"/> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="replace" access="public" return="void" id="0"> + <qparam type="void*" name="k"/> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="remove" access="public" return="bool" id="0"> + <qparam type="void*" name="k"/> + </qmethod> + <qmethod name="take" access="public" return="type*" id="0"> + <qparam type="void*" name="k"/> + </qmethod> + <qmethod name="find" access="public" return="type*" id="0"> + <qparam type="void*" name="k"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="resize" access="public" return="void" id="0"> + <qparam type="uint" name="n"/> + </qmethod> + <qmethod name="statistics" access="public" return="void" id="0"/> + <qmethod name="protected_read" access="protected" return="QDataStreamamp" +id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Itemamp" name="arg2"/> + </qmethod> + <qmethod name="protected_write" access="protected" return="QDataStreamamp" +id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Item" name="arg2"/> + </qmethod> +</qtype> <qtype name="QPtrDictIterator" access="public"> + <qancestor name="QGDictIterator"/> + <qdctor name="QPtrDictIterator" access="public"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="toFirst" access="public" return="type*" id="0"/> + <qmethod name="current" access="public" return="type*" id="0"/> + <qmethod name="currentKey" access="public" return="void*" id="0"/> +</qtype> <qtype name="QPtrList" access="public"> + <qancestor name="QPtrCollection"/> + <qctor name="QPtrList" access="public" id="0"/> + <qdctor name="QPtrList" access="public"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="insert" access="public" return="bool" id="0"> + <qparam type="uint" name="i"/> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="inSort" access="public" return="void" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="prepend" access="public" return="void" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="append" access="public" return="void" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="remove" access="public" return="bool" id="0"> + <qparam type="uint" name="i"/> + </qmethod> + <qmethod name="remove" access="public" return="bool" id="1"/> + <qmethod name="remove" access="public" return="bool" id="2"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="removeRef" access="public" return="bool" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="removeNode" access="public" return="void" id="0"> + <qparam type="QLNode*" name="n"/> + </qmethod> + <qmethod name="removeFirst" access="public" return="bool" id="0"/> + <qmethod name="removeLast" access="public" return="bool" id="0"/> + <qmethod name="take" access="public" return="type*" id="0"> + <qparam type="uint" name="i"/> + </qmethod> + <qmethod name="take" access="public" return="type*" id="1"/> + <qmethod name="takeNode" access="public" return="type*" id="0"> + <qparam type="QLNode*" name="n"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="sort" access="public" return="void" id="0"/> + <qmethod name="find" access="public" return="int" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="findNext" access="public" return="int" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="findRef" access="public" return="int" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="findNextRef" access="public" return="int" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="contains" access="public" return="uint" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="containsRef" access="public" return="uint" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="at" access="public" return="type*" id="0"> + <qparam type="uint" name="i"/> + </qmethod> + <qmethod name="at" access="public" return="int" id="1"/> + <qmethod name="current" access="public" return="type*" id="0"/> + <qmethod name="currentNode" access="public" return="QLNode*" id="0"/> + <qmethod name="getFirst" access="public" return="type*" id="0"/> + <qmethod name="getLast" access="public" return="type*" id="0"/> + <qmethod name="first" access="public" return="type*" id="0"/> + <qmethod name="last" access="public" return="type*" id="0"/> + <qmethod name="next" access="public" return="type*" id="0"/> + <qmethod name="prev" access="public" return="type*" id="0"/> + <qmethod name="toVector" access="public" return="void" id="0"> + <qparam type="QGVector*" name="vec"/> + </qmethod> + <qmethod name="protected_compareItems" access="protected" return="int" id="0"> + <qparam type="QPtrCollection::Item" name="arg1"/> + <qparam type="QPtrCollection::Item" name="arg2"/> + </qmethod> + <qmethod name="protected_read" access="protected" return="QDataStreamamp" +id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Itemamp" name="arg2"/> + </qmethod> + <qmethod name="protected_write" access="protected" return="QDataStreamamp" +id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Item" name="arg2"/> + </qmethod> +</qtype> <qtype name="QPtrListIterator" access="public"> + <qancestor name="QGListIterator"/> + <qdctor name="QPtrListIterator" access="public"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="atFirst" access="public" return="bool" id="0"/> + <qmethod name="atLast" access="public" return="bool" id="0"/> + <qmethod name="toFirst" access="public" return="type*" id="0" throttle="true"/> + <qmethod name="toLast" access="public" return="type*" id="0" throttle="true"/> + <qmethod name="current" access="public" return="type*" id="0"/> +</qtype> <qtype name="QPtrQueue" access="public"> + <qancestor name="QGList"/> + <qctor name="QPtrQueue" access="public" id="0"/> + <qdctor name="QPtrQueue" access="public"/> + <qmethod name="autoDelete" access="public" return="bool" id="0"/> + <qmethod name="setAutoDelete" access="public" return="void" id="0"> + <qparam type="bool" name="del"/> + </qmethod> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="enqueue" access="public" return="void" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="dequeue" access="public" return="type*" id="0"/> + <qmethod name="remove" access="public" return="bool" id="0"/> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="head" access="public" return="type*" id="0"/> + <qmethod name="current" access="public" return="type*" id="0"/> + <qmethod name="protected_read" access="protected" return="QDataStreamamp" +id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Itemamp" name="arg2"/> + </qmethod> + <qmethod name="protected_write" access="protected" return="QDataStreamamp" +id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Item" name="arg2"/> + </qmethod> +</qtype> <qtype name="QPtrStack" access="public"> + <qancestor name="QGList"/> + <qctor name="QPtrStack" access="public" id="0"/> + <qdctor name="QPtrStack" access="public"/> + <qmethod name="autoDelete" access="public" return="bool" id="0"/> + <qmethod name="setAutoDelete" access="public" return="void" id="0"> + <qparam type="bool" name="del"/> + </qmethod> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="push" access="public" return="void" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="pop" access="public" return="type*" id="0"/> + <qmethod name="remove" access="public" return="bool" id="0"/> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="top" access="public" return="type*" id="0"/> + <qmethod name="current" access="public" return="type*" id="0"/> + <qmethod name="protected_read" access="protected" return="QDataStreamamp" +id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Itemamp" name="arg2"/> + </qmethod> + <qmethod name="protected_write" access="protected" return="QDataStreamamp" +id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + <qparam type="QPtrCollection::Item" name="arg2"/> + </qmethod> +</qtype> <qtype name="QPtrVector" access="public"> + <qancestor name="QPtrCollection"/> + <qctor name="QPtrVector" access="public" id="0"/> + <qctor name="QPtrVector" access="public" id="1"> + <qparam type="uint" name="size"/> + </qctor> + <qdctor name="QPtrVector" access="public"/> + <qmethod name="data" access="public" return="type**" id="0"/> + <qmethod name="size" access="public" return="uint" id="0"/> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="resize" access="public" return="bool" id="0"> + <qparam type="uint" name="size"/> + </qmethod> + <qmethod name="insert" access="public" return="bool" id="0"> + <qparam type="uint" name="i"/> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="remove" access="public" return="bool" id="0"> + <qparam type="uint" name="i"/> + </qmethod> + <qmethod name="take" access="public" return="type*" id="0"> + <qparam type="uint" name="i"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="fill" access="public" return="bool" id="0"> + <qparam type="type*" name="d"/> + <qparam type="int" name="size" default="-1"/> + </qmethod> + <qmethod name="sort" access="public" return="void" id="0"/> + <qmethod name="bsearch" access="public" return="int" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="findRef" access="public" return="int" id="0"> + <qparam type="type*" name="d"/> + <qparam type="uint" name="i" default="0"/> + </qmethod> + <qmethod name="find" access="public" return="int" id="0"> + <qparam type="type*" name="d"/> + <qparam type="uint" name="i" default="0"/> + </qmethod> + <qmethod name="containsRef" access="public" return="uint" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="contains" access="public" return="uint" id="0"> + <qparam type="type*" name="d"/> + </qmethod> + <qmethod name="at" access="public" return="type*" id="0"> + <qparam type="uint" name="i"/> + </qmethod> + <qmethod name="toList" access="public" return="void" id="0"> + <qparam type="QGList*" name="list"/> + </qmethod> + <qmethod name="protected_compareItems" access="protected" return="int" id="0"> + <qparam type="QPtrCollection::Item" name="d1"/> + <qparam type="QPtrCollection::Item" name="d2"/> + </qmethod> + <qmethod name="protected_read" access="protected" return="QDataStreamamp" +id="0"> + <qparam type="QDataStreamamp" name="s"/> + <qparam type="QPtrCollection::Itemamp" name="d"/> + </qmethod> + <qmethod name="protected_write" access="protected" return="QDataStreamamp" +id="0"> + <qparam type="QDataStreamamp" name="s"/> + <qparam type="QPtrCollection::Item" name="d"/> + </qmethod> +</qtype> <qtype name="QPushButton" access="public"> + <qancestor name="QButton"/> + <qctor name="QPushButton" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QPushButton" access="public" id="1"> + <qparam type="QStringamp" name="text"/> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QPushButton" access="public" id="2"> + <qparam type="QIconSetamp" name="icon"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QPushButton" access="public"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="move" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="move" access="public" return="void" id="1"> + <qparam type="QPointamp" name="p"/> + </qmethod> + <qmethod name="resize" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="resize" access="public" return="void" id="1"> + <qparam type="QSizeamp" name="arg1"/> + </qmethod> + <qmethod name="setGeometry" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="setGeometry" access="public" return="void" id="1"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="setToggleButton" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="autoDefault" access="public" return="bool" id="0"/> + <qmethod name="setAutoDefault" access="public" return="void" id="0"> + <qparam type="bool" name="autoDef"/> + </qmethod> + <qmethod name="isDefault" access="public" return="bool" id="0"/> + <qmethod name="setDefault" access="public" return="void" id="0"> + <qparam type="bool" name="def"/> + </qmethod> + <qmethod name="setIsMenuButton" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="isMenuButton" access="public" return="bool" id="0"/> + <qmethod name="setPopup" access="public" return="void" id="0"> + <qparam type="QPopupMenu*" name="popup"/> + </qmethod> + <qmethod name="popup" access="public" return="QPopupMenu*" id="0"/> + <qmethod name="setIconSet" access="public" return="void" id="0"> + <qparam type="QIconSetamp" name="arg1"/> + </qmethod> + <qmethod name="iconSet" access="public" return="QIconSet*" id="0"/> + <qmethod name="setFlat" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isFlat" access="public" return="bool" id="0"/> + <qmethod name="setOn" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_drawButton" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_drawButtonLabel" access="protected" return="void" +id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_updateMask" access="protected" return="void" id="0"/> +</qtype> <qtype name="QRadioButton" access="public"> + <qancestor name="QButton"/> + <qctor name="QRadioButton" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QRadioButton" access="public" id="1"> + <qparam type="QStringamp" name="text"/> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qmethod name="setChecked" access="public" return="void" id="0"> + <qparam type="bool" name="check"/> + </qmethod> + <qmethod name="isChecked" access="public" return="bool" id="0"/> + <qmethod name="protected_hitButton" access="protected" return="bool" id="0"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="protected_drawButton" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_drawButtonLabel" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_updateMask" access="protected" return="void" id="0"/> +</qtype> <qtype name="QRangeControl" access="public"> + <qctor name="QRangeControl" access="public" id="0"/> + <qctor name="QRangeControl" access="public" id="1"> + <qparam type="int" name="minValue"/> + <qparam type="int" name="maxValue"/> + <qparam type="int" name="lineStep"/> + <qparam type="int" name="pageStep"/> + <qparam type="int" name="value"/> + </qctor> + <qdctor name="QRangeControl" access="public"/> + <qmethod name="value" access="public" return="int" id="0"/> + <qmethod name="setValue" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="addPage" access="public" return="void" id="0"/> + <qmethod name="subtractPage" access="public" return="void" id="0"/> + <qmethod name="addLine" access="public" return="void" id="0"/> + <qmethod name="subtractLine" access="public" return="void" id="0"/> + <qmethod name="minValue" access="public" return="int" id="0"/> + <qmethod name="maxValue" access="public" return="int" id="0"/> + <qmethod name="setRange" access="public" return="void" id="0"> + <qparam type="int" name="minValue"/> + <qparam type="int" name="maxValue"/> + </qmethod> + <qmethod name="setMinValue" access="public" return="void" id="0"> + <qparam type="int" name="minVal"/> + </qmethod> + <qmethod name="setMaxValue" access="public" return="void" id="0"> + <qparam type="int" name="minVal"/> + </qmethod> + <qmethod name="lineStep" access="public" return="int" id="0"/> + <qmethod name="pageStep" access="public" return="int" id="0"/> + <qmethod name="setSteps" access="public" return="void" id="0"> + <qparam type="int" name="line"/> + <qparam type="int" name="page"/> + </qmethod> + <qmethod name="bound" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="protected_positionFromValue" access="protected" return="int" +id="0"> + <qparam type="int" name="val"/> + <qparam type="int" name="space"/> + </qmethod> + <qmethod name="protected_valueFromPosition" access="protected" return="int" +id="0"> + <qparam type="int" name="pos"/> + <qparam type="int" name="space"/> + </qmethod> + <qmethod name="protected_directSetValue" access="protected" return="void" +id="0"> + <qparam type="int" name="val"/> + </qmethod> + <qmethod name="protected_prevValue" access="protected" return="int" id="0"/> + <qmethod name="protected_valueChange" access="protected" return="void" id="0"/> + <qmethod name="protected_rangeChange" access="protected" return="void" id="0"/> + <qmethod name="protected_stepChange" access="protected" return="void" id="0"/> +</qtype> <qtype name="QRect" access="public"> + <qctor name="QRect" access="public" id="0"/> + <qctor name="QRect" access="public" id="1"> + <qparam type="QPointamp" name="topleft"/> + <qparam type="QPointamp" name="bottomright"/> + </qctor> + <qctor name="QRect" access="public" id="2"> + <qparam type="QPointamp" name="topleft"/> + <qparam type="QSizeamp" name="size"/> + </qctor> + <qctor name="QRect" access="public" id="3"> + <qparam type="int" name="left"/> + <qparam type="int" name="top"/> + <qparam type="int" name="width"/> + <qparam type="int" name="height"/> + </qctor> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="normalize" access="public" return="QRect" id="0"/> + <qmethod name="left" access="public" return="int" id="0"/> + <qmethod name="top" access="public" return="int" id="0"/> + <qmethod name="right" access="public" return="int" id="0"/> + <qmethod name="bottom" access="public" return="int" id="0"/> + <qmethod name="rLeft" access="public" return="QCOORDamp" id="0"/> + <qmethod name="rTop" access="public" return="QCOORDamp" id="0"/> + <qmethod name="rRight" access="public" return="QCOORDamp" id="0"/> + <qmethod name="rBottom" access="public" return="QCOORDamp" id="0"/> + <qmethod name="x" access="public" return="int" id="0"/> + <qmethod name="y" access="public" return="int" id="0"/> + <qmethod name="setLeft" access="public" return="void" id="0"> + <qparam type="int" name="pos"/> + </qmethod> + <qmethod name="setTop" access="public" return="void" id="0"> + <qparam type="int" name="pos"/> + </qmethod> + <qmethod name="setRight" access="public" return="void" id="0"> + <qparam type="int" name="pos"/> + </qmethod> + <qmethod name="setBottom" access="public" return="void" id="0"> + <qparam type="int" name="pos"/> + </qmethod> + <qmethod name="setX" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + </qmethod> + <qmethod name="setY" access="public" return="void" id="0"> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="topLeft" access="public" return="QPoint" id="0"/> + <qmethod name="bottomRight" access="public" return="QPoint" id="0"/> + <qmethod name="topRight" access="public" return="QPoint" id="0"/> + <qmethod name="bottomLeft" access="public" return="QPoint" id="0"/> + <qmethod name="center" access="public" return="QPoint" id="0"/> + <qmethod name="rect" access="public" return="void" id="0"> + <qparam type="int*" name="x"/> + <qparam type="int*" name="y"/> + <qparam type="int*" name="w"/> + <qparam type="int*" name="h"/> + </qmethod> + <qmethod name="coords" access="public" return="void" id="0"> + <qparam type="int*" name="x1"/> + <qparam type="int*" name="y1"/> + <qparam type="int*" name="x2"/> + <qparam type="int*" name="y2"/> + </qmethod> + <qmethod name="moveTopLeft" access="public" return="void" id="0"> + <qparam type="QPointamp" name="p"/> + </qmethod> + <qmethod name="moveBottomRight" access="public" return="void" id="0"> + <qparam type="QPointamp" name="p"/> + </qmethod> + <qmethod name="moveTopRight" access="public" return="void" id="0"> + <qparam type="QPointamp" name="p"/> + </qmethod> + <qmethod name="moveBottomLeft" access="public" return="void" id="0"> + <qparam type="QPointamp" name="p"/> + </qmethod> + <qmethod name="moveCenter" access="public" return="void" id="0"> + <qparam type="QPointamp" name="p"/> + </qmethod> + <qmethod name="moveBy" access="public" return="void" id="0"> + <qparam type="int" name="dx"/> + <qparam type="int" name="dy"/> + </qmethod> + <qmethod name="setRect" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="setCoords" access="public" return="void" id="0"> + <qparam type="int" name="x1"/> + <qparam type="int" name="y1"/> + <qparam type="int" name="x2"/> + <qparam type="int" name="y2"/> + </qmethod> + <qmethod name="addCoords" access="public" return="void" id="0"> + <qparam type="int" name="x1"/> + <qparam type="int" name="y1"/> + <qparam type="int" name="x2"/> + <qparam type="int" name="y2"/> + </qmethod> + <qmethod name="size" access="public" return="QSize" id="0"/> + <qmethod name="width" access="public" return="int" id="0"/> + <qmethod name="height" access="public" return="int" id="0"/> + <qmethod name="setWidth" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + </qmethod> + <qmethod name="setHeight" access="public" return="void" id="0"> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="setSize" access="public" return="void" id="0"> + <qparam type="QSizeamp" name="s"/> + </qmethod> + <qmethod name="contains" access="public" return="bool" id="0"> + <qparam type="QPointamp" name="p"/> + <qparam type="bool" name="proper" default="FALSE"/> + </qmethod> + <qmethod name="contains" access="public" return="bool" id="1"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="bool" name="proper" default="FALSE"/> + </qmethod> + <qmethod name="contains" access="public" return="bool" id="2"> + <qparam type="QRectamp" name="r"/> + <qparam type="bool" name="proper" default="FALSE"/> + </qmethod> + <qmethod name="unite" access="public" return="QRect" id="0"> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="intersect" access="public" return="QRect" id="0"> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="intersects" access="public" return="bool" id="0"> + <qparam type="QRectamp" name="r"/> + </qmethod> +</qtype> <qtype name="QRegExp" access="public"> + <qctor name="QRegExp" access="public" id="0"/> + <qctor name="QRegExp" access="public" id="1"> + <qparam type="QStringamp" name="pattern"/> + <qparam type="bool" name="caseSensitive" default="TRUE"/> + <qparam type="bool" name="wildcard" default="FALSE"/> + </qctor> + <qctor name="QRegExp" access="public" id="2"> + <qparam type="QRegExpamp" name="rx"/> + </qctor> + <qdctor name="QRegExp" access="public"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="pattern" access="public" return="QString" id="0"/> + <qmethod name="setPattern" access="public" return="void" id="0"> + <qparam type="QStringamp" name="pattern"/> + </qmethod> + <qmethod name="caseSensitive" access="public" return="bool" id="0"/> + <qmethod name="setCaseSensitive" access="public" return="void" id="0"> + <qparam type="bool" name="sensitive"/> + </qmethod> + <qmethod name="wildcard" access="public" return="bool" id="0"/> + <qmethod name="setWildcard" access="public" return="void" id="0"> + <qparam type="bool" name="wildcard"/> + </qmethod> + <qmethod name="minimal" access="public" return="bool" id="0"/> + <qmethod name="setMinimal" access="public" return="void" id="0"> + <qparam type="bool" name="minimal"/> + </qmethod> + <qmethod name="exactMatch" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="str"/> + </qmethod> + <qmethod name="match" access="public" return="int" id="0"> + <qparam type="QStringamp" name="str"/> + <qparam type="int" name="index" default="0"/> + <qparam type="int*" name="len" default="0"/> + <qparam type="bool" name="indexIsStart" default="TRUE"/> + </qmethod> + <qmethod name="search" access="public" return="int" id="0"> + <qparam type="QStringamp" name="str"/> + <qparam type="int" name="start" default="0"/> + </qmethod> + <qmethod name="searchRev" access="public" return="int" id="0"> + <qparam type="QStringamp" name="str"/> + <qparam type="int" name="start" default="-1"/> + </qmethod> + <qmethod name="matchedLength" access="public" return="int" id="0"/> + <qmethod name="capturedTexts" access="public" return="QStringList" id="0"/> + <qmethod name="cap" access="public" return="QString" id="0"> + <qparam type="int" name="nth" default="0"/> + </qmethod> + <qmethod name="pos" access="public" return="int" id="0"> + <qparam type="int" name="nth" default="0"/> + </qmethod> +</qtype> <qtype name="QRegExpValidator" access="public"> + <qancestor name="QValidator"/> + <qctor name="QRegExpValidator" access="public" id="0"> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QRegExpValidator" access="public" id="1"> + <qparam type="QRegExpamp" name="rx"/> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QRegExpValidator" access="public"/> + <qmethod name="validate" access="public" return="QValidator::State" id="0"> + <qparam type="QStringamp" name="input"/> + <qparam type="intamp" name="pos"/> + </qmethod> + <qmethod name="setRegExp" access="public" return="void" id="0"> + <qparam type="QRegExpamp" name="rx"/> + </qmethod> + <qmethod name="regExp" access="public" return="QRegExpamp" id="0"/> +</qtype> <qtype name="QRegion" access="public"> + <qenum name="RegionType" access="public"> + <qitem name="Rectangle" value="0"/> + <qitem name="Ellipse" value="1"/> + </qenum> + <qctor name="QRegion" access="public" id="0"/> + <qctor name="QRegion" access="public" id="1"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="RegionType" name="arg1" default="Rectangle"/> + </qctor> + <qctor name="QRegion" access="public" id="2"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="RegionType" name="arg2" default="Rectangle"/> + </qctor> + <qctor name="QRegion" access="public" id="3"> + <qparam type="QPointArrayamp" name="arg1"/> + <qparam type="bool" name="winding" default="FALSE"/> + </qctor> + <qctor name="QRegion" access="public" id="4"> + <qparam type="QRegionamp" name="arg1"/> + </qctor> + <qctor name="QRegion" access="public" id="5"> + <qparam type="QBitmapamp" name="arg1"/> + </qctor> + <qdctor name="QRegion" access="public"/> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="contains" access="public" return="bool" id="0"> + <qparam type="QPointamp" name="p"/> + </qmethod> + <qmethod name="contains" access="public" return="bool" id="1"> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="translate" access="public" return="void" id="0"> + <qparam type="int" name="dx"/> + <qparam type="int" name="dy"/> + </qmethod> + <qmethod name="unite" access="public" return="QRegion" id="0"> + <qparam type="QRegionamp" name="arg1"/> + </qmethod> + <qmethod name="intersect" access="public" return="QRegion" id="0"> + <qparam type="QRegionamp" name="arg1"/> + </qmethod> + <qmethod name="subtract" access="public" return="QRegion" id="0"> + <qparam type="QRegionamp" name="arg1"/> + </qmethod> + <qmethod name="eor" access="public" return="QRegion" id="0"> + <qparam type="QRegionamp" name="arg1"/> + </qmethod> + <qmethod name="boundingRect" access="public" return="QRect" id="0"/> + <qmethod name="setRects" access="public" return="void" id="0"> + <qparam type="QRect*" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="handle" access="public" return="RgnHandle" id="0"> + <qparam type="bool" name="require_rgn" default="FALSE"/> + </qmethod> +</qtype> <qtype name="QRemoteFactory" access="public"> + <qmethod name="keys" access="public static" return="QStringList" id="0"/> + <qmethod name="create" access="public static" return="QRemoteInterface*" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QRemotePlugin" access="public"> + <qancestor name="QGPlugin"/> + <qdctor name="QRemotePlugin" access="public"/> + <qmethod name="keys" access="public" return="QStringList" id="0"/> + <qmethod name="create" access="public" return="QRemoteInterface*" id="0"> + <qparam type="QStringamp" name="key"/> + </qmethod> +</qtype> <qtype name="QResizeEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QResizeEvent" access="public" id="0"> + <qparam type="QSizeamp" name="size"/> + <qparam type="QSizeamp" name="oldSize"/> + </qctor> + <qmethod name="size" access="public" return="QSizeamp" id="0"/> + <qmethod name="oldSize" access="public" return="QSizeamp" id="0"/> +</qtype> <qtype name="QSGIStyle" access="public"> + <qancestor name="QMotifStyle"/> + <qctor name="QSGIStyle" access="public" id="0"> + <qparam type="bool" name="useHighlightCols" default="FALSE"/> + </qctor> + <qdctor name="QSGIStyle" access="public"/> + <qmethod name="polish" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="unPolish" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="polish" access="public" return="void" id="1"> + <qparam type="QApplication*" name="arg1"/> + </qmethod> + <qmethod name="unPolish" access="public" return="void" id="1"> + <qparam type="QApplication*" name="arg1"/> + </qmethod> + <qmethod name="drawPrimitive" access="public" return="void" id="0"> + <qparam type="PrimitiveElement" name="pe"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="flags" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawControl" access="public" return="void" id="0"> + <qparam type="ControlElement" name="element"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="how" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawComplexControl" access="public" return="void" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="how" default="Style_Default"/> + <qparam type="SCFlags" name="sub" default="SC_All"/> + <qparam type="SCFlags" name="subActive" default="SC_None"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="pixelMetric" access="public" return="int" id="0"> + <qparam type="PixelMetric" name="metric"/> + <qparam type="QWidget*" name="widget" default="0"/> + </qmethod> + <qmethod name="sizeFromContents" access="public" return="QSize" id="0"> + <qparam type="ContentsType" name="contents"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QSizeamp" name="contentsSize"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="subRect" access="public" return="QRect" id="0"> + <qparam type="SubRect" name="r"/> + <qparam type="QWidget*" name="widget"/> + </qmethod> + <qmethod name="querySubControlMetrics" access="public" return="QRect" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="SubControl" name="sc"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="protected_eventFilter" access="protected" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> +</qtype> <qtype name="QScrollBar" access="public"> + <qancestor name="QRangeControl"/> + <qancestor name="QWidget"/> + <qctor name="QScrollBar" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QScrollBar" access="public" id="1"> + <qparam type="Orientation" name="arg1"/> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QScrollBar" access="public" id="2"> + <qparam type="int" name="minValue"/> + <qparam type="int" name="maxValue"/> + <qparam type="int" name="LineStep"/> + <qparam type="int" name="PageStep"/> + <qparam type="int" name="value"/> + <qparam type="Orientation" name="arg1"/> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qmethod name="setOrientation" access="public" return="void" id="0"> + <qparam type="Orientation" name="arg1"/> + </qmethod> + <qmethod name="orientation" access="public" return="Orientation" id="0"/> + <qmethod name="setTracking" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="tracking" access="public" return="bool" id="0"/> + <qmethod name="draggingSlider" access="public" return="bool" id="0"/> + <qmethod name="setPalette" access="public" return="void" id="0"> + <qparam type="QPaletteamp" name="arg1"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minValue" access="public" return="int" id="0"/> + <qmethod name="maxValue" access="public" return="int" id="0"/> + <qmethod name="setMinValue" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setMaxValue" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="lineStep" access="public" return="int" id="0"/> + <qmethod name="pageStep" access="public" return="int" id="0"/> + <qmethod name="setLineStep" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setPageStep" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="value" access="public" return="int" id="0"/> + <qmethod name="sliderStart" access="public" return="int" id="0"/> + <qmethod name="sliderRect" access="public" return="QRect" id="0"/> + <qmethod name="setValue" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="protected_valueChange" access="protected" return="void" id="0"/> + <qmethod name="protected_stepChange" access="protected" return="void" id="0"/> + <qmethod name="protected_rangeChange" access="protected" return="void" id="0"/> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QScrollView" access="public"> + <qancestor name="QFrame"/> + <qenum name="ResizePolicy" access="public"> + <qitem name="Default" value="0"/> + <qitem name="Manual" value="1"/> + <qitem name="AutoOne" value="2"/> + <qitem name="AutoOneFit" value="3"/> + </qenum> + <qenum name="ScrollBarMode" access="public"> + <qitem name="Auto" value="0"/> + <qitem name="AlwaysOff" value="1"/> + <qitem name="AlwaysOn" value="2"/> + </qenum> + <qctor name="QScrollView" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qdctor name="QScrollView" access="public"/> + <qmethod name="setResizePolicy" access="public" return="void" id="0"> + <qparam type="ResizePolicy" name="arg1"/> + </qmethod> + <qmethod name="resizePolicy" access="public" return="ResizePolicy" id="0"/> + <qmethod name="styleChange" access="public" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="removeChild" access="public" return="void" id="0"> + <qparam type="QWidget*" name="child"/> + </qmethod> + <qmethod name="addChild" access="public" return="void" id="0"> + <qparam type="QWidget*" name="child"/> + <qparam type="int" name="x" default="0"/> + <qparam type="int" name="y" default="0"/> + </qmethod> + <qmethod name="moveChild" access="public" return="void" id="0"> + <qparam type="QWidget*" name="child"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="childX" access="public" return="int" id="0"> + <qparam type="QWidget*" name="child"/> + </qmethod> + <qmethod name="childY" access="public" return="int" id="0"> + <qparam type="QWidget*" name="child"/> + </qmethod> + <qmethod name="childIsVisible" access="public" return="bool" id="0"> + <qparam type="QWidget*" name="child"/> + </qmethod> + <qmethod name="showChild" access="public" return="void" id="0"> + <qparam type="QWidget*" name="child"/> + <qparam type="bool" name="yes" default="TRUE"/> + </qmethod> + <qmethod name="vScrollBarMode" access="public" return="ScrollBarMode" id="0"/> + <qmethod name="setVScrollBarMode" access="public" return="void" id="0"> + <qparam type="ScrollBarMode" name="arg1"/> + </qmethod> + <qmethod name="hScrollBarMode" access="public" return="ScrollBarMode" id="0"/> + <qmethod name="setHScrollBarMode" access="public" return="void" id="0"> + <qparam type="ScrollBarMode" name="arg1"/> + </qmethod> + <qmethod name="cornerWidget" access="public" return="QWidget*" id="0"/> + <qmethod name="setCornerWidget" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="horizontalScrollBar" access="public" return="QScrollBar*" +id="0"/> + <qmethod name="verticalScrollBar" access="public" return="QScrollBar*" id="0"/> + <qmethod name="viewport" access="public" return="QWidget*" id="0"/> + <qmethod name="clipper" access="public" return="QWidget*" id="0"/> + <qmethod name="visibleWidth" access="public" return="int" id="0"/> + <qmethod name="visibleHeight" access="public" return="int" id="0"/> + <qmethod name="contentsWidth" access="public" return="int" id="0"/> + <qmethod name="contentsHeight" access="public" return="int" id="0"/> + <qmethod name="contentsX" access="public" return="int" id="0"/> + <qmethod name="contentsY" access="public" return="int" id="0"/> + <qmethod name="resize" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="resize" access="public" return="void" id="1"> + <qparam type="QSizeamp" name="arg1"/> + </qmethod> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="updateContents" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="updateContents" access="public" return="void" id="1"> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="updateContents" access="public" return="void" id="2"/> + <qmethod name="repaintContents" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="bool" name="erase" default="TRUE"/> + </qmethod> + <qmethod name="repaintContents" access="public" return="void" id="1"> + <qparam type="QRectamp" name="r"/> + <qparam type="bool" name="erase" default="TRUE"/> + </qmethod> + <qmethod name="repaintContents" access="public" return="void" id="2"> + <qparam type="bool" name="erase" default="TRUE"/> + </qmethod> + <qmethod name="contentsToViewport" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="intamp" name="vx"/> + <qparam type="intamp" name="vy"/> + </qmethod> + <qmethod name="viewportToContents" access="public" return="void" id="0"> + <qparam type="int" name="vx"/> + <qparam type="int" name="vy"/> + <qparam type="intamp" name="x"/> + <qparam type="intamp" name="y"/> + </qmethod> + <qmethod name="contentsToViewport" access="public" return="QPoint" id="1"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="viewportToContents" access="public" return="QPoint" id="1"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="enableClipper" access="public" return="void" id="0"> + <qparam type="bool" name="y"/> + </qmethod> + <qmethod name="setStaticBackground" access="public" return="void" id="0"> + <qparam type="bool" name="y"/> + </qmethod> + <qmethod name="hasStaticBackground" access="public" return="bool" id="0"/> + <qmethod name="viewportSize" access="public" return="QSize" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="removeChild" access="public" return="void" id="1"> + <qparam type="QObject*" name="child"/> + </qmethod> + <qmethod name="setDragAutoScroll" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="dragAutoScroll" access="public" return="bool" id="0"/> + <qmethod name="resizeContents" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="scrollBy" access="public" return="void" id="0"> + <qparam type="int" name="dx"/> + <qparam type="int" name="dy"/> + </qmethod> + <qmethod name="setContentsPos" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="ensureVisible" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="ensureVisible" access="public" return="void" id="1"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="xmargin"/> + <qparam type="int" name="ymargin"/> + </qmethod> + <qmethod name="center" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="center" access="public" return="void" id="1"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="float" name="xmargin"/> + <qparam type="float" name="ymargin"/> + </qmethod> + <qmethod name="updateScrollBars" access="public" return="void" id="0"/> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="protected_drawContents" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="int" name="cx"/> + <qparam type="int" name="cy"/> + <qparam type="int" name="cw"/> + <qparam type="int" name="ch"/> + </qmethod> + <qmethod name="protected_drawContentsOffset" access="protected" return="void" +id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="int" name="ox"/> + <qparam type="int" name="oy"/> + <qparam type="int" name="cx"/> + <qparam type="int" name="cy"/> + <qparam type="int" name="cw"/> + <qparam type="int" name="ch"/> + </qmethod> + <qmethod name="protected_frameChanged" access="protected" return="void" id="0"/> + <qmethod name="protected_setMargins" access="protected" return="void" id="0"> + <qparam type="int" name="left"/> + <qparam type="int" name="top"/> + <qparam type="int" name="right"/> + <qparam type="int" name="bottom"/> + </qmethod> + <qmethod name="protected_leftMargin" access="protected" return="int" id="0"/> + <qmethod name="protected_topMargin" access="protected" return="int" id="0"/> + <qmethod name="protected_rightMargin" access="protected" return="int" id="0"/> + <qmethod name="protected_bottomMargin" access="protected" return="int" id="0"/> + <qmethod name="protected_focusNextPrevChild" access="protected" return="bool" +id="0"> + <qparam type="bool" name="next"/> + </qmethod> + <qmethod name="protected_setHBarGeometry" access="protected" return="void" +id="0"> + <qparam type="QScrollBaramp" name="hbar"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="protected_setVBarGeometry" access="protected" return="void" +id="0"> + <qparam type="QScrollBaramp" name="vbar"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="protected_eventFilter" access="protected" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="e"/> + </qmethod> +</qtype> <qtype name="QSemaphore" access="public"> + <qctor name="QSemaphore" access="public" id="0"> + <qparam type="int" name="arg1"/> + </qctor> + <qdctor name="QSemaphore" access="public"/> + <qmethod name="available" access="public" return="int" id="0"/> + <qmethod name="total" access="public" return="int" id="0"/> + <qmethod name="tryAccess" access="public" return="bool" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> +</qtype> <qtype name="QSemiModal" access="public"> + <qancestor name="QDialog"/> + <qctor name="QSemiModal" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="bool" name="modal" default="FALSE"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> +</qtype> <qtype name="QSenderObject" access="public"> + <qancestor name="QObject"/> + <qmethod name="setSender" access="public" return="void" id="0"> + <qparam type="QObject*" name="s"/> + </qmethod> +</qtype> <qtype name="QServerSocket" access="public"> + <qancestor name="QObject"/> + <qdctor name="QServerSocket" access="public"/> + <qmethod name="ok" access="public" return="bool" id="0"/> + <qmethod name="port" access="public" return="Q_UINT16" id="0"/> + <qmethod name="socket" access="public" return="int" id="0"/> + <qmethod name="setSocket" access="public" return="void" id="0"> + <qparam type="int" name="socket"/> + </qmethod> + <qmethod name="address" access="public" return="QHostAddress" id="0"/> + <qmethod name="newConnection" access="public" return="void" id="0"> + <qparam type="int" name="socket"/> + </qmethod> +</qtype> <qtype name="QSessionManager" access="public"> + <qancestor name="QObject"/> + <qenum name="RestartHint" access="public"> + <qitem name="RestartIfRunning" value="0"/> + <qitem name="RestartAnyway" value="1"/> + <qitem name="RestartImmediately" value="2"/> + <qitem name="RestartNever" value="3"/> + </qenum> + <qmethod name="sessionId" access="public" return="QString" id="0"/> + <qmethod name="handle" access="public" return="void*" id="0"/> + <qmethod name="allowsInteraction" access="public" return="bool" id="0"/> + <qmethod name="allowsErrorInteraction" access="public" return="bool" id="0"/> + <qmethod name="release" access="public" return="void" id="0"/> + <qmethod name="cancel" access="public" return="void" id="0"/> + <qmethod name="setRestartHint" access="public" return="void" id="0"> + <qparam type="RestartHint" name="arg1"/> + </qmethod> + <qmethod name="restartHint" access="public" return="RestartHint" id="0"/> + <qmethod name="setRestartCommand" access="public" return="void" id="0"> + <qparam type="QStringListamp" name="arg1"/> + </qmethod> + <qmethod name="restartCommand" access="public" return="QStringList" id="0"/> + <qmethod name="setDiscardCommand" access="public" return="void" id="0"> + <qparam type="QStringListamp" name="arg1"/> + </qmethod> + <qmethod name="discardCommand" access="public" return="QStringList" id="0"/> + <qmethod name="setManagerProperty" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringamp" name="value"/> + </qmethod> + <qmethod name="setManagerProperty" access="public" return="void" id="1"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringListamp" name="value"/> + </qmethod> + <qmethod name="isPhase2" access="public" return="bool" id="0"/> + <qmethod name="requestPhase2" access="public" return="void" id="0"/> +</qtype> <qtype name="QSettings" access="public"> + <qenum name="System" access="public"> + <qitem name="Unix" value="0"/> + <qitem name="Windows" value="1"/> + <qitem name="Mac" value="2"/> + </qenum> + <qctor name="QSettings" access="public" id="0"/> + <qdctor name="QSettings" access="public"/> + <qmethod name="writeEntry" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="writeEntry" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="double" name="arg2"/> + </qmethod> + <qmethod name="writeEntry" access="public" return="bool" id="2"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="writeEntry" access="public" return="bool" id="3"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="char*" name="arg2"/> + </qmethod> + <qmethod name="writeEntry" access="public" return="bool" id="4"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="writeEntry" access="public" return="bool" id="5"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringListamp" name="arg2"/> + </qmethod> + <qmethod name="writeEntry" access="public" return="bool" id="6"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringListamp" name="arg2"/> + <qparam type="QCharamp" name="sep"/> + </qmethod> + <qmethod name="entryList" access="public" return="QStringList" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="subkeyList" access="public" return="QStringList" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="readListEntry" access="public" return="QStringList" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="bool*" name="arg2" default="0"/> + </qmethod> + <qmethod name="readListEntry" access="public" return="QStringList" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QCharamp" name="sep"/> + <qparam type="bool*" name="arg2" default="0"/> + </qmethod> + <qmethod name="readEntry" access="public" return="QString" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="def" default="QString::null"/> + <qparam type="bool*" name="arg2" default="0"/> + </qmethod> + <qmethod name="readNumEntry" access="public" return="int" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="int" name="def" default="0"/> + <qparam type="bool*" name="arg2" default="0"/> + </qmethod> + <qmethod name="readDoubleEntry" access="public" return="double" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="double" name="def" default="0"/> + <qparam type="bool*" name="arg2" default="0"/> + </qmethod> + <qmethod name="readBoolEntry" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="bool" name="def" default="0"/> + <qparam type="bool*" name="arg2" default="0"/> + </qmethod> + <qmethod name="removeEntry" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="insertSearchPath" access="public" return="void" id="0"> + <qparam type="System" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="removeSearchPath" access="public" return="void" id="0"> + <qparam type="System" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> +</qtype> <qtype name="QShared" access="public"> + <qctor name="QShared" access="public" id="0"/> + <qmethod name="ref" access="public" return="void" id="0"/> + <qmethod name="deref" access="public" return="bool" id="0"/> +</qtype> <qtype name="QSharedMemory" access="public"> + <qctor name="QSharedMemory" access="public" id="0"/> + <qctor name="QSharedMemory" access="public" id="1"> + <qparam type="int" name="arg1"/> + <qparam type="QString" name="arg2"/> + </qctor> + <qdctor name="QSharedMemory" access="public"/> + <qmethod name="create" access="public" return="bool" id="0"/> + <qmethod name="destroy" access="public" return="void" id="0"/> + <qmethod name="attach" access="public" return="bool" id="0"/> + <qmethod name="detach" access="public" return="void" id="0"/> + <qmethod name="setPermissions" access="public" return="void" id="0"> + <qparam type="mode_t" name="mode"/> + </qmethod> + <qmethod name="base" access="public" return="void*" id="0"/> +</qtype> <qtype name="QShowEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QShowEvent" access="public" id="0"/> +</qtype> <qtype name="QSignal" access="public"> + <qancestor name="QObject"/> + <qctor name="QSignal" access="public" id="0"> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QSignal" access="public"/> + <qmethod name="connect" access="public" return="bool" id="0"> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + </qmethod> + <qmethod name="disconnect" access="public" return="bool" id="0"> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member" default="0"/> + </qmethod> + <qmethod name="activate" access="public" return="void" id="0"/> + <qmethod name="isBlocked" access="public" return="bool" id="0"/> + <qmethod name="block" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setParameter" access="public" return="void" id="0"> + <qparam type="int" name="value"/> + </qmethod> + <qmethod name="parameter" access="public" return="int" id="0"/> + <qmethod name="setValue" access="public" return="void" id="0"> + <qparam type="QVariantamp" name="value"/> + </qmethod> + <qmethod name="value" access="public" return="QVariant" id="0"/> +</qtype> <qtype name="QSignalMapper" access="public"> + <qancestor name="QObject"/> + <qctor name="QSignalMapper" access="public" id="0"> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QSignalMapper" access="public"/> + <qmethod name="setMapping" access="public" return="void" id="0"> + <qparam type="QObject*" name="sender"/> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="setMapping" access="public" return="void" id="1"> + <qparam type="QObject*" name="sender"/> + <qparam type="QStringamp" name="identifier"/> + </qmethod> + <qmethod name="removeMappings" access="public" return="void" id="0"> + <qparam type="QObject*" name="sender"/> + </qmethod> + <qmethod name="map" access="public" return="void" id="0"/> +</qtype> <qtype name="QSignalVec" access="public"> + <qancestor name="QPtrVector"/> + <qdctor name="QSignalVec" access="public"/> + <qmethod name="at" access="public" return="QConnectionList*" id="0"> + <qparam type="uint" name="index"/> + </qmethod> + <qmethod name="insert" access="public" return="bool" id="0"> + <qparam type="uint" name="index"/> + <qparam type="QConnectionList*" name="d"/> + </qmethod> +</qtype> <qtype name="QSimpleRichText" access="public"> + <qctor name="QSimpleRichText" access="public" id="0"> + <qparam type="QStringamp" name="text"/> + <qparam type="QFontamp" name="fnt"/> + <qparam type="QStringamp" name="context" default="QString::null"/> + <qparam type="QStyleSheet*" name="sheet" default="0"/> + </qctor> + <qctor name="QSimpleRichText" access="public" id="1"> + <qparam type="QStringamp" name="text"/> + <qparam type="QFontamp" name="fnt"/> + <qparam type="QStringamp" name="context"/> + <qparam type="QStyleSheet*" name="sheet"/> + <qparam type="QMimeSourceFactory*" name="factory"/> + <qparam type="int" name="pageBreak" default="-1"/> + <qparam type="QColoramp" name="linkColor" default="Qt::blue"/> + <qparam type="bool" name="linkUnderline" default="TRUE"/> + </qctor> + <qdctor name="QSimpleRichText" access="public"/> + <qmethod name="setWidth" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setWidth" access="public" return="void" id="1"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="setDefaultFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="f"/> + </qmethod> + <qmethod name="width" access="public" return="int" id="0"/> + <qmethod name="widthUsed" access="public" return="int" id="0"/> + <qmethod name="height" access="public" return="int" id="0"/> + <qmethod name="adjustSize" access="public" return="void" id="0"/> + <qmethod name="draw" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="QRectamp" name="clipRect"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="QBrush*" name="paper" default="0"/> + </qmethod> + <qmethod name="draw" access="public" return="void" id="1"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="QRegionamp" name="clipRegion"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="QBrush*" name="paper" default="0"/> + </qmethod> + <qmethod name="context" access="public" return="QString" id="0"/> + <qmethod name="anchorAt" access="public" return="QString" id="0"> + <qparam type="QPointamp" name="pos"/> + </qmethod> + <qmethod name="inText" access="public" return="bool" id="0"> + <qparam type="QPointamp" name="pos"/> + </qmethod> +</qtype> <qtype name="QSingleCleanupHandler" access="public"> + <qctor name="QSingleCleanupHandler" access="public" id="0"/> + <qdctor name="QSingleCleanupHandler" access="public"/> + <qmethod name="set" access="public" return="Type*" id="0"> + <qparam type="Type**" name="o"/> + </qmethod> + <qmethod name="reset" access="public" return="void" id="0"/> +</qtype> <qtype name="QSize" access="public"> + <qctor name="QSize" access="public" id="0"/> + <qctor name="QSize" access="public" id="1"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qctor> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="width" access="public" return="int" id="0"/> + <qmethod name="height" access="public" return="int" id="0"/> + <qmethod name="setWidth" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + </qmethod> + <qmethod name="setHeight" access="public" return="void" id="0"> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="transpose" access="public" return="void" id="0"/> + <qmethod name="expandedTo" access="public" return="QSize" id="0"> + <qparam type="QSizeamp" name="arg1"/> + </qmethod> + <qmethod name="boundedTo" access="public" return="QSize" id="0"> + <qparam type="QSizeamp" name="arg1"/> + </qmethod> + <qmethod name="rwidth" access="public" return="QCOORDamp" id="0"/> + <qmethod name="rheight" access="public" return="QCOORDamp" id="0"/> +</qtype> <qtype name="QSizeGrip" access="public"> + <qancestor name="QWidget"/> + <qctor name="QSizeGrip" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QSizeGrip" access="public"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="protected_eventFilter" access="protected" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> +</qtype> <qtype name="QSizePolicy" access="public"> + <qenum name="SizeType" access="public"> + <qitem name="Fixed" value="0"/> + <qitem name="Minimum" value="1"/> + <qitem name="Ignored" value="2"/> + <qitem name="MinimumExpanding" value="3"/> + <qitem name="Maximum" value="4"/> + <qitem name="Preferred" value="5"/> + <qitem name="Expanding" value="7"/> + </qenum> + <qenum name="ExpandData" access="public"> + <qitem name="NoDirection" value="0"/> + <qitem name="Horizontally" value="1"/> + <qitem name="Vertically" value="2"/> + </qenum> + <qctor name="QSizePolicy" access="public" id="0"/> + <qctor name="QSizePolicy" access="public" id="1"> + <qparam type="SizeType" name="hor"/> + <qparam type="SizeType" name="ver"/> + <qparam type="bool" name="hfw" default="FALSE"/> + </qctor> + <qctor name="QSizePolicy" access="public" id="2"> + <qparam type="SizeType" name="hor"/> + <qparam type="SizeType" name="ver"/> + <qparam type="byte" name="horStretch"/> + <qparam type="byte" name="verStretch"/> + <qparam type="bool" name="hfw" default="FALSE"/> + </qctor> + <qmethod name="horData" access="public" return="SizeType" id="0"/> + <qmethod name="verData" access="public" return="SizeType" id="0"/> + <qmethod name="mayShrinkHorizontally" access="public" return="bool" id="0"/> + <qmethod name="mayShrinkVertically" access="public" return="bool" id="0"/> + <qmethod name="mayGrowHorizontally" access="public" return="bool" id="0"/> + <qmethod name="mayGrowVertically" access="public" return="bool" id="0"/> + <qmethod name="expanding" access="public" return="ExpandData" id="0"/> + <qmethod name="setHorData" access="public" return="void" id="0"> + <qparam type="SizeType" name="d"/> + </qmethod> + <qmethod name="setVerData" access="public" return="void" id="0"> + <qparam type="SizeType" name="d"/> + </qmethod> + <qmethod name="setHeightForWidth" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="hasHeightForWidth" access="public" return="bool" id="0"/> + <qmethod name="horStretch" access="public" return="uint" id="0"/> + <qmethod name="verStretch" access="public" return="uint" id="0"/> + <qmethod name="setHorStretch" access="public" return="void" id="0"> + <qparam type="byte" name="sf"/> + </qmethod> + <qmethod name="setVerStretch" access="public" return="void" id="0"> + <qparam type="byte" name="sf"/> + </qmethod> +</qtype> <qtype name="QSjisCodec" access="public"> + <qancestor name="QTextCodec"/> + <qmethod name="mibEnum" access="public" return="int" id="0"/> + <qmethod name="name" access="public" return="char*" id="0"/> + <qmethod name="mimeName" access="public" return="char*" id="0"/> + <qmethod name="makeDecoder" access="public" return="QTextDecoder*" id="0"/> + <qmethod name="fromUnicode" access="public" return="QCString" id="0"> + <qparam type="QStringamp" name="uc"/> + <qparam type="intamp" name="len_in_out"/> + </qmethod> + <qmethod name="toUnicode" access="public" return="QString" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicContentMatch" access="public" return="int" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicNameMatch" access="public" return="int" id="0"> + <qparam type="char*" name="hint"/> + </qmethod> + <qctor name="QSjisCodec" access="public" id="0"/> + <qdctor name="QSjisCodec" access="public"/> +</qtype> <qtype name="QSlider" access="public"> + <qancestor name="QRangeControl"/> + <qancestor name="QWidget"/> + <qenum name="TickSetting" access="public"> + <qitem name="NoMarks" value="0"/> + <qitem name="Above" value="1"/> + <qitem name="Left" value="Above"/> + <qitem name="Below" value="2"/> + <qitem name="Right" value="Below"/> + <qitem name="Both" value="3"/> + </qenum> + <qctor name="QSlider" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QSlider" access="public" id="1"> + <qparam type="Orientation" name="arg1"/> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QSlider" access="public" id="2"> + <qparam type="int" name="minValue"/> + <qparam type="int" name="maxValue"/> + <qparam type="int" name="pageStep"/> + <qparam type="int" name="value"/> + <qparam type="Orientation" name="arg1"/> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qmethod name="setOrientation" access="public" return="void" id="0"> + <qparam type="Orientation" name="arg1"/> + </qmethod> + <qmethod name="orientation" access="public" return="Orientation" id="0"/> + <qmethod name="setTracking" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="tracking" access="public" return="bool" id="0"/> + <qmethod name="setPalette" access="public" return="void" id="0"> + <qparam type="QPaletteamp" name="arg1"/> + </qmethod> + <qmethod name="sliderStart" access="public" return="int" id="0"/> + <qmethod name="sliderRect" access="public" return="QRect" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="sizePolicy" access="public" return="QSizePolicy" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="setTickmarks" access="public" return="void" id="0"> + <qparam type="TickSetting" name="arg1"/> + </qmethod> + <qmethod name="tickmarks" access="public" return="TickSetting" id="0"/> + <qmethod name="setTickInterval" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="tickInterval" access="public" return="int" id="0"/> + <qmethod name="minValue" access="public" return="int" id="0"/> + <qmethod name="maxValue" access="public" return="int" id="0"/> + <qmethod name="setMinValue" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setMaxValue" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="lineStep" access="public" return="int" id="0"/> + <qmethod name="pageStep" access="public" return="int" id="0"/> + <qmethod name="setLineStep" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setPageStep" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="value" access="public" return="int" id="0"/> + <qmethod name="setValue" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="addStep" access="public" return="void" id="0"/> + <qmethod name="subtractStep" access="public" return="void" id="0"/> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_valueChange" access="protected" return="void" id="0"/> + <qmethod name="protected_rangeChange" access="protected" return="void" id="0"/> +</qtype> <qtype name="QSocket" access="public"> + <qancestor name="QIODevice"/> + <qancestor name="QObject"/> + <qenum name="Error" access="public"> + <qitem name="ErrConnectionRefused" value="0"/> + <qitem name="ErrHostNotFound" value="1"/> + <qitem name="ErrSocketRead" value="2"/> + </qenum> + <qenum name="State" access="public"> + <qitem name="Idle" value="0"/> + <qitem name="HostLookup" value="1"/> + <qitem name="Connecting" value="2"/> + <qitem name="Connected" value="3"/> + <qitem name="Closing" value="4"/> + <qitem name="Connection" value="Connected"/> + </qenum> + <qctor name="QSocket" access="public" id="0"> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QSocket" access="public"/> + <qmethod name="state" access="public" return="State" id="0"/> + <qmethod name="socket" access="public" return="int" id="0"/> + <qmethod name="setSocket" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="socketDevice" access="public" return="QSocketDevice*" id="0"/> + <qmethod name="setSocketDevice" access="public" return="void" id="0"> + <qparam type="QSocketDevice*" name="arg1"/> + </qmethod> + <qmethod name="connectToHost" access="public" return="void" id="0"> + <qparam type="QStringamp" name="host"/> + <qparam type="Q_UINT16" name="port"/> + </qmethod> + <qmethod name="peerName" access="public" return="QString" id="0"/> + <qmethod name="open" access="public" return="bool" id="0"> + <qparam type="int" name="mode"/> + </qmethod> + <qmethod name="close" access="public" return="void" id="0"/> + <qmethod name="flush" access="public" return="void" id="0"/> + <qmethod name="size" access="public" return="Offset" id="0"/> + <qmethod name="at" access="public" return="Offset" id="0"/> + <qmethod name="at" access="public" return="bool" id="1"> + <qparam type="Offset" name="arg1"/> + </qmethod> + <qmethod name="atEnd" access="public" return="bool" id="0"/> + <qmethod name="bytesAvailable" access="public" return="Q_ULONG" id="0"/> + <qmethod name="waitForMore" access="public" return="Q_ULONG" id="0"> + <qparam type="int" name="msecs"/> + </qmethod> + <qmethod name="bytesToWrite" access="public" return="Q_ULONG" id="0"/> + <qmethod name="readBlock" access="public" return="Q_LONG" id="0"> + <qparam type="char*" name="data"/> + <qparam type="Q_ULONG" name="maxlen"/> + </qmethod> + <qmethod name="writeBlock" access="public" return="Q_LONG" id="0"> + <qparam type="char*" name="data"/> + <qparam type="Q_ULONG" name="len"/> + </qmethod> + <qmethod name="readLine" access="public" return="Q_LONG" id="0"> + <qparam type="char*" name="data"/> + <qparam type="Q_ULONG" name="maxlen"/> + </qmethod> + <qmethod name="getch" access="public" return="int" id="0"/> + <qmethod name="putch" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="ungetch" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="canReadLine" access="public" return="bool" id="0"/> + <qmethod name="readLine" access="public" return="QString" id="1"/> + <qmethod name="port" access="public" return="Q_UINT16" id="0"/> + <qmethod name="peerPort" access="public" return="Q_UINT16" id="0"/> + <qmethod name="address" access="public" return="QHostAddress" id="0"/> + <qmethod name="peerAddress" access="public" return="QHostAddress" id="0"/> + <qmethod name="protected_sn_read" access="protected" return="void" id="0"> + <qparam type="bool" name="force" default="FALSE"/> + </qmethod> + <qmethod name="protected_sn_write" access="protected" return="void" id="0"/> +</qtype> <qtype name="QSocketDevice" access="public"> + <qancestor name="QIODevice"/> + <qenum name="Type" access="public"> + <qitem name="Stream" value="0"/> + <qitem name="Datagram" value="1"/> + </qenum> + <qenum name="Error" access="public"> + <qitem name="NoError" value="0"/> + <qitem name="AlreadyBound" value="1"/> + <qitem name="Inaccessible" value="2"/> + <qitem name="NoResources" value="3"/> + <qitem name="Bug" value="4"/> + <qitem name="Impossible" value="5"/> + <qitem name="NoFiles" value="6"/> + <qitem name="ConnectionRefused" value="7"/> + <qitem name="NetworkFailure" value="8"/> + <qitem name="UnknownError" value="9"/> + </qenum> + <qctor name="QSocketDevice" access="public" id="0"> + <qparam type="Type" name="type" default="Stream"/> + </qctor> + <qctor name="QSocketDevice" access="public" id="1"> + <qparam type="int" name="socket"/> + <qparam type="Type" name="type"/> + </qctor> + <qdctor name="QSocketDevice" access="public"/> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="type" access="public" return="Type" id="0"/> + <qmethod name="socket" access="public" return="int" id="0"/> + <qmethod name="setSocket" access="public" return="void" id="0"> + <qparam type="int" name="socket"/> + <qparam type="Type" name="type"/> + </qmethod> + <qmethod name="open" access="public" return="bool" id="0"> + <qparam type="int" name="mode"/> + </qmethod> + <qmethod name="close" access="public" return="void" id="0"/> + <qmethod name="flush" access="public" return="void" id="0"/> + <qmethod name="size" access="public" return="Offset" id="0"/> + <qmethod name="at" access="public" return="Offset" id="0"/> + <qmethod name="at" access="public" return="bool" id="1"> + <qparam type="Offset" name="arg1"/> + </qmethod> + <qmethod name="atEnd" access="public" return="bool" id="0"/> + <qmethod name="blocking" access="public" return="bool" id="0"/> + <qmethod name="setBlocking" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="addressReusable" access="public" return="bool" id="0"/> + <qmethod name="setAddressReusable" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="receiveBufferSize" access="public" return="int" id="0"/> + <qmethod name="setReceiveBufferSize" access="public" return="void" id="0"> + <qparam type="uint" name="arg1"/> + </qmethod> + <qmethod name="sendBufferSize" access="public" return="int" id="0"/> + <qmethod name="setSendBufferSize" access="public" return="void" id="0"> + <qparam type="uint" name="arg1"/> + </qmethod> + <qmethod name="connect" access="public" return="bool" id="0"> + <qparam type="QHostAddressamp" name="arg1"/> + <qparam type="Q_UINT16" name="arg2"/> + </qmethod> + <qmethod name="bind" access="public" return="bool" id="0"> + <qparam type="QHostAddressamp" name="arg1"/> + <qparam type="Q_UINT16" name="arg2"/> + </qmethod> + <qmethod name="listen" access="public" return="bool" id="0"> + <qparam type="int" name="backlog"/> + </qmethod> + <qmethod name="accept" access="public" return="int" id="0"/> + <qmethod name="bytesAvailable" access="public" return="Q_LONG" id="0"/> + <qmethod name="waitForMore" access="public" return="Q_LONG" id="0"> + <qparam type="int" name="msecs"/> + <qparam type="bool*" name="timeout" default="0"/> + </qmethod> + <qmethod name="readBlock" access="public" return="Q_LONG" id="0"> + <qparam type="char*" name="data"/> + <qparam type="Q_ULONG" name="maxlen"/> + </qmethod> + <qmethod name="writeBlock" access="public" return="Q_LONG" id="0"> + <qparam type="char*" name="data"/> + <qparam type="Q_ULONG" name="len"/> + </qmethod> + <qmethod name="writeBlock" access="public" return="Q_LONG" id="1"> + <qparam type="char*" name="data"/> + <qparam type="Q_ULONG" name="len"/> + <qparam type="QHostAddressamp" name="host"/> + <qparam type="Q_UINT16" name="port"/> + </qmethod> + <qmethod name="getch" access="public" return="int" id="0"/> + <qmethod name="putch" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="ungetch" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="port" access="public" return="Q_UINT16" id="0"/> + <qmethod name="peerPort" access="public" return="Q_UINT16" id="0"/> + <qmethod name="address" access="public" return="QHostAddress" id="0"/> + <qmethod name="peerAddress" access="public" return="QHostAddress" id="0"/> + <qmethod name="error" access="public" return="Error" id="0"/> + <qmethod name="protected_setError" access="protected" return="void" id="0"> + <qparam type="Error" name="err"/> + </qmethod> +</qtype> <qtype name="QSocketNotifier" access="public"> + <qancestor name="QObject"/> + <qenum name="Type" access="public"> + <qitem name="Read" value="0"/> + <qitem name="Write" value="1"/> + <qitem name="Exception" value="2"/> + </qenum> + <qctor name="QSocketNotifier" access="public" id="0"> + <qparam type="int" name="socket"/> + <qparam type="Type" name="arg1"/> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QSocketNotifier" access="public"/> + <qmethod name="socket" access="public" return="int" id="0"/> + <qmethod name="type" access="public" return="Type" id="0"/> + <qmethod name="isEnabled" access="public" return="bool" id="0"/> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_event" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="arg1"/> + </qmethod> +</qtype> <qtype name="QSortedList" access="public"> + <qancestor name="QPtrList"/> + <qctor name="QSortedList" access="public" id="0"/> + <qdctor name="QSortedList" access="public"/> + <qmethod name="compareItems" access="public" return="int" id="0"> + <qparam type="QPtrCollection::Item" name="s1"/> + <qparam type="QPtrCollection::Item" name="s2"/> + </qmethod> +</qtype> <qtype name="QSound" access="public"> + <qancestor name="QObject"/> + <qctor name="QSound" access="public" id="0"> + <qparam type="QStringamp" name="filename"/> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QSound" access="public"/> + <qmethod name="loops" access="public" return="int" id="0"/> + <qmethod name="loopsRemaining" access="public" return="int" id="0"/> + <qmethod name="setLoops" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="fileName" access="public" return="QString" id="0"/> + <qmethod name="isFinished" access="public" return="bool" id="0"/> + <qmethod name="play" access="public" return="void" id="0"/> + <qmethod name="stop" access="public" return="void" id="0"/> + <qmethod name="isAvailable" access="public static" return="bool" id="0"/> + <qmethod name="play" access="public static" return="void" id="1"> + <qparam type="QStringamp" name="filename"/> + </qmethod> + <qmethod name="available" access="public static" return="bool" id="0"/> +</qtype> <qtype name="QSpacerItem" access="public"> + <qancestor name="QLayoutItem"/> + <qctor name="QSpacerItem" access="public" id="0"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QSizePolicy::SizeType" name="hData" +default="QSizePolicy::Minimum"/> + <qparam type="QSizePolicy::SizeType" name="vData" +default="QSizePolicy::Minimum"/> + </qctor> + <qmethod name="changeSize" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="QSizePolicy::SizeType" name="hData" +default="QSizePolicy::Minimum"/> + <qparam type="QSizePolicy::SizeType" name="vData" +default="QSizePolicy::Minimum"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSize" access="public" return="QSize" id="0"/> + <qmethod name="maximumSize" access="public" return="QSize" id="0"/> + <qmethod name="expanding" access="public" return="QSizePolicy::ExpandData" +id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="setGeometry" access="public" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="geometry" access="public" return="QRect" id="0"/> + <qmethod name="spacerItem" access="public" return="QSpacerItem*" id="0"/> +</qtype> <qtype name="QSpinBox" access="public"> + <qancestor name="QRangeControl"/> + <qancestor name="QWidget"/> + <qenum name="ButtonSymbols" access="public"> + <qitem name="UpDownArrows" value="0"/> + <qitem name="PlusMinus" value="1"/> + </qenum> + <qctor name="QSpinBox" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QSpinBox" access="public" id="1"> + <qparam type="int" name="minValue"/> + <qparam type="int" name="maxValue"/> + <qparam type="int" name="step" default="1"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QSpinBox" access="public"/> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="prefix" access="public" return="QString" id="0"/> + <qmethod name="suffix" access="public" return="QString" id="0"/> + <qmethod name="cleanText" access="public" return="QString" id="0"/> + <qmethod name="setSpecialValueText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="specialValueText" access="public" return="QString" id="0"/> + <qmethod name="setWrapping" access="public" return="void" id="0"> + <qparam type="bool" name="on"/> + </qmethod> + <qmethod name="wrapping" access="public" return="bool" id="0"/> + <qmethod name="setButtonSymbols" access="public" return="void" id="0"> + <qparam type="ButtonSymbols" name="arg1"/> + </qmethod> + <qmethod name="buttonSymbols" access="public" return="ButtonSymbols" id="0"/> + <qmethod name="setValidator" access="public" return="void" id="0"> + <qparam type="QValidator*" name="v"/> + </qmethod> + <qmethod name="validator" access="public" return="QValidator*" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minValue" access="public" return="int" id="0"/> + <qmethod name="maxValue" access="public" return="int" id="0"/> + <qmethod name="setMinValue" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setMaxValue" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="lineStep" access="public" return="int" id="0"/> + <qmethod name="setLineStep" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="value" access="public" return="int" id="0"/> + <qmethod name="upRect" access="public" return="QRect" id="0"/> + <qmethod name="downRect" access="public" return="QRect" id="0"/> + <qmethod name="setValue" access="public" return="void" id="0"> + <qparam type="int" name="value"/> + </qmethod> + <qmethod name="setPrefix" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="setSuffix" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="stepUp" access="public" return="void" id="0"/> + <qmethod name="stepDown" access="public" return="void" id="0"/> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="enabled"/> + </qmethod> + <qmethod name="selectAll" access="public" return="void" id="0"/> + <qmethod name="protected_mapValueToText" access="protected" return="QString" +id="0"> + <qparam type="int" name="value"/> + </qmethod> + <qmethod name="protected_mapTextToValue" access="protected" return="int" id="0"> + <qparam type="bool*" name="ok"/> + </qmethod> + <qmethod name="protected_currentValueText" access="protected" return="QString" +id="0"/> + <qmethod name="protected_updateDisplay" access="protected" return="void" +id="0"/> + <qmethod name="protected_interpretText" access="protected" return="void" +id="0"/> + <qmethod name="protected_editor" access="protected" return="QLineEdit*" id="0"/> + <qmethod name="protected_valueChange" access="protected" return="void" id="0"/> + <qmethod name="protected_rangeChange" access="protected" return="void" id="0"/> + <qmethod name="protected_eventFilter" access="protected" return="bool" id="0"> + <qparam type="QObject*" name="obj"/> + <qparam type="QEvent*" name="ev"/> + </qmethod> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_textChanged" access="protected" return="void" id="0"/> +</qtype> <qtype name="QSpinWidget" access="public"> + <qancestor name="QWidget"/> + <qenum name="ButtonSymbols" access="public"> + <qitem name="UpDownArrows" value="0"/> + <qitem name="PlusMinus" value="1"/> + </qenum> + <qctor name="QSpinWidget" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QSpinWidget" access="public"/> + <qmethod name="setEditWidget" access="public" return="void" id="0"> + <qparam type="QWidget*" name="widget"/> + </qmethod> + <qmethod name="editWidget" access="public" return="QWidget*" id="0"/> + <qmethod name="upRect" access="public" return="QRect" id="0"/> + <qmethod name="downRect" access="public" return="QRect" id="0"/> + <qmethod name="setUpEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="on"/> + </qmethod> + <qmethod name="setDownEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="on"/> + </qmethod> + <qmethod name="isUpEnabled" access="public" return="bool" id="0"/> + <qmethod name="isDownEnabled" access="public" return="bool" id="0"/> + <qmethod name="setButtonSymbols" access="public" return="void" id="0"> + <qparam type="ButtonSymbols" name="bs"/> + </qmethod> + <qmethod name="buttonSymbols" access="public" return="ButtonSymbols" id="0"/> + <qmethod name="arrange" access="public" return="void" id="0"/> + <qmethod name="stepUp" access="public" return="void" id="0"/> + <qmethod name="stepDown" access="public" return="void" id="0"/> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_enableChanged" access="protected" return="void" id="0"> + <qparam type="bool" name="old"/> + </qmethod> +</qtype> <qtype name="QSplitter" access="public"> + <qancestor name="QFrame"/> + <qenum name="ResizeMode" access="public"> + <qitem name="Stretch" value="0"/> + <qitem name="KeepSize" value="1"/> + <qitem name="FollowSizeHint" value="2"/> + </qenum> + <qctor name="QSplitter" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QSplitter" access="public" id="1"> + <qparam type="Orientation" name="arg1"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QSplitter" access="public"/> + <qmethod name="setOrientation" access="public" return="void" id="0"> + <qparam type="Orientation" name="arg1"/> + </qmethod> + <qmethod name="orientation" access="public" return="Orientation" id="0"/> + <qmethod name="setResizeMode" access="public" return="void" id="0"> + <qparam type="QWidget*" name="w"/> + <qparam type="ResizeMode" name="arg1"/> + </qmethod> + <qmethod name="setOpaqueResize" access="public" return="void" id="0"> + <qparam type="bool" name="arg1" default="TRUE"/> + </qmethod> + <qmethod name="opaqueResize" access="public" return="bool" id="0"/> + <qmethod name="moveToFirst" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="moveToLast" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="refresh" access="public" return="void" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="protected_event" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="arg1"/> + </qmethod> + <qmethod name="protected_idAfter" access="protected" return="int" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="protected_moveSplitter" access="protected" return="void" id="0"> + <qparam type="QCOORD" name="pos"/> + <qparam type="int" name="identifier"/> + </qmethod> + <qmethod name="protected_drawSplitter" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="QCOORD" name="x"/> + <qparam type="QCOORD" name="y"/> + <qparam type="QCOORD" name="w"/> + <qparam type="QCOORD" name="h"/> + </qmethod> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_adjustPos" access="protected" return="int" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="protected_setRubberband" access="protected" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="protected_getRange" access="protected" return="void" id="0"> + <qparam type="int" name="identifier"/> + <qparam type="int*" name="arg1"/> + <qparam type="int*" name="arg2"/> + </qmethod> +</qtype> <qtype name="QSql" access="public"> + <qenum name="Op" access="public"> + <qitem name="None" value="-1"/> + <qitem name="Insert" value="0"/> + <qitem name="Update" value="1"/> + <qitem name="Delete" value="2"/> + </qenum> + <qenum name="Location" access="public"> + <qitem name="BeforeFirst" value="-1"/> + <qitem name="AfterLast" value="-2"/> + </qenum> + <qenum name="Confirm" access="public"> + <qitem name="Cancel" value="-1"/> + <qitem name="No" value="0"/> + <qitem name="Yes" value="1"/> + </qenum> + <qctor name="QSql" access="public" id="0"/> +</qtype> <qtype name="QSqlCursor" access="public"> + <qancestor name="QSqlQuery"/> + <qancestor name="QSqlRecord"/> + <qenum name="Mode" access="public"> + <qitem name="ReadOnly" value="0"/> + <qitem name="Insert" value="1"/> + <qitem name="Update" value="2"/> + <qitem name="Delete" value="4"/> + <qitem name="Writable" value="7"/> + </qenum> + <qctor name="QSqlCursor" access="public" id="0"> + <qparam type="QStringamp" name="name" default="QString::null"/> + <qparam type="bool" name="autopopulate" default="TRUE"/> + <qparam type="QSqlDatabase*" name="db" default="0"/> + </qctor> + <qctor name="QSqlCursor" access="public" id="1"> + <qparam type="QSqlCursoramp" name="other"/> + </qctor> + <qdctor name="QSqlCursor" access="public"/> + <qmethod name="value" access="public" return="QVariant" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="value" access="public" return="QVariant" id="1"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="primaryIndex" access="public" return="QSqlIndex" id="0"> + <qparam type="bool" name="prime" default="TRUE"/> + </qmethod> + <qmethod name="index" access="public" return="QSqlIndex" id="0"> + <qparam type="QStringListamp" name="fieldNames"/> + </qmethod> + <qmethod name="index" access="public" return="QSqlIndex" id="1"> + <qparam type="QStringamp" name="fieldName"/> + </qmethod> + <qmethod name="index" access="public" return="QSqlIndex" id="2"> + <qparam type="char*" name="fieldName"/> + </qmethod> + <qmethod name="setPrimaryIndex" access="public" return="void" id="0"> + <qparam type="QSqlIndexamp" name="idx"/> + </qmethod> + <qmethod name="append" access="public" return="void" id="0"> + <qparam type="QSqlFieldInfoamp" name="fieldInfo"/> + </qmethod> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="int" name="pos"/> + <qparam type="QSqlFieldInfoamp" name="fieldInfo"/> + </qmethod> + <qmethod name="remove" access="public" return="void" id="0"> + <qparam type="int" name="pos"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="setGenerated" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="bool" name="generated"/> + </qmethod> + <qmethod name="setGenerated" access="public" return="void" id="1"> + <qparam type="int" name="i"/> + <qparam type="bool" name="generated"/> + </qmethod> + <qmethod name="editBuffer" access="public" return="QSqlRecord*" id="0"> + <qparam type="bool" name="copy" default="FALSE"/> + </qmethod> + <qmethod name="primeInsert" access="public" return="QSqlRecord*" id="0"/> + <qmethod name="primeUpdate" access="public" return="QSqlRecord*" id="0"/> + <qmethod name="primeDelete" access="public" return="QSqlRecord*" id="0"/> + <qmethod name="insert" access="public" return="int" id="1"> + <qparam type="bool" name="invalidate" default="TRUE"/> + </qmethod> + <qmethod name="update" access="public" return="int" id="0"> + <qparam type="bool" name="invalidate" default="TRUE"/> + </qmethod> + <qmethod name="del" access="public" return="int" id="0"> + <qparam type="bool" name="invalidate" default="TRUE"/> + </qmethod> + <qmethod name="setMode" access="public" return="void" id="0"> + <qparam type="int" name="flags"/> + </qmethod> + <qmethod name="mode" access="public" return="int" id="0"/> + <qmethod name="setCalculated" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="bool" name="calculated"/> + </qmethod> + <qmethod name="isCalculated" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="setTrimmed" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="bool" name="trim"/> + </qmethod> + <qmethod name="isTrimmed" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="isReadOnly" access="public" return="bool" id="0"/> + <qmethod name="canInsert" access="public" return="bool" id="0"/> + <qmethod name="canUpdate" access="public" return="bool" id="0"/> + <qmethod name="canDelete" access="public" return="bool" id="0"/> + <qmethod name="select" access="public" return="bool" id="0"/> + <qmethod name="select" access="public" return="bool" id="1"> + <qparam type="QSqlIndexamp" name="sort"/> + </qmethod> + <qmethod name="select" access="public" return="bool" id="2"> + <qparam type="QSqlIndexamp" name="filter"/> + <qparam type="QSqlIndexamp" name="sort"/> + </qmethod> + <qmethod name="select" access="public" return="bool" id="3"> + <qparam type="QStringamp" name="filter"/> + <qparam type="QSqlIndexamp" name="sort" default="QSqlIndex()"/> + </qmethod> + <qmethod name="setSort" access="public" return="void" id="0"> + <qparam type="QSqlIndexamp" name="sort"/> + </qmethod> + <qmethod name="sort" access="public" return="QSqlIndex" id="0"/> + <qmethod name="setFilter" access="public" return="void" id="0"> + <qparam type="QStringamp" name="filter"/> + </qmethod> + <qmethod name="filter" access="public" return="QString" id="0"/> + <qmethod name="setName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="bool" name="autopopulate" default="TRUE"/> + </qmethod> + <qmethod name="name" access="public" return="QString" id="0"/> + <qmethod name="protected_afterSeek" access="protected" return="void" id="0"/> + <qmethod name="protected_exec" access="protected" return="bool" id="0"> + <qparam type="QStringamp" name="sql"/> + </qmethod> + <qmethod name="protected_calculateField" access="protected" return="QVariant" +id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="protected_update" access="protected" return="int" id="1"> + <qparam type="QStringamp" name="filter"/> + <qparam type="bool" name="invalidate" default="TRUE"/> + </qmethod> + <qmethod name="protected_del" access="protected" return="int" id="1"> + <qparam type="QStringamp" name="filter"/> + <qparam type="bool" name="invalidate" default="TRUE"/> + </qmethod> + <qmethod name="protected_toString" access="protected" return="QString" id="1"> + <qparam type="QStringamp" name="prefix"/> + <qparam type="QSqlField*" name="field"/> + <qparam type="QStringamp" name="fieldSep"/> + </qmethod> + <qmethod name="protected_toString" access="protected" return="QString" id="2"> + <qparam type="QSqlRecord*" name="rec"/> + <qparam type="QStringamp" name="prefix"/> + <qparam type="QStringamp" name="fieldSep"/> + <qparam type="QStringamp" name="sep"/> + </qmethod> + <qmethod name="protected_toString" access="protected" return="QString" id="3"> + <qparam type="QSqlIndexamp" name="i"/> + <qparam type="QSqlRecord*" name="rec"/> + <qparam type="QStringamp" name="prefix"/> + <qparam type="QStringamp" name="fieldSep"/> + <qparam type="QStringamp" name="sep"/> + </qmethod> +</qtype> <qtype name="QSqlDatabase" access="public"> + <qancestor name="QObject"/> + <qdctor name="QSqlDatabase" access="public"/> + <qmethod name="open" access="public" return="bool" id="0"/> + <qmethod name="open" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="user"/> + <qparam type="QStringamp" name="password"/> + </qmethod> + <qmethod name="close" access="public" return="void" id="0"/> + <qmethod name="isOpen" access="public" return="bool" id="0"/> + <qmethod name="isOpenError" access="public" return="bool" id="0"/> + <qmethod name="tables" access="public" return="QStringList" id="0"/> + <qmethod name="primaryIndex" access="public" return="QSqlIndex" id="0"> + <qparam type="QStringamp" name="tablename"/> + </qmethod> + <qmethod name="record" access="public" return="QSqlRecord" id="0"> + <qparam type="QStringamp" name="tablename"/> + </qmethod> + <qmethod name="record" access="public" return="QSqlRecord" id="1"> + <qparam type="QSqlQueryamp" name="query"/> + </qmethod> + <qmethod name="recordInfo" access="public" return="QSqlRecordInfo" id="0"> + <qparam type="QStringamp" name="tablename"/> + </qmethod> + <qmethod name="recordInfo" access="public" return="QSqlRecordInfo" id="1"> + <qparam type="QSqlQueryamp" name="query"/> + </qmethod> + <qmethod name="exec" access="public" return="QSqlQuery" id="0"> + <qparam type="QStringamp" name="query" default="QString::null"/> + </qmethod> + <qmethod name="lastError" access="public" return="QSqlError" id="0"/> + <qmethod name="transaction" access="public" return="bool" id="0"/> + <qmethod name="commit" access="public" return="bool" id="0"/> + <qmethod name="rollback" access="public" return="bool" id="0"/> + <qmethod name="setDatabaseName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="setUserName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="setPassword" access="public" return="void" id="0"> + <qparam type="QStringamp" name="password"/> + </qmethod> + <qmethod name="setHostName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="host"/> + </qmethod> + <qmethod name="setPort" access="public" return="void" id="0"> + <qparam type="int" name="p"/> + </qmethod> + <qmethod name="databaseName" access="public" return="QString" id="0"/> + <qmethod name="userName" access="public" return="QString" id="0"/> + <qmethod name="password" access="public" return="QString" id="0"/> + <qmethod name="hostName" access="public" return="QString" id="0"/> + <qmethod name="driverName" access="public" return="QString" id="0"/> + <qmethod name="port" access="public" return="int" id="0"/> + <qmethod name="driver" access="public" return="QSqlDriver*" id="0"/> + <qmethod name="addDatabase" access="public static" return="QSqlDatabase*" +id="0"> + <qparam type="QStringamp" name="type"/> + <qparam type="QStringamp" name="connectionName" default="defaultConnection"/> + </qmethod> + <qmethod name="database" access="public static" return="QSqlDatabase*" id="0"> + <qparam type="QStringamp" name="connectionName" default="defaultConnection"/> + <qparam type="bool" name="open" default="TRUE"/> + </qmethod> + <qmethod name="removeDatabase" access="public static" return="void" id="0"> + <qparam type="QStringamp" name="connectionName"/> + </qmethod> + <qmethod name="contains" access="public static" return="bool" id="0"> + <qparam type="QStringamp" name="connectionName" default="defaultConnection"/> + </qmethod> + <qmethod name="drivers" access="public static" return="QStringList" id="0"/> + <qmethod name="registerSqlDriver" access="public static" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QSqlDriverCreatorBase*" name="dcb"/> + </qmethod> + <qctor name="QSqlDatabase" access="protected" id="0"> + <qparam type="QStringamp" name="type"/> + <qparam type="QStringamp" name="name"/> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="objname" default="0"/> + </qctor> +</qtype> <qtype name="QSqlDriver" access="public"> + <qancestor name="QObject"/> + <qenum name="DriverFeature" access="public"> + <qitem name="Transactions" value="0"/> + <qitem name="QuerySize" value="1"/> + <qitem name="BLOB" value="2"/> + </qenum> + <qdctor name="QSqlDriver" access="public"/> + <qmethod name="isOpen" access="public" return="bool" id="0"/> + <qmethod name="isOpenError" access="public" return="bool" id="0"/> + <qmethod name="beginTransaction" access="public" return="bool" id="0"/> + <qmethod name="commitTransaction" access="public" return="bool" id="0"/> + <qmethod name="rollbackTransaction" access="public" return="bool" id="0"/> + <qmethod name="tables" access="public" return="QStringList" id="0"> + <qparam type="QStringamp" name="user"/> + </qmethod> + <qmethod name="primaryIndex" access="public" return="QSqlIndex" id="0"> + <qparam type="QStringamp" name="tableName"/> + </qmethod> + <qmethod name="record" access="public" return="QSqlRecord" id="0"> + <qparam type="QStringamp" name="tableName"/> + </qmethod> + <qmethod name="record" access="public" return="QSqlRecord" id="1"> + <qparam type="QSqlQueryamp" name="query"/> + </qmethod> + <qmethod name="recordInfo" access="public" return="QSqlRecordInfo" id="0"> + <qparam type="QStringamp" name="tablename"/> + </qmethod> + <qmethod name="recordInfo" access="public" return="QSqlRecordInfo" id="1"> + <qparam type="QSqlQueryamp" name="query"/> + </qmethod> + <qmethod name="nullText" access="public" return="QString" id="0"/> + <qmethod name="formatValue" access="public" return="QString" id="0"> + <qparam type="QSqlField*" name="field"/> + <qparam type="bool" name="trimStrings" default="FALSE"/> + </qmethod> + <qmethod name="lastError" access="public" return="QSqlError" id="0"/> + <qmethod name="hasFeature" access="public" return="bool" id="0"> + <qparam type="DriverFeature" name="f"/> + </qmethod> + <qmethod name="open" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="db"/> + <qparam type="QStringamp" name="user" default="QString::null"/> + <qparam type="QStringamp" name="password" default="QString::null"/> + <qparam type="QStringamp" name="host" default="QString::null"/> + <qparam type="int" name="port" default="-1"/> + </qmethod> + <qmethod name="close" access="public" return="void" id="0"/> + <qmethod name="createQuery" access="public" return="QSqlQuery" id="0"/> +</qtype> <qtype name="QSqlDriverCreator" access="public"> + <qancestor name="QSqlDriverCreatorBase"/> + <qmethod name="createObject" access="public" return="QSqlDriver*" id="0"/> +</qtype> <qtype name="QSqlDriverCreatorBase" access="public"> + <qmethod name="createObject" access="public" return="QSqlDriver*" id="0"/> +</qtype> <qtype name="QSqlDriverPlugin" access="public"> + <qancestor name="QGPlugin"/> + <qdctor name="QSqlDriverPlugin" access="public"/> + <qmethod name="keys" access="public" return="QStringList" id="0"/> + <qmethod name="create" access="public" return="QSqlDriver*" id="0"> + <qparam type="QStringamp" name="key"/> + </qmethod> +</qtype> <qtype name="QSqlEditorFactory" access="public"> + <qancestor name="QEditorFactory"/> + <qctor name="QSqlEditorFactory" access="public" id="0"> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QSqlEditorFactory" access="public"/> + <qmethod name="createEditor" access="public" return="QWidget*" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="QVariantamp" name="variant"/> + </qmethod> + <qmethod name="createEditor" access="public" return="QWidget*" id="1"> + <qparam type="QWidget*" name="parent"/> + <qparam type="QSqlField*" name="field"/> + </qmethod> + <qmethod name="defaultFactory" access="public static" +return="QSqlEditorFactory*" id="0"/> + <qmethod name="installDefaultFactory" access="public static" return="void" +id="0"> + <qparam type="QSqlEditorFactory*" name="factory"/> + </qmethod> +</qtype> <qtype name="QSqlError" access="public"> + <qenum name="Type" access="public"> + <qitem name="None" value="0"/> + <qitem name="Connection" value="1"/> + <qitem name="Statement" value="2"/> + <qitem name="Transaction" value="3"/> + <qitem name="Unknown" value="4"/> + </qenum> + <qctor name="QSqlError" access="public" id="0"> + <qparam type="QStringamp" name="driverText" default="QString::null"/> + <qparam type="QStringamp" name="databaseText" default="QString::null"/> + <qparam type="int" name="type" default="Type.None"/> + <qparam type="int" name="number" default="-1"/> + </qctor> + <qctor name="QSqlError" access="public" id="1"> + <qparam type="QSqlErroramp" name="other"/> + </qctor> + <qdctor name="QSqlError" access="public"/> + <qmethod name="driverText" access="public" return="QString" id="0"/> + <qmethod name="setDriverText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="driverText"/> + </qmethod> + <qmethod name="databaseText" access="public" return="QString" id="0"/> + <qmethod name="setDatabaseText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="databaseText"/> + </qmethod> + <qmethod name="type" access="public" return="int" id="0"/> + <qmethod name="setType" access="public" return="void" id="0"> + <qparam type="int" name="type"/> + </qmethod> + <qmethod name="number" access="public" return="int" id="0"/> + <qmethod name="setNumber" access="public" return="void" id="0"> + <qparam type="int" name="number"/> + </qmethod> +</qtype> <qtype name="QSqlField" access="public"> + <qctor name="QSqlField" access="public" id="0"> + <qparam type="QStringamp" name="fieldName" default="QString::null"/> + <qparam type="QVariant::Type" name="type" default="QVariant::Invalid"/> + </qctor> + <qctor name="QSqlField" access="public" id="1"> + <qparam type="QSqlFieldamp" name="other"/> + </qctor> + <qdctor name="QSqlField" access="public"/> + <qmethod name="setValue" access="public" return="void" id="0"> + <qparam type="QVariantamp" name="value"/> + </qmethod> + <qmethod name="value" access="public" return="QVariant" id="0"/> + <qmethod name="setName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="name" access="public" return="QString" id="0"/> + <qmethod name="setNull" access="public" return="void" id="0"/> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="setReadOnly" access="public" return="void" id="0"> + <qparam type="bool" name="readOnly"/> + </qmethod> + <qmethod name="isReadOnly" access="public" return="bool" id="0"/> + <qmethod name="clear" access="public" return="void" id="0"> + <qparam type="bool" name="nullify" default="TRUE"/> + </qmethod> + <qmethod name="type" access="public" return="QVariant::Type" id="0"/> +</qtype> <qtype name="QSqlForm" access="public"> + <qancestor name="QObject"/> + <qctor name="QSqlForm" access="public" id="0"> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QSqlForm" access="public"/> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="QWidget*" name="widget"/> + <qparam type="QStringamp" name="field"/> + </qmethod> + <qmethod name="remove" access="public" return="void" id="0"> + <qparam type="QStringamp" name="field"/> + </qmethod> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="widget" access="public" return="QWidget*" id="0"> + <qparam type="uint" name="i"/> + </qmethod> + <qmethod name="widgetToField" access="public" return="QSqlField*" id="0"> + <qparam type="QWidget*" name="widget"/> + </qmethod> + <qmethod name="fieldToWidget" access="public" return="QWidget*" id="0"> + <qparam type="QSqlField*" name="field"/> + </qmethod> + <qmethod name="installPropertyMap" access="public" return="void" id="0"> + <qparam type="QSqlPropertyMap*" name="map"/> + </qmethod> + <qmethod name="setRecord" access="public" return="void" id="0"> + <qparam type="QSqlRecord*" name="buf"/> + </qmethod> + <qmethod name="readField" access="public" return="void" id="0"> + <qparam type="QWidget*" name="widget"/> + </qmethod> + <qmethod name="writeField" access="public" return="void" id="0"> + <qparam type="QWidget*" name="widget"/> + </qmethod> + <qmethod name="readFields" access="public" return="void" id="0"/> + <qmethod name="writeFields" access="public" return="void" id="0"/> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="clearValues" access="public" return="void" id="0"> + <qparam type="bool" name="nullify" default="FALSE"/> + </qmethod> + <qmethod name="protected_insert" access="protected" return="void" id="1"> + <qparam type="QWidget*" name="widget"/> + <qparam type="QSqlField*" name="field"/> + </qmethod> + <qmethod name="protected_remove" access="protected" return="void" id="1"> + <qparam type="QWidget*" name="widget"/> + </qmethod> + <qmethod name="protected_clearMap" access="protected" return="void" id="0"/> +</qtype> <qtype name="QSqlIndex" access="public"> + <qancestor name="QSqlRecord"/> + <qctor name="QSqlIndex" access="public" id="0"> + <qparam type="QStringamp" name="cursorName" default="QString::null"/> + <qparam type="QStringamp" name="name" default="QString::null"/> + </qctor> + <qctor name="QSqlIndex" access="public" id="1"> + <qparam type="QSqlIndexamp" name="other"/> + </qctor> + <qdctor name="QSqlIndex" access="public"/> + <qmethod name="setCursorName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="cursorName"/> + </qmethod> + <qmethod name="cursorName" access="public" return="QString" id="0"/> + <qmethod name="setName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="name" access="public" return="QString" id="0"/> + <qmethod name="append" access="public" return="void" id="0"> + <qparam type="QSqlFieldamp" name="field"/> + </qmethod> + <qmethod name="append" access="public" return="void" id="1"> + <qparam type="QSqlFieldamp" name="field"/> + <qparam type="bool" name="desc"/> + </qmethod> + <qmethod name="isDescending" access="public" return="bool" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="setDescending" access="public" return="void" id="0"> + <qparam type="int" name="i"/> + <qparam type="bool" name="desc"/> + </qmethod> + <qmethod name="toStringList" access="public" return="QStringList" id="0"> + <qparam type="QStringamp" name="prefix" default="QString::null"/> + <qparam type="bool" name="verbose" default="TRUE"/> + </qmethod> + <qmethod name="fromStringList" access="public static" return="QSqlIndex" id="0"> + <qparam type="QStringListamp" name="l"/> + <qparam type="QSqlCursor*" name="cursor"/> + </qmethod> +</qtype> <qtype name="QSqlPropertyMap" access="public"> + <qctor name="QSqlPropertyMap" access="public" id="0"/> + <qdctor name="QSqlPropertyMap" access="public"/> + <qmethod name="property" access="public" return="QVariant" id="0"> + <qparam type="QWidget*" name="widget"/> + </qmethod> + <qmethod name="setProperty" access="public" return="void" id="0"> + <qparam type="QWidget*" name="widget"/> + <qparam type="QVariantamp" name="value"/> + </qmethod> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="QStringamp" name="classname"/> + <qparam type="QStringamp" name="property"/> + </qmethod> + <qmethod name="remove" access="public" return="void" id="0"> + <qparam type="QStringamp" name="classname"/> + </qmethod> + <qmethod name="defaultMap" access="public static" return="QSqlPropertyMap*" +id="0"/> + <qmethod name="installDefaultMap" access="public static" return="void" id="0"> + <qparam type="QSqlPropertyMap*" name="map"/> + </qmethod> +</qtype> <qtype name="QSqlQuery" access="public"> + <qctor name="QSqlQuery" access="public" id="0"> + <qparam type="QSqlResult*" name="r"/> + </qctor> + <qctor name="QSqlQuery" access="public" id="1"> + <qparam type="QStringamp" name="query" default="QString::null"/> + <qparam type="QSqlDatabase*" name="db" default="0"/> + </qctor> + <qctor name="QSqlQuery" access="public" id="2"> + <qparam type="QSqlQueryamp" name="other"/> + </qctor> + <qdctor name="QSqlQuery" access="public"/> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="isActive" access="public" return="bool" id="0"/> + <qmethod name="isNull" access="public" return="bool" id="0"> + <qparam type="int" name="field"/> + </qmethod> + <qmethod name="at" access="public" return="int" id="0"/> + <qmethod name="lastQuery" access="public" return="QString" id="0"/> + <qmethod name="numRowsAffected" access="public" return="int" id="0"/> + <qmethod name="lastError" access="public" return="QSqlError" id="0"/> + <qmethod name="isSelect" access="public" return="bool" id="0"/> + <qmethod name="size" access="public" return="int" id="0"/> + <qmethod name="driver" access="public" return="QSqlDriver*" id="0"/> + <qmethod name="result" access="public" return="QSqlResult*" id="0"/> + <qmethod name="exec" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="query"/> + </qmethod> + <qmethod name="value" access="public" return="QVariant" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="seek" access="public" return="bool" id="0"> + <qparam type="int" name="i"/> + <qparam type="bool" name="relative" default="FALSE"/> + </qmethod> + <qmethod name="next" access="public" return="bool" id="0"/> + <qmethod name="prev" access="public" return="bool" id="0"/> + <qmethod name="first" access="public" return="bool" id="0"/> + <qmethod name="last" access="public" return="bool" id="0"/> + <qmethod name="protected_beforeSeek" access="protected" return="void" id="0"/> + <qmethod name="protected_afterSeek" access="protected" return="void" id="0"/> +</qtype> <qtype name="QSqlRecord" access="public"> + <qctor name="QSqlRecord" access="public" id="0"/> + <qctor name="QSqlRecord" access="public" id="1"> + <qparam type="QSqlRecordamp" name="other"/> + </qctor> + <qdctor name="QSqlRecord" access="public"/> + <qmethod name="value" access="public" return="QVariant" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="value" access="public" return="QVariant" id="1"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="setValue" access="public" return="void" id="0"> + <qparam type="int" name="i"/> + <qparam type="QVariantamp" name="val"/> + </qmethod> + <qmethod name="setValue" access="public" return="void" id="1"> + <qparam type="QStringamp" name="name"/> + <qparam type="QVariantamp" name="val"/> + </qmethod> + <qmethod name="isGenerated" access="public" return="bool" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="isGenerated" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="setGenerated" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="bool" name="generated"/> + </qmethod> + <qmethod name="setGenerated" access="public" return="void" id="1"> + <qparam type="int" name="i"/> + <qparam type="bool" name="generated"/> + </qmethod> + <qmethod name="setNull" access="public" return="void" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="setNull" access="public" return="void" id="1"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="isNull" access="public" return="bool" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="isNull" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="position" access="public" return="int" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="fieldName" access="public" return="QString" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="field" access="public" return="QSqlField*" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="field" access="public" return="QSqlField*" id="1"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="field" access="public" return="QSqlField*" id="2"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="field" access="public" return="QSqlField*" id="3"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="append" access="public" return="void" id="0"> + <qparam type="QSqlFieldamp" name="field"/> + </qmethod> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="int" name="pos"/> + <qparam type="QSqlFieldamp" name="field"/> + </qmethod> + <qmethod name="remove" access="public" return="void" id="0"> + <qparam type="int" name="pos"/> + </qmethod> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="contains" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="clearValues" access="public" return="void" id="0"> + <qparam type="bool" name="nullify" default="FALSE"/> + </qmethod> + <qmethod name="count" access="public" return="uint" id="0"/> + <qmethod name="toStringList" access="public" return="QStringList" id="0"> + <qparam type="QStringamp" name="prefix" default="QString::null"/> + </qmethod> +</qtype> <qtype name="QSqlRecordShared" access="public"> + <qancestor name="QShared"/> + <qctor name="QSqlRecordShared" access="public" id="0"> + <qparam type="QSqlRecordPrivate*" name="sqlRecordPrivate"/> + </qctor> + <qdctor name="QSqlRecordShared" access="public"/> +</qtype> <qtype name="QSqlResult" access="public"> + <qdctor name="QSqlResult" access="public"/> +</qtype> <qtype name="QSqlResultShared" access="public"> + <qancestor name="QObject"/> + <qancestor name="QShared"/> + <qctor name="QSqlResultShared" access="public" id="0"> + <qparam type="QSqlResult*" name="result"/> + </qctor> + <qdctor name="QSqlResultShared" access="public"/> +</qtype> <qtype name="QStatusBar" access="public"> + <qancestor name="QWidget"/> + <qctor name="QStatusBar" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QStatusBar" access="public"/> + <qmethod name="addWidget" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="int" name="stretch" default="0"/> + <qparam type="bool" name="arg2" default="FALSE"/> + </qmethod> + <qmethod name="removeWidget" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="setSizeGripEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isSizeGripEnabled" access="public" return="bool" id="0"/> + <qmethod name="message" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="message" access="public" return="void" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="protected_reformat" access="protected" return="void" id="0"/> + <qmethod name="protected_hideOrShow" access="protected" return="void" id="0"/> + <qmethod name="protected_event" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="arg1"/> + </qmethod> +</qtype> <qtype name="QStoredDrag" access="public"> + <qancestor name="QDragObject"/> + <qctor name="QStoredDrag" access="public" id="0"> + <qparam type="char*" name="mimeType"/> + <qparam type="QWidget*" name="dragSource" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QStoredDrag" access="public"/> + <qmethod name="setEncodedData" access="public" return="void" id="0"> + <qparam type="QByteArrayamp" name="arg1"/> + </qmethod> + <qmethod name="format" access="public" return="char*" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="encodedData" access="public" return="QByteArray" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> +</qtype> <qtype name="QStrIList" access="public"> + <qancestor name="QStrList"/> + <qctor name="QStrIList" access="public" id="0"> + <qparam type="bool" name="deepCopies" default="TRUE"/> + </qctor> + <qdctor name="QStrIList" access="public"/> +</qtype> <qtype name="QStrIVec" access="public"> + <qancestor name="QStrVec"/> + <qctor name="QStrIVec" access="public" id="0"/> + <qctor name="QStrIVec" access="public" id="1"> + <qparam type="uint" name="size"/> + <qparam type="bool" name="dc" default="TRUE"/> + </qctor> + <qdctor name="QStrIVec" access="public"/> +</qtype> <qtype name="QStrList" access="public"> + <qancestor name="QPtrList"/> + <qctor name="QStrList" access="public" id="0"> + <qparam type="bool" name="deepCopies" default="TRUE"/> + </qctor> + <qctor name="QStrList" access="public" id="1"> + <qparam type="QStrListamp" name="arg1"/> + </qctor> + <qdctor name="QStrList" access="public"/> +</qtype> <qtype name="QStrVec" access="public"> + <qancestor name="QPtrVector"/> + <qctor name="QStrVec" access="public" id="0"/> + <qdctor name="QStrVec" access="public"/> +</qtype> <qtype name="QString" access="public"> + <qenum name="SectionFlags" access="public"> + <qitem name="SectionDefault" value="0"/> + <qitem name="SectionSkipEmpty" value="1"/> + <qitem name="SectionIncludeLeadingSep" value="2"/> + <qitem name="SectionIncludeTrailingSep" value="4"/> + <qitem name="SectionCaseInsensitiveSeps" value="8"/> + </qenum> + <qctor name="QString" access="public" id="0"/> + <qctor name="QString" access="public" id="1"> + <qparam type="QChar" name="arg1"/> + </qctor> + <qctor name="QString" access="public" id="2"> + <qparam type="QStringamp" name="arg1"/> + </qctor> + <qctor name="QString" access="public" id="3"> + <qparam type="QByteArrayamp" name="arg1"/> + </qctor> + <qctor name="QString" access="public" id="4"> + <qparam type="QChar*" name="unicode"/> + <qparam type="uint" name="length"/> + </qctor> + <qctor name="QString" access="public" id="5"> + <qparam type="char*" name="str"/> + </qctor> + <qdctor name="QString" access="public"/> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="length" access="public" return="uint" id="0"/> + <qmethod name="truncate" access="public" return="void" id="0"> + <qparam type="uint" name="pos"/> + </qmethod> + <qmethod name="fill" access="public" return="QStringamp" id="0"> + <qparam type="QChar" name="c"/> + <qparam type="int" name="len" default="-1"/> + </qmethod> + <qmethod name="copy" access="public" return="QString" id="0"/> + <qmethod name="arg" access="public" return="QString" id="0"> + <qparam type="long" name="a"/> + <qparam type="int" name="fieldwidth" default="0"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="arg" access="public" return="QString" id="1"> + <qparam type="ulong" name="a"/> + <qparam type="int" name="fieldwidth" default="0"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="arg" access="public" return="QString" id="2"> + <qparam type="int" name="a"/> + <qparam type="int" name="fieldwidth" default="0"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="arg" access="public" return="QString" id="3"> + <qparam type="uint" name="a"/> + <qparam type="int" name="fieldwidth" default="0"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="arg" access="public" return="QString" id="4"> + <qparam type="short" name="a"/> + <qparam type="int" name="fieldwidth" default="0"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="arg" access="public" return="QString" id="5"> + <qparam type="ushort" name="a"/> + <qparam type="int" name="fieldwidth" default="0"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="arg" access="public" return="QString" id="6"> + <qparam type="char" name="a"/> + <qparam type="int" name="fieldwidth" default="0"/> + </qmethod> + <qmethod name="arg" access="public" return="QString" id="7"> + <qparam type="QChar" name="a"/> + <qparam type="int" name="fieldwidth" default="0"/> + </qmethod> + <qmethod name="arg" access="public" return="QString" id="8"> + <qparam type="QStringamp" name="a"/> + <qparam type="int" name="fieldwidth" default="0"/> + </qmethod> + <qmethod name="arg" access="public" return="QString" id="9"> + <qparam type="double" name="a"/> + <qparam type="int" name="fieldwidth" default="0"/> + <qparam type="char" name="fmt" default="'g'"/> + <qparam type="int" name="prec" default="-1"/> + </qmethod> + <qmethod name="find" access="public" return="int" id="0"> + <qparam type="QChar" name="c"/> + <qparam type="int" name="index" default="0"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="find" access="public" return="int" id="1"> + <qparam type="char" name="c"/> + <qparam type="int" name="index" default="0"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="find" access="public" return="int" id="2"> + <qparam type="QStringamp" name="str"/> + <qparam type="int" name="index" default="0"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="find" access="public" return="int" id="3"> + <qparam type="QRegExpamp" name="arg1"/> + <qparam type="int" name="index" default="0"/> + </qmethod> + <qmethod name="find" access="public" return="int" id="4"> + <qparam type="char*" name="str"/> + <qparam type="int" name="index" default="0"/> + </qmethod> + <qmethod name="findRev" access="public" return="int" id="0"> + <qparam type="QChar" name="c"/> + <qparam type="int" name="index" default="-1"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="findRev" access="public" return="int" id="1"> + <qparam type="char" name="c"/> + <qparam type="int" name="index" default="-1"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="findRev" access="public" return="int" id="2"> + <qparam type="QStringamp" name="str"/> + <qparam type="int" name="index" default="-1"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="findRev" access="public" return="int" id="3"> + <qparam type="QRegExpamp" name="arg1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="findRev" access="public" return="int" id="4"> + <qparam type="char*" name="str"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="contains" access="public" return="int" id="0"> + <qparam type="QChar" name="c"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="contains" access="public" return="int" id="1"> + <qparam type="char" name="c"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="contains" access="public" return="int" id="2"> + <qparam type="char*" name="str"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="contains" access="public" return="int" id="3"> + <qparam type="QStringamp" name="str"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="contains" access="public" return="int" id="4"> + <qparam type="QRegExpamp" name="arg1"/> + </qmethod> + <qmethod name="section" access="public" return="QString" id="0"> + <qparam type="QChar" name="sep"/> + <qparam type="int" name="start"/> + <qparam type="int" name="end" default="0xffffffff"/> + <qparam type="SectionFlags" name="SectionFlags" default="SectionDefault"/> + </qmethod> + <qmethod name="section" access="public" return="QString" id="1"> + <qparam type="char" name="sep"/> + <qparam type="int" name="start"/> + <qparam type="int" name="end" default="0xffffffff"/> + <qparam type="SectionFlags" name="SectionFlags" default="SectionDefault"/> + </qmethod> + <qmethod name="section" access="public" return="QString" id="2"> + <qparam type="char*" name="in_sep"/> + <qparam type="int" name="start"/> + <qparam type="int" name="end" default="0xffffffff"/> + <qparam type="SectionFlags" name="SectionFlags" default="SectionDefault"/> + </qmethod> + <qmethod name="section" access="public" return="QString" id="3"> + <qparam type="QStringamp" name="in_sep"/> + <qparam type="int" name="start"/> + <qparam type="int" name="end" default="0xffffffff"/> + <qparam type="SectionFlags" name="SectionFlags" default="SectionDefault"/> + </qmethod> + <qmethod name="section" access="public" return="QString" id="4"> + <qparam type="QRegExpamp" name="reg"/> + <qparam type="int" name="start"/> + <qparam type="int" name="end" default="0xffffffff"/> + <qparam type="SectionFlags" name="SectionFlags" default="SectionDefault"/> + </qmethod> + <qmethod name="left" access="public" return="QString" id="0"> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="right" access="public" return="QString" id="0"> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="mid" access="public" return="QString" id="0"> + <qparam type="uint" name="index"/> + <qparam type="uint" name="len" default="0xffffffff"/> + </qmethod> + <qmethod name="leftJustify" access="public" return="QString" id="0"> + <qparam type="uint" name="width"/> + <qparam type="QChar" name="fill" default="' '"/> + <qparam type="bool" name="trunc" default="FALSE"/> + </qmethod> + <qmethod name="rightJustify" access="public" return="QString" id="0"> + <qparam type="uint" name="width"/> + <qparam type="QChar" name="fill" default="' '"/> + <qparam type="bool" name="trunc" default="FALSE"/> + </qmethod> + <qmethod name="lower" access="public" return="QString" id="0"/> + <qmethod name="upper" access="public" return="QString" id="0"/> + <qmethod name="stripWhiteSpace" access="public" return="QString" id="0"/> + <qmethod name="simplifyWhiteSpace" access="public" return="QString" id="0"/> + <qmethod name="insert" access="public" return="QStringamp" id="0"> + <qparam type="uint" name="index"/> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="insert" access="public" return="QStringamp" id="1"> + <qparam type="uint" name="index"/> + <qparam type="QChar*" name="arg1"/> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="insert" access="public" return="QStringamp" id="2"> + <qparam type="uint" name="index"/> + <qparam type="QChar" name="arg1"/> + </qmethod> + <qmethod name="insert" access="public" return="QStringamp" id="3"> + <qparam type="uint" name="index"/> + <qparam type="char" name="c"/> + </qmethod> + <qmethod name="append" access="public" return="QStringamp" id="0"> + <qparam type="char" name="arg1"/> + </qmethod> + <qmethod name="append" access="public" return="QStringamp" id="1"> + <qparam type="QChar" name="arg1"/> + </qmethod> + <qmethod name="append" access="public" return="QStringamp" id="2"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="prepend" access="public" return="QStringamp" id="0"> + <qparam type="char" name="arg1"/> + </qmethod> + <qmethod name="prepend" access="public" return="QStringamp" id="1"> + <qparam type="QChar" name="arg1"/> + </qmethod> + <qmethod name="prepend" access="public" return="QStringamp" id="2"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="remove" access="public" return="QStringamp" id="0"> + <qparam type="uint" name="index"/> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="replace" access="public" return="QStringamp" id="0"> + <qparam type="uint" name="index"/> + <qparam type="uint" name="len"/> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="replace" access="public" return="QStringamp" id="1"> + <qparam type="uint" name="index"/> + <qparam type="uint" name="len"/> + <qparam type="QChar*" name="arg1"/> + <qparam type="uint" name="clen"/> + </qmethod> + <qmethod name="replace" access="public" return="QStringamp" id="2"> + <qparam type="QRegExpamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="toShort" access="public" return="short" id="0"> + <qparam type="bool*" name="ok" default="0"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="toUShort" access="public" return="ushort" id="0"> + <qparam type="bool*" name="ok" default="0"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="toInt" access="public" return="int" id="0"> + <qparam type="bool*" name="ok" default="0"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="toUInt" access="public" return="uint" id="0"> + <qparam type="bool*" name="ok" default="0"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="toLong" access="public" return="long" id="0"> + <qparam type="bool*" name="ok" default="0"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="toULong" access="public" return="ulong" id="0"> + <qparam type="bool*" name="ok" default="0"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="toFloat" access="public" return="float" id="0"> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="toDouble" access="public" return="double" id="0"> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="setNum" access="public" return="QStringamp" id="0"> + <qparam type="short" name="arg1"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="setNum" access="public" return="QStringamp" id="1"> + <qparam type="ushort" name="arg1"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="setNum" access="public" return="QStringamp" id="2"> + <qparam type="int" name="arg1"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="setNum" access="public" return="QStringamp" id="3"> + <qparam type="uint" name="arg1"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="setNum" access="public" return="QStringamp" id="4"> + <qparam type="long" name="arg1"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="setNum" access="public" return="QStringamp" id="5"> + <qparam type="ulong" name="arg1"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="setNum" access="public" return="QStringamp" id="6"> + <qparam type="float" name="arg1"/> + <qparam type="char" name="f" default="'g'"/> + <qparam type="int" name="prec" default="6"/> + </qmethod> + <qmethod name="setNum" access="public" return="QStringamp" id="7"> + <qparam type="double" name="arg1"/> + <qparam type="char" name="f" default="'g'"/> + <qparam type="int" name="prec" default="6"/> + </qmethod> + <qmethod name="setExpand" access="public" return="void" id="0"> + <qparam type="uint" name="index"/> + <qparam type="QChar" name="c"/> + </qmethod> + <qmethod name="at" access="public" return="QChar" id="0"> + <qparam type="uint" name="i"/> + </qmethod> + <qmethod name="at" access="public" return="QCharRef" id="1"> + <qparam type="uint" name="i"/> + </qmethod> + <qmethod name="constref" access="public" return="QChar" id="0"> + <qparam type="uint" name="i"/> + </qmethod> + <qmethod name="ref" access="public" return="QCharamp" id="0"> + <qparam type="uint" name="i"/> + </qmethod> + <qmethod name="unicode" access="public" return="QChar*" id="0"/> + <qmethod name="ascii" access="public" return="char*" id="0"/> + <qmethod name="latin1" access="public" return="char*" id="0"/> + <qmethod name="utf8" access="public" return="QCString" id="0"/> + <qmethod name="local8Bit" access="public" return="QCString" id="0"/> + <qmethod name="setUnicode" access="public" return="QStringamp" id="0"> + <qparam type="QChar*" name="unicode"/> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="setUnicodeCodes" access="public" return="QStringamp" id="0"> + <qparam type="ushort*" name="unicode_as_ushorts"/> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="setLatin1" access="public" return="QStringamp" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="int" name="len" default="-1"/> + </qmethod> + <qmethod name="compare" access="public" return="int" id="0"> + <qparam type="QStringamp" name="s"/> + </qmethod> + <qmethod name="localeAwareCompare" access="public" return="int" id="0"> + <qparam type="QStringamp" name="s"/> + </qmethod> + <qmethod name="compose" access="public" return="void" id="0"/> + <qmethod name="data" access="public" return="char*" id="0"/> + <qmethod name="startsWith" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="endsWith" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setLength" access="public" return="void" id="0"> + <qparam type="uint" name="newLength"/> + </qmethod> + <qmethod name="simpleText" access="public" return="bool" id="0"/> + <qmethod name="isRightToLeft" access="public" return="bool" id="0"/> + <qmethod name="number" access="public static" return="QString" id="0"> + <qparam type="long" name="arg1"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="number" access="public static" return="QString" id="1"> + <qparam type="ulong" name="arg1"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="number" access="public static" return="QString" id="2"> + <qparam type="int" name="arg1"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="number" access="public static" return="QString" id="3"> + <qparam type="uint" name="arg1"/> + <qparam type="int" name="base" default="10"/> + </qmethod> + <qmethod name="number" access="public static" return="QString" id="4"> + <qparam type="double" name="arg1"/> + <qparam type="char" name="f" default="'g'"/> + <qparam type="int" name="prec" default="6"/> + </qmethod> + <qmethod name="fromLatin1" access="public static" return="QString" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="int" name="len" default="-1"/> + </qmethod> + <qmethod name="fromUtf8" access="public static" return="QString" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="int" name="len" default="-1"/> + </qmethod> + <qmethod name="fromLocal8Bit" access="public static" return="QString" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="int" name="len" default="-1"/> + </qmethod> + <qmethod name="compare" access="public static" return="int" id="1"> + <qparam type="QStringamp" name="s1"/> + <qparam type="QStringamp" name="s2"/> + </qmethod> + <qmethod name="localeAwareCompare" access="public static" return="int" id="1"> + <qparam type="QStringamp" name="s1"/> + <qparam type="QStringamp" name="s2"/> + </qmethod> +</qtype> <qtype name="QStringBucket" access="public"> + <qancestor name="QBaseBucket"/> + <qctor name="QStringBucket" access="public" id="0"> + <qparam type="QStringamp" name="k"/> + <qparam type="QPtrCollection::Item" name="d"/> + <qparam type="QBaseBucket*" name="n"/> + </qctor> + <qmethod name="getKey" access="public" return="QStringamp" id="0"/> +</qtype> <qtype name="QStringData" access="public"> + <qancestor name="QShared"/> + <qctor name="QStringData" access="public" id="0"/> + <qctor name="QStringData" access="public" id="1"> + <qparam type="QChar*" name="u"/> + <qparam type="uint" name="l"/> + <qparam type="uint" name="m"/> + </qctor> + <qdctor name="QStringData" access="public"/> + <qmethod name="deleteSelf" access="public" return="void" id="0"/> + <qmethod name="setDirty" access="public" return="void" id="0"/> +</qtype> <qtype name="QStringList" access="public"> + <qancestor name="QValueList"/> + <qctor name="QStringList" access="public" id="0"/> + <qctor name="QStringList" access="public" id="3"> + <qparam type="QStringamp" name="i"/> + </qctor> + <qctor name="QStringList" access="public" id="4"> + <qparam type="char*" name="i"/> + </qctor> + <qmethod name="sort" access="public" return="void" id="0"/> + <qmethod name="join" access="public" return="QString" id="0"> + <qparam type="QStringamp" name="sep"/> + </qmethod> + <qmethod name="grep" access="public" return="QStringList" id="0"> + <qparam type="QStringamp" name="str"/> + <qparam type="bool" name="cs" default="TRUE"/> + </qmethod> + <qmethod name="grep" access="public" return="QStringList" id="1"> + <qparam type="QRegExpamp" name="expr"/> + </qmethod> + <qmethod name="fromStrList" access="public static" return="QStringList" id="0"> + <qparam type="QStrListamp" name="arg1"/> + </qmethod> + <qmethod name="split" access="public static" return="QStringList" id="0"> + <qparam type="QStringamp" name="sep"/> + <qparam type="QStringamp" name="str"/> + <qparam type="bool" name="allowEmptyEntries" default="FALSE"/> + </qmethod> + <qmethod name="split" access="public static" return="QStringList" id="1"> + <qparam type="QCharamp" name="sep"/> + <qparam type="QStringamp" name="str"/> + <qparam type="bool" name="allowEmptyEntries" default="FALSE"/> + </qmethod> + <qmethod name="split" access="public static" return="QStringList" id="2"> + <qparam type="QRegExpamp" name="sep"/> + <qparam type="QStringamp" name="str"/> + <qparam type="bool" name="allowEmptyEntries" default="FALSE"/> + </qmethod> +</qtype> <qtype name="QStyle" access="public"> + <qancestor name="QObject"/> + <qenum name="PrimitiveElement" access="public"> + <qitem name="PE_ButtonCommand" value="0"/> + <qitem name="PE_ButtonDefault" value="1"/> + <qitem name="PE_ButtonBevel" value="2"/> + <qitem name="PE_ButtonTool" value="3"/> + <qitem name="PE_ButtonDropDown" value="4"/> + <qitem name="PE_FocusRect" value="5"/> + <qitem name="PE_ArrowUp" value="6"/> + <qitem name="PE_ArrowDown" value="7"/> + <qitem name="PE_ArrowRight" value="8"/> + <qitem name="PE_ArrowLeft" value="9"/> + <qitem name="PE_SpinWidgetUp" value="10"/> + <qitem name="PE_SpinWidgetDown" value="11"/> + <qitem name="PE_SpinWidgetPlus" value="12"/> + <qitem name="PE_SpinWidgetMinus" value="13"/> + <qitem name="PE_Indicator" value="14"/> + <qitem name="PE_IndicatorMask" value="15"/> + <qitem name="PE_ExclusiveIndicator" value="16"/> + <qitem name="PE_ExclusiveIndicatorMask" value="17"/> + <qitem name="PE_DockWindowHandle" value="18"/> + <qitem name="PE_DockWindowSeparator" value="19"/> + <qitem name="PE_DockWindowResizeHandle" value="20"/> + <qitem name="PE_Splitter" value="21"/> + <qitem name="PE_Panel" value="22"/> + <qitem name="PE_PanelPopup" value="23"/> + <qitem name="PE_PanelMenuBar" value="24"/> + <qitem name="PE_PanelDockWindow" value="25"/> + <qitem name="PE_TabBarBase" value="26"/> + <qitem name="PE_HeaderSection" value="27"/> + <qitem name="PE_HeaderArrow" value="28"/> + <qitem name="PE_StatusBarSection" value="29"/> + <qitem name="PE_GroupBoxFrame" value="30"/> + <qitem name="PE_Separator" value="31"/> + <qitem name="PE_SizeGrip" value="32"/> + <qitem name="PE_CheckMark" value="33"/> + <qitem name="PE_ScrollBarAddLine" value="34"/> + <qitem name="PE_ScrollBarSubLine" value="35"/> + <qitem name="PE_ScrollBarAddPage" value="36"/> + <qitem name="PE_ScrollBarSubPage" value="37"/> + <qitem name="PE_ScrollBarSlider" value="38"/> + <qitem name="PE_ScrollBarFirst" value="39"/> + <qitem name="PE_ScrollBarLast" value="40"/> + <qitem name="PE_ProgressBarChunk" value="41"/> + <qitem name="PE_PanelLineEdit" value="42"/> + <qitem name="PE_PanelTabWidget" value="43"/> + <qitem name="PE_WindowFrame" value="44"/> + <qitem name="PE_CustomBase" value="251658240"/> + </qenum> + <qenum name="StyleFlags" access="public"> + <qitem name="Style_Default" value="0"/> + <qitem name="Style_Enabled" value="1"/> + <qitem name="Style_Raised" value="2"/> + <qitem name="Style_Sunken" value="4"/> + <qitem name="Style_Off" value="8"/> + <qitem name="Style_NoChange" value="16"/> + <qitem name="Style_On" value="32"/> + <qitem name="Style_Down" value="64"/> + <qitem name="Style_Horizontal" value="128"/> + <qitem name="Style_HasFocus" value="256"/> + <qitem name="Style_Top" value="512"/> + <qitem name="Style_Bottom" value="1024"/> + <qitem name="Style_FocusAtBorder" value="2048"/> + <qitem name="Style_AutoRaise" value="4096"/> + <qitem name="Style_MouseOver" value="8192"/> + <qitem name="Style_Up" value="16384"/> + <qitem name="Style_Selected" value="32768"/> + <qitem name="Style_Active" value="65536"/> + <qitem name="Style_ButtonDefault" value="131072"/> + </qenum> + <qenum name="ControlElement" access="public"> + <qitem name="CE_PushButton" value="0"/> + <qitem name="CE_PushButtonLabel" value="1"/> + <qitem name="CE_CheckBox" value="2"/> + <qitem name="CE_CheckBoxLabel" value="3"/> + <qitem name="CE_RadioButton" value="4"/> + <qitem name="CE_RadioButtonLabel" value="5"/> + <qitem name="CE_TabBarTab" value="6"/> + <qitem name="CE_TabBarLabel" value="7"/> + <qitem name="CE_ProgressBarGroove" value="8"/> + <qitem name="CE_ProgressBarContents" value="9"/> + <qitem name="CE_ProgressBarLabel" value="10"/> + <qitem name="CE_PopupMenuItem" value="11"/> + <qitem name="CE_MenuBarItem" value="12"/> + <qitem name="CE_ToolButtonLabel" value="13"/> + <qitem name="CE_CustomBase" value="4026531840"/> + </qenum> + <qenum name="SubRect" access="public"> + <qitem name="SR_PushButtonContents" value="0"/> + <qitem name="SR_PushButtonFocusRect" value="1"/> + <qitem name="SR_CheckBoxIndicator" value="2"/> + <qitem name="SR_CheckBoxContents" value="3"/> + <qitem name="SR_CheckBoxFocusRect" value="4"/> + <qitem name="SR_RadioButtonIndicator" value="5"/> + <qitem name="SR_RadioButtonContents" value="6"/> + <qitem name="SR_RadioButtonFocusRect" value="7"/> + <qitem name="SR_ComboBoxFocusRect" value="8"/> + <qitem name="SR_SliderFocusRect" value="9"/> + <qitem name="SR_DockWindowHandleRect" value="10"/> + <qitem name="SR_ProgressBarGroove" value="11"/> + <qitem name="SR_ProgressBarContents" value="12"/> + <qitem name="SR_ProgressBarLabel" value="13"/> + <qitem name="SR_ToolButtonContents" value="14"/> + <qitem name="SR_CustomBase" value="4026531840"/> + </qenum> + <qenum name="ComplexControl" access="public"> + <qitem name="CC_SpinWidget" value="0"/> + <qitem name="CC_ComboBox" value="1"/> + <qitem name="CC_ScrollBar" value="2"/> + <qitem name="CC_Slider" value="3"/> + <qitem name="CC_ToolButton" value="4"/> + <qitem name="CC_TitleBar" value="5"/> + <qitem name="CC_ListView" value="6"/> + <qitem name="CC_CustomBase" value="4026531840"/> + </qenum> + <qenum name="SubControl" access="public"> + <qitem name="SC_None" value="0"/> + <qitem name="SC_ScrollBarAddLine" value="1"/> + <qitem name="SC_ScrollBarSubLine" value="2"/> + <qitem name="SC_ScrollBarAddPage" value="4"/> + <qitem name="SC_ScrollBarSubPage" value="8"/> + <qitem name="SC_ScrollBarFirst" value="16"/> + <qitem name="SC_ScrollBarLast" value="32"/> + <qitem name="SC_ScrollBarSlider" value="64"/> + <qitem name="SC_ScrollBarGroove" value="128"/> + <qitem name="SC_SpinWidgetUp" value="1"/> + <qitem name="SC_SpinWidgetDown" value="2"/> + <qitem name="SC_SpinWidgetFrame" value="4"/> + <qitem name="SC_SpinWidgetEditField" value="8"/> + <qitem name="SC_SpinWidgetButtonField" value="16"/> + <qitem name="SC_ComboBoxFrame" value="1"/> + <qitem name="SC_ComboBoxEditField" value="2"/> + <qitem name="SC_ComboBoxArrow" value="4"/> + <qitem name="SC_SliderGroove" value="1"/> + <qitem name="SC_SliderHandle" value="2"/> + <qitem name="SC_SliderTickmarks" value="4"/> + <qitem name="SC_ToolButton" value="1"/> + <qitem name="SC_ToolButtonMenu" value="2"/> + <qitem name="SC_TitleBarLabel" value="1"/> + <qitem name="SC_TitleBarSysMenu" value="2"/> + <qitem name="SC_TitleBarMinButton" value="4"/> + <qitem name="SC_TitleBarMaxButton" value="8"/> + <qitem name="SC_TitleBarCloseButton" value="16"/> + <qitem name="SC_TitleBarNormalButton" value="32"/> + <qitem name="SC_TitleBarShadeButton" value="64"/> + <qitem name="SC_TitleBarUnshadeButton" value="128"/> + <qitem name="SC_ListView" value="1"/> + <qitem name="SC_ListViewBranch" value="2"/> + <qitem name="SC_ListViewExpand" value="4"/> + <qitem name="SC_All" value="4294967295"/> + </qenum> + <qenum name="PixelMetric" access="public"> + <qitem name="PM_ButtonMargin" value="0"/> + <qitem name="PM_ButtonDefaultIndicator" value="1"/> + <qitem name="PM_MenuButtonIndicator" value="2"/> + <qitem name="PM_ButtonShiftHorizontal" value="3"/> + <qitem name="PM_ButtonShiftVertical" value="4"/> + <qitem name="PM_DefaultFrameWidth" value="5"/> + <qitem name="PM_SpinBoxFrameWidth" value="6"/> + <qitem name="PM_MaximumDragDistance" value="7"/> + <qitem name="PM_ScrollBarExtent" value="8"/> + <qitem name="PM_ScrollBarSliderMin" value="9"/> + <qitem name="PM_SliderThickness" value="10"/> + <qitem name="PM_SliderControlThickness" value="11"/> + <qitem name="PM_SliderLength" value="12"/> + <qitem name="PM_SliderTickmarkOffset" value="13"/> + <qitem name="PM_SliderSpaceAvailable" value="14"/> + <qitem name="PM_DockWindowSeparatorExtent" value="15"/> + <qitem name="PM_DockWindowHandleExtent" value="16"/> + <qitem name="PM_DockWindowFrameWidth" value="17"/> + <qitem name="PM_MenuBarFrameWidth" value="18"/> + <qitem name="PM_TabBarTabOverlap" value="19"/> + <qitem name="PM_TabBarTabHSpace" value="20"/> + <qitem name="PM_TabBarTabVSpace" value="21"/> + <qitem name="PM_TabBarBaseHeight" value="22"/> + <qitem name="PM_TabBarBaseOverlap" value="23"/> + <qitem name="PM_ProgressBarChunkWidth" value="24"/> + <qitem name="PM_SplitterWidth" value="25"/> + <qitem name="PM_TitleBarHeight" value="26"/> + <qitem name="PM_IndicatorWidth" value="27"/> + <qitem name="PM_IndicatorHeight" value="28"/> + <qitem name="PM_ExclusiveIndicatorWidth" value="29"/> + <qitem name="PM_ExclusiveIndicatorHeight" value="30"/> + <qitem name="PM_CustomBase" value="4026531840"/> + </qenum> + <qenum name="ContentsType" access="public"> + <qitem name="CT_PushButton" value="0"/> + <qitem name="CT_CheckBox" value="1"/> + <qitem name="CT_RadioButton" value="2"/> + <qitem name="CT_ToolButton" value="3"/> + <qitem name="CT_ComboBox" value="4"/> + <qitem name="CT_Splitter" value="5"/> + <qitem name="CT_DockWindow" value="6"/> + <qitem name="CT_ProgressBar" value="7"/> + <qitem name="CT_PopupMenuItem" value="8"/> + <qitem name="CT_CustomBase" value="4026531840"/> + </qenum> + <qenum name="StyleHint" access="public"> + <qitem name="SH_EtchDisabledText" value="0"/> + <qitem name="SH_GUIStyle" value="1"/> + <qitem name="SH_ScrollBar_BackgroundMode" value="2"/> + <qitem name="SH_ScrollBar_MiddleClickAbsolutePosition" value="3"/> + <qitem name="SH_ScrollBar_ScrollWhenPointerLeavesControl" value="4"/> + <qitem name="SH_TabBar_SelectMouseType" value="5"/> + <qitem name="SH_TabBar_Alignment" value="6"/> + <qitem name="SH_Header_ArrowAlignment" value="7"/> + <qitem name="SH_Slider_SnapToValue" value="8"/> + <qitem name="SH_Slider_SloppyKeyEvents" value="9"/> + <qitem name="SH_ProgressDialog_CenterCancelButton" value="10"/> + <qitem name="SH_ProgressDialog_TextLabelAlignment" value="11"/> + <qitem name="SH_PrintDialog_RightAlignButtons" value="12"/> + <qitem name="SH_MainWindow_SpaceBelowMenuBar" value="13"/> + <qitem name="SH_FontDialog_SelectAssociatedText" value="14"/> + <qitem name="SH_PopupMenu_AllowActiveAndDisabled" value="15"/> + <qitem name="SH_PopupMenu_SpaceActivatesItem" value="16"/> + <qitem name="SH_PopupMenu_SubMenuPopupDelay" value="17"/> + <qitem name="SH_ScrollView_FrameOnlyAroundContents" value="18"/> + <qitem name="SH_MenuBar_AltKeyNavigation" value="19"/> + <qitem name="SH_ComboBox_ListMouseTracking" value="20"/> + <qitem name="SH_PopupMenu_MouseTracking" value="21"/> + <qitem name="SH_MenuBar_MouseTracking" value="22"/> + <qitem name="SH_ItemView_ChangeHighlightOnFocus" value="23"/> + <qitem name="SH_Widget_ShareActivation" value="24"/> + <qitem name="SH_Workspace_FillSpaceOnMaximize" value="25"/> + <qitem name="SH_ComboBox_Popup" value="26"/> + <qitem name="SH_TitleBar_NoBorder" value="27"/> + <qitem name="SH_ScrollBar_StopMouseOverSlider" value="28"/> + <qitem name="SH_BlinkCursorWhenTextSelected" value="29"/> + <qitem name="SH_RichText_FullWidthSelection" value="30"/> + <qitem name="SH_CustomBase" value="4026531840"/> + </qenum> + <qenum name="StylePixmap" access="public"> + <qitem name="SP_TitleBarMinButton" value="0"/> + <qitem name="SP_TitleBarMaxButton" value="1"/> + <qitem name="SP_TitleBarCloseButton" value="2"/> + <qitem name="SP_TitleBarNormalButton" value="3"/> + <qitem name="SP_TitleBarShadeButton" value="4"/> + <qitem name="SP_TitleBarUnshadeButton" value="5"/> + <qitem name="SP_DockWindowCloseButton" value="6"/> + <qitem name="SP_MessageBoxInformation" value="7"/> + <qitem name="SP_MessageBoxWarning" value="8"/> + <qitem name="SP_MessageBoxCritical" value="9"/> + <qitem name="SP_CustomBase" value="4026531840"/> + </qenum> + <qdctor name="QStyle" access="public"/> + <qmethod name="polish" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="unPolish" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="polish" access="public" return="void" id="1"> + <qparam type="QApplication*" name="arg1"/> + </qmethod> + <qmethod name="unPolish" access="public" return="void" id="1"> + <qparam type="QApplication*" name="arg1"/> + </qmethod> + <qmethod name="polish" access="public" return="void" id="2"> + <qparam type="QPaletteamp" name="arg1"/> + </qmethod> + <qmethod name="polishPopupMenu" access="public" return="void" id="0"> + <qparam type="QPopupMenu*" name="arg1"/> + </qmethod> + <qmethod name="itemRect" access="public" return="QRect" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="QRectamp" name="r"/> + <qparam type="int" name="flags"/> + <qparam type="bool" name="enabled"/> + <qparam type="QPixmap*" name="pixmap"/> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="len" default="-1"/> + </qmethod> + <qmethod name="drawItem" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="QRectamp" name="r"/> + <qparam type="int" name="flags"/> + <qparam type="QColorGroupamp" name="g"/> + <qparam type="bool" name="enabled"/> + <qparam type="QPixmap*" name="pixmap"/> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="len" default="-1"/> + <qparam type="QColor*" name="penColor" default="0"/> + </qmethod> + <qmethod name="drawPrimitive" access="public" return="void" id="0"> + <qparam type="PrimitiveElement" name="pe"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="flags" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawControl" access="public" return="void" id="0"> + <qparam type="ControlElement" name="element"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="how" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawControlMask" access="public" return="void" id="0"> + <qparam type="ControlElement" name="element"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="subRect" access="public" return="QRect" id="0"> + <qparam type="SubRect" name="r"/> + <qparam type="QWidget*" name="widget"/> + </qmethod> + <qmethod name="drawComplexControl" access="public" return="void" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="how" default="Style_Default"/> + <qparam type="SCFlags" name="sub" default="SC_All"/> + <qparam type="SCFlags" name="subActive" default="SC_None"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawComplexControlMask" access="public" return="void" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="querySubControlMetrics" access="public" return="QRect" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="SubControl" name="sc"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="querySubControl" access="public" return="SubControl" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QPointamp" name="pos"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="pixelMetric" access="public" return="int" id="0"> + <qparam type="PixelMetric" name="metric"/> + <qparam type="QWidget*" name="widget" default="0"/> + </qmethod> + <qmethod name="sizeFromContents" access="public" return="QSize" id="0"> + <qparam type="ContentsType" name="contents"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QSizeamp" name="contentsSize"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="styleHint" access="public" return="int" id="0"> + <qparam type="StyleHint" name="stylehint"/> + <qparam type="QWidget*" name="widget" default="0"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + <qparam type="QStyleHintReturn*" name="returnData" default="0"/> + </qmethod> + <qmethod name="stylePixmap" access="public" return="QPixmap" id="0"> + <qparam type="StylePixmap" name="stylepixmap"/> + <qparam type="QWidget*" name="widget" default="0"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="defaultFrameWidth" access="public" return="int" id="0"/> + <qmethod name="tabbarMetrics" access="public" return="void" id="0"> + <qparam type="QWidget*" name="t"/> + <qparam type="intamp" name="hf"/> + <qparam type="intamp" name="vf"/> + <qparam type="intamp" name="ov"/> + </qmethod> + <qmethod name="scrollBarExtent" access="public" return="QSize" id="0"/> + <qmethod name="visualRect" access="public static" return="QRect" id="0"> + <qparam type="QRectamp" name="logical"/> + <qparam type="QWidget*" name="w"/> + </qmethod> + <qmethod name="visualRect" access="public static" return="QRect" id="1"> + <qparam type="QRectamp" name="logical"/> + <qparam type="QRectamp" name="bounding"/> + </qmethod> +</qtype> <qtype name="QStyleFactory" access="public"> + <qmethod name="keys" access="public static" return="QStringList" id="0"/> + <qmethod name="create" access="public static" return="QStyle*" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QStyleOption" access="public"> + <qenum name="StyleOptionDefault" access="public"> + <qitem name="Default" value="0"/> + </qenum> + <qctor name="QStyleOption" access="public" id="0"> + <qparam type="StyleOptionDefault" name="arg1" default="Default"/> + </qctor> + <qctor name="QStyleOption" access="public" id="1"> + <qparam type="int" name="in1"/> + <qparam type="int" name="in2"/> + </qctor> + <qctor name="QStyleOption" access="public" id="2"> + <qparam type="int" name="in1"/> + <qparam type="int" name="in2"/> + <qparam type="int" name="in3"/> + <qparam type="int" name="in4"/> + </qctor> + <qctor name="QStyleOption" access="public" id="3"> + <qparam type="QMenuItem*" name="m"/> + </qctor> + <qctor name="QStyleOption" access="public" id="4"> + <qparam type="QMenuItem*" name="m"/> + <qparam type="int" name="in1"/> + </qctor> + <qctor name="QStyleOption" access="public" id="5"> + <qparam type="QMenuItem*" name="m"/> + <qparam type="int" name="in1"/> + <qparam type="int" name="in2"/> + </qctor> + <qctor name="QStyleOption" access="public" id="6"> + <qparam type="QColoramp" name="c"/> + </qctor> + <qctor name="QStyleOption" access="public" id="7"> + <qparam type="QTab*" name="t"/> + </qctor> + <qctor name="QStyleOption" access="public" id="8"> + <qparam type="QListViewItem*" name="i"/> + </qctor> + <qctor name="QStyleOption" access="public" id="9"> + <qparam type="Qt::ArrowType" name="a"/> + </qctor> + <qmethod name="isDefault" access="public" return="bool" id="0"/> + <qmethod name="lineWidth" access="public" return="int" id="0"/> + <qmethod name="midLineWidth" access="public" return="int" id="0"/> + <qmethod name="frameShape" access="public" return="int" id="0"/> + <qmethod name="frameShadow" access="public" return="int" id="0"/> + <qmethod name="menuItem" access="public" return="QMenuItem*" id="0"/> + <qmethod name="maxIconWidth" access="public" return="int" id="0"/> + <qmethod name="tabWidth" access="public" return="int" id="0"/> + <qmethod name="color" access="public" return="QColoramp" id="0"/> + <qmethod name="tab" access="public" return="QTab*" id="0"/> + <qmethod name="listViewItem" access="public" return="QListViewItem*" id="0"/> + <qmethod name="arrowType" access="public" return="Qt::ArrowType" id="0"/> +</qtype> <qtype name="QStylePlugin" access="public"> + <qancestor name="QGPlugin"/> + <qdctor name="QStylePlugin" access="public"/> + <qmethod name="keys" access="public" return="QStringList" id="0"/> + <qmethod name="create" access="public" return="QStyle*" id="0"> + <qparam type="QStringamp" name="key"/> + </qmethod> +</qtype> <qtype name="QStyleSheet" access="public"> + <qancestor name="QObject"/> + <qctor name="QStyleSheet" access="public" id="0"> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QStyleSheet" access="public"/> + <qmethod name="item" access="public" return="QStyleSheetItem*" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="item" access="public" return="QStyleSheetItem*" id="1"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="QStyleSheetItem*" name="item"/> + </qmethod> + <qmethod name="scaleFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="font"/> + <qparam type="int" name="logicalSize"/> + </qmethod> + <qmethod name="error" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="defaultSheet" access="public static" return="QStyleSheet*" +id="0"/> + <qmethod name="setDefaultSheet" access="public static" return="void" id="0"> + <qparam type="QStyleSheet*" name="arg1"/> + </qmethod> + <qmethod name="escape" access="public static" return="QString" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="convertFromPlainText" access="public static" return="QString" +id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStyleSheetItem::WhiteSpaceMode" name="mode" +default="QStyleSheetItem::WhiteSpacePre"/> + </qmethod> + <qmethod name="mightBeRichText" access="public static" return="bool" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QStyleSheetItem" access="public"> + <qancestor name="Qt"/> + <qenum name="AdditionalStyleValues" access="public"> + <qitem name="Undefined" value="-1"/> + </qenum> + <qenum name="DisplayMode" access="public"> + <qitem name="DisplayBlock" value="0"/> + <qitem name="DisplayInline" value="1"/> + <qitem name="DisplayListItem" value="2"/> + <qitem name="DisplayNone" value="3"/> + </qenum> + <qenum name="VerticalAlignment" access="public"> + <qitem name="VAlignBaseline" value="0"/> + <qitem name="VAlignSub" value="1"/> + <qitem name="VAlignSuper" value="2"/> + </qenum> + <qenum name="WhiteSpaceMode" access="public"> + <qitem name="WhiteSpaceNormal" value="0"/> + <qitem name="WhiteSpacePre" value="1"/> + <qitem name="WhiteSpaceNoWrap" value="2"/> + </qenum> + <qenum name="Margin" access="public"> + <qitem name="MarginLeft" value="0"/> + <qitem name="MarginRight" value="1"/> + <qitem name="MarginTop" value="2"/> + <qitem name="MarginBottom" value="3"/> + <qitem name="MarginFirstLine" value="4"/> + <qitem name="MarginAll" value="5"/> + <qitem name="MarginVertical" value="6"/> + <qitem name="MarginHorizontal" value="7"/> + </qenum> + <qenum name="ListStyle" access="public"> + <qitem name="ListDisc" value="0"/> + <qitem name="ListCircle" value="1"/> + <qitem name="ListSquare" value="2"/> + <qitem name="ListDecimal" value="3"/> + <qitem name="ListLowerAlpha" value="4"/> + <qitem name="ListUpperAlpha" value="5"/> + </qenum> + <qctor name="QStyleSheetItem" access="public" id="0"> + <qparam type="QStyleSheet*" name="parent"/> + <qparam type="QStringamp" name="name"/> + </qctor> + <qctor name="QStyleSheetItem" access="public" id="1"> + <qparam type="QStyleSheetItemamp" name="arg1"/> + </qctor> + <qdctor name="QStyleSheetItem" access="public"/> + <qmethod name="name" access="public" return="QString" id="0"/> + <qmethod name="styleSheet" access="public" return="QStyleSheet*" id="0"/> + <qmethod name="styleSheet" access="public" return="QStyleSheet*" id="1"/> + <qmethod name="displayMode" access="public" return="DisplayMode" id="0"/> + <qmethod name="setDisplayMode" access="public" return="void" id="0"> + <qparam type="DisplayMode" name="m"/> + </qmethod> + <qmethod name="alignment" access="public" return="int" id="0"/> + <qmethod name="setAlignment" access="public" return="void" id="0"> + <qparam type="int" name="f"/> + </qmethod> + <qmethod name="verticalAlignment" access="public" return="VerticalAlignment" +id="0"/> + <qmethod name="setVerticalAlignment" access="public" return="void" id="0"> + <qparam type="VerticalAlignment" name="valign"/> + </qmethod> + <qmethod name="fontWeight" access="public" return="int" id="0"/> + <qmethod name="setFontWeight" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + </qmethod> + <qmethod name="logicalFontSize" access="public" return="int" id="0"/> + <qmethod name="setLogicalFontSize" access="public" return="void" id="0"> + <qparam type="int" name="s"/> + </qmethod> + <qmethod name="logicalFontSizeStep" access="public" return="int" id="0"/> + <qmethod name="setLogicalFontSizeStep" access="public" return="void" id="0"> + <qparam type="int" name="s"/> + </qmethod> + <qmethod name="fontSize" access="public" return="int" id="0"/> + <qmethod name="setFontSize" access="public" return="void" id="0"> + <qparam type="int" name="s"/> + </qmethod> + <qmethod name="fontFamily" access="public" return="QString" id="0"/> + <qmethod name="setFontFamily" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="numberOfColumns" access="public" return="int" id="0"/> + <qmethod name="setNumberOfColumns" access="public" return="void" id="0"> + <qparam type="int" name="ncols"/> + </qmethod> + <qmethod name="color" access="public" return="QColor" id="0"/> + <qmethod name="setColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="arg1"/> + </qmethod> + <qmethod name="fontItalic" access="public" return="bool" id="0"/> + <qmethod name="setFontItalic" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="definesFontItalic" access="public" return="bool" id="0"/> + <qmethod name="fontUnderline" access="public" return="bool" id="0"/> + <qmethod name="setFontUnderline" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="definesFontUnderline" access="public" return="bool" id="0"/> + <qmethod name="isAnchor" access="public" return="bool" id="0"/> + <qmethod name="setAnchor" access="public" return="void" id="0"> + <qparam type="bool" name="anc"/> + </qmethod> + <qmethod name="whiteSpaceMode" access="public" return="WhiteSpaceMode" id="0"/> + <qmethod name="setWhiteSpaceMode" access="public" return="void" id="0"> + <qparam type="WhiteSpaceMode" name="m"/> + </qmethod> + <qmethod name="margin" access="public" return="int" id="0"> + <qparam type="Margin" name="m"/> + </qmethod> + <qmethod name="setMargin" access="public" return="void" id="0"> + <qparam type="Margin" name="arg1"/> + <qparam type="int" name="arg2"/> + </qmethod> + <qmethod name="listStyle" access="public" return="ListStyle" id="0"/> + <qmethod name="setListStyle" access="public" return="void" id="0"> + <qparam type="ListStyle" name="arg1"/> + </qmethod> + <qmethod name="contexts" access="public" return="QString" id="0"/> + <qmethod name="setContexts" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="allowedInContext" access="public" return="bool" id="0"> + <qparam type="QStyleSheetItem*" name="arg1"/> + </qmethod> + <qmethod name="selfNesting" access="public" return="bool" id="0"/> + <qmethod name="setSelfNesting" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setLineSpacing" access="public" return="void" id="0"> + <qparam type="int" name="ls"/> + </qmethod> + <qmethod name="lineSpacing" access="public" return="int" id="0"/> +</qtype> <qtype name="QTLWExtra" access="public"> +</qtype> <qtype name="QTSManip" access="public"> + <qctor name="QTSManip" access="public" id="0"> + <qparam type="QTSMFI" name="m"/> + <qparam type="int" name="a"/> + </qctor> + <qmethod name="exec" access="public" return="void" id="0"> + <qparam type="QTextStreamamp" name="s"/> + </qmethod> +</qtype> <qtype name="QTab" access="public"> + <qancestor name="Qt"/> + <qctor name="QTab" access="public" id="0"/> + <qdctor name="QTab" access="public"/> + <qctor name="QTab" access="public" id="1"> + <qparam type="QStringamp" name="text"/> + </qctor> + <qctor name="QTab" access="public" id="2"> + <qparam type="QIconSetamp" name="icon"/> + <qparam type="QStringamp" name="text" default="QString::null"/> + </qctor> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="setIconSet" access="public" return="void" id="0"> + <qparam type="QIconSetamp" name="icon"/> + </qmethod> + <qmethod name="iconSet" access="public" return="QIconSet*" id="0"/> + <qmethod name="setRect" access="public" return="void" id="0"> + <qparam type="QRectamp" name="rect"/> + </qmethod> + <qmethod name="rect" access="public" return="QRect" id="0"/> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="isEnabled" access="public" return="bool" id="0"/> + <qmethod name="setIdentifier" access="public" return="void" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="identifier" access="public" return="int" id="0"/> +</qtype> <qtype name="QTabBar" access="public"> + <qancestor name="QWidget"/> + <qenum name="Shape" access="public"> + <qitem name="RoundedAbove" value="0"/> + <qitem name="RoundedBelow" value="1"/> + <qitem name="TriangularAbove" value="2"/> + <qitem name="TriangularBelow" value="3"/> + </qenum> + <qctor name="QTabBar" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QTabBar" access="public"/> + <qmethod name="shape" access="public" return="Shape" id="0"/> + <qmethod name="setShape" access="public" return="void" id="0"> + <qparam type="Shape" name="arg1"/> + </qmethod> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="addTab" access="public" return="int" id="0"> + <qparam type="QTab*" name="arg1"/> + </qmethod> + <qmethod name="insertTab" access="public" return="int" id="0"> + <qparam type="QTab*" name="arg1"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="removeTab" access="public" return="void" id="0"> + <qparam type="QTab*" name="arg1"/> + </qmethod> + <qmethod name="setTabEnabled" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="isTabEnabled" access="public" return="bool" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="currentTab" access="public" return="int" id="0"/> + <qmethod name="keyboardFocusTab" access="public" return="int" id="0"/> + <qmethod name="tab" access="public" return="QTab*" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="tabAt" access="public" return="QTab*" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="indexOf" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="count" access="public" return="int" id="0"/> + <qmethod name="layoutTabs" access="public" return="void" id="0"/> + <qmethod name="selectTab" access="public" return="QTab*" id="0"> + <qparam type="QPointamp" name="p"/> + </qmethod> + <qmethod name="removeToolTip" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="setToolTip" access="public" return="void" id="0"> + <qparam type="int" name="index"/> + <qparam type="QStringamp" name="tip"/> + </qmethod> + <qmethod name="toolTip" access="public" return="QString" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="setCurrentTab" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setCurrentTab" access="public" return="void" id="1"> + <qparam type="QTab*" name="arg1"/> + </qmethod> + <qmethod name="protected_paint" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="QTab*" name="arg2"/> + <qparam type="bool" name="arg3"/> + </qmethod> + <qmethod name="protected_paintLabel" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="QRectamp" name="arg2"/> + <qparam type="QTab*" name="arg3"/> + <qparam type="bool" name="arg4"/> + </qmethod> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_fontChange" access="protected" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QTabDialog" access="public"> + <qancestor name="QDialog"/> + <qctor name="QTabDialog" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="bool" name="modal" default="FALSE"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qdctor name="QTabDialog" access="public"/> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="font"/> + </qmethod> + <qmethod name="addTab" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="addTab" access="public" return="void" id="1"> + <qparam type="QWidget*" name="child"/> + <qparam type="QIconSetamp" name="iconset"/> + <qparam type="QStringamp" name="label"/> + </qmethod> + <qmethod name="addTab" access="public" return="void" id="2"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QTab*" name="arg2"/> + </qmethod> + <qmethod name="insertTab" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertTab" access="public" return="void" id="1"> + <qparam type="QWidget*" name="child"/> + <qparam type="QIconSetamp" name="iconset"/> + <qparam type="QStringamp" name="label"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertTab" access="public" return="void" id="2"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QTab*" name="arg2"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="changeTab" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="changeTab" access="public" return="void" id="1"> + <qparam type="QWidget*" name="child"/> + <qparam type="QIconSetamp" name="iconset"/> + <qparam type="QStringamp" name="label"/> + </qmethod> + <qmethod name="isTabEnabled" access="public" return="bool" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="setTabEnabled" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="isTabEnabled" access="public" return="bool" id="1"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="setTabEnabled" access="public" return="void" id="1"> + <qparam type="char*" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="showPage" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="removePage" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="tabLabel" access="public" return="QString" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="currentPage" access="public" return="QWidget*" id="0"/> + <qmethod name="setDefaultButton" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="setDefaultButton" access="public" return="void" id="1"/> + <qmethod name="hasDefaultButton" access="public" return="bool" id="0"/> + <qmethod name="setHelpButton" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="setHelpButton" access="public" return="void" id="1"/> + <qmethod name="hasHelpButton" access="public" return="bool" id="0"/> + <qmethod name="setCancelButton" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="setCancelButton" access="public" return="void" id="1"/> + <qmethod name="hasCancelButton" access="public" return="bool" id="0"/> + <qmethod name="setApplyButton" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="setApplyButton" access="public" return="void" id="1"/> + <qmethod name="hasApplyButton" access="public" return="bool" id="0"/> + <qmethod name="setOKButton" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text" default="QString::null"/> + </qmethod> + <qmethod name="setOkButton" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="setOkButton" access="public" return="void" id="1"/> + <qmethod name="hasOkButton" access="public" return="bool" id="0"/> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_setTabBar" access="protected" return="void" id="0"> + <qparam type="QTabBar*" name="arg1"/> + </qmethod> + <qmethod name="protected_tabBar" access="protected" return="QTabBar*" id="0"/> +</qtype> <qtype name="QTabWidget" access="public"> + <qancestor name="QWidget"/> + <qenum name="TabPosition" access="public"> + <qitem name="Top" value="0"/> + <qitem name="Bottom" value="1"/> + </qenum> + <qenum name="TabShape" access="public"> + <qitem name="Rounded" value="0"/> + <qitem name="Triangular" value="1"/> + </qenum> + <qctor name="QTabWidget" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qmethod name="changeTab" access="public" return="void" id="0"> + <qparam type="QWidget*" name="w"/> + <qparam type="QStringamp" name="label"/> + </qmethod> + <qmethod name="changeTab" access="public" return="void" id="1"> + <qparam type="QWidget*" name="w"/> + <qparam type="QIconSetamp" name="iconset"/> + <qparam type="QStringamp" name="label"/> + </qmethod> + <qmethod name="insertTab" access="public" return="void" id="0"> + <qparam type="QWidget*" name="child"/> + <qparam type="QStringamp" name="label"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertTab" access="public" return="void" id="1"> + <qparam type="QWidget*" name="child"/> + <qparam type="QIconSetamp" name="iconset"/> + <qparam type="QStringamp" name="label"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="insertTab" access="public" return="void" id="2"> + <qparam type="QWidget*" name="child"/> + <qparam type="QTab*" name="tab"/> + <qparam type="int" name="index" default="-1"/> + </qmethod> + <qmethod name="setCurrentPage" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="showPage" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="removePage" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="protected_setTabBar" access="protected" return="void" id="0"> + <qparam type="QTabBar*" name="arg1"/> + </qmethod> + <qmethod name="protected_tabBar" access="protected" return="QTabBar*" id="0"/> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_updateMask" access="protected" return="void" id="0"/> + <qmethod name="protected_eventFilter" access="protected" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> +</qtype> <qtype name="QTable" access="public"> + <qancestor name="QScrollView"/> + <qenum name="SelectionMode" access="public"> + <qitem name="Single" value="0"/> + <qitem name="Multi" value="1"/> + <qitem name="SingleRow" value="2"/> + <qitem name="MultiRow" value="3"/> + <qitem name="NoSelection" value="4"/> + </qenum> + <qenum name="FocusStyle" access="public"> + <qitem name="FollowStyle" value="0"/> + <qitem name="SpreadSheet" value="1"/> + </qenum> + <qenum name="EditMode" access="protected"> + <qitem name="NotEditing" value="0"/> + <qitem name="Editing" value="1"/> + <qitem name="Replacing" value="2"/> + </qenum> + <qctor name="QTable" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QTable" access="public" id="1"> + <qparam type="int" name="numRows"/> + <qparam type="int" name="numCols"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QTable" access="public"/> + <qmethod name="horizontalHeader" access="public" return="QHeader*" id="0"/> + <qmethod name="verticalHeader" access="public" return="QHeader*" id="0"/> + <qmethod name="setSelectionMode" access="public" return="void" id="0"> + <qparam type="SelectionMode" name="mode"/> + </qmethod> + <qmethod name="selectionMode" access="public" return="SelectionMode" id="0"/> + <qmethod name="setItem" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="QTableItem*" name="item"/> + </qmethod> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="setPixmap" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="QPixmapamp" name="pix"/> + </qmethod> + <qmethod name="item" access="public" return="QTableItem*" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="text" access="public" return="QString" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="pixmap" access="public" return="QPixmap" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="clearCell" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="cellGeometry" access="public" return="QRect" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="columnWidth" access="public" return="int" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="rowHeight" access="public" return="int" id="0"> + <qparam type="int" name="row"/> + </qmethod> + <qmethod name="columnPos" access="public" return="int" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="rowPos" access="public" return="int" id="0"> + <qparam type="int" name="row"/> + </qmethod> + <qmethod name="columnAt" access="public" return="int" id="0"> + <qparam type="int" name="x"/> + </qmethod> + <qmethod name="rowAt" access="public" return="int" id="0"> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="numRows" access="public" return="int" id="0"/> + <qmethod name="numCols" access="public" return="int" id="0"/> + <qmethod name="updateCell" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="eventFilter" access="public" return="bool" id="0"> + <qparam type="QObject*" name="o"/> + <qparam type="QEvent*" name="arg1"/> + </qmethod> + <qmethod name="currentRow" access="public" return="int" id="0"/> + <qmethod name="currentColumn" access="public" return="int" id="0"/> + <qmethod name="ensureCellVisible" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="isSelected" access="public" return="bool" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="isRowSelected" access="public" return="bool" id="0"> + <qparam type="int" name="row"/> + <qparam type="bool" name="full" default="FALSE"/> + </qmethod> + <qmethod name="isColumnSelected" access="public" return="bool" id="0"> + <qparam type="int" name="col"/> + <qparam type="bool" name="full" default="FALSE"/> + </qmethod> + <qmethod name="numSelections" access="public" return="int" id="0"/> + <qmethod name="selection" access="public" return="QTableSelection" id="0"> + <qparam type="int" name="num"/> + </qmethod> + <qmethod name="addSelection" access="public" return="int" id="0"> + <qparam type="QTableSelectionamp" name="s"/> + </qmethod> + <qmethod name="removeSelection" access="public" return="void" id="0"> + <qparam type="QTableSelectionamp" name="s"/> + </qmethod> + <qmethod name="removeSelection" access="public" return="void" id="1"> + <qparam type="int" name="num"/> + </qmethod> + <qmethod name="currentSelection" access="public" return="int" id="0"/> + <qmethod name="showGrid" access="public" return="bool" id="0"/> + <qmethod name="columnMovingEnabled" access="public" return="bool" id="0"/> + <qmethod name="rowMovingEnabled" access="public" return="bool" id="0"/> + <qmethod name="sortColumn" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + <qparam type="bool" name="ascending" default="TRUE"/> + <qparam type="bool" name="wholeRows" default="FALSE"/> + </qmethod> + <qmethod name="sorting" access="public" return="bool" id="0"/> + <qmethod name="takeItem" access="public" return="void" id="0"> + <qparam type="QTableItem*" name="i"/> + </qmethod> + <qmethod name="setCellWidget" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="QWidget*" name="e"/> + </qmethod> + <qmethod name="cellWidget" access="public" return="QWidget*" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="clearCellWidget" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="cellRect" access="public" return="QRect" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="paintCell" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="QRectamp" name="cr"/> + <qparam type="bool" name="selected"/> + </qmethod> + <qmethod name="paintCell" access="public" return="void" id="1"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="QRectamp" name="cr"/> + <qparam type="bool" name="selected"/> + <qparam type="QColorGroupamp" name="cg"/> + </qmethod> + <qmethod name="paintFocus" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="isReadOnly" access="public" return="bool" id="0"/> + <qmethod name="isRowReadOnly" access="public" return="bool" id="0"> + <qparam type="int" name="row"/> + </qmethod> + <qmethod name="isColumnReadOnly" access="public" return="bool" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="repaintSelections" access="public" return="void" id="0"/> + <qmethod name="setFocusStyle" access="public" return="void" id="0"> + <qparam type="FocusStyle" name="fs"/> + </qmethod> + <qmethod name="focusStyle" access="public" return="FocusStyle" id="0"/> + <qmethod name="setNumRows" access="public" return="void" id="0"> + <qparam type="int" name="r"/> + </qmethod> + <qmethod name="setNumCols" access="public" return="void" id="0"> + <qparam type="int" name="r"/> + </qmethod> + <qmethod name="setShowGrid" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="hideRow" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + </qmethod> + <qmethod name="hideColumn" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="showRow" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + </qmethod> + <qmethod name="showColumn" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="setColumnWidth" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + <qparam type="int" name="w"/> + </qmethod> + <qmethod name="setRowHeight" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="adjustColumn" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="adjustRow" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + </qmethod> + <qmethod name="setColumnStretchable" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + <qparam type="bool" name="stretch"/> + </qmethod> + <qmethod name="setRowStretchable" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="bool" name="stretch"/> + </qmethod> + <qmethod name="isColumnStretchable" access="public" return="bool" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="isRowStretchable" access="public" return="bool" id="0"> + <qparam type="int" name="row"/> + </qmethod> + <qmethod name="setSorting" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="swapRows" access="public" return="void" id="0"> + <qparam type="int" name="row1"/> + <qparam type="int" name="row2"/> + <qparam type="bool" name="swapHeader" default="FALSE"/> + </qmethod> + <qmethod name="swapColumns" access="public" return="void" id="0"> + <qparam type="int" name="col1"/> + <qparam type="int" name="col2"/> + <qparam type="bool" name="swapHeader" default="FALSE"/> + </qmethod> + <qmethod name="swapCells" access="public" return="void" id="0"> + <qparam type="int" name="row1"/> + <qparam type="int" name="col1"/> + <qparam type="int" name="row2"/> + <qparam type="int" name="col2"/> + </qmethod> + <qmethod name="setLeftMargin" access="public" return="void" id="0"> + <qparam type="int" name="m"/> + </qmethod> + <qmethod name="setTopMargin" access="public" return="void" id="0"> + <qparam type="int" name="m"/> + </qmethod> + <qmethod name="setCurrentCell" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="clearSelection" access="public" return="void" id="0"> + <qparam type="bool" name="repaint" default="TRUE"/> + </qmethod> + <qmethod name="setColumnMovingEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setRowMovingEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setReadOnly" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setRowReadOnly" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="bool" name="ro"/> + </qmethod> + <qmethod name="setColumnReadOnly" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + <qparam type="bool" name="ro"/> + </qmethod> + <qmethod name="setDragEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="dragEnabled" access="public" return="bool" id="0"/> + <qmethod name="insertRows" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="count" default="1"/> + </qmethod> + <qmethod name="insertColumns" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + <qparam type="int" name="count" default="1"/> + </qmethod> + <qmethod name="removeRow" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + </qmethod> + <qmethod name="removeColumn" access="public" return="void" id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="editCell" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="bool" name="replace" default="FALSE"/> + </qmethod> + <qmethod name="protected_drawContents" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="cx"/> + <qparam type="int" name="cy"/> + <qparam type="int" name="cw"/> + <qparam type="int" name="ch"/> + </qmethod> + <qmethod name="protected_setEditMode" access="protected" return="void" id="0"> + <qparam type="EditMode" name="mode"/> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="protected_dragObject" access="protected" return="QDragObject*" +id="0"/> + <qmethod name="protected_startDrag" access="protected" return="void" id="0"/> + <qmethod name="protected_paintEmptyArea" access="protected" return="void" +id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="cx"/> + <qparam type="int" name="cy"/> + <qparam type="int" name="cw"/> + <qparam type="int" name="ch"/> + </qmethod> + <qmethod name="protected_activateNextCell" access="protected" return="void" +id="0"/> + <qmethod name="protected_createEditor" access="protected" return="QWidget*" +id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="bool" name="initFromCell"/> + </qmethod> + <qmethod name="protected_setCellContentFromEditor" access="protected" +return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="protected_beginEdit" access="protected" return="QWidget*" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="bool" name="replace"/> + </qmethod> + <qmethod name="protected_endEdit" access="protected" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="bool" name="accept"/> + <qparam type="bool" name="replace"/> + </qmethod> + <qmethod name="protected_resizeData" access="protected" return="void" id="0"> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="protected_insertWidget" access="protected" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + <qparam type="QWidget*" name="w"/> + </qmethod> + <qmethod name="protected_indexOf" access="protected" return="int" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="protected_windowActivationChange" access="protected" +return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_isEditing" access="protected" return="bool" id="0"/> + <qmethod name="protected_editMode" access="protected" return="EditMode" id="0"/> + <qmethod name="protected_currEditRow" access="protected" return="int" id="0"/> + <qmethod name="protected_currEditCol" access="protected" return="int" id="0"/> + <qmethod name="protected_columnWidthChanged" access="protected" return="void" +id="0"> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="protected_rowHeightChanged" access="protected" return="void" +id="0"> + <qparam type="int" name="row"/> + </qmethod> + <qmethod name="protected_columnIndexChanged" access="protected" return="void" +id="0"> + <qparam type="int" name="section"/> + <qparam type="int" name="fromIndex"/> + <qparam type="int" name="toIndex"/> + </qmethod> + <qmethod name="protected_rowIndexChanged" access="protected" return="void" +id="0"> + <qparam type="int" name="section"/> + <qparam type="int" name="fromIndex"/> + <qparam type="int" name="toIndex"/> + </qmethod> + <qmethod name="protected_columnClicked" access="protected" return="void" id="0"> + <qparam type="int" name="col"/> + </qmethod> +</qtype> <qtype name="QTableItem" access="public"> + <qancestor name="Qt"/> + <qenum name="EditType" access="public"> + <qitem name="Never" value="0"/> + <qitem name="OnTyping" value="1"/> + <qitem name="WhenCurrent" value="2"/> + <qitem name="Always" value="3"/> + </qenum> + <qctor name="QTableItem" access="public" id="0"> + <qparam type="QTable*" name="table"/> + <qparam type="EditType" name="et"/> + <qparam type="QStringamp" name="text"/> + </qctor> + <qctor name="QTableItem" access="public" id="1"> + <qparam type="QTable*" name="table"/> + <qparam type="EditType" name="et"/> + <qparam type="QStringamp" name="text"/> + <qparam type="QPixmapamp" name="p"/> + </qctor> + <qdctor name="QTableItem" access="public"/> + <qmethod name="pixmap" access="public" return="QPixmap" id="0"/> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="setPixmap" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="p"/> + </qmethod> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="t"/> + </qmethod> + <qmethod name="table" access="public" return="QTable*" id="0"/> + <qmethod name="alignment" access="public" return="int" id="0"/> + <qmethod name="setWordWrap" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="wordWrap" access="public" return="bool" id="0"/> + <qmethod name="editType" access="public" return="EditType" id="0"/> + <qmethod name="createEditor" access="public" return="QWidget*" id="0"/> + <qmethod name="setContentFromEditor" access="public" return="void" id="0"> + <qparam type="QWidget*" name="w"/> + </qmethod> + <qmethod name="setReplaceable" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isReplaceable" access="public" return="bool" id="0"/> + <qmethod name="key" access="public" return="QString" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="setSpan" access="public" return="void" id="0"> + <qparam type="int" name="rs"/> + <qparam type="int" name="cs"/> + </qmethod> + <qmethod name="rowSpan" access="public" return="int" id="0"/> + <qmethod name="colSpan" access="public" return="int" id="0"/> + <qmethod name="setRow" access="public" return="void" id="0"> + <qparam type="int" name="r"/> + </qmethod> + <qmethod name="setCol" access="public" return="void" id="0"> + <qparam type="int" name="c"/> + </qmethod> + <qmethod name="row" access="public" return="int" id="0"/> + <qmethod name="col" access="public" return="int" id="0"/> + <qmethod name="paint" access="public" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="QRectamp" name="cr"/> + <qparam type="bool" name="selected"/> + </qmethod> + <qmethod name="updateEditor" access="public" return="void" id="0"> + <qparam type="int" name="oldRow"/> + <qparam type="int" name="oldCol"/> + </qmethod> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="isEnabled" access="public" return="bool" id="0"/> + <qmethod name="rtti" access="public" return="int" id="0"/> +</qtype> <qtype name="QTableSelection" access="public"> + <qctor name="QTableSelection" access="public" id="0"/> + <qmethod name="init" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="expandTo" access="public" return="void" id="0"> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="topRow" access="public" return="int" id="0"/> + <qmethod name="bottomRow" access="public" return="int" id="0"/> + <qmethod name="leftCol" access="public" return="int" id="0"/> + <qmethod name="rightCol" access="public" return="int" id="0"/> + <qmethod name="anchorRow" access="public" return="int" id="0"/> + <qmethod name="anchorCol" access="public" return="int" id="0"/> + <qmethod name="isActive" access="public" return="bool" id="0"/> +</qtype> <qtype name="QTabletEvent" access="public"> + <qancestor name="QEvent"/> + <qenum name="TabletDevice" access="public"> + <qitem name="NoDevice" value="-1"/> + <qitem name="Puck" value="1"/> + <qitem name="Stylus" value="2"/> + <qitem name="Eraser" value="3"/> + </qenum> + <qmethod name="pressure" access="public" return="int" id="0"/> + <qmethod name="xTilt" access="public" return="int" id="0"/> + <qmethod name="yTilt" access="public" return="int" id="0"/> + <qmethod name="pos" access="public" return="QPointamp" id="0"/> + <qmethod name="globalPos" access="public" return="QPointamp" id="0"/> + <qmethod name="x" access="public" return="int" id="0"/> + <qmethod name="y" access="public" return="int" id="0"/> + <qmethod name="globalX" access="public" return="int" id="0"/> + <qmethod name="globalY" access="public" return="int" id="0"/> + <qmethod name="device" access="public" return="TabletDevice" id="0"/> + <qmethod name="isAccepted" access="public" return="int" id="0"/> + <qmethod name="accept" access="public" return="void" id="0"/> + <qmethod name="ignore" access="public" return="void" id="0"/> +</qtype> <qtype name="QTextBrowser" access="public"> + <qancestor name="QTextEdit"/> + <qctor name="QTextBrowser" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QTextBrowser" access="public"/> + <qmethod name="source" access="public" return="QString" id="0"/> + <qmethod name="setSource" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="backward" access="public" return="void" id="0"/> + <qmethod name="forward" access="public" return="void" id="0"/> + <qmethod name="home" access="public" return="void" id="0"/> + <qmethod name="reload" access="public" return="void" id="0"/> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="txt"/> + </qmethod> + <qmethod name="setText" access="public" return="void" id="1"> + <qparam type="QStringamp" name="txt"/> + <qparam type="QStringamp" name="context"/> + </qmethod> +</qtype> <qtype name="QTextCodec" access="public"> + <qdctor name="QTextCodec" access="public"/> + <qmethod name="name" access="public" return="char*" id="0"/> + <qmethod name="mimeName" access="public" return="char*" id="0"/> + <qmethod name="mibEnum" access="public" return="int" id="0"/> + <qmethod name="makeDecoder" access="public" return="QTextDecoder*" id="0"/> + <qmethod name="makeEncoder" access="public" return="QTextEncoder*" id="0"/> + <qmethod name="toUnicode" access="public" return="QString" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="fromUnicode" access="public" return="QCString" id="0"> + <qparam type="QStringamp" name="uc"/> + <qparam type="intamp" name="lenInOut"/> + </qmethod> + <qmethod name="fromUnicode" access="public" return="QCString" id="1"> + <qparam type="QStringamp" name="uc"/> + </qmethod> + <qmethod name="toUnicode" access="public" return="QString" id="1"> + <qparam type="QByteArrayamp" name="arg1"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="toUnicode" access="public" return="QString" id="2"> + <qparam type="QByteArrayamp" name="arg1"/> + </qmethod> + <qmethod name="toUnicode" access="public" return="QString" id="3"> + <qparam type="QCStringamp" name="arg1"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="toUnicode" access="public" return="QString" id="4"> + <qparam type="QCStringamp" name="arg1"/> + </qmethod> + <qmethod name="toUnicode" access="public" return="QString" id="5"> + <qparam type="char*" name="chars"/> + </qmethod> + <qmethod name="canEncode" access="public" return="bool" id="0"> + <qparam type="QChar" name="arg1"/> + </qmethod> + <qmethod name="canEncode" access="public" return="bool" id="1"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="heuristicContentMatch" access="public" return="int" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicNameMatch" access="public" return="int" id="0"> + <qparam type="char*" name="hint"/> + </qmethod> + <qmethod name="fromUnicode" access="public" return="QByteArray" id="2"> + <qparam type="QStringamp" name="uc"/> + <qparam type="int" name="from"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="characterFromUnicode" access="public" return="unsigned short" +id="0"> + <qparam type="QStringamp" name="str"/> + <qparam type="int" name="pos"/> + </qmethod> + <qmethod name="loadCharmap" access="public static" return="QTextCodec*" id="0"> + <qparam type="QIODevice*" name="arg1"/> + </qmethod> + <qmethod name="loadCharmapFile" access="public static" return="QTextCodec*" +id="0"> + <qparam type="QString" name="filename"/> + </qmethod> + <qmethod name="codecForMib" access="public static" return="QTextCodec*" id="0"> + <qparam type="int" name="mib"/> + </qmethod> + <qmethod name="codecForName" access="public static" return="QTextCodec*" id="0"> + <qparam type="char*" name="hint"/> + <qparam type="int" name="accuracy" default="0"/> + </qmethod> + <qmethod name="codecForContent" access="public static" return="QTextCodec*" +id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="codecForIndex" access="public static" return="QTextCodec*" +id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="codecForLocale" access="public static" return="QTextCodec*" +id="0"/> + <qmethod name="setCodecForLocale" access="public static" return="void" id="0"> + <qparam type="QTextCodec*" name="c"/> + </qmethod> + <qmethod name="deleteAllCodecs" access="public static" return="void" id="0"/> + <qmethod name="locale" access="public static" return="char*" id="0"/> +</qtype> <qtype name="QTextCodecFactory" access="public"> + <qmethod name="createForName" access="public static" return="QTextCodec*" +id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="createForMib" access="public static" return="QTextCodec*" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> +</qtype> <qtype name="QTextCodecPlugin" access="public"> + <qancestor name="QGPlugin"/> + <qdctor name="QTextCodecPlugin" access="public"/> + <qmethod name="names" access="public" return="QStringList" id="0"/> + <qmethod name="createForName" access="public" return="QTextCodec*" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="createForMib" access="public" return="QTextCodec*" id="0"> + <qparam type="int" name="mib"/> + </qmethod> +</qtype> <qtype name="QTextDecoder" access="public"> + <qdctor name="QTextDecoder" access="public"/> + <qmethod name="toUnicode" access="public" return="QString" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> +</qtype> <qtype name="QTextDrag" access="public"> + <qancestor name="QDragObject"/> + <qctor name="QTextDrag" access="public" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QWidget*" name="dragSource" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QTextDrag" access="public" id="1"> + <qparam type="QWidget*" name="dragSource" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QTextDrag" access="public"/> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setSubtype" access="public" return="void" id="0"> + <qparam type="QCStringamp" name="arg1"/> + </qmethod> + <qmethod name="format" access="public" return="char*" id="0"> + <qparam type="int" name="i"/> + </qmethod> + <qmethod name="encodedData" access="public" return="QByteArray" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="canDecode" access="public static" return="bool" id="0"> + <qparam type="QMimeSource*" name="e"/> + </qmethod> + <qmethod name="decode" access="public static" return="bool" id="0"> + <qparam type="QMimeSource*" name="e"/> + <qparam type="QStringamp" name="s"/> + </qmethod> + <qmethod name="decode" access="public static" return="bool" id="1"> + <qparam type="QMimeSource*" name="e"/> + <qparam type="QStringamp" name="s"/> + <qparam type="QCStringamp" name="subtype"/> + </qmethod> +</qtype> <qtype name="QTextEdit" access="public"> + <qancestor name="QScrollView"/> + <qenum name="WordWrap" access="public"> + <qitem name="NoWrap" value="0"/> + <qitem name="WidgetWidth" value="1"/> + <qitem name="FixedPixelWidth" value="2"/> + <qitem name="FixedColumnWidth" value="3"/> + </qenum> + <qenum name="WrapPolicy" access="public"> + <qitem name="AtWordBoundary" value="0"/> + <qitem name="Anywhere" value="1"/> + <qitem name="AtWhiteSpace" value="AtWordBoundary"/> + </qenum> + <qenum name="KeyboardAction" access="public"> + <qitem name="ActionBackspace" value="0"/> + <qitem name="ActionDelete" value="1"/> + <qitem name="ActionReturn" value="2"/> + <qitem name="ActionKill" value="3"/> + </qenum> + <qenum name="CursorAction" access="public"> + <qitem name="MoveBackward" value="0"/> + <qitem name="MoveForward" value="1"/> + <qitem name="MoveWordBackward" value="2"/> + <qitem name="MoveWordForward" value="3"/> + <qitem name="MoveUp" value="4"/> + <qitem name="MoveDown" value="5"/> + <qitem name="MoveLineStart" value="6"/> + <qitem name="MoveLineEnd" value="7"/> + <qitem name="MoveHome" value="8"/> + <qitem name="MoveEnd" value="9"/> + <qitem name="MovePgUp" value="10"/> + <qitem name="MovePgDown" value="11"/> + </qenum> + <qenum name="VerticalAlignment" access="public"> + <qitem name="AlignNormal" value="0"/> + <qitem name="AlignSuperScript" value="1"/> + <qitem name="AlignSubScript" value="2"/> + </qenum> + <qctor name="QTextEdit" access="public" id="0"> + <qparam type="QStringamp" name="text"/> + <qparam type="QStringamp" name="context" default="QString::null"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QTextEdit" access="public" id="1"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QTextEdit" access="public"/> + <qmethod name="setPalette" access="public" return="void" id="0"> + <qparam type="QPaletteamp" name="arg1"/> + </qmethod> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="text" access="public" return="QString" id="1"> + <qparam type="int" name="para"/> + </qmethod> + <qmethod name="textFormat" access="public" return="TextFormat" id="0"/> + <qmethod name="context" access="public" return="QString" id="0"/> + <qmethod name="documentTitle" access="public" return="QString" id="0"/> + <qmethod name="getSelection" access="public" return="void" id="0"> + <qparam type="int*" name="paraFrom"/> + <qparam type="int*" name="indexFrom"/> + <qparam type="int*" name="paraTo"/> + <qparam type="int*" name="indexTo"/> + <qparam type="int" name="selNum" default="0"/> + </qmethod> + <qmethod name="find" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="expr"/> + <qparam type="bool" name="cs"/> + <qparam type="bool" name="wo"/> + <qparam type="bool" name="forward" default="TRUE"/> + <qparam type="int*" name="para" default="0"/> + <qparam type="int*" name="index" default="0"/> + </qmethod> + <qmethod name="paragraphs" access="public" return="int" id="0"/> + <qmethod name="lines" access="public" return="int" id="0"/> + <qmethod name="linesOfParagraph" access="public" return="int" id="0"> + <qparam type="int" name="para"/> + </qmethod> + <qmethod name="lineOfChar" access="public" return="int" id="0"> + <qparam type="int" name="para"/> + <qparam type="int" name="chr"/> + </qmethod> + <qmethod name="length" access="public" return="int" id="0"/> + <qmethod name="paragraphRect" access="public" return="QRect" id="0"> + <qparam type="int" name="para"/> + </qmethod> + <qmethod name="paragraphAt" access="public" return="int" id="0"> + <qparam type="QPointamp" name="pos"/> + </qmethod> + <qmethod name="charAt" access="public" return="int" id="0"> + <qparam type="QPointamp" name="pos"/> + <qparam type="int*" name="para"/> + </qmethod> + <qmethod name="paragraphLength" access="public" return="int" id="0"> + <qparam type="int" name="para"/> + </qmethod> + <qmethod name="styleSheet" access="public" return="QStyleSheet*" id="0"/> + <qmethod name="mimeSourceFactory" access="public" return="QMimeSourceFactory*" +id="0"/> + <qmethod name="paper" access="public" return="QBrush" id="0"/> + <qmethod name="linkUnderline" access="public" return="bool" id="0"/> + <qmethod name="heightForWidth" access="public" return="int" id="0"> + <qparam type="int" name="w"/> + </qmethod> + <qmethod name="hasSelectedText" access="public" return="bool" id="0"/> + <qmethod name="selectedText" access="public" return="QString" id="0"/> + <qmethod name="isUndoAvailable" access="public" return="bool" id="0"/> + <qmethod name="isRedoAvailable" access="public" return="bool" id="0"/> + <qmethod name="wordWrap" access="public" return="WordWrap" id="0"/> + <qmethod name="wrapColumnOrWidth" access="public" return="int" id="0"/> + <qmethod name="wrapPolicy" access="public" return="WrapPolicy" id="0"/> + <qmethod name="tabStopWidth" access="public" return="int" id="0"/> + <qmethod name="anchorAt" access="public" return="QString" id="0"> + <qparam type="QPointamp" name="pos"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="isReadOnly" access="public" return="bool" id="0"/> + <qmethod name="getCursorPosition" access="public" return="void" id="0"> + <qparam type="int*" name="parag"/> + <qparam type="int*" name="index"/> + </qmethod> + <qmethod name="isModified" access="public" return="bool" id="0"/> + <qmethod name="italic" access="public" return="bool" id="0"/> + <qmethod name="bold" access="public" return="bool" id="0"/> + <qmethod name="underline" access="public" return="bool" id="0"/> + <qmethod name="family" access="public" return="QString" id="0"/> + <qmethod name="pointSize" access="public" return="int" id="0"/> + <qmethod name="color" access="public" return="QColor" id="0"/> + <qmethod name="font" access="public" return="QFont" id="0"/> + <qmethod name="alignment" access="public" return="int" id="0"/> + <qmethod name="undoDepth" access="public" return="int" id="0"/> + <qmethod name="getFormat" access="public" return="bool" id="0"> + <qparam type="int" name="para"/> + <qparam type="int" name="index"/> + <qparam type="QFont*" name="font"/> + <qparam type="QColor*" name="color"/> + <qparam type="VerticalAlignment*" name="verticalAlignment"/> + </qmethod> + <qmethod name="getParagraphFormat" access="public" return="bool" id="0"> + <qparam type="int" name="para"/> + <qparam type="QFont*" name="font"/> + <qparam type="QColor*" name="color"/> + <qparam type="VerticalAlignment*" name="verticalAlignment"/> + <qparam type="int*" name="alignment"/> + <qparam type="QStyleSheetItem::DisplayMode*" name="displayMode"/> + <qparam type="QStyleSheetItem::ListStyle*" name="listStyle"/> + <qparam type="int*" name="listDepth"/> + </qmethod> + <qmethod name="isOverwriteMode" access="public" return="bool" id="0"/> + <qmethod name="paragraphBackgroundColor" access="public" return="QColor" id="0"> + <qparam type="int" name="para"/> + </qmethod> + <qmethod name="isUndoRedoEnabled" access="public" return="bool" id="0"/> + <qmethod name="eventFilter" access="public" return="bool" id="0"> + <qparam type="QObject*" name="o"/> + <qparam type="QEvent*" name="e"/> + </qmethod> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setMimeSourceFactory" access="public" return="void" id="0"> + <qparam type="QMimeSourceFactory*" name="factory"/> + </qmethod> + <qmethod name="setStyleSheet" access="public" return="void" id="0"> + <qparam type="QStyleSheet*" name="styleSheet"/> + </qmethod> + <qmethod name="scrollToAnchor" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="setPaper" access="public" return="void" id="0"> + <qparam type="QBrushamp" name="pap"/> + </qmethod> + <qmethod name="setLinkUnderline" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setWordWrap" access="public" return="void" id="0"> + <qparam type="WordWrap" name="mode"/> + </qmethod> + <qmethod name="setWrapColumnOrWidth" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="setWrapPolicy" access="public" return="void" id="0"> + <qparam type="WrapPolicy" name="policy"/> + </qmethod> + <qmethod name="copy" access="public" return="void" id="0"/> + <qmethod name="append" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + </qmethod> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="txt"/> + </qmethod> + <qmethod name="setText" access="public" return="void" id="1"> + <qparam type="QStringamp" name="txt"/> + <qparam type="QStringamp" name="context"/> + </qmethod> + <qmethod name="setTextFormat" access="public" return="void" id="0"> + <qparam type="TextFormat" name="f"/> + </qmethod> + <qmethod name="selectAll" access="public" return="void" id="0"> + <qparam type="bool" name="select" default="TRUE"/> + </qmethod> + <qmethod name="setTabStopWidth" access="public" return="void" id="0"> + <qparam type="int" name="ts"/> + </qmethod> + <qmethod name="zoomIn" access="public" return="void" id="0"> + <qparam type="int" name="range"/> + </qmethod> + <qmethod name="zoomIn" access="public" return="void" id="1"/> + <qmethod name="zoomOut" access="public" return="void" id="0"> + <qparam type="int" name="range"/> + </qmethod> + <qmethod name="zoomOut" access="public" return="void" id="1"/> + <qmethod name="zoomTo" access="public" return="void" id="0"> + <qparam type="int" name="size"/> + </qmethod> + <qmethod name="sync" access="public" return="void" id="0"/> + <qmethod name="setReadOnly" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="undo" access="public" return="void" id="0"/> + <qmethod name="redo" access="public" return="void" id="0"/> + <qmethod name="cut" access="public" return="void" id="0"/> + <qmethod name="paste" access="public" return="void" id="0"/> + <qmethod name="pasteSubType" access="public" return="void" id="0"> + <qparam type="QCStringamp" name="subtype"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="del" access="public" return="void" id="0"/> + <qmethod name="indent" access="public" return="void" id="0"/> + <qmethod name="setItalic" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setBold" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setUnderline" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setFamily" access="public" return="void" id="0"> + <qparam type="QStringamp" name="f"/> + </qmethod> + <qmethod name="setPointSize" access="public" return="void" id="0"> + <qparam type="int" name="s"/> + </qmethod> + <qmethod name="setColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="c"/> + </qmethod> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="f"/> + </qmethod> + <qmethod name="setVerticalAlignment" access="public" return="void" id="0"> + <qparam type="VerticalAlignment" name="a"/> + </qmethod> + <qmethod name="setAlignment" access="public" return="void" id="0"> + <qparam type="int" name="a"/> + </qmethod> + <qmethod name="setParagType" access="public" return="void" id="0"> + <qparam type="QStyleSheetItem::DisplayMode" name="dm"/> + <qparam type="QStyleSheetItem::ListStyle" name="listStyle"/> + </qmethod> + <qmethod name="setCursorPosition" access="public" return="void" id="0"> + <qparam type="int" name="parag"/> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="setSelection" access="public" return="void" id="0"> + <qparam type="int" name="parag_from"/> + <qparam type="int" name="index_from"/> + <qparam type="int" name="parag_to"/> + <qparam type="int" name="index_to"/> + <qparam type="int" name="selNum" default="0"/> + </qmethod> + <qmethod name="setSelectionAttributes" access="public" return="void" id="0"> + <qparam type="int" name="selNum"/> + <qparam type="QColoramp" name="back"/> + <qparam type="bool" name="invertText"/> + </qmethod> + <qmethod name="setModified" access="public" return="void" id="0"> + <qparam type="bool" name="m"/> + </qmethod> + <qmethod name="resetFormat" access="public" return="void" id="0"/> + <qmethod name="setUndoDepth" access="public" return="void" id="0"> + <qparam type="int" name="d"/> + </qmethod> + <qmethod name="setFormat" access="public" return="void" id="0"> + <qparam type="QTextFormat*" name="f"/> + <qparam type="int" name="flags"/> + </qmethod> + <qmethod name="ensureCursorVisible" access="public" return="void" id="0"/> + <qmethod name="placeCursor" access="public" return="void" id="0"> + <qparam type="QPointamp" name="pos"/> + <qparam type="QTextCursor*" name="c" default="0"/> + </qmethod> + <qmethod name="moveCursor" access="public" return="void" id="0"> + <qparam type="CursorAction" name="action"/> + <qparam type="bool" name="select"/> + </qmethod> + <qmethod name="doKeyboardAction" access="public" return="void" id="0"> + <qparam type="KeyboardAction" name="action"/> + </qmethod> + <qmethod name="removeSelectedText" access="public" return="void" id="0"> + <qparam type="int" name="selNum" default="0"/> + </qmethod> + <qmethod name="removeSelection" access="public" return="void" id="0"> + <qparam type="int" name="selNum" default="0"/> + </qmethod> + <qmethod name="setCurrentFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="f"/> + </qmethod> + <qmethod name="setOverwriteMode" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="scrollToBottom" access="public" return="void" id="0"/> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + <qparam type="bool" name="indent" default="FALSE"/> + <qparam type="bool" name="checkNewLine" default="TRUE"/> + <qparam type="bool" name="removeSelected" default="TRUE"/> + </qmethod> + <qmethod name="insertAt" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="para"/> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="removeParagraph" access="public" return="void" id="0"> + <qparam type="int" name="para"/> + </qmethod> + <qmethod name="insertParagraph" access="public" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + <qparam type="int" name="para"/> + </qmethod> + <qmethod name="setParagraphBackgroundColor" access="public" return="void" +id="0"> + <qparam type="int" name="para"/> + <qparam type="QColoramp" name="bg"/> + </qmethod> + <qmethod name="clearParagraphBackground" access="public" return="void" id="0"> + <qparam type="int" name="para"/> + </qmethod> + <qmethod name="setUndoRedoEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="protected_repaintChanged" access="protected" return="void" +id="0"/> + <qmethod name="protected_updateStyles" access="protected" return="void" id="0"/> + <qmethod name="protected_drawContents" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="p"/> + <qparam type="int" name="cx"/> + <qparam type="int" name="cy"/> + <qparam type="int" name="cw"/> + <qparam type="int" name="ch"/> + </qmethod> + <qmethod name="protected_event" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="e"/> + </qmethod> + <qmethod name="protected_focusNextPrevChild" access="protected" return="bool" +id="0"> + <qparam type="bool" name="next"/> + </qmethod> + <qmethod name="protected_document" access="protected" return="QTextDocument*" +id="0"/> + <qmethod name="protected_textCursor" access="protected" return="QTextCursor*" +id="0"/> + <qmethod name="protected_setDocument" access="protected" return="void" id="0"> + <qparam type="QTextDocument*" name="doc"/> + </qmethod> + <qmethod name="protected_createPopupMenu" access="protected" +return="QPopupMenu*" id="0"> + <qparam type="QPointamp" name="pos"/> + </qmethod> + <qmethod name="protected_createPopupMenu" access="protected" +return="QPopupMenu*" id="1"/> + <qmethod name="protected_drawCursor" access="protected" return="void" id="0"> + <qparam type="bool" name="visible"/> + </qmethod> + <qmethod name="protected_windowActivationChange" access="protected" +return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_doChangeInterval" access="protected" return="void" +id="0"/> +</qtype> <qtype name="QTextEncoder" access="public"> + <qdctor name="QTextEncoder" access="public"/> + <qmethod name="fromUnicode" access="public" return="QCString" id="0"> + <qparam type="QStringamp" name="uc"/> + <qparam type="intamp" name="lenInOut"/> + </qmethod> +</qtype> <qtype name="QTextIStream" access="public"> + <qancestor name="QTextStream"/> + <qctor name="QTextIStream" access="public" id="0"> + <qparam type="QString*" name="s"/> + </qctor> + <qctor name="QTextIStream" access="public" id="1"> + <qparam type="QByteArray" name="ba"/> + </qctor> + <qctor name="QTextIStream" access="public" id="2"> + <qparam type="FILE*" name="f"/> + </qctor> +</qtype> <qtype name="QTextOStream" access="public"> + <qancestor name="QTextStream"/> + <qctor name="QTextOStream" access="public" id="0"> + <qparam type="QString*" name="s"/> + </qctor> + <qctor name="QTextOStream" access="public" id="1"> + <qparam type="QByteArray" name="ba"/> + </qctor> + <qctor name="QTextOStream" access="public" id="2"> + <qparam type="FILE*" name="f"/> + </qctor> +</qtype> <qtype name="QTextOStreamIterator" access="public"> + <qctor name="QTextOStreamIterator" access="public" id="0"> + <qparam type="QTextOStreamamp" name="s"/> + </qctor> + <qctor name="QTextOStreamIterator" access="public" id="1"> + <qparam type="QTextOStreamamp" name="s"/> + <qparam type="QStringamp" name="sep"/> + </qctor> +</qtype> <qtype name="QTextStream" access="public"> + <qenum name="Encoding" access="public"> + <qitem name="Locale" value="0"/> + <qitem name="Latin1" value="1"/> + <qitem name="Unicode" value="2"/> + <qitem name="UnicodeNetworkOrder" value="3"/> + <qitem name="UnicodeReverse" value="4"/> + <qitem name="RawUnicode" value="5"/> + <qitem name="UnicodeUTF8" value="6"/> + </qenum> + <qenum name="Flags" access="public"> + <qitem name="skipws" value="1"/> + <qitem name="left" value="2"/> + <qitem name="right" value="4"/> + <qitem name="res_internal" value="8"/> + <qitem name="bin" value="16"/> + <qitem name="oct" value="32"/> + <qitem name="dec" value="64"/> + <qitem name="hex" value="128"/> + <qitem name="showbase" value="256"/> + <qitem name="showpoint" value="512"/> + <qitem name="uppercase" value="1024"/> + <qitem name="showpos" value="2048"/> + <qitem name="scientific" value="4096"/> + <qitem name="res_fixed" value="8192"/> + </qenum> + <qmethod name="setEncoding" access="public" return="void" id="0"> + <qparam type="Encoding" name="arg1"/> + </qmethod> + <qmethod name="setCodec" access="public" return="void" id="0"> + <qparam type="QTextCodec*" name="arg1"/> + </qmethod> + <qctor name="QTextStream" access="public" id="0"/> + <qctor name="QTextStream" access="public" id="1"> + <qparam type="QIODevice*" name="arg1"/> + </qctor> + <qctor name="QTextStream" access="public" id="2"> + <qparam type="QString*" name="arg1"/> + <qparam type="int" name="mode"/> + </qctor> + <qctor name="QTextStream" access="public" id="3"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="int" name="mode"/> + </qctor> + <qctor name="QTextStream" access="public" id="4"> + <qparam type="QByteArray" name="arg1"/> + <qparam type="int" name="mode"/> + </qctor> + <qctor name="QTextStream" access="public" id="5"> + <qparam type="FILE*" name="arg1"/> + <qparam type="int" name="mode"/> + </qctor> + <qdctor name="QTextStream" access="public"/> + <qmethod name="device" access="public" return="QIODevice*" id="0"/> + <qmethod name="setDevice" access="public" return="void" id="0"> + <qparam type="QIODevice*" name="arg1"/> + </qmethod> + <qmethod name="unsetDevice" access="public" return="void" id="0"/> + <qmethod name="atEnd" access="public" return="bool" id="0"/> + <qmethod name="eof" access="public" return="bool" id="0"/> + <qmethod name="readRawBytes" access="public" return="QTextStreamamp" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="writeRawBytes" access="public" return="QTextStreamamp" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="uint" name="len"/> + </qmethod> + <qmethod name="readLine" access="public" return="QString" id="0"/> + <qmethod name="read" access="public" return="QString" id="0"/> + <qmethod name="skipWhiteSpace" access="public" return="void" id="0"/> + <qmethod name="flags" access="public" return="Flags" id="0"/> + <qmethod name="flags" access="public" return="Flags" id="1"> + <qparam type="Flags" name="f"/> + </qmethod> + <qmethod name="setf" access="public" return="Flags" id="0"> + <qparam type="Flags" name="bits"/> + </qmethod> + <qmethod name="setf" access="public" return="Flags" id="1"> + <qparam type="Flags" name="bits"/> + <qparam type="int" name="mask"/> + </qmethod> + <qmethod name="unsetf" access="public" return="Flags" id="0"> + <qparam type="Flags" name="bits"/> + </qmethod> + <qmethod name="reset" access="public" return="void" id="0"/> + <qmethod name="width" access="public" return="int" id="0"/> + <qmethod name="width" access="public" return="int" id="1"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="fill" access="public" return="int" id="0"/> + <qmethod name="fill" access="public" return="int" id="1"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="precision" access="public" return="int" id="0"/> + <qmethod name="precision" access="public" return="int" id="1"> + <qparam type="int" name="arg1"/> + </qmethod> +</qtype> <qtype name="QTextView" access="public"> + <qancestor name="QTextEdit"/> +</qtype> <qtype name="QThread" access="public"> + <qancestor name="Qt"/> + <qdctor name="QThread" access="public"/> + <qmethod name="wait" access="public" return="bool" id="0"> + <qparam type="unsigned long" name="time" default="UInt64.MaxValue"/> + </qmethod> + <qmethod name="start" access="public" return="void" id="0"/> + <qmethod name="finished" access="public" return="bool" id="0"/> + <qmethod name="running" access="public" return="bool" id="0"/> + <qmethod name="currentThread" access="public static" return="Qt::HANDLE" +id="0"/> + <qmethod name="initialize" access="public static" return="void" id="0"/> + <qmethod name="cleanup" access="public static" return="void" id="0"/> + <qmethod name="exit" access="public static" return="void" id="0"/> +</qtype> <qtype name="QTime" access="public"> + <qctor name="QTime" access="public" id="0"/> + <qctor name="QTime" access="public" id="1"> + <qparam type="int" name="h"/> + <qparam type="int" name="m"/> + <qparam type="int" name="s" default="0"/> + <qparam type="int" name="ms" default="0"/> + </qctor> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="hour" access="public" return="int" id="0"/> + <qmethod name="minute" access="public" return="int" id="0"/> + <qmethod name="second" access="public" return="int" id="0"/> + <qmethod name="msec" access="public" return="int" id="0"/> + <qmethod name="toString" access="public" return="QString" id="0"> + <qparam type="Qt::DateFormat" name="f" default="Qt::TextDate"/> + </qmethod> + <qmethod name="toString" access="public" return="QString" id="1"> + <qparam type="QStringamp" name="format"/> + </qmethod> + <qmethod name="setHMS" access="public" return="bool" id="0"> + <qparam type="int" name="h"/> + <qparam type="int" name="m"/> + <qparam type="int" name="s"/> + <qparam type="int" name="ms" default="0"/> + </qmethod> + <qmethod name="addSecs" access="public" return="QTime" id="0"> + <qparam type="int" name="secs"/> + </qmethod> + <qmethod name="secsTo" access="public" return="int" id="0"> + <qparam type="QTimeamp" name="arg1"/> + </qmethod> + <qmethod name="addMSecs" access="public" return="QTime" id="0"> + <qparam type="int" name="ms"/> + </qmethod> + <qmethod name="msecsTo" access="public" return="int" id="0"> + <qparam type="QTimeamp" name="arg1"/> + </qmethod> + <qmethod name="start" access="public" return="void" id="0"/> + <qmethod name="restart" access="public" return="int" id="0"/> + <qmethod name="elapsed" access="public" return="int" id="0"/> + <qmethod name="currentTime" access="public static" return="QTime" id="0"/> + <qmethod name="fromString" access="public static" return="QTime" id="0"> + <qparam type="QStringamp" name="s"/> + <qparam type="Qt::DateFormat" name="f" default="Qt::TextDate"/> + </qmethod> + <qmethod name="isValid" access="public static" return="bool" id="1"> + <qparam type="int" name="h"/> + <qparam type="int" name="m"/> + <qparam type="int" name="s"/> + <qparam type="int" name="ms" default="0"/> + </qmethod> +</qtype> <qtype name="QTimeEdit" access="public"> + <qancestor name="QDateTimeEditBase"/> + <qctor name="QTimeEdit" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QTimeEdit" access="public" id="1"> + <qparam type="QTimeamp" name="time"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QTimeEdit" access="public"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="setTime" access="public" return="void" id="0"> + <qparam type="QTimeamp" name="time"/> + </qmethod> + <qmethod name="time" access="public" return="QTime" id="0"/> + <qmethod name="setAutoAdvance" access="public" return="void" id="0"> + <qparam type="bool" name="advance"/> + </qmethod> + <qmethod name="autoAdvance" access="public" return="bool" id="0"/> + <qmethod name="setMinValue" access="public" return="void" id="0"> + <qparam type="QTimeamp" name="d"/> + </qmethod> + <qmethod name="minValue" access="public" return="QTime" id="0"/> + <qmethod name="setMaxValue" access="public" return="void" id="0"> + <qparam type="QTimeamp" name="d"/> + </qmethod> + <qmethod name="maxValue" access="public" return="QTime" id="0"/> + <qmethod name="setRange" access="public" return="void" id="0"> + <qparam type="QTimeamp" name="min"/> + <qparam type="QTimeamp" name="max"/> + </qmethod> + <qmethod name="separator" access="public" return="QString" id="0"/> + <qmethod name="setSeparator" access="public" return="void" id="0"> + <qparam type="QStringamp" name="s"/> + </qmethod> + <qmethod name="protected_event" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="e"/> + </qmethod> + <qmethod name="protected_stepUp" access="protected" return="void" id="0"/> + <qmethod name="protected_stepDown" access="protected" return="void" id="0"/> + <qmethod name="protected_sectionFormattedText" access="protected" +return="QString" id="0"> + <qparam type="int" name="sec"/> + </qmethod> + <qmethod name="protected_addNumber" access="protected" return="void" id="0"> + <qparam type="int" name="sec"/> + <qparam type="int" name="num"/> + </qmethod> + <qmethod name="protected_removeLastNumber" access="protected" return="void" +id="0"> + <qparam type="int" name="sec"/> + </qmethod> + <qmethod name="protected_setFocusSection" access="protected" return="bool" +id="0"> + <qparam type="int" name="s"/> + </qmethod> + <qmethod name="protected_outOfRange" access="protected" return="bool" id="0"> + <qparam type="int" name="h"/> + <qparam type="int" name="m"/> + <qparam type="int" name="s"/> + </qmethod> + <qmethod name="protected_setHour" access="protected" return="void" id="0"> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="protected_setMinute" access="protected" return="void" id="0"> + <qparam type="int" name="m"/> + </qmethod> + <qmethod name="protected_setSecond" access="protected" return="void" id="0"> + <qparam type="int" name="s"/> + </qmethod> + <qmethod name="protected_updateButtons" access="protected" return="void" +id="0"/> +</qtype> <qtype name="QTimer" access="public"> + <qancestor name="QObject"/> + <qctor name="QTimer" access="public" id="0"> + <qparam type="QObject*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QTimer" access="public"/> + <qmethod name="isActive" access="public" return="bool" id="0"/> + <qmethod name="start" access="public" return="int" id="0"> + <qparam type="int" name="msec"/> + <qparam type="bool" name="sshot" default="FALSE"/> + </qmethod> + <qmethod name="changeInterval" access="public" return="void" id="0"> + <qparam type="int" name="msec"/> + </qmethod> + <qmethod name="stop" access="public" return="void" id="0"/> + <qmethod name="singleShot" access="public static" return="void" id="0"> + <qparam type="int" name="msec"/> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="member"/> + </qmethod> + <qmethod name="protected_event" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="arg1"/> + </qmethod> +</qtype> <qtype name="QTimerEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QTimerEvent" access="public" id="0"> + <qparam type="int" name="timerId"/> + </qctor> + <qmethod name="timerId" access="public" return="int" id="0"/> +</qtype> <qtype name="QToolBar" access="public"> + <qancestor name="QDockWindow"/> + <qctor name="QToolBar" access="public" id="1"> + <qparam type="QStringamp" name="label"/> + <qparam type="QMainWindow*" name="arg1"/> + <qparam type="QWidget*" name="arg2"/> + <qparam type="bool" name="newLine" default="FALSE"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qctor name="QToolBar" access="public" id="2"> + <qparam type="QMainWindow*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QToolBar" access="public"/> + <qmethod name="addSeparator" access="public" return="void" id="0"/> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="hide" access="public" return="void" id="0"/> + <qmethod name="mainWindow" access="public" return="QMainWindow*" id="0"/> + <qmethod name="setStretchableWidget" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="event" access="public" return="bool" id="0"> + <qparam type="QEvent*" name="e"/> + </qmethod> + <qmethod name="setLabel" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="label" access="public" return="QString" id="0"/> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="minimumSize" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="setOrientation" access="public" return="void" id="0"> + <qparam type="Orientation" name="o"/> + </qmethod> + <qmethod name="setMinimumSize" access="public" return="void" id="0"> + <qparam type="int" name="minw"/> + <qparam type="int" name="minh"/> + </qmethod> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QToolButton" access="public"> + <qancestor name="QButton"/> + <qctor name="QToolButton" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QToolButton" access="public" id="1"> + <qparam type="QIconSetamp" name="iconSet"/> + <qparam type="QStringamp" name="textLabel"/> + <qparam type="QStringamp" name="groupText"/> + <qparam type="QObject*" name="receiver"/> + <qparam type="char*" name="slot"/> + <qparam type="QToolBar*" name="parent"/> + <qparam type="char*" name="name"/> + </qctor> + <qctor name="QToolButton" access="public" id="2"> + <qparam type="ArrowType" name="type"/> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name"/> + </qctor> + <qmethod name="setUsesBigPixmap" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="setUsesTextLabel" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="setTextLabel" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="setToggleButton" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="setOn" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="toggle" access="public" return="void" id="0"/> + <qmethod name="setTextLabel" access="public" return="void" id="1"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> +<qmethod name="setIconSet" access="public" return="void" id="0"> + <qparam type="QIconSetamp" name="set"/> + </qmethod> + <qmethod name="setIconSet" access="public" return="void" id="1"> + <qparam type="QIconSetamp" name="set"/> + <qparam type="bool" name="on"/> + </qmethod> + <qmethod name="iconSet" access="public" return="QIconSet" id="0"> + <qparam type="bool" name="on"/> + </qmethod> + <qmethod name="setPopupDelay" access="public" return="void" id="0"> + <qparam type="int" name="delay"/> + </qmethod> + <qmethod name="popupDelay" access="public" return="int" id="0"/> + <qmethod name="openPopup" access="public" return="void" id="0"/> + <qmethod name="setAutoRaise" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="autoRaise" access="public" return="bool" id="0"/> + <qmethod name="protected_drawButtonLabel" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + </qmethod> + <qmethod name="protected_uses3D" access="protected" return="bool" id="0"/> + <qmethod name="protected_eventFilter" access="protected" return="bool" id="0"> + <qparam type="QObject*" name="o"/> + <qparam type="QEvent*" name="e"/> + </qmethod> + <qmethod name="protected_paletteChange" access="protected" return="void" id="0"> + <qparam type="QPaletteamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QToolTip" access="public"> + <qancestor name="Qt"/> + <qmethod name="parentWidget" access="public" return="QWidget*" id="0"/> + <qmethod name="group" access="public" return="QToolTipGroup*" id="0"/> + <qmethod name="add" access="public static" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="add" access="public static" return="void" id="1"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="QToolTipGroup*" name="arg3"/> + <qparam type="QStringamp" name="arg4"/> + </qmethod> + <qmethod name="remove" access="public static" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="add" access="public static" return="void" id="2"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QRectamp" name="arg2"/> + <qparam type="QStringamp" name="arg3"/> + </qmethod> + <qmethod name="add" access="public static" return="void" id="3"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QRectamp" name="arg2"/> + <qparam type="QStringamp" name="arg3"/> + <qparam type="QToolTipGroup*" name="arg4"/> + <qparam type="QStringamp" name="arg5"/> + </qmethod> + <qmethod name="remove" access="public static" return="void" id="1"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QRectamp" name="arg2"/> + </qmethod> + <qmethod name="textFor" access="public static" return="QString" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QPointamp" name="pos" default="QPoint()"/> + </qmethod> + <qmethod name="hide" access="public static" return="void" id="0"/> + <qmethod name="font" access="public static" return="QFont" id="0"/> + <qmethod name="setFont" access="public static" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="palette" access="public static" return="QPalette" id="0"/> + <qmethod name="setPalette" access="public static" return="void" id="0"> + <qparam type="QPaletteamp" name="arg1"/> + </qmethod> + <qmethod name="setEnabled" access="public static" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="enabled" access="public static" return="bool" id="0"/> + <qmethod name="setGloballyEnabled" access="public static" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isGloballyEnabled" access="public static" return="bool" id="0"/> +</qtype> <qtype name="QToolTipGroup" access="public"> + <qancestor name="QObject"/> + <qctor name="QToolTipGroup" access="public" id="0"> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QToolTipGroup" access="public"/> + <qmethod name="delay" access="public" return="bool" id="0"/> + <qmethod name="enabled" access="public" return="bool" id="0"/> + <qmethod name="setDelay" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> +</qtype> <qtype name="QTranslator" access="public"> + <qancestor name="QObject"/> + <qenum name="SaveMode" access="public"> + <qitem name="Everything" value="0"/> + <qitem name="Stripped" value="1"/> + </qenum> + <qctor name="QTranslator" access="public" id="0"> + <qparam type="QObject*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QTranslator" access="public"/> + <qmethod name="find" access="public" return="QString" id="0"> + <qparam type="char*" name="context"/> + <qparam type="char*" name="sourceText"/> + <qparam type="char*" name="comment" default="0"/> + </qmethod> + <qmethod name="findMessage" access="public" return="QTranslatorMessage" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="char*" name="arg2"/> + <qparam type="char*" name="arg3"/> + </qmethod> + <qmethod name="load" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="filename"/> + <qparam type="QStringamp" name="directory" default="QString::null"/> + <qparam type="QStringamp" name="search_delimiters" default="QString::null"/> + <qparam type="QStringamp" name="suffix" default="QString::null"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="save" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="filename"/> + <qparam type="SaveMode" name="mode" default="Everything"/> + </qmethod> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="QTranslatorMessageamp" name="arg1"/> + </qmethod> + <qmethod name="insert" access="public" return="void" id="1"> + <qparam type="char*" name="context"/> + <qparam type="char*" name="sourceText"/> + <qparam type="QStringamp" name="translation"/> + </qmethod> + <qmethod name="remove" access="public" return="void" id="0"> + <qparam type="QTranslatorMessageamp" name="arg1"/> + </qmethod> + <qmethod name="remove" access="public" return="void" id="1"> + <qparam type="char*" name="context"/> + <qparam type="char*" name="sourceText"/> + </qmethod> + <qmethod name="contains" access="public" return="bool" id="0"> + <qparam type="char*" name="arg1"/> + <qparam type="char*" name="arg2"/> + <qparam type="char*" name="comment" default="0"/> + </qmethod> + <qmethod name="squeeze" access="public" return="void" id="0"> + <qparam type="SaveMode" name="arg1" default="Everything"/> + </qmethod> + <qmethod name="unsqueeze" access="public" return="void" id="0"/> +</qtype> <qtype name="QTranslatorMessage" access="public"> + <qenum name="Prefix" access="public"> + <qitem name="NoPrefix" value="0"/> + <qitem name="Hash" value="1"/> + <qitem name="HashContext" value="2"/> + <qitem name="HashContextSourceText" value="3"/> + <qitem name="HashContextSourceTextComment" value="4"/> + </qenum> + <qctor name="QTranslatorMessage" access="public" id="0"/> + <qctor name="QTranslatorMessage" access="public" id="1"> + <qparam type="char*" name="context"/> + <qparam type="char*" name="sourceText"/> + <qparam type="char*" name="comment"/> + <qparam type="QStringamp" name="translation" default="QString::null"/> + </qctor> + <qctor name="QTranslatorMessage" access="public" id="2"> + <qparam type="QDataStreamamp" name="arg1"/> + </qctor> + <qctor name="QTranslatorMessage" access="public" id="3"> + <qparam type="QTranslatorMessageamp" name="m"/> + </qctor> + <qmethod name="hash" access="public" return="uint" id="0"/> + <qmethod name="context" access="public" return="char*" id="0"/> + <qmethod name="sourceText" access="public" return="char*" id="0"/> + <qmethod name="comment" access="public" return="char*" id="0"/> + <qmethod name="setTranslation" access="public" return="void" id="0"> + <qparam type="QStringamp" name="translation"/> + </qmethod> + <qmethod name="translation" access="public" return="QString" id="0"/> + <qmethod name="write" access="public" return="void" id="0"> + <qparam type="QDataStreamamp" name="s"/> + <qparam type="bool" name="strip" default="FALSE"/> + <qparam type="Prefix" name="prefix" default="HashContextSourceTextComment"/> + </qmethod> + <qmethod name="commonPrefix" access="public" return="Prefix" id="0"> + <qparam type="QTranslatorMessageamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QTsciiCodec" access="public"> + <qancestor name="QTextCodec"/> + <qmethod name="mibEnum" access="public" return="int" id="0"/> + <qmethod name="name" access="public" return="char*" id="0"/> + <qmethod name="fromUnicode" access="public" return="QCString" id="0"> + <qparam type="QStringamp" name="uc"/> + <qparam type="intamp" name="len_in_out"/> + </qmethod> + <qmethod name="toUnicode" access="public" return="QString" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicContentMatch" access="public" return="int" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> + <qmethod name="heuristicNameMatch" access="public" return="int" id="0"> + <qparam type="char*" name="hint"/> + </qmethod> +</qtype> <qtype name="QUriDrag" access="public"> + <qancestor name="QStoredDrag"/> + <qctor name="QUriDrag" access="public" id="0"> + <qparam type="QStrList" name="uris"/> + <qparam type="QWidget*" name="dragSource" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QUriDrag" access="public" id="1"> + <qparam type="QWidget*" name="dragSource" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QUriDrag" access="public"/> + <qmethod name="setFilenames" access="public" return="void" id="0"> + <qparam type="QStringListamp" name="fnames"/> + </qmethod> + <qmethod name="setFileNames" access="public" return="void" id="0"> + <qparam type="QStringListamp" name="fnames"/> + </qmethod> + <qmethod name="setUnicodeUris" access="public" return="void" id="0"> + <qparam type="QStringListamp" name="uuris"/> + </qmethod> + <qmethod name="setUris" access="public" return="void" id="0"> + <qparam type="QStrList" name="uris"/> + </qmethod> + <qmethod name="uriToLocalFile" access="public static" return="QString" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="localFileToUri" access="public static" return="QCString" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="uriToUnicodeUri" access="public static" return="QString" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="unicodeUriToUri" access="public static" return="QCString" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="canDecode" access="public static" return="bool" id="0"> + <qparam type="QMimeSource*" name="e"/> + </qmethod> + <qmethod name="decode" access="public static" return="bool" id="0"> + <qparam type="QMimeSource*" name="e"/> + <qparam type="QStrListamp" name="i"/> + </qmethod> + <qmethod name="decodeToUnicodeUris" access="public static" return="bool" id="0"> + <qparam type="QMimeSource*" name="e"/> + <qparam type="QStringListamp" name="i"/> + </qmethod> + <qmethod name="decodeLocalFiles" access="public static" return="bool" id="0"> + <qparam type="QMimeSource*" name="e"/> + <qparam type="QStringListamp" name="i"/> + </qmethod> +</qtype> <qtype name="QUrl" access="public"> + <qctor name="QUrl" access="public" id="0"/> + <qctor name="QUrl" access="public" id="1"> + <qparam type="QStringamp" name="url"/> + </qctor> + <qctor name="QUrl" access="public" id="2"> + <qparam type="QUrlamp" name="url"/> + </qctor> + <qctor name="QUrl" access="public" id="3"> + <qparam type="QUrlamp" name="url"/> + <qparam type="QStringamp" name="relUrl"/> + <qparam type="bool" name="checkSlash" default="FALSE"/> + </qctor> + <qdctor name="QUrl" access="public"/> + <qmethod name="protocol" access="public" return="QString" id="0"/> + <qmethod name="setProtocol" access="public" return="void" id="0"> + <qparam type="QStringamp" name="protocol"/> + </qmethod> + <qmethod name="user" access="public" return="QString" id="0"/> + <qmethod name="setUser" access="public" return="void" id="0"> + <qparam type="QStringamp" name="user"/> + </qmethod> + <qmethod name="hasUser" access="public" return="bool" id="0"/> + <qmethod name="password" access="public" return="QString" id="0"/> + <qmethod name="setPassword" access="public" return="void" id="0"> + <qparam type="QStringamp" name="pass"/> + </qmethod> + <qmethod name="hasPassword" access="public" return="bool" id="0"/> + <qmethod name="host" access="public" return="QString" id="0"/> + <qmethod name="setHost" access="public" return="void" id="0"> + <qparam type="QStringamp" name="user"/> + </qmethod> + <qmethod name="hasHost" access="public" return="bool" id="0"/> + <qmethod name="port" access="public" return="int" id="0"/> + <qmethod name="setPort" access="public" return="void" id="0"> + <qparam type="int" name="port"/> + </qmethod> + <qmethod name="hasPort" access="public" return="bool" id="0"/> + <qmethod name="path" access="public" return="QString" id="0"> + <qparam type="bool" name="correct" default="TRUE"/> + </qmethod> + <qmethod name="setPath" access="public" return="void" id="0"> + <qparam type="QStringamp" name="path"/> + </qmethod> + <qmethod name="hasPath" access="public" return="bool" id="0"/> + <qmethod name="setEncodedPathAndQuery" access="public" return="void" id="0"> + <qparam type="QStringamp" name="enc"/> + </qmethod> + <qmethod name="encodedPathAndQuery" access="public" return="QString" id="0"/> + <qmethod name="setQuery" access="public" return="void" id="0"> + <qparam type="QStringamp" name="txt"/> + </qmethod> + <qmethod name="query" access="public" return="QString" id="0"/> + <qmethod name="ref" access="public" return="QString" id="0"/> + <qmethod name="setRef" access="public" return="void" id="0"> + <qparam type="QStringamp" name="txt"/> + </qmethod> + <qmethod name="hasRef" access="public" return="bool" id="0"/> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="isLocalFile" access="public" return="bool" id="0"/> + <qmethod name="addPath" access="public" return="void" id="0"> + <qparam type="QStringamp" name="path"/> + </qmethod> + <qmethod name="setFileName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="txt"/> + </qmethod> + <qmethod name="fileName" access="public" return="QString" id="0"/> + <qmethod name="dirPath" access="public" return="QString" id="0"/> + <qmethod name="toString" access="public" return="QString" id="0"> + <qparam type="bool" name="encodedPath" default="FALSE"/> + <qparam type="bool" name="forcePrependProtocol" default="TRUE"/> + </qmethod> + <qmethod name="cdUp" access="public" return="bool" id="0"/> + <qmethod name="decode" access="public static" return="void" id="0"> + <qparam type="QStringamp" name="url"/> + </qmethod> + <qmethod name="encode" access="public static" return="void" id="0"> + <qparam type="QStringamp" name="url"/> + </qmethod> + <qmethod name="isRelativeUrl" access="public static" return="bool" id="0"> + <qparam type="QStringamp" name="url"/> + </qmethod> + <qmethod name="protected_reset" access="protected" return="void" id="0"/> + <qmethod name="protected_parse" access="protected" return="bool" id="0"> + <qparam type="QStringamp" name="url"/> + </qmethod> +</qtype> <qtype name="QUrlInfo" access="public"> + <qctor name="QUrlInfo" access="public" id="0"/> + <qctor name="QUrlInfo" access="public" id="1"> + <qparam type="QUrlOperatoramp" name="path"/> + <qparam type="QStringamp" name="file"/> + </qctor> + <qctor name="QUrlInfo" access="public" id="2"> + <qparam type="QUrlInfoamp" name="ui"/> + </qctor> + <qctor name="QUrlInfo" access="public" id="3"> + <qparam type="QStringamp" name="name"/> + <qparam type="int" name="permissions"/> + <qparam type="QStringamp" name="owner"/> + <qparam type="QStringamp" name="group"/> + <qparam type="uint" name="size"/> + <qparam type="QDateTimeamp" name="lastModified"/> + <qparam type="QDateTimeamp" name="lastRead"/> + <qparam type="bool" name="isDir"/> + <qparam type="bool" name="isFile"/> + <qparam type="bool" name="isSymLink"/> + <qparam type="bool" name="isWritable"/> + <qparam type="bool" name="isReadable"/> + <qparam type="bool" name="isExecutable"/> + </qctor> + <qctor name="QUrlInfo" access="public" id="4"> + <qparam type="QUrlamp" name="url"/> + <qparam type="int" name="permissions"/> + <qparam type="QStringamp" name="owner"/> + <qparam type="QStringamp" name="group"/> + <qparam type="uint" name="size"/> + <qparam type="QDateTimeamp" name="lastModified"/> + <qparam type="QDateTimeamp" name="lastRead"/> + <qparam type="bool" name="isDir"/> + <qparam type="bool" name="isFile"/> + <qparam type="bool" name="isSymLink"/> + <qparam type="bool" name="isWritable"/> + <qparam type="bool" name="isReadable"/> + <qparam type="bool" name="isExecutable"/> + </qctor> + <qdctor name="QUrlInfo" access="public"/> + <qmethod name="setName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="setDir" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setFile" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setSymLink" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setOwner" access="public" return="void" id="0"> + <qparam type="QStringamp" name="s"/> + </qmethod> + <qmethod name="setGroup" access="public" return="void" id="0"> + <qparam type="QStringamp" name="s"/> + </qmethod> + <qmethod name="setSize" access="public" return="void" id="0"> + <qparam type="uint" name="s"/> + </qmethod> + <qmethod name="setWritable" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setReadable" access="public" return="void" id="0"> + <qparam type="bool" name="b"/> + </qmethod> + <qmethod name="setPermissions" access="public" return="void" id="0"> + <qparam type="int" name="p"/> + </qmethod> + <qmethod name="setLastModified" access="public" return="void" id="0"> + <qparam type="QDateTimeamp" name="dt"/> + </qmethod> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="name" access="public" return="QString" id="0"/> + <qmethod name="permissions" access="public" return="int" id="0"/> + <qmethod name="owner" access="public" return="QString" id="0"/> + <qmethod name="group" access="public" return="QString" id="0"/> + <qmethod name="size" access="public" return="uint" id="0"/> + <qmethod name="lastModified" access="public" return="QDateTime" id="0"/> + <qmethod name="lastRead" access="public" return="QDateTime" id="0"/> + <qmethod name="isDir" access="public" return="bool" id="0"/> + <qmethod name="isFile" access="public" return="bool" id="0"/> + <qmethod name="isSymLink" access="public" return="bool" id="0"/> + <qmethod name="isWritable" access="public" return="bool" id="0"/> + <qmethod name="isReadable" access="public" return="bool" id="0"/> + <qmethod name="isExecutable" access="public" return="bool" id="0"/> + <qmethod name="greaterThan" access="public static" return="bool" id="0"> + <qparam type="QUrlInfoamp" name="i1"/> + <qparam type="QUrlInfoamp" name="i2"/> + <qparam type="int" name="sortBy"/> + </qmethod> + <qmethod name="lessThan" access="public static" return="bool" id="0"> + <qparam type="QUrlInfoamp" name="i1"/> + <qparam type="QUrlInfoamp" name="i2"/> + <qparam type="int" name="sortBy"/> + </qmethod> + <qmethod name="equal" access="public static" return="bool" id="0"> + <qparam type="QUrlInfoamp" name="i1"/> + <qparam type="QUrlInfoamp" name="i2"/> + <qparam type="int" name="sortBy"/> + </qmethod> +</qtype> <qtype name="QUrlOperator" access="public"> + <qancestor name="QObject"/> + <qancestor name="QUrl"/> + <qctor name="QUrlOperator" access="public" id="0"/> + <qctor name="QUrlOperator" access="public" id="1"> + <qparam type="QStringamp" name="urL"/> + </qctor> + <qctor name="QUrlOperator" access="public" id="2"> + <qparam type="QUrlOperatoramp" name="url"/> + </qctor> + <qctor name="QUrlOperator" access="public" id="3"> + <qparam type="QUrlOperatoramp" name="url"/> + <qparam type="QStringamp" name="relUrl"/> + <qparam type="bool" name="checkSlash" default="FALSE"/> + </qctor> + <qdctor name="QUrlOperator" access="public"/> + <qmethod name="setPath" access="public" return="void" id="0"> + <qparam type="QStringamp" name="path"/> + </qmethod> + <qmethod name="cdUp" access="public" return="bool" id="0"/> + <qmethod name="listChildren" access="public" return="QNetworkOperation*" +id="0"/> + <qmethod name="mkdir" access="public" return="QNetworkOperation*" id="0"> + <qparam type="QStringamp" name="dirname"/> + </qmethod> + <qmethod name="remove" access="public" return="QNetworkOperation*" id="0"> + <qparam type="QStringamp" name="filename"/> + </qmethod> + <qmethod name="rename" access="public" return="QNetworkOperation*" id="0"> + <qparam type="QStringamp" name="oldname"/> + <qparam type="QStringamp" name="newname"/> + </qmethod> + <qmethod name="get" access="public" return="QNetworkOperation*" id="0"> + <qparam type="QStringamp" name="location" default="QString::null"/> + </qmethod> + <qmethod name="put" access="public" return="QNetworkOperation*" id="0"> + <qparam type="QByteArrayamp" name="data"/> + <qparam type="QStringamp" name="location" default="QString::null"/> + </qmethod> + <qmethod name="copy" access="public" return="void" id="1"> + <qparam type="QStringListamp" name="files"/> + <qparam type="QStringamp" name="dest"/> + <qparam type="bool" name="move" default="FALSE"/> + </qmethod> + <qmethod name="isDir" access="public" return="bool" id="0"> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="setNameFilter" access="public" return="void" id="0"> + <qparam type="QStringamp" name="nameFilter"/> + </qmethod> + <qmethod name="nameFilter" access="public" return="QString" id="0"/> + <qmethod name="info" access="public" return="QUrlInfo" id="0"> + <qparam type="QStringamp" name="entry"/> + </qmethod> + <qmethod name="stop" access="public" return="void" id="0"/> + <qmethod name="protected_reset" access="protected" return="void" id="0"/> + <qmethod name="protected_parse" access="protected" return="bool" id="0"> + <qparam type="QStringamp" name="url"/> + </qmethod> + <qmethod name="protected_checkValid" access="protected" return="bool" id="0"/> + <qmethod name="protected_clearEntries" access="protected" return="void" id="0"/> + <qmethod name="protected_getNetworkProtocol" access="protected" return="void" +id="0"/> + <qmethod name="protected_deleteNetworkProtocol" access="protected" return="void" +id="0"/> +</qtype> <qtype name="QUtf16Codec" access="public"> + <qancestor name="QTextCodec"/> + <qmethod name="mibEnum" access="public" return="int" id="0"/> + <qmethod name="name" access="public" return="char*" id="0"/> + <qmethod name="makeDecoder" access="public" return="QTextDecoder*" id="0"/> + <qmethod name="makeEncoder" access="public" return="QTextEncoder*" id="0"/> + <qmethod name="heuristicContentMatch" access="public" return="int" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> +</qtype> <qtype name="QUtf8Codec" access="public"> + <qancestor name="QTextCodec"/> + <qmethod name="mibEnum" access="public" return="int" id="0"/> + <qmethod name="name" access="public" return="char*" id="0"/> + <qmethod name="makeDecoder" access="public" return="QTextDecoder*" id="0"/> + <qmethod name="fromUnicode" access="public" return="QCString" id="0"> + <qparam type="QStringamp" name="uc"/> + <qparam type="intamp" name="len_in_out"/> + </qmethod> + <qmethod name="heuristicContentMatch" access="public" return="int" id="0"> + <qparam type="char*" name="chars"/> + <qparam type="int" name="len"/> + </qmethod> +</qtype> <qtype name="QUuid" access="public"> + <qctor name="QUuid" access="public" id="0"/> + <qctor name="QUuid" access="public" id="1"> + <qparam type="uint" name="l"/> + <qparam type="ushort" name="w1"/> + <qparam type="ushort" name="w2"/> + <qparam type="uchar" name="b1"/> + <qparam type="uchar" name="b2"/> + <qparam type="uchar" name="b3"/> + <qparam type="uchar" name="b4"/> + <qparam type="uchar" name="b5"/> + <qparam type="uchar" name="b6"/> + <qparam type="uchar" name="b7"/> + <qparam type="uchar" name="b8"/> + </qctor> + <qctor name="QUuid" access="public" id="2"> + <qparam type="QUuidamp" name="uuid"/> + </qctor> + <qctor name="QUuid" access="public" id="3"> + <qparam type="QStringamp" name="arg1"/> + </qctor> + <qmethod name="toString" access="public" return="QString" id="0"/> + <qmethod name="isNull" access="public" return="bool" id="0"/> + <qctor name="QUuid" access="public" id="4"> + <qparam type="GUIDamp" name="guid"/> + </qctor> +</qtype> <qtype name="QVBox" access="public"> + <qancestor name="QHBox"/> + <qctor name="QVBox" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> +</qtype> <qtype name="QVBoxLayout" access="public"> + <qancestor name="QBoxLayout"/> + <qctor name="QVBoxLayout" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="int" name="border" default="0"/> + <qparam type="int" name="spacing" default="-1"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QVBoxLayout" access="public" id="1"> + <qparam type="QLayout*" name="parentLayout"/> + <qparam type="int" name="spacing" default="-1"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QVBoxLayout" access="public" id="2"> + <qparam type="int" name="spacing" default="-1"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QVBoxLayout" access="public"/> +</qtype> <qtype name="QVButtonGroup" access="public"> + <qancestor name="QButtonGroup"/> + <qctor name="QVButtonGroup" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QVButtonGroup" access="public" id="1"> + <qparam type="QStringamp" name="title"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QVButtonGroup" access="public"/> +</qtype> <qtype name="QVFbHeader" access="public"> +</qtype> <qtype name="QVFbKeyData" access="public"> +</qtype> <qtype name="QVGroupBox" access="public"> + <qancestor name="QGroupBox"/> + <qctor name="QVGroupBox" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qctor name="QVGroupBox" access="public" id="1"> + <qparam type="QStringamp" name="title"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QVGroupBox" access="public"/> +</qtype> <qtype name="QValidator" access="public"> + <qancestor name="QObject"/> + <qenum name="State" access="public"> + <qitem name="Invalid" value="0"/> + <qitem name="Intermediate" value="1"/> + <qitem name="Valid" value="Intermediate"/> + <qitem name="Acceptable" value="2"/> + </qenum> + <qdctor name="QValidator" access="public"/> + <qmethod name="validate" access="public" return="State" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="intamp" name="arg2"/> + </qmethod> + <qmethod name="fixup" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> +</qtype> <qtype name="QValueList" access="public"> +/** + API + +*/ + + <qctor name="QValueList" access="public" id="0"/> + <qdctor name="QValueList" access="public"/> + <qmethod name="begin" access="public" return="iterator" id="0"/> + <qmethod name="begin" access="public" return="_iterator" id="1"/> + <qmethod name="end" access="public" return="iterator" id="0"/> + <qmethod name="end" access="public" return="_iterator" id="1"/> + <qmethod name="insert" access="public" return="iterator" id="0"> + <qparam type="iterator" name="it"/> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="remove" access="public" return="uint" id="0"> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="size" access="public" return="size_type" id="0"/> + <qmethod name="empty" access="public" return="bool" id="0"/> + <qmethod name="push_front" access="public" return="void" id="0"> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="push_back" access="public" return="void" id="0"> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="erase" access="public" return="iterator" id="0"> + <qparam type="iterator" name="pos"/> + </qmethod> + <qmethod name="erase" access="public" return="iterator" id="1"> + <qparam type="iterator" name="first"/> + <qparam type="iterator" name="last"/> + </qmethod> + <qmethod name="front" access="public" return="reference" id="0"/> + <qmethod name="front" access="public" return="_reference" id="1"/> + <qmethod name="back" access="public" return="reference" id="0"/> + <qmethod name="back" access="public" return="_reference" id="1"/> + <qmethod name="pop_front" access="public" return="void" id="0"/> + <qmethod name="pop_back" access="public" return="void" id="0"/> + <qmethod name="insert" access="public" return="void" id="1"> + <qparam type="iterator" name="pos"/> + <qparam type="size_type" name="n"/> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="fromLast" access="public" return="iterator" id="0"/> + <qmethod name="fromLast" access="public" return="_iterator" id="1"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="append" access="public" return="iterator" id="0"> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="prepend" access="public" return="iterator" id="0"> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="remove" access="public" return="iterator" id="1"> + <qparam type="iterator" name="it"/> + </qmethod> + <qmethod name="first" access="public" return="Tamp" id="0"/> + <qmethod name="first" access="public" return="Tamp" id="1"/> + <qmethod name="last" access="public" return="Tamp" id="0"/> + <qmethod name="last" access="public" return="Tamp" id="1"/> + <qmethod name="at" access="public" return="iterator" id="0"> + <qparam type="size_type" name="i"/> + </qmethod> + <qmethod name="at" access="public" return="_iterator" id="1"> + <qparam type="size_type" name="i"/> + </qmethod> + <qmethod name="find" access="public" return="iterator" id="0"> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="find" access="public" return="_iterator" id="1"> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="find" access="public" return="iterator" id="2"> + <qparam type="iterator" name="it"/> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="find" access="public" return="_iterator" id="3"> + <qparam type="_iterator" name="it"/> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="findIndex" access="public" return="int" id="0"> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="contains" access="public" return="size_type" id="0"> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="count" access="public" return="size_type" id="0"/> +/** + Helpers + +*/ + + <qmethod name="protected_detach" access="protected" return="void" id="0"/> +</qtype> <qtype name="QValueListConstIterator" access="public"> +/** + Functions + +*/ + + <qctor name="QValueListConstIterator" access="public" id="0"/> + <qctor name="QValueListConstIterator" access="public" id="1"> + <qparam type="NodePtr" name="p"/> + </qctor> +</qtype> <qtype name="QValueListIterator" access="public"> +/** + Functions + +*/ + + <qctor name="QValueListIterator" access="public" id="0"/> + <qctor name="QValueListIterator" access="public" id="1"> + <qparam type="NodePtr" name="p"/> + </qctor> +</qtype> <qtype name="QValueListNode" access="public"> + <qctor name="QValueListNode" access="public" id="0"> + <qparam type="Tamp" name="t"/> + </qctor> + <qctor name="QValueListNode" access="public" id="1"/> + <qdctor name="QValueListNode" access="public"/> +</qtype> <qtype name="QValueListPrivate" access="public"> + <qancestor name="QShared"/> +/** + Functions + +*/ + + <qctor name="QValueListPrivate" access="public" id="0"/> + <qmethod name="derefAndDelete" access="public" return="void" id="0"/> + <qdctor name="QValueListPrivate" access="public"/> + <qmethod name="insert" access="public" return="Iterator" id="0"> + <qparam type="Iterator" name="it"/> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="remove" access="public" return="Iterator" id="0"> + <qparam type="Iterator" name="it"/> + </qmethod> + <qmethod name="find" access="public" return="NodePtr" id="0"> + <qparam type="NodePtr" name="start"/> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="findIndex" access="public" return="int" id="0"> + <qparam type="NodePtr" name="start"/> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="contains" access="public" return="uint" id="0"> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="remove" access="public" return="uint" id="1"> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="at" access="public" return="NodePtr" id="0"> + <qparam type="size_type" name="i"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> +</qtype> <qtype name="QValueStack" access="public"> + <qancestor name="QValueList"/> + <qctor name="QValueStack" access="public" id="0"/> + <qdctor name="QValueStack" access="public"/> + <qmethod name="push" access="public" return="void" id="0"> + <qparam type="Tamp" name="d"/> + </qmethod> + <qmethod name="pop" access="public" return="T" id="0"/> + <qmethod name="top" access="public" return="Tamp" id="0"/> + <qmethod name="top" access="public" return="Tamp" id="1"/> +</qtype> <qtype name="QValueVector" access="public"> + <qctor name="QValueVector" access="public" id="0"/> + <qctor name="QValueVector" access="public" id="2"> + <qparam type="size_type" name="n"/> + <qparam type="Tamp" name="val" default="new IntPtr (0)"/> + </qctor> + <qdctor name="QValueVector" access="public"/> + <qmethod name="size" access="public" return="size_type" id="0"/> + <qmethod name="empty" access="public" return="bool" id="0"/> + <qmethod name="capacity" access="public" return="size_type" id="0"/> + <qmethod name="begin" access="public" return="iterator" id="0"/> + <qmethod name="begin" access="public" return="_iterator" id="1"/> + <qmethod name="end" access="public" return="iterator" id="0"/> + <qmethod name="end" access="public" return="_iterator" id="1"/> + <qmethod name="at" access="public" return="reference" id="0"> + <qparam type="size_type" name="i"/> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="front" access="public" return="reference" id="0"/> + <qmethod name="front" access="public" return="_reference" id="1"/> + <qmethod name="back" access="public" return="reference" id="0"/> + <qmethod name="back" access="public" return="_reference" id="1"/> + <qmethod name="push_back" access="public" return="void" id="0"> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="pop_back" access="public" return="void" id="0"/> + <qmethod name="insert" access="public" return="iterator" id="0"> + <qparam type="iterator" name="pos"/> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="insert" access="public" return="iterator" id="1"> + <qparam type="iterator" name="pos"/> + <qparam type="size_type" name="n"/> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="reserve" access="public" return="void" id="0"> + <qparam type="size_type" name="n"/> + </qmethod> + <qmethod name="resize" access="public" return="void" id="0"> + <qparam type="size_type" name="n"/> + <qparam type="IntPtr" name="val" default="new IntPtr (0)"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="erase" access="public" return="iterator" id="0"> + <qparam type="iterator" name="pos"/> + </qmethod> + <qmethod name="erase" access="public" return="iterator" id="1"> + <qparam type="iterator" name="first"/> + <qparam type="iterator" name="last"/> + </qmethod> + <qmethod name="protected_detach" access="protected" return="void" id="0"/> +</qtype> <qtype name="QValueVectorPrivate" access="public"> + <qancestor name="QShared"/> + <qctor name="QValueVectorPrivate" access="public" id="0"/> + <qctor name="QValueVectorPrivate" access="public" id="2"> + <qparam type="size_t" name="size"/> + </qctor> + <qmethod name="derefAndDelete" access="public" return="void" id="0"/> + <qdctor name="QValueVectorPrivate" access="public"/> + <qmethod name="size" access="public" return="size_t" id="0"/> + <qmethod name="empty" access="public" return="bool" id="0"/> + <qmethod name="capacity" access="public" return="size_t" id="0"/> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="pointer" name="pos"/> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="insert" access="public" return="void" id="1"> + <qparam type="pointer" name="pos"/> + <qparam type="size_t" name="n"/> + <qparam type="Tamp" name="x"/> + </qmethod> + <qmethod name="reserve" access="public" return="void" id="0"> + <qparam type="size_t" name="n"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> +</qtype> <qtype name="QVariant" access="public"> + <qenum name="Type" access="public"> + <qitem name="Invalid" value="0"/> + <qitem name="Map" value="1"/> + <qitem name="List" value="2"/> + <qitem name="String" value="3"/> + <qitem name="StringList" value="4"/> + <qitem name="Font" value="5"/> + <qitem name="Pixmap" value="6"/> + <qitem name="Brush" value="7"/> + <qitem name="Rect" value="8"/> + <qitem name="Size" value="9"/> + <qitem name="Color" value="10"/> + <qitem name="Palette" value="11"/> + <qitem name="ColorGroup" value="12"/> + <qitem name="IconSet" value="13"/> + <qitem name="Point" value="14"/> + <qitem name="Image" value="15"/> + <qitem name="Int" value="16"/> + <qitem name="UInt" value="17"/> + <qitem name="Bool" value="18"/> + <qitem name="Double" value="19"/> + <qitem name="CString" value="20"/> + <qitem name="PointArray" value="21"/> + <qitem name="Region" value="22"/> + <qitem name="Bitmap" value="23"/> + <qitem name="Cursor" value="24"/> + <qitem name="SizePolicy" value="25"/> + <qitem name="Date" value="26"/> + <qitem name="Time" value="27"/> + <qitem name="DateTime" value="28"/> + <qitem name="ByteArray" value="29"/> + <qitem name="BitArray" value="30"/> + <qitem name="KeySequence" value="31"/> + </qenum> + <qctor name="QVariant" access="public" id="0"/> + <qdctor name="QVariant" access="public"/> + <qctor name="QVariant" access="public" id="1"> + <qparam type="QVariantamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="2"> + <qparam type="QDataStreamamp" name="s"/> + </qctor> + <qctor name="QVariant" access="public" id="3"> + <qparam type="QStringamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="4"> + <qparam type="QCStringamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="5"> + <qparam type="char*" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="6"> + <qparam type="QStringListamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="7"> + <qparam type="QFontamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="8"> + <qparam type="QPixmapamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="9"> + <qparam type="QImageamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="10"> + <qparam type="QBrushamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="11"> + <qparam type="QPointamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="12"> + <qparam type="QRectamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="13"> + <qparam type="QSizeamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="14"> + <qparam type="QColoramp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="15"> + <qparam type="QPaletteamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="16"> + <qparam type="QColorGroupamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="17"> + <qparam type="QIconSetamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="18"> + <qparam type="QPointArrayamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="19"> + <qparam type="QRegionamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="20"> + <qparam type="QBitmapamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="21"> + <qparam type="QCursoramp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="22"> + <qparam type="QDateamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="23"> + <qparam type="QTimeamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="24"> + <qparam type="QDateTimeamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="25"> + <qparam type="QByteArrayamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="26"> + <qparam type="QBitArrayamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="27"> + <qparam type="QKeySequenceamp" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="30"> + <qparam type="int" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="31"> + <qparam type="uint" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="32"> + <qparam type="bool" name="arg1"/> + <qparam type="int" name="arg2"/> + </qctor> + <qctor name="QVariant" access="public" id="33"> + <qparam type="double" name="arg1"/> + </qctor> + <qctor name="QVariant" access="public" id="34"> + <qparam type="QSizePolicy" name="arg1"/> + </qctor> + <qmethod name="type" access="public" return="Type" id="0"/> + <qmethod name="typeName" access="public" return="char*" id="0"/> + <qmethod name="canCast" access="public" return="bool" id="0"> + <qparam type="Type" name="arg1"/> + </qmethod> + <qmethod name="cast" access="public" return="bool" id="0"> + <qparam type="Type" name="arg1"/> + </qmethod> + <qmethod name="isValid" access="public" return="bool" id="0"/> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="toString" access="public" return="QString" id="0"/> + <qmethod name="toCString" access="public" return="QCString" id="0"/> + <qmethod name="toStringList" access="public" return="QStringList" id="0"/> + <qmethod name="toFont" access="public" return="QFont" id="0"/> + <qmethod name="toPixmap" access="public" return="QPixmap" id="0"/> + <qmethod name="toImage" access="public" return="QImage" id="0"/> + <qmethod name="toBrush" access="public" return="QBrush" id="0"/> + <qmethod name="toPoint" access="public" return="QPoint" id="0"/> + <qmethod name="toRect" access="public" return="QRect" id="0"/> + <qmethod name="toSize" access="public" return="QSize" id="0"/> + <qmethod name="toColor" access="public" return="QColor" id="0"/> + <qmethod name="toPalette" access="public" return="QPalette" id="0"/> + <qmethod name="toColorGroup" access="public" return="QColorGroup" id="0"/> + <qmethod name="toIconSet" access="public" return="QIconSet" id="0"/> + <qmethod name="toPointArray" access="public" return="QPointArray" id="0"/> + <qmethod name="toBitmap" access="public" return="QBitmap" id="0"/> + <qmethod name="toRegion" access="public" return="QRegion" id="0"/> + <qmethod name="toCursor" access="public" return="QCursor" id="0"/> + <qmethod name="toDate" access="public" return="QDate" id="0"/> + <qmethod name="toTime" access="public" return="QTime" id="0"/> + <qmethod name="toDateTime" access="public" return="QDateTime" id="0"/> + <qmethod name="toByteArray" access="public" return="QByteArray" id="0"/> + <qmethod name="toBitArray" access="public" return="QBitArray" id="0"/> + <qmethod name="toKeySequence" access="public" return="QKeySequence" id="0"/> + <qmethod name="toInt" access="public" return="int" id="0"> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="toUInt" access="public" return="uint" id="0"> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="toBool" access="public" return="bool" id="0"/> + <qmethod name="toDouble" access="public" return="double" id="0"> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="toSizePolicy" access="public" return="QSizePolicy" id="0"/> + <qmethod name="asString" access="public" return="QStringamp" id="0"/> + <qmethod name="asCString" access="public" return="QCStringamp" id="0"/> + <qmethod name="asStringList" access="public" return="QStringListamp" id="0"/> + <qmethod name="asFont" access="public" return="QFontamp" id="0"/> + <qmethod name="asPixmap" access="public" return="QPixmapamp" id="0"/> + <qmethod name="asImage" access="public" return="QImageamp" id="0"/> + <qmethod name="asBrush" access="public" return="QBrushamp" id="0"/> + <qmethod name="asPoint" access="public" return="QPointamp" id="0"/> + <qmethod name="asRect" access="public" return="QRectamp" id="0"/> + <qmethod name="asSize" access="public" return="QSizeamp" id="0"/> + <qmethod name="asColor" access="public" return="QColoramp" id="0"/> + <qmethod name="asPalette" access="public" return="QPaletteamp" id="0"/> + <qmethod name="asColorGroup" access="public" return="QColorGroupamp" id="0"/> + <qmethod name="asIconSet" access="public" return="QIconSetamp" id="0"/> + <qmethod name="asPointArray" access="public" return="QPointArrayamp" id="0"/> + <qmethod name="asBitmap" access="public" return="QBitmapamp" id="0"/> + <qmethod name="asRegion" access="public" return="QRegionamp" id="0"/> + <qmethod name="asCursor" access="public" return="QCursoramp" id="0"/> + <qmethod name="asDate" access="public" return="QDateamp" id="0"/> + <qmethod name="asTime" access="public" return="QTimeamp" id="0"/> + <qmethod name="asDateTime" access="public" return="QDateTimeamp" id="0"/> + <qmethod name="asByteArray" access="public" return="QByteArrayamp" id="0"/> + <qmethod name="asBitArray" access="public" return="QBitArrayamp" id="0"/> + <qmethod name="asKeySequence" access="public" return="QKeySequenceamp" id="0"/> + <qmethod name="asInt" access="public" return="intamp" id="0"/> + <qmethod name="asUInt" access="public" return="uintamp" id="0"/> + <qmethod name="asBool" access="public" return="boolamp" id="0"/> + <qmethod name="asDouble" access="public" return="doubleamp" id="0"/> + <qmethod name="asSizePolicy" access="public" return="QSizePolicyamp" id="0"/> + <qmethod name="load" access="public" return="void" id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + </qmethod> + <qmethod name="save" access="public" return="void" id="0"> + <qparam type="QDataStreamamp" name="arg1"/> + </qmethod> + <qmethod name="typeToName" access="public static" return="char*" id="0"> + <qparam type="Type" name="typ"/> + </qmethod> + <qmethod name="nameToType" access="public static" return="Type" id="0"> + <qparam type="char*" name="name"/> + </qmethod> +</qtype> <qtype name="QWExtra" access="public"> +</qtype> <qtype name="QWMatrix" access="public"> + <qctor name="QWMatrix" access="public" id="0"/> + <qctor name="QWMatrix" access="public" id="1"> + <qparam type="double" name="m11"/> + <qparam type="double" name="m12"/> + <qparam type="double" name="m21"/> + <qparam type="double" name="m22"/> + <qparam type="double" name="dx"/> + <qparam type="double" name="dy"/> + </qctor> + <qmethod name="setMatrix" access="public" return="void" id="0"> + <qparam type="double" name="m11"/> + <qparam type="double" name="m12"/> + <qparam type="double" name="m21"/> + <qparam type="double" name="m22"/> + <qparam type="double" name="dx"/> + <qparam type="double" name="dy"/> + </qmethod> + <qmethod name="m11" access="public" return="double" id="0"/> + <qmethod name="m12" access="public" return="double" id="0"/> + <qmethod name="m21" access="public" return="double" id="0"/> + <qmethod name="m22" access="public" return="double" id="0"/> + <qmethod name="dx" access="public" return="double" id="0"/> + <qmethod name="dy" access="public" return="double" id="0"/> + <qmethod name="map" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int*" name="tx"/> + <qparam type="int*" name="ty"/> + </qmethod> + <qmethod name="map" access="public" return="void" id="1"> + <qparam type="double" name="x"/> + <qparam type="double" name="y"/> + <qparam type="double*" name="tx"/> + <qparam type="double*" name="ty"/> + </qmethod> + <qmethod name="mapRect" access="public" return="QRect" id="0"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="map" access="public" return="QPoint" id="2"> + <qparam type="QPointamp" name="p"/> + </qmethod> + <qmethod name="map" access="public" return="QRect" id="3"> + <qparam type="QRectamp" name="r"/> + </qmethod> + <qmethod name="map" access="public" return="QPointArray" id="4"> + <qparam type="QPointArrayamp" name="a"/> + </qmethod> + <qmethod name="reset" access="public" return="void" id="0"/> + <qmethod name="isIdentity" access="public" return="bool" id="0"/> + <qmethod name="translate" access="public" return="QWMatrixamp" id="0"> + <qparam type="double" name="dx"/> + <qparam type="double" name="dy"/> + </qmethod> + <qmethod name="scale" access="public" return="QWMatrixamp" id="0"> + <qparam type="double" name="sx"/> + <qparam type="double" name="sy"/> + </qmethod> + <qmethod name="shear" access="public" return="QWMatrixamp" id="0"> + <qparam type="double" name="sh"/> + <qparam type="double" name="sv"/> + </qmethod> + <qmethod name="rotate" access="public" return="QWMatrixamp" id="0"> + <qparam type="double" name="a"/> + </qmethod> + <qmethod name="isInvertible" access="public" return="bool" id="0"/> + <qmethod name="invert" access="public" return="QWMatrix" id="0"> + <qparam type="bool*" name="arg1" default="0"/> + </qmethod> +</qtype> <qtype name="QWaitCondition" access="public"> + <qctor name="QWaitCondition" access="public" id="0"/> + <qdctor name="QWaitCondition" access="public"/> + <qmethod name="wait" access="public" return="bool" id="0"> + <qparam type="unsigned long" name="time" default="UInt64.MaxValue"/> + </qmethod> + <qmethod name="wait" access="public" return="bool" id="1"> + <qparam type="QMutex*" name="mutex"/> + <qparam type="unsigned long" name="time" default="UInt64.MaxValue"/> + </qmethod> + <qmethod name="wakeOne" access="public" return="void" id="0"/> + <qmethod name="wakeAll" access="public" return="void" id="0"/> +</qtype> <qtype name="QWhatsThis" access="public"> + <qancestor name="Qt"/> + <qctor name="QWhatsThis" access="public" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qctor> + <qdctor name="QWhatsThis" access="public"/> + <qmethod name="text" access="public" return="QString" id="0"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="clicked" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="href"/> + </qmethod> + <qmethod name="add" access="public static" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="remove" access="public static" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="textFor" access="public static" return="QString" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QPointamp" name="pos" default="QPoint()"/> + <qparam type="bool" name="includeParents" default="FALSE"/> + </qmethod> + <qmethod name="whatsThisButton" access="public static" return="QToolButton*" +id="0"> + <qparam type="QWidget*" name="parent"/> + </qmethod> + <qmethod name="enterWhatsThisMode" access="public static" return="void" id="0"/> + <qmethod name="inWhatsThisMode" access="public static" return="bool" id="0"/> + <qmethod name="leaveWhatsThisMode" access="public static" return="void" id="0"> + <qparam type="QStringamp" name="arg1" default="QString::null"/> + <qparam type="QPointamp" name="pos" default="QCursor::pos()"/> + <qparam type="QWidget*" name="w" default="0"/> + </qmethod> + <qmethod name="display" access="public static" return="void" id="0"> + <qparam type="QStringamp" name="text"/> + <qparam type="QPointamp" name="pos" default="QCursor::pos()"/> + <qparam type="QWidget*" name="w" default="0"/> + </qmethod> +</qtype> <qtype name="QWheelEvent" access="public"> + <qancestor name="QEvent"/> + <qctor name="QWheelEvent" access="public" id="0"> + <qparam type="QPointamp" name="pos"/> + <qparam type="int" name="delta"/> + <qparam type="int" name="state"/> + <qparam type="Qt.Orientation" name="orient" default="Vertical"/> + </qctor> + <qctor name="QWheelEvent" access="public" id="1"> + <qparam type="QPointamp" name="pos"/> + <qparam type="QPointamp" name="globalPos"/> + <qparam type="int" name="delta"/> + <qparam type="int" name="state"/> + <qparam type="Qt.Orientation" name="orient" default="Vertical"/> + </qctor> + <qmethod name="delta" access="public" return="int" id="0"/> + <qmethod name="pos" access="public" return="QPointamp" id="0"/> + <qmethod name="globalPos" access="public" return="QPointamp" id="0"/> + <qmethod name="x" access="public" return="int" id="0"/> + <qmethod name="y" access="public" return="int" id="0"/> + <qmethod name="globalX" access="public" return="int" id="0"/> + <qmethod name="globalY" access="public" return="int" id="0"/> + <qmethod name="state" access="public" return="ButtonState" id="0"/> + <qmethod name="orientation" access="public" return="Qt.Orientation" id="0"/> + <qmethod name="isAccepted" access="public" return="bool" id="0"/> + <qmethod name="accept" access="public" return="void" id="0"/> + <qmethod name="ignore" access="public" return="void" id="0"/> +</qtype> <qtype name="QWidget" access="public"> + <qancestor name="QObject"/> + <qancestor name="QPaintDevice"/> + <qenum name="FocusPolicy" access="public"> + <qitem name="NoFocus" value="0"/> + <qitem name="TabFocus" value="1"/> + <qitem name="ClickFocus" value="2"/> + <qitem name="StrongFocus" value="3"/> + <qitem name="WheelFocus" value="7"/> + </qenum> + <qenum name="BackgroundOrigin" access="public"> + <qitem name="WidgetOrigin" value="0"/> + <qitem name="ParentOrigin" value="1"/> + <qitem name="WindowOrigin" value="2"/> + </qenum> + <qctor name="QWidget" access="public" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qdctor name="QWidget" access="public"/> + <qmethod name="winId" access="public" return="WId" id="0"/> + <qmethod name="setName" access="public" return="void" id="0"> + <qparam type="char*" name="name"/> + </qmethod> + <qmethod name="style" access="public" return="QStyleamp" id="0"/> + <qmethod name="setStyle" access="public" return="void" id="0"> + <qparam type="QStyle*" name="arg1"/> + </qmethod> + <qmethod name="setStyle" access="public" return="QStyle*" id="1"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="isTopLevel" access="public" return="bool" id="0"/> + <qmethod name="isDialog" access="public" return="bool" id="0"/> + <qmethod name="isPopup" access="public" return="bool" id="0"/> + <qmethod name="isDesktop" access="public" return="bool" id="0"/> + <qmethod name="isModal" access="public" return="bool" id="0"/> + <qmethod name="isEnabled" access="public" return="bool" id="0"/> + <qmethod name="isEnabledTo" access="public" return="bool" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="isEnabledToTLW" access="public" return="bool" id="0"/> + <qmethod name="frameGeometry" access="public" return="QRect" id="0"/> + <qmethod name="geometry" access="public" return="QRectamp" id="0"/> + <qmethod name="x" access="public" return="int" id="0"/> + <qmethod name="y" access="public" return="int" id="0"/> + <qmethod name="pos" access="public" return="QPoint" id="0"/> + <qmethod name="frameSize" access="public" return="QSize" id="0"/> + <qmethod name="size" access="public" return="QSize" id="0"/> + <qmethod name="width" access="public" return="int" id="0"/> + <qmethod name="height" access="public" return="int" id="0"/> + <qmethod name="rect" access="public" return="QRect" id="0"/> + <qmethod name="childrenRect" access="public" return="QRect" id="0"/> + <qmethod name="childrenRegion" access="public" return="QRegion" id="0"/> + <qmethod name="minimumSize" access="public" return="QSize" id="0"/> + <qmethod name="maximumSize" access="public" return="QSize" id="0"/> + <qmethod name="minimumWidth" access="public" return="int" id="0"/> + <qmethod name="minimumHeight" access="public" return="int" id="0"/> + <qmethod name="maximumWidth" access="public" return="int" id="0"/> + <qmethod name="maximumHeight" access="public" return="int" id="0"/> + <qmethod name="setMinimumSize" access="public" return="void" id="0"> + <qparam type="QSizeamp" name="arg1"/> + </qmethod> + <qmethod name="setMinimumSize" access="public" return="void" id="1"> + <qparam type="int" name="minw"/> + <qparam type="int" name="minh"/> + </qmethod> + <qmethod name="setMaximumSize" access="public" return="void" id="0"> + <qparam type="QSizeamp" name="arg1"/> + </qmethod> + <qmethod name="setMaximumSize" access="public" return="void" id="1"> + <qparam type="int" name="maxw"/> + <qparam type="int" name="maxh"/> + </qmethod> + <qmethod name="setMinimumWidth" access="public" return="void" id="0"> + <qparam type="int" name="minw"/> + </qmethod> + <qmethod name="setMinimumHeight" access="public" return="void" id="0"> + <qparam type="int" name="minh"/> + </qmethod> + <qmethod name="setMaximumWidth" access="public" return="void" id="0"> + <qparam type="int" name="maxw"/> + </qmethod> + <qmethod name="setMaximumHeight" access="public" return="void" id="0"> + <qparam type="int" name="maxh"/> + </qmethod> + <qmethod name="sizeIncrement" access="public" return="QSize" id="0"/> + <qmethod name="setSizeIncrement" access="public" return="void" id="0"> + <qparam type="QSizeamp" name="arg1"/> + </qmethod> + <qmethod name="setSizeIncrement" access="public" return="void" id="1"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="baseSize" access="public" return="QSize" id="0"/> + <qmethod name="setBaseSize" access="public" return="void" id="0"> + <qparam type="QSizeamp" name="arg1"/> + </qmethod> + <qmethod name="setBaseSize" access="public" return="void" id="1"> + <qparam type="int" name="basew"/> + <qparam type="int" name="baseh"/> + </qmethod> + <qmethod name="setFixedSize" access="public" return="void" id="0"> + <qparam type="QSizeamp" name="arg1"/> + </qmethod> + <qmethod name="setFixedSize" access="public" return="void" id="1"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="setFixedWidth" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + </qmethod> + <qmethod name="setFixedHeight" access="public" return="void" id="0"> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="mapToGlobal" access="public" return="QPoint" id="0"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="mapFromGlobal" access="public" return="QPoint" id="0"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="mapToParent" access="public" return="QPoint" id="0"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="mapFromParent" access="public" return="QPoint" id="0"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="mapTo" access="public" return="QPoint" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QPointamp" name="arg2"/> + </qmethod> + <qmethod name="mapFrom" access="public" return="QPoint" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QPointamp" name="arg2"/> + </qmethod> + <qmethod name="topLevelWidget" access="public" return="QWidget*" id="0"/> + <qmethod name="backgroundMode" access="public" return="BackgroundMode" id="0"/> + <qmethod name="setBackgroundMode" access="public" return="void" id="0"> + <qparam type="BackgroundMode" name="arg1"/> + </qmethod> + <qmethod name="setBackgroundMode" access="public" return="void" id="1"> + <qparam type="BackgroundMode" name="arg1"/> + <qparam type="BackgroundMode" name="arg2"/> + </qmethod> + <qmethod name="foregroundColor" access="public" return="QColoramp" id="0"/> + <qmethod name="eraseColor" access="public" return="QColoramp" id="0"/> + <qmethod name="setEraseColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="arg1"/> + </qmethod> + <qmethod name="erasePixmap" access="public" return="QPixmap*" id="0"/> + <qmethod name="setErasePixmap" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="arg1"/> + </qmethod> + <qmethod name="colorGroup" access="public" return="QColorGroupamp" id="0"/> + <qmethod name="palette" access="public" return="QPaletteamp" id="0"/> + <qmethod name="ownPalette" access="public" return="bool" id="0"/> + <qmethod name="setPalette" access="public" return="void" id="0"> + <qparam type="QPaletteamp" name="arg1"/> + </qmethod> + <qmethod name="unsetPalette" access="public" return="void" id="0"/> + <qmethod name="paletteForegroundColor" access="public" return="QColoramp" +id="0"/> + <qmethod name="setPaletteForegroundColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="arg1"/> + </qmethod> + <qmethod name="paletteBackgroundColor" access="public" return="QColoramp" +id="0"/> + <qmethod name="setPaletteBackgroundColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="arg1"/> + </qmethod> + <qmethod name="paletteBackgroundPixmap" access="public" return="QPixmap*" +id="0"/> + <qmethod name="setPaletteBackgroundPixmap" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="arg1"/> + </qmethod> + <qmethod name="backgroundBrush" access="public" return="QBrushamp" id="0"/> + <qmethod name="font" access="public" return="QFont" id="0"/> + <qmethod name="ownFont" access="public" return="bool" id="0"/> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="unsetFont" access="public" return="void" id="0"/> + <qmethod name="fontMetrics" access="public" return="QFontMetrics" id="0"/> + <qmethod name="fontInfo" access="public" return="QFontInfo" id="0"/> + <qmethod name="cursor" access="public" return="QCursoramp" id="0"/> + <qmethod name="ownCursor" access="public" return="bool" id="0"/> + <qmethod name="setCursor" access="public" return="void" id="0"> + <qparam type="QCursoramp" name="arg1"/> + </qmethod> + <qmethod name="unsetCursor" access="public" return="void" id="0"/> + <qmethod name="caption" access="public" return="QString" id="0"/> + <qmethod name="icon" access="public" return="QPixmap*" id="0"/> + <qmethod name="iconText" access="public" return="QString" id="0"/> + <qmethod name="hasMouseTracking" access="public" return="bool" id="0"/> + <qmethod name="hasMouse" access="public" return="bool" id="0"/> + <qmethod name="setMask" access="public" return="void" id="0"> + <qparam type="QBitmapamp" name="arg1"/> + </qmethod> + <qmethod name="setMask" access="public" return="void" id="1"> + <qparam type="QRegionamp" name="arg1"/> + </qmethod> + <qmethod name="clearMask" access="public" return="void" id="0"/> + <qmethod name="backgroundColor" access="public" return="QColoramp" id="0"/> + <qmethod name="setBackgroundColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="arg1"/> + </qmethod> + <qmethod name="backgroundPixmap" access="public" return="QPixmap*" id="0"/> + <qmethod name="setBackgroundPixmap" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="arg1"/> + </qmethod> + <qmethod name="isActiveWindow" access="public" return="bool" id="0"/> + <qmethod name="setActiveWindow" access="public" return="void" id="0"/> + <qmethod name="isFocusEnabled" access="public" return="bool" id="0"/> + <qmethod name="focusPolicy" access="public" return="FocusPolicy" id="0"/> + <qmethod name="setFocusPolicy" access="public" return="void" id="0"> + <qparam type="FocusPolicy" name="arg1"/> + </qmethod> + <qmethod name="hasFocus" access="public" return="bool" id="0"/> + <qmethod name="setFocusProxy" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="focusProxy" access="public" return="QWidget*" id="0"/> + <qmethod name="grabMouse" access="public" return="void" id="0"/> + <qmethod name="grabMouse" access="public" return="void" id="1"> + <qparam type="QCursoramp" name="arg1"/> + </qmethod> + <qmethod name="releaseMouse" access="public" return="void" id="0"/> + <qmethod name="grabKeyboard" access="public" return="void" id="0"/> + <qmethod name="releaseKeyboard" access="public" return="void" id="0"/> + <qmethod name="isUpdatesEnabled" access="public" return="bool" id="0"/> + <qmethod name="repaintUnclipped" access="public" return="void" id="0"> + <qparam type="QRegionamp" name="arg1"/> + <qparam type="bool" name="erase" default="TRUE"/> + </qmethod> + <qmethod name="close" access="public" return="bool" id="0"> + <qparam type="bool" name="alsoDelete"/> + </qmethod> + <qmethod name="isVisible" access="public" return="bool" id="0"/> + <qmethod name="isVisibleTo" access="public" return="bool" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="isVisibleToTLW" access="public" return="bool" id="0"/> + <qmethod name="visibleRect" access="public" return="QRect" id="0"/> + <qmethod name="isHidden" access="public" return="bool" id="0"/> + <qmethod name="isMinimized" access="public" return="bool" id="0"/> + <qmethod name="isMaximized" access="public" return="bool" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="sizePolicy" access="public" return="QSizePolicy" id="0"/> + <qmethod name="setSizePolicy" access="public" return="void" id="0"> + <qparam type="QSizePolicy" name="arg1"/> + </qmethod> + <qmethod name="setSizePolicy" access="public" return="void" id="1"> + <qparam type="SizeType" name="hor"/> + <qparam type="SizeType" name="ver"/> + <qparam type="bool" name="hfw" default="FALSE"/> + </qmethod> + <qmethod name="heightForWidth" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="adjustSize" access="public" return="void" id="0"/> + <qmethod name="layout" access="public" return="QLayout*" id="0"/> + <qmethod name="updateGeometry" access="public" return="void" id="0"/> + <qmethod name="reparent" access="public" return="void" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="WFlags" name="arg1"/> + <qparam type="QPointamp" name="arg2"/> + <qparam type="bool" name="showIt" default="FALSE"/> + </qmethod> + <qmethod name="reparent" access="public" return="void" id="1"> + <qparam type="QWidget*" name="parent"/> + <qparam type="QPointamp" name="arg1"/> + <qparam type="bool" name="showIt" default="FALSE"/> + </qmethod> + <qmethod name="recreate" access="public" return="void" id="0"> + <qparam type="QWidget*" name="parent"/> + <qparam type="WFlags" name="f"/> + <qparam type="QPointamp" name="p"/> + <qparam type="bool" name="showIt" default="FALSE"/> + </qmethod> + <qmethod name="erase" access="public" return="void" id="0"/> + <qmethod name="erase" access="public" return="void" id="1"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="erase" access="public" return="void" id="2"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="erase" access="public" return="void" id="3"> + <qparam type="QRegionamp" name="arg1"/> + </qmethod> + <qmethod name="scroll" access="public" return="void" id="0"> + <qparam type="int" name="dx"/> + <qparam type="int" name="dy"/> + </qmethod> + <qmethod name="scroll" access="public" return="void" id="1"> + <qparam type="int" name="dx"/> + <qparam type="int" name="dy"/> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="drawText" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="drawText" access="public" return="void" id="1"> + <qparam type="QPointamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="focusWidget" access="public" return="QWidget*" id="0"/> + <qmethod name="microFocusHint" access="public" return="QRect" id="0"/> + <qmethod name="acceptDrops" access="public" return="bool" id="0"/> + <qmethod name="setAcceptDrops" access="public" return="void" id="0"> + <qparam type="bool" name="on"/> + </qmethod> + <qmethod name="setAutoMask" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="autoMask" access="public" return="bool" id="0"/> + <qmethod name="setBackgroundOrigin" access="public" return="void" id="0"> + <qparam type="BackgroundOrigin" name="arg1"/> + </qmethod> + <qmethod name="backgroundOrigin" access="public" return="BackgroundOrigin" +id="0"/> + <qmethod name="customWhatsThis" access="public" return="bool" id="0"/> + <qmethod name="parentWidget" access="public" return="QWidget*" id="0"> + <qparam type="bool" name="sameWindow" default="FALSE"/> + </qmethod> + <qmethod name="testWState" access="public" return="WState" id="0"> + <qparam type="WState" name="s"/> + </qmethod> + <qmethod name="testWFlags" access="public" return="WFlags" id="0"> + <qparam type="WFlags" name="f"/> + </qmethod> + <qmethod name="childAt" access="public" return="QWidget*" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="bool" name="includeThis" default="FALSE"/> + </qmethod> + <qmethod name="childAt" access="public" return="QWidget*" id="1"> + <qparam type="QPointamp" name="arg1"/> + <qparam type="bool" name="includeThis" default="FALSE"/> + </qmethod> + <qmethod name="graphicsContext" access="public" return="QGfx*" id="0"> + <qparam type="bool" name="clip_children" default="TRUE"/> + </qmethod> + <qmethod name="clippedRegion" access="public" return="QRegion" id="0"> + <qparam type="bool" name="do_children" default="TRUE"/> + </qmethod> + <qmethod name="clippedSerial" access="public" return="uint" id="0"> + <qparam type="bool" name="do_children" default="TRUE"/> + </qmethod> + <qmethod name="macCGContext" access="public" return="CGContextRef" id="0"> + <qparam type="bool" name="clipped" default="TRUE"/> + </qmethod> + <qmethod name="setPalette" access="public" return="void" id="1"> + <qparam type="QPaletteamp" name="p"/> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setFont" access="public" return="void" id="1"> + <qparam type="QFontamp" name="f"/> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setDisabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setCaption" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setIcon" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="arg1"/> + </qmethod> + <qmethod name="setIconText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setMouseTracking" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="setFocus" access="public" return="void" id="0"/> + <qmethod name="clearFocus" access="public" return="void" id="0"/> + <qmethod name="setUpdatesEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="update" access="public" return="void" id="0"/> + <qmethod name="update" access="public" return="void" id="1"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="update" access="public" return="void" id="2"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="repaint" access="public" return="void" id="0"/> + <qmethod name="repaint" access="public" return="void" id="1"> + <qparam type="bool" name="erase"/> + </qmethod> + <qmethod name="repaint" access="public" return="void" id="2"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="bool" name="erase" default="TRUE"/> + </qmethod> + <qmethod name="repaint" access="public" return="void" id="3"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="bool" name="erase" default="TRUE"/> + </qmethod> + <qmethod name="repaint" access="public" return="void" id="4"> + <qparam type="QRegionamp" name="arg1"/> + <qparam type="bool" name="erase" default="TRUE"/> + </qmethod> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="hide" access="public" return="void" id="0"/> + <qmethod name="iconify" access="public" return="void" id="0"/> + <qmethod name="showMinimized" access="public" return="void" id="0"/> + <qmethod name="showMaximized" access="public" return="void" id="0"/> + <qmethod name="showFullScreen" access="public" return="void" id="0"/> + <qmethod name="showNormal" access="public" return="void" id="0"/> + <qmethod name="polish" access="public" return="void" id="0"/> + <qmethod name="constPolish" access="public" return="void" id="0"/> + <qmethod name="close" access="public" return="bool" id="1"/> + <qmethod name="raise" access="public" return="void" id="0"/> + <qmethod name="lower" access="public" return="void" id="0"/> + <qmethod name="stackUnder" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="move" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + </qmethod> + <qmethod name="move" access="public" return="void" id="1"> + <qparam type="QPointamp" name="arg1"/> + </qmethod> + <qmethod name="resize" access="public" return="void" id="0"> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="resize" access="public" return="void" id="1"> + <qparam type="QSizeamp" name="arg1"/> + </qmethod> + <qmethod name="setGeometry" access="public" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + </qmethod> + <qmethod name="setGeometry" access="public" return="void" id="1"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="setTabOrder" access="public static" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QWidget*" name="arg2"/> + </qmethod> + <qmethod name="mouseGrabber" access="public static" return="QWidget*" id="0"/> + <qmethod name="keyboardGrabber" access="public static" return="QWidget*" +id="0"/> + <qmethod name="find" access="public static" return="QWidget*" id="0"> + <qparam type="WId" name="arg1"/> + </qmethod> + <qmethod name="wmapper" access="public static" return="QWidgetMapper*" id="0"/> + <qmethod name="protected_event" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="arg1"/> + </qmethod> + <qmethod name="protected_scanLine" access="protected" return="unsigned char*" +id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="protected_bytesPerLine" access="protected" return="int" id="0"/> + <qmethod name="protected_updateMask" access="protected" return="void" id="0"/> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_enabledChange" access="protected" return="void" id="0"> + <qparam type="bool" name="oldEnabled"/> + </qmethod> + <qmethod name="protected_paletteChange" access="protected" return="void" id="0"> + <qparam type="QPaletteamp" name="arg1"/> + </qmethod> + <qmethod name="protected_fontChange" access="protected" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="protected_windowActivationChange" access="protected" +return="void" id="0"> + <qparam type="bool" name="oldActive"/> + </qmethod> + <qmethod name="protected_metric" access="protected" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="protected_resetInputContext" access="protected" return="void" +id="0"/> + <qmethod name="protected_create" access="protected" return="void" id="0"> + <qparam type="WId" name="arg1" default="0"/> + <qparam type="bool" name="initializeWindow" default="TRUE"/> + <qparam type="bool" name="destroyOldWindow" default="TRUE"/> + </qmethod> + <qmethod name="protected_destroy" access="protected" return="void" id="0"> + <qparam type="bool" name="destroyWindow" default="TRUE"/> + <qparam type="bool" name="destroySubWindows" default="TRUE"/> + </qmethod> + <qmethod name="protected_getWState" access="protected" return="uint" id="0"/> + <qmethod name="protected_setWState" access="protected" return="void" id="0"> + <qparam type="uint" name="arg1"/> + </qmethod> + <qmethod name="protected_clearWState" access="protected" return="void" id="0"> + <qparam type="uint" name="n"/> + </qmethod> + <qmethod name="protected_getWFlags" access="protected" return="WFlags" id="0"/> + <qmethod name="protected_setWFlags" access="protected" return="void" id="0"> + <qparam type="WFlags" name="arg1"/> + </qmethod> + <qmethod name="protected_clearWFlags" access="protected" return="void" id="0"> + <qparam type="WFlags" name="n"/> + </qmethod> + <qmethod name="protected_focusNextPrevChild" access="protected" return="bool" +id="0"> + <qparam type="bool" name="next"/> + </qmethod> + <qmethod name="protected_extraData" access="protected" return="QWExtra*" +id="0"/> + <qmethod name="protected_topData" access="protected" return="QTLWExtra*" +id="0"/> + <qmethod name="protected_focusData" access="protected" return="QFocusData*" +id="0"/> + <qmethod name="protected_setKeyCompression" access="protected" return="void" +id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_setMicroFocusHint" access="protected" return="void" id="0"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="bool" name="text" default="TRUE"/> + <qparam type="QFont*" name="f" default="0"/> + </qmethod> + <qmethod name="protected_dirtyClippedRegion" access="protected" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_isClippedRegionDirty" access="protected" return="bool" id="0"/> +</qtype> <qtype name="QWidgetFactory" access="public"> + <qctor name="QWidgetFactory" access="public" id="0"/> + <qdctor name="QWidgetFactory" access="public"/> + <qmethod name="createWidget" access="public" return="QWidget*" id="0"> + <qparam type="QStringamp" name="className"/> + <qparam type="QWidget*" name="parent"/> + <qparam type="char*" name="name"/> + </qmethod> + <qmethod name="create" access="public static" return="QWidget*" id="0"> + <qparam type="char*" name="uiFile"/> + <qparam type="QObject*" name="connector" default="0"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qmethod> + <qmethod name="create" access="public static" return="QWidget*" id="1"> + <qparam type="QIODevice*" name="dev"/> + <qparam type="QObject*" name="connector" default="0"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qmethod> + <qmethod name="addWidgetFactory" access="public static" return="void" id="0"> + <qparam type="QWidgetFactory*" name="factory"/> + </qmethod> + <qmethod name="loadImages" access="public static" return="void" id="0"> + <qparam type="QStringamp" name="dir"/> + </qmethod> +</qtype> <qtype name="QWidgetIntDict" access="public"> + <qancestor name="QIntDict"/> + <qdctor name="QWidgetIntDict" access="public"/> +</qtype> <qtype name="QWidgetIntDictIt" access="public"> + <qancestor name="QIntDictIterator"/> +</qtype> <qtype name="QWidgetItem" access="public"> + <qancestor name="QLayoutItem"/> + <qctor name="QWidgetItem" access="public" id="0"> + <qparam type="QWidget*" name="w"/> + </qctor> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSize" access="public" return="QSize" id="0"/> + <qmethod name="maximumSize" access="public" return="QSize" id="0"/> + <qmethod name="expanding" access="public" return="QSizePolicy::ExpandData" +id="0"/> + <qmethod name="isEmpty" access="public" return="bool" id="0"/> + <qmethod name="setGeometry" access="public" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="geometry" access="public" return="QRect" id="0"/> + <qmethod name="widget" access="public" return="QWidget*" id="0"/> + <qmethod name="hasHeightForWidth" access="public" return="bool" id="0"/> + <qmethod name="heightForWidth" access="public" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="widgetSizeHint" access="public" return="QSizeamp" id="0"/> +</qtype> <qtype name="QWidgetList" access="public"> + <qancestor name="QPtrList"/> + <qdctor name="QWidgetList" access="public"/> +</qtype> <qtype name="QWidgetListIt" access="public"> + <qancestor name="QPtrListIterator"/> +</qtype> <qtype name="QWidgetPlugin" access="public"> + <qancestor name="QGPlugin"/> + <qdctor name="QWidgetPlugin" access="public"/> + <qmethod name="keys" access="public" return="QStringList" id="0"/> + <qmethod name="create" access="public" return="QWidget*" id="0"> + <qparam type="QStringamp" name="key"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qmethod> + <qmethod name="group" access="public" return="QString" id="0"> + <qparam type="QStringamp" name="key"/> + </qmethod> + <qmethod name="iconSet" access="public" return="QIconSet" id="0"> + <qparam type="QStringamp" name="key"/> + </qmethod> + <qmethod name="includeFile" access="public" return="QString" id="0"> + <qparam type="QStringamp" name="key"/> + </qmethod> + <qmethod name="toolTip" access="public" return="QString" id="0"> + <qparam type="QStringamp" name="key"/> + </qmethod> + <qmethod name="whatsThis" access="public" return="QString" id="0"> + <qparam type="QStringamp" name="key"/> + </qmethod> + <qmethod name="isContainer" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="key"/> + </qmethod> +</qtype> <qtype name="QWidgetStack" access="public"> + <qancestor name="QFrame"/> + <qctor name="QWidgetStack" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QWidgetStack" access="public"/> + <qmethod name="addWidget" access="public" return="int" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="int" name="arg2" default="-1"/> + </qmethod> + <qmethod name="removeWidget" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="widget" access="public" return="QWidget*" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="id" access="public" return="int" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="visibleWidget" access="public" return="QWidget*" id="0"/> + <qmethod name="setFrameRect" access="public" return="void" id="0"> + <qparam type="QRectamp" name="arg1"/> + </qmethod> + <qmethod name="raiseWidget" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="raiseWidget" access="public" return="void" id="1"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="protected_frameChanged" access="protected" return="void" id="0"/> + <qmethod name="protected_setChildGeometries" access="protected" return="void" +id="0"/> +</qtype> <qtype name="QWindowsMime" access="public"> + <qdctor name="QWindowsMime" access="public"/> + <qmethod name="convertorName" access="public" return="char*" id="0"/> + <qmethod name="countCf" access="public" return="int" id="0"/> + <qmethod name="cf" access="public" return="int" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="canConvert" access="public" return="bool" id="0"> + <qparam type="char*" name="mime"/> + <qparam type="int" name="cf"/> + </qmethod> + <qmethod name="mimeFor" access="public" return="char*" id="0"> + <qparam type="int" name="cf"/> + </qmethod> + <qmethod name="cfFor" access="public" return="int" id="0"> + <qparam type="char*" name="arg1"/> + </qmethod> + <qmethod name="convertToMime" access="public" return="QByteArray" id="0"> + <qparam type="QByteArray" name="data"/> + <qparam type="char*" name="mime"/> + <qparam type="int" name="cf"/> + </qmethod> + <qmethod name="convertFromMime" access="public" return="QByteArray" id="0"> + <qparam type="QByteArray" name="data"/> + <qparam type="char*" name="mime"/> + <qparam type="int" name="cf"/> + </qmethod> + <qmethod name="initialize" access="public static" return="void" id="0"/> + <qmethod name="convertor" access="public static" return="QWindowsMime*" id="0"> + <qparam type="char*" name="mime"/> + <qparam type="int" name="cf"/> + </qmethod> + <qmethod name="cfToMime" access="public static" return="char*" id="0"> + <qparam type="int" name="cf"/> + </qmethod> + <qmethod name="registerMimeType" access="public static" return="int" id="0"> + <qparam type="char*" name="mime"/> + </qmethod> +</qtype> <qtype name="QWindowsStyle" access="public"> + <qancestor name="QCommonStyle"/> + <qctor name="QWindowsStyle" access="public" id="0"/> + <qdctor name="QWindowsStyle" access="public"/> + <qmethod name="polishPopupMenu" access="public" return="void" id="0"> + <qparam type="QPopupMenu*" name="arg1"/> + </qmethod> + <qmethod name="drawPrimitive" access="public" return="void" id="0"> + <qparam type="PrimitiveElement" name="pe"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="flags" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawControl" access="public" return="void" id="0"> + <qparam type="ControlElement" name="element"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="flags" default="Style_Default"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="drawComplexControl" access="public" return="void" id="0"> + <qparam type="ComplexControl" name="control"/> + <qparam type="QPainter*" name="p"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QRectamp" name="r"/> + <qparam type="QColorGroupamp" name="cg"/> + <qparam type="SFlags" name="flags" default="Style_Default"/> + <qparam type="SCFlags" name="sub" default="SC_All"/> + <qparam type="SCFlags" name="subActive" default="SC_None"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="pixelMetric" access="public" return="int" id="0"> + <qparam type="PixelMetric" name="metric"/> + <qparam type="QWidget*" name="widget" default="0"/> + </qmethod> + <qmethod name="sizeFromContents" access="public" return="QSize" id="0"> + <qparam type="ContentsType" name="contents"/> + <qparam type="QWidget*" name="widget"/> + <qparam type="QSizeamp" name="contentsSize"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> + <qmethod name="styleHint" access="public" return="int" id="0"> + <qparam type="StyleHint" name="sh"/> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QStyleOptionamp" name="arg2" default="QStyleOption::Default"/> + <qparam type="QStyleHintReturn*" name="arg3" default="0"/> + </qmethod> + <qmethod name="stylePixmap" access="public" return="QPixmap" id="0"> + <qparam type="StylePixmap" name="stylepixmap"/> + <qparam type="QWidget*" name="widget" default="0"/> + <qparam type="QStyleOptionamp" name="arg1" default="QStyleOption::Default"/> + </qmethod> +</qtype> <qtype name="QWizard" access="public"> + <qancestor name="QDialog"/> + <qctor name="QWizard" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + <qparam type="bool" name="modal" default="FALSE"/> + <qparam type="WFlags" name="f" default="0"/> + </qctor> + <qdctor name="QWizard" access="public"/> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="font"/> + </qmethod> + <qmethod name="addPage" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="insertPage" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="int" name="arg3"/> + </qmethod> + <qmethod name="removePage" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="title" access="public" return="QString" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="setTitle" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="titleFont" access="public" return="QFont" id="0"/> + <qmethod name="setTitleFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="arg1"/> + </qmethod> + <qmethod name="showPage" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="currentPage" access="public" return="QWidget*" id="0"/> + <qmethod name="page" access="public" return="QWidget*" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="pageCount" access="public" return="int" id="0"/> + <qmethod name="indexOf" access="public" return="int" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="appropriate" access="public" return="bool" id="0"> + <qparam type="QWidget*" name="arg1"/> + </qmethod> + <qmethod name="setAppropriate" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="backButton" access="public" return="QPushButton*" id="0"/> + <qmethod name="nextButton" access="public" return="QPushButton*" id="0"/> + <qmethod name="finishButton" access="public" return="QPushButton*" id="0"/> + <qmethod name="cancelButton" access="public" return="QPushButton*" id="0"/> + <qmethod name="helpButton" access="public" return="QPushButton*" id="0"/> + <qmethod name="eventFilter" access="public" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> + <qmethod name="setBackEnabled" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="setNextEnabled" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="setFinishEnabled" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="setHelpEnabled" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="setFinish" access="public" return="void" id="0"> + <qparam type="QWidget*" name="arg1"/> + <qparam type="bool" name="arg2"/> + </qmethod> + <qmethod name="protected_layOutButtonRow" access="protected" return="void" +id="0"> + <qparam type="QHBoxLayout*" name="arg1"/> + </qmethod> + <qmethod name="protected_layOutTitleRow" access="protected" return="void" +id="0"> + <qparam type="QHBoxLayout*" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="protected_back" access="protected" return="void" id="0"/> + <qmethod name="protected_next" access="protected" return="void" id="0"/> + <qmethod name="protected_help" access="protected" return="void" id="0"/> +</qtype> <qtype name="QWorkspace" access="public"> + <qancestor name="QWidget"/> + <qctor name="QWorkspace" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QWorkspace" access="public"/> + <qmethod name="activeWindow" access="public" return="QWidget*" id="0"/> + <qmethod name="windowList" access="public" return="QWidgetList" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="scrollBarsEnabled" access="public" return="bool" id="0"/> + <qmethod name="setScrollBarsEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="enable"/> + </qmethod> + <qmethod name="setPaletteBackgroundColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="arg1"/> + </qmethod> + <qmethod name="setPaletteBackgroundPixmap" access="public" return="void" id="0"> + <qparam type="QPixmapamp" name="arg1"/> + </qmethod> + <qmethod name="cascade" access="public" return="void" id="0"/> + <qmethod name="tile" access="public" return="void" id="0"/> + <qmethod name="protected_styleChange" access="protected" return="void" id="0"> + <qparam type="QStyleamp" name="arg1"/> + </qmethod> + <qmethod name="protected_eventFilter" access="protected" return="bool" id="0"> + <qparam type="QObject*" name="arg1"/> + <qparam type="QEvent*" name="arg2"/> + </qmethod> +</qtype> <qtype name="QXmlAttributes" access="public"> + <qctor name="QXmlAttributes" access="public" id="0"/> + <qdctor name="QXmlAttributes" access="public"/> + <qmethod name="index" access="public" return="int" id="0"> + <qparam type="QStringamp" name="qName"/> + </qmethod> + <qmethod name="index" access="public" return="int" id="1"> + <qparam type="QStringamp" name="uri"/> + <qparam type="QStringamp" name="localPart"/> + </qmethod> + <qmethod name="length" access="public" return="int" id="0"/> + <qmethod name="count" access="public" return="int" id="0"/> + <qmethod name="localName" access="public" return="QString" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="qName" access="public" return="QString" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="uri" access="public" return="QString" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="type" access="public" return="QString" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="type" access="public" return="QString" id="1"> + <qparam type="QStringamp" name="qName"/> + </qmethod> + <qmethod name="type" access="public" return="QString" id="2"> + <qparam type="QStringamp" name="uri"/> + <qparam type="QStringamp" name="localName"/> + </qmethod> + <qmethod name="value" access="public" return="QString" id="0"> + <qparam type="int" name="index"/> + </qmethod> + <qmethod name="value" access="public" return="QString" id="1"> + <qparam type="QStringamp" name="qName"/> + </qmethod> + <qmethod name="value" access="public" return="QString" id="2"> + <qparam type="QStringamp" name="uri"/> + <qparam type="QStringamp" name="localName"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="append" access="public" return="void" id="0"> + <qparam type="QStringamp" name="qName"/> + <qparam type="QStringamp" name="uri"/> + <qparam type="QStringamp" name="localPart"/> + <qparam type="QStringamp" name="value"/> + </qmethod> +</qtype> <qtype name="QXmlContentHandler" access="public"> + <qmethod name="setDocumentLocator" access="public" return="void" id="0"> + <qparam type="QXmlLocator*" name="locator"/> + </qmethod> + <qmethod name="startDocument" access="public" return="bool" id="0"/> + <qmethod name="endDocument" access="public" return="bool" id="0"/> + <qmethod name="startPrefixMapping" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="prefix"/> + <qparam type="QStringamp" name="uri"/> + </qmethod> + <qmethod name="endPrefixMapping" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="prefix"/> + </qmethod> + <qmethod name="startElement" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="namespaceURI"/> + <qparam type="QStringamp" name="localName"/> + <qparam type="QStringamp" name="qName"/> + <qparam type="QXmlAttributesamp" name="atts"/> + </qmethod> + <qmethod name="endElement" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="namespaceURI"/> + <qparam type="QStringamp" name="localName"/> + <qparam type="QStringamp" name="qName"/> + </qmethod> + <qmethod name="characters" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="ch"/> + </qmethod> + <qmethod name="ignorableWhitespace" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="ch"/> + </qmethod> + <qmethod name="processingInstruction" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="target"/> + <qparam type="QStringamp" name="data"/> + </qmethod> + <qmethod name="skippedEntity" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="errorString" access="public" return="QString" id="0"/> +</qtype> <qtype name="QXmlDTDHandler" access="public"> + <qmethod name="notationDecl" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringamp" name="publicId"/> + <qparam type="QStringamp" name="systemId"/> + </qmethod> + <qmethod name="unparsedEntityDecl" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringamp" name="publicId"/> + <qparam type="QStringamp" name="systemId"/> + <qparam type="QStringamp" name="notationName"/> + </qmethod> + <qmethod name="errorString" access="public" return="QString" id="0"/> +</qtype> <qtype name="QXmlDeclHandler" access="public"> + <qmethod name="attributeDecl" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="eName"/> + <qparam type="QStringamp" name="aName"/> + <qparam type="QStringamp" name="type"/> + <qparam type="QStringamp" name="valueDefault"/> + <qparam type="QStringamp" name="value"/> + </qmethod> + <qmethod name="internalEntityDecl" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringamp" name="value"/> + </qmethod> + <qmethod name="externalEntityDecl" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringamp" name="publicId"/> + <qparam type="QStringamp" name="systemId"/> + </qmethod> + <qmethod name="errorString" access="public" return="QString" id="0"/> +</qtype> <qtype name="QXmlDefaultHandler" access="public"> + <qancestor name="QXmlContentHandler"/> + <qancestor name="QXmlDTDHandler"/> + <qancestor name="QXmlDeclHandler"/> + <qancestor name="QXmlEntityResolver"/> + <qancestor name="QXmlErrorHandler"/> + <qancestor name="QXmlLexicalHandler"/> + <qctor name="QXmlDefaultHandler" access="public" id="0"/> + <qdctor name="QXmlDefaultHandler" access="public"/> + <qmethod name="setDocumentLocator" access="public" return="void" id="0"> + <qparam type="QXmlLocator*" name="locator"/> + </qmethod> + <qmethod name="startDocument" access="public" return="bool" id="0"/> + <qmethod name="endDocument" access="public" return="bool" id="0"/> + <qmethod name="startPrefixMapping" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="prefix"/> + <qparam type="QStringamp" name="uri"/> + </qmethod> + <qmethod name="endPrefixMapping" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="prefix"/> + </qmethod> + <qmethod name="startElement" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="namespaceURI"/> + <qparam type="QStringamp" name="localName"/> + <qparam type="QStringamp" name="qName"/> + <qparam type="QXmlAttributesamp" name="atts"/> + </qmethod> + <qmethod name="endElement" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="namespaceURI"/> + <qparam type="QStringamp" name="localName"/> + <qparam type="QStringamp" name="qName"/> + </qmethod> + <qmethod name="characters" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="ch"/> + </qmethod> + <qmethod name="ignorableWhitespace" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="ch"/> + </qmethod> + <qmethod name="processingInstruction" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="target"/> + <qparam type="QStringamp" name="data"/> + </qmethod> + <qmethod name="skippedEntity" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="warning" access="public" return="bool" id="0"> + <qparam type="QXmlParseExceptionamp" name="exception"/> + </qmethod> + <qmethod name="error" access="public" return="bool" id="0"> + <qparam type="QXmlParseExceptionamp" name="exception"/> + </qmethod> + <qmethod name="fatalError" access="public" return="bool" id="0"> + <qparam type="QXmlParseExceptionamp" name="exception"/> + </qmethod> + <qmethod name="notationDecl" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringamp" name="publicId"/> + <qparam type="QStringamp" name="systemId"/> + </qmethod> + <qmethod name="unparsedEntityDecl" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringamp" name="publicId"/> + <qparam type="QStringamp" name="systemId"/> + <qparam type="QStringamp" name="notationName"/> + </qmethod> + <qmethod name="resolveEntity" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="publicId"/> + <qparam type="QStringamp" name="systemId"/> + <qparam type="QXmlInputSource*amp" name="ret"/> + </qmethod> + <qmethod name="startDTD" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringamp" name="publicId"/> + <qparam type="QStringamp" name="systemId"/> + </qmethod> + <qmethod name="endDTD" access="public" return="bool" id="0"/> + <qmethod name="startEntity" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="endEntity" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="startCDATA" access="public" return="bool" id="0"/> + <qmethod name="endCDATA" access="public" return="bool" id="0"/> + <qmethod name="comment" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="ch"/> + </qmethod> + <qmethod name="attributeDecl" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="eName"/> + <qparam type="QStringamp" name="aName"/> + <qparam type="QStringamp" name="type"/> + <qparam type="QStringamp" name="valueDefault"/> + <qparam type="QStringamp" name="value"/> + </qmethod> + <qmethod name="internalEntityDecl" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringamp" name="value"/> + </qmethod> + <qmethod name="externalEntityDecl" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringamp" name="publicId"/> + <qparam type="QStringamp" name="systemId"/> + </qmethod> + <qmethod name="errorString" access="public" return="QString" id="0"/> +</qtype> <qtype name="QXmlEntityResolver" access="public"> + <qmethod name="resolveEntity" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="publicId"/> + <qparam type="QStringamp" name="systemId"/> + <qparam type="QXmlInputSource*amp" name="ret"/> + </qmethod> + <qmethod name="errorString" access="public" return="QString" id="0"/> +</qtype> <qtype name="QXmlErrorHandler" access="public"> + <qmethod name="warning" access="public" return="bool" id="0"> + <qparam type="QXmlParseExceptionamp" name="exception"/> + </qmethod> + <qmethod name="error" access="public" return="bool" id="0"> + <qparam type="QXmlParseExceptionamp" name="exception"/> + </qmethod> + <qmethod name="fatalError" access="public" return="bool" id="0"> + <qparam type="QXmlParseExceptionamp" name="exception"/> + </qmethod> + <qmethod name="errorString" access="public" return="QString" id="0"/> +</qtype> <qtype name="QXmlInputSource" access="public"> + <qctor name="QXmlInputSource" access="public" id="0"/> + <qctor name="QXmlInputSource" access="public" id="1"> + <qparam type="QIODevice*" name="dev"/> + </qctor> + <qctor name="QXmlInputSource" access="public" id="2"> + <qparam type="QFileamp" name="file"/> + </qctor> + <qctor name="QXmlInputSource" access="public" id="3"> + <qparam type="QTextStreamamp" name="stream"/> + </qctor> + <qdctor name="QXmlInputSource" access="public"/> + <qmethod name="setData" access="public" return="void" id="0"> + <qparam type="QStringamp" name="dat"/> + </qmethod> + <qmethod name="setData" access="public" return="void" id="1"> + <qparam type="QByteArrayamp" name="dat"/> + </qmethod> + <qmethod name="fetchData" access="public" return="void" id="0"/> + <qmethod name="data" access="public" return="QString" id="0"/> + <qmethod name="next" access="public" return="QChar" id="0"/> + <qmethod name="reset" access="public" return="void" id="0"/> + <qmethod name="protected_fromRawData" access="protected" return="QString" +id="0"> + <qparam type="QByteArrayamp" name="data"/> + <qparam type="bool" name="beginning" default="FALSE"/> + </qmethod> +</qtype> <qtype name="QXmlLexicalHandler" access="public"> + <qmethod name="startDTD" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="QStringamp" name="publicId"/> + <qparam type="QStringamp" name="systemId"/> + </qmethod> + <qmethod name="endDTD" access="public" return="bool" id="0"/> + <qmethod name="startEntity" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="endEntity" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="startCDATA" access="public" return="bool" id="0"/> + <qmethod name="endCDATA" access="public" return="bool" id="0"/> + <qmethod name="comment" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="ch"/> + </qmethod> + <qmethod name="errorString" access="public" return="QString" id="0"/> +</qtype> <qtype name="QXmlLocator" access="public"> + <qdctor name="QXmlLocator" access="public"/> + <qmethod name="columnNumber" access="public" return="int" id="0"/> + <qmethod name="lineNumber" access="public" return="int" id="0"/> +</qtype> <qtype name="QXmlNamespaceSupport" access="public"> + <qctor name="QXmlNamespaceSupport" access="public" id="0"/> + <qdctor name="QXmlNamespaceSupport" access="public"/> + <qmethod name="setPrefix" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + </qmethod> + <qmethod name="prefix" access="public" return="QString" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="uri" access="public" return="QString" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="splitName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="QStringamp" name="arg2"/> + <qparam type="QStringamp" name="arg3"/> + </qmethod> + <qmethod name="processName" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="bool" name="arg2"/> + <qparam type="QStringamp" name="arg3"/> + <qparam type="QStringamp" name="arg4"/> + </qmethod> + <qmethod name="prefixes" access="public" return="QStringList" id="0"/> + <qmethod name="prefixes" access="public" return="QStringList" id="1"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="pushContext" access="public" return="void" id="0"/> + <qmethod name="popContext" access="public" return="void" id="0"/> + <qmethod name="reset" access="public" return="void" id="0"/> +</qtype> <qtype name="QXmlParseException" access="public"> + <qctor name="QXmlParseException" access="public" id="0"> + <qparam type="QStringamp" name="name" default="quotquot"/> + <qparam type="int" name="c" default="-1"/> + <qparam type="int" name="l" default="-1"/> + <qparam type="QStringamp" name="p" default="quotquot"/> + <qparam type="QStringamp" name="s" default="quotquot"/> + </qctor> + <qmethod name="columnNumber" access="public" return="int" id="0"/> + <qmethod name="lineNumber" access="public" return="int" id="0"/> + <qmethod name="publicId" access="public" return="QString" id="0"/> + <qmethod name="systemId" access="public" return="QString" id="0"/> + <qmethod name="message" access="public" return="QString" id="0"/> +</qtype> <qtype name="QXmlReader" access="public"> + <qmethod name="feature" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="setFeature" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="bool" name="value"/> + </qmethod> + <qmethod name="hasFeature" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="property" access="public" return="void*" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="setProperty" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="void*" name="value"/> + </qmethod> + <qmethod name="hasProperty" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="setEntityResolver" access="public" return="void" id="0"> + <qparam type="QXmlEntityResolver*" name="handler"/> + </qmethod> + <qmethod name="entityResolver" access="public" return="QXmlEntityResolver*" +id="0"/> + <qmethod name="setDTDHandler" access="public" return="void" id="0"> + <qparam type="QXmlDTDHandler*" name="handler"/> + </qmethod> + <qmethod name="DTDHandler" access="public" return="QXmlDTDHandler*" id="0"/> + <qmethod name="setContentHandler" access="public" return="void" id="0"> + <qparam type="QXmlContentHandler*" name="handler"/> + </qmethod> + <qmethod name="contentHandler" access="public" return="QXmlContentHandler*" +id="0"/> + <qmethod name="setErrorHandler" access="public" return="void" id="0"> + <qparam type="QXmlErrorHandler*" name="handler"/> + </qmethod> + <qmethod name="errorHandler" access="public" return="QXmlErrorHandler*" id="0"/> + <qmethod name="setLexicalHandler" access="public" return="void" id="0"> + <qparam type="QXmlLexicalHandler*" name="handler"/> + </qmethod> + <qmethod name="lexicalHandler" access="public" return="QXmlLexicalHandler*" +id="0"/> + <qmethod name="setDeclHandler" access="public" return="void" id="0"> + <qparam type="QXmlDeclHandler*" name="handler"/> + </qmethod> + <qmethod name="declHandler" access="public" return="QXmlDeclHandler*" id="0"/> + <qmethod name="parse" access="public" return="bool" id="0"> + <qparam type="QXmlInputSourceamp" name="input"/> + </qmethod> + <qmethod name="parse" access="public" return="bool" id="1"> + <qparam type="QXmlInputSource*" name="input"/> + </qmethod> +</qtype> <qtype name="QXmlSimpleReader" access="public"> + <qancestor name="QXmlReader"/> + <qctor name="QXmlSimpleReader" access="public" id="0"/> + <qdctor name="QXmlSimpleReader" access="public"/> + <qmethod name="feature" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="setFeature" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="bool" name="value"/> + </qmethod> + <qmethod name="hasFeature" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="property" access="public" return="void*" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="bool*" name="ok" default="0"/> + </qmethod> + <qmethod name="setProperty" access="public" return="void" id="0"> + <qparam type="QStringamp" name="name"/> + <qparam type="void*" name="value"/> + </qmethod> + <qmethod name="hasProperty" access="public" return="bool" id="0"> + <qparam type="QStringamp" name="name"/> + </qmethod> + <qmethod name="setEntityResolver" access="public" return="void" id="0"> + <qparam type="QXmlEntityResolver*" name="handler"/> + </qmethod> + <qmethod name="entityResolver" access="public" return="QXmlEntityResolver*" +id="0"/> + <qmethod name="setDTDHandler" access="public" return="void" id="0"> + <qparam type="QXmlDTDHandler*" name="handler"/> + </qmethod> + <qmethod name="DTDHandler" access="public" return="QXmlDTDHandler*" id="0"/> + <qmethod name="setContentHandler" access="public" return="void" id="0"> + <qparam type="QXmlContentHandler*" name="handler"/> + </qmethod> + <qmethod name="contentHandler" access="public" return="QXmlContentHandler*" +id="0"/> + <qmethod name="setErrorHandler" access="public" return="void" id="0"> + <qparam type="QXmlErrorHandler*" name="handler"/> + </qmethod> + <qmethod name="errorHandler" access="public" return="QXmlErrorHandler*" id="0"/> + <qmethod name="setLexicalHandler" access="public" return="void" id="0"> + <qparam type="QXmlLexicalHandler*" name="handler"/> + </qmethod> + <qmethod name="lexicalHandler" access="public" return="QXmlLexicalHandler*" +id="0"/> + <qmethod name="setDeclHandler" access="public" return="void" id="0"> + <qparam type="QXmlDeclHandler*" name="handler"/> + </qmethod> + <qmethod name="declHandler" access="public" return="QXmlDeclHandler*" id="0"/> + <qmethod name="parse" access="public" return="bool" id="0"> + <qparam type="QXmlInputSourceamp" name="input"/> + </qmethod> + <qmethod name="parse" access="public" return="bool" id="1"> + <qparam type="QXmlInputSource*" name="input"/> + </qmethod> + <qmethod name="parse" access="public" return="bool" id="2"> + <qparam type="QXmlInputSource*" name="input"/> + <qparam type="bool" name="incremental"/> + </qmethod> + <qmethod name="parseContinue" access="public" return="bool" id="0"/> +</qtype> <qtype name="QXtApplication" access="public"> + <qancestor name="QApplication"/> + <qctor name="QXtApplication" access="public" id="0"> + <qparam type="intamp" name="argc"/> + <qparam type="char**" name="argv"/> + <qparam type="char*" name="appclass" default="0"/> + <qparam type="XrmOptionDescRec*" name="options" default="new IntPtr (0)"/> + <qparam type="int" name="num_options" default="0"/> + </qctor> + <qctor name="QXtApplication" access="public" id="1"> + <qparam type="Display*" name="arg1"/> + <qparam type="HANDLE" name="arg2" default="0"/> + <qparam type="HANDLE" name="arg3" default="0"/> + </qctor> + <qctor name="QXtApplication" access="public" id="2"> + <qparam type="Display*" name="arg1"/> + <qparam type="int" name="arg2"/> + <qparam type="char**" name="arg3"/> + <qparam type="HANDLE" name="arg4" default="0"/> + <qparam type="HANDLE" name="arg5" default="0"/> + </qctor> + <qdctor name="QXtApplication" access="public"/> +</qtype> <qtype name="QXtWidget" access="public"> + <qancestor name="QWidget"/> + <qctor name="QXtWidget" access="public" id="0"> + <qparam type="char*" name="name"/> + <qparam type="Widget" name="parent"/> + <qparam type="bool" name="managed" default="FALSE"/> + </qctor> + <qctor name="QXtWidget" access="public" id="1"> + <qparam type="char*" name="name"/> + <qparam type="WidgetClass" name="widget_class"/> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="ArgList" name="args" default="0"/> + <qparam type="Cardinal" name="num_args" default="0"/> + <qparam type="bool" name="managed" default="FALSE"/> + </qctor> + <qdctor name="QXtWidget" access="public"/> + <qmethod name="xtWidget" access="public" return="Widget" id="0"/> + <qmethod name="isActiveWindow" access="public" return="bool" id="0"/> + <qmethod name="setActiveWindow" access="public" return="void" id="0"/> +</qtype> <qtype name="Qt" access="public"> + <qenum name="ButtonState" access="public"> + <qitem name="NoButton" value="0"/> + <qitem name="LeftButton" value="1"/> + <qitem name="RightButton" value="2"/> + <qitem name="MidButton" value="4"/> + <qitem name="MouseButtonMask" value="255"/> + <qitem name="ShiftButton" value="256"/> + <qitem name="ControlButton" value="512"/> + <qitem name="AltButton" value="1024"/> + <qitem name="MetaButton" value="2048"/> + <qitem name="KeyButtonMask" value="4095"/> + <qitem name="Keypad" value="16384"/> + </qenum> + <qenum name="Orientation" access="public"> + <qitem name="Horizontal" value="0"/> + <qitem name="Vertical" value="1"/> + </qenum> + <qenum name="AlignmentFlags" access="public"> + <qitem name="AlignAuto" value="0"/> + <qitem name="AlignLeft" value="1"/> + <qitem name="AlignRight" value="2"/> + <qitem name="AlignHCenter" value="4"/> + <qitem name="AlignJustify" value="8"/> + <qitem name="AlignHorizontal_Mask" +value="AlignLeft|AlignRight|AlignHCenter|AlignJustify"/> + <qitem name="AlignTop" value="16"/> + <qitem name="AlignBottom" value="32"/> + <qitem name="AlignVCenter" value="64"/> + <qitem name="AlignVertical_Mask" value="AlignTop|AlignBottom|AlignVCenter"/> + <qitem name="AlignCenter" value="AlignVCenter|AlignHCenter"/> + </qenum> + <qenum name="TextFlags" access="public"> + <qitem name="SingleLine" value="128"/> + <qitem name="DontClip" value="256"/> + <qitem name="ExpandTabs" value="512"/> + <qitem name="ShowPrefix" value="1024"/> + <qitem name="WordBreak" value="2048"/> + <qitem name="BreakAnywhere" value="4096"/> + <qitem name="DontPrint" value="8192"/> + <qitem name="NoAccel" value="16384"/> + </qenum> + <qenum name="WidgetState" access="public"> + <qitem name="WState_Created" value="1"/> + <qitem name="WState_Disabled" value="2"/> + <qitem name="WState_Visible" value="4"/> + <qitem name="WState_ForceHide" value="8"/> + <qitem name="WState_OwnCursor" value="16"/> + <qitem name="WState_MouseTracking" value="32"/> + <qitem name="WState_CompressKeys" value="64"/> + <qitem name="WState_BlockUpdates" value="128"/> + <qitem name="WState_InPaintEvent" value="256"/> + <qitem name="WState_Reparented" value="512"/> + <qitem name="WState_ConfigPending" value="1024"/> + <qitem name="WState_Resized" value="2048"/> + <qitem name="WState_AutoMask" value="4096"/> + <qitem name="WState_Polished" value="8192"/> + <qitem name="WState_DND" value="16384"/> + <qitem name="WState_Reserved0" value="32768"/> + <qitem name="WState_Reserved1" value="65536"/> + <qitem name="WState_Reserved2" value="131072"/> + <qitem name="WState_Reserved3" value="262144"/> + <qitem name="WState_Maximized" value="524288"/> + <qitem name="WState_Minimized" value="1048576"/> + <qitem name="WState_ForceDisabled" value="2097152"/> + <qitem name="WState_Exposed" value="4194304"/> + <qitem name="WState_HasMouse" value="8388608"/> + </qenum> + <qenum name="WidgetFlags" access="public"> + <qitem name="WWinOwnDC" value="0"/> + <qitem name="WType_TopLevel" value="1"/> + <qitem name="WType_Dialog" value="2"/> + <qitem name="WType_Popup" value="4"/> + <qitem name="WType_Desktop" value="8"/> + <qitem name="WType_Mask" value="15"/> + <qitem name="WStyle_Customize" value="16"/> + <qitem name="WStyle_NormalBorder" value="32"/> + <qitem name="WStyle_DialogBorder" value="64"/> + <qitem name="WStyle_NoBorder" value="8192"/> + <qitem name="WStyle_Title" value="128"/> + <qitem name="WStyle_SysMenu" value="256"/> + <qitem name="WStyle_Minimize" value="512"/> + <qitem name="WStyle_Maximize" value="1024"/> + <qitem name="WStyle_MinMax" value="WStyle_Minimize|WStyle_Maximize"/> + <qitem name="WStyle_Tool" value="2048"/> + <qitem name="WStyle_StaysOnTop" value="4096"/> + <qitem name="WStyle_ContextHelp" value="16384"/> + <qitem name="WStyle_Reserved" value="32768"/> + <qitem name="WStyle_Mask" value="65520"/> + <qitem name="WDestructiveClose" value="65536"/> + <qitem name="WPaintDesktop" value="131072"/> + <qitem name="WPaintUnclipped" value="262144"/> + <qitem name="WPaintClever" value="524288"/> + <qitem name="WResizeNoErase" value="1048576"/> + <qitem name="WMouseNoMask" value="2097152"/> + <qitem name="WStaticContents" value="4194304"/> + <qitem name="WRepaintNoErase" value="8388608"/> + <qitem name="WX11BypassWM" value="16777216"/> + <qitem name="WGroupLeader" value="33554432"/> + <qitem name="WShowModal" value="67108864"/> + <qitem name="WNoMousePropagation" value="134217728"/> + <qitem name="WSubWindow" value="268435456"/> + <qitem name="WNorthWestGravity" value="WStaticContents"/> + <qitem name="WType_Modal" value="WType_Dialog|WShowModal"/> + <qitem name="WStyle_Dialog" value="WType_Dialog"/> + <qitem name="WStyle_NoBorderEx" value="WStyle_NoBorder"/> + </qenum> + <qenum name="ImageConversionFlags" access="public"> + <qitem name="ColorMode_Mask" value="3"/> + <qitem name="AutoColor" value="0"/> + <qitem name="ColorOnly" value="3"/> + <qitem name="MonoOnly" value="2"/> + <qitem name="AlphaDither_Mask" value="12"/> + <qitem name="ThresholdAlphaDither" value="0"/> + <qitem name="OrderedAlphaDither" value="4"/> + <qitem name="DiffuseAlphaDither" value="8"/> + <qitem name="NoAlpha" value="12"/> + <qitem name="Dither_Mask" value="48"/> + <qitem name="DiffuseDither" value="0"/> + <qitem name="OrderedDither" value="16"/> + <qitem name="ThresholdDither" value="32"/> + <qitem name="DitherMode_Mask" value="192"/> + <qitem name="AutoDither" value="0"/> + <qitem name="PreferDither" value="64"/> + <qitem name="AvoidDither" value="128"/> + </qenum> + <qenum name="BGMode" access="public"> + <qitem name="TransparentMode" value="0"/> + <qitem name="OpaqueMode" value="1"/> + </qenum> + <qenum name="PaintUnit" access="public"> + <qitem name="PixelUnit" value="0"/> + <qitem name="LoMetricUnit" value="1"/> + <qitem name="HiMetricUnit" value="2"/> + <qitem name="LoEnglishUnit" value="3"/> + <qitem name="HiEnglishUnit" value="4"/> + <qitem name="TwipsUnit" value="5"/> + </qenum> + <qenum name="GUIStyle" access="public"> + <qitem name="WindowsStyle" value="1"/> + <qitem name="MotifStyle" value="4"/> + </qenum> + <qenum name="GUIStyle" access="public"> + <qitem name="MacStyle" value="0"/> + <qitem name="WindowsStyle" value="1"/> + <qitem name="Win3Style" value="2"/> + <qitem name="PMStyle" value="3"/> + <qitem name="MotifStyle" value="4"/> + </qenum> + <qenum name="Modifier" access="public"> + <qitem name="SHIFT" value="2097152"/> + <qitem name="CTRL" value="4194304"/> + <qitem name="ALT" value="8388608"/> + <qitem name="MODIFIER_MASK" value="14680064"/> + <qitem name="UNICODE_ACCEL" value="268435456"/> + <qitem name="ASCII_ACCEL" value="UNICODE_ACCEL"/> + </qenum> + <qenum name="Key" access="public"> + <qitem name="Key_Escape" value="4096"/> + <qitem name="Key_Tab" value="4097"/> + <qitem name="Key_Backtab" value="4098"/> + <qitem name="Key_BackTab" value="Key_Backtab"/> + <qitem name="Key_Backspace" value="4099"/> + <qitem name="Key_BackSpace" value="Key_Backspace"/> + <qitem name="Key_Return" value="4100"/> + <qitem name="Key_Enter" value="4101"/> + <qitem name="Key_Insert" value="4102"/> + <qitem name="Key_Delete" value="4103"/> + <qitem name="Key_Pause" value="4104"/> + <qitem name="Key_Print" value="4105"/> + <qitem name="Key_SysReq" value="4106"/> + <qitem name="Key_Home" value="4112"/> + <qitem name="Key_End" value="4113"/> + <qitem name="Key_Left" value="4114"/> + <qitem name="Key_Up" value="4115"/> + <qitem name="Key_Right" value="4116"/> + <qitem name="Key_Down" value="4117"/> + <qitem name="Key_Prior" value="4118"/> + <qitem name="Key_PageUp" value="Key_Prior"/> + <qitem name="Key_Next" value="4119"/> + <qitem name="Key_PageDown" value="Key_Next"/> + <qitem name="Key_Shift" value="4128"/> + <qitem name="Key_Control" value="4129"/> + <qitem name="Key_Meta" value="4130"/> + <qitem name="Key_Alt" value="4131"/> + <qitem name="Key_CapsLock" value="4132"/> + <qitem name="Key_NumLock" value="4133"/> + <qitem name="Key_ScrollLock" value="4134"/> + <qitem name="Key_F1" value="4144"/> + <qitem name="Key_F2" value="4145"/> + <qitem name="Key_F3" value="4146"/> + <qitem name="Key_F4" value="4147"/> + <qitem name="Key_F5" value="4148"/> + <qitem name="Key_F6" value="4149"/> + <qitem name="Key_F7" value="4150"/> + <qitem name="Key_F8" value="4151"/> + <qitem name="Key_F9" value="4152"/> + <qitem name="Key_F10" value="4153"/> + <qitem name="Key_F11" value="4154"/> + <qitem name="Key_F12" value="4155"/> + <qitem name="Key_F13" value="4156"/> + <qitem name="Key_F14" value="4157"/> + <qitem name="Key_F15" value="4158"/> + <qitem name="Key_F16" value="4159"/> + <qitem name="Key_F17" value="4160"/> + <qitem name="Key_F18" value="4161"/> + <qitem name="Key_F19" value="4162"/> + <qitem name="Key_F20" value="4163"/> + <qitem name="Key_F21" value="4164"/> + <qitem name="Key_F22" value="4165"/> + <qitem name="Key_F23" value="4166"/> + <qitem name="Key_F24" value="4167"/> + <qitem name="Key_F25" value="4168"/> + <qitem name="Key_F26" value="4169"/> + <qitem name="Key_F27" value="4170"/> + <qitem name="Key_F28" value="4171"/> + <qitem name="Key_F29" value="4172"/> + <qitem name="Key_F30" value="4173"/> + <qitem name="Key_F31" value="4174"/> + <qitem name="Key_F32" value="4175"/> + <qitem name="Key_F33" value="4176"/> + <qitem name="Key_F34" value="4177"/> + <qitem name="Key_F35" value="4178"/> + <qitem name="Key_Super_L" value="4179"/> + <qitem name="Key_Super_R" value="4180"/> + <qitem name="Key_Menu" value="4181"/> + <qitem name="Key_Hyper_L" value="4182"/> + <qitem name="Key_Hyper_R" value="4183"/> + <qitem name="Key_Help" value="4184"/> + <qitem name="Key_Direction_L" value="4185"/> + <qitem name="Key_Direction_R" value="4192"/> + <qitem name="Key_Space" value="32"/> + <qitem name="Key_Any" value="Key_Space"/> + <qitem name="Key_Exclam" value="33"/> + <qitem name="Key_QuoteDbl" value="34"/> + <qitem name="Key_NumberSign" value="35"/> + <qitem name="Key_Dollar" value="36"/> + <qitem name="Key_Percent" value="37"/> + <qitem name="Key_Ampersand" value="38"/> + <qitem name="Key_Apostrophe" value="39"/> + <qitem name="Key_ParenLeft" value="40"/> + <qitem name="Key_ParenRight" value="41"/> + <qitem name="Key_Asterisk" value="42"/> + <qitem name="Key_Plus" value="43"/> + <qitem name="Key_Comma" value="44"/> + <qitem name="Key_Minus" value="45"/> + <qitem name="Key_Period" value="46"/> + <qitem name="Key_Slash" value="47"/> + <qitem name="Key_0" value="48"/> + <qitem name="Key_1" value="49"/> + <qitem name="Key_2" value="50"/> + <qitem name="Key_3" value="51"/> + <qitem name="Key_4" value="52"/> + <qitem name="Key_5" value="53"/> + <qitem name="Key_6" value="54"/> + <qitem name="Key_7" value="55"/> + <qitem name="Key_8" value="56"/> + <qitem name="Key_9" value="57"/> + <qitem name="Key_Colon" value="58"/> + <qitem name="Key_Semicolon" value="59"/> + <qitem name="Key_Less" value="60"/> + <qitem name="Key_Equal" value="61"/> + <qitem name="Key_Greater" value="62"/> + <qitem name="Key_Question" value="63"/> + <qitem name="Key_At" value="64"/> + <qitem name="Key_A" value="65"/> + <qitem name="Key_B" value="66"/> + <qitem name="Key_C" value="67"/> + <qitem name="Key_D" value="68"/> + <qitem name="Key_E" value="69"/> + <qitem name="Key_F" value="70"/> + <qitem name="Key_G" value="71"/> + <qitem name="Key_H" value="72"/> + <qitem name="Key_I" value="73"/> + <qitem name="Key_J" value="74"/> + <qitem name="Key_K" value="75"/> + <qitem name="Key_L" value="76"/> + <qitem name="Key_M" value="77"/> + <qitem name="Key_N" value="78"/> + <qitem name="Key_O" value="79"/> + <qitem name="Key_P" value="80"/> + <qitem name="Key_Q" value="81"/> + <qitem name="Key_R" value="82"/> + <qitem name="Key_S" value="83"/> + <qitem name="Key_T" value="84"/> + <qitem name="Key_U" value="85"/> + <qitem name="Key_V" value="86"/> + <qitem name="Key_W" value="87"/> + <qitem name="Key_X" value="88"/> + <qitem name="Key_Y" value="89"/> + <qitem name="Key_Z" value="90"/> + <qitem name="Key_BracketLeft" value="91"/> + <qitem name="Key_Backslash" value="92"/> + <qitem name="Key_BracketRight" value="93"/> + <qitem name="Key_AsciiCircum" value="94"/> + <qitem name="Key_Underscore" value="95"/> + <qitem name="Key_QuoteLeft" value="96"/> + <qitem name="Key_BraceLeft" value="123"/> + <qitem name="Key_Bar" value="124"/> + <qitem name="Key_BraceRight" value="125"/> + <qitem name="Key_AsciiTilde" value="126"/> + <qitem name="Key_nobreakspace" value="160"/> + <qitem name="Key_exclamdown" value="161"/> + <qitem name="Key_cent" value="162"/> + <qitem name="Key_sterling" value="163"/> + <qitem name="Key_currency" value="164"/> + <qitem name="Key_yen" value="165"/> + <qitem name="Key_brokenbar" value="166"/> + <qitem name="Key_section" value="167"/> + <qitem name="Key_diaeresis" value="168"/> + <qitem name="Key_copyright" value="169"/> + <qitem name="Key_ordfeminine" value="170"/> + <qitem name="Key_guillemotleft" value="171"/> + <qitem name="Key_notsign" value="172"/> + <qitem name="Key_hyphen" value="173"/> + <qitem name="Key_registered" value="174"/> + <qitem name="Key_macron" value="175"/> + <qitem name="Key_degree" value="176"/> + <qitem name="Key_plusminus" value="177"/> + <qitem name="Key_twosuperior" value="178"/> + <qitem name="Key_threesuperior" value="179"/> + <qitem name="Key_acute" value="180"/> + <qitem name="Key_mu" value="181"/> + <qitem name="Key_paragraph" value="182"/> + <qitem name="Key_periodcentered" value="183"/> + <qitem name="Key_cedilla" value="184"/> + <qitem name="Key_onesuperior" value="185"/> + <qitem name="Key_masculine" value="186"/> + <qitem name="Key_guillemotright" value="187"/> + <qitem name="Key_onequarter" value="188"/> + <qitem name="Key_onehalf" value="189"/> + <qitem name="Key_threequarters" value="190"/> + <qitem name="Key_questiondown" value="191"/> + <qitem name="Key_Agrave" value="192"/> + <qitem name="Key_Aacute" value="193"/> + <qitem name="Key_Acircumflex" value="194"/> + <qitem name="Key_Atilde" value="195"/> + <qitem name="Key_Adiaeresis" value="196"/> + <qitem name="Key_Aring" value="197"/> + <qitem name="Key_AE" value="198"/> + <qitem name="Key_Ccedilla" value="199"/> + <qitem name="Key_Egrave" value="200"/> + <qitem name="Key_Eacute" value="201"/> + <qitem name="Key_Ecircumflex" value="202"/> + <qitem name="Key_Ediaeresis" value="203"/> + <qitem name="Key_Igrave" value="204"/> + <qitem name="Key_Iacute" value="205"/> + <qitem name="Key_Icircumflex" value="206"/> + <qitem name="Key_Idiaeresis" value="207"/> + <qitem name="Key_ETH" value="208"/> + <qitem name="Key_Ntilde" value="209"/> + <qitem name="Key_Ograve" value="210"/> + <qitem name="Key_Oacute" value="211"/> + <qitem name="Key_Ocircumflex" value="212"/> + <qitem name="Key_Otilde" value="213"/> + <qitem name="Key_Odiaeresis" value="214"/> + <qitem name="Key_multiply" value="215"/> + <qitem name="Key_Ooblique" value="216"/> + <qitem name="Key_Ugrave" value="217"/> + <qitem name="Key_Uacute" value="218"/> + <qitem name="Key_Ucircumflex" value="219"/> + <qitem name="Key_Udiaeresis" value="220"/> + <qitem name="Key_Yacute" value="221"/> + <qitem name="Key_THORN" value="222"/> + <qitem name="Key_ssharp" value="223"/> + <qitem name="Key_agrave" value="224"/> + <qitem name="Key_aacute" value="225"/> + <qitem name="Key_acircumflex" value="226"/> + <qitem name="Key_atilde" value="227"/> + <qitem name="Key_adiaeresis" value="228"/> + <qitem name="Key_aring" value="229"/> + <qitem name="Key_ae" value="230"/> + <qitem name="Key_ccedilla" value="231"/> + <qitem name="Key_egrave" value="232"/> + <qitem name="Key_eacute" value="233"/> + <qitem name="Key_ecircumflex" value="234"/> + <qitem name="Key_ediaeresis" value="235"/> + <qitem name="Key_igrave" value="236"/> + <qitem name="Key_iacute" value="237"/> + <qitem name="Key_icircumflex" value="238"/> + <qitem name="Key_idiaeresis" value="239"/> + <qitem name="Key_eth" value="240"/> + <qitem name="Key_ntilde" value="241"/> + <qitem name="Key_ograve" value="242"/> + <qitem name="Key_oacute" value="243"/> + <qitem name="Key_ocircumflex" value="244"/> + <qitem name="Key_otilde" value="245"/> + <qitem name="Key_odiaeresis" value="246"/> + <qitem name="Key_division" value="247"/> + <qitem name="Key_oslash" value="248"/> + <qitem name="Key_ugrave" value="249"/> + <qitem name="Key_uacute" value="250"/> + <qitem name="Key_ucircumflex" value="251"/> + <qitem name="Key_udiaeresis" value="252"/> + <qitem name="Key_yacute" value="253"/> + <qitem name="Key_thorn" value="254"/> + <qitem name="Key_ydiaeresis" value="255"/> + <qitem name="Key_unknown" value="65535"/> + </qenum> + <qenum name="ArrowType" access="public"> + <qitem name="UpArrow" value="0"/> + <qitem name="DownArrow" value="1"/> + <qitem name="LeftArrow" value="2"/> + <qitem name="RightArrow" value="3"/> + </qenum> + <qenum name="RasterOp" access="public"> + <qitem name="CopyROP" value="0"/> + <qitem name="OrROP" value="1"/> + <qitem name="XorROP" value="2"/> + <qitem name="NotAndROP" value="3"/> + <qitem name="EraseROP" value="NotAndROP"/> + <qitem name="NotCopyROP" value="4"/> + <qitem name="NotOrROP" value="5"/> + <qitem name="NotXorROP" value="6"/> + <qitem name="AndROP" value="7"/> + <qitem name="NotEraseROP" value="AndROP"/> + <qitem name="NotROP" value="8"/> + <qitem name="ClearROP" value="9"/> + <qitem name="SetROP" value="10"/> + <qitem name="NopROP" value="11"/> + <qitem name="AndNotROP" value="12"/> + <qitem name="OrNotROP" value="13"/> + <qitem name="NandROP" value="14"/> + <qitem name="NorROP" value="15"/> + <qitem name="LastROP" value="NorROP"/> + </qenum> + <qenum name="PenStyle" access="public"> + <qitem name="NoPen" value="0"/> + <qitem name="SolidLine" value="1"/> + <qitem name="DashLine" value="2"/> + <qitem name="DotLine" value="3"/> + <qitem name="DashDotLine" value="4"/> + <qitem name="DashDotDotLine" value="5"/> + <qitem name="MPenStyle" value="15"/> + </qenum> + <qenum name="PenCapStyle" access="public"> + <qitem name="FlatCap" value="0"/> + <qitem name="SquareCap" value="16"/> + <qitem name="RoundCap" value="32"/> + <qitem name="MPenCapStyle" value="48"/> + </qenum> + <qenum name="PenJoinStyle" access="public"> + <qitem name="MiterJoin" value="0"/> + <qitem name="BevelJoin" value="64"/> + <qitem name="RoundJoin" value="128"/> + <qitem name="MPenJoinStyle" value="192"/> + </qenum> + <qenum name="BrushStyle" access="public"> + <qitem name="NoBrush" value="0"/> + <qitem name="SolidPattern" value="1"/> + <qitem name="Dense1Pattern" value="2"/> + <qitem name="Dense2Pattern" value="3"/> + <qitem name="Dense3Pattern" value="4"/> + <qitem name="Dense4Pattern" value="5"/> + <qitem name="Dense5Pattern" value="6"/> + <qitem name="Dense6Pattern" value="7"/> + <qitem name="Dense7Pattern" value="8"/> + <qitem name="HorPattern" value="9"/> + <qitem name="VerPattern" value="10"/> + <qitem name="CrossPattern" value="11"/> + <qitem name="BDiagPattern" value="12"/> + <qitem name="FDiagPattern" value="13"/> + <qitem name="DiagCrossPattern" value="14"/> + <qitem name="CustomPattern" value="24"/> + </qenum> + <qenum name="WindowsVersion" access="public"> + <qitem name="WV_32s" value="1"/> + <qitem name="WV_95" value="2"/> + <qitem name="WV_98" value="3"/> + <qitem name="WV_Me" value="4"/> + <qitem name="WV_DOS_based" value="15"/> + <qitem name="WV_NT" value="16"/> + <qitem name="WV_2000" value="32"/> + <qitem name="WV_XP" value="48"/> + <qitem name="WV_NT_based" value="240"/> + </qenum> + <qenum name="UIEffect" access="public"> + <qitem name="UI_General" value="0"/> + <qitem name="UI_AnimateMenu" value="1"/> + <qitem name="UI_FadeMenu" value="2"/> + <qitem name="UI_AnimateCombo" value="3"/> + <qitem name="UI_AnimateTooltip" value="4"/> + <qitem name="UI_FadeTooltip" value="5"/> + </qenum> + <qenum name="CursorShape" access="public"> + <qitem name="ArrowCursor" value="0"/> + <qitem name="UpArrowCursor" value="1"/> + <qitem name="CrossCursor" value="2"/> + <qitem name="WaitCursor" value="3"/> + <qitem name="IbeamCursor" value="4"/> + <qitem name="SizeVerCursor" value="5"/> + <qitem name="SizeHorCursor" value="6"/> + <qitem name="SizeBDiagCursor" value="7"/> + <qitem name="SizeFDiagCursor" value="8"/> + <qitem name="SizeAllCursor" value="9"/> + <qitem name="BlankCursor" value="10"/> + <qitem name="SplitVCursor" value="11"/> + <qitem name="SplitHCursor" value="12"/> + <qitem name="PointingHandCursor" value="13"/> + <qitem name="ForbiddenCursor" value="14"/> + <qitem name="WhatsThisCursor" value="15"/> + <qitem name="LastCursor" value="WhatsThisCursor"/> + <qitem name="BitmapCursor" value="24"/> + </qenum> + <qenum name="TextFormat" access="public"> + <qitem name="PlainText" value="0"/> + <qitem name="RichText" value="1"/> + <qitem name="AutoText" value="2"/> + </qenum> + <qenum name="Dock" access="public"> + <qitem name="DockUnmanaged" value="0"/> + <qitem name="DockTornOff" value="1"/> + <qitem name="DockTop" value="2"/> + <qitem name="DockBottom" value="3"/> + <qitem name="DockRight" value="4"/> + <qitem name="DockLeft" value="5"/> + <qitem name="DockMinimized" value="6"/> + <qitem name="Unmanaged" value="DockUnmanaged"/> + <qitem name="TornOff" value="DockTornOff"/> + <qitem name="Top" value="DockTop"/> + <qitem name="Bottom" value="DockBottom"/> + <qitem name="Right" value="DockRight"/> + <qitem name="Left" value="DockLeft"/> + <qitem name="Minimized" value="DockMinimized"/> + </qenum> + <qenum name="DateFormat" access="public"> + <qitem name="TextDate" value="0"/> + <qitem name="ISODate" value="1"/> + <qitem name="LocalDate" value="2"/> + </qenum> + <qenum name="BackgroundMode" access="public"> + <qitem name="FixedColor" value="0"/> + <qitem name="FixedPixmap" value="1"/> + <qitem name="NoBackground" value="2"/> + <qitem name="PaletteForeground" value="3"/> + <qitem name="PaletteButton" value="4"/> + <qitem name="PaletteLight" value="5"/> + <qitem name="PaletteMidlight" value="6"/> + <qitem name="PaletteDark" value="7"/> + <qitem name="PaletteMid" value="8"/> + <qitem name="PaletteText" value="9"/> + <qitem name="PaletteBrightText" value="10"/> + <qitem name="PaletteBase" value="11"/> + <qitem name="PaletteBackground" value="12"/> + <qitem name="PaletteShadow" value="13"/> + <qitem name="PaletteHighlight" value="14"/> + <qitem name="PaletteHighlightedText" value="15"/> + <qitem name="PaletteButtonText" value="16"/> + <qitem name="PaletteLink" value="17"/> + <qitem name="PaletteLinkVisited" value="18"/> + <qitem name="X11ParentRelative" value="19"/> + </qenum> + <qenum name="StringComparisonMode" access="public"> + <qitem name="CaseSensitive" value="1"/> + <qitem name="BeginsWith" value="2"/> + <qitem name="EndsWith" value="4"/> + <qitem name="Contains" value="8"/> + <qitem name="ExactMatch" value="16"/> + </qenum> +</qtype> <qtype name="QtMultiLineEdit" access="public"> + <qancestor name="QtTableView"/> + <qenum name="EchoMode" access="public"> + <qitem name="Normal" value="0"/> + <qitem name="NoEcho" value="1"/> + <qitem name="Password" value="2"/> + </qenum> + <qenum name="WordWrap" access="public"> + <qitem name="NoWrap" value="0"/> + <qitem name="WidgetWidth" value="1"/> + <qitem name="FixedPixelWidth" value="2"/> + <qitem name="FixedColumnWidth" value="3"/> + </qenum> + <qenum name="WrapPolicy" access="public"> + <qitem name="AtWhiteSpace" value="0"/> + <qitem name="Anywhere" value="1"/> + </qenum> + <qctor name="QtMultiLineEdit" access="public" id="0"> + <qparam type="QWidget*" name="parent" default="0"/> + <qparam type="char*" name="name" default="0"/> + </qctor> + <qdctor name="QtMultiLineEdit" access="public"/> + <qmethod name="textLine" access="public" return="QString" id="0"> + <qparam type="int" name="line"/> + </qmethod> + <qmethod name="numLines" access="public" return="int" id="0"/> + <qmethod name="sizeHint" access="public" return="QSize" id="0"/> + <qmethod name="minimumSizeHint" access="public" return="QSize" id="0"/> + <qmethod name="sizePolicy" access="public" return="QSizePolicy" id="0"/> + <qmethod name="setFont" access="public" return="void" id="0"> + <qparam type="QFontamp" name="font"/> + </qmethod> + <qmethod name="insertLine" access="public" return="void" id="0"> + <qparam type="QStringamp" name="s"/> + <qparam type="int" name="line" default="-1"/> + </qmethod> + <qmethod name="insertAt" access="public" return="void" id="0"> + <qparam type="QStringamp" name="s"/> + <qparam type="int" name="line"/> + <qparam type="int" name="col"/> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="removeLine" access="public" return="void" id="0"> + <qparam type="int" name="line"/> + </qmethod> + <qmethod name="cursorPosition" access="public" return="void" id="0"> + <qparam type="int*" name="line"/> + <qparam type="int*" name="col"/> + </qmethod> + <qmethod name="setCursorPosition" access="public" return="void" id="0"> + <qparam type="int" name="line"/> + <qparam type="int" name="col"/> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="getCursorPosition" access="public" return="void" id="0"> + <qparam type="int*" name="line"/> + <qparam type="int*" name="col"/> + </qmethod> + <qmethod name="atBeginning" access="public" return="bool" id="0"/> + <qmethod name="atEnd" access="public" return="bool" id="0"/> + <qmethod name="setFixedVisibleLines" access="public" return="void" id="0"> + <qparam type="int" name="lines"/> + </qmethod> + <qmethod name="maxLineWidth" access="public" return="int" id="0"/> + <qmethod name="setAlignment" access="public" return="void" id="0"> + <qparam type="int" name="flags"/> + </qmethod> + <qmethod name="alignment" access="public" return="int" id="0"/> + <qmethod name="setValidator" access="public" return="void" id="0"> + <qparam type="QValidator*" name="arg1"/> + </qmethod> + <qmethod name="validator" access="public" return="QValidator*" id="0"/> + <qmethod name="setEdited" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="edited" access="public" return="bool" id="0"/> + <qmethod name="cursorWordForward" access="public" return="void" id="0"> + <qparam type="bool" name="mark"/> + </qmethod> + <qmethod name="cursorWordBackward" access="public" return="void" id="0"> + <qparam type="bool" name="mark"/> + </qmethod> + <qmethod name="setEchoMode" access="public" return="void" id="0"> + <qparam type="EchoMode" name="arg1"/> + </qmethod> + <qmethod name="echoMode" access="public" return="EchoMode" id="0"/> + <qmethod name="setMaxLength" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="maxLength" access="public" return="int" id="0"/> + <qmethod name="setMaxLineLength" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="maxLineLength" access="public" return="int" id="0"/> + <qmethod name="setMaxLines" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="maxLines" access="public" return="int" id="0"/> + <qmethod name="setHMargin" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="hMargin" access="public" return="int" id="0"/> + <qmethod name="setSelection" access="public" return="void" id="0"> + <qparam type="int" name="row_from"/> + <qparam type="int" name="col_from"/> + <qparam type="int" name="row_to"/> + <qparam type="int" name="col_t"/> + </qmethod> + <qmethod name="setWordWrap" access="public" return="void" id="0"> + <qparam type="WordWrap" name="mode"/> + </qmethod> + <qmethod name="wordWrap" access="public" return="WordWrap" id="0"/> + <qmethod name="setWrapColumnOrWidth" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="wrapColumnOrWidth" access="public" return="int" id="0"/> + <qmethod name="setWrapPolicy" access="public" return="void" id="0"> + <qparam type="WrapPolicy" name="policy"/> + </qmethod> + <qmethod name="wrapPolicy" access="public" return="WrapPolicy" id="0"/> + <qmethod name="autoUpdate" access="public" return="bool" id="0"/> + <qmethod name="setAutoUpdate" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setUndoEnabled" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="isUndoEnabled" access="public" return="bool" id="0"/> + <qmethod name="setUndoDepth" access="public" return="void" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="undoDepth" access="public" return="int" id="0"/> + <qmethod name="isReadOnly" access="public" return="bool" id="0"/> + <qmethod name="isOverwriteMode" access="public" return="bool" id="0"/> + <qmethod name="text" access="public" return="QString" id="0"/> + <qmethod name="length" access="public" return="int" id="0"/> + <qmethod name="setText" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="setReadOnly" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="setOverwriteMode" access="public" return="void" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="clear" access="public" return="void" id="0"/> + <qmethod name="append" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="deselect" access="public" return="void" id="0"/> + <qmethod name="selectAll" access="public" return="void" id="0"/> + <qmethod name="paste" access="public" return="void" id="0"/> + <qmethod name="pasteSubType" access="public" return="void" id="0"> + <qparam type="QCStringamp" name="subtype"/> + </qmethod> + <qmethod name="copyText" access="public" return="void" id="0"/> + <qmethod name="copy" access="public" return="void" id="0"/> + <qmethod name="cut" access="public" return="void" id="0"/> + <qmethod name="insert" access="public" return="void" id="0"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="undo" access="public" return="void" id="0"/> + <qmethod name="redo" access="public" return="void" id="0"/> + <qmethod name="setDefaultTabStop" access="public static" return="void" id="0"> + <qparam type="int" name="ex"/> + </qmethod> + <qmethod name="defaultTabStop" access="public static" return="int" id="0"/> + <qmethod name="protected_paintCell" access="protected" return="void" id="0"> + <qparam type="QPainter*" name="arg1"/> + <qparam type="int" name="row"/> + <qparam type="int" name="col"/> + </qmethod> + <qmethod name="protected_event" access="protected" return="bool" id="0"> + <qparam type="QEvent*" name="arg1"/> + </qmethod> + <qmethod name="protected_focusNextPrevChild" access="protected" return="bool" id="0"> + <qparam type="bool" name="arg1"/> + </qmethod> + <qmethod name="protected_hasMarkedText" access="protected" return="bool" id="0"/> + <qmethod name="protected_markedText" access="protected" return="QString" id="0"/> + <qmethod name="protected_textWidth" access="protected" return="int" id="0"> + <qparam type="int" name="arg1"/> + </qmethod> + <qmethod name="protected_textWidth" access="protected" return="int" id="1"> + <qparam type="QStringamp" name="arg1"/> + </qmethod> + <qmethod name="protected_cursorPoint" access="protected" return="QPoint" id="0"/> + <qmethod name="protected_insert" access="protected" return="void" id="1"> + <qparam type="QStringamp" name="arg1"/> + <qparam type="bool" name="mark"/> + </qmethod> + <qmethod name="protected_newLine" access="protected" return="void" id="0"/> + <qmethod name="protected_killLine" access="protected" return="void" id="0"/> + <qmethod name="protected_pageUp" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="protected_pageDown" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="protected_cursorLeft" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + <qparam type="bool" name="wrap" default="TRUE"/> + </qmethod> + <qmethod name="protected_cursorRight" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + <qparam type="bool" name="wrap" default="TRUE"/> + </qmethod> + <qmethod name="protected_cursorUp" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="protected_cursorDown" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="protected_backspace" access="protected" return="void" id="0"/> + <qmethod name="protected_del" access="protected" return="void" id="0"/> + <qmethod name="protected_home" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="protected_end" access="protected" return="void" id="0"> + <qparam type="bool" name="mark" default="FALSE"/> + </qmethod> + <qmethod name="protected_getMarkedRegion" access="protected" return="bool" id="0"> + <qparam type="int*" name="line1"/> + <qparam type="int*" name="col1"/> + <qparam type="int*" name="line2"/> + <qparam type="int*" name="col2"/> + </qmethod> + <qmethod name="protected_lineLength" access="protected" return="int" id="0"> + <qparam type="int" name="row"/> + </qmethod> + <qmethod name="protected_getString" access="protected" return="QString*" id="0"> + <qparam type="int" name="row"/> + </qmethod> + <qmethod name="protected_isEndOfParagraph" access="protected" return="bool" id="0"> + <qparam type="int" name="row"/> + </qmethod> + <qmethod name="protected_stringShown" access="protected" return="QString" id="0"> + <qparam type="int" name="row"/> + </qmethod> + <qmethod name="protected_insertChar" access="protected" return="void" id="0"> + <qparam type="QChar" name="arg1"/> + </qmethod> +</qtype> <qtype name="QtTableView" access="public"> + <qancestor name="QFrame"/> + <qmethod name="setBackgroundColor" access="public" return="void" id="0"> + <qparam type="QColoramp" name="arg1"/> + </qmethod> + <qmethod name="setPalette" access="public" return="void" id="0"> + <qparam type="QPaletteamp" name="arg1"/> + </qmethod> + <qmethod name="show" access="public" return="void" id="0"/> + <qmethod name="repaint" access="public" return="void" id="0"> + <qparam type="bool" name="erase" default="TRUE"/> + </qmethod> + <qmethod name="repaint" access="public" return="void" id="1"> + <qparam type="int" name="x"/> + <qparam type="int" name="y"/> + <qparam type="int" name="w"/> + <qparam type="int" name="h"/> + <qparam type="bool" name="erase" default="TRUE"/> + </qmethod> + <qmethod name="repaint" access="public" return="void" id="2"> + <qparam type="QRectamp" name="arg1"/> + <qparam type="bool" name="erase" default="TRUE"/> + </qmethod> +</qtype> +</qtypes> diff --git a/qtsharp/src/bindings/Makefile.am b/qtsharp/src/bindings/Makefile.am new file mode 100644 index 00000000..9732e2ec --- /dev/null +++ b/qtsharp/src/bindings/Makefile.am @@ -0,0 +1,23 @@ +all: Qt.dll + +QWidget.cs: + $(CLI) ../generator/generator.exe -f ../api/qt.xml -d . + +Qt.dll: QWidget.cs $(wildcard *.cs) $(wildcard static/*.cs) + cp static/*.cs . + csant -D$(CSC_NAME)=$(CSC) -C $(CSC_NAME) + +clean: + -rm Qt.dll + +distclean: clean + -rm *.cs + +install: + if ! test -d $(DESTDIR)$(libdir); then $(INSTALL) -d -m 0755 $(DESTDIR)$(libdir); fi + $(INSTALL) -m 0644 Qt.dll $(DESTDIR)$(libdir) + +uninstall: + rm -rf $(libdir)/Qt.dll + +.PHONY: all clean distclean install uninstall diff --git a/qtsharp/src/bindings/qt.build b/qtsharp/src/bindings/qt.build new file mode 100644 index 00000000..46ca68ae --- /dev/null +++ b/qtsharp/src/bindings/qt.build @@ -0,0 +1,493 @@ +<?xml version="1.0"> +<project name="Qt#" default="all"> + <target name="all"> + <compile output="Qt.dll" target="library" optimize="true"> + <arg compiler="cscc" value="-w" /> + <arg compiler="mcs" value="-nowarn:0108" /> + <arg compiler="mcs" value="-nowarn:0114" /> + <arg compiler="csc" value="/nowarn:108" /> + <arg compiler="csc" value="/nowarn:114" /> + <arg compiler="csc" value="/nowarn:0679" /> + <arg compiler="csc" value="/nowarn:0659" /> + <sources> + <!-- FIXME Really need to throttled unneeded classes + this list of four-hundred-plus source files sucks --> + + <file name="AlignmentFlags.cs" /> + <file name="ArrowType.cs" /> + <file name="BGMode.cs" /> + <file name="BackgroundMode.cs" /> + <file name="BrushStyle.cs" /> + <file name="ButtonState.cs" /> + <file name="CursorShape.cs" /> + <file name="DateFormat.cs" /> + <file name="Dock.cs" /> + <file name="GUIStyle.cs" /> + <file name="IQAccessible.cs" /> + <file name="IQIODevice.cs" /> + <file name="IQLayoutItem.cs" /> + <file name="IQMenuData.cs" /> + <file name="IQMimeSource.cs" /> + <file name="IQPaintDevice.cs" /> + <file name="IQRangeControl.cs" /> + <file name="IQShared.cs" /> + <file name="IQUrl.cs" /> + <file name="IQXmlContentHandler.cs" /> + <file name="IQXmlDTDHandler.cs" /> + <file name="IQXmlDeclHandler.cs" /> + <file name="IQXmlEntityResolver.cs" /> + <file name="IQXmlErrorHandler.cs" /> + <file name="ImageConversionFlags.cs" /> + <file name="Item.cs" /> + <file name="Key.cs" /> + <file name="Modifier.cs" /> + <file name="Orientation.cs" /> + <file name="PaintUnit.cs" /> + <file name="PenCapStyle.cs" /> + <file name="PenJoinStyle.cs" /> + <file name="PenStyle.cs" /> + <file name="QAccel.cs" /> + <file name="QAccessible.cs" /> + <file name="QAccessibleFactoryInterface.cs" /> + <file name="QAccessibleInterface.cs" /> + <file name="QAccessibleObject.cs" /> + <file name="QAction.cs" /> + <file name="QActionGroup.cs" /> + <file name="QApplication.cs" /> + <file name="QAsciiBucket.cs" /> + <file name="QAsyncIO.cs" /> + <file name="QAuBucket.cs" /> + <file name="QAuServer.cs" /> + <file name="QBaseBucket.cs" /> + <file name="QBig5Codec.cs" /> + <file name="QBitVal.cs" /> + <file name="QBitmap.cs" /> + <file name="QBoxLayout.cs" /> + <file name="QBrush.cs" /> + <file name="QBuffer.cs" /> + <file name="QButton.cs" /> + <file name="QButtonGroup.cs" /> + <file name="QByteArray.cs" /> + <file name="QCDEStyle.cs" /> + <file name="QCString.cs" /> + <file name="QCallBack.cs" /> + <file name="QCanvas.cs" /> + <file name="QCanvasEllipse.cs" /> + <file name="QCanvasItem.cs" /> + <file name="QCanvasItemList.cs" /> + <file name="QCanvasLine.cs" /> + <file name="QCanvasPixmap.cs" /> + <file name="QCanvasPixmapArray.cs" /> + <file name="QCanvasPolygon.cs" /> + <file name="QCanvasPolygonalItem.cs" /> + <file name="QCanvasRectangle.cs" /> + <file name="QCanvasSpline.cs" /> + <file name="QCanvasSprite.cs" /> + <file name="QCanvasText.cs" /> + <file name="QCanvasView.cs" /> + <file name="QChar.cs" /> + <file name="QCharRef.cs" /> + <file name="QCheckBox.cs" /> + <file name="QCheckListItem.cs" /> + <file name="QCheckTableItem.cs" /> + <file name="QChildEvent.cs" /> + <file name="QClassInfo.cs" /> + <file name="QCleanupHandler.cs" /> + <file name="QClipboard.cs" /> + <file name="QCloseEvent.cs" /> + <file name="QColor.cs" /> + <file name="QColorDialog.cs" /> + <file name="QColorDrag.cs" /> + <file name="QColorGroup.cs" /> + <file name="QComboBox.cs" /> + <file name="QComboTableItem.cs" /> + <file name="QCommonStyle.cs" /> + <file name="QCompactStyle.cs" /> + <file name="QConnection.cs" /> + <file name="QConnectionList.cs" /> + <file name="QConnectionListIt.cs" /> + <file name="QConstString.cs" /> + <file name="QContextMenuEvent.cs" /> + <file name="QCursor.cs" /> + <file name="QCustomEvent.cs" /> + <file name="QCustomMenuItem.cs" /> + <file name="QDataPump.cs" /> + <file name="QDataSink.cs" /> + <file name="QDataSource.cs" /> + <file name="QDataStream.cs" /> + <file name="QDate.cs" /> + <file name="QDateEdit.cs" /> + <file name="QDateTime.cs" /> + <file name="QDateTimeEdit.cs" /> + <file name="QDateTimeEditBase.cs" /> + <file name="QDesktopWidget.cs" /> + <file name="QDial.cs" /> + <file name="QDialog.cs" /> + <file name="QDir.cs" /> + <file name="QDirSortItem.cs" /> + <file name="QDns.cs" /> + <file name="QDnsSocket.cs" /> + <file name="QDockArea.cs" /> + <file name="QDockAreaLayout.cs" /> + <file name="QDockWindow.cs" /> + <file name="QDomAttr.cs" /> + <file name="QDomCDATASection.cs" /> + <file name="QDomCharacterData.cs" /> + <file name="QDomComment.cs" /> + <file name="QDomDocument.cs" /> + <file name="QDomDocumentFragment.cs" /> + <file name="QDomDocumentType.cs" /> + <file name="QDomElement.cs" /> + <file name="QDomEntity.cs" /> + <file name="QDomEntityReference.cs" /> + <file name="QDomImplementation.cs" /> + <file name="QDomNamedNodeMap.cs" /> + <file name="QDomNode.cs" /> + <file name="QDomNodeList.cs" /> + <file name="QDomNotation.cs" /> + <file name="QDomProcessingInstruction.cs" /> + <file name="QDomText.cs" /> + <file name="QDoubleValidator.cs" /> + <file name="QDragEnterEvent.cs" /> + <file name="QDragLeaveEvent.cs" /> + <file name="QDragManager.cs" /> + <file name="QDragMoveEvent.cs" /> + <file name="QDragObject.cs" /> + <file name="QDragResponseEvent.cs" /> + <file name="QDropEvent.cs" /> + <file name="QDropSite.cs" /> + <file name="QEditorFactory.cs" /> + <file name="QErrorMessage.cs" /> + <file name="QEucJpCodec.cs" /> + <file name="QEucKrCodec.cs" /> + <file name="QEvent.cs" /> + <file name="QEventArgs.cs" /> + <file name="QEventList.cs" /> + <file name="QFile.cs" /> + <file name="QFileDialog.cs" /> + <file name="QFileIconProvider.cs" /> + <file name="QFileInfo.cs" /> + <file name="QFilePreview.cs" /> + <file name="QFocusData.cs" /> + <file name="QFocusEvent.cs" /> + <file name="QFont.cs" /> + <file name="QFontDatabase.cs" /> + <file name="QFontDialog.cs" /> + <file name="QFontInfo.cs" /> + <file name="QFontMetrics.cs" /> + <file name="QFrame.cs" /> + <file name="QFtp.cs" /> + <file name="QGArray.cs" /> + <file name="QGCache.cs" /> + <file name="QGCacheIterator.cs" /> + <file name="QGDict.cs" /> + <file name="QGDictIterator.cs" /> + <file name="QGLayoutIterator.cs" /> + <file name="QGList.cs" /> + <file name="QGListIterator.cs" /> + <file name="QGPlugin.cs" /> + <file name="QGVector.cs" /> + <file name="QGbkCodec.cs" /> + <file name="QGrid.cs" /> + <file name="QGridLayout.cs" /> + <file name="QGridView.cs" /> + <file name="QGroupBox.cs" /> + <file name="QGuardedPtr.cs" /> + <file name="QGuardedPtrPrivate.cs" /> + <file name="QHBox.cs" /> + <file name="QHBoxLayout.cs" /> + <file name="QHButtonGroup.cs" /> + <file name="QHGroupBox.cs" /> + <file name="QHeader.cs" /> + <file name="QHebrewCodec.cs" /> + <file name="QHideEvent.cs" /> + <file name="QHostAddress.cs" /> + <file name="QHttp.cs" /> + <file name="QIMEvent.cs" /> + <file name="QIODevice.cs" /> + <file name="QIODeviceSource.cs" /> + <file name="QIconDrag.cs" /> + <file name="QIconDragItem.cs" /> + <file name="QIconSet.cs" /> + <file name="QIconView.cs" /> + <file name="QIconViewItem.cs" /> + <file name="QImage.cs" /> + <file name="QImageConsumer.cs" /> + <file name="QImageDecoder.cs" /> + <file name="QImageDrag.cs" /> + <file name="QImageFormat.cs" /> + <file name="QImageFormatPlugin.cs" /> + <file name="QImageFormatType.cs" /> + <file name="QImageIO.cs" /> + <file name="QImageTextKeyLang.cs" /> + <file name="QInputDialog.cs" /> + <file name="QIntBucket.cs" /> + <file name="QIntValidator.cs" /> + <file name="QInterlaceStyle.cs" /> + <file name="QInternal.cs" /> + <file name="QJisCodec.cs" /> + <file name="QJpUnicodeConv.cs" /> + <file name="QKeyEvent.cs" /> + <file name="QKeySequence.cs" /> + <file name="QLCDNumber.cs" /> + <file name="QLNode.cs" /> + <file name="QLabel.cs" /> + <file name="QLayout.cs" /> + <file name="QLayoutItem.cs" /> + <file name="QLayoutIterator.cs" /> + <file name="QLibrary.cs" /> + <file name="QLineEdit.cs" /> + <file name="QListBox.cs" /> + <file name="QListBoxItem.cs" /> + <file name="QListBoxPixmap.cs" /> + <file name="QListBoxText.cs" /> + <file name="QListView.cs" /> + <file name="QListViewItem.cs" /> + <file name="QListViewItemIterator.cs" /> + <file name="QLocalFs.cs" /> + <file name="QMCPI.cs" /> + <file name="QMainWindow.cs" /> + <file name="QMap.cs" /> + <file name="QMapConstIterator.cs" /> + <file name="QMapIterator.cs" /> + <file name="QMapNode.cs" /> + <file name="QMapNodeBase.cs" /> + <file name="QMapPrivate.cs" /> + <file name="QMapPrivateBase.cs" /> + <file name="QMemArray.cs" /> + <file name="QMenuBar.cs" /> + <file name="QMenuData.cs" /> + <file name="QMenuItem.cs" /> + <file name="QMessageBox.cs" /> + <file name="QMetaData.cs" /> + <file name="QMetaEnum.cs" /> + <file name="QMetaObject.cs" /> + <file name="QMetaObjectCleanUp.cs" /> + <file name="QMetaProperty.cs" /> + <file name="QMimeSource.cs" /> + <file name="QMimeSourceFactory.cs" /> + <file name="QMotifPlusStyle.cs" /> + <file name="QMotifStyle.cs" /> + <file name="QMouseEvent.cs" /> + <file name="QMoveEvent.cs" /> + <file name="QMovie.cs" /> + <file name="QMultiLineEdit.cs" /> + <file name="QMutex.cs" /> + <file name="QNPInstance.cs" /> + <file name="QNPStream.cs" /> + <file name="QNPWidget.cs" /> + <file name="QNPlugin.cs" /> + <file name="QNetworkOperation.cs" /> + <file name="QNetworkProtocol.cs" /> + <file name="QNetworkProtocolFactory.cs" /> + <file name="QNetworkProtocolFactoryBase.cs" /> + <file name="QNull.cs" /> + <file name="QObject.cs" /> + <file name="QObjectCleanupHandler.cs" /> + <file name="QObjectList.cs" /> + <file name="QObjectListIt.cs" /> + <file name="QPDevCmdParam.cs" /> + <file name="QPNGImagePacker.cs" /> + <file name="QPNGImageWriter.cs" /> + <file name="QPaintDevice.cs" /> + <file name="QPaintDeviceMetrics.cs" /> + <file name="QPaintDeviceX11Data.cs" /> + <file name="QPaintEvent.cs" /> + <file name="QPainter.cs" /> + <file name="QPair.cs" /> + <file name="QPalette.cs" /> + <file name="QPen.cs" /> + <file name="QPicture.cs" /> + <file name="QPixmap.cs" /> + <file name="QPixmapCache.cs" /> + <file name="QPixmapData.cs" /> + <file name="QPlatinumStyle.cs" /> + <file name="QPoint.cs" /> + <file name="QPointArray.cs" /> + <file name="QPolygonScanner.cs" /> + <file name="QPopupMenu.cs" /> + <file name="QPrintDialog.cs" /> + <file name="QPrinter.cs" /> + <file name="QProcess.cs" /> + <file name="QProgressBar.cs" /> + <file name="QProgressDialog.cs" /> + <file name="QPtrBucket.cs" /> + <file name="QPtrCollection.cs" /> + <file name="QPtrList.cs" /> + <file name="QPtrListIterator.cs" /> + <file name="QPtrQueue.cs" /> + <file name="QPtrStack.cs" /> + <file name="QPtrVector.cs" /> + <file name="QPushButton.cs" /> + <file name="QRadioButton.cs" /> + <file name="QRangeControl.cs" /> + <file name="QRect.cs" /> + <file name="QRegExp.cs" /> + <file name="QRegExpValidator.cs" /> + <file name="QRegion.cs" /> + <file name="QRemoteFactory.cs" /> + <file name="QRemotePlugin.cs" /> + <file name="QResizeEvent.cs" /> + <file name="QSGIStyle.cs" /> + <file name="QScrollBar.cs" /> + <file name="QScrollView.cs" /> + <file name="QSemaphore.cs" /> + <file name="QSemiModal.cs" /> + <file name="QSenderObject.cs" /> + <file name="QServerSocket.cs" /> + <file name="QSessionManager.cs" /> + <file name="QSettings.cs" /> + <file name="QShared.cs" /> + <file name="QSharedMemory.cs" /> + <file name="QShowEvent.cs" /> + <file name="QSignal.cs" /> + <file name="QSignalMapper.cs" /> + <file name="QSimpleRichText.cs" /> + <file name="QSingleCleanupHandler.cs" /> + <file name="QSize.cs" /> + <file name="QSizeGrip.cs" /> + <file name="QSizePolicy.cs" /> + <file name="QSjisCodec.cs" /> + <file name="QSlider.cs" /> + <file name="QSocket.cs" /> + <file name="QSocketDevice.cs" /> + <file name="QSocketNotifier.cs" /> + <file name="QSortedList.cs" /> + <file name="QSound.cs" /> + <file name="QSpacerItem.cs" /> + <file name="QSpinBox.cs" /> + <file name="QSpinWidget.cs" /> + <file name="QSplitter.cs" /> + <file name="QStatusBar.cs" /> + <file name="QStoredDrag.cs" /> + <file name="QStrIList.cs" /> + <file name="QStrIVec.cs" /> + <file name="QStrList.cs" /> + <file name="QStrVec.cs" /> + <file name="QString.cs" /> + <file name="QStringBucket.cs" /> + <file name="QStringData.cs" /> + <file name="QStringList.cs" /> + <file name="QStyleFactory.cs" /> + <file name="QStyleOption.cs" /> + <file name="QStylePlugin.cs" /> + <file name="QStyleSheet.cs" /> + <file name="QStyleSheetItem.cs" /> + <file name="QTLWExtra.cs" /> + <file name="QTSManip.cs" /> + <file name="QTab.cs" /> + <file name="QTabBar.cs" /> + <file name="QTabDialog.cs" /> + <file name="QTabWidget.cs" /> + <file name="QTable.cs" /> + <file name="QTableItem.cs" /> + <file name="QTableSelection.cs" /> + <file name="QTabletEvent.cs" /> + <file name="QTextBrowser.cs" /> + <file name="QTextCodec.cs" /> + <file name="QTextCodecFactory.cs" /> + <file name="QTextCodecPlugin.cs" /> + <file name="QTextDecoder.cs" /> + <file name="QTextDrag.cs" /> + <file name="QTextEdit.cs" /> + <file name="QTextEncoder.cs" /> + <file name="QTextIStream.cs" /> + <file name="QTextOStream.cs" /> + <file name="QTextOStreamIterator.cs" /> + <file name="QTextStream.cs" /> + <file name="QTextView.cs" /> + <file name="QThread.cs" /> + <file name="QTime.cs" /> + <file name="QTimeEdit.cs" /> + <file name="QTimer.cs" /> + <file name="QTimerEvent.cs" /> + <file name="QToolBar.cs" /> + <file name="QToolButton.cs" /> + <file name="QToolTip.cs" /> + <file name="QToolTipGroup.cs" /> + <file name="QTranslator.cs" /> + <file name="QTranslatorMessage.cs" /> + <file name="QTsciiCodec.cs" /> + <file name="QUriDrag.cs" /> + <file name="QUrl.cs" /> + <file name="QUrlInfo.cs" /> + <file name="QUrlOperator.cs" /> + <file name="QUtf16Codec.cs" /> + <file name="QUtf8Codec.cs" /> + <file name="QUuid.cs" /> + <file name="QVBox.cs" /> + <file name="QVBoxLayout.cs" /> + <file name="QVButtonGroup.cs" /> + <file name="QVFbHeader.cs" /> + <file name="QVFbKeyData.cs" /> + <file name="QVGroupBox.cs" /> + <file name="QValidator.cs" /> + <file name="QValueList.cs" /> + <file name="QValueListConstIterator.cs" /> + <file name="QValueListIterator.cs" /> + <file name="QValueListNode.cs" /> + <file name="QValueListPrivate.cs" /> + <file name="QValueStack.cs" /> + <file name="QValueVector.cs" /> + <file name="QValueVectorPrivate.cs" /> + <file name="QVariant.cs" /> + <file name="QWExtra.cs" /> + <file name="QWMatrix.cs" /> + <file name="QWaitCondition.cs" /> + <file name="QWhatsThis.cs" /> + <file name="QWheelEvent.cs" /> + <file name="QWidget.cs" /> + <file name="QWidgetFactory.cs" /> + <file name="QWidgetItem.cs" /> + <file name="QWidgetList.cs" /> + <file name="QWidgetListIt.cs" /> + <file name="QWidgetPlugin.cs" /> + <file name="QWidgetStack.cs" /> + <file name="QWindowsMime.cs" /> + <file name="QWindowsStyle.cs" /> + <file name="QWizard.cs" /> + <file name="QWorkspace.cs" /> + <file name="QXmlAttributes.cs" /> + <file name="QXmlContentHandler.cs" /> + <file name="QXmlDTDHandler.cs" /> + <file name="QXmlDeclHandler.cs" /> + <file name="QXmlDefaultHandler.cs" /> + <file name="QXmlEntityResolver.cs" /> + <file name="QXmlErrorHandler.cs" /> + <file name="QXmlInputSource.cs" /> + <file name="QXmlLexicalHandler.cs" /> + <file name="QXmlLocator.cs" /> + <file name="QXmlNamespaceSupport.cs" /> + <file name="QXmlParseException.cs" /> + <file name="QXmlReader.cs" /> + <file name="QXmlSimpleReader.cs" /> + <file name="QXtApplication.cs" /> + <file name="QXtWidget.cs" /> + <file name="QtMultiLineEdit.cs" /> + <file name="QtSupport.cs" /> + <file name="QtTableView.cs" /> + <file name="RasterOp.cs" /> + <file name="StringComparisonMode.cs" /> + <file name="TextFlags.cs" /> + <file name="TextFormat.cs" /> + <file name="UIEffect.cs" /> + <file name="WidgetFlags.cs" /> + <file name="WidgetState.cs" /> + <file name="WindowsVersion.cs" /> + <file name="QStyle.cs" /> + <file name="QtSignal.cs" /> + <file name="QtSlot.cs" /> + <file name="QtSignalMap.cs" /> + <file name="DeclareQtSignalAttribute.cs" /> + <file name="QGL.cs" /> + <file name="QGLColormap.cs" /> + <file name="QGLContext.cs" /> + <file name="QGLFormat.cs" /> + <file name="QGLWidget.cs" /> + </sources> + <references> + <file name="System.dll" /> + </references> + </compile> + </target> +</project> diff --git a/qtsharp/src/bindings/static/AlignmentFlags.cs b/qtsharp/src/bindings/static/AlignmentFlags.cs new file mode 100644 index 00000000..4b6ca5c8 --- /dev/null +++ b/qtsharp/src/bindings/static/AlignmentFlags.cs @@ -0,0 +1,40 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum AlignmentFlags { + AlignAuto = 0, + AlignLeft = 1, + AlignRight = 2, + AlignHCenter = 4, + AlignJustify = 8, + AlignHorizontal_Mask = AlignLeft|AlignRight|AlignHCenter|AlignJustify, + AlignTop = 16, + AlignBottom = 32, + AlignVCenter = 64, + AlignVertical_Mask = AlignTop|AlignBottom|AlignVCenter, + AlignCenter = AlignVCenter|AlignHCenter + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/ArrowType.cs b/qtsharp/src/bindings/static/ArrowType.cs new file mode 100644 index 00000000..0abb3468 --- /dev/null +++ b/qtsharp/src/bindings/static/ArrowType.cs @@ -0,0 +1,33 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum ArrowType { + UpArrow = 0, + DownArrow = 1, + LeftArrow = 2, + RightArrow = 3 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/BGMode.cs b/qtsharp/src/bindings/static/BGMode.cs new file mode 100644 index 00000000..5ee8abdb --- /dev/null +++ b/qtsharp/src/bindings/static/BGMode.cs @@ -0,0 +1,31 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum BGMode { + TransparentMode = 0, + OpaqueMode = 1 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/BackgroundMode.cs b/qtsharp/src/bindings/static/BackgroundMode.cs new file mode 100644 index 00000000..83100dc1 --- /dev/null +++ b/qtsharp/src/bindings/static/BackgroundMode.cs @@ -0,0 +1,49 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum BackgroundMode { + FixedColor = 0, + FixedPixmap = 1, + NoBackground = 2, + PaletteForeground = 3, + PaletteButton = 4, + PaletteLight = 5, + PaletteMidlight = 6, + PaletteDark = 7, + PaletteMid = 8, + PaletteText = 9, + PaletteBrightText = 10, + PaletteBase = 11, + PaletteBackground = 12, + PaletteShadow = 13, + PaletteHighlight = 14, + PaletteHighlightedText = 15, + PaletteButtonText = 16, + PaletteLink = 17, + PaletteLinkVisited = 18, + X11ParentRelative = 19 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/BrushStyle.cs b/qtsharp/src/bindings/static/BrushStyle.cs new file mode 100644 index 00000000..4605dbed --- /dev/null +++ b/qtsharp/src/bindings/static/BrushStyle.cs @@ -0,0 +1,45 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum BrushStyle { + NoBrush = 0, + SolidPattern = 1, + Dense1Pattern = 2, + Dense2Pattern = 3, + Dense3Pattern = 4, + Dense4Pattern = 5, + Dense5Pattern = 6, + Dense6Pattern = 7, + Dense7Pattern = 8, + HorPattern = 9, + VerPattern = 10, + CrossPattern = 11, + BDiagPattern = 12, + FDiagPattern = 13, + DiagCrossPattern = 14, + CustomPattern = 24 + } +} diff --git a/qtsharp/src/bindings/static/ButtonState.cs b/qtsharp/src/bindings/static/ButtonState.cs new file mode 100644 index 00000000..9b058bd0 --- /dev/null +++ b/qtsharp/src/bindings/static/ButtonState.cs @@ -0,0 +1,40 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum ButtonState { + NoButton = 0, + LeftButton = 1, + RightButton = 2, + MidButton = 4, + MouseButtonMask = 255, + ShiftButton = 256, + ControlButton = 512, + AltButton = 1024, + MetaButton = 2048, + KeyButtonMask = 4095, + Keypad = 16384 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/CursorShape.cs b/qtsharp/src/bindings/static/CursorShape.cs new file mode 100644 index 00000000..33f277e3 --- /dev/null +++ b/qtsharp/src/bindings/static/CursorShape.cs @@ -0,0 +1,47 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum CursorShape { + ArrowCursor = 0, + UpArrowCursor = 1, + CrossCursor = 2, + WaitCursor = 3, + IbeamCursor = 4, + SizeVerCursor = 5, + SizeHorCursor = 6, + SizeBDiagCursor = 7, + SizeFDiagCursor = 8, + SizeAllCursor = 9, + BlankCursor = 10, + SplitVCursor = 11, + SplitHCursor = 12, + PointingHandCursor = 13, + ForbiddenCursor = 14, + WhatsThisCursor = 15, + LastCursor = WhatsThisCursor, + BitmapCursor = 24 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/DateFormat.cs b/qtsharp/src/bindings/static/DateFormat.cs new file mode 100644 index 00000000..6572b43b --- /dev/null +++ b/qtsharp/src/bindings/static/DateFormat.cs @@ -0,0 +1,32 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum DateFormat { + TextDate = 0, + ISODate = 1, + LocalDate = 2 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/DeclareQtSignalAttribute.cs b/qtsharp/src/bindings/static/DeclareQtSignalAttribute.cs new file mode 100644 index 00000000..9d9dceed --- /dev/null +++ b/qtsharp/src/bindings/static/DeclareQtSignalAttribute.cs @@ -0,0 +1,16 @@ +namespace Qt { + using System; + + [AttributeUsage(AttributeTargets.Class, Inherited=true, AllowMultiple=true)] + public class DeclareQtSignalAttribute: Attribute { + private string signalName; + + internal string SignalName { + get { return signalName; } + } + + public DeclareQtSignalAttribute(string signalname) { + signalName = signalname.Replace(" ", ""); + } + } +} diff --git a/qtsharp/src/bindings/static/Dock.cs b/qtsharp/src/bindings/static/Dock.cs new file mode 100644 index 00000000..09f11da6 --- /dev/null +++ b/qtsharp/src/bindings/static/Dock.cs @@ -0,0 +1,43 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum Dock { + DockUnmanaged = 0, + DockTornOff = 1, + DockTop = 2, + DockBottom = 3, + DockRight = 4, + DockLeft = 5, + DockMinimized = 6, + Unmanaged = DockUnmanaged, + TornOff = DockTornOff, + Top = DockTop, + Bottom = DockBottom, + Right = DockRight, + Left = DockLeft, + Minimized = DockMinimized + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/GUIStyle.cs b/qtsharp/src/bindings/static/GUIStyle.cs new file mode 100644 index 00000000..d9e264b3 --- /dev/null +++ b/qtsharp/src/bindings/static/GUIStyle.cs @@ -0,0 +1,34 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum GUIStyle { + MacStyle = 0, + WindowsStyle = 1, + Win3Style = 2, + PMStyle = 3, + MotifStyle = 4 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/IQMenuData.cs b/qtsharp/src/bindings/static/IQMenuData.cs new file mode 100644 index 00000000..2e1a5614 --- /dev/null +++ b/qtsharp/src/bindings/static/IQMenuData.cs @@ -0,0 +1,115 @@ +// QMenuData.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Collections; + + public interface IQMenuData { + Hashtable MenuConnections { get; } + uint Count (); + int InsertItem (string text, QObject receiver, string member, QKeySequence accel, int identifier, int index); + int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel, int identifier, int index); + int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier, int index); + int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier, int index); + int InsertItem (string text, int identifier, int index); + int InsertItem (QIconSet icon, string text, int identifier, int index); + int InsertItem (string text, QPopupMenu popup, int identifier, int index); + int InsertItem (QIconSet icon, string text, QPopupMenu popup, int identifier, int index); + int InsertItem (QPixmap pixmap, int identifier, int index); + int InsertItem (QIconSet icon, QPixmap pixmap, int identifier, int index); + int InsertItem (QPixmap pixmap, QPopupMenu popup, int identifier, int index); + int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup, int identifier, int index); + int InsertItem (QWidget widget, int identifier, int index); + int InsertItem (QIconSet icon, QCustomMenuItem custom, int identifier, int index); + int InsertItem (QCustomMenuItem custom, int identifier, int index); + int InsertSeparator (int index); + void RemoveItem (int identifier); + void RemoveItemAt (int index); + void Clear (); + QKeySequence Accel (int identifier); + void SetAccel (QKeySequence key, int identifier); + QIconSet IconSet (int identifier); + string Text (int identifier); + QPixmap Pixmap (int identifier); + void SetWhatsThis (int identifier, string arg1); + string WhatsThis (int identifier); + void ChangeItem (int identifier, string text); + void ChangeItem (int identifier, QPixmap pixmap); + void ChangeItem (int identifier, QIconSet icon, string text); + void ChangeItem (int identifier, QIconSet icon, QPixmap pixmap); + void ChangeItem (string text, int identifier); + void ChangeItem (QPixmap pixmap, int identifier); + void ChangeItem (QIconSet icon, string text, int identifier); + bool IsItemActive (int identifier); + bool IsItemEnabled (int identifier); + void SetItemEnabled (int identifier, bool enable); + bool IsItemChecked (int identifier); + void SetItemChecked (int identifier, bool check); + int IndexOf (int identifier); + void SetId (int index, int identifier); + bool ConnectItem (int identifier, QObject receiver, string member); + bool DisconnectItem (int identifier, QObject receiver, string member); + bool SetItemParameter (int identifier, int param); + int ItemParameter (int identifier); + QMenuItem FindItem (int identifier); + QMenuItem FindItem (int identifier, QMenuData parent); + QMenuItem FindPopup (QPopupMenu arg1, int[] index); + int InsertItem (string text, QObject receiver, string member); + int InsertItem (string text, QObject receiver, string member, QKeySequence accel); + int InsertItem (string text, QObject receiver, string member, QKeySequence accel, int identifier); + int InsertItem (QIconSet icon, string text, QObject receiver, string member); + int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel); + int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel, int identifier); + int InsertItem (QPixmap pixmap, QObject receiver, string member); + int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel); + int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier); + int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member); + int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel); + int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier); + int InsertItem (string text); + int InsertItem (string text, int identifier); + int InsertItem (QIconSet icon, string text); + int InsertItem (QIconSet icon, string text, int identifier); + int InsertItem (string text, QPopupMenu popup); + int InsertItem (string text, QPopupMenu popup, int identifier); + int InsertItem (QIconSet icon, string text, QPopupMenu popup); + int InsertItem (QIconSet icon, string text, QPopupMenu popup, int identifier); + int InsertItem (QPixmap pixmap); + int InsertItem (QPixmap pixmap, int identifier); + int InsertItem (QIconSet icon, QPixmap pixmap); + int InsertItem (QIconSet icon, QPixmap pixmap, int identifier); + int InsertItem (QPixmap pixmap, QPopupMenu popup); + int InsertItem (QPixmap pixmap, QPopupMenu popup, int identifier); + int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup); + int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup, int identifier); + int InsertItem (QWidget widget); + int InsertItem (QWidget widget, int identifier); + int InsertItem (QIconSet icon, QCustomMenuItem custom); + int InsertItem (QIconSet icon, QCustomMenuItem custom, int identifier); + int InsertItem (QCustomMenuItem custom); + int InsertItem (QCustomMenuItem custom, int identifier); + int InsertSeparator (); + QMenuItem FindPopup (QPopupMenu arg1); + //IntPtr QMenuData (); + } +} diff --git a/qtsharp/src/bindings/static/ImageConversionFlags.cs b/qtsharp/src/bindings/static/ImageConversionFlags.cs new file mode 100644 index 00000000..010199bf --- /dev/null +++ b/qtsharp/src/bindings/static/ImageConversionFlags.cs @@ -0,0 +1,46 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum ImageConversionFlags { + ColorMode_Mask = 3, + AutoColor = 0, + ColorOnly = 3, + MonoOnly = 2, + AlphaDither_Mask = 12, + ThresholdAlphaDither = 0, + OrderedAlphaDither = 4, + DiffuseAlphaDither = 8, + NoAlpha = 12, + Dither_Mask = 48, + DiffuseDither = 0, + OrderedDither = 16, + ThresholdDither = 32, + DitherMode_Mask = 192, + AutoDither = 0, + PreferDither = 64, + AvoidDither = 128 + } +} diff --git a/qtsharp/src/bindings/static/Key.cs b/qtsharp/src/bindings/static/Key.cs new file mode 100644 index 00000000..1e02dd37 --- /dev/null +++ b/qtsharp/src/bindings/static/Key.cs @@ -0,0 +1,269 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum Key { + Key_Escape = 4096, + Key_Tab = 4097, + Key_Backtab = 4098, + Key_BackTab = Key_Backtab, + Key_Backspace = 4099, + Key_BackSpace = Key_Backspace, + Key_Return = 4100, + Key_Enter = 4101, + Key_Insert = 4102, + Key_Delete = 4103, + Key_Pause = 4104, + Key_Print = 4105, + Key_SysReq = 4106, + Key_Home = 4112, + Key_End = 4113, + Key_Left = 4114, + Key_Up = 4115, + Key_Right = 4116, + Key_Down = 4117, + Key_Prior = 4118, + Key_PageUp = Key_Prior, + Key_Next = 4119, + Key_PageDown = Key_Next, + Key_Shift = 4128, + Key_Control = 4129, + Key_Meta = 4130, + Key_Alt = 4131, + Key_CapsLock = 4132, + Key_NumLock = 4133, + Key_ScrollLock = 4134, + Key_F1 = 4144, + Key_F2 = 4145, + Key_F3 = 4146, + Key_F4 = 4147, + Key_F5 = 4148, + Key_F6 = 4149, + Key_F7 = 4150, + Key_F8 = 4151, + Key_F9 = 4152, + Key_F10 = 4153, + Key_F11 = 4154, + Key_F12 = 4155, + Key_F13 = 4156, + Key_F14 = 4157, + Key_F15 = 4158, + Key_F16 = 4159, + Key_F17 = 4160, + Key_F18 = 4161, + Key_F19 = 4162, + Key_F20 = 4163, + Key_F21 = 4164, + Key_F22 = 4165, + Key_F23 = 4166, + Key_F24 = 4167, + Key_F25 = 4168, + Key_F26 = 4169, + Key_F27 = 4170, + Key_F28 = 4171, + Key_F29 = 4172, + Key_F30 = 4173, + Key_F31 = 4174, + Key_F32 = 4175, + Key_F33 = 4176, + Key_F34 = 4177, + Key_F35 = 4178, + Key_Super_L = 4179, + Key_Super_R = 4180, + Key_Menu = 4181, + Key_Hyper_L = 4182, + Key_Hyper_R = 4183, + Key_Help = 4184, + Key_Direction_L = 4185, + Key_Direction_R = 4192, + Key_Space = 32, + Key_Any = Key_Space, + Key_Exclam = 33, + Key_QuoteDbl = 34, + Key_NumberSign = 35, + Key_Dollar = 36, + Key_Percent = 37, + Key_Ampersand = 38, + Key_Apostrophe = 39, + Key_ParenLeft = 40, + Key_ParenRight = 41, + Key_Asterisk = 42, + Key_Plus = 43, + Key_Comma = 44, + Key_Minus = 45, + Key_Period = 46, + Key_Slash = 47, + Key_0 = 48, + Key_1 = 49, + Key_2 = 50, + Key_3 = 51, + Key_4 = 52, + Key_5 = 53, + Key_6 = 54, + Key_7 = 55, + Key_8 = 56, + Key_9 = 57, + Key_Colon = 58, + Key_Semicolon = 59, + Key_Less = 60, + Key_Equal = 61, + Key_Greater = 62, + Key_Question = 63, + Key_At = 64, + Key_A = 65, + Key_B = 66, + Key_C = 67, + Key_D = 68, + Key_E = 69, + Key_F = 70, + Key_G = 71, + Key_H = 72, + Key_I = 73, + Key_J = 74, + Key_K = 75, + Key_L = 76, + Key_M = 77, + Key_N = 78, + Key_O = 79, + Key_P = 80, + Key_Q = 81, + Key_R = 82, + Key_S = 83, + Key_T = 84, + Key_U = 85, + Key_V = 86, + Key_W = 87, + Key_X = 88, + Key_Y = 89, + Key_Z = 90, + Key_BracketLeft = 91, + Key_Backslash = 92, + Key_BracketRight = 93, + Key_AsciiCircum = 94, + Key_Underscore = 95, + Key_QuoteLeft = 96, + Key_BraceLeft = 123, + Key_Bar = 124, + Key_BraceRight = 125, + Key_AsciiTilde = 126, + Key_nobreakspace = 160, + Key_exclamdown = 161, + Key_cent = 162, + Key_sterling = 163, + Key_currency = 164, + Key_yen = 165, + Key_brokenbar = 166, + Key_section = 167, + Key_diaeresis = 168, + Key_copyright = 169, + Key_ordfeminine = 170, + Key_guillemotleft = 171, + Key_notsign = 172, + Key_hyphen = 173, + Key_registered = 174, + Key_macron = 175, + Key_degree = 176, + Key_plusminus = 177, + Key_twosuperior = 178, + Key_threesuperior = 179, + Key_acute = 180, + Key_mu = 181, + Key_paragraph = 182, + Key_periodcentered = 183, + Key_cedilla = 184, + Key_onesuperior = 185, + Key_masculine = 186, + Key_guillemotright = 187, + Key_onequarter = 188, + Key_onehalf = 189, + Key_threequarters = 190, + Key_questiondown = 191, + Key_Agrave = 192, + Key_Aacute = 193, + Key_Acircumflex = 194, + Key_Atilde = 195, + Key_Adiaeresis = 196, + Key_Aring = 197, + Key_AE = 198, + Key_Ccedilla = 199, + Key_Egrave = 200, + Key_Eacute = 201, + Key_Ecircumflex = 202, + Key_Ediaeresis = 203, + Key_Igrave = 204, + Key_Iacute = 205, + Key_Icircumflex = 206, + Key_Idiaeresis = 207, + Key_ETH = 208, + Key_Ntilde = 209, + Key_Ograve = 210, + Key_Oacute = 211, + Key_Ocircumflex = 212, + Key_Otilde = 213, + Key_Odiaeresis = 214, + Key_multiply = 215, + Key_Ooblique = 216, + Key_Ugrave = 217, + Key_Uacute = 218, + Key_Ucircumflex = 219, + Key_Udiaeresis = 220, + Key_Yacute = 221, + Key_THORN = 222, + Key_ssharp = 223, + Key_agrave = 224, + Key_aacute = 225, + Key_acircumflex = 226, + Key_atilde = 227, + Key_adiaeresis = 228, + Key_aring = 229, + Key_ae = 230, + Key_ccedilla = 231, + Key_egrave = 232, + Key_eacute = 233, + Key_ecircumflex = 234, + Key_ediaeresis = 235, + Key_igrave = 236, + Key_iacute = 237, + Key_icircumflex = 238, + Key_idiaeresis = 239, + Key_eth = 240, + Key_ntilde = 241, + Key_ograve = 242, + Key_oacute = 243, + Key_ocircumflex = 244, + Key_otilde = 245, + Key_odiaeresis = 246, + Key_division = 247, + Key_oslash = 248, + Key_ugrave = 249, + Key_uacute = 250, + Key_ucircumflex = 251, + Key_udiaeresis = 252, + Key_yacute = 253, + Key_thorn = 254, + Key_ydiaeresis = 255, + Key_unknown = 65535 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/Modifier.cs b/qtsharp/src/bindings/static/Modifier.cs new file mode 100644 index 00000000..74f1b376 --- /dev/null +++ b/qtsharp/src/bindings/static/Modifier.cs @@ -0,0 +1,35 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum Modifier { + SHIFT = 2097152, + CTRL = 4194304, + ALT = 8388608, + MODIFIER_MASK = 14680064, + UNICODE_ACCEL = 268435456, + ASCII_ACCEL = UNICODE_ACCEL + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/Orientation.cs b/qtsharp/src/bindings/static/Orientation.cs new file mode 100644 index 00000000..ab04bc29 --- /dev/null +++ b/qtsharp/src/bindings/static/Orientation.cs @@ -0,0 +1,31 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum Orientation { + Horizontal = 0, + Vertical = 1 + } +} diff --git a/qtsharp/src/bindings/static/PaintUnit.cs b/qtsharp/src/bindings/static/PaintUnit.cs new file mode 100644 index 00000000..44463912 --- /dev/null +++ b/qtsharp/src/bindings/static/PaintUnit.cs @@ -0,0 +1,35 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum PaintUnit { + PixelUnit = 0, + LoMetricUnit = 1, + HiMetricUnit = 2, + LoEnglishUnit = 3, + HiEnglishUnit = 4, + TwipsUnit = 5 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/PenCapStyle.cs b/qtsharp/src/bindings/static/PenCapStyle.cs new file mode 100644 index 00000000..dc8cc5d9 --- /dev/null +++ b/qtsharp/src/bindings/static/PenCapStyle.cs @@ -0,0 +1,33 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum PenCapStyle { + FlatCap = 0, + SquareCap = 16, + RoundCap = 32, + MPenCapStyle = 48 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/PenJoinStyle.cs b/qtsharp/src/bindings/static/PenJoinStyle.cs new file mode 100644 index 00000000..3d2d1fd6 --- /dev/null +++ b/qtsharp/src/bindings/static/PenJoinStyle.cs @@ -0,0 +1,33 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum PenJoinStyle { + MiterJoin = 0, + BevelJoin = 64, + RoundJoin = 128, + MPenJoinStyle = 192 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/PenStyle.cs b/qtsharp/src/bindings/static/PenStyle.cs new file mode 100644 index 00000000..ce6ac476 --- /dev/null +++ b/qtsharp/src/bindings/static/PenStyle.cs @@ -0,0 +1,36 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum PenStyle { + NoPen = 0, + SolidLine = 1, + DashLine = 2, + DotLine = 3, + DashDotLine = 4, + DashDotDotLine = 5, + MPenStyle = 15 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/QApplication.cs b/qtsharp/src/bindings/static/QApplication.cs new file mode 100644 index 00000000..ee7e443a --- /dev/null +++ b/qtsharp/src/bindings/static/QApplication.cs @@ -0,0 +1,1031 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Collections; + using System.Runtime.InteropServices; + + public class QApplication : QObject, IDisposable { + + public enum Type { + Tty = 0, + GuiClient = 1, + GuiServer = 2 + } + + public enum ColorMode { + NormalColors = 0, + CustomColors = 1 + } + + public enum ColorSpec { + NormalColor = 0, + CustomColor = 1, + ManyColor = 2 + } + + public enum Encoding { + DefaultCodec = 0, + UnicodeUTF8 = 1 + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QApplication (int argc, string[] argv); + public QApplication (string[] argv) : this (QNull.Instance) + { + QObject.qApp = this; + qparent = null; + argv = ParseArguments (argv); + rawObject = qt_new_QApplication (argv.Length, argv); + RegisterObject (this); + RegisterEventDelegate (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QApplication1 (int argc, string[] argv, bool GUIenabled); + public QApplication (string[] argv, bool GUIenabled) : this (QNull.Instance) + { + QObject.qApp = this; + qparent = null; + argv = ParseArguments (argv); + rawObject = qt_new_QApplication1 (argv.Length, argv, GUIenabled); + RegisterObject (this); + RegisterEventDelegate (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QApplication2 (int argc, string[] argv, Type arg1); + public QApplication (string[] argv, Type arg1) : this (QNull.Instance) + { + QObject.qApp = this; + qparent = null; + argv = ParseArguments (argv); + rawObject = qt_new_QApplication2 (argv.Length, argv, arg1); + RegisterObject (this); + RegisterEventDelegate (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QApplication3 (IntPtr dpy, uint visual, uint cmap); + public QApplication (IntPtr dpy, uint visual, uint cmap) : this (QNull.Instance) + { + QObject.qApp = this; + qparent = null; + rawObject = qt_new_QApplication3 (dpy, visual, cmap); + RegisterObject (this); + RegisterEventDelegate (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QApplication4 (IntPtr dpy, int argc, string[] argv, uint visual, uint cmap); + public QApplication (IntPtr dpy, string[] argv, uint visual, uint cmap) : this (QNull.Instance) + { + QObject.qApp = this; + qparent = null; + argv = ParseArguments (argv); + rawObject = qt_new_QApplication4 (dpy, argv.Length, argv, visual, cmap); + RegisterObject (this); + RegisterEventDelegate (); + } + + public QApplication (IntPtr dpy) : this (dpy, (uint) 0) {} + + public QApplication (IntPtr dpy, uint visual) : this (dpy, visual, (uint) 0) {} + + public QApplication (IntPtr dpy, string[] argv) : this (dpy, argv, (uint) 0) {} + + public QApplication (IntPtr dpy, string[] argv, uint visual) : this (dpy, argv, visual, (uint) 0) {} + + internal QApplication () : this (QNull.Instance) {} + + internal QApplication (QNull dummy) : base (QNull.Instance) {} + + ~QApplication () + { + Dispose (false); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_del_QApplication (IntPtr obj); + internal override void Delete () + { + if (deleted) return; + + qt_del_QApplication (rawObject); + deleted = true; + } + + private string[] ParseArguments (string[] args) + { + ArrayList newargs = new ArrayList(); + + foreach (string arg in args) { + switch (arg) { + case "--qts-help": + PrintHelp (); + Environment.Exit(0); + break; + case "--qts-debug": + QtSupport.enableDebug = true; + break; + case "--qts-notracking": + QtSupport.disableTracking = true; + break; + case "--qts-trace-objects": + QtSupport.traceObjects = true; + break; + case "--qts-trace-connects": + QtSignal.traceConnects = true; + break; + case "--qts-trace-children": + QtSupport.traceChildren = true; + break; + default: + newargs.Add (arg); + break; + } + } + + return newargs.ToArray (typeof (string)) as string[]; + } + + private void PrintHelp () + { + Msg ("Qt# Options:"); + Msg (""); + Msg ("--qts-help\t\tDisplay help."); + Msg ("--qts-debug\t\tEnable debug mode."); + Msg ("--qts-notracking\tDisable object tracking."); + Msg ("--qts-trace-objects\tTrace object tracking."); + Msg ("--qts-trace-connects\tTrace signal connections."); + Msg ("--qts-trace-children\tTrace parent/child relationships."); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QApplication_argc (IntPtr raw); + public int Argc () + { + return qt_QApplication_argc (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern string[] qt_QApplication_argv (IntPtr raw); + public string[] Argv () + { + return qt_QApplication_argv (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern Type qt_QApplication_type (IntPtr raw); + public Type TheType () + { + return qt_QApplication_type (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_mainWidget (IntPtr raw); + public QWidget MainWidget () + { + return (QWidget)LookupObject (qt_QApplication_mainWidget (rawObject), typeof(QWidget)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setMainWidget (IntPtr raw, IntPtr arg1); + public void SetMainWidget (QWidget arg1) + { + qt_QApplication_setMainWidget (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_polish (IntPtr raw, IntPtr arg1); + public void Polish (QWidget arg1) + { + qt_QApplication_polish (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_focusWidget (IntPtr raw); + public QWidget FocusWidget () + { + return (QWidget)LookupObject (qt_QApplication_focusWidget (rawObject), typeof(QWidget)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_activeWindow (IntPtr raw); + public QWidget ActiveWindow () + { + return (QWidget)LookupObject (qt_QApplication_activeWindow (rawObject), typeof(QWidget)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QApplication_exec (IntPtr raw); + public int Exec () + { + return qt_QApplication_exec (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_processEvents (IntPtr raw); + public void ProcessEvents () + { + qt_QApplication_processEvents (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_processEvents1 (IntPtr raw, int maxtime); + public void ProcessEvents (int maxtime) + { + qt_QApplication_processEvents1 (rawObject, maxtime); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_hasPendingEvents (IntPtr raw); + public bool HasPendingEvents () + { + return qt_QApplication_hasPendingEvents (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QApplication_enter_loop (IntPtr raw); + public int Enter_loop () + { + return qt_QApplication_enter_loop (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_exit_loop (IntPtr raw); + public void Exit_loop () + { + qt_QApplication_exit_loop (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QApplication_loopLevel (IntPtr raw); + public int LoopLevel () + { + return qt_QApplication_loopLevel (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_notify (IntPtr raw, IntPtr arg1, IntPtr arg2); + public bool Notify (QObject arg1, QEvent arg2) + { + return qt_QApplication_notify (rawObject, arg1.RawObject, arg2.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setDefaultCodec (IntPtr raw, IntPtr arg1); + public void SetDefaultCodec (QTextCodec arg1) + { + qt_QApplication_setDefaultCodec (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_defaultCodec (IntPtr raw); + public QTextCodec DefaultCodec () + { + return (QTextCodec)LookupObject (qt_QApplication_defaultCodec (rawObject), typeof(QTextCodec)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_installTranslator (IntPtr raw, IntPtr arg1); + public void InstallTranslator (QTranslator arg1) + { + qt_QApplication_installTranslator (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_removeTranslator (IntPtr raw, IntPtr arg1); + public void RemoveTranslator (QTranslator arg1) + { + qt_QApplication_removeTranslator (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_translate (IntPtr raw, string context, string key, string comment, Encoding encoding); + public string Translate (string context, string key, string comment, Encoding encoding) + { + QString qstr = new QString (qt_QApplication_translate (rawObject, context, key, comment, encoding)); + string str = qstr.Latin1 (); + qstr.Dispose (); + return str; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_macEventFilter (IntPtr raw, IntPtr arg1); + public bool MacEventFilter (IntPtr arg1) + { + return qt_QApplication_macEventFilter (rawObject, arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_winEventFilter (IntPtr raw, IntPtr arg1); + public bool WinEventFilter (IntPtr arg1) + { + return qt_QApplication_winEventFilter (rawObject, arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_x11EventFilter (IntPtr raw, IntPtr arg1); + public bool X11EventFilter (IntPtr arg1) + { + return qt_QApplication_x11EventFilter (rawObject, arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QApplication_x11ClientMessage (IntPtr raw, IntPtr arg1, IntPtr arg2, bool passive_only); + public int X11ClientMessage (QWidget arg1, IntPtr arg2, bool passive_only) + { + return qt_QApplication_x11ClientMessage (rawObject, arg1.RawObject, arg2, passive_only); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_qwsEventFilter (IntPtr raw, IntPtr arg1); + public bool QwsEventFilter (IntPtr arg1) + { + return qt_QApplication_qwsEventFilter (rawObject, arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_qwsSetCustomColors (IntPtr raw, int colortable, int start, int numColors); + public void QwsSetCustomColors (int colortable, int start, int numColors) + { + qt_QApplication_qwsSetCustomColors (rawObject, colortable, start, numColors); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_winFocus (IntPtr raw, IntPtr arg1, bool arg2); + public void WinFocus (QWidget arg1, bool arg2) + { + qt_QApplication_winFocus (rawObject, arg1.RawObject, arg2); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_isSessionRestored (IntPtr raw); + public bool IsSessionRestored () + { + return qt_QApplication_isSessionRestored (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_sessionId (IntPtr raw); + public string SessionId () + { + QString qstr = new QString (qt_QApplication_sessionId (rawObject)); + string str = qstr.Latin1 (); + qstr.Dispose (); + return str; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_commitData (IntPtr raw, IntPtr sm); + public void CommitData (QSessionManager sm) + { + qt_QApplication_commitData (rawObject, sm.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_saveState (IntPtr raw, IntPtr sm); + public void SaveState (QSessionManager sm) + { + qt_QApplication_saveState (rawObject, sm.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_wakeUpGuiThread (IntPtr raw); + public void WakeUpGuiThread () + { + qt_QApplication_wakeUpGuiThread (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_lock (IntPtr raw); + public void Q_lock () + { + qt_QApplication_lock (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_unlock (IntPtr raw, bool wakeUpGui); + public void Unlock (bool wakeUpGui) + { + qt_QApplication_unlock (rawObject, wakeUpGui); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_locked (IntPtr raw); + public bool Locked () + { + return qt_QApplication_locked (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_tryLock (IntPtr raw); + public bool TryLock () + { + return qt_QApplication_tryLock (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setEnableRemoteControl (IntPtr raw, bool enable, IntPtr appId); + public void SetEnableRemoteControl (bool enable, QUuid appId) + { + qt_QApplication_setEnableRemoteControl (rawObject, enable, appId.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_remoteControlEnabled (IntPtr raw); + public bool RemoteControlEnabled () + { + return qt_QApplication_remoteControlEnabled (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_applicationId (IntPtr raw); + public QUuid ApplicationId () + { + return (QUuid)LookupObject (qt_QApplication_applicationId (rawObject), typeof(QUuid)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_quit (IntPtr raw); + public void Quit () + { + qt_QApplication_quit (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_closeAllWindows (IntPtr raw); + public void CloseAllWindows () + { + qt_QApplication_closeAllWindows (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_style (); + public static QStyle Style () + { + return (QStyle)LookupObject (qt_QApplication_style (), typeof(QStyle)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setStyle (IntPtr arg1); + public static void SetStyle (QStyle arg1) + { + qt_QApplication_setStyle (arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_setStyle1 (IntPtr arg1); + public static QStyle SetStyle (string arg1) + { + return (QStyle)LookupObject (qt_QApplication_setStyle1 (new QString (arg1).RawObject), typeof(QStyle)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern ColorMode qt_QApplication_colorMode (); + public static ColorMode TheColorMode () + { + return qt_QApplication_colorMode (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setColorMode (QApplication.ColorMode arg1); + public static void SetColorMode (QApplication.ColorMode arg1) + { + qt_QApplication_setColorMode (arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QApplication_colorSpec (); + public static int TheColorSpec () + { + return qt_QApplication_colorSpec (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setColorSpec (int arg1); + public static void SetColorSpec (int arg1) + { + qt_QApplication_setColorSpec (arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_overrideCursor (); + public static QCursor OverrideCursor () + { + return (QCursor)LookupObject (qt_QApplication_overrideCursor (), typeof(QCursor)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setOverrideCursor (IntPtr arg1, bool replace); + public static void SetOverrideCursor (QCursor arg1, bool replace) + { + qt_QApplication_setOverrideCursor (arg1.RawObject, replace); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_restoreOverrideCursor (); + public static void RestoreOverrideCursor () + { + qt_QApplication_restoreOverrideCursor (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_hasGlobalMouseTracking (); + public static bool HasGlobalMouseTracking () + { + return qt_QApplication_hasGlobalMouseTracking (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setGlobalMouseTracking (bool enable); + public static void SetGlobalMouseTracking (bool enable) + { + qt_QApplication_setGlobalMouseTracking (enable); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_palette (IntPtr arg1); + public static QPalette Palette (QWidget arg1) + { + return (QPalette)LookupObject (qt_QApplication_palette (arg1.RawObject), typeof(QPalette)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setPalette (IntPtr arg1, bool informWidgets, string className); + public static void SetPalette (QPalette arg1, bool informWidgets, string className) + { + qt_QApplication_setPalette (arg1.RawObject, informWidgets, className); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_font (IntPtr arg1); + public static QFont Font (QWidget arg1) + { + return (QFont)LookupObject (qt_QApplication_font (arg1.RawObject), typeof(QFont)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setFont (IntPtr arg1, bool informWidgets, string className); + public static void SetFont (QFont arg1, bool informWidgets, string className) + { + qt_QApplication_setFont (arg1.RawObject, informWidgets, className); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_fontMetrics (); + public static QFontMetrics FontMetrics () + { + return (QFontMetrics)LookupObject (qt_QApplication_fontMetrics (), typeof(QFontMetrics)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_allWidgets (); + public static QWidgetList AllWidgets () + { + return (QWidgetList)LookupObject (qt_QApplication_allWidgets (), typeof(QWidgetList)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_topLevelWidgets (); + public static QWidgetList TopLevelWidgets () + { + return (QWidgetList)LookupObject (qt_QApplication_topLevelWidgets (), typeof(QWidgetList)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_desktop (); + public static QDesktopWidget Desktop () + { + return (QDesktopWidget)LookupObject (qt_QApplication_desktop (), typeof(QDesktopWidget)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_activePopupWidget (); + public static QWidget ActivePopupWidget () + { + return (QWidget)LookupObject (qt_QApplication_activePopupWidget (), typeof(QWidget)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_activeModalWidget (); + public static QWidget ActiveModalWidget () + { + return (QWidget)LookupObject (qt_QApplication_activeModalWidget (), typeof(QWidget)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_clipboard (); + public static QClipboard Clipboard () + { + return (QClipboard)LookupObject (qt_QApplication_clipboard (), typeof(QClipboard)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_widgetAt (int x, int y, bool child); + public static QWidget WidgetAt (int x, int y, bool child) + { + return (QWidget)LookupObject (qt_QApplication_widgetAt (x, y, child), typeof(QWidget)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_widgetAt1 (IntPtr arg1, bool child); + public static QWidget WidgetAt (QPoint arg1, bool child) + { + return (QWidget)LookupObject (qt_QApplication_widgetAt1 (arg1.RawObject, child), typeof(QWidget)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_exit (int retcode); + public static void Exit (int retcode) + { + qt_QApplication_exit (retcode); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_sendPostedEvents (IntPtr receiver, int event_type); + public static void SendPostedEvents (QObject receiver, int event_type) + { + qt_QApplication_sendPostedEvents (receiver.RawObject, event_type); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_sendPostedEvents1 (); + public static void SendPostedEvents () + { + qt_QApplication_sendPostedEvents1 (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_removePostedEvents (IntPtr receiver); + public static void RemovePostedEvents (QObject receiver) + { + qt_QApplication_removePostedEvents (receiver.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_startingUp (); + public static bool StartingUp () + { + return qt_QApplication_startingUp (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_closingDown (); + public static bool ClosingDown () + { + return qt_QApplication_closingDown (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_flushX (); + public static void FlushX () + { + qt_QApplication_flushX (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_flush (); + public static void Flush () + { + qt_QApplication_flush (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_syncX (); + public static void SyncX () + { + qt_QApplication_syncX (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_beep (); + public static void Beep () + { + qt_QApplication_beep (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setWinStyleHighlightColor (IntPtr c); + public static void SetWinStyleHighlightColor (QColor c) + { + qt_QApplication_setWinStyleHighlightColor (c.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_winStyleHighlightColor (); + public static QColor WinStyleHighlightColor () + { + return (QColor)LookupObject (qt_QApplication_winStyleHighlightColor (), typeof(QColor)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setDesktopSettingsAware (bool arg1); + public static void SetDesktopSettingsAware (bool arg1) + { + qt_QApplication_setDesktopSettingsAware (arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_desktopSettingsAware (); + public static bool DesktopSettingsAware () + { + return qt_QApplication_desktopSettingsAware (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setCursorFlashTime (int arg1); + public static void SetCursorFlashTime (int arg1) + { + qt_QApplication_setCursorFlashTime (arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QApplication_cursorFlashTime (); + public static int CursorFlashTime () + { + return qt_QApplication_cursorFlashTime (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setDoubleClickInterval (int arg1); + public static void SetDoubleClickInterval (int arg1) + { + qt_QApplication_setDoubleClickInterval (arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QApplication_doubleClickInterval (); + public static int DoubleClickInterval () + { + return qt_QApplication_doubleClickInterval (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setWheelScrollLines (int arg1); + public static void SetWheelScrollLines (int arg1) + { + qt_QApplication_setWheelScrollLines (arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QApplication_wheelScrollLines (); + public static int WheelScrollLines () + { + return qt_QApplication_wheelScrollLines (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setGlobalStrut (IntPtr arg1); + public static void SetGlobalStrut (QSize arg1) + { + qt_QApplication_setGlobalStrut (arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_globalStrut (); + public static QSize GlobalStrut () + { + return (QSize)LookupObject (qt_QApplication_globalStrut (), typeof(QSize)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setLibraryPaths (IntPtr arg1); + public static void SetLibraryPaths (QStringList arg1) + { + qt_QApplication_setLibraryPaths (arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_libraryPaths (); + public static QStringList LibraryPaths () + { + return (QStringList)LookupObject (qt_QApplication_libraryPaths (), typeof(QStringList)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_addLibraryPath (IntPtr arg1); + public static void AddLibraryPath (string arg1) + { + qt_QApplication_addLibraryPath (new QString (arg1).RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_removeLibraryPath (IntPtr arg1); + public static void RemoveLibraryPath (string arg1) + { + qt_QApplication_removeLibraryPath (new QString (arg1).RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setStartDragTime (int ms); + public static void SetStartDragTime (int ms) + { + qt_QApplication_setStartDragTime (ms); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QApplication_startDragTime (); + public static int StartDragTime () + { + return qt_QApplication_startDragTime (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setStartDragDistance (int l); + public static void SetStartDragDistance (int l) + { + qt_QApplication_setStartDragDistance (l); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QApplication_startDragDistance (); + public static int StartDragDistance () + { + return qt_QApplication_startDragDistance (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setReverseLayout (bool b); + public static void SetReverseLayout (bool b) + { + qt_QApplication_setReverseLayout (b); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_reverseLayout (); + public static bool ReverseLayout () + { + return qt_QApplication_reverseLayout (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QApplication_horizontalAlignment (int align); + public static int HorizontalAlignment (int align) + { + return qt_QApplication_horizontalAlignment (align); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_isEffectEnabled (Qt.UIEffect arg1); + public static bool IsEffectEnabled (Qt.UIEffect arg1) + { + return qt_QApplication_isEffectEnabled (arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_setEffectEnabled (Qt.UIEffect arg1, bool enable); + public static void SetEffectEnabled (Qt.UIEffect arg1, bool enable) + { + qt_QApplication_setEffectEnabled (arg1, enable); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QApplication_qwsDecoration (); + public static IntPtr QwsDecoration () + { + return qt_QApplication_qwsDecoration (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_qwsSetDecoration (IntPtr arg1); + public static void QwsSetDecoration (IntPtr arg1) + { + qt_QApplication_qwsSetDecoration (arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern Qt.WindowsVersion qt_QApplication_winVersion (); + public static Qt.WindowsVersion WinVersion () + { + return qt_QApplication_winVersion (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_winMouseButtonUp (); + public static void WinMouseButtonUp () + { + qt_QApplication_winMouseButtonUp (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_create_xim (); + public static void Create_xim () + { + qt_QApplication_create_xim (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QApplication_close_xim (); + public static void Close_xim () + { + qt_QApplication_close_xim (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QApplication_x11_apply_settings (); + public static bool X11_apply_settings () + { + return qt_QApplication_x11_apply_settings (); + } + + public string Translate (string context, string key) + { + return Translate(context, key, ""); + } + + public string Translate (string context, string key, string comment) + { + return Translate(context, key, comment, Encoding.DefaultCodec); + } + + public void Unlock () + { + Unlock(true); + } + + public void SetEnableRemoteControl (bool enable) + { + SetEnableRemoteControl(enable, new QUuid ()); + } + + public static void SetOverrideCursor (QCursor arg1) + { + SetOverrideCursor(arg1, false); + } + + public static QPalette Palette () + { + return Palette(new QWidget ()); + } + + public static void SetPalette (QPalette arg1) + { + SetPalette(arg1, false); + } + + public static void SetPalette (QPalette arg1, bool informWidgets) + { + SetPalette(arg1, informWidgets, ""); + } + + public static QFont Font () + { + return Font(new QWidget ()); + } + + public static void SetFont (QFont arg1) + { + SetFont(arg1, false); + } + + public static void SetFont (QFont arg1, bool informWidgets) + { + SetFont(arg1, informWidgets, ""); + } + + public static QWidget WidgetAt (int x, int y) + { + return WidgetAt(x, y, false); + } + + public static QWidget WidgetAt (QPoint arg1) + { + return WidgetAt(arg1, false); + } + + public static void Exit () + { + Exit((int) 0); + } + + public static void SetEffectEnabled (Qt.UIEffect arg1) + { + SetEffectEnabled(arg1, true); + } + + // Begin interface methods. + + } +} diff --git a/qtsharp/src/bindings/static/QByteArray.cs b/qtsharp/src/bindings/static/QByteArray.cs new file mode 100644 index 00000000..5bb37574 --- /dev/null +++ b/qtsharp/src/bindings/static/QByteArray.cs @@ -0,0 +1,84 @@ +// QByteArray.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public class QByteArray : QMemArray, IDisposable { + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QByteArray (); + public QByteArray () : this (QNull.Instance) + { + rawObject = qt_new_QByteArray (); + RegisterObject (this); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QByteArray1 (int size); + public QByteArray (int size) : this (QNull.Instance) + { + rawObject = qt_new_QByteArray1 (size); + RegisterObject (this); + } + + internal QByteArray (IntPtr ptr) : this (QNull.Instance) + { + rawObject = ptr; + RegisterObject(this); + } + + internal QByteArray (QNull dummy) : base (QNull.Instance) {} + + ~QByteArray () + { + Dispose (false); + } + + internal override void Delete () + { + if (deleted) return; + + // libqtc lacks a qt_del_QByteArray function + deleted = true; + } + + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QByteArray_assign1 + (IntPtr rawObject, [MarshalAs(UnmanagedType.LPArray)] byte[] b, + uint length ); + + public static implicit operator QByteArray (byte[] bArray) + { + QByteArray qbArray = new QByteArray (bArray.Length); + qbArray.rawObject = + qt_QByteArray_assign1 (qbArray.rawObject, bArray, (uint) bArray.Length); + GC.KeepAlive (bArray); + return qbArray; + } + + // Begin interface methods. + + } +} diff --git a/qtsharp/src/bindings/static/QCallBack.cs b/qtsharp/src/bindings/static/QCallBack.cs new file mode 100644 index 00000000..e3ae5c94 --- /dev/null +++ b/qtsharp/src/bindings/static/QCallBack.cs @@ -0,0 +1,37 @@ +// QCallBack.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// + +namespace Qt { + + using Qt; + using System; + using System.Reflection; + + public class QCallBack { + + public Object receiver; + public MethodInfo info; + + public QCallBack (Object receiver, MethodInfo info) + { + this.receiver = receiver; + this.info = info; + } + } +} diff --git a/qtsharp/src/bindings/static/QEventArgs.cs b/qtsharp/src/bindings/static/QEventArgs.cs new file mode 100644 index 00000000..f4264911 --- /dev/null +++ b/qtsharp/src/bindings/static/QEventArgs.cs @@ -0,0 +1,42 @@ +// QEventArgs.cs - QEventArgs c-sharp support file +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// + +namespace Qt { + + using Qt; + using System; + + public class QEventArgs : EventArgs { + private QEvent qevent; + private string name; + + public QEvent Event { + get { return qevent; } + } + + public string Name { + get { return name; } + } + + public QEventArgs(string n, QEvent e) { + qevent = e; + name = n; + } + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/QEventList.cs b/qtsharp/src/bindings/static/QEventList.cs new file mode 100644 index 00000000..d10afb71 --- /dev/null +++ b/qtsharp/src/bindings/static/QEventList.cs @@ -0,0 +1,55 @@ +// QtSupport.cs - QtSupport c-sharp support file +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// + +namespace Qt { + + using System; + using System.Collections; + + internal class QEventList + { + private Hashtable events; + + internal QEventList () + { + events = new Hashtable (); + } + + internal void Add (String name, System.Delegate handler) + { + if (events [name] == null) + events.Add (name, new ArrayList ()); + + ((ArrayList)events [name]).Add (handler); + } + + internal void Remove (String name, System.Delegate handler) + { + if (events [name] == null) + return; + + ((ArrayList)events [name]).Remove (handler); + } + + internal ArrayList QEventHandlers (String name) + { + return (ArrayList)events [name]; + } + } +} diff --git a/qtsharp/src/bindings/static/QGL.cs b/qtsharp/src/bindings/static/QGL.cs new file mode 100644 index 00000000..f95a645f --- /dev/null +++ b/qtsharp/src/bindings/static/QGL.cs @@ -0,0 +1,49 @@ +// QGL.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + + public class QGL { + + public enum FormatOption { + DoubleBuffer = 1, + DepthBuffer = 2, + Rgba = 4, + AlphaChannel = 8, + AccumBuffer = 16, + StencilBuffer = 32, + StereoBuffers = 64, + DirectRendering = 128, + HasOverlay = 256, + SingleBuffer = DoubleBuffer << 16, + NoDepthBuffer = DepthBuffer << 16, + ColorIndex = Rgba << 16, + NoAlphaChannel = AlphaChannel << 16, + NoAccumBuffer = AccumBuffer << 16, + NoStencilBuffer = StencilBuffer << 16, + NoStereoBuffers = StereoBuffers << 16, + IndirectRendering = DirectRendering << 16, + NoOverlay = HasOverlay << 16 + } + + } +} diff --git a/qtsharp/src/bindings/static/QMenuBar.cs b/qtsharp/src/bindings/static/QMenuBar.cs new file mode 100644 index 00000000..405d7dd0 --- /dev/null +++ b/qtsharp/src/bindings/static/QMenuBar.cs @@ -0,0 +1,815 @@ +// QMenuBar.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Regenerated by Adam Treat on August 03 2002 +// +// TODO +// o Override Dispose method, make sure slots are disconnected. + +namespace Qt { + + using Qt; + using System; + using System.Collections; + using System.Runtime.InteropServices; + + public class QMenuBar : QFrame, IQMenuData, IDisposable { + + private Hashtable menuConnections; + + public Hashtable MenuConnections { + get { return menuConnections; } + } + + public enum Separator { + Never = 0, + InWindowsStyle = 1 + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QMenuBar (IntPtr parent, string name); + public QMenuBar (QWidget parent, string name) : this (QNull.Instance) + { + qparent = parent; + if (qparent == null) parent = new QWidget (IntPtr.Zero); + rawObject = qt_new_QMenuBar (parent.RawObject, name); + if (qparent == null) RegisterObject (this); + else qparent.AddChild (this); + } + + public QMenuBar () : this (new QWidget ()) {} + + public QMenuBar (QWidget parent) : this (parent, "") {} + + internal QMenuBar (IntPtr ptr) : this (QNull.Instance) + { + rawObject = ptr; + RegisterObject(this); + } + + internal QMenuBar (QNull dummy) : base (QNull.Instance) + { + menuConnections = new Hashtable(); + } + + ~QMenuBar () + { + Dispose (false); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_del_QMenuBar (IntPtr obj); + internal override void Delete () + { + if (deleted) return; + + qt_del_QMenuBar (rawObject); + deleted = true; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuBar_updateItem (IntPtr raw, int identifier); + public void UpdateItem (int identifier) + { + qt_QMenuBar_updateItem (rawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuBar_show (IntPtr raw); + public void Show () + { + qt_QMenuBar_show (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuBar_hide (IntPtr raw); + public void Hide () + { + qt_QMenuBar_hide (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuBar_eventFilter (IntPtr raw, IntPtr arg1, IntPtr arg2); + public bool EventFilter (QObject arg1, QEvent arg2) + { + return qt_QMenuBar_eventFilter (rawObject, arg1.RawObject, arg2.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuBar_heightForWidth (IntPtr raw, int arg1); + public int HeightForWidth (int arg1) + { + return qt_QMenuBar_heightForWidth (rawObject, arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern QMenuBar.Separator qt_QMenuBar_separator (IntPtr raw); + public QMenuBar.Separator TheSeparator () + { + return qt_QMenuBar_separator (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuBar_setSeparator (IntPtr raw, QMenuBar.Separator when); + public void SetSeparator (QMenuBar.Separator when) + { + qt_QMenuBar_setSeparator (rawObject, when); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuBar_setDefaultUp (IntPtr raw, bool arg1); + public void SetDefaultUp (bool arg1) + { + qt_QMenuBar_setDefaultUp (rawObject, arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuBar_isDefaultUp (IntPtr raw); + public bool IsDefaultUp () + { + return qt_QMenuBar_isDefaultUp (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuBar_customWhatsThis (IntPtr raw); + public bool CustomWhatsThis () + { + return qt_QMenuBar_customWhatsThis (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuBar_sizeHint (IntPtr raw); + public QSize SizeHint () + { + return (QSize)LookupObject (qt_QMenuBar_sizeHint (rawObject), typeof(QSize)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuBar_minimumSize (IntPtr raw); + public QSize MinimumSize () + { + return (QSize)LookupObject (qt_QMenuBar_minimumSize (rawObject), typeof(QSize)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuBar_minimumSizeHint (IntPtr raw); + public QSize MinimumSizeHint () + { + return (QSize)LookupObject (qt_QMenuBar_minimumSizeHint (rawObject), typeof(QSize)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuBar_activateItemAt (IntPtr raw, int index); + public void ActivateItemAt (int index) + { + qt_QMenuBar_activateItemAt (rawObject, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuBar_initialize (); + public static void Initialize () + { + qt_QMenuBar_initialize (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuBar_cleanup (); + public static void Cleanup () + { + qt_QMenuBar_cleanup (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuBar_drawContents (IntPtr raw, IntPtr arg1); + protected void DrawContents (QPainter arg1) + { + qt_QMenuBar_drawContents (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuBar_fontChange (IntPtr raw, IntPtr arg1); + protected void FontChange (QFont arg1) + { + qt_QMenuBar_fontChange (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuBar_menuContentsChanged (IntPtr raw); + protected void MenuContentsChanged () + { + qt_QMenuBar_menuContentsChanged (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuBar_menuStateChanged (IntPtr raw); + protected void MenuStateChanged () + { + qt_QMenuBar_menuStateChanged (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuBar_styleChange (IntPtr raw, IntPtr arg1); + protected void StyleChange (QStyle arg1) + { + qt_QMenuBar_styleChange (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuBar_itemAtPos (IntPtr raw, IntPtr arg1); + protected int ItemAtPos (QPoint arg1) + { + return qt_QMenuBar_itemAtPos (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuBar_hidePopups (IntPtr raw); + protected void HidePopups () + { + qt_QMenuBar_hidePopups (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuBar_itemRect (IntPtr raw, int item); + protected QRect ItemRect (int item) + { + return (QRect)LookupObject (qt_QMenuBar_itemRect (rawObject, item), typeof(QRect)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuBar_QMenuData (IntPtr raw); + public IntPtr QMenuData () + { + return qt_QMenuBar_QMenuData (rawObject); + } + + // Begin interface methods. + + + //********************* A temporary hack to divert connections to CSharpConnect *****************// + + // This makes my brain hurt! + // :-) Mine too! + + public int InsertItem (string text, QObject receiver, string member, QKeySequence accel, int identifier, int index) + { + int id = InsertItem (text, identifier, index); + SetAccel (accel, id); + ConnectItem (id, receiver, member); + return id; + } + + public int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel, int identifier, int index) + { + int id = InsertItem (icon, text, identifier, index); + SetAccel (accel, id); + ConnectItem (id, receiver, member); + return id; + } + + public int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier, int index) + { + int id = InsertItem (pixmap, identifier, index); + SetAccel (accel, id); + ConnectItem (id, receiver, member); + return id; + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier, int index) + { + int id = InsertItem (icon, pixmap, identifier, index); + SetAccel (accel, id); + ConnectItem (id, receiver, member); + return id; + } + + public bool ConnectItem (int identifier, QObject receiver, string member) + { + return Qt.QMenuData.ConnectItem (this, QMenuData (), identifier, receiver, member); + + } + + public bool DisconnectItem (int identifier, QObject receiver, string member) + { + return Qt.QMenuData.DisconnectItem (this, QMenuData (), identifier, receiver, member); + } + + //********************* A temporary hack to divert connections to CSharpConnect *****************// + + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern uint qt_QMenuData_count (IntPtr raw); + public uint Count () + { + return qt_QMenuData_count (QMenuData ()); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem4 (IntPtr raw, IntPtr text, int identifier, int index); + public int InsertItem (string text, int identifier, int index) + { + return qt_QMenuData_insertItem4 (QMenuData (), new QString (text).RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem5 (IntPtr raw, IntPtr icon, IntPtr text, int identifier, int index); + public int InsertItem (QIconSet icon, string text, int identifier, int index) + { + return qt_QMenuData_insertItem5 (QMenuData (), icon.RawObject, new QString (text).RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem6 (IntPtr raw, IntPtr text, IntPtr popup, int identifier, int index); + public int InsertItem (string text, QPopupMenu popup, int identifier, int index) + { + return qt_QMenuData_insertItem6 (QMenuData (), new QString (text).RawObject, popup.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem7 (IntPtr raw, IntPtr icon, IntPtr text, IntPtr popup, int identifier, int index); + public int InsertItem (QIconSet icon, string text, QPopupMenu popup, int identifier, int index) + { + return qt_QMenuData_insertItem7 (QMenuData (), icon.RawObject, new QString (text).RawObject, popup.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem8 (IntPtr raw, IntPtr pixmap, int identifier, int index); + public int InsertItem (QPixmap pixmap, int identifier, int index) + { + return qt_QMenuData_insertItem8 (QMenuData (), pixmap.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem9 (IntPtr raw, IntPtr icon, IntPtr pixmap, int identifier, int index); + public int InsertItem (QIconSet icon, QPixmap pixmap, int identifier, int index) + { + return qt_QMenuData_insertItem9 (QMenuData (), icon.RawObject, pixmap.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem10 (IntPtr raw, IntPtr pixmap, IntPtr popup, int identifier, int index); + public int InsertItem (QPixmap pixmap, QPopupMenu popup, int identifier, int index) + { + return qt_QMenuData_insertItem10 (QMenuData (), pixmap.RawObject, popup.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem11 (IntPtr raw, IntPtr icon, IntPtr pixmap, IntPtr popup, int identifier, int index); + public int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup, int identifier, int index) + { + return qt_QMenuData_insertItem11 (QMenuData (), icon.RawObject, pixmap.RawObject, popup.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem12 (IntPtr raw, IntPtr widget, int identifier, int index); + public int InsertItem (QWidget widget, int identifier, int index) + { + return qt_QMenuData_insertItem12 (QMenuData (), widget.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem13 (IntPtr raw, IntPtr icon, IntPtr custom, int identifier, int index); + public int InsertItem (QIconSet icon, QCustomMenuItem custom, int identifier, int index) + { + return qt_QMenuData_insertItem13 (QMenuData (), icon.RawObject, custom.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem14 (IntPtr raw, IntPtr custom, int identifier, int index); + public int InsertItem (QCustomMenuItem custom, int identifier, int index) + { + return qt_QMenuData_insertItem14 (QMenuData (), custom.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertSeparator (IntPtr raw, int index); + public int InsertSeparator (int index) + { + return qt_QMenuData_insertSeparator (QMenuData (), index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_removeItem (IntPtr raw, int identifier); + public void RemoveItem (int identifier) + { + qt_QMenuData_removeItem (QMenuData (), identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_removeItemAt (IntPtr raw, int index); + public void RemoveItemAt (int index) + { + qt_QMenuData_removeItemAt (QMenuData (), index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_clear (IntPtr raw); + public void Clear () + { + qt_QMenuData_clear (QMenuData ()); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_accel (IntPtr raw, int identifier); + public QKeySequence Accel (int identifier) + { + return (QKeySequence)LookupObject (qt_QMenuData_accel (QMenuData (), identifier), typeof(QKeySequence)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setAccel (IntPtr raw, IntPtr key, int identifier); + public void SetAccel (QKeySequence key, int identifier) + { + qt_QMenuData_setAccel (QMenuData (), key.RawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_iconSet (IntPtr raw, int identifier); + public QIconSet IconSet (int identifier) + { + return (QIconSet)LookupObject (qt_QMenuData_iconSet (QMenuData (), identifier), typeof(QIconSet)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_text (IntPtr raw, int identifier); + public string Text (int identifier) + { + QString qstr = new QString (qt_QMenuData_text (QMenuData (), identifier)); + string str = qstr.Latin1 (); + qstr.Dispose (); + return str; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_pixmap (IntPtr raw, int identifier); + public QPixmap Pixmap (int identifier) + { + return (QPixmap)LookupObject (qt_QMenuData_pixmap (QMenuData (), identifier), typeof(QPixmap)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setWhatsThis (IntPtr raw, int identifier, IntPtr arg1); + public void SetWhatsThis (int identifier, string arg1) + { + qt_QMenuData_setWhatsThis (QMenuData (), identifier, new QString (arg1).RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_whatsThis (IntPtr raw, int identifier); + public string WhatsThis (int identifier) + { + QString qstr = new QString (qt_QMenuData_whatsThis (QMenuData (), identifier)); + string str = qstr.Latin1 (); + qstr.Dispose (); + return str; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem (IntPtr raw, int identifier, IntPtr text); + public void ChangeItem (int identifier, string text) + { + qt_QMenuData_changeItem (QMenuData (), identifier, new QString (text).RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem1 (IntPtr raw, int identifier, IntPtr pixmap); + public void ChangeItem (int identifier, QPixmap pixmap) + { + qt_QMenuData_changeItem1 (QMenuData (), identifier, pixmap.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem2 (IntPtr raw, int identifier, IntPtr icon, IntPtr text); + public void ChangeItem (int identifier, QIconSet icon, string text) + { + qt_QMenuData_changeItem2 (QMenuData (), identifier, icon.RawObject, new QString (text).RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem3 (IntPtr raw, int identifier, IntPtr icon, IntPtr pixmap); + public void ChangeItem (int identifier, QIconSet icon, QPixmap pixmap) + { + qt_QMenuData_changeItem3 (QMenuData (), identifier, icon.RawObject, pixmap.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem4 (IntPtr raw, IntPtr text, int identifier); + public void ChangeItem (string text, int identifier) + { + qt_QMenuData_changeItem4 (QMenuData (), new QString (text).RawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem5 (IntPtr raw, IntPtr pixmap, int identifier); + public void ChangeItem (QPixmap pixmap, int identifier) + { + qt_QMenuData_changeItem5 (QMenuData (), pixmap.RawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem6 (IntPtr raw, IntPtr icon, IntPtr text, int identifier); + public void ChangeItem (QIconSet icon, string text, int identifier) + { + qt_QMenuData_changeItem6 (QMenuData (), icon.RawObject, new QString (text).RawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuData_isItemActive (IntPtr raw, int identifier); + public bool IsItemActive (int identifier) + { + return qt_QMenuData_isItemActive (QMenuData (), identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuData_isItemEnabled (IntPtr raw, int identifier); + public bool IsItemEnabled (int identifier) + { + return qt_QMenuData_isItemEnabled (QMenuData (), identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setItemEnabled (IntPtr raw, int identifier, bool enable); + public void SetItemEnabled (int identifier, bool enable) + { + qt_QMenuData_setItemEnabled (QMenuData (), identifier, enable); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuData_isItemChecked (IntPtr raw, int identifier); + public bool IsItemChecked (int identifier) + { + return qt_QMenuData_isItemChecked (QMenuData (), identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setItemChecked (IntPtr raw, int identifier, bool check); + public void SetItemChecked (int identifier, bool check) + { + qt_QMenuData_setItemChecked (QMenuData (), identifier, check); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_indexOf (IntPtr raw, int identifier); + public int IndexOf (int identifier) + { + return qt_QMenuData_indexOf (QMenuData (), identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_idAt (IntPtr raw, int index); + public int IdAt (int index) + { + return qt_QMenuData_idAt (QMenuData (), index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setId (IntPtr raw, int index, int identifier); + public void SetId (int index, int identifier) + { + qt_QMenuData_setId (QMenuData (), index, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuData_setItemParameter (IntPtr raw, int identifier, int param); + public bool SetItemParameter (int identifier, int param) + { + return qt_QMenuData_setItemParameter (QMenuData (), identifier, param); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_itemParameter (IntPtr raw, int identifier); + public int ItemParameter (int identifier) + { + return qt_QMenuData_itemParameter (QMenuData (), identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_findItem (IntPtr raw, int identifier); + public QMenuItem FindItem (int identifier) + { + return (QMenuItem)LookupObject (qt_QMenuData_findItem (QMenuData (), identifier), typeof(QMenuItem)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_findItem1 (IntPtr raw, int identifier, IntPtr parent); + public QMenuItem FindItem (int identifier, QMenuData parent) + { + return (QMenuItem)LookupObject (qt_QMenuData_findItem1 (QMenuData (), identifier, parent.RawObject), typeof(QMenuItem)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_findPopup (IntPtr raw, IntPtr arg1, int[] index); + public QMenuItem FindPopup (QPopupMenu arg1, int[] index) + { + return (QMenuItem)LookupObject (qt_QMenuData_findPopup (QMenuData (), arg1.RawObject, index), typeof(QMenuItem)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_menuInsPopup (IntPtr raw, IntPtr arg1); + protected void MenuInsPopup (QPopupMenu arg1) + { + qt_QMenuData_menuInsPopup (QMenuData (), arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_menuDelPopup (IntPtr raw, IntPtr arg1); + protected void MenuDelPopup (QPopupMenu arg1) + { + qt_QMenuData_menuDelPopup (QMenuData (), arg1.RawObject); + } + + public int InsertItem (string text, QObject receiver, string member) + { + return InsertItem(text, receiver, member, new QKeySequence ()); + } + + public int InsertItem (string text, QObject receiver, string member, QKeySequence accel) + { + return InsertItem(text, receiver, member, accel, (int) -1); + } + + public int InsertItem (string text, QObject receiver, string member, QKeySequence accel, int identifier) + { + return InsertItem(text, receiver, member, accel, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, QObject receiver, string member) + { + return InsertItem(icon, text, receiver, member, new QKeySequence ()); + } + + public int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel) + { + return InsertItem(icon, text, receiver, member, accel, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel, int identifier) + { + return InsertItem(icon, text, receiver, member, accel, identifier, (int) -1); + } + + public int InsertItem (QPixmap pixmap, QObject receiver, string member) + { + return InsertItem(pixmap, receiver, member, new QKeySequence ()); + } + + public int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel) + { + return InsertItem(pixmap, receiver, member, accel, (int) -1); + } + + public int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier) + { + return InsertItem(pixmap, receiver, member, accel, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member) + { + return InsertItem(icon, pixmap, receiver, member, new QKeySequence ()); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel) + { + return InsertItem(icon, pixmap, receiver, member, accel, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier) + { + return InsertItem(icon, pixmap, receiver, member, accel, identifier, (int) -1); + } + + public int InsertItem (string text) + { + return InsertItem(text, (int) -1); + } + + public int InsertItem (string text, int identifier) + { + return InsertItem(text, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, string text) + { + return InsertItem(icon, text, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, int identifier) + { + return InsertItem(icon, text, identifier, (int) -1); + } + + public int InsertItem (string text, QPopupMenu popup) + { + return InsertItem(text, popup, (int) -1); + } + + public int InsertItem (string text, QPopupMenu popup, int identifier) + { + return InsertItem(text, popup, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, QPopupMenu popup) + { + return InsertItem(icon, text, popup, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, QPopupMenu popup, int identifier) + { + return InsertItem(icon, text, popup, identifier, (int) -1); + } + + public int InsertItem (QPixmap pixmap) + { + return InsertItem(pixmap, (int) -1); + } + + public int InsertItem (QPixmap pixmap, int identifier) + { + return InsertItem(pixmap, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap) + { + return InsertItem(icon, pixmap, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, int identifier) + { + return InsertItem(icon, pixmap, identifier, (int) -1); + } + + public int InsertItem (QPixmap pixmap, QPopupMenu popup) + { + return InsertItem(pixmap, popup, (int) -1); + } + + public int InsertItem (QPixmap pixmap, QPopupMenu popup, int identifier) + { + return InsertItem(pixmap, popup, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup) + { + return InsertItem(icon, pixmap, popup, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup, int identifier) + { + return InsertItem(icon, pixmap, popup, identifier, (int) -1); + } + + public int InsertItem (QWidget widget) + { + return InsertItem(widget, (int) -1); + } + + public int InsertItem (QWidget widget, int identifier) + { + return InsertItem(widget, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, QCustomMenuItem custom) + { + return InsertItem(icon, custom, (int) -1); + } + + public int InsertItem (QIconSet icon, QCustomMenuItem custom, int identifier) + { + return InsertItem(icon, custom, identifier, (int) -1); + } + + public int InsertItem (QCustomMenuItem custom) + { + return InsertItem(custom, (int) -1); + } + + public int InsertItem (QCustomMenuItem custom, int identifier) + { + return InsertItem(custom, identifier, (int) -1); + } + + public int InsertSeparator () + { + return InsertSeparator((int) -1); + } + + public QMenuItem FindPopup (QPopupMenu arg1) + { + return FindPopup(arg1, new int[]{0}); + } + } +} diff --git a/qtsharp/src/bindings/static/QMenuData.cs b/qtsharp/src/bindings/static/QMenuData.cs new file mode 100644 index 00000000..dc2813a0 --- /dev/null +++ b/qtsharp/src/bindings/static/QMenuData.cs @@ -0,0 +1,719 @@ +// QMenuData.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Regenerated by Adam Treat on August 03 2002 +// +// TODO +// o The QMenu* and QPopupMenu classes need serious analysis. I've only added +// functionality for C# slot support - I've not made sure its all working. :-) + +namespace Qt { + + using Qt; + using System; + using System.Collections; + using System.Runtime.InteropServices; + + public class QMenuData : QtSupport, IQMenuData, IDisposable { + + private Hashtable menuConnections; + + public Hashtable MenuConnections { + get { return menuConnections; } + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QMenuData (); + public QMenuData () : this (QNull.Instance) + { + rawObject = qt_new_QMenuData (); + RegisterObject (this); + } + + internal QMenuData (IntPtr ptr) : this (QNull.Instance) + { + rawObject = ptr; + RegisterObject(this); + } + + internal QMenuData (QNull dummy) : base (QNull.Instance) + { + menuConnections = new Hashtable(); + } + + ~QMenuData () + { + Dispose(false); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_del_QMenuData (IntPtr obj); + internal override void Delete () + { + if (deleted) return; + + qt_del_QMenuData (rawObject); + deleted = true; + } + + // The next two static methods are here to service all IQMenuData implementors. + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuData_connectItem (IntPtr raw, int identifier, IntPtr receiver, string member); + + internal static bool ConnectItem (IQMenuData menu, IntPtr menudata, int id, QObject receiver, string slot) + { + if (QtSignal.traceConnects) + ErrMsg ("ConnectItem: ({0}) {1}, {2}, ({3}) {4}, {5}", menudata, menu, id, receiver.RawObject, receiver, slot); + + QtSlot slotobj = new QtSlot(receiver, QtSignal.NormalizeParam(slot)); + + if (slotobj.IsCSharpSlot) { + ArrayList cxlist; + + if ((cxlist = (ArrayList)menu.MenuConnections[id]) == null) + menu.MenuConnections[id] = cxlist = new ArrayList(); + else if (cxlist.Contains(slotobj)) + return false; + + Delegate del; + + switch (slotobj.Args) { + case "()": + del = Delegate.CreateDelegate (typeof (QtSignal.del_void), receiver, slotobj.Name); + slotobj.WrapperPtr = csharp_connect_item_void (menudata, id, receiver.RawObject, del); + break; + case "(int)": + del = Delegate.CreateDelegate (typeof (QtSignal.del_int), receiver, slotobj.Name); + slotobj.WrapperPtr = csharp_connect_item_int (((QtSupport)menu).RawObject, id, receiver.RawObject, del); + break; + default: + throw new ArgumentException("Unsupported slot arguments: " + slotobj.Args); + } + + if (slotobj.WrapperPtr == IntPtr.Zero) { + return false; + } + + slotobj.Callback = del; + cxlist.Add(slotobj); + return true; + } + else { + return qt_QMenuData_connectItem(menudata, id, receiver.RawObject, slot); + } + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuData_disconnectItem (IntPtr raw, int identifier, IntPtr receiver, string member); + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_del_QObject (IntPtr raw); + + internal static bool DisconnectItem (IQMenuData menu, IntPtr menudata, int id, QObject receiver, string slot) + { + if (QtSignal.traceConnects) + ErrMsg ("DisconnectItem: ({0}) {1}, {2}, ({3}) {4}, {5}", menudata, menu, id, receiver.RawObject, receiver, slot); + + QtSlot slotobj = new QtSlot(receiver, QtSignal.NormalizeParam(slot)); + + if (slotobj.IsCSharpSlot) { + ArrayList cxlist; + + if ((cxlist = (ArrayList)menu.MenuConnections[id]) == null) + return false; + else if (!cxlist.Contains(slotobj)) + return false; + + // FIXME Make sure LastIndexOf tests equality with Equals. MS docs are unclear... + slotobj = (QtSlot)cxlist[cxlist.LastIndexOf(slotobj)]; + cxlist.Remove(slotobj); + if (cxlist.Count == 0) + menu.MenuConnections.Remove (cxlist); + + // FIXME Make sure QObject's dtor auto-disconnects menu items. + qt_del_QObject (slotobj.WrapperPtr); + return true; + } + else { + return qt_QMenuData_disconnectItem (menudata, id, receiver.RawObject, slot); + } + } + + // Hack so QMenuData implements IQMenuData... + + public bool setItemParameter (int identifier, int param) + { + return false; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern uint qt_QMenuData_count (IntPtr raw); + public uint Count () + { + return qt_QMenuData_count (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem4 (IntPtr raw, IntPtr text, int identifier, int index); + public int InsertItem (string text, int identifier, int index) + { + return qt_QMenuData_insertItem4 (rawObject, new QString (text).RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem5 (IntPtr raw, IntPtr icon, IntPtr text, int identifier, int index); + public int InsertItem (QIconSet icon, string text, int identifier, int index) + { + return qt_QMenuData_insertItem5 (rawObject, icon.RawObject, new QString (text).RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem6 (IntPtr raw, IntPtr text, IntPtr popup, int identifier, int index); + public int InsertItem (string text, QPopupMenu popup, int identifier, int index) + { + return qt_QMenuData_insertItem6 (rawObject, new QString (text).RawObject, popup.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem7 (IntPtr raw, IntPtr icon, IntPtr text, IntPtr popup, int identifier, int index); + public int InsertItem (QIconSet icon, string text, QPopupMenu popup, int identifier, int index) + { + return qt_QMenuData_insertItem7 (rawObject, icon.RawObject, new QString (text).RawObject, popup.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem8 (IntPtr raw, IntPtr pixmap, int identifier, int index); + public int InsertItem (QPixmap pixmap, int identifier, int index) + { + return qt_QMenuData_insertItem8 (rawObject, pixmap.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem9 (IntPtr raw, IntPtr icon, IntPtr pixmap, int identifier, int index); + public int InsertItem (QIconSet icon, QPixmap pixmap, int identifier, int index) + { + return qt_QMenuData_insertItem9 (rawObject, icon.RawObject, pixmap.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem10 (IntPtr raw, IntPtr pixmap, IntPtr popup, int identifier, int index); + public int InsertItem (QPixmap pixmap, QPopupMenu popup, int identifier, int index) + { + return qt_QMenuData_insertItem10 (rawObject, pixmap.RawObject, popup.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem11 (IntPtr raw, IntPtr icon, IntPtr pixmap, IntPtr popup, int identifier, int index); + public int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup, int identifier, int index) + { + return qt_QMenuData_insertItem11 (rawObject, icon.RawObject, pixmap.RawObject, popup.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem12 (IntPtr raw, IntPtr widget, int identifier, int index); + public int InsertItem (QWidget widget, int identifier, int index) + { + return qt_QMenuData_insertItem12 (rawObject, widget.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem13 (IntPtr raw, IntPtr icon, IntPtr custom, int identifier, int index); + public int InsertItem (QIconSet icon, QCustomMenuItem custom, int identifier, int index) + { + return qt_QMenuData_insertItem13 (rawObject, icon.RawObject, custom.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem14 (IntPtr raw, IntPtr custom, int identifier, int index); + public int InsertItem (QCustomMenuItem custom, int identifier, int index) + { + return qt_QMenuData_insertItem14 (rawObject, custom.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertSeparator (IntPtr raw, int index); + public int InsertSeparator (int index) + { + return qt_QMenuData_insertSeparator (rawObject, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_removeItem (IntPtr raw, int identifier); + public void RemoveItem (int identifier) + { + qt_QMenuData_removeItem (rawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_removeItemAt (IntPtr raw, int index); + public void RemoveItemAt (int index) + { + qt_QMenuData_removeItemAt (rawObject, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_clear (IntPtr raw); + public void Clear () + { + qt_QMenuData_clear (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_accel (IntPtr raw, int identifier); + public QKeySequence Accel (int identifier) + { + return (QKeySequence)LookupObject (qt_QMenuData_accel (rawObject, identifier), typeof(QKeySequence)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setAccel (IntPtr raw, IntPtr key, int identifier); + public void SetAccel (QKeySequence key, int identifier) + { + qt_QMenuData_setAccel (rawObject, key.RawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_iconSet (IntPtr raw, int identifier); + public QIconSet IconSet (int identifier) + { + return (QIconSet)LookupObject (qt_QMenuData_iconSet (rawObject, identifier), typeof(QIconSet)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_text (IntPtr raw, int identifier); + public string Text (int identifier) + { + QString qstr = new QString (qt_QMenuData_text (rawObject, identifier)); + string str = qstr.Latin1 (); + qstr.Dispose (); + return str; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_pixmap (IntPtr raw, int identifier); + public QPixmap Pixmap (int identifier) + { + return (QPixmap)LookupObject (qt_QMenuData_pixmap (rawObject, identifier), typeof(QPixmap)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setWhatsThis (IntPtr raw, int identifier, IntPtr arg1); + public void SetWhatsThis (int identifier, string arg1) + { + qt_QMenuData_setWhatsThis (rawObject, identifier, new QString (arg1).RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_whatsThis (IntPtr raw, int identifier); + public string WhatsThis (int identifier) + { + QString qstr = new QString (qt_QMenuData_whatsThis (rawObject, identifier)); + string str = qstr.Latin1 (); + qstr.Dispose (); + return str; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem (IntPtr raw, int identifier, IntPtr text); + public void ChangeItem (int identifier, string text) + { + qt_QMenuData_changeItem (rawObject, identifier, new QString (text).RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem1 (IntPtr raw, int identifier, IntPtr pixmap); + public void ChangeItem (int identifier, QPixmap pixmap) + { + qt_QMenuData_changeItem1 (rawObject, identifier, pixmap.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem2 (IntPtr raw, int identifier, IntPtr icon, IntPtr text); + public void ChangeItem (int identifier, QIconSet icon, string text) + { + qt_QMenuData_changeItem2 (rawObject, identifier, icon.RawObject, new QString (text).RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem3 (IntPtr raw, int identifier, IntPtr icon, IntPtr pixmap); + public void ChangeItem (int identifier, QIconSet icon, QPixmap pixmap) + { + qt_QMenuData_changeItem3 (rawObject, identifier, icon.RawObject, pixmap.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem4 (IntPtr raw, IntPtr text, int identifier); + public void ChangeItem (string text, int identifier) + { + qt_QMenuData_changeItem4 (rawObject, new QString (text).RawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem5 (IntPtr raw, IntPtr pixmap, int identifier); + public void ChangeItem (QPixmap pixmap, int identifier) + { + qt_QMenuData_changeItem5 (rawObject, pixmap.RawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem6 (IntPtr raw, IntPtr icon, IntPtr text, int identifier); + public void ChangeItem (QIconSet icon, string text, int identifier) + { + qt_QMenuData_changeItem6 (rawObject, icon.RawObject, new QString (text).RawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuData_isItemActive (IntPtr raw, int identifier); + public bool IsItemActive (int identifier) + { + return qt_QMenuData_isItemActive (rawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuData_isItemEnabled (IntPtr raw, int identifier); + public bool IsItemEnabled (int identifier) + { + return qt_QMenuData_isItemEnabled (rawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setItemEnabled (IntPtr raw, int identifier, bool enable); + public void SetItemEnabled (int identifier, bool enable) + { + qt_QMenuData_setItemEnabled (rawObject, identifier, enable); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuData_isItemChecked (IntPtr raw, int identifier); + public bool IsItemChecked (int identifier) + { + return qt_QMenuData_isItemChecked (rawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setItemChecked (IntPtr raw, int identifier, bool check); + public void SetItemChecked (int identifier, bool check) + { + qt_QMenuData_setItemChecked (rawObject, identifier, check); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_indexOf (IntPtr raw, int identifier); + public int IndexOf (int identifier) + { + return qt_QMenuData_indexOf (rawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_idAt (IntPtr raw, int index); + public int IdAt (int index) + { + return qt_QMenuData_idAt (rawObject, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setId (IntPtr raw, int index, int identifier); + public void SetId (int index, int identifier) + { + qt_QMenuData_setId (rawObject, index, identifier); + } + + //********************* A temporary hack to divert connections to CSharpConnect *****************// + + public bool ConnectItem (int identifier, QObject receiver, string slot) + { + return ConnectItem (this, this.RawObject, identifier, receiver, slot); + } + + public bool DisconnectItem (int identifier, QObject receiver, string slot) + { + return DisconnectItem (this, this.RawObject, identifier, receiver, slot); + } + + public int InsertItem (string text, QObject receiver, string member, QKeySequence accel, int identifier, int index) + { + int id = InsertItem (text, identifier, index); + SetAccel (accel, id); + ConnectItem (id, receiver, member); + return id; + } + + public int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel, int identifier, int index) + { + int id = InsertItem (icon, text, identifier, index); + SetAccel (accel, id); + ConnectItem (id, receiver, member); + return id; + } + + public int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier, int index) + { + int id = InsertItem (pixmap, identifier, index); + SetAccel (accel, id); + ConnectItem (id, receiver, member); + return id; + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier, int index) + { + int id = InsertItem (icon, pixmap, identifier, index); + SetAccel (accel, id); + ConnectItem (id, receiver, member); + return id; + } + + //********************* A temporary hack to divert connections to CSharpConnect *****************// + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuData_setItemParameter (IntPtr raw, int identifier, int param); + public bool SetItemParameter (int identifier, int param) + { + return qt_QMenuData_setItemParameter (rawObject, identifier, param); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_itemParameter (IntPtr raw, int identifier); + public int ItemParameter (int identifier) + { + return qt_QMenuData_itemParameter (rawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_findItem (IntPtr raw, int identifier); + public QMenuItem FindItem (int identifier) + { + return (QMenuItem)LookupObject (qt_QMenuData_findItem (rawObject, identifier), typeof(QMenuItem)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_findItem1 (IntPtr raw, int identifier, IntPtr parent); + public QMenuItem FindItem (int identifier, QMenuData parent) + { + return (QMenuItem)LookupObject (qt_QMenuData_findItem1 (rawObject, identifier, parent.RawObject), typeof(QMenuItem)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_findPopup (IntPtr raw, IntPtr arg1, int[] index); + public QMenuItem FindPopup (QPopupMenu arg1, int[] index) + { + return (QMenuItem)LookupObject (qt_QMenuData_findPopup (rawObject, arg1.RawObject, index), typeof(QMenuItem)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_menuInsPopup (IntPtr raw, IntPtr arg1); + protected void MenuInsPopup (QPopupMenu arg1) + { + qt_QMenuData_menuInsPopup (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_menuDelPopup (IntPtr raw, IntPtr arg1); + protected void MenuDelPopup (QPopupMenu arg1) + { + qt_QMenuData_menuDelPopup (rawObject, arg1.RawObject); + } + + public int InsertItem (string text, QObject receiver, string member) + { + return InsertItem(text, receiver, member, new QKeySequence ()); + } + + public int InsertItem (string text, QObject receiver, string member, QKeySequence accel) + { + return InsertItem(text, receiver, member, accel, (int) -1); + } + + public int InsertItem (string text, QObject receiver, string member, QKeySequence accel, int identifier) + { + return InsertItem(text, receiver, member, accel, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, QObject receiver, string member) + { + return InsertItem(icon, text, receiver, member, new QKeySequence ()); + } + + public int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel) + { + return InsertItem(icon, text, receiver, member, accel, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel, int identifier) + { + return InsertItem(icon, text, receiver, member, accel, identifier, (int) -1); + } + + public int InsertItem (QPixmap pixmap, QObject receiver, string member) + { + return InsertItem(pixmap, receiver, member, new QKeySequence ()); + } + + public int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel) + { + return InsertItem(pixmap, receiver, member, accel, (int) -1); + } + + public int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier) + { + return InsertItem(pixmap, receiver, member, accel, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member) + { + return InsertItem(icon, pixmap, receiver, member, new QKeySequence ()); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel) + { + return InsertItem(icon, pixmap, receiver, member, accel, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier) + { + return InsertItem(icon, pixmap, receiver, member, accel, identifier, (int) -1); + } + + public int InsertItem (string text) + { + return InsertItem(text, (int) -1); + } + + public int InsertItem (string text, int identifier) + { + return InsertItem(text, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, string text) + { + return InsertItem(icon, text, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, int identifier) + { + return InsertItem(icon, text, identifier, (int) -1); + } + + public int InsertItem (string text, QPopupMenu popup) + { + return InsertItem(text, popup, (int) -1); + } + + public int InsertItem (string text, QPopupMenu popup, int identifier) + { + return InsertItem(text, popup, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, QPopupMenu popup) + { + return InsertItem(icon, text, popup, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, QPopupMenu popup, int identifier) + { + return InsertItem(icon, text, popup, identifier, (int) -1); + } + + public int InsertItem (QPixmap pixmap) + { + return InsertItem(pixmap, (int) -1); + } + + public int InsertItem (QPixmap pixmap, int identifier) + { + return InsertItem(pixmap, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap) + { + return InsertItem(icon, pixmap, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, int identifier) + { + return InsertItem(icon, pixmap, identifier, (int) -1); + } + + public int InsertItem (QPixmap pixmap, QPopupMenu popup) + { + return InsertItem(pixmap, popup, (int) -1); + } + + public int InsertItem (QPixmap pixmap, QPopupMenu popup, int identifier) + { + return InsertItem(pixmap, popup, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup) + { + return InsertItem(icon, pixmap, popup, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup, int identifier) + { + return InsertItem(icon, pixmap, popup, identifier, (int) -1); + } + + public int InsertItem (QWidget widget) + { + return InsertItem(widget, (int) -1); + } + + public int InsertItem (QWidget widget, int identifier) + { + return InsertItem(widget, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, QCustomMenuItem custom) + { + return InsertItem(icon, custom, (int) -1); + } + + public int InsertItem (QIconSet icon, QCustomMenuItem custom, int identifier) + { + return InsertItem(icon, custom, identifier, (int) -1); + } + + public int InsertItem (QCustomMenuItem custom) + { + return InsertItem(custom, (int) -1); + } + + public int InsertItem (QCustomMenuItem custom, int identifier) + { + return InsertItem(custom, identifier, (int) -1); + } + + public int InsertSeparator () + { + return InsertSeparator((int) -1); + } + + public QMenuItem FindPopup (QPopupMenu arg1) + { + return FindPopup(arg1, new int[]{0}); + } + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_item_void (IntPtr instance, int id, IntPtr receiver, Delegate method); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_item_int (IntPtr instance, int id, IntPtr receiver, Delegate method); + + } +} diff --git a/qtsharp/src/bindings/static/QNull.cs b/qtsharp/src/bindings/static/QNull.cs new file mode 100644 index 00000000..d017da1c --- /dev/null +++ b/qtsharp/src/bindings/static/QNull.cs @@ -0,0 +1,35 @@ +// QNull.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// + +namespace Qt { + + using Qt; + using System; + + internal struct QNull { + + private static readonly QNull instance = new QNull (null); + + private QNull (Object dummy) {} + + internal static QNull Instance { + get {return instance;} + } + } +} diff --git a/qtsharp/src/bindings/static/QObject.cs b/qtsharp/src/bindings/static/QObject.cs new file mode 100644 index 00000000..d016fa62 --- /dev/null +++ b/qtsharp/src/bindings/static/QObject.cs @@ -0,0 +1,609 @@ +// QObject.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Regenerated by Adam Treat on August 30 2002 +// +// NOTES +// o Methods related to Qt reflection have been marked internal. Most of them +// should eventually be throttled, and this file regenerated +// o Some event-related methods are also marked internal. I don't think we use +// any of them, they can likely be throttled. +// +// TODO +// o Should use children() in object tree tracking for constructing +// complete tree representations. + +namespace Qt { + + using Qt; + using System; + using System.Collections; + using System.Runtime.InteropServices; + + //[DeclareQtSignal ("ChildDestroyed(QObject)")] + public class QObject : QtSupport, IDisposable { + + // Hold an instance of the QApplication object + private static QApplication qapp; + private QtSignalMap csSignalMap; + private QtSignalMap cppSignalMap; + + public static QApplication qApp { + get {return qapp;} + set {qapp = value;} + } + + internal QtSignalMap CsSignalMap { + get { return csSignalMap; } + } + + internal QtSignalMap CppSignalMap { + get { return cppSignalMap; } + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QObject (IntPtr parent, string name); + public QObject (QObject parent, string name) : this (QNull.Instance) + { + qparent = parent; + + if (qparent == null) + parent = new QWidget (IntPtr.Zero); + else + qparent.AddChild (this); + + rawObject = qt_new_QObject (parent.RawObject, name); + RegisterObject (this); + } + + public QObject (QObject parent) : this (parent, "") {} + + internal QObject () : this (QNull.Instance) {} + + internal QObject (IntPtr ptr) : this (QNull.Instance) + { + rawObject = ptr; + RegisterObject (this); + } + + internal QObject (QNull dummy) : base (QNull.Instance) + { + InitSignals (); + } + + // FIXME This ctor used only by QtSignal + internal QObject (NoSignalInit dummy) : base (QNull.Instance) + { + rawObject = qt_new_QObject (IntPtr.Zero, ""); + RegisterObject (this); + } + + ~QObject () + { + Dispose(false); + } + + protected override void Dispose (bool disposeManaged) + { + if (disposed) + return; + + if (rawObject == IntPtr.Zero) + deleted = true; + + if (disposeManaged) { + disposed = true; + + UnregisterObject (this); + + if (qparent != null ) { + if (qparent.Disposed) + deleted = true; + else + qparent.RemoveChild (this); + } + + Disconnect (); + + foreach (QtSupport qts in qchildren) + qts.Dispose (); + + // UnregisterObject (); // FIXME + } + + /* + DbgMsg ("({0}) {1}:: {2} managed. {3} native instance.", + deleted ? IntPtr.Zero : rawObject, + this, + disposeManaged ? "Disposing" : "Not disposing", + deleted ? "Not deleting" : "Deleting"); + */ + + qparent = null; + qchildren = null; + + Delete (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_del_QObject (IntPtr obj); + internal override void Delete () + { + if (deleted) return; + + qt_del_QObject (rawObject); + deleted = true; + } + + private void InitSignals () + { + csSignalMap = new QtSignalMap (this, "C# Signals"); + cppSignalMap = new QtSignalMap (this, "C++ Signals"); + + object[] attrs = GetType ().GetCustomAttributes (typeof (DeclareQtSignalAttribute), true); + + foreach (DeclareQtSignalAttribute attr in attrs) { + string signal = attr.SignalName; + + if (!CsSignalMap.Contains (signal)) + CsSignalMap[signal] = new QtSignal (this, signal); + } + } + + // [QtSlot] + internal protected void NativeDestroyed () + { + deleted = true; + Dispose (); + } + + public QObject QtCast() + { + string QtType = this.ClassName(); + Type newType = Type.GetType( "Qt." + QtType ); + object[] paramArray = { this.RawObject }; + return (QObject) Activator.CreateInstance( newType, paramArray ); + } + + public static bool Connect(QObject sender, string signal, QObject receiver, string slot) + { + return QtSignal.Connect(sender, signal, receiver, slot); + } + + public bool Connect (QObject sender, string signal, string member) + { + return Connect (sender, signal, this, member); + } + + public static bool Disconnect(QObject sender, string signal, QObject receiver, string slot) + { + return QtSignal.Disconnect(sender, signal, receiver, slot); + } + + public bool Disconnect () + { + return Disconnect (this, null, null, null); + } + + public bool Disconnect (string signal, QObject receiver, string member) + { + return Disconnect(this, signal, receiver, member); + } + + public bool Disconnect (QObject receiver, string slot) + { + return Disconnect (this, null, receiver, slot); + } + + public void Emit (string signal, params object[] args) + { + string sig = signal.Replace (" ", ""); + + if (CsSignalMap.Contains (sig)) + CsSignalMap[sig].Emit (args); + else + throw new ArgumentException (this+" does not emit requested signal '"+sig+"'"); + } + + public void DumpConnections() + { + ErrMsg ("** ({0}) {1}: Dumping '{2}' map.", rawObject, this, CsSignalMap.Name); + CsSignalMap.DumpMap (); + + ErrMsg ("** ({0}) {1}: Dumping '{2}' map.", rawObject, this, CppSignalMap.Name); + CppSignalMap.DumpMap (); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern string qt_QObject_className (IntPtr raw); + public string ClassName () + { + return qt_QObject_className (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QObject_tr (IntPtr raw, string arg1, string arg2); + public string Tr (string arg1, string arg2) + { + QString qstr = new QString (qt_QObject_tr (rawObject, arg1, arg2)); + string str = qstr.Latin1 (); + qstr.Dispose (); + return str; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QObject_trUtf8 (IntPtr raw, string arg1, string arg2); + public string TrUtf8 (string arg1, string arg2) + { + QString qstr = new QString (qt_QObject_trUtf8 (rawObject, arg1, arg2)); + string str = qstr.Latin1 (); + qstr.Dispose (); + return str; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QObject_metaObject (IntPtr raw); + public QMetaObject MetaObject () + { + return (QMetaObject)LookupObject (qt_QObject_metaObject (rawObject), typeof(QMetaObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QObject_event (IntPtr raw, IntPtr arg1); + public bool Q_event (QEvent arg1) + { + return qt_QObject_event (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QObject_eventFilter (IntPtr raw, IntPtr arg1, IntPtr arg2); + public bool EventFilter (QObject arg1, QEvent arg2) + { + return qt_QObject_eventFilter (rawObject, arg1.RawObject, arg2.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QObject_isA (IntPtr raw, string arg1); + public bool IsA (string arg1) + { + return qt_QObject_isA (rawObject, arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QObject_inherits (IntPtr raw, string arg1); + public bool Inherits (string arg1) + { + return qt_QObject_inherits (rawObject, arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern string qt_QObject_name (IntPtr raw); + public string Name () + { + return qt_QObject_name (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern string qt_QObject_name1 (IntPtr raw, string defaultName); + public string Name (string defaultName) + { + return qt_QObject_name1 (rawObject, defaultName); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_setName (IntPtr raw, string name); + public void SetName (string name) + { + qt_QObject_setName (rawObject, name); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QObject_isWidgetType (IntPtr raw); + public bool IsWidgetType () + { + return qt_QObject_isWidgetType (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QObject_highPriority (IntPtr raw); + public bool HighPriority () + { + return qt_QObject_highPriority (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QObject_signalsBlocked (IntPtr raw); + public bool SignalsBlocked () + { + return qt_QObject_signalsBlocked (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_blockSignals (IntPtr raw, bool b); + public void BlockSignals (bool b) + { + qt_QObject_blockSignals (rawObject, b); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QObject_startTimer (IntPtr raw, int interval); + public int StartTimer (int interval) + { + return qt_QObject_startTimer (rawObject, interval); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_killTimer (IntPtr raw, int identifier); + public void KillTimer (int identifier) + { + qt_QObject_killTimer (rawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_killTimers (IntPtr raw); + public void KillTimers () + { + qt_QObject_killTimers (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QObject_child (IntPtr raw, string objName, string inheritsClass, bool recursiveSearch); + public QObject Child (string objName, string inheritsClass, bool recursiveSearch) + { + return (QObject)LookupObject (qt_QObject_child (rawObject, objName, inheritsClass, recursiveSearch), typeof(QObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QObject_children (IntPtr raw); + public QObjectList Children () + { + return (QObjectList)LookupObject (qt_QObject_children (rawObject), typeof(QObjectList)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QObject_queryList (IntPtr raw, string inheritsClass, string objName, bool regexpMatch, bool recursiveSearch); + public QObjectList QueryList (string inheritsClass, string objName, bool regexpMatch, bool recursiveSearch) + { + return (QObjectList)LookupObject (qt_QObject_queryList (rawObject, inheritsClass, objName, regexpMatch, recursiveSearch), typeof(QObjectList)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_insertChild (IntPtr raw, IntPtr arg1); + public void InsertChild (QObject arg1) + { + qt_QObject_insertChild (rawObject, arg1.RawObject); + } + + /*[DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_removeChild (IntPtr raw, IntPtr arg1); + public void RemoveChild (QObject arg1) + { + qt_QObject_removeChild (rawObject, arg1.RawObject); + }*/ + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_installEventFilter (IntPtr raw, IntPtr arg1); + public void InstallEventFilter (QObject arg1) + { + qt_QObject_installEventFilter (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_removeEventFilter (IntPtr raw, IntPtr arg1); + public void RemoveEventFilter (QObject arg1) + { + qt_QObject_removeEventFilter (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_dumpObjectTree (IntPtr raw); + public void DumpObjectTree () + { + qt_QObject_dumpObjectTree (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_dumpObjectInfo (IntPtr raw); + public void DumpObjectInfo () + { + qt_QObject_dumpObjectInfo (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QObject_setProperty (IntPtr raw, string name, IntPtr value); + public bool SetProperty (string name, QVariant value) + { + return qt_QObject_setProperty (rawObject, name, value.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QObject_property (IntPtr raw, string name); + public QVariant Property (string name) + { + return (QVariant)LookupObject (qt_QObject_property (rawObject, name), typeof(QVariant)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QObject_parent (IntPtr raw); + public QObject Parent () + { + return (QObject)LookupObject (qt_QObject_parent (rawObject), typeof(QObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_deleteLater (IntPtr raw); + public void DeleteLater () + { + qt_QObject_deleteLater (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QObject_objectTrees (); + public static QObjectList ObjectTrees () + { + return (QObjectList)LookupObject (qt_QObject_objectTrees (), typeof(QObjectList)); + } + + /*FIXME + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_connectInternal (IntPtr sender, int signal_index, IntPtr receiver, int membcode, int member_index); + public static void ConnectInternal (QObject sender, int signal_index, QObject receiver, int membcode, int member_index) + { + qt_QObject_connectInternal (sender.RawObject, signal_index, receiver.RawObject, membcode, member_index); + } + */ + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QObject_activate_filters (IntPtr raw, IntPtr arg1); + protected bool Activate_filters (QEvent arg1) + { + return qt_QObject_activate_filters (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QObject_receivers (IntPtr raw, string signal); + protected QConnectionList Receivers (string signal) + { + return (QConnectionList)LookupObject (qt_QObject_receivers (rawObject, signal), typeof(QConnectionList)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QObject_receivers1 (IntPtr raw, int signal); + protected QConnectionList Receivers (int signal) + { + return (QConnectionList)LookupObject (qt_QObject_receivers1 (rawObject, signal), typeof(QConnectionList)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_activate_signal (IntPtr raw, int signal); + protected void Activate_signal (int signal) + { + qt_QObject_activate_signal (rawObject, signal); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_activate_signal1 (IntPtr raw, int signal, int arg1); + protected void Activate_signal (int signal, int arg1) + { + qt_QObject_activate_signal1 (rawObject, signal, arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_activate_signal2 (IntPtr raw, int signal, double arg1); + protected void Activate_signal (int signal, double arg1) + { + qt_QObject_activate_signal2 (rawObject, signal, arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_activate_signal3 (IntPtr raw, int signal, IntPtr arg1); + protected void Activate_signal (int signal, string arg1) + { + qt_QObject_activate_signal3 (rawObject, signal, new QString (arg1).RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_activate_signal_bool (IntPtr raw, int signal, bool arg1); + protected void Activate_signal_bool (int signal, bool arg1) + { + qt_QObject_activate_signal_bool (rawObject, signal, arg1); + } + + /* + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_activate_signal4 (IntPtr raw, IntPtr clist, IntPtr o); + protected void Activate_signal (QConnectionList clist, IntPtr o) + { + qt_QObject_activate_signal4 (rawObject, clist.RawObject, o); + } + */ + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QObject_sender (IntPtr raw); + protected QObject Sender () + { + return (QObject)LookupObject (qt_QObject_sender (rawObject), typeof(QObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_connectNotify (IntPtr raw, string signal); + protected void ConnectNotify (string signal) + { + qt_QObject_connectNotify (rawObject, signal); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QObject_disconnectNotify (IntPtr raw, string signal); + protected void DisconnectNotify (string signal) + { + qt_QObject_disconnectNotify (rawObject, signal); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QObject_checkConnectArgs (IntPtr raw, string signal, IntPtr receiver, string member); + protected bool CheckConnectArgs (string signal, QObject receiver, string member) + { + return qt_QObject_checkConnectArgs (rawObject, signal, receiver.RawObject, member); + } + + /* + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QObject_normalizeSignalSlot (string signalSlot); + protected static QCString NormalizeSignalSlot (string signalSlot) + { + return (QCString)LookupObject (qt_QObject_normalizeSignalSlot (signalSlot), typeof(QCString)); + } + */ + + public QObject Child (string objName) + { + return Child(objName, null); + } + + public QObject Child (string objName, string inheritsClass) + { + return Child(objName, inheritsClass, true); + } + + public QObjectList QueryList () + { + return QueryList(""); + } + + public QObjectList QueryList (string inheritsClass) + { + return QueryList(inheritsClass, ""); + } + + public QObjectList QueryList (string inheritsClass, string objName) + { + return QueryList(inheritsClass, objName, true); + } + + public QObjectList QueryList (string inheritsClass, string objName, bool regexpMatch) + { + return QueryList(inheritsClass, objName, regexpMatch, true); + } + } + + // FIXME Used only by QtSignal + internal class NoSignalInit + { + public static readonly NoSignalInit Instance = new NoSignalInit (); + } +} diff --git a/qtsharp/src/bindings/static/QPopupMenu.cs b/qtsharp/src/bindings/static/QPopupMenu.cs new file mode 100644 index 00000000..a4b6da09 --- /dev/null +++ b/qtsharp/src/bindings/static/QPopupMenu.cs @@ -0,0 +1,830 @@ +// QPopupMenu.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Regenerated by Adam Treat on August 03 2002 +// +// TODO +// o Override Dispose method, make sure slots are disconnected. + +namespace Qt { + + using Qt; + using System; + using System.Collections; + using System.Runtime.InteropServices; + + public class QPopupMenu : QFrame, IQMenuData, IDisposable { + + private Hashtable menuConnections; + + public Hashtable MenuConnections { + get { return menuConnections; } + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QPopupMenu (IntPtr parent, string name); + public QPopupMenu (QWidget parent, string name) : this (QNull.Instance) + { + qparent = parent; + if (qparent == null) parent = new QWidget (IntPtr.Zero); + rawObject = qt_new_QPopupMenu (parent.RawObject, name); + if (qparent == null) RegisterObject (this); + else qparent.AddChild (this); + } + + public QPopupMenu () : this (new QWidget ()) {} + + public QPopupMenu (QWidget parent) : this (parent, "") {} + + internal QPopupMenu (IntPtr ptr) : this (QNull.Instance) + { + rawObject = ptr; + RegisterObject(this); + } + + internal QPopupMenu (QNull dummy) : base (QNull.Instance) + { + menuConnections = new Hashtable(); + } + + ~QPopupMenu () + { + Dispose (false); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_del_QPopupMenu (IntPtr obj); + internal override void Delete () + { + if (deleted) return; + + qt_del_QPopupMenu (rawObject); + deleted = true; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QPopupMenu_popup (IntPtr raw, IntPtr pos, int indexAtPoint); + public void Popup (QPoint pos, int indexAtPoint) + { + qt_QPopupMenu_popup (rawObject, pos.RawObject, indexAtPoint); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QPopupMenu_updateItem (IntPtr raw, int identifier); + public void UpdateItem (int identifier) + { + qt_QPopupMenu_updateItem (rawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QPopupMenu_setCheckable (IntPtr raw, bool arg1); + public void SetCheckable (bool arg1) + { + qt_QPopupMenu_setCheckable (rawObject, arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QPopupMenu_isCheckable (IntPtr raw); + public bool IsCheckable () + { + return qt_QPopupMenu_isCheckable (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QPopupMenu_setFont (IntPtr raw, IntPtr arg1); + public void SetFont (QFont arg1) + { + qt_QPopupMenu_setFont (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QPopupMenu_show (IntPtr raw); + public void Show () + { + qt_QPopupMenu_show (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QPopupMenu_hide (IntPtr raw); + public void Hide () + { + qt_QPopupMenu_hide (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QPopupMenu_exec (IntPtr raw); + public int Exec () + { + return qt_QPopupMenu_exec (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QPopupMenu_exec1 (IntPtr raw, IntPtr pos, int indexAtPoint); + public int Exec (QPoint pos, int indexAtPoint) + { + return qt_QPopupMenu_exec1 (rawObject, pos.RawObject, indexAtPoint); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QPopupMenu_setActiveItem (IntPtr raw, int arg1); + public void SetActiveItem (int arg1) + { + qt_QPopupMenu_setActiveItem (rawObject, arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QPopupMenu_sizeHint (IntPtr raw); + public QSize SizeHint () + { + return (QSize)LookupObject (qt_QPopupMenu_sizeHint (rawObject), typeof(QSize)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QPopupMenu_idAt (IntPtr raw, int index); + public int IdAt (int index) + { + return qt_QPopupMenu_idAt (rawObject, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QPopupMenu_idAt1 (IntPtr raw, IntPtr pos); + public int IdAt (QPoint pos) + { + return qt_QPopupMenu_idAt1 (rawObject, pos.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QPopupMenu_customWhatsThis (IntPtr raw); + public bool CustomWhatsThis () + { + return qt_QPopupMenu_customWhatsThis (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QPopupMenu_insertTearOffHandle (IntPtr raw, int identifier, int index); + public int InsertTearOffHandle (int identifier, int index) + { + return qt_QPopupMenu_insertTearOffHandle (rawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QPopupMenu_activateItemAt (IntPtr raw, int index); + public void ActivateItemAt (int index) + { + qt_QPopupMenu_activateItemAt (rawObject, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QPopupMenu_itemGeometry (IntPtr raw, int index); + public QRect ItemGeometry (int index) + { + return (QRect)LookupObject (qt_QPopupMenu_itemGeometry (rawObject, index), typeof(QRect)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QPopupMenu_itemHeight (IntPtr raw, int arg1); + protected int ItemHeight (int arg1) + { + return qt_QPopupMenu_itemHeight (rawObject, arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QPopupMenu_itemHeight1 (IntPtr raw, IntPtr mi); + protected int ItemHeight (QMenuItem mi) + { + return qt_QPopupMenu_itemHeight1 (rawObject, mi.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QPopupMenu_drawItem (IntPtr raw, IntPtr p, int tab, IntPtr mi, bool act, int x, int y, int w, int h); + protected void DrawItem (QPainter p, int tab, QMenuItem mi, bool act, int x, int y, int w, int h) + { + qt_QPopupMenu_drawItem (rawObject, p.RawObject, tab, mi.RawObject, act, x, y, w, h); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QPopupMenu_drawContents (IntPtr raw, IntPtr arg1); + protected void DrawContents (QPainter arg1) + { + qt_QPopupMenu_drawContents (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QPopupMenu_styleChange (IntPtr raw, IntPtr arg1); + protected void StyleChange (QStyle arg1) + { + qt_QPopupMenu_styleChange (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QPopupMenu_columns (IntPtr raw); + protected int Columns () + { + return qt_QPopupMenu_columns (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QPopupMenu_focusNextPrevChild (IntPtr raw, bool next); + protected bool FocusNextPrevChild (bool next) + { + return qt_QPopupMenu_focusNextPrevChild (rawObject, next); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QPopupMenu_itemAtPos (IntPtr raw, IntPtr arg1, bool ignoreSeparator); + protected int ItemAtPos (QPoint arg1, bool ignoreSeparator) + { + return qt_QPopupMenu_itemAtPos (rawObject, arg1.RawObject, ignoreSeparator); + } + + public void Popup (QPoint pos) + { + Popup(pos, (int) 0); + } + + public int Exec (QPoint pos) + { + return Exec(pos, (int) 0); + } + + public int InsertTearOffHandle () + { + return InsertTearOffHandle((int) -1); + } + + public int InsertTearOffHandle (int identifier) + { + return InsertTearOffHandle(identifier, (int) -1); + } + + protected int ItemAtPos (QPoint arg1) + { + return ItemAtPos(arg1, true); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QPopupMenu_QMenuData (IntPtr raw); + public IntPtr QMenuData () + { + return qt_QPopupMenu_QMenuData (rawObject); + } + + // Begin interface methods. + + + //********************* A temporary hack to divert connections to CSharpConnect *****************// + + public int InsertItem (string text, QObject receiver, string member, QKeySequence accel, int identifier, int index) + { + int id = InsertItem (text, identifier, index); + SetAccel (accel, id); + ConnectItem (id, receiver, member); + return id; + } + + public int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel, int identifier, int index) + { + int id = InsertItem (icon, text, identifier, index); + SetAccel (accel, id); + ConnectItem (id, receiver, member); + return id; + } + + public int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier, int index) + { + int id = InsertItem (pixmap, identifier, index); + SetAccel (accel, id); + ConnectItem (id, receiver, member); + return id; + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier, int index) + { + int id = InsertItem (icon, pixmap, identifier, index); + SetAccel (accel, id); + ConnectItem (id, receiver, member); + return id; + } + + public bool ConnectItem (int identifier, QObject receiver, string member) + { + return Qt.QMenuData.ConnectItem (this, QMenuData (), identifier, receiver, member); + } + + public bool DisconnectItem (int identifier, QObject receiver, string member) + { + return Qt.QMenuData.DisconnectItem (this, QMenuData (), identifier, receiver, member); + } + + //********************* A temporary hack to divert connections to CSharpConnect *****************// + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern uint qt_QMenuData_count (IntPtr raw); + public uint Count () + { + return qt_QMenuData_count (QMenuData ()); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem4 (IntPtr raw, IntPtr text, int identifier, int index); + public int InsertItem (string text, int identifier, int index) + { + return qt_QMenuData_insertItem4 (QMenuData (), new QString (text).RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem5 (IntPtr raw, IntPtr icon, IntPtr text, int identifier, int index); + public int InsertItem (QIconSet icon, string text, int identifier, int index) + { + return qt_QMenuData_insertItem5 (QMenuData (), icon.RawObject, new QString (text).RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem6 (IntPtr raw, IntPtr text, IntPtr popup, int identifier, int index); + public int InsertItem (string text, QPopupMenu popup, int identifier, int index) + { + return qt_QMenuData_insertItem6 (QMenuData (), new QString (text).RawObject, popup.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem7 (IntPtr raw, IntPtr icon, IntPtr text, IntPtr popup, int identifier, int index); + public int InsertItem (QIconSet icon, string text, QPopupMenu popup, int identifier, int index) + { + return qt_QMenuData_insertItem7 (QMenuData (), icon.RawObject, new QString (text).RawObject, popup.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem8 (IntPtr raw, IntPtr pixmap, int identifier, int index); + public int InsertItem (QPixmap pixmap, int identifier, int index) + { + return qt_QMenuData_insertItem8 (QMenuData (), pixmap.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem9 (IntPtr raw, IntPtr icon, IntPtr pixmap, int identifier, int index); + public int InsertItem (QIconSet icon, QPixmap pixmap, int identifier, int index) + { + return qt_QMenuData_insertItem9 (QMenuData (), icon.RawObject, pixmap.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem10 (IntPtr raw, IntPtr pixmap, IntPtr popup, int identifier, int index); + public int InsertItem (QPixmap pixmap, QPopupMenu popup, int identifier, int index) + { + return qt_QMenuData_insertItem10 (QMenuData (), pixmap.RawObject, popup.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem11 (IntPtr raw, IntPtr icon, IntPtr pixmap, IntPtr popup, int identifier, int index); + public int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup, int identifier, int index) + { + return qt_QMenuData_insertItem11 (QMenuData (), icon.RawObject, pixmap.RawObject, popup.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem12 (IntPtr raw, IntPtr widget, int identifier, int index); + public int InsertItem (QWidget widget, int identifier, int index) + { + return qt_QMenuData_insertItem12 (QMenuData (), widget.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem13 (IntPtr raw, IntPtr icon, IntPtr custom, int identifier, int index); + public int InsertItem (QIconSet icon, QCustomMenuItem custom, int identifier, int index) + { + return qt_QMenuData_insertItem13 (QMenuData (), icon.RawObject, custom.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertItem14 (IntPtr raw, IntPtr custom, int identifier, int index); + public int InsertItem (QCustomMenuItem custom, int identifier, int index) + { + return qt_QMenuData_insertItem14 (QMenuData (), custom.RawObject, identifier, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_insertSeparator (IntPtr raw, int index); + public int InsertSeparator (int index) + { + return qt_QMenuData_insertSeparator (QMenuData (), index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_removeItem (IntPtr raw, int identifier); + public void RemoveItem (int identifier) + { + qt_QMenuData_removeItem (QMenuData (), identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_removeItemAt (IntPtr raw, int index); + public void RemoveItemAt (int index) + { + qt_QMenuData_removeItemAt (QMenuData (), index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_clear (IntPtr raw); + public void Clear () + { + qt_QMenuData_clear (QMenuData ()); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_accel (IntPtr raw, int identifier); + public QKeySequence Accel (int identifier) + { + return (QKeySequence)LookupObject (qt_QMenuData_accel (QMenuData (), identifier), typeof(QKeySequence)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setAccel (IntPtr raw, IntPtr key, int identifier); + public void SetAccel (QKeySequence key, int identifier) + { + qt_QMenuData_setAccel (QMenuData (), key.RawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_iconSet (IntPtr raw, int identifier); + public QIconSet IconSet (int identifier) + { + return (QIconSet)LookupObject (qt_QMenuData_iconSet (QMenuData (), identifier), typeof(QIconSet)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_text (IntPtr raw, int identifier); + public string Text (int identifier) + { + QString qstr = new QString (qt_QMenuData_text (QMenuData (), identifier)); + string str = qstr.Latin1 (); + qstr.Dispose (); + return str; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_pixmap (IntPtr raw, int identifier); + public QPixmap Pixmap (int identifier) + { + return (QPixmap)LookupObject (qt_QMenuData_pixmap (QMenuData (), identifier), typeof(QPixmap)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setWhatsThis (IntPtr raw, int identifier, IntPtr arg1); + public void SetWhatsThis (int identifier, string arg1) + { + qt_QMenuData_setWhatsThis (QMenuData (), identifier, new QString (arg1).RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_whatsThis (IntPtr raw, int identifier); + public string WhatsThis (int identifier) + { + QString qstr = new QString (qt_QMenuData_whatsThis (QMenuData (), identifier)); + string str = qstr.Latin1 (); + qstr.Dispose (); + return str; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem (IntPtr raw, int identifier, IntPtr text); + public void ChangeItem (int identifier, string text) + { + qt_QMenuData_changeItem (QMenuData (), identifier, new QString (text).RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem1 (IntPtr raw, int identifier, IntPtr pixmap); + public void ChangeItem (int identifier, QPixmap pixmap) + { + qt_QMenuData_changeItem1 (QMenuData (), identifier, pixmap.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem2 (IntPtr raw, int identifier, IntPtr icon, IntPtr text); + public void ChangeItem (int identifier, QIconSet icon, string text) + { + qt_QMenuData_changeItem2 (QMenuData (), identifier, icon.RawObject, new QString (text).RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem3 (IntPtr raw, int identifier, IntPtr icon, IntPtr pixmap); + public void ChangeItem (int identifier, QIconSet icon, QPixmap pixmap) + { + qt_QMenuData_changeItem3 (QMenuData (), identifier, icon.RawObject, pixmap.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem4 (IntPtr raw, IntPtr text, int identifier); + public void ChangeItem (string text, int identifier) + { + qt_QMenuData_changeItem4 (QMenuData (), new QString (text).RawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem5 (IntPtr raw, IntPtr pixmap, int identifier); + public void ChangeItem (QPixmap pixmap, int identifier) + { + qt_QMenuData_changeItem5 (QMenuData (), pixmap.RawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_changeItem6 (IntPtr raw, IntPtr icon, IntPtr text, int identifier); + public void ChangeItem (QIconSet icon, string text, int identifier) + { + qt_QMenuData_changeItem6 (QMenuData (), icon.RawObject, new QString (text).RawObject, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuData_isItemActive (IntPtr raw, int identifier); + public bool IsItemActive (int identifier) + { + return qt_QMenuData_isItemActive (QMenuData (), identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuData_isItemEnabled (IntPtr raw, int identifier); + public bool IsItemEnabled (int identifier) + { + return qt_QMenuData_isItemEnabled (QMenuData (), identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setItemEnabled (IntPtr raw, int identifier, bool enable); + public void SetItemEnabled (int identifier, bool enable) + { + qt_QMenuData_setItemEnabled (QMenuData (), identifier, enable); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuData_isItemChecked (IntPtr raw, int identifier); + public bool IsItemChecked (int identifier) + { + return qt_QMenuData_isItemChecked (QMenuData (), identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setItemChecked (IntPtr raw, int identifier, bool check); + public void SetItemChecked (int identifier, bool check) + { + qt_QMenuData_setItemChecked (QMenuData (), identifier, check); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_indexOf (IntPtr raw, int identifier); + public int IndexOf (int identifier) + { + return qt_QMenuData_indexOf (QMenuData (), identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_setId (IntPtr raw, int index, int identifier); + public void SetId (int index, int identifier) + { + qt_QMenuData_setId (QMenuData (), index, identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QMenuData_setItemParameter (IntPtr raw, int identifier, int param); + public bool SetItemParameter (int identifier, int param) + { + return qt_QMenuData_setItemParameter (QMenuData (), identifier, param); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QMenuData_itemParameter (IntPtr raw, int identifier); + public int ItemParameter (int identifier) + { + return qt_QMenuData_itemParameter (QMenuData (), identifier); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_findItem (IntPtr raw, int identifier); + public QMenuItem FindItem (int identifier) + { + return (QMenuItem)LookupObject (qt_QMenuData_findItem (QMenuData (), identifier), typeof(QMenuItem)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_findItem1 (IntPtr raw, int identifier, IntPtr parent); + public QMenuItem FindItem (int identifier, QMenuData parent) + { + return (QMenuItem)LookupObject (qt_QMenuData_findItem1 (QMenuData (), identifier, parent.RawObject), typeof(QMenuItem)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QMenuData_findPopup (IntPtr raw, IntPtr arg1, int[] index); + public QMenuItem FindPopup (QPopupMenu arg1, int[] index) + { + return (QMenuItem)LookupObject (qt_QMenuData_findPopup (QMenuData (), arg1.RawObject, index), typeof(QMenuItem)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_menuInsPopup (IntPtr raw, IntPtr arg1); + protected void MenuInsPopup (QPopupMenu arg1) + { + qt_QMenuData_menuInsPopup (QMenuData (), arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QMenuData_menuDelPopup (IntPtr raw, IntPtr arg1); + protected void MenuDelPopup (QPopupMenu arg1) + { + qt_QMenuData_menuDelPopup (QMenuData (), arg1.RawObject); + } + + public int InsertItem (string text, QObject receiver, string member) + { + return InsertItem(text, receiver, member, new QKeySequence ()); + } + + public int InsertItem (string text, QObject receiver, string member, QKeySequence accel) + { + return InsertItem(text, receiver, member, accel, (int) -1); + } + + public int InsertItem (string text, QObject receiver, string member, QKeySequence accel, int identifier) + { + return InsertItem(text, receiver, member, accel, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, QObject receiver, string member) + { + return InsertItem(icon, text, receiver, member, new QKeySequence ()); + } + + public int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel) + { + return InsertItem(icon, text, receiver, member, accel, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel, int identifier) + { + return InsertItem(icon, text, receiver, member, accel, identifier, (int) -1); + } + + public int InsertItem (QPixmap pixmap, QObject receiver, string member) + { + return InsertItem(pixmap, receiver, member, new QKeySequence ()); + } + + public int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel) + { + return InsertItem(pixmap, receiver, member, accel, (int) -1); + } + + public int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier) + { + return InsertItem(pixmap, receiver, member, accel, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member) + { + return InsertItem(icon, pixmap, receiver, member, new QKeySequence ()); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel) + { + return InsertItem(icon, pixmap, receiver, member, accel, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier) + { + return InsertItem(icon, pixmap, receiver, member, accel, identifier, (int) -1); + } + + public int InsertItem (string text) + { + return InsertItem(text, (int) -1); + } + + public int InsertItem (string text, int identifier) + { + return InsertItem(text, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, string text) + { + return InsertItem(icon, text, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, int identifier) + { + return InsertItem(icon, text, identifier, (int) -1); + } + + public int InsertItem (string text, QPopupMenu popup) + { + return InsertItem(text, popup, (int) -1); + } + + public int InsertItem (string text, QPopupMenu popup, int identifier) + { + return InsertItem(text, popup, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, QPopupMenu popup) + { + return InsertItem(icon, text, popup, (int) -1); + } + + public int InsertItem (QIconSet icon, string text, QPopupMenu popup, int identifier) + { + return InsertItem(icon, text, popup, identifier, (int) -1); + } + + public int InsertItem (QPixmap pixmap) + { + return InsertItem(pixmap, (int) -1); + } + + public int InsertItem (QPixmap pixmap, int identifier) + { + return InsertItem(pixmap, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap) + { + return InsertItem(icon, pixmap, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, int identifier) + { + return InsertItem(icon, pixmap, identifier, (int) -1); + } + + public int InsertItem (QPixmap pixmap, QPopupMenu popup) + { + return InsertItem(pixmap, popup, (int) -1); + } + + public int InsertItem (QPixmap pixmap, QPopupMenu popup, int identifier) + { + return InsertItem(pixmap, popup, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup) + { + return InsertItem(icon, pixmap, popup, (int) -1); + } + + public int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup, int identifier) + { + return InsertItem(icon, pixmap, popup, identifier, (int) -1); + } + + public int InsertItem (QWidget widget) + { + return InsertItem(widget, (int) -1); + } + + public int InsertItem (QWidget widget, int identifier) + { + return InsertItem(widget, identifier, (int) -1); + } + + public int InsertItem (QIconSet icon, QCustomMenuItem custom) + { + return InsertItem(icon, custom, (int) -1); + } + + public int InsertItem (QIconSet icon, QCustomMenuItem custom, int identifier) + { + return InsertItem(icon, custom, identifier, (int) -1); + } + + public int InsertItem (QCustomMenuItem custom) + { + return InsertItem(custom, (int) -1); + } + + public int InsertItem (QCustomMenuItem custom, int identifier) + { + return InsertItem(custom, identifier, (int) -1); + } + + public int InsertSeparator () + { + return InsertSeparator((int) -1); + } + + public QMenuItem FindPopup (QPopupMenu arg1) + { + return FindPopup(arg1, new int[]{0}); + } + } +} diff --git a/qtsharp/src/bindings/static/QString.cs b/qtsharp/src/bindings/static/QString.cs new file mode 100644 index 00000000..fd532256 --- /dev/null +++ b/qtsharp/src/bindings/static/QString.cs @@ -0,0 +1,1340 @@ +// QString.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Static file customized to allow unicode strings and +// other features + + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public class QString : QtSupport, IDisposable { + + public enum SectionFlags { + SectionDefault = 0, + SectionSkipEmpty = 1, + SectionIncludeLeadingSep = 2, + SectionIncludeTrailingSep = 4, + SectionCaseInsensitiveSeps = 8 + } + + + [DllImport("libqtc")] + private static extern IntPtr qt_QString_null (); + public static readonly QString Null = new QString (qt_QString_null ()); + + // TODO: Is there a good reason why this C# constructor is public? + [DllImport("libqtc")] + private static extern IntPtr qt_new_QString (); + public QString () : this (QNull.Instance) + { + rawObject = qt_new_QString (); + } + + // TODO: Make sure there is a QChar constructor that + // handles unicode conversion + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QString1 (IntPtr arg1); + public QString (QChar arg1) : this (QNull.Instance) + { + rawObject = qt_new_QString1 (arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QString2 (IntPtr arg1); + public QString (QString arg1) : this (QNull.Instance) + { + rawObject = qt_new_QString2 (arg1.RawObject); + } + + // TODO: Verify that this works. We have weak support for + // QByteArray + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QString3 (IntPtr arg1); + public QString (QByteArray arg1) : this (QNull.Instance) + { + rawObject = qt_new_QString3 (arg1.RawObject); + } + + // TODO: This signature is wrong. The C++ version is + // takes a pointer to a sequence of QChars, not a single + // QChar + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QString4 (IntPtr unicode, uint length); + public QString (QChar unicode, uint length) : this (QNull.Instance) + { + rawObject = qt_new_QString4 (unicode.RawObject, length); + + } + + [DllImport("libqtc")] + private static extern IntPtr qt_QString_setUnicodeCodes( + IntPtr raw, + [MarshalAs(UnmanagedType.LPWStr)] string s, + uint len); + + public QString( string s ): this( QNull.Instance ) + { + rawObject = qt_new_QString (); + rawObject = qt_QString_setUnicodeCodes( + rawObject, s, (uint) s.Length ); + } + + internal QString (IntPtr ptr) : this (QNull.Instance) + { + rawObject = ptr; + + } + + internal QString (QNull dummy) : base (QNull.Instance) {} + + + [DllImport("libqtc")] + private static extern void qt_del_QString (IntPtr str); + ~QString () + { + qt_del_QString (rawObject); + } + + + [DllImport("libqtc")] + private static extern ushort qt_QChar_unicode (IntPtr raw); + + public char this[int index] + { + get + { + return (char) qt_QChar_unicode( + qt_QString_at( rawObject, (uint) index ) ); + } + } + + public static implicit operator string ( QString s ) + { + int length = (int) s.Length(); + char[] t = new char[length]; + + for (int i = 0; i < length; i++ ) + t[i] = s[i]; + + return new String(t); + } + + public static implicit operator QString ( string s ) + { + return new QString(s); + } + + public override string ToString () + { + return (string) this; + } + + public static QString operator + ( QString a, QString b ) + { + QString result = new QString (qt_new_QString2( a.rawObject )); + result.rawObject = + qt_QString_append2( result.rawObject, b.rawObject ); + return result; + } + + // TODO: Do we need ==, !=, Equals(), etc? + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QString_isNull (IntPtr raw); + public bool IsNull () + { + return qt_QString_isNull (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QString_isEmpty (IntPtr raw); + public bool IsEmpty () + { + return qt_QString_isEmpty (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern uint qt_QString_length (IntPtr raw); + public uint Length () + { + return qt_QString_length (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QString_truncate (IntPtr raw, uint pos); + public void Truncate (uint pos) + { + qt_QString_truncate (rawObject, pos); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_fill (IntPtr raw, IntPtr c, int len); + public QString Fill (QChar c, int len) + { + return new QString (qt_QString_fill (rawObject, c.RawObject, len)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_arg (IntPtr raw, long a, int fieldwidth, int Q_base); + public QString Arg (long a, int fieldwidth, int Q_base) + { + return new QString (qt_QString_arg (rawObject, a, fieldwidth, Q_base)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_arg1 (IntPtr raw, ulong a, int fieldwidth, int Q_base); + public QString Arg (ulong a, int fieldwidth, int Q_base) + { + return new QString (qt_QString_arg1 (rawObject, a, fieldwidth, Q_base)); + + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_arg2 (IntPtr raw, int a, int fieldwidth, int Q_base); + public QString Arg (int a, int fieldwidth, int Q_base) + { + return new QString (qt_QString_arg2 (rawObject, a, fieldwidth, Q_base)); + + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_arg3 (IntPtr raw, uint a, int fieldwidth, int Q_base); + public QString Arg (uint a, int fieldwidth, int Q_base) + { + return new QString (qt_QString_arg3 (rawObject, a, fieldwidth, Q_base)); + + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_arg4 (IntPtr raw, short a, int fieldwidth, int Q_base); + public QString Arg (short a, int fieldwidth, int Q_base) + { + return new QString (qt_QString_arg4 (rawObject, a, fieldwidth, Q_base)); + + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_arg5 (IntPtr raw, ushort a, int fieldwidth, int Q_base); + public QString Arg (ushort a, int fieldwidth, int Q_base) + { + return new QString (qt_QString_arg5 (rawObject, a, fieldwidth, Q_base)); + + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_arg6 (IntPtr raw, char a, int fieldwidth); + public QString Arg (char a, int fieldwidth) + { + return new QString (qt_QString_arg6 (rawObject, a, fieldwidth)); + + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_arg7 (IntPtr raw, IntPtr a, int fieldwidth); + public QString Arg (QChar a, int fieldwidth) + { + return new QString (qt_QString_arg7 (rawObject, a.RawObject, fieldwidth)); + + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_arg8 (IntPtr raw, IntPtr a, int fieldwidth); + public QString Arg (QString a, int fieldwidth) + { + return new QString (qt_QString_arg8 (rawObject, a.RawObject, fieldwidth)); + + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_arg9 (IntPtr raw, double a, int fieldwidth, char fmt, int prec); + public QString Arg (double a, int fieldwidth, char fmt, int prec) + { + return new QString (qt_QString_arg9 (rawObject, a, fieldwidth, fmt, prec)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_find (IntPtr raw, IntPtr c, int index, bool cs); + public int Find (QChar c, int index, bool cs) + { + return qt_QString_find (rawObject, c.RawObject, index, cs); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_find1 (IntPtr raw, char c, int index, bool cs); + public int Find (char c, int index, bool cs) + { + return qt_QString_find1 (rawObject, c, index, cs); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_find2 (IntPtr raw, IntPtr str, int index, bool cs); + public int Find (QString str, int index, bool cs) + { + return qt_QString_find2 (rawObject, str.RawObject, index, cs); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_find3 (IntPtr raw, IntPtr arg1, int index); + public int Find (QRegExp arg1, int index) + { + return qt_QString_find3 (rawObject, arg1.RawObject, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_find4 (IntPtr raw, string str, int index); + public int Find (string str, int index) + { + return qt_QString_find4 (rawObject, str, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_findRev (IntPtr raw, IntPtr c, int index, bool cs); + public int FindRev (QChar c, int index, bool cs) + { + return qt_QString_findRev (rawObject, c.RawObject, index, cs); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_findRev1 (IntPtr raw, char c, int index, bool cs); + public int FindRev (char c, int index, bool cs) + { + return qt_QString_findRev1 (rawObject, c, index, cs); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_findRev2 (IntPtr raw, IntPtr str, int index, bool cs); + public int FindRev (QString str, int index, bool cs) + { + return qt_QString_findRev2 (rawObject, str.RawObject, index, cs); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_findRev3 (IntPtr raw, IntPtr arg1, int index); + public int FindRev (QRegExp arg1, int index) + { + return qt_QString_findRev3 (rawObject, arg1.RawObject, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_findRev4 (IntPtr raw, string str, int index); + public int FindRev (string str, int index) + { + return qt_QString_findRev4 (rawObject, str, index); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_contains (IntPtr raw, IntPtr c, bool cs); + public int Contains (QChar c, bool cs) + { + return qt_QString_contains (rawObject, c.RawObject, cs); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_contains1 (IntPtr raw, char c, bool cs); + public int Contains (char c, bool cs) + { + return qt_QString_contains1 (rawObject, c, cs); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_contains2 (IntPtr raw, string str, bool cs); + public int Contains (string str, bool cs) + { + return qt_QString_contains2 (rawObject, str, cs); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_contains3 (IntPtr raw, IntPtr str, bool cs); + public int Contains (QString str, bool cs) + { + return qt_QString_contains3 (rawObject, str.RawObject, cs); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_contains4 (IntPtr raw, IntPtr arg1); + public int Contains (QRegExp arg1) + { + return qt_QString_contains4 (rawObject, arg1.RawObject); + } + + // TODO: This is wrong. sep should be a QChar* in C++ terms + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_section (IntPtr raw, IntPtr sep, int start, int end, QString.SectionFlags SectionFlags); + public QString Section (QChar sep, int start, int end, QString.SectionFlags SectionFlags) + { + return new QString (qt_QString_section (rawObject, sep.RawObject, start, end, SectionFlags)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_section1 (IntPtr raw, char sep, int start, int end, QString.SectionFlags SectionFlags); + public QString Section (char sep, int start, int end, QString.SectionFlags SectionFlags) + { + return new QString (qt_QString_section1 (rawObject, sep, start, end, SectionFlags)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_section2 (IntPtr raw, string in_sep, int start, int end, QString.SectionFlags SectionFlags); + public QString Section (string in_sep, int start, int end, QString.SectionFlags SectionFlags) + { + return new QString (qt_QString_section2 (rawObject, in_sep, start, end, SectionFlags)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_section3 (IntPtr raw, IntPtr in_sep, int start, int end, QString.SectionFlags SectionFlags); + public QString Section (QString in_sep, int start, int end, QString.SectionFlags SectionFlags) + { + return new QString (qt_QString_section3 (rawObject, in_sep.RawObject, start, end, SectionFlags)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_section4 (IntPtr raw, IntPtr reg, int start, int end, QString.SectionFlags SectionFlags); + public QString Section (QRegExp reg, int start, int end, QString.SectionFlags SectionFlags) + { + return new QString (qt_QString_section4 (rawObject, reg.RawObject, start, end, SectionFlags)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_left (IntPtr raw, uint len); + public QString Left (uint len) + { + return new QString (qt_QString_left (rawObject, len)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_right (IntPtr raw, uint len); + public QString Right (uint len) + { + return new QString (qt_QString_right (rawObject, len)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_mid (IntPtr raw, uint index, uint len); + public QString Mid (uint index, uint len) + { + return new QString (qt_QString_mid (rawObject, index, len)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_leftJustify (IntPtr raw, uint width, IntPtr fill, bool trunc); + public QString LeftJustify (uint width, QChar fill, bool trunc) + { + return new QString (qt_QString_leftJustify (rawObject, width, fill.RawObject, trunc)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_rightJustify (IntPtr raw, uint width, IntPtr fill, bool trunc); + public QString RightJustify (uint width, QChar fill, bool trunc) + { + return new QString (qt_QString_rightJustify (rawObject, width, fill.RawObject, trunc)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_lower (IntPtr raw); + public QString Lower () + { + return new QString (qt_QString_lower (rawObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_upper (IntPtr raw); + public QString Upper () + { + return new QString (qt_QString_upper (rawObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_stripWhiteSpace (IntPtr raw); + public QString StripWhiteSpace () + { + return new QString (qt_QString_stripWhiteSpace (rawObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_simplifyWhiteSpace (IntPtr raw); + public QString SimplifyWhiteSpace () + { + return new QString (qt_QString_simplifyWhiteSpace (rawObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_insert (IntPtr raw, uint index, IntPtr arg1); + public QString Insert (uint index, QString arg1) + { + return new QString (qt_QString_insert (rawObject, index, arg1.RawObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_insert1 (IntPtr raw, uint index, IntPtr arg1, uint len); + public QString Insert (uint index, QChar arg1, uint len) + { + return new QString (qt_QString_insert1 (rawObject, index, arg1.RawObject, len)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_insert2 (IntPtr raw, uint index, IntPtr arg1); + public QString Insert (uint index, QChar arg1) + { + return new QString (qt_QString_insert2 (rawObject, index, arg1.RawObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_insert3 (IntPtr raw, uint index, char c); + public QString Insert (uint index, char c) + { + return new QString (qt_QString_insert3 (rawObject, index, c)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_append (IntPtr raw, char arg1); + public QString Append (char arg1) + { + return new QString (qt_QString_append (rawObject, arg1)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_append1 (IntPtr raw, IntPtr arg1); + public QString Append (QChar arg1) + { + return new QString (qt_QString_append1 (rawObject, arg1.RawObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_append2 (IntPtr raw, IntPtr arg1); + public QString Append (QString arg1) + { + return new QString (qt_QString_append2 (rawObject, arg1.RawObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_prepend (IntPtr raw, char arg1); + public QString Prepend (char arg1) + { + return new QString (qt_QString_prepend (rawObject, arg1)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_prepend1 (IntPtr raw, IntPtr arg1); + public QString Prepend (QChar arg1) + { + return new QString (qt_QString_prepend1 (rawObject, arg1.RawObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_prepend2 (IntPtr raw, IntPtr arg1); + public QString Prepend (QString arg1) + { + return new QString (qt_QString_prepend2 (rawObject, arg1.RawObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_remove (IntPtr raw, uint index, uint len); + public QString Remove (uint index, uint len) + { + return new QString (qt_QString_remove (rawObject, index, len)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_replace (IntPtr raw, uint index, uint len, IntPtr arg1); + public QString Replace (uint index, uint len, QString arg1) + { + return new QString (qt_QString_replace (rawObject, index, len, arg1.RawObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_replace1 (IntPtr raw, uint index, uint len, IntPtr arg1, uint clen); + public QString Replace (uint index, uint len, QChar arg1, uint clen) + { + return new QString (qt_QString_replace1 (rawObject, index, len, arg1.RawObject, clen)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_replace2 (IntPtr raw, IntPtr arg1, IntPtr arg2); + public QString Replace (QRegExp arg1, QString arg2) + { + return new QString (qt_QString_replace2 (rawObject, arg1.RawObject, arg2.RawObject)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern short qt_QString_toShort (IntPtr raw, bool ok, int Q_base); + public short ToShort (bool ok, int Q_base) + { + return qt_QString_toShort (rawObject, ok, Q_base); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern ushort qt_QString_toUShort (IntPtr raw, bool ok, int Q_base); + public ushort ToUShort (bool ok, int Q_base) + { + return qt_QString_toUShort (rawObject, ok, Q_base); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_toInt (IntPtr raw, bool ok, int Q_base); + public int ToInt (bool ok, int Q_base) + { + return qt_QString_toInt (rawObject, ok, Q_base); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern uint qt_QString_toUInt (IntPtr raw, bool ok, int Q_base); + public uint ToUInt (bool ok, int Q_base) + { + return qt_QString_toUInt (rawObject, ok, Q_base); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern long qt_QString_toLong (IntPtr raw, bool ok, int Q_base); + public long ToLong (bool ok, int Q_base) + { + return qt_QString_toLong (rawObject, ok, Q_base); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern ulong qt_QString_toULong (IntPtr raw, bool ok, int Q_base); + public ulong ToULong (bool ok, int Q_base) + { + return qt_QString_toULong (rawObject, ok, Q_base); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern float qt_QString_toFloat (IntPtr raw, bool ok); + public float ToFloat (bool ok) + { + return qt_QString_toFloat (rawObject, ok); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern double qt_QString_toDouble (IntPtr raw, bool ok); + public double ToDouble (bool ok) + { + return qt_QString_toDouble (rawObject, ok); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_setNum (IntPtr raw, short arg1, int Q_base); + public QString SetNum (short arg1, int Q_base) + { + return new QString (qt_QString_setNum (rawObject, arg1, Q_base)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_setNum1 (IntPtr raw, ushort arg1, int Q_base); + public QString SetNum (ushort arg1, int Q_base) + { + return new QString (qt_QString_setNum1 (rawObject, arg1, Q_base)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_setNum2 (IntPtr raw, int arg1, int Q_base); + public QString SetNum (int arg1, int Q_base) + { + return new QString (qt_QString_setNum2 (rawObject, arg1, Q_base)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_setNum3 (IntPtr raw, uint arg1, int Q_base); + public QString SetNum (uint arg1, int Q_base) + { + return new QString (qt_QString_setNum3 (rawObject, arg1, Q_base)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_setNum4 (IntPtr raw, long arg1, int Q_base); + public QString SetNum (long arg1, int Q_base) + { + return new QString (qt_QString_setNum4 (rawObject, arg1, Q_base)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_setNum5 (IntPtr raw, ulong arg1, int Q_base); + public QString SetNum (ulong arg1, int Q_base) + { + return new QString (qt_QString_setNum5 (rawObject, arg1, Q_base)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_setNum6 (IntPtr raw, float arg1, char f, int prec); + public QString SetNum (float arg1, char f, int prec) + { + return new QString (qt_QString_setNum6 (rawObject, arg1, f, prec)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_setNum7 (IntPtr raw, double arg1, char f, int prec); + public QString SetNum (double arg1, char f, int prec) + { + return new QString (qt_QString_setNum7 (rawObject, arg1, f, prec)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QString_setExpand (IntPtr raw, uint index, IntPtr c); + public void SetExpand (uint index, QChar c) + { + qt_QString_setExpand (rawObject, index, c.RawObject); + } + + // TODO: The QChar functions need to get fixed + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_at (IntPtr raw, uint i); + public QChar At (uint i) + { + return LookupObject (qt_QString_at (rawObject, i), typeof (QChar)) as QChar; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_constref (IntPtr raw, uint i); + public QChar Constref (uint i) + { + return LookupObject (qt_QString_constref (rawObject, i), typeof (QChar)) as QChar; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_ref (IntPtr raw, uint i); + public QChar Q_ref (uint i) + { + return LookupObject (qt_QString_ref (rawObject, i), typeof (QChar)) as QChar; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_unicode (IntPtr raw); + public QChar Unicode () + { + return LookupObject (qt_QString_unicode (rawObject), typeof (QChar)) as QChar; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern string qt_QString_ascii (IntPtr raw); + public string Ascii () + { + return qt_QString_ascii (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern string qt_QString_latin1 (IntPtr raw); + public string Latin1 () + { + return qt_QString_latin1 (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_utf8 (IntPtr raw); + public QCString Utf8 () + { + return LookupObject (qt_QString_utf8 (rawObject), typeof (QCString)) as QCString; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_local8Bit (IntPtr raw); + public QCString Local8Bit () + { + return LookupObject (qt_QString_local8Bit (rawObject), typeof (QCString)) as QCString; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_setUnicode (IntPtr raw, IntPtr unicode, uint len); + public QString SetUnicode (QChar unicode, uint len) + { + return new QString (qt_QString_setUnicode (rawObject, unicode.RawObject, len)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_setLatin1 (IntPtr raw, string arg1, int len); + public QString SetLatin1 (string arg1, int len) + { + return new QString (qt_QString_setLatin1 (rawObject, arg1, len)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_compare (IntPtr raw, IntPtr s); + public int Compare (QString s) + { + return qt_QString_compare (rawObject, s.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_localeAwareCompare (IntPtr raw, IntPtr s); + public int LocaleAwareCompare (QString s) + { + return qt_QString_localeAwareCompare (rawObject, s.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QString_compose (IntPtr raw); + public void Compose () + { + qt_QString_compose (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern string qt_QString_data (IntPtr raw); + public string Data () + { + return qt_QString_data (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QString_startsWith (IntPtr raw, IntPtr arg1); + public bool StartsWith (QString arg1) + { + return qt_QString_startsWith (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QString_endsWith (IntPtr raw, IntPtr arg1); + public bool EndsWith (QString arg1) + { + return qt_QString_endsWith (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QString_setLength (IntPtr raw, uint newLength); + public void SetLength (uint newLength) + { + qt_QString_setLength (rawObject, newLength); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QString_simpleText (IntPtr raw); + public bool SimpleText () + { + return qt_QString_simpleText (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QString_isRightToLeft (IntPtr raw); + public bool IsRightToLeft () + { + return qt_QString_isRightToLeft (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_number (long arg1, int Q_base); + public static QString Number (long arg1, int Q_base) + { + return new QString (qt_QString_number (arg1, Q_base)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_number1 (ulong arg1, int Q_base); + public static QString Number (ulong arg1, int Q_base) + { + return new QString (qt_QString_number1 (arg1, Q_base)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_number2 (int arg1, int Q_base); + public static QString Number (int arg1, int Q_base) + { + return new QString (qt_QString_number2 (arg1, Q_base)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_number3 (uint arg1, int Q_base); + public static QString Number (uint arg1, int Q_base) + { + return new QString (qt_QString_number3 (arg1, Q_base)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_number4 (double arg1, char f, int prec); + public static QString Number (double arg1, char f, int prec) + { + return new QString (qt_QString_number4 (arg1, f, prec)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_fromLatin1 (string arg1, int len); + public static QString FromLatin1 (string arg1, int len) + { + return new QString (qt_QString_fromLatin1 (arg1, len)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_fromUtf8 (QString arg1, int len); + public static QString FromUtf8 (string arg1, int len) + { + return new QString (qt_QString_fromUtf8 (arg1, len)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QString_fromLocal8Bit (QString arg1, int len); + public static QString FromLocal8Bit (string arg1, int len) + { + return new QString (qt_QString_fromLocal8Bit (arg1, len)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_compare1 (IntPtr s1, IntPtr s2); + public static int Compare (QString s1, QString s2) + { + return qt_QString_compare1 (s1.RawObject, s2.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QString_localeAwareCompare1 (IntPtr s1, IntPtr s2); + public static int LocaleAwareCompare (QString s1, QString s2) + { + return qt_QString_localeAwareCompare1 (s1.RawObject, s2.RawObject); + } + + public QString Fill (QChar c) + { + return Fill(c, (int) -1); + } + + public QString Arg (long a) + { + return Arg(a, (int) 0); + } + + public QString Arg (long a, int fieldwidth) + { + return Arg(a, fieldwidth, (int) 10); + } + + public QString Arg (ulong a) + { + return Arg(a, (int) 0); + } + + public QString Arg (ulong a, int fieldwidth) + { + return Arg(a, fieldwidth, (int) 10); + } + + public QString Arg (int a) + { + return Arg(a, (int) 0); + } + + public QString Arg (int a, int fieldwidth) + { + return Arg(a, fieldwidth, (int) 10); + } + + public QString Arg (uint a) + { + return Arg(a, (int) 0); + } + + public QString Arg (uint a, int fieldwidth) + { + return Arg(a, fieldwidth, (int) 10); + } + + public QString Arg (short a) + { + return Arg(a, (int) 0); + } + + public QString Arg (short a, int fieldwidth) + { + return Arg(a, fieldwidth, (int) 10); + } + + public QString Arg (ushort a) + { + return Arg(a, (int) 0); + } + + public QString Arg (ushort a, int fieldwidth) + { + return Arg(a, fieldwidth, (int) 10); + } + + public QString Arg (char a) + { + return Arg(a, (int) 0); + } + + public QString Arg (QChar a) + { + return Arg(a, (int) 0); + } + + public QString Arg (QString a) + { + return Arg(a, (int) 0); + } + + public QString Arg (double a) + { + return Arg(a, (int) 0); + } + + public QString Arg (double a, int fieldwidth) + { + return Arg(a, fieldwidth, (char) 'g'); + } + + public QString Arg (double a, int fieldwidth, char fmt) + { + return Arg(a, fieldwidth, fmt, (int) -1); + } + + public int Find (QChar c) + { + return Find(c, (int) 0); + } + + public int Find (QChar c, int index) + { + return Find(c, index, true); + } + + public int Find (char c) + { + return Find(c, (int) 0); + } + + public int Find (char c, int index) + { + return Find(c, index, true); + } + + public int Find (QString str) + { + return Find(str, (int) 0); + } + + public int Find (QString str, int index) + { + return Find(str, index, true); + } + + public int Find (QRegExp arg1) + { + return Find(arg1, (int) 0); + } + + public int Find (string str) + { + return Find(str, (int) 0); + } + + public int FindRev (QChar c) + { + return FindRev(c, (int) -1); + } + + public int FindRev (QChar c, int index) + { + return FindRev(c, index, true); + } + + public int FindRev (char c) + { + return FindRev(c, (int) -1); + } + + public int FindRev (char c, int index) + { + return FindRev(c, index, true); + } + + public int FindRev (QString str) + { + return FindRev(str, (int) -1); + } + + public int FindRev (QString str, int index) + { + return FindRev(str, index, true); + } + + public int FindRev (QRegExp arg1) + { + return FindRev(arg1, (int) -1); + } + + public int FindRev (string str) + { + return FindRev(str, (int) -1); + } + + public int Contains (QChar c) + { + return Contains(c, true); + } + + public int Contains (char c) + { + return Contains(c, true); + } + + public int Contains (QString str) + { + return Contains(str, true); + } + + public int Contains (string str) + { + return Contains(str, true); + } + + public QString Section (QChar sep, int start) + { + return Section(sep, start, (int) 1); + } + + public QString Section (QChar sep, int start, int end) + { + return Section(sep, start, end, QString.SectionFlags.SectionDefault); + } + + public QString Section (char sep, int start) + { + return Section(sep, start, (int) 1); + } + + public QString Section (char sep, int start, int end) + { + return Section(sep, start, end, QString.SectionFlags.SectionDefault); + } + + public QString Section (QString in_sep, int start) + { + return Section(in_sep, start, (int) 1); + } + + public QString Section (QString in_sep, int start, int end) + { + return Section(in_sep, start, end, QString.SectionFlags.SectionDefault); + } + + public QString Section (string in_sep, int start) + { + return Section(in_sep, start, (int) 1); + } + + public QString Section (string in_sep, int start, int end) + { + return Section(in_sep, start, end, QString.SectionFlags.SectionDefault); + } + + public QString Section (QRegExp reg, int start) + { + return Section(reg, start, (int) 1); + } + + public QString Section (QRegExp reg, int start, int end) + { + return Section(reg, start, end, QString.SectionFlags.SectionDefault); + } + + public QString Mid (uint index) + { + return Mid(index, (uint) 1); + } + + public QString LeftJustify (uint width) + { + return LeftJustify(width, new QChar ()); + } + + public QString LeftJustify (uint width, QChar fill) + { + return LeftJustify(width, fill, false); + } + + public QString RightJustify (uint width) + { + return RightJustify(width, new QChar ()); + } + + public QString RightJustify (uint width, QChar fill) + { + return RightJustify(width, fill, false); + } + + public short ToShort () + { + return ToShort(false); + } + + public short ToShort (bool ok) + { + return ToShort(ok, (int) 10); + } + + public ushort ToUShort () + { + return ToUShort(false); + } + + public ushort ToUShort (bool ok) + { + return ToUShort(ok, (int) 10); + } + + public int ToInt () + { + return ToInt(false); + } + + public int ToInt (bool ok) + { + return ToInt(ok, (int) 10); + } + + public uint ToUInt () + { + return ToUInt(false); + } + + public uint ToUInt (bool ok) + { + return ToUInt(ok, (int) 10); + } + + public long ToLong () + { + return ToLong(false); + } + + public long ToLong (bool ok) + { + return ToLong(ok, (int) 10); + } + + public ulong ToULong () + { + return ToULong(false); + } + + public ulong ToULong (bool ok) + { + return ToULong(ok, (int) 10); + } + + public float ToFloat () + { + return ToFloat(false); + } + + public double ToDouble () + { + return ToDouble(false); + } + + public QString SetNum (short arg1) + { + return SetNum(arg1, (int) 10); + } + + public QString SetNum (ushort arg1) + { + return SetNum(arg1, (int) 10); + } + + public QString SetNum (int arg1) + { + return SetNum(arg1, (int) 10); + } + + public QString SetNum (uint arg1) + { + return SetNum(arg1, (int) 10); + } + + public QString SetNum (long arg1) + { + return SetNum(arg1, (int) 10); + } + + public QString SetNum (ulong arg1) + { + return SetNum(arg1, (int) 10); + } + + public QString SetNum (float arg1) + { + return SetNum(arg1, (char) 'g'); + } + + public QString SetNum (float arg1, char f) + { + return SetNum(arg1, f, (int) 6); + } + + public QString SetNum (double arg1) + { + return SetNum(arg1, (char) 'g'); + } + + public QString SetNum (double arg1, char f) + { + return SetNum(arg1, f, (int) 6); + } + + public QString SetLatin1 (QString arg1) + { + return SetLatin1(arg1, (int) -1); + } + + public static QString Number (long arg1) + { + return Number(arg1, (int) 10); + } + + public static QString Number (ulong arg1) + { + return Number(arg1, (int) 10); + } + + public static QString Number (int arg1) + { + return Number(arg1, (int) 10); + } + + public static QString Number (uint arg1) + { + return Number(arg1, (int) 10); + } + + public static QString Number (double arg1) + { + return Number(arg1, (char) 'g'); + } + + public static QString Number (double arg1, char f) + { + return Number(arg1, f, (int) 6); + } + + public static QString FromLatin1 (QString arg1) + { + return FromLatin1(arg1, (int) -1); + } + + public static QString FromUtf8 (QString arg1) + { + return FromUtf8(arg1, (int) -1); + } + + public static QString FromLocal8Bit (QString arg1) + { + return FromLocal8Bit(arg1, (int) -1); + } + } +} diff --git a/qtsharp/src/bindings/static/QStyle.cs b/qtsharp/src/bindings/static/QStyle.cs new file mode 100644 index 00000000..c61ec005 --- /dev/null +++ b/qtsharp/src/bindings/static/QStyle.cs @@ -0,0 +1,595 @@ +// QStyle.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public class QStyle : QObject, IDisposable { + + public enum PrimitiveElement: long { + PE_ButtonCommand = 0, + PE_ButtonDefault = 1, + PE_ButtonBevel = 2, + PE_ButtonTool = 3, + PE_ButtonDropDown = 4, + PE_FocusRect = 5, + PE_ArrowUp = 6, + PE_ArrowDown = 7, + PE_ArrowRight = 8, + PE_ArrowLeft = 9, + PE_SpinWidgetUp = 10, + PE_SpinWidgetDown = 11, + PE_SpinWidgetPlus = 12, + PE_SpinWidgetMinus = 13, + PE_Indicator = 14, + PE_IndicatorMask = 15, + PE_ExclusiveIndicator = 16, + PE_ExclusiveIndicatorMask = 17, + PE_DockWindowHandle = 18, + PE_DockWindowSeparator = 19, + PE_DockWindowResizeHandle = 20, + PE_Splitter = 21, + PE_Panel = 22, + PE_PanelPopup = 23, + PE_PanelMenuBar = 24, + PE_PanelDockWindow = 25, + PE_TabBarBase = 26, + PE_HeaderSection = 27, + PE_HeaderArrow = 28, + PE_StatusBarSection = 29, + PE_GroupBoxFrame = 30, + PE_Separator = 31, + PE_SizeGrip = 32, + PE_CheckMark = 33, + PE_ScrollBarAddLine = 34, + PE_ScrollBarSubLine = 35, + PE_ScrollBarAddPage = 36, + PE_ScrollBarSubPage = 37, + PE_ScrollBarSlider = 38, + PE_ScrollBarFirst = 39, + PE_ScrollBarLast = 40, + PE_ProgressBarChunk = 41, + PE_PanelLineEdit = 42, + PE_PanelTabWidget = 43, + PE_WindowFrame = 44, + PE_CustomBase = 251658240 + } + + public enum StyleFlags { + Style_Default = 0, + Style_Enabled = 1, + Style_Raised = 2, + Style_Sunken = 4, + Style_Off = 8, + Style_NoChange = 16, + Style_On = 32, + Style_Down = 64, + Style_Horizontal = 128, + Style_HasFocus = 256, + Style_Top = 512, + Style_Bottom = 1024, + Style_FocusAtBorder = 2048, + Style_AutoRaise = 4096, + Style_MouseOver = 8192, + Style_Up = 16384, + Style_Selected = 32768, + Style_Active = 65536, + Style_ButtonDefault = 131072 + } + + public enum ControlElement: long { + CE_PushButton = 0, + CE_PushButtonLabel = 1, + CE_CheckBox = 2, + CE_CheckBoxLabel = 3, + CE_RadioButton = 4, + CE_RadioButtonLabel = 5, + CE_TabBarTab = 6, + CE_TabBarLabel = 7, + CE_ProgressBarGroove = 8, + CE_ProgressBarContents = 9, + CE_ProgressBarLabel = 10, + CE_PopupMenuItem = 11, + CE_MenuBarItem = 12, + CE_ToolButtonLabel = 13, + CE_CustomBase = 4026531840 + } + + public enum SubRect: long { + SR_PushButtonContents = 0, + SR_PushButtonFocusRect = 1, + SR_CheckBoxIndicator = 2, + SR_CheckBoxContents = 3, + SR_CheckBoxFocusRect = 4, + SR_RadioButtonIndicator = 5, + SR_RadioButtonContents = 6, + SR_RadioButtonFocusRect = 7, + SR_ComboBoxFocusRect = 8, + SR_SliderFocusRect = 9, + SR_DockWindowHandleRect = 10, + SR_ProgressBarGroove = 11, + SR_ProgressBarContents = 12, + SR_ProgressBarLabel = 13, + SR_ToolButtonContents = 14, + SR_CustomBase = 4026531840 + } + + public enum ComplexControl: long { + CC_SpinWidget = 0, + CC_ComboBox = 1, + CC_ScrollBar = 2, + CC_Slider = 3, + CC_ToolButton = 4, + CC_TitleBar = 5, + CC_ListView = 6, + CC_CustomBase = 4026531840 + } + + public enum SubControl: long { + SC_None = 0, + SC_ScrollBarAddLine = 1, + SC_ScrollBarSubLine = 2, + SC_ScrollBarAddPage = 4, + SC_ScrollBarSubPage = 8, + SC_ScrollBarFirst = 16, + SC_ScrollBarLast = 32, + SC_ScrollBarSlider = 64, + SC_ScrollBarGroove = 128, + SC_SpinWidgetUp = 1, + SC_SpinWidgetDown = 2, + SC_SpinWidgetFrame = 4, + SC_SpinWidgetEditField = 8, + SC_SpinWidgetButtonField = 16, + SC_ComboBoxFrame = 1, + SC_ComboBoxEditField = 2, + SC_ComboBoxArrow = 4, + SC_SliderGroove = 1, + SC_SliderHandle = 2, + SC_SliderTickmarks = 4, + SC_ToolButton = 1, + SC_ToolButtonMenu = 2, + SC_TitleBarLabel = 1, + SC_TitleBarSysMenu = 2, + SC_TitleBarMinButton = 4, + SC_TitleBarMaxButton = 8, + SC_TitleBarCloseButton = 16, + SC_TitleBarNormalButton = 32, + SC_TitleBarShadeButton = 64, + SC_TitleBarUnshadeButton = 128, + SC_ListView = 1, + SC_ListViewBranch = 2, + SC_ListViewExpand = 4, + SC_All = 4294967295 + } + + public enum PixelMetric: long { + PM_ButtonMargin = 0, + PM_ButtonDefaultIndicator = 1, + PM_MenuButtonIndicator = 2, + PM_ButtonShiftHorizontal = 3, + PM_ButtonShiftVertical = 4, + PM_DefaultFrameWidth = 5, + PM_SpinBoxFrameWidth = 6, + PM_MaximumDragDistance = 7, + PM_ScrollBarExtent = 8, + PM_ScrollBarSliderMin = 9, + PM_SliderThickness = 10, + PM_SliderControlThickness = 11, + PM_SliderLength = 12, + PM_SliderTickmarkOffset = 13, + PM_SliderSpaceAvailable = 14, + PM_DockWindowSeparatorExtent = 15, + PM_DockWindowHandleExtent = 16, + PM_DockWindowFrameWidth = 17, + PM_MenuBarFrameWidth = 18, + PM_TabBarTabOverlap = 19, + PM_TabBarTabHSpace = 20, + PM_TabBarTabVSpace = 21, + PM_TabBarBaseHeight = 22, + PM_TabBarBaseOverlap = 23, + PM_ProgressBarChunkWidth = 24, + PM_SplitterWidth = 25, + PM_TitleBarHeight = 26, + PM_IndicatorWidth = 27, + PM_IndicatorHeight = 28, + PM_ExclusiveIndicatorWidth = 29, + PM_ExclusiveIndicatorHeight = 30, + PM_CustomBase = 4026531840 + } + + public enum ContentsType: long { + CT_PushButton = 0, + CT_CheckBox = 1, + CT_RadioButton = 2, + CT_ToolButton = 3, + CT_ComboBox = 4, + CT_Splitter = 5, + CT_DockWindow = 6, + CT_ProgressBar = 7, + CT_PopupMenuItem = 8, + CT_CustomBase = 4026531840 + } + + public enum StyleHint: long { + SH_EtchDisabledText = 0, + SH_GUIStyle = 1, + SH_ScrollBar_BackgroundMode = 2, + SH_ScrollBar_MiddleClickAbsolutePosition = 3, + SH_ScrollBar_ScrollWhenPointerLeavesControl = 4, + SH_TabBar_SelectMouseType = 5, + SH_TabBar_Alignment = 6, + SH_Header_ArrowAlignment = 7, + SH_Slider_SnapToValue = 8, + SH_Slider_SloppyKeyEvents = 9, + SH_ProgressDialog_CenterCancelButton = 10, + SH_ProgressDialog_TextLabelAlignment = 11, + SH_PrintDialog_RightAlignButtons = 12, + SH_MainWindow_SpaceBelowMenuBar = 13, + SH_FontDialog_SelectAssociatedText = 14, + SH_PopupMenu_AllowActiveAndDisabled = 15, + SH_PopupMenu_SpaceActivatesItem = 16, + SH_PopupMenu_SubMenuPopupDelay = 17, + SH_ScrollView_FrameOnlyAroundContents = 18, + SH_MenuBar_AltKeyNavigation = 19, + SH_ComboBox_ListMouseTracking = 20, + SH_PopupMenu_MouseTracking = 21, + SH_MenuBar_MouseTracking = 22, + SH_ItemView_ChangeHighlightOnFocus = 23, + SH_Widget_ShareActivation = 24, + SH_Workspace_FillSpaceOnMaximize = 25, + SH_ComboBox_Popup = 26, + SH_TitleBar_NoBorder = 27, + SH_ScrollBar_StopMouseOverSlider = 28, + SH_BlinkCursorWhenTextSelected = 29, + SH_RichText_FullWidthSelection = 30, + SH_CustomBase = 4026531840 + } + + public enum StylePixmap: long { + SP_TitleBarMinButton = 0, + SP_TitleBarMaxButton = 1, + SP_TitleBarCloseButton = 2, + SP_TitleBarNormalButton = 3, + SP_TitleBarShadeButton = 4, + SP_TitleBarUnshadeButton = 5, + SP_DockWindowCloseButton = 6, + SP_MessageBoxInformation = 7, + SP_MessageBoxWarning = 8, + SP_MessageBoxCritical = 9, + SP_CustomBase = 4026531840 + } + + internal QStyle () : this (QNull.Instance) {} + + internal QStyle (IntPtr ptr) : this (QNull.Instance) + { + rawObject = ptr; + RegisterObject(this); + } + + internal QStyle (QNull dummy) : base (QNull.Instance) {} + + ~QStyle () + { + Dispose(false); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_del_QStyle (IntPtr obj); + internal override void Delete () + { + if (deleted) return; + + qt_del_QStyle (rawObject); + deleted = true; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QStyle_polish (IntPtr raw, IntPtr arg1); + public void polish (QWidget arg1) + { + qt_QStyle_polish (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QStyle_unPolish (IntPtr raw, IntPtr arg1); + public void unPolish (QWidget arg1) + { + qt_QStyle_unPolish (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QStyle_polish1 (IntPtr raw, IntPtr arg1); + public void polish (QApplication arg1) + { + qt_QStyle_polish1 (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QStyle_unPolish1 (IntPtr raw, IntPtr arg1); + public void unPolish (QApplication arg1) + { + qt_QStyle_unPolish1 (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QStyle_polish2 (IntPtr raw, IntPtr arg1); + public void polish (QPalette arg1) + { + qt_QStyle_polish2 (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QStyle_polishPopupMenu (IntPtr raw, IntPtr arg1); + public void polishPopupMenu (QPopupMenu arg1) + { + qt_QStyle_polishPopupMenu (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QStyle_itemRect (IntPtr raw, IntPtr p, IntPtr r, int flags, bool enabled, IntPtr pixmap, IntPtr text, int len); + public QRect itemRect (QPainter p, QRect r, int flags, bool enabled, QPixmap pixmap, string text, int len) + { + return (QRect)LookupObject (qt_QStyle_itemRect (rawObject, p.RawObject, r.RawObject, flags, enabled, pixmap.RawObject, new QString (text).RawObject, len), typeof(QRect)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QStyle_drawItem (IntPtr raw, IntPtr p, IntPtr r, int flags, IntPtr g, bool enabled, IntPtr pixmap, IntPtr text, int len, IntPtr penColor); + public void drawItem (QPainter p, QRect r, int flags, QColorGroup g, bool enabled, QPixmap pixmap, string text, int len, QColor penColor) + { + qt_QStyle_drawItem (rawObject, p.RawObject, r.RawObject, flags, g.RawObject, enabled, pixmap.RawObject, new QString (text).RawObject, len, penColor.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QStyle_drawPrimitive (IntPtr raw, QStyle.PrimitiveElement pe, IntPtr p, IntPtr r, IntPtr cg, QStyle.StyleFlags flags, IntPtr arg1); + public void drawPrimitive (QStyle.PrimitiveElement pe, QPainter p, QRect r, QColorGroup cg, QStyle.StyleFlags flags, QStyleOption arg1) + { + qt_QStyle_drawPrimitive (rawObject, pe, p.RawObject, r.RawObject, cg.RawObject, flags, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QStyle_drawControl (IntPtr raw, QStyle.ControlElement element, IntPtr p, IntPtr widget, IntPtr r, IntPtr cg, QStyle.StyleFlags how, IntPtr arg1); + public void drawControl (QStyle.ControlElement element, QPainter p, QWidget widget, QRect r, QColorGroup cg, QStyle.StyleFlags how, QStyleOption arg1) + { + qt_QStyle_drawControl (rawObject, element, p.RawObject, widget.RawObject, r.RawObject, cg.RawObject, how, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QStyle_drawControlMask (IntPtr raw, QStyle.ControlElement element, IntPtr p, IntPtr widget, IntPtr r, IntPtr arg1); + public void drawControlMask (QStyle.ControlElement element, QPainter p, QWidget widget, QRect r, QStyleOption arg1) + { + qt_QStyle_drawControlMask (rawObject, element, p.RawObject, widget.RawObject, r.RawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QStyle_subRect (IntPtr raw, QStyle.SubRect r, IntPtr widget); + public QRect subRect (QStyle.SubRect r, QWidget widget) + { + return (QRect)LookupObject (qt_QStyle_subRect (rawObject, r, widget.RawObject), typeof(QRect)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QStyle_drawComplexControl (IntPtr raw, QStyle.ComplexControl control, IntPtr p, IntPtr widget, IntPtr r, IntPtr cg, QStyle.StyleFlags how, QStyle.SubControl sub, QStyle.SubControl subActive, IntPtr arg1); + public void drawComplexControl (QStyle.ComplexControl control, QPainter p, QWidget widget, QRect r, QColorGroup cg, QStyle.StyleFlags how, QStyle.SubControl sub, QStyle.SubControl subActive, QStyleOption arg1) + { + qt_QStyle_drawComplexControl (rawObject, control, p.RawObject, widget.RawObject, r.RawObject, cg.RawObject, how, sub, subActive, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QStyle_drawComplexControlMask (IntPtr raw, QStyle.ComplexControl control, IntPtr p, IntPtr widget, IntPtr r, IntPtr arg1); + public void drawComplexControlMask (QStyle.ComplexControl control, QPainter p, QWidget widget, QRect r, QStyleOption arg1) + { + qt_QStyle_drawComplexControlMask (rawObject, control, p.RawObject, widget.RawObject, r.RawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QStyle_querySubControlMetrics (IntPtr raw, QStyle.ComplexControl control, IntPtr widget, QStyle.SubControl sc, IntPtr arg1); + public QRect querySubControlMetrics (QStyle.ComplexControl control, QWidget widget, QStyle.SubControl sc, QStyleOption arg1) + { + return (QRect)LookupObject (qt_QStyle_querySubControlMetrics (rawObject, control, widget.RawObject, sc, arg1.RawObject), typeof(QRect)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern QStyle.SubControl qt_QStyle_querySubControl (IntPtr raw, QStyle.ComplexControl control, IntPtr widget, IntPtr pos, IntPtr arg1); + public QStyle.SubControl querySubControl (QStyle.ComplexControl control, QWidget widget, QPoint pos, QStyleOption arg1) + { + return qt_QStyle_querySubControl (rawObject, control, widget.RawObject, pos.RawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QStyle_pixelMetric (IntPtr raw, QStyle.PixelMetric metric, IntPtr widget); + public int pixelMetric (QStyle.PixelMetric metric, QWidget widget) + { + return qt_QStyle_pixelMetric (rawObject, metric, widget.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QStyle_sizeFromContents (IntPtr raw, QStyle.ContentsType contents, IntPtr widget, IntPtr contentsSize, IntPtr arg1); + public QSize sizeFromContents (QStyle.ContentsType contents, QWidget widget, QSize contentsSize, QStyleOption arg1) + { + return (QSize)LookupObject (qt_QStyle_sizeFromContents (rawObject, contents, widget.RawObject, contentsSize.RawObject, arg1.RawObject), typeof(QSize)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QStyle_styleHint (IntPtr raw, StyleHint stylehint, IntPtr widget, IntPtr arg1, IntPtr returnData); + public int styleHint (StyleHint stylehint, QWidget widget, QStyleOption arg1, IntPtr returnData) + { + return qt_QStyle_styleHint (rawObject, stylehint, widget.RawObject, arg1.RawObject, returnData); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QStyle_stylePixmap (IntPtr raw, QStyle.StylePixmap stylepixmap, IntPtr widget, IntPtr arg1); + public QPixmap stylePixmap (QStyle.StylePixmap stylepixmap, QWidget widget, QStyleOption arg1) + { + return (QPixmap)LookupObject (qt_QStyle_stylePixmap (rawObject, stylepixmap, widget.RawObject, arg1.RawObject), typeof(QPixmap)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QStyle_defaultFrameWidth (IntPtr raw); + public int defaultFrameWidth () + { + return qt_QStyle_defaultFrameWidth (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QStyle_tabbarMetrics (IntPtr raw, IntPtr t, int hf, int vf, int ov); + public void tabbarMetrics (QWidget t, int hf, int vf, int ov) + { + qt_QStyle_tabbarMetrics (rawObject, t.RawObject, hf, vf, ov); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QStyle_scrollBarExtent (IntPtr raw); + public QSize scrollBarExtent () + { + return (QSize)LookupObject (qt_QStyle_scrollBarExtent (rawObject), typeof(QSize)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QStyle_visualRect (IntPtr logical, IntPtr w); + public static QRect visualRect (QRect logical, QWidget w) + { + return (QRect)LookupObject (qt_QStyle_visualRect (logical.RawObject, w.RawObject), typeof(QRect)); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QStyle_visualRect1 (IntPtr logical, IntPtr bounding); + public static QRect visualRect (QRect logical, QRect bounding) + { + return (QRect)LookupObject (qt_QStyle_visualRect1 (logical.RawObject, bounding.RawObject), typeof(QRect)); + } + + public QRect itemRect (QPainter p, QRect r, int flags, bool enabled, QPixmap pixmap, string text) + { + return itemRect(p, r, flags, enabled, pixmap, text, (int) -1); + } + + public void drawItem (QPainter p, QRect r, int flags, QColorGroup g, bool enabled, QPixmap pixmap, string text) + { + drawItem(p, r, flags, g, enabled, pixmap, text, (int) -1); + } + + public void drawItem (QPainter p, QRect r, int flags, QColorGroup g, bool enabled, QPixmap pixmap, string text, int len) + { + drawItem(p, r, flags, g, enabled, pixmap, text, len, new QColor ()); + } + + public void drawPrimitive (QStyle.PrimitiveElement pe, QPainter p, QRect r, QColorGroup cg) + { + drawPrimitive(pe, p, r, cg, QStyle.StyleFlags.Style_Default); + } + + public void drawPrimitive (QStyle.PrimitiveElement pe, QPainter p, QRect r, QColorGroup cg, QStyle.StyleFlags flags) + { + drawPrimitive(pe, p, r, cg, flags, new QStyleOption ()); + } + + public void drawControl (QStyle.ControlElement element, QPainter p, QWidget widget, QRect r, QColorGroup cg) + { + drawControl(element, p, widget, r, cg, QStyle.StyleFlags.Style_Default); + } + + public void drawControl (QStyle.ControlElement element, QPainter p, QWidget widget, QRect r, QColorGroup cg, QStyle.StyleFlags how) + { + drawControl(element, p, widget, r, cg, how, new QStyleOption ()); + } + + public void drawControlMask (QStyle.ControlElement element, QPainter p, QWidget widget, QRect r) + { + drawControlMask(element, p, widget, r, new QStyleOption ()); + } + + public void drawComplexControl (QStyle.ComplexControl control, QPainter p, QWidget widget, QRect r, QColorGroup cg) + { + drawComplexControl(control, p, widget, r, cg, QStyle.StyleFlags.Style_Default); + } + + public void drawComplexControl (QStyle.ComplexControl control, QPainter p, QWidget widget, QRect r, QColorGroup cg, QStyle.StyleFlags how) + { + drawComplexControl(control, p, widget, r, cg, how, QStyle.SubControl.SC_All); + } + + public void drawComplexControl (QStyle.ComplexControl control, QPainter p, QWidget widget, QRect r, QColorGroup cg, QStyle.StyleFlags how, QStyle.SubControl sub) + { + drawComplexControl(control, p, widget, r, cg, how, sub, QStyle.SubControl.SC_None); + } + + public void drawComplexControl (QStyle.ComplexControl control, QPainter p, QWidget widget, QRect r, QColorGroup cg, QStyle.StyleFlags how, QStyle.SubControl sub, QStyle.SubControl subActive) + { + drawComplexControl(control, p, widget, r, cg, how, sub, subActive, new QStyleOption ()); + } + + public void drawComplexControlMask (QStyle.ComplexControl control, QPainter p, QWidget widget, QRect r) + { + drawComplexControlMask(control, p, widget, r, new QStyleOption ()); + } + + public QRect querySubControlMetrics (QStyle.ComplexControl control, QWidget widget, QStyle.SubControl sc) + { + return querySubControlMetrics(control, widget, sc, new QStyleOption ()); + } + + public QStyle.SubControl querySubControl (QStyle.ComplexControl control, QWidget widget, QPoint pos) + { + return querySubControl(control, widget, pos, new QStyleOption ()); + } + + public int pixelMetric (QStyle.PixelMetric metric) + { + return pixelMetric(metric, new QWidget ()); + } + + public QSize sizeFromContents (QStyle.ContentsType contents, QWidget widget, QSize contentsSize) + { + return sizeFromContents(contents, widget, contentsSize, new QStyleOption ()); + } + + public int styleHint (StyleHint stylehint) + { + return styleHint(stylehint, new QWidget ()); + } + + public int styleHint (StyleHint stylehint, QWidget widget) + { + return styleHint(stylehint, widget, new QStyleOption ()); + } + + public int styleHint (StyleHint stylehint, QWidget widget, QStyleOption arg1) + { + return styleHint(stylehint, widget, arg1, (IntPtr) 0); + } + + public QPixmap stylePixmap (QStyle.StylePixmap stylepixmap) + { + return stylePixmap(stylepixmap, new QWidget ()); + } + + public QPixmap stylePixmap (QStyle.StylePixmap stylepixmap, QWidget widget) + { + return stylePixmap(stylepixmap, widget, new QStyleOption ()); + } + + // Begin interface methods. + + } +} diff --git a/qtsharp/src/bindings/static/QToolButton.cs b/qtsharp/src/bindings/static/QToolButton.cs new file mode 100644 index 00000000..90f36785 --- /dev/null +++ b/qtsharp/src/bindings/static/QToolButton.cs @@ -0,0 +1,290 @@ +// QToolButton.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Created static file 26 January 2003 +// Marcus Urban + + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public class QToolButton : QButton, IDisposable { + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QToolButton (IntPtr parent, string name); + public QToolButton (QWidget parent, string name) : this (QNull.Instance) + { + rawObject = qt_new_QToolButton (parent != null ? parent.RawObject : IntPtr.Zero, name); + + if ((qparent = parent) != null) + qparent.AddChild (this); + + RegisterObject (this); + Connect (this, SIGNAL ("destroyed ()"), SLOT ("NativeDestroyed ()")); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QToolButton1 (IntPtr iconSet, IntPtr textLabel, IntPtr groupText, IntPtr receiver, string slot, IntPtr parent, string name); + public QToolButton (QIconSet iconSet, QString textLabel, QString groupText, QObject receiver, string slot, QToolBar parent, string name) : this (QNull.Instance) + { + rawObject = qt_new_QToolButton1 (iconSet.RawObject, textLabel.RawObject, groupText.RawObject, IntPtr.Zero, null, parent != null ? parent.RawObject : IntPtr.Zero, name); + Connect( this, SIGNAL("clicked()"), receiver, slot ); + + + if ((qparent = parent) != null) + qparent.AddChild (this); + + RegisterObject (this); + Connect (this, SIGNAL ("destroyed ()"), SLOT ("NativeDestroyed ()")); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QToolButton2 (Qt.ArrowType type, IntPtr parent, string name); + public QToolButton (Qt.ArrowType type, QWidget parent, string name) : this (QNull.Instance) + { + rawObject = qt_new_QToolButton2 (type, parent != null ? parent.RawObject : IntPtr.Zero, name); + + if ((qparent = parent) != null) + qparent.AddChild (this); + + RegisterObject (this); + Connect (this, SIGNAL ("destroyed ()"), SLOT ("NativeDestroyed ()")); + } + + public QToolButton (QWidget parent) : this (parent, "") {} + + internal QToolButton () : this (QNull.Instance) {} + + internal QToolButton (IntPtr ptr) : this (QNull.Instance) + { + rawObject = ptr; + RegisterObject(this); + } + + internal QToolButton (QNull dummy) : base (QNull.Instance) {} + + ~QToolButton () + { + Dispose (false); + } + + internal override void Delete () + { + if (deleted) return; + + // libqtc lacks a qt_del_QToolButton function + deleted = true; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QToolButton_setUsesBigPixmap (IntPtr raw, bool enable); + public void SetUsesBigPixmap (bool enable) + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + qt_QToolButton_setUsesBigPixmap (rawObject, enable); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QToolButton_setUsesTextLabel (IntPtr raw, bool enable); + public void SetUsesTextLabel (bool enable) + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + qt_QToolButton_setUsesTextLabel (rawObject, enable); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QToolButton_setTextLabel (IntPtr raw, IntPtr arg1, bool arg2); + public void SetTextLabel (QString arg1, bool arg2) + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + qt_QToolButton_setTextLabel (rawObject, arg1.RawObject, arg2); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QToolButton_setToggleButton (IntPtr raw, bool enable); + public void SetToggleButton (bool enable) + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + qt_QToolButton_setToggleButton (rawObject, enable); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QToolButton_setOn (IntPtr raw, bool enable); + public void SetOn (bool enable) + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + qt_QToolButton_setOn (rawObject, enable); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QToolButton_toggle (IntPtr raw); + public void Toggle () + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + qt_QToolButton_toggle (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QToolButton_setTextLabel1 (IntPtr raw, IntPtr arg1); + public void SetTextLabel (QString arg1) + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + qt_QToolButton_setTextLabel1 (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QToolButton_setIconSet (IntPtr raw, IntPtr set); + public void SetIconSet (QIconSet set) + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + qt_QToolButton_setIconSet (rawObject, set.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QToolButton_setIconSet1 (IntPtr raw, IntPtr set, bool on); + public void SetIconSet (QIconSet set, bool on) + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + qt_QToolButton_setIconSet1 (rawObject, set.RawObject, on); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QToolButton_iconSet (IntPtr raw, bool on); + public QIconSet IconSet (bool on) + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + return LookupObject (qt_QToolButton_iconSet (rawObject, on), typeof (QIconSet)) as QIconSet; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QToolButton_setPopupDelay (IntPtr raw, int delay); + public void SetPopupDelay (int delay) + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + qt_QToolButton_setPopupDelay (rawObject, delay); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QToolButton_popupDelay (IntPtr raw); + public int PopupDelay () + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + return qt_QToolButton_popupDelay (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QToolButton_openPopup (IntPtr raw); + public void OpenPopup () + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + qt_QToolButton_openPopup (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QToolButton_setAutoRaise (IntPtr raw, bool enable); + public void SetAutoRaise (bool enable) + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + qt_QToolButton_setAutoRaise (rawObject, enable); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QToolButton_autoRaise (IntPtr raw); + public bool AutoRaise () + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + return qt_QToolButton_autoRaise (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QToolButton_drawButtonLabel (IntPtr raw, IntPtr arg1); + protected void DrawButtonLabel (QPainter arg1) + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + qt_QToolButton_drawButtonLabel (rawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QToolButton_uses3D (IntPtr raw); + protected bool Uses3D () + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + return qt_QToolButton_uses3D (rawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QToolButton_eventFilter (IntPtr raw, IntPtr o, IntPtr e); + protected bool EventFilter (QObject o, QEvent e) + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + return qt_QToolButton_eventFilter (rawObject, o.RawObject, e.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QToolButton_paletteChange (IntPtr raw, IntPtr arg1); + protected void PaletteChange (QPalette arg1) + { + if (disposed) + throw new ObjectDisposedException (this+": Attempted use of disposed object"); + + qt_QToolButton_paletteChange (rawObject, arg1.RawObject); + } + + // Begin interface methods. + + } +} diff --git a/qtsharp/src/bindings/static/QWidgetStack.cs b/qtsharp/src/bindings/static/QWidgetStack.cs new file mode 100644 index 00000000..f48da641 --- /dev/null +++ b/qtsharp/src/bindings/static/QWidgetStack.cs @@ -0,0 +1,173 @@ +// QWidgetStack.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Collections; + using System.Runtime.InteropServices; + + public class QWidgetStack : QFrame, IDisposable { + + private ArrayList widgets; + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_new_QWidgetStack (IntPtr parent, string name); + public QWidgetStack (QWidget parent, string name) : this (QNull.Instance) + { + if ((qparent = parent) != null) + qparent.AddChild (this); + rawObject = qt_new_QWidgetStack (parent != null ? parent.RawObject : IntPtr.Zero, name); + RegisterObject (this); + } + + public QWidgetStack () : this (new QWidget ()) {} + + public QWidgetStack (QWidget parent) : this (parent, "") {} + + internal QWidgetStack (IntPtr ptr) : this (QNull.Instance) + { + rawObject = ptr; + RegisterObject(this); + } + + internal QWidgetStack (QNull dummy) : base (QNull.Instance) + { + widgets = new ArrayList (); + } + + ~QWidgetStack () + { + Dispose (false); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_del_QWidgetStack (IntPtr raw); + internal override void Delete () + { + if (deleted) return; + + qt_del_QWidgetStack (rawObject); + deleted = true; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QWidgetStack_addWidget (IntPtr raw, IntPtr arg1, int arg2); + public int AddWidget (QWidget arg1, int arg2) + { + if (! widgets.Contains (arg1)) widgets.Add (arg1); + return qt_QWidgetStack_addWidget (RawObject, arg1.RawObject, arg2); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QWidgetStack_removeWidget (IntPtr raw, IntPtr arg1); + public void RemoveWidget (QWidget arg1) + { + widgets.Remove (arg1); + qt_QWidgetStack_removeWidget (RawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QWidgetStack_sizeHint (IntPtr raw); + public QSize SizeHint () + { + return LookupObject (qt_QWidgetStack_sizeHint (RawObject), typeof(QSize)) as QSize; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QWidgetStack_minimumSizeHint (IntPtr raw); + public QSize MinimumSizeHint () + { + return LookupObject (qt_QWidgetStack_minimumSizeHint (RawObject), typeof(QSize)) as QSize; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QWidgetStack_show (IntPtr raw); + public void Show () + { + qt_QWidgetStack_show (RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QWidgetStack_widget (IntPtr raw, int arg1); + public QWidget Widget (int arg1) + { + return LookupObject (qt_QWidgetStack_widget (RawObject, arg1), typeof(QWidget)) as QWidget; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern int qt_QWidgetStack_id (IntPtr raw, IntPtr arg1); + public int Id (QWidget arg1) + { + return qt_QWidgetStack_id (RawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern IntPtr qt_QWidgetStack_visibleWidget (IntPtr raw); + public QWidget VisibleWidget () + { + return LookupObject (qt_QWidgetStack_visibleWidget (RawObject), typeof(QWidget)) as QWidget; + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QWidgetStack_setFrameRect (IntPtr raw, IntPtr arg1); + public void SetFrameRect (QRect arg1) + { + qt_QWidgetStack_setFrameRect (RawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QWidgetStack_raiseWidget (IntPtr raw, int arg1); + public void RaiseWidget (int arg1) + { + qt_QWidgetStack_raiseWidget (RawObject, arg1); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QWidgetStack_raiseWidget1 (IntPtr raw, IntPtr arg1); + public void RaiseWidget (QWidget arg1) + { + qt_QWidgetStack_raiseWidget1 (RawObject, arg1.RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QWidgetStack_frameChanged (IntPtr raw); + protected void FrameChanged () + { + qt_QWidgetStack_frameChanged (RawObject); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_QWidgetStack_setChildGeometries (IntPtr raw); + protected void SetChildGeometries () + { + qt_QWidgetStack_setChildGeometries (RawObject); + } + + public int AddWidget (QWidget arg1) + { + return AddWidget(arg1, (int) -1); + } + + // Begin interface methods. + + } +} diff --git a/qtsharp/src/bindings/static/QtSignal.cs b/qtsharp/src/bindings/static/QtSignal.cs new file mode 100644 index 00000000..f76291f5 --- /dev/null +++ b/qtsharp/src/bindings/static/QtSignal.cs @@ -0,0 +1,848 @@ +// QtSignal.cs - Signal/slot connection support for Qt# +// +// Copyright (C) 2002 Nick Zigarovich (nick@chemlab.org) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// TODO +// o See about eliminating huge ConnectSignalTo* DisconnectSignalFrom* methods; +// want to make methods for each connection case that deal with QtSignal and +// QtSlot instances directly. +// + +namespace Qt { + using System; + using System.Collections; + using System.Runtime.InteropServices; + using System.Reflection; + + internal class QtSignal: QObject, IDisposable { + internal static bool traceConnects; + + static QtSignal () + { + traceConnects = false; + } + + private QObject sender; + private string signal; + private string name; + private string args; + private ArrayList slots; + private ArrayList signals; + + public string Identifier { + get { return MakeSigId(sender, signal); } + } + + public QObject Sender { + get { return sender; } + } + + public string Signal { + get { return signal; } + } + + public string Name { + get { return name; } + } + + public string Args { + get { return args; } + } + + public string MangledArgs { + get { return MangleArgs(Args); } + } + + public ArrayList Signals { + get { return signals; } + } + + public ArrayList Slots { + get { return slots; } + } + + public QtSignal (QObject sender, string signal): base (NoSignalInit.Instance) + { + this.sender = sender; + this.signal = signal; + string[] sigspl = signal.Split(new char[] {'('}); + name = sigspl[0]; + args = "(" + sigspl[1]; + slots = new ArrayList(); + signals = new ArrayList(); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern void qt_del_QObject (IntPtr obj); + internal override void Delete () + { + if (deleted) return; + + qt_del_QObject (rawObject); + deleted = true; + } + + public bool IsCSharpSignal() + { + return sender.CsSignalMap.Contains(signal); + } + + internal static bool Connect(QObject sender, string signal, QObject receiver, string slot) + { + if (IsSlot(signal)) { + return false; + // throw new ArgumentException("Received a slot where a signal was expected"); + } + + if (IsSignal(slot)) + return ConnectSignalToSignal(sender, NormalizeParam(signal), receiver, NormalizeParam(slot)); + else + return ConnectSignalToSlot(sender, NormalizeParam(signal), receiver, NormalizeParam(slot)); + } + + private static bool ConnectSignalToSlot(QObject sender, string signal, QObject receiver, string slot) + { + QtSignal sigobj; + QtSlot slotobj = new QtSlot(receiver, slot); + + if (traceConnects) + ErrMsg ("ConnectSignalToSlot: ({0}) {1}, {2}, ({3}) {4}, {5}", sender.RawObject, sender, signal, + receiver.RawObject, receiver, slot); + + // Connect C# signal to... + if (sender.CsSignalMap.Contains(signal)) { + sigobj = sender.CsSignalMap[signal]; + + // ...a C# slot + if (slotobj.IsCSharpSlot) { + if (sigobj.Slots.Contains(slotobj)) + return false; + + sigobj.Slots.Add(slotobj); + return true; + } + // ...a C++ slot + else { + // C++ slots are C# methods, so we should never get here. + throw new ArgumentException(receiver+" has no slot '"+slot+"'"); + } + } + // Connect C++ signal to... + else { + // ...a C# slot + if (slotobj.IsCSharpSlot) { + string id = MakeSigId(sender, signal); + + if (!sender.CppSignalMap.Contains(id)) + sigobj = sender.CppSignalMap[id] = new QtSignal(sender, signal); + else { + sigobj = sender.CppSignalMap[id]; + + if (sigobj.Slots.Contains(slotobj)) + return false; + } + + Delegate del; + string realsignal; + + switch (slotobj.Args) { + case "()": + del = Delegate.CreateDelegate (typeof (del_void), receiver, slotobj.Name); + slotobj.WrapperPtr = csharp_connect_void (sender.RawObject, SIGNAL (signal), receiver.RawObject, del); + break; + case "(bool)": + del = Delegate.CreateDelegate (typeof (del_bool), receiver, slotobj.Name); + slotobj.WrapperPtr = csharp_connect_bool (sender.RawObject, SIGNAL (signal), receiver.RawObject, del); + break; + case "(short)": + del = Delegate.CreateDelegate (typeof (del_short), receiver, slotobj.Name); + slotobj.WrapperPtr = csharp_connect_short (sender.RawObject, SIGNAL (signal), receiver.RawObject, del); + break; + case "(int)": + del = Delegate.CreateDelegate (typeof (del_int), receiver, slotobj.Name); + slotobj.WrapperPtr = csharp_connect_int (sender.RawObject, SIGNAL (signal), receiver.RawObject, del); + break; + case "(long)": + del = Delegate.CreateDelegate (typeof (del_long), receiver, slotobj.Name); + slotobj.WrapperPtr = csharp_connect_long (sender.RawObject, SIGNAL (signal), receiver.RawObject, del); + break; + case "(float)": + del = Delegate.CreateDelegate (typeof (del_float), receiver, slotobj.Name); + slotobj.WrapperPtr = csharp_connect_float (sender.RawObject, SIGNAL (signal), receiver.RawObject, del); + break; + case "(double)": + del = Delegate.CreateDelegate (typeof (del_double), receiver, slotobj.Name); + slotobj.WrapperPtr = csharp_connect_double (sender.RawObject, SIGNAL (signal), receiver.RawObject, del); + break; + case "(QString)": + realsignal = sigobj.Name + "(const QString&)"; + Console.WriteLine("Connecting signal, sigobj.Name = {0}, realsignal = {1}", + sigobj.Name, realsignal); + del = Delegate.CreateDelegate (typeof (del_QString), slotobj, "SlotBridge_QString"); + slotobj.WrapperPtr = csharp_connect_QString (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(QDockWindow)": + realsignal = sigobj.Name + "(QDockWindow*)"; + del = Delegate.CreateDelegate (typeof (del_QDockWindow), slotobj, "SlotBridge_QDockWindow"); + slotobj.WrapperPtr = csharp_connect_QDockWindow (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(QDropEvent)": + realsignal = sigobj.Name + "(QDropEvent*)"; + del = Delegate.CreateDelegate (typeof (del_QDropEvent), slotobj, "SlotBridge_QDropEvent"); + slotobj.WrapperPtr = csharp_connect_QDropEvent (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(QDropEvent,QListViewItem)": + realsignal = sigobj.Name + "(QDropEvent*,QListViewItem*)"; + del = Delegate.CreateDelegate (typeof (del_QDropEventQListViewItem), slotobj, "SlotBridge_QDropEventQListViewItem"); + slotobj.WrapperPtr = csharp_connect_QDropEventQListViewItem (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(QIconViewItem)": + realsignal = sigobj.Name + "(QIconViewItem*)"; + del = Delegate.CreateDelegate (typeof (del_QIconViewItem), slotobj, "SlotBridge_QIconViewItem"); + slotobj.WrapperPtr = csharp_connect_QIconViewItem (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(QListBoxItem)": + realsignal = sigobj.Name + "(QListBoxItem*)"; + del = Delegate.CreateDelegate (typeof (del_QListBoxItem), slotobj, "SlotBridge_QListBoxItem"); + slotobj.WrapperPtr = csharp_connect_QListBoxItem (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(QListViewItem)": + realsignal = sigobj.Name + "(QListViewItem*)"; + del = Delegate.CreateDelegate (typeof (del_QListViewItem), slotobj, "SlotBridge_QListViewItem"); + slotobj.WrapperPtr = csharp_connect_QListViewItem (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(QListViewItem,QListViewItem)": + realsignal = sigobj.Name + "(QListViewItem*,QListViewItem*)"; + del = Delegate.CreateDelegate (typeof (del_QListViewItemQListViewItem), slotobj, "SlotBridge_QListViewItemQListViewItem"); + slotobj.WrapperPtr = csharp_connect_QListViewItemQListViewItem (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(QListViewItem,QListViewItem,QListViewItem)": + realsignal = sigobj.Name + "(QListViewItem*,QListViewItem*,QListViewItem*)"; + del = Delegate.CreateDelegate (typeof (del_QListViewItemQListViewItemQListViewItem), slotobj, "SlotBridge_QListViewItemQListViewItemQListViewItem"); + slotobj.WrapperPtr = csharp_connect_QListViewItemQListViewItemQListViewItem (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(QNetworkOperation)": + realsignal = sigobj.Name + "(QNetworkOperation*)"; + del = Delegate.CreateDelegate (typeof (del_QNetworkOperation), slotobj, "SlotBridge_QNetworkOperation"); + slotobj.WrapperPtr = csharp_connect_QNetworkOperation (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(QObject)": + realsignal = sigobj.Name + "(QObject*)"; + del = Delegate.CreateDelegate (typeof (del_QObject), slotobj, "SlotBridge_QObject"); + slotobj.WrapperPtr = csharp_connect_QObject (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(QToolBar)": + realsignal = sigobj.Name + "(QToolBar*)"; + del = Delegate.CreateDelegate (typeof (del_QToolBar), slotobj, "SlotBridge_QToolBar"); + slotobj.WrapperPtr = csharp_connect_QToolBar (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(QWidget)": + realsignal = sigobj.Name + "(QWidget*)"; + del = Delegate.CreateDelegate (typeof (del_QWidget), slotobj, "SlotBridge_QWidget"); + slotobj.WrapperPtr = csharp_connect_QWidget (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(int,QIconViewItem)": + realsignal = sigobj.Name + "(int,QIconViewItem*)"; + del = Delegate.CreateDelegate (typeof (del_intQIconViewItem), slotobj, "SlotBridge_intQIconViewItem"); + slotobj.WrapperPtr = csharp_connect_intQIconViewItem (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(int,QListBoxItem)": + realsignal = sigobj.Name + "(int,QListBoxItem*)"; + del = Delegate.CreateDelegate (typeof (del_intQListBoxItem), slotobj, "SlotBridge_intQListBoxItem"); + slotobj.WrapperPtr = csharp_connect_intQListBoxItem (sender.RawObject, SIGNAL (realsignal), receiver.RawObject, del); + break; + case "(int,bool)": + del = Delegate.CreateDelegate (typeof (del_intbool), receiver, slotobj.Name); + slotobj.WrapperPtr = csharp_connect_intbool (sender.RawObject, SIGNAL (signal), receiver.RawObject, del); + break; + case "(int,int)": + del = Delegate.CreateDelegate (typeof (del_intint), receiver, slotobj.Name); + slotobj.WrapperPtr = csharp_connect_intint (sender.RawObject, SIGNAL (signal), receiver.RawObject, del); + break; + case "(int,int,int)": + del = Delegate.CreateDelegate (typeof (del_intintint), receiver, slotobj.Name); + slotobj.WrapperPtr = csharp_connect_intintint (sender.RawObject, SIGNAL (signal), receiver.RawObject, del); + break; + default: + throw new ArgumentException ("Unsupported method prototype for C++ signal -> C# slot connection: " + slotobj.Args); + } + + if (slotobj.WrapperPtr == IntPtr.Zero) + return false; + + slotobj.Callback = del; + + sigobj.Slots.Add(slotobj); + return true; + } + // ...a C++ slot. C++ slots are C# methods, so we should never get here. + else { + throw new ArgumentException(receiver+" has no slot '"+slot+"'"); + // return qt_QObject_connect1(sender.RawObject, SIGNAL(signal), receiver.RawObject, SLOT(slot)); + } + } + } + + private static bool ConnectSignalToSignal(QObject sender, string signal, QObject receiver, string target) + { + if (traceConnects) + ErrMsg ("ConnectSignalToSlot: ({0}) {1}, {2}, ({3}) {4}, {5}", sender.RawObject, sender, signal, + receiver.RawObject, receiver, target); + + // Connect C# signal to... + if (sender.CsSignalMap.Contains(signal)) { + QtSignal sigobj = sender.CsSignalMap[signal]; + + // ...a C# signal + if (receiver.CsSignalMap.Contains(target)) { + QtSignal targetobj = receiver.CsSignalMap[target]; + + if (sigobj.Signals.Contains(targetobj)) + return false; + + sigobj.Signals.Add(targetobj); + return true; + } + // ...a C++ signal + else + throw new NotImplementedException("C# signal <-> C++ signal connections not supported yet"); + } + // Connect C++ signal to... + else { + // ...a C# signal + if (receiver.CsSignalMap.Contains(target)) { + QtSignal targetobj = receiver.CsSignalMap[target]; + string args = targetobj.Args; + string mangle = MangleArgs(args); + + // HACK Wrap target signal in a slot and connect the slot to the sender. + return Connect(sender, SIGNAL(signal), targetobj, SLOT("Emit_"+mangle+args)); + } + // ...a C++ signal + else + return qt_QObject_connect1(sender.RawObject, SIGNAL(signal), receiver.RawObject, SIGNAL(target)); + } + } + + internal static bool Disconnect(QObject sender, string signal, QObject receiver, string slot) + { + if (signal == null && receiver == null && slot == null) + return DisconnectAll(sender); + else if (receiver == null && slot == null) + return DisconnectSignal(sender, NormalizeParam(signal)); + else if (signal == null && slot == null) + return DisconnectReceiver(sender, receiver); + else if (slot == null) + return DisconnectSignalFromReceiver(sender, NormalizeParam(signal), receiver); + else if (IsSlot(signal)) + throw new ArgumentException ("Expected a signal where a slot was found."); + else if (IsSignal(slot)) + return DisconnectSignalFromSignal(sender, NormalizeParam(signal), receiver, NormalizeParam(slot)); + else + return DisconnectSignalFromSlot(sender, NormalizeParam(signal), receiver, NormalizeParam(slot)); + } + + private static bool DisconnectSignalFromSlot(QObject sender, string signal, QObject receiver, string slot) + { + if (traceConnects) + ErrMsg ("DisconnectSignalFromSlot: ({0}) {1}, {2}, ({3}) {4}, {5}", sender.RawObject, sender, signal, + receiver.RawObject, receiver, slot); + + QtSignal sigobj; + QtSlot slotobj = new QtSlot(receiver, slot); + + // Disconnect C# signal from... + if (sender.CsSignalMap.Contains(signal)) { + sigobj = sender.CsSignalMap[signal]; + + // ...a C# slot + if (slotobj.IsCSharpSlot) { + if (!sigobj.Slots.Contains(slotobj)) + return false; + + sigobj.Slots.Remove(slotobj); + return true; + } + // ...a C++ slot + else { + // C++ slots are C# methods, so we should never get here. + throw new ArgumentException(receiver+" has no slot '"+slot+"'"); + } + } + // Disconnect C++ signal from... + else { + // ...a C# slot + if (slotobj.IsCSharpSlot) { + string id = MakeSigId(sender, signal); + if (!sender.CppSignalMap.Contains(id)) + return false; + + sigobj = sender.CppSignalMap[id]; + bool found = false; + foreach (QtSlot sobj in sigobj.Slots) { + if (slotobj.Equals(sobj)) { + found = true; + qt_del_QObject(sobj.WrapperPtr); + sigobj.Slots.Remove(sobj); + break; + } + } + + if (sigobj.Slots.Count == 0) + sender.CppSignalMap.Remove(id); + + return found; + } + // ...a C++ slot. C++ slots are C# methods, so we should never get here. + else { + throw new ArgumentException(receiver+" has no slot '"+slot+"'"); + // return qt_QObject_disconnect2(sender.RawObject, SIGNAL(signal), receiver.RawObject, SLOT(slot)); + } + } + } + + private static bool DisconnectSignalFromSignal(QObject sender, string signal, QObject receiver, string target) + { + if (traceConnects) + ErrMsg ("DisconnectSignalFromSignal: ({0}) {1}, {2}, ({3}) {4}, {5}", sender.RawObject, sender, signal, + receiver.RawObject, receiver, target); + + QtSignal sigobj; + + // Disconnect C# signal from... + if (sender.CsSignalMap.Contains(signal)) { + sigobj = sender.CsSignalMap[signal]; + + // ...a C# signal + if (receiver.CsSignalMap.Contains(target)) { + QtSignal targetobj = receiver.CsSignalMap[target]; + if (!sigobj.Signals.Contains(targetobj)) + return false; + + sigobj.Signals.Remove(targetobj); + return true; + } + // ...a C++ signal + else { + throw new NotImplementedException("C# signal <-> C++ signal (dis)connections not supported yet"); + } + } + // Disconnect C++ signal from... + else { + sigobj = new QtSignal(sender, signal); + + // ...a C# signal + if (receiver.CsSignalMap.Contains(target)) { + QtSignal targetobj = receiver.CsSignalMap[target]; + string args = "(" + target.Split(new char[] {'('})[1]; + return Disconnect(sender, SIGNAL(signal), targetobj, SLOT("emit_"+args)); + } + // ...a C++ signal + else { + return qt_QObject_disconnect2(sender.RawObject, SIGNAL(signal), receiver.RawObject, SLOT(target)); + } + } + } + + private static bool DisconnectAll(QObject sender) + { + if (traceConnects) + ErrMsg ("DisconnectAll: ({0}) {1}", sender.RawObject, sender); + + IDictionaryEnumerator cse = sender.CsSignalMap.GetEnumerator(); + IDictionaryEnumerator cppe = sender.CppSignalMap.GetEnumerator(); + + ArrayList signals = new ArrayList (); + + foreach (IDictionaryEnumerator de in new IDictionaryEnumerator[] { cse, cppe }) + while (de.MoveNext()) + signals.Add (de.Value); + + foreach (QtSignal signal in signals) + foreach (QtSlot slot in new ArrayList (signal.Slots)) + Disconnect (sender, SIGNAL (signal.Signal), slot.Receiver, SLOT (slot.Slot)); + + return true; + } + + private static bool DisconnectReceiver(QObject sender, QObject receiver) + { + if (traceConnects) + ErrMsg ("DisconnectReceiver: ({0}) {1}, ({2}) {3}", sender.RawObject, sender, receiver.RawObject, receiver); + + IDictionaryEnumerator cse = sender.CsSignalMap.GetEnumerator(); + IDictionaryEnumerator cppe = sender.CppSignalMap.GetEnumerator(); + + ArrayList signals = new ArrayList (); + + foreach (IDictionaryEnumerator de in new IDictionaryEnumerator[] { cse, cppe }) + while (de.MoveNext ()) + signals.Add (de.Value); + + foreach (QtSignal signal in signals) + foreach (QtSlot slot in new ArrayList (signal.Slots)) + Disconnect (signal.Sender, SIGNAL (signal.Name), receiver, SLOT (slot.Name)); + + return true; + } + + private static bool DisconnectSignal(QObject sender, string signal) + { + if (traceConnects) + ErrMsg ("DisconnectSignal: ({0}) {1}, {2}", sender.RawObject, sender, signal); + + foreach (QtSignalMap map in new QtSignalMap[] { sender.CsSignalMap, sender.CppSignalMap }) { + QtSignal sig = map[signal]; + if (sig != null) { + foreach (QtSlot slot in new ArrayList (sig.Slots)) + Disconnect (sender, SIGNAL(signal), slot.Receiver, SLOT(slot.Slot)); + } + } + + return true; + } + + private static bool DisconnectSignalFromReceiver (QObject sender, string signal, QObject receiver) + { + if (traceConnects) + ErrMsg ("DisconnectSignalFromReceiver: ({0}) {1}, {2}, ({3}), {4}", sender.RawObject, sender, + signal, receiver.RawObject, receiver); + + foreach (QtSignalMap map in new QtSignalMap[] { sender.CsSignalMap, sender.CppSignalMap }) { + QtSignal sig = map[signal]; + if (sig != null) { + foreach (QtSlot slot in new ArrayList (sig.Slots)) + if (slot.Receiver == receiver) + Disconnect (sender, signal, receiver, SLOT (slot.Name)); + } + } + + return true; + } + + private static string MangleArgs(string args) + { + // FIXME Char.Equals and Char.CompareTo don't seem to work on Mono. + string result = args.Replace ("(", ""); + result = result.Replace (")", ""); + result = result.Replace (" ", ""); + result = result.Replace ("unsigned ", "u"); + result = result.Replace ("byte", "char"); + return result.Replace (",", ""); + + /* + char[] evict = {'(', ')', ',', ' '}; + char[] result = new char[args.Length]; + int newlen = 0; + + foreach (char c in args.ToCharArray()) { + foreach (char cx in evict) { + if (c.Equals(cx)) continue; + } + result[newlen] = c; + newlen++; + } + + return new String(result); + */ + } + + private static string MakeSigId(QObject sender, string signal) + { + return sender.RawObject.ToString()+signal; + } + + internal static string NormalizeParam(string param) + { + string ret = param; + if (param.StartsWith("1") || param.StartsWith("2")) + ret = param.Substring(1); + return ret; + + } + + private static bool IsSignal(string name) + { + return name.StartsWith("2"); + } + + private static bool IsSlot(string name) + { + return name.StartsWith("1"); + } + + public void DumpConnections() + { + ErrMsg ("{0}::{1} Signal Information:", sender, signal); + + ErrMsg ("-------- Slot Connections --------"); + if (Slots.Count == 0) + ErrMsg ("--> No slot connections."); + else { + foreach (QtSlot slot in slots) { + ErrMsg ("--> ({0}) {1}::{2}", slot.Receiver.RawObject, slot.Receiver, slot.Slot); + } + } + + ErrMsg ("------- Signal Connections -------"); + if (Signals.Count == 0) + ErrMsg ("--> No signal connections."); + else { + foreach (QtSignal sig in signals) { + ErrMsg ("--> ({0}) {1}::{2}", sig.Sender.RawObject, sig.Sender, sig.Signal); + } + } + } + + public void Emit(object[] args) + { + foreach (QtSlot slot in slots) + slot.Invoke(args); + + foreach (QtSignal signal in signals) { + signal.Emit(args); + } + } + + public void Emit_void () + { + Emit (new object[0]); + } + + public void Emit_bool (bool value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_short (short value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_int (int value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_long (long value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_float (float value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_double (double value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_QDockWindow (IntPtr value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_QDropEvent (IntPtr value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_QDropEventQListViewItem (IntPtr value0, IntPtr value1) + { + Emit (new object[] { value0, value1 }); + } + + public void Emit_QIconViewItem (IntPtr value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_QListBoxItem (IntPtr value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_QListViewItem (IntPtr value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_QListViewItemQListViewItem (IntPtr value0, IntPtr value1) + { + Emit (new object[] { value0, value1 }); + } + + public void Emit_QListViewItemQListViewItemQListViewItem (IntPtr value0, IntPtr value1, IntPtr value2) + { + Emit (new object[] { value0, value1, value2 }); + } + + public void Emit_QNetworkOperation (IntPtr value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_QObject (IntPtr value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_QToolBar (IntPtr value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_QWidget (IntPtr value0) + { + Emit (new object[] { value0 }); + } + + public void Emit_intQIconViewItem (int value0, IntPtr value1) + { + Emit (new object[] { value0, value1 }); + } + + public void Emit_intQListBoxItem (int value0, IntPtr value1) + { + Emit (new object[] { value0, value1 }); + } + + public void Emit_intbool (int value0, bool value1) + { + Emit (new object[] { value0, value1 }); + } + + public void Emit_intint (int value0, int value1) + { + Emit (new object[] { value0, value1 }); + } + + public void Emit_intintint (int value0, int value1, int value2) + { + Emit (new object[] { value0, value1, value2 }); + } + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QObject_connect1 (IntPtr sender, string signal, IntPtr receiver, string member); + + [DllImport("libqtc", CharSet=CharSet.Ansi)] + private static extern bool qt_QObject_disconnect2 (IntPtr sender, string signal, IntPtr receiver, string member); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_void (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_bool (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_short (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_int (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_long (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_float (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_double (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_QString (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_QDockWindow (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_QDropEvent (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_QDropEventQListViewItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_QIconViewItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_QListBoxItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_QListViewItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_QListViewItemQListViewItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_QListViewItemQListViewItemQListViewItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_QNetworkOperation (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_QObject (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_QToolBar (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_QWidget (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_intQIconViewItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_intQListBoxItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_intbool (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_intint (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern IntPtr csharp_connect_intintint (IntPtr sender, string signal, IntPtr receiver, Delegate cb); + + public delegate void del_void (); + public delegate void del_bool (bool value0); + public delegate void del_short (short value0); + public delegate void del_int (int value0); + public delegate void del_long (long value0); + public delegate void del_float (float value0); + public delegate void del_double (double value0); + public delegate void del_QString (IntPtr value0); + public delegate void del_QDockWindow (IntPtr value0); + public delegate void del_QDropEvent (IntPtr value0); + public delegate void del_QDropEventQListViewItem (IntPtr value0, IntPtr value1); + public delegate void del_QIconViewItem (IntPtr value0); + public delegate void del_QListBoxItem (IntPtr value0); + public delegate void del_QListViewItem (IntPtr value0); + public delegate void del_QListViewItemQListViewItem (IntPtr value0, IntPtr value1); + public delegate void del_QListViewItemQListViewItemQListViewItem (IntPtr value0, IntPtr value1, IntPtr value2); + public delegate void del_QNetworkOperation (IntPtr value0); + public delegate void del_QObject (IntPtr value0); + public delegate void del_QToolBar (IntPtr value0); + public delegate void del_QWidget (IntPtr value0); + public delegate void del_intQIconViewItem (int value0, IntPtr value1); + public delegate void del_intQListBoxItem (int value0, IntPtr value1); + public delegate void del_intbool (int value0, bool value1); + public delegate void del_intint (int value0, int value1); + public delegate void del_intintint (int value0, int value1, int value2); + } +} diff --git a/qtsharp/src/bindings/static/QtSignalMap.cs b/qtsharp/src/bindings/static/QtSignalMap.cs new file mode 100644 index 00000000..38ab5ac3 --- /dev/null +++ b/qtsharp/src/bindings/static/QtSignalMap.cs @@ -0,0 +1,99 @@ +// QtSignalMap.cs - Hashtable wrapper for prettier code. +// +// Copyright (C) 2002 Nick Zigarovich (nick@chemlab.org) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// NOTES +// o By inheriting from QObject, we can use the child tracking features to +// ensure that instances of signal maps are deleted by their parents when +// the parent Dispose()es. +// +// FIXME +// o Override Dispose() and make sure everything gets cleaned up on deletion. + +namespace Qt { + using System; + using System.Collections; + using Qt; + + internal class QtSignalMap: QtSupport { + private Hashtable signalMap; + private string name; + + public string Name { + get { return name; } + } + + public QtSignalMap (QObject parent): this (parent, "QtSignalMap") {} + + public QtSignalMap (QObject parent, string name): base (QNull.Instance) + { + this.name = name; + signalMap = new Hashtable (); + } + + internal override void Delete () {} + + public void Add (QtSignal signal) + { + signalMap[signal.Identifier] = signal; + } + + public QtSignal Remove (string name) + { + QtSignal ret = signalMap[name] as QtSignal; + signalMap.Remove (name); + return ret; + } + + public bool Contains (string name) + { + return signalMap.ContainsKey (name); + } + + public QtSignal this[string idx] { + get { + if (signalMap.ContainsKey (idx)) + return signalMap[idx] as QtSignal; + else + return null; + } + + set { signalMap[idx] = value; } + } + + public IDictionaryEnumerator GetEnumerator () + { + return signalMap.GetEnumerator (); + } + + public void DumpMap() + { + if (signalMap.Count == 0) { + ErrMsg ("** {0}: No signals to dump.", name); + ErrMsg (""); + } + else { + IDictionaryEnumerator ide = signalMap.GetEnumerator(); + + while (ide.MoveNext ()) { + (ide.Value as QtSignal).DumpConnections (); + ErrMsg (""); + } + } + } + } +} diff --git a/qtsharp/src/bindings/static/QtSlot.cs b/qtsharp/src/bindings/static/QtSlot.cs new file mode 100644 index 00000000..6bf14da8 --- /dev/null +++ b/qtsharp/src/bindings/static/QtSlot.cs @@ -0,0 +1,284 @@ +// QtSlot.cs - Represents C# slot connections +// +// Copyright (C) 2002 Nick Zigarovich (nick@chemlab.org) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +namespace Qt { + using System; + using System.Reflection; + using System.Text; + + internal class QtSlot { + protected QObject receiver; + protected string slot; + private string name; + private string args; + protected MethodInfo slotInfo; + private IntPtr wrapperPtr; + private Delegate callback; + + public QObject Receiver { + get { return receiver; } + } + + public string Slot { + get { return slot; } + } + + public MethodInfo Info { + get { return slotInfo; } + } + + public string Identifier { + get { return receiver.RawObject.ToString()+slot; } + } + + public string Name { + get { return name; } + } + + public string Args { + get { return args; } + } + + public string NormalizedArgs { + get { return NormalizeSlotArgs(args); } + } + + public IntPtr WrapperPtr { + get { return wrapperPtr; } + set { wrapperPtr = value; } + } + + public Delegate Callback { + get { return callback; } + set { callback = value; } + } + + public bool IsCSharpSlot { + get { return slotInfo != null; } + } + + public QtSlot() {} + + public QtSlot(QObject receiver, string slot) + { + this.receiver = receiver; + this.slot = slot; + string[] slotsplit = slot.Split(new char[] {'('}); + + try { + name = slotsplit[0]; + args = "("+slotsplit[1]; + } + catch (IndexOutOfRangeException) { + throw new ArgumentException ("Invalid slot format: " + slot); + } + + slotInfo = LookupSlot(receiver, name, NormalizedArgs); + wrapperPtr = IntPtr.Zero; + callback = null; + } + + public void SlotBridge_QString (IntPtr value0) + { + QString csvalue0 = QtSupport.LookupObject (value0, typeof (QString)) as QString; + + Invoke (new object[] {csvalue0}); + } + + public void SlotBridge_QDockWindow (IntPtr value0) + { + QDockWindow csvalue0 = QtSupport.LookupObject (value0, typeof (QDockWindow)) as QDockWindow; + + Invoke (new object[] {csvalue0}); + } + + public void SlotBridge_QDropEvent (IntPtr value0) + { + QDropEvent csvalue0 = QtSupport.LookupObject (value0, typeof (QDropEvent)) as QDropEvent; + + Invoke (new object[] {csvalue0}); + } + + public void SlotBridge_QDropEventQListViewItem (IntPtr value0, IntPtr value1) + { + QDropEvent csvalue0 = QtSupport.LookupObject (value0, typeof (QDropEvent)) as QDropEvent; + QListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (QListViewItem)) as QListViewItem; + + Invoke (new object[] {csvalue0, csvalue1}); + } + + public void SlotBridge_QIconViewItem (IntPtr value0) + { + QIconViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (QIconViewItem)) as QIconViewItem; + + Invoke (new object[] {csvalue0}); + } + + public void SlotBridge_QListBoxItem (IntPtr value0) + { + QListBoxItem csvalue0 = QtSupport.LookupObject (value0, typeof (QListBoxItem)) as QListBoxItem; + + Invoke (new object[] {csvalue0}); + } + + public void SlotBridge_QListViewItem (IntPtr value0) + { + QListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (QListViewItem)) as QListViewItem; + + Invoke (new object[] {csvalue0}); + } + + public void SlotBridge_QListViewItemQListViewItem (IntPtr value0, IntPtr value1) + { + QListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (QListViewItem)) as QListViewItem; + QListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (QListViewItem)) as QListViewItem; + + Invoke (new object[] {csvalue0, csvalue1}); + } + + public void SlotBridge_QListViewItemQListViewItemQListViewItem (IntPtr value0, IntPtr value1, IntPtr value2) + { + QListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (QListViewItem)) as QListViewItem; + QListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (QListViewItem)) as QListViewItem; + QListViewItem csvalue2 = QtSupport.LookupObject (value2, typeof (QListViewItem)) as QListViewItem; + + Invoke (new object[] {csvalue0, csvalue1, csvalue2}); + } + + public void SlotBridge_QNetworkOperation (IntPtr value0) + { + QNetworkOperation csvalue0 = QtSupport.LookupObject (value0, typeof (QNetworkOperation)) as QNetworkOperation; + + Invoke (new object[] {csvalue0}); + } + + public void SlotBridge_QObject (IntPtr value0) + { + QObject csvalue0 = QtSupport.LookupObject (value0, typeof (QObject)) as QObject; + + Invoke (new object[] {csvalue0}); + } + + public void SlotBridge_QToolBar (IntPtr value0) + { + QToolBar csvalue0 = QtSupport.LookupObject (value0, typeof (QToolBar)) as QToolBar; + + Invoke (new object[] {csvalue0}); + } + + public void SlotBridge_QWidget (IntPtr value0) + { + QWidget csvalue0 = QtSupport.LookupObject (value0, typeof (QWidget)) as QWidget; + + Invoke (new object[] {csvalue0}); + } + + public void SlotBridge_intQIconViewItem (int value0, IntPtr value1) + { + QIconViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (QIconViewItem)) as QIconViewItem; + + Invoke (new object[] {value0, csvalue1}); + } + + public void SlotBridge_intQListBoxItem (int value0, IntPtr value1) + { + QListBoxItem csvalue1 = QtSupport.LookupObject (value1, typeof (QListBoxItem)) as QListBoxItem; + + Invoke (new object[] {value0, csvalue1}); + } + + public void Invoke(object[] args) + { + if (slotInfo != null) { + slotInfo.Invoke(receiver, args); + } + } + + private static MethodInfo LookupSlot(QObject receiver, string name, string args) + { + MethodInfo ret = null; + + foreach (MethodInfo info in receiver.GetType().GetMethods( + BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance )) + { + string infoargs = "(" + ShortArgs (info.ToString().Split(new char[] {'('})[1].Replace(" ", "")) + ")"; + string nargs = args.Replace ("string", "String"); // FIXME + + if (nargs.CompareTo(infoargs) == 0 && + name.CompareTo(info.Name) == 0) + { + ret = info; + break; + } + } + + return ret; + } + + private static string ShortArgs (string args) + { + StringBuilder builder = new StringBuilder (); + string [] s = args.TrimEnd (')').Split (','); + foreach (string st in s) { + string [] str = st.Trim (' ').Split ('.'); + string stri = str [str.Length -1]; + builder.Append (stri+", "); + } + return builder.ToString ().TrimEnd (',', ' '); + } + + private static string NormalizeSlotArgs(string methodargs) + { + string[] args = methodargs.Replace("(", "").Replace(")", "").Split(new char[] {','}); + StringBuilder sb = new StringBuilder(); + sb.Append("("); + int count = 0; + + // FIXME Handle unsigned, bool, and byte cases. Would lookups in a hashtable be faster? + foreach (string arg in args) { + if (count > 0) sb.Append(","); + + if (arg == "short") + sb.Append("Int16"); + else if (arg == "int") + sb.Append("Int32"); + else if (arg == "long") + sb.Append("Int64"); + else if (arg == "float") + sb.Append("Single"); + else if (arg == "double") + sb.Append("Double"); + else if (arg == "char") + sb.Append("Char"); + else + sb.Append(arg); + + count++; + } + + sb.Append(")"); + return sb.ToString(); + } + + // For ArrayList storage. + public override bool Equals(object obj) + { + return ((QtSlot)obj).Identifier == Identifier; + } + } +} diff --git a/qtsharp/src/bindings/static/QtSupport.cs b/qtsharp/src/bindings/static/QtSupport.cs new file mode 100644 index 00000000..eee74728 --- /dev/null +++ b/qtsharp/src/bindings/static/QtSupport.cs @@ -0,0 +1,750 @@ +// QtSupport.cs - QtSupport c-sharp support file +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +namespace Qt { + + using Qt; + using System; + using System.Collections; + using System.Reflection; + using System.Text.RegularExpressions; + using System.Runtime.InteropServices; + + public class QtSupport: IDisposable { + + private static Hashtable QtObjects; + private static int cleanCount; + private static int cleanLimit; + + private static QtEventHandler qtEventHandler; + + // Runtime flags, set by QApplication.ParseArguments + internal static bool enableDebug; + internal static bool disableTracking; + internal static bool traceObjects; + internal static bool traceChildren; + + static QtSupport() { + //QtObjects = Hashtable.Synchronized (new Hashtable ()); + QtObjects = new Hashtable(); + + cleanCount = 0; + cleanLimit = 750; + + enableDebug = false; + disableTracking = false; + traceObjects = false; + traceChildren = false; + } + + internal protected IntPtr rawObject; + internal protected bool disposed; + internal bool deleted; + protected QtSupport qparent; + protected ArrayList qchildren; + + internal IntPtr RawObject { + get { return rawObject; } + } + + public bool Disposed { + get { return disposed; } + } + + public QtSupport QParent { + get { return qparent; } + } + + public ArrayList QChildren { + get { return qchildren; } + } + + // A dummy constructor for inherited classes + internal QtSupport (QNull dummy) { + disposed = false; + deleted = false; + qchildren = new ArrayList (); + } + + public void Dispose () + { + GC.SuppressFinalize (this); + Dispose (true); + } + + protected virtual void Dispose (bool disposeManaged) + { + if (disposed) + return; + + if (rawObject == IntPtr.Zero) + deleted = true; + + if (disposeManaged) { + disposed = true; + + UnregisterObject (this); + + if (qparent != null && ! qparent.Disposed) + qparent.RemoveChild (this); + + foreach (QtSupport qts in qchildren) + qts.Dispose (); + } + + /* + DbgMsg ("({0}) {1}: {2} managed. {3} native instance.", + deleted ? IntPtr.Zero : rawObject, + this, + disposeManaged ? "Disposing" : "Not disposing", + deleted ? "Not deleting" : "Deleting"); + */ + + qparent = null; + qchildren = null; + + Delete (); + } + + internal virtual void Delete () + { + WarnMsg ("({0}) {1}: QtSupport.Dispose() running", rawObject, this); + deleted = true; + } + + /************************** General Utility Methods *********************************/ + + public static void QAssert (bool value) + { + if (!value) throw new ApplicationException ("Assertion failed"); + } + + public static void QAssert (bool value, string message) + { + if (!value) throw new ApplicationException ("Assertion failed: " + message); + } + + internal bool IsQObject () + { + return GetType ().IsSubclassOf (typeof (QObject)); + } + + internal static void WarnMsg (string format, params object[] arg) + { + if (enableDebug) + Console.Error.WriteLine ("Qt# Warning: " + format, arg); + } + + internal static void DbgMsg (string format, params object[] arg) + { + if (enableDebug) Console.WriteLine (format, arg); + } + + internal static void ErrMsg (string format, params object[] arg) + { + Console.Error.WriteLine (format, arg); + } + + internal static void Msg (string format, params object[] arg) + { + Console.WriteLine (format, arg); + } + + public static string SIGNAL (string signal) + { + return "2"+ + Regex.Replace (signal, @"\s*\(\s*\)", "()"); + + + } + + public static string SLOT (string slot) + { + return "1" + + Regex.Replace (slot, @"\s*\(\s*\)", "()"); + } + + /************************** Object Tracking/Boxing and Disposal *********************************/ + + internal static void RegisterObject (QtSupport o) + { + if (disableTracking) return; + + if (o.RawObject == IntPtr.Zero) { + WarnMsg ("Asked to register object with null pointer: {0}", o); + return; + } + + string replacing = String.Empty; + WeakReference wref; + + if (QtObjects.ContainsKey (o.RawObject)) + { + wref = QtObjects[o.RawObject] as WeakReference; + QAssert (! wref.IsAlive, + "New object "+o+" has same RawObject as "+(QtSupport)wref.Target+"! Please report this error!"); + replacing = "(replacing)"; + QtObjects.Remove (o.RawObject); + } + + if (traceObjects) + ErrMsg ("Object Registered: {0} ({1}) {2}", o, o.RawObject, replacing); + + QtObjects[o.RawObject] = new WeakReference (o); + + if (cleanCount > cleanLimit) { + cleanCount = 0; + IDictionaryEnumerator de = QtObjects.GetEnumerator (); + ArrayList obituaries = new ArrayList (); + + while (de.MoveNext ()) { + wref = de.Value as WeakReference; + if (!wref.IsAlive) obituaries.Add (de.Key); + } + + if (traceObjects) + ErrMsg ("RegisterObject: Removing {0} of {1} references from QtObjects", obituaries.Count, QtObjects.Count); + + foreach (IntPtr p in obituaries) + QtObjects.Remove (p); + } + else + cleanCount++; + } + + internal static void UnregisterObject (QtSupport o) + { + if (disableTracking) return; + if (traceObjects) ErrMsg ("Object Unregistered: {0} ({1})", o, o.RawObject); + + if (o.RawObject == IntPtr.Zero) { + WarnMsg ("Asked to unregister object with null pointer: {0}", o); + return; + } + + QtObjects.Remove (o.RawObject); + } + + internal static QtSupport LookupObject (IntPtr ptr) + { + if (disableTracking) return null; + + if (ptr == IntPtr.Zero) { + WarnMsg ("Asked to lookup null pointer"); + return null; + } + + QtSupport ret = null; + + if (QtObjects.ContainsKey (ptr)) { + WeakReference wref = QtObjects[ptr] as WeakReference; + if (wref.IsAlive) + ret = wref.Target as QtSupport; + else + QtObjects.Remove (ptr); + } + + return ret; + } + + internal static QtSupport LookupObject (IntPtr ptr, Type type) + { + if (ptr == IntPtr.Zero) { + WarnMsg ("Asked to lookup null pointer of type {0}", type); + return null; + } + + if (! (type.IsSubclassOf (typeof(QtSupport)) || type == typeof (QtSupport)) ) + throw new ArgumentException ("Type '" +type+ "' is not related to QtSupport."); + + QtSupport qtsObj = LookupObject (ptr); + + if (qtsObj == null) { + //DbgMsg (type+" ("+ptr+"): Boxing foreign object"); + qtsObj = (QtSupport)Activator.CreateInstance ( + type, + BindingFlags.NonPublic | BindingFlags.Instance, + null, + new object[] {ptr}, + null); + + // FIXME Must handle cases where qtsObj is a QObject root + // or child. Should we box the entire object tree in + // C#? Also, RegisterObject will only track this object + // if it is a root node. Child nodes are assumed to be + // referenced by their parents. Must ponder and seek + // opinions. + } + + return qtsObj; + } + + internal virtual void AddChild (QtSupport o) { + // FIXME: Faster way to do this? O(n), where n == Count + if (!qchildren.Contains(o)) { + qchildren.Add(o); + if (traceChildren) + ErrMsg ("({0}) {1}::AddChild: ({2}) {3}", rawObject, this, o.RawObject, o); + } + } + + internal virtual void RemoveChild (QtSupport o) { + // FIXME: Faster way to do this? O(n), where n == Count + if (qchildren.Contains(o)) { + qchildren.Remove(o); + if (traceChildren) + ErrMsg ("({0}) {1}::RemoveChild: ({2}) {3}", rawObject, this, o.RawObject, o); + } + } + + /************************** The Event Handler ******************************************/ + + private delegate void QtEventHandler (IntPtr instance, string eventname, IntPtr eventinstance, string eventclass); + + private static QEventList eventList = new QEventList (); + + [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + private static extern void qtsharp_QObject_registerEventDelegate + ([MarshalAs (UnmanagedType.FunctionPtr)] Delegate qtdelegate); + + internal static void RegisterEventDelegate () + { + qtEventHandler = new QtEventHandler (DispatchEvent); + qtsharp_QObject_registerEventDelegate (qtEventHandler); + } + + internal static QEventList EventList { + get { return eventList; } + } + + private static void DispatchEvent (IntPtr instance, string eventname, IntPtr eventinstance, string eventclass) + { + ArrayList array; + QObject obj; + QEvent ev; + Type evtype = Type.GetType ("Qt."+eventclass+",Qt"); + + if ((obj = (QObject)LookupObject (instance)) == null) return; + + try + { + if ((ev = (QEvent)LookupObject (eventinstance)) == null) { + object[] args = new object[] { eventinstance }; + BindingFlags bflags = BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public; + ev = Activator.CreateInstance (evtype, bflags, null, args, null) as QEvent; + } + + // Notify global event handlers first. + if ((array = EventList.QEventHandlers (eventclass)) != null) { + foreach (Delegate del in array) { + QEventArgs evargs = new QEventArgs (eventname, ev); + del.DynamicInvoke (new object[] { obj, evargs }); + } + } + + // Notify local event handlers second. + if ((array = EventList.QEventHandlers (eventname)) != null) { + foreach (Delegate del in array) { + if (ReferenceEquals (del.Target, obj)) + del.DynamicInvoke (new object[] { ev }); + } + } + } + catch (TargetInvocationException e) { + throw e.InnerException; + } + + ev.deleted = true; // Qt deletes events for us + ev.Dispose (); + } + + // Global events. + public static event QChildHandler childHandler { + add { EventList.Add ("QChildEvent", value); } + remove { EventList.Remove ("QChildEvent", value); } + } + public static event QDragEnterHandler dragEnterHandler { + add { EventList.Add ("QDragEnterEvent", value); } + remove { EventList.Remove ("QDragEnterEvent", value); } + } + public static event QDropHandler dropHandler { + add { EventList.Add ("QDropEvent", value); } + remove { EventList.Remove ("QDropEvent", value); } + } + public static event QIMHandler imHandler { + add { EventList.Add ("QIMEvent", value); } + remove { EventList.Remove ("QIMEvent", value); } + } + public static event QPaintHandler paintHandler { + add { EventList.Add ("QPaintEvent", value); } + remove { EventList.Remove ("QPaintEvent", value); } + } + public static event QTimerHandler timerHandler { + add { EventList.Add ("QTimerEvent", value); } + remove { EventList.Remove ("QTimerEvent", value); } + } + public static event QCloseHandler closeHandler { + add { EventList.Add ("QCloseEvent", value); } + remove { EventList.Remove ("QCloseEvent", value); } + } + public static event QDragLeaveHandler dragLeaveHandler { + add { EventList.Add ("QDragLeaveEvent", value); } + remove { EventList.Remove ("QDragLeaveEvent", value); } + } + public static event QEventHandler eventHandler { + add { EventList.Add ("QEventEvent", value); } + remove { EventList.Remove ("QEventEvent", value); } + } + public static event QKeyHandler keyHandler { + add { EventList.Add ("QKeyEvent", value); } + remove { EventList.Remove ("QKeyEvent", value); } + } + public static event QResizeHandler resizeHandler { + add { EventList.Add ("QResizeEvent", value); } + remove { EventList.Remove ("QResizeEvent", value); } + } + public static event QWheelHandler wheelHandler { + add { EventList.Add ("QWheelEvent", value); } + remove { EventList.Remove ("QWheelEvent", value); } + } + public static event QContextMenuHandler contextMenuHandler { + add { EventList.Add ("QContextMenuEvent", value); } + remove { EventList.Remove ("QContextMenuEvent", value); } + } + public static event QDragMoveHandler dragMoveHandler { + add { EventList.Add ("QDragMoveEvent", value); } + remove { EventList.Remove ("QDragMoveEvent", value); } + } + public static event QFocusHandler focusHandler { + add { EventList.Add ("QFocusEvent", value); } + remove { EventList.Remove ("QFocusEvent", value); } + } + public static event QMouseHandler mouseHandler { + add { EventList.Add ("QMouseEvent", value); } + remove { EventList.Remove ("QMouseEvent", value); } + } + public static event QShowHandler showHandler { + add { EventList.Add ("QShowEvent", value); } + remove { EventList.Remove ("QShowEvent", value); } + } + public static event QCustomHandler customHandler { + add { EventList.Add ("QCustomEvent", value); } + remove { EventList.Remove ("QCustomEvent", value); } + } + public static event QDragResponseHandler dragResponseHandler { + add { EventList.Add ("QDragResponseEvent", value); } + remove { EventList.Remove ("QDragResponseEvent", value); } + } + public static event QHideHandler hideHandler { + add { EventList.Add ("QHideEvent", value); } + remove { EventList.Remove ("QHideEvent", value); } + } + public static event QMoveHandler moveHandler { + add { EventList.Add ("QMoveEvent", value); } + remove { EventList.Remove ("QMoveEvent", value); } + } + public static event QTabletHandler tabletHandler { + add { EventList.Add ("QTabletEvent", value); } + remove { EventList.Remove ("QTabletEvent", value); } + } + + // Local events. + protected static event ChildEvent childEvent { + add { EventList.Add ("childEvent", value); } + remove { EventList.Remove ("childEvent", value); } + } + protected static event CloseEvent closeEvent { + add { EventList.Add ("closeEvent", value); } + remove { EventList.Remove ("closeEvent", value); } + } + protected static event ContentsContextMenuEvent contentsContextMenuEvent { + add { EventList.Add ("contentsContextMenuEvent", value); } + remove { EventList.Remove ("contentsContextMenuEvent", value); } + } + protected static event ContentsDragEnterEvent contentsDragEnterEvent { + add { EventList.Add ("contentsDragEnterEvent", value); } + remove { EventList.Remove ("contentsDragEnterEvent", value); } + } + protected static event ContentsDragLeaveEvent contentsDragLeaveEvent { + add { EventList.Add ("contentsDragLeaveEvent", value); } + remove { EventList.Remove ("contentsDragLeaveEvent", value); } + } + protected static event ContentsDragMoveEvent contentsDragMoveEvent { + add { EventList.Add ("contentsDragMoveEvent", value); } + remove { EventList.Remove ("contentsDragMoveEvent", value); } + } + protected static event ContentsDropEvent contentsDropEvent { + add { EventList.Add ("contentsDropEvent", value); } + remove { EventList.Remove ("contentsDropEvent", value); } + } + protected static event ContentsMouseDoubleClickEvent contentsMouseDoubleClickEvent { + add { EventList.Add ("contentsMouseDoubleClickEvent", value); } + remove { EventList.Remove ("contentsMouseDoubleClickEvent", value); } + } + protected static event ContentsMouseMoveEvent contentsMouseMoveEvent { + add { EventList.Add ("contentsMouseMoveEvent", value); } + remove { EventList.Remove ("contentsMouseMoveEvent", value); } + } + protected static event ContentsMousePressEvent contentsMousePressEvent { + add { EventList.Add ("contentsMousePressEvent", value); } + remove { EventList.Remove ("contentsMousePressEvent", value); } + } + protected static event ContentsMouseReleaseEvent contentsMouseReleaseEvent { + add { EventList.Add ("contentsMouseReleaseEvent", value); } + remove { EventList.Remove ("contentsMouseReleaseEvent", value); } + } + protected static event ContentsWheelEvent contentsWheelEvent { + add { EventList.Add ("contentsWheelEvent", value); } + remove { EventList.Remove ("contentsWheelEvent", value); } + } + protected static event ContextMenuEvent contextMenuEvent { + add { EventList.Add ("contextMenuEvent", value); } + remove { EventList.Remove ("contextMenuEvent", value); } + } + protected static event CustomEvent customEvent { + add { EventList.Add ("customEvent", value); } + remove { EventList.Remove ("customEvent", value); } + } + protected static event DragEnterEvent dragEnterEvent { + add { EventList.Add ("dragEnterEvent", value); } + remove { EventList.Remove ("dragEnterEvent", value); } + } + protected static event DragLeaveEvent dragLeaveEvent { + add { EventList.Add ("dragLeaveEvent", value); } + remove { EventList.Remove ("dragLeaveEvent", value); } + } + protected static event DragMoveEvent dragMoveEvent { + add { EventList.Add ("dragMoveEvent", value); } + remove { EventList.Remove ("dragMoveEvent", value); } + } + protected static event DropEvent dropEvent { + add { EventList.Add ("dropEvent", value); } + remove { EventList.Remove ("dropEvent", value); } + } + protected static event EnterEvent enterEvent { + add { EventList.Add ("enterEvent", value); } + remove { EventList.Remove ("enterEvent", value); } + } + protected static event FocusInEvent focusInEvent { + add { EventList.Add ("focusInEvent", value); } + remove { EventList.Remove ("focusInEvent", value); } + } + protected static event FocusOutEvent focusOutEvent { + add { EventList.Add ("focusOutEvent", value); } + remove { EventList.Remove ("focusOutEvent", value); } + } + protected static event HideEvent hideEvent { + add { EventList.Add ("hideEvent", value); } + remove { EventList.Remove ("hideEvent", value); } + } + protected static event IMComposeEvent imComposeEvent { + add { EventList.Add ("imComposeEvent", value); } + remove { EventList.Remove ("imComposeEvent", value); } + } + protected static event IMEndEvent imEndEvent { + add { EventList.Add ("imEndEvent", value); } + remove { EventList.Remove ("imEndEvent", value); } + } + protected static event IMStartEvent imStartEvent { + add { EventList.Add ("imStartEvent", value); } + remove { EventList.Remove ("imStartEvent", value); } + } + protected static event KeyPressEvent keyPressEvent { + add { EventList.Add ("keyPressEvent", value); } + remove { EventList.Remove ("keyPressEvent", value); } + } + protected static event KeyReleaseEvent keyReleaseEvent { + add { EventList.Add ("keyReleaseEvent", value); } + remove { EventList.Remove ("keyReleaseEvent", value); } + } + protected static event LeaveEvent leaveEvent { + add { EventList.Add ("leaveEvent", value); } + remove { EventList.Remove ("leaveEvent", value); } + } + protected static event MouseDoubleClickEvent mouseDoubleClickEvent { + add { EventList.Add ("mouseDoubleClickEvent", value); } + remove { EventList.Remove ("mouseDoubleClickEvent", value); } + } + protected static event MouseMoveEvent mouseMoveEvent { + add { EventList.Add ("mouseMoveEvent", value); } + remove { EventList.Remove ("mouseMoveEvent", value); } + } + protected static event MousePressEvent mousePressEvent { + add { EventList.Add ("mousePressEvent", value); } + remove { EventList.Remove ("mousePressEvent", value); } + } + protected static event MouseReleaseEvent mouseReleaseEvent { + add { EventList.Add ("mouseReleaseEvent", value); } + remove { EventList.Remove ("mouseReleaseEvent", value); } + } + protected static event MoveEvent moveEvent { + add { EventList.Add ("moveEvent", value); } + remove { EventList.Remove ("moveEvent", value); } + } + protected static event PaintEvent paintEvent { + add { EventList.Add ("paintEvent", value); } + remove { EventList.Remove ("paintEvent", value); } + } + protected static event ResizeEvent resizeEvent { + add { EventList.Add ("resizeEvent", value); } + remove { EventList.Remove ("resizeEvent", value); } + } + protected static event ShowEvent showEvent { + add { EventList.Add ("showEvent", value); } + remove { EventList.Remove ("showEvent", value); } + } + protected static event TabletEvent tabletEvent { + add { EventList.Add ("tabletEvent", value); } + remove { EventList.Remove ("tabletEvent", value); } + } + protected static event TimerEvent timerEvent { + add { EventList.Add ("timerEvent", value); } + remove { EventList.Remove ("timerEvent", value); } + } + protected static event ViewportContextMenuEvent viewportContextMenuEvent { + add { EventList.Add ("viewportContextMenuEvent", value); } + remove { EventList.Remove ("viewportContextMenuEvent", value); } + } + protected static event ViewportDragEnterEvent viewportDragEnterEvent { + add { EventList.Add ("viewportDragEnterEvent", value); } + remove { EventList.Remove ("viewportDragEnterEvent", value); } + } + protected static event ViewportDragLeaveEvent viewportDragLeaveEvent { + add { EventList.Add ("viewportDragLeaveEvent", value); } + remove { EventList.Remove ("viewportDragLeaveEvent", value); } + } + protected static event ViewportDragMoveEvent viewportDragMoveEvent { + add { EventList.Add ("viewportDragMoveEvent", value); } + remove { EventList.Remove ("viewportDragMoveEvent", value); } + } + protected static event ViewportDropEvent viewportDropEvent { + add { EventList.Add ("viewportDropEvent", value); } + remove { EventList.Remove ("viewportDropEvent", value); } + } + protected static event ViewportMouseDoubleClickEvent viewportMouseDoubleClickEvent { + add { EventList.Add ("viewportMouseDoubleClickEvent", value); } + remove { EventList.Remove ("viewportMouseDoubleClickEvent", value); } + } + protected static event ViewportMouseMoveEvent viewportMouseMoveEvent { + add { EventList.Add ("viewportMouseMoveEvent", value); } + remove { EventList.Remove ("viewportMouseMoveEvent", value); } + } + protected static event ViewportMousePressEvent viewportMousePressEvent { + add { EventList.Add ("viewportMousePressEvent", value); } + remove { EventList.Remove ("viewportMousePressEvent", value); } + } + protected static event ViewportMouseReleaseEvent viewportMouseReleaseEvent { + add { EventList.Add ("viewportMouseReleaseEvent", value); } + remove { EventList.Remove ("viewportMouseReleaseEvent", value); } + } + protected static event ViewportPaintEvent viewportPaintEvent { + add { EventList.Add ("viewportPaintEvent", value); } + remove { EventList.Remove ("viewportPaintEvent", value); } + } + protected static event ViewportResizeEvent viewportResizeEvent { + add { EventList.Add ("viewportResizeEvent", value); } + remove { EventList.Remove ("viewportResizeEvent", value); } + } + protected static event ViewportWheelEvent viewportWheelEvent { + add { EventList.Add ("viewportWheelEvent", value); } + remove { EventList.Remove ("viewportWheelEvent", value); } + } + protected static event WheelEvent wheelEvent { + add { EventList.Add ("wheelEvent", value); } + remove { EventList.Remove ("wheelEvent", value); } + } + + // The local event delegates. + protected delegate void ChildEvent (QChildEvent e); + protected delegate void CloseEvent (QCloseEvent e); + protected delegate void ContentsContextMenuEvent (QContextMenuEvent e); + protected delegate void ContentsDragEnterEvent (QDragEnterEvent e); + protected delegate void ContentsDragLeaveEvent (QDragLeaveEvent e); + protected delegate void ContentsDragMoveEvent (QDragMoveEvent e); + protected delegate void ContentsDropEvent (QDropEvent e); + protected delegate void ContentsMouseDoubleClickEvent (QMouseEvent e); + protected delegate void ContentsMouseMoveEvent (QMouseEvent e); + protected delegate void ContentsMousePressEvent (QMouseEvent e); + protected delegate void ContentsMouseReleaseEvent (QMouseEvent e); + protected delegate void ContentsWheelEvent (QWheelEvent e); + protected delegate void ContextMenuEvent (QContextMenuEvent e); + protected delegate void CustomEvent (QCustomEvent e); + protected delegate void DragEnterEvent (QDragEnterEvent e); + protected delegate void DragLeaveEvent (QDragLeaveEvent e); + protected delegate void DragMoveEvent (QDragMoveEvent e); + protected delegate void DropEvent (QDropEvent e); + protected delegate void EnterEvent (QEvent e); + protected delegate void FocusInEvent (QFocusEvent e); + protected delegate void FocusOutEvent (QFocusEvent e); + protected delegate void HideEvent (QHideEvent e); + protected delegate void IMComposeEvent (QIMEvent e); + protected delegate void IMEndEvent (QIMEvent e); + protected delegate void IMStartEvent (QIMEvent e); + protected delegate void KeyPressEvent (QKeyEvent e); + protected delegate void KeyReleaseEvent (QKeyEvent e); + protected delegate void LeaveEvent (QEvent e); + protected delegate void MouseDoubleClickEvent (QMouseEvent e); + protected delegate void MouseMoveEvent (QMouseEvent e); + protected delegate void MousePressEvent (QMouseEvent e); + protected delegate void MouseReleaseEvent (QMouseEvent e); + protected delegate void MoveEvent (QMoveEvent e); + protected delegate void PaintEvent (QPaintEvent e); + protected delegate void ResizeEvent (QResizeEvent e); + protected delegate void ShowEvent (QShowEvent e); + protected delegate void TabletEvent (QTabletEvent e); + protected delegate void TimerEvent (QTimerEvent e); + protected delegate void ViewportContextMenuEvent (QContextMenuEvent e); + protected delegate void ViewportDragEnterEvent (QDragEnterEvent e); + protected delegate void ViewportDragLeaveEvent (QDragLeaveEvent e); + protected delegate void ViewportDragMoveEvent (QDragMoveEvent e); + protected delegate void ViewportDropEvent (QDropEvent e); + protected delegate void ViewportMouseDoubleClickEvent (QMouseEvent e); + protected delegate void ViewportMouseMoveEvent (QMouseEvent e); + protected delegate void ViewportMousePressEvent (QMouseEvent e); + protected delegate void ViewportMouseReleaseEvent (QMouseEvent e); + protected delegate void ViewportPaintEvent (QPaintEvent e); + protected delegate void ViewportResizeEvent (QResizeEvent e); + protected delegate void ViewportWheelEvent (QWheelEvent e); + protected delegate void WheelEvent (QWheelEvent e); + } + + + // The global event delegates. + public delegate void QChildHandler (QObject sender, QEventArgs e); + public delegate void QDragEnterHandler (QObject sender, QEventArgs e); + public delegate void QDropHandler (QObject sender, QEventArgs e); + public delegate void QIMHandler (QObject sender, QEventArgs e); + public delegate void QPaintHandler (QObject sender, QEventArgs e); + public delegate void QTimerHandler (QObject sender, QEventArgs e); + public delegate void QCloseHandler (QObject sender, QEventArgs e); + public delegate void QDragLeaveHandler (QObject sender, QEventArgs e); + public delegate void QEventHandler (QObject sender, QEventArgs e); + public delegate void QKeyHandler (QObject sender, QEventArgs e); + public delegate void QResizeHandler (QObject sender, QEventArgs e); + public delegate void QWheelHandler (QObject sender, QEventArgs e); + public delegate void QContextMenuHandler (QObject sender, QEventArgs e); + public delegate void QDragMoveHandler (QObject sender, QEventArgs e); + public delegate void QFocusHandler (QObject sender, QEventArgs e); + public delegate void QMouseHandler (QObject sender, QEventArgs e); + public delegate void QShowHandler (QObject sender, QEventArgs e); + public delegate void QCustomHandler (QObject sender, QEventArgs e); + public delegate void QDragResponseHandler (QObject sender, QEventArgs e); + public delegate void QHideHandler (QObject sender, QEventArgs e); + public delegate void QMoveHandler (QObject sender, QEventArgs e); + public delegate void QTabletHandler (QObject sender, QEventArgs e); +} diff --git a/qtsharp/src/bindings/static/RasterOp.cs b/qtsharp/src/bindings/static/RasterOp.cs new file mode 100644 index 00000000..ed94088d --- /dev/null +++ b/qtsharp/src/bindings/static/RasterOp.cs @@ -0,0 +1,48 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum RasterOp { + CopyROP = 0, + OrROP = 1, + XorROP = 2, + NotAndROP = 3, + EraseROP = NotAndROP, + NotCopyROP = 5, + NotOrROP = 6, + NotXorROP = 7, + AndROP = 8, + NotEraseROP = AndROP, + NotROP = 10, + ClearROP = 11, + SetROP = 12, + NopROP = 13, + AndNotROP = 14, + OrNotROP = 15, + NandROP = 16, + NorROP = 17, + LastROP = NorROP + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/StringComparisonMode.cs b/qtsharp/src/bindings/static/StringComparisonMode.cs new file mode 100644 index 00000000..833025e0 --- /dev/null +++ b/qtsharp/src/bindings/static/StringComparisonMode.cs @@ -0,0 +1,34 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum StringComparisonMode { + CaseSensitive = 1, + BeginsWith = 2, + EndsWith = 4, + Contains = 8, + ExactMatch = 16 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/TextFlags.cs b/qtsharp/src/bindings/static/TextFlags.cs new file mode 100644 index 00000000..96904f7d --- /dev/null +++ b/qtsharp/src/bindings/static/TextFlags.cs @@ -0,0 +1,37 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum TextFlags { + SingleLine = 128, + DontClip = 256, + ExpandTabs = 512, + ShowPrefix = 1024, + WordBreak = 2048, + BreakAnywhere = 4096, + DontPrint = 8192, + NoAccel = 16384 + } +} diff --git a/qtsharp/src/bindings/static/TextFormat.cs b/qtsharp/src/bindings/static/TextFormat.cs new file mode 100644 index 00000000..06365f3e --- /dev/null +++ b/qtsharp/src/bindings/static/TextFormat.cs @@ -0,0 +1,32 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum TextFormat { + PlainText = 0, + RichText = 1, + AutoText = 2 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/UIEffect.cs b/qtsharp/src/bindings/static/UIEffect.cs new file mode 100644 index 00000000..15913e09 --- /dev/null +++ b/qtsharp/src/bindings/static/UIEffect.cs @@ -0,0 +1,35 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum UIEffect { + UI_General = 0, + UI_AnimateMenu = 1, + UI_FadeMenu = 2, + UI_AnimateCombo = 3, + UI_AnimateTooltip = 4, + UI_FadeTooltip = 5 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/WidgetFlags.cs b/qtsharp/src/bindings/static/WidgetFlags.cs new file mode 100644 index 00000000..fde21e59 --- /dev/null +++ b/qtsharp/src/bindings/static/WidgetFlags.cs @@ -0,0 +1,66 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum WidgetFlags { + WWinOwnDC = 0, + WType_TopLevel = 1, + WType_Dialog = 2, + WType_Popup = 4, + WType_Desktop = 8, + WType_Mask = 15, + WStyle_Customize = 16, + WStyle_NormalBorder = 32, + WStyle_DialogBorder = 64, + WStyle_NoBorder = 8192, + WStyle_Title = 128, + WStyle_SysMenu = 256, + WStyle_Minimize = 512, + WStyle_Maximize = 1024, + WStyle_MinMax = WStyle_Minimize|WStyle_Maximize, + WStyle_Tool = 2048, + WStyle_StaysOnTop = 4096, + WStyle_ContextHelp = 16384, + WStyle_Reserved = 32768, + WStyle_Mask = 65520, + WDestructiveClose = 65536, + WPaintDesktop = 131072, + WPaintUnclipped = 262144, + WPaintClever = 524288, + WResizeNoErase = 1048576, + WMouseNoMask = 2097152, + WStaticContents = 4194304, + WRepaintNoErase = 8388608, + WX11BypassWM = 16777216, + WGroupLeader = 33554432, + WShowModal = 67108864, + WNoMousePropagation = 134217728, + WSubWindow = 268435456, + WNorthWestGravity = WStaticContents, + WType_Modal = WType_Dialog|WShowModal, + WStyle_Dialog = WType_Dialog, + WStyle_NoBorderEx = WStyle_NoBorder + } +} diff --git a/qtsharp/src/bindings/static/WidgetState.cs b/qtsharp/src/bindings/static/WidgetState.cs new file mode 100644 index 00000000..8afc9024 --- /dev/null +++ b/qtsharp/src/bindings/static/WidgetState.cs @@ -0,0 +1,53 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum WidgetState { + WState_Created = 1, + WState_Disabled = 2, + WState_Visible = 4, + WState_ForceHide = 8, + WState_OwnCursor = 16, + WState_MouseTracking = 32, + WState_CompressKeys = 64, + WState_BlockUpdates = 128, + WState_InPaintEvent = 256, + WState_Reparented = 512, + WState_ConfigPending = 1024, + WState_Resized = 2048, + WState_AutoMask = 4096, + WState_Polished = 8192, + WState_DND = 16384, + WState_Reserved0 = 32768, + WState_Reserved1 = 65536, + WState_Reserved2 = 131072, + WState_Reserved3 = 262144, + WState_Maximized = 524288, + WState_Minimized = 1048576, + WState_ForceDisabled = 2097152, + WState_Exposed = 4194304, + WState_HasMouse = 8388608 + } +}
\ No newline at end of file diff --git a/qtsharp/src/bindings/static/WindowsVersion.cs b/qtsharp/src/bindings/static/WindowsVersion.cs new file mode 100644 index 00000000..da81ea4c --- /dev/null +++ b/qtsharp/src/bindings/static/WindowsVersion.cs @@ -0,0 +1,38 @@ +// QApplication.cs - A Qt to C# binding. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// Generated File. Do Not Modify. + +namespace Qt { + + using Qt; + using System; + using System.Runtime.InteropServices; + + public enum WindowsVersion { + WV_32s = 1, + WV_95 = 2, + WV_98 = 3, + WV_Me = 4, + WV_DOS_based = 15, + WV_NT = 16, + WV_2000 = 32, + WV_XP = 48, + WV_NT_based = 240 + } +}
\ No newline at end of file diff --git a/qtsharp/src/examples/Makefile.am b/qtsharp/src/examples/Makefile.am new file mode 100644 index 00000000..7905a37d --- /dev/null +++ b/qtsharp/src/examples/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = samples tutorials diff --git a/qtsharp/src/examples/samples/Makefile.am b/qtsharp/src/examples/samples/Makefile.am new file mode 100644 index 00000000..eae1d7cc --- /dev/null +++ b/qtsharp/src/examples/samples/Makefile.am @@ -0,0 +1,24 @@ +all: + csant -D$(CSC_NAME)=$(CSC) -C $(CSC_NAME) + chmod 0755 *.exe + +clean: + rm -rf *.exe + +distclean: clean + +install: + mkdir -p $(DESTDIR)$(datadir)/doc/qtcsharp/samples + cat display.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/samples/display.cs.gz + cat eventhandling.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/samples/eventhandling.cs.gz + cat hello.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/samples/hello.cs.gz + cat scribblewindow.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/samples/scribblewindow.cs.gz + cat mandelbrot.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/samples/mandelbrot.cs.gz + cat quantumfractals.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/samples/quantumfractals.cs.gz + cat mandelbrot2.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/samples/mandelbrot2.cs.gz + +uninstall: + rm -rf $(datadir)/doc/qtcsharp/samples/*.cs.gz + rm -rf $(datadir)/doc/qtcsharp/samples/*.cs + +.PHONY: all clean distclean install diff --git a/qtsharp/src/examples/samples/display.cs b/qtsharp/src/examples/samples/display.cs new file mode 100644 index 00000000..b1c7ca10 --- /dev/null +++ b/qtsharp/src/examples/samples/display.cs @@ -0,0 +1,65 @@ +namespace QtSamples { + + using Qt; + using System; + + public class Display : QMainWindow { + + private TextArea textarea; + private QScrollView scrollview; + private QMenuBar menubar; + private QPopupMenu filemenu, aboutmenu; + + private class TextArea : QTextEdit { + + public TextArea (QWidget parent) : base (parent) + { + QFile file = new QFile ("display.cs"); + if ( file.Open(1) ) { + QTextStream ts = new QTextStream (file); + this.SetText (ts.Read ()); + this.SetTabStopWidth (30); + } + } + } + + public Display () + { + filemenu = new QPopupMenu (null, "filemenu"); + filemenu.InsertItem ("&Quit", qApp, SLOT ("quit()")); + + aboutmenu = new QPopupMenu(null, "aboutmenu"); + aboutmenu.InsertItem("&About Qt-Sharp", this, SLOT("slotAbout()")); + + menubar = new QMenuBar(this, ""); + menubar.InsertItem("&File", filemenu); + menubar.InsertItem("&About", aboutmenu); + + textarea = new TextArea (this); + textarea.SetGeometry(0, menubar.Height(), Width(), Height() - menubar.Height()); + this.SetCentralWidget (textarea); + } + + public void slotAbout () + { + QMessageBox.Information ( + this, "About Qt-Sharp-0.7", + "A Qt (http://www.trolltech.com) to C# language binding.\n" + + "Qt-Sharp is compatible with Mono (http://go-mono.org) and\n" + + "Portable.NET (http://www.southern-storm.com.au/portable_net.html)\n" + + "(c) 2002 Adam Treat. Licensed under the terms of the GNU GPL.\n" + ); + } + + public static void Main (String[] args) + { + QApplication app = new QApplication (args); + Display demo = new Display (); + demo.SetCaption ("Qt-Sharp-0.7!"); + app.SetMainWidget (demo); + demo.Show (); + app.Exec (); + return; + } + } +} diff --git a/qtsharp/src/examples/samples/emit.cs b/qtsharp/src/examples/samples/emit.cs new file mode 100644 index 00000000..e9c3c40a --- /dev/null +++ b/qtsharp/src/examples/samples/emit.cs @@ -0,0 +1,41 @@ +// Illustrates basic usage of custom signals. +// Also see the t7 tutorial. + +namespace QtSamples { + using System; + using Qt; + + [DeclareQtSignal ("MySignal()")] + public class EmitSample: QVBox { + public EmitSample (): this (null, "") {} + + public EmitSample (QWidget parent, string name): base () + { + QPushButton pb = new QPushButton ("Papa Smurf", this); + + Connect (pb, SIGNAL ("clicked ()"), SLOT ("DoEmit ()")); + Connect (this, SIGNAL ("MySignal ()"), SLOT ("PrintStuff ()")); + } + + public void DoEmit () + { + Emit ("MySignal()"); + } + + public void PrintStuff () + { + Console.WriteLine ("Emitted MySignal"); + } + + public static int Main (string[] args) + { + QApplication app = new QApplication (args); + EmitSample es = new EmitSample (); + app.SetMainWidget (es); + es.Show (); + int ret = app.Exec (); + es.Dispose(); + return ret; + } + } +} diff --git a/qtsharp/src/examples/samples/eventhandling.cs b/qtsharp/src/examples/samples/eventhandling.cs new file mode 100644 index 00000000..ee410dd3 --- /dev/null +++ b/qtsharp/src/examples/samples/eventhandling.cs @@ -0,0 +1,52 @@ +// eventhandling.cs - qt-sharp Hello World +// +// Author: Adam Treat <manyoso@yahoo.com> +// +// (c) 2002 Adam Treat +// +// Licensed under the terms of the GNU GPL + +namespace QtSamples { + + using Qt; + using System; + + public class EventHandling : QVBox { + + public static void Main (String[] args) + { + QApplication app = new QApplication (args); + EventHandling evh = new EventHandling (); + app.SetMainWidget (evh); + evh.Show (); + app.Exec (); + } + + public EventHandling () : base (null) + { + // This is the global event handler for QMouseEvents + mouseHandler += new QMouseHandler(mouseEvents); + + MyButton pb = new MyButton (this); + } + + public void mouseEvents (QObject sender, QEventArgs e) + { + Console.WriteLine ("Mouse event: " + e.Name); + } + + class MyButton : QPushButton { + + public MyButton (QWidget parent) : base ("Hello Qt-Sharp-0.7!", parent) + { + // This is the local event handler for mousePressEvents + mousePressEvent += new MousePressEvent (pressEvent); + } + + public void pressEvent (QMouseEvent e) + { + Console.WriteLine ("I've been clicked"); + } + } + } +} diff --git a/qtsharp/src/examples/samples/hello.cs b/qtsharp/src/examples/samples/hello.cs new file mode 100644 index 00000000..db6890e5 --- /dev/null +++ b/qtsharp/src/examples/samples/hello.cs @@ -0,0 +1,36 @@ +// helloworld.cs - qt-sharp Hello World +// +// Author: Adam Treat <manyoso@yahoo.com> +// +// (c) 2002 Adam Treat +// +// Licensed under the terms of the GNU GPL + +namespace QtSamples { + + using Qt; + using System; + + public class HelloWorld : QVBox { + + public static void Main (String[] args) + { + QApplication app = new QApplication (args); + HelloWorld hello = new HelloWorld (); + app.SetMainWidget (hello); + hello.Show (); + app.Exec (); + } + + public HelloWorld () : base (null) + { + QPushButton pb = new QPushButton ("Hello Qt-Sharp-0.7!", this); + QObject.Connect (pb, SIGNAL ("clicked()"), this, SLOT("SlotClicked()")); + } + + public void SlotClicked () + { + Console.WriteLine ("QPushButton Clicked!"); + } + } +} diff --git a/qtsharp/src/examples/samples/mandelbrot.cs b/qtsharp/src/examples/samples/mandelbrot.cs new file mode 100644 index 00000000..5dbd9b85 --- /dev/null +++ b/qtsharp/src/examples/samples/mandelbrot.cs @@ -0,0 +1,264 @@ +// Mandelbrot 0.1: A demonstration of Qt# +// +// Copyright 2002 Marcus Urban +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +// NOTE: +// Variables with names like PlotXMin are in the cartesian coordinate plane. +// Those with names like ImageXMin was in a translated coordinate system +// where (0, 0) is the upper-left corner. + + +using System; +using Qt; + + +// This struct is a simple implementation of complex numbers. +// It was originally in a separate file because it is useful +// in its own right. It is included here file only to make the +// compilation process simpler of new users. + +public struct Complex { + + private double re, im; + //private int x; + + public Complex (double re, double im) + { + this.re = re; + this.im = im; + } + + public static implicit operator Complex (double re) + { + return new Complex (re, 0.0); + } + + public double Re + { + get { return re; } + } + + public double Im + { + get { return im; } + } + + public static double Abs (Complex a) + { + return Math.Abs (a.re) >= Math.Abs (a.im) ? + Math.Abs (a.re) * Math.Sqrt( 1.0 + (a.im/a.re)*(a.im/a.re) ) : + Math.Abs (a.im) * Math.Sqrt( 1.0 + (a.re/a.im)*(a.re/a.im) ); + } + + public static Complex operator + (Complex a, Complex b) + { + return new Complex (a.re + b.re, a.im + b.im); + } + + public static Complex operator - (Complex a, Complex b) + { + return new Complex (a.re - b.re, a.im - b.im); + } + + public static Complex operator * (Complex a, Complex b) + { + return new Complex ( a.re*b.re - a.im*b.im, a.im*b.re + a.re*b.im ); + } + + // Division isn't pretty. Do it later. + + public override string ToString () + { + return this.re.ToString () + "+" + this.im.ToString () + "i"; + } +} + + +public class Mandelbrot { + + public static int Iterations ( Complex c ) + { + const int MaximumIterations = 16; + Complex value = c; + int currentDepth = 1; + + while ( Complex.Abs(value) < 2.0 && currentDepth <= MaximumIterations ) { + ++currentDepth; + value = (value * value) + c; + } + return currentDepth; + } + + + public static void Main (string[] args) + { + QApplication app = new QApplication (args); + + ImageDialog dialog = new ImageDialog (null, "Mandelbrot", false, 0); + dialog.Show (); + app.SetMainWidget (dialog); + app.Exec (); + + } +} + + +public class ImageDialog : QDialog { + + const double DefaultPlotXMin = -2.0; + const double DefaultPlotXMax = 2.0; + const double DefaultPlotYMin = -1.5; + const double DefaultPlotYMax = 1.5; + + QHBoxLayout dialogLayout; + QGridLayout gridLayout; + QVBoxLayout leftLayout; + QHBoxLayout buttonLayout; + QPushButton redrawButton; + QLabel pixmapLabel; + QSizePolicy fixedSizePolicy; + + QLabel XMinLabel, XMaxLabel, YMinLabel, YMaxLabel; + QLineEdit editXMin, editXMax, editYMin, editYMax; + + public ImageDialog (QWidget parent, string name, bool modal, WidgetFlags fl): + base (parent, name, modal, fl) + { + if (name == string.Empty) + SetName ("imageDialog"); + SetCaption ("Mandelbrot Image"); + + dialogLayout = new QHBoxLayout (this, 11, 6); + gridLayout = new QGridLayout (null, 1, 1, 0, 6, "gridLayout"); + leftLayout = new QVBoxLayout (null, 0, 6, "leftLayout"); + + fixedSizePolicy = new QSizePolicy (); + fixedSizePolicy.SetHorData (QSizePolicy.SizeType.Fixed); + fixedSizePolicy.SetVerData (QSizePolicy.SizeType.Fixed); + + XMinLabel = new QLabel ("Xmin", this); + XMinLabel.SetSizePolicy (fixedSizePolicy); + gridLayout.AddWidget (XMinLabel, 0, 0); + + XMaxLabel = new QLabel ("Xmax", this); + XMaxLabel.SetSizePolicy(fixedSizePolicy); + gridLayout.AddWidget (XMaxLabel, 1, 0); + + YMinLabel = new QLabel ("Ymin", this); + YMinLabel.SetSizePolicy (fixedSizePolicy); + gridLayout.AddWidget (YMinLabel, 2, 0); + + YMaxLabel = new QLabel ("Ymax", this); + YMaxLabel.SetSizePolicy (fixedSizePolicy); + gridLayout.AddWidget (YMaxLabel, 3, 0); + + QDoubleValidator validator = new QDoubleValidator (this); + + editXMin = new QLineEdit (this, "editXMin"); + editXMin.SetText (Convert.ToString (DefaultPlotXMin)); + editXMin.SetValidator (validator); + gridLayout.AddWidget (editXMin, 0, 1); + + editXMax = new QLineEdit (this, "editXMax"); + editXMax.SetText (Convert.ToString(DefaultPlotXMax)); + editXMax.SetValidator (validator); + gridLayout.AddWidget (editXMax, 1, 1); + + editYMin = new QLineEdit (this, "editYMin"); + editYMin.SetText (Convert.ToString(DefaultPlotYMin)); + editYMin.SetValidator (validator); + gridLayout.AddWidget (editYMin, 2, 1); + + editYMax = new QLineEdit (this, "editYMax"); + editYMax.SetText (Convert.ToString(DefaultPlotYMax)); + editYMax.SetValidator (validator); + gridLayout.AddWidget (editYMax, 3, 1); + + leftLayout.AddLayout (gridLayout); + QSpacerItem spacer1 = new QSpacerItem (0, 0, 0, 0); + leftLayout.AddItem (spacer1); + + buttonLayout = new QHBoxLayout (null, 0, 6, "buttonLayout"); + QSpacerItem spacer2 = new QSpacerItem (0, 0, 0, 0); + buttonLayout.AddItem (spacer2); + + redrawButton = new QPushButton ("Redraw", this); + redrawButton.SetDefault (true); + buttonLayout.AddWidget (redrawButton); + + QSpacerItem spacer3 = new QSpacerItem (0, 0, 0, 0); + buttonLayout.AddItem (spacer3); + + leftLayout.AddLayout (buttonLayout); + + dialogLayout.AddLayout (leftLayout); + QSpacerItem spacer4 = new QSpacerItem (0, 0, 0, 0); + dialogLayout.AddItem (spacer4); + + pixmapLabel = new QLabel (this, "pixmapLabel", 0); + pixmapLabel.SetScaledContents (true); + dialogLayout.AddWidget (pixmapLabel); + + QObject.Connect (redrawButton, SIGNAL ("clicked()"), this, SLOT ("Redraw()")); + + Redraw (); + } + + + QImage MandelbrotImage () + { + int depth; + double real, imag; + + double PlotXMin = Convert.ToDouble ( editXMin.Text () ); + double PlotXMax = Convert.ToDouble ( editXMax.Text () ); + double PlotYMin = Convert.ToDouble ( editYMin.Text () ); + double PlotYMax = Convert.ToDouble ( editYMax.Text () ); + + int ImageXMax = pixmapLabel.Width (); + int ImageYMax = pixmapLabel.Height (); + + QImage image = new QImage (ImageXMax, ImageYMax, 32, 0); + + for (int x = 0; x <= ImageXMax - 1; x+=1) { + for (int y = 0; y <= ImageYMax - 1; y+=1) { + real = (PlotXMax - PlotXMin)/ImageXMax * x + PlotXMin; + imag = (PlotYMin - PlotYMax)/ImageYMax * y + PlotYMax; + depth = Mandelbrot.Iterations ( new Complex (real, imag) ); + image.SetPixel ( x, y, (uint) depth*16 ); + } + } + + return image; + } + + public void Redraw () + { + QSize s = pixmapLabel.BaseSize (); + pixmapLabel.Resize (400,300); + QApplication.SetOverrideCursor ( new QCursor( (int) CursorShape.WaitCursor )); + QImage image = MandelbrotImage (); + QPixmap pixmap = new QPixmap (image); + pixmapLabel.SetPixmap( pixmap); + image.Dispose (); + pixmap.Dispose (); + this.AdjustSize (); + QApplication.RestoreOverrideCursor (); + } +} + + diff --git a/qtsharp/src/examples/samples/mandelbrot2.cs b/qtsharp/src/examples/samples/mandelbrot2.cs new file mode 100644 index 00000000..bcb0a360 --- /dev/null +++ b/qtsharp/src/examples/samples/mandelbrot2.cs @@ -0,0 +1,309 @@ +// Mandelbrot 0.1: A demonstration of Qt# +// +// Copyright 2002 Marcus Urban +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +// NOTE: +// Variables with names like PlotXMin are in the cartesian coordinate plane. +// Those with names like ImageXMin was in a translated coordinate system +// where (0, 0) is the upper-left corner. + + +using System; +using Qt; + + +// This struct is a simple implementation of complex numbers. +// It was originally in a separate file because it is useful +// in its own right. It is included here file only to make the +// compilation process simpler of new users. + +public struct Complex { + + private double re, im; + //private int x; + + public Complex (double re, double im) + { + this.re = re; + this.im = im; + } + + public static implicit operator Complex (double re) + { + return new Complex (re, 0.0); + } + + public double Re + { + get { return re; } + } + + public double Im + { + get { return im; } + } + + public static double Abs (Complex a) + { + return Math.Abs (a.re) >= Math.Abs (a.im) ? + Math.Abs (a.re) * Math.Sqrt( 1.0 + (a.im/a.re)*(a.im/a.re) ) : + Math.Abs (a.im) * Math.Sqrt( 1.0 + (a.re/a.im)*(a.re/a.im) ); + } + + public static Complex operator + (Complex a, Complex b) + { + return new Complex (a.re + b.re, a.im + b.im); + } + + public static Complex operator - (Complex a, Complex b) + { + return new Complex (a.re - b.re, a.im - b.im); + } + + public static Complex operator * (Complex a, Complex b) + { + return new Complex ( a.re*b.re - a.im*b.im, a.im*b.re + a.re*b.im ); + } + + // Division isn't pretty. Do it later. + + public override string ToString () + { + return this.re.ToString () + "+" + this.im.ToString () + "i"; + } +} + + +public class Mandelbrot +{ + public static ImageDialog dialog; + + public static int Iterations ( Complex c ) + { + const int MaximumIterations = 16; + Complex value = c; + int currentDepth = 1; + + while ( Complex.Abs(value) < 2.0 && currentDepth <= MaximumIterations ) { + ++currentDepth; + value = (value * value) + c; + } + return currentDepth; + } + + + public static void Main (string[] args) + { + QApplication app = new QApplication (args); + + dialog = new ImageDialog (null, "Mandelbrot", false, 0); + dialog.SetGeometry(0, 0, 550, 300 ); + dialog.Show(); + app.SetMainWidget (dialog); + app.Exec (); + + } +} + + +public class PicLabel: QFrame +{ + QPixmap newPixmap; + int newWidth = 400; + int newHeight = 300; + + public PicLabel( QWidget parent, string name, WidgetFlags flags ): + base( parent, name, flags ) + { + SetBackgroundMode (Qt.BackgroundMode.NoBackground); + resizeEvent += new ResizeEvent (PerformResize); + paintEvent += new PaintEvent (PerformPaint); + + } + + protected void PerformResize (QResizeEvent e) + { + Console.WriteLine("Resizing to {0} by {1}", + e.Size().Width(), e.Size().Height() ); + + newWidth = e.Size().Width(); + newHeight = e.Size().Height(); + + } + + + protected void PerformPaint(QPaintEvent e ) + { + Console.WriteLine("Making a new image {0} by {1}", newWidth, newHeight ); + + QImage image = Mandelbrot.dialog.MandelbrotImage( newWidth, newHeight ); + newPixmap = new QPixmap( image ); + + BitBlt(this, 0, 0, newPixmap, + 0, 0, -1, -1, RasterOp.CopyROP, false); + Console.WriteLine("PerformPaint"); + } +} + + + +public class ImageDialog : QDialog { + + const double DefaultPlotXMin = -2.0; + const double DefaultPlotXMax = 2.0; + const double DefaultPlotYMin = -1.5; + const double DefaultPlotYMax = 1.5; + + QHBoxLayout dialogLayout; + QGridLayout gridLayout; + QVBoxLayout leftLayout; + QHBoxLayout buttonLayout; + QPushButton redrawButton; + public PicLabel pixmapLabel; + QSizePolicy fixedSizePolicy; + + QLabel XMinLabel, XMaxLabel, YMinLabel, YMaxLabel; + QLineEdit editXMin, editXMax, editYMin, editYMax; + + + public ImageDialog (QWidget parent, string name, bool modal, WidgetFlags fl): + base (parent, name, modal, fl) + { + if (name == string.Empty) + SetName ("imageDialog"); + SetCaption ("Mandelbrot Image"); + + dialogLayout = new QHBoxLayout (this, 11, 6); + gridLayout = new QGridLayout (null, 1, 1, 0, 6, "gridLayout"); + leftLayout = new QVBoxLayout (null, 0, 6, "leftLayout"); + + fixedSizePolicy = new QSizePolicy ( QSizePolicy.SizeType.Fixed, + QSizePolicy.SizeType.Fixed, false ); + + XMinLabel = new QLabel ("Xmin", this); + XMinLabel.SetSizePolicy (fixedSizePolicy); + gridLayout.AddWidget (XMinLabel, 0, 0); + + XMaxLabel = new QLabel ("Xmax", this); + XMaxLabel.SetSizePolicy(fixedSizePolicy); + gridLayout.AddWidget (XMaxLabel, 1, 0); + + YMinLabel = new QLabel ("Ymin", this); + YMinLabel.SetSizePolicy (fixedSizePolicy); + gridLayout.AddWidget (YMinLabel, 2, 0); + + YMaxLabel = new QLabel ("Ymax", this); + YMaxLabel.SetSizePolicy (fixedSizePolicy); + gridLayout.AddWidget (YMaxLabel, 3, 0); + + QDoubleValidator validator = new QDoubleValidator (this); + + editXMin = new QLineEdit (this, "editXMin"); + editXMin.SetSizePolicy( fixedSizePolicy ); + editXMin.SetText (Convert.ToString (DefaultPlotXMin)); + editXMin.SetValidator (validator); + gridLayout.AddWidget (editXMin, 0, 1); + + editXMax = new QLineEdit (this, "editXMax"); + editXMax.SetSizePolicy( fixedSizePolicy ); + editXMax.SetText (Convert.ToString(DefaultPlotXMax)); + editXMax.SetValidator (validator); + gridLayout.AddWidget (editXMax, 1, 1); + + editYMin = new QLineEdit (this, "editYMin"); + editYMin.SetSizePolicy( fixedSizePolicy ); + editYMin.SetText (Convert.ToString(DefaultPlotYMin)); + editYMin.SetValidator (validator); + gridLayout.AddWidget (editYMin, 2, 1); + + editYMax = new QLineEdit (this, "editYMax"); + editYMax.SetSizePolicy( fixedSizePolicy ); + editYMax.SetText (Convert.ToString(DefaultPlotYMax)); + editYMax.SetValidator (validator); + gridLayout.AddWidget (editYMax, 3, 1); + + leftLayout.AddLayout (gridLayout); + QSpacerItem spacer1 = new QSpacerItem (0, 0, 0, 0); + leftLayout.AddItem (spacer1); + + buttonLayout = new QHBoxLayout (null, 0, 6, "buttonLayout"); + QSpacerItem spacer2 = new QSpacerItem (0, 0, 0, 0); + buttonLayout.AddItem (spacer2); + + redrawButton = new QPushButton ("Redraw", this); + redrawButton.SetSizePolicy ( fixedSizePolicy ); + redrawButton.SetDefault (true); + buttonLayout.AddWidget (redrawButton); + + QSpacerItem spacer3 = new QSpacerItem (0, 0, 0, 0); + buttonLayout.AddItem (spacer3); + + leftLayout.AddLayout (buttonLayout); + + dialogLayout.AddLayout (leftLayout); + QSpacerItem spacer4 = new QSpacerItem (0, 0, 0, 0); + dialogLayout.AddItem (spacer4); + + pixmapLabel = new PicLabel (this, "pixmapLabel", 0); + //pixmapLabel.SetScaledContents (true); + pixmapLabel.SetSizePolicy( QSizePolicy.SizeType.Minimum, + QSizePolicy.SizeType.Minimum, false ); + pixmapLabel.SetGeometry( 0, 0, 400, 300 ); + pixmapLabel.Show(); + pixmapLabel.Resize(400,300); + dialogLayout.AddWidget (pixmapLabel); + + + //QImage image = MandelbrotImage( 400, 300 ); + //pixmapLabel.SetPixmap( new QPixmap( image ) ); + + + QObject.Connect (redrawButton, SIGNAL ("clicked()"), pixmapLabel, SLOT ("Repaint()")); + + //Redraw (); + } + + public QImage MandelbrotImage ( int width, int height) + { + int depth; + double real, imag; + + double PlotXMin = Convert.ToDouble ( editXMin.Text () ); + double PlotXMax = Convert.ToDouble ( editXMax.Text () ); + double PlotYMin = Convert.ToDouble ( editYMin.Text () ); + double PlotYMax = Convert.ToDouble ( editYMax.Text () ); + + int ImageXMax = width; + int ImageYMax = height; + + QImage image = new QImage (ImageXMax, ImageYMax, 32, 0); + + for (int x = 0; x <= ImageXMax - 1; x+=1) { + for (int y = 0; y <= ImageYMax - 1; y+=1) { + real = (PlotXMax - PlotXMin)/ImageXMax * x + PlotXMin; + imag = (PlotYMin - PlotYMax)/ImageYMax * y + PlotYMax; + depth = Mandelbrot.Iterations ( new Complex (real, imag) ); + image.SetPixel ( x, y, (uint) depth*16 ); + } + } + + return image; + } + +} + + diff --git a/qtsharp/src/examples/samples/qstring-slot.cs b/qtsharp/src/examples/samples/qstring-slot.cs new file mode 100644 index 00000000..e6d5110a --- /dev/null +++ b/qtsharp/src/examples/samples/qstring-slot.cs @@ -0,0 +1,38 @@ +// Demo of a QString slot +// Implemented by Marcus Urban + +using System; +using Qt; + +public class MyWidget : QVBox +{ + QLineEdit lineEdit; + QLabel label; + + public MyWidget (QWidget parent, String name) : base (parent, name) + { + lineEdit = new QLineEdit( this, "lineEdit" ); + label = new QLabel( this, "label" ); + label.SetText("Default"); + + QObject.Connect( lineEdit, SIGNAL("textChanged(QString)"), + label, "SetText(QString)" ); + } + + + public MyWidget (QWidget parent) : this (parent, "") {} + public MyWidget () : this (null, "") {} +} + +public class Example { + + public static int Main (String[] args) + { + QApplication a = new QApplication (args); + + MyWidget w = new MyWidget (); + a.SetMainWidget (w); + w.Show (); + return a.Exec (); + } +} diff --git a/qtsharp/src/examples/samples/quantumfractals.cs b/qtsharp/src/examples/samples/quantumfractals.cs new file mode 100644 index 00000000..56898912 --- /dev/null +++ b/qtsharp/src/examples/samples/quantumfractals.cs @@ -0,0 +1,828 @@ +// quantumfractals.cs - Port of eeqt to Qt# +// Author: Adam Treat <manyoso@yahoo.com> +// (c) 2002 Adam Treat +// Licensed under the terms of the GNU GPL + +namespace Qf { + + using Qt; + using System; + using System.Threading; + + public class FractalViewer : QMainWindow { + + //Menuing + private QMenuBar menubar; + private QPopupMenu filemenu; + private QPopupMenu shapemenu; + private QPopupMenu settingsmenu; + + public static int Main (string[] args) + { + //Initialize and start the main event loop + QApplication app = new QApplication (args); + FractalViewer view = new FractalViewer (); + app.SetMainWidget (view); + view.Show (); + return app.Exec (); + } + + public FractalViewer (): base (null, "main") + { + SetCaption ("Quantum Fractals"); + + //Setup the display + Display display = new Display (this); + SetCentralWidget (display); + + //Setup the filemenu + filemenu = new QPopupMenu (null, "filemenu"); + filemenu.InsertItem ("&Screenshot", display, SLOT ("SlotScreenshot()")); + filemenu.InsertSeparator (); + filemenu.InsertItem ("&Quit", qApp, SLOT ("quit()")); + + //Setup the shapemenu + shapemenu = new QPopupMenu (null, "typemenu"); + shapemenu.InsertItem( "&Tetrahedron", 0); + shapemenu.InsertItem( "&Cube", 1); + shapemenu.InsertItem( "&Octahedron", 2); + shapemenu.InsertItem( "&Icosahedron", 3); + shapemenu.InsertItem( "&Dodecahedron", 4); + shapemenu.InsertItem( "&Double Tetrahedron", 5); + shapemenu.InsertItem( "&Icosidodecahedron", 6); + + //Connect the shapemenu + QObject.Connect (shapemenu, SIGNAL ("activated(int)"), + display, SLOT("SlotShapeMenu(int)")); + + //Setup the settingsmenu + settingsmenu = new QPopupMenu (null, "settingsmenu"); + settingsmenu.InsertItem ("&Alpha", display, SLOT ("SlotSetAlpha()")); + + //Setup the menubar + menubar = new QMenuBar (this, ""); + menubar.InsertItem ("&File", filemenu); + menubar.InsertItem ("&Shape", shapemenu); + menubar.InsertItem ("&Settings", settingsmenu); + } + } + + public class Display: QWidget, IQuantumFractal { + + //Labels + QLabel count; + QLabel shape; + QLabel alpha; + + //Buttons + QPushButton start; + QPushButton stop; + QPushButton reset; + QPushButton gray; + QPushButton intense; + + //Drawable region + QPaintBuffer buffer; + + //Layouts + QVBoxLayout layout; + QHBoxLayout buttons; + QVBoxLayout labels; + + //Engine controller variables + int[] topDensity = new int[0]; + int[] bottomDensity = new int[0]; + int resolution = 400; + int scale = 1; + double centerX = 0; + double centerY = 0; + int i = 0; + bool Grayscale = true; + bool Intense = false; + bool Running = false; + bool WasRunning = false; + + //The engine + QuantumFractals qf; + Thread engine; + + public Display (QWidget parent): base (parent) + { + //Setup the sizes + QSize size = new QSize (resolution, resolution); + parent.SetBaseSize (size); + + //Some nice colors + SetPaletteBackgroundColor (new QColor ("Black")); + SetPaletteForegroundColor (new QColor ("LightBlue")); + + //Setup the buttons + start = new QPushButton ("Start", this); + stop = new QPushButton ("Stop", this); + reset = new QPushButton ("Reset", this); + gray = new QPushButton ("Color", this); + intense = new QPushButton ("Intensity", this); + + //Setup the labels + count = new QLabel (this); + alpha = new QLabel (this); + shape = new QLabel (this); + + //Setup the drawable + buffer = new QPaintBuffer (this); + buffer.SetMinimumSize (size); + + //Create the layouts + layout = new QVBoxLayout (this); + buttons = new QHBoxLayout (layout); + + //Add some buttons + buttons.AddWidget (start); + buttons.AddWidget (stop); + buttons.AddWidget (reset); + buttons.AddWidget (gray); + buttons.AddWidget (intense); + + //Connect the buttons and SlotQuit + QObject.Connect (start, SIGNAL ("clicked()"), + this, SLOT ("SlotStart()")); + QObject.Connect (stop, SIGNAL ("clicked()"), + this, SLOT ("SlotStop()")); + QObject.Connect (reset, SIGNAL ("clicked()"), + this, SLOT ("SlotReset()")); + QObject.Connect (gray, SIGNAL ("clicked()"), + this, SLOT ("SlotGray()")); + QObject.Connect (intense, SIGNAL ("clicked()"), + this, SLOT ("SlotIntense()")); + QObject.Connect (buffer, SIGNAL ("Painted()"), + this, SLOT ("SlotSetLabels()")); + QObject.Connect (qApp, SIGNAL ("lastWindowClosed ()"), + this, SLOT ("SlotQuit ()")); + + //Layout labels + labels = new QVBoxLayout (layout); + labels.AddWidget (count); + labels.AddWidget (shape); + labels.AddWidget (alpha); + + //Layout buffer + layout.AddWidget (buffer, 1); + + //Finally create the data engine + qf = new QuantumFractals (this); + + //Handle resize events + resizeEvent += new ResizeEvent (TouchResize); + } + + //This is where the controller receives data from the engine + public void UpdateData (double[] d) + { + i++; //Keep track of the number of points + + //Set the density arrays to match the resolution + if (resolution * resolution != topDensity.Length) { + topDensity = new int[resolution * resolution]; + bottomDensity = new int[resolution * resolution]; + } + + //setup the sphere + int res = resolution; + int res2 = res / 2; + int x = res / 2 + (int)(res2 * scale * (d[0] - centerX)); + int y = res / 2 + (int)(res2 * scale * (d[1] - centerY)); + double z = d[2]; + + if ((x < res) && (x >= 0) && (y >= 0) && (y < res)) { + + if (z >= 0) + topDensity[y * resolution + x]++; + else + bottomDensity[y * resolution + x]++; + + } + + //Convert the density into a color + int top = topDensity[y * resolution + x]; + //int bot = bottomDensity[y * resolution + x]; + top = Math.Min (top, 255); + //bot = Math.Min (bot, 255); + + //Log color system not working well :( + if (Intense) { + top = (int)(Math.Log (top + 1)); + //bot = (int)(Math.Log (bot + 1)); + } + + int topdepth = RGB (top,top,top); + //int botdepth = RGB (bot,bot,bot); + + //Finally draw the pixel + SetPixel (x, y, topdepth); + //SetPixel (x, y, botdepth); + } + + //Calls the drawable + public void SetPixel (int x, int y, int depth) + { + buffer.PaintPixel (x, y, depth); + } + + //Convert the color into a depth + public int RGB (int r, int g, int b) + { + if (!Grayscale) { + + r = Intensity (r < 128 ? 128 - r : 0); + g = Intensity (128 - Math.Abs (g - 128)); + b = Intensity (b < 128 ? 0 : b - 128); + + } else { + + r = Intensity (r); + g = Intensity (g); + b = Intensity (b); + + } + //Console.WriteLine ("{0} {1} {2}", r,g,b); + return 256 * 256 * r + 256 * g + b; + } + + //This provides more detail + private int Intensity(int val) + { + int ret; + + double bases = 64; + double scale = 256.0 / (256.0 - bases); + ret = (int)(bases + ((double)val) / scale); + + //if gray then black, if color then white + if (val == 0 && Grayscale) + ret = 0; + else if (val == 0) + ret = 255; + return ret; + } + + //Draw the labels + private void SlotSetLabels () + { + count.SetText ("Count: " + i.ToString ()); + shape.SetText ("Shape: " + qf.GetPolytope ()); + alpha.SetText ("Alpha: " + qf.Alpha.ToString ()); + } + + //Start the engine + private void SlotStart () + { + engine = new Thread(new ThreadStart(qf.Start)); + engine.Start (); + Running = true; + } + + //Stop the engine + private void SlotStop () + { + if (engine != null) + if (engine.IsAlive) + engine.Abort (); + Running = false; + } + + //Reset everything + private void SlotReset () + { + SlotStop (); + ResetBuffer (); + SlotStart (); + } + + //Reset the drawable + private void ResetBuffer () + { + i = 0; + SlotSetLabels (); + topDensity = new int[0]; + bottomDensity = new int[0]; + buffer.Reset (); + } + + //Toggles the color scheme + private void SlotGray () + { + Grayscale = !Grayscale; + } + + //Toggles log color scheme + //Not working so well :( + private void SlotIntense () + { + Intense = !Intense; + } + + //Change the platonic shape + private void SlotShapeMenu (int item) + { + WasRunning = Running ? true : false; + + SlotStop (); + ResetBuffer (); + + switch(item) { + + case 0: + qf.SetPolytope (0); + break; + case 1: + qf.SetPolytope (1); + break; + case 2: + qf.SetPolytope (2); + break; + case 3: + qf.SetPolytope (3); + break; + case 4: + qf.SetPolytope (4); + break; + case 5: + qf.SetPolytope (5); + break; + case 6: + qf.SetPolytope (6); + break; + Default: + qf.SetPolytope (0); + break; + } + + if (WasRunning) + SlotStart (); + } + + //Save the drawable as a screenshot + private void SlotScreenshot () + { + WasRunning = Running ? true : false; + + SlotStop (); + string filename = QFileDialog.GetSaveFileName ( + + QDir.HomeDirPath (), "*", this, "save", + "Save Screenshot", "*.png", true + ); + + if (filename != null) + buffer.Save (filename); + + if (WasRunning) + SlotStart (); + } + + //Set the alpha engine variable + private void SlotSetAlpha () + { + WasRunning = Running ? true : false; + + SlotStop (); + qf.Alpha = QInputDialog.GetDouble ( + + "Set Alpha", "Alpha: ", qf.Alpha, 0, 2, 32 + ); + + if (WasRunning) + SlotStart (); + else + SlotSetLabels (); + } + + //Make sure to quit all threads upon exit + private void SlotQuit () + { + SlotStop (); + buffer.Stop (); + } + + //Need to reset the resolution upon resize + private void TouchResize (QResizeEvent e) + { + int height = buffer.Size ().Height (); + int width = buffer.Size ().Width (); + + resolution = height > width ? width : height; + } + } + + [DeclareQtSignal ("Painted()")] + public class QPaintBuffer : QFrame { + + //Drawables + private QPixmap buffer; + private QImage image; + + //Timer + private TimerCallback call; + private Timer timer; + + public QPaintBuffer (QWidget parent) : base (parent) + { + SetBackgroundMode (Qt.BackgroundMode.NoBackground); + + //Create drawables + buffer = new QPixmap (); + image = new QImage (Size (), 32); + + //Setup the event handlers + paintEvent += new PaintEvent (TouchPaint); + resizeEvent += new ResizeEvent (TouchResize); + focusInEvent += new FocusInEvent (TouchFocus); + focusOutEvent += new FocusOutEvent (TouchFocus); + + //Start the timer + call = new TimerCallback(PaintImage); + timer = new Timer(call, null, 1000, 1000); + + } + + //Resets the drawables + public void Reset () + { + buffer = new QPixmap (); + image = new QImage (Size (), 32); + PaintImage (null); + } + + //Paints a pixel to the image + public void PaintPixel (int x, int y, int depth) + { + lock (this) { + if (x < image.Width () && y < image.Height ()) + image.SetPixel (x, y, (uint)depth); + } + } + + //Saves the image to a file + public void Save (string filename) + { + image.Save (filename, "PNG"); + } + + //Paints the image to the screen and emits Painted + private void PaintImage (object state) + { + buffer.ConvertFromImage (image); + PerformPaint (); + Emit ("Painted()"); + } + + //The actual bitblt to the screen + private void PerformPaint () + { + BitBlt(this, 0, 0, buffer, + 0, 0, -1, -1, RasterOp.CopyROP, false); + } + + //Receive focus events + private void TouchFocus (QFocusEvent e) + { + PerformPaint (); + } + + //Receive paint events + private void TouchPaint (QPaintEvent e) + { + PerformPaint (); + } + + //Receive resize events + private void TouchResize (QResizeEvent e) + { + image = new QImage (e.Size (), 32); + buffer.Resize (e.Size()); + buffer.Fill (new QColor("black")); + BitBlt (buffer, 0, 0, new QPixmap (buffer), + 0, 0, -1, -1, RasterOp.CopyROP, false); + } + + //Dispose of the timer + public void Stop () + { + timer.Dispose (); + } + } + + public interface IQuantumFractal { + + void UpdateData (Double [] data); + } + + //Polytope types + public enum Shapes { + TETRAHEDRON = 0, + CUBE = 1, + OCTAHEDRON = 2, + ICOSAHEDRON = 3, + DODECAHEDRON = 4, + DOUBLE_TETRAHEDRON = 5, + ICOSIDODECAHEDRON = 6 + } + + public class QuantumFractals { + + private int t = 0; + private double[] p; //Detector probabilities + private double[] fp; //Fractal point + private double[][] n; //Detector points + private double[] counter; //Detect counter + private double alpha = 0.61803398874989288039384209090709; //Initialize to 1/phi + + private Random random; + private Shapes polytope; + private IQuantumFractal consumer; + + public QuantumFractals (IQuantumFractal consumer) + { + this.consumer = consumer; + SetPolytope (0); + Init (); + } + + public double Alpha + { + get { return alpha; } + set { alpha = value; } + } + + private void Init () + { + random = new Random (); + + //Default values + t = 0; + + counter = new double[n.Length]; //Detect counter + fp = new double[3]; //Fractal point + p = new double[n.Length]; + + //Initial state + fp[0] = random.NextDouble () -0.5; + fp[1] = random.NextDouble () -0.5; + fp[2] = random.NextDouble () -0.5; + + double sum = Math.Sqrt (Product (fp, fp)); + + fp[0] = fp[0] / sum; + fp[1] = fp[1] / sum; + fp[2] = fp[2] / sum; + } + + //Main fractal generator loop + public void Start () + { + Init (); + + //double n1 = (1.0) / n.Length as double; + double n1 = (1.0) / n.Length; + + double alpha12 = 2 * alpha / (n.Length * (1 + alpha * alpha)); + + do { + //Increase t + t++; + + //Calculate detector click probabilities + for (int i = 0; i < p.Length; i++) + p[i] = n1 + alpha12 * Product (n[i], fp); + + //Get next random number + double r = random.NextDouble (); + + //Check which detector that clicked + double ptmp = 0; + double[] detector = null; + + for (int i = 0; i < p.Length; i++) { + + ptmp += p[i]; + + if (r <= ptmp) { + //We found which detector clicked + detector = n[i]; + counter[i]++; + break; + } + } + + if (detector == null) + detector = n[p.Length - 1]; + + //Project + double sc = Product (fp, detector); + + for (int j = 0; j < 3; j++) + fp[j]= (1 - alpha * alpha) * fp[j] + 2 * alpha * (1 + alpha * sc) * detector[j]; + + //Normalize + double norm = Math.Sqrt (Product (fp, fp)); + + for (int j=0; j<3; j++) + fp[j] /= norm; + + consumer.UpdateData (fp); + + } while (true); + } + + + //Calculate the scalar product of two vectors + private double Product (double[] v1, double[] v2) + { + double sc = 0; + for(int i=0; i < v1.Length; i++) + sc += v1[i] * v2[i]; + return sc; + } + + public string GetPolytope () + { + string ret = String.Empty; + switch (polytope) { + case Shapes.TETRAHEDRON: + ret = "Tetrahedron"; + break; + case Shapes.CUBE: + ret = "Cube"; + break; + case Shapes.OCTAHEDRON: + ret = "Octahedron"; + break; + case Shapes.ICOSAHEDRON: + ret = "Icosahedron"; + break; + case Shapes.DODECAHEDRON: + ret = "Dodecahedron"; + break; + case Shapes.DOUBLE_TETRAHEDRON: + ret = "Double Tetrahedron"; + break; + case Shapes.ICOSIDODECAHEDRON: + ret = "Icosidodecahedron"; + break; + Default: + ret = "Unknown"; + break; + } + return ret; + } + + public void SetPolytope (int type) + { + polytope = (Qf.Shapes)type; + + switch (type) { + + case 0: { + + n = new double[4][]; + n[0] = new double[] {0,0,1.0}; + n[1] = new double[] {0.9428090415820634,0,-0.3333333333333333}; + n[2] = new double[] {-0.4714045207910317,0.816496580927726,-0.3333333333333333}; + n[3] = new double[] {-0.4714045207910317, -0.816496580927726, -0.3333333333333333}; + + break; + } + + case 1: { + + n = new double[8][]; + n[0] = new double[] {0, 0, 1.0}; + n[1] = new double[] {0.9428090415820634, 0, 0.3333333333333333}; + n[2] = new double[] {-0.4714045207910317, 0.816496580927726, 0.3333333333333333}; + n[3] = new double[] {-0.4714045207910317, -0.816496580927726, 0.3333333333333333}; + n[4] = new double[] {0.4714045207910317, 0.816496580927726, -0.3333333333333333}; + n[5] = new double[] {0.4714045207910317, -0.816496580927726, -0.3333333333333333}; + n[6] = new double[] {-0.9428090415820634, 0, -0.3333333333333333}; + n[7] = new double[] {0, 0, -1.0}; + break; + } + + case 2: { + + n = new double[6][]; + n[0] = new double[] {0, 0, 1.0}; + n[1] = new double[] {1.0, 0, 0}; + n[2] = new double[] {0, 1.0, 0}; + n[3] = new double[] {-1.0, 0, 0}; + n[4] = new double[] {0, -1.0, 0}; + n[5] = new double[] {0, 0, -1.0}; + + break; + } + + case 3: { + + n = new double[12][]; + n[0] = new double[] {0, 0, 1.0}; + n[1] = new double[] {0.8944271909999159, 0, 0.4472135954999579}; + n[2] = new double[] {0.276393202250021, 0.85065080835204, 0.4472135954999579}; + n[3] = new double[] {-0.723606797749979, 0.5257311121191336, 0.4472135954999579}; + n[4] = new double[] {-0.723606797749979, -0.5257311121191336, 0.4472135954999579}; + n[5] = new double[] {0.276393202250021, -0.85065080835204, 0.4472135954999579}; + n[6] = new double[] {0.723606797749979, 0.5257311121191336, -0.4472135954999579}; + n[7] = new double[] {0.723606797749979, -0.5257311121191336, -0.4472135954999579}; + n[8] = new double[] {-0.276393202250021, 0.85065080835204, -0.4472135954999579}; + n[9] = new double[] {-0.8944271909999159, 0, -0.4472135954999579}; + n[10] = new double[] {-0.276393202250021, -0.85065080835204, -0.4472135954999579}; + n[11] = new double[] {0, 0, -1.0}; + + break; + } + + case 4: { + + n = new double[20][]; + n[0] = new double[] {0, 0, 1.0}; + n[1] = new double[] {0.6666666666666666, 0, 0.7453559924999299}; + n[2] = new double[] {-0.3333333333333333, 0.5773502691896257, 0.7453559924999299}; + n[3] = new double[] {-0.3333333333333333, -0.5773502691896257, 0.7453559924999299}; + n[4] = new double[] {0.7453559924999299, 0.5773502691896257, 0.3333333333333333}; + n[5] = new double[] {0.7453559924999299, -0.5773502691896257, 0.3333333333333333}; + n[6] = new double[] {-0.8726779962499649, 0.35682208977308993, 0.3333333333333333}; + n[7] = new double[] {0.12732200375003502, 0.9341723589627157, 0.3333333333333333}; + n[8] = new double[] {0.12732200375003502, -0.9341723589627157, 0.3333333333333333}; + n[9] = new double[] {-0.8726779962499649, -0.35682208977308993, 0.3333333333333333}; + n[10] = new double[] {0.8726779962499649, 0.35682208977308993, -0.3333333333333333}; + n[11] = new double[] {0.8726779962499649, -0.35682208977308993, -0.3333333333333333}; + n[12] = new double[] {-0.7453559924999299, 0.5773502691896257, -0.3333333333333333}; + n[13] = new double[] {-0.12732200375003502, 0.9341723589627157, -0.3333333333333333}; + n[14] = new double[] {-0.12732200375003502, -0.9341723589627157, -0.3333333333333333}; + n[15] = new double[] {-0.7453559924999299, -0.5773502691896257, -0.3333333333333333}; + n[16] = new double[] {0.3333333333333333, 0.5773502691896257, -0.7453559924999299}; + n[17] = new double[] {0.3333333333333333, -0.5773502691896257, -0.7453559924999299}; + n[18] = new double[] {-0.6666666666666666, 0, -0.7453559924999299}; + n[19] = new double[] {0, 0, -1.0}; + break; + } + + case 5: { + + n = new double[8][]; + n[0] = new double[] {0,0,1.0}; + n[1] = new double[] {0.9428090415820634,0,-0.3333333333333333}; + n[2] = new double[] {-0.4714045207910317,0.816496580927726,-0.3333333333333333}; + n[3] = new double[] {-0.4714045207910317, -0.816496580927726, -0.3333333333333333}; + n[4] = new double[] {0,0,-1.0}; + n[5] = new double[] {-0.9428090415820634,0,0.3333333333333333}; + n[6] = new double[] {0.4714045207910317,-0.816496580927726,0.3333333333333333}; + n[7] = new double[] {0.4714045207910317, 0.816496580927726, 0.3333333333333333}; + + break; + } + + case 6: { + + double u=0.5; + double v=0.8090169943749475; // (1/2)*phi + double w=0.3090169943749474; // (1/2)/phi + + n = new double[30][]; + n[0] = new double[] {1,0,0}; + n[1] = new double[] {-1,0,0}; + n[2] = new double[] {0,1,0}; + n[3] = new double[] {0,-1,0}; + n[4] = new double[] {0,0,1}; + n[5] = new double[] {0,0,-1}; + n[6] = new double[] {u,v,w}; + n[7] = new double[] {-u,v,w}; + n[8] = new double[] {u,-v,w}; + n[9] = new double[] {u,v,-w}; + n[10] = new double[] {-u,-v,w}; + n[11] = new double[] {u,-v,-w}; + n[12] = new double[] {-u,v,-w}; + n[13] = new double[] {-u,-v,-w}; + n[14] = new double[] {v,w,u}; + n[15] = new double[] {v,w,-u}; + n[16] = new double[] {-v,w,u}; + n[17] = new double[] {v,-w,u}; + n[18] = new double[] {-v,w,-u}; + n[19] = new double[] {-v,-w,u}; + n[20] = new double[] {v,-w,-u}; + n[21] = new double[] {-v,-w,-u}; + n[22] = new double[] {w,u,v}; + n[23] = new double[] {w,-u,v}; + n[24] = new double[] {w,u,-v}; + n[25] = new double[] {-w,u,v}; + n[26] = new double[] {w,-u,-v}; + n[27] = new double[] {-w,u,-v}; + n[28] = new double[] {-w,-u,v}; + n[29] = new double[] {-w,-u,-v}; + break; + } + + Default: + break; + } + } + } +} diff --git a/qtsharp/src/examples/samples/samples.build b/qtsharp/src/examples/samples/samples.build new file mode 100644 index 00000000..08a314ab --- /dev/null +++ b/qtsharp/src/examples/samples/samples.build @@ -0,0 +1,86 @@ +<?xml version="1.0"> +<project name="Qt# Samples" default="all"> + <target name="all"> + <compile output="hello.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="hello.cs" /> + </sources> + </compile> + + <compile output="display.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="display.cs" /> + </sources> + </compile> + + <compile output="emit.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="emit.cs" /> + </sources> + </compile> + + <compile output="eventhandling.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="eventhandling.cs" /> + </sources> + </compile> + + <compile output="mandelbrot.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="mandelbrot.cs" /> + </sources> + </compile> + + <compile output="scribblewindow.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="scribblewindow.cs" /> + </sources> + </compile> + + <compile output="qfractals.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="quantumfractals.cs" /> + </sources> + </compile> + + <compile output="mandelbrot2.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="mandelbrot2.cs" /> + </sources> + </compile> + + + </target> +</project> diff --git a/qtsharp/src/examples/samples/scribblewindow.cs b/qtsharp/src/examples/samples/scribblewindow.cs new file mode 100644 index 00000000..6b594eb8 --- /dev/null +++ b/qtsharp/src/examples/samples/scribblewindow.cs @@ -0,0 +1,212 @@ +// scribblewindow.cs - Qt# scribblewindow +// +// Author: Adam Treat <manyoso@yahoo.com> +// (c) 2002 Adam Treat +// Licensed under the terms of the GNU GPL + +namespace QtSamples { + + using Qt; + using System; + + [DeclareQtSignal ("colorChanged(QColor)")] + [DeclareQtSignal ("load(QString)")] + [DeclareQtSignal ("save(QString)")] + public class ScribbleWindow : QMainWindow { + + private QMenuBar menubar; + private QPopupMenu filemenu; + private QPopupMenu aboutmenu; + private QScrollView scrollview; + public ScribbleArea scribblearea; + + enum Color {Black, Red, Blue, Green, Yellow}; + + public static int Main (String[] args) + { + QApplication app = new QApplication (args); + ScribbleWindow demo = new ScribbleWindow (); + demo.SetGeometry (50, 500, 400, 400); + app.SetMainWidget (demo); + demo.SetCaption ("Qt# 0.7!"); + demo.Show (); + return app.Exec (); + } + + ScribbleWindow () : base (null, null) + { + filemenu = new QPopupMenu (null, "filemenu"); + filemenu.InsertItem ("&Load", this, SLOT ("SlotLoad()") ); + filemenu.InsertItem ("&Save", this, SLOT ("SlotSave()") ); + filemenu.InsertSeparator (); + filemenu.InsertItem ("&Quit", qApp, SLOT ("quit()")); + + aboutmenu = new QPopupMenu (null, "helpmenu"); + aboutmenu.InsertItem ("&About Qt-Sharp", this, SLOT ("SlotAboutQtSharp()")); + aboutmenu.InsertItem ("&About Qt", this, SLOT ("SlotAboutQt()")); + + menubar = new QMenuBar (this, ""); + menubar.InsertItem ("&File", filemenu); + menubar.InsertItem ("&Color", this, SLOT("SlotColorChooser()")); + menubar.InsertItem ("&About", aboutmenu); + + scrollview = new QScrollView (this); + scrollview.SetGeometry (0, menubar.Height (), Width (), Height () - menubar.Height ()); + scribblearea = new ScribbleArea (this); + scribblearea.SetGeometry (0, 0, 1000, 1000); + scrollview.AddChild (scribblearea); + this.SetCentralWidget (scrollview); + SetMaximumSize (Width (), Height () - menubar.Height ()); + + QObject.Connect (this, SIGNAL ("colorChanged(QColor)"), + scribblearea, SLOT ("SlotSetColor(QColor)") ); + QObject.Connect (this, SIGNAL ("load(QString)"), + scribblearea, SLOT ("PerformLoad(QString)") ); + QObject.Connect (this, SIGNAL ("save(QString)"), + scribblearea, SLOT ("PerformSave(QString)") ); + } + + public void SlotLoad () + { + string filename = QFileDialog.GetOpenFileName (".", "*.bmp", this, + null, "Load File", QString.Null, true); + + if ( filename != null ) + Emit ("load(QString)", (QString) filename); + } + + public void SlotSave () + { + string filename = QFileDialog.GetSaveFileName (".", "*.bmp", this, + null, "Save File", QString.Null, true); + + if ( filename != null ) + { + if ( ! filename.ToLower().EndsWith(".bmp") ) + filename += ".bmp"; + Emit ("save(QString)", (QString) filename); + } + } + + public void SlotAboutQtSharp () + { + QMessageBox.Information (this, "About Qt# 0.7", + "A Qt (http://www.trolltech.com) to C# language binding. \n" + + "Qt# is compatible with Mono (http://go-mono.org) and\n" + + "Portable.NET (http://www.southern-storm.com.au/portable_net.html)\n" + + "(c) 2002 Adam Treat. Licensed under the terms of the GNU GPL.\n" + ); + } + + public void SlotAboutQt () + { + QMessageBox.AboutQt (this, "About Qt"); + } + + public void SlotColorChooser () + { + QColor chosenColor = QColorDialog.GetColor(); + if (chosenColor.IsValid()) + Emit ("colorChanged(QColor)", chosenColor); + } + + public class ScribbleArea : QFrame { + private QPoint last; + private QPixmap buffer; + private QColor currentcolor = new QColor("Black"); + private QPopupMenu popupmenu; + + public ScribbleArea (QWidget parent) : base (parent) + { + buffer = new QPixmap (); + last = new QPoint (); + SetBackgroundMode (Qt.BackgroundMode.NoBackground); + + popupmenu = new QPopupMenu(); + popupmenu.InsertItem ("&Clear", this, SLOT ("SlotClearArea()") ); + + mouseMoveEvent += new MouseMoveEvent (MouseMoved); + mousePressEvent += new MousePressEvent (MousePressed); + paintEvent += new PaintEvent (PerformPaint); + resizeEvent += new ResizeEvent (PerformResize); + } + + public void PerformLoad (QString filename) + { + if ( ! buffer.Load(filename) ) + QMessageBox.Warning (null, "Load error", "Could not load file"); + Repaint(); + } + + public void PerformSave (QString filename) + { + if ( ! buffer.Save (filename, "BMP") ) + QMessageBox.Warning( null, "Save error", "Could not save file"); + } + + public void SlotClearArea () + { + buffer.Fill( new QColor ("white") ); + BitBlt (this, 0, 0, buffer, 0, 0, -1, -1, Qt.RasterOp.CopyROP, false); + } + + + public void SlotSetColor (QColor color) + { + currentcolor = color; + } + + // Note, Dispose() is called on QPoints here to increase performance + // of the UI. Otherwise, the GC would let dead QPoint instances pile + // up and delete them all at once, causing the UI to pause while it frees + // memory. (This happens because the GC runs in the same thread as the + // application.) + + protected void MousePressed (QMouseEvent e) + { + if (e.Button() == ButtonState.RightButton ) + popupmenu.Exec (QCursor.Pos ()); + else { + last.Dispose (); + last = e.Pos(); + } + } + + protected void MouseMoved (QMouseEvent e) + { + QPainter windowPainter = new QPainter (); + QPainter bufferPainter = new QPainter (); + + windowPainter.Begin (this); + bufferPainter.Begin (buffer); + + windowPainter.SetPen (currentcolor); + bufferPainter.SetPen (currentcolor); + + windowPainter.DrawLine (last, e.Pos()); + bufferPainter.DrawLine (last, e.Pos()); + + windowPainter.End (); + bufferPainter.End (); + + last.Dispose (); + last = e.Pos (); + } + + protected void PerformPaint (QPaintEvent e) + { + BitBlt(this, 0, 0, buffer, + 0, 0, -1, -1, RasterOp.CopyROP, false); + } + + protected void PerformResize (QResizeEvent e) + { + QPixmap save = new QPixmap (buffer); + buffer.Resize (e.Size()); + buffer.Fill (new QColor("white")); + BitBlt (buffer, 0, 0, save, + 0, 0, -1, -1, RasterOp.CopyROP, false); + } + } + } +} diff --git a/qtsharp/src/examples/test-results.html b/qtsharp/src/examples/test-results.html new file mode 100644 index 00000000..43ddae93 --- /dev/null +++ b/qtsharp/src/examples/test-results.html @@ -0,0 +1,203 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> + +<HTML> +<HEAD> + + <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1"> + <TITLE></TITLE> + <META NAME="GENERATOR" CONTENT="OpenOffice.org 1.0.2 (Linux)"> + <META NAME="CREATED" CONTENT="20021229;19061900"> + <META NAME="CHANGED" CONTENT="20030209;3092000"> + + <STYLE> + <!-- + BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Albany"; font-size:x-small } + --> + </STYLE> + +</HEAD> + +<BODY TEXT="#000000"> +<TABLE FRAME=VOID CELLSPACING=0 COLS=7 RULES=GROUPS BORDER=1> + <COLGROUP><COL WIDTH=86><COL WIDTH=86><COL WIDTH=86><COL WIDTH=86><COL WIDTH=130><COL WIDTH=86><COL WIDTH=86></COLGROUP> + <TBODY> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=RIGHT SDVAL="37661" SDNUM="1033;0;YYYY-MM-DD"><FONT SIZE=3>2003-02-09</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Mono 0.19</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><BR></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Ilrun 0.5.2</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>T3</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Ilrun</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Mono</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Mandelbrot</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Ilrun</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Mono</FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Csc</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Csc</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Fail (4)</FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Cscc</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Cscc</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Fail (4)</FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Mcs</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Mcs</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Fail (2)</FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>T5</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Ilrun</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Mono</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Quantumfractals</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Ilrun</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Mono</FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Csc</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Csc</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Fail (1)</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Cscc</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Cscc</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Fail (1)</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Mcs</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Mcs</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Fail (1)</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>T7</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Ilrun</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Mono</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Scribblewindow</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Ilrun</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Mono</FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Csc</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Csc</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Fail (3)</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Cscc</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Cscc</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Fail (3)</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Mcs</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Mcs</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Fail (3)</FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3>Pass</FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><BR></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><BR></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><BR></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + </TR> + <TR> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=130 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + <TD WIDTH=86 HEIGHT=19 ALIGN=LEFT><FONT SIZE=3><BR></FONT></TD> + </TR> + <TR> + <TD COLSPAN=7 WIDTH=644 HEIGHT=19 ALIGN=LEFT><FONT FACE="Arial" SIZE=3>(1) No crashes, but no drawing</FONT></TD> + </TR> + <TR> + <TD COLSPAN=7 WIDTH=644 HEIGHT=19 ALIGN=LEFT><FONT FACE="Arial" SIZE=3>(2) Closing window results in a double QObject deletion and then application locks up</FONT></TD> + </TR> + <TR> + <TD COLSPAN=7 WIDTH=644 HEIGHT=37 ALIGN=LEFT><FONT FACE="Arial" SIZE=3>(3) Random lockups occur after a large amount of scribbling is performed; background fails to initialized properly sometimes</FONT></TD> + </TR> + <TR> + <TD COLSPAN=7 WIDTH=644 HEIGHT=37 ALIGN=LEFT><FONT FACE="Arial" SIZE=3>(4) Closing window results in application locking up (unlike (2) there is no double deletion message)</FONT></TD> + </TR> + </TBODY> +</TABLE> +<!-- ************************************************************************** --> +</BODY> + +</HTML> diff --git a/qtsharp/src/examples/test-results.sxc b/qtsharp/src/examples/test-results.sxc Binary files differnew file mode 100644 index 00000000..6caab7e0 --- /dev/null +++ b/qtsharp/src/examples/test-results.sxc diff --git a/qtsharp/src/examples/tutorials/Makefile.am b/qtsharp/src/examples/tutorials/Makefile.am new file mode 100644 index 00000000..52d1adce --- /dev/null +++ b/qtsharp/src/examples/tutorials/Makefile.am @@ -0,0 +1,24 @@ +all: + csant -D$(CSC_NAME)=$(CSC) -C $(CSC_NAME) + chmod 0755 *.exe + +clean: + rm -rf *.exe + +distclean: clean + +install: + mkdir -p $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials + cat t1.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials/t1.cs.gz + cat t2.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials/t2.cs.gz + cat t3.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials/t3.cs.gz + cat t4.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials/t4.cs.gz + cat t5.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials/t5.cs.gz + cat t6.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials/t6.cs.gz + cat t7.cs | gzip -9c > $(DESTDIR)$(datadir)/doc/qtcsharp/tutorials/t7.cs.gz + +uninstall: + rm -rf $(datadir)/doc/qtcsharp/tutorials/*.cs.gz + rm -rf $(datadir)/doc/qtcsharp/tutorials/*.cs + +.PHONY: all clean distclean install diff --git a/qtsharp/src/examples/tutorials/README b/qtsharp/src/examples/tutorials/README new file mode 100644 index 00000000..21e302ea --- /dev/null +++ b/qtsharp/src/examples/tutorials/README @@ -0,0 +1,14 @@ +These tutorials are translations of the C++ versions provided with +Qt 3.0.x. Tutorial 7 is included, but it does not yet work properly +because it is not yet possible to create custom signals. + +Assuming that you're using Mono and that Qt.dll has been +installed in /opt/kde/lib you can compile the first tutorial +using + +> mcs -L /opt/kde/lib -r Qt t1.cs + +To run the first tutorial, use + +> mono t1.exe + diff --git a/qtsharp/src/examples/tutorials/t1.cs b/qtsharp/src/examples/tutorials/t1.cs new file mode 100644 index 00000000..3dc075b1 --- /dev/null +++ b/qtsharp/src/examples/tutorials/t1.cs @@ -0,0 +1,23 @@ +// Qt# tutorial 1 +// Based on the Qt tutorial +// Implemented by Marcus Urban + +using System; +using Qt; + +public class Example { + + public static int Main (String[] args) + { + QApplication a = new QApplication (args); + + QPushButton hello = new QPushButton ("Hello world!", null); + // In C++, the second parameter is 0 (null pointer) + + hello.Resize (100, 30); + + a.SetMainWidget (hello); + hello.Show (); + return a.Exec (); + } +} diff --git a/qtsharp/src/examples/tutorials/t2.cs b/qtsharp/src/examples/tutorials/t2.cs new file mode 100644 index 00000000..44eb304b --- /dev/null +++ b/qtsharp/src/examples/tutorials/t2.cs @@ -0,0 +1,28 @@ +// Qt# tutorial 2 +// Based on the Qt tutorial +// Implemented by Marcus Urban + +using System; +using Qt; + +public class Example { + + public static int Main (String[] args) + { + QApplication a = new QApplication (args); + + QPushButton quit = new QPushButton ("Quit", null); + // In C++, the second parameter is 0 (null pointer) + + quit.Resize (75, 30); + quit.SetFont (new QFont ("Times", 18, QFont.Weight.Bold)); + // In C++, QFont::Bold is sufficient + + QObject.Connect ( quit, QtSupport.SIGNAL ("clicked()"), a, QtSupport.SLOT ("Quit()") ); + // SIGNAL and SLOT are static functions of QtSupport + + a.SetMainWidget (quit); + quit.Show (); + return a.Exec (); + } +} diff --git a/qtsharp/src/examples/tutorials/t3.cs b/qtsharp/src/examples/tutorials/t3.cs new file mode 100644 index 00000000..a1c76ce4 --- /dev/null +++ b/qtsharp/src/examples/tutorials/t3.cs @@ -0,0 +1,29 @@ +// Qt# tutorial 3 +// Based on the Qt tutorial +// Implemented by Marcus Urban + +using System; +using Qt; + + +public class Example { + + public static int Main (String[] args) + { + QApplication a = new QApplication (args); + + QVBox box = new QVBox (); + box.Resize (200, 120); + + QPushButton quit = new QPushButton ("Quit", box); + quit.SetFont (new QFont ("Times", 18, QFont.Weight.Bold)); + // In C++, QFont::Bold is sufficient + + QObject.Connect ( quit, QtSupport.SIGNAL ("clicked()"), a, QtSupport.SLOT ("Quit()") ); + // SIGNAL and SLOT are static functions of QtSupport + + a.SetMainWidget (box); + box.Show (); + return a.Exec (); + } +} diff --git a/qtsharp/src/examples/tutorials/t4.cs b/qtsharp/src/examples/tutorials/t4.cs new file mode 100644 index 00000000..5373af19 --- /dev/null +++ b/qtsharp/src/examples/tutorials/t4.cs @@ -0,0 +1,44 @@ +// Qt# tutorial 4 +// Based on the Qt tutorial +// Implemented by Marcus Urban + +using System; +using Qt; + +public class MyWidget : QWidget { + + public MyWidget (QWidget parent, String name) : base (parent, name) + // In C++, parent and name have default values of 0 (null pointer) + { + this.SetMinimumSize (200, 120); + this.SetMaximumSize (200, 120); + + QPushButton quit = new QPushButton ("Quit", this, "quit"); + quit.SetGeometry (62, 40, 75, 30); + quit.SetFont (new QFont ("Times", 18, QFont.Weight.Bold) ); + + Connect ( quit, SIGNAL ("clicked()"), qApp, SLOT ("Quit()") ); + // In C++, qApp is a global variable. Here it's a property of the QObject + // class, which we inherit, giving the same effect. We also inherit the + // static method connect(). + } + + public MyWidget (QWidget parent) : this (parent, "") {} + public MyWidget () : this (null, "") {} + // Note that it was necessary to use an empty string ("") + // in the above. Using null does not work at runtime. +} + +public class Example { + + public static int Main (String[] args) + { + QApplication a = new QApplication (args); + + MyWidget w = new MyWidget (); + w.SetGeometry (100, 100, 200, 120); + a.SetMainWidget (w); + w.Show (); + return a.Exec (); + } +} diff --git a/qtsharp/src/examples/tutorials/t5.cs b/qtsharp/src/examples/tutorials/t5.cs new file mode 100644 index 00000000..4feadae5 --- /dev/null +++ b/qtsharp/src/examples/tutorials/t5.cs @@ -0,0 +1,45 @@ +// Qt# tutorial 5 +// Based on the Qt tutorial +// Implemented by Marcus Urban + +using System; +using Qt; + +public class MyWidget : QVBox { + + public MyWidget (QWidget parent, String name) : base (parent, name) + // In C++, parent and name have default values of 0 (null pointer) + { + QPushButton quit = new QPushButton ("Quit", this, "quit"); + quit.SetFont ( new QFont ("Times", 18, QFont.Weight.Bold) ); + + QObject.Connect ( quit, SIGNAL ("clicked()"), qApp, SLOT ("Quit()") ); + + QLCDNumber lcd = new QLCDNumber (2, this, "lcd" ); + + QSlider slider = new QSlider (Orientation.Horizontal, this, "slider"); + // Note that Orientation is defined in the Qt class + slider.SetRange (0, 99); + slider.SetValue (0); + + Connect ( slider, SIGNAL ("valueChanged(int)"), lcd, SLOT ("Display(int)") ); + } + + public MyWidget (QWidget parent) : this (parent, "") {} + public MyWidget () : this (null, "") {} + // Note that it was necessary to use an empty string ("") + // in the above. Using null does not work at runtime. +} + +public class Example { + + public static int Main (String[] args) + { + QApplication a = new QApplication (args); + + MyWidget w = new MyWidget (); + a.SetMainWidget (w); + w.Show (); + return a.Exec (); + } +} diff --git a/qtsharp/src/examples/tutorials/t6.cs b/qtsharp/src/examples/tutorials/t6.cs new file mode 100644 index 00000000..223e0ff1 --- /dev/null +++ b/qtsharp/src/examples/tutorials/t6.cs @@ -0,0 +1,58 @@ +// Qt# tutorial 6 +// Based on the Qt tutorial +// Implemented by Marcus Urban + +using System; +using Qt; + +public class LCDRange : QVBox { + + public LCDRange (QWidget parent, String name) : base (parent, name) + // In C++, parent and name have default values of 0 (null pointer) + { + QLCDNumber lcd = new QLCDNumber (2, this, "lcd" ); + QSlider slider = new QSlider (Orientation.Horizontal, this, "slider"); + slider.SetRange (0, 99); + slider.SetValue (0); + + Connect ( slider, SIGNAL ("valueChanged(int)"), lcd, SLOT ("Display(int)") ); + } + + public LCDRange (QWidget parent) : this (parent, "") {} + public LCDRange () : this (null, "") {} + // Note that it was necessary to use an empty string ("") + // in the above. Using null does not work at runtime. +} + +public class MyWidget : QVBox { + + MyWidget (QWidget parent, String name) : base (parent, name) + { + QPushButton quit = new QPushButton ("Quit", this, "quit"); + quit.SetFont ( new QFont ("Times", 18, QFont.Weight.Bold) ); + + Connect ( quit, SIGNAL ("clicked()"), qApp, SLOT ("Quit()") ); + + QGrid grid = new QGrid (4, this); + + for ( int c =0; c < 4; c++ ) + for ( int r = 0; r < 4; r++ ) + new LCDRange (grid); + } + + public MyWidget (QWidget parent) : this (parent, "") {} + public MyWidget () : this (null, "") {} +} + +public class Example { + + public static int Main (String[] args) + { + QApplication a = new QApplication (args); + + MyWidget w = new MyWidget (); + a.SetMainWidget (w); + w.Show (); + return a.Exec (); + } +} diff --git a/qtsharp/src/examples/tutorials/t7.cs b/qtsharp/src/examples/tutorials/t7.cs new file mode 100644 index 00000000..de9011f2 --- /dev/null +++ b/qtsharp/src/examples/tutorials/t7.cs @@ -0,0 +1,78 @@ +// Qt# tutorial 7 +// Based on the Qt tutorial +// Implemented by Marcus Urban +// +// This example currently does not funtion properly because custom +// signals are not yet implemented. + +using System; +using Qt; + +[DeclareQtSignal ("valueChanged(int)")] +public class LCDRange : QVBox { + + QSlider slider; + + public LCDRange (QWidget parent, String name) : base (parent, name) + // In C++, parent and name have default values of 0 (null pointer) + { + QLCDNumber lcd = new QLCDNumber (2, this, "lcd" ); + slider = new QSlider (Orientation.Horizontal, this, "slider"); + slider.SetRange (0, 99); + slider.SetValue (0); + + Connect ( slider, SIGNAL ("valueChanged(int)"), lcd, SLOT ("Display(int)") ); + Connect ( slider, SIGNAL ("valueChanged(int)"), SIGNAL ("valueChanged(int)")); + } + + public LCDRange (QWidget parent) : this (parent, "") {} + public LCDRange () : this (null, "") {} + // Note that it was necessary to use an empty string ("") + // in the above. Using null does not work at runtime. + + public void SetValue (int value) + { + slider.SetValue (value); + } +} + +public class MyWidget : QVBox { + + MyWidget (QWidget parent, String name) : base (parent, name) + { + QPushButton quit = new QPushButton ("Quit", this, "quit"); + quit.SetFont ( new QFont ("Times", 18, QFont.Weight.Bold) ); + + Connect ( quit, SIGNAL ("clicked()"), qApp, SLOT ("Quit()") ); + + QGrid grid = new QGrid (4, this); + + LCDRange previous = null; + + for ( int c =0; c < 4; c++ ) { + for ( int r = 0; r < 4; r++ ) { + LCDRange lr = new LCDRange (grid); + if (previous != null) + Connect (lr, SIGNAL ("valueChanged(int)"), + previous, SLOT ("SetValue(int)") ); + previous = lr; + } + } + } + + public MyWidget (QWidget parent) : this (parent, "") {} + public MyWidget () : this (null, "") {} +} + +public class Example { + + public static int Main (String[] args) + { + QApplication a = new QApplication (args); + + MyWidget w = new MyWidget (); + a.SetMainWidget (w); + w.Show (); + return a.Exec (); + } +} diff --git a/qtsharp/src/examples/tutorials/tutorials.build b/qtsharp/src/examples/tutorials/tutorials.build new file mode 100644 index 00000000..f3b211f2 --- /dev/null +++ b/qtsharp/src/examples/tutorials/tutorials.build @@ -0,0 +1,75 @@ +<?xml version="1.0"> +<project name="Qt# Samples" default="all"> + <target name="all"> + <compile output="t1.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="t1.cs" /> + </sources> + </compile> + + <compile output="t2.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="t2.cs" /> + </sources> + </compile> + + <compile output="t3.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="t3.cs" /> + </sources> + </compile> + + <compile output="t4.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="t4.cs" /> + </sources> + </compile> + + <compile output="t5.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="t5.cs" /> + </sources> + </compile> + + <compile output="t6.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="t6.cs" /> + </sources> + </compile> + + <compile output="t7.exe" target="exe" optimize="true"> + <references> + <file name="../../bindings/Qt.dll" /> + </references> + + <sources> + <file name="t7.cs" /> + </sources> + </compile> + + </target> +</project> diff --git a/qtsharp/src/generator/Converter.cs b/qtsharp/src/generator/Converter.cs new file mode 100644 index 00000000..143aa9da --- /dev/null +++ b/qtsharp/src/generator/Converter.cs @@ -0,0 +1,464 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +using System.Text; +using System.Collections; +using System.Collections.Specialized; +//using System.Text.RegularExpressions; + +namespace QtCSharp { + + public class Converter { + + ArrayList qtypes; + QType qtype; + QTypeMap qmap; + StringCollection sigs; + StringBuilder sig; + + public Converter (ArrayList qtypes, QType qtype, QTypeMap qmap) + { + this.qtypes = qtypes; + this.qtype = qtype; + this.qmap = qmap; + sigs = new StringCollection (); + sig = new StringBuilder (); + if (!qtype.IsConverted) + Convert (); + Ancestors (); + qtype.IsConverted = true; + } + + public QType GetQType () + { + return qtype; + } + + public void Convert () + { + foreach (QCtor qctor in qtype.QCtors) { + qctor.Name = qmap.ReservedType (qctor.Name); + if (!qctor.Overload) { + ConvertCSharpParams (qctor.CSharpParams); + ConvertPinvokeCallParams (qctor.PinvokeCallParams); + ConvertPinvokeParams (qctor.PinvokeParams); + } else { + ConvertOverloadParams (qctor.OverloadParams); + } + CheckSig (qctor); + } + foreach (QMethod qmethod in qtype.QMethods) { + if (qmethod.Name.StartsWith ("protected_")) + qmethod.Name = qmethod.Name.Replace ("protected_", ""); + qmethod.Name = qmap.ReservedType (qmethod.Name); + if (!qmethod.Overload) { + ConvertCSharpParams (qmethod.CSharpParams); + ConvertPinvokeCallParams (qmethod.PinvokeCallParams); + ConvertPinvokeParams (qmethod.PinvokeParams); + ConvertReturnType (qmethod); + } else { + ConvertOverloadParams (qmethod.OverloadParams); + ConvertReturnType (qmethod); + } + qmethod.PascalName = ToPascalCase (qmethod.Name); + CheckSig (qmethod); + } + } + + public void CheckSig (QMethod qmethod) + { + sig.Append (qmethod.PascalName); + foreach (QParam qparam in qmethod.CSharpParams) { + sig.Append (qparam.Type); + } + if (!sigs.Contains (sig.ToString ()) && !sigs.Contains ("The"+sig.ToString ())) { + sigs.Add (sig.ToString ()); + } else { + Console.WriteLine ("Throttling "+qtype.Name+" "+qmethod.PascalName); + qmethod.Throttle = true; + } + sig.Length = 0; + } + + public void CheckSig (QCtor qctor) + { + sig.Append (qctor.Name); + foreach (QParam qparam in qctor.CSharpParams) { + //if (qparam.Type == "QWidget" && qparam.Name == "parent") + if (qparam.Name == "parent") + qctor.Parent = true; + sig.Append (qparam.Type); + } + if (!sigs.Contains (sig.ToString ())) + sigs.Add (sig.ToString ()); + else { + Console.WriteLine ("Throttling "+qtype.Name+" "+qctor.Access+" "+qctor.Name); + qctor.Throttle = true; + } + sig.Length = 0; + } + + public void ConvertCSharpParams (ArrayList qparams) + { + foreach (QParam qparam in qparams) { + qparam.Type = qmap.ArrayType (qparam.Type); + qparam.Type = StripBad (qparam.Type); + qparam.Type = qmap.CSharpType (qparam.Type); + qparam.Type = ConvertQString (qparam.Type); + qparam.Name = qmap.ReservedType (qparam.Name); + } + } + + public void ConvertPinvokeCallParams (ArrayList qparams) + { + foreach (QParam qparam in qparams) { + qparam.Type = qmap.ArrayType (qparam.Type); + qparam.Type = StripBad (qparam.Type); + qparam.Type = qmap.CSharpType (qparam.Type); + qparam.Name = qmap.ReservedType (qparam.Name); + if (IsQObject (qparam.Type)) + qparam.Name = qparam.Name + ".RawObject"; + if (IsIQObject (qparam.Type)) + qparam.Name = qparam.Name + "." + StripInterface (qparam.Type) + " ()"; + /* if (IsQString (qparam.Type)) + qparam.Name = "new QString ("+StripPtr(qparam.Name)+").RawObject";*/ + qparam.Type = ""; + } + } + + public void ConvertPinvokeParams (ArrayList qparams) + { + foreach (QParam qparam in qparams) { + qparam.Type = qmap.ArrayType (qparam.Type); + qparam.Type = StripBad (qparam.Type); + qparam.Type = qmap.PinvokeType (qparam.Type); + qparam.Name = qmap.ReservedType (qparam.Name); + if (IsQObject (qparam.Type) || IsIQObject (qparam.Type)) + qparam.Type = "IntPtr"; + } + } + + public void ConvertOverloadParams (ArrayList qparams) + { + foreach (QParam qparam in qparams) { + qparam.Type = qmap.ArrayType (qparam.Type); + qparam.Type = StripBad (qparam.Type); + qparam.Type = qmap.CSharpType (qparam.Type); + OverloadedLastParam (qparam, qparams); + OverloadedNull (qparam); + OverloadedQString (qparam); + OverloadedQObject (qparam); + OverloadedNestedEnum (qparam); + OverloadedNullString (qparam); + OverloadedBool (qparam); + OverloadedEnum (qparam); + OverloadedArray (qparam); + OverloadedHex (qparam); + OverloadedDefault (qparam); + } + } + + public void OverloadedLastParam (QParam qparam, ArrayList qparams) + { + if (qparams.IndexOf (qparam) != qparams.Count - 1) + qparam.Default = null; + } + + public void OverloadedNull (QParam qparam) + { + if (qparam.Default == null) + qparam.Type = ""; + } + + public void OverloadedQString (QParam qparam) + { + if (IsQString (qparam.Type)){ + qparam.Type = "QString"; + if (qparam.Default == "QString::null") + qparam.Default = "null"; + else if (qparam.Default == "quotquot") + qparam.Default = "null"; + else + qparam.Default = "\""+qparam.Default+"\""; + } + } + + public void OverloadedQObject (QParam qparam) + { + if (IsQObject (qparam.Type)) { + qparam.Name = "new "+qparam.Type+" ()"; + qparam.Type = ""; + } + } + + public void OverloadedNestedEnum (QParam qparam) + { + foreach (QEnum qenum in qtype.QEnums) { + if (qparam.Type == qenum.Name) { + foreach (QItem qitem in qenum.QItems) { + if (qparam.Default == qitem.Name) { + qparam.Name = qparam.Type+"."+qparam.Default; + qparam.Type = ""; + } + } + } + } + } + + public void OverloadedNullString (QParam qparam) + { + if (qmap.OverloadType (qparam.Type) == "string" && qparam.Default == "0") { + qparam.Type = ""; + qparam.Name = "\"\""; + } + } + + public void OverloadedBool (QParam qparam) + { + if (qparam.Default == "TRUE") { + qparam.Type = ""; + qparam.Name = "true"; + } else if (qparam.Default == "FALSE") { + qparam.Type = ""; + qparam.Name = "false"; + } else if (qparam.Type == "bool" && qparam.Default == "1") { + qparam.Type = ""; + qparam.Name = "true"; + } else if (qparam.Type == "bool" && qparam.Default == "0") { + qparam.Type = ""; + qparam.Name = "false"; + } + } + + public void OverloadedEnum (QParam qparam) + { + if (IsEnum (qparam.Type)) { + qparam.Name = qparam.Type + "." + EnumValue (qparam.Type, qparam.Default); + qparam.Type = ""; + } + } + + public void OverloadedArray (QParam qparam) + { + if (IsArray (qparam.Type)) { + qparam.Name = "new "+qparam.Type+"{"+qparam.Default+"}"; + qparam.Type = ""; + } + } + + public void OverloadedHex (QParam qparam) + { + if (qparam.Default == "0xffffffff") + qparam.Default = "1"; + } + + public void OverloadedDefault (QParam qparam) + { + if (qparam.Type != "") { + qparam.Type = "("+qmap.OverloadType (qparam.Type)+")"; + qparam.Name = qparam.Default; + } + } + + public void ConvertReturnType (QMethod qmethod) + { + qmethod.Return = qmap.ArrayType (qmethod.Return); + qmethod.Return = qmap.PinvokeType (StripBad (qmethod.Return)); + if (IsQObject(qmethod.Return)) { + qmethod.Boxer = true; + qmethod.PinvokeReturn = "IntPtr"; + } else { + qmethod.PinvokeReturn = qmethod.Return; + } + if (qmethod.Return == "QString") { + qmethod.QStringReturn = true; + } + } + + public string StripBad (string str) + { + str = StripPointer (str); + str = StripColon (str); + return str; + } + + public string StripPointer (string str) + { + str = str.Replace ("*", ""); + str = str.Replace ("&", ""); + if (str.StartsWith ("amp")) + str = str.Replace ("amp", ""); + if (str.EndsWith ("amp")) + str = str.Replace ("amp", ""); + return str; + } + + public string ConvertQString (string str) + { + if (IsQString (str)) + return "QString"; + else + return str; + } + + public string StripColon (string str) + { + return str = str.Replace ("::", "."); + } + + public string StripPtr (string str) + { + return str = str.Replace (".RawObject", ""); + } + + public string StripInterface (string str) + { + return str = str.Replace ("I", ""); + } + + public string StripEnum (string str) + { + str = StripColon (str); + if (str.IndexOf (".") > 0) + return str.Substring (str.IndexOf (".")+1); + else + return str; + } + + public string ToPascalCase (string name) + { + string pascal = System.Char.ToUpper (name[0]).ToString ()+name.Substring (1, name.Length -1); + foreach (QEnum qenum in qtype.QEnums) { + if (pascal == qenum.Name) + pascal = "The"+pascal; + } + return pascal; + } + + public string EnumValue (string type, string value) + { + bool match = false; + string enumname = StripEnum (type); + value = StripEnum (value); + + // There _has_ to be a better way, but I'm tired... + foreach (QType qtype in qtypes) { + foreach (QEnum qenum in qtype.QEnums) { + if (enumname == qenum.Name) { + foreach (QItem qitem in qenum.QItems) { + if (value == qitem.Name) { + match = true; + } + } + if (!match) { + foreach (QItem qitem in qenum.QItems) { + value = qitem.Name; + break; + } + } + } + } + } + return value; + } + + public void Ancestors () + { + if (qtype.IsInterface || qtype.QAncestors.Count < 2) + return; + + string iname = ""; + foreach (QAncestor qancestor in qtype.QAncestors) { + iname = qmap.InterfaceType (qancestor.Name); + foreach (QType _qtype in qtypes) { + if (_qtype.Name == qancestor.Name && iname != qancestor.Name) { + if (!_qtype.IsConverted) { + Converter converter = new Converter (qtypes, _qtype, qmap); + } + qtype.AddQMethod (instPointer (qancestor.Name)); + qancestor.QMethods = _qtype.QMethods; + qancestor.IsInterface = true; + qancestor.IName = iname; + foreach (QMethod qmethod in qancestor.QMethods) { + CheckSig (qmethod); + } + } + } + } + } + + public QMethod instPointer (string name) + { + QMethod qmethod = new QMethod (); + qmethod.Name = name; + qmethod.PascalName = name; + qmethod.Access = "public"; + qmethod.PinvokeReturn = "IntPtr"; + qmethod.Return = "IntPtr"; + qmethod.Id = "0"; + return qmethod; + } + + public bool IsQString (string str) + { + if (qtype.Name == "QString") + return true; + else if (IsQObject (str) && str == "QString") + return true; + else + return false; + } + + public bool IsQObject (string str) + { + //IndexOf is a hack to search for a char ;-) + if (str.StartsWith ("Q") && str.IndexOf (".") < 0) + return true; + else + return false; + } + + public bool IsIQObject (string str) + { + //IndexOf is a hack to search for a char ;-) + if (str == "IntPtr") return false; + if (str.StartsWith ("I") && str.IndexOf (".") < 0) + return true; + else + return false; + } + + public bool IsEnum (string str) + { + //IndexOf is a hack to search for a char ;-) + if (str.IndexOf (".") > 0) + return true; + else + return false; + } + + public bool IsArray (string str) + { + if (str.EndsWith ("[]")) + return true; + else + return false; + } + } +} diff --git a/qtsharp/src/generator/Generator.cs b/qtsharp/src/generator/Generator.cs new file mode 100644 index 00000000..68b1e031 --- /dev/null +++ b/qtsharp/src/generator/Generator.cs @@ -0,0 +1,97 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +using System.IO; + +namespace QtCSharp { + + public class Generator { + + void Usage () + { + Console.Write ( + "generator -f file.cs -d directory\n\n" + + " -f || --file file.xml The csharp source file to parse.\n\n" + + " -d || --directory Specifies the output directory.\n\n"); + } + + public static void Main (string[] args) + { + Generator gen = new Generator (args); + } + + public Generator (string[] args) + { + string xmlfile = null; + string directory = null; + + int argc = args.Length; + for (int i = 0; i < argc; i++) { + string arg = args[i]; + if (arg.StartsWith("-") || arg.StartsWith("/")) { + switch (arg) { + case "-f": case "--file": + if ((i + 1) >= argc) { + Usage(); + return; + } + xmlfile = args[++i]; + continue; + case "-d": case "--directory": + if ((i + 1) >= argc) { + Usage (); + return; + } + directory = args[++i]; + continue; + default: + Usage (); + return; + } + } + } + + if (xmlfile == null) { + Usage(); + return; + } else if (directory == null) { + Usage (); + return; + } + + if (!File.Exists (xmlfile)) { + Console.WriteLine ("\n No Xml file at {0}\n", args[0]); + return; + } + //if (!Directory.Exists( directory) && directory != null) { + + //Directory.CreateDirectory (directory); + //} + + ParseAPI parseapi = new ParseAPI (xmlfile); + QTypeMap qmap = new QTypeMap (); + Console.WriteLine ("Parsing "+parseapi.QTypes.Count+" Qt classes..."); + + foreach (QType qtype in parseapi.QTypes) { + Converter converter = new Converter (parseapi.QTypes, qtype, qmap); + Printer printer = new Printer (converter.GetQType (), directory); + } + } + } +} diff --git a/qtsharp/src/generator/Makefile.am b/qtsharp/src/generator/Makefile.am new file mode 100644 index 00000000..31532ae8 --- /dev/null +++ b/qtsharp/src/generator/Makefile.am @@ -0,0 +1,16 @@ +all: generator.exe + +generator.exe: $(wildcard *.cs) + csant -D$(CSC_NAME)=$(CSC) -C $(CSC_NAME) + chmod 755 $@ + +clean: + rm -rf generator.exe + +distclean: clean + +install: + +uninstall: + +.PHONY: all clean distclean install uninstall diff --git a/qtsharp/src/generator/ParseAPI.cs b/qtsharp/src/generator/ParseAPI.cs new file mode 100644 index 00000000..57569c7b --- /dev/null +++ b/qtsharp/src/generator/ParseAPI.cs @@ -0,0 +1,90 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +using System.IO; +using System.Xml; +using System.Collections; + +namespace QtCSharp { + + public class ParseAPI { + + XmlTextReader xtr; + ArrayList qtypes; + + public ParseAPI (string xmlfile) + { + xtr = new XmlTextReader (xmlfile); + qtypes = new ArrayList (); + Parse (); + } + + public ArrayList QTypes + { + get {return qtypes;} + } + + public void Parse () + { + Hashtable typehash = new Hashtable(); + while(xtr.Read ()) { + if (xtr.NodeType != XmlNodeType.EndElement) { + switch(xtr.Name) { + case "qtype": + QType t = AddQType (); + typehash[t.Name] = t; + continue; + default: + continue; + } + } + } + + foreach (QType t in qtypes) { + t.IsQObject = IsQObject(t, typehash); + } + } + + public QType AddQType () + { + Parser parser = new Parser (xtr.ReadOuterXml ()); + QType type = parser.GetQType (); + qtypes.Add (type); + return type; + } + + private static bool IsQObject(QType t, Hashtable typehash) + { + if (t.IsInterface) return false; + if (t.Name == "QObject") return true; + + foreach (QAncestor a in t.QAncestors) { + QType at = (QType)typehash[a.Name]; + if (at == null) + continue; + else if (at.Name == "QObject") + return true; + else if (IsQObject(at, typehash)) + return true; + } + + return false; + } + } +} diff --git a/qtsharp/src/generator/Parser.cs b/qtsharp/src/generator/Parser.cs new file mode 100644 index 00000000..cea811d3 --- /dev/null +++ b/qtsharp/src/generator/Parser.cs @@ -0,0 +1,323 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +using System.Collections; +using System.IO; +using System.Xml; + +namespace QtCSharp { + + public class Parser { + + XmlTextReader xtr; + QType qtype; + + public Parser (string xmlFragment) + { + qtype = new QType (); + XmlNameTable nt = new NameTable (); + XmlNamespaceManager nsMgr = new XmlNamespaceManager (nt); + XmlParserContext parserContext = new XmlParserContext (null, nsMgr, null, XmlSpace.None); + xtr = new XmlTextReader (xmlFragment, XmlNodeType.Document, parserContext); + Parse (); + OverLoad (); + NewQCtors (); + } + + public QType GetQType () + { + return qtype; + } + + public void Parse () + { + while(xtr.Read ()) { + if (xtr.NodeType != XmlNodeType.EndElement) { + switch (xtr.Name) { + case "qtype": + ParseQType (); + continue; + case "qancestor": + ParseQAncestor (); + continue; + case "qenum": + ParseQEnum (); + continue; + case "qctor": + ParseQCtor (); + continue; + case "qdctor": + ParseQDCtor (); + continue; + case "qmethod": + ParseQMethod (); + continue; + default: + continue; + } + } + } + } + + public void NewQCtors () + { + // A ctor for inherited classes + QCtor _qctor = new QCtor(); + _qctor.Name = qtype.Name; + _qctor.Access = "internal"; + _qctor.Inherited = true; + qtype.AddQCtor(_qctor); + + // A ctor for type boxing + QCtor __qctor = new QCtor(); + __qctor.Name = qtype.Name; + __qctor.Access = "internal"; + __qctor.Boxer = true; + QParam qparam = new QParam(); + qparam.Type = "IntPtr"; + qparam.Name = "_ptr"; + __qctor.AddCSharpParam(qparam); + qtype.AddQCtor(__qctor); + + // A dummy ctor + QCtor ___qctor = new QCtor(); + ___qctor.Name = qtype.Name; + ___qctor.Access = "internal"; + ___qctor.Dummy = true; + QParam ___qparam = new QParam(); + ___qparam.Type = "QNull"; + ___qparam.Name = "dummy"; + ___qctor.AddCSharpParam(___qparam); + qtype.AddQCtor(___qctor); + } + + public void OverLoad () + { + ArrayList additions = new ArrayList (); + + foreach (QCtor qctor in qtype.QCtors){ + foreach (QParam pinvokeparam in qctor.PinvokeParams) { + if (pinvokeparam.Default != null) { + QCtor _qctor = new QCtor(); + _qctor.Name = qctor.Name; + _qctor.Access = qctor.Access; + _qctor.Overload = true; + for (int j = 0; j < qctor.PinvokeParams.IndexOf(pinvokeparam)+1; j++) { + _qctor.AddPinvokeParam((QParam)qctor.PinvokeParams[j]); + _qctor.AddPinvokeCallParam((QParam)qctor.PinvokeCallParams[j]); + _qctor.AddCSharpParam((QParam)qctor.CSharpParams[j]); + _qctor.AddOverloadParam((QParam) (( QParam) qctor.CSharpParams[j]).Clone()); + } + _qctor.CSharpParams.RemoveAt(_qctor.CSharpParams.Count-1); + //qtype.AddQCtor(_qctor); + additions.Add (_qctor); + } + } + } + + foreach (QCtor ctor in additions) qtype.AddQCtor (ctor); + additions = new ArrayList (); + + foreach (QMethod qmethod in qtype.QMethods){ + foreach (QParam pinvokeparam in qmethod.PinvokeParams) { + if (pinvokeparam.Default != null) { + QMethod _qmethod = new QMethod(); + _qmethod.Name = qmethod.Name; + _qmethod.Access = qmethod.Access; + _qmethod.Return = qmethod.Return; + _qmethod.Overload = true; + for (int j = 0; j < qmethod.PinvokeParams.IndexOf(pinvokeparam)+1; j++) { + _qmethod.AddPinvokeParam((QParam)qmethod.PinvokeParams[j]); + _qmethod.AddPinvokeCallParam((QParam)qmethod.PinvokeCallParams[j]); + _qmethod.AddCSharpParam((QParam)qmethod.CSharpParams[j]); + _qmethod.AddOverloadParam((QParam) ((QParam) qmethod.CSharpParams[j]).Clone()); + + } + _qmethod.CSharpParams.RemoveAt(_qmethod.CSharpParams.Count-1); + //qtype.AddQMethod(_qmethod); + additions.Add (_qmethod); + } + } + } + + foreach (QMethod method in additions) qtype.AddQMethod (method); + } + + public void ParseQType () + { + if (xtr.MoveToAttribute("name")) { + qtype.Name = xtr.Value; + } + + if (xtr.MoveToAttribute("access")) { + qtype.Access = xtr.Value; + } + } + + public void ParseQAncestor () + { + QAncestor qancestor = new QAncestor(); + if (xtr.MoveToAttribute("name")) { + qancestor.Name = xtr.Value; + } + qtype.AddQAncestor(qancestor); + } + + public void ParseQEnum () + { + bool match = false; + QEnum qenum = new QEnum(); + if (xtr.MoveToAttribute("name")) + qenum.Name = xtr.Value; + if (xtr.MoveToAttribute("access")) + qenum.Access = xtr.Value; + while (xtr.Read()) { + if (xtr.Name == "qitem") { + QItem qitem = ParseQItem(); + qenum.AddQItem(qitem); + long parse = 0; + try { + parse = Int64.Parse(qitem.Value); + } catch { + } + if (parse >= 2147483647) + qenum.Type = "uint"; + } else if (xtr.Name == "") { + } else { + break; + } + } + qtype.AddQEnum(qenum); + } + + public void ParseQCtor () + { + bool IsEmpty = xtr.IsEmptyElement; + QCtor qctor = new QCtor(); + if (xtr.MoveToAttribute("name")) { + qctor.Name = xtr.Value; + } + if (xtr.MoveToAttribute("access")) { + qctor.Access = xtr.Value; + } + if (xtr.MoveToAttribute("id")) { + qctor.Id = xtr.Value; + } + if (!IsEmpty) { + while (xtr.Read()) { + if (xtr.Name == "qparam") { + qctor.AddPinvokeParam(ParseQParam()); + qctor.AddPinvokeCallParam(ParseQParam()); + qctor.AddCSharpParam(ParseQParam()); + } else if (xtr.Name == ""){ + } else { + break; + } + } + } + qtype.AddQCtor(qctor); + } + + public void ParseQDCtor () + { + bool IsEmpty = xtr.IsEmptyElement; + QDCtor qdctor = new QDCtor(); + if (xtr.MoveToAttribute("name")) { + qdctor.Name = xtr.Value; + } + if (xtr.MoveToAttribute("access")) { + qdctor.Access = xtr.Value; + } + if (!IsEmpty) { + while (xtr.Read()) { + if (xtr.Name == "qparam") { + qdctor.AddQParam(ParseQParam()); + } else if (xtr.Name == "") { + } else { + break; + } + } + } + qtype.AddQDCtor(qdctor); + } + + public void ParseQMethod () + { + bool IsEmpty = xtr.IsEmptyElement; + QMethod qmethod = new QMethod(); + if (xtr.MoveToAttribute("name")) { + qmethod.Name = xtr.Value; + } + if (xtr.MoveToAttribute("access")) { + qmethod.Access = xtr.Value; + } + if (xtr.MoveToAttribute("return")) { + qmethod.Return = xtr.Value; + } + if (xtr.MoveToAttribute("id")) { + qmethod.Id = xtr.Value; + } + if (xtr.MoveToAttribute("throttle")) { + if (String.Compare(xtr.Value, "true", true) == 0) { + qmethod.Throttle = true; + } + } + if (!IsEmpty) { + while (xtr.Read()) { + if (xtr.Name == "qparam") { + qmethod.AddPinvokeParam(ParseQParam()); + qmethod.AddPinvokeCallParam(ParseQParam()); + qmethod.AddCSharpParam(ParseQParam()); + } else if (xtr.Name == ""){ + } else { + break; + } + } + } + qtype.AddQMethod(qmethod); + } + + public QItem ParseQItem () + { + QItem qitem = new QItem(); + if (xtr.MoveToAttribute("name")) { + qitem.Name = xtr.Value; + } + if (xtr.MoveToAttribute("value")) { + qitem.Value = xtr.Value; + } + return qitem; + } + + public QParam ParseQParam () + { + QParam qparam = new QParam(); + if (xtr.MoveToAttribute("type")) { + qparam.Type = xtr.Value; + } + if (xtr.MoveToAttribute("name")) { + qparam.Name = xtr.Value; + } + if (xtr.MoveToAttribute("default")) { + qparam.Default = xtr.Value; + } + return qparam; + } + } +} diff --git a/qtsharp/src/generator/Printer.cs b/qtsharp/src/generator/Printer.cs new file mode 100644 index 00000000..c4f6df87 --- /dev/null +++ b/qtsharp/src/generator/Printer.cs @@ -0,0 +1,526 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +using System.IO; +using System.Text; +using System.Collections; + +namespace QtCSharp { + + public class Printer { + + QType qtype; + string tab, directory; + + public Printer (QType qtype, string directory) + { + this.qtype = qtype; + this.directory = directory; + tab = "\t"; + if (qtype.IsInterface) + PrintInterface (); + else + Print (); + } + + public void Print () + { + StreamWriter writer = new StreamWriter(directory + Path.DirectorySeparatorChar + + qtype.Name + ".cs", false, new ASCIIEncoding()); + writer.Write(Header); + writer.Write(StartClass(qtype.Name, qtype.Access, new ArrayList(qtype.QAncestors))); + + foreach (QEnum qenum in qtype.QEnums) { + writer.Write(StartEnum(qenum.Name, qenum.Access, qenum.Type)); + writer.Write(Items(qenum.QItems)); + writer.Write(EndMember); + } + + foreach (QCtor qctor in qtype.QCtors) { + if (qctor.Throttle) { + } else if (qctor.Inherited) { + writer.Write (WriteInherited (qctor.Name, qctor.Access)); + } else if (qctor.Dummy) { + writer.Write (WriteDummy (qctor.Name, qctor.Access)); + } else if (qctor.Boxer) { + writer.Write (WriteBoxer (qctor.Name, qctor.Access)); + } else if (!qctor.Overload) { + writer.Write (ImportAttrib); + writer.Write (ImportCtorCall (qctor.Name, qctor.Id, qctor.PinvokeParams)); + writer.Write (StartCtor (qctor.Name, qctor.Access, qctor.CSharpParams)); + writer.Write (RawObject (qctor.Name, qctor.Id, qctor.PinvokeCallParams)); + writer.Write (CheckParent (qctor.Parent)); + writer.Write (Register); + writer.Write (DefaultConnections ()); + writer.Write (EndMember); + } else { + writer.Write (OverLoadCtor(qctor.Name, qctor.Access, qctor.CSharpParams, qctor.OverloadParams)); + } + } + + writer.Write (StartDCtor (qtype.Name)); + writer.Write (DCtorCall); + writer.Write (EndMember); + + //writer.Write (DisposePublic ()); + + foreach (QDCtor qdctor in qtype.QDCtors) { + writer.Write (ImportAttrib); + writer.Write (ImportDCtorCall (qdctor.Name)); + } + + //writer.Write (DisposeProtected ()); + writer.Write (Delete ()); + + foreach (QMethod qmethod in qtype.QMethods) { + if (qmethod.Throttle) { + } else if (!qmethod.Overload) { + writer.Write(ImportAttrib); + if (qmethod.Access == "public" || qmethod.Access == "protected" || qmethod.Access == "internal") { + writer.Write(ImportMethodCall(qtype.Name, qmethod.Name, qmethod.Id, qmethod.PinvokeReturn, qmethod.PinvokeParams)); + writer.Write(StartMethod(qmethod.PascalName, qmethod.Access, qmethod.Return, qmethod.CSharpParams)); + writer.Write(MethodCall(qmethod.QStringReturn, qmethod.Boxer, qtype.Name, qmethod.Name, "rawObject", qmethod.Id, qmethod.Return, qmethod.PinvokeCallParams)); + } else { + writer.Write(StaticImportMethodCall(qtype.Name, qmethod.Name, qmethod.Id, qmethod.PinvokeReturn, qmethod.PinvokeParams)); + writer.Write(StartMethod(qmethod.PascalName, qmethod.Access, qmethod.Return, qmethod.CSharpParams)); + writer.Write(StaticMethodCall(qmethod.QStringReturn, qmethod.Boxer, qtype.Name, qmethod.Name, qmethod.Id, qmethod.Return, qmethod.PinvokeCallParams)); + } + writer.Write(EndMember); + } else { + writer.Write(OverLoadMethod(qmethod.PascalName, qmethod.Access, qmethod.Return, qmethod.CSharpParams, qmethod.OverloadParams)); + } + } + + foreach (QAncestor qancestor in qtype.QAncestors) { + writer.Write("\n\n"+tab+tab+"// Begin interface methods.\n"); + if (qancestor.IsInterface) { + Printer printer = new Printer (qancestor, directory); + foreach (QMethod qmethod in qancestor.QMethods) { + if (qmethod.Throttle) { + } else if (!qmethod.Overload) { + writer.Write(ImportAttrib); + if (qmethod.Access == "public" || qmethod.Access == "protected") { + writer.Write(ImportMethodCall(qancestor.Name, qmethod.Name, qmethod.Id, qmethod.PinvokeReturn, qmethod.PinvokeParams)); + writer.Write(StartMethod(qmethod.PascalName, qmethod.Access, qmethod.Return, qmethod.CSharpParams)); + writer.Write(MethodCall(qmethod.QStringReturn, qmethod.Boxer, qancestor.Name, qmethod.Name, qancestor.Name+" ()", qmethod.Id, qmethod.Return, qmethod.PinvokeCallParams)); + } else { + writer.Write(StaticImportMethodCall(qancestor.Name, qmethod.Name, qmethod.Id, qmethod.PinvokeReturn, qmethod.PinvokeParams)); + writer.Write(StartMethod(qmethod.PascalName, qmethod.Access, qmethod.Return, qmethod.CSharpParams)); + writer.Write(StaticMethodCall(qmethod.QStringReturn, qmethod.Boxer, qancestor.Name, qmethod.Name, qmethod.Id, qmethod.Return, qmethod.PinvokeCallParams)); + } + writer.Write(EndMember); + } else { + writer.Write(OverLoadMethod(qmethod.PascalName, qmethod.Access, qmethod.Return, qmethod.CSharpParams, qmethod.OverloadParams)); + } + } + } + } + + writer.Write(EndClass); + writer.Write(Footer); + writer.Close(); + } + + public void PrintInterface () + { + StreamWriter writer = new StreamWriter(directory + Path.DirectorySeparatorChar + + qtype.IName + ".cs", false, new ASCIIEncoding()); + writer.Write(Header); + writer.Write(StartClass(qtype.IName, "public", qtype.QAncestors)); + + foreach (QMethod qmethod in qtype.QMethods) { + if (qmethod.Throttle || qmethod.Access == "public static" || qmethod.Access == "protected") { + } else { + writer.Write(IMethod(qmethod.PascalName, qmethod.Return, qmethod.CSharpParams)); + } + } + writer.Write("\n"+tab+tab+" IntPtr "+qtype.Name+" ();"); + writer.Write(EndClass); + writer.Write(Footer); + writer.Close(); + } + + public string StartClass (string name, string access, ArrayList qancestors) + { + StringBuilder sb = new StringBuilder (); + + if (qtype.IsInterface) { + sb.Append(tab+access+" interface "+name+" {"); + return sb.ToString (); + } + + sb.Append(tab+access+" class "+name+" : "); + if (qancestors.Count == 0) sb.Append ("QtSupport"); + foreach (QAncestor qancestor in qancestors) { + if (!qancestor.IsInterface) { + if (qancestor.Name == "Qt") { + sb.Append ("QtSupport"); + break; + } else { + sb.Append (qancestor.Name); + qancestors.Remove (qancestor); + break; + } + } + } + + foreach (QAncestor qancestor in qancestors) { + if (qancestor.IsInterface) { + sb.Append (", "+qancestor.IName); + } + } + + sb.Append (", IDisposable {"); + return sb.ToString (); + } + + public string EndClass + { + get {return "\n"+tab+"}";} + } + + public string StartEnum (string name, string access, string type) + { + if (type != null) + return "\n\n"+tab+tab+access+" enum "+name+" : "+type+" {"; + else + return "\n\n"+tab+tab+access+" enum "+name+" {"; + } + + public string WriteInherited (string name, string access) + { + return "\n\n"+tab+tab+access+" "+name+" () : this (QNull.Instance) {}"; + } + + public string WriteDummy (string name, string access) + { + return "\n\n"+tab+tab+access+" "+name+" (QNull dummy) : base (QNull.Instance) {}"; + } + + public string WriteBoxer (string name, string access) + { + return "\n\n" + + tab+tab+access+" "+name+" (IntPtr ptr) : this (QNull.Instance)\n"+tab+tab+"{\n" + + tab+tab+tab+"rawObject = ptr;\n" + + tab+tab+tab+"RegisterObject(this);\n" + + tab+tab+"}"; + } + + public string CheckParent (bool check) + { + if (check) + return "\n\n\t\t\tif ((qparent = parent) != null)\n" + + "\t\t\t\tqparent.AddChild (this);\n"; + else + return ""; + } + + public string StartCtor (string name, string access, ArrayList csharpparams) + { + return "\n"+tab+tab+access+" "+name+" ("+Params(csharpparams)+") : this (QNull.Instance)\n"+tab+tab+"{\n"; + } + + public string StartDCtor (string name) + { + return "\n\n"+tab+tab+"~"+name+" ()\n"+tab+tab+"{\n"; + } + + public string StartMethod (string name, string access, string returntype, ArrayList csharpparams) + { + string str = "\n"+tab+tab+access+" "+returntype+" "+name+" ("+Params(csharpparams)+")\n"+tab+tab+"{\n"; + + // QEvents should never be disposed inside C# + if (access.IndexOf ("static") <= 0) + str += "\t\t\tif (disposed)\n\t\t\t\tthrow new ObjectDisposedException (this+\": Attempted use of disposed object\");\n\n"; + + return str; + } + + public string IMethod (string name, string returntype, ArrayList csharpparams) + { + return "\n"+tab+tab+" "+returntype+" "+name+" ("+Params(csharpparams)+");"; + } + + public string EndMember + { + get {return "\n"+tab+tab+"}";} + } + + public string OverLoadCtor (string name, string access, ArrayList csharpparams, ArrayList overloadparams) + { + return "\n\n"+tab+tab+access+" "+name+" ("+Params(csharpparams)+") : this ("+Params(overloadparams)+") {}"; + } + + public string OverLoadMethod (string name, string access, string returntype, ArrayList csharpparams, ArrayList overloadparams) + { + string str; + + if (returntype == "void") + str = name + "(" + Params(overloadparams) + ");\n" + tab + tab; + else + str = "return "+name+"("+Params(overloadparams)+");\n" + tab+tab; + + return "\n\n"+tab+tab+access+" "+returntype+" "+name + + " ("+Params(csharpparams)+")\n" + tab+tab+"{\n" + tab+tab+tab+ str + "}"; + } + + public string Items (ArrayList qitems) + { + int count = 0; + StringBuilder sb = new StringBuilder(); + foreach (QItem qitem in qitems) { + count++; + sb.Append("\n"+tab+tab+tab+qitem.Name+" = "+qitem.Value); + if (count != qitems.Count) + sb.Append(","); + } + return sb.ToString(); + } + + public string Params (ArrayList qparams) + { + int count = 0; + StringBuilder sb = new StringBuilder(); + foreach (QParam qparam in qparams) { + count++; + if (qparam.Type != "") + sb.Append(qparam.Type+" "+qparam.Name); + else + sb.Append(qparam.Name); + + if (count != qparams.Count) + sb.Append(", "); + } + return sb.ToString(); + } + + public string ImportCtorCall (string name, string id, ArrayList qparams) + { + if (id != "0") + return "\n"+tab+tab+"private static extern IntPtr qt_new_"+name+id+" ("+Params(qparams)+");"; + else + return "\n"+tab+tab+"private static extern IntPtr qt_new_"+name+" ("+Params(qparams)+");"; + } + + public string ImportDCtorCall (string name) + { + return "\n"+tab+tab+"private static extern void qt_del_"+name+" (IntPtr raw);"; + } + + public string ImportMethodCall (string type, string name, string id, string returntype, ArrayList qparams) + { + if (name.StartsWith ("Q_")) + name = name.Replace ("Q_", ""); + string comma = ""; + if (qparams.Count != 0) comma = ", "; + if (id != "0") + return "\n"+tab+tab+"private static extern "+returntype+" qt_"+type+"_"+name+id+" (IntPtr raw"+comma+Params(qparams)+");"; + else + return "\n"+tab+tab+"private static extern "+returntype+" qt_"+type+"_"+name+" (IntPtr raw"+comma+Params(qparams)+");"; + } + + public string StaticImportMethodCall (string type, string name, string id, string returntype, ArrayList qparams) + { + if (name.StartsWith ("Q_")) + name = name.Replace ("Q_", ""); + if (id != "0") + return "\n"+tab+tab+"private static extern "+returntype+" qt_"+type+"_"+name+id+" ("+Params(qparams)+");"; + else + return "\n"+tab+tab+"private static extern "+returntype+" qt_"+type+"_"+name+" ("+Params(qparams)+");"; + } + + public string RawObject (string name, string id, ArrayList qparams) + { + if (qtype.IsQObject) { + ArrayList newparams = new ArrayList (); + + foreach (QParam parm in qparams) { + //Console.WriteLine ("--> {0}", parm.Name); + if (parm.Name == "parent.RawObject") { + QParam newparm = parm.Clone() as QParam; + newparm.Name = "parent != null ? parent.RawObject : IntPtr.Zero"; + newparams.Add (newparm); + } + else + newparams.Add (parm); + } + + if (id != "0") + return tab+tab+tab+"rawObject = qt_new_"+name+id+" ("+Params(newparams)+");"; + else + return tab+tab+tab+"rawObject = qt_new_"+name+" ("+Params(newparams)+");"; + } + else { + if (id != "0") + return tab+tab+tab+"rawObject = qt_new_"+name+id+" ("+Params(qparams)+");"; + else + return tab+tab+tab+"rawObject = qt_new_"+name+" ("+Params(qparams)+");"; + } + } + + public string DCtorCall { + get { + return tab+tab+tab+"Dispose (false);"; + } + } + + public string MethodCall (bool qstring, bool boxer, string type, string name, string instPtr, string id, string ReturnType, ArrayList qparams) + { + if (name.StartsWith ("Q_")) + name = name.Replace ("Q_", ""); + + string ret = ""; + string comma = qparams.Count == 0 ? "" : ", "; + string newid = id == "0" ? "" : id; + + if (boxer && qstring) { + ret = "\t\t\treturn new QString (qt_"+type+"_"+name+newid+" ("+instPtr+comma+Params (qparams)+"));\n"; + } + else if (boxer) { + ret = "\t\t\treturn LookupObject (qt_"+type+"_"+name+newid+" ("+instPtr+comma+Params (qparams)+"), typeof ("+ReturnType+")) as "+ReturnType+";"; + } + else { + ret = "qt_"+type+"_"+name+newid+" ("+instPtr+comma+Params (qparams)+");"; + + if (ReturnType != "void") + ret = "return " + ret; + + ret = "\t\t\t" + ret; + } + + return ret; + } + + public string StaticMethodCall (bool qstring, bool boxer, string type, string name, string id, string ReturnType, ArrayList qparams) + { + if (name.StartsWith ("Q_")) + name = name.Replace ("Q_", ""); + + string ret; + string newid = id == "0" ? "" : id; + + if (boxer && qstring) { + ret = "\t\t\treturn new QString (qt_"+type+"_"+name+newid+" ("+Params (qparams)+"));\n"; + } + else if (boxer) { + ret = "\t\t\treturn LookupObject (qt_"+type+"_"+name+newid+" ("+Params (qparams)+"), typeof ("+ReturnType+")) as "+ReturnType+";\n"; + } + else { + ret = "qt_"+type+"_"+name+newid+" ("+Params (qparams)+");"; + + if (ReturnType != "void") + ret = "return " + ret; + + ret = "\t\t\t" + ret; + } + + return ret; + } + + public string ImportAttrib + { + get {return "\n\n"+tab+tab+"[DllImport(\"libqtc\", CharSet=CharSet.Ansi)]";} + } + + public string Import () { + if (!qtype.IsInterface) { + return tab + "using System.Runtime.InteropServices;\n\n"; + } else { + return "\n"; + } + } + + public string Header + { + get { + return "// "+qtype.Name+".cs - A Qt to C# binding.\n" + + "//\n" + + "// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com)\n" + + "//\n" + + "// This program is free software; you can redistribute it and/or\n" + + "// modify it under the terms of the GNU General Public License\n" + + "// as published by the Free Software Foundation; either version 2\n" + + "// of the License, or (at your option) any later version.\n" + + "//\n" + + "// This program is distributed in the hope that it will be useful,\n" + + "// but WITHOUT ANY WARRANTY; without even the implied warranty of\n" + + "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" + + "// GNU General Public License for more details.\n" + + "//\n" + + "// You should have received a copy of the GNU General Public License\n" + + "// along with this program; if not, write to the Free Software\n" + + "// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" + + "//\n" + + "// Generated File. Do Not Modify.\n" + + "\n" + + "namespace Qt {\n" + + "\n" + + tab + "using Qt;\n" + + tab + "using System;\n" + Import (); + } + } + + public string Footer + { + get {return "\n}";} + } + + public string Register + { + get + { + return "\n"+tab+tab+tab+"RegisterObject (this);"; + } + } + + public string Delete () + { + + string ret = "\n" + + "\t\tinternal override void Delete ()\n" + + "\t\t{\n"; + + // Let Qt manage QEvents + if (! (qtype.Name.StartsWith ("Q") && qtype.Name.EndsWith ("Event"))) + { + ret += "\t\t\tif (deleted) return;\n\n"; + + if (qtype.QDCtors.Count > 0) + ret += "\t\t\tqt_del_"+qtype.Name+" (rawObject);\n"; + else + ret = "\n" + ret + "\t\t\t// libqtc lacks a qt_del_"+qtype.Name+" function\n"; + + ret += "\t\t\tdeleted = true;\n"; + } + + ret += "\t\t}"; + + return ret; + + } + + public string DefaultConnections () + { + if (qtype.IsQObject) + return "\n\t\t\tConnect (this, SIGNAL (\"destroyed ()\"), SLOT (\"NativeDestroyed ()\"));"; + else + return ""; + } + } +} diff --git a/qtsharp/src/generator/QAncestor.cs b/qtsharp/src/generator/QAncestor.cs new file mode 100644 index 00000000..5467a902 --- /dev/null +++ b/qtsharp/src/generator/QAncestor.cs @@ -0,0 +1,26 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; + +namespace QtCSharp { + + public class QAncestor : QType { + + } +} diff --git a/qtsharp/src/generator/QCtor.cs b/qtsharp/src/generator/QCtor.cs new file mode 100644 index 00000000..880bf13b --- /dev/null +++ b/qtsharp/src/generator/QCtor.cs @@ -0,0 +1,47 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +//using System.IO; +using System.Collections; + +namespace QtCSharp { + + public class QCtor : QMember{ + + bool dummy, parent, inherited; + + public bool Dummy + { + get {return dummy;} + set {dummy = value;} + } + + public bool Parent + { + get {return parent;} + set {parent = value;} + } + + public bool Inherited + { + get {return inherited;} + set {inherited = value;} + } + } +} diff --git a/qtsharp/src/generator/QDCtor.cs b/qtsharp/src/generator/QDCtor.cs new file mode 100644 index 00000000..8aef33c0 --- /dev/null +++ b/qtsharp/src/generator/QDCtor.cs @@ -0,0 +1,57 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +//using System.IO; +using System.Collections; + +namespace QtCSharp { + + public class QDCtor { + + string name, access; + ArrayList qparams; + + public QDCtor() + { + qparams = new ArrayList(); + } + + public void AddQParam(QParam qparam) + { + qparams.Add(qparam); + } + + public string Name + { + get {return name;} + set {name = value;} + } + + public string Access + { + get {return access;} + set {access = value;} + } + + public ArrayList QParams + { + get {return qparams;} + } + } +} diff --git a/qtsharp/src/generator/QEnum.cs b/qtsharp/src/generator/QEnum.cs new file mode 100644 index 00000000..1be81b41 --- /dev/null +++ b/qtsharp/src/generator/QEnum.cs @@ -0,0 +1,63 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +//using System.IO; +using System.Collections; + +namespace QtCSharp { + + public class QEnum { + + string name, access, type; + ArrayList qitems; + + public QEnum() + { + qitems = new ArrayList(); + } + + public void AddQItem(QItem qitem) + { + qitems.Add(qitem); + } + + public string Name + { + get {return name;} + set {name = value;} + } + + public string Access + { + get {return access;} + set {access = value;} + } + + public string Type + { + get {return type;} + set {type = value;} + } + + public ArrayList QItems + { + get {return qitems;} + } + } +} diff --git a/qtsharp/src/generator/QItem.cs b/qtsharp/src/generator/QItem.cs new file mode 100644 index 00000000..22e23c63 --- /dev/null +++ b/qtsharp/src/generator/QItem.cs @@ -0,0 +1,44 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +//using System.IO; + +namespace QtCSharp { + + public class QItem { + + string name, qvalue; + + public QItem() + { + } + + public string Name + { + get {return name;} + set {name = value;} + } + + public string Value + { + get {return qvalue;} + set {qvalue = value;} + } + } +} diff --git a/qtsharp/src/generator/QMember.cs b/qtsharp/src/generator/QMember.cs new file mode 100644 index 00000000..95c00280 --- /dev/null +++ b/qtsharp/src/generator/QMember.cs @@ -0,0 +1,116 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +using System.IO; +using System.Collections; + +namespace QtCSharp { + + public class QMember { + + string name, access, id; + bool overload, throttle, boxer; + ArrayList pinvokeparams, pinvokecallparams, csharpparams, overloadparams; + + public QMember() + { + pinvokeparams = new ArrayList(); + pinvokecallparams = new ArrayList(); + csharpparams = new ArrayList(); + overloadparams = new ArrayList(); + } + + + public void AddPinvokeParam(QParam pinvokeparam) + { + pinvokeparams.Add(pinvokeparam); + } + + public void AddPinvokeCallParam(QParam pinvokecallparam) + { + pinvokecallparams.Add(pinvokecallparam); + } + + public void AddCSharpParam(QParam csharpparam) + { + csharpparams.Add(csharpparam); + } + + public void AddOverloadParam(QParam overloadparam) + { + overloadparams.Add(overloadparam); + } + + public string Name + { + get {return name;} + set {name = value;} + } + + public string Access + { + get {return access;} + set {access = value;} + } + + public bool Overload + { + get {return overload;} + set {overload = value;} + } + + public string Id + { + get {return id;} + set {id = value;} + } + + public bool Throttle + { + get {return throttle;} + set {throttle = value;} + } + + public bool Boxer + { + get {return boxer;} + set {boxer = value;} + } + + public ArrayList PinvokeParams + { + get {return pinvokeparams;} + } + + public ArrayList PinvokeCallParams + { + get {return pinvokecallparams;} + } + + public ArrayList CSharpParams + { + get {return csharpparams;} + } + + public ArrayList OverloadParams + { + get {return overloadparams;} + } + } +} diff --git a/qtsharp/src/generator/QMethod.cs b/qtsharp/src/generator/QMethod.cs new file mode 100644 index 00000000..6bd6eebd --- /dev/null +++ b/qtsharp/src/generator/QMethod.cs @@ -0,0 +1,54 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +//using System.IO; +using System.Collections; + +namespace QtCSharp { + + public class QMethod : QMember { + + bool qstringreturn; + string returntype, pinvokereturn, pascalname; + + public string Return + { + get {return returntype;} + set {returntype = value;} + } + + public string PinvokeReturn + { + get {return pinvokereturn;} + set {pinvokereturn = value;} + } + + public bool QStringReturn + { + get {return qstringreturn;} + set {qstringreturn = value;} + } + + public string PascalName + { + get {return pascalname;} + set {pascalname = value;} + } + } +} diff --git a/qtsharp/src/generator/QParam.cs b/qtsharp/src/generator/QParam.cs new file mode 100644 index 00000000..53212bad --- /dev/null +++ b/qtsharp/src/generator/QParam.cs @@ -0,0 +1,54 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +//using System.IO; + +namespace QtCSharp { + + public class QParam: ICloneable { + + string type, name, defaultvalue; + + public QParam() + {} + + public object Clone() + { + return MemberwiseClone(); + } + + public string Type + { + get {return type;} + set {type = value;} + } + + public string Name + { + get {return name;} + set {name = value;} + } + + public string Default + { + get {return defaultvalue;} + set {defaultvalue = value;} + } + } +} diff --git a/qtsharp/src/generator/QType.cs b/qtsharp/src/generator/QType.cs new file mode 100644 index 00000000..16ba8f56 --- /dev/null +++ b/qtsharp/src/generator/QType.cs @@ -0,0 +1,126 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +//using System.IO; +using System.Collections; + +namespace QtCSharp { + + public class QType { + + string name, access, iname; + bool isInterface, isConverted, isQObject; + ArrayList qancestors, qenums, qctors, qdctors, qmethods; + + public QType () + { + qancestors = new ArrayList (); + qenums = new ArrayList (); + qctors = new ArrayList (); + qdctors = new ArrayList (); + qmethods = new ArrayList (); + } + + public void AddQAncestor (QAncestor qancestor) + { + qancestors.Add (qancestor); + } + + public void AddQEnum (QEnum qenum) + { + qenums.Add (qenum); + } + + public void AddQCtor (QCtor qctor) + { + qctors.Add (qctor); + } + + public void AddQDCtor (QDCtor qdctor) + { + qdctors.Add (qdctor); + } + + public void AddQMethod (QMethod qmethod) + { + qmethods.Add (qmethod); + } + + public string Name + { + get {return name;} + set {name = value;} + } + + public string Access + { + get {return access;} + set {access = value;} + } + + public bool IsInterface + { + get {return isInterface;} + set {isInterface = value;} + } + + public bool IsConverted + { + get {return isConverted;} + set {isConverted = value;} + } + + public bool IsQObject { + get { return isQObject; } + set { isQObject = value; } + } + + public string IName + { + get {return iname;} + set {iname = value;} + } + + public ArrayList QAncestors + { + get {return qancestors;} + } + + public ArrayList QEnums + { + get {return qenums;} + } + + public ArrayList QCtors + { + get {return qctors;} + } + + public ArrayList QDCtors + { + get {return qdctors;} + } + + public ArrayList QMethods + { + get {return qmethods;} + set {qmethods = value;} + } + } +} diff --git a/qtsharp/src/generator/QTypeMap.cs b/qtsharp/src/generator/QTypeMap.cs new file mode 100644 index 00000000..241dc825 --- /dev/null +++ b/qtsharp/src/generator/QTypeMap.cs @@ -0,0 +1,477 @@ +// A Qt to C# binding generator. +// +// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +using System.Collections; + +namespace QtCSharp { + + public class QTypeMap { + + Hashtable arraymap, mastermap, pinvoketypes, pinvokecalltypes, csharptypes, overloadtypes, reserved, interfaces; + + public QTypeMap () + { + arraymap = new Hashtable (); + arraymap.Add ("void*", "int[]"); + arraymap.Add ("void *", "int[]"); + arraymap.Add ("int*", "int[]"); + arraymap.Add ("int *", "int[]"); + arraymap.Add ("double*", "double[]"); + arraymap.Add ("double *", "double[]"); + arraymap.Add ("short*", "short[]"); + arraymap.Add ("short *", "short[]"); + arraymap.Add ("char**", "string[]"); + arraymap.Add ("char **", "string[]"); + arraymap.Add ("char*", "string"); + arraymap.Add ("uchar**", "string[]"); + arraymap.Add ("uchar **", "string[]"); + + mastermap = new Hashtable (); + mastermap.Add ("void", "void"); + // mastermap.Add ("QByteArray", "byte[]"); + mastermap.Add ("QBitArray", "byte[]"); + mastermap.Add ("uchar", "string"); + mastermap.Add ("unsigned int", "uint"); + mastermap.Add ("unsigned short", "ushort"); + mastermap.Add ("unsigned long", "ulong"); + mastermap.Add ("unsigned char", "string"); + mastermap.Add ("HANDLE", "uint"); + mastermap.Add ("HBITMAP", "uint"); + mastermap.Add ("HCURSOR", "uint"); + mastermap.Add ("HDC", "uint"); + mastermap.Add ("HFONT", "uint"); + mastermap.Add ("HPALETTE", "uint"); + mastermap.Add ("HRGN", "uint"); + mastermap.Add ("Display", "IntPtr"); + mastermap.Add ("Q_REFCOUNT bool", "bool"); + mastermap.Add ("EventRef", "IntPtr"); + mastermap.Add ("MSG", "IntPtr"); + mastermap.Add ("XEvent", "IntPtr"); + mastermap.Add ("QWSEvent", "IntPtr"); + mastermap.Add ("GDHandle", "IntPtr"); + mastermap.Add ("QRgb", "int"); + mastermap.Add ("QWSDecoration", "IntPtr"); + mastermap.Add ("QTextParag", "IntPtr"); + mastermap.Add ("Qt.HANDLE", "IntPtr"); + mastermap.Add ("QUObject", "IntPtr"); + mastermap.Add ("QGfx", "IntPtr"); + mastermap.Add ("QRESULT", "long"); + mastermap.Add ("QUnknownInterface", "IntPtr"); + mastermap.Add ("QPtrCollection.Item", "int"); + mastermap.Add ("type", "IntPtr"); + mastermap.Add ("array_data", "IntPtr"); + mastermap.Add ("bitarr_data", "IntPtr"); + mastermap.Add ("Offset", "int"); + mastermap.Add ("Q_INT16", "short"); + mastermap.Add ("Q_INT32", "int"); + mastermap.Add ("Q_INT8", "char"); + mastermap.Add ("Q_LONG", "long"); + mastermap.Add ("Q_PACKED", "uint"); + mastermap.Add ("Q_UINT16", "ushort"); + mastermap.Add ("Q_UINT32", "uint"); + mastermap.Add ("Q_UINT8", "char"); + mastermap.Add ("Q_ULONG", "long"); + mastermap.Add ("QStyleHintReturn", "IntPtr"); + mastermap.Add ("QFileInfoList", "IntPtr"); + mastermap.Add ("QDomNodePrivate", "IntPtr"); + mastermap.Add ("GUID", "System.Guid"); + mastermap.Add ("FILE", "string"); + mastermap.Add ("EncoderFn", "int"); + mastermap.Add ("DecoderFn", "int"); + mastermap.Add ("QDiskFont", "IntPtr"); + mastermap.Add ("pointer", "IntPtr"); + mastermap.Add ("T", "IntPtr"); + mastermap.Add ("T1", "IntPtr"); + mastermap.Add ("T2", "IntPtr"); + mastermap.Add ("Iterator", "IntPtr"); + mastermap.Add ("iterator", "IntPtr"); + mastermap.Add ("_iterator", "IntPtr"); + mastermap.Add ("reference", "IntPtr"); + mastermap.Add ("_reference", "IntPtr"); + mastermap.Add ("ConstIterator", "int"); + mastermap.Add ("QWSDisplay", "IntPtr"); + mastermap.Add ("CGContextRef", "IntPtr"); + mastermap.Add ("WId", "uint"); + mastermap.Add ("QWidgetMapper", "IntPtr"); + mastermap.Add ("size_type", "int"); + mastermap.Add ("Item", "IntPtr"); + mastermap.Add ("image_io_handler", "int"); + mastermap.Add ("QCOORD", "short"); + mastermap.Add ("key_type", "IntPtr"); + mastermap.Add ("K", "IntPtr"); + mastermap.Add ("NodePtr", "int"); + mastermap.Add ("QTextFormat", "IntPtr"); + mastermap.Add ("QTextDocument", "IntPtr"); + mastermap.Add ("QTextCursor", "IntPtr"); + mastermap.Add ("_NPStream", "IntPtr"); + mastermap.Add ("PID", "long"); + mastermap.Add ("Region", "int"); + mastermap.Add ("RgnHandle", "IntPtr"); + mastermap.Add ("QRemoteInterface", "IntPtr"); + mastermap.Add ("mode_t", "int"); + mastermap.Add ("QSqlFieldInfo", "IntPtr"); + mastermap.Add ("QSqlRecordInfo", "IntPtr"); + mastermap.Add ("QSqlRecordPrivate", "IntPtr"); + mastermap.Add ("QTSMFI", "int"); + mastermap.Add ("Widget", "QWidget"); + mastermap.Add ("WidgetClass", "int"); + mastermap.Add ("ArgList", "int"); + mastermap.Add ("Cardinal", "int"); + mastermap.Add ("XrmOptionDescRec", "IntPtr"); + mastermap.Add ("size_t", "int"); + mastermap.Add ("ULONG_MAX", "UInt64.MaxValue"); + + // Enums + mastermap.Add ("Event", "QAccessible.Event"); + mastermap.Add ("Role", "QAccessible.Role"); + mastermap.Add ("NavDirection", "QAccessible.NavDirection"); + mastermap.Add ("Text", "QAccessible.Text"); + mastermap.Add ("ColorSpec", "QApplication.ColorSpec"); + mastermap.Add ("ToggleState", "QButton.ToggleState"); + mastermap.Add ("RttiValues", "QCanvasItem.RttiValues"); + mastermap.Add ("FrameAnimationType", "QCanvasSprite.FrameAnimationType"); + mastermap.Add ("Category", "QChar.Category"); + mastermap.Add ("Decomposition", "QChar.Decomposition"); + mastermap.Add ("Joining", "QChar.Joining"); + mastermap.Add ("CombiningClass", "QChar.CombiningClass"); + mastermap.Add ("Spec", "QColor.Spec"); + mastermap.Add ("ColorRole", "QColorGroup.ColorRole"); + mastermap.Add ("Boundary", "QDataBrowser.Boundary"); + mastermap.Add ("ByteOrder", "QDataStream.ByteOrder"); + mastermap.Add ("Refresh", "QDataTable.Refresh"); + mastermap.Add ("Order", "QDateEdit.Order"); + mastermap.Add ("DialogCode", "QDialog.DialogCode"); + mastermap.Add ("FilterSpec", "QDir.FilterSpec"); + mastermap.Add ("SortSpec", "QDir.SortSpec"); + mastermap.Add ("RecordType", "QDns.RecordType"); + mastermap.Add ("HandlePosition", "QDockArea.HandlePosition"); + mastermap.Add ("Place", "QDockWindow.Place"); + mastermap.Add ("CloseMode", "QDockWindow.CloseMode"); + mastermap.Add ("NodeType", "QDomNode.NodeType"); + mastermap.Add ("DragMode", "QDragObject.DragMode"); + mastermap.Add ("Action", "QDropEvent.Action"); + mastermap.Add ("ViewMode", "QFileDialog.ViewMode"); + mastermap.Add ("PreviewMode", "QFileDialog.PreviewMode"); + mastermap.Add ("PermissionSpec", "QFileInfo.PermissionSpec"); + mastermap.Add ("StyleStrategy", "QFont.StyleStrategy"); + mastermap.Add ("Weight", "QFont.Weight"); + mastermap.Add ("Script", "QFont.Script"); + mastermap.Add ("Shadow", "QFrame.Shadow"); + mastermap.Add ("FormatOption", "QGL.FormatOption"); + mastermap.Add ("Corner", "QGridLayout.Corner"); + mastermap.Add ("Size", "QIconSet.Size"); + mastermap.Add ("Arrangement", "QIconView.Arrangement"); + mastermap.Add ("ItemTextPos", "QIconView.ItemTextPos"); + mastermap.Add ("Endian", "QImage.Endian"); + mastermap.Add ("ScaleMode", "QImage.ScaleMode"); + mastermap.Add ("PaintDeviceFlags", "QInternal.PaintDeviceFlags"); + mastermap.Add ("Rules", "QJpUnicodeConv.Rules"); + mastermap.Add ("SegmentStyle", "QLCDNumber.SegmentStyle"); + mastermap.Add ("LayoutMode", "QListBox.LayoutMode"); + mastermap.Add ("WidthMode", "QListView.WidthMode"); + mastermap.Add ("RenameAction", "QListView.RenameAction"); + mastermap.Add ("DockWindows", "QMainWindow.DockWindows"); + mastermap.Add ("Color", "QMapNodeBase.Color"); + mastermap.Add ("Separator", "QMenuBar.Separator"); + mastermap.Add ("Icon", "QMessageBox.Icon"); + mastermap.Add ("Access", "QMetaData.Access"); + mastermap.Add ("Flags", "QMetaProperty.Flags"); + mastermap.Add ("Status", "QMovie.Status"); + mastermap.Add ("InstanceMode", "QNPInstance.InstanceMode"); + mastermap.Add ("StreamMode", "QNPInstance.StreamMode"); + mastermap.Add ("Operation", "QNetworkProtocol.Operation"); + mastermap.Add ("ConnectionState", "QNetworkProtocol.ConnectionState"); + mastermap.Add ("DisposalMethod", "QPNGImageWriter.DisposalMethod"); + mastermap.Add ("PDevCmd", "QPaintDevice.PDevCmd"); + mastermap.Add ("CoordinateMode", "QPainter.CoordinateMode"); + mastermap.Add ("TextDirection", "QPainter.TextDirection"); + mastermap.Add ("ColorGroup", "QPalette.ColorGroup"); + mastermap.Add ("Optimization", "QPixmap.Optimization"); + mastermap.Add ("Edge", "QPolygonScanner.Edge"); + mastermap.Add ("PrinterMode", "QPrinter.PrinterMode"); + mastermap.Add ("PageSize", "QPrinter.PageSize"); + mastermap.Add ("PageOrder", "QPrinter.PageOrder"); + mastermap.Add ("PaperSource", "QPrinter.PaperSource"); + mastermap.Add ("Communication", "QProcess.Communication"); + mastermap.Add ("RegionType", "QRegion.RegionType"); + mastermap.Add ("ResizePolicy", "QScrollView.ResizePolicy"); + mastermap.Add ("ScrollBarMode", "QScrollView.ScrollBarMode"); + mastermap.Add ("RestartHint", "QSessionManager.RestartHint"); + mastermap.Add ("System", "QSettings.System"); + mastermap.Add ("SizeType", "QSizePolicy.SizeType"); + mastermap.Add ("ExpandData", "QSizePolicy.ExpandData"); + mastermap.Add ("TickSetting", "QSlider.TickSetting"); + mastermap.Add ("Op", "QSql.Op"); + mastermap.Add ("Location", "QSql.Location"); + mastermap.Add ("Confirm", "QSql.Confirm"); + mastermap.Add ("DriverFeature", "QSqlDriver.DriverFeature"); + mastermap.Add ("SectionFlags", "QString.SectionFlags"); + mastermap.Add ("PrimitiveElement", "QStyle.PrimitiveElement"); + mastermap.Add ("StyleFlags", "QStyle.StyleFlags"); + mastermap.Add ("SFlags", "QStyle.StyleFlags"); + mastermap.Add ("ControlElement", "QStyle.ControlElement"); + mastermap.Add ("SubRect", "QStyle.SubRect"); + mastermap.Add ("ComplexControl", "QStyle.ComplexControl"); + mastermap.Add ("SubControl", "QStyle.SubControl"); + mastermap.Add ("SCFlags", "QStyle.SubControl"); + mastermap.Add ("PixelMetric", "QStyle.PixelMetric"); + mastermap.Add ("ContentsType", "QStyle.ContentsType"); + mastermap.Add ("StylePixmap", "QStyle.StylePixmap"); + mastermap.Add ("StyleOptionDefault", "QStyleOption.StyleOptionDefault"); + mastermap.Add ("AdditionalStyleValues", "QStyleSheetItem.AdditionalStyleValues"); + mastermap.Add ("DisplayMode", "QStyleSheetItem.DisplayMode"); + mastermap.Add ("WhiteSpaceMode", "QStyleSheetItem.WhiteSpaceMode"); + mastermap.Add ("Margin", "QStyleSheetItem.Margin"); + mastermap.Add ("ListStyle", "QStyleSheetItem.ListStyle"); + mastermap.Add ("FocusStyle", "QTable.FocusStyle"); + mastermap.Add ("EditMode", "QTable.EditMode"); + mastermap.Add ("EditType", "QTableItem.EditType"); + mastermap.Add ("TabletDevice", "QTabletEvent.TabletDevice"); + mastermap.Add ("KeyboardAction", "QTextEdit.KeyboardAction"); + mastermap.Add ("CursorAction", "QTextEdit.CursorAction"); + mastermap.Add ("SaveMode", "QTranslator.SaveMode"); + mastermap.Add ("Prefix", "QTranslatorMessage.Prefix"); + mastermap.Add ("FocusPolicy", "QWidget.FocusPolicy"); + mastermap.Add ("BackgroundOrigin", "QWidget.BackgroundOrigin"); + mastermap.Add ("ButtonState", "Qt.ButtonState"); + mastermap.Add ("AlignmentFlags", "Qt.AlignmentFlags"); + mastermap.Add ("TextFlags", "Qt.TextFlags"); + mastermap.Add ("WidgetState", "Qt.WidgetState"); + mastermap.Add ("WState", "Qt.WidgetState"); + mastermap.Add ("WidgetFlags", "Qt.WidgetFlags"); + mastermap.Add ("WFlags", "Qt.WidgetFlags"); + mastermap.Add ("ImageConversionFlags", "Qt.ImageConversionFlags"); + mastermap.Add ("BGMode", "Qt.BGMode"); + mastermap.Add ("PaintUnit", "Qt.PaintUnit"); + mastermap.Add ("GUIStyle", "Qt.GUIStyle"); + mastermap.Add ("Modifier", "Qt.Modifier"); + mastermap.Add ("Key", "Qt.Key"); + mastermap.Add ("ArrowType", "Qt.ArrowType"); + mastermap.Add ("RasterOp", "Qt.RasterOp"); + mastermap.Add ("PenStyle", "Qt.PenStyle"); + mastermap.Add ("PenCapStyle", "Qt.PenCapStyle"); + mastermap.Add ("PenJoinStyle", "Qt.PenJoinStyle"); + mastermap.Add ("BrushStyle", "Qt.BrushStyle"); + mastermap.Add ("WindowsVersion", "Qt.WindowsVersion"); + mastermap.Add ("UIEffect", "Qt.UIEffect"); + mastermap.Add ("CursorShape", "Qt.CursorShape"); + mastermap.Add ("TextFormat", "Qt.TextFormat"); + mastermap.Add ("Dock", "Qt.Dock"); + mastermap.Add ("DateFormat", "Qt.DateFormat"); + mastermap.Add ("BackgroundMode", "Qt.BackgroundMode"); + mastermap.Add ("StringComparisonMode", "Qt.StringComparisonMode"); + mastermap.Add ("ComparisonFlags", "Qt.StringComparisonMode"); + + // We need to make sure all params use the interfaces, ie IQPaintDevice + /*mastermap.Add ("QAccessibleFactoryInterface", "IQAccessibleFactory"); + mastermap.Add ("QAccessibleInterface", "IQAccessible");*/ + mastermap.Add ("QPaintDevice", "IQPaintDevice"); + /*mastermap.Add ("QMenuData", "IQMenuData"); + mastermap.Add ("QRangeControl", "IQRangeControl"); + mastermap.Add ("QMimeSource", "IQMimeSource"); + mastermap.Add ("QLayoutItem", "IQLayoutItem"); + mastermap.Add ("QUrl", "IQUrl"); + mastermap.Add ("QIODevice", "IQIODevice"); + mastermap.Add ("QXmlContentHandler", "IQXmlContentHandler"); + mastermap.Add ("QXmlErrorHandler", "IQXmlErrorHandler"); + mastermap.Add ("QXmlDTDHandler", "IQXmlDTDHandler"); + mastermap.Add ("QXmlEntityResolver", "IQXmlEntityResolver"); + //mastermap.Add ("QXmlLexicalHandler", "IQXmlLexicalHandler"); + mastermap.Add ("QXmlDeclHandler", "IQXmlDeclHandler"); + mastermap.Add ("QwAbsSpriteFieldView", "IQwAbsSpriteFieldView"); + mastermap.Add ("QSqlQuery", "IQSqlQuery"); + mastermap.Add ("QFeatureListInterface", "IQFeatureList"); + mastermap.Add ("QUnknownInterface", "IQUnknown"); + mastermap.Add ("QShared", "IQShared");*/ + + // Key Duplication + //mastermap.Add ("Direction", "QBoxLayout.Direction"); + //mastermap.Add ("Direction", "QChar.Direction"); + //mastermap.Add ("Reason", "QContextMenuEvent.Reason"); + //mastermap.Add ("Reason", "QFocusEvent.Reason"); + //mastermap.Add ("Reason", "QNPInstance.Reason"); + //mastermap.Add ("Mode", "QFileDialog.Mode"); + //mastermap.Add ("Mode", "QIconSet.Mode"); + //mastermap.Add ("Mode", "QLCDNumber.Mode"); + //mastermap.Add ("Mode", "QSqlCursor.Mode"); + //mastermap.Add ("Shape", "QFrame.Shape"); + //mastermap.Add ("Shape", "QTabBar.Shape"); + //mastermap.Add ("KeyType", "QGCache.KeyType"); + //mastermap.Add ("KeyType", "QGDict.KeyType"); + //mastermap.Add ("State", "QAccessible.State"); + //mastermap.Add ("State", "QNetworkProtocol.State"); + //mastermap.Add ("State", "QSocket.State"); + //mastermap.Add ("State", "QValidator.State"); + //mastermap.Add ("ResizeMode", "QIconView.ResizeMode"); + //mastermap.Add ("ResizeMode", "QLayout.ResizeMode"); + //mastermap.Add ("ResizeMode", "QListView.ResizeMode"); + //mastermap.Add ("ResizeMode", "QListView.ResizeMode"); + //mastermap.Add ("EchoMode", "QLineEdit.EchoMode"); + //mastermap.Add ("EchoMode", "QtMultiLineEdit.EchoMode"); + //mastermap.Add ("ColorMode", "QApplication.ColorMode"); + //mastermap.Add ("ColorMode", "QPrinter.ColorMode"); + //mastermap.Add ("ColorMode", "QPixmap.ColorMode"); + //mastermap.Add ("SelectionMode", "QIconView.SelectionMode"); + //mastermap.Add ("SelectionMode", "QListBox.SelectionMode"); + //mastermap.Add ("SelectionMode", "QListView.SelectionMode"); + //mastermap.Add ("SelectionMode", "QTable.SelectionMode"); + //mastermap.Add ("Error", "QSocket.Error"); + //mastermap.Add ("Error", "QSocketDevice.Error"); + //mastermap.Add ("Error", "QNetworkProtocol.Error"); + //mastermap.Add ("ButtonSymbols", "QSpinBox.ButtonSymbols"); + //mastermap.Add ("ButtonSymbols", "QSpinWidget.ButtonSymbols"); + //mastermap.Add ("StyleHint", "QStyle.StyleHint"); + //mastermap.Add ("StyleHint", "QFont.StyleHint"); + //mastermap.Add ("Encoding", "QApplication.Encoding"); + //mastermap.Add ("Encoding", "QTextStream.Encoding"); + //mastermap.Add ("VerticalAlignment", "QTextEdit.VerticalAlignment"); + //mastermap.Add ("VerticalAlignment", "QStyleSheetItem.VerticalAlignment"); + //mastermap.Add ("Orientation", "QPrinter.Orientation"); + //mastermap.Add ("Orientation", "Qt.Orientation"); + //mastermap.Add ("WrapPolicy", "QTextEdit.WrapPolicy"); + //mastermap.Add ("WrapPolicy", "QtMultiLineEdit.WrapPolicy"); + //mastermap.Add ("WordWrap", "QTextEdit.WordWrap"); + //mastermap.Add ("WordWrap", "QtMultiLineEdit.WordWrap"); + + // These are here in case we need to override the mastermap + pinvoketypes = new Hashtable (); + pinvokecalltypes = new Hashtable (); + csharptypes = new Hashtable (); + overloadtypes = new Hashtable (); + + // These are reserved keywords. + reserved = new Hashtable (); + reserved.Add ("lock", "Q_lock"); + reserved.Add ("object", "Q_object"); + reserved.Add ("ref", "Q_ref"); + reserved.Add ("base", "Q_base"); + reserved.Add ("string", "Q_string"); + reserved.Add ("const", "Q_const"); + reserved.Add ("event", "Q_event"); + + // The allowed interfaces + interfaces = new Hashtable (); + interfaces.Add ("QAccessibleFactoryInterface", "IQAccessibleFactory"); + interfaces.Add ("QAccessibleInterface", "IQAccessible"); + interfaces.Add ("QPaintDevice", "IQPaintDevice"); + interfaces.Add ("QMenuData", "IQMenuData"); + interfaces.Add ("QRangeControl", "IQRangeControl"); + interfaces.Add ("QMimeSource", "IQMimeSource"); + interfaces.Add ("QLayoutItem", "IQLayoutItem"); + interfaces.Add ("QUrl", "IQUrl"); + interfaces.Add ("QIODevice", "IQIODevice"); + interfaces.Add ("QXmlContentHandler", "IQXmlContentHandler"); + interfaces.Add ("QXmlErrorHandler", "IQXmlErrorHandler"); + interfaces.Add ("QXmlDTDHandler", "IQXmlDTDHandler"); + interfaces.Add ("QXmlEntityResolver", "IQXmlEntityResolver"); + //interfaces.Add ("QXmlLexicalHandler", "IQXmlLexicalHandler"); + interfaces.Add ("QXmlDeclHandler", "IQXmlDeclHandler"); + interfaces.Add ("QwAbsSpriteFieldView", "IQwAbsSpriteFieldView"); + interfaces.Add ("QSqlQuery", "IQSqlQuery"); + interfaces.Add ("QFeatureListInterface", "IQFeatureList"); + interfaces.Add ("QUnknownInterface", "IQUnknown"); + interfaces.Add ("QShared", "IQShared"); + } + + public string PinvokeType (string str) + { + if ((string)mastermap[str] != null) + if((string)pinvoketypes[(string)mastermap[str]] != null) + return (string)pinvoketypes[(string)mastermap[str]]; + else + return (string)mastermap[str]; + else if ((string)pinvoketypes[str] != null) + return (string)pinvoketypes[str]; + else + return str; + } + + public string PinvokeCallType (string str) + { + + if ((string)mastermap[str] != null) + if((string)pinvokecalltypes[(string)mastermap[str]] != null) + return (string)pinvokecalltypes[(string)mastermap[str]]; + else + return (string)mastermap[str]; + else if ((string)pinvokecalltypes[str] != null) + return (string)pinvokecalltypes[str]; + else + return str; + } + + public string CSharpType (string str) + { + if ((string)mastermap[str] != null) + if((string)csharptypes[(string)mastermap[str]] != null) + return (string)csharptypes[(string)mastermap[str]]; + else + return (string)mastermap[str]; + else if ((string)csharptypes[str] != null) + return (string)csharptypes[str]; + else + return str; + } + + public string OverloadType (string str) + { + if ((string)mastermap[str] != null) + if((string)overloadtypes[(string)mastermap[str]] != null) + return (string)overloadtypes[(string)mastermap[str]]; + else + return (string)mastermap[str]; + else if ((string)overloadtypes[str] != null) + return (string)overloadtypes[str]; + else + return str; + } + + public string ArrayType (string str) + { + if ((string)arraymap[str] != null) + return (string)arraymap[str]; + else + return str; + } + + public string ReservedType (string str) + { + if ((string)reserved[str] != null) + return (string)reserved[str]; + else + return str; + } + + public string ReturnType (string str) + { + if ((string)reserved[str] != null) + return (string)reserved[str]; + else + return str; + } + + public string InterfaceType (string str) + { + if ((string)interfaces[str] != null) + return (string)interfaces[str]; + else + return str; + } + } +} diff --git a/qtsharp/src/generator/generator.build b/qtsharp/src/generator/generator.build new file mode 100644 index 00000000..dd703536 --- /dev/null +++ b/qtsharp/src/generator/generator.build @@ -0,0 +1,15 @@ +<?xml version="1.0"> +<project name="Qt# Binding Generator" default="all"> + <target name="all"> + <compile output="generator.exe" target="exe" optimize="true"> + <references> + <file name="System.Xml" /> + <file name="System" /> + </references> + + <sources> + <includes name="*.cs" /> + </sources> + </compile> + </target> +</project> diff --git a/qtsharp/src/libqtsharp/Makefile.am b/qtsharp/src/libqtsharp/Makefile.am new file mode 100644 index 00000000..387c6bfa --- /dev/null +++ b/qtsharp/src/libqtsharp/Makefile.am @@ -0,0 +1,12 @@ + +lib_LTLIBRARIES = libqtsharp.la +libqtsharp_la_SOURCES = customslot.cpp qtsharp.cpp + +libqtsharp_la_LDFLAGS = $(QT_LDFLAGS) $(LIB_QT) -no-undefined -version-info 0:0:0 $(all_libraries) ../../../qtc/clib/qtc/libqtc.la + +KDE_OPTIONS = qtonly + +INCLUDES= $(all_includes) + +libqtsharp_la_METASOURCES = AUTO + diff --git a/qtsharp/src/libqtsharp/customslot.cpp b/qtsharp/src/libqtsharp/customslot.cpp new file mode 100644 index 00000000..f23b9cee --- /dev/null +++ b/qtsharp/src/libqtsharp/customslot.cpp @@ -0,0 +1,254 @@ + +#include "customslot.h" + +CustomSlot::CustomSlot (void (*ptr)(void), QObject *parent, const char *name): QObject (parent, name) +{ + p0 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(bool), QObject *parent, const char *name): QObject (parent, name) +{ + p1 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(short), QObject *parent, const char *name): QObject (parent, name) +{ + p2 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(int), QObject *parent, const char *name): QObject (parent, name) +{ + p3 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(long), QObject *parent, const char *name): QObject (parent, name) +{ + p4 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(float), QObject *parent, const char *name): QObject (parent, name) +{ + p5 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(double), QObject *parent, const char *name): QObject (parent, name) +{ + p6 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QDockWindow*), QObject *parent, const char *name): QObject (parent, name) +{ + p7 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QDropEvent*), QObject *parent, const char *name): QObject (parent, name) +{ + p8 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QDropEvent*,QListViewItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p9 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QIconViewItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p10 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QListBoxItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p11 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QListViewItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p12 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QListViewItem*,QListViewItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p13 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QListViewItem*,QListViewItem*,QListViewItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p14 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QNetworkOperation*), QObject *parent, const char *name): QObject (parent, name) +{ + p15 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QObject*), QObject *parent, const char *name): QObject (parent, name) +{ + p16 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QToolBar*), QObject *parent, const char *name): QObject (parent, name) +{ + p17 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QWidget*), QObject *parent, const char *name): QObject (parent, name) +{ + p18 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(int,QIconViewItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p19 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(int,QListBoxItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p20 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(int,bool), QObject *parent, const char *name): QObject (parent, name) +{ + p21 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(int,int), QObject *parent, const char *name): QObject (parent, name) +{ + p22 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(int,int,int), QObject *parent, const char *name): QObject (parent, name) +{ + p23 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(const QString&), QObject *parent, const char *name): QObject (parent, name) +{ + p24 = ptr; +} + +void CustomSlot::callback (void) +{ + p0 (); +} + +void CustomSlot::callback (bool value0) +{ + p1 (value0); +} + +void CustomSlot::callback (short value0) +{ + p2 (value0); +} + +void CustomSlot::callback (int value0) +{ + p3 (value0); +} + +void CustomSlot::callback (long value0) +{ + p4 (value0); +} + +void CustomSlot::callback (float value0) +{ + p5 (value0); +} + +void CustomSlot::callback (double value0) +{ + p6 (value0); +} + +void CustomSlot::callback (QDockWindow* value0) +{ + p7 (value0); +} + +void CustomSlot::callback (QDropEvent* value0) +{ + p8 (value0); +} + +void CustomSlot::callback (QDropEvent* value0, QListViewItem* value1) +{ + p9 (value0, value1); +} + +void CustomSlot::callback (QIconViewItem* value0) +{ + p10 (value0); +} + +void CustomSlot::callback (QListBoxItem* value0) +{ + p11 (value0); +} + +void CustomSlot::callback (QListViewItem* value0) +{ + p12 (value0); +} + +void CustomSlot::callback (QListViewItem* value0, QListViewItem* value1) +{ + p13 (value0, value1); +} + +void CustomSlot::callback (QListViewItem* value0, QListViewItem* value1, QListViewItem* value2) +{ + p14 (value0, value1, value2); +} + +void CustomSlot::callback (QNetworkOperation* value0) +{ + p15 (value0); +} + +void CustomSlot::callback (QObject* value0) +{ + p16 (value0); +} + +void CustomSlot::callback (QToolBar* value0) +{ + p17 (value0); +} + +void CustomSlot::callback (QWidget* value0) +{ + p18 (value0); +} + +void CustomSlot::callback (int value0, QIconViewItem* value1) +{ + p19 (value0, value1); +} + +void CustomSlot::callback (int value0, QListBoxItem* value1) +{ + p20 (value0, value1); +} + +void CustomSlot::callback (int value0, bool value1) +{ + p21 (value0, value1); +} + +void CustomSlot::callback (int value0, int value1) +{ + p22 (value0, value1); +} + +void CustomSlot::callback (int value0, int value1, int value2) +{ + p23 (value0, value1, value2); +} + +void CustomSlot::callback( const QString& value0 ) +{ + p24 (value0); +} + +#include "customslot.moc" diff --git a/qtsharp/src/libqtsharp/customslot.h b/qtsharp/src/libqtsharp/customslot.h new file mode 100644 index 00000000..5182f354 --- /dev/null +++ b/qtsharp/src/libqtsharp/customslot.h @@ -0,0 +1,120 @@ +#ifndef _CUSTOMSLOT_H_ +#define _CUSTOMSLOT_H_ + +#include <iostream> +#include <qnamespace.h> +#include <qobject.h> +#include <qaction.h> +#include <qdockwindow.h> +#include <qlistview.h> +#include <qiconview.h> +#include <qpoint.h> +#include <qlist.h> +#include <qlistbox.h> +#include <qnetworkprotocol.h> +#include <qobject.h> +#include <qtoolbar.h> +#include <qwidget.h> +#include <qcolor.h> +#include <qdatetime.h> +#include <qfont.h> +#include <qrect.h> +#include <qsize.h> +#include <qstringlist.h> +#include <qstring.h> +#include <qlibrary.h> +#include <qurlinfo.h> +#include <qvaluelist.h> +#include <qvariant.h> +#include <qevent.h> +#include <qfiledialog.h> +#include <qmenudata.h> + +class CustomSlot: public QObject +{ + Q_OBJECT + +public: + + CustomSlot (void (*ptr)(void), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(bool), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(short), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(int), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(long), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(float), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(double), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(const QString&), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(QDockWindow*), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(QDropEvent*), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(QDropEvent*,QListViewItem*), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(QIconViewItem*), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(QListBoxItem*), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(QListViewItem*), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(QListViewItem*,QListViewItem*), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(QListViewItem*,QListViewItem*,QListViewItem*), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(QNetworkOperation*), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(QObject*), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(QToolBar*), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(QWidget*), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(int,QIconViewItem*), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(int,QListBoxItem*), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(int,bool), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(int,int), QObject *parent, const char *name=0); + CustomSlot (void (*ptr)(int,int,int), QObject *parent, const char *name=0); + +public slots: + void callback (void); + void callback (bool); + void callback (short); + void callback (int); + void callback (long); + void callback (float); + void callback (double); + void callback (const QString&); + void callback (QDockWindow*); + void callback (QDropEvent*); + void callback (QDropEvent*,QListViewItem*); + void callback (QIconViewItem*); + void callback (QListBoxItem*); + void callback (QListViewItem*); + void callback (QListViewItem*,QListViewItem*); + void callback (QListViewItem*,QListViewItem*,QListViewItem*); + void callback (QNetworkOperation*); + void callback (QObject*); + void callback (QToolBar*); + void callback (QWidget*); + void callback (int,QIconViewItem*); + void callback (int,QListBoxItem*); + void callback (int,bool); + void callback (int,int); + void callback (int,int,int); + +private: + void (*p0)(void); + void (*p1)(bool); + void (*p2)(short); + void (*p3)(int); + void (*p4)(long); + void (*p5)(float); + void (*p6)(double); + void (*p7)(QDockWindow*); + void (*p8)(QDropEvent*); + void (*p9)(QDropEvent*,QListViewItem*); + void (*p10)(QIconViewItem*); + void (*p11)(QListBoxItem*); + void (*p12)(QListViewItem*); + void (*p13)(QListViewItem*,QListViewItem*); + void (*p14)(QListViewItem*,QListViewItem*,QListViewItem*); + void (*p15)(QNetworkOperation*); + void (*p16)(QObject*); + void (*p17)(QToolBar*); + void (*p18)(QWidget*); + void (*p19)(int,QIconViewItem*); + void (*p20)(int,QListBoxItem*); + void (*p21)(int,bool); + void (*p22)(int,int); + void (*p23)(int,int,int); + void (*p24)(const QString&); +}; + +#endif // _CUSTOMSLOT_H_ diff --git a/qtsharp/src/libqtsharp/qtsharp.cpp b/qtsharp/src/libqtsharp/qtsharp.cpp new file mode 100644 index 00000000..903e89c0 --- /dev/null +++ b/qtsharp/src/libqtsharp/qtsharp.cpp @@ -0,0 +1,291 @@ +#include "qtsharp.h" +#include <cstdio> + +static qtsharp_EventDelegate QtSharp_EventDelegate = 0; + +static int qtsharp_delegateBridge (void *arg1, char *arg2, void *arg3, char *arg4) +{ + if (QtSharp_EventDelegate) + (*QtSharp_EventDelegate)(arg1, arg2, arg3, arg4); + + return 0; +} + +extern "C" +void qtsharp_QObject_registerEventDelegate (qtsharp_EventDelegate delegate) +{ + QtSharp_EventDelegate = delegate; + qt_QObject_registerEventDelegate (qtsharp_delegateBridge); + return; +} + +QObject *csharp_connect_void (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(void)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (void)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_item_void (QMenuData *instance, int id, QObject *receiver, void (*ptr)(void)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! instance->connectItem (id, cs, SLOT (callback (void)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_bool (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(bool)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (bool)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_short (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(short)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (short)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_int (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (int)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_item_int (QMenuData *instance, int id, QObject *receiver, void (*ptr)(int)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! instance->connectItem (id, cs, SLOT (callback (int)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_long (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(long)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (long)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_float (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(float)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (float)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_double (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(double)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (double)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_QString (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(const QString&)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (const QString&)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_QDockWindow (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QDockWindow*)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (QDockWindow*)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_QDropEvent (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QDropEvent*)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (QDropEvent*)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_QDropEventQListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QDropEvent*,QListViewItem*)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (QDropEvent*,QListViewItem*)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_QIconViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QIconViewItem*)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (QIconViewItem*)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_QListBoxItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListBoxItem*)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (QListBoxItem*)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_QListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListViewItem*)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (QListViewItem*)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_QListViewItemQListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListViewItem*,QListViewItem*)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (QListViewItem*,QListViewItem*)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_QListViewItemQListViewItemQListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListViewItem*,QListViewItem*,QListViewItem*)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (QListViewItem*,QListViewItem*,QListViewItem*)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_QNetworkOperation (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QNetworkOperation*)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (QNetworkOperation*)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_QObject (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QObject*)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (QObject*)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_QToolBar (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QToolBar*)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (QToolBar*)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_QWidget (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QWidget*)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (QWidget*)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_intQIconViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,QIconViewItem*)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (int,QIconViewItem*)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_intQListBoxItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,QListBoxItem*)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (int,QListBoxItem*)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_intbool (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,bool)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (int,bool)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_intint (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,int)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (int,int)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + +QObject *csharp_connect_intintint (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,int,int)) +{ + CustomSlot *cs = new CustomSlot (ptr, receiver); + if (! QObject::connect (sender, signal, cs, SLOT (callback (int,int,int)))) { + delete cs; + cs = 0L; + } + return (QObject *)cs; +} + diff --git a/qtsharp/src/libqtsharp/qtsharp.h b/qtsharp/src/libqtsharp/qtsharp.h new file mode 100644 index 00000000..26321fb1 --- /dev/null +++ b/qtsharp/src/libqtsharp/qtsharp.h @@ -0,0 +1,67 @@ +#ifndef _QTSHARP_H_ +#define _QTSHARP_H_ + +#include "customslot.h" + +extern "C" { + +typedef void (*qtsharp_EventDelegate)(void *, char *, void *, char *); +typedef int (*qt_EventDelegate)(void *, char *, void *, char *); + +void qt_QObject_registerEventDelegate (qt_EventDelegate delegate); + +QObject *csharp_connect_void (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(void)); +QObject *csharp_connect_item_void (QMenuData *instance, int id, QObject *receiver, void (*ptr)(void)); + +QObject *csharp_connect_bool (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(bool)); + +QObject *csharp_connect_short (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(short)); + +QObject *csharp_connect_int (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int)); +QObject *csharp_connect_item_int (QMenuData *instance, int id, QObject *receiver, void (*ptr)(int)); + +QObject *csharp_connect_long (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(long)); + +QObject *csharp_connect_float (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(float)); + +QObject *csharp_connect_double (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(double)); + +QObject *csharp_connect_QString (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(const QString&)); + +QObject *csharp_connect_QDockWindow (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QDockWindow*)); + +QObject *csharp_connect_QDropEvent (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QDropEvent*)); + +QObject *csharp_connect_QDropEventQListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QDropEvent*,QListViewItem*)); + +QObject *csharp_connect_QIconViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QIconViewItem*)); + +QObject *csharp_connect_QListBoxItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListBoxItem*)); + +QObject *csharp_connect_QListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListViewItem*)); + +QObject *csharp_connect_QListViewItemQListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListViewItem*,QListViewItem*)); + +QObject *csharp_connect_QListViewItemQListViewItemQListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListViewItem*,QListViewItem*,QListViewItem*)); + +QObject *csharp_connect_QNetworkOperation (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QNetworkOperation*)); + +QObject *csharp_connect_QObject (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QObject*)); + +QObject *csharp_connect_QToolBar (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QToolBar*)); + +QObject *csharp_connect_QWidget (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QWidget*)); + +QObject *csharp_connect_intQIconViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,QIconViewItem*)); + +QObject *csharp_connect_intQListBoxItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,QListBoxItem*)); + +QObject *csharp_connect_intbool (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,bool)); + +QObject *csharp_connect_intint (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,int)); + +QObject *csharp_connect_intintint (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,int,int)); + +} // extern "C" + +#endif // _QTSHARP_H_ diff --git a/qtsharp/src/tests/Makefile.am b/qtsharp/src/tests/Makefile.am new file mode 100644 index 00000000..a2642055 --- /dev/null +++ b/qtsharp/src/tests/Makefile.am @@ -0,0 +1,11 @@ +#TESTS = lookuptest.exe +TESTS = + +all-local: $(TESTS) + +lookuptest.exe: lookuptest.cs + $(MCS) -o $@ $^ -r Qt -lib:../bindings + chmod 755 $@ + +CLEANFILES = $(TESTS) + diff --git a/qtsharp/src/tests/lookuptest.cs b/qtsharp/src/tests/lookuptest.cs new file mode 100644 index 00000000..9882678f --- /dev/null +++ b/qtsharp/src/tests/lookuptest.cs @@ -0,0 +1,50 @@ +// Demonstrates that auto-boxing of foreign C++ objects works. +// Set QTCSHARP_DEBUG to true in your environment to see this work. +// +// TODO +// o Turn this into an nunit test. +// o Mono won't let this test call LookupObject because +// it is marked 'internal', even though they're both +// in the same namespace. Mono bug? + +namespace Qt { + + using Qt; + using System; + + public class LookupTest : QVBox, IDisposable { + + public LookupTest() : base (null) + { + QPushButton button = new QPushButton ("Quit", this); + QPushButton button2 = (QPushButton)QtSupport.LookupObject (button.Ptr); // Lookup a child object that exists in C# + + if (button.GetHashCode () != button2.GetHashCode ()) + Console.WriteLine ("ERROR: Hash codes differ for button and button2!"); + + QSize size = button2.SizeHint (); // Wrap a non-C# object. Lookup is called from the C# sizeHint method. + QSize size2 = (QSize)QtSupport.LookupObject (size.Ptr); + + if (size.GetHashCode () != size2.GetHashCode ()) + Console.WriteLine ("ERROR: Hash codes differ for size and size2!"); + + Connect (button, SIGNAL ("clicked()"), QObject.qApp, SLOT ("Quit()")); + } + + public static void Main (string[] args) + { + QApplication a = new QApplication (args); + LookupTest lt = new LookupTest (); + a.SetMainWidget (lt); + lt.Show (); + + LookupTest lt2 = (LookupTest)QtSupport.LookupObject (lt.Ptr); // Lookup a root object that exists in C# + + if (lt.GetHashCode () != lt2.GetHashCode ()) + Console.WriteLine ("ERROR: Hash codes differ for lt and lt2!"); + + a.Exec (); + lt.Dispose (); + } + } +} diff --git a/qtsharp/src/uicsharp/Makefile.am b/qtsharp/src/uicsharp/Makefile.am new file mode 100644 index 00000000..ac42d99c --- /dev/null +++ b/qtsharp/src/uicsharp/Makefile.am @@ -0,0 +1,21 @@ +all: uicsharp.exe + +uicsharp.exe: $(wildcard *.cs) + csant -D$(CSC_NAME)=$(CSC) -C $(CSC_NAME) + chmod 0755 $@ + +clean: + -rm uicsharp.exe + +distclean: clean + +install: uicsharp.exe + -$(MAKE) uninstall + -mkdir $(bindir) + install -o root -g root -m 0755 uicsharp.exe $(bindir)/uicsharp.exe + ln -s $(bindir)/uicsharp.exe $(bindir)/uicsharp + +uninstall: + -rm -rf $(bindir)/uicsharp.exe $(bindir)/uicsharp + +.PHONY: all clean install uninstall diff --git a/qtsharp/src/uicsharp/tests/form1.ui b/qtsharp/src/uicsharp/tests/form1.ui new file mode 100644 index 00000000..e5895a10 --- /dev/null +++ b/qtsharp/src/uicsharp/tests/form1.ui @@ -0,0 +1,43 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>Form1</class> +<widget class="QDialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>600</width> + <height>480</height> + </rect> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLineEdit"> + <property name="name"> + <cstring>LineEdit1</cstring> + </property> + </widget> + <widget class="QPushButton"> + <property name="name"> + <cstring>PushButton1</cstring> + </property> + <property name="text"> + <string>PushButton1</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1</cstring> + </property> + <property name="text"> + <string>TextLabel1</string> + </property> + </widget> + </vbox> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> diff --git a/qtsharp/src/uicsharp/tests/form10.ui b/qtsharp/src/uicsharp/tests/form10.ui new file mode 100644 index 00000000..50b27bb6 --- /dev/null +++ b/qtsharp/src/uicsharp/tests/form10.ui @@ -0,0 +1,131 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>Form2</class> +<widget class="QWidget"> + <property name="name"> + <cstring>Form2</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>600</width> + <height>480</height> + </rect> + </property> + <widget class="QWidgetStack"> + <property name="name"> + <cstring>WidgetStack1</cstring> + </property> + <property name="geometry"> + <rect> + <x>70</x> + <y>80</y> + <width>357</width> + <height>301</height> + </rect> + </property> + <widget class="QWidget"> + <property name="name"> + <cstring>page</cstring> + </property> + <attribute name="id"> + <number>0</number> + </attribute> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox2</cstring> + </property> + <property name="text"> + <string>CheckBox2</string> + </property> + </widget> + <widget class="QRadioButton"> + <property name="name"> + <cstring>RadioButton2</cstring> + </property> + <property name="text"> + <string>RadioButton2</string> + </property> + </widget> + </vbox> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>page</cstring> + </property> + <attribute name="id"> + <number>1</number> + </attribute> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QListView"> + <column> + <property name="text"> + <string>Column 1</string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + <item> + <property name="text"> + <string>New Item</string> + </property> + <property name="pixmap"> + <pixmap></pixmap> + </property> + </item> + <property name="name"> + <cstring>ListView1</cstring> + </property> + </widget> + <widget class="QTable"> + <property name="name"> + <cstring>Table1</cstring> + </property> + <property name="numRows"> + <number>3</number> + </property> + <property name="numCols"> + <number>3</number> + </property> + </widget> + </vbox> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>page</cstring> + </property> + <attribute name="id"> + <number>2</number> + </attribute> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QTable"> + <property name="name"> + <cstring>Table2</cstring> + </property> + <property name="numRows"> + <number>3</number> + </property> + <property name="numCols"> + <number>3</number> + </property> + </widget> + </vbox> + </widget> + </widget> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> diff --git a/qtsharp/src/uicsharp/tests/form2.ui b/qtsharp/src/uicsharp/tests/form2.ui new file mode 100644 index 00000000..4d6545d5 --- /dev/null +++ b/qtsharp/src/uicsharp/tests/form2.ui @@ -0,0 +1,138 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>Form1</class> +<widget class="QDialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>600</width> + <height>480</height> + </rect> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QGroupBox"> + <property name="name"> + <cstring>GroupBox1</cstring> + </property> + <property name="title"> + <string>GroupBox1</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QCheckBox" row="0" column="0"> + <property name="name"> + <cstring>CheckBox1</cstring> + </property> + <property name="text"> + <string>CheckBox1</string> + </property> + </widget> + <widget class="QCheckBox" row="1" column="0"> + <property name="name"> + <cstring>CheckBox2</cstring> + </property> + <property name="text"> + <string>CheckBox2</string> + </property> + </widget> + <widget class="QCheckBox" row="2" column="0"> + <property name="name"> + <cstring>CheckBox3</cstring> + </property> + <property name="text"> + <string>CheckBox3</string> + </property> + </widget> + <widget class="QCheckBox" row="3" column="0"> + <property name="name"> + <cstring>CheckBox4</cstring> + </property> + <property name="text"> + <string>CheckBox4</string> + </property> + </widget> + <widget class="QCheckBox" row="0" column="1"> + <property name="name"> + <cstring>CheckBox5</cstring> + </property> + <property name="text"> + <string>CheckBox5</string> + </property> + </widget> + <widget class="QCheckBox" row="2" column="1"> + <property name="name"> + <cstring>CheckBox6</cstring> + </property> + <property name="text"> + <string>CheckBox6</string> + </property> + </widget> + <widget class="QCheckBox" row="3" column="1"> + <property name="name"> + <cstring>CheckBox7</cstring> + </property> + <property name="text"> + <string>CheckBox7</string> + </property> + </widget> + <widget class="QCheckBox" row="4" column="1"> + <property name="name"> + <cstring>CheckBox8</cstring> + </property> + <property name="text"> + <string>CheckBox8</string> + </property> + </widget> + <widget class="QCheckBox" row="4" column="0"> + <property name="name"> + <cstring>CheckBox9</cstring> + </property> + <property name="text"> + <string>CheckBox9</string> + </property> + </widget> + </grid> + </widget> + <widget class="QFrame"> + <property name="name"> + <cstring>Frame3</cstring> + </property> + <property name="frameShape"> + <enum>StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>Raised</enum> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLineEdit"> + <property name="name"> + <cstring>LineEdit1</cstring> + </property> + </widget> + <widget class="QListBox"> + <item> + <property name="text"> + <string>New Item</string> + </property> + </item> + <property name="name"> + <cstring>ListBox1</cstring> + </property> + </widget> + </hbox> + </widget> + </vbox> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> diff --git a/qtsharp/src/uicsharp/tests/form3.ui b/qtsharp/src/uicsharp/tests/form3.ui new file mode 100644 index 00000000..2e77c2bd --- /dev/null +++ b/qtsharp/src/uicsharp/tests/form3.ui @@ -0,0 +1,206 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>Form1</class> +<widget class="QDialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>600</width> + <height>480</height> + </rect> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout1</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QGroupBox"> + <property name="name"> + <cstring>GroupBox1</cstring> + </property> + <property name="title"> + <string>GroupBox1</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QCheckBox" row="0" column="0"> + <property name="name"> + <cstring>CheckBox1</cstring> + </property> + <property name="text"> + <string>CheckBox1</string> + </property> + </widget> + <widget class="QCheckBox" row="1" column="0"> + <property name="name"> + <cstring>CheckBox2</cstring> + </property> + <property name="text"> + <string>CheckBox2</string> + </property> + </widget> + <widget class="QCheckBox" row="2" column="0"> + <property name="name"> + <cstring>CheckBox3</cstring> + </property> + <property name="text"> + <string>CheckBox3</string> + </property> + </widget> + <widget class="QCheckBox" row="3" column="0"> + <property name="name"> + <cstring>CheckBox4</cstring> + </property> + <property name="text"> + <string>CheckBox4</string> + </property> + </widget> + <widget class="QCheckBox" row="0" column="1"> + <property name="name"> + <cstring>CheckBox5</cstring> + </property> + <property name="text"> + <string>CheckBox5</string> + </property> + </widget> + <widget class="QCheckBox" row="2" column="1"> + <property name="name"> + <cstring>CheckBox6</cstring> + </property> + <property name="text"> + <string>CheckBox6</string> + </property> + </widget> + <widget class="QCheckBox" row="3" column="1"> + <property name="name"> + <cstring>CheckBox7</cstring> + </property> + <property name="text"> + <string>CheckBox7</string> + </property> + </widget> + <widget class="QCheckBox" row="4" column="1"> + <property name="name"> + <cstring>CheckBox8</cstring> + </property> + <property name="text"> + <string>CheckBox8</string> + </property> + </widget> + <widget class="QCheckBox" row="4" column="0"> + <property name="name"> + <cstring>CheckBox9</cstring> + </property> + <property name="text"> + <string>CheckBox9</string> + </property> + </widget> + </grid> + </widget> + <widget class="QGroupBox"> + <property name="name"> + <cstring>GroupBox2</cstring> + </property> + <property name="title"> + <string>GroupBox2</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QPushButton"> + <property name="name"> + <cstring>PushButton1</cstring> + </property> + <property name="text"> + <string>PushButton1</string> + </property> + </widget> + <widget class="QPushButton"> + <property name="name"> + <cstring>PushButton2</cstring> + </property> + <property name="text"> + <string>PushButton2</string> + </property> + </widget> + </vbox> + </widget> + <widget class="QGroupBox"> + <property name="name"> + <cstring>GroupBox3</cstring> + </property> + <property name="title"> + <string>GroupBox3</string> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QPushButton"> + <property name="name"> + <cstring>PushButton3</cstring> + </property> + <property name="text"> + <string>PushButton3</string> + </property> + </widget> + <widget class="QPushButton"> + <property name="name"> + <cstring>PushButton4</cstring> + </property> + <property name="text"> + <string>PushButton4</string> + </property> + </widget> + </hbox> + </widget> + </hbox> + </widget> + <widget class="QFrame"> + <property name="name"> + <cstring>Frame3</cstring> + </property> + <property name="frameShape"> + <enum>StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>Raised</enum> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLineEdit"> + <property name="name"> + <cstring>LineEdit1</cstring> + </property> + </widget> + <widget class="QListBox"> + <item> + <property name="text"> + <string>New Item</string> + </property> + </item> + <property name="name"> + <cstring>ListBox1</cstring> + </property> + </widget> + </hbox> + </widget> + </vbox> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> diff --git a/qtsharp/src/uicsharp/tests/form4.ui b/qtsharp/src/uicsharp/tests/form4.ui new file mode 100644 index 00000000..bb18f36e --- /dev/null +++ b/qtsharp/src/uicsharp/tests/form4.ui @@ -0,0 +1,224 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>Form1</class> +<widget class="QDialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>600</width> + <height>480</height> + </rect> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout1</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QGroupBox"> + <property name="name"> + <cstring>GroupBox1</cstring> + </property> + <property name="title"> + <string>GroupBox1</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QCheckBox" row="0" column="0"> + <property name="name"> + <cstring>CheckBox1</cstring> + </property> + <property name="text"> + <string>CheckBox1</string> + </property> + </widget> + <widget class="QCheckBox" row="1" column="0"> + <property name="name"> + <cstring>CheckBox2</cstring> + </property> + <property name="text"> + <string>CheckBox2</string> + </property> + </widget> + <widget class="QCheckBox" row="2" column="0"> + <property name="name"> + <cstring>CheckBox3</cstring> + </property> + <property name="text"> + <string>CheckBox3</string> + </property> + </widget> + <widget class="QCheckBox" row="3" column="0"> + <property name="name"> + <cstring>CheckBox4</cstring> + </property> + <property name="text"> + <string>CheckBox4</string> + </property> + </widget> + <widget class="QCheckBox" row="0" column="1"> + <property name="name"> + <cstring>CheckBox5</cstring> + </property> + <property name="text"> + <string>CheckBox5</string> + </property> + </widget> + <widget class="QCheckBox" row="2" column="1"> + <property name="name"> + <cstring>CheckBox6</cstring> + </property> + <property name="text"> + <string>CheckBox6</string> + </property> + </widget> + <widget class="QCheckBox" row="3" column="1"> + <property name="name"> + <cstring>CheckBox7</cstring> + </property> + <property name="text"> + <string>CheckBox7</string> + </property> + </widget> + <widget class="QCheckBox" row="4" column="1"> + <property name="name"> + <cstring>CheckBox8</cstring> + </property> + <property name="text"> + <string>CheckBox8</string> + </property> + </widget> + <widget class="QCheckBox" row="4" column="0"> + <property name="name"> + <cstring>CheckBox9</cstring> + </property> + <property name="text"> + <string>CheckBox9</string> + </property> + </widget> + </grid> + </widget> + <widget class="QGroupBox"> + <property name="name"> + <cstring>GroupBox2</cstring> + </property> + <property name="title"> + <string>GroupBox2</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QPushButton"> + <property name="name"> + <cstring>PushButton1</cstring> + </property> + <property name="text"> + <string>PushButton1</string> + </property> + </widget> + <widget class="QPushButton"> + <property name="name"> + <cstring>PushButton2</cstring> + </property> + <property name="text"> + <string>PushButton2</string> + </property> + </widget> + </vbox> + </widget> + <widget class="QGroupBox"> + <property name="name"> + <cstring>GroupBox3</cstring> + </property> + <property name="title"> + <string>GroupBox3</string> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QPushButton"> + <property name="name"> + <cstring>PushButton3</cstring> + </property> + <property name="text"> + <string>PushButton3</string> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout2</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox10</cstring> + </property> + <property name="text"> + <string>CheckBox10</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox11</cstring> + </property> + <property name="text"> + <string>CheckBox11</string> + </property> + </widget> + </vbox> + </widget> + </hbox> + </widget> + </hbox> + </widget> + <widget class="QFrame"> + <property name="name"> + <cstring>Frame3</cstring> + </property> + <property name="frameShape"> + <enum>StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>Raised</enum> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLineEdit"> + <property name="name"> + <cstring>LineEdit1</cstring> + </property> + </widget> + <widget class="QListBox"> + <item> + <property name="text"> + <string>New Item</string> + </property> + </item> + <property name="name"> + <cstring>ListBox1</cstring> + </property> + </widget> + </hbox> + </widget> + </vbox> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> diff --git a/qtsharp/src/uicsharp/tests/form5.ui b/qtsharp/src/uicsharp/tests/form5.ui new file mode 100644 index 00000000..47cd7d91 --- /dev/null +++ b/qtsharp/src/uicsharp/tests/form5.ui @@ -0,0 +1,450 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>Form1</class> +<widget class="QMainWindow"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>600</width> + <height>480</height> + </rect> + </property> +</widget> +<menubar> + <property name="name"> + <cstring>menubar</cstring> + </property> + <item text="&File" name="fileMenu"> + <action name="fileNewAction"/> + <action name="fileOpenAction"/> + <action name="fileSaveAction"/> + <action name="fileSaveAsAction"/> + <separator/> + <action name="filePrintAction"/> + <separator/> + <action name="fileExitAction"/> + </item> + <item text="&Edit" name="editMenu"> + <action name="editUndoAction"/> + <action name="editRedoAction"/> + <separator/> + <action name="editCutAction"/> + <action name="editCopyAction"/> + <action name="editPasteAction"/> + <separator/> + <action name="editFindAction"/> + </item> + <item text="&Help" name="helpMenu"> + <action name="helpContentsAction"/> + <action name="helpIndexAction"/> + <separator/> + <action name="helpAboutAction"/> + </item> +</menubar> +<toolbars> + <toolbar dock="2"> + <property name="name"> + <cstring>toolBar</cstring> + </property> + <property name="label"> + <string>Tools</string> + </property> + <action name="fileNewAction"/> + <action name="fileOpenAction"/> + <action name="fileSaveAction"/> + <action name="fileSaveAsAction"/> + <action name="filePrintAction"/> + <action name="fileExitAction"/> + <separator/> + <action name="editUndoAction"/> + <action name="editRedoAction"/> + </toolbar> +</toolbars> +<actions> + <action> + <property name="name"> + <cstring>fileNewAction</cstring> + </property> + <property name="iconSet"> + <iconset>image0</iconset> + </property> + <property name="text"> + <string>New</string> + </property> + <property name="menuText"> + <string>&New</string> + </property> + <property name="accel"> + <string>Ctrl+N</string> + </property> + </action> + <action> + <property name="name"> + <cstring>fileOpenAction</cstring> + </property> + <property name="iconSet"> + <iconset>image1</iconset> + </property> + <property name="text"> + <string>Open</string> + </property> + <property name="menuText"> + <string>&Open...</string> + </property> + <property name="accel"> + <string>Ctrl+O</string> + </property> + </action> + <action> + <property name="name"> + <cstring>fileSaveAction</cstring> + </property> + <property name="iconSet"> + <iconset>image2</iconset> + </property> + <property name="text"> + <string>Save</string> + </property> + <property name="menuText"> + <string>&Save</string> + </property> + <property name="accel"> + <string>Ctrl+S</string> + </property> + </action> + <action> + <property name="name"> + <cstring>fileSaveAsAction</cstring> + </property> + <property name="text"> + <string>Save As</string> + </property> + <property name="menuText"> + <string>Save &As...</string> + </property> + <property name="accel"> + <string></string> + </property> + </action> + <action> + <property name="name"> + <cstring>filePrintAction</cstring> + </property> + <property name="iconSet"> + <iconset>image3</iconset> + </property> + <property name="text"> + <string>Print</string> + </property> + <property name="menuText"> + <string>&Print...</string> + </property> + <property name="accel"> + <string>Ctrl+P</string> + </property> + </action> + <action> + <property name="name"> + <cstring>fileExitAction</cstring> + </property> + <property name="text"> + <string>Exit</string> + </property> + <property name="menuText"> + <string>E&xit</string> + </property> + <property name="accel"> + <string></string> + </property> + </action> + <action> + <property name="name"> + <cstring>editUndoAction</cstring> + </property> + <property name="iconSet"> + <iconset>image4</iconset> + </property> + <property name="text"> + <string>Undo</string> + </property> + <property name="menuText"> + <string>&Undo</string> + </property> + <property name="accel"> + <string>Ctrl+Z</string> + </property> + </action> + <action> + <property name="name"> + <cstring>editRedoAction</cstring> + </property> + <property name="iconSet"> + <iconset>image5</iconset> + </property> + <property name="text"> + <string>Redo</string> + </property> + <property name="menuText"> + <string>&Redo</string> + </property> + <property name="accel"> + <string>Ctrl+Y</string> + </property> + </action> + <action> + <property name="name"> + <cstring>editCutAction</cstring> + </property> + <property name="iconSet"> + <iconset>image6</iconset> + </property> + <property name="text"> + <string>Cut</string> + </property> + <property name="menuText"> + <string>&Cut</string> + </property> + <property name="accel"> + <string>Ctrl+X</string> + </property> + </action> + <action> + <property name="name"> + <cstring>editCopyAction</cstring> + </property> + <property name="iconSet"> + <iconset>image7</iconset> + </property> + <property name="text"> + <string>Copy</string> + </property> + <property name="menuText"> + <string>C&opy</string> + </property> + <property name="accel"> + <string>Ctrl+C</string> + </property> + </action> + <action> + <property name="name"> + <cstring>editPasteAction</cstring> + </property> + <property name="iconSet"> + <iconset>image8</iconset> + </property> + <property name="text"> + <string>Paste</string> + </property> + <property name="menuText"> + <string>&Paste</string> + </property> + <property name="accel"> + <string>Ctrl+V</string> + </property> + </action> + <action> + <property name="name"> + <cstring>editFindAction</cstring> + </property> + <property name="iconSet"> + <iconset>image9</iconset> + </property> + <property name="text"> + <string>Find</string> + </property> + <property name="menuText"> + <string>&Find...</string> + </property> + <property name="accel"> + <string>Ctrl+F</string> + </property> + </action> + <action> + <property name="name"> + <cstring>helpContentsAction</cstring> + </property> + <property name="text"> + <string>Contents</string> + </property> + <property name="menuText"> + <string>&Contents...</string> + </property> + <property name="accel"> + <string></string> + </property> + </action> + <action> + <property name="name"> + <cstring>helpIndexAction</cstring> + </property> + <property name="text"> + <string>Index</string> + </property> + <property name="menuText"> + <string>&Index...</string> + </property> + <property name="accel"> + <string></string> + </property> + </action> + <action> + <property name="name"> + <cstring>helpAboutAction</cstring> + </property> + <property name="text"> + <string>About</string> + </property> + <property name="menuText"> + <string>&About</string> + </property> + <property name="accel"> + <string></string> + </property> + </action> +</actions> +<images> + <image name="image0"> + <data format="XPM.GZ" length="721">789cedd2b10ac2301405d03d5ff148b62056035241fc04c5511087f425a2432b681d44fc777ba329d6b47fe07d19dee50cc9904cd376b3229d896b6deb13131fed85b4bb95e57db75f3e8434869a93d3548e841c13d3fa5c79ecaad9d52404b540351e83caa833c6a03ad4798e41f5a86c30a816f510126ee94d14d52611fb8e2ad49070a4445ca4447ca4446ca444da07fecac7ffd2956ebe64f81ff4c873215e0583a9b0</data> + </image> + <image name="image1"> + <data format="XPM.GZ" length="691">789cad914d0ac2301085f739c5d0d915b11a140ae211149782b898448b2e5a41eb42c4bb9b9fa6a67644045f0299978f37134896c27ab5803413979aeaa3067da033a4bb6b59de36dbf95d245282d953182703910c41c3f254ed6d8da6c69193b5dada7c924b6fc9dac2c85b156c51b83eacfe41d0c89defc4dfa2dd7c37fc44b025a179043c4152a4b055f4365414ad0e8901fd94c1ae5e19441da9211c68e7f44098d3074d86019e70a0210c089958df7ffb31134fa13797a8</data> + </image> + <image name="image2"> + <data format="XPM.GZ" length="691">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523232520022530543251d2e253d856405bffcbc54105b19c856360003103711c4b530b13082709340dc644310047193c1dcc424d314883958015846190b80ca24262a2721012087349964a030ba69c9c9303d403e9132087b68279388ecff4414193440948c32aa71d86470bb80863258a21b9a0eb0a7905a6b2e006d59a436</data> + </image> + <image name="image3"> + <data format="XPM.GZ" length="2509">789c7d944973db461085effa152cf54d956a932089a55239c896572d96bcc4b253390033186ea2488aa416a7f2dfd3db0cbd44e6d340f8f8def43406209e1c742ecf4f3b074ff6d69b7a33711d37ae6f3a077e3b9f3ffcf5f71fffeced675987fecab293edffb6b77fb1e9b8ced9e2ba65c08c00baf2117e2f5c86d02d99e196b9d7ed963df53f2ab3c47789258fa7c26564688d4bf30f23673de113e6ac1719ae9459e27f4d5c893f17ae126f8d2be3ebc87d9dff4e3904f317ccfd5ef23f28b3c45f26963c7e510ec1fc9570157dd81857967f883c90cd8635f3208b8c0b6596f863e17a500fd597fe8744c35afc1be33aef8bff5ad9b5e637cc7993f7f346fca571637c1fb9d0f99f9543b07ab2df453ff9723d0551a1f3d791cb8170573904f3a5bf725034e66f133be96fa44c1246799e4a573495e461a29cfcbbc8e64f8d9df96564f5519e876a1019668975fda05c593d5c25d67a6f945d6ef3bdb08b3ed491eba1e467c6561fcf229bff4ad9b5c6c7ccf530fa8089bdf8136596703fb1f800c23ee5ff548e3e7a636f3c8ddc68bd8ab91926066596b05c5fe359c285b2cf8de5f7ed7296f050b825d6f74763dc1a0f227bcdbf60f679e29789353f5666093f4facfe857208e63f156e93df8bdc16c223e358ff28b2f939735b240eca2ce1678983f0a57208e6bf150ec96f8d83f127e650b084cf85e5a32fdf9d10b0c6c6e44835c9631dfd9ff235b618925ad1e89779278af5750df7681ea40316d8111eef876a79ad977ae773d8257ec8efead629fdeb3ca4ba9ae6e11fcdbbef6aa72b7934ef695702eddf4e631a13d2f4c73cd599e115f533a639bbc173e6788d0b5cf23a314fe915dee01a37df698bb77887f7f8805ff190e64c342fb59fe2333ca2e373d30b7c89aff035bec1634a9e904ef1417faf78866ff1fc275de03b7c4fa3a1553e50fd8f78a2ef0bfcf43fe973bcc4cff805bb74d6a3de0e31b37c9f561fe090c6583a19612e9d1dd179417db1575237191eeafb172b9cd22a7d409a7bcc8f0c4e68f01900ef44090db8547f4ee9a966456732445083078f779a8756dfdf52f19b1cd59c699254e31c46d0703f30b6fa5239a5d27faabc22b78409de838316bdd51fd1377730a531a12bd363c949aa3d936f1a6821e8fda566aef8fe011d612eba860569495a9196721ebe7d7ed0c30dac491b58d2bd21c116b634bf25ddd2fd9dd9f3f6efef7bff0111915e41</data> + </image> + <image name="image4"> + <data format="XPM.GZ" length="661">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523232520022630543251d2e253d856405bffcbc54105b19c8563600020b13103711c4b530b1308270f5b082019251068344848c32b23808206494a1e23015890819653db8b81e44255c0659025d460fa70c6e3d78ec814b21b90d052422fb070540f50ebaf84196a9b5e6020011bc73cc</data> + </image> + <image name="image5"> + <data format="XPM.GZ" length="661">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523232520022630543251d2e253d856405bffcbc54103b11c8563600020b13105719c4b530b1308270f5b0027acb28278201a64c221c4084136132ca7011885c225c06c91890542256193d98a198327a386570ea49449581bb4d2f114d0624a08c230c50fd4f5cb80da04cad351700f7fd8672</data> + </image> + <image name="image6"> + <data format="XPM.GZ" length="661">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523232520022630543251d2e253d856405bffcbc54105b19c856360003103711c6b53002abc40a90649491482ac92863955146d6822ca387474619c9301419a03842825819245bd064129513b1cb242602512216994430d44bc4904984c8c1a5e032897a3019a8144c26518f800c92715864d0ec81ab4dc4701b924fb0850e8a4cad351700fbd07ccb</data> + </image> + <image name="image7"> + <data format="XPM.GZ" length="706">789c9d92cb0ac2301045f7f98aa1d915b1da8214c44f505c0ae26226b1e8a20a5a1722febb9924a5af58c19b40e77238a1842431ecb66b881371afb03a2b5027bc41ac1f65f9dc1f562f11a52998bd80793411d114146cae9723cfd2cc7266c395ea9aa75c15d74c65aad05c35d79c727215b91636f6d860c689f40910b4e92147d840b3be39d8416d877c860eb9af478d23919c4b8a7a0ed68eb628e4a04521c7fd46c07138e47448dbf1f32fc767e8d43735741af287d3ced83b782fc5075b18a5a5</data> + </image> + <image name="image8"> + <data format="XPM.GZ" length="736">789c7d92d10a82301486eff714c3dd49649984103d42d165105dcce3465d58507611d1bbb773d674aed93f85fd7efb183ab394ef771b9e66ecdecaf60c1c4ef2c6d3fad134cfc371fd62499e7373957c9e4c5832e5c0b7d78bc2b9307331a36055ae960556c05a16656e69e5aaa5355658c202965825566d62176b57b5a64da3f188c084841e0a29a5e831910ef8885e4854501922e8a6b923586a176a8e40051ec1e63b7d0267387c6738424775091d653f98565a858e26c110447107d1886350d4a1c41c3dea7864e87c37f3ce47fc3aee7cd5207ffe90f78a7d0007c6c175</data> + </image> + <image name="image9"> + <data format="XPM.GZ" length="2798">789cb5d5594f1b491007f0773e8545bda1d53ff81a7bb4da07830103b603b92059edc34cf78c0ff0812f3051befb5677554f56c24428d2aa78e0a7aeaeea6be0dd41e9f6aa573a78b7b75c25ab91299961b2281dd8f564b2fdfb9fbfbeefed572a25fe291f46a5cafe1f7bfbd7ab9229f567d3cc81fa0caa945d785f78c72ebc2f9dabb10bef9e73ade2c21913e77ae2c28f2fc48d6a947ab7c4b169d6bc8f9ca3aa0b3fbfaf4e35ff4c5cccdf8813db34de1def34e4c3881b3cc38fb7d5a918f78525ff46dcaca9576a23a627715cd3f53e8a131b7b63edecba69fd8d3af41b1496fa6d7153f78f86b8a86f0bcbfe9ec5493d16cfc5695dfad34c6d651ca9f7cffdbd173743fd441cd64f0f85a5fe489c6a3fd4d5613c0d4eeade43b189747c1b2ce3683abbeebadf5a702ae343716c743d53313f1febc7bfa843bf1371581f9d06ebf8581df257e2b01eba57675a5fea19177e7c109cfa712271aceba58938b13a6ec4a13fba62ee27f53fa9b51fe5c1ba7f7f1f71cd85f7545cdcf73ad8f8ef137762de9fd4ef898b7e51b0d63f52877e65b10de3c785657eacced4fe7b77b763236fab36fa3e1ec5a9d5f341b0e4d3526c42bd4ab0eee7505cf4fb28ce1aea6fc146fa7f76e6d3e115fafa5d7112cebf254eeb328e6a70967b9f8b437fba13db4ceb2fc5453f7f5ffcfac2795f046bbd0fe2a2df486c42bd2bb18dd46375e89f89b99fccf7ef2dadbbf0eea8add6bf16db4cbd1067b9de8fafc7b7a1ef13cf6213e50defadd846b9acff569c3574fe833ad7fa5fc57943cfdb9f9f894cd8cf93982748fdb9386f64dee4df97c978ff52ef4c9d69ff9938cff53cfdf7ec5627f5ae576f8fdfcf0721410ac391c222fb753e720c30c408638e3bdcf31c7a3d9fb3279862c631c70316586285f5ae1e727fd8e091f3e678c216cf68e108c768e3e4957ccb2b39e5fc337470ce71814b74d143ffe59ae4ff01ae7825d7f8c0753fe213d7ff8c2ffcfb0deccefc016ef115df380e51460555d4504784069aafe48f798f87885126a04a4409a564c8be92bfc115655cb94c395a34409d8634a231afe7c58ee5ef35d7bae3dc2eddd384a634a339c7032d90efcce7bba225ad38525aa3461b7ae478da75037a5f2758d196525ec93359aedde23882a563ae95edc8cf90529b4ee894c6bcf2844f66e2ce1239cf9afc7755c5fbc9b8479fdabcc71b3aa38ee4d039d7b9a04b1ecb5ebe677ea1964712ead2f9cf8aac1ecfd10a6f79ffdc7b4d7dee92bcfd7be1bd5ff29ccedbbf2f90dbfbfffefdfef873ef5fce01d04a</data> + </image> +</images> +<connections> + <connection> + <sender>fileNewAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>fileNew()</slot> + </connection> + <connection> + <sender>fileOpenAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>fileOpen()</slot> + </connection> + <connection> + <sender>fileSaveAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>fileSave()</slot> + </connection> + <connection> + <sender>fileSaveAsAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>fileSaveAs()</slot> + </connection> + <connection> + <sender>filePrintAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>filePrint()</slot> + </connection> + <connection> + <sender>fileExitAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>fileExit()</slot> + </connection> + <connection> + <sender>editUndoAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>editUndo()</slot> + </connection> + <connection> + <sender>editRedoAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>editRedo()</slot> + </connection> + <connection> + <sender>editCutAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>editCut()</slot> + </connection> + <connection> + <sender>editCopyAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>editCopy()</slot> + </connection> + <connection> + <sender>editPasteAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>editPaste()</slot> + </connection> + <connection> + <sender>editFindAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>editFind()</slot> + </connection> + <connection> + <sender>helpIndexAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>helpIndex()</slot> + </connection> + <connection> + <sender>helpContentsAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>helpContents()</slot> + </connection> + <connection> + <sender>helpAboutAction</sender> + <signal>activated()</signal> + <receiver>Form1</receiver> + <slot>helpAbout()</slot> + </connection> +</connections> +<slots> + <slot>fileNew()</slot> + <slot>fileOpen()</slot> + <slot>fileSave()</slot> + <slot>fileSaveAs()</slot> + <slot>filePrint()</slot> + <slot>fileExit()</slot> + <slot>editUndo()</slot> + <slot>editRedo()</slot> + <slot>editCut()</slot> + <slot>editCopy()</slot> + <slot>editPaste()</slot> + <slot>editFind()</slot> + <slot>helpIndex()</slot> + <slot>helpContents()</slot> + <slot>helpAbout()</slot> +</slots> +<layoutdefaults spacing="6" margin="11"/> +</UI> diff --git a/qtsharp/src/uicsharp/tests/form6.ui b/qtsharp/src/uicsharp/tests/form6.ui new file mode 100644 index 00000000..7e67784c --- /dev/null +++ b/qtsharp/src/uicsharp/tests/form6.ui @@ -0,0 +1,167 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>MyDialog</class> +<widget class="QDialog"> + <property name="name"> + <cstring>MyDialog</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>594</width> + <height>470</height> + </rect> + </property> + <property name="sizeGripEnabled"> + <bool>true</bool> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QSplitter"> + <property name="name"> + <cstring>Splitter1</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <widget class="QListView"> + <column> + <property name="text"> + <string>Column 1</string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + <item> + <property name="text"> + <string>New Item</string> + </property> + <property name="pixmap"> + <pixmap></pixmap> + </property> + </item> + <property name="name"> + <cstring>ListView1</cstring> + </property> + </widget> + <widget class="QIconView"> + <item> + <property name="text"> + <string>New Item</string> + </property> + <property name="pixmap"> + <pixmap>image0</pixmap> + </property> + </item> + <property name="name"> + <cstring>IconView1</cstring> + </property> + </widget> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout5</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QPushButton"> + <property name="name"> + <cstring>buttonOk</cstring> + </property> + <property name="text"> + <string>&OK</string> + </property> + <property name="accel"> + <string></string> + </property> + <property name="autoDefault"> + <bool>true</bool> + </property> + <property name="default"> + <bool>true</bool> + </property> + </widget> + <widget class="QPushButton"> + <property name="name"> + <cstring>buttonCancel</cstring> + </property> + <property name="text"> + <string>&Cancel</string> + </property> + <property name="accel"> + <string></string> + </property> + <property name="autoDefault"> + <bool>true</bool> + </property> + </widget> + <widget class="QPushButton"> + <property name="name"> + <cstring>buttonHelp</cstring> + </property> + <property name="text"> + <string>&Help</string> + </property> + <property name="accel"> + <string>F1</string> + </property> + <property name="autoDefault"> + <bool>true</bool> + </property> + </widget> + <spacer> + <property name="name"> + <cstring>Spacer1</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </vbox> + </widget> + </hbox> +</widget> +<images> + <image name="image0"> + <data format="XPM.GZ" length="1347">789c7dd3c14ac4301405d07dbf22f4ed8a743ace0882f8098a4b415ca4c92475310a3a2e44fc777393a64df2dabed7452e1c6eb368778d787e7a10cdaefabac8cb9b126a909fa2d1dfe7f3cfcbebfd6f551fae857bf69dd8d75755dd0a251e3fde4f38933b53e707b10f518df18478e8b08803e271c21af1e6168b681165e7f688681055874594211a13a242347efc95da9688dad58946ca75e58d6be9e5ba0a46e92d351a952aa2d3b2495459989849f949546632b5688c32c65aeadde428ed0132da23306e4c5863f1ba017042738f6fc138a5fdbd0a135b2203ec7bca7b723022e23d19628601cb0d6f59e8612dce0c2b2641658fb5650b375a0795a2c2b8afcaaba4859ba852c4cda4364da9964daed64caa60c2475d9a590503c54d54d1d0a2096abb67541bf79955fc0debbfbbea1f81b84f0e</data> + </image> +</images> +<connections> + <connection> + <sender>buttonOk</sender> + <signal>clicked()</signal> + <receiver>MyDialog</receiver> + <slot>accept()</slot> + </connection> + <connection> + <sender>buttonCancel</sender> + <signal>clicked()</signal> + <receiver>MyDialog</receiver> + <slot>reject()</slot> + </connection> +</connections> +<layoutdefaults spacing="6" margin="11"/> +</UI> diff --git a/qtsharp/src/uicsharp/tests/form7.ui b/qtsharp/src/uicsharp/tests/form7.ui new file mode 100644 index 00000000..6cf51c06 --- /dev/null +++ b/qtsharp/src/uicsharp/tests/form7.ui @@ -0,0 +1,339 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>Form1</class> +<widget class="QDialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>600</width> + <height>480</height> + </rect> + </property> + <widget class="QGroupBox"> + <property name="name"> + <cstring>GroupBox3</cstring> + </property> + <property name="geometry"> + <rect> + <x>382</x> + <y>12</y> + <width>206</width> + <height>150</height> + </rect> + </property> + <property name="title"> + <string>GroupBox3</string> + </property> + <widget class="QPushButton"> + <property name="name"> + <cstring>PushButton3</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>30</y> + <width>82</width> + <height>26</height> + </rect> + </property> + <property name="text"> + <string>PushButton3</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox10</cstring> + </property> + <property name="geometry"> + <rect> + <x>100</x> + <y>21</y> + <width>94</width> + <height>19</height> + </rect> + </property> + <property name="text"> + <string>CheckBox10</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox11</cstring> + </property> + <property name="geometry"> + <rect> + <x>100</x> + <y>46</y> + <width>94</width> + <height>19</height> + </rect> + </property> + <property name="text"> + <string>CheckBox11</string> + </property> + </widget> + </widget> + <widget class="QGroupBox"> + <property name="name"> + <cstring>GroupBox1</cstring> + </property> + <property name="geometry"> + <rect> + <x>12</x> + <y>12</y> + <width>202</width> + <height>150</height> + </rect> + </property> + <property name="title"> + <string>GroupBox1</string> + </property> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox1</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>20</y> + <width>87</width> + <height>19</height> + </rect> + </property> + <property name="text"> + <string>CheckBox1</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox2</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>45</y> + <width>87</width> + <height>19</height> + </rect> + </property> + <property name="text"> + <string>CheckBox2</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox3</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>70</y> + <width>87</width> + <height>19</height> + </rect> + </property> + <property name="text"> + <string>CheckBox3</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox4</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>95</y> + <width>87</width> + <height>19</height> + </rect> + </property> + <property name="text"> + <string>CheckBox4</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox5</cstring> + </property> + <property name="geometry"> + <rect> + <x>104</x> + <y>20</y> + <width>87</width> + <height>19</height> + </rect> + </property> + <property name="text"> + <string>CheckBox5</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox6</cstring> + </property> + <property name="geometry"> + <rect> + <x>104</x> + <y>70</y> + <width>87</width> + <height>19</height> + </rect> + </property> + <property name="text"> + <string>CheckBox6</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox7</cstring> + </property> + <property name="geometry"> + <rect> + <x>104</x> + <y>95</y> + <width>87</width> + <height>19</height> + </rect> + </property> + <property name="text"> + <string>CheckBox7</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox8</cstring> + </property> + <property name="geometry"> + <rect> + <x>104</x> + <y>120</y> + <width>87</width> + <height>19</height> + </rect> + </property> + <property name="text"> + <string>CheckBox8</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox9</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>120</y> + <width>87</width> + <height>19</height> + </rect> + </property> + <property name="text"> + <string>CheckBox9</string> + </property> + </widget> + </widget> + <widget class="QGroupBox"> + <property name="name"> + <cstring>GroupBox2</cstring> + </property> + <property name="geometry"> + <rect> + <x>220</x> + <y>12</y> + <width>156</width> + <height>150</height> + </rect> + </property> + <property name="title"> + <string>GroupBox2</string> + </property> + <widget class="QPushButton"> + <property name="name"> + <cstring>PushButton1</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>20</y> + <width>134</width> + <height>26</height> + </rect> + </property> + <property name="text"> + <string>PushButton1</string> + </property> + </widget> + <widget class="QPushButton"> + <property name="name"> + <cstring>PushButton2</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>52</y> + <width>134</width> + <height>26</height> + </rect> + </property> + <property name="text"> + <string>PushButton2</string> + </property> + </widget> + </widget> + <widget class="QFrame"> + <property name="name"> + <cstring>Frame3</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>169</y> + <width>578</width> + <height>300</height> + </rect> + </property> + <property name="frameShape"> + <enum>StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>Raised</enum> + </property> + <widget class="QLineEdit"> + <property name="name"> + <cstring>LineEdit1</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>139</y> + <width>275</width> + <height>22</height> + </rect> + </property> + </widget> + <widget class="QListBox"> + <item> + <property name="text"> + <string>New Item</string> + </property> + </item> + <property name="name"> + <cstring>ListBox1</cstring> + </property> + <property name="geometry"> + <rect> + <x>292</x> + <y>11</y> + <width>275</width> + <height>278</height> + </rect> + </property> + </widget> + </widget> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> diff --git a/qtsharp/src/uicsharp/tests/form8.ui b/qtsharp/src/uicsharp/tests/form8.ui new file mode 100644 index 00000000..09f20bef --- /dev/null +++ b/qtsharp/src/uicsharp/tests/form8.ui @@ -0,0 +1,75 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>Form1</class> +<widget class="QWidget"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>600</width> + <height>480</height> + </rect> + </property> + <widget class="QPushButton"> + <property name="name"> + <cstring>PushButton1</cstring> + </property> + <property name="geometry"> + <rect> + <x>100</x> + <y>70</y> + <width>161</width> + <height>51</height> + </rect> + </property> + <property name="text"> + <string>PushButton1</string> + </property> + </widget> + <widget class="QRadioButton"> + <property name="name"> + <cstring>RadioButton1</cstring> + </property> + <property name="geometry"> + <rect> + <x>100</x> + <y>130</y> + <width>96</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>RadioButton1</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>CheckBox1</cstring> + </property> + <property name="geometry"> + <rect> + <x>60</x> + <y>170</y> + <width>131</width> + <height>41</height> + </rect> + </property> + <property name="font"> + <font> + <family>Century Schoolbook l [Urw]</family> + <pointsize>34</pointsize> + <bold>1</bold> + <italic>1</italic> + <underline>1</underline> + <strikeout>1</strikeout> + </font> + </property> + <property name="text"> + <string>CheckBox1</string> + </property> + </widget> +</widget> +<layoutdefaults spacing="6" margin="11"/> +</UI> diff --git a/qtsharp/src/uicsharp/tests/form9.ui b/qtsharp/src/uicsharp/tests/form9.ui new file mode 100644 index 00000000..b1e61488 --- /dev/null +++ b/qtsharp/src/uicsharp/tests/form9.ui @@ -0,0 +1,211 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>MyDialog1</class> +<widget class="QDialog"> + <property name="name"> + <cstring>MyDialog1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>528</width> + <height>368</height> + </rect> + </property> + <property name="sizeGripEnabled"> + <bool>true</bool> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QTabWidget"> + <property name="name"> + <cstring>tabWidget</cstring> + </property> + <widget class="QWidget"> + <property name="name"> + <cstring>Widget8</cstring> + </property> + <attribute name="title"> + <string>Tab</string> + </attribute> + <widget class="QComboBox"> + <property name="name"> + <cstring>ComboBox1</cstring> + </property> + <property name="geometry"> + <rect> + <x>27</x> + <y>75</y> + <width>61</width> + <height>21</height> + </rect> + </property> + </widget> + <widget class="QListBox"> + <item> + <property name="text"> + <string>New Item</string> + </property> + </item> + <property name="name"> + <cstring>ListBox1</cstring> + </property> + <property name="geometry"> + <rect> + <x>187</x> + <y>65</y> + <width>88</width> + <height>60</height> + </rect> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1</cstring> + </property> + <property name="geometry"> + <rect> + <x>77</x> + <y>145</y> + <width>131</width> + <height>41</height> + </rect> + </property> + <property name="text"> + <string>TextLabel1</string> + </property> + </widget> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>Widget9</cstring> + </property> + <attribute name="title"> + <string>Tab</string> + </attribute> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QListBox"> + <item> + <property name="text"> + <string>New Item</string> + </property> + </item> + <property name="name"> + <cstring>ListBox2</cstring> + </property> + </widget> + <widget class="QTextEdit"> + <property name="name"> + <cstring>TextEdit1</cstring> + </property> + </widget> + </hbox> + </widget> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>Layout1</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QPushButton"> + <property name="name"> + <cstring>buttonHelp</cstring> + </property> + <property name="text"> + <string>&Help</string> + </property> + <property name="accel"> + <string>F1</string> + </property> + <property name="autoDefault"> + <bool>true</bool> + </property> + </widget> + <spacer> + <property name="name"> + <cstring>Horizontal Spacing2</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="QPushButton"> + <property name="name"> + <cstring>buttonOk</cstring> + </property> + <property name="text"> + <string>&OK</string> + </property> + <property name="accel"> + <string></string> + </property> + <property name="autoDefault"> + <bool>true</bool> + </property> + <property name="default"> + <bool>true</bool> + </property> + </widget> + <widget class="QPushButton"> + <property name="name"> + <cstring>buttonCancel</cstring> + </property> + <property name="text"> + <string>&Cancel</string> + </property> + <property name="accel"> + <string></string> + </property> + <property name="autoDefault"> + <bool>true</bool> + </property> + </widget> + </hbox> + </widget> + </vbox> +</widget> +<connections> + <connection> + <sender>buttonOk</sender> + <signal>clicked()</signal> + <receiver>MyDialog1</receiver> + <slot>accept()</slot> + </connection> + <connection> + <sender>buttonCancel</sender> + <signal>clicked()</signal> + <receiver>MyDialog1</receiver> + <slot>reject()</slot> + </connection> +</connections> +<layoutdefaults spacing="6" margin="11"/> +</UI> diff --git a/qtsharp/src/uicsharp/uicsharp.build b/qtsharp/src/uicsharp/uicsharp.build new file mode 100644 index 00000000..d4bf8f5f --- /dev/null +++ b/qtsharp/src/uicsharp/uicsharp.build @@ -0,0 +1,15 @@ +<?xml version="1.0"> +<project name="Qt# UI Compiler" default="all"> + <target name="all"> + <compile output="uicsharp.exe" target="exe" optimize="true"> + <references> + <file name="../bindings/Qt.dll" /> + </references> + + <sources> + <includes name="*.cs" /> + + </sources> + </compile> + </target> +</project> diff --git a/qtsharp/src/uicsharp/uicsharp.cs b/qtsharp/src/uicsharp/uicsharp.cs new file mode 100644 index 00000000..a2553d23 --- /dev/null +++ b/qtsharp/src/uicsharp/uicsharp.cs @@ -0,0 +1,934 @@ +// A Qt compatible UI to C# generator. +// +// Copyright (C) 2002 Joseph Wenninger (jowenn@kde.org) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation. +// +// MODIFICATION: ONLY VERSION 2 IS VALID +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +using System; +using System.IO; +using System.Xml; +using System.Text; +using System.Collections; +using System.Reflection; +using Qt; + +namespace QtSharp { + + enum ElementType{LayoutType,WidgetType,PropertyType}; + + + public class Generator { + + void Usage () + { + Console.Write ( + "generator -f file.ui -m\n\n" + + " -f || --file file.ui The file to parse.\n"+ + " -m Create test main.\n\n" ); + } + + public static void Main (string[] args) + { + Generator gen = new Generator (args); + } + + + + XmlTextReader xtr; + TextWriter writer; + Hashtable fields; + String uifile; + bool createMain; + String generatedClass; + + Assembly qtAssembly; + + + public Generator (string[] args) + { + + + try { + String []dummyargs=new String[0]; + QApplication dummyapp=new QApplication(dummyargs,false); + qtAssembly=Assembly.GetAssembly(dummyapp.GetType()); +// qtAssembly=Assembly.Load("Qt.dll"); + Console.WriteLine("CodeBase="+qtAssembly.CodeBase); + } + catch (Exception e) { + Console.WriteLine(e.Message); + Console.WriteLine("exiting"); + return; + } + + uifile = null; + string outfile = null; + createMain=false; + generatedClass=null; + + int argc = args.Length; + for (int i = 0; i < argc; i++) { + string arg = args[i]; + if (arg.StartsWith("-") || arg.StartsWith("/")) { + switch (arg) { + case "-f": case "--file": + if ((i + 1) >= argc) { + Usage(); + return; + } + uifile = args[++i]; + continue; + case "-m": createMain=true; break; + default: + Usage (); + return; + } + } + } + if (uifile == null) { + Usage(); + return; + } + if (!uifile.EndsWith(".ui")) + { + Usage(); + return; + } + + if (!File.Exists (uifile)) { + Console.WriteLine ("\n No UI file at {0}\n", uifile); + return; + } + + outfile=uifile.Substring(0,uifile.Length-3); + outfile+=".cs"; + Console.WriteLine ("\n Converting {0} ==> {1}\n",uifile,outfile); + + + writer = new StreamWriter(outfile, false, new ASCIIEncoding()); + + writer.WriteLine("//**********************************************************************"); + writer.WriteLine("// This file has been generated by the uicsharp User Interface compiler"); + writer.WriteLine("// the input file has been: "+uifile); + writer.WriteLine("//**********************************************************************"); + writer.WriteLine("\nusing System;\nusing Qt;\n"); + fields= new Hashtable(); + createClass(); + writer.Flush(); + writer.Close(); + + } + + + XmlDocument uiDoc; + XmlElement widgetElement; + XmlElement menubarElement; + XmlElement toolbarsElement; + XmlElement actionsElement; + XmlElement imagesElement; + String className; + String defLayoutSpacing; + String defLayoutMargin; + String buddyList; + + + public void createClass () + { + menubarElement=null; + toolbarsElement=null; + actionsElement=null; + imagesElement=null; + defLayoutSpacing="1"; + defLayoutMargin="1"; + String classname=null; + String ancestor=null; + buddyList=""; + uiDoc=new XmlDocument(); + uiDoc.Load(uifile); + Console.WriteLine(uiDoc.DocumentElement.Name); + XmlElement dummy=uiDoc.DocumentElement.FirstChild as XmlElement; + while (dummy!=null) + { + Console.WriteLine("not null"); + switch (dummy.Name) { + case "class": className=dummy.InnerText; + break; + case "widget": widgetElement=dummy; + Console.WriteLine("Widget element has been found"); + break; + case "menubar": menubarElement=dummy; + break; + case "toolbars": toolbarsElement=dummy; + break; + case "actions": actionsElement=dummy; + break; + case "images": imagesElement=dummy; + break; + case "layoutdefaults": defLayoutSpacing=dummy.GetAttribute("spacing"); + defLayoutMargin=dummy.GetAttribute("margin"); + break; + } + dummy=dummy.NextSibling as XmlElement; + } + Console.WriteLine("class should be named: "+className); + writer.WriteLine("public class "+className+" : "+widgetElement.GetAttribute("class")+"\n{"); + addSubMembers(widgetElement); + addImagesMembers(); + addMenuBarMembers(); + addToolBarMembers(); + addActionMembers(); + + createConstructor(); +// setupSignalsSlots(); + + if (createMain) writeMain(); + writer.WriteLine("}"); + } + + + private void addImagesMembers() + { + if (imagesElement==null) return; + writer.WriteLine("\t//Images member fields"); + foreach (XmlNode node in imagesElement.ChildNodes) { + XmlElement el=node as XmlElement; + writer.WriteLine("\tString[] "+el.GetAttribute("name")+"_data={\"22 22 7 1\","+ + "\". c None\",\"# c #000000\",\"b c #2e2e2e\",\"c c #5c5c5c\","+ + "\"d c #878787\",\"e c #c2c2c2\",\"a c #ffffff\","+ + "\"......................\",\"....##########........\","+ +"\"....#aaaaaaa#b#.......\",\"....#aaaaaaa#cb#......\",\"....#aaaaaaa#dcb#.....\","+ +"\"....#aaaaaaa#edcb#....\",\"....#aaaaaaa#aedcb#...\",\"....#aaaaaaa#######...\","+ +"\"....#aaaaaaaaaaaaa#...\",\"....#aaaaaaaaaaaaa#...\",\"....#aaaaaaaaaaaaa#...\","+ +"\"....#aaaaaaaaaaaaa#...\",\"....#aaaaaaaaaaaaa#...\",\"....#aaaaaaaaaaaaa#...\","+ +"\"....#aaaaaaaaaaaaa#...\",\"....#aaaaaaaaaaaaa#...\",\"....#aaaaaaaaaaaaa#...\","+ +"\"....#aaaaaaaaaaaaa#...\",\"....#aaaaaaaaaaaaa#...\",\"....###############...\","+ +"\"......................\",\"......................\"};"); + writer.WriteLine("\tQPixmap {0};",el.GetAttribute("name")); + + } + } + + private void addMenuBarMembers() + { + if (menubarElement==null) return; + writer.WriteLine("\t//Menubar member fields"); + writer.WriteLine("\t QMenuBar menubar;"); + foreach (XmlNode node in menubarElement.ChildNodes) { + XmlElement el=node as XmlElement; + if (el.Name=="item") { + writer.WriteLine("\tpublic QPopupMenu {0};",el.GetAttribute("name")); + } + } + } + + private void addActionMembers() + { + if (actionsElement==null) return; + writer.WriteLine("\t//Action member fields"); + foreach (XmlNode node in actionsElement.ChildNodes) { + XmlElement el=node as XmlElement; + if (el.Name=="action") { + writer.WriteLine("\tpublic QAction {0};",getName(el)); + } + } + } + + private void addToolBarMembers() + { + if (toolbarsElement==null) return; + writer.WriteLine("\t//Toolbar member fields"); + foreach (XmlNode node in toolbarsElement.ChildNodes) { + XmlElement el=node as XmlElement; + if (el.Name=="toolbar") { + writer.WriteLine("\tpublic QToolBar {0};",getName(el)); + } + } + } + + + + private void addSubMembers(XmlElement widget) + { + String [] membertypes={"widget","vbox","hbox","grid"}; + foreach (String membertype in membertypes) { + XmlNodeList nl=widget.GetElementsByTagName(membertype); + foreach (XmlNode submembernode in nl) { + if (submembernode.ParentNode!=widget) continue; // I think this is a workaround for a classlib bug + XmlElement submember=submembernode as XmlElement; + addSubMembers(submember); + if (submember.GetAttribute("class")=="QLayoutWidget") continue; //they are private + String membername=getName(submember); + if (membername==String.Empty) continue; + writer.WriteLine("\t"+submember.GetAttribute("class")+" "+membername+";"); + Console.WriteLine((submember as XmlElement).Name); + } + } + } + + private String getName(XmlElement element) + { + if (element.GetAttribute("uicsharp_name")!=String.Empty) + return element.GetAttribute("uicsharp_name"); + foreach(XmlNode property in element.ChildNodes) { + //if (property.ParentNode!=element) continue ;//see comment in addSubMembers + XmlElement prop=property as XmlElement; + if (prop.Name!="property") continue; + if (prop.GetAttribute("name")=="name") { + return (prop.FirstChild.InnerXml=="unnamed")?String.Empty:prop.FirstChild.InnerXml; + } + } + return String.Empty; + } + + + private void setupTabOrder() + { + foreach (XmlNode node in uiDoc.DocumentElement.ChildNodes) { + XmlElement element=node as XmlElement; + if (element.Name!="tabstops") continue; + writer.WriteLine("\n\t\t// tab stop order"); + foreach( XmlNode tsnode in element.ChildNodes) { + XmlElement ts=tsnode as XmlElement; + if (ts.NextSibling==null) break; + XmlElement ts1=ts.NextSibling as XmlElement; + writer.WriteLine("\t\tSetTabOrder({0},{1});",ts.InnerText,ts1.InnerText); + } + break; + } + + } + + private void setupConnections() + { + return; + foreach (XmlNode node in uiDoc.DocumentElement.ChildNodes) { + XmlElement element=node as XmlElement; + if (element.Name!="connections") continue; + writer.WriteLine("\n\t\t// setting up signal / slot connections"); + foreach( XmlNode connnode in element.ChildNodes) { + XmlElement conn=connnode as XmlElement; + + XmlElement tmp=conn.FirstChild as XmlElement; + String sender=tmp.InnerText; + sender=(sender==className)?"this":sender; + tmp=tmp.NextSibling as XmlElement; + String signal=tmp.InnerText; + + tmp=tmp.NextSibling as XmlElement; + String receiver=tmp.InnerText; + receiver=(receiver==className)?"this":receiver; + + tmp=tmp.NextSibling as XmlElement; + String slot=tmp.InnerText; + + writer.WriteLine("\t\tQObject.Connect({0},SIGNAL(\"{1}\"),{2},SLOT(\"{3}\"));", + sender,signal,receiver,slot); + } + break; + } + + } + + + private void createConstructor() + { + //Later handle non qwidgets better (dialog,....) + writer.WriteLine("\n\tpublic "+className+"(QWidget parent, String name) :base(parent, name) {"); + writer.WriteLine("\t\tif (name==null) SetName(\""+className+"\");"); + setupImages(); + setupActions(); + setupToolBars(); + setupMenuBar(); + constructEverything(); + setupConnections(); + setupTabOrder(); + setProperties(widgetElement); + + if (buddyList!=String.Empty) writer.WriteLine("\n\t\t//link buddies\n"+buddyList); + +// writer.WriteLine("\t\tinit();\n\t}"); + writer.WriteLine("\n\t}"); + } + + + private void setupImages() + { + if (imagesElement==null) return; + writer.WriteLine("\t//images"); + foreach (XmlNode node in imagesElement.ChildNodes) { + XmlElement el=node as XmlElement; + writer.WriteLine("\t\t{0}=new QPixmap({1}_data);", + el.GetAttribute("name"),el.GetAttribute("name")); + } + } + + private void setupActions() + { + if (actionsElement==null) return; + writer.WriteLine("\t//actions"); + foreach (XmlNode aNode in actionsElement.ChildNodes) { + XmlElement action=aNode as XmlElement; + if (action.Name!="action") continue; + writer.WriteLine("\t\t{0}= new QAction(this,\"{1}\");",getName(action),getName(action)); + foreach (XmlNode pNode in action.ChildNodes) { + XmlElement prop=pNode as XmlElement; + if (prop.Name!="property") continue; + if (prop.GetAttribute("name")=="name") continue; + writer.WriteLine(generateSetProperty(getName(action),"",prop)); + } + } + } + + + private void setupMenuBar() + { + if (menubarElement==null) return; + writer.WriteLine("\t//menubar"); + String barname=getName(menubarElement); + writer.WriteLine("\t\t{0}=new QMenuBar(this,\"{1}\");",barname,barname); + int count=0; + foreach (XmlNode mNode in menubarElement.ChildNodes) { + XmlElement item=mNode as XmlElement; + if (item.Name!="item") continue; + String submenu_name=item.GetAttribute("name"); + String submenu_text=stringify(item.GetAttribute("text")); + writer.WriteLine("\t\t{0}=new QPopupMenu(this);",submenu_name); + + foreach (XmlNode node in item.ChildNodes) { + XmlElement element=node as XmlElement; + if ((element.Name=="property") && (element.GetAttribute("name")!="name")) generateSetProperty(barname,"",element); + else if (element.Name=="separator") writer.WriteLine("\t\t{0}.InsertSeparator();",submenu_name); + else if (element.Name=="action") writer.WriteLine("\t\t{0}.AddTo({1});",element.GetAttribute("name"),submenu_name); + } + writer.WriteLine("\t\t{0}.InsertItem(\"{1}\",{2},{3});",barname, + submenu_text,submenu_name,count.ToString()); + count++; + + } + } + + private void setupToolBars() + { + if (toolbarsElement==null) return; + writer.WriteLine("\t//toolbars"); + foreach (XmlNode tNode in toolbarsElement.ChildNodes) { + XmlElement toolbar=tNode as XmlElement; + if (toolbar.Name!="toolbar") continue; + String varname=getName(toolbar); + writer.WriteLine("\t\t{0}=new QToolBar(this,\"{1}\");",varname,varname); + writer.WriteLine("\t\tthis.AddDockWindow({0},(Qt.Dock){1},false);",varname,toolbar.GetAttribute("dock")); + foreach (XmlNode node in toolbar.ChildNodes) { + XmlElement element=node as XmlElement; + if ((element.Name=="property") && (element.GetAttribute("name")!="name")) generateSetProperty(varname,"",element); + else if (element.Name=="separator") writer.WriteLine("\t\t{0}.AddSeparator();",varname); + else if (element.Name=="action") writer.WriteLine("\t\t{0}.AddTo({1});",element.GetAttribute("name"),varname); + } + } + } + + private ElementType elementType(XmlElement el) + { + switch (el.Name) { + case "widget": return (el.GetAttribute("class")=="QLayoutWidget")? + ElementType.LayoutType:ElementType.WidgetType; + case "vbox": return ElementType.LayoutType; + case "hbox": return ElementType.LayoutType; + case "grid": return ElementType.LayoutType; + case "spacer": return ElementType.LayoutType; + default: return ElementType.PropertyType; + } + } + + private void constructEverything() + { + foreach (XmlNode subNode in widgetElement.ChildNodes) + { + XmlElement obj=subNode as XmlElement; + switch (elementType(obj)) { + case ElementType.WidgetType: constructChild("this",obj,true); + widgetAdd("this",widgetElement,obj); + break; + case ElementType.LayoutType: constructChild("this",obj,true); + break; + default: break; + } + } + + } + + + private void widgetAdd(String parname,XmlElement par, XmlElement obj) + { + if (par==widgetElement) { + if (par.GetAttribute("class")=="QWizard") + { + writer.WriteLine("\t\tAddPage("+getName(obj)+", "+getName(obj)+".Caption());"); + } + } + else { + if (elementType(par)==ElementType.LayoutType) { + if (getLayoutType(par)=="grid") { + writer.WriteLine("\t\t"+getName(par)+insertIntoGrid("Widget",getName(obj),obj)); + } + else writer.WriteLine("\t\t"+parname+".Add("+getName(obj)+");"); + } + else switch(par.GetAttribute("class")) { + case "QTabWidget": writer.WriteLine("\t\t"+parname+".InsertTab("+getName(obj)+",\"\");"); + break; + default: break; + } + } + } + + + private String getLayoutType(XmlElement el) + { + String tmp=el.Name; + if (tmp=="widget") tmp=el.GetAttribute("uicsharp_type"); + return tmp; + } + + + private String insertIntoGrid(String what, String name, XmlElement obj) + { + String col,row,colspan,rowspan,endcol,endrow; + + int tmpcols=int.Parse( + (obj.GetAttribute("column")==String.Empty)? + "0":obj.GetAttribute("column"))+ + int.Parse((obj.GetAttribute("colspan")==String.Empty)? + "1":obj.GetAttribute("colspan"))-1; + + int tmprows=int.Parse( + (obj.GetAttribute("row")==String.Empty)? + "0":obj.GetAttribute("row"))+ + int.Parse((obj.GetAttribute("rowspan")==String.Empty)? + "1":obj.GetAttribute("rowspan"))-1; + + col=obj.GetAttribute("column"); + row=obj.GetAttribute("row"); + endcol=tmpcols.ToString(); + endrow=tmprows.ToString(); + if ((col==endcol) && (row==endrow)) + { + return ".Add"+what+"( "+name+", "+row + ", "+col +");"; + } + else + { + what=(what=="Item")?"":what; + return ".AddMultiCell"+what+"( "+name+", "+row+","+endrow+", "+col+", "+endcol+");"; + } + + } + + private void layoutAdd(XmlElement par, XmlElement obj) + { + String what=(getLayoutType(obj)=="spacer")?"Item":"Layout"; + if (getLayoutType(par)!="grid"){ + writer.WriteLine("\t\t"+getName(par)+".Add"+what+"("+getName(obj)+");"); + } + else + { + writer.WriteLine("\t\t"+getName(par)+insertIntoGrid(what,getName(obj),obj)); + } + } + + + void createSpacer(String name, XmlElement obj) { + String orientation; + String sizeType; + String shx,shy; + orientation=null; + sizeType=null; + shx=null; + shy=null; + foreach (XmlNode node in obj.ChildNodes) { + XmlElement el=node as XmlElement; + if (el.Name!="property") continue; + switch (el.GetAttribute("name")) { + case "orientation": orientation=(((el.FirstChild as XmlElement).InnerText).ToUpper()); + break; + case "sizeType" : sizeType=(((el.FirstChild as XmlElement).InnerText)); + break; + case "sizeHint" : foreach (XmlNode shn in (el.FirstChild as XmlElement).ChildNodes) { + XmlElement she=shn as XmlElement; + switch (she.Name) { + case "width": shx=she.InnerText; + break; + case "height": shy=she.InnerText; + break; + } + } + break; + } + } + writer.WriteLine("\t\tQSpacerItem {0}=new QSpacerItem({1},{2},{3},{4});", + name,shx,shy, + (orientation=="VERTICAL")?"Qt.QSizePolicy.SizeType.Minimum":("Qt.QSizePolicy.SizeType."+toPascal(sizeType)), + (orientation!="VERTICAL")?"Qt.QSizePolicy.SizeType.Minimum":("Qt.QSizePolicy.SizeType."+toPascal(sizeType))); + } + + int layoutcnt=1; + + XmlElement createLayout(String parent, XmlElement obj, ref String name, bool privateLayout) + { + name = ((name==String.Empty)?getName(obj):name); + if (name==String.Empty) + { + name="my_internal_Layout"+layoutcnt; + privateLayout=true; + layoutcnt++; + } + + if ((privateLayout) && (obj.Name!="widget")) + obj.SetAttribute("uicsharp_name",name); + + if ((obj.Name!="widget") && (obj.GetAttribute("uicsharp_parent")!=String.Empty)) + parent=obj.GetAttribute("uicsharp_parent"); + + switch (obj.Name) { + case "vbox": writer.WriteLine("\t\t"+(privateLayout?"QVBoxLayout ":"")+name+"= new QVBoxLayout("+ + ((parent==null)?"":parent)+");"); + setupLayout(name,obj); + return obj; + case "hbox": writer.WriteLine("\t\t"+(privateLayout?"QHBoxLayout ":"")+name+"= new QHBoxLayout("+ + ((parent==null)?"":parent)+");"); + setupLayout(name,obj); + return obj; + case "spacer": createSpacer(name,obj); + return obj; + case "widget": + foreach (XmlNode node in obj.ChildNodes) + { + if (elementType(node as XmlElement)==ElementType.LayoutType) { + (node as XmlElement).SetAttribute("uicsharp_margin","0"); + XmlElement el=createLayout(parent,node as XmlElement,ref name,true); + obj.SetAttribute("uicsharp_name",getName(el)); + obj.SetAttribute("uicsharp_type",el.Name); + return el; + } + } + return null; + case "grid": + int cols=1; + int rows=1; + foreach (XmlNode node in obj.ChildNodes){ + XmlElement elem=node as XmlElement; + ElementType etype=elementType(elem); + if ((etype==ElementType.LayoutType) || + (etype==ElementType.WidgetType)) { + Console.WriteLine("Grid size calculation group"); + int tmpcols=int.Parse( + (elem.GetAttribute("column")==String.Empty)? + "0":elem.GetAttribute("column"))+ + int.Parse((elem.GetAttribute("colspan")==String.Empty)? + "1":elem.GetAttribute("colspan"))-1; + + int tmprows=int.Parse( + (elem.GetAttribute("row")==String.Empty)? + "0":elem.GetAttribute("row"))+ + int.Parse((elem.GetAttribute("rowspan")==String.Empty)? + "1":elem.GetAttribute("rowspan"))-1; + + cols=(tmpcols<cols)?cols:tmpcols; + rows=(tmprows<rows)?rows:tmprows; + } + } + writer.WriteLine("\t\t"+ (privateLayout?"QGridLayout ":"")+name +"= new QGridLayout ("+ + ((parent==null)?"":(parent+", "))+rows+", "+cols+");"); + setupLayout(name,obj); + return obj; + } + + return obj; + + } + + + private void setupLayout(String name,XmlElement layout) + { + + String margin=layout.GetAttribute("uicsharp_margin"); + if (margin==String.Empty){ + foreach(XmlNode node in layout.ChildNodes) { + XmlElement el=node as XmlElement; + if ((el.Name=="property") && (el.GetAttribute("name")=="margin")) { + margin=(el.FirstChild as XmlElement).InnerText; + break; + } + } + } + if (margin==String.Empty) margin=defLayoutMargin; + + String spacing=layout.GetAttribute("uicsharp_spacing"); + if (spacing==String.Empty){ + foreach(XmlNode node in layout.ChildNodes) { + XmlElement el=node as XmlElement; + if ((el.Name=="property") && (el.GetAttribute("name")=="spacing")) { + margin=(el.FirstChild as XmlElement).InnerText; + break; + } + } + } + if (spacing==String.Empty) spacing=defLayoutSpacing; + + String alignment=layout.GetAttribute("uicsharp_alignment"); + if (alignment!=String.Empty) writer.WriteLine("\t\t{0}.SetAlignment({1});",name,alignment); + + writer.WriteLine("\t\t{0}.SetMargin({1});",name,margin); + writer.WriteLine("\t\t{0}.SetSpacing({1});",name,spacing); + } + + + private void widgetType(XmlElement obj, ref String typename, ref XmlElement subcontainer, bool write) + { + typename=obj.GetAttribute("class"); + if ((typename!="QGroupBox") && (typename!="ButtonGroup")) return; + foreach (XmlNode node in obj.ChildNodes) { + if (elementType(node as XmlElement)==ElementType.LayoutType) { + XmlElement el =node as XmlElement; +// subcontainer=el; + el.SetAttribute("uicsharp_type",el.Name); + el.SetAttribute("uicsharp_name",getName(obj)+"Layout"); + el.SetAttribute("uicsharp_parent",getName(obj)+".Layout()"); + el.SetAttribute("uicsharp_margin","0"); + el.SetAttribute("uicsharp_alignment","(int)Qt.AlignmentFlags.AlignTop"); + + switch (el.Name) { + case "vbox": typename="QGroupBox"; + if (write) + writer.WriteLine("\t\t QVBoxLayout "+el.GetAttribute("uicsharp_name")+";"); + return; + case "hbox": typename="QGroupBox"; + if (write) + writer.WriteLine("\t\t QHBoxLayout "+el.GetAttribute("uicsharp_name")+";"); + return; + case "grid": typename="QGroupBox"; + if (write) + writer.WriteLine("\t\t QGridLayout "+el.GetAttribute("uicsharp_name")+";"); + return; + + + } + } + } +// typename=null; + } + + private void specialInit(XmlElement el) + { + if (el.GetAttribute("class").EndsWith("GroupBox")) + writer.WriteLine("\t\t"+getName(el)+".SetColumnLayout(0,Qt.Orientation.Vertical);"); + } + + + private String toPascal(String data) + { + return System.Char.ToUpper(data[0]).ToString()+ data.Substring(1,data.Length-1); + } + + private String stringify(String data) + { + data=data.Replace("\"","\\\""); + data=data.Replace("\n","\\n"); + return data; + } + + + private String toBool(String data) + { + if ((data=="1") || (data=="true")) return "true"; else return "false"; + } + + private String generateSetProperty(String varName, String widgetClass, XmlElement prop) + { + if ((prop.GetAttribute("name")=="whatsThis") || (prop.GetAttribute("name")=="toolTip")) + { + String tmp="\t\tQ"+toPascal(prop.GetAttribute("name"))+".Add("+varName+", \""+ + stringify((prop.FirstChild as XmlElement).InnerText)+"\");"; + return tmp; + } + + String methodName="Set"+toPascal(prop.GetAttribute("name")); + String sc=methodName+" ("; + + XmlElement value=(prop.FirstChild as XmlElement); + + switch (value.Name) { + case "string" : if (prop.GetAttribute("name")!="accel") sc += "\""+stringify(value.InnerText)+"\""; + else sc+="new QKeySequence(\""+stringify(value.InnerText)+"\")"; + break; + case "cstring" : sc += value.InnerText; + break; + case "rect" : String rx=null,ry=null,rw=null,rh=null; + foreach (XmlNode srn in value.ChildNodes) { + XmlElement sre=srn as XmlElement; + switch (sre.Name) { + case "x" : rx=sre.InnerText; + break; + case "y" : ry=sre.InnerText; + break; + case "height" : rh=sre.InnerText; + break; + case "width" : rw=sre.InnerText; + break; + default: break; + } + } + if ((varName=="this") && (methodName=="SetGeometry")) + sc = "Resize ((new QSize("+rw+", "+rh+")).ExpandedTo(SizeHint())"; + else + sc += "new QRect("+rx+", "+ry+", "+rw+", "+rh+")"; + + break; + case "enum" : + try { + Type ct=qtAssembly.GetType("Qt."+widgetClass,true); + MemberInfo []mi=ct.GetMember(methodName); + ParameterInfo []pi=((MethodBase)mi[0]).GetParameters(); + String ptn=pi[0].ParameterType.FullName; + Console.WriteLine("Parameter Type Name: "+ptn); + ptn=ptn.Replace("+","."); + sc+=ptn+"."+toPascal(value.InnerText); + } + catch (Exception e) { + Console.WriteLine(e.Message+":"+widgetClass); + Console.WriteLine("ERROR DURING >ENUM TRANSLATION<"); + } + + break; + case "iconset" : sc += "new QIconSet("+value.InnerText+")"; + break; + case "bool" : sc += value.InnerText; + break; + case "font": String fvn=varName+"_Font"; + sc="\t\tQFont "+fvn+" = ("+varName+".Font());\n"; + foreach(XmlNode fn in value.ChildNodes) { + XmlElement fe=fn as XmlElement; + switch (fe.Name) { + case "pointsize": + sc+="\t\t"+fvn+".SetPointSize("+fe.InnerText+");\n"; + break; + case "bold": + sc+="\t\t"+fvn+".SetBold("+toBool(fe.InnerText)+");\n"; + break; + case "italic": + sc+="\t\t"+fvn+".SetItalic("+toBool(fe.InnerText)+");\n"; + break; + case "underline": + sc+="\t\t"+fvn+".SetUnderline("+toBool(fe.InnerText)+");\n"; + break; + case "strikeout": + sc+="\t\t"+fvn+".SetStrikeOut("+toBool(fe.InnerText)+");\n"; + break; + } + } + sc +="\t\t"+varName+".SetFont("+fvn+");"; + return sc; + default: Console.WriteLine("Not yet supported property type : "+value.Name); + return String.Empty; + } + + sc += " )"; + return "\t\t"+varName+"."+sc+";"; + + } + + + private void setProperties(XmlElement obj) + { + String myWidgetClass=null; + XmlElement dummy=null; + + widgetType(obj, ref myWidgetClass, ref dummy,false); + + foreach (XmlNode node in obj.ChildNodes) { + XmlElement prop = node as XmlElement; + if (prop.Name!="property") continue; + if (prop.GetAttribute("name")=="buddy") { + buddyList+="\n"+generateSetProperty(getName(obj),myWidgetClass,prop); + continue; + } + if (prop.GetAttribute("name")=="name") continue; + String str=generateSetProperty((obj==widgetElement)?"this":getName(obj),myWidgetClass,prop); + if (str!=String.Empty) writer.WriteLine(str); + } + } + + + private void constructChild(String parent,XmlElement obj,bool mainLayout) + { + ElementType mytype=elementType(obj); + String myname=getName(obj); + XmlElement lobj=null; + switch (mytype){ + case ElementType.WidgetType: + String widgettype=null; + XmlElement tmpobj=null; + widgetType(obj,ref widgettype,ref tmpobj,true); + mainLayout=true; + XmlElement origNode=obj; + if (tmpobj!=null) { + mytype=ElementType.LayoutType; + lobj=obj; + obj=tmpobj; + mainLayout=false; + } + writer.WriteLine("\t\t"+myname+"=new "+widgettype + +"("+parent+", \""+myname+"\");"); + specialInit(origNode); + setProperties(origNode); + parent=myname; + break; + case ElementType.LayoutType: + lobj=obj; + myname=""; + obj=createLayout(mainLayout?parent:null,obj,ref myname,false); + mainLayout=false; + break; + default: return; + } + + foreach (XmlNode subNode in obj.ChildNodes) + { + XmlElement subObj=subNode as XmlElement; + switch (elementType(subObj)) { + case ElementType.WidgetType: constructChild(parent,subObj,mainLayout); + widgetAdd(myname,obj,subObj); + break; + case ElementType.LayoutType: constructChild(parent,subObj,mainLayout); + if (mytype==ElementType.LayoutType) layoutAdd(lobj,subObj); + break; + default: break; + } + } + + } + + + private void writeMain() + { + writer.WriteLine("\tpublic static void Main (String[] args)\n"+ + "\t{\n"+ + "\t\tQApplication app = new QApplication (args);\n"+ + "\t\t"+className+" test = new "+className+" (null,\"\");\n"+ + "\t\tapp.SetMainWidget (test);\n"+ + "\t\ttest.Show ();\n"+ + "\t\tapp.Exec ();\n"+ + "\t}"); + } + } +} |