splitbuild-qt4pas-V2.5_Qt4.5.3/0000775000212600021260000000000011677135472014244 5ustar janjansplitbuild-qt4pas-V2.5_Qt4.5.3/COPYING.TXT0000664000212600021260000002073511677135472015764 0ustar janjan This is the file COPYING.TXT, it applies to the Free Pascal Qt4 Binding. The source code of the Free Pascal Qt4 binding is distributed under the GNU Lesser General Public License (see http://www.gnu.org/licenses/lgpl.txt and below) with the following modification: As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. http://www.gnu.org/licenses/lgpl.txt: GNU LESSER GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. 0. Additional Definitions. As used herein, "this License" refers to version 3 of the GNU Lesser General Public License, and the "GNU GPL" refers to version 3 of the GNU General Public License. "The Library" refers to a covered work governed by this License, other than an Application or a Combined Work as defined below. An "Application" is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library. A "Combined Work" is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the "Linked Version". The "Minimal Corresponding Source" for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version. The "Corresponding Application Code" for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work. 1. Exception to Section 3 of the GNU GPL. You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL. 2. Conveying Modified Versions. If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version: a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy. 3. Object Code Incorporating Material from Library Header Files. The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following: a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License. b) Accompany the object code with a copy of the GNU GPL and this license document. 4. Combined Works. You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. b) Accompany the Combined Work with a copy of the GNU GPL and this license document. c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. d) Do one of the following: 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) 5. Combined Libraries. You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 6. Revised Versions of the GNU Lesser General Public License. The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library. splitbuild-qt4pas-V2.5_Qt4.5.3/qt4.pas0000664000212600021260000474420711677135472015503 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** unit qt4; { Version : 2.5 } {$mode objfpc}{$H+} interface uses Types; {$MINENUMSIZE 4} const QT_VERSION = 4 shl 16 + 5 shl 8 + 3; {$IFDEF MSWINDOWS} Qt4PasLib = 'Qt4Pas5.dll'; {$ELSE} {$IFDEF DARWIN} Qt4PasLib = ''; {$LINKFRAMEWORK Qt4Pas} {$ELSE} Qt4PasLib = 'libQt4Pas.so.5'; {$IF DEFINED(LINUX) or DEFINED(FREEBSD) or DEFINED(NETBSD)} {$DEFINE BINUX} {$ENDIF} {$ENDIF} {$ENDIF} type PLong = ^Long; {$ifdef CPU64 and not WIN64} Long = Int64; {$else} Long = LongInt; {$endif} QHookH = TMethod; PQSizePolicy = ^TQSizePolicy; TQSizePolicy = packed record Data: Word; end; PQColor = ^TQColor; TQColor = packed record ColorSpec : LongInt; Alpha : word; r,g,b : word; Pad : word; end; QtHandle = integer; PQReal = ^QReal; {$ifdef CPUARM} QReal = single; {$else} QReal = double; {$endif} PQRgb = ^QRgb; QRgb = longword; PPtrIntArray = ^TPtrIntArray; TPtrIntArray = array of PtrInt; PQRealArray = ^TQRealArray; TQRealArray = array of QReal; const NilMethod : TMethod = (Code: nil; Data: nil); type PQtPoint = ^TQtPoint; {$IFDEF DARWIN} TQtPoint = packed record y : LongInt; x : LongInt; end; {$ELSE} TQtPoint = packed record x : LongInt; y : LongInt; end; {$ENDIF} PQtPointF = ^TQtPointF; TQtPointF = packed record x : QReal; y : QReal; end; {$IFDEF DARWIN} EventHandlerRef = ^LongInt; EventRef = ^LongInt; RgnHandle = ^LongInt; MenuHandle = ^LongInt; MenuRef = MenuHandle; EventHandlerCallRef = ^LongInt; CGImageRef = Pointer; {$ENDIF} {$IFDEF MSWINDOWS} { Message structure } PMsg = ^tagMSG; tagMSG = packed record hwnd: LongWord; message: Cardinal; wParam: Longint; lParam: Longint; time: DWORD; pt: TPoint; end; // Extra Q to avoid name clash with other Pascal Units WINHANDLE = System.THandle; QHCURSOR = type WINHANDLE; QHPALETTE = type WINHANDLE; QHFONT = type WINHANDLE; QHDC = type WINHANDLE; QHBITMAP = type WINHANDLE; QHBRUSH = type WINHANDLE; QHPEN = type WINHANDLE; QHRGN = type WINHANDLE; QHICON = type WINHANDLE; {$ENDIF} {$IFDEF WIN32} Q_PID = type pointer; {$ELSE} Q_PID = type int64; {$ENDIF} QAbstractFileEngineH = class(TObject) end; QAuthenticatorH = class(TObject) end; QBitArrayH = class(TObject) end; QBrushH = class(TObject) end; QByteArrayH = class(TObject) end; QCharH = class(TObject) end; QColorH = class(TObject) end; QCursorH = class(TObject) end; QDataStreamH = class(TObject) end; QDateH = class(TObject) end; QDateTimeH = class(TObject) end; QDecorationH = class(TObject) end; QDesktopServicesH = class(TObject) end; QDirH = class(TObject) end; QEventH = class(TObject) end; QLCLMessageEventH = class(QEventH) end; QActionEventH = class(QEventH) end; QChildEventH = class(QEventH) end; QCloseEventH = class(QEventH) end; QDragLeaveEventH = class(QEventH) end; QDropEventH = class(QEventH) end; QDragMoveEventH = class(QDropEventH) end; QDragEnterEventH = class(QDragMoveEventH) end; QDynamicPropertyChangeEventH = class(QEventH) end; QFileOpenEventH = class(QEventH) end; QFocusEventH = class(QEventH) end; QHelpEventH = class(QEventH) end; QHideEventH = class(QEventH) end; QHoverEventH = class(QEventH) end; QIconDragEventH = class(QEventH) end; QInputEventH = class(QEventH) end; QContextMenuEventH = class(QInputEventH) end; QKeyEventH = class(QInputEventH) end; QMouseEventH = class(QInputEventH) end; QTabletEventH = class(QInputEventH) end; QWheelEventH = class(QInputEventH) end; QInputMethodEventH = class(QEventH) end; QMoveEventH = class(QEventH) end; QPaintEventH = class(QEventH) end; QResizeEventH = class(QEventH) end; QShortcutEventH = class(QEventH) end; QShowEventH = class(QEventH) end; QStatusTipEventH = class(QEventH) end; QTimerEventH = class(QEventH) end; QWhatsThisClickedEventH = class(QEventH) end; QWindowStateChangeEventH = class(QEventH) end; QFileIconProviderH = class(TObject) end; QFileInfoH = class(TObject) end; QFlagH = class(TObject) end; QFlagsH = class(TObject) end; QFontH = class(TObject) end; QFontDatabaseH = class(TObject) end; QFontInfoH = class(TObject) end; QFontMetricsH = class(TObject) end; QFontMetricsFH = class(TObject) end; QGradientH = class(TObject) end; QConicalGradientH = class(QGradientH) end; QLinearGradientH = class(QGradientH) end; QRadialGradientH = class(QGradientH) end; QGraphicsItemH = class(TObject) end; QAbstractGraphicsShapeItemH = class(QGraphicsItemH) end; QGraphicsEllipseItemH = class(QAbstractGraphicsShapeItemH) end; QGraphicsPathItemH = class(QAbstractGraphicsShapeItemH) end; QGraphicsPolygonItemH = class(QAbstractGraphicsShapeItemH) end; QGraphicsRectItemH = class(QAbstractGraphicsShapeItemH) end; QGraphicsSimpleTextItemH = class(QAbstractGraphicsShapeItemH) end; QGraphicsItemGroupH = class(QGraphicsItemH) end; QGraphicsLineItemH = class(QGraphicsItemH) end; QGraphicsObjectH = class(QGraphicsItemH) end; QGraphicsTextItemH = class(QGraphicsObjectH) end; QGraphicsWidgetH = class(QGraphicsObjectH) end; QGraphicsProxyWidgetH = class(QGraphicsWidgetH) end; QGraphicsPixmapItemH = class(QGraphicsItemH) end; QGraphicsLayoutItemH = class(TObject) end; QHostAddressH = class(TObject) end; QIconH = class(TObject) end; QIconEngineH = class(TObject) end; QIconEngineV2H = class(QIconEngineH) end; QImageIOHandlerH = class(TObject) end; QImageReaderH = class(TObject) end; QImageWriterH = class(TObject) end; QItemEditorCreatorBaseH = class(TObject) end; QItemEditorFactoryH = class(TObject) end; QItemSelectionRangeH = class(TObject) end; QKeySequenceH = class(TObject) end; QLatin1StringH = class(TObject) end; QLayoutItemH = class(TObject) end; QLayoutH = class(QLayoutItemH) end; QBoxLayoutH = class(QLayoutH) end; QHBoxLayoutH = class(QBoxLayoutH) end; QVBoxLayoutH = class(QBoxLayoutH) end; QGridLayoutH = class(QLayoutH) end; QStackedLayoutH = class(QLayoutH) end; QSpacerItemH = class(QLayoutItemH) end; QWidgetItemH = class(QLayoutItemH) end; QLineH = class(TObject) end; QLineFH = class(TObject) end; QListH = class(TObject) end; QStringListH = class(QListH) end; QListWidgetItemH = class(TObject) end; QLocaleH = class(TObject) end; QMetaClassInfoH = class(TObject) end; QMetaEnumH = class(TObject) end; QMetaMethodH = class(TObject) end; QMetaObjectH = class(TObject) end; QMetaPropertyH = class(TObject) end; QModelIndexH = class(TObject) end; QNetworkCookieH = class(TObject) end; QNetworkProxyH = class(TObject) end; QNetworkProxyFactoryH = class(TObject) end; QNetworkProxyQueryH = class(TObject) end; QNetworkRequestH = class(TObject) end; QObjectH = class(TObject) end; QAbstractEventDispatcherH = class(QObjectH) end; QAbstractItemDelegateH = class(QObjectH) end; QItemDelegateH = class(QAbstractItemDelegateH) end; QLCLItemDelegateH = class(QItemDelegateH) end; QStyledItemDelegateH = class(QAbstractItemDelegateH) end; QAbstractItemModelH = class(QObjectH) end; QAbstractListModelH = class(QAbstractItemModelH) end; QAbstractProxyModelH = class(QAbstractItemModelH) end; QAbstractTableModelH = class(QAbstractItemModelH) end; QStandardItemModelH = class(QAbstractItemModelH) end; QAbstractNetworkCacheH = class(QObjectH) end; QAbstractTextDocumentLayoutH = class(QObjectH) end; QPlainTextDocumentLayoutH = class(QAbstractTextDocumentLayoutH) end; QActionH = class(QObjectH) end; QActionGroupH = class(QObjectH) end; QButtonGroupH = class(QObjectH) end; QClipboardH = class(QObjectH) end; QCompleterH = class(QObjectH) end; QCoreApplicationH = class(QObjectH) end; QApplicationH = class(QCoreApplicationH) end; QDragH = class(QObjectH) end; QEventLoopH = class(QObjectH) end; QFileSystemWatcherH = class(QObjectH) end; QGraphicsSceneH = class(QObjectH) end; QIODeviceH = class(QObjectH) end; QAbstractSocketH = class(QIODeviceH) end; QTcpSocketH = class(QAbstractSocketH) end; QSslSocketH = class(QTcpSocketH) end; QUdpSocketH = class(QAbstractSocketH) end; QFileH = class(QIODeviceH) end; QNetworkReplyH = class(QIODeviceH) end; QProcessH = class(QIODeviceH) end; QInputContextH = class(QObjectH) end; QItemSelectionModelH = class(QObjectH) end; QMimeDataH = class(QObjectH) end; QMovieH = class(QObjectH) end; QNetworkAccessManagerH = class(QObjectH) end; QNetworkCookieJarH = class(QObjectH) end; QLCLNetworkCookieJarH = class(QNetworkCookieJarH) end; QSessionManagerH = class(QObjectH) end; QShortcutH = class(QObjectH) end; QSocketNotifierH = class(QObjectH) end; QStyleH = class(QObjectH) end; QSystemTrayIconH = class(QObjectH) end; QTcpServerH = class(QObjectH) end; QTextDocumentH = class(QObjectH) end; QTextObjectH = class(QObjectH) end; QTextBlockGroupH = class(QTextObjectH) end; QTextListH = class(QTextBlockGroupH) end; QTextFrameH = class(QTextObjectH) end; QTextTableH = class(QTextFrameH) end; QThreadH = class(QObjectH) end; QLCLThreadH = class(QThreadH) end; QTimerH = class(QObjectH) end; QTranslatorH = class(QObjectH) end; QUndoStackH = class(QObjectH) end; QValidatorH = class(QObjectH) end; QDoubleValidatorH = class(QValidatorH) end; QIntValidatorH = class(QValidatorH) end; QRegExpValidatorH = class(QValidatorH) end; QWebFrameH = class(QObjectH) end; QWebHistoryInterfaceH = class(QObjectH) end; QWebPageH = class(QObjectH) end; QLCLWebPageH = class(QWebPageH) end; QWebPluginFactoryH = class(QObjectH) end; QWidgetH = class(QObjectH) end; QAbstractButtonH = class(QWidgetH) end; QCheckBoxH = class(QAbstractButtonH) end; QPushButtonH = class(QAbstractButtonH) end; QRadioButtonH = class(QAbstractButtonH) end; QToolButtonH = class(QAbstractButtonH) end; QAbstractSliderH = class(QWidgetH) end; QScrollBarH = class(QAbstractSliderH) end; QSliderH = class(QAbstractSliderH) end; QAbstractSpinBoxH = class(QWidgetH) end; QLCLAbstractSpinBoxH = class(QAbstractSpinBoxH) end; QDoubleSpinBoxH = class(QAbstractSpinBoxH) end; QSpinBoxH = class(QAbstractSpinBoxH) end; QCalendarWidgetH = class(QWidgetH) end; QComboBoxH = class(QWidgetH) end; QDesktopWidgetH = class(QWidgetH) end; QDialogH = class(QWidgetH) end; QAbstractPrintDialogH = class(QDialogH) end; QPrintDialogH = class(QAbstractPrintDialogH) end; QColorDialogH = class(QDialogH) end; QFileDialogH = class(QDialogH) end; QFontDialogH = class(QDialogH) end; QInputDialogH = class(QDialogH) end; QMessageBoxH = class(QDialogH) end; QPageSetupDialogH = class(QDialogH) end; QPrintPreviewDialogH = class(QDialogH) end; QProgressDialogH = class(QDialogH) end; QDockWidgetH = class(QWidgetH) end; QFrameH = class(QWidgetH) end; QAbstractScrollAreaH = class(QFrameH) end; QLCLAbstractScrollAreaH = class(QAbstractScrollAreaH) end; QAbstractItemViewH = class(QAbstractScrollAreaH) end; QHeaderViewH = class(QAbstractItemViewH) end; QListViewH = class(QAbstractItemViewH) end; QListWidgetH = class(QListViewH) end; QTableViewH = class(QAbstractItemViewH) end; QTableWidgetH = class(QTableViewH) end; QTreeViewH = class(QAbstractItemViewH) end; QTreeWidgetH = class(QTreeViewH) end; QGraphicsViewH = class(QAbstractScrollAreaH) end; QMdiAreaH = class(QAbstractScrollAreaH) end; QPlainTextEditH = class(QAbstractScrollAreaH) end; QScrollAreaH = class(QAbstractScrollAreaH) end; QTextEditH = class(QAbstractScrollAreaH) end; QTextBrowserH = class(QTextEditH) end; QLCDNumberH = class(QFrameH) end; QLabelH = class(QFrameH) end; QSplitterH = class(QFrameH) end; QStackedWidgetH = class(QFrameH) end; QToolBoxH = class(QFrameH) end; QGroupBoxH = class(QWidgetH) end; QLineEditH = class(QWidgetH) end; QMainWindowH = class(QWidgetH) end; QMdiSubWindowH = class(QWidgetH) end; QMenuH = class(QWidgetH) end; QMenuBarH = class(QWidgetH) end; QPrintPreviewWidgetH = class(QWidgetH) end; QProgressBarH = class(QWidgetH) end; QRubberBandH = class(QWidgetH) end; QSizeGripH = class(QWidgetH) end; QSplitterHandleH = class(QWidgetH) end; QStatusBarH = class(QWidgetH) end; QTabBarH = class(QWidgetH) end; QTabWidgetH = class(QWidgetH) end; QLCLTabWidgetH = class(QTabWidgetH) end; QToolBarH = class(QWidgetH) end; QWebViewH = class(QWidgetH) end; QLCLWebViewH = class(QWebViewH) end; QPaintDeviceH = class(TObject) end; QImageH = class(QPaintDeviceH) end; QPictureH = class(QPaintDeviceH) end; QPixmapH = class(QPaintDeviceH) end; QBitmapH = class(QPixmapH) end; QPrinterH = class(QPaintDeviceH) end; QPaintEngineH = class(TObject) end; QPainterH = class(TObject) end; QPainterPathH = class(TObject) end; QPainterPathStrokerH = class(TObject) end; QPaletteH = class(TObject) end; QPenH = class(TObject) end; QPersistentModelIndexH = class(TObject) end; QPointH = class(TObject) end; QPointFH = class(TObject) end; QPrintEngineH = class(TObject) end; QPrinterInfoH = class(TObject) end; QRectH = class(TObject) end; QRectFH = class(TObject) end; QRegExpH = class(TObject) end; QRegionH = class(TObject) end; QSizeH = class(TObject) end; QSizeFH = class(TObject) end; QSizePolicyH = class(TObject) end; QSslCertificateH = class(TObject) end; QSslCipherH = class(TObject) end; QSslConfigurationH = class(TObject) end; QSslErrorH = class(TObject) end; QSslKeyH = class(TObject) end; QStandardItemH = class(TObject) end; QStringH = class(TObject) end; QStyleFactoryH = class(TObject) end; QStyleHintReturnH = class(TObject) end; QStyleHintReturnMaskH = class(QStyleHintReturnH) end; QStyleHintReturnVariantH = class(QStyleHintReturnH) end; QStyleOptionH = class(TObject) end; QStyleOptionButtonH = class(QStyleOptionH) end; QStyleOptionComplexH = class(QStyleOptionH) end; QStyleOptionComboBoxH = class(QStyleOptionComplexH) end; QStyleOptionGroupBoxH = class(QStyleOptionComplexH) end; QStyleOptionQ3ListViewH = class(QStyleOptionComplexH) end; QStyleOptionSizeGripH = class(QStyleOptionComplexH) end; QStyleOptionSliderH = class(QStyleOptionComplexH) end; QStyleOptionSpinBoxH = class(QStyleOptionComplexH) end; QStyleOptionTitleBarH = class(QStyleOptionComplexH) end; QStyleOptionToolButtonH = class(QStyleOptionComplexH) end; QStyleOptionDockWidgetH = class(QStyleOptionH) end; QStyleOptionFocusRectH = class(QStyleOptionH) end; QStyleOptionFrameH = class(QStyleOptionH) end; QStyleOptionFrameV2H = class(QStyleOptionFrameH) end; QStyleOptionFrameV3H = class(QStyleOptionFrameV2H) end; QStyleOptionGraphicsItemH = class(QStyleOptionH) end; QStyleOptionHeaderH = class(QStyleOptionH) end; QStyleOptionMenuItemH = class(QStyleOptionH) end; QStyleOptionProgressBarH = class(QStyleOptionH) end; QStyleOptionProgressBarV2H = class(QStyleOptionProgressBarH) end; QStyleOptionQ3DockWindowH = class(QStyleOptionH) end; QStyleOptionQ3ListViewItemH = class(QStyleOptionH) end; QStyleOptionRubberBandH = class(QStyleOptionH) end; QStyleOptionTabH = class(QStyleOptionH) end; QStyleOptionTabV2H = class(QStyleOptionTabH) end; QStyleOptionTabV3H = class(QStyleOptionTabV2H) end; QStyleOptionTabBarBaseH = class(QStyleOptionH) end; QStyleOptionTabBarBaseV2H = class(QStyleOptionTabBarBaseH) end; QStyleOptionTabWidgetFrameH = class(QStyleOptionH) end; QStyleOptionToolBarH = class(QStyleOptionH) end; QStyleOptionToolBoxH = class(QStyleOptionH) end; QStyleOptionToolBoxV2H = class(QStyleOptionToolBoxH) end; QStyleOptionViewItemH = class(QStyleOptionH) end; QStyleOptionViewItemV2H = class(QStyleOptionViewItemH) end; QStyleOptionViewItemV3H = class(QStyleOptionViewItemV2H) end; QStyleOptionViewItemV4H = class(QStyleOptionViewItemV3H) end; QSysInfoH = class(TObject) end; QSystemLocaleH = class(TObject) end; QTableWidgetItemH = class(TObject) end; QTableWidgetSelectionRangeH = class(TObject) end; QTextBlockH = class(TObject) end; QTextBlockUserDataH = class(TObject) end; QTextCursorH = class(TObject) end; QTextDocumentFragmentH = class(TObject) end; QTextFormatH = class(TObject) end; QTextBlockFormatH = class(QTextFormatH) end; QTextCharFormatH = class(QTextFormatH) end; QTextImageFormatH = class(QTextCharFormatH) end; QTextFrameFormatH = class(QTextFormatH) end; QTextTableFormatH = class(QTextFrameFormatH) end; QTextFragmentH = class(TObject) end; QTextInlineObjectH = class(TObject) end; QTextLayoutH = class(TObject) end; QTextLineH = class(TObject) end; QTextObjectInterfaceH = class(TObject) end; QTextOptionH = class(TObject) end; QTimeH = class(TObject) end; QToolTipH = class(TObject) end; QTransformH = class(TObject) end; QTreeWidgetItemH = class(TObject) end; QUrlH = class(TObject) end; QVariantH = class(TObject) end; QVectorH = class(TObject) end; QPolygonH = class(QVectorH) end; QPolygonFH = class(QVectorH) end; QWSEventH = class(TObject) end; QWebDatabaseH = class(TObject) end; QWebHistoryH = class(TObject) end; QWebHistoryItemH = class(TObject) end; QWebHitTestResultH = class(TObject) end; QWebSecurityOriginH = class(TObject) end; QWebSettingsH = class(TObject) end; QWhatsThisH = class(TObject) end; QX11InfoH = class(TObject) end; QMatrixH = class(TObject) end; QPainterPathElementH = class(TObject) end; QObject_hookH = class(TObject) end; QCoreApplication_hookH = class(QObject_hookH) end; QTimer_hookH = class(QObject_hookH) end; QModelIndex_hookH = class(QObject_hookH) end; QPersistentModelIndex_hookH = class(QObject_hookH) end; QAbstractItemModel_hookH = class(QObject_hookH) end; QAbstractTableModel_hookH = class(QAbstractItemModel_hookH) end; QAbstractListModel_hookH = class(QAbstractItemModel_hookH) end; QSocketNotifier_hookH = class(QObject_hookH) end; QThread_hookH = class(QObject_hookH) end; QIODevice_hookH = class(QObject_hookH) end; QProcess_hookH = class(QIODevice_hookH) end; QFileSystemWatcher_hookH = class(QObject_hookH) end; QApplication_hookH = class(QCoreApplication_hookH) end; QWidget_hookH = class(QObject_hookH) end; QLayout_hookH = class(QObject_hookH) end; QStackedLayout_hookH = class(QLayout_hookH) end; QAction_hookH = class(QObject_hookH) end; QActionGroup_hookH = class(QObject_hookH) end; QClipboard_hookH = class(QObject_hookH) end; QDesktopWidget_hookH = class(QWidget_hookH) end; QDrag_hookH = class(QObject_hookH) end; QShortcut_hookH = class(QObject_hookH) end; QAbstractTextDocumentLayout_hookH = class(QObject_hookH) end; QTextObjectInterface_hookH = class(QObject_hookH) end; QFrame_hookH = class(QWidget_hookH) end; QStackedWidget_hookH = class(QFrame_hookH) end; QAbstractScrollArea_hookH = class(QFrame_hookH) end; QAbstractSlider_hookH = class(QWidget_hookH) end; QScrollBar_hookH = class(QAbstractSlider_hookH) end; QMenu_hookH = class(QWidget_hookH) end; QMenuBar_hookH = class(QWidget_hookH) end; QButtonGroup_hookH = class(QObject_hookH) end; QAbstractButton_hookH = class(QWidget_hookH) end; QPushButton_hookH = class(QAbstractButton_hookH) end; QLineEdit_hookH = class(QWidget_hookH) end; QPlainTextEdit_hookH = class(QAbstractScrollArea_hookH) end; QPlainTextDocumentLayout_hookH = class(QAbstractTextDocumentLayout_hookH) end; QTextEdit_hookH = class(QAbstractScrollArea_hookH) end; QTabWidget_hookH = class(QWidget_hookH) end; QMainWindow_hookH = class(QWidget_hookH) end; QToolBar_hookH = class(QWidget_hookH) end; QLCDNumber_hookH = class(QFrame_hookH) end; QAbstractSpinBox_hookH = class(QWidget_hookH) end; QSpinBox_hookH = class(QAbstractSpinBox_hookH) end; QDoubleSpinBox_hookH = class(QAbstractSpinBox_hookH) end; QSplitter_hookH = class(QFrame_hookH) end; QSplitterHandle_hookH = class(QWidget_hookH) end; QComboBox_hookH = class(QWidget_hookH) end; QCheckBox_hookH = class(QAbstractButton_hookH) end; QSlider_hookH = class(QAbstractSlider_hookH) end; QTextBrowser_hookH = class(QTextEdit_hookH) end; QLabel_hookH = class(QFrame_hookH) end; QGroupBox_hookH = class(QWidget_hookH) end; QDockWidget_hookH = class(QWidget_hookH) end; QTabBar_hookH = class(QWidget_hookH) end; QProgressBar_hookH = class(QWidget_hookH) end; QStatusBar_hookH = class(QWidget_hookH) end; QToolBox_hookH = class(QFrame_hookH) end; QToolButton_hookH = class(QAbstractButton_hookH) end; QMdiArea_hookH = class(QAbstractScrollArea_hookH) end; QMdiSubWindow_hookH = class(QWidget_hookH) end; QCalendarWidget_hookH = class(QWidget_hookH) end; QPrintPreviewWidget_hookH = class(QWidget_hookH) end; QAbstractItemView_hookH = class(QAbstractScrollArea_hookH) end; QListView_hookH = class(QAbstractItemView_hookH) end; QItemSelectionRange_hookH = class(QObject_hookH) end; QItemSelectionModel_hookH = class(QObject_hookH) end; QListWidgetItem_hookH = class(QObject_hookH) end; QListWidget_hookH = class(QListView_hookH) end; QTreeView_hookH = class(QAbstractItemView_hookH) end; QTreeWidgetItem_hookH = class(QObject_hookH) end; QTreeWidget_hookH = class(QTreeView_hookH) end; QHeaderView_hookH = class(QAbstractItemView_hookH) end; QStandardItem_hookH = class(QObject_hookH) end; QStandardItemModel_hookH = class(QAbstractItemModel_hookH) end; QAbstractItemDelegate_hookH = class(QObject_hookH) end; QTableView_hookH = class(QAbstractItemView_hookH) end; QTableWidgetSelectionRange_hookH = class(QObject_hookH) end; QTableWidgetItem_hookH = class(QObject_hookH) end; QTableWidget_hookH = class(QTableView_hookH) end; QDialog_hookH = class(QWidget_hookH) end; QFileDialog_hookH = class(QDialog_hookH) end; QProgressDialog_hookH = class(QDialog_hookH) end; QAbstractPrintDialog_hookH = class(QDialog_hookH) end; QPrintDialog_hookH = class(QAbstractPrintDialog_hookH) end; QPrintPreviewDialog_hookH = class(QDialog_hookH) end; QSystemTrayIcon_hookH = class(QObject_hookH) end; QGraphicsScene_hookH = class(QObject_hookH) end; QAbstractSocket_hookH = class(QIODevice_hookH) end; QUdpSocket_hookH = class(QAbstractSocket_hookH) end; QTcpSocket_hookH = class(QAbstractSocket_hookH) end; QTcpServer_hookH = class(QObject_hookH) end; QNetworkAccessManager_hookH = class(QObject_hookH) end; QNetworkReply_hookH = class(QIODevice_hookH) end; QWebHitTestResult_hookH = class(QObject_hookH) end; QWebFrame_hookH = class(QObject_hookH) end; QWebSecurityOrigin_hookH = class(QObject_hookH) end; QWebDatabase_hookH = class(QObject_hookH) end; QWebHistoryItem_hookH = class(QObject_hookH) end; QWebHistory_hookH = class(QObject_hookH) end; QWebHistoryInterface_hookH = class(QObject_hookH) end; QWebPage_hookH = class(QObject_hookH) end; QWebSettings_hookH = class(QObject_hookH) end; QWebView_hookH = class(QWidget_hookH) end; QCoreApplicationEventFilter = function(Msg:PChar;Res:PLong):boolean cdecl; QAbstractEventDispatcherEventFilter = function(Msg:PChar):boolean cdecl; QLCLItemDelegate_sizeHint_Override = procedure (option: QStyleOptionViewItemH; index: QModelIndexH; Size: PSize) of object cdecl; QLCLItemDelegate_paint_Override = procedure (painter : QPainterH; option: QStyleOptionViewItemH; index: QModelIndexH) of object cdecl; QLCLItemDelegate_createEditor_Override = procedure (parent : QWidgetH; option: QStyleOptionViewItemH; index: QModelIndexH; out editor: QWidgetH) of object cdecl; QLCLItemDelegate_setEditorData_Override = procedure (editor : QWidgetH; index: QModelIndexH) of object cdecl; QLCLItemDelegate_setModelData_Override = procedure (editor : QWidgetH; model: QAbstractItemModelH; index: QModelIndexH) of object cdecl; QLCLItemDelegate_updateEditorGeometry_Override = procedure (editor : QWidgetH; option: QStyleOptionViewItemH; index: QModelIndexH) of object cdecl; QLCLItemDelegate_editorEvent_Override = procedure (event : QEventH; model: QAbstractItemModelH; option: QStyleOptionViewItemH; index: QModelIndexH; retval: PBoolean) of object cdecl; QLCLAbstractScrollArea_viewportEvent_Override = procedure (event: QEventH; retval: PBoolean) of object cdecl; QLCLWebPage_userAgentForUrl_Override = procedure(url : QUrlH;userAgent:PWideString) of object; cdecl; QLCLWebView_createWindow_Override = function (WebWindowType : integer):QWebViewH of object cdecl; QLCLThread_run_Override = procedure of object cdecl; type QObjectEventFilter = function (Sender:QObjectH; Event: QEventH):boolean of object cdecl; QObject_destroyed_Event = procedure of object; cdecl; function QtPoint(X,Y:integer): TQtPoint; function QtPointF(X,Y:QReal): TQtPointF; function QObject_hook_create(handle : QObjectH) : QObject_hookH; cdecl; external Qt4PasLib name 'QObject_hook_create'; procedure QObject_hook_destroy(handle : QObject_hookH ); cdecl; external Qt4PasLib name 'QObject_hook_destroy'; procedure QObject_hook_hook_events(handle : QObject_hookH; hook : QObjectEventFilter); cdecl; external Qt4PasLib name 'QObject_hook_hook_events'; procedure QObject_hook_hook_destroyed(handle : QObject_hookH; hook : QObject_destroyed_Event); cdecl; external Qt4PasLib name 'QObject_hook_hook_destroyed'; type QtGlobalColor = ( // Qt::GlobalColor (1) Qtcolor0, Qtcolor1, Qtblack, Qtwhite, QtdarkGray, Qtgray, QtlightGray, Qtred, Qtgreen, Qtblue, Qtcyan, Qtmagenta, Qtyellow, QtdarkRed, QtdarkGreen, QtdarkBlue, QtdarkCyan, QtdarkMagenta, QtdarkYellow, Qttransparent ); QtSortOrder = ( // Qt::SortOrder (1) QtAscendingOrder, QtDescendingOrder ); QtTextElideMode = ( // Qt::TextElideMode (1) QtElideLeft, QtElideRight, QtElideMiddle, QtElideNone ); QtBGMode = ( // Qt::BGMode (1) QtTransparentMode, QtOpaqueMode ); QtArrowType = ( // Qt::ArrowType (1) QtNoArrow, QtUpArrow, QtDownArrow, QtLeftArrow, QtRightArrow ); QtPenStyle = ( // Qt::PenStyle (1) QtNoPen, QtSolidLine, QtDashLine, QtDotLine, QtDashDotLine, QtDashDotDotLine, QtCustomDashLine ); QtSizeMode = ( // Qt::SizeMode (1) QtAbsoluteSize, QtRelativeSize ); QtUIEffect = ( // Qt::UIEffect (1) QtUI_General, QtUI_AnimateMenu, QtUI_FadeMenu, QtUI_AnimateCombo, QtUI_AnimateTooltip, QtUI_FadeTooltip, QtUI_AnimateToolBox ); QtTextFormat = ( // Qt::TextFormat (1) QtPlainText, QtRichText, QtAutoText, QtLogText ); QtAspectRatioMode = ( // Qt::AspectRatioMode (1) QtIgnoreAspectRatio, QtKeepAspectRatio, QtKeepAspectRatioByExpanding ); QtAnchorAttribute = ( // Qt::AnchorAttribute (1) QtAnchorName, QtAnchorHref ); QtTimeSpec = ( // Qt::TimeSpec (1) QtLocalTime, QtUTC, QtOffsetFromUTC ); QtScrollBarPolicy = ( // Qt::ScrollBarPolicy (1) QtScrollBarAsNeeded, QtScrollBarAlwaysOff, QtScrollBarAlwaysOn ); QtCaseSensitivity = ( // Qt::CaseSensitivity (1) QtCaseInsensitive, QtCaseSensitive ); QtConnectionType = ( // Qt::ConnectionType (1) QtAutoConnection, QtDirectConnection, QtQueuedConnection, QtAutoCompatConnection, QtBlockingQueuedConnection ); QtShortcutContext = ( // Qt::ShortcutContext (1) QtWidgetShortcut, QtWindowShortcut, QtApplicationShortcut, QtWidgetWithChildrenShortcut ); QtFillRule = ( // Qt::FillRule (1) QtOddEvenFill, QtWindingFill ); QtMaskMode = ( // Qt::MaskMode (1) QtMaskInColor, QtMaskOutColor ); QtClipOperation = ( // Qt::ClipOperation (1) QtNoClip, QtReplaceClip, QtIntersectClip, QtUniteClip ); QtTransformationMode = ( // Qt::TransformationMode (1) QtFastTransformation, QtSmoothTransformation ); QtAxis = ( // Qt::Axis (1) QtXAxis, QtYAxis, QtZAxis ); QtFocusReason = ( // Qt::FocusReason (1) QtMouseFocusReason, QtTabFocusReason, QtBacktabFocusReason, QtActiveWindowFocusReason, QtPopupFocusReason, QtShortcutFocusReason, QtMenuBarFocusReason, QtOtherFocusReason, QtNoFocusReason ); QtContextMenuPolicy = ( // Qt::ContextMenuPolicy (1) QtNoContextMenu, QtDefaultContextMenu, QtActionsContextMenu, QtCustomContextMenu, QtPreventContextMenu ); QtInputMethodQuery = ( // Qt::InputMethodQuery (1) QtImMicroFocus, QtImFont, QtImCursorPosition, QtImSurroundingText, QtImCurrentSelection ); QtToolButtonStyle = ( // Qt::ToolButtonStyle (1) QtToolButtonIconOnly, QtToolButtonTextOnly, QtToolButtonTextBesideIcon, QtToolButtonTextUnderIcon ); QtLayoutDirection = ( // Qt::LayoutDirection (1) QtLeftToRight, QtRightToLeft ); QtCheckState = ( // Qt::CheckState (1) QtUnchecked, QtPartiallyChecked, QtChecked ); QtWindowModality = ( // Qt::WindowModality (1) QtNonModal, QtWindowModal, QtApplicationModal ); QtSizeHint = ( // Qt::SizeHint (1) QtMinimumSize, QtPreferredSize, QtMaximumSize, QtMinimumDescent, QtNSizeHints ); QtWindowFrameSection = ( // Qt::WindowFrameSection (1) QtNoSection, QtLeftSection, QtTopLeftSection, QtTopSection, QtTopRightSection, QtRightSection, QtBottomRightSection, QtBottomSection, QtBottomLeftSection, QtTitleBarArea ); QtHitTestAccuracy = ( // Qt::HitTestAccuracy (1) QtHitTestAccuracy_dummy ); type QtKeyboardModifier = cardinal; // Qt::KeyboardModifier QtKeyboardModifiers = QtKeyboardModifier; //QFlags<> (3) const QtNoModifier = $00000000; QtShiftModifier = $02000000; QtControlModifier = $04000000; QtAltModifier = $08000000; QtMetaModifier = $10000000; QtKeypadModifier = $20000000; QtGroupSwitchModifier = $40000000; QtKeyboardModifierMask = $fe000000; type QtMouseButton = cardinal; // Qt::MouseButton QtMouseButtons = QtMouseButton; //QFlags<> (3) const QtNoButton = $00000000; QtLeftButton = $00000001; QtRightButton = $00000002; QtMidButton = $00000004; QtXButton1 = $00000008; QtXButton2 = $00000010; QtMouseButtonMask = $000000ff; type QtOrientation = cardinal; // Qt::Orientation QtOrientations = QtOrientation; //QFlags<> (3) const QtHorizontal = $1; QtVertical = $2; type QtWindowState = cardinal; // Qt::WindowState QtWindowStates = QtWindowState; //QFlags<> (3) const QtWindowNoState = $00000000; QtWindowMinimized = $00000001; QtWindowMaximized = $00000002; QtWindowFullScreen = $00000004; QtWindowActive = $00000008; type QtApplicationAttribute = ( //Qt::ApplicationAttribute (2) QtAA_ImmediateWidgetCreation = 0, QtAA_MSWindowsUseDirect3DByDefault = 1, QtAA_DontShowIconsInMenus = 2, QtAA_NativeWindows = 3, QtAA_DontCreateNativeWidgetSiblings = 4, QtAA_MacPluginApplication = 5, QtAA_AttributeCount ); type QtImageConversionFlag = cardinal; // Qt::ImageConversionFlag QtImageConversionFlags = QtImageConversionFlag; //QFlags<> (3) const QtColorMode_Mask = $00000003; QtAutoColor = $00000000; QtColorOnly = $00000003; QtMonoOnly = $00000002; QtAlphaDither_Mask = $0000000c; QtThresholdAlphaDither = $00000000; QtOrderedAlphaDither = $00000004; QtDiffuseAlphaDither = $00000008; QtNoAlpha = $0000000c; QtDither_Mask = $00000030; QtDiffuseDither = $00000000; QtOrderedDither = $00000010; QtThresholdDither = $00000020; QtDitherMode_Mask = $000000c0; QtAutoDither = $00000000; QtPreferDither = $00000040; QtAvoidDither = $00000080; QtNoOpaqueDetection = $00000100; type QtPenCapStyle = ( //Qt::PenCapStyle (2) QtFlatCap = $00, QtSquareCap = $10, QtRoundCap = $20, QtMPenCapStyle = $30 ); QtPenJoinStyle = ( //Qt::PenJoinStyle (2) QtMiterJoin = $00, QtBevelJoin = $40, QtRoundJoin = $80, QtSvgMiterJoin = $100, QtMPenJoinStyle = $1c0 ); QtBrushStyle = ( //Qt::BrushStyle (2) QtNoBrush, QtSolidPattern, QtDense1Pattern, QtDense2Pattern, QtDense3Pattern, QtDense4Pattern, QtDense5Pattern, QtDense6Pattern, QtDense7Pattern, QtHorPattern, QtVerPattern, QtCrossPattern, QtBDiagPattern, QtFDiagPattern, QtDiagCrossPattern, QtLinearGradientPattern, QtRadialGradientPattern, QtConicalGradientPattern, QtTexturePattern = 24 ); QtDockWidgetAreaSizes = ( //Qt::DockWidgetAreaSizes (2) QtNDockWidgetAreas = 4 ); QtToolBarAreaSizes = ( //Qt::ToolBarAreaSizes (2) QtNToolBarAreas = 4 ); QtDayOfWeek = ( //Qt::DayOfWeek (2) QtMonday = 1, QtTuesday = 2, QtWednesday = 3, QtThursday = 4, QtFriday = 5, QtSaturday = 6, QtSunday = 7 ); QtCorner = ( //Qt::Corner (2) QtTopLeftCorner = $00000, QtTopRightCorner = $00001, QtBottomLeftCorner = $00002, QtBottomRightCorner = $00003 ); QtItemSelectionMode = ( //Qt::ItemSelectionMode (2) QtContainsItemShape = $0, QtIntersectsItemShape = $1, QtContainsItemBoundingRect = $2, QtIntersectsItemBoundingRect = $3 ); type QtDropAction = cardinal; // Qt::DropAction QtDropActions = QtDropAction; //QFlags<> (3) const QtCopyAction = $1; QtMoveAction = $2; QtLinkAction = $4; QtActionMask = $ff; QtTargetMoveAction = $8002; QtIgnoreAction = $0; type QtItemDataRole = ( //Qt::ItemDataRole (2) QtDisplayRole = 0, QtDecorationRole = 1, QtEditRole = 2, QtToolTipRole = 3, QtStatusTipRole = 4, QtWhatsThisRole = 5, QtFontRole = 6, QtTextAlignmentRole = 7, QtBackgroundColorRole = 8, // QtBackgroundRole = 8 {duplicate}, QtForegroundRole = 9, // QtTextColorRole = 9 {duplicate}, QtCheckStateRole = 10, QtAccessibleTextRole = 11, QtAccessibleDescriptionRole = 12, QtSizeHintRole = 13, QtDisplayPropertyRole = 27, QtDecorationPropertyRole = 28, QtToolTipPropertyRole = 29, QtStatusTipPropertyRole = 30, QtWhatsThisPropertyRole = 31, QtUserRole = 32 ); type QtItemFlag = cardinal; // Qt::ItemFlag QtItemFlags = QtItemFlag; //QFlags<> (3) const QtNoItemFlags = 0; QtItemIsSelectable = 1; QtItemIsEditable = 2; QtItemIsDragEnabled = 4; QtItemIsDropEnabled = 8; QtItemIsUserCheckable = 16; QtItemIsEnabled = 32; QtItemIsTristate = 64; type QtMatchFlag = cardinal; // Qt::MatchFlag QtMatchFlags = QtMatchFlag; //QFlags<> (3) const QtMatchExactly = 0; QtMatchContains = 1; QtMatchStartsWith = 2; QtMatchEndsWith = 3; QtMatchRegExp = 4; QtMatchWildcard = 5; QtMatchFixedString = 8; QtMatchCaseSensitive = 16; QtMatchWrap = 32; QtMatchRecursive = 64; type QtEventPriority = ( //Qt::EventPriority (2) QtLowEventPriority = -1, QtNormalEventPriority = 0, QtHighEventPriority = 1 ); type QInternalRelayoutType = ( // QInternal::RelayoutType (1) QInternalRelayoutNormal, QInternalRelayoutDragging, QInternalRelayoutDropped ); QInternalCallback = ( // QInternal::Callback (1) QInternalConnectCallback, QInternalDisconnectCallback, QInternalAdoptCurrentThread, QInternalEventNotifyCallback, QInternalLastCallback ); QInternalInternalFunction = ( // QInternal::InternalFunction (1) QInternalCreateThreadForAdoption, QInternalRefAdoptedThread, QInternalDerefAdoptedThread, QInternalSetCurrentThreadToMainThread, QInternalSetQObjectSender, QInternalGetQObjectSender, QInternalResetQObjectSender, QInternalLastInternalFunction ); QInternalDockPosition = ( // QInternal::DockPosition (1) QInternalLeftDock, QInternalRightDock, QInternalTopDock, QInternalBottomDock, QInternalDockCount ); QInternalPaintDeviceFlags = ( //QInternal::PaintDeviceFlags (2) QInternalUnknownDevice = $00, QInternalWidget = $01, QInternalPixmap = $02, QInternalImage = $03, QInternalPrinter = $04, QInternalPicture = $05, QInternalPbuffer = $06, QInternalFramebufferObject = $07, QInternalCustomRaster = $08, QInternalMacQuartz = $09 ); type QtModifier = cardinal; // Qt::Modifier (4) const QtMETA = 268435456 { $10000000 }; QtSHIFT = 33554432 { $2000000 }; QtCTRL = 67108864 { $4000000 }; QtALT = 134217728 { $8000000 }; QtMODIFIER_MASK = 4261412864 { $fe000000 }; QtUNICODE_ACCEL = 0 { $0 }; type QtFocusPolicy = cardinal; // Qt::FocusPolicy (4) const QtNoFocus = 0 { $0 }; QtTabFocus = 1 { $1 }; QtClickFocus = 2 { $2 }; QtStrongFocus = 11 { $b }; QtWheelFocus = 15 { $f }; type QtAlignmentFlag = cardinal; // Qt::AlignmentFlag (4) QtAlignment = QtAlignmentFlag; // QFlags<> const QtAlignLeft = 1 { $1 }; QtAlignLeading = 1 { $1 }; QtAlignRight = 2 { $2 }; QtAlignTrailing = 2 { $2 }; QtAlignHCenter = 4 { $4 }; QtAlignJustify = 8 { $8 }; QtAlignAbsolute = 16 { $10 }; QtAlignHorizontal_Mask = 31 { $1f }; QtAlignTop = 32 { $20 }; QtAlignBottom = 64 { $40 }; QtAlignVCenter = 128 { $80 }; QtAlignVertical_Mask = 224 { $e0 }; QtAlignCenter = 132 { $84 }; type QtWindowType = cardinal; // Qt::WindowType (4) QtWindowFlags = QtWindowType; // QFlags<> const QtWidget = 0 { $0 }; QtWindow = 1 { $1 }; QtDialog = 3 { $3 }; QtSheet = 5 { $5 }; QtDrawer = 7 { $7 }; QtPopup = 9 { $9 }; QtTool = 11 { $b }; QtToolTip = 13 { $d }; QtSplashScreen = 15 { $f }; QtDesktop = 17 { $11 }; QtSubWindow = 18 { $12 }; QtWindowType_Mask = 255 { $ff }; QtMSWindowsFixedSizeDialogHint = 256 { $100 }; QtMSWindowsOwnDC = 512 { $200 }; QtX11BypassWindowManagerHint = 1024 { $400 }; QtFramelessWindowHint = 2048 { $800 }; QtWindowTitleHint = 4096 { $1000 }; QtWindowSystemMenuHint = 8192 { $2000 }; QtWindowMinimizeButtonHint = 16384 { $4000 }; QtWindowMaximizeButtonHint = 32768 { $8000 }; QtWindowMinMaxButtonsHint = 49152 { $c000 }; QtWindowContextHelpButtonHint = 65536 { $10000 }; QtWindowShadeButtonHint = 131072 { $20000 }; QtWindowStaysOnTopHint = 262144 { $40000 }; QtCustomizeWindowHint = 33554432 { $2000000 }; QtWindowStaysOnBottomHint = 67108864 { $4000000 }; QtWindowCloseButtonHint = 134217728 { $8000000 }; QtMacWindowToolBarButtonHint = 268435456 { $10000000 }; QtBypassGraphicsProxyWidget = 536870912 { $20000000 }; QtWindowOkButtonHint = 524288 { $80000 }; QtWindowCancelButtonHint = 1048576 { $100000 }; type QtWidgetAttribute = cardinal; // Qt::WidgetAttribute (4) const QtWA_Disabled = 0 { $0 }; QtWA_UnderMouse = 1 { $1 }; QtWA_MouseTracking = 2 { $2 }; QtWA_ContentsPropagated = 3 { $3 }; QtWA_OpaquePaintEvent = 4 { $4 }; QtWA_NoBackground = 4 { $4 }; QtWA_StaticContents = 5 { $5 }; QtWA_LaidOut = 7 { $7 }; QtWA_PaintOnScreen = 8 { $8 }; QtWA_NoSystemBackground = 9 { $9 }; QtWA_UpdatesDisabled = 10 { $a }; QtWA_Mapped = 11 { $b }; QtWA_MacNoClickThrough = 12 { $c }; QtWA_PaintOutsidePaintEvent = 13 { $d }; QtWA_InputMethodEnabled = 14 { $e }; QtWA_WState_Visible = 15 { $f }; QtWA_WState_Hidden = 16 { $10 }; QtWA_ForceDisabled = 32 { $20 }; QtWA_KeyCompression = 33 { $21 }; QtWA_PendingMoveEvent = 34 { $22 }; QtWA_PendingResizeEvent = 35 { $23 }; QtWA_SetPalette = 36 { $24 }; QtWA_SetFont = 37 { $25 }; QtWA_SetCursor = 38 { $26 }; QtWA_NoChildEventsFromChildren = 39 { $27 }; QtWA_WindowModified = 41 { $29 }; QtWA_Resized = 42 { $2a }; QtWA_Moved = 43 { $2b }; QtWA_PendingUpdate = 44 { $2c }; QtWA_InvalidSize = 45 { $2d }; QtWA_MacBrushedMetal = 46 { $2e }; QtWA_MacMetalStyle = 46 { $2e }; QtWA_CustomWhatsThis = 47 { $2f }; QtWA_LayoutOnEntireRect = 48 { $30 }; QtWA_OutsideWSRange = 49 { $31 }; QtWA_GrabbedShortcut = 50 { $32 }; QtWA_TransparentForMouseEvents = 51 { $33 }; QtWA_PaintUnclipped = 52 { $34 }; QtWA_SetWindowIcon = 53 { $35 }; QtWA_NoMouseReplay = 54 { $36 }; QtWA_DeleteOnClose = 55 { $37 }; QtWA_RightToLeft = 56 { $38 }; QtWA_SetLayoutDirection = 57 { $39 }; QtWA_NoChildEventsForParent = 58 { $3a }; QtWA_ForceUpdatesDisabled = 59 { $3b }; QtWA_WState_Created = 60 { $3c }; QtWA_WState_CompressKeys = 61 { $3d }; QtWA_WState_InPaintEvent = 62 { $3e }; QtWA_WState_Reparented = 63 { $3f }; QtWA_WState_ConfigPending = 64 { $40 }; QtWA_WState_Polished = 66 { $42 }; QtWA_WState_DND = 67 { $43 }; QtWA_WState_OwnSizePolicy = 68 { $44 }; QtWA_WState_ExplicitShowHide = 69 { $45 }; QtWA_ShowModal = 70 { $46 }; QtWA_MouseNoMask = 71 { $47 }; QtWA_GroupLeader = 72 { $48 }; QtWA_NoMousePropagation = 73 { $49 }; QtWA_Hover = 74 { $4a }; QtWA_InputMethodTransparent = 75 { $4b }; QtWA_QuitOnClose = 76 { $4c }; QtWA_KeyboardFocusChange = 77 { $4d }; QtWA_AcceptDrops = 78 { $4e }; QtWA_DropSiteRegistered = 79 { $4f }; QtWA_ForceAcceptDrops = 79 { $4f }; QtWA_WindowPropagation = 80 { $50 }; QtWA_NoX11EventCompression = 81 { $51 }; QtWA_TintedBackground = 82 { $52 }; QtWA_X11OpenGLOverlay = 83 { $53 }; QtWA_AlwaysShowToolTips = 84 { $54 }; QtWA_MacOpaqueSizeGrip = 85 { $55 }; QtWA_SetStyle = 86 { $56 }; QtWA_SetLocale = 87 { $57 }; QtWA_MacShowFocusRect = 88 { $58 }; QtWA_MacNormalSize = 89 { $59 }; QtWA_MacSmallSize = 90 { $5a }; QtWA_MacMiniSize = 91 { $5b }; QtWA_LayoutUsesWidgetRect = 92 { $5c }; QtWA_StyledBackground = 93 { $5d }; QtWA_MSWindowsUseDirect3D = 94 { $5e }; QtWA_CanHostQMdiSubWindowTitleBar = 95 { $5f }; QtWA_MacAlwaysShowToolWindow = 96 { $60 }; QtWA_StyleSheet = 97 { $61 }; QtWA_ShowWithoutActivating = 98 { $62 }; QtWA_X11BypassTransientForHint = 99 { $63 }; QtWA_NativeWindow = 100 { $64 }; QtWA_DontCreateNativeAncestors = 101 { $65 }; QtWA_MacVariableSize = 102 { $66 }; QtWA_DontShowOnScreen = 103 { $67 }; QtWA_X11NetWmWindowTypeDesktop = 104 { $68 }; QtWA_X11NetWmWindowTypeDock = 105 { $69 }; QtWA_X11NetWmWindowTypeToolBar = 106 { $6a }; QtWA_X11NetWmWindowTypeMenu = 107 { $6b }; QtWA_X11NetWmWindowTypeUtility = 108 { $6c }; QtWA_X11NetWmWindowTypeSplash = 109 { $6d }; QtWA_X11NetWmWindowTypeDialog = 110 { $6e }; QtWA_X11NetWmWindowTypeDropDownMenu = 111 { $6f }; QtWA_X11NetWmWindowTypePopupMenu = 112 { $70 }; QtWA_X11NetWmWindowTypeToolTip = 113 { $71 }; QtWA_X11NetWmWindowTypeNotification = 114 { $72 }; QtWA_X11NetWmWindowTypeCombo = 115 { $73 }; QtWA_X11NetWmWindowTypeDND = 116 { $74 }; QtWA_MacFrameworkScaled = 117 { $75 }; QtWA_SetWindowModality = 118 { $76 }; QtWA_WState_WindowOpacitySet = 119 { $77 }; QtWA_TranslucentBackground = 120 { $78 }; QtWA_AttributeCount = 121 { $79 }; type QtKey = cardinal; // Qt::Key (4) const QtKey_Escape = 16777216 { $1000000 }; QtKey_Tab = 16777217 { $1000001 }; QtKey_Backtab = 16777218 { $1000002 }; QtKey_Backspace = 16777219 { $1000003 }; QtKey_Return = 16777220 { $1000004 }; QtKey_Enter = 16777221 { $1000005 }; QtKey_Insert = 16777222 { $1000006 }; QtKey_Delete = 16777223 { $1000007 }; QtKey_Pause = 16777224 { $1000008 }; QtKey_Print = 16777225 { $1000009 }; QtKey_SysReq = 16777226 { $100000a }; QtKey_Clear = 16777227 { $100000b }; QtKey_Home = 16777232 { $1000010 }; QtKey_End = 16777233 { $1000011 }; QtKey_Left = 16777234 { $1000012 }; QtKey_Up = 16777235 { $1000013 }; QtKey_Right = 16777236 { $1000014 }; QtKey_Down = 16777237 { $1000015 }; QtKey_PageUp = 16777238 { $1000016 }; QtKey_PageDown = 16777239 { $1000017 }; QtKey_Shift = 16777248 { $1000020 }; QtKey_Control = 16777249 { $1000021 }; QtKey_Meta = 16777250 { $1000022 }; QtKey_Alt = 16777251 { $1000023 }; QtKey_CapsLock = 16777252 { $1000024 }; QtKey_NumLock = 16777253 { $1000025 }; QtKey_ScrollLock = 16777254 { $1000026 }; QtKey_F1 = 16777264 { $1000030 }; QtKey_F2 = 16777265 { $1000031 }; QtKey_F3 = 16777266 { $1000032 }; QtKey_F4 = 16777267 { $1000033 }; QtKey_F5 = 16777268 { $1000034 }; QtKey_F6 = 16777269 { $1000035 }; QtKey_F7 = 16777270 { $1000036 }; QtKey_F8 = 16777271 { $1000037 }; QtKey_F9 = 16777272 { $1000038 }; QtKey_F10 = 16777273 { $1000039 }; QtKey_F11 = 16777274 { $100003a }; QtKey_F12 = 16777275 { $100003b }; QtKey_F13 = 16777276 { $100003c }; QtKey_F14 = 16777277 { $100003d }; QtKey_F15 = 16777278 { $100003e }; QtKey_F16 = 16777279 { $100003f }; QtKey_F17 = 16777280 { $1000040 }; QtKey_F18 = 16777281 { $1000041 }; QtKey_F19 = 16777282 { $1000042 }; QtKey_F20 = 16777283 { $1000043 }; QtKey_F21 = 16777284 { $1000044 }; QtKey_F22 = 16777285 { $1000045 }; QtKey_F23 = 16777286 { $1000046 }; QtKey_F24 = 16777287 { $1000047 }; QtKey_F25 = 16777288 { $1000048 }; QtKey_F26 = 16777289 { $1000049 }; QtKey_F27 = 16777290 { $100004a }; QtKey_F28 = 16777291 { $100004b }; QtKey_F29 = 16777292 { $100004c }; QtKey_F30 = 16777293 { $100004d }; QtKey_F31 = 16777294 { $100004e }; QtKey_F32 = 16777295 { $100004f }; QtKey_F33 = 16777296 { $1000050 }; QtKey_F34 = 16777297 { $1000051 }; QtKey_F35 = 16777298 { $1000052 }; QtKey_Super_L = 16777299 { $1000053 }; QtKey_Super_R = 16777300 { $1000054 }; QtKey_Menu = 16777301 { $1000055 }; QtKey_Hyper_L = 16777302 { $1000056 }; QtKey_Hyper_R = 16777303 { $1000057 }; QtKey_Help = 16777304 { $1000058 }; QtKey_Direction_L = 16777305 { $1000059 }; QtKey_Direction_R = 16777312 { $1000060 }; QtKey_Space = 32 { $20 }; QtKey_Any = 32 { $20 }; QtKey_Exclam = 33 { $21 }; QtKey_QuoteDbl = 34 { $22 }; QtKey_NumberSign = 35 { $23 }; QtKey_Dollar = 36 { $24 }; QtKey_Percent = 37 { $25 }; QtKey_Ampersand = 38 { $26 }; QtKey_Apostrophe = 39 { $27 }; QtKey_ParenLeft = 40 { $28 }; QtKey_ParenRight = 41 { $29 }; QtKey_Asterisk = 42 { $2a }; QtKey_Plus = 43 { $2b }; QtKey_Comma = 44 { $2c }; QtKey_Minus = 45 { $2d }; QtKey_Period = 46 { $2e }; QtKey_Slash = 47 { $2f }; QtKey_0 = 48 { $30 }; QtKey_1 = 49 { $31 }; QtKey_2 = 50 { $32 }; QtKey_3 = 51 { $33 }; QtKey_4 = 52 { $34 }; QtKey_5 = 53 { $35 }; QtKey_6 = 54 { $36 }; QtKey_7 = 55 { $37 }; QtKey_8 = 56 { $38 }; QtKey_9 = 57 { $39 }; QtKey_Colon = 58 { $3a }; QtKey_Semicolon = 59 { $3b }; QtKey_Less = 60 { $3c }; QtKey_Equal = 61 { $3d }; QtKey_Greater = 62 { $3e }; QtKey_Question = 63 { $3f }; QtKey_At = 64 { $40 }; QtKey_A = 65 { $41 }; QtKey_B = 66 { $42 }; QtKey_C = 67 { $43 }; QtKey_D = 68 { $44 }; QtKey_E = 69 { $45 }; QtKey_F = 70 { $46 }; QtKey_G = 71 { $47 }; QtKey_H = 72 { $48 }; QtKey_I = 73 { $49 }; QtKey_J = 74 { $4a }; QtKey_K = 75 { $4b }; QtKey_L = 76 { $4c }; QtKey_M = 77 { $4d }; QtKey_N = 78 { $4e }; QtKey_O = 79 { $4f }; QtKey_P = 80 { $50 }; QtKey_Q = 81 { $51 }; QtKey_R = 82 { $52 }; QtKey_S = 83 { $53 }; QtKey_T = 84 { $54 }; QtKey_U = 85 { $55 }; QtKey_V = 86 { $56 }; QtKey_W = 87 { $57 }; QtKey_X = 88 { $58 }; QtKey_Y = 89 { $59 }; QtKey_Z = 90 { $5a }; QtKey_BracketLeft = 91 { $5b }; QtKey_Backslash = 92 { $5c }; QtKey_BracketRight = 93 { $5d }; QtKey_AsciiCircum = 94 { $5e }; QtKey_Underscore = 95 { $5f }; QtKey_QuoteLeft = 96 { $60 }; QtKey_BraceLeft = 123 { $7b }; QtKey_Bar = 124 { $7c }; QtKey_BraceRight = 125 { $7d }; QtKey_AsciiTilde = 126 { $7e }; QtKey_nobreakspace = 160 { $a0 }; QtKey_exclamdown = 161 { $a1 }; QtKey_cent = 162 { $a2 }; QtKey_sterling = 163 { $a3 }; QtKey_currency = 164 { $a4 }; QtKey_yen = 165 { $a5 }; QtKey_brokenbar = 166 { $a6 }; QtKey_section = 167 { $a7 }; QtKey_diaeresis = 168 { $a8 }; QtKey_copyright = 169 { $a9 }; QtKey_ordfeminine = 170 { $aa }; QtKey_guillemotleft = 171 { $ab }; QtKey_notsign = 172 { $ac }; QtKey_hyphen = 173 { $ad }; QtKey_registered = 174 { $ae }; QtKey_macron = 175 { $af }; QtKey_degree = 176 { $b0 }; QtKey_plusminus = 177 { $b1 }; QtKey_twosuperior = 178 { $b2 }; QtKey_threesuperior = 179 { $b3 }; QtKey_acute = 180 { $b4 }; QtKey_mu = 181 { $b5 }; QtKey_paragraph = 182 { $b6 }; QtKey_periodcentered = 183 { $b7 }; QtKey_cedilla = 184 { $b8 }; QtKey_onesuperior = 185 { $b9 }; QtKey_masculine = 186 { $ba }; QtKey_guillemotright = 187 { $bb }; QtKey_onequarter = 188 { $bc }; QtKey_onehalf = 189 { $bd }; QtKey_threequarters = 190 { $be }; QtKey_questiondown = 191 { $bf }; QtKey_Agrave = 192 { $c0 }; QtKey_Aacute = 193 { $c1 }; QtKey_Acircumflex = 194 { $c2 }; QtKey_Atilde = 195 { $c3 }; QtKey_Adiaeresis = 196 { $c4 }; QtKey_Aring = 197 { $c5 }; QtKey_AE = 198 { $c6 }; QtKey_Ccedilla = 199 { $c7 }; QtKey_Egrave = 200 { $c8 }; QtKey_Eacute = 201 { $c9 }; QtKey_Ecircumflex = 202 { $ca }; QtKey_Ediaeresis = 203 { $cb }; QtKey_Igrave = 204 { $cc }; QtKey_Iacute = 205 { $cd }; QtKey_Icircumflex = 206 { $ce }; QtKey_Idiaeresis = 207 { $cf }; QtKey_ETH = 208 { $d0 }; QtKey_Ntilde = 209 { $d1 }; QtKey_Ograve = 210 { $d2 }; QtKey_Oacute = 211 { $d3 }; QtKey_Ocircumflex = 212 { $d4 }; QtKey_Otilde = 213 { $d5 }; QtKey_Odiaeresis = 214 { $d6 }; QtKey_multiply = 215 { $d7 }; QtKey_Ooblique = 216 { $d8 }; QtKey_Ugrave = 217 { $d9 }; QtKey_Uacute = 218 { $da }; QtKey_Ucircumflex = 219 { $db }; QtKey_Udiaeresis = 220 { $dc }; QtKey_Yacute = 221 { $dd }; QtKey_THORN = 222 { $de }; QtKey_ssharp = 223 { $df }; QtKey_division = 247 { $f7 }; QtKey_ydiaeresis = 255 { $ff }; QtKey_AltGr = 16781571 { $1001103 }; QtKey_Multi_key = 16781600 { $1001120 }; QtKey_Codeinput = 16781623 { $1001137 }; QtKey_SingleCandidate = 16781628 { $100113c }; QtKey_MultipleCandidate = 16781629 { $100113d }; QtKey_PreviousCandidate = 16781630 { $100113e }; QtKey_Mode_switch = 16781694 { $100117e }; QtKey_Kanji = 16781601 { $1001121 }; QtKey_Muhenkan = 16781602 { $1001122 }; QtKey_Henkan = 16781603 { $1001123 }; QtKey_Romaji = 16781604 { $1001124 }; QtKey_Hiragana = 16781605 { $1001125 }; QtKey_Katakana = 16781606 { $1001126 }; QtKey_Hiragana_Katakana = 16781607 { $1001127 }; QtKey_Zenkaku = 16781608 { $1001128 }; QtKey_Hankaku = 16781609 { $1001129 }; QtKey_Zenkaku_Hankaku = 16781610 { $100112a }; QtKey_Touroku = 16781611 { $100112b }; QtKey_Massyo = 16781612 { $100112c }; QtKey_Kana_Lock = 16781613 { $100112d }; QtKey_Kana_Shift = 16781614 { $100112e }; QtKey_Eisu_Shift = 16781615 { $100112f }; QtKey_Eisu_toggle = 16781616 { $1001130 }; QtKey_Hangul = 16781617 { $1001131 }; QtKey_Hangul_Start = 16781618 { $1001132 }; QtKey_Hangul_End = 16781619 { $1001133 }; QtKey_Hangul_Hanja = 16781620 { $1001134 }; QtKey_Hangul_Jamo = 16781621 { $1001135 }; QtKey_Hangul_Romaja = 16781622 { $1001136 }; QtKey_Hangul_Jeonja = 16781624 { $1001138 }; QtKey_Hangul_Banja = 16781625 { $1001139 }; QtKey_Hangul_PreHanja = 16781626 { $100113a }; QtKey_Hangul_PostHanja = 16781627 { $100113b }; QtKey_Hangul_Special = 16781631 { $100113f }; QtKey_Dead_Grave = 16781904 { $1001250 }; QtKey_Dead_Acute = 16781905 { $1001251 }; QtKey_Dead_Circumflex = 16781906 { $1001252 }; QtKey_Dead_Tilde = 16781907 { $1001253 }; QtKey_Dead_Macron = 16781908 { $1001254 }; QtKey_Dead_Breve = 16781909 { $1001255 }; QtKey_Dead_Abovedot = 16781910 { $1001256 }; QtKey_Dead_Diaeresis = 16781911 { $1001257 }; QtKey_Dead_Abovering = 16781912 { $1001258 }; QtKey_Dead_Doubleacute = 16781913 { $1001259 }; QtKey_Dead_Caron = 16781914 { $100125a }; QtKey_Dead_Cedilla = 16781915 { $100125b }; QtKey_Dead_Ogonek = 16781916 { $100125c }; QtKey_Dead_Iota = 16781917 { $100125d }; QtKey_Dead_Voiced_Sound = 16781918 { $100125e }; QtKey_Dead_Semivoiced_Sound = 16781919 { $100125f }; QtKey_Dead_Belowdot = 16781920 { $1001260 }; QtKey_Dead_Hook = 16781921 { $1001261 }; QtKey_Dead_Horn = 16781922 { $1001262 }; QtKey_Back = 16777313 { $1000061 }; QtKey_Forward = 16777314 { $1000062 }; QtKey_Stop = 16777315 { $1000063 }; QtKey_Refresh = 16777316 { $1000064 }; QtKey_VolumeDown = 16777328 { $1000070 }; QtKey_VolumeMute = 16777329 { $1000071 }; QtKey_VolumeUp = 16777330 { $1000072 }; QtKey_BassBoost = 16777331 { $1000073 }; QtKey_BassUp = 16777332 { $1000074 }; QtKey_BassDown = 16777333 { $1000075 }; QtKey_TrebleUp = 16777334 { $1000076 }; QtKey_TrebleDown = 16777335 { $1000077 }; QtKey_MediaPlay = 16777344 { $1000080 }; QtKey_MediaStop = 16777345 { $1000081 }; QtKey_MediaPrevious = 16777346 { $1000082 }; QtKey_MediaNext = 16777347 { $1000083 }; QtKey_MediaRecord = 16777348 { $1000084 }; QtKey_HomePage = 16777360 { $1000090 }; QtKey_Favorites = 16777361 { $1000091 }; QtKey_Search = 16777362 { $1000092 }; QtKey_Standby = 16777363 { $1000093 }; QtKey_OpenUrl = 16777364 { $1000094 }; QtKey_LaunchMail = 16777376 { $10000a0 }; QtKey_LaunchMedia = 16777377 { $10000a1 }; QtKey_Launch0 = 16777378 { $10000a2 }; QtKey_Launch1 = 16777379 { $10000a3 }; QtKey_Launch2 = 16777380 { $10000a4 }; QtKey_Launch3 = 16777381 { $10000a5 }; QtKey_Launch4 = 16777382 { $10000a6 }; QtKey_Launch5 = 16777383 { $10000a7 }; QtKey_Launch6 = 16777384 { $10000a8 }; QtKey_Launch7 = 16777385 { $10000a9 }; QtKey_Launch8 = 16777386 { $10000aa }; QtKey_Launch9 = 16777387 { $10000ab }; QtKey_LaunchA = 16777388 { $10000ac }; QtKey_LaunchB = 16777389 { $10000ad }; QtKey_LaunchC = 16777390 { $10000ae }; QtKey_LaunchD = 16777391 { $10000af }; QtKey_LaunchE = 16777392 { $10000b0 }; QtKey_LaunchF = 16777393 { $10000b1 }; QtKey_MediaLast = 16842751 { $100ffff }; QtKey_Select = 16842752 { $1010000 }; QtKey_Yes = 16842753 { $1010001 }; QtKey_No = 16842754 { $1010002 }; QtKey_Cancel = 16908289 { $1020001 }; QtKey_Printer = 16908290 { $1020002 }; QtKey_Execute = 16908291 { $1020003 }; QtKey_Sleep = 16908292 { $1020004 }; QtKey_Play = 16908293 { $1020005 }; QtKey_Zoom = 16908294 { $1020006 }; QtKey_Context1 = 17825792 { $1100000 }; QtKey_Context2 = 17825793 { $1100001 }; QtKey_Context3 = 17825794 { $1100002 }; QtKey_Context4 = 17825795 { $1100003 }; QtKey_Call = 17825796 { $1100004 }; QtKey_Hangup = 17825797 { $1100005 }; QtKey_Flip = 17825798 { $1100006 }; QtKey_unknown = 33554431 { $1ffffff }; type QtCursorShape = cardinal; // Qt::CursorShape (4) const QtArrowCursor = 0 { $0 }; QtUpArrowCursor = 1 { $1 }; QtCrossCursor = 2 { $2 }; QtWaitCursor = 3 { $3 }; QtIBeamCursor = 4 { $4 }; QtSizeVerCursor = 5 { $5 }; QtSizeHorCursor = 6 { $6 }; QtSizeBDiagCursor = 7 { $7 }; QtSizeFDiagCursor = 8 { $8 }; QtSizeAllCursor = 9 { $9 }; QtBlankCursor = 10 { $a }; QtSplitVCursor = 11 { $b }; QtSplitHCursor = 12 { $c }; QtPointingHandCursor = 13 { $d }; QtForbiddenCursor = 14 { $e }; QtWhatsThisCursor = 15 { $f }; QtBusyCursor = 16 { $10 }; QtOpenHandCursor = 17 { $11 }; QtClosedHandCursor = 18 { $12 }; QtLastCursor = 18 { $12 }; QtBitmapCursor = 24 { $18 }; QtCustomCursor = 25 { $19 }; type QtDockWidgetArea = cardinal; // Qt::DockWidgetArea (4) QtDockWidgetAreas = QtDockWidgetArea; // QFlags<> const QtLeftDockWidgetArea = 1 { $1 }; QtRightDockWidgetArea = 2 { $2 }; QtTopDockWidgetArea = 4 { $4 }; QtBottomDockWidgetArea = 8 { $8 }; QtDockWidgetArea_Mask = 15 { $f }; QtAllDockWidgetAreas = 15 { $f }; QtNoDockWidgetArea = 0 { $0 }; type QtToolBarArea = cardinal; // Qt::ToolBarArea (4) QtToolBarAreas = QtToolBarArea; // QFlags<> const QtLeftToolBarArea = 1 { $1 }; QtRightToolBarArea = 2 { $2 }; QtTopToolBarArea = 4 { $4 }; QtBottomToolBarArea = 8 { $8 }; QtToolBarArea_Mask = 15 { $f }; QtAllToolBarAreas = 15 { $f }; QtNoToolBarArea = 0 { $0 }; type QtDateFormat = cardinal; // Qt::DateFormat (4) const QtTextDate = 0 { $0 }; QtISODate = 1 { $1 }; QtSystemLocaleDate = 2 { $2 }; QtLocalDate = 2 { $2 }; QtLocaleDate = 3 { $3 }; QtSystemLocaleShortDate = 4 { $4 }; QtSystemLocaleLongDate = 5 { $5 }; QtDefaultLocaleShortDate = 6 { $6 }; QtDefaultLocaleLongDate = 7 { $7 }; type QtTextInteractionFlag = cardinal; // Qt::TextInteractionFlag (4) QtTextInteractionFlags = QtTextInteractionFlag; // QFlags<> const QtNoTextInteraction = 0 { $0 }; QtTextSelectableByMouse = 1 { $1 }; QtTextSelectableByKeyboard = 2 { $2 }; QtLinksAccessibleByMouse = 4 { $4 }; QtLinksAccessibleByKeyboard = 8 { $8 }; QtTextEditable = 16 { $10 }; QtTextEditorInteraction = 19 { $13 }; QtTextBrowserInteraction = 13 { $d }; function QObject_create(parent: QObjectH = nil): QObjectH; cdecl; external Qt4PasLib name 'QObject_create'; procedure QObject_destroy(handle: QObjectH); cdecl; external Qt4PasLib name 'QObject_destroy'; function QObject_event(handle: QObjectH; AnonParam1: QEventH): Boolean; cdecl; external Qt4PasLib name 'QObject_event'; function QObject_eventFilter(handle: QObjectH; AnonParam1: QObjectH; AnonParam2: QEventH): Boolean; cdecl; external Qt4PasLib name 'QObject_eventFilter'; procedure QObject_tr(retval: PWideString; sourceText: PAnsiChar; comment: PAnsiChar = nil; n: Integer = -1); cdecl; external Qt4PasLib name 'QObject_tr'; procedure QObject_trUtf8(retval: PWideString; sourceText: PAnsiChar; comment: PAnsiChar = nil; n: Integer = -1); cdecl; external Qt4PasLib name 'QObject_trUtf8'; function QObject_metaObject(handle: QObjectH): QMetaObjectH; cdecl; external Qt4PasLib name 'QObject_metaObject'; procedure QObject_objectName(handle: QObjectH; retval: PWideString); cdecl; external Qt4PasLib name 'QObject_objectName'; procedure QObject_setObjectName(handle: QObjectH; name: PWideString); cdecl; external Qt4PasLib name 'QObject_setObjectName'; function QObject_isWidgetType(handle: QObjectH): Boolean; cdecl; external Qt4PasLib name 'QObject_isWidgetType'; function QObject_signalsBlocked(handle: QObjectH): Boolean; cdecl; external Qt4PasLib name 'QObject_signalsBlocked'; function QObject_blockSignals(handle: QObjectH; b: Boolean): Boolean; cdecl; external Qt4PasLib name 'QObject_blockSignals'; function QObject_thread(handle: QObjectH): QThreadH; cdecl; external Qt4PasLib name 'QObject_thread'; procedure QObject_moveToThread(handle: QObjectH; thread: QThreadH); cdecl; external Qt4PasLib name 'QObject_moveToThread'; function QObject_startTimer(handle: QObjectH; interval: Integer): Integer; cdecl; external Qt4PasLib name 'QObject_startTimer'; procedure QObject_killTimer(handle: QObjectH; id: Integer); cdecl; external Qt4PasLib name 'QObject_killTimer'; procedure QObject_children(handle: QObjectH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QObject_children'; procedure QObject_setParent(handle: QObjectH; AnonParam1: QObjectH); cdecl; external Qt4PasLib name 'QObject_setParent'; procedure QObject_installEventFilter(handle: QObjectH; AnonParam1: QObjectH); cdecl; external Qt4PasLib name 'QObject_installEventFilter'; procedure QObject_removeEventFilter(handle: QObjectH; AnonParam1: QObjectH); cdecl; external Qt4PasLib name 'QObject_removeEventFilter'; function QObject_connect(sender: QObjectH; signal: PAnsiChar; receiver: QObjectH; member: PAnsiChar; AnonParam5: QtConnectionType = QtAutoConnection): Boolean; cdecl; external Qt4PasLib name 'QObject_connect'; function QObject_connect(handle: QObjectH; sender: QObjectH; signal: PAnsiChar; member: PAnsiChar; _type: QtConnectionType = QtAutoConnection): Boolean; cdecl; external Qt4PasLib name 'QObject_connect2'; function QObject_disconnect(sender: QObjectH; signal: PAnsiChar; receiver: QObjectH; member: PAnsiChar): Boolean; cdecl; external Qt4PasLib name 'QObject_disconnect'; function QObject_disconnect(handle: QObjectH; receiver: QObjectH; member: PAnsiChar = nil): Boolean; cdecl; external Qt4PasLib name 'QObject_disconnect3'; procedure QObject_dumpObjectTree(handle: QObjectH); cdecl; external Qt4PasLib name 'QObject_dumpObjectTree'; procedure QObject_dumpObjectInfo(handle: QObjectH); cdecl; external Qt4PasLib name 'QObject_dumpObjectInfo'; function QObject_setProperty(handle: QObjectH; name: PAnsiChar; value: QVariantH): Boolean; cdecl; external Qt4PasLib name 'QObject_setProperty'; procedure QObject_property(handle: QObjectH; retval: QVariantH; name: PAnsiChar); cdecl; external Qt4PasLib name 'QObject_property'; function QObject_registerUserData(): LongWord; cdecl; external Qt4PasLib name 'QObject_registerUserData'; function QObject_parent(handle: QObjectH): QObjectH; cdecl; external Qt4PasLib name 'QObject_parent'; function QObject_inherits(handle: QObjectH; classname: PAnsiChar): Boolean; cdecl; external Qt4PasLib name 'QObject_inherits'; procedure QObject_deleteLater(handle: QObjectH); cdecl; external Qt4PasLib name 'QObject_deleteLater'; type QEventType = cardinal; // QEvent::Type (4) const QEventNone = 0 { $0 }; QEventTimer = 1 { $1 }; QEventMouseButtonPress = 2 { $2 }; QEventMouseButtonRelease = 3 { $3 }; QEventMouseButtonDblClick = 4 { $4 }; QEventMouseMove = 5 { $5 }; QEventKeyPress = 6 { $6 }; QEventKeyRelease = 7 { $7 }; QEventFocusIn = 8 { $8 }; QEventFocusOut = 9 { $9 }; QEventEnter = 10 { $a }; QEventLeave = 11 { $b }; QEventPaint = 12 { $c }; QEventMove = 13 { $d }; QEventResize = 14 { $e }; QEventCreate = 15 { $f }; QEventDestroy = 16 { $10 }; QEventShow = 17 { $11 }; QEventHide = 18 { $12 }; QEventClose = 19 { $13 }; QEventQuit = 20 { $14 }; QEventParentChange = 21 { $15 }; QEventParentAboutToChange = 131 { $83 }; QEventThreadChange = 22 { $16 }; QEventWindowActivate = 24 { $18 }; QEventWindowDeactivate = 25 { $19 }; QEventShowToParent = 26 { $1a }; QEventHideToParent = 27 { $1b }; QEventWheel = 31 { $1f }; QEventWindowTitleChange = 33 { $21 }; QEventWindowIconChange = 34 { $22 }; QEventApplicationWindowIconChange = 35 { $23 }; QEventApplicationFontChange = 36 { $24 }; QEventApplicationLayoutDirectionChange = 37 { $25 }; QEventApplicationPaletteChange = 38 { $26 }; QEventPaletteChange = 39 { $27 }; QEventClipboard = 40 { $28 }; QEventSpeech = 42 { $2a }; QEventMetaCall = 43 { $2b }; QEventSockAct = 50 { $32 }; QEventWinEventAct = 132 { $84 }; QEventDeferredDelete = 52 { $34 }; QEventDragEnter = 60 { $3c }; QEventDragMove = 61 { $3d }; QEventDragLeave = 62 { $3e }; QEventDrop = 63 { $3f }; QEventDragResponse = 64 { $40 }; QEventChildAdded = 68 { $44 }; QEventChildPolished = 69 { $45 }; QEventChildRemoved = 71 { $47 }; QEventShowWindowRequest = 73 { $49 }; QEventPolishRequest = 74 { $4a }; QEventPolish = 75 { $4b }; QEventLayoutRequest = 76 { $4c }; QEventUpdateRequest = 77 { $4d }; QEventUpdateLater = 78 { $4e }; QEventEmbeddingControl = 79 { $4f }; QEventActivateControl = 80 { $50 }; QEventDeactivateControl = 81 { $51 }; QEventContextMenu = 82 { $52 }; QEventInputMethod = 83 { $53 }; QEventAccessibilityPrepare = 86 { $56 }; QEventTabletMove = 87 { $57 }; QEventLocaleChange = 88 { $58 }; QEventLanguageChange = 89 { $59 }; QEventLayoutDirectionChange = 90 { $5a }; QEventStyle = 91 { $5b }; QEventTabletPress = 92 { $5c }; QEventTabletRelease = 93 { $5d }; QEventOkRequest = 94 { $5e }; QEventHelpRequest = 95 { $5f }; QEventIconDrag = 96 { $60 }; QEventFontChange = 97 { $61 }; QEventEnabledChange = 98 { $62 }; QEventActivationChange = 99 { $63 }; QEventStyleChange = 100 { $64 }; QEventIconTextChange = 101 { $65 }; QEventModifiedChange = 102 { $66 }; QEventMouseTrackingChange = 109 { $6d }; QEventWindowBlocked = 103 { $67 }; QEventWindowUnblocked = 104 { $68 }; QEventWindowStateChange = 105 { $69 }; QEventToolTip = 110 { $6e }; QEventWhatsThis = 111 { $6f }; QEventStatusTip = 112 { $70 }; QEventActionChanged = 113 { $71 }; QEventActionAdded = 114 { $72 }; QEventActionRemoved = 115 { $73 }; QEventFileOpen = 116 { $74 }; QEventShortcut = 117 { $75 }; QEventShortcutOverride = 51 { $33 }; QEventWhatsThisClicked = 118 { $76 }; QEventToolBarChange = 120 { $78 }; QEventApplicationActivate = 121 { $79 }; QEventApplicationActivated = 121 { $79 }; QEventApplicationDeactivate = 122 { $7a }; QEventApplicationDeactivated = 122 { $7a }; QEventQueryWhatsThis = 123 { $7b }; QEventEnterWhatsThisMode = 124 { $7c }; QEventLeaveWhatsThisMode = 125 { $7d }; QEventZOrderChange = 126 { $7e }; QEventHoverEnter = 127 { $7f }; QEventHoverLeave = 128 { $80 }; QEventHoverMove = 129 { $81 }; QEventAccessibilityHelp = 119 { $77 }; QEventAccessibilityDescription = 130 { $82 }; QEventAcceptDropsChange = 152 { $98 }; QEventMenubarUpdated = 153 { $99 }; QEventZeroTimerEvent = 154 { $9a }; QEventGraphicsSceneMouseMove = 155 { $9b }; QEventGraphicsSceneMousePress = 156 { $9c }; QEventGraphicsSceneMouseRelease = 157 { $9d }; QEventGraphicsSceneMouseDoubleClick = 158 { $9e }; QEventGraphicsSceneContextMenu = 159 { $9f }; QEventGraphicsSceneHoverEnter = 160 { $a0 }; QEventGraphicsSceneHoverMove = 161 { $a1 }; QEventGraphicsSceneHoverLeave = 162 { $a2 }; QEventGraphicsSceneHelp = 163 { $a3 }; QEventGraphicsSceneDragEnter = 164 { $a4 }; QEventGraphicsSceneDragMove = 165 { $a5 }; QEventGraphicsSceneDragLeave = 166 { $a6 }; QEventGraphicsSceneDrop = 167 { $a7 }; QEventGraphicsSceneWheel = 168 { $a8 }; QEventKeyboardLayoutChange = 169 { $a9 }; QEventDynamicPropertyChange = 170 { $aa }; QEventTabletEnterProximity = 171 { $ab }; QEventTabletLeaveProximity = 172 { $ac }; QEventNonClientAreaMouseMove = 173 { $ad }; QEventNonClientAreaMouseButtonPress = 174 { $ae }; QEventNonClientAreaMouseButtonRelease = 175 { $af }; QEventNonClientAreaMouseButtonDblClick = 176 { $b0 }; QEventMacSizeChange = 177 { $b1 }; QEventContentsRectChange = 178 { $b2 }; QEventMacGLWindowChange = 179 { $b3 }; QEventFutureCallOut = 180 { $b4 }; QEventGraphicsSceneResize = 181 { $b5 }; QEventGraphicsSceneMove = 182 { $b6 }; QEventCursorChange = 183 { $b7 }; QEventToolTipChange = 184 { $b8 }; QEventNetworkReplyUpdated = 185 { $b9 }; QEventGrabMouse = 186 { $ba }; QEventUngrabMouse = 187 { $bb }; QEventGrabKeyboard = 188 { $bc }; QEventUngrabKeyboard = 189 { $bd }; QEventCocoaRequestModal = 190 { $be }; QEventMacGLClearDrawable = 191 { $bf }; QEventUser = 1000 { $3e8 }; QEventMaxUser = 65535 { $ffff }; function QEvent_create(_type: QEventType): QEventH; cdecl; external Qt4PasLib name 'QEvent_create'; procedure QEvent_destroy(handle: QEventH); cdecl; external Qt4PasLib name 'QEvent_destroy'; function QEvent_type(handle: QEventH): QEventType; cdecl; external Qt4PasLib name 'QEvent_type'; function QEvent_spontaneous(handle: QEventH): Boolean; cdecl; external Qt4PasLib name 'QEvent_spontaneous'; procedure QEvent_setAccepted(handle: QEventH; accepted: Boolean); cdecl; external Qt4PasLib name 'QEvent_setAccepted'; function QEvent_isAccepted(handle: QEventH): Boolean; cdecl; external Qt4PasLib name 'QEvent_isAccepted'; procedure QEvent_accept(handle: QEventH); cdecl; external Qt4PasLib name 'QEvent_accept'; procedure QEvent_ignore(handle: QEventH); cdecl; external Qt4PasLib name 'QEvent_ignore'; function QEvent_registerEventType(hint: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QEvent_registerEventType'; function QTimerEvent_create(timerId: Integer): QTimerEventH; cdecl; external Qt4PasLib name 'QTimerEvent_create'; procedure QTimerEvent_destroy(handle: QTimerEventH); cdecl; external Qt4PasLib name 'QTimerEvent_destroy'; function QTimerEvent_timerId(handle: QTimerEventH): Integer; cdecl; external Qt4PasLib name 'QTimerEvent_timerId'; function QChildEvent_create(_type: QEventType; child: QObjectH): QChildEventH; cdecl; external Qt4PasLib name 'QChildEvent_create'; procedure QChildEvent_destroy(handle: QChildEventH); cdecl; external Qt4PasLib name 'QChildEvent_destroy'; function QChildEvent_child(handle: QChildEventH): QObjectH; cdecl; external Qt4PasLib name 'QChildEvent_child'; function QChildEvent_added(handle: QChildEventH): Boolean; cdecl; external Qt4PasLib name 'QChildEvent_added'; function QChildEvent_polished(handle: QChildEventH): Boolean; cdecl; external Qt4PasLib name 'QChildEvent_polished'; function QChildEvent_removed(handle: QChildEventH): Boolean; cdecl; external Qt4PasLib name 'QChildEvent_removed'; function QDynamicPropertyChangeEvent_create(name: QByteArrayH): QDynamicPropertyChangeEventH; cdecl; external Qt4PasLib name 'QDynamicPropertyChangeEvent_create'; procedure QDynamicPropertyChangeEvent_destroy(handle: QDynamicPropertyChangeEventH); cdecl; external Qt4PasLib name 'QDynamicPropertyChangeEvent_destroy'; procedure QDynamicPropertyChangeEvent_propertyName(handle: QDynamicPropertyChangeEventH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QDynamicPropertyChangeEvent_propertyName'; type QEventLoopProcessEventsFlag = cardinal; // QEventLoop::ProcessEventsFlag QEventLoopProcessEventsFlags = QEventLoopProcessEventsFlag; //QFlags<> (3) const QEventLoopAllEvents = $00; QEventLoopExcludeUserInputEvents = $01; QEventLoopExcludeSocketNotifiers = $02; QEventLoopWaitForMoreEvents = $04; QEventLoopX11ExcludeTimers = $08; QEventLoopEventLoopExec = $20; QEventLoopDialogExec = $40; function QEventLoop_create(parent: QObjectH = nil): QEventLoopH; cdecl; external Qt4PasLib name 'QEventLoop_create'; procedure QEventLoop_destroy(handle: QEventLoopH); cdecl; external Qt4PasLib name 'QEventLoop_destroy'; function QEventLoop_processEvents(handle: QEventLoopH; flags: QEventLoopProcessEventsFlags = QEventLoopAllEvents): Boolean; cdecl; external Qt4PasLib name 'QEventLoop_processEvents'; procedure QEventLoop_processEvents(handle: QEventLoopH; flags: QEventLoopProcessEventsFlags; maximumTime: Integer); cdecl; external Qt4PasLib name 'QEventLoop_processEvents2'; function QEventLoop_exec(handle: QEventLoopH; flags: QEventLoopProcessEventsFlags = QEventLoopAllEvents): Integer; cdecl; external Qt4PasLib name 'QEventLoop_exec'; procedure QEventLoop_exit(handle: QEventLoopH; returnCode: Integer = 0); cdecl; external Qt4PasLib name 'QEventLoop_exit'; function QEventLoop_isRunning(handle: QEventLoopH): Boolean; cdecl; external Qt4PasLib name 'QEventLoop_isRunning'; procedure QEventLoop_wakeUp(handle: QEventLoopH); cdecl; external Qt4PasLib name 'QEventLoop_wakeUp'; procedure QEventLoop_quit(handle: QEventLoopH); cdecl; external Qt4PasLib name 'QEventLoop_quit'; type QCoreApplicationEncoding = cardinal; // QCoreApplication::Encoding (4) const QCoreApplicationCodecForTr = 0 { $0 }; QCoreApplicationUnicodeUTF8 = 1 { $1 }; QCoreApplicationDefaultCodec = 0 { $0 }; function QCoreApplication_create(argc: PInteger; argv: PPAnsiChar): QCoreApplicationH; cdecl; external Qt4PasLib name 'QCoreApplication_create'; procedure QCoreApplication_destroy(handle: QCoreApplicationH); cdecl; external Qt4PasLib name 'QCoreApplication_destroy'; procedure QCoreApplication_arguments(retval: QStringListH); cdecl; external Qt4PasLib name 'QCoreApplication_arguments'; procedure QCoreApplication_setAttribute(attribute: QtApplicationAttribute; _on: Boolean = True); cdecl; external Qt4PasLib name 'QCoreApplication_setAttribute'; function QCoreApplication_testAttribute(attribute: QtApplicationAttribute): Boolean; cdecl; external Qt4PasLib name 'QCoreApplication_testAttribute'; procedure QCoreApplication_setOrganizationDomain(orgDomain: PWideString); cdecl; external Qt4PasLib name 'QCoreApplication_setOrganizationDomain'; procedure QCoreApplication_organizationDomain(retval: PWideString); cdecl; external Qt4PasLib name 'QCoreApplication_organizationDomain'; procedure QCoreApplication_setOrganizationName(orgName: PWideString); cdecl; external Qt4PasLib name 'QCoreApplication_setOrganizationName'; procedure QCoreApplication_organizationName(retval: PWideString); cdecl; external Qt4PasLib name 'QCoreApplication_organizationName'; procedure QCoreApplication_setApplicationName(application: PWideString); cdecl; external Qt4PasLib name 'QCoreApplication_setApplicationName'; procedure QCoreApplication_applicationName(retval: PWideString); cdecl; external Qt4PasLib name 'QCoreApplication_applicationName'; procedure QCoreApplication_setApplicationVersion(version: PWideString); cdecl; external Qt4PasLib name 'QCoreApplication_setApplicationVersion'; procedure QCoreApplication_applicationVersion(retval: PWideString); cdecl; external Qt4PasLib name 'QCoreApplication_applicationVersion'; function QCoreApplication_instance(): QCoreApplicationH; cdecl; external Qt4PasLib name 'QCoreApplication_instance'; function QCoreApplication_exec(): Integer; cdecl; external Qt4PasLib name 'QCoreApplication_exec'; procedure QCoreApplication_processEvents(flags: QEventLoopProcessEventsFlags = QEventLoopAllEvents); cdecl; external Qt4PasLib name 'QCoreApplication_processEvents'; procedure QCoreApplication_processEvents(flags: QEventLoopProcessEventsFlags; maxtime: Integer); cdecl; external Qt4PasLib name 'QCoreApplication_processEvents2'; procedure QCoreApplication_exit(retcode: Integer = 0); cdecl; external Qt4PasLib name 'QCoreApplication_exit'; function QCoreApplication_sendEvent(receiver: QObjectH; event: QEventH): Boolean; cdecl; external Qt4PasLib name 'QCoreApplication_sendEvent'; procedure QCoreApplication_postEvent(receiver: QObjectH; event: QEventH); cdecl; external Qt4PasLib name 'QCoreApplication_postEvent'; procedure QCoreApplication_postEvent(receiver: QObjectH; event: QEventH; priority: Integer); cdecl; external Qt4PasLib name 'QCoreApplication_postEvent2'; procedure QCoreApplication_sendPostedEvents(receiver: QObjectH; event_type: Integer); cdecl; external Qt4PasLib name 'QCoreApplication_sendPostedEvents'; procedure QCoreApplication_sendPostedEvents(); cdecl; external Qt4PasLib name 'QCoreApplication_sendPostedEvents2'; procedure QCoreApplication_removePostedEvents(receiver: QObjectH); cdecl; external Qt4PasLib name 'QCoreApplication_removePostedEvents'; procedure QCoreApplication_removePostedEvents(receiver: QObjectH; eventType: Integer); cdecl; external Qt4PasLib name 'QCoreApplication_removePostedEvents2'; function QCoreApplication_hasPendingEvents(): Boolean; cdecl; external Qt4PasLib name 'QCoreApplication_hasPendingEvents'; function QCoreApplication_notify(handle: QCoreApplicationH; AnonParam1: QObjectH; AnonParam2: QEventH): Boolean; cdecl; external Qt4PasLib name 'QCoreApplication_notify'; function QCoreApplication_startingUp(): Boolean; cdecl; external Qt4PasLib name 'QCoreApplication_startingUp'; function QCoreApplication_closingDown(): Boolean; cdecl; external Qt4PasLib name 'QCoreApplication_closingDown'; procedure QCoreApplication_applicationDirPath(retval: PWideString); cdecl; external Qt4PasLib name 'QCoreApplication_applicationDirPath'; procedure QCoreApplication_applicationFilePath(retval: PWideString); cdecl; external Qt4PasLib name 'QCoreApplication_applicationFilePath'; function QCoreApplication_applicationPid(): int64; cdecl; external Qt4PasLib name 'QCoreApplication_applicationPid'; procedure QCoreApplication_setLibraryPaths(AnonParam1: QStringListH); cdecl; external Qt4PasLib name 'QCoreApplication_setLibraryPaths'; procedure QCoreApplication_libraryPaths(retval: QStringListH); cdecl; external Qt4PasLib name 'QCoreApplication_libraryPaths'; procedure QCoreApplication_addLibraryPath(AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QCoreApplication_addLibraryPath'; procedure QCoreApplication_removeLibraryPath(AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QCoreApplication_removeLibraryPath'; procedure QCoreApplication_installTranslator(messageFile: QTranslatorH); cdecl; external Qt4PasLib name 'QCoreApplication_installTranslator'; procedure QCoreApplication_removeTranslator(messageFile: QTranslatorH); cdecl; external Qt4PasLib name 'QCoreApplication_removeTranslator'; procedure QCoreApplication_translate(retval: PWideString; context: PAnsiChar; key: PAnsiChar; disambiguation: PAnsiChar = nil; encoding: QCoreApplicationEncoding = QCoreApplicationCodecForTr); cdecl; external Qt4PasLib name 'QCoreApplication_translate'; procedure QCoreApplication_translate(retval: PWideString; context: PAnsiChar; key: PAnsiChar; disambiguation: PAnsiChar; encoding: QCoreApplicationEncoding; n: Integer); cdecl; external Qt4PasLib name 'QCoreApplication_translate2'; procedure QCoreApplication_flush(); cdecl; external Qt4PasLib name 'QCoreApplication_flush'; {$ifdef BINUX or DARWIN or QTOPIA } procedure QCoreApplication_watchUnixSignal(signal: Integer; watch: Boolean); cdecl; external Qt4PasLib name 'QCoreApplication_watchUnixSignal'; {$endif} function QCoreApplication_setEventFilter(handle: QCoreApplicationH; filter: QCoreApplicationEventFilter): QCoreApplicationEventFilter; cdecl; external Qt4PasLib name 'QCoreApplication_setEventFilter'; function QCoreApplication_filterEvent(handle: QCoreApplicationH; message: Pointer; result: PLong): Boolean; cdecl; external Qt4PasLib name 'QCoreApplication_filterEvent'; procedure QCoreApplication_quit(); cdecl; external Qt4PasLib name 'QCoreApplication_quit'; {$ifdef MSWINDOWS } function QCoreApplication_winEventFilter(handle: QCoreApplicationH; message: PMsg; result: PLong): Boolean; cdecl; external Qt4PasLib name 'QCoreApplication_winEventFilter'; {$endif} type QCoreApplication_aboutToQuit_Event = procedure () of object cdecl; QCoreApplication_unixSignal_Event = procedure (AnonParam1: Integer) of object cdecl; function QTranslator_create(parent: QObjectH = nil): QTranslatorH; cdecl; external Qt4PasLib name 'QTranslator_create'; procedure QTranslator_destroy(handle: QTranslatorH); cdecl; external Qt4PasLib name 'QTranslator_destroy'; procedure QTranslator_translate(handle: QTranslatorH; retval: PWideString; context: PAnsiChar; sourceText: PAnsiChar; disambiguation: PAnsiChar = nil); cdecl; external Qt4PasLib name 'QTranslator_translate'; procedure QTranslator_translate(handle: QTranslatorH; retval: PWideString; context: PAnsiChar; sourceText: PAnsiChar; disambiguation: PAnsiChar; n: Integer); cdecl; external Qt4PasLib name 'QTranslator_translate2'; function QTranslator_isEmpty(handle: QTranslatorH): Boolean; cdecl; external Qt4PasLib name 'QTranslator_isEmpty'; function QTranslator_load(handle: QTranslatorH; filename: PWideString; directory: PWideString = nil; search_delimiters: PWideString = nil; suffix: PWideString = nil): Boolean; cdecl; external Qt4PasLib name 'QTranslator_load'; function QTranslator_load(handle: QTranslatorH; data: PByte; len: Integer): Boolean; cdecl; external Qt4PasLib name 'QTranslator_load2'; function QTimer_create(parent: QObjectH = nil): QTimerH; cdecl; external Qt4PasLib name 'QTimer_create'; procedure QTimer_destroy(handle: QTimerH); cdecl; external Qt4PasLib name 'QTimer_destroy'; function QTimer_isActive(handle: QTimerH): Boolean; cdecl; external Qt4PasLib name 'QTimer_isActive'; function QTimer_timerId(handle: QTimerH): Integer; cdecl; external Qt4PasLib name 'QTimer_timerId'; procedure QTimer_setInterval(handle: QTimerH; msec: Integer); cdecl; external Qt4PasLib name 'QTimer_setInterval'; function QTimer_interval(handle: QTimerH): Integer; cdecl; external Qt4PasLib name 'QTimer_interval'; procedure QTimer_setSingleShot(handle: QTimerH; singleShot: Boolean); cdecl; external Qt4PasLib name 'QTimer_setSingleShot'; function QTimer_isSingleShot(handle: QTimerH): Boolean; cdecl; external Qt4PasLib name 'QTimer_isSingleShot'; procedure QTimer_singleShot(msec: Integer; receiver: QObjectH; member: PAnsiChar); cdecl; external Qt4PasLib name 'QTimer_singleShot'; procedure QTimer_start(handle: QTimerH; msec: Integer); cdecl; external Qt4PasLib name 'QTimer_start'; procedure QTimer_start(handle: QTimerH); cdecl; external Qt4PasLib name 'QTimer_start2'; procedure QTimer_stop(handle: QTimerH); cdecl; external Qt4PasLib name 'QTimer_stop'; type QTimer_timeout_Event = procedure () of object cdecl; type QVariantType = cardinal; // QVariant::Type (4) const QVariantInvalid = 0 { $0 }; QVariantBool = 1 { $1 }; QVariantInt = 2 { $2 }; QVariantUInt = 3 { $3 }; QVariantLongLong = 4 { $4 }; QVariantULongLong = 5 { $5 }; QVariantDouble = 6 { $6 }; QVariantChar = 7 { $7 }; QVariantMap = 8 { $8 }; QVariantList = 9 { $9 }; QVariantString = 10 { $a }; QVariantStringList = 11 { $b }; QVariantByteArray = 12 { $c }; QVariantBitArray = 13 { $d }; QVariantDate = 14 { $e }; QVariantTime = 15 { $f }; QVariantDateTime = 16 { $10 }; QVariantUrl = 17 { $11 }; QVariantLocale = 18 { $12 }; QVariantRect = 19 { $13 }; QVariantRectF = 20 { $14 }; QVariantSize = 21 { $15 }; QVariantSizeF = 22 { $16 }; QVariantLine = 23 { $17 }; QVariantLineF = 24 { $18 }; QVariantPoint = 25 { $19 }; QVariantPointF = 26 { $1a }; QVariantRegExp = 27 { $1b }; QVariantHash = 28 { $1c }; QVariantLastCoreType = 28 { $1c }; QVariantFont = 64 { $40 }; QVariantPixmap = 65 { $41 }; QVariantBrush = 66 { $42 }; QVariantColor = 67 { $43 }; QVariantPalette = 68 { $44 }; QVariantIcon = 69 { $45 }; QVariantImage = 70 { $46 }; QVariantPolygon = 71 { $47 }; QVariantRegion = 72 { $48 }; QVariantBitmap = 73 { $49 }; QVariantCursor = 74 { $4a }; QVariantSizePolicy = 75 { $4b }; QVariantKeySequence = 76 { $4c }; QVariantPen = 77 { $4d }; QVariantTextLength = 78 { $4e }; QVariantTextFormat = 79 { $4f }; QVariantMatrix = 80 { $50 }; QVariantTransform = 81 { $51 }; QVariantLastGuiType = 81 { $51 }; QVariantUserType = 127 { $7f }; QVariantLastType = 4294967295 { $ffffffff }; function QVariant_create(): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create'; procedure QVariant_destroy(handle: QVariantH); cdecl; external Qt4PasLib name 'QVariant_destroy'; function QVariant_create(typeOrUserType: Integer; copy: Pointer): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create3'; function QVariant_create(other: QVariantH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create4'; function QVariant_create(s: QDataStreamH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create5'; function QVariant_create(i: Integer): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create6'; function QVariant_create(ll: int64): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create8'; function QVariant_create(ull: qword): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create9'; function QVariant_create(b: Boolean): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create10'; function QVariant_create(d: Double): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create11'; function QVariant_create(str: PAnsiChar): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create12'; function QVariant_create(bytearray: QByteArrayH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create13'; function QVariant_create(bitarray: QBitArrayH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create14'; function QVariant_create(_string: PWideString): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create15'; function QVariant_create(_string: QLatin1StringH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create16'; function QVariant_create(stringlist: QStringListH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create17'; function QVariant_create(qchar: PWideChar): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create18'; function QVariant_create(date: QDateH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create19'; function QVariant_create(time: QTimeH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create20'; function QVariant_create(datetime: QDateTimeH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create21'; function QVariant_create(pt: PQtPointF): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create25'; function QVariant_create(line: QLineH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create26'; function QVariant_create(line: QLineFH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create27'; function QVariant_create(rect: PRect): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create28'; function QVariant_create(rect: QRectFH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create29'; function QVariant_create(url: QUrlH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create30'; function QVariant_create(locale: QLocaleH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create31'; function QVariant_create(regExp: QRegExpH): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create32'; function QVariant_create(color: QtGlobalColor): QVariantH; cdecl; external Qt4PasLib name 'QVariant_create33'; function QVariant_type(handle: QVariantH): QVariantType; cdecl; external Qt4PasLib name 'QVariant_type'; function QVariant_userType(handle: QVariantH): Integer; cdecl; external Qt4PasLib name 'QVariant_userType'; function QVariant_typeName(handle: QVariantH): PAnsiChar; cdecl; external Qt4PasLib name 'QVariant_typeName'; function QVariant_canConvert(handle: QVariantH; t: QVariantType): Boolean; cdecl; external Qt4PasLib name 'QVariant_canConvert'; function QVariant_convert(handle: QVariantH; t: QVariantType): Boolean; cdecl; external Qt4PasLib name 'QVariant_convert'; function QVariant_isValid(handle: QVariantH): Boolean; cdecl; external Qt4PasLib name 'QVariant_isValid'; function QVariant_isNull(handle: QVariantH): Boolean; cdecl; external Qt4PasLib name 'QVariant_isNull'; procedure QVariant_clear(handle: QVariantH); cdecl; external Qt4PasLib name 'QVariant_clear'; procedure QVariant_detach(handle: QVariantH); cdecl; external Qt4PasLib name 'QVariant_detach'; function QVariant_isDetached(handle: QVariantH): Boolean; cdecl; external Qt4PasLib name 'QVariant_isDetached'; function QVariant_toInt(handle: QVariantH; ok: PBoolean = nil): Integer; cdecl; external Qt4PasLib name 'QVariant_toInt'; function QVariant_toUInt(handle: QVariantH; ok: PBoolean = nil): LongWord; cdecl; external Qt4PasLib name 'QVariant_toUInt'; function QVariant_toLongLong(handle: QVariantH; ok: PBoolean = nil): int64; cdecl; external Qt4PasLib name 'QVariant_toLongLong'; function QVariant_toULongLong(handle: QVariantH; ok: PBoolean = nil): qword; cdecl; external Qt4PasLib name 'QVariant_toULongLong'; function QVariant_toBool(handle: QVariantH): Boolean; cdecl; external Qt4PasLib name 'QVariant_toBool'; function QVariant_toDouble(handle: QVariantH; ok: PBoolean = nil): Double; cdecl; external Qt4PasLib name 'QVariant_toDouble'; procedure QVariant_toByteArray(handle: QVariantH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QVariant_toByteArray'; procedure QVariant_toBitArray(handle: QVariantH; retval: QBitArrayH); cdecl; external Qt4PasLib name 'QVariant_toBitArray'; procedure QVariant_toString(handle: QVariantH; retval: PWideString); cdecl; external Qt4PasLib name 'QVariant_toString'; procedure QVariant_toStringList(handle: QVariantH; retval: QStringListH); cdecl; external Qt4PasLib name 'QVariant_toStringList'; procedure QVariant_toChar(handle: QVariantH; retval: PWideChar); cdecl; external Qt4PasLib name 'QVariant_toChar'; procedure QVariant_toDate(handle: QVariantH; retval: QDateH); cdecl; external Qt4PasLib name 'QVariant_toDate'; procedure QVariant_toTime(handle: QVariantH; retval: QTimeH); cdecl; external Qt4PasLib name 'QVariant_toTime'; procedure QVariant_toDateTime(handle: QVariantH; retval: QDateTimeH); cdecl; external Qt4PasLib name 'QVariant_toDateTime'; procedure QVariant_toPoint(handle: QVariantH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QVariant_toPoint'; procedure QVariant_toPointF(handle: QVariantH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QVariant_toPointF'; procedure QVariant_toRect(handle: QVariantH; retval: PRect); cdecl; external Qt4PasLib name 'QVariant_toRect'; procedure QVariant_toSize(handle: QVariantH; retval: PSize); cdecl; external Qt4PasLib name 'QVariant_toSize'; procedure QVariant_toSizeF(handle: QVariantH; retval: QSizeFH); cdecl; external Qt4PasLib name 'QVariant_toSizeF'; procedure QVariant_toLine(handle: QVariantH; retval: QLineH); cdecl; external Qt4PasLib name 'QVariant_toLine'; procedure QVariant_toLineF(handle: QVariantH; retval: QLineFH); cdecl; external Qt4PasLib name 'QVariant_toLineF'; procedure QVariant_toRectF(handle: QVariantH; retval: QRectFH); cdecl; external Qt4PasLib name 'QVariant_toRectF'; procedure QVariant_toUrl(handle: QVariantH; retval: QUrlH); cdecl; external Qt4PasLib name 'QVariant_toUrl'; procedure QVariant_toLocale(handle: QVariantH; retval: QLocaleH); cdecl; external Qt4PasLib name 'QVariant_toLocale'; procedure QVariant_toRegExp(handle: QVariantH; retval: QRegExpH); cdecl; external Qt4PasLib name 'QVariant_toRegExp'; procedure QVariant_load(handle: QVariantH; ds: QDataStreamH); cdecl; external Qt4PasLib name 'QVariant_load'; procedure QVariant_save(handle: QVariantH; ds: QDataStreamH); cdecl; external Qt4PasLib name 'QVariant_save'; function QVariant_typeToName(_type: QVariantType): PAnsiChar; cdecl; external Qt4PasLib name 'QVariant_typeToName'; function QVariant_nameToType(name: PAnsiChar): QVariantType; cdecl; external Qt4PasLib name 'QVariant_nameToType'; function QVariant_constData(handle: QVariantH): Pointer; cdecl; external Qt4PasLib name 'QVariant_constData'; type QMetaMethodAccess = ( // QMetaMethod::Access (1) QMetaMethodPrivate, QMetaMethodProtected, QMetaMethodPublic ); QMetaMethodMethodType = ( // QMetaMethod::MethodType (1) QMetaMethodMethod, QMetaMethodSignal, QMetaMethodSlot, QMetaMethodConstructor ); QMetaMethodAttributes = ( //QMetaMethod::Attributes (2) QMetaMethodCompatibility = $1, QMetaMethodCloned = $2, QMetaMethodScriptable = $4 ); function QMetaMethod_create(): QMetaMethodH; cdecl; external Qt4PasLib name 'QMetaMethod_create'; procedure QMetaMethod_destroy(handle: QMetaMethodH); cdecl; external Qt4PasLib name 'QMetaMethod_destroy'; function QMetaMethod_signature(handle: QMetaMethodH): PAnsiChar; cdecl; external Qt4PasLib name 'QMetaMethod_signature'; function QMetaMethod_typeName(handle: QMetaMethodH): PAnsiChar; cdecl; external Qt4PasLib name 'QMetaMethod_typeName'; function QMetaMethod_tag(handle: QMetaMethodH): PAnsiChar; cdecl; external Qt4PasLib name 'QMetaMethod_tag'; function QMetaMethod_access(handle: QMetaMethodH): QMetaMethodAccess; cdecl; external Qt4PasLib name 'QMetaMethod_access'; function QMetaMethod_methodType(handle: QMetaMethodH): QMetaMethodMethodType; cdecl; external Qt4PasLib name 'QMetaMethod_methodType'; function QMetaMethod_attributes(handle: QMetaMethodH): Integer; cdecl; external Qt4PasLib name 'QMetaMethod_attributes'; function QMetaMethod_enclosingMetaObject(handle: QMetaMethodH): QMetaObjectH; cdecl; external Qt4PasLib name 'QMetaMethod_enclosingMetaObject'; function QMetaEnum_create(): QMetaEnumH; cdecl; external Qt4PasLib name 'QMetaEnum_create'; procedure QMetaEnum_destroy(handle: QMetaEnumH); cdecl; external Qt4PasLib name 'QMetaEnum_destroy'; function QMetaEnum_name(handle: QMetaEnumH): PAnsiChar; cdecl; external Qt4PasLib name 'QMetaEnum_name'; function QMetaEnum_isFlag(handle: QMetaEnumH): Boolean; cdecl; external Qt4PasLib name 'QMetaEnum_isFlag'; function QMetaEnum_keyCount(handle: QMetaEnumH): Integer; cdecl; external Qt4PasLib name 'QMetaEnum_keyCount'; function QMetaEnum_key(handle: QMetaEnumH; index: Integer): PAnsiChar; cdecl; external Qt4PasLib name 'QMetaEnum_key'; function QMetaEnum_value(handle: QMetaEnumH; index: Integer): Integer; cdecl; external Qt4PasLib name 'QMetaEnum_value'; function QMetaEnum_scope(handle: QMetaEnumH): PAnsiChar; cdecl; external Qt4PasLib name 'QMetaEnum_scope'; function QMetaEnum_keyToValue(handle: QMetaEnumH; key: PAnsiChar): Integer; cdecl; external Qt4PasLib name 'QMetaEnum_keyToValue'; function QMetaEnum_valueToKey(handle: QMetaEnumH; value: Integer): PAnsiChar; cdecl; external Qt4PasLib name 'QMetaEnum_valueToKey'; function QMetaEnum_keysToValue(handle: QMetaEnumH; keys: PAnsiChar): Integer; cdecl; external Qt4PasLib name 'QMetaEnum_keysToValue'; procedure QMetaEnum_valueToKeys(handle: QMetaEnumH; retval: QByteArrayH; value: Integer); cdecl; external Qt4PasLib name 'QMetaEnum_valueToKeys'; function QMetaEnum_enclosingMetaObject(handle: QMetaEnumH): QMetaObjectH; cdecl; external Qt4PasLib name 'QMetaEnum_enclosingMetaObject'; function QMetaEnum_isValid(handle: QMetaEnumH): Boolean; cdecl; external Qt4PasLib name 'QMetaEnum_isValid'; function QMetaProperty_create(): QMetaPropertyH; cdecl; external Qt4PasLib name 'QMetaProperty_create'; procedure QMetaProperty_destroy(handle: QMetaPropertyH); cdecl; external Qt4PasLib name 'QMetaProperty_destroy'; function QMetaProperty_name(handle: QMetaPropertyH): PAnsiChar; cdecl; external Qt4PasLib name 'QMetaProperty_name'; function QMetaProperty_typeName(handle: QMetaPropertyH): PAnsiChar; cdecl; external Qt4PasLib name 'QMetaProperty_typeName'; function QMetaProperty_type(handle: QMetaPropertyH): QVariantType; cdecl; external Qt4PasLib name 'QMetaProperty_type'; function QMetaProperty_userType(handle: QMetaPropertyH): Integer; cdecl; external Qt4PasLib name 'QMetaProperty_userType'; function QMetaProperty_isReadable(handle: QMetaPropertyH): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_isReadable'; function QMetaProperty_isWritable(handle: QMetaPropertyH): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_isWritable'; function QMetaProperty_isResettable(handle: QMetaPropertyH): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_isResettable'; function QMetaProperty_isDesignable(handle: QMetaPropertyH; obj: QObjectH = nil): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_isDesignable'; function QMetaProperty_isScriptable(handle: QMetaPropertyH; obj: QObjectH = nil): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_isScriptable'; function QMetaProperty_isStored(handle: QMetaPropertyH; obj: QObjectH = nil): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_isStored'; function QMetaProperty_isEditable(handle: QMetaPropertyH; obj: QObjectH = nil): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_isEditable'; function QMetaProperty_isUser(handle: QMetaPropertyH; obj: QObjectH = nil): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_isUser'; function QMetaProperty_isFlagType(handle: QMetaPropertyH): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_isFlagType'; function QMetaProperty_isEnumType(handle: QMetaPropertyH): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_isEnumType'; procedure QMetaProperty_enumerator(handle: QMetaPropertyH; retval: QMetaEnumH); cdecl; external Qt4PasLib name 'QMetaProperty_enumerator'; function QMetaProperty_hasNotifySignal(handle: QMetaPropertyH): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_hasNotifySignal'; procedure QMetaProperty_notifySignal(handle: QMetaPropertyH; retval: QMetaMethodH); cdecl; external Qt4PasLib name 'QMetaProperty_notifySignal'; function QMetaProperty_notifySignalIndex(handle: QMetaPropertyH): Integer; cdecl; external Qt4PasLib name 'QMetaProperty_notifySignalIndex'; procedure QMetaProperty_read(handle: QMetaPropertyH; retval: QVariantH; obj: QObjectH); cdecl; external Qt4PasLib name 'QMetaProperty_read'; function QMetaProperty_write(handle: QMetaPropertyH; obj: QObjectH; value: QVariantH): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_write'; function QMetaProperty_reset(handle: QMetaPropertyH; obj: QObjectH): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_reset'; function QMetaProperty_hasStdCppSet(handle: QMetaPropertyH): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_hasStdCppSet'; function QMetaProperty_isValid(handle: QMetaPropertyH): Boolean; cdecl; external Qt4PasLib name 'QMetaProperty_isValid'; function QMetaProperty_enclosingMetaObject(handle: QMetaPropertyH): QMetaObjectH; cdecl; external Qt4PasLib name 'QMetaProperty_enclosingMetaObject'; function QMetaClassInfo_create(): QMetaClassInfoH; cdecl; external Qt4PasLib name 'QMetaClassInfo_create'; procedure QMetaClassInfo_destroy(handle: QMetaClassInfoH); cdecl; external Qt4PasLib name 'QMetaClassInfo_destroy'; function QMetaClassInfo_name(handle: QMetaClassInfoH): PAnsiChar; cdecl; external Qt4PasLib name 'QMetaClassInfo_name'; function QMetaClassInfo_value(handle: QMetaClassInfoH): PAnsiChar; cdecl; external Qt4PasLib name 'QMetaClassInfo_value'; function QMetaClassInfo_enclosingMetaObject(handle: QMetaClassInfoH): QMetaObjectH; cdecl; external Qt4PasLib name 'QMetaClassInfo_enclosingMetaObject'; function QModelIndex_create(): QModelIndexH; cdecl; external Qt4PasLib name 'QModelIndex_create'; procedure QModelIndex_destroy(handle: QModelIndexH); cdecl; external Qt4PasLib name 'QModelIndex_destroy'; function QModelIndex_create(other: QModelIndexH): QModelIndexH; cdecl; external Qt4PasLib name 'QModelIndex_create2'; function QModelIndex_row(handle: QModelIndexH): Integer; cdecl; external Qt4PasLib name 'QModelIndex_row'; function QModelIndex_column(handle: QModelIndexH): Integer; cdecl; external Qt4PasLib name 'QModelIndex_column'; function QModelIndex_internalPointer(handle: QModelIndexH): Pointer; cdecl; external Qt4PasLib name 'QModelIndex_internalPointer'; function QModelIndex_internalId(handle: QModelIndexH): int64; cdecl; external Qt4PasLib name 'QModelIndex_internalId'; procedure QModelIndex_parent(handle: QModelIndexH; retval: QModelIndexH); cdecl; external Qt4PasLib name 'QModelIndex_parent'; procedure QModelIndex_sibling(handle: QModelIndexH; retval: QModelIndexH; row: Integer; column: Integer); cdecl; external Qt4PasLib name 'QModelIndex_sibling'; procedure QModelIndex_child(handle: QModelIndexH; retval: QModelIndexH; row: Integer; column: Integer); cdecl; external Qt4PasLib name 'QModelIndex_child'; procedure QModelIndex_data(handle: QModelIndexH; retval: QVariantH; role: QtItemDataRole = QtDisplayRole); cdecl; external Qt4PasLib name 'QModelIndex_data'; function QModelIndex_flags(handle: QModelIndexH): QtItemFlags; cdecl; external Qt4PasLib name 'QModelIndex_flags'; function QModelIndex_model(handle: QModelIndexH): QAbstractItemModelH; cdecl; external Qt4PasLib name 'QModelIndex_model'; function QModelIndex_isValid(handle: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QModelIndex_isValid'; function QPersistentModelIndex_create(): QPersistentModelIndexH; cdecl; external Qt4PasLib name 'QPersistentModelIndex_create'; procedure QPersistentModelIndex_destroy(handle: QPersistentModelIndexH); cdecl; external Qt4PasLib name 'QPersistentModelIndex_destroy'; function QPersistentModelIndex_create(index: QModelIndexH): QPersistentModelIndexH; cdecl; external Qt4PasLib name 'QPersistentModelIndex_create2'; function QPersistentModelIndex_create(other: QPersistentModelIndexH): QPersistentModelIndexH; cdecl; external Qt4PasLib name 'QPersistentModelIndex_create3'; function QPersistentModelIndex_row(handle: QPersistentModelIndexH): Integer; cdecl; external Qt4PasLib name 'QPersistentModelIndex_row'; function QPersistentModelIndex_column(handle: QPersistentModelIndexH): Integer; cdecl; external Qt4PasLib name 'QPersistentModelIndex_column'; function QPersistentModelIndex_internalPointer(handle: QPersistentModelIndexH): Pointer; cdecl; external Qt4PasLib name 'QPersistentModelIndex_internalPointer'; function QPersistentModelIndex_internalId(handle: QPersistentModelIndexH): int64; cdecl; external Qt4PasLib name 'QPersistentModelIndex_internalId'; procedure QPersistentModelIndex_parent(handle: QPersistentModelIndexH; retval: QModelIndexH); cdecl; external Qt4PasLib name 'QPersistentModelIndex_parent'; procedure QPersistentModelIndex_sibling(handle: QPersistentModelIndexH; retval: QModelIndexH; row: Integer; column: Integer); cdecl; external Qt4PasLib name 'QPersistentModelIndex_sibling'; procedure QPersistentModelIndex_child(handle: QPersistentModelIndexH; retval: QModelIndexH; row: Integer; column: Integer); cdecl; external Qt4PasLib name 'QPersistentModelIndex_child'; procedure QPersistentModelIndex_data(handle: QPersistentModelIndexH; retval: QVariantH; role: QtItemDataRole = QtDisplayRole); cdecl; external Qt4PasLib name 'QPersistentModelIndex_data'; function QPersistentModelIndex_flags(handle: QPersistentModelIndexH): QtItemFlags; cdecl; external Qt4PasLib name 'QPersistentModelIndex_flags'; function QPersistentModelIndex_model(handle: QPersistentModelIndexH): QAbstractItemModelH; cdecl; external Qt4PasLib name 'QPersistentModelIndex_model'; function QPersistentModelIndex_isValid(handle: QPersistentModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QPersistentModelIndex_isValid'; function QAbstractItemModel_hasIndex(handle: QAbstractItemModelH; row: Integer; column: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_hasIndex'; procedure QAbstractItemModel_index(handle: QAbstractItemModelH; retval: QModelIndexH; row: Integer; column: Integer; parent: QModelIndexH = nil); cdecl; external Qt4PasLib name 'QAbstractItemModel_index'; procedure QAbstractItemModel_parent(handle: QAbstractItemModelH; retval: QModelIndexH; child: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemModel_parent'; procedure QAbstractItemModel_sibling(handle: QAbstractItemModelH; retval: QModelIndexH; row: Integer; column: Integer; idx: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemModel_sibling'; function QAbstractItemModel_rowCount(handle: QAbstractItemModelH; parent: QModelIndexH = nil): Integer; cdecl; external Qt4PasLib name 'QAbstractItemModel_rowCount'; function QAbstractItemModel_columnCount(handle: QAbstractItemModelH; parent: QModelIndexH = nil): Integer; cdecl; external Qt4PasLib name 'QAbstractItemModel_columnCount'; function QAbstractItemModel_hasChildren(handle: QAbstractItemModelH; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_hasChildren'; procedure QAbstractItemModel_data(handle: QAbstractItemModelH; retval: QVariantH; index: QModelIndexH; role: QtItemDataRole = QtDisplayRole); cdecl; external Qt4PasLib name 'QAbstractItemModel_data'; function QAbstractItemModel_setData(handle: QAbstractItemModelH; index: QModelIndexH; value: QVariantH; role: QtItemDataRole = QtEditRole): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_setData'; procedure QAbstractItemModel_headerData(handle: QAbstractItemModelH; retval: QVariantH; section: Integer; orientation: QtOrientation; role: QtItemDataRole = QtDisplayRole); cdecl; external Qt4PasLib name 'QAbstractItemModel_headerData'; function QAbstractItemModel_setHeaderData(handle: QAbstractItemModelH; section: Integer; orientation: QtOrientation; value: QVariantH; role: QtItemDataRole = QtEditRole): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_setHeaderData'; procedure QAbstractItemModel_mimeTypes(handle: QAbstractItemModelH; retval: QStringListH); cdecl; external Qt4PasLib name 'QAbstractItemModel_mimeTypes'; function QAbstractItemModel_dropMimeData(handle: QAbstractItemModelH; data: QMimeDataH; action: QtDropAction; row: Integer; column: Integer; parent: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_dropMimeData'; function QAbstractItemModel_supportedDropActions(handle: QAbstractItemModelH): QtDropActions; cdecl; external Qt4PasLib name 'QAbstractItemModel_supportedDropActions'; function QAbstractItemModel_supportedDragActions(handle: QAbstractItemModelH): QtDropActions; cdecl; external Qt4PasLib name 'QAbstractItemModel_supportedDragActions'; procedure QAbstractItemModel_setSupportedDragActions(handle: QAbstractItemModelH; AnonParam1: QtDropActions); cdecl; external Qt4PasLib name 'QAbstractItemModel_setSupportedDragActions'; function QAbstractItemModel_insertRows(handle: QAbstractItemModelH; row: Integer; count: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_insertRows'; function QAbstractItemModel_insertColumns(handle: QAbstractItemModelH; column: Integer; count: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_insertColumns'; function QAbstractItemModel_removeRows(handle: QAbstractItemModelH; row: Integer; count: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_removeRows'; function QAbstractItemModel_removeColumns(handle: QAbstractItemModelH; column: Integer; count: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_removeColumns'; function QAbstractItemModel_insertRow(handle: QAbstractItemModelH; row: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_insertRow'; function QAbstractItemModel_insertColumn(handle: QAbstractItemModelH; column: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_insertColumn'; function QAbstractItemModel_removeRow(handle: QAbstractItemModelH; row: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_removeRow'; function QAbstractItemModel_removeColumn(handle: QAbstractItemModelH; column: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_removeColumn'; procedure QAbstractItemModel_fetchMore(handle: QAbstractItemModelH; parent: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemModel_fetchMore'; function QAbstractItemModel_canFetchMore(handle: QAbstractItemModelH; parent: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_canFetchMore'; function QAbstractItemModel_flags(handle: QAbstractItemModelH; index: QModelIndexH): QtItemFlags; cdecl; external Qt4PasLib name 'QAbstractItemModel_flags'; procedure QAbstractItemModel_sort(handle: QAbstractItemModelH; column: Integer; order: QtSortOrder = QtAscendingOrder); cdecl; external Qt4PasLib name 'QAbstractItemModel_sort'; procedure QAbstractItemModel_buddy(handle: QAbstractItemModelH; retval: QModelIndexH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemModel_buddy'; procedure QAbstractItemModel_match(handle: QAbstractItemModelH; retval: PPtrIntArray; start: QModelIndexH; role: Integer; value: QVariantH; hits: Integer; flags: QtMatchFlags); cdecl; external Qt4PasLib name 'QAbstractItemModel_match'; procedure QAbstractItemModel_span(handle: QAbstractItemModelH; retval: PSize; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemModel_span'; function QAbstractItemModel_submit(handle: QAbstractItemModelH): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemModel_submit'; procedure QAbstractItemModel_revert(handle: QAbstractItemModelH); cdecl; external Qt4PasLib name 'QAbstractItemModel_revert'; procedure QAbstractTableModel_index(handle: QAbstractTableModelH; retval: QModelIndexH; row: Integer; column: Integer; parent: QModelIndexH = nil); cdecl; external Qt4PasLib name 'QAbstractTableModel_index'; function QAbstractTableModel_dropMimeData(handle: QAbstractTableModelH; data: QMimeDataH; action: QtDropAction; row: Integer; column: Integer; parent: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QAbstractTableModel_dropMimeData'; procedure QAbstractListModel_index(handle: QAbstractListModelH; retval: QModelIndexH; row: Integer; column: Integer = 0; parent: QModelIndexH = nil); cdecl; external Qt4PasLib name 'QAbstractListModel_index'; function QAbstractListModel_dropMimeData(handle: QAbstractListModelH; data: QMimeDataH; action: QtDropAction; row: Integer; column: Integer; parent: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QAbstractListModel_dropMimeData'; type QAbstractItemModel_dataChanged_Event = procedure (topLeft: QModelIndexH; bottomRight: QModelIndexH) of object cdecl; QAbstractItemModel_headerDataChanged_Event = procedure (orientation: QtOrientation; first: Integer; last: Integer) of object cdecl; QAbstractItemModel_layoutChanged_Event = procedure () of object cdecl; QAbstractItemModel_layoutAboutToBeChanged_Event = procedure () of object cdecl; QAbstractItemModel_rowsAboutToBeInserted_Event = procedure (parent: QModelIndexH; first: Integer; last: Integer) of object cdecl; QAbstractItemModel_rowsInserted_Event = procedure (parent: QModelIndexH; first: Integer; last: Integer) of object cdecl; QAbstractItemModel_rowsAboutToBeRemoved_Event = procedure (parent: QModelIndexH; first: Integer; last: Integer) of object cdecl; QAbstractItemModel_rowsRemoved_Event = procedure (parent: QModelIndexH; first: Integer; last: Integer) of object cdecl; QAbstractItemModel_columnsAboutToBeInserted_Event = procedure (parent: QModelIndexH; first: Integer; last: Integer) of object cdecl; QAbstractItemModel_columnsInserted_Event = procedure (parent: QModelIndexH; first: Integer; last: Integer) of object cdecl; QAbstractItemModel_columnsAboutToBeRemoved_Event = procedure (parent: QModelIndexH; first: Integer; last: Integer) of object cdecl; QAbstractItemModel_columnsRemoved_Event = procedure (parent: QModelIndexH; first: Integer; last: Integer) of object cdecl; QAbstractItemModel_modelAboutToBeReset_Event = procedure () of object cdecl; QAbstractItemModel_modelReset_Event = procedure () of object cdecl; function QAbstractEventDispatcher_instance(thread: QThreadH = nil): QAbstractEventDispatcherH; cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_instance'; function QAbstractEventDispatcher_processEvents(handle: QAbstractEventDispatcherH; flags: QEventLoopProcessEventsFlags): Boolean; cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_processEvents'; function QAbstractEventDispatcher_hasPendingEvents(handle: QAbstractEventDispatcherH): Boolean; cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_hasPendingEvents'; procedure QAbstractEventDispatcher_registerSocketNotifier(handle: QAbstractEventDispatcherH; notifier: QSocketNotifierH); cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_registerSocketNotifier'; procedure QAbstractEventDispatcher_unregisterSocketNotifier(handle: QAbstractEventDispatcherH; notifier: QSocketNotifierH); cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_unregisterSocketNotifier'; function QAbstractEventDispatcher_registerTimer(handle: QAbstractEventDispatcherH; interval: Integer; _object: QObjectH): Integer; cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_registerTimer'; procedure QAbstractEventDispatcher_registerTimer(handle: QAbstractEventDispatcherH; timerId: Integer; interval: Integer; _object: QObjectH); cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_registerTimer2'; function QAbstractEventDispatcher_unregisterTimer(handle: QAbstractEventDispatcherH; timerId: Integer): Boolean; cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_unregisterTimer'; function QAbstractEventDispatcher_unregisterTimers(handle: QAbstractEventDispatcherH; _object: QObjectH): Boolean; cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_unregisterTimers'; procedure QAbstractEventDispatcher_wakeUp(handle: QAbstractEventDispatcherH); cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_wakeUp'; procedure QAbstractEventDispatcher_interrupt(handle: QAbstractEventDispatcherH); cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_interrupt'; procedure QAbstractEventDispatcher_flush(handle: QAbstractEventDispatcherH); cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_flush'; procedure QAbstractEventDispatcher_startingUp(handle: QAbstractEventDispatcherH); cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_startingUp'; procedure QAbstractEventDispatcher_closingDown(handle: QAbstractEventDispatcherH); cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_closingDown'; function QAbstractEventDispatcher_setEventFilter(handle: QAbstractEventDispatcherH; filter: QAbstractEventDispatcherEventFilter): QAbstractEventDispatcherEventFilter; cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_setEventFilter'; function QAbstractEventDispatcher_filterEvent(handle: QAbstractEventDispatcherH; message: Pointer): Boolean; cdecl; external Qt4PasLib name 'QAbstractEventDispatcher_filterEvent'; function QMimeData_create(): QMimeDataH; cdecl; external Qt4PasLib name 'QMimeData_create'; procedure QMimeData_destroy(handle: QMimeDataH); cdecl; external Qt4PasLib name 'QMimeData_destroy'; function QMimeData_hasUrls(handle: QMimeDataH): Boolean; cdecl; external Qt4PasLib name 'QMimeData_hasUrls'; procedure QMimeData_text(handle: QMimeDataH; retval: PWideString); cdecl; external Qt4PasLib name 'QMimeData_text'; procedure QMimeData_setText(handle: QMimeDataH; text: PWideString); cdecl; external Qt4PasLib name 'QMimeData_setText'; function QMimeData_hasText(handle: QMimeDataH): Boolean; cdecl; external Qt4PasLib name 'QMimeData_hasText'; procedure QMimeData_html(handle: QMimeDataH; retval: PWideString); cdecl; external Qt4PasLib name 'QMimeData_html'; procedure QMimeData_setHtml(handle: QMimeDataH; html: PWideString); cdecl; external Qt4PasLib name 'QMimeData_setHtml'; function QMimeData_hasHtml(handle: QMimeDataH): Boolean; cdecl; external Qt4PasLib name 'QMimeData_hasHtml'; procedure QMimeData_imageData(handle: QMimeDataH; retval: QVariantH); cdecl; external Qt4PasLib name 'QMimeData_imageData'; procedure QMimeData_setImageData(handle: QMimeDataH; image: QVariantH); cdecl; external Qt4PasLib name 'QMimeData_setImageData'; function QMimeData_hasImage(handle: QMimeDataH): Boolean; cdecl; external Qt4PasLib name 'QMimeData_hasImage'; procedure QMimeData_colorData(handle: QMimeDataH; retval: QVariantH); cdecl; external Qt4PasLib name 'QMimeData_colorData'; procedure QMimeData_setColorData(handle: QMimeDataH; color: QVariantH); cdecl; external Qt4PasLib name 'QMimeData_setColorData'; function QMimeData_hasColor(handle: QMimeDataH): Boolean; cdecl; external Qt4PasLib name 'QMimeData_hasColor'; procedure QMimeData_data(handle: QMimeDataH; retval: QByteArrayH; mimetype: PWideString); cdecl; external Qt4PasLib name 'QMimeData_data'; procedure QMimeData_setData(handle: QMimeDataH; mimetype: PWideString; data: QByteArrayH); cdecl; external Qt4PasLib name 'QMimeData_setData'; procedure QMimeData_removeFormat(handle: QMimeDataH; mimetype: PWideString); cdecl; external Qt4PasLib name 'QMimeData_removeFormat'; function QMimeData_hasFormat(handle: QMimeDataH; mimetype: PWideString): Boolean; cdecl; external Qt4PasLib name 'QMimeData_hasFormat'; procedure QMimeData_formats(handle: QMimeDataH; retval: QStringListH); cdecl; external Qt4PasLib name 'QMimeData_formats'; procedure QMimeData_clear(handle: QMimeDataH); cdecl; external Qt4PasLib name 'QMimeData_clear'; type QSocketNotifierType = ( // QSocketNotifier::Type (1) QSocketNotifierRead, QSocketNotifierWrite, QSocketNotifierException ); function QSocketNotifier_create(socket: Integer; AnonParam2: QSocketNotifierType; parent: QObjectH = nil): QSocketNotifierH; cdecl; external Qt4PasLib name 'QSocketNotifier_create'; procedure QSocketNotifier_destroy(handle: QSocketNotifierH); cdecl; external Qt4PasLib name 'QSocketNotifier_destroy'; function QSocketNotifier_socket(handle: QSocketNotifierH): Integer; cdecl; external Qt4PasLib name 'QSocketNotifier_socket'; function QSocketNotifier_type(handle: QSocketNotifierH): QSocketNotifierType; cdecl; external Qt4PasLib name 'QSocketNotifier_type'; function QSocketNotifier_isEnabled(handle: QSocketNotifierH): Boolean; cdecl; external Qt4PasLib name 'QSocketNotifier_isEnabled'; procedure QSocketNotifier_setEnabled(handle: QSocketNotifierH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QSocketNotifier_setEnabled'; type QSocketNotifier_activated_Event = procedure (socket: Integer) of object cdecl; type QThreadPriority = ( // QThread::Priority (1) QThreadIdlePriority, QThreadLowestPriority, QThreadLowPriority, QThreadNormalPriority, QThreadHighPriority, QThreadHighestPriority, QThreadTimeCriticalPriority, QThreadInheritPriority ); function QThread_currentThreadId(): QtHANDLE; cdecl; external Qt4PasLib name 'QThread_currentThreadId'; function QThread_currentThread(): QThreadH; cdecl; external Qt4PasLib name 'QThread_currentThread'; function QThread_idealThreadCount(): Integer; cdecl; external Qt4PasLib name 'QThread_idealThreadCount'; procedure QThread_yieldCurrentThread(); cdecl; external Qt4PasLib name 'QThread_yieldCurrentThread'; function QThread_create(parent: QObjectH = nil): QThreadH; cdecl; external Qt4PasLib name 'QThread_create'; procedure QThread_destroy(handle: QThreadH); cdecl; external Qt4PasLib name 'QThread_destroy'; procedure QThread_setPriority(handle: QThreadH; priority: QThreadPriority); cdecl; external Qt4PasLib name 'QThread_setPriority'; function QThread_priority(handle: QThreadH): QThreadPriority; cdecl; external Qt4PasLib name 'QThread_priority'; function QThread_isFinished(handle: QThreadH): Boolean; cdecl; external Qt4PasLib name 'QThread_isFinished'; function QThread_isRunning(handle: QThreadH): Boolean; cdecl; external Qt4PasLib name 'QThread_isRunning'; procedure QThread_setStackSize(handle: QThreadH; stackSize: LongWord); cdecl; external Qt4PasLib name 'QThread_setStackSize'; function QThread_stackSize(handle: QThreadH): LongWord; cdecl; external Qt4PasLib name 'QThread_stackSize'; procedure QThread_exit(handle: QThreadH; retcode: Integer = 0); cdecl; external Qt4PasLib name 'QThread_exit'; procedure QThread_start(handle: QThreadH; AnonParam1: QThreadPriority = QThreadInheritPriority); cdecl; external Qt4PasLib name 'QThread_start'; procedure QThread_terminate(handle: QThreadH); cdecl; external Qt4PasLib name 'QThread_terminate'; procedure QThread_quit(handle: QThreadH); cdecl; external Qt4PasLib name 'QThread_quit'; function QThread_wait(handle: QThreadH; time: Longword): Boolean; cdecl; external Qt4PasLib name 'QThread_wait'; type QThread_started_Event = procedure () of object cdecl; QThread_finished_Event = procedure () of object cdecl; QThread_terminated_Event = procedure () of object cdecl; function QLCLThread_create(parent: QObjectH = nil): QLCLThreadH; cdecl; external Qt4PasLib name 'QLCLThread_create'; procedure QLCLThread_destroy(handle: QLCLThreadH); cdecl; external Qt4PasLib name 'QLCLThread_destroy'; procedure QLCLThread_override_run(handle: QLCLThreadH; hook: QLCLThread_run_Override); cdecl; external Qt4PasLib name 'QLCLThread_override_run'; function QLCLThread_exec(handle: QLCLThreadH): Integer; cdecl; external Qt4PasLib name 'QLCLThread_exec'; type QCharDirection = ( // QChar::Direction (1) QCharDirL, QCharDirR, QCharDirEN, QCharDirES, QCharDirET, QCharDirAN, QCharDirCS, QCharDirB, QCharDirS, QCharDirWS, QCharDirON, QCharDirLRE, QCharDirLRO, QCharDirAL, QCharDirRLE, QCharDirRLO, QCharDirPDF, QCharDirNSM, QCharDirBN ); QCharDecomposition = ( // QChar::Decomposition (1) QCharNoDecomposition, QCharCanonical, QCharFont, QCharNoBreak, QCharInitial, QCharMedial, QCharFinal, QCharIsolated, QCharCircle, QCharSuper, QCharSub, QCharVertical, QCharWide, QCharNarrow, QCharSmall, QCharSquare, QCharCompat, QCharFraction ); QCharJoining = ( // QChar::Joining (1) QCharOtherJoining, QCharDual, QCharRight, QCharCenter ); QCharUnicodeVersion = ( // QChar::UnicodeVersion (1) QCharUnicode_Unassigned, QCharUnicode_1_1, QCharUnicode_2_0, QCharUnicode_2_1_2, QCharUnicode_3_0, QCharUnicode_3_1, QCharUnicode_3_2, QCharUnicode_4_0, QCharUnicode_4_1, QCharUnicode_5_0 ); QCharSpecialCharacter = ( //QChar::SpecialCharacter (2) QCharNull = $0000, QCharNbsp = $00a0, QCharLineSeparator = $2028, QCharParagraphSeparator = $2029, QCharByteOrderMark = $feff, QCharObjectReplacementCharacter = $fffc, QCharReplacementCharacter = $fffd, QCharByteOrderSwapped = $fffe ); QCharCombiningClass = ( //QChar::CombiningClass (2) QCharCombining_BelowLeftAttached = 200, QCharCombining_BelowAttached = 202, QCharCombining_BelowRightAttached = 204, QCharCombining_LeftAttached = 208, QCharCombining_RightAttached = 210, QCharCombining_AboveLeftAttached = 212, QCharCombining_AboveAttached = 214, QCharCombining_AboveRightAttached = 216, QCharCombining_BelowLeft = 218, QCharCombining_Below = 220, QCharCombining_BelowRight = 222, QCharCombining_Left = 224, QCharCombining_Right = 226, QCharCombining_AboveLeft = 228, QCharCombining_Above = 230, QCharCombining_AboveRight = 232, QCharCombining_DoubleBelow = 233, QCharCombining_DoubleAbove = 234, QCharCombining_IotaSubscript = 240 ); type QCharCategory = cardinal; // QChar::Category (4) const QCharNoCategory = 0 { $0 }; QCharMark_NonSpacing = 1 { $1 }; QCharMark_SpacingCombining = 2 { $2 }; QCharMark_Enclosing = 3 { $3 }; QCharNumber_DecimalDigit = 4 { $4 }; QCharNumber_Letter = 5 { $5 }; QCharNumber_Other = 6 { $6 }; QCharSeparator_Space = 7 { $7 }; QCharSeparator_Line = 8 { $8 }; QCharSeparator_Paragraph = 9 { $9 }; QCharOther_Control = 10 { $a }; QCharOther_Format = 11 { $b }; QCharOther_Surrogate = 12 { $c }; QCharOther_PrivateUse = 13 { $d }; QCharOther_NotAssigned = 14 { $e }; QCharLetter_Uppercase = 15 { $f }; QCharLetter_Lowercase = 16 { $10 }; QCharLetter_Titlecase = 17 { $11 }; QCharLetter_Modifier = 18 { $12 }; QCharLetter_Other = 19 { $13 }; QCharPunctuation_Connector = 20 { $14 }; QCharPunctuation_Dash = 21 { $15 }; QCharPunctuation_Open = 22 { $16 }; QCharPunctuation_Close = 23 { $17 }; QCharPunctuation_InitialQuote = 24 { $18 }; QCharPunctuation_FinalQuote = 25 { $19 }; QCharPunctuation_Other = 26 { $1a }; QCharSymbol_Math = 27 { $1b }; QCharSymbol_Currency = 28 { $1c }; QCharSymbol_Modifier = 29 { $1d }; QCharSymbol_Other = 30 { $1e }; QCharPunctuation_Dask = 21 { $15 }; function QChar_create(): QCharH; cdecl; external Qt4PasLib name 'QChar_create'; procedure QChar_destroy(handle: QCharH); cdecl; external Qt4PasLib name 'QChar_destroy'; function QChar_create(c: char): QCharH; cdecl; external Qt4PasLib name 'QChar_create2'; function QChar_create(c: char; r: char): QCharH; cdecl; external Qt4PasLib name 'QChar_create4'; function QChar_create(rc: Word): QCharH; cdecl; external Qt4PasLib name 'QChar_create5'; function QChar_create(rc: ShortInt): QCharH; cdecl; external Qt4PasLib name 'QChar_create6'; function QChar_create(rc: LongWord): QCharH; cdecl; external Qt4PasLib name 'QChar_create7'; function QChar_create(rc: Integer): QCharH; cdecl; external Qt4PasLib name 'QChar_create8'; function QChar_create(sc: QCharSpecialCharacter): QCharH; cdecl; external Qt4PasLib name 'QChar_create9'; function QChar_category(handle: QCharH): QCharCategory; cdecl; external Qt4PasLib name 'QChar_category'; function QChar_direction(handle: QCharH): QCharDirection; cdecl; external Qt4PasLib name 'QChar_direction'; function QChar_joining(handle: QCharH): QCharJoining; cdecl; external Qt4PasLib name 'QChar_joining'; function QChar_hasMirrored(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_hasMirrored'; function QChar_combiningClass(handle: QCharH): char; cdecl; external Qt4PasLib name 'QChar_combiningClass'; procedure QChar_mirroredChar(handle: QCharH; retval: PWideChar); cdecl; external Qt4PasLib name 'QChar_mirroredChar'; procedure QChar_decomposition(handle: QCharH; retval: PWideString); cdecl; external Qt4PasLib name 'QChar_decomposition'; function QChar_decompositionTag(handle: QCharH): QCharDecomposition; cdecl; external Qt4PasLib name 'QChar_decompositionTag'; function QChar_digitValue(handle: QCharH): Integer; cdecl; external Qt4PasLib name 'QChar_digitValue'; procedure QChar_toLower(handle: QCharH; retval: PWideChar); cdecl; external Qt4PasLib name 'QChar_toLower'; procedure QChar_toUpper(handle: QCharH; retval: PWideChar); cdecl; external Qt4PasLib name 'QChar_toUpper'; procedure QChar_toTitleCase(handle: QCharH; retval: PWideChar); cdecl; external Qt4PasLib name 'QChar_toTitleCase'; procedure QChar_toCaseFolded(handle: QCharH; retval: PWideChar); cdecl; external Qt4PasLib name 'QChar_toCaseFolded'; function QChar_unicodeVersion(handle: QCharH): QCharUnicodeVersion; cdecl; external Qt4PasLib name 'QChar_unicodeVersion'; function QChar_toAscii(handle: QCharH): char; cdecl; external Qt4PasLib name 'QChar_toAscii'; function QChar_toLatin1(handle: QCharH): char; cdecl; external Qt4PasLib name 'QChar_toLatin1'; function QChar_unicode(handle: QCharH): Word; cdecl; external Qt4PasLib name 'QChar_unicode'; procedure QChar_fromAscii(retval: PWideChar; c: char); cdecl; external Qt4PasLib name 'QChar_fromAscii'; procedure QChar_fromLatin1(retval: PWideChar; c: char); cdecl; external Qt4PasLib name 'QChar_fromLatin1'; function QChar_isNull(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isNull'; function QChar_isPrint(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isPrint'; function QChar_isPunct(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isPunct'; function QChar_isSpace(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isSpace'; function QChar_isMark(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isMark'; function QChar_isLetter(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isLetter'; function QChar_isNumber(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isNumber'; function QChar_isLetterOrNumber(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isLetterOrNumber'; function QChar_isDigit(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isDigit'; function QChar_isSymbol(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isSymbol'; function QChar_isLower(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isLower'; function QChar_isUpper(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isUpper'; function QChar_isTitleCase(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isTitleCase'; function QChar_isHighSurrogate(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isHighSurrogate'; function QChar_isLowSurrogate(handle: QCharH): Boolean; cdecl; external Qt4PasLib name 'QChar_isLowSurrogate'; function QChar_cell(handle: QCharH): char; cdecl; external Qt4PasLib name 'QChar_cell'; function QChar_row(handle: QCharH): char; cdecl; external Qt4PasLib name 'QChar_row'; procedure QChar_setCell(handle: QCharH; cell: char); cdecl; external Qt4PasLib name 'QChar_setCell'; procedure QChar_setRow(handle: QCharH; row: char); cdecl; external Qt4PasLib name 'QChar_setRow'; function QChar_surrogateToUcs4(high: Word; low: Word): LongWord; cdecl; external Qt4PasLib name 'QChar_surrogateToUcs4'; function QChar_surrogateToUcs4(high: PWideChar; low: PWideChar): LongWord; cdecl; external Qt4PasLib name 'QChar_surrogateToUcs42'; function QChar_highSurrogate(ucs4: LongWord): Word; cdecl; external Qt4PasLib name 'QChar_highSurrogate'; function QChar_lowSurrogate(ucs4: LongWord): Word; cdecl; external Qt4PasLib name 'QChar_lowSurrogate'; function QSize_create(): QSizeH; cdecl; external Qt4PasLib name 'QSize_create'; procedure QSize_destroy(handle: QSizeH); cdecl; external Qt4PasLib name 'QSize_destroy'; function QSize_create(w: Integer; h: Integer): QSizeH; cdecl; external Qt4PasLib name 'QSize_create2'; function QSize_isNull(handle: QSizeH): Boolean; cdecl; external Qt4PasLib name 'QSize_isNull'; function QSize_isEmpty(handle: QSizeH): Boolean; cdecl; external Qt4PasLib name 'QSize_isEmpty'; function QSize_isValid(handle: QSizeH): Boolean; cdecl; external Qt4PasLib name 'QSize_isValid'; function QSize_width(handle: QSizeH): Integer; cdecl; external Qt4PasLib name 'QSize_width'; function QSize_height(handle: QSizeH): Integer; cdecl; external Qt4PasLib name 'QSize_height'; procedure QSize_setWidth(handle: QSizeH; w: Integer); cdecl; external Qt4PasLib name 'QSize_setWidth'; procedure QSize_setHeight(handle: QSizeH; h: Integer); cdecl; external Qt4PasLib name 'QSize_setHeight'; procedure QSize_transpose(handle: QSizeH); cdecl; external Qt4PasLib name 'QSize_transpose'; procedure QSize_scale(handle: QSizeH; w: Integer; h: Integer; mode: QtAspectRatioMode); cdecl; external Qt4PasLib name 'QSize_scale'; procedure QSize_scale(handle: QSizeH; s: PSize; mode: QtAspectRatioMode); cdecl; external Qt4PasLib name 'QSize_scale2'; procedure QSize_expandedTo(handle: QSizeH; retval: PSize; AnonParam1: PSize); cdecl; external Qt4PasLib name 'QSize_expandedTo'; procedure QSize_boundedTo(handle: QSizeH; retval: PSize; AnonParam1: PSize); cdecl; external Qt4PasLib name 'QSize_boundedTo'; function QSize_rwidth(handle: QSizeH): PInteger; cdecl; external Qt4PasLib name 'QSize_rwidth'; function QSize_rheight(handle: QSizeH): PInteger; cdecl; external Qt4PasLib name 'QSize_rheight'; function QSizeF_create(): QSizeFH; cdecl; external Qt4PasLib name 'QSizeF_create'; procedure QSizeF_destroy(handle: QSizeFH); cdecl; external Qt4PasLib name 'QSizeF_destroy'; function QSizeF_create(sz: PSize): QSizeFH; cdecl; external Qt4PasLib name 'QSizeF_create2'; function QSizeF_create(w: qreal; h: qreal): QSizeFH; cdecl; external Qt4PasLib name 'QSizeF_create3'; function QSizeF_isNull(handle: QSizeFH): Boolean; cdecl; external Qt4PasLib name 'QSizeF_isNull'; function QSizeF_isEmpty(handle: QSizeFH): Boolean; cdecl; external Qt4PasLib name 'QSizeF_isEmpty'; function QSizeF_isValid(handle: QSizeFH): Boolean; cdecl; external Qt4PasLib name 'QSizeF_isValid'; function QSizeF_width(handle: QSizeFH): qreal; cdecl; external Qt4PasLib name 'QSizeF_width'; function QSizeF_height(handle: QSizeFH): qreal; cdecl; external Qt4PasLib name 'QSizeF_height'; procedure QSizeF_setWidth(handle: QSizeFH; w: qreal); cdecl; external Qt4PasLib name 'QSizeF_setWidth'; procedure QSizeF_setHeight(handle: QSizeFH; h: qreal); cdecl; external Qt4PasLib name 'QSizeF_setHeight'; procedure QSizeF_transpose(handle: QSizeFH); cdecl; external Qt4PasLib name 'QSizeF_transpose'; procedure QSizeF_scale(handle: QSizeFH; w: qreal; h: qreal; mode: QtAspectRatioMode); cdecl; external Qt4PasLib name 'QSizeF_scale'; procedure QSizeF_scale(handle: QSizeFH; s: QSizeFH; mode: QtAspectRatioMode); cdecl; external Qt4PasLib name 'QSizeF_scale2'; procedure QSizeF_expandedTo(handle: QSizeFH; retval: QSizeFH; AnonParam1: QSizeFH); cdecl; external Qt4PasLib name 'QSizeF_expandedTo'; procedure QSizeF_boundedTo(handle: QSizeFH; retval: QSizeFH; AnonParam1: QSizeFH); cdecl; external Qt4PasLib name 'QSizeF_boundedTo'; function QSizeF_rwidth(handle: QSizeFH): PQReal; cdecl; external Qt4PasLib name 'QSizeF_rwidth'; function QSizeF_rheight(handle: QSizeFH): PQReal; cdecl; external Qt4PasLib name 'QSizeF_rheight'; procedure QSizeF_toSize(handle: QSizeFH; retval: PSize); cdecl; external Qt4PasLib name 'QSizeF_toSize'; type QStringSplitBehavior = ( // QString::SplitBehavior (1) QStringKeepEmptyParts, QStringSkipEmptyParts ); QStringNormalizationForm = ( // QString::NormalizationForm (1) QStringNormalizationForm_D, QStringNormalizationForm_C, QStringNormalizationForm_KD, QStringNormalizationForm_KC ); type QStringSectionFlag = cardinal; // QString::SectionFlag QStringSectionFlags = QStringSectionFlag; //QFlags<> (3) const QStringSectionDefault = $00; QStringSectionSkipEmpty = $01; QStringSectionIncludeLeadingSep = $02; QStringSectionIncludeTrailingSep = $04; QStringSectionCaseInsensitiveSeps = $08; function QString_create(): QStringH; cdecl; external Qt4PasLib name 'QString_create'; procedure QString_destroy(handle: QStringH); cdecl; external Qt4PasLib name 'QString_destroy'; function QString_create(unicode: PWideChar; size: Integer): QStringH; cdecl; external Qt4PasLib name 'QString_create2'; function QString_create(c: PWideChar): QStringH; cdecl; external Qt4PasLib name 'QString_create3'; function QString_create(latin1: QLatin1StringH): QStringH; cdecl; external Qt4PasLib name 'QString_create5'; function QString_create(AnonParam1: PWideString): QStringH; cdecl; external Qt4PasLib name 'QString_create6'; function QString_size(handle: QStringH): Integer; cdecl; external Qt4PasLib name 'QString_size'; function QString_count(handle: QStringH): Integer; cdecl; external Qt4PasLib name 'QString_count'; function QString_length(handle: QStringH): Integer; cdecl; external Qt4PasLib name 'QString_length'; function QString_isEmpty(handle: QStringH): Boolean; cdecl; external Qt4PasLib name 'QString_isEmpty'; procedure QString_resize(handle: QStringH; size: Integer); cdecl; external Qt4PasLib name 'QString_resize'; procedure QString_fill(handle: QStringH; retval: PWideString; c: PWideChar; size: Integer = -1); cdecl; external Qt4PasLib name 'QString_fill'; procedure QString_truncate(handle: QStringH; pos: Integer); cdecl; external Qt4PasLib name 'QString_truncate'; procedure QString_chop(handle: QStringH; n: Integer); cdecl; external Qt4PasLib name 'QString_chop'; function QString_capacity(handle: QStringH): Integer; cdecl; external Qt4PasLib name 'QString_capacity'; procedure QString_reserve(handle: QStringH; size: Integer); cdecl; external Qt4PasLib name 'QString_reserve'; procedure QString_squeeze(handle: QStringH); cdecl; external Qt4PasLib name 'QString_squeeze'; function QString_unicode(handle: QStringH): PWideChar; cdecl; external Qt4PasLib name 'QString_unicode'; function QString_data(handle: QStringH): PWideChar; cdecl; external Qt4PasLib name 'QString_data'; function QString_constData(handle: QStringH): PWideChar; cdecl; external Qt4PasLib name 'QString_constData'; procedure QString_detach(handle: QStringH); cdecl; external Qt4PasLib name 'QString_detach'; function QString_isDetached(handle: QStringH): Boolean; cdecl; external Qt4PasLib name 'QString_isDetached'; procedure QString_clear(handle: QStringH); cdecl; external Qt4PasLib name 'QString_clear'; procedure QString_at(handle: QStringH; retval: PWideChar; i: Integer); cdecl; external Qt4PasLib name 'QString_at'; procedure QString_arg(handle: QStringH; retval: PWideString; a: int64; fieldwidth: Integer; base: Integer; fillChar: PWideChar); cdecl; external Qt4PasLib name 'QString_arg'; procedure QString_arg(handle: QStringH; retval: PWideString; a: qword; fieldwidth: Integer; base: Integer; fillChar: PWideChar); cdecl; external Qt4PasLib name 'QString_arg2'; procedure QString_arg(handle: QStringH; retval: PWideString; a: Longword; fieldwidth: Integer; base: Integer; fillChar: PWideChar); cdecl; external Qt4PasLib name 'QString_arg4'; procedure QString_arg(handle: QStringH; retval: PWideString; a: ShortInt; fieldWidth: Integer; base: Integer; fillChar: PWideChar); cdecl; external Qt4PasLib name 'QString_arg7'; procedure QString_arg(handle: QStringH; retval: PWideString; a: Word; fieldWidth: Integer; base: Integer; fillChar: PWideChar); cdecl; external Qt4PasLib name 'QString_arg8'; procedure QString_arg(handle: QStringH; retval: PWideString; a: Double; fieldWidth: Integer; fmt: char; prec: Integer; fillChar: PWideChar); cdecl; external Qt4PasLib name 'QString_arg9'; procedure QString_arg(handle: QStringH; retval: PWideString; a: char; fieldWidth: Integer; fillChar: PWideChar); cdecl; external Qt4PasLib name 'QString_arg10'; procedure QString_arg(handle: QStringH; retval: PWideString; a: PWideChar; fieldWidth: Integer; fillChar: PWideChar); cdecl; external Qt4PasLib name 'QString_arg11'; procedure QString_arg(handle: QStringH; retval: PWideString; a: PWideString; fieldWidth: Integer; fillChar: PWideChar); cdecl; external Qt4PasLib name 'QString_arg12'; procedure QString_arg(handle: QStringH; retval: PWideString; a1: PWideString; a2: PWideString); cdecl; external Qt4PasLib name 'QString_arg13'; procedure QString_arg(handle: QStringH; retval: PWideString; a1: PWideString; a2: PWideString; a3: PWideString); cdecl; external Qt4PasLib name 'QString_arg14'; procedure QString_arg(handle: QStringH; retval: PWideString; a1: PWideString; a2: PWideString; a3: PWideString; a4: PWideString); cdecl; external Qt4PasLib name 'QString_arg15'; procedure QString_arg(handle: QStringH; retval: PWideString; a1: PWideString; a2: PWideString; a3: PWideString; a4: PWideString; a5: PWideString); cdecl; external Qt4PasLib name 'QString_arg16'; procedure QString_arg(handle: QStringH; retval: PWideString; a1: PWideString; a2: PWideString; a3: PWideString; a4: PWideString; a5: PWideString; a6: PWideString); cdecl; external Qt4PasLib name 'QString_arg17'; procedure QString_arg(handle: QStringH; retval: PWideString; a1: PWideString; a2: PWideString; a3: PWideString; a4: PWideString; a5: PWideString; a6: PWideString; a7: PWideString); cdecl; external Qt4PasLib name 'QString_arg18'; procedure QString_arg(handle: QStringH; retval: PWideString; a1: PWideString; a2: PWideString; a3: PWideString; a4: PWideString; a5: PWideString; a6: PWideString; a7: PWideString; a8: PWideString); cdecl; external Qt4PasLib name 'QString_arg19'; procedure QString_arg(handle: QStringH; retval: PWideString; a1: PWideString; a2: PWideString; a3: PWideString; a4: PWideString; a5: PWideString; a6: PWideString; a7: PWideString; a8: PWideString; a9: PWideString); cdecl; external Qt4PasLib name 'QString_arg20'; function QString_indexOf(handle: QStringH; c: PWideChar; from: Integer = 0; cs: QtCaseSensitivity = QtCaseSensitive): Integer; cdecl; external Qt4PasLib name 'QString_indexOf'; function QString_indexOf(handle: QStringH; s: PWideString; from: Integer = 0; cs: QtCaseSensitivity = QtCaseSensitive): Integer; cdecl; external Qt4PasLib name 'QString_indexOf2'; function QString_indexOf(handle: QStringH; s: QLatin1StringH; from: Integer = 0; cs: QtCaseSensitivity = QtCaseSensitive): Integer; cdecl; external Qt4PasLib name 'QString_indexOf3'; function QString_lastIndexOf(handle: QStringH; c: PWideChar; from: Integer = -1; cs: QtCaseSensitivity = QtCaseSensitive): Integer; cdecl; external Qt4PasLib name 'QString_lastIndexOf'; function QString_lastIndexOf(handle: QStringH; s: PWideString; from: Integer = -1; cs: QtCaseSensitivity = QtCaseSensitive): Integer; cdecl; external Qt4PasLib name 'QString_lastIndexOf2'; function QString_lastIndexOf(handle: QStringH; s: QLatin1StringH; from: Integer = -1; cs: QtCaseSensitivity = QtCaseSensitive): Integer; cdecl; external Qt4PasLib name 'QString_lastIndexOf3'; function QString_contains(handle: QStringH; c: PWideChar; cs: QtCaseSensitivity = QtCaseSensitive): boolean; cdecl; external Qt4PasLib name 'QString_contains'; function QString_contains(handle: QStringH; s: PWideString; cs: QtCaseSensitivity = QtCaseSensitive): boolean; cdecl; external Qt4PasLib name 'QString_contains2'; function QString_count(handle: QStringH; c: PWideChar; cs: QtCaseSensitivity = QtCaseSensitive): Integer; cdecl; external Qt4PasLib name 'QString_count2'; function QString_count(handle: QStringH; s: PWideString; cs: QtCaseSensitivity = QtCaseSensitive): Integer; cdecl; external Qt4PasLib name 'QString_count3'; function QString_indexOf(handle: QStringH; AnonParam1: QRegExpH; from: Integer = 0): Integer; cdecl; external Qt4PasLib name 'QString_indexOf4'; function QString_lastIndexOf(handle: QStringH; AnonParam1: QRegExpH; from: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QString_lastIndexOf4'; function QString_contains(handle: QStringH; rx: QRegExpH): boolean; cdecl; external Qt4PasLib name 'QString_contains3'; function QString_count(handle: QStringH; AnonParam1: QRegExpH): Integer; cdecl; external Qt4PasLib name 'QString_count4'; procedure QString_section(handle: QStringH; retval: PWideString; sep: PWideChar; start: Integer; _end: Integer = -1; flags: QStringSectionFlags = QStringSectionDefault); cdecl; external Qt4PasLib name 'QString_section'; procedure QString_section(handle: QStringH; retval: PWideString; in_sep: PWideString; start: Integer; _end: Integer = -1; flags: QStringSectionFlags = QStringSectionDefault); cdecl; external Qt4PasLib name 'QString_section2'; procedure QString_section(handle: QStringH; retval: PWideString; reg: QRegExpH; start: Integer; _end: Integer = -1; flags: QStringSectionFlags = QStringSectionDefault); cdecl; external Qt4PasLib name 'QString_section3'; procedure QString_left(handle: QStringH; retval: PWideString; n: Integer); cdecl; external Qt4PasLib name 'QString_left'; procedure QString_right(handle: QStringH; retval: PWideString; n: Integer); cdecl; external Qt4PasLib name 'QString_right'; procedure QString_mid(handle: QStringH; retval: PWideString; position: Integer; n: Integer = -1); cdecl; external Qt4PasLib name 'QString_mid'; function QString_startsWith(handle: QStringH; s: PWideString; cs: QtCaseSensitivity = QtCaseSensitive): Boolean; cdecl; external Qt4PasLib name 'QString_startsWith'; function QString_startsWith(handle: QStringH; s: QLatin1StringH; cs: QtCaseSensitivity = QtCaseSensitive): Boolean; cdecl; external Qt4PasLib name 'QString_startsWith2'; function QString_startsWith(handle: QStringH; c: PWideChar; cs: QtCaseSensitivity = QtCaseSensitive): Boolean; cdecl; external Qt4PasLib name 'QString_startsWith3'; function QString_endsWith(handle: QStringH; s: PWideString; cs: QtCaseSensitivity = QtCaseSensitive): Boolean; cdecl; external Qt4PasLib name 'QString_endsWith'; function QString_endsWith(handle: QStringH; s: QLatin1StringH; cs: QtCaseSensitivity = QtCaseSensitive): Boolean; cdecl; external Qt4PasLib name 'QString_endsWith2'; function QString_endsWith(handle: QStringH; c: PWideChar; cs: QtCaseSensitivity = QtCaseSensitive): Boolean; cdecl; external Qt4PasLib name 'QString_endsWith3'; procedure QString_leftJustified(handle: QStringH; retval: PWideString; width: Integer; fill: PWideChar; trunc: Boolean = False); cdecl; external Qt4PasLib name 'QString_leftJustified'; procedure QString_rightJustified(handle: QStringH; retval: PWideString; width: Integer; fill: PWideChar; trunc: Boolean = False); cdecl; external Qt4PasLib name 'QString_rightJustified'; procedure QString_toLower(handle: QStringH; retval: PWideString); cdecl; external Qt4PasLib name 'QString_toLower'; procedure QString_toUpper(handle: QStringH; retval: PWideString); cdecl; external Qt4PasLib name 'QString_toUpper'; procedure QString_toCaseFolded(handle: QStringH; retval: PWideString); cdecl; external Qt4PasLib name 'QString_toCaseFolded'; procedure QString_trimmed(handle: QStringH; retval: PWideString); cdecl; external Qt4PasLib name 'QString_trimmed'; procedure QString_simplified(handle: QStringH; retval: PWideString); cdecl; external Qt4PasLib name 'QString_simplified'; procedure QString_insert(handle: QStringH; retval: PWideString; i: Integer; c: PWideChar); cdecl; external Qt4PasLib name 'QString_insert'; procedure QString_insert(handle: QStringH; retval: PWideString; i: Integer; uc: PWideChar; len: Integer); cdecl; external Qt4PasLib name 'QString_insert2'; procedure QString_insert(handle: QStringH; retval: PWideString; i: Integer; s: PWideString); cdecl; external Qt4PasLib name 'QString_insert3'; procedure QString_insert(handle: QStringH; retval: PWideString; i: Integer; s: QLatin1StringH); cdecl; external Qt4PasLib name 'QString_insert4'; procedure QString_append(handle: QStringH; retval: PWideString; c: PWideChar); cdecl; external Qt4PasLib name 'QString_append'; procedure QString_append(handle: QStringH; retval: PWideString; s: PWideString); cdecl; external Qt4PasLib name 'QString_append2'; procedure QString_append(handle: QStringH; retval: PWideString; s: QLatin1StringH); cdecl; external Qt4PasLib name 'QString_append3'; procedure QString_prepend(handle: QStringH; retval: PWideString; c: PWideChar); cdecl; external Qt4PasLib name 'QString_prepend'; procedure QString_prepend(handle: QStringH; retval: PWideString; s: PWideString); cdecl; external Qt4PasLib name 'QString_prepend2'; procedure QString_prepend(handle: QStringH; retval: PWideString; s: QLatin1StringH); cdecl; external Qt4PasLib name 'QString_prepend3'; procedure QString_remove(handle: QStringH; retval: PWideString; i: Integer; len: Integer); cdecl; external Qt4PasLib name 'QString_remove'; procedure QString_remove(handle: QStringH; retval: PWideString; c: PWideChar; cs: QtCaseSensitivity = QtCaseSensitive); cdecl; external Qt4PasLib name 'QString_remove2'; procedure QString_remove(handle: QStringH; retval: PWideString; s: PWideString; cs: QtCaseSensitivity = QtCaseSensitive); cdecl; external Qt4PasLib name 'QString_remove3'; procedure QString_replace(handle: QStringH; retval: PWideString; i: Integer; len: Integer; after: PWideChar); cdecl; external Qt4PasLib name 'QString_replace'; procedure QString_replace(handle: QStringH; retval: PWideString; i: Integer; len: Integer; s: PWideChar; slen: Integer); cdecl; external Qt4PasLib name 'QString_replace2'; procedure QString_replace(handle: QStringH; retval: PWideString; i: Integer; len: Integer; after: PWideString); cdecl; external Qt4PasLib name 'QString_replace3'; procedure QString_replace(handle: QStringH; retval: PWideString; before: PWideChar; after: PWideChar; cs: QtCaseSensitivity = QtCaseSensitive); cdecl; external Qt4PasLib name 'QString_replace4'; procedure QString_replace(handle: QStringH; retval: PWideString; before: PWideChar; blen: Integer; after: PWideChar; alen: Integer; cs: QtCaseSensitivity = QtCaseSensitive); cdecl; external Qt4PasLib name 'QString_replace5'; procedure QString_replace(handle: QStringH; retval: PWideString; before: QLatin1StringH; after: QLatin1StringH; cs: QtCaseSensitivity = QtCaseSensitive); cdecl; external Qt4PasLib name 'QString_replace6'; procedure QString_replace(handle: QStringH; retval: PWideString; before: QLatin1StringH; after: PWideString; cs: QtCaseSensitivity = QtCaseSensitive); cdecl; external Qt4PasLib name 'QString_replace7'; procedure QString_replace(handle: QStringH; retval: PWideString; before: PWideString; after: QLatin1StringH; cs: QtCaseSensitivity = QtCaseSensitive); cdecl; external Qt4PasLib name 'QString_replace8'; procedure QString_replace(handle: QStringH; retval: PWideString; before: PWideString; after: PWideString; cs: QtCaseSensitivity = QtCaseSensitive); cdecl; external Qt4PasLib name 'QString_replace9'; procedure QString_replace(handle: QStringH; retval: PWideString; c: PWideChar; after: PWideString; cs: QtCaseSensitivity = QtCaseSensitive); cdecl; external Qt4PasLib name 'QString_replace10'; procedure QString_replace(handle: QStringH; retval: PWideString; c: PWideChar; after: QLatin1StringH; cs: QtCaseSensitivity = QtCaseSensitive); cdecl; external Qt4PasLib name 'QString_replace11'; procedure QString_replace(handle: QStringH; retval: PWideString; rx: QRegExpH; after: PWideString); cdecl; external Qt4PasLib name 'QString_replace12'; procedure QString_remove(handle: QStringH; retval: PWideString; rx: QRegExpH); cdecl; external Qt4PasLib name 'QString_remove4'; procedure QString_split(handle: QStringH; retval: QStringListH; sep: PWideString; behavior: QStringSplitBehavior = QStringKeepEmptyParts; cs: QtCaseSensitivity = QtCaseSensitive); cdecl; external Qt4PasLib name 'QString_split'; procedure QString_split(handle: QStringH; retval: QStringListH; sep: PWideChar; behavior: QStringSplitBehavior = QStringKeepEmptyParts; cs: QtCaseSensitivity = QtCaseSensitive); cdecl; external Qt4PasLib name 'QString_split2'; procedure QString_split(handle: QStringH; retval: QStringListH; sep: QRegExpH; behavior: QStringSplitBehavior = QStringKeepEmptyParts); cdecl; external Qt4PasLib name 'QString_split3'; procedure QString_normalized(handle: QStringH; retval: PWideString; mode: QStringNormalizationForm); cdecl; external Qt4PasLib name 'QString_normalized'; procedure QString_normalized(handle: QStringH; retval: PWideString; mode: QStringNormalizationForm; version: QCharUnicodeVersion); cdecl; external Qt4PasLib name 'QString_normalized2'; procedure QString_repeated(handle: QStringH; retval: PWideString; times: Integer); cdecl; external Qt4PasLib name 'QString_repeated'; function QString_utf16(handle: QStringH): PWord; cdecl; external Qt4PasLib name 'QString_utf16'; procedure QString_toAscii(handle: QStringH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QString_toAscii'; procedure QString_toLatin1(handle: QStringH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QString_toLatin1'; procedure QString_toUtf8(handle: QStringH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QString_toUtf8'; procedure QString_toLocal8Bit(handle: QStringH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QString_toLocal8Bit'; procedure QString_fromAscii(retval: PWideString; AnonParam1: PAnsiChar; size: Integer = -1); cdecl; external Qt4PasLib name 'QString_fromAscii'; procedure QString_fromLatin1(retval: PWideString; AnonParam1: PAnsiChar; size: Integer = -1); cdecl; external Qt4PasLib name 'QString_fromLatin1'; procedure QString_fromUtf8(retval: PWideString; AnonParam1: PAnsiChar; size: Integer = -1); cdecl; external Qt4PasLib name 'QString_fromUtf8'; procedure QString_fromLocal8Bit(retval: PWideString; AnonParam1: PAnsiChar; size: Integer = -1); cdecl; external Qt4PasLib name 'QString_fromLocal8Bit'; procedure QString_fromUtf16(retval: PWideString; AnonParam1: PWord; size: Integer = -1); cdecl; external Qt4PasLib name 'QString_fromUtf16'; procedure QString_fromUcs4(retval: PWideString; AnonParam1: PLongWord; size: Integer = -1); cdecl; external Qt4PasLib name 'QString_fromUcs4'; procedure QString_fromRawData(retval: PWideString; AnonParam1: PWideChar; size: Integer); cdecl; external Qt4PasLib name 'QString_fromRawData'; function QString_toWCharArray(handle: QStringH; _array: PWideChar): Integer; cdecl; external Qt4PasLib name 'QString_toWCharArray'; procedure QString_fromWCharArray(retval: PWideString; AnonParam1: PWideChar; size: Integer = -1); cdecl; external Qt4PasLib name 'QString_fromWCharArray'; procedure QString_setUnicode(handle: QStringH; retval: PWideString; unicode: PWideChar; size: Integer); cdecl; external Qt4PasLib name 'QString_setUnicode'; procedure QString_setUtf16(handle: QStringH; retval: PWideString; utf16: PWord; size: Integer); cdecl; external Qt4PasLib name 'QString_setUtf16'; function QString_compare(handle: QStringH; s: PWideString): Integer; cdecl; external Qt4PasLib name 'QString_compare'; function QString_compare(handle: QStringH; s: PWideString; cs: QtCaseSensitivity): Integer; cdecl; external Qt4PasLib name 'QString_compare2'; function QString_compare(handle: QStringH; other: QLatin1StringH; cs: QtCaseSensitivity = QtCaseSensitive): Integer; cdecl; external Qt4PasLib name 'QString_compare3'; function QString_compare(s1: PWideString; s2: PWideString): Integer; cdecl; external Qt4PasLib name 'QString_compare4'; function QString_compare(s1: PWideString; s2: PWideString; cs: QtCaseSensitivity): Integer; cdecl; external Qt4PasLib name 'QString_compare5'; function QString_compare(s1: PWideString; s2: QLatin1StringH; cs: QtCaseSensitivity = QtCaseSensitive): Integer; cdecl; external Qt4PasLib name 'QString_compare6'; function QString_compare(s1: QLatin1StringH; s2: PWideString; cs: QtCaseSensitivity = QtCaseSensitive): Integer; cdecl; external Qt4PasLib name 'QString_compare7'; function QString_localeAwareCompare(handle: QStringH; s: PWideString): Integer; cdecl; external Qt4PasLib name 'QString_localeAwareCompare'; function QString_localeAwareCompare(s1: PWideString; s2: PWideString): Integer; cdecl; external Qt4PasLib name 'QString_localeAwareCompare2'; function QString_toShort(handle: QStringH; ok: PBoolean = nil; base: Integer = 10): ShortInt; cdecl; external Qt4PasLib name 'QString_toShort'; function QString_toUShort(handle: QStringH; ok: PBoolean = nil; base: Integer = 10): Word; cdecl; external Qt4PasLib name 'QString_toUShort'; function QString_toInt(handle: QStringH; ok: PBoolean = nil; base: Integer = 10): Integer; cdecl; external Qt4PasLib name 'QString_toInt'; function QString_toUInt(handle: QStringH; ok: PBoolean = nil; base: Integer = 10): LongWord; cdecl; external Qt4PasLib name 'QString_toUInt'; function QString_toLong(handle: QStringH; ok: PBoolean = nil; base: Integer = 10): Long; cdecl; external Qt4PasLib name 'QString_toLong'; function QString_toULong(handle: QStringH; ok: PBoolean = nil; base: Integer = 10): Longword; cdecl; external Qt4PasLib name 'QString_toULong'; function QString_toLongLong(handle: QStringH; ok: PBoolean = nil; base: Integer = 10): int64; cdecl; external Qt4PasLib name 'QString_toLongLong'; function QString_toULongLong(handle: QStringH; ok: PBoolean = nil; base: Integer = 10): qword; cdecl; external Qt4PasLib name 'QString_toULongLong'; function QString_toFloat(handle: QStringH; ok: PBoolean = nil): Single; cdecl; external Qt4PasLib name 'QString_toFloat'; function QString_toDouble(handle: QStringH; ok: PBoolean = nil): Double; cdecl; external Qt4PasLib name 'QString_toDouble'; procedure QString_setNum(handle: QStringH; retval: PWideString; AnonParam1: ShortInt; base: Integer = 10); cdecl; external Qt4PasLib name 'QString_setNum'; procedure QString_setNum(handle: QStringH; retval: PWideString; AnonParam1: Word; base: Integer = 10); cdecl; external Qt4PasLib name 'QString_setNum2'; procedure QString_setNum(handle: QStringH; retval: PWideString; AnonParam1: Integer; base: Integer = 10); cdecl; external Qt4PasLib name 'QString_setNum3'; procedure QString_setNum(handle: QStringH; retval: PWideString; AnonParam1: LongWord; base: Integer = 10); cdecl; external Qt4PasLib name 'QString_setNum4'; procedure QString_setNum(handle: QStringH; retval: PWideString; AnonParam1: int64; base: Integer = 10); cdecl; external Qt4PasLib name 'QString_setNum7'; procedure QString_setNum(handle: QStringH; retval: PWideString; AnonParam1: qword; base: Integer = 10); cdecl; external Qt4PasLib name 'QString_setNum8'; procedure QString_setNum(handle: QStringH; retval: PWideString; AnonParam1: Single; f: char; prec: Integer = 6); cdecl; external Qt4PasLib name 'QString_setNum9'; procedure QString_setNum(handle: QStringH; retval: PWideString; AnonParam1: Double; f: char; prec: Integer = 6); cdecl; external Qt4PasLib name 'QString_setNum10'; procedure QString_number(retval: PWideString; AnonParam1: Integer; base: Integer = 10); cdecl; external Qt4PasLib name 'QString_number'; procedure QString_number(retval: PWideString; AnonParam1: LongWord; base: Integer = 10); cdecl; external Qt4PasLib name 'QString_number2'; procedure QString_number(retval: PWideString; AnonParam1: int64; base: Integer = 10); cdecl; external Qt4PasLib name 'QString_number5'; procedure QString_number(retval: PWideString; AnonParam1: qword; base: Integer = 10); cdecl; external Qt4PasLib name 'QString_number6'; procedure QString_number(retval: PWideString; AnonParam1: Double; f: char; prec: Integer = 6); cdecl; external Qt4PasLib name 'QString_number7'; function QString_create(ch: PAnsiChar): QStringH; cdecl; external Qt4PasLib name 'QString_create7'; function QString_create(a: QByteArrayH): QStringH; cdecl; external Qt4PasLib name 'QString_create8'; procedure QString_prepend(handle: QStringH; retval: PWideString; s: PAnsiChar); cdecl; external Qt4PasLib name 'QString_prepend4'; procedure QString_prepend(handle: QStringH; retval: PWideString; s: QByteArrayH); cdecl; external Qt4PasLib name 'QString_prepend5'; procedure QString_append(handle: QStringH; retval: PWideString; s: PAnsiChar); cdecl; external Qt4PasLib name 'QString_append4'; procedure QString_append(handle: QStringH; retval: PWideString; s: QByteArrayH); cdecl; external Qt4PasLib name 'QString_append5'; procedure QString_push_back(handle: QStringH; c: PWideChar); cdecl; external Qt4PasLib name 'QString_push_back'; procedure QString_push_back(handle: QStringH; s: PWideString); cdecl; external Qt4PasLib name 'QString_push_back2'; procedure QString_push_front(handle: QStringH; c: PWideChar); cdecl; external Qt4PasLib name 'QString_push_front'; procedure QString_push_front(handle: QStringH; s: PWideString); cdecl; external Qt4PasLib name 'QString_push_front2'; function QString_isNull(handle: QStringH): Boolean; cdecl; external Qt4PasLib name 'QString_isNull'; function QString_isSimpleText(handle: QStringH): Boolean; cdecl; external Qt4PasLib name 'QString_isSimpleText'; function QString_isRightToLeft(handle: QStringH): Boolean; cdecl; external Qt4PasLib name 'QString_isRightToLeft'; function QLatin1String_create(s: PAnsiChar): QLatin1StringH; cdecl; external Qt4PasLib name 'QLatin1String_create'; procedure QLatin1String_destroy(handle: QLatin1StringH); cdecl; external Qt4PasLib name 'QLatin1String_destroy'; function QLatin1String_latin1(handle: QLatin1StringH): PAnsiChar; cdecl; external Qt4PasLib name 'QLatin1String_latin1'; function QStringList_create(): QStringListH; cdecl; external Qt4PasLib name 'QStringList_create'; procedure QStringList_destroy(handle: QStringListH); cdecl; external Qt4PasLib name 'QStringList_destroy'; function QStringList_create(i: PWideString): QStringListH; cdecl; external Qt4PasLib name 'QStringList_create2'; function QStringList_create(l: QStringListH): QStringListH; cdecl; external Qt4PasLib name 'QStringList_create3'; procedure QStringList_sort(handle: QStringListH); cdecl; external Qt4PasLib name 'QStringList_sort'; function QStringList_removeDuplicates(handle: QStringListH): Integer; cdecl; external Qt4PasLib name 'QStringList_removeDuplicates'; procedure QStringList_join(handle: QStringListH; retval: PWideString; sep: PWideString); cdecl; external Qt4PasLib name 'QStringList_join'; procedure QStringList_filter(handle: QStringListH; retval: QStringListH; str: PWideString; cs: QtCaseSensitivity = QtCaseSensitive); cdecl; external Qt4PasLib name 'QStringList_filter'; function QStringList_contains(handle: QStringListH; str: PWideString; cs: QtCaseSensitivity = QtCaseSensitive): boolean; cdecl; external Qt4PasLib name 'QStringList_contains'; function QStringList_replaceInStrings(handle: QStringListH; before: PWideString; after: PWideString; cs: QtCaseSensitivity = QtCaseSensitive): QStringListH; cdecl; external Qt4PasLib name 'QStringList_replaceInStrings'; procedure QStringList_filter(handle: QStringListH; retval: QStringListH; rx: QRegExpH); cdecl; external Qt4PasLib name 'QStringList_filter2'; function QStringList_replaceInStrings(handle: QStringListH; rx: QRegExpH; after: PWideString): QStringListH; cdecl; external Qt4PasLib name 'QStringList_replaceInStrings2'; function QStringList_indexOf(handle: QStringListH; rx: QRegExpH; from: Integer = 0): Integer; cdecl; external Qt4PasLib name 'QStringList_indexOf'; function QStringList_lastIndexOf(handle: QStringListH; rx: QRegExpH; from: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QStringList_lastIndexOf'; function QStringList_size(handle: QStringListH): Integer; cdecl; external Qt4PasLib name 'QStringList_size'; function QStringList_isEmpty(handle: QStringListH): Boolean; cdecl; external Qt4PasLib name 'QStringList_isEmpty'; procedure QStringList_clear(handle: QStringListH); cdecl; external Qt4PasLib name 'QStringList_clear'; procedure QStringList_at(handle: QStringListH; retval: PWideString; i: Integer); cdecl; external Qt4PasLib name 'QStringList_at'; procedure QStringList_append(handle: QStringListH; s: PWideString); cdecl; external Qt4PasLib name 'QStringList_append'; procedure QStringList_prepend(handle: QStringListH; s: PWideString); cdecl; external Qt4PasLib name 'QStringList_prepend'; procedure QStringList_insert(handle: QStringListH; i: Integer; s: PWideString); cdecl; external Qt4PasLib name 'QStringList_insert'; procedure QStringList_replace(handle: QStringListH; i: Integer; s: PWideString); cdecl; external Qt4PasLib name 'QStringList_replace'; procedure QStringList_removeAt(handle: QStringListH; i: Integer); cdecl; external Qt4PasLib name 'QStringList_removeAt'; function QStringList_removeAll(handle: QStringListH; s: PWideString): Integer; cdecl; external Qt4PasLib name 'QStringList_removeAll'; procedure QStringList_takeAt(handle: QStringListH; retval: PWideString; i: Integer); cdecl; external Qt4PasLib name 'QStringList_takeAt'; procedure QStringList_takeFirst(handle: QStringListH; retval: PWideString); cdecl; external Qt4PasLib name 'QStringList_takeFirst'; procedure QStringList_takeLast(handle: QStringListH; retval: PWideString); cdecl; external Qt4PasLib name 'QStringList_takeLast'; procedure QStringList_move(handle: QStringListH; from: Integer; _to: Integer); cdecl; external Qt4PasLib name 'QStringList_move'; procedure QStringList_swap(handle: QStringListH; i: Integer; j: Integer); cdecl; external Qt4PasLib name 'QStringList_swap'; function QRect_create(): QRectH; cdecl; external Qt4PasLib name 'QRect_create'; procedure QRect_destroy(handle: QRectH); cdecl; external Qt4PasLib name 'QRect_destroy'; function QRect_create(topleft: PQtPoint; bottomright: PQtPoint): QRectH; cdecl; external Qt4PasLib name 'QRect_create2'; function QRect_create(topleft: PQtPoint; size: PSize): QRectH; cdecl; external Qt4PasLib name 'QRect_create3'; function QRect_create(left: Integer; top: Integer; width: Integer; height: Integer): QRectH; cdecl; external Qt4PasLib name 'QRect_create4'; function QRect_isNull(handle: QRectH): Boolean; cdecl; external Qt4PasLib name 'QRect_isNull'; function QRect_isEmpty(handle: QRectH): Boolean; cdecl; external Qt4PasLib name 'QRect_isEmpty'; function QRect_isValid(handle: QRectH): Boolean; cdecl; external Qt4PasLib name 'QRect_isValid'; function QRect_left(handle: QRectH): Integer; cdecl; external Qt4PasLib name 'QRect_left'; function QRect_top(handle: QRectH): Integer; cdecl; external Qt4PasLib name 'QRect_top'; function QRect_right(handle: QRectH): Integer; cdecl; external Qt4PasLib name 'QRect_right'; function QRect_bottom(handle: QRectH): Integer; cdecl; external Qt4PasLib name 'QRect_bottom'; procedure QRect_normalized(handle: QRectH; retval: PRect); cdecl; external Qt4PasLib name 'QRect_normalized'; function QRect_x(handle: QRectH): Integer; cdecl; external Qt4PasLib name 'QRect_x'; function QRect_y(handle: QRectH): Integer; cdecl; external Qt4PasLib name 'QRect_y'; procedure QRect_setLeft(handle: QRectH; pos: Integer); cdecl; external Qt4PasLib name 'QRect_setLeft'; procedure QRect_setTop(handle: QRectH; pos: Integer); cdecl; external Qt4PasLib name 'QRect_setTop'; procedure QRect_setRight(handle: QRectH; pos: Integer); cdecl; external Qt4PasLib name 'QRect_setRight'; procedure QRect_setBottom(handle: QRectH; pos: Integer); cdecl; external Qt4PasLib name 'QRect_setBottom'; procedure QRect_setX(handle: QRectH; x: Integer); cdecl; external Qt4PasLib name 'QRect_setX'; procedure QRect_setY(handle: QRectH; y: Integer); cdecl; external Qt4PasLib name 'QRect_setY'; procedure QRect_setTopLeft(handle: QRectH; p: PQtPoint); cdecl; external Qt4PasLib name 'QRect_setTopLeft'; procedure QRect_setBottomRight(handle: QRectH; p: PQtPoint); cdecl; external Qt4PasLib name 'QRect_setBottomRight'; procedure QRect_setTopRight(handle: QRectH; p: PQtPoint); cdecl; external Qt4PasLib name 'QRect_setTopRight'; procedure QRect_setBottomLeft(handle: QRectH; p: PQtPoint); cdecl; external Qt4PasLib name 'QRect_setBottomLeft'; procedure QRect_topLeft(handle: QRectH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QRect_topLeft'; procedure QRect_bottomRight(handle: QRectH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QRect_bottomRight'; procedure QRect_topRight(handle: QRectH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QRect_topRight'; procedure QRect_bottomLeft(handle: QRectH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QRect_bottomLeft'; procedure QRect_center(handle: QRectH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QRect_center'; procedure QRect_moveLeft(handle: QRectH; pos: Integer); cdecl; external Qt4PasLib name 'QRect_moveLeft'; procedure QRect_moveTop(handle: QRectH; pos: Integer); cdecl; external Qt4PasLib name 'QRect_moveTop'; procedure QRect_moveRight(handle: QRectH; pos: Integer); cdecl; external Qt4PasLib name 'QRect_moveRight'; procedure QRect_moveBottom(handle: QRectH; pos: Integer); cdecl; external Qt4PasLib name 'QRect_moveBottom'; procedure QRect_moveTopLeft(handle: QRectH; p: PQtPoint); cdecl; external Qt4PasLib name 'QRect_moveTopLeft'; procedure QRect_moveBottomRight(handle: QRectH; p: PQtPoint); cdecl; external Qt4PasLib name 'QRect_moveBottomRight'; procedure QRect_moveTopRight(handle: QRectH; p: PQtPoint); cdecl; external Qt4PasLib name 'QRect_moveTopRight'; procedure QRect_moveBottomLeft(handle: QRectH; p: PQtPoint); cdecl; external Qt4PasLib name 'QRect_moveBottomLeft'; procedure QRect_moveCenter(handle: QRectH; p: PQtPoint); cdecl; external Qt4PasLib name 'QRect_moveCenter'; procedure QRect_translate(handle: QRectH; dx: Integer; dy: Integer); cdecl; external Qt4PasLib name 'QRect_translate'; procedure QRect_translate(handle: QRectH; p: PQtPoint); cdecl; external Qt4PasLib name 'QRect_translate2'; procedure QRect_translated(handle: QRectH; retval: PRect; dx: Integer; dy: Integer); cdecl; external Qt4PasLib name 'QRect_translated'; procedure QRect_translated(handle: QRectH; retval: PRect; p: PQtPoint); cdecl; external Qt4PasLib name 'QRect_translated2'; procedure QRect_moveTo(handle: QRectH; x: Integer; t: Integer); cdecl; external Qt4PasLib name 'QRect_moveTo'; procedure QRect_moveTo(handle: QRectH; p: PQtPoint); cdecl; external Qt4PasLib name 'QRect_moveTo2'; procedure QRect_setRect(handle: QRectH; x: Integer; y: Integer; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QRect_setRect'; procedure QRect_getRect(handle: QRectH; x: PInteger; y: PInteger; w: PInteger; h: PInteger); cdecl; external Qt4PasLib name 'QRect_getRect'; procedure QRect_setCoords(handle: QRectH; x1: Integer; y1: Integer; x2: Integer; y2: Integer); cdecl; external Qt4PasLib name 'QRect_setCoords'; procedure QRect_getCoords(handle: QRectH; x1: PInteger; y1: PInteger; x2: PInteger; y2: PInteger); cdecl; external Qt4PasLib name 'QRect_getCoords'; procedure QRect_adjust(handle: QRectH; x1: Integer; y1: Integer; x2: Integer; y2: Integer); cdecl; external Qt4PasLib name 'QRect_adjust'; procedure QRect_adjusted(handle: QRectH; retval: PRect; x1: Integer; y1: Integer; x2: Integer; y2: Integer); cdecl; external Qt4PasLib name 'QRect_adjusted'; procedure QRect_size(handle: QRectH; retval: PSize); cdecl; external Qt4PasLib name 'QRect_size'; function QRect_width(handle: QRectH): Integer; cdecl; external Qt4PasLib name 'QRect_width'; function QRect_height(handle: QRectH): Integer; cdecl; external Qt4PasLib name 'QRect_height'; procedure QRect_setWidth(handle: QRectH; w: Integer); cdecl; external Qt4PasLib name 'QRect_setWidth'; procedure QRect_setHeight(handle: QRectH; h: Integer); cdecl; external Qt4PasLib name 'QRect_setHeight'; procedure QRect_setSize(handle: QRectH; s: PSize); cdecl; external Qt4PasLib name 'QRect_setSize'; function QRect_contains(handle: QRectH; p: PQtPoint; proper: Boolean = False): Boolean; cdecl; external Qt4PasLib name 'QRect_contains'; function QRect_contains(handle: QRectH; x: Integer; y: Integer): Boolean; cdecl; external Qt4PasLib name 'QRect_contains2'; function QRect_contains(handle: QRectH; x: Integer; y: Integer; proper: Boolean): Boolean; cdecl; external Qt4PasLib name 'QRect_contains3'; function QRect_contains(handle: QRectH; r: PRect; proper: Boolean = False): Boolean; cdecl; external Qt4PasLib name 'QRect_contains4'; procedure QRect_unite(handle: QRectH; retval: PRect; r: PRect); cdecl; external Qt4PasLib name 'QRect_unite'; procedure QRect_united(handle: QRectH; retval: PRect; other: PRect); cdecl; external Qt4PasLib name 'QRect_united'; procedure QRect_intersect(handle: QRectH; retval: PRect; r: PRect); cdecl; external Qt4PasLib name 'QRect_intersect'; procedure QRect_intersected(handle: QRectH; retval: PRect; other: PRect); cdecl; external Qt4PasLib name 'QRect_intersected'; function QRect_intersects(handle: QRectH; r: PRect): Boolean; cdecl; external Qt4PasLib name 'QRect_intersects'; function QRectF_create(): QRectFH; cdecl; external Qt4PasLib name 'QRectF_create'; procedure QRectF_destroy(handle: QRectFH); cdecl; external Qt4PasLib name 'QRectF_destroy'; function QRectF_create(topleft: PQtPointF; size: QSizeFH): QRectFH; cdecl; external Qt4PasLib name 'QRectF_create2'; function QRectF_create(topleft: PQtPointF; bottomRight: PQtPointF): QRectFH; cdecl; external Qt4PasLib name 'QRectF_create3'; function QRectF_create(left: qreal; top: qreal; width: qreal; height: qreal): QRectFH; cdecl; external Qt4PasLib name 'QRectF_create4'; function QRectF_create(rect: PRect): QRectFH; cdecl; external Qt4PasLib name 'QRectF_create5'; function QRectF_isNull(handle: QRectFH): Boolean; cdecl; external Qt4PasLib name 'QRectF_isNull'; function QRectF_isEmpty(handle: QRectFH): Boolean; cdecl; external Qt4PasLib name 'QRectF_isEmpty'; function QRectF_isValid(handle: QRectFH): Boolean; cdecl; external Qt4PasLib name 'QRectF_isValid'; procedure QRectF_normalized(handle: QRectFH; retval: QRectFH); cdecl; external Qt4PasLib name 'QRectF_normalized'; function QRectF_left(handle: QRectFH): qreal; cdecl; external Qt4PasLib name 'QRectF_left'; function QRectF_top(handle: QRectFH): qreal; cdecl; external Qt4PasLib name 'QRectF_top'; function QRectF_right(handle: QRectFH): qreal; cdecl; external Qt4PasLib name 'QRectF_right'; function QRectF_bottom(handle: QRectFH): qreal; cdecl; external Qt4PasLib name 'QRectF_bottom'; function QRectF_x(handle: QRectFH): qreal; cdecl; external Qt4PasLib name 'QRectF_x'; function QRectF_y(handle: QRectFH): qreal; cdecl; external Qt4PasLib name 'QRectF_y'; procedure QRectF_setLeft(handle: QRectFH; pos: qreal); cdecl; external Qt4PasLib name 'QRectF_setLeft'; procedure QRectF_setTop(handle: QRectFH; pos: qreal); cdecl; external Qt4PasLib name 'QRectF_setTop'; procedure QRectF_setRight(handle: QRectFH; pos: qreal); cdecl; external Qt4PasLib name 'QRectF_setRight'; procedure QRectF_setBottom(handle: QRectFH; pos: qreal); cdecl; external Qt4PasLib name 'QRectF_setBottom'; procedure QRectF_setX(handle: QRectFH; pos: qreal); cdecl; external Qt4PasLib name 'QRectF_setX'; procedure QRectF_setY(handle: QRectFH; pos: qreal); cdecl; external Qt4PasLib name 'QRectF_setY'; procedure QRectF_topLeft(handle: QRectFH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_topLeft'; procedure QRectF_bottomRight(handle: QRectFH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_bottomRight'; procedure QRectF_topRight(handle: QRectFH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_topRight'; procedure QRectF_bottomLeft(handle: QRectFH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_bottomLeft'; procedure QRectF_center(handle: QRectFH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_center'; procedure QRectF_setTopLeft(handle: QRectFH; p: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_setTopLeft'; procedure QRectF_setBottomRight(handle: QRectFH; p: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_setBottomRight'; procedure QRectF_setTopRight(handle: QRectFH; p: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_setTopRight'; procedure QRectF_setBottomLeft(handle: QRectFH; p: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_setBottomLeft'; procedure QRectF_moveLeft(handle: QRectFH; pos: qreal); cdecl; external Qt4PasLib name 'QRectF_moveLeft'; procedure QRectF_moveTop(handle: QRectFH; pos: qreal); cdecl; external Qt4PasLib name 'QRectF_moveTop'; procedure QRectF_moveRight(handle: QRectFH; pos: qreal); cdecl; external Qt4PasLib name 'QRectF_moveRight'; procedure QRectF_moveBottom(handle: QRectFH; pos: qreal); cdecl; external Qt4PasLib name 'QRectF_moveBottom'; procedure QRectF_moveTopLeft(handle: QRectFH; p: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_moveTopLeft'; procedure QRectF_moveBottomRight(handle: QRectFH; p: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_moveBottomRight'; procedure QRectF_moveTopRight(handle: QRectFH; p: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_moveTopRight'; procedure QRectF_moveBottomLeft(handle: QRectFH; p: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_moveBottomLeft'; procedure QRectF_moveCenter(handle: QRectFH; p: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_moveCenter'; procedure QRectF_translate(handle: QRectFH; dx: qreal; dy: qreal); cdecl; external Qt4PasLib name 'QRectF_translate'; procedure QRectF_translate(handle: QRectFH; p: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_translate2'; procedure QRectF_translated(handle: QRectFH; retval: QRectFH; dx: qreal; dy: qreal); cdecl; external Qt4PasLib name 'QRectF_translated'; procedure QRectF_translated(handle: QRectFH; retval: QRectFH; p: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_translated2'; procedure QRectF_moveTo(handle: QRectFH; x: qreal; t: qreal); cdecl; external Qt4PasLib name 'QRectF_moveTo'; procedure QRectF_moveTo(handle: QRectFH; p: PQtPointF); cdecl; external Qt4PasLib name 'QRectF_moveTo2'; procedure QRectF_setRect(handle: QRectFH; x: qreal; y: qreal; w: qreal; h: qreal); cdecl; external Qt4PasLib name 'QRectF_setRect'; procedure QRectF_getRect(handle: QRectFH; x: PQReal; y: PQReal; w: PQReal; h: PQReal); cdecl; external Qt4PasLib name 'QRectF_getRect'; procedure QRectF_setCoords(handle: QRectFH; x1: qreal; y1: qreal; x2: qreal; y2: qreal); cdecl; external Qt4PasLib name 'QRectF_setCoords'; procedure QRectF_getCoords(handle: QRectFH; x1: PQReal; y1: PQReal; x2: PQReal; y2: PQReal); cdecl; external Qt4PasLib name 'QRectF_getCoords'; procedure QRectF_adjust(handle: QRectFH; x1: qreal; y1: qreal; x2: qreal; y2: qreal); cdecl; external Qt4PasLib name 'QRectF_adjust'; procedure QRectF_adjusted(handle: QRectFH; retval: QRectFH; x1: qreal; y1: qreal; x2: qreal; y2: qreal); cdecl; external Qt4PasLib name 'QRectF_adjusted'; procedure QRectF_size(handle: QRectFH; retval: QSizeFH); cdecl; external Qt4PasLib name 'QRectF_size'; function QRectF_width(handle: QRectFH): qreal; cdecl; external Qt4PasLib name 'QRectF_width'; function QRectF_height(handle: QRectFH): qreal; cdecl; external Qt4PasLib name 'QRectF_height'; procedure QRectF_setWidth(handle: QRectFH; w: qreal); cdecl; external Qt4PasLib name 'QRectF_setWidth'; procedure QRectF_setHeight(handle: QRectFH; h: qreal); cdecl; external Qt4PasLib name 'QRectF_setHeight'; procedure QRectF_setSize(handle: QRectFH; s: QSizeFH); cdecl; external Qt4PasLib name 'QRectF_setSize'; function QRectF_contains(handle: QRectFH; p: PQtPointF): Boolean; cdecl; external Qt4PasLib name 'QRectF_contains'; function QRectF_contains(handle: QRectFH; x: qreal; y: qreal): Boolean; cdecl; external Qt4PasLib name 'QRectF_contains2'; function QRectF_contains(handle: QRectFH; r: QRectFH): Boolean; cdecl; external Qt4PasLib name 'QRectF_contains3'; procedure QRectF_unite(handle: QRectFH; retval: QRectFH; r: QRectFH); cdecl; external Qt4PasLib name 'QRectF_unite'; procedure QRectF_united(handle: QRectFH; retval: QRectFH; other: QRectFH); cdecl; external Qt4PasLib name 'QRectF_united'; procedure QRectF_intersect(handle: QRectFH; retval: QRectFH; r: QRectFH); cdecl; external Qt4PasLib name 'QRectF_intersect'; procedure QRectF_intersected(handle: QRectFH; retval: QRectFH; other: QRectFH); cdecl; external Qt4PasLib name 'QRectF_intersected'; function QRectF_intersects(handle: QRectFH; r: QRectFH): Boolean; cdecl; external Qt4PasLib name 'QRectF_intersects'; procedure QRectF_toRect(handle: QRectFH; retval: PRect); cdecl; external Qt4PasLib name 'QRectF_toRect'; procedure QRectF_toAlignedRect(handle: QRectFH; retval: PRect); cdecl; external Qt4PasLib name 'QRectF_toAlignedRect'; type QDateMonthNameType = ( //QDate::MonthNameType (2) QDateDateFormat = 0, QDateStandaloneFormat ); function QDate_create(): QDateH; cdecl; external Qt4PasLib name 'QDate_create'; procedure QDate_destroy(handle: QDateH); cdecl; external Qt4PasLib name 'QDate_destroy'; function QDate_create(y: Integer; m: Integer; d: Integer): QDateH; cdecl; external Qt4PasLib name 'QDate_create2'; function QDate_isNull(handle: QDateH): Boolean; cdecl; external Qt4PasLib name 'QDate_isNull'; function QDate_isValid(handle: QDateH): Boolean; cdecl; external Qt4PasLib name 'QDate_isValid'; function QDate_year(handle: QDateH): Integer; cdecl; external Qt4PasLib name 'QDate_year'; function QDate_month(handle: QDateH): Integer; cdecl; external Qt4PasLib name 'QDate_month'; function QDate_day(handle: QDateH): Integer; cdecl; external Qt4PasLib name 'QDate_day'; function QDate_dayOfWeek(handle: QDateH): Integer; cdecl; external Qt4PasLib name 'QDate_dayOfWeek'; function QDate_dayOfYear(handle: QDateH): Integer; cdecl; external Qt4PasLib name 'QDate_dayOfYear'; function QDate_daysInMonth(handle: QDateH): Integer; cdecl; external Qt4PasLib name 'QDate_daysInMonth'; function QDate_daysInYear(handle: QDateH): Integer; cdecl; external Qt4PasLib name 'QDate_daysInYear'; function QDate_weekNumber(handle: QDateH; yearNum: PInteger = nil): Integer; cdecl; external Qt4PasLib name 'QDate_weekNumber'; procedure QDate_shortMonthName(retval: PWideString; month: Integer); cdecl; external Qt4PasLib name 'QDate_shortMonthName'; procedure QDate_shortMonthName(retval: PWideString; month: Integer; _type: QDateMonthNameType); cdecl; external Qt4PasLib name 'QDate_shortMonthName2'; procedure QDate_shortDayName(retval: PWideString; weekday: Integer); cdecl; external Qt4PasLib name 'QDate_shortDayName'; procedure QDate_shortDayName(retval: PWideString; weekday: Integer; _type: QDateMonthNameType); cdecl; external Qt4PasLib name 'QDate_shortDayName2'; procedure QDate_longMonthName(retval: PWideString; month: Integer); cdecl; external Qt4PasLib name 'QDate_longMonthName'; procedure QDate_longMonthName(retval: PWideString; month: Integer; _type: QDateMonthNameType); cdecl; external Qt4PasLib name 'QDate_longMonthName2'; procedure QDate_longDayName(retval: PWideString; weekday: Integer); cdecl; external Qt4PasLib name 'QDate_longDayName'; procedure QDate_longDayName(retval: PWideString; weekday: Integer; _type: QDateMonthNameType); cdecl; external Qt4PasLib name 'QDate_longDayName2'; procedure QDate_toString(handle: QDateH; retval: PWideString; f: QtDateFormat = QtTextDate); cdecl; external Qt4PasLib name 'QDate_toString'; procedure QDate_toString(handle: QDateH; retval: PWideString; format: PWideString); cdecl; external Qt4PasLib name 'QDate_toString2'; function QDate_setYMD(handle: QDateH; y: Integer; m: Integer; d: Integer): Boolean; cdecl; external Qt4PasLib name 'QDate_setYMD'; function QDate_setDate(handle: QDateH; year: Integer; month: Integer; day: Integer): Boolean; cdecl; external Qt4PasLib name 'QDate_setDate'; procedure QDate_getDate(handle: QDateH; year: PInteger; month: PInteger; day: PInteger); cdecl; external Qt4PasLib name 'QDate_getDate'; procedure QDate_addDays(handle: QDateH; retval: QDateH; days: Integer); cdecl; external Qt4PasLib name 'QDate_addDays'; procedure QDate_addMonths(handle: QDateH; retval: QDateH; months: Integer); cdecl; external Qt4PasLib name 'QDate_addMonths'; procedure QDate_addYears(handle: QDateH; retval: QDateH; years: Integer); cdecl; external Qt4PasLib name 'QDate_addYears'; function QDate_daysTo(handle: QDateH; AnonParam1: QDateH): Integer; cdecl; external Qt4PasLib name 'QDate_daysTo'; procedure QDate_currentDate(retval: QDateH); cdecl; external Qt4PasLib name 'QDate_currentDate'; procedure QDate_fromString(retval: QDateH; s: PWideString; f: QtDateFormat = QtTextDate); cdecl; external Qt4PasLib name 'QDate_fromString'; procedure QDate_fromString(retval: QDateH; s: PWideString; format: PWideString); cdecl; external Qt4PasLib name 'QDate_fromString2'; function QDate_isValid(y: Integer; m: Integer; d: Integer): Boolean; cdecl; external Qt4PasLib name 'QDate_isValid2'; function QDate_isLeapYear(year: Integer): Boolean; cdecl; external Qt4PasLib name 'QDate_isLeapYear'; function QDate_gregorianToJulian(y: Integer; m: Integer; d: Integer): LongWord; cdecl; external Qt4PasLib name 'QDate_gregorianToJulian'; procedure QDate_julianToGregorian(jd: LongWord; y: PInteger; m: PInteger; d: PInteger); cdecl; external Qt4PasLib name 'QDate_julianToGregorian'; procedure QDate_fromJulianDay(retval: QDateH; jd: Integer); cdecl; external Qt4PasLib name 'QDate_fromJulianDay'; function QDate_toJulianDay(handle: QDateH): Integer; cdecl; external Qt4PasLib name 'QDate_toJulianDay'; function QTime_create(): QTimeH; cdecl; external Qt4PasLib name 'QTime_create'; procedure QTime_destroy(handle: QTimeH); cdecl; external Qt4PasLib name 'QTime_destroy'; function QTime_create(h: Integer; m: Integer; s: Integer = 0; ms: Integer = 0): QTimeH; cdecl; external Qt4PasLib name 'QTime_create2'; function QTime_isNull(handle: QTimeH): Boolean; cdecl; external Qt4PasLib name 'QTime_isNull'; function QTime_isValid(handle: QTimeH): Boolean; cdecl; external Qt4PasLib name 'QTime_isValid'; function QTime_hour(handle: QTimeH): Integer; cdecl; external Qt4PasLib name 'QTime_hour'; function QTime_minute(handle: QTimeH): Integer; cdecl; external Qt4PasLib name 'QTime_minute'; function QTime_second(handle: QTimeH): Integer; cdecl; external Qt4PasLib name 'QTime_second'; function QTime_msec(handle: QTimeH): Integer; cdecl; external Qt4PasLib name 'QTime_msec'; procedure QTime_toString(handle: QTimeH; retval: PWideString; f: QtDateFormat = QtTextDate); cdecl; external Qt4PasLib name 'QTime_toString'; procedure QTime_toString(handle: QTimeH; retval: PWideString; format: PWideString); cdecl; external Qt4PasLib name 'QTime_toString2'; function QTime_setHMS(handle: QTimeH; h: Integer; m: Integer; s: Integer; ms: Integer = 0): Boolean; cdecl; external Qt4PasLib name 'QTime_setHMS'; procedure QTime_addSecs(handle: QTimeH; retval: QTimeH; secs: Integer); cdecl; external Qt4PasLib name 'QTime_addSecs'; function QTime_secsTo(handle: QTimeH; AnonParam1: QTimeH): Integer; cdecl; external Qt4PasLib name 'QTime_secsTo'; procedure QTime_addMSecs(handle: QTimeH; retval: QTimeH; ms: Integer); cdecl; external Qt4PasLib name 'QTime_addMSecs'; function QTime_msecsTo(handle: QTimeH; AnonParam1: QTimeH): Integer; cdecl; external Qt4PasLib name 'QTime_msecsTo'; procedure QTime_currentTime(retval: QTimeH); cdecl; external Qt4PasLib name 'QTime_currentTime'; procedure QTime_fromString(retval: QTimeH; s: PWideString; f: QtDateFormat = QtTextDate); cdecl; external Qt4PasLib name 'QTime_fromString'; procedure QTime_fromString(retval: QTimeH; s: PWideString; format: PWideString); cdecl; external Qt4PasLib name 'QTime_fromString2'; function QTime_isValid(h: Integer; m: Integer; s: Integer; ms: Integer = 0): Boolean; cdecl; external Qt4PasLib name 'QTime_isValid2'; procedure QTime_start(handle: QTimeH); cdecl; external Qt4PasLib name 'QTime_start'; function QTime_restart(handle: QTimeH): Integer; cdecl; external Qt4PasLib name 'QTime_restart'; function QTime_elapsed(handle: QTimeH): Integer; cdecl; external Qt4PasLib name 'QTime_elapsed'; function QDateTime_create(): QDateTimeH; cdecl; external Qt4PasLib name 'QDateTime_create'; procedure QDateTime_destroy(handle: QDateTimeH); cdecl; external Qt4PasLib name 'QDateTime_destroy'; function QDateTime_create(AnonParam1: QDateH): QDateTimeH; cdecl; external Qt4PasLib name 'QDateTime_create2'; function QDateTime_create(AnonParam1: QDateH; AnonParam2: QTimeH; spec: QtTimeSpec = QtLocalTime): QDateTimeH; cdecl; external Qt4PasLib name 'QDateTime_create3'; function QDateTime_create(other: QDateTimeH): QDateTimeH; cdecl; external Qt4PasLib name 'QDateTime_create4'; function QDateTime_isNull(handle: QDateTimeH): Boolean; cdecl; external Qt4PasLib name 'QDateTime_isNull'; function QDateTime_isValid(handle: QDateTimeH): Boolean; cdecl; external Qt4PasLib name 'QDateTime_isValid'; procedure QDateTime_date(handle: QDateTimeH; retval: QDateH); cdecl; external Qt4PasLib name 'QDateTime_date'; procedure QDateTime_time(handle: QDateTimeH; retval: QTimeH); cdecl; external Qt4PasLib name 'QDateTime_time'; function QDateTime_timeSpec(handle: QDateTimeH): QtTimeSpec; cdecl; external Qt4PasLib name 'QDateTime_timeSpec'; function QDateTime_toTime_t(handle: QDateTimeH): LongWord; cdecl; external Qt4PasLib name 'QDateTime_toTime_t'; procedure QDateTime_setDate(handle: QDateTimeH; date: QDateH); cdecl; external Qt4PasLib name 'QDateTime_setDate'; procedure QDateTime_setTime(handle: QDateTimeH; time: QTimeH); cdecl; external Qt4PasLib name 'QDateTime_setTime'; procedure QDateTime_setTimeSpec(handle: QDateTimeH; spec: QtTimeSpec); cdecl; external Qt4PasLib name 'QDateTime_setTimeSpec'; procedure QDateTime_setTime_t(handle: QDateTimeH; secsSince1Jan1970UTC: LongWord); cdecl; external Qt4PasLib name 'QDateTime_setTime_t'; procedure QDateTime_toString(handle: QDateTimeH; retval: PWideString; f: QtDateFormat = QtTextDate); cdecl; external Qt4PasLib name 'QDateTime_toString'; procedure QDateTime_toString(handle: QDateTimeH; retval: PWideString; format: PWideString); cdecl; external Qt4PasLib name 'QDateTime_toString2'; procedure QDateTime_addDays(handle: QDateTimeH; retval: QDateTimeH; days: Integer); cdecl; external Qt4PasLib name 'QDateTime_addDays'; procedure QDateTime_addMonths(handle: QDateTimeH; retval: QDateTimeH; months: Integer); cdecl; external Qt4PasLib name 'QDateTime_addMonths'; procedure QDateTime_addYears(handle: QDateTimeH; retval: QDateTimeH; years: Integer); cdecl; external Qt4PasLib name 'QDateTime_addYears'; procedure QDateTime_addSecs(handle: QDateTimeH; retval: QDateTimeH; secs: Integer); cdecl; external Qt4PasLib name 'QDateTime_addSecs'; procedure QDateTime_addMSecs(handle: QDateTimeH; retval: QDateTimeH; msecs: int64); cdecl; external Qt4PasLib name 'QDateTime_addMSecs'; procedure QDateTime_toTimeSpec(handle: QDateTimeH; retval: QDateTimeH; spec: QtTimeSpec); cdecl; external Qt4PasLib name 'QDateTime_toTimeSpec'; procedure QDateTime_toLocalTime(handle: QDateTimeH; retval: QDateTimeH); cdecl; external Qt4PasLib name 'QDateTime_toLocalTime'; procedure QDateTime_toUTC(handle: QDateTimeH; retval: QDateTimeH); cdecl; external Qt4PasLib name 'QDateTime_toUTC'; function QDateTime_daysTo(handle: QDateTimeH; AnonParam1: QDateTimeH): Integer; cdecl; external Qt4PasLib name 'QDateTime_daysTo'; function QDateTime_secsTo(handle: QDateTimeH; AnonParam1: QDateTimeH): Integer; cdecl; external Qt4PasLib name 'QDateTime_secsTo'; procedure QDateTime_setUtcOffset(handle: QDateTimeH; seconds: Integer); cdecl; external Qt4PasLib name 'QDateTime_setUtcOffset'; function QDateTime_utcOffset(handle: QDateTimeH): Integer; cdecl; external Qt4PasLib name 'QDateTime_utcOffset'; procedure QDateTime_currentDateTime(retval: QDateTimeH); cdecl; external Qt4PasLib name 'QDateTime_currentDateTime'; procedure QDateTime_fromString(retval: QDateTimeH; s: PWideString; f: QtDateFormat = QtTextDate); cdecl; external Qt4PasLib name 'QDateTime_fromString'; procedure QDateTime_fromString(retval: QDateTimeH; s: PWideString; format: PWideString); cdecl; external Qt4PasLib name 'QDateTime_fromString2'; procedure QDateTime_fromTime_t(retval: QDateTimeH; secsSince1Jan1970UTC: LongWord); cdecl; external Qt4PasLib name 'QDateTime_fromTime_t'; function QByteArray_create(): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_create'; procedure QByteArray_destroy(handle: QByteArrayH); cdecl; external Qt4PasLib name 'QByteArray_destroy'; function QByteArray_create(AnonParam1: PAnsiChar): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_create2'; function QByteArray_create(AnonParam1: PAnsiChar; size: Integer): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_create3'; function QByteArray_create(size: Integer; c: char): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_create4'; function QByteArray_create(AnonParam1: QByteArrayH): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_create5'; function QByteArray_size(handle: QByteArrayH): Integer; cdecl; external Qt4PasLib name 'QByteArray_size'; function QByteArray_isEmpty(handle: QByteArrayH): Boolean; cdecl; external Qt4PasLib name 'QByteArray_isEmpty'; procedure QByteArray_resize(handle: QByteArrayH; size: Integer); cdecl; external Qt4PasLib name 'QByteArray_resize'; function QByteArray_fill(handle: QByteArrayH; c: char; size: Integer = -1): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_fill'; function QByteArray_capacity(handle: QByteArrayH): Integer; cdecl; external Qt4PasLib name 'QByteArray_capacity'; procedure QByteArray_reserve(handle: QByteArrayH; size: Integer); cdecl; external Qt4PasLib name 'QByteArray_reserve'; procedure QByteArray_squeeze(handle: QByteArrayH); cdecl; external Qt4PasLib name 'QByteArray_squeeze'; function QByteArray_data(handle: QByteArrayH): PAnsiChar; cdecl; external Qt4PasLib name 'QByteArray_data'; function QByteArray_constData(handle: QByteArrayH): PAnsiChar; cdecl; external Qt4PasLib name 'QByteArray_constData'; procedure QByteArray_detach(handle: QByteArrayH); cdecl; external Qt4PasLib name 'QByteArray_detach'; function QByteArray_isDetached(handle: QByteArrayH): Boolean; cdecl; external Qt4PasLib name 'QByteArray_isDetached'; procedure QByteArray_clear(handle: QByteArrayH); cdecl; external Qt4PasLib name 'QByteArray_clear'; function QByteArray_at(handle: QByteArrayH; i: Integer): char; cdecl; external Qt4PasLib name 'QByteArray_at'; function QByteArray_indexOf(handle: QByteArrayH; c: char; from: Integer = 0): Integer; cdecl; external Qt4PasLib name 'QByteArray_indexOf'; function QByteArray_indexOf(handle: QByteArrayH; c: PAnsiChar; from: Integer = 0): Integer; cdecl; external Qt4PasLib name 'QByteArray_indexOf2'; function QByteArray_indexOf(handle: QByteArrayH; a: QByteArrayH; from: Integer = 0): Integer; cdecl; external Qt4PasLib name 'QByteArray_indexOf3'; function QByteArray_lastIndexOf(handle: QByteArrayH; c: char; from: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QByteArray_lastIndexOf'; function QByteArray_lastIndexOf(handle: QByteArrayH; c: PAnsiChar; from: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QByteArray_lastIndexOf2'; function QByteArray_lastIndexOf(handle: QByteArrayH; a: QByteArrayH; from: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QByteArray_lastIndexOf3'; function QByteArray_contains(handle: QByteArrayH; c: char): boolean; cdecl; external Qt4PasLib name 'QByteArray_contains'; function QByteArray_contains(handle: QByteArrayH; a: PAnsiChar): boolean; cdecl; external Qt4PasLib name 'QByteArray_contains2'; function QByteArray_contains(handle: QByteArrayH; a: QByteArrayH): boolean; cdecl; external Qt4PasLib name 'QByteArray_contains3'; function QByteArray_count(handle: QByteArrayH; c: char): Integer; cdecl; external Qt4PasLib name 'QByteArray_count'; function QByteArray_count(handle: QByteArrayH; a: PAnsiChar): Integer; cdecl; external Qt4PasLib name 'QByteArray_count2'; function QByteArray_count(handle: QByteArrayH; a: QByteArrayH): Integer; cdecl; external Qt4PasLib name 'QByteArray_count3'; procedure QByteArray_left(handle: QByteArrayH; retval: QByteArrayH; len: Integer); cdecl; external Qt4PasLib name 'QByteArray_left'; procedure QByteArray_right(handle: QByteArrayH; retval: QByteArrayH; len: Integer); cdecl; external Qt4PasLib name 'QByteArray_right'; procedure QByteArray_mid(handle: QByteArrayH; retval: QByteArrayH; index: Integer; len: Integer = -1); cdecl; external Qt4PasLib name 'QByteArray_mid'; function QByteArray_startsWith(handle: QByteArrayH; a: QByteArrayH): Boolean; cdecl; external Qt4PasLib name 'QByteArray_startsWith'; function QByteArray_startsWith(handle: QByteArrayH; c: char): Boolean; cdecl; external Qt4PasLib name 'QByteArray_startsWith2'; function QByteArray_startsWith(handle: QByteArrayH; c: PAnsiChar): Boolean; cdecl; external Qt4PasLib name 'QByteArray_startsWith3'; function QByteArray_endsWith(handle: QByteArrayH; a: QByteArrayH): Boolean; cdecl; external Qt4PasLib name 'QByteArray_endsWith'; function QByteArray_endsWith(handle: QByteArrayH; c: char): Boolean; cdecl; external Qt4PasLib name 'QByteArray_endsWith2'; function QByteArray_endsWith(handle: QByteArrayH; c: PAnsiChar): Boolean; cdecl; external Qt4PasLib name 'QByteArray_endsWith3'; procedure QByteArray_truncate(handle: QByteArrayH; pos: Integer); cdecl; external Qt4PasLib name 'QByteArray_truncate'; procedure QByteArray_chop(handle: QByteArrayH; n: Integer); cdecl; external Qt4PasLib name 'QByteArray_chop'; procedure QByteArray_toLower(handle: QByteArrayH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QByteArray_toLower'; procedure QByteArray_toUpper(handle: QByteArrayH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QByteArray_toUpper'; procedure QByteArray_trimmed(handle: QByteArrayH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QByteArray_trimmed'; procedure QByteArray_simplified(handle: QByteArrayH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QByteArray_simplified'; procedure QByteArray_leftJustified(handle: QByteArrayH; retval: QByteArrayH; width: Integer; fill: char; truncate: Boolean = False); cdecl; external Qt4PasLib name 'QByteArray_leftJustified'; procedure QByteArray_rightJustified(handle: QByteArrayH; retval: QByteArrayH; width: Integer; fill: char; truncate: Boolean = False); cdecl; external Qt4PasLib name 'QByteArray_rightJustified'; function QByteArray_prepend(handle: QByteArrayH; c: char): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_prepend'; function QByteArray_prepend(handle: QByteArrayH; s: PAnsiChar): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_prepend2'; function QByteArray_prepend(handle: QByteArrayH; a: QByteArrayH): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_prepend3'; function QByteArray_append(handle: QByteArrayH; c: char): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_append'; function QByteArray_append(handle: QByteArrayH; s: PAnsiChar): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_append2'; function QByteArray_append(handle: QByteArrayH; s: PAnsiChar; len: Integer): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_append3'; function QByteArray_append(handle: QByteArrayH; a: QByteArrayH): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_append4'; function QByteArray_insert(handle: QByteArrayH; i: Integer; c: char): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_insert'; function QByteArray_insert(handle: QByteArrayH; i: Integer; s: PAnsiChar): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_insert2'; function QByteArray_insert(handle: QByteArrayH; i: Integer; a: QByteArrayH): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_insert3'; function QByteArray_remove(handle: QByteArrayH; index: Integer; len: Integer): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_remove'; function QByteArray_replace(handle: QByteArrayH; index: Integer; len: Integer; s: PAnsiChar): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_replace'; function QByteArray_replace(handle: QByteArrayH; index: Integer; len: Integer; s: QByteArrayH): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_replace2'; function QByteArray_replace(handle: QByteArrayH; before: char; after: PAnsiChar): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_replace3'; function QByteArray_replace(handle: QByteArrayH; before: char; after: QByteArrayH): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_replace4'; function QByteArray_replace(handle: QByteArrayH; before: PAnsiChar; after: PAnsiChar): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_replace5'; function QByteArray_replace(handle: QByteArrayH; before: PAnsiChar; bsize: Integer; after: PAnsiChar; asize: Integer): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_replace6'; function QByteArray_replace(handle: QByteArrayH; before: QByteArrayH; after: QByteArrayH): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_replace7'; function QByteArray_replace(handle: QByteArrayH; before: QByteArrayH; after: PAnsiChar): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_replace8'; function QByteArray_replace(handle: QByteArrayH; before: PAnsiChar; after: QByteArrayH): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_replace9'; function QByteArray_replace(handle: QByteArrayH; before: char; after: char): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_replace10'; procedure QByteArray_repeated(handle: QByteArrayH; retval: QByteArrayH; times: Integer); cdecl; external Qt4PasLib name 'QByteArray_repeated'; function QByteArray_append(handle: QByteArrayH; s: PWideString): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_append5'; function QByteArray_insert(handle: QByteArrayH; i: Integer; s: PWideString): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_insert4'; function QByteArray_replace(handle: QByteArrayH; before: PWideString; after: PAnsiChar): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_replace11'; function QByteArray_replace(handle: QByteArrayH; c: char; after: PWideString): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_replace12'; function QByteArray_replace(handle: QByteArrayH; before: PWideString; after: QByteArrayH): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_replace13'; function QByteArray_indexOf(handle: QByteArrayH; s: PWideString; from: Integer = 0): Integer; cdecl; external Qt4PasLib name 'QByteArray_indexOf4'; function QByteArray_lastIndexOf(handle: QByteArrayH; s: PWideString; from: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QByteArray_lastIndexOf4'; function QByteArray_toShort(handle: QByteArrayH; ok: PBoolean = nil; base: Integer = 10): ShortInt; cdecl; external Qt4PasLib name 'QByteArray_toShort'; function QByteArray_toUShort(handle: QByteArrayH; ok: PBoolean = nil; base: Integer = 10): Word; cdecl; external Qt4PasLib name 'QByteArray_toUShort'; function QByteArray_toInt(handle: QByteArrayH; ok: PBoolean = nil; base: Integer = 10): Integer; cdecl; external Qt4PasLib name 'QByteArray_toInt'; function QByteArray_toUInt(handle: QByteArrayH; ok: PBoolean = nil; base: Integer = 10): LongWord; cdecl; external Qt4PasLib name 'QByteArray_toUInt'; function QByteArray_toLong(handle: QByteArrayH; ok: PBoolean = nil; base: Integer = 10): Long; cdecl; external Qt4PasLib name 'QByteArray_toLong'; function QByteArray_toULong(handle: QByteArrayH; ok: PBoolean = nil; base: Integer = 10): Longword; cdecl; external Qt4PasLib name 'QByteArray_toULong'; function QByteArray_toLongLong(handle: QByteArrayH; ok: PBoolean = nil; base: Integer = 10): int64; cdecl; external Qt4PasLib name 'QByteArray_toLongLong'; function QByteArray_toULongLong(handle: QByteArrayH; ok: PBoolean = nil; base: Integer = 10): qword; cdecl; external Qt4PasLib name 'QByteArray_toULongLong'; function QByteArray_toFloat(handle: QByteArrayH; ok: PBoolean = nil): Single; cdecl; external Qt4PasLib name 'QByteArray_toFloat'; function QByteArray_toDouble(handle: QByteArrayH; ok: PBoolean = nil): Double; cdecl; external Qt4PasLib name 'QByteArray_toDouble'; procedure QByteArray_toBase64(handle: QByteArrayH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QByteArray_toBase64'; procedure QByteArray_toHex(handle: QByteArrayH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QByteArray_toHex'; procedure QByteArray_toPercentEncoding(handle: QByteArrayH; retval: QByteArrayH; exclude: QByteArrayH; include: QByteArrayH; percent: char); cdecl; external Qt4PasLib name 'QByteArray_toPercentEncoding'; function QByteArray_setNum(handle: QByteArrayH; AnonParam1: ShortInt; base: Integer = 10): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_setNum'; function QByteArray_setNum(handle: QByteArrayH; AnonParam1: Word; base: Integer = 10): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_setNum2'; function QByteArray_setNum(handle: QByteArrayH; AnonParam1: Integer; base: Integer = 10): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_setNum3'; function QByteArray_setNum(handle: QByteArrayH; AnonParam1: LongWord; base: Integer = 10): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_setNum4'; function QByteArray_setNum(handle: QByteArrayH; AnonParam1: int64; base: Integer = 10): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_setNum5'; function QByteArray_setNum(handle: QByteArrayH; AnonParam1: qword; base: Integer = 10): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_setNum6'; function QByteArray_setNum(handle: QByteArrayH; AnonParam1: Single; f: char; prec: Integer = 6): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_setNum7'; function QByteArray_setNum(handle: QByteArrayH; AnonParam1: Double; f: char; prec: Integer = 6): QByteArrayH; cdecl; external Qt4PasLib name 'QByteArray_setNum8'; procedure QByteArray_number(retval: QByteArrayH; AnonParam1: Integer; base: Integer = 10); cdecl; external Qt4PasLib name 'QByteArray_number'; procedure QByteArray_number(retval: QByteArrayH; AnonParam1: LongWord; base: Integer = 10); cdecl; external Qt4PasLib name 'QByteArray_number2'; procedure QByteArray_number(retval: QByteArrayH; AnonParam1: int64; base: Integer = 10); cdecl; external Qt4PasLib name 'QByteArray_number3'; procedure QByteArray_number(retval: QByteArrayH; AnonParam1: qword; base: Integer = 10); cdecl; external Qt4PasLib name 'QByteArray_number4'; procedure QByteArray_number(retval: QByteArrayH; AnonParam1: Double; f: char; prec: Integer = 6); cdecl; external Qt4PasLib name 'QByteArray_number5'; procedure QByteArray_fromRawData(retval: QByteArrayH; AnonParam1: PAnsiChar; size: Integer); cdecl; external Qt4PasLib name 'QByteArray_fromRawData'; procedure QByteArray_fromBase64(retval: QByteArrayH; base64: QByteArrayH); cdecl; external Qt4PasLib name 'QByteArray_fromBase64'; procedure QByteArray_fromHex(retval: QByteArrayH; hexEncoded: QByteArrayH); cdecl; external Qt4PasLib name 'QByteArray_fromHex'; procedure QByteArray_fromPercentEncoding(retval: QByteArrayH; pctEncoded: QByteArrayH; percent: char); cdecl; external Qt4PasLib name 'QByteArray_fromPercentEncoding'; procedure QByteArray_push_back(handle: QByteArrayH; c: char); cdecl; external Qt4PasLib name 'QByteArray_push_back'; procedure QByteArray_push_back(handle: QByteArrayH; c: PAnsiChar); cdecl; external Qt4PasLib name 'QByteArray_push_back2'; procedure QByteArray_push_back(handle: QByteArrayH; a: QByteArrayH); cdecl; external Qt4PasLib name 'QByteArray_push_back3'; procedure QByteArray_push_front(handle: QByteArrayH; c: char); cdecl; external Qt4PasLib name 'QByteArray_push_front'; procedure QByteArray_push_front(handle: QByteArrayH; c: PAnsiChar); cdecl; external Qt4PasLib name 'QByteArray_push_front2'; procedure QByteArray_push_front(handle: QByteArrayH; a: QByteArrayH); cdecl; external Qt4PasLib name 'QByteArray_push_front3'; function QByteArray_count(handle: QByteArrayH): Integer; cdecl; external Qt4PasLib name 'QByteArray_count4'; function QByteArray_length(handle: QByteArrayH): Integer; cdecl; external Qt4PasLib name 'QByteArray_length'; function QByteArray_isNull(handle: QByteArrayH): Boolean; cdecl; external Qt4PasLib name 'QByteArray_isNull'; type QSystemLocaleQueryType = ( // QSystemLocale::QueryType (1) QSystemLocaleLanguageId, QSystemLocaleCountryId, QSystemLocaleDecimalPoint, QSystemLocaleGroupSeparator, QSystemLocaleZeroDigit, QSystemLocaleNegativeSign, QSystemLocaleDateFormatLong, QSystemLocaleDateFormatShort, QSystemLocaleTimeFormatLong, QSystemLocaleTimeFormatShort, QSystemLocaleDayNameLong, QSystemLocaleDayNameShort, QSystemLocaleMonthNameLong, QSystemLocaleMonthNameShort, QSystemLocaleDateToStringLong, QSystemLocaleDateToStringShort, QSystemLocaleTimeToStringLong, QSystemLocaleTimeToStringShort, QSystemLocaleDateTimeFormatLong, QSystemLocaleDateTimeFormatShort, QSystemLocaleDateTimeToStringLong, QSystemLocaleDateTimeToStringShort, QSystemLocaleMeasurementSystem, QSystemLocalePositiveSign, QSystemLocaleAMText, QSystemLocalePMText ); type QLocaleMeasurementSystem = ( // QLocale::MeasurementSystem (1) QLocaleMetricSystem, QLocaleImperialSystem ); QLocaleFormatType = ( // QLocale::FormatType (1) QLocaleLongFormat, QLocaleShortFormat, QLocaleNarrowFormat ); type QLocaleNumberOption = cardinal; // QLocale::NumberOption QLocaleNumberOptions = QLocaleNumberOption; //QFlags<> (3) const QLocaleOmitGroupSeparator = $01; QLocaleRejectGroupSeparator = $02; type QLocaleLanguage = cardinal; // QLocale::Language (4) const QLocaleC = 1 { $1 }; QLocaleAbkhazian = 2 { $2 }; QLocaleAfan = 3 { $3 }; QLocaleAfar = 4 { $4 }; QLocaleAfrikaans = 5 { $5 }; QLocaleAlbanian = 6 { $6 }; QLocaleAmharic = 7 { $7 }; QLocaleArabic = 8 { $8 }; QLocaleArmenian = 9 { $9 }; QLocaleAssamese = 10 { $a }; QLocaleAymara = 11 { $b }; QLocaleAzerbaijani = 12 { $c }; QLocaleBashkir = 13 { $d }; QLocaleBasque = 14 { $e }; QLocaleBengali = 15 { $f }; QLocaleBhutani = 16 { $10 }; QLocaleBihari = 17 { $11 }; QLocaleBislama = 18 { $12 }; QLocaleBreton = 19 { $13 }; QLocaleBulgarian = 20 { $14 }; QLocaleBurmese = 21 { $15 }; QLocaleByelorussian = 22 { $16 }; QLocaleCambodian = 23 { $17 }; QLocaleCatalan = 24 { $18 }; QLocaleChinese = 25 { $19 }; QLocaleCorsican = 26 { $1a }; QLocaleCroatian = 27 { $1b }; QLocaleCzech = 28 { $1c }; QLocaleDanish = 29 { $1d }; QLocaleDutch = 30 { $1e }; QLocaleEnglish = 31 { $1f }; QLocaleEsperanto = 32 { $20 }; QLocaleEstonian = 33 { $21 }; QLocaleFaroese = 34 { $22 }; QLocaleFijiLanguage = 35 { $23 }; QLocaleFinnish = 36 { $24 }; QLocaleFrench = 37 { $25 }; QLocaleFrisian = 38 { $26 }; QLocaleGaelic = 39 { $27 }; QLocaleGalician = 40 { $28 }; QLocaleGeorgian = 41 { $29 }; QLocaleGerman = 42 { $2a }; QLocaleGreek = 43 { $2b }; QLocaleGreenlandic = 44 { $2c }; QLocaleGuarani = 45 { $2d }; QLocaleGujarati = 46 { $2e }; QLocaleHausa = 47 { $2f }; QLocaleHebrew = 48 { $30 }; QLocaleHindi = 49 { $31 }; QLocaleHungarian = 50 { $32 }; QLocaleIcelandic = 51 { $33 }; QLocaleIndonesian = 52 { $34 }; QLocaleInterlingua = 53 { $35 }; QLocaleInterlingue = 54 { $36 }; QLocaleInuktitut = 55 { $37 }; QLocaleInupiak = 56 { $38 }; QLocaleIrish = 57 { $39 }; QLocaleItalian = 58 { $3a }; QLocaleJapanese = 59 { $3b }; QLocaleJavanese = 60 { $3c }; QLocaleKannada = 61 { $3d }; QLocaleKashmiri = 62 { $3e }; QLocaleKazakh = 63 { $3f }; QLocaleKinyarwanda = 64 { $40 }; QLocaleKirghiz = 65 { $41 }; QLocaleKorean = 66 { $42 }; QLocaleKurdish = 67 { $43 }; QLocaleKurundi = 68 { $44 }; QLocaleLaothian = 69 { $45 }; QLocaleLatin = 70 { $46 }; QLocaleLatvian = 71 { $47 }; QLocaleLingala = 72 { $48 }; QLocaleLithuanian = 73 { $49 }; QLocaleMacedonian = 74 { $4a }; QLocaleMalagasy = 75 { $4b }; QLocaleMalay = 76 { $4c }; QLocaleMalayalam = 77 { $4d }; QLocaleMaltese = 78 { $4e }; QLocaleMaori = 79 { $4f }; QLocaleMarathi = 80 { $50 }; QLocaleMoldavian = 81 { $51 }; QLocaleMongolian = 82 { $52 }; QLocaleNauruLanguage = 83 { $53 }; QLocaleNepali = 84 { $54 }; QLocaleNorwegian = 85 { $55 }; QLocaleNorwegianBokmal = 85 { $55 }; QLocaleOccitan = 86 { $56 }; QLocaleOriya = 87 { $57 }; QLocalePashto = 88 { $58 }; QLocalePersian = 89 { $59 }; QLocalePolish = 90 { $5a }; QLocalePortuguese = 91 { $5b }; QLocalePunjabi = 92 { $5c }; QLocaleQuechua = 93 { $5d }; QLocaleRhaetoRomance = 94 { $5e }; QLocaleRomanian = 95 { $5f }; QLocaleRussian = 96 { $60 }; QLocaleSamoan = 97 { $61 }; QLocaleSangho = 98 { $62 }; QLocaleSanskrit = 99 { $63 }; QLocaleSerbian = 100 { $64 }; QLocaleSerboCroatian = 101 { $65 }; QLocaleSesotho = 102 { $66 }; QLocaleSetswana = 103 { $67 }; QLocaleShona = 104 { $68 }; QLocaleSindhi = 105 { $69 }; QLocaleSinghalese = 106 { $6a }; QLocaleSiswati = 107 { $6b }; QLocaleSlovak = 108 { $6c }; QLocaleSlovenian = 109 { $6d }; QLocaleSomali = 110 { $6e }; QLocaleSpanish = 111 { $6f }; QLocaleSundanese = 112 { $70 }; QLocaleSwahili = 113 { $71 }; QLocaleSwedish = 114 { $72 }; QLocaleTagalog = 115 { $73 }; QLocaleTajik = 116 { $74 }; QLocaleTamil = 117 { $75 }; QLocaleTatar = 118 { $76 }; QLocaleTelugu = 119 { $77 }; QLocaleThai = 120 { $78 }; QLocaleTibetan = 121 { $79 }; QLocaleTigrinya = 122 { $7a }; QLocaleTongaLanguage = 123 { $7b }; QLocaleTsonga = 124 { $7c }; QLocaleTurkish = 125 { $7d }; QLocaleTurkmen = 126 { $7e }; QLocaleTwi = 127 { $7f }; QLocaleUigur = 128 { $80 }; QLocaleUkrainian = 129 { $81 }; QLocaleUrdu = 130 { $82 }; QLocaleUzbek = 131 { $83 }; QLocaleVietnamese = 132 { $84 }; QLocaleVolapuk = 133 { $85 }; QLocaleWelsh = 134 { $86 }; QLocaleWolof = 135 { $87 }; QLocaleXhosa = 136 { $88 }; QLocaleYiddish = 137 { $89 }; QLocaleYoruba = 138 { $8a }; QLocaleZhuang = 139 { $8b }; QLocaleZulu = 140 { $8c }; QLocaleNorwegianNynorsk = 141 { $8d }; QLocaleNynorsk = 141 { $8d }; QLocaleBosnian = 142 { $8e }; QLocaleDivehi = 143 { $8f }; QLocaleManx = 144 { $90 }; QLocaleCornish = 145 { $91 }; QLocaleAkan = 146 { $92 }; QLocaleKonkani = 147 { $93 }; QLocaleGa = 148 { $94 }; QLocaleIgbo = 149 { $95 }; QLocaleKamba = 150 { $96 }; QLocaleSyriac = 151 { $97 }; QLocaleBlin = 152 { $98 }; QLocaleGeez = 153 { $99 }; QLocaleKoro = 154 { $9a }; QLocaleSidamo = 155 { $9b }; QLocaleAtsam = 156 { $9c }; QLocaleTigre = 157 { $9d }; QLocaleJju = 158 { $9e }; QLocaleFriulian = 159 { $9f }; QLocaleVenda = 160 { $a0 }; QLocaleEwe = 161 { $a1 }; QLocaleWalamo = 162 { $a2 }; QLocaleHawaiian = 163 { $a3 }; QLocaleTyap = 164 { $a4 }; QLocaleChewa = 165 { $a5 }; QLocaleLastLanguage = 165 { $a5 }; type QLocaleCountry = cardinal; // QLocale::Country (4) const QLocaleAnyCountry = 0 { $0 }; QLocaleAfghanistan = 1 { $1 }; QLocaleAlbania = 2 { $2 }; QLocaleAlgeria = 3 { $3 }; QLocaleAmericanSamoa = 4 { $4 }; QLocaleAndorra = 5 { $5 }; QLocaleAngola = 6 { $6 }; QLocaleAnguilla = 7 { $7 }; QLocaleAntarctica = 8 { $8 }; QLocaleAntiguaAndBarbuda = 9 { $9 }; QLocaleArgentina = 10 { $a }; QLocaleArmenia = 11 { $b }; QLocaleAruba = 12 { $c }; QLocaleAustralia = 13 { $d }; QLocaleAustria = 14 { $e }; QLocaleAzerbaijan = 15 { $f }; QLocaleBahamas = 16 { $10 }; QLocaleBahrain = 17 { $11 }; QLocaleBangladesh = 18 { $12 }; QLocaleBarbados = 19 { $13 }; QLocaleBelarus = 20 { $14 }; QLocaleBelgium = 21 { $15 }; QLocaleBelize = 22 { $16 }; QLocaleBenin = 23 { $17 }; QLocaleBermuda = 24 { $18 }; QLocaleBhutan = 25 { $19 }; QLocaleBolivia = 26 { $1a }; QLocaleBosniaAndHerzegowina = 27 { $1b }; QLocaleBotswana = 28 { $1c }; QLocaleBouvetIsland = 29 { $1d }; QLocaleBrazil = 30 { $1e }; QLocaleBritishIndianOceanTerritory = 31 { $1f }; QLocaleBruneiDarussalam = 32 { $20 }; QLocaleBulgaria = 33 { $21 }; QLocaleBurkinaFaso = 34 { $22 }; QLocaleBurundi = 35 { $23 }; QLocaleCambodia = 36 { $24 }; QLocaleCameroon = 37 { $25 }; QLocaleCanada = 38 { $26 }; QLocaleCapeVerde = 39 { $27 }; QLocaleCaymanIslands = 40 { $28 }; QLocaleCentralAfricanRepublic = 41 { $29 }; QLocaleChad = 42 { $2a }; QLocaleChile = 43 { $2b }; QLocaleChina = 44 { $2c }; QLocaleChristmasIsland = 45 { $2d }; QLocaleCocosIslands = 46 { $2e }; QLocaleColombia = 47 { $2f }; QLocaleComoros = 48 { $30 }; QLocaleDemocraticRepublicOfCongo = 49 { $31 }; QLocalePeoplesRepublicOfCongo = 50 { $32 }; QLocaleCookIslands = 51 { $33 }; QLocaleCostaRica = 52 { $34 }; QLocaleIvoryCoast = 53 { $35 }; QLocaleCroatia = 54 { $36 }; QLocaleCuba = 55 { $37 }; QLocaleCyprus = 56 { $38 }; QLocaleCzechRepublic = 57 { $39 }; QLocaleDenmark = 58 { $3a }; QLocaleDjibouti = 59 { $3b }; QLocaleDominica = 60 { $3c }; QLocaleDominicanRepublic = 61 { $3d }; QLocaleEastTimor = 62 { $3e }; QLocaleEcuador = 63 { $3f }; QLocaleEgypt = 64 { $40 }; QLocaleElSalvador = 65 { $41 }; QLocaleEquatorialGuinea = 66 { $42 }; QLocaleEritrea = 67 { $43 }; QLocaleEstonia = 68 { $44 }; QLocaleEthiopia = 69 { $45 }; QLocaleFalklandIslands = 70 { $46 }; QLocaleFaroeIslands = 71 { $47 }; QLocaleFijiCountry = 72 { $48 }; QLocaleFinland = 73 { $49 }; QLocaleFrance = 74 { $4a }; QLocaleMetropolitanFrance = 75 { $4b }; QLocaleFrenchGuiana = 76 { $4c }; QLocaleFrenchPolynesia = 77 { $4d }; QLocaleFrenchSouthernTerritories = 78 { $4e }; QLocaleGabon = 79 { $4f }; QLocaleGambia = 80 { $50 }; QLocaleGeorgia = 81 { $51 }; QLocaleGermany = 82 { $52 }; QLocaleGhana = 83 { $53 }; QLocaleGibraltar = 84 { $54 }; QLocaleGreece = 85 { $55 }; QLocaleGreenland = 86 { $56 }; QLocaleGrenada = 87 { $57 }; QLocaleGuadeloupe = 88 { $58 }; QLocaleGuam = 89 { $59 }; QLocaleGuatemala = 90 { $5a }; QLocaleGuinea = 91 { $5b }; QLocaleGuineaBissau = 92 { $5c }; QLocaleGuyana = 93 { $5d }; QLocaleHaiti = 94 { $5e }; QLocaleHeardAndMcDonaldIslands = 95 { $5f }; QLocaleHonduras = 96 { $60 }; QLocaleHongKong = 97 { $61 }; QLocaleHungary = 98 { $62 }; QLocaleIceland = 99 { $63 }; QLocaleIndia = 100 { $64 }; QLocaleIndonesia = 101 { $65 }; QLocaleIran = 102 { $66 }; QLocaleIraq = 103 { $67 }; QLocaleIreland = 104 { $68 }; QLocaleIsrael = 105 { $69 }; QLocaleItaly = 106 { $6a }; QLocaleJamaica = 107 { $6b }; QLocaleJapan = 108 { $6c }; QLocaleJordan = 109 { $6d }; QLocaleKazakhstan = 110 { $6e }; QLocaleKenya = 111 { $6f }; QLocaleKiribati = 112 { $70 }; QLocaleDemocraticRepublicOfKorea = 113 { $71 }; QLocaleRepublicOfKorea = 114 { $72 }; QLocaleKuwait = 115 { $73 }; QLocaleKyrgyzstan = 116 { $74 }; QLocaleLao = 117 { $75 }; QLocaleLatvia = 118 { $76 }; QLocaleLebanon = 119 { $77 }; QLocaleLesotho = 120 { $78 }; QLocaleLiberia = 121 { $79 }; QLocaleLibyanArabJamahiriya = 122 { $7a }; QLocaleLiechtenstein = 123 { $7b }; QLocaleLithuania = 124 { $7c }; QLocaleLuxembourg = 125 { $7d }; QLocaleMacau = 126 { $7e }; QLocaleMacedonia = 127 { $7f }; QLocaleMadagascar = 128 { $80 }; QLocaleMalawi = 129 { $81 }; QLocaleMalaysia = 130 { $82 }; QLocaleMaldives = 131 { $83 }; QLocaleMali = 132 { $84 }; QLocaleMalta = 133 { $85 }; QLocaleMarshallIslands = 134 { $86 }; QLocaleMartinique = 135 { $87 }; QLocaleMauritania = 136 { $88 }; QLocaleMauritius = 137 { $89 }; QLocaleMayotte = 138 { $8a }; QLocaleMexico = 139 { $8b }; QLocaleMicronesia = 140 { $8c }; QLocaleMoldova = 141 { $8d }; QLocaleMonaco = 142 { $8e }; QLocaleMongolia = 143 { $8f }; QLocaleMontserrat = 144 { $90 }; QLocaleMorocco = 145 { $91 }; QLocaleMozambique = 146 { $92 }; QLocaleMyanmar = 147 { $93 }; QLocaleNamibia = 148 { $94 }; QLocaleNauruCountry = 149 { $95 }; QLocaleNepal = 150 { $96 }; QLocaleNetherlands = 151 { $97 }; QLocaleNetherlandsAntilles = 152 { $98 }; QLocaleNewCaledonia = 153 { $99 }; QLocaleNewZealand = 154 { $9a }; QLocaleNicaragua = 155 { $9b }; QLocaleNiger = 156 { $9c }; QLocaleNigeria = 157 { $9d }; QLocaleNiue = 158 { $9e }; QLocaleNorfolkIsland = 159 { $9f }; QLocaleNorthernMarianaIslands = 160 { $a0 }; QLocaleNorway = 161 { $a1 }; QLocaleOman = 162 { $a2 }; QLocalePakistan = 163 { $a3 }; QLocalePalau = 164 { $a4 }; QLocalePalestinianTerritory = 165 { $a5 }; QLocalePanama = 166 { $a6 }; QLocalePapuaNewGuinea = 167 { $a7 }; QLocaleParaguay = 168 { $a8 }; QLocalePeru = 169 { $a9 }; QLocalePhilippines = 170 { $aa }; QLocalePitcairn = 171 { $ab }; QLocalePoland = 172 { $ac }; QLocalePortugal = 173 { $ad }; QLocalePuertoRico = 174 { $ae }; QLocaleQatar = 175 { $af }; QLocaleReunion = 176 { $b0 }; QLocaleRomania = 177 { $b1 }; QLocaleRussianFederation = 178 { $b2 }; QLocaleRwanda = 179 { $b3 }; QLocaleSaintKittsAndNevis = 180 { $b4 }; QLocaleStLucia = 181 { $b5 }; QLocaleStVincentAndTheGrenadines = 182 { $b6 }; QLocaleSamoa = 183 { $b7 }; QLocaleSanMarino = 184 { $b8 }; QLocaleSaoTomeAndPrincipe = 185 { $b9 }; QLocaleSaudiArabia = 186 { $ba }; QLocaleSenegal = 187 { $bb }; QLocaleSeychelles = 188 { $bc }; QLocaleSierraLeone = 189 { $bd }; QLocaleSingapore = 190 { $be }; QLocaleSlovakia = 191 { $bf }; QLocaleSlovenia = 192 { $c0 }; QLocaleSolomonIslands = 193 { $c1 }; QLocaleSomalia = 194 { $c2 }; QLocaleSouthAfrica = 195 { $c3 }; QLocaleSouthGeorgiaAndTheSouthSandwichIslands = 196 { $c4 }; QLocaleSpain = 197 { $c5 }; QLocaleSriLanka = 198 { $c6 }; QLocaleStHelena = 199 { $c7 }; QLocaleStPierreAndMiquelon = 200 { $c8 }; QLocaleSudan = 201 { $c9 }; QLocaleSuriname = 202 { $ca }; QLocaleSvalbardAndJanMayenIslands = 203 { $cb }; QLocaleSwaziland = 204 { $cc }; QLocaleSweden = 205 { $cd }; QLocaleSwitzerland = 206 { $ce }; QLocaleSyrianArabRepublic = 207 { $cf }; QLocaleTaiwan = 208 { $d0 }; QLocaleTajikistan = 209 { $d1 }; QLocaleTanzania = 210 { $d2 }; QLocaleThailand = 211 { $d3 }; QLocaleTogo = 212 { $d4 }; QLocaleTokelau = 213 { $d5 }; QLocaleTongaCountry = 214 { $d6 }; QLocaleTrinidadAndTobago = 215 { $d7 }; QLocaleTunisia = 216 { $d8 }; QLocaleTurkey = 217 { $d9 }; QLocaleTurkmenistan = 218 { $da }; QLocaleTurksAndCaicosIslands = 219 { $db }; QLocaleTuvalu = 220 { $dc }; QLocaleUganda = 221 { $dd }; QLocaleUkraine = 222 { $de }; QLocaleUnitedArabEmirates = 223 { $df }; QLocaleUnitedKingdom = 224 { $e0 }; QLocaleUnitedStates = 225 { $e1 }; QLocaleUnitedStatesMinorOutlyingIslands = 226 { $e2 }; QLocaleUruguay = 227 { $e3 }; QLocaleUzbekistan = 228 { $e4 }; QLocaleVanuatu = 229 { $e5 }; QLocaleVaticanCityState = 230 { $e6 }; QLocaleVenezuela = 231 { $e7 }; QLocaleVietNam = 232 { $e8 }; QLocaleBritishVirginIslands = 233 { $e9 }; QLocaleUSVirginIslands = 234 { $ea }; QLocaleWallisAndFutunaIslands = 235 { $eb }; QLocaleWesternSahara = 236 { $ec }; QLocaleYemen = 237 { $ed }; QLocaleYugoslavia = 238 { $ee }; QLocaleZambia = 239 { $ef }; QLocaleZimbabwe = 240 { $f0 }; QLocaleSerbiaAndMontenegro = 241 { $f1 }; QLocaleLastCountry = 241 { $f1 }; function QSystemLocale_create(): QSystemLocaleH; cdecl; external Qt4PasLib name 'QSystemLocale_create'; procedure QSystemLocale_destroy(handle: QSystemLocaleH); cdecl; external Qt4PasLib name 'QSystemLocale_destroy'; procedure QSystemLocale_fallbackLocale(handle: QSystemLocaleH; retval: QLocaleH); cdecl; external Qt4PasLib name 'QSystemLocale_fallbackLocale'; function QLocale_create(): QLocaleH; cdecl; external Qt4PasLib name 'QLocale_create'; procedure QLocale_destroy(handle: QLocaleH); cdecl; external Qt4PasLib name 'QLocale_destroy'; function QLocale_create(name: PWideString): QLocaleH; cdecl; external Qt4PasLib name 'QLocale_create2'; function QLocale_create(language: QLocaleLanguage; country: QLocaleCountry = QLocaleAnyCountry): QLocaleH; cdecl; external Qt4PasLib name 'QLocale_create3'; function QLocale_create(other: QLocaleH): QLocaleH; cdecl; external Qt4PasLib name 'QLocale_create4'; function QLocale_language(handle: QLocaleH): QLocaleLanguage; cdecl; external Qt4PasLib name 'QLocale_language'; function QLocale_country(handle: QLocaleH): QLocaleCountry; cdecl; external Qt4PasLib name 'QLocale_country'; procedure QLocale_name(handle: QLocaleH; retval: PWideString); cdecl; external Qt4PasLib name 'QLocale_name'; function QLocale_toShort(handle: QLocaleH; s: PWideString; ok: PBoolean = nil; base: Integer = 0): ShortInt; cdecl; external Qt4PasLib name 'QLocale_toShort'; function QLocale_toUShort(handle: QLocaleH; s: PWideString; ok: PBoolean = nil; base: Integer = 0): Word; cdecl; external Qt4PasLib name 'QLocale_toUShort'; function QLocale_toInt(handle: QLocaleH; s: PWideString; ok: PBoolean = nil; base: Integer = 0): Integer; cdecl; external Qt4PasLib name 'QLocale_toInt'; function QLocale_toUInt(handle: QLocaleH; s: PWideString; ok: PBoolean = nil; base: Integer = 0): LongWord; cdecl; external Qt4PasLib name 'QLocale_toUInt'; function QLocale_toLongLong(handle: QLocaleH; s: PWideString; ok: PBoolean = nil; base: Integer = 0): int64; cdecl; external Qt4PasLib name 'QLocale_toLongLong'; function QLocale_toULongLong(handle: QLocaleH; s: PWideString; ok: PBoolean = nil; base: Integer = 0): int64; cdecl; external Qt4PasLib name 'QLocale_toULongLong'; function QLocale_toFloat(handle: QLocaleH; s: PWideString; ok: PBoolean = nil): Single; cdecl; external Qt4PasLib name 'QLocale_toFloat'; function QLocale_toDouble(handle: QLocaleH; s: PWideString; ok: PBoolean = nil): Double; cdecl; external Qt4PasLib name 'QLocale_toDouble'; procedure QLocale_toString(handle: QLocaleH; retval: PWideString; i: int64); cdecl; external Qt4PasLib name 'QLocale_toString'; procedure QLocale_toString(handle: QLocaleH; retval: PWideString; i: qword); cdecl; external Qt4PasLib name 'QLocale_toString2'; procedure QLocale_toString(handle: QLocaleH; retval: PWideString; i: ShortInt); cdecl; external Qt4PasLib name 'QLocale_toString3'; procedure QLocale_toString(handle: QLocaleH; retval: PWideString; i: Word); cdecl; external Qt4PasLib name 'QLocale_toString4'; procedure QLocale_toString(handle: QLocaleH; retval: PWideString; i: Integer); cdecl; external Qt4PasLib name 'QLocale_toString5'; procedure QLocale_toString(handle: QLocaleH; retval: PWideString; i: LongWord); cdecl; external Qt4PasLib name 'QLocale_toString6'; procedure QLocale_toString(handle: QLocaleH; retval: PWideString; i: Double; f: char; prec: Integer = 6); cdecl; external Qt4PasLib name 'QLocale_toString7'; procedure QLocale_toString(handle: QLocaleH; retval: PWideString; i: Single; f: char; prec: Integer = 6); cdecl; external Qt4PasLib name 'QLocale_toString8'; procedure QLocale_toString(handle: QLocaleH; retval: PWideString; date: QDateH; formatStr: PWideString); cdecl; external Qt4PasLib name 'QLocale_toString9'; procedure QLocale_toString(handle: QLocaleH; retval: PWideString; date: QDateH; format: QLocaleFormatType = QLocaleLongFormat); cdecl; external Qt4PasLib name 'QLocale_toString10'; procedure QLocale_toString(handle: QLocaleH; retval: PWideString; time: QTimeH; formatStr: PWideString); cdecl; external Qt4PasLib name 'QLocale_toString11'; procedure QLocale_toString(handle: QLocaleH; retval: PWideString; time: QTimeH; format: QLocaleFormatType = QLocaleLongFormat); cdecl; external Qt4PasLib name 'QLocale_toString12'; procedure QLocale_toString(handle: QLocaleH; retval: PWideString; dateTime: QDateTimeH; format: QLocaleFormatType = QLocaleLongFormat); cdecl; external Qt4PasLib name 'QLocale_toString13'; procedure QLocale_toString(handle: QLocaleH; retval: PWideString; dateTime: QDateTimeH; format: PWideString); cdecl; external Qt4PasLib name 'QLocale_toString14'; procedure QLocale_dateFormat(handle: QLocaleH; retval: PWideString; format: QLocaleFormatType = QLocaleLongFormat); cdecl; external Qt4PasLib name 'QLocale_dateFormat'; procedure QLocale_timeFormat(handle: QLocaleH; retval: PWideString; format: QLocaleFormatType = QLocaleLongFormat); cdecl; external Qt4PasLib name 'QLocale_timeFormat'; procedure QLocale_dateTimeFormat(handle: QLocaleH; retval: PWideString; format: QLocaleFormatType = QLocaleLongFormat); cdecl; external Qt4PasLib name 'QLocale_dateTimeFormat'; procedure QLocale_toDate(handle: QLocaleH; retval: QDateH; _string: PWideString; AnonParam2: QLocaleFormatType = QLocaleLongFormat); cdecl; external Qt4PasLib name 'QLocale_toDate'; procedure QLocale_toTime(handle: QLocaleH; retval: QTimeH; _string: PWideString; AnonParam2: QLocaleFormatType = QLocaleLongFormat); cdecl; external Qt4PasLib name 'QLocale_toTime'; procedure QLocale_toDateTime(handle: QLocaleH; retval: QDateTimeH; _string: PWideString; format: QLocaleFormatType = QLocaleLongFormat); cdecl; external Qt4PasLib name 'QLocale_toDateTime'; procedure QLocale_toDate(handle: QLocaleH; retval: QDateH; _string: PWideString; format: PWideString); cdecl; external Qt4PasLib name 'QLocale_toDate2'; procedure QLocale_toTime(handle: QLocaleH; retval: QTimeH; _string: PWideString; format: PWideString); cdecl; external Qt4PasLib name 'QLocale_toTime2'; procedure QLocale_toDateTime(handle: QLocaleH; retval: QDateTimeH; _string: PWideString; format: PWideString); cdecl; external Qt4PasLib name 'QLocale_toDateTime2'; procedure QLocale_decimalPoint(handle: QLocaleH; retval: PWideChar); cdecl; external Qt4PasLib name 'QLocale_decimalPoint'; procedure QLocale_groupSeparator(handle: QLocaleH; retval: PWideChar); cdecl; external Qt4PasLib name 'QLocale_groupSeparator'; procedure QLocale_percent(handle: QLocaleH; retval: PWideChar); cdecl; external Qt4PasLib name 'QLocale_percent'; procedure QLocale_zeroDigit(handle: QLocaleH; retval: PWideChar); cdecl; external Qt4PasLib name 'QLocale_zeroDigit'; procedure QLocale_negativeSign(handle: QLocaleH; retval: PWideChar); cdecl; external Qt4PasLib name 'QLocale_negativeSign'; procedure QLocale_positiveSign(handle: QLocaleH; retval: PWideChar); cdecl; external Qt4PasLib name 'QLocale_positiveSign'; procedure QLocale_exponential(handle: QLocaleH; retval: PWideChar); cdecl; external Qt4PasLib name 'QLocale_exponential'; procedure QLocale_monthName(handle: QLocaleH; retval: PWideString; AnonParam1: Integer; format: QLocaleFormatType = QLocaleLongFormat); cdecl; external Qt4PasLib name 'QLocale_monthName'; procedure QLocale_standaloneMonthName(handle: QLocaleH; retval: PWideString; AnonParam1: Integer; format: QLocaleFormatType = QLocaleLongFormat); cdecl; external Qt4PasLib name 'QLocale_standaloneMonthName'; procedure QLocale_dayName(handle: QLocaleH; retval: PWideString; AnonParam1: Integer; format: QLocaleFormatType = QLocaleLongFormat); cdecl; external Qt4PasLib name 'QLocale_dayName'; procedure QLocale_standaloneDayName(handle: QLocaleH; retval: PWideString; AnonParam1: Integer; format: QLocaleFormatType = QLocaleLongFormat); cdecl; external Qt4PasLib name 'QLocale_standaloneDayName'; procedure QLocale_amText(handle: QLocaleH; retval: PWideString); cdecl; external Qt4PasLib name 'QLocale_amText'; procedure QLocale_pmText(handle: QLocaleH; retval: PWideString); cdecl; external Qt4PasLib name 'QLocale_pmText'; function QLocale_measurementSystem(handle: QLocaleH): QLocaleMeasurementSystem; cdecl; external Qt4PasLib name 'QLocale_measurementSystem'; procedure QLocale_languageToString(retval: PWideString; language: QLocaleLanguage); cdecl; external Qt4PasLib name 'QLocale_languageToString'; procedure QLocale_countryToString(retval: PWideString; country: QLocaleCountry); cdecl; external Qt4PasLib name 'QLocale_countryToString'; procedure QLocale_setDefault(locale: QLocaleH); cdecl; external Qt4PasLib name 'QLocale_setDefault'; procedure QLocale_c(retval: QLocaleH); cdecl; external Qt4PasLib name 'QLocale_c'; procedure QLocale_system(retval: QLocaleH); cdecl; external Qt4PasLib name 'QLocale_system'; procedure QLocale_setNumberOptions(handle: QLocaleH; options: QLocaleNumberOptions); cdecl; external Qt4PasLib name 'QLocale_setNumberOptions'; function QLocale_numberOptions(handle: QLocaleH): QLocaleNumberOptions; cdecl; external Qt4PasLib name 'QLocale_numberOptions'; type QIODeviceOpenModeFlag = cardinal; // QIODevice::OpenModeFlag (4) QIODeviceOpenMode = QIODeviceOpenModeFlag; // QFlags<> const QIODeviceNotOpen = 0 { $0 }; QIODeviceReadOnly = 1 { $1 }; QIODeviceWriteOnly = 2 { $2 }; QIODeviceReadWrite = 3 { $3 }; QIODeviceAppend = 4 { $4 }; QIODeviceTruncate = 8 { $8 }; QIODeviceText = 16 { $10 }; QIODeviceUnbuffered = 32 { $20 }; function QIODevice_openMode(handle: QIODeviceH): QIODeviceOpenMode; cdecl; external Qt4PasLib name 'QIODevice_openMode'; procedure QIODevice_setTextModeEnabled(handle: QIODeviceH; enabled: Boolean); cdecl; external Qt4PasLib name 'QIODevice_setTextModeEnabled'; function QIODevice_isTextModeEnabled(handle: QIODeviceH): Boolean; cdecl; external Qt4PasLib name 'QIODevice_isTextModeEnabled'; function QIODevice_isOpen(handle: QIODeviceH): Boolean; cdecl; external Qt4PasLib name 'QIODevice_isOpen'; function QIODevice_isReadable(handle: QIODeviceH): Boolean; cdecl; external Qt4PasLib name 'QIODevice_isReadable'; function QIODevice_isWritable(handle: QIODeviceH): Boolean; cdecl; external Qt4PasLib name 'QIODevice_isWritable'; function QIODevice_isSequential(handle: QIODeviceH): Boolean; cdecl; external Qt4PasLib name 'QIODevice_isSequential'; function QIODevice_open(handle: QIODeviceH; mode: QIODeviceOpenMode): Boolean; cdecl; external Qt4PasLib name 'QIODevice_open'; procedure QIODevice_close(handle: QIODeviceH); cdecl; external Qt4PasLib name 'QIODevice_close'; function QIODevice_pos(handle: QIODeviceH): int64; cdecl; external Qt4PasLib name 'QIODevice_pos'; function QIODevice_size(handle: QIODeviceH): int64; cdecl; external Qt4PasLib name 'QIODevice_size'; function QIODevice_seek(handle: QIODeviceH; pos: int64): Boolean; cdecl; external Qt4PasLib name 'QIODevice_seek'; function QIODevice_atEnd(handle: QIODeviceH): Boolean; cdecl; external Qt4PasLib name 'QIODevice_atEnd'; function QIODevice_reset(handle: QIODeviceH): Boolean; cdecl; external Qt4PasLib name 'QIODevice_reset'; function QIODevice_bytesAvailable(handle: QIODeviceH): int64; cdecl; external Qt4PasLib name 'QIODevice_bytesAvailable'; function QIODevice_bytesToWrite(handle: QIODeviceH): int64; cdecl; external Qt4PasLib name 'QIODevice_bytesToWrite'; function QIODevice_read(handle: QIODeviceH; data: PAnsiChar; maxlen: int64): int64; cdecl; external Qt4PasLib name 'QIODevice_read'; procedure QIODevice_read(handle: QIODeviceH; retval: QByteArrayH; maxlen: int64); cdecl; external Qt4PasLib name 'QIODevice_read2'; procedure QIODevice_readAll(handle: QIODeviceH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QIODevice_readAll'; function QIODevice_readLine(handle: QIODeviceH; data: PAnsiChar; maxlen: int64): int64; cdecl; external Qt4PasLib name 'QIODevice_readLine'; procedure QIODevice_readLine(handle: QIODeviceH; retval: QByteArrayH; maxlen: int64 = 0); cdecl; external Qt4PasLib name 'QIODevice_readLine2'; function QIODevice_canReadLine(handle: QIODeviceH): Boolean; cdecl; external Qt4PasLib name 'QIODevice_canReadLine'; function QIODevice_write(handle: QIODeviceH; data: PAnsiChar; len: int64): int64; cdecl; external Qt4PasLib name 'QIODevice_write'; function QIODevice_write(handle: QIODeviceH; data: PAnsiChar): int64; cdecl; external Qt4PasLib name 'QIODevice_write2'; function QIODevice_write(handle: QIODeviceH; data: QByteArrayH): int64; cdecl; external Qt4PasLib name 'QIODevice_write3'; function QIODevice_peek(handle: QIODeviceH; data: PAnsiChar; maxlen: int64): int64; cdecl; external Qt4PasLib name 'QIODevice_peek'; procedure QIODevice_peek(handle: QIODeviceH; retval: QByteArrayH; maxlen: int64); cdecl; external Qt4PasLib name 'QIODevice_peek2'; function QIODevice_waitForReadyRead(handle: QIODeviceH; msecs: Integer): Boolean; cdecl; external Qt4PasLib name 'QIODevice_waitForReadyRead'; function QIODevice_waitForBytesWritten(handle: QIODeviceH; msecs: Integer): Boolean; cdecl; external Qt4PasLib name 'QIODevice_waitForBytesWritten'; procedure QIODevice_ungetChar(handle: QIODeviceH; c: char); cdecl; external Qt4PasLib name 'QIODevice_ungetChar'; function QIODevice_putChar(handle: QIODeviceH; c: char): Boolean; cdecl; external Qt4PasLib name 'QIODevice_putChar'; function QIODevice_getChar(handle: QIODeviceH; c: PAnsiChar): Boolean; cdecl; external Qt4PasLib name 'QIODevice_getChar'; procedure QIODevice_errorString(handle: QIODeviceH; retval: PWideString); cdecl; external Qt4PasLib name 'QIODevice_errorString'; type QIODevice_readyRead_Event = procedure () of object cdecl; QIODevice_bytesWritten_Event = procedure (bytes: int64) of object cdecl; QIODevice_aboutToClose_Event = procedure () of object cdecl; QIODevice_readChannelFinished_Event = procedure () of object cdecl; type QProcessProcessError = ( // QProcess::ProcessError (1) QProcessFailedToStart, QProcessCrashed, QProcessTimedout, QProcessReadError, QProcessWriteError, QProcessUnknownError ); QProcessProcessState = ( // QProcess::ProcessState (1) QProcessNotRunning, QProcessStarting, QProcessRunning ); QProcessProcessChannel = ( // QProcess::ProcessChannel (1) QProcessStandardOutput, QProcessStandardError ); QProcessProcessChannelMode = ( // QProcess::ProcessChannelMode (1) QProcessSeparateChannels, QProcessMergedChannels, QProcessForwardedChannels ); QProcessExitStatus = ( // QProcess::ExitStatus (1) QProcessNormalExit, QProcessCrashExit ); function QProcess_create(parent: QObjectH = nil): QProcessH; cdecl; external Qt4PasLib name 'QProcess_create'; procedure QProcess_destroy(handle: QProcessH); cdecl; external Qt4PasLib name 'QProcess_destroy'; procedure QProcess_start(handle: QProcessH; _program: PWideString; arguments: QStringListH; mode: QIODeviceOpenMode); cdecl; external Qt4PasLib name 'QProcess_start'; procedure QProcess_start(handle: QProcessH; _program: PWideString; mode: QIODeviceOpenMode); cdecl; external Qt4PasLib name 'QProcess_start2'; function QProcess_readChannelMode(handle: QProcessH): QProcessProcessChannelMode; cdecl; external Qt4PasLib name 'QProcess_readChannelMode'; procedure QProcess_setReadChannelMode(handle: QProcessH; mode: QProcessProcessChannelMode); cdecl; external Qt4PasLib name 'QProcess_setReadChannelMode'; function QProcess_processChannelMode(handle: QProcessH): QProcessProcessChannelMode; cdecl; external Qt4PasLib name 'QProcess_processChannelMode'; procedure QProcess_setProcessChannelMode(handle: QProcessH; mode: QProcessProcessChannelMode); cdecl; external Qt4PasLib name 'QProcess_setProcessChannelMode'; function QProcess_readChannel(handle: QProcessH): QProcessProcessChannel; cdecl; external Qt4PasLib name 'QProcess_readChannel'; procedure QProcess_setReadChannel(handle: QProcessH; channel: QProcessProcessChannel); cdecl; external Qt4PasLib name 'QProcess_setReadChannel'; procedure QProcess_closeReadChannel(handle: QProcessH; channel: QProcessProcessChannel); cdecl; external Qt4PasLib name 'QProcess_closeReadChannel'; procedure QProcess_closeWriteChannel(handle: QProcessH); cdecl; external Qt4PasLib name 'QProcess_closeWriteChannel'; procedure QProcess_setStandardInputFile(handle: QProcessH; fileName: PWideString); cdecl; external Qt4PasLib name 'QProcess_setStandardInputFile'; procedure QProcess_setStandardOutputFile(handle: QProcessH; fileName: PWideString; mode: QIODeviceOpenMode); cdecl; external Qt4PasLib name 'QProcess_setStandardOutputFile'; procedure QProcess_setStandardErrorFile(handle: QProcessH; fileName: PWideString; mode: QIODeviceOpenMode); cdecl; external Qt4PasLib name 'QProcess_setStandardErrorFile'; procedure QProcess_setStandardOutputProcess(handle: QProcessH; destination: QProcessH); cdecl; external Qt4PasLib name 'QProcess_setStandardOutputProcess'; procedure QProcess_workingDirectory(handle: QProcessH; retval: PWideString); cdecl; external Qt4PasLib name 'QProcess_workingDirectory'; procedure QProcess_setWorkingDirectory(handle: QProcessH; dir: PWideString); cdecl; external Qt4PasLib name 'QProcess_setWorkingDirectory'; procedure QProcess_setEnvironment(handle: QProcessH; environment: QStringListH); cdecl; external Qt4PasLib name 'QProcess_setEnvironment'; procedure QProcess_environment(handle: QProcessH; retval: QStringListH); cdecl; external Qt4PasLib name 'QProcess_environment'; function QProcess_error(handle: QProcessH): QProcessProcessError; cdecl; external Qt4PasLib name 'QProcess_error'; function QProcess_state(handle: QProcessH): QProcessProcessState; cdecl; external Qt4PasLib name 'QProcess_state'; function QProcess_pid(handle: QProcessH): Q_PID; cdecl; external Qt4PasLib name 'QProcess_pid'; function QProcess_waitForStarted(handle: QProcessH; msecs: Integer = 30000): Boolean; cdecl; external Qt4PasLib name 'QProcess_waitForStarted'; function QProcess_waitForReadyRead(handle: QProcessH; msecs: Integer = 30000): Boolean; cdecl; external Qt4PasLib name 'QProcess_waitForReadyRead'; function QProcess_waitForBytesWritten(handle: QProcessH; msecs: Integer = 30000): Boolean; cdecl; external Qt4PasLib name 'QProcess_waitForBytesWritten'; function QProcess_waitForFinished(handle: QProcessH; msecs: Integer = 30000): Boolean; cdecl; external Qt4PasLib name 'QProcess_waitForFinished'; procedure QProcess_readAllStandardOutput(handle: QProcessH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QProcess_readAllStandardOutput'; procedure QProcess_readAllStandardError(handle: QProcessH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QProcess_readAllStandardError'; function QProcess_exitCode(handle: QProcessH): Integer; cdecl; external Qt4PasLib name 'QProcess_exitCode'; function QProcess_exitStatus(handle: QProcessH): QProcessExitStatus; cdecl; external Qt4PasLib name 'QProcess_exitStatus'; function QProcess_bytesAvailable(handle: QProcessH): int64; cdecl; external Qt4PasLib name 'QProcess_bytesAvailable'; function QProcess_bytesToWrite(handle: QProcessH): int64; cdecl; external Qt4PasLib name 'QProcess_bytesToWrite'; function QProcess_isSequential(handle: QProcessH): Boolean; cdecl; external Qt4PasLib name 'QProcess_isSequential'; function QProcess_canReadLine(handle: QProcessH): Boolean; cdecl; external Qt4PasLib name 'QProcess_canReadLine'; procedure QProcess_close(handle: QProcessH); cdecl; external Qt4PasLib name 'QProcess_close'; function QProcess_atEnd(handle: QProcessH): Boolean; cdecl; external Qt4PasLib name 'QProcess_atEnd'; function QProcess_execute(_program: PWideString; arguments: QStringListH): Integer; cdecl; external Qt4PasLib name 'QProcess_execute'; function QProcess_execute(_program: PWideString): Integer; cdecl; external Qt4PasLib name 'QProcess_execute2'; function QProcess_startDetached(_program: PWideString; arguments: QStringListH; workingDirectory: PWideString; pid: pint64 = nil): Boolean; cdecl; external Qt4PasLib name 'QProcess_startDetached'; function QProcess_startDetached(_program: PWideString; arguments: QStringListH): Boolean; cdecl; external Qt4PasLib name 'QProcess_startDetached2'; function QProcess_startDetached(_program: PWideString): Boolean; cdecl; external Qt4PasLib name 'QProcess_startDetached3'; procedure QProcess_systemEnvironment(retval: QStringListH); cdecl; external Qt4PasLib name 'QProcess_systemEnvironment'; procedure QProcess_terminate(handle: QProcessH); cdecl; external Qt4PasLib name 'QProcess_terminate'; procedure QProcess_kill(handle: QProcessH); cdecl; external Qt4PasLib name 'QProcess_kill'; type QProcess_started_Event = procedure () of object cdecl; QProcess_finished_Event = procedure (exitCode: Integer) of object cdecl; QProcess_finished2_Event = procedure (exitCode: Integer; exitStatus: QProcessExitStatus) of object cdecl; QProcess_error_Event = procedure (error: QProcessProcessError) of object cdecl; QProcess_stateChanged_Event = procedure (state: QProcessProcessState) of object cdecl; QProcess_readyReadStandardOutput_Event = procedure () of object cdecl; QProcess_readyReadStandardError_Event = procedure () of object cdecl; type QFileFileError = ( //QFile::FileError (2) QFileNoError = 0, QFileReadError = 1, QFileWriteError = 2, QFileFatalError = 3, QFileResourceError = 4, QFileOpenError = 5, QFileAbortError = 6, QFileTimeOutError = 7, QFileUnspecifiedError = 8, QFileRemoveError = 9, QFileRenameError = 10, QFilePositionError = 11, QFileResizeError = 12, QFilePermissionsError = 13, QFileCopyError = 14 ); type QFilePermission = cardinal; // QFile::Permission QFilePermissions = QFilePermission; //QFlags<> (3) const QFileReadOwner = $4000; QFileWriteOwner = $2000; QFileExeOwner = $1000; QFileReadUser = $0400; QFileWriteUser = $0200; QFileExeUser = $0100; QFileReadGroup = $0040; QFileWriteGroup = $0020; QFileExeGroup = $0010; QFileReadOther = $0004; QFileWriteOther = $0002; QFileExeOther = $0001; type QFileMemoryMapFlags = ( //QFile::MemoryMapFlags (2) QFileNoOptions = 0 ); function QFile_create(): QFileH; cdecl; external Qt4PasLib name 'QFile_create'; procedure QFile_destroy(handle: QFileH); cdecl; external Qt4PasLib name 'QFile_destroy'; function QFile_create(name: PWideString): QFileH; cdecl; external Qt4PasLib name 'QFile_create2'; function QFile_create(parent: QObjectH): QFileH; cdecl; external Qt4PasLib name 'QFile_create3'; function QFile_create(name: PWideString; parent: QObjectH): QFileH; cdecl; external Qt4PasLib name 'QFile_create4'; function QFile_error(handle: QFileH): QFileFileError; cdecl; external Qt4PasLib name 'QFile_error'; procedure QFile_unsetError(handle: QFileH); cdecl; external Qt4PasLib name 'QFile_unsetError'; procedure QFile_fileName(handle: QFileH; retval: PWideString); cdecl; external Qt4PasLib name 'QFile_fileName'; procedure QFile_setFileName(handle: QFileH; name: PWideString); cdecl; external Qt4PasLib name 'QFile_setFileName'; procedure QFile_encodeName(retval: QByteArrayH; fileName: PWideString); cdecl; external Qt4PasLib name 'QFile_encodeName'; procedure QFile_decodeName(retval: PWideString; localFileName: QByteArrayH); cdecl; external Qt4PasLib name 'QFile_decodeName'; procedure QFile_decodeName(retval: PWideString; localFileName: PAnsiChar); cdecl; external Qt4PasLib name 'QFile_decodeName2'; function QFile_exists(handle: QFileH): Boolean; cdecl; external Qt4PasLib name 'QFile_exists'; function QFile_exists(fileName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QFile_exists2'; procedure QFile_readLink(handle: QFileH; retval: PWideString); cdecl; external Qt4PasLib name 'QFile_readLink'; procedure QFile_readLink(retval: PWideString; fileName: PWideString); cdecl; external Qt4PasLib name 'QFile_readLink2'; procedure QFile_symLinkTarget(handle: QFileH; retval: PWideString); cdecl; external Qt4PasLib name 'QFile_symLinkTarget'; procedure QFile_symLinkTarget(retval: PWideString; fileName: PWideString); cdecl; external Qt4PasLib name 'QFile_symLinkTarget2'; function QFile_remove(handle: QFileH): Boolean; cdecl; external Qt4PasLib name 'QFile_remove'; function QFile_remove(fileName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QFile_remove2'; function QFile_rename(handle: QFileH; newName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QFile_rename'; function QFile_rename(oldName: PWideString; newName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QFile_rename2'; function QFile_link(handle: QFileH; newName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QFile_link'; function QFile_link(oldname: PWideString; newName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QFile_link2'; function QFile_copy(handle: QFileH; newName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QFile_copy'; function QFile_copy(fileName: PWideString; newName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QFile_copy2'; function QFile_isSequential(handle: QFileH): Boolean; cdecl; external Qt4PasLib name 'QFile_isSequential'; function QFile_open(handle: QFileH; flags: QIODeviceOpenMode): Boolean; cdecl; external Qt4PasLib name 'QFile_open'; function QFile_open(handle: QFileH; fd: Integer; flags: QIODeviceOpenMode): Boolean; cdecl; external Qt4PasLib name 'QFile_open2'; procedure QFile_close(handle: QFileH); cdecl; external Qt4PasLib name 'QFile_close'; function QFile_size(handle: QFileH): int64; cdecl; external Qt4PasLib name 'QFile_size'; function QFile_pos(handle: QFileH): int64; cdecl; external Qt4PasLib name 'QFile_pos'; function QFile_seek(handle: QFileH; offset: int64): Boolean; cdecl; external Qt4PasLib name 'QFile_seek'; function QFile_atEnd(handle: QFileH): Boolean; cdecl; external Qt4PasLib name 'QFile_atEnd'; function QFile_flush(handle: QFileH): Boolean; cdecl; external Qt4PasLib name 'QFile_flush'; function QFile_resize(handle: QFileH; sz: int64): Boolean; cdecl; external Qt4PasLib name 'QFile_resize'; function QFile_resize(filename: PWideString; sz: int64): Boolean; cdecl; external Qt4PasLib name 'QFile_resize2'; function QFile_permissions(handle: QFileH): QFilePermissions; cdecl; external Qt4PasLib name 'QFile_permissions'; function QFile_permissions(filename: PWideString): QFilePermissions; cdecl; external Qt4PasLib name 'QFile_permissions2'; function QFile_setPermissions(handle: QFileH; permissionSpec: QFilePermissions): Boolean; cdecl; external Qt4PasLib name 'QFile_setPermissions'; function QFile_setPermissions(filename: PWideString; permissionSpec: QFilePermissions): Boolean; cdecl; external Qt4PasLib name 'QFile_setPermissions2'; function QFile_handle(handle: QFileH): Integer; cdecl; external Qt4PasLib name 'QFile_handle'; function QFile_map(handle: QFileH; offset: int64; size: int64; flags: QFileMemoryMapFlags = QFileNoOptions): PByte; cdecl; external Qt4PasLib name 'QFile_map'; function QFile_unmap(handle: QFileH; address: PByte): Boolean; cdecl; external Qt4PasLib name 'QFile_unmap'; function QFile_fileEngine(handle: QFileH): QAbstractFileEngineH; cdecl; external Qt4PasLib name 'QFile_fileEngine'; function QFileInfo_create(): QFileInfoH; cdecl; external Qt4PasLib name 'QFileInfo_create'; procedure QFileInfo_destroy(handle: QFileInfoH); cdecl; external Qt4PasLib name 'QFileInfo_destroy'; function QFileInfo_create(_file: PWideString): QFileInfoH; cdecl; external Qt4PasLib name 'QFileInfo_create2'; function QFileInfo_create(_file: QFileH): QFileInfoH; cdecl; external Qt4PasLib name 'QFileInfo_create3'; function QFileInfo_create(dir: QDirH; _file: PWideString): QFileInfoH; cdecl; external Qt4PasLib name 'QFileInfo_create4'; function QFileInfo_create(fileinfo: QFileInfoH): QFileInfoH; cdecl; external Qt4PasLib name 'QFileInfo_create5'; procedure QFileInfo_setFile(handle: QFileInfoH; _file: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_setFile'; procedure QFileInfo_setFile(handle: QFileInfoH; _file: QFileH); cdecl; external Qt4PasLib name 'QFileInfo_setFile2'; procedure QFileInfo_setFile(handle: QFileInfoH; dir: QDirH; _file: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_setFile3'; function QFileInfo_exists(handle: QFileInfoH): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_exists'; procedure QFileInfo_refresh(handle: QFileInfoH); cdecl; external Qt4PasLib name 'QFileInfo_refresh'; procedure QFileInfo_filePath(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_filePath'; procedure QFileInfo_absoluteFilePath(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_absoluteFilePath'; procedure QFileInfo_canonicalFilePath(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_canonicalFilePath'; procedure QFileInfo_fileName(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_fileName'; procedure QFileInfo_baseName(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_baseName'; procedure QFileInfo_completeBaseName(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_completeBaseName'; procedure QFileInfo_suffix(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_suffix'; procedure QFileInfo_bundleName(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_bundleName'; procedure QFileInfo_completeSuffix(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_completeSuffix'; procedure QFileInfo_path(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_path'; procedure QFileInfo_absolutePath(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_absolutePath'; procedure QFileInfo_canonicalPath(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_canonicalPath'; procedure QFileInfo_dir(handle: QFileInfoH; retval: QDirH); cdecl; external Qt4PasLib name 'QFileInfo_dir'; procedure QFileInfo_absoluteDir(handle: QFileInfoH; retval: QDirH); cdecl; external Qt4PasLib name 'QFileInfo_absoluteDir'; function QFileInfo_isReadable(handle: QFileInfoH): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_isReadable'; function QFileInfo_isWritable(handle: QFileInfoH): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_isWritable'; function QFileInfo_isExecutable(handle: QFileInfoH): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_isExecutable'; function QFileInfo_isHidden(handle: QFileInfoH): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_isHidden'; function QFileInfo_isRelative(handle: QFileInfoH): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_isRelative'; function QFileInfo_isAbsolute(handle: QFileInfoH): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_isAbsolute'; function QFileInfo_makeAbsolute(handle: QFileInfoH): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_makeAbsolute'; function QFileInfo_isFile(handle: QFileInfoH): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_isFile'; function QFileInfo_isDir(handle: QFileInfoH): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_isDir'; function QFileInfo_isSymLink(handle: QFileInfoH): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_isSymLink'; function QFileInfo_isRoot(handle: QFileInfoH): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_isRoot'; function QFileInfo_isBundle(handle: QFileInfoH): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_isBundle'; procedure QFileInfo_readLink(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_readLink'; procedure QFileInfo_symLinkTarget(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_symLinkTarget'; procedure QFileInfo_owner(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_owner'; function QFileInfo_ownerId(handle: QFileInfoH): LongWord; cdecl; external Qt4PasLib name 'QFileInfo_ownerId'; procedure QFileInfo_group(handle: QFileInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileInfo_group'; function QFileInfo_groupId(handle: QFileInfoH): LongWord; cdecl; external Qt4PasLib name 'QFileInfo_groupId'; function QFileInfo_permission(handle: QFileInfoH; permissions: QFilePermissions): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_permission'; function QFileInfo_permissions(handle: QFileInfoH): QFilePermissions; cdecl; external Qt4PasLib name 'QFileInfo_permissions'; function QFileInfo_size(handle: QFileInfoH): int64; cdecl; external Qt4PasLib name 'QFileInfo_size'; procedure QFileInfo_created(handle: QFileInfoH; retval: QDateTimeH); cdecl; external Qt4PasLib name 'QFileInfo_created'; procedure QFileInfo_lastModified(handle: QFileInfoH; retval: QDateTimeH); cdecl; external Qt4PasLib name 'QFileInfo_lastModified'; procedure QFileInfo_lastRead(handle: QFileInfoH; retval: QDateTimeH); cdecl; external Qt4PasLib name 'QFileInfo_lastRead'; procedure QFileInfo_detach(handle: QFileInfoH); cdecl; external Qt4PasLib name 'QFileInfo_detach'; function QFileInfo_caching(handle: QFileInfoH): Boolean; cdecl; external Qt4PasLib name 'QFileInfo_caching'; procedure QFileInfo_setCaching(handle: QFileInfoH; _on: Boolean); cdecl; external Qt4PasLib name 'QFileInfo_setCaching'; type QDirSortFlag = cardinal; // QDir::SortFlag QDirSortFlags = QDirSortFlag; //QFlags<> (3) const QDirName = $00; QDirTime = $01; QDirSize = $02; QDirUnsorted = $03; QDirSortByMask = $03; QDirDirsFirst = $04; QDirReversed = $08; QDirIgnoreCase = $10; QDirDirsLast = $20; QDirLocaleAware = $40; QDirType = $80; QDirNoSort = -1; type QDirFilter = cardinal; // QDir::Filter (4) QDirFilters = QDirFilter; // QFlags<> const QDirDirs = 1 { $1 }; QDirFiles = 2 { $2 }; QDirDrives = 4 { $4 }; QDirNoSymLinks = 8 { $8 }; QDirAllEntries = 7 { $7 }; QDirTypeMask = 15 { $f }; QDirReadable = 16 { $10 }; QDirWritable = 32 { $20 }; QDirExecutable = 64 { $40 }; QDirPermissionMask = 112 { $70 }; QDirModified = 128 { $80 }; QDirHidden = 256 { $100 }; QDirSystem = 512 { $200 }; QDirAccessMask = 1008 { $3f0 }; QDirAllDirs = 1024 { $400 }; QDirCaseSensitive = 2048 { $800 }; QDirNoDotAndDotDot = 4096 { $1000 }; QDirNoFilter = 4294967295 { $ffffffff }; function QDir_create(AnonParam1: QDirH): QDirH; cdecl; external Qt4PasLib name 'QDir_create'; procedure QDir_destroy(handle: QDirH); cdecl; external Qt4PasLib name 'QDir_destroy'; function QDir_create(path: PWideString = nil): QDirH; cdecl; external Qt4PasLib name 'QDir_create2'; function QDir_create(path: PWideString; nameFilter: PWideString; sort: QDirSortFlags; filter: QDirFilters = QDirAllEntries): QDirH; cdecl; external Qt4PasLib name 'QDir_create3'; procedure QDir_setPath(handle: QDirH; path: PWideString); cdecl; external Qt4PasLib name 'QDir_setPath'; procedure QDir_path(handle: QDirH; retval: PWideString); cdecl; external Qt4PasLib name 'QDir_path'; procedure QDir_absolutePath(handle: QDirH; retval: PWideString); cdecl; external Qt4PasLib name 'QDir_absolutePath'; procedure QDir_canonicalPath(handle: QDirH; retval: PWideString); cdecl; external Qt4PasLib name 'QDir_canonicalPath'; procedure QDir_addResourceSearchPath(path: PWideString); cdecl; external Qt4PasLib name 'QDir_addResourceSearchPath'; procedure QDir_setSearchPaths(prefix: PWideString; searchPaths: QStringListH); cdecl; external Qt4PasLib name 'QDir_setSearchPaths'; procedure QDir_addSearchPath(prefix: PWideString; path: PWideString); cdecl; external Qt4PasLib name 'QDir_addSearchPath'; procedure QDir_searchPaths(retval: QStringListH; prefix: PWideString); cdecl; external Qt4PasLib name 'QDir_searchPaths'; procedure QDir_dirName(handle: QDirH; retval: PWideString); cdecl; external Qt4PasLib name 'QDir_dirName'; procedure QDir_filePath(handle: QDirH; retval: PWideString; fileName: PWideString); cdecl; external Qt4PasLib name 'QDir_filePath'; procedure QDir_absoluteFilePath(handle: QDirH; retval: PWideString; fileName: PWideString); cdecl; external Qt4PasLib name 'QDir_absoluteFilePath'; procedure QDir_relativeFilePath(handle: QDirH; retval: PWideString; fileName: PWideString); cdecl; external Qt4PasLib name 'QDir_relativeFilePath'; procedure QDir_toNativeSeparators(retval: PWideString; pathName: PWideString); cdecl; external Qt4PasLib name 'QDir_toNativeSeparators'; procedure QDir_fromNativeSeparators(retval: PWideString; pathName: PWideString); cdecl; external Qt4PasLib name 'QDir_fromNativeSeparators'; function QDir_cd(handle: QDirH; dirName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QDir_cd'; function QDir_cdUp(handle: QDirH): Boolean; cdecl; external Qt4PasLib name 'QDir_cdUp'; procedure QDir_nameFilters(handle: QDirH; retval: QStringListH); cdecl; external Qt4PasLib name 'QDir_nameFilters'; procedure QDir_setNameFilters(handle: QDirH; nameFilters: QStringListH); cdecl; external Qt4PasLib name 'QDir_setNameFilters'; function QDir_filter(handle: QDirH): QDirFilters; cdecl; external Qt4PasLib name 'QDir_filter'; procedure QDir_setFilter(handle: QDirH; filter: QDirFilters); cdecl; external Qt4PasLib name 'QDir_setFilter'; function QDir_sorting(handle: QDirH): QDirSortFlags; cdecl; external Qt4PasLib name 'QDir_sorting'; procedure QDir_setSorting(handle: QDirH; sort: QDirSortFlags); cdecl; external Qt4PasLib name 'QDir_setSorting'; function QDir_count(handle: QDirH): LongWord; cdecl; external Qt4PasLib name 'QDir_count'; procedure QDir_nameFiltersFromString(retval: QStringListH; nameFilter: PWideString); cdecl; external Qt4PasLib name 'QDir_nameFiltersFromString'; procedure QDir_entryList(handle: QDirH; retval: QStringListH; filters: QDirFilters = QDirNoFilter; sort: QDirSortFlags = QDirNoSort); cdecl; external Qt4PasLib name 'QDir_entryList'; procedure QDir_entryList(handle: QDirH; retval: QStringListH; nameFilters: QStringListH; filters: QDirFilters = QDirNoFilter; sort: QDirSortFlags = QDirNoSort); cdecl; external Qt4PasLib name 'QDir_entryList2'; procedure QDir_entryInfoList(handle: QDirH; retval: PPtrIntArray; filters: QDirFilters = QDirNoFilter; sort: QDirSortFlags = QDirNoSort); cdecl; external Qt4PasLib name 'QDir_entryInfoList'; procedure QDir_entryInfoList(handle: QDirH; retval: PPtrIntArray; nameFilters: QStringListH; filters: QDirFilters = QDirNoFilter; sort: QDirSortFlags = QDirNoSort); cdecl; external Qt4PasLib name 'QDir_entryInfoList2'; function QDir_mkdir(handle: QDirH; dirName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QDir_mkdir'; function QDir_rmdir(handle: QDirH; dirName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QDir_rmdir'; function QDir_mkpath(handle: QDirH; dirPath: PWideString): Boolean; cdecl; external Qt4PasLib name 'QDir_mkpath'; function QDir_rmpath(handle: QDirH; dirPath: PWideString): Boolean; cdecl; external Qt4PasLib name 'QDir_rmpath'; function QDir_isReadable(handle: QDirH): Boolean; cdecl; external Qt4PasLib name 'QDir_isReadable'; function QDir_exists(handle: QDirH): Boolean; cdecl; external Qt4PasLib name 'QDir_exists'; function QDir_isRoot(handle: QDirH): Boolean; cdecl; external Qt4PasLib name 'QDir_isRoot'; function QDir_isRelativePath(path: PWideString): Boolean; cdecl; external Qt4PasLib name 'QDir_isRelativePath'; function QDir_isAbsolutePath(path: PWideString): Boolean; cdecl; external Qt4PasLib name 'QDir_isAbsolutePath'; function QDir_isRelative(handle: QDirH): Boolean; cdecl; external Qt4PasLib name 'QDir_isRelative'; function QDir_isAbsolute(handle: QDirH): Boolean; cdecl; external Qt4PasLib name 'QDir_isAbsolute'; function QDir_makeAbsolute(handle: QDirH): Boolean; cdecl; external Qt4PasLib name 'QDir_makeAbsolute'; function QDir_remove(handle: QDirH; fileName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QDir_remove'; function QDir_rename(handle: QDirH; oldName: PWideString; newName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QDir_rename'; function QDir_exists(handle: QDirH; name: PWideString): Boolean; cdecl; external Qt4PasLib name 'QDir_exists2'; procedure QDir_drives(retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QDir_drives'; procedure QDir_separator(retval: PWideChar); cdecl; external Qt4PasLib name 'QDir_separator'; function QDir_setCurrent(path: PWideString): Boolean; cdecl; external Qt4PasLib name 'QDir_setCurrent'; procedure QDir_current(retval: QDirH); cdecl; external Qt4PasLib name 'QDir_current'; procedure QDir_currentPath(retval: PWideString); cdecl; external Qt4PasLib name 'QDir_currentPath'; procedure QDir_home(retval: QDirH); cdecl; external Qt4PasLib name 'QDir_home'; procedure QDir_homePath(retval: PWideString); cdecl; external Qt4PasLib name 'QDir_homePath'; procedure QDir_root(retval: QDirH); cdecl; external Qt4PasLib name 'QDir_root'; procedure QDir_rootPath(retval: PWideString); cdecl; external Qt4PasLib name 'QDir_rootPath'; procedure QDir_temp(retval: QDirH); cdecl; external Qt4PasLib name 'QDir_temp'; procedure QDir_tempPath(retval: PWideString); cdecl; external Qt4PasLib name 'QDir_tempPath'; function QDir_match(filters: QStringListH; fileName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QDir_match'; function QDir_match(filter: PWideString; fileName: PWideString): Boolean; cdecl; external Qt4PasLib name 'QDir_match2'; procedure QDir_cleanPath(retval: PWideString; path: PWideString); cdecl; external Qt4PasLib name 'QDir_cleanPath'; procedure QDir_refresh(handle: QDirH); cdecl; external Qt4PasLib name 'QDir_refresh'; type QUrlParsingMode = ( // QUrl::ParsingMode (1) QUrlTolerantMode, QUrlStrictMode ); type QUrlFormattingOption = cardinal; // QUrl::FormattingOption (4) QUrlFormattingOptions = QUrlFormattingOption; // QFlags<> const QUrlNone = 0 { $0 }; QUrlRemoveScheme = 1 { $1 }; QUrlRemovePassword = 2 { $2 }; QUrlRemoveUserInfo = 6 { $6 }; QUrlRemovePort = 8 { $8 }; QUrlRemoveAuthority = 30 { $1e }; QUrlRemovePath = 32 { $20 }; QUrlRemoveQuery = 64 { $40 }; QUrlRemoveFragment = 128 { $80 }; QUrlStripTrailingSlash = 65536 { $10000 }; function QUrl_create(): QUrlH; cdecl; external Qt4PasLib name 'QUrl_create'; procedure QUrl_destroy(handle: QUrlH); cdecl; external Qt4PasLib name 'QUrl_destroy'; function QUrl_create(url: PWideString): QUrlH; cdecl; external Qt4PasLib name 'QUrl_create2'; function QUrl_create(url: PWideString; mode: QUrlParsingMode): QUrlH; cdecl; external Qt4PasLib name 'QUrl_create3'; function QUrl_create(copy: QUrlH): QUrlH; cdecl; external Qt4PasLib name 'QUrl_create4'; procedure QUrl_setUrl(handle: QUrlH; url: PWideString); cdecl; external Qt4PasLib name 'QUrl_setUrl'; procedure QUrl_setUrl(handle: QUrlH; url: PWideString; mode: QUrlParsingMode); cdecl; external Qt4PasLib name 'QUrl_setUrl2'; procedure QUrl_setEncodedUrl(handle: QUrlH; url: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_setEncodedUrl'; procedure QUrl_setEncodedUrl(handle: QUrlH; url: QByteArrayH; mode: QUrlParsingMode); cdecl; external Qt4PasLib name 'QUrl_setEncodedUrl2'; function QUrl_isValid(handle: QUrlH): Boolean; cdecl; external Qt4PasLib name 'QUrl_isValid'; function QUrl_isEmpty(handle: QUrlH): Boolean; cdecl; external Qt4PasLib name 'QUrl_isEmpty'; procedure QUrl_clear(handle: QUrlH); cdecl; external Qt4PasLib name 'QUrl_clear'; procedure QUrl_setScheme(handle: QUrlH; scheme: PWideString); cdecl; external Qt4PasLib name 'QUrl_setScheme'; procedure QUrl_scheme(handle: QUrlH; retval: PWideString); cdecl; external Qt4PasLib name 'QUrl_scheme'; procedure QUrl_setAuthority(handle: QUrlH; authority: PWideString); cdecl; external Qt4PasLib name 'QUrl_setAuthority'; procedure QUrl_authority(handle: QUrlH; retval: PWideString); cdecl; external Qt4PasLib name 'QUrl_authority'; procedure QUrl_setUserInfo(handle: QUrlH; userInfo: PWideString); cdecl; external Qt4PasLib name 'QUrl_setUserInfo'; procedure QUrl_userInfo(handle: QUrlH; retval: PWideString); cdecl; external Qt4PasLib name 'QUrl_userInfo'; procedure QUrl_setUserName(handle: QUrlH; userName: PWideString); cdecl; external Qt4PasLib name 'QUrl_setUserName'; procedure QUrl_userName(handle: QUrlH; retval: PWideString); cdecl; external Qt4PasLib name 'QUrl_userName'; procedure QUrl_setEncodedUserName(handle: QUrlH; userName: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_setEncodedUserName'; procedure QUrl_encodedUserName(handle: QUrlH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_encodedUserName'; procedure QUrl_setPassword(handle: QUrlH; password: PWideString); cdecl; external Qt4PasLib name 'QUrl_setPassword'; procedure QUrl_password(handle: QUrlH; retval: PWideString); cdecl; external Qt4PasLib name 'QUrl_password'; procedure QUrl_setEncodedPassword(handle: QUrlH; password: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_setEncodedPassword'; procedure QUrl_encodedPassword(handle: QUrlH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_encodedPassword'; procedure QUrl_setHost(handle: QUrlH; host: PWideString); cdecl; external Qt4PasLib name 'QUrl_setHost'; procedure QUrl_host(handle: QUrlH; retval: PWideString); cdecl; external Qt4PasLib name 'QUrl_host'; procedure QUrl_setEncodedHost(handle: QUrlH; host: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_setEncodedHost'; procedure QUrl_encodedHost(handle: QUrlH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_encodedHost'; procedure QUrl_setPort(handle: QUrlH; port: Integer); cdecl; external Qt4PasLib name 'QUrl_setPort'; function QUrl_port(handle: QUrlH): Integer; cdecl; external Qt4PasLib name 'QUrl_port'; function QUrl_port(handle: QUrlH; defaultPort: Integer): Integer; cdecl; external Qt4PasLib name 'QUrl_port2'; procedure QUrl_setPath(handle: QUrlH; path: PWideString); cdecl; external Qt4PasLib name 'QUrl_setPath'; procedure QUrl_path(handle: QUrlH; retval: PWideString); cdecl; external Qt4PasLib name 'QUrl_path'; procedure QUrl_setEncodedPath(handle: QUrlH; path: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_setEncodedPath'; procedure QUrl_encodedPath(handle: QUrlH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_encodedPath'; function QUrl_hasQuery(handle: QUrlH): Boolean; cdecl; external Qt4PasLib name 'QUrl_hasQuery'; procedure QUrl_setEncodedQuery(handle: QUrlH; query: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_setEncodedQuery'; procedure QUrl_encodedQuery(handle: QUrlH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_encodedQuery'; procedure QUrl_setQueryDelimiters(handle: QUrlH; valueDelimiter: char; pairDelimiter: char); cdecl; external Qt4PasLib name 'QUrl_setQueryDelimiters'; function QUrl_queryValueDelimiter(handle: QUrlH): char; cdecl; external Qt4PasLib name 'QUrl_queryValueDelimiter'; function QUrl_queryPairDelimiter(handle: QUrlH): char; cdecl; external Qt4PasLib name 'QUrl_queryPairDelimiter'; procedure QUrl_addQueryItem(handle: QUrlH; key: PWideString; value: PWideString); cdecl; external Qt4PasLib name 'QUrl_addQueryItem'; function QUrl_hasQueryItem(handle: QUrlH; key: PWideString): Boolean; cdecl; external Qt4PasLib name 'QUrl_hasQueryItem'; procedure QUrl_queryItemValue(handle: QUrlH; retval: PWideString; key: PWideString); cdecl; external Qt4PasLib name 'QUrl_queryItemValue'; procedure QUrl_allQueryItemValues(handle: QUrlH; retval: QStringListH; key: PWideString); cdecl; external Qt4PasLib name 'QUrl_allQueryItemValues'; procedure QUrl_removeQueryItem(handle: QUrlH; key: PWideString); cdecl; external Qt4PasLib name 'QUrl_removeQueryItem'; procedure QUrl_removeAllQueryItems(handle: QUrlH; key: PWideString); cdecl; external Qt4PasLib name 'QUrl_removeAllQueryItems'; procedure QUrl_addEncodedQueryItem(handle: QUrlH; key: QByteArrayH; value: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_addEncodedQueryItem'; function QUrl_hasEncodedQueryItem(handle: QUrlH; key: QByteArrayH): Boolean; cdecl; external Qt4PasLib name 'QUrl_hasEncodedQueryItem'; procedure QUrl_encodedQueryItemValue(handle: QUrlH; retval: QByteArrayH; key: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_encodedQueryItemValue'; procedure QUrl_removeEncodedQueryItem(handle: QUrlH; key: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_removeEncodedQueryItem'; procedure QUrl_removeAllEncodedQueryItems(handle: QUrlH; key: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_removeAllEncodedQueryItems'; procedure QUrl_setFragment(handle: QUrlH; fragment: PWideString); cdecl; external Qt4PasLib name 'QUrl_setFragment'; procedure QUrl_fragment(handle: QUrlH; retval: PWideString); cdecl; external Qt4PasLib name 'QUrl_fragment'; procedure QUrl_setEncodedFragment(handle: QUrlH; fragment: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_setEncodedFragment'; procedure QUrl_encodedFragment(handle: QUrlH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_encodedFragment'; function QUrl_hasFragment(handle: QUrlH): Boolean; cdecl; external Qt4PasLib name 'QUrl_hasFragment'; procedure QUrl_resolved(handle: QUrlH; retval: QUrlH; relative: QUrlH); cdecl; external Qt4PasLib name 'QUrl_resolved'; function QUrl_isRelative(handle: QUrlH): Boolean; cdecl; external Qt4PasLib name 'QUrl_isRelative'; function QUrl_isParentOf(handle: QUrlH; url: QUrlH): Boolean; cdecl; external Qt4PasLib name 'QUrl_isParentOf'; procedure QUrl_fromLocalFile(retval: QUrlH; localfile: PWideString); cdecl; external Qt4PasLib name 'QUrl_fromLocalFile'; procedure QUrl_toLocalFile(handle: QUrlH; retval: PWideString); cdecl; external Qt4PasLib name 'QUrl_toLocalFile'; procedure QUrl_toString(handle: QUrlH; retval: PWideString; options: QUrlFormattingOptions = QUrlNone); cdecl; external Qt4PasLib name 'QUrl_toString'; procedure QUrl_toEncoded(handle: QUrlH; retval: QByteArrayH; options: QUrlFormattingOptions = QUrlNone); cdecl; external Qt4PasLib name 'QUrl_toEncoded'; procedure QUrl_fromEncoded(retval: QUrlH; url: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_fromEncoded'; procedure QUrl_fromEncoded(retval: QUrlH; url: QByteArrayH; mode: QUrlParsingMode); cdecl; external Qt4PasLib name 'QUrl_fromEncoded2'; procedure QUrl_detach(handle: QUrlH); cdecl; external Qt4PasLib name 'QUrl_detach'; function QUrl_isDetached(handle: QUrlH): Boolean; cdecl; external Qt4PasLib name 'QUrl_isDetached'; procedure QUrl_fromPercentEncoding(retval: PWideString; AnonParam1: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_fromPercentEncoding'; procedure QUrl_toPercentEncoding(retval: QByteArrayH; AnonParam1: PWideString; exclude: QByteArrayH = nil; include: QByteArrayH = nil); cdecl; external Qt4PasLib name 'QUrl_toPercentEncoding'; procedure QUrl_fromPunycode(retval: PWideString; AnonParam1: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_fromPunycode'; procedure QUrl_toPunycode(retval: QByteArrayH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QUrl_toPunycode'; procedure QUrl_fromAce(retval: PWideString; AnonParam1: QByteArrayH); cdecl; external Qt4PasLib name 'QUrl_fromAce'; procedure QUrl_toAce(retval: QByteArrayH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QUrl_toAce'; procedure QUrl_idnWhitelist(retval: QStringListH); cdecl; external Qt4PasLib name 'QUrl_idnWhitelist'; procedure QUrl_setIdnWhitelist(AnonParam1: QStringListH); cdecl; external Qt4PasLib name 'QUrl_setIdnWhitelist'; procedure QUrl_errorString(handle: QUrlH; retval: PWideString); cdecl; external Qt4PasLib name 'QUrl_errorString'; function QFileSystemWatcher_create(parent: QObjectH = nil): QFileSystemWatcherH; cdecl; external Qt4PasLib name 'QFileSystemWatcher_create'; procedure QFileSystemWatcher_destroy(handle: QFileSystemWatcherH); cdecl; external Qt4PasLib name 'QFileSystemWatcher_destroy'; function QFileSystemWatcher_create(paths: QStringListH; parent: QObjectH = nil): QFileSystemWatcherH; cdecl; external Qt4PasLib name 'QFileSystemWatcher_create2'; procedure QFileSystemWatcher_addPath(handle: QFileSystemWatcherH; _file: PWideString); cdecl; external Qt4PasLib name 'QFileSystemWatcher_addPath'; procedure QFileSystemWatcher_addPaths(handle: QFileSystemWatcherH; files: QStringListH); cdecl; external Qt4PasLib name 'QFileSystemWatcher_addPaths'; procedure QFileSystemWatcher_removePath(handle: QFileSystemWatcherH; _file: PWideString); cdecl; external Qt4PasLib name 'QFileSystemWatcher_removePath'; procedure QFileSystemWatcher_removePaths(handle: QFileSystemWatcherH; files: QStringListH); cdecl; external Qt4PasLib name 'QFileSystemWatcher_removePaths'; procedure QFileSystemWatcher_files(handle: QFileSystemWatcherH; retval: QStringListH); cdecl; external Qt4PasLib name 'QFileSystemWatcher_files'; procedure QFileSystemWatcher_directories(handle: QFileSystemWatcherH; retval: QStringListH); cdecl; external Qt4PasLib name 'QFileSystemWatcher_directories'; type QFileSystemWatcher_fileChanged_Event = procedure (path: PWideString) of object cdecl; QFileSystemWatcher_directoryChanged_Event = procedure (path: PWideString) of object cdecl; type QApplicationType = ( // QApplication::Type (1) QApplicationTty, QApplicationGuiClient, QApplicationGuiServer ); QApplicationColorSpec = ( //QApplication::ColorSpec (2) QApplicationNormalColor = 0, QApplicationCustomColor = 1, QApplicationManyColor = 2 ); function QApplication_create(argc: PInteger; argv: PPAnsiChar; AnonParam3: Integer = QT_VERSION): QApplicationH; cdecl; external Qt4PasLib name 'QApplication_create'; procedure QApplication_destroy(handle: QApplicationH); cdecl; external Qt4PasLib name 'QApplication_destroy'; function QApplication_create(argc: PInteger; argv: PPAnsiChar; GUIenabled: Boolean; AnonParam4: Integer = QT_VERSION): QApplicationH; cdecl; external Qt4PasLib name 'QApplication_create2'; function QApplication_create(argc: PInteger; argv: PPAnsiChar; AnonParam3: QApplicationType; AnonParam4: Integer = QT_VERSION): QApplicationH; cdecl; external Qt4PasLib name 'QApplication_create3'; {$ifdef BINUX } function QApplication_create(dpy: PDisplay; visual: QtHANDLE = 0; cmap: QtHANDLE = 0; AnonParam4: Integer = QT_VERSION): QApplicationH; cdecl; external Qt4PasLib name 'QApplication_create4'; function QApplication_create(dpy: PDisplay; argc: PInteger; argv: PPAnsiChar; visual: QtHANDLE = 0; cmap: QtHANDLE = 0; AnonParam6: Integer = QT_VERSION): QApplicationH; cdecl; external Qt4PasLib name 'QApplication_create5'; {$endif} function QApplication_type(): QApplicationType; cdecl; external Qt4PasLib name 'QApplication_type'; function QApplication_style(): QStyleH; cdecl; external Qt4PasLib name 'QApplication_style'; procedure QApplication_setStyle(AnonParam1: QStyleH); cdecl; external Qt4PasLib name 'QApplication_setStyle'; function QApplication_setStyle(AnonParam1: PWideString): QStyleH; cdecl; external Qt4PasLib name 'QApplication_setStyle2'; function QApplication_colorSpec(): Integer; cdecl; external Qt4PasLib name 'QApplication_colorSpec'; procedure QApplication_setColorSpec(AnonParam1: Integer); cdecl; external Qt4PasLib name 'QApplication_setColorSpec'; procedure QApplication_setGraphicsSystem(AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QApplication_setGraphicsSystem'; function QApplication_overrideCursor(): QCursorH; cdecl; external Qt4PasLib name 'QApplication_overrideCursor'; procedure QApplication_setOverrideCursor(AnonParam1: QCursorH); cdecl; external Qt4PasLib name 'QApplication_setOverrideCursor'; procedure QApplication_changeOverrideCursor(AnonParam1: QCursorH); cdecl; external Qt4PasLib name 'QApplication_changeOverrideCursor'; procedure QApplication_restoreOverrideCursor(); cdecl; external Qt4PasLib name 'QApplication_restoreOverrideCursor'; procedure QApplication_palette(retval: QPaletteH); cdecl; external Qt4PasLib name 'QApplication_palette'; procedure QApplication_palette(retval: QPaletteH; AnonParam1: QWidgetH); cdecl; external Qt4PasLib name 'QApplication_palette2'; procedure QApplication_palette(retval: QPaletteH; className: PAnsiChar); cdecl; external Qt4PasLib name 'QApplication_palette3'; procedure QApplication_setPalette(AnonParam1: QPaletteH; className: PAnsiChar = nil); cdecl; external Qt4PasLib name 'QApplication_setPalette'; procedure QApplication_font(retval: QFontH); cdecl; external Qt4PasLib name 'QApplication_font'; procedure QApplication_font(retval: QFontH; AnonParam1: QWidgetH); cdecl; external Qt4PasLib name 'QApplication_font2'; procedure QApplication_font(retval: QFontH; className: PAnsiChar); cdecl; external Qt4PasLib name 'QApplication_font3'; procedure QApplication_setFont(AnonParam1: QFontH; className: PAnsiChar = nil); cdecl; external Qt4PasLib name 'QApplication_setFont'; procedure QApplication_fontMetrics(retval: QFontMetricsH); cdecl; external Qt4PasLib name 'QApplication_fontMetrics'; procedure QApplication_setWindowIcon(icon: QIconH); cdecl; external Qt4PasLib name 'QApplication_setWindowIcon'; procedure QApplication_windowIcon(retval: QIconH); cdecl; external Qt4PasLib name 'QApplication_windowIcon'; function QApplication_desktop(): QDesktopWidgetH; cdecl; external Qt4PasLib name 'QApplication_desktop'; function QApplication_activePopupWidget(): QWidgetH; cdecl; external Qt4PasLib name 'QApplication_activePopupWidget'; function QApplication_activeModalWidget(): QWidgetH; cdecl; external Qt4PasLib name 'QApplication_activeModalWidget'; function QApplication_clipboard(): QClipboardH; cdecl; external Qt4PasLib name 'QApplication_clipboard'; function QApplication_focusWidget(): QWidgetH; cdecl; external Qt4PasLib name 'QApplication_focusWidget'; function QApplication_activeWindow(): QWidgetH; cdecl; external Qt4PasLib name 'QApplication_activeWindow'; procedure QApplication_setActiveWindow(act: QWidgetH); cdecl; external Qt4PasLib name 'QApplication_setActiveWindow'; function QApplication_widgetAt(p: PQtPoint): QWidgetH; cdecl; external Qt4PasLib name 'QApplication_widgetAt'; function QApplication_widgetAt(x: Integer; y: Integer): QWidgetH; cdecl; external Qt4PasLib name 'QApplication_widgetAt2'; function QApplication_topLevelAt(p: PQtPoint): QWidgetH; cdecl; external Qt4PasLib name 'QApplication_topLevelAt'; function QApplication_topLevelAt(x: Integer; y: Integer): QWidgetH; cdecl; external Qt4PasLib name 'QApplication_topLevelAt2'; procedure QApplication_syncX(); cdecl; external Qt4PasLib name 'QApplication_syncX'; procedure QApplication_beep(); cdecl; external Qt4PasLib name 'QApplication_beep'; procedure QApplication_alert(widget: QWidgetH; duration: Integer = 0); cdecl; external Qt4PasLib name 'QApplication_alert'; function QApplication_keyboardModifiers(): QtKeyboardModifiers; cdecl; external Qt4PasLib name 'QApplication_keyboardModifiers'; function QApplication_mouseButtons(): QtMouseButtons; cdecl; external Qt4PasLib name 'QApplication_mouseButtons'; procedure QApplication_setDesktopSettingsAware(AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QApplication_setDesktopSettingsAware'; function QApplication_desktopSettingsAware(): Boolean; cdecl; external Qt4PasLib name 'QApplication_desktopSettingsAware'; procedure QApplication_setCursorFlashTime(AnonParam1: Integer); cdecl; external Qt4PasLib name 'QApplication_setCursorFlashTime'; function QApplication_cursorFlashTime(): Integer; cdecl; external Qt4PasLib name 'QApplication_cursorFlashTime'; procedure QApplication_setDoubleClickInterval(AnonParam1: Integer); cdecl; external Qt4PasLib name 'QApplication_setDoubleClickInterval'; function QApplication_doubleClickInterval(): Integer; cdecl; external Qt4PasLib name 'QApplication_doubleClickInterval'; procedure QApplication_setKeyboardInputInterval(AnonParam1: Integer); cdecl; external Qt4PasLib name 'QApplication_setKeyboardInputInterval'; function QApplication_keyboardInputInterval(): Integer; cdecl; external Qt4PasLib name 'QApplication_keyboardInputInterval'; procedure QApplication_setWheelScrollLines(AnonParam1: Integer); cdecl; external Qt4PasLib name 'QApplication_setWheelScrollLines'; function QApplication_wheelScrollLines(): Integer; cdecl; external Qt4PasLib name 'QApplication_wheelScrollLines'; procedure QApplication_setGlobalStrut(AnonParam1: PSize); cdecl; external Qt4PasLib name 'QApplication_setGlobalStrut'; procedure QApplication_globalStrut(retval: PSize); cdecl; external Qt4PasLib name 'QApplication_globalStrut'; procedure QApplication_setStartDragTime(ms: Integer); cdecl; external Qt4PasLib name 'QApplication_setStartDragTime'; function QApplication_startDragTime(): Integer; cdecl; external Qt4PasLib name 'QApplication_startDragTime'; procedure QApplication_setStartDragDistance(l: Integer); cdecl; external Qt4PasLib name 'QApplication_setStartDragDistance'; function QApplication_startDragDistance(): Integer; cdecl; external Qt4PasLib name 'QApplication_startDragDistance'; procedure QApplication_setLayoutDirection(direction: QtLayoutDirection); cdecl; external Qt4PasLib name 'QApplication_setLayoutDirection'; function QApplication_layoutDirection(): QtLayoutDirection; cdecl; external Qt4PasLib name 'QApplication_layoutDirection'; function QApplication_isRightToLeft(): Boolean; cdecl; external Qt4PasLib name 'QApplication_isRightToLeft'; function QApplication_isLeftToRight(): Boolean; cdecl; external Qt4PasLib name 'QApplication_isLeftToRight'; function QApplication_isEffectEnabled(AnonParam1: QtUIEffect): Boolean; cdecl; external Qt4PasLib name 'QApplication_isEffectEnabled'; procedure QApplication_setEffectEnabled(AnonParam1: QtUIEffect; enable: Boolean = True); cdecl; external Qt4PasLib name 'QApplication_setEffectEnabled'; {$ifdef BINUX } function QApplication_x11EventFilter(handle: QApplicationH; AnonParam1: PEvent): Boolean; cdecl; external Qt4PasLib name 'QApplication_x11EventFilter'; function QApplication_x11ClientMessage(handle: QApplicationH; AnonParam1: QWidgetH; AnonParam2: PEvent; passive_only: Boolean): Integer; cdecl; external Qt4PasLib name 'QApplication_x11ClientMessage'; function QApplication_x11ProcessEvent(handle: QApplicationH; AnonParam1: PEvent): Integer; cdecl; external Qt4PasLib name 'QApplication_x11ProcessEvent'; {$endif} {$ifdef BINUX or MSWINDOWS or DARWIN } function QApplication_isSessionRestored(handle: QApplicationH): Boolean; cdecl; external Qt4PasLib name 'QApplication_isSessionRestored'; procedure QApplication_sessionId(handle: QApplicationH; retval: PWideString); cdecl; external Qt4PasLib name 'QApplication_sessionId'; procedure QApplication_sessionKey(handle: QApplicationH; retval: PWideString); cdecl; external Qt4PasLib name 'QApplication_sessionKey'; procedure QApplication_commitData(handle: QApplicationH; sm: QSessionManagerH); cdecl; external Qt4PasLib name 'QApplication_commitData'; procedure QApplication_saveState(handle: QApplicationH; sm: QSessionManagerH); cdecl; external Qt4PasLib name 'QApplication_saveState'; {$endif} procedure QApplication_setInputContext(handle: QApplicationH; AnonParam1: QInputContextH); cdecl; external Qt4PasLib name 'QApplication_setInputContext'; function QApplication_inputContext(handle: QApplicationH): QInputContextH; cdecl; external Qt4PasLib name 'QApplication_inputContext'; procedure QApplication_keyboardInputLocale(retval: QLocaleH); cdecl; external Qt4PasLib name 'QApplication_keyboardInputLocale'; function QApplication_keyboardInputDirection(): QtLayoutDirection; cdecl; external Qt4PasLib name 'QApplication_keyboardInputDirection'; function QApplication_exec(): Integer; cdecl; external Qt4PasLib name 'QApplication_exec'; function QApplication_notify(handle: QApplicationH; AnonParam1: QObjectH; AnonParam2: QEventH): Boolean; cdecl; external Qt4PasLib name 'QApplication_notify'; procedure QApplication_setQuitOnLastWindowClosed(quit: Boolean); cdecl; external Qt4PasLib name 'QApplication_setQuitOnLastWindowClosed'; function QApplication_quitOnLastWindowClosed(): Boolean; cdecl; external Qt4PasLib name 'QApplication_quitOnLastWindowClosed'; procedure QApplication_styleSheet(handle: QApplicationH; retval: PWideString); cdecl; external Qt4PasLib name 'QApplication_styleSheet'; procedure QApplication_setStyleSheet(handle: QApplicationH; sheet: PWideString); cdecl; external Qt4PasLib name 'QApplication_setStyleSheet'; procedure QApplication_closeAllWindows(); cdecl; external Qt4PasLib name 'QApplication_closeAllWindows'; procedure QApplication_aboutQt(); cdecl; external Qt4PasLib name 'QApplication_aboutQt'; {$ifdef MSWINDOWS } procedure QApplication_winFocus(handle: QApplicationH; AnonParam1: QWidgetH; AnonParam2: Boolean); cdecl; external Qt4PasLib name 'QApplication_winFocus'; procedure QApplication_winMouseButtonUp(); cdecl; external Qt4PasLib name 'QApplication_winMouseButtonUp'; {$endif} {$ifdef DARWIN } function QApplication_macEventFilter(handle: QApplicationH; AnonParam1: EventHandlerCallRef; AnonParam2: EventRef): Boolean; cdecl; external Qt4PasLib name 'QApplication_macEventFilter'; {$endif} {$ifdef QTOPIA } function QApplication_qwsEventFilter(handle: QApplicationH; AnonParam1: QWSEventH): Boolean; cdecl; external Qt4PasLib name 'QApplication_qwsEventFilter'; function QApplication_qwsProcessEvent(handle: QApplicationH; AnonParam1: QWSEventH): Integer; cdecl; external Qt4PasLib name 'QApplication_qwsProcessEvent'; procedure QApplication_qwsSetCustomColors(handle: QApplicationH; colortable: PQRgb; start: Integer; numColors: Integer); cdecl; external Qt4PasLib name 'QApplication_qwsSetCustomColors'; function QApplication_qwsDecoration(): QDecorationH; cdecl; external Qt4PasLib name 'QApplication_qwsDecoration'; procedure QApplication_qwsSetDecoration(AnonParam1: QDecorationH); cdecl; external Qt4PasLib name 'QApplication_qwsSetDecoration'; function QApplication_qwsSetDecoration(decoration: PWideString): QDecorationH; cdecl; external Qt4PasLib name 'QApplication_qwsSetDecoration2'; {$endif} type QApplication_lastWindowClosed_Event = procedure () of object cdecl; QApplication_focusChanged_Event = procedure (old: QWidgetH; now: QWidgetH) of object cdecl; QApplication_fontDatabaseChanged_Event = procedure () of object cdecl; {$ifdef BINUX or MSWINDOWS or DARWIN } QApplication_commitDataRequest_Event = procedure (sessionManager: QSessionManagerH) of object cdecl; QApplication_saveStateRequest_Event = procedure (sessionManager: QSessionManagerH) of object cdecl; {$endif} procedure QWhatsThis_enterWhatsThisMode(); cdecl; external Qt4PasLib name 'QWhatsThis_enterWhatsThisMode'; function QWhatsThis_inWhatsThisMode(): Boolean; cdecl; external Qt4PasLib name 'QWhatsThis_inWhatsThisMode'; procedure QWhatsThis_leaveWhatsThisMode(); cdecl; external Qt4PasLib name 'QWhatsThis_leaveWhatsThisMode'; procedure QWhatsThis_showText(pos: PQtPoint; text: PWideString; w: QWidgetH = nil); cdecl; external Qt4PasLib name 'QWhatsThis_showText'; procedure QWhatsThis_hideText(); cdecl; external Qt4PasLib name 'QWhatsThis_hideText'; function QWhatsThis_createAction(parent: QObjectH = nil): QActionH; cdecl; external Qt4PasLib name 'QWhatsThis_createAction'; type QPaletteColorGroup = cardinal; // QPalette::ColorGroup (4) const QPaletteActive = 0 { $0 }; QPaletteDisabled = 1 { $1 }; QPaletteInactive = 2 { $2 }; QPaletteNColorGroups = 3 { $3 }; QPaletteCurrent = 4 { $4 }; QPaletteAll = 5 { $5 }; QPaletteNormal = 0 { $0 }; type QPaletteColorRole = cardinal; // QPalette::ColorRole (4) const QPaletteWindowText = 0 { $0 }; QPaletteButton = 1 { $1 }; QPaletteLight = 2 { $2 }; QPaletteMidlight = 3 { $3 }; QPaletteDark = 4 { $4 }; QPaletteMid = 5 { $5 }; QPaletteText = 6 { $6 }; QPaletteBrightText = 7 { $7 }; QPaletteButtonText = 8 { $8 }; QPaletteBase = 9 { $9 }; QPaletteWindow = 10 { $a }; QPaletteShadow = 11 { $b }; QPaletteHighlight = 12 { $c }; QPaletteHighlightedText = 13 { $d }; QPaletteLink = 14 { $e }; QPaletteLinkVisited = 15 { $f }; QPaletteAlternateBase = 16 { $10 }; QPaletteNoRole = 17 { $11 }; QPaletteToolTipBase = 18 { $12 }; QPaletteToolTipText = 19 { $13 }; QPaletteNColorRoles = 20 { $14 }; QPaletteForeground = 0 { $0 }; QPaletteBackground = 10 { $a }; function QPalette_create(): QPaletteH; cdecl; external Qt4PasLib name 'QPalette_create'; procedure QPalette_destroy(handle: QPaletteH); cdecl; external Qt4PasLib name 'QPalette_destroy'; function QPalette_create(button: PQColor): QPaletteH; cdecl; external Qt4PasLib name 'QPalette_create2'; function QPalette_create(button: QtGlobalColor): QPaletteH; cdecl; external Qt4PasLib name 'QPalette_create3'; function QPalette_create(button: PQColor; window: PQColor): QPaletteH; cdecl; external Qt4PasLib name 'QPalette_create4'; function QPalette_create(windowText: QBrushH; button: QBrushH; light: QBrushH; dark: QBrushH; mid: QBrushH; text: QBrushH; bright_text: QBrushH; base: QBrushH; window: QBrushH): QPaletteH; cdecl; external Qt4PasLib name 'QPalette_create5'; function QPalette_create(windowText: PQColor; window: PQColor; light: PQColor; dark: PQColor; mid: PQColor; text: PQColor; base: PQColor): QPaletteH; cdecl; external Qt4PasLib name 'QPalette_create6'; function QPalette_create(palette: QPaletteH): QPaletteH; cdecl; external Qt4PasLib name 'QPalette_create7'; function QPalette_currentColorGroup(handle: QPaletteH): QPaletteColorGroup; cdecl; external Qt4PasLib name 'QPalette_currentColorGroup'; procedure QPalette_setCurrentColorGroup(handle: QPaletteH; cg: QPaletteColorGroup); cdecl; external Qt4PasLib name 'QPalette_setCurrentColorGroup'; function QPalette_color(handle: QPaletteH; cg: QPaletteColorGroup; cr: QPaletteColorRole): PQColor; cdecl; external Qt4PasLib name 'QPalette_color'; function QPalette_brush(handle: QPaletteH; cg: QPaletteColorGroup; cr: QPaletteColorRole): QBrushH; cdecl; external Qt4PasLib name 'QPalette_brush'; procedure QPalette_setColor(handle: QPaletteH; cg: QPaletteColorGroup; cr: QPaletteColorRole; color: PQColor); cdecl; external Qt4PasLib name 'QPalette_setColor'; procedure QPalette_setColor(handle: QPaletteH; cr: QPaletteColorRole; color: PQColor); cdecl; external Qt4PasLib name 'QPalette_setColor2'; procedure QPalette_setBrush(handle: QPaletteH; cr: QPaletteColorRole; brush: QBrushH); cdecl; external Qt4PasLib name 'QPalette_setBrush'; function QPalette_isBrushSet(handle: QPaletteH; cg: QPaletteColorGroup; cr: QPaletteColorRole): Boolean; cdecl; external Qt4PasLib name 'QPalette_isBrushSet'; procedure QPalette_setBrush(handle: QPaletteH; cg: QPaletteColorGroup; cr: QPaletteColorRole; brush: QBrushH); cdecl; external Qt4PasLib name 'QPalette_setBrush2'; procedure QPalette_setColorGroup(handle: QPaletteH; cr: QPaletteColorGroup; windowText: QBrushH; button: QBrushH; light: QBrushH; dark: QBrushH; mid: QBrushH; text: QBrushH; bright_text: QBrushH; base: QBrushH; window: QBrushH); cdecl; external Qt4PasLib name 'QPalette_setColorGroup'; function QPalette_isEqual(handle: QPaletteH; cr1: QPaletteColorGroup; cr2: QPaletteColorGroup): Boolean; cdecl; external Qt4PasLib name 'QPalette_isEqual'; function QPalette_color(handle: QPaletteH; cr: QPaletteColorRole): PQColor; cdecl; external Qt4PasLib name 'QPalette_color2'; function QPalette_brush(handle: QPaletteH; cr: QPaletteColorRole): QBrushH; cdecl; external Qt4PasLib name 'QPalette_brush2'; function QPalette_foreground(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_foreground'; function QPalette_windowText(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_windowText'; function QPalette_button(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_button'; function QPalette_light(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_light'; function QPalette_dark(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_dark'; function QPalette_mid(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_mid'; function QPalette_text(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_text'; function QPalette_base(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_base'; function QPalette_alternateBase(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_alternateBase'; function QPalette_toolTipBase(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_toolTipBase'; function QPalette_toolTipText(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_toolTipText'; function QPalette_background(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_background'; function QPalette_window(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_window'; function QPalette_midlight(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_midlight'; function QPalette_brightText(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_brightText'; function QPalette_buttonText(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_buttonText'; function QPalette_shadow(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_shadow'; function QPalette_highlight(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_highlight'; function QPalette_highlightedText(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_highlightedText'; function QPalette_link(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_link'; function QPalette_linkVisited(handle: QPaletteH): QBrushH; cdecl; external Qt4PasLib name 'QPalette_linkVisited'; function QPalette_isCopyOf(handle: QPaletteH; p: QPaletteH): Boolean; cdecl; external Qt4PasLib name 'QPalette_isCopyOf'; function QPalette_serialNumber(handle: QPaletteH): Integer; cdecl; external Qt4PasLib name 'QPalette_serialNumber'; function QPalette_cacheKey(handle: QPaletteH): int64; cdecl; external Qt4PasLib name 'QPalette_cacheKey'; procedure QPalette_resolve(handle: QPaletteH; retval: QPaletteH; AnonParam1: QPaletteH); cdecl; external Qt4PasLib name 'QPalette_resolve'; function QPalette_resolve(handle: QPaletteH): LongWord; cdecl; external Qt4PasLib name 'QPalette_resolve2'; procedure QPalette_resolve(handle: QPaletteH; mask: LongWord); cdecl; external Qt4PasLib name 'QPalette_resolve3'; type QSizePolicyPolicyFlag = ( //QSizePolicy::PolicyFlag (2) QSizePolicyGrowFlag = 1, QSizePolicyExpandFlag = 2, QSizePolicyShrinkFlag = 4, QSizePolicyIgnoreFlag = 8 ); type QSizePolicyControlType = cardinal; // QSizePolicy::ControlType QSizePolicyControlTypes = QSizePolicyControlType; //QFlags<> (3) const QSizePolicyDefaultType = $00000001; QSizePolicyButtonBox = $00000002; QSizePolicyCheckBox = $00000004; QSizePolicyComboBox = $00000008; QSizePolicyFrame = $00000010; QSizePolicyGroupBox = $00000020; QSizePolicyLabel = $00000040; QSizePolicyLine = $00000080; QSizePolicyLineEdit = $00000100; QSizePolicyPushButton = $00000200; QSizePolicyRadioButton = $00000400; QSizePolicySlider = $00000800; QSizePolicySpinBox = $00001000; QSizePolicyTabWidget = $00002000; QSizePolicyToolButton = $00004000; type QSizePolicyPolicy = cardinal; // QSizePolicy::Policy (4) const QSizePolicyFixed = 0 { $0 }; QSizePolicyMinimum = 1 { $1 }; QSizePolicyMaximum = 4 { $4 }; QSizePolicyPreferred = 5 { $5 }; QSizePolicyMinimumExpanding = 3 { $3 }; QSizePolicyExpanding = 7 { $7 }; QSizePolicyIgnored = 13 { $d }; function QSizePolicy_create(): QSizePolicyH; cdecl; external Qt4PasLib name 'QSizePolicy_create'; procedure QSizePolicy_destroy(handle: QSizePolicyH); cdecl; external Qt4PasLib name 'QSizePolicy_destroy'; function QSizePolicy_create(horizontal: QSizePolicyPolicy; vertical: QSizePolicyPolicy): QSizePolicyH; cdecl; external Qt4PasLib name 'QSizePolicy_create2'; function QSizePolicy_create(horizontal: QSizePolicyPolicy; vertical: QSizePolicyPolicy; _type: QSizePolicyControlType): QSizePolicyH; cdecl; external Qt4PasLib name 'QSizePolicy_create3'; function QSizePolicy_horizontalPolicy(handle: QSizePolicyH): QSizePolicyPolicy; cdecl; external Qt4PasLib name 'QSizePolicy_horizontalPolicy'; function QSizePolicy_verticalPolicy(handle: QSizePolicyH): QSizePolicyPolicy; cdecl; external Qt4PasLib name 'QSizePolicy_verticalPolicy'; function QSizePolicy_controlType(handle: QSizePolicyH): QSizePolicyControlType; cdecl; external Qt4PasLib name 'QSizePolicy_controlType'; procedure QSizePolicy_setHorizontalPolicy(handle: QSizePolicyH; d: QSizePolicyPolicy); cdecl; external Qt4PasLib name 'QSizePolicy_setHorizontalPolicy'; procedure QSizePolicy_setVerticalPolicy(handle: QSizePolicyH; d: QSizePolicyPolicy); cdecl; external Qt4PasLib name 'QSizePolicy_setVerticalPolicy'; procedure QSizePolicy_setControlType(handle: QSizePolicyH; _type: QSizePolicyControlType); cdecl; external Qt4PasLib name 'QSizePolicy_setControlType'; function QSizePolicy_expandingDirections(handle: QSizePolicyH): QtOrientations; cdecl; external Qt4PasLib name 'QSizePolicy_expandingDirections'; procedure QSizePolicy_setHeightForWidth(handle: QSizePolicyH; b: Boolean); cdecl; external Qt4PasLib name 'QSizePolicy_setHeightForWidth'; function QSizePolicy_hasHeightForWidth(handle: QSizePolicyH): Boolean; cdecl; external Qt4PasLib name 'QSizePolicy_hasHeightForWidth'; function QSizePolicy_horizontalStretch(handle: QSizePolicyH): Integer; cdecl; external Qt4PasLib name 'QSizePolicy_horizontalStretch'; function QSizePolicy_verticalStretch(handle: QSizePolicyH): Integer; cdecl; external Qt4PasLib name 'QSizePolicy_verticalStretch'; procedure QSizePolicy_setHorizontalStretch(handle: QSizePolicyH; stretchFactor: char); cdecl; external Qt4PasLib name 'QSizePolicy_setHorizontalStretch'; procedure QSizePolicy_setVerticalStretch(handle: QSizePolicyH; stretchFactor: char); cdecl; external Qt4PasLib name 'QSizePolicy_setVerticalStretch'; procedure QSizePolicy_transpose(handle: QSizePolicyH); cdecl; external Qt4PasLib name 'QSizePolicy_transpose'; type QKeySequenceStandardKey = ( // QKeySequence::StandardKey (1) QKeySequenceUnknownKey, QKeySequenceHelpContents, QKeySequenceWhatsThis, QKeySequenceOpen, QKeySequenceClose, QKeySequenceSave, QKeySequenceNew, QKeySequenceDelete, QKeySequenceCut, QKeySequenceCopy, QKeySequencePaste, QKeySequenceUndo, QKeySequenceRedo, QKeySequenceBack, QKeySequenceForward, QKeySequenceRefresh, QKeySequenceZoomIn, QKeySequenceZoomOut, QKeySequencePrint, QKeySequenceAddTab, QKeySequenceNextChild, QKeySequencePreviousChild, QKeySequenceFind, QKeySequenceFindNext, QKeySequenceFindPrevious, QKeySequenceReplace, QKeySequenceSelectAll, QKeySequenceBold, QKeySequenceItalic, QKeySequenceUnderline, QKeySequenceMoveToNextChar, QKeySequenceMoveToPreviousChar, QKeySequenceMoveToNextWord, QKeySequenceMoveToPreviousWord, QKeySequenceMoveToNextLine, QKeySequenceMoveToPreviousLine, QKeySequenceMoveToNextPage, QKeySequenceMoveToPreviousPage, QKeySequenceMoveToStartOfLine, QKeySequenceMoveToEndOfLine, QKeySequenceMoveToStartOfBlock, QKeySequenceMoveToEndOfBlock, QKeySequenceMoveToStartOfDocument, QKeySequenceMoveToEndOfDocument, QKeySequenceSelectNextChar, QKeySequenceSelectPreviousChar, QKeySequenceSelectNextWord, QKeySequenceSelectPreviousWord, QKeySequenceSelectNextLine, QKeySequenceSelectPreviousLine, QKeySequenceSelectNextPage, QKeySequenceSelectPreviousPage, QKeySequenceSelectStartOfLine, QKeySequenceSelectEndOfLine, QKeySequenceSelectStartOfBlock, QKeySequenceSelectEndOfBlock, QKeySequenceSelectStartOfDocument, QKeySequenceSelectEndOfDocument, QKeySequenceDeleteStartOfWord, QKeySequenceDeleteEndOfWord, QKeySequenceDeleteEndOfLine, QKeySequenceInsertParagraphSeparator, QKeySequenceInsertLineSeparator, QKeySequenceSaveAs ); QKeySequenceSequenceMatch = ( // QKeySequence::SequenceMatch (1) QKeySequenceNoMatch, QKeySequencePartialMatch, QKeySequenceExactMatch ); QKeySequenceSequenceFormat = ( // QKeySequence::SequenceFormat (1) QKeySequenceNativeText, QKeySequencePortableText ); function QKeySequence_create(): QKeySequenceH; cdecl; external Qt4PasLib name 'QKeySequence_create'; procedure QKeySequence_destroy(handle: QKeySequenceH); cdecl; external Qt4PasLib name 'QKeySequence_destroy'; function QKeySequence_create(key: PWideString): QKeySequenceH; cdecl; external Qt4PasLib name 'QKeySequence_create2'; function QKeySequence_create(k1: Integer; k2: Integer = 0; k3: Integer = 0; k4: Integer = 0): QKeySequenceH; cdecl; external Qt4PasLib name 'QKeySequence_create3'; function QKeySequence_create(ks: QKeySequenceH): QKeySequenceH; cdecl; external Qt4PasLib name 'QKeySequence_create4'; function QKeySequence_create(key: QKeySequenceStandardKey): QKeySequenceH; cdecl; external Qt4PasLib name 'QKeySequence_create5'; function QKeySequence_count(handle: QKeySequenceH): LongWord; cdecl; external Qt4PasLib name 'QKeySequence_count'; function QKeySequence_isEmpty(handle: QKeySequenceH): Boolean; cdecl; external Qt4PasLib name 'QKeySequence_isEmpty'; procedure QKeySequence_toString(handle: QKeySequenceH; retval: PWideString; format: QKeySequenceSequenceFormat = QKeySequencePortableText); cdecl; external Qt4PasLib name 'QKeySequence_toString'; procedure QKeySequence_fromString(retval: QKeySequenceH; str: PWideString; format: QKeySequenceSequenceFormat = QKeySequencePortableText); cdecl; external Qt4PasLib name 'QKeySequence_fromString'; function QKeySequence_matches(handle: QKeySequenceH; seq: QKeySequenceH): QKeySequenceSequenceMatch; cdecl; external Qt4PasLib name 'QKeySequence_matches'; procedure QKeySequence_mnemonic(retval: QKeySequenceH; text: PWideString); cdecl; external Qt4PasLib name 'QKeySequence_mnemonic'; function QKeySequence_isDetached(handle: QKeySequenceH): Boolean; cdecl; external Qt4PasLib name 'QKeySequence_isDetached'; type QWidgetRenderFlag = cardinal; // QWidget::RenderFlag QWidgetRenderFlags = QWidgetRenderFlag; //QFlags<> (3) const QWidgetDrawWindowBackground = $1; QWidgetDrawChildren = $2; QWidgetIgnoreMask = $4; function QWidget_create(parent: QWidgetH = nil; f: QtWindowFlags = 0): QWidgetH; cdecl; external Qt4PasLib name 'QWidget_create'; procedure QWidget_destroy(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_destroy'; function QWidget_devType(handle: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QWidget_devType'; function QWidget_winId(handle: QWidgetH): LongWord; cdecl; external Qt4PasLib name 'QWidget_winId'; procedure QWidget_createWinId(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_createWinId'; function QWidget_internalWinId(handle: QWidgetH): LongWord; cdecl; external Qt4PasLib name 'QWidget_internalWinId'; function QWidget_effectiveWinId(handle: QWidgetH): LongWord; cdecl; external Qt4PasLib name 'QWidget_effectiveWinId'; function QWidget_style(handle: QWidgetH): QStyleH; cdecl; external Qt4PasLib name 'QWidget_style'; procedure QWidget_setStyle(handle: QWidgetH; AnonParam1: QStyleH); cdecl; external Qt4PasLib name 'QWidget_setStyle'; function QWidget_isTopLevel(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isTopLevel'; function QWidget_isWindow(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isWindow'; function QWidget_isModal(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isModal'; function QWidget_windowModality(handle: QWidgetH): QtWindowModality; cdecl; external Qt4PasLib name 'QWidget_windowModality'; procedure QWidget_setWindowModality(handle: QWidgetH; windowModality: QtWindowModality); cdecl; external Qt4PasLib name 'QWidget_setWindowModality'; function QWidget_isEnabled(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isEnabled'; function QWidget_isEnabledTo(handle: QWidgetH; AnonParam1: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isEnabledTo'; function QWidget_isEnabledToTLW(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isEnabledToTLW'; procedure QWidget_setEnabled(handle: QWidgetH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QWidget_setEnabled'; procedure QWidget_setDisabled(handle: QWidgetH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QWidget_setDisabled'; procedure QWidget_setWindowModified(handle: QWidgetH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QWidget_setWindowModified'; procedure QWidget_frameGeometry(handle: QWidgetH; retval: PRect); cdecl; external Qt4PasLib name 'QWidget_frameGeometry'; procedure QWidget_geometry(handle: QWidgetH; retval: PRect); cdecl; external Qt4PasLib name 'QWidget_geometry'; procedure QWidget_normalGeometry(handle: QWidgetH; retval: PRect); cdecl; external Qt4PasLib name 'QWidget_normalGeometry'; function QWidget_x(handle: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QWidget_x'; function QWidget_y(handle: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QWidget_y'; procedure QWidget_pos(handle: QWidgetH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QWidget_pos'; procedure QWidget_frameSize(handle: QWidgetH; retval: PSize); cdecl; external Qt4PasLib name 'QWidget_frameSize'; procedure QWidget_size(handle: QWidgetH; retval: PSize); cdecl; external Qt4PasLib name 'QWidget_size'; function QWidget_width(handle: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QWidget_width'; function QWidget_height(handle: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QWidget_height'; procedure QWidget_rect(handle: QWidgetH; retval: PRect); cdecl; external Qt4PasLib name 'QWidget_rect'; procedure QWidget_childrenRect(handle: QWidgetH; retval: PRect); cdecl; external Qt4PasLib name 'QWidget_childrenRect'; procedure QWidget_childrenRegion(handle: QWidgetH; retval: QRegionH); cdecl; external Qt4PasLib name 'QWidget_childrenRegion'; procedure QWidget_minimumSize(handle: QWidgetH; retval: PSize); cdecl; external Qt4PasLib name 'QWidget_minimumSize'; procedure QWidget_maximumSize(handle: QWidgetH; retval: PSize); cdecl; external Qt4PasLib name 'QWidget_maximumSize'; function QWidget_minimumWidth(handle: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QWidget_minimumWidth'; function QWidget_minimumHeight(handle: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QWidget_minimumHeight'; function QWidget_maximumWidth(handle: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QWidget_maximumWidth'; function QWidget_maximumHeight(handle: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QWidget_maximumHeight'; procedure QWidget_setMinimumSize(handle: QWidgetH; AnonParam1: PSize); cdecl; external Qt4PasLib name 'QWidget_setMinimumSize'; procedure QWidget_setMinimumSize(handle: QWidgetH; minw: Integer; minh: Integer); cdecl; external Qt4PasLib name 'QWidget_setMinimumSize2'; procedure QWidget_setMaximumSize(handle: QWidgetH; AnonParam1: PSize); cdecl; external Qt4PasLib name 'QWidget_setMaximumSize'; procedure QWidget_setMaximumSize(handle: QWidgetH; maxw: Integer; maxh: Integer); cdecl; external Qt4PasLib name 'QWidget_setMaximumSize2'; procedure QWidget_setMinimumWidth(handle: QWidgetH; minw: Integer); cdecl; external Qt4PasLib name 'QWidget_setMinimumWidth'; procedure QWidget_setMinimumHeight(handle: QWidgetH; minh: Integer); cdecl; external Qt4PasLib name 'QWidget_setMinimumHeight'; procedure QWidget_setMaximumWidth(handle: QWidgetH; maxw: Integer); cdecl; external Qt4PasLib name 'QWidget_setMaximumWidth'; procedure QWidget_setMaximumHeight(handle: QWidgetH; maxh: Integer); cdecl; external Qt4PasLib name 'QWidget_setMaximumHeight'; procedure QWidget_sizeIncrement(handle: QWidgetH; retval: PSize); cdecl; external Qt4PasLib name 'QWidget_sizeIncrement'; procedure QWidget_setSizeIncrement(handle: QWidgetH; AnonParam1: PSize); cdecl; external Qt4PasLib name 'QWidget_setSizeIncrement'; procedure QWidget_setSizeIncrement(handle: QWidgetH; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QWidget_setSizeIncrement2'; procedure QWidget_baseSize(handle: QWidgetH; retval: PSize); cdecl; external Qt4PasLib name 'QWidget_baseSize'; procedure QWidget_setBaseSize(handle: QWidgetH; AnonParam1: PSize); cdecl; external Qt4PasLib name 'QWidget_setBaseSize'; procedure QWidget_setBaseSize(handle: QWidgetH; basew: Integer; baseh: Integer); cdecl; external Qt4PasLib name 'QWidget_setBaseSize2'; procedure QWidget_setFixedSize(handle: QWidgetH; AnonParam1: PSize); cdecl; external Qt4PasLib name 'QWidget_setFixedSize'; procedure QWidget_setFixedSize(handle: QWidgetH; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QWidget_setFixedSize2'; procedure QWidget_setFixedWidth(handle: QWidgetH; w: Integer); cdecl; external Qt4PasLib name 'QWidget_setFixedWidth'; procedure QWidget_setFixedHeight(handle: QWidgetH; h: Integer); cdecl; external Qt4PasLib name 'QWidget_setFixedHeight'; procedure QWidget_mapToGlobal(handle: QWidgetH; retval: PQtPoint; AnonParam1: PQtPoint); cdecl; external Qt4PasLib name 'QWidget_mapToGlobal'; procedure QWidget_mapFromGlobal(handle: QWidgetH; retval: PQtPoint; AnonParam1: PQtPoint); cdecl; external Qt4PasLib name 'QWidget_mapFromGlobal'; procedure QWidget_mapToParent(handle: QWidgetH; retval: PQtPoint; AnonParam1: PQtPoint); cdecl; external Qt4PasLib name 'QWidget_mapToParent'; procedure QWidget_mapFromParent(handle: QWidgetH; retval: PQtPoint; AnonParam1: PQtPoint); cdecl; external Qt4PasLib name 'QWidget_mapFromParent'; procedure QWidget_mapTo(handle: QWidgetH; retval: PQtPoint; AnonParam1: QWidgetH; AnonParam2: PQtPoint); cdecl; external Qt4PasLib name 'QWidget_mapTo'; procedure QWidget_mapFrom(handle: QWidgetH; retval: PQtPoint; AnonParam1: QWidgetH; AnonParam2: PQtPoint); cdecl; external Qt4PasLib name 'QWidget_mapFrom'; function QWidget_window(handle: QWidgetH): QWidgetH; cdecl; external Qt4PasLib name 'QWidget_window'; function QWidget_nativeParentWidget(handle: QWidgetH): QWidgetH; cdecl; external Qt4PasLib name 'QWidget_nativeParentWidget'; function QWidget_topLevelWidget(handle: QWidgetH): QWidgetH; cdecl; external Qt4PasLib name 'QWidget_topLevelWidget'; function QWidget_palette(handle: QWidgetH): QPaletteH; cdecl; external Qt4PasLib name 'QWidget_palette'; procedure QWidget_setPalette(handle: QWidgetH; AnonParam1: QPaletteH); cdecl; external Qt4PasLib name 'QWidget_setPalette'; procedure QWidget_setBackgroundRole(handle: QWidgetH; AnonParam1: QPaletteColorRole); cdecl; external Qt4PasLib name 'QWidget_setBackgroundRole'; function QWidget_backgroundRole(handle: QWidgetH): QPaletteColorRole; cdecl; external Qt4PasLib name 'QWidget_backgroundRole'; procedure QWidget_setForegroundRole(handle: QWidgetH; AnonParam1: QPaletteColorRole); cdecl; external Qt4PasLib name 'QWidget_setForegroundRole'; function QWidget_foregroundRole(handle: QWidgetH): QPaletteColorRole; cdecl; external Qt4PasLib name 'QWidget_foregroundRole'; function QWidget_font(handle: QWidgetH): QFontH; cdecl; external Qt4PasLib name 'QWidget_font'; procedure QWidget_setFont(handle: QWidgetH; AnonParam1: QFontH); cdecl; external Qt4PasLib name 'QWidget_setFont'; procedure QWidget_fontMetrics(handle: QWidgetH; retval: QFontMetricsH); cdecl; external Qt4PasLib name 'QWidget_fontMetrics'; procedure QWidget_fontInfo(handle: QWidgetH; retval: QFontInfoH); cdecl; external Qt4PasLib name 'QWidget_fontInfo'; procedure QWidget_cursor(handle: QWidgetH; retval: QCursorH); cdecl; external Qt4PasLib name 'QWidget_cursor'; procedure QWidget_setCursor(handle: QWidgetH; AnonParam1: QCursorH); cdecl; external Qt4PasLib name 'QWidget_setCursor'; procedure QWidget_unsetCursor(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_unsetCursor'; procedure QWidget_setMouseTracking(handle: QWidgetH; enable: Boolean); cdecl; external Qt4PasLib name 'QWidget_setMouseTracking'; function QWidget_hasMouseTracking(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_hasMouseTracking'; function QWidget_underMouse(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_underMouse'; procedure QWidget_setMask(handle: QWidgetH; AnonParam1: QBitmapH); cdecl; external Qt4PasLib name 'QWidget_setMask'; procedure QWidget_setMask(handle: QWidgetH; AnonParam1: QRegionH); cdecl; external Qt4PasLib name 'QWidget_setMask2'; procedure QWidget_mask(handle: QWidgetH; retval: QRegionH); cdecl; external Qt4PasLib name 'QWidget_mask'; procedure QWidget_clearMask(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_clearMask'; procedure QWidget_render(handle: QWidgetH; target: QPaintDeviceH; targetOffset: PQtPoint; sourceRegion: QRegionH; renderFlags: QWidgetRenderFlags); cdecl; external Qt4PasLib name 'QWidget_render'; procedure QWidget_render(handle: QWidgetH; painter: QPainterH; targetOffset: PQtPoint; sourceRegion: QRegionH; renderFlags: QWidgetRenderFlags); cdecl; external Qt4PasLib name 'QWidget_render2'; procedure QWidget_setWindowTitle(handle: QWidgetH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QWidget_setWindowTitle'; procedure QWidget_setStyleSheet(handle: QWidgetH; styleSheet: PWideString); cdecl; external Qt4PasLib name 'QWidget_setStyleSheet'; procedure QWidget_styleSheet(handle: QWidgetH; retval: PWideString); cdecl; external Qt4PasLib name 'QWidget_styleSheet'; procedure QWidget_windowTitle(handle: QWidgetH; retval: PWideString); cdecl; external Qt4PasLib name 'QWidget_windowTitle'; procedure QWidget_setWindowIcon(handle: QWidgetH; icon: QIconH); cdecl; external Qt4PasLib name 'QWidget_setWindowIcon'; procedure QWidget_windowIcon(handle: QWidgetH; retval: QIconH); cdecl; external Qt4PasLib name 'QWidget_windowIcon'; procedure QWidget_setWindowIconText(handle: QWidgetH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QWidget_setWindowIconText'; procedure QWidget_windowIconText(handle: QWidgetH; retval: PWideString); cdecl; external Qt4PasLib name 'QWidget_windowIconText'; procedure QWidget_setWindowRole(handle: QWidgetH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QWidget_setWindowRole'; procedure QWidget_windowRole(handle: QWidgetH; retval: PWideString); cdecl; external Qt4PasLib name 'QWidget_windowRole'; procedure QWidget_setWindowFilePath(handle: QWidgetH; filePath: PWideString); cdecl; external Qt4PasLib name 'QWidget_setWindowFilePath'; procedure QWidget_windowFilePath(handle: QWidgetH; retval: PWideString); cdecl; external Qt4PasLib name 'QWidget_windowFilePath'; procedure QWidget_setWindowOpacity(handle: QWidgetH; level: qreal); cdecl; external Qt4PasLib name 'QWidget_setWindowOpacity'; function QWidget_windowOpacity(handle: QWidgetH): qreal; cdecl; external Qt4PasLib name 'QWidget_windowOpacity'; function QWidget_isWindowModified(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isWindowModified'; procedure QWidget_setToolTip(handle: QWidgetH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QWidget_setToolTip'; procedure QWidget_toolTip(handle: QWidgetH; retval: PWideString); cdecl; external Qt4PasLib name 'QWidget_toolTip'; procedure QWidget_setStatusTip(handle: QWidgetH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QWidget_setStatusTip'; procedure QWidget_statusTip(handle: QWidgetH; retval: PWideString); cdecl; external Qt4PasLib name 'QWidget_statusTip'; procedure QWidget_setWhatsThis(handle: QWidgetH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QWidget_setWhatsThis'; procedure QWidget_whatsThis(handle: QWidgetH; retval: PWideString); cdecl; external Qt4PasLib name 'QWidget_whatsThis'; procedure QWidget_accessibleName(handle: QWidgetH; retval: PWideString); cdecl; external Qt4PasLib name 'QWidget_accessibleName'; procedure QWidget_setAccessibleName(handle: QWidgetH; name: PWideString); cdecl; external Qt4PasLib name 'QWidget_setAccessibleName'; procedure QWidget_accessibleDescription(handle: QWidgetH; retval: PWideString); cdecl; external Qt4PasLib name 'QWidget_accessibleDescription'; procedure QWidget_setAccessibleDescription(handle: QWidgetH; description: PWideString); cdecl; external Qt4PasLib name 'QWidget_setAccessibleDescription'; procedure QWidget_setLayoutDirection(handle: QWidgetH; direction: QtLayoutDirection); cdecl; external Qt4PasLib name 'QWidget_setLayoutDirection'; function QWidget_layoutDirection(handle: QWidgetH): QtLayoutDirection; cdecl; external Qt4PasLib name 'QWidget_layoutDirection'; procedure QWidget_unsetLayoutDirection(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_unsetLayoutDirection'; procedure QWidget_setLocale(handle: QWidgetH; locale: QLocaleH); cdecl; external Qt4PasLib name 'QWidget_setLocale'; procedure QWidget_locale(handle: QWidgetH; retval: QLocaleH); cdecl; external Qt4PasLib name 'QWidget_locale'; procedure QWidget_unsetLocale(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_unsetLocale'; function QWidget_isRightToLeft(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isRightToLeft'; function QWidget_isLeftToRight(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isLeftToRight'; procedure QWidget_setFocus(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_setFocus'; function QWidget_isActiveWindow(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isActiveWindow'; procedure QWidget_activateWindow(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_activateWindow'; procedure QWidget_clearFocus(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_clearFocus'; procedure QWidget_setFocus(handle: QWidgetH; reason: QtFocusReason); cdecl; external Qt4PasLib name 'QWidget_setFocus2'; function QWidget_focusPolicy(handle: QWidgetH): QtFocusPolicy; cdecl; external Qt4PasLib name 'QWidget_focusPolicy'; procedure QWidget_setFocusPolicy(handle: QWidgetH; policy: QtFocusPolicy); cdecl; external Qt4PasLib name 'QWidget_setFocusPolicy'; function QWidget_hasFocus(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_hasFocus'; procedure QWidget_setTabOrder(AnonParam1: QWidgetH; AnonParam2: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_setTabOrder'; procedure QWidget_setFocusProxy(handle: QWidgetH; AnonParam1: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_setFocusProxy'; function QWidget_focusProxy(handle: QWidgetH): QWidgetH; cdecl; external Qt4PasLib name 'QWidget_focusProxy'; function QWidget_contextMenuPolicy(handle: QWidgetH): QtContextMenuPolicy; cdecl; external Qt4PasLib name 'QWidget_contextMenuPolicy'; procedure QWidget_setContextMenuPolicy(handle: QWidgetH; policy: QtContextMenuPolicy); cdecl; external Qt4PasLib name 'QWidget_setContextMenuPolicy'; procedure QWidget_grabMouse(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_grabMouse'; procedure QWidget_grabMouse(handle: QWidgetH; AnonParam1: QCursorH); cdecl; external Qt4PasLib name 'QWidget_grabMouse2'; procedure QWidget_releaseMouse(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_releaseMouse'; procedure QWidget_grabKeyboard(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_grabKeyboard'; procedure QWidget_releaseKeyboard(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_releaseKeyboard'; function QWidget_grabShortcut(handle: QWidgetH; key: QKeySequenceH; context: QtShortcutContext = QtWindowShortcut): Integer; cdecl; external Qt4PasLib name 'QWidget_grabShortcut'; procedure QWidget_releaseShortcut(handle: QWidgetH; id: Integer); cdecl; external Qt4PasLib name 'QWidget_releaseShortcut'; procedure QWidget_setShortcutEnabled(handle: QWidgetH; id: Integer; enable: Boolean = True); cdecl; external Qt4PasLib name 'QWidget_setShortcutEnabled'; procedure QWidget_setShortcutAutoRepeat(handle: QWidgetH; id: Integer; enable: Boolean = True); cdecl; external Qt4PasLib name 'QWidget_setShortcutAutoRepeat'; function QWidget_mouseGrabber(): QWidgetH; cdecl; external Qt4PasLib name 'QWidget_mouseGrabber'; function QWidget_keyboardGrabber(): QWidgetH; cdecl; external Qt4PasLib name 'QWidget_keyboardGrabber'; function QWidget_updatesEnabled(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_updatesEnabled'; procedure QWidget_setUpdatesEnabled(handle: QWidgetH; enable: Boolean); cdecl; external Qt4PasLib name 'QWidget_setUpdatesEnabled'; function QWidget_graphicsProxyWidget(handle: QWidgetH): QGraphicsProxyWidgetH; cdecl; external Qt4PasLib name 'QWidget_graphicsProxyWidget'; procedure QWidget_update(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_update'; procedure QWidget_repaint(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_repaint'; procedure QWidget_update(handle: QWidgetH; x: Integer; y: Integer; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QWidget_update2'; procedure QWidget_update(handle: QWidgetH; AnonParam1: PRect); cdecl; external Qt4PasLib name 'QWidget_update3'; procedure QWidget_update(handle: QWidgetH; AnonParam1: QRegionH); cdecl; external Qt4PasLib name 'QWidget_update4'; procedure QWidget_repaint(handle: QWidgetH; x: Integer; y: Integer; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QWidget_repaint2'; procedure QWidget_repaint(handle: QWidgetH; AnonParam1: PRect); cdecl; external Qt4PasLib name 'QWidget_repaint3'; procedure QWidget_repaint(handle: QWidgetH; AnonParam1: QRegionH); cdecl; external Qt4PasLib name 'QWidget_repaint4'; procedure QWidget_setVisible(handle: QWidgetH; visible: Boolean); cdecl; external Qt4PasLib name 'QWidget_setVisible'; procedure QWidget_setHidden(handle: QWidgetH; hidden: Boolean); cdecl; external Qt4PasLib name 'QWidget_setHidden'; procedure QWidget_show(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_show'; procedure QWidget_hide(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_hide'; procedure QWidget_setShown(handle: QWidgetH; shown: Boolean); cdecl; external Qt4PasLib name 'QWidget_setShown'; procedure QWidget_showMinimized(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_showMinimized'; procedure QWidget_showMaximized(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_showMaximized'; procedure QWidget_showFullScreen(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_showFullScreen'; procedure QWidget_showNormal(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_showNormal'; function QWidget_close(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_close'; procedure QWidget_raise(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_raise'; procedure QWidget_lower(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_lower'; procedure QWidget_stackUnder(handle: QWidgetH; AnonParam1: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_stackUnder'; procedure QWidget_move(handle: QWidgetH; x: Integer; y: Integer); cdecl; external Qt4PasLib name 'QWidget_move'; procedure QWidget_move(handle: QWidgetH; AnonParam1: PQtPoint); cdecl; external Qt4PasLib name 'QWidget_move2'; procedure QWidget_resize(handle: QWidgetH; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QWidget_resize'; procedure QWidget_resize(handle: QWidgetH; AnonParam1: PSize); cdecl; external Qt4PasLib name 'QWidget_resize2'; procedure QWidget_setGeometry(handle: QWidgetH; x: Integer; y: Integer; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QWidget_setGeometry'; procedure QWidget_setGeometry(handle: QWidgetH; AnonParam1: PRect); cdecl; external Qt4PasLib name 'QWidget_setGeometry2'; procedure QWidget_saveGeometry(handle: QWidgetH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QWidget_saveGeometry'; function QWidget_restoreGeometry(handle: QWidgetH; geometry: QByteArrayH): Boolean; cdecl; external Qt4PasLib name 'QWidget_restoreGeometry'; procedure QWidget_adjustSize(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_adjustSize'; function QWidget_isVisible(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isVisible'; function QWidget_isVisibleTo(handle: QWidgetH; AnonParam1: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isVisibleTo'; function QWidget_isHidden(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isHidden'; function QWidget_isMinimized(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isMinimized'; function QWidget_isMaximized(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isMaximized'; function QWidget_isFullScreen(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isFullScreen'; function QWidget_windowState(handle: QWidgetH): QtWindowStates; cdecl; external Qt4PasLib name 'QWidget_windowState'; procedure QWidget_setWindowState(handle: QWidgetH; state: QtWindowStates); cdecl; external Qt4PasLib name 'QWidget_setWindowState'; procedure QWidget_overrideWindowState(handle: QWidgetH; state: QtWindowStates); cdecl; external Qt4PasLib name 'QWidget_overrideWindowState'; procedure QWidget_sizeHint(handle: QWidgetH; retval: PSize); cdecl; external Qt4PasLib name 'QWidget_sizeHint'; procedure QWidget_minimumSizeHint(handle: QWidgetH; retval: PSize); cdecl; external Qt4PasLib name 'QWidget_minimumSizeHint'; procedure QWidget_sizePolicy(handle: QWidgetH; retval: PQSizePolicy); cdecl; external Qt4PasLib name 'QWidget_sizePolicy'; procedure QWidget_setSizePolicy(handle: QWidgetH; AnonParam1: PQSizePolicy); cdecl; external Qt4PasLib name 'QWidget_setSizePolicy'; procedure QWidget_setSizePolicy(handle: QWidgetH; horizontal: QSizePolicyPolicy; vertical: QSizePolicyPolicy); cdecl; external Qt4PasLib name 'QWidget_setSizePolicy2'; function QWidget_heightForWidth(handle: QWidgetH; AnonParam1: Integer): Integer; cdecl; external Qt4PasLib name 'QWidget_heightForWidth'; procedure QWidget_visibleRegion(handle: QWidgetH; retval: QRegionH); cdecl; external Qt4PasLib name 'QWidget_visibleRegion'; procedure QWidget_setContentsMargins(handle: QWidgetH; left: Integer; top: Integer; right: Integer; bottom: Integer); cdecl; external Qt4PasLib name 'QWidget_setContentsMargins'; procedure QWidget_getContentsMargins(handle: QWidgetH; left: PInteger; top: PInteger; right: PInteger; bottom: PInteger); cdecl; external Qt4PasLib name 'QWidget_getContentsMargins'; procedure QWidget_contentsRect(handle: QWidgetH; retval: PRect); cdecl; external Qt4PasLib name 'QWidget_contentsRect'; function QWidget_layout(handle: QWidgetH): QLayoutH; cdecl; external Qt4PasLib name 'QWidget_layout'; procedure QWidget_setLayout(handle: QWidgetH; AnonParam1: QLayoutH); cdecl; external Qt4PasLib name 'QWidget_setLayout'; procedure QWidget_updateGeometry(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_updateGeometry'; procedure QWidget_setParent(handle: QWidgetH; parent: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_setParent'; procedure QWidget_setParent(handle: QWidgetH; parent: QWidgetH; f: QtWindowFlags); cdecl; external Qt4PasLib name 'QWidget_setParent2'; procedure QWidget_scroll(handle: QWidgetH; dx: Integer; dy: Integer); cdecl; external Qt4PasLib name 'QWidget_scroll'; procedure QWidget_scroll(handle: QWidgetH; dx: Integer; dy: Integer; AnonParam3: PRect); cdecl; external Qt4PasLib name 'QWidget_scroll2'; function QWidget_focusWidget(handle: QWidgetH): QWidgetH; cdecl; external Qt4PasLib name 'QWidget_focusWidget'; function QWidget_nextInFocusChain(handle: QWidgetH): QWidgetH; cdecl; external Qt4PasLib name 'QWidget_nextInFocusChain'; function QWidget_acceptDrops(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_acceptDrops'; procedure QWidget_setAcceptDrops(handle: QWidgetH; _on: Boolean); cdecl; external Qt4PasLib name 'QWidget_setAcceptDrops'; procedure QWidget_addAction(handle: QWidgetH; action: QActionH); cdecl; external Qt4PasLib name 'QWidget_addAction'; procedure QWidget_addActions(handle: QWidgetH; actions: PPtrIntArray); cdecl; external Qt4PasLib name 'QWidget_addActions'; procedure QWidget_insertAction(handle: QWidgetH; before: QActionH; action: QActionH); cdecl; external Qt4PasLib name 'QWidget_insertAction'; procedure QWidget_insertActions(handle: QWidgetH; before: QActionH; actions: PPtrIntArray); cdecl; external Qt4PasLib name 'QWidget_insertActions'; procedure QWidget_removeAction(handle: QWidgetH; action: QActionH); cdecl; external Qt4PasLib name 'QWidget_removeAction'; procedure QWidget_actions(handle: QWidgetH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QWidget_actions'; function QWidget_parentWidget(handle: QWidgetH): QWidgetH; cdecl; external Qt4PasLib name 'QWidget_parentWidget'; procedure QWidget_setWindowFlags(handle: QWidgetH; _type: QtWindowFlags); cdecl; external Qt4PasLib name 'QWidget_setWindowFlags'; function QWidget_windowFlags(handle: QWidgetH): QtWindowFlags; cdecl; external Qt4PasLib name 'QWidget_windowFlags'; procedure QWidget_overrideWindowFlags(handle: QWidgetH; _type: QtWindowFlags); cdecl; external Qt4PasLib name 'QWidget_overrideWindowFlags'; function QWidget_windowType(handle: QWidgetH): QtWindowType; cdecl; external Qt4PasLib name 'QWidget_windowType'; function QWidget_find(AnonParam1: LongWord): QWidgetH; cdecl; external Qt4PasLib name 'QWidget_find'; function QWidget_childAt(handle: QWidgetH; x: Integer; y: Integer): QWidgetH; cdecl; external Qt4PasLib name 'QWidget_childAt'; function QWidget_childAt(handle: QWidgetH; p: PQtPoint): QWidgetH; cdecl; external Qt4PasLib name 'QWidget_childAt2'; {$ifdef BINUX } function QWidget_x11Info(handle: QWidgetH): QX11InfoH; cdecl; external Qt4PasLib name 'QWidget_x11Info'; function QWidget_x11PictureHandle(handle: QWidgetH): QtHANDLE; cdecl; external Qt4PasLib name 'QWidget_x11PictureHandle'; {$endif} {$ifdef BINUX or DARWIN or QTOPIA } function QWidget_handle(handle: QWidgetH): QtHANDLE; cdecl; external Qt4PasLib name 'QWidget_handle'; {$endif} procedure QWidget_setAttribute(handle: QWidgetH; AnonParam1: QtWidgetAttribute; _on: Boolean = True); cdecl; external Qt4PasLib name 'QWidget_setAttribute'; function QWidget_testAttribute(handle: QWidgetH; AnonParam1: QtWidgetAttribute): Boolean; cdecl; external Qt4PasLib name 'QWidget_testAttribute'; function QWidget_paintEngine(handle: QWidgetH): QPaintEngineH; cdecl; external Qt4PasLib name 'QWidget_paintEngine'; procedure QWidget_ensurePolished(handle: QWidgetH); cdecl; external Qt4PasLib name 'QWidget_ensurePolished'; function QWidget_inputContext(handle: QWidgetH): QInputContextH; cdecl; external Qt4PasLib name 'QWidget_inputContext'; procedure QWidget_setInputContext(handle: QWidgetH; AnonParam1: QInputContextH); cdecl; external Qt4PasLib name 'QWidget_setInputContext'; function QWidget_isAncestorOf(handle: QWidgetH; child: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_isAncestorOf'; function QWidget_autoFillBackground(handle: QWidgetH): Boolean; cdecl; external Qt4PasLib name 'QWidget_autoFillBackground'; procedure QWidget_setAutoFillBackground(handle: QWidgetH; enabled: Boolean); cdecl; external Qt4PasLib name 'QWidget_setAutoFillBackground'; procedure QWidget_inputMethodQuery(handle: QWidgetH; retval: QVariantH; AnonParam1: QtInputMethodQuery); cdecl; external Qt4PasLib name 'QWidget_inputMethodQuery'; {$ifdef MSWINDOWS } function QWidget_getDC(handle: QWidgetH): QHDC; cdecl; external Qt4PasLib name 'QWidget_getDC'; procedure QWidget_releaseDC(handle: QWidgetH; AnonParam1: QHDC); cdecl; external Qt4PasLib name 'QWidget_releaseDC'; {$endif} {$ifdef DARWIN } function QWidget_macQDHandle(handle: QWidgetH): QtHANDLE; cdecl; external Qt4PasLib name 'QWidget_macQDHandle'; function QWidget_macCGHandle(handle: QWidgetH): QtHANDLE; cdecl; external Qt4PasLib name 'QWidget_macCGHandle'; {$endif} function QWidget_to_QPaintDevice(handle: QWidgetH): QPaintDeviceH; cdecl; external Qt4PasLib name 'QWidget_to_QPaintDevice'; type QWidget_customContextMenuRequested_Event = procedure (pos: PQtPoint) of object cdecl; procedure QLayoutItem_sizeHint(handle: QLayoutItemH; retval: PSize); cdecl; external Qt4PasLib name 'QLayoutItem_sizeHint'; procedure QLayoutItem_minimumSize(handle: QLayoutItemH; retval: PSize); cdecl; external Qt4PasLib name 'QLayoutItem_minimumSize'; procedure QLayoutItem_maximumSize(handle: QLayoutItemH; retval: PSize); cdecl; external Qt4PasLib name 'QLayoutItem_maximumSize'; function QLayoutItem_expandingDirections(handle: QLayoutItemH): QtOrientations; cdecl; external Qt4PasLib name 'QLayoutItem_expandingDirections'; procedure QLayoutItem_setGeometry(handle: QLayoutItemH; AnonParam1: PRect); cdecl; external Qt4PasLib name 'QLayoutItem_setGeometry'; procedure QLayoutItem_geometry(handle: QLayoutItemH; retval: PRect); cdecl; external Qt4PasLib name 'QLayoutItem_geometry'; function QLayoutItem_isEmpty(handle: QLayoutItemH): Boolean; cdecl; external Qt4PasLib name 'QLayoutItem_isEmpty'; function QLayoutItem_hasHeightForWidth(handle: QLayoutItemH): Boolean; cdecl; external Qt4PasLib name 'QLayoutItem_hasHeightForWidth'; function QLayoutItem_heightForWidth(handle: QLayoutItemH; AnonParam1: Integer): Integer; cdecl; external Qt4PasLib name 'QLayoutItem_heightForWidth'; function QLayoutItem_minimumHeightForWidth(handle: QLayoutItemH; AnonParam1: Integer): Integer; cdecl; external Qt4PasLib name 'QLayoutItem_minimumHeightForWidth'; procedure QLayoutItem_invalidate(handle: QLayoutItemH); cdecl; external Qt4PasLib name 'QLayoutItem_invalidate'; function QLayoutItem_widget(handle: QLayoutItemH): QWidgetH; cdecl; external Qt4PasLib name 'QLayoutItem_widget'; function QLayoutItem_layout(handle: QLayoutItemH): QLayoutH; cdecl; external Qt4PasLib name 'QLayoutItem_layout'; function QLayoutItem_spacerItem(handle: QLayoutItemH): QSpacerItemH; cdecl; external Qt4PasLib name 'QLayoutItem_spacerItem'; function QLayoutItem_alignment(handle: QLayoutItemH): QtAlignment; cdecl; external Qt4PasLib name 'QLayoutItem_alignment'; procedure QLayoutItem_setAlignment(handle: QLayoutItemH; a: QtAlignment); cdecl; external Qt4PasLib name 'QLayoutItem_setAlignment'; function QLayoutItem_controlTypes(handle: QLayoutItemH): QSizePolicyControlTypes; cdecl; external Qt4PasLib name 'QLayoutItem_controlTypes'; function QSpacerItem_create(w: Integer; h: Integer; hData: QSizePolicyPolicy = QSizePolicyMinimum; vData: QSizePolicyPolicy = QSizePolicyMinimum): QSpacerItemH; cdecl; external Qt4PasLib name 'QSpacerItem_create'; procedure QSpacerItem_destroy(handle: QSpacerItemH); cdecl; external Qt4PasLib name 'QSpacerItem_destroy'; procedure QSpacerItem_changeSize(handle: QSpacerItemH; w: Integer; h: Integer; hData: QSizePolicyPolicy = QSizePolicyMinimum; vData: QSizePolicyPolicy = QSizePolicyMinimum); cdecl; external Qt4PasLib name 'QSpacerItem_changeSize'; procedure QSpacerItem_sizeHint(handle: QSpacerItemH; retval: PSize); cdecl; external Qt4PasLib name 'QSpacerItem_sizeHint'; procedure QSpacerItem_minimumSize(handle: QSpacerItemH; retval: PSize); cdecl; external Qt4PasLib name 'QSpacerItem_minimumSize'; procedure QSpacerItem_maximumSize(handle: QSpacerItemH; retval: PSize); cdecl; external Qt4PasLib name 'QSpacerItem_maximumSize'; function QSpacerItem_expandingDirections(handle: QSpacerItemH): QtOrientations; cdecl; external Qt4PasLib name 'QSpacerItem_expandingDirections'; function QSpacerItem_isEmpty(handle: QSpacerItemH): Boolean; cdecl; external Qt4PasLib name 'QSpacerItem_isEmpty'; procedure QSpacerItem_setGeometry(handle: QSpacerItemH; AnonParam1: PRect); cdecl; external Qt4PasLib name 'QSpacerItem_setGeometry'; procedure QSpacerItem_geometry(handle: QSpacerItemH; retval: PRect); cdecl; external Qt4PasLib name 'QSpacerItem_geometry'; function QSpacerItem_spacerItem(handle: QSpacerItemH): QSpacerItemH; cdecl; external Qt4PasLib name 'QSpacerItem_spacerItem'; function QWidgetItem_create(w: QWidgetH): QWidgetItemH; cdecl; external Qt4PasLib name 'QWidgetItem_create'; procedure QWidgetItem_destroy(handle: QWidgetItemH); cdecl; external Qt4PasLib name 'QWidgetItem_destroy'; procedure QWidgetItem_sizeHint(handle: QWidgetItemH; retval: PSize); cdecl; external Qt4PasLib name 'QWidgetItem_sizeHint'; procedure QWidgetItem_minimumSize(handle: QWidgetItemH; retval: PSize); cdecl; external Qt4PasLib name 'QWidgetItem_minimumSize'; procedure QWidgetItem_maximumSize(handle: QWidgetItemH; retval: PSize); cdecl; external Qt4PasLib name 'QWidgetItem_maximumSize'; function QWidgetItem_expandingDirections(handle: QWidgetItemH): QtOrientations; cdecl; external Qt4PasLib name 'QWidgetItem_expandingDirections'; function QWidgetItem_isEmpty(handle: QWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QWidgetItem_isEmpty'; procedure QWidgetItem_setGeometry(handle: QWidgetItemH; AnonParam1: PRect); cdecl; external Qt4PasLib name 'QWidgetItem_setGeometry'; procedure QWidgetItem_geometry(handle: QWidgetItemH; retval: PRect); cdecl; external Qt4PasLib name 'QWidgetItem_geometry'; function QWidgetItem_widget(handle: QWidgetItemH): QWidgetH; cdecl; external Qt4PasLib name 'QWidgetItem_widget'; function QWidgetItem_hasHeightForWidth(handle: QWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QWidgetItem_hasHeightForWidth'; function QWidgetItem_heightForWidth(handle: QWidgetItemH; AnonParam1: Integer): Integer; cdecl; external Qt4PasLib name 'QWidgetItem_heightForWidth'; type QLayoutSizeConstraint = ( // QLayout::SizeConstraint (1) QLayoutSetDefaultConstraint, QLayoutSetNoConstraint, QLayoutSetMinimumSize, QLayoutSetFixedSize, QLayoutSetMaximumSize, QLayoutSetMinAndMaxSize ); function QLayout_margin(handle: QLayoutH): Integer; cdecl; external Qt4PasLib name 'QLayout_margin'; function QLayout_spacing(handle: QLayoutH): Integer; cdecl; external Qt4PasLib name 'QLayout_spacing'; procedure QLayout_setMargin(handle: QLayoutH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QLayout_setMargin'; procedure QLayout_setSpacing(handle: QLayoutH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QLayout_setSpacing'; procedure QLayout_setContentsMargins(handle: QLayoutH; left: Integer; top: Integer; right: Integer; bottom: Integer); cdecl; external Qt4PasLib name 'QLayout_setContentsMargins'; procedure QLayout_getContentsMargins(handle: QLayoutH; left: PInteger; top: PInteger; right: PInteger; bottom: PInteger); cdecl; external Qt4PasLib name 'QLayout_getContentsMargins'; procedure QLayout_contentsRect(handle: QLayoutH; retval: PRect); cdecl; external Qt4PasLib name 'QLayout_contentsRect'; function QLayout_setAlignment(handle: QLayoutH; w: QWidgetH; alignment: QtAlignment): Boolean; cdecl; external Qt4PasLib name 'QLayout_setAlignment'; function QLayout_setAlignment(handle: QLayoutH; l: QLayoutH; alignment: QtAlignment): Boolean; cdecl; external Qt4PasLib name 'QLayout_setAlignment2'; procedure QLayout_setSizeConstraint(handle: QLayoutH; AnonParam1: QLayoutSizeConstraint); cdecl; external Qt4PasLib name 'QLayout_setSizeConstraint'; function QLayout_sizeConstraint(handle: QLayoutH): QLayoutSizeConstraint; cdecl; external Qt4PasLib name 'QLayout_sizeConstraint'; procedure QLayout_setMenuBar(handle: QLayoutH; w: QWidgetH); cdecl; external Qt4PasLib name 'QLayout_setMenuBar'; function QLayout_menuBar(handle: QLayoutH): QWidgetH; cdecl; external Qt4PasLib name 'QLayout_menuBar'; function QLayout_parentWidget(handle: QLayoutH): QWidgetH; cdecl; external Qt4PasLib name 'QLayout_parentWidget'; procedure QLayout_invalidate(handle: QLayoutH); cdecl; external Qt4PasLib name 'QLayout_invalidate'; procedure QLayout_geometry(handle: QLayoutH; retval: PRect); cdecl; external Qt4PasLib name 'QLayout_geometry'; function QLayout_activate(handle: QLayoutH): Boolean; cdecl; external Qt4PasLib name 'QLayout_activate'; procedure QLayout_update(handle: QLayoutH); cdecl; external Qt4PasLib name 'QLayout_update'; procedure QLayout_addWidget(handle: QLayoutH; w: QWidgetH); cdecl; external Qt4PasLib name 'QLayout_addWidget'; procedure QLayout_addItem(handle: QLayoutH; AnonParam1: QLayoutItemH); cdecl; external Qt4PasLib name 'QLayout_addItem'; procedure QLayout_removeWidget(handle: QLayoutH; w: QWidgetH); cdecl; external Qt4PasLib name 'QLayout_removeWidget'; procedure QLayout_removeItem(handle: QLayoutH; AnonParam1: QLayoutItemH); cdecl; external Qt4PasLib name 'QLayout_removeItem'; function QLayout_expandingDirections(handle: QLayoutH): QtOrientations; cdecl; external Qt4PasLib name 'QLayout_expandingDirections'; procedure QLayout_minimumSize(handle: QLayoutH; retval: PSize); cdecl; external Qt4PasLib name 'QLayout_minimumSize'; procedure QLayout_maximumSize(handle: QLayoutH; retval: PSize); cdecl; external Qt4PasLib name 'QLayout_maximumSize'; procedure QLayout_setGeometry(handle: QLayoutH; AnonParam1: PRect); cdecl; external Qt4PasLib name 'QLayout_setGeometry'; function QLayout_itemAt(handle: QLayoutH; index: Integer): QLayoutItemH; cdecl; external Qt4PasLib name 'QLayout_itemAt'; function QLayout_takeAt(handle: QLayoutH; index: Integer): QLayoutItemH; cdecl; external Qt4PasLib name 'QLayout_takeAt'; function QLayout_indexOf(handle: QLayoutH; AnonParam1: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QLayout_indexOf'; function QLayout_count(handle: QLayoutH): Integer; cdecl; external Qt4PasLib name 'QLayout_count'; function QLayout_isEmpty(handle: QLayoutH): Boolean; cdecl; external Qt4PasLib name 'QLayout_isEmpty'; function QLayout_totalHeightForWidth(handle: QLayoutH; w: Integer): Integer; cdecl; external Qt4PasLib name 'QLayout_totalHeightForWidth'; procedure QLayout_totalMinimumSize(handle: QLayoutH; retval: PSize); cdecl; external Qt4PasLib name 'QLayout_totalMinimumSize'; procedure QLayout_totalMaximumSize(handle: QLayoutH; retval: PSize); cdecl; external Qt4PasLib name 'QLayout_totalMaximumSize'; procedure QLayout_totalSizeHint(handle: QLayoutH; retval: PSize); cdecl; external Qt4PasLib name 'QLayout_totalSizeHint'; function QLayout_layout(handle: QLayoutH): QLayoutH; cdecl; external Qt4PasLib name 'QLayout_layout'; procedure QLayout_setEnabled(handle: QLayoutH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QLayout_setEnabled'; function QLayout_isEnabled(handle: QLayoutH): Boolean; cdecl; external Qt4PasLib name 'QLayout_isEnabled'; procedure QLayout_closestAcceptableSize(retval: PSize; w: QWidgetH; s: PSize); cdecl; external Qt4PasLib name 'QLayout_closestAcceptableSize'; function QLayout_to_QLayoutItem(handle: QLayoutH): QLayoutItemH; cdecl; external Qt4PasLib name 'QLayout_to_QLayoutItem'; type QBoxLayoutDirection = cardinal; // QBoxLayout::Direction (4) const QBoxLayoutLeftToRight = 0 { $0 }; QBoxLayoutRightToLeft = 1 { $1 }; QBoxLayoutTopToBottom = 2 { $2 }; QBoxLayoutBottomToTop = 3 { $3 }; QBoxLayoutDown = 2 { $2 }; QBoxLayoutUp = 3 { $3 }; function QBoxLayout_create(AnonParam1: QBoxLayoutDirection; parent: QWidgetH = nil): QBoxLayoutH; cdecl; external Qt4PasLib name 'QBoxLayout_create'; procedure QBoxLayout_destroy(handle: QBoxLayoutH); cdecl; external Qt4PasLib name 'QBoxLayout_destroy'; function QBoxLayout_direction(handle: QBoxLayoutH): QBoxLayoutDirection; cdecl; external Qt4PasLib name 'QBoxLayout_direction'; procedure QBoxLayout_setDirection(handle: QBoxLayoutH; AnonParam1: QBoxLayoutDirection); cdecl; external Qt4PasLib name 'QBoxLayout_setDirection'; procedure QBoxLayout_addSpacing(handle: QBoxLayoutH; size: Integer); cdecl; external Qt4PasLib name 'QBoxLayout_addSpacing'; procedure QBoxLayout_addStretch(handle: QBoxLayoutH; stretch: Integer = 0); cdecl; external Qt4PasLib name 'QBoxLayout_addStretch'; procedure QBoxLayout_addSpacerItem(handle: QBoxLayoutH; spacerItem: QSpacerItemH); cdecl; external Qt4PasLib name 'QBoxLayout_addSpacerItem'; procedure QBoxLayout_addWidget(handle: QBoxLayoutH; AnonParam1: QWidgetH; stretch: Integer = 0; alignment: QtAlignment = 0); cdecl; external Qt4PasLib name 'QBoxLayout_addWidget'; procedure QBoxLayout_addLayout(handle: QBoxLayoutH; layout: QLayoutH; stretch: Integer = 0); cdecl; external Qt4PasLib name 'QBoxLayout_addLayout'; procedure QBoxLayout_addStrut(handle: QBoxLayoutH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QBoxLayout_addStrut'; procedure QBoxLayout_addItem(handle: QBoxLayoutH; AnonParam1: QLayoutItemH); cdecl; external Qt4PasLib name 'QBoxLayout_addItem'; procedure QBoxLayout_insertSpacing(handle: QBoxLayoutH; index: Integer; size: Integer); cdecl; external Qt4PasLib name 'QBoxLayout_insertSpacing'; procedure QBoxLayout_insertStretch(handle: QBoxLayoutH; index: Integer; stretch: Integer = 0); cdecl; external Qt4PasLib name 'QBoxLayout_insertStretch'; procedure QBoxLayout_insertSpacerItem(handle: QBoxLayoutH; index: Integer; spacerItem: QSpacerItemH); cdecl; external Qt4PasLib name 'QBoxLayout_insertSpacerItem'; procedure QBoxLayout_insertWidget(handle: QBoxLayoutH; index: Integer; widget: QWidgetH; stretch: Integer = 0; alignment: QtAlignment = 0); cdecl; external Qt4PasLib name 'QBoxLayout_insertWidget'; procedure QBoxLayout_insertLayout(handle: QBoxLayoutH; index: Integer; layout: QLayoutH; stretch: Integer = 0); cdecl; external Qt4PasLib name 'QBoxLayout_insertLayout'; function QBoxLayout_spacing(handle: QBoxLayoutH): Integer; cdecl; external Qt4PasLib name 'QBoxLayout_spacing'; procedure QBoxLayout_setSpacing(handle: QBoxLayoutH; spacing: Integer); cdecl; external Qt4PasLib name 'QBoxLayout_setSpacing'; function QBoxLayout_setStretchFactor(handle: QBoxLayoutH; w: QWidgetH; stretch: Integer): Boolean; cdecl; external Qt4PasLib name 'QBoxLayout_setStretchFactor'; function QBoxLayout_setStretchFactor(handle: QBoxLayoutH; l: QLayoutH; stretch: Integer): Boolean; cdecl; external Qt4PasLib name 'QBoxLayout_setStretchFactor2'; procedure QBoxLayout_setStretch(handle: QBoxLayoutH; index: Integer; stretch: Integer); cdecl; external Qt4PasLib name 'QBoxLayout_setStretch'; function QBoxLayout_stretch(handle: QBoxLayoutH; index: Integer): Integer; cdecl; external Qt4PasLib name 'QBoxLayout_stretch'; procedure QBoxLayout_sizeHint(handle: QBoxLayoutH; retval: PSize); cdecl; external Qt4PasLib name 'QBoxLayout_sizeHint'; procedure QBoxLayout_minimumSize(handle: QBoxLayoutH; retval: PSize); cdecl; external Qt4PasLib name 'QBoxLayout_minimumSize'; procedure QBoxLayout_maximumSize(handle: QBoxLayoutH; retval: PSize); cdecl; external Qt4PasLib name 'QBoxLayout_maximumSize'; function QBoxLayout_hasHeightForWidth(handle: QBoxLayoutH): Boolean; cdecl; external Qt4PasLib name 'QBoxLayout_hasHeightForWidth'; function QBoxLayout_heightForWidth(handle: QBoxLayoutH; AnonParam1: Integer): Integer; cdecl; external Qt4PasLib name 'QBoxLayout_heightForWidth'; function QBoxLayout_minimumHeightForWidth(handle: QBoxLayoutH; AnonParam1: Integer): Integer; cdecl; external Qt4PasLib name 'QBoxLayout_minimumHeightForWidth'; function QBoxLayout_expandingDirections(handle: QBoxLayoutH): QtOrientations; cdecl; external Qt4PasLib name 'QBoxLayout_expandingDirections'; procedure QBoxLayout_invalidate(handle: QBoxLayoutH); cdecl; external Qt4PasLib name 'QBoxLayout_invalidate'; function QBoxLayout_itemAt(handle: QBoxLayoutH; AnonParam1: Integer): QLayoutItemH; cdecl; external Qt4PasLib name 'QBoxLayout_itemAt'; function QBoxLayout_takeAt(handle: QBoxLayoutH; AnonParam1: Integer): QLayoutItemH; cdecl; external Qt4PasLib name 'QBoxLayout_takeAt'; function QBoxLayout_count(handle: QBoxLayoutH): Integer; cdecl; external Qt4PasLib name 'QBoxLayout_count'; procedure QBoxLayout_setGeometry(handle: QBoxLayoutH; AnonParam1: PRect); cdecl; external Qt4PasLib name 'QBoxLayout_setGeometry'; function QHBoxLayout_create(): QHBoxLayoutH; cdecl; external Qt4PasLib name 'QHBoxLayout_create'; procedure QHBoxLayout_destroy(handle: QHBoxLayoutH); cdecl; external Qt4PasLib name 'QHBoxLayout_destroy'; function QHBoxLayout_create(parent: QWidgetH): QHBoxLayoutH; cdecl; external Qt4PasLib name 'QHBoxLayout_create2'; function QVBoxLayout_create(): QVBoxLayoutH; cdecl; external Qt4PasLib name 'QVBoxLayout_create'; procedure QVBoxLayout_destroy(handle: QVBoxLayoutH); cdecl; external Qt4PasLib name 'QVBoxLayout_destroy'; function QVBoxLayout_create(parent: QWidgetH): QVBoxLayoutH; cdecl; external Qt4PasLib name 'QVBoxLayout_create2'; type QStackedLayoutStackingMode = ( // QStackedLayout::StackingMode (1) QStackedLayoutStackOne, QStackedLayoutStackAll ); function QStackedLayout_create(): QStackedLayoutH; cdecl; external Qt4PasLib name 'QStackedLayout_create'; procedure QStackedLayout_destroy(handle: QStackedLayoutH); cdecl; external Qt4PasLib name 'QStackedLayout_destroy'; function QStackedLayout_create(parent: QWidgetH): QStackedLayoutH; cdecl; external Qt4PasLib name 'QStackedLayout_create2'; function QStackedLayout_create(parentLayout: QLayoutH): QStackedLayoutH; cdecl; external Qt4PasLib name 'QStackedLayout_create3'; function QStackedLayout_addWidget(handle: QStackedLayoutH; w: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QStackedLayout_addWidget'; function QStackedLayout_insertWidget(handle: QStackedLayoutH; index: Integer; w: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QStackedLayout_insertWidget'; function QStackedLayout_currentWidget(handle: QStackedLayoutH): QWidgetH; cdecl; external Qt4PasLib name 'QStackedLayout_currentWidget'; function QStackedLayout_currentIndex(handle: QStackedLayoutH): Integer; cdecl; external Qt4PasLib name 'QStackedLayout_currentIndex'; function QStackedLayout_widget(handle: QStackedLayoutH; AnonParam1: Integer): QWidgetH; cdecl; external Qt4PasLib name 'QStackedLayout_widget'; function QStackedLayout_count(handle: QStackedLayoutH): Integer; cdecl; external Qt4PasLib name 'QStackedLayout_count'; function QStackedLayout_stackingMode(handle: QStackedLayoutH): QStackedLayoutStackingMode; cdecl; external Qt4PasLib name 'QStackedLayout_stackingMode'; procedure QStackedLayout_setStackingMode(handle: QStackedLayoutH; stackingMode: QStackedLayoutStackingMode); cdecl; external Qt4PasLib name 'QStackedLayout_setStackingMode'; procedure QStackedLayout_addItem(handle: QStackedLayoutH; item: QLayoutItemH); cdecl; external Qt4PasLib name 'QStackedLayout_addItem'; procedure QStackedLayout_sizeHint(handle: QStackedLayoutH; retval: PSize); cdecl; external Qt4PasLib name 'QStackedLayout_sizeHint'; procedure QStackedLayout_minimumSize(handle: QStackedLayoutH; retval: PSize); cdecl; external Qt4PasLib name 'QStackedLayout_minimumSize'; function QStackedLayout_itemAt(handle: QStackedLayoutH; AnonParam1: Integer): QLayoutItemH; cdecl; external Qt4PasLib name 'QStackedLayout_itemAt'; function QStackedLayout_takeAt(handle: QStackedLayoutH; AnonParam1: Integer): QLayoutItemH; cdecl; external Qt4PasLib name 'QStackedLayout_takeAt'; procedure QStackedLayout_setGeometry(handle: QStackedLayoutH; rect: PRect); cdecl; external Qt4PasLib name 'QStackedLayout_setGeometry'; procedure QStackedLayout_setCurrentIndex(handle: QStackedLayoutH; index: Integer); cdecl; external Qt4PasLib name 'QStackedLayout_setCurrentIndex'; procedure QStackedLayout_setCurrentWidget(handle: QStackedLayoutH; w: QWidgetH); cdecl; external Qt4PasLib name 'QStackedLayout_setCurrentWidget'; type QStackedLayout_widgetRemoved_Event = procedure (index: Integer) of object cdecl; QStackedLayout_currentChanged_Event = procedure (index: Integer) of object cdecl; type QActionMenuRole = ( // QAction::MenuRole (1) QActionNoRole, QActionTextHeuristicRole, QActionApplicationSpecificRole, QActionAboutQtRole, QActionAboutRole, QActionPreferencesRole, QActionQuitRole ); QActionActionEvent = ( // QAction::ActionEvent (1) QActionTrigger, QActionHover ); function QAction_create(parent: QObjectH): QActionH; cdecl; external Qt4PasLib name 'QAction_create'; procedure QAction_destroy(handle: QActionH); cdecl; external Qt4PasLib name 'QAction_destroy'; function QAction_create(text: PWideString; parent: QObjectH): QActionH; cdecl; external Qt4PasLib name 'QAction_create2'; function QAction_create(icon: QIconH; text: PWideString; parent: QObjectH): QActionH; cdecl; external Qt4PasLib name 'QAction_create3'; procedure QAction_setActionGroup(handle: QActionH; group: QActionGroupH); cdecl; external Qt4PasLib name 'QAction_setActionGroup'; function QAction_actionGroup(handle: QActionH): QActionGroupH; cdecl; external Qt4PasLib name 'QAction_actionGroup'; procedure QAction_setIcon(handle: QActionH; icon: QIconH); cdecl; external Qt4PasLib name 'QAction_setIcon'; procedure QAction_icon(handle: QActionH; retval: QIconH); cdecl; external Qt4PasLib name 'QAction_icon'; procedure QAction_setText(handle: QActionH; text: PWideString); cdecl; external Qt4PasLib name 'QAction_setText'; procedure QAction_text(handle: QActionH; retval: PWideString); cdecl; external Qt4PasLib name 'QAction_text'; procedure QAction_setIconText(handle: QActionH; text: PWideString); cdecl; external Qt4PasLib name 'QAction_setIconText'; procedure QAction_iconText(handle: QActionH; retval: PWideString); cdecl; external Qt4PasLib name 'QAction_iconText'; procedure QAction_setToolTip(handle: QActionH; tip: PWideString); cdecl; external Qt4PasLib name 'QAction_setToolTip'; procedure QAction_toolTip(handle: QActionH; retval: PWideString); cdecl; external Qt4PasLib name 'QAction_toolTip'; procedure QAction_setStatusTip(handle: QActionH; statusTip: PWideString); cdecl; external Qt4PasLib name 'QAction_setStatusTip'; procedure QAction_statusTip(handle: QActionH; retval: PWideString); cdecl; external Qt4PasLib name 'QAction_statusTip'; procedure QAction_setWhatsThis(handle: QActionH; what: PWideString); cdecl; external Qt4PasLib name 'QAction_setWhatsThis'; procedure QAction_whatsThis(handle: QActionH; retval: PWideString); cdecl; external Qt4PasLib name 'QAction_whatsThis'; function QAction_menu(handle: QActionH): QMenuH; cdecl; external Qt4PasLib name 'QAction_menu'; procedure QAction_setMenu(handle: QActionH; menu: QMenuH); cdecl; external Qt4PasLib name 'QAction_setMenu'; procedure QAction_setSeparator(handle: QActionH; b: Boolean); cdecl; external Qt4PasLib name 'QAction_setSeparator'; function QAction_isSeparator(handle: QActionH): Boolean; cdecl; external Qt4PasLib name 'QAction_isSeparator'; procedure QAction_setShortcut(handle: QActionH; shortcut: QKeySequenceH); cdecl; external Qt4PasLib name 'QAction_setShortcut'; procedure QAction_shortcut(handle: QActionH; retval: QKeySequenceH); cdecl; external Qt4PasLib name 'QAction_shortcut'; procedure QAction_setShortcuts(handle: QActionH; AnonParam1: QKeySequenceStandardKey); cdecl; external Qt4PasLib name 'QAction_setShortcuts2'; procedure QAction_setShortcutContext(handle: QActionH; context: QtShortcutContext); cdecl; external Qt4PasLib name 'QAction_setShortcutContext'; function QAction_shortcutContext(handle: QActionH): QtShortcutContext; cdecl; external Qt4PasLib name 'QAction_shortcutContext'; procedure QAction_setAutoRepeat(handle: QActionH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QAction_setAutoRepeat'; function QAction_autoRepeat(handle: QActionH): Boolean; cdecl; external Qt4PasLib name 'QAction_autoRepeat'; procedure QAction_setFont(handle: QActionH; font: QFontH); cdecl; external Qt4PasLib name 'QAction_setFont'; procedure QAction_font(handle: QActionH; retval: QFontH); cdecl; external Qt4PasLib name 'QAction_font'; procedure QAction_setCheckable(handle: QActionH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QAction_setCheckable'; function QAction_isCheckable(handle: QActionH): Boolean; cdecl; external Qt4PasLib name 'QAction_isCheckable'; procedure QAction_data(handle: QActionH; retval: QVariantH); cdecl; external Qt4PasLib name 'QAction_data'; procedure QAction_setData(handle: QActionH; _var: QVariantH); cdecl; external Qt4PasLib name 'QAction_setData'; function QAction_isChecked(handle: QActionH): Boolean; cdecl; external Qt4PasLib name 'QAction_isChecked'; function QAction_isEnabled(handle: QActionH): Boolean; cdecl; external Qt4PasLib name 'QAction_isEnabled'; function QAction_isVisible(handle: QActionH): Boolean; cdecl; external Qt4PasLib name 'QAction_isVisible'; procedure QAction_activate(handle: QActionH; event: QActionActionEvent); cdecl; external Qt4PasLib name 'QAction_activate'; function QAction_showStatusText(handle: QActionH; widget: QWidgetH = nil): Boolean; cdecl; external Qt4PasLib name 'QAction_showStatusText'; procedure QAction_setMenuRole(handle: QActionH; menuRole: QActionMenuRole); cdecl; external Qt4PasLib name 'QAction_setMenuRole'; function QAction_menuRole(handle: QActionH): QActionMenuRole; cdecl; external Qt4PasLib name 'QAction_menuRole'; procedure QAction_setIconVisibleInMenu(handle: QActionH; visible: Boolean); cdecl; external Qt4PasLib name 'QAction_setIconVisibleInMenu'; function QAction_isIconVisibleInMenu(handle: QActionH): Boolean; cdecl; external Qt4PasLib name 'QAction_isIconVisibleInMenu'; function QAction_parentWidget(handle: QActionH): QWidgetH; cdecl; external Qt4PasLib name 'QAction_parentWidget'; procedure QAction_associatedWidgets(handle: QActionH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QAction_associatedWidgets'; procedure QAction_associatedGraphicsWidgets(handle: QActionH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QAction_associatedGraphicsWidgets'; procedure QAction_trigger(handle: QActionH); cdecl; external Qt4PasLib name 'QAction_trigger'; procedure QAction_hover(handle: QActionH); cdecl; external Qt4PasLib name 'QAction_hover'; procedure QAction_setChecked(handle: QActionH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QAction_setChecked'; procedure QAction_toggle(handle: QActionH); cdecl; external Qt4PasLib name 'QAction_toggle'; procedure QAction_setEnabled(handle: QActionH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QAction_setEnabled'; procedure QAction_setDisabled(handle: QActionH; b: Boolean); cdecl; external Qt4PasLib name 'QAction_setDisabled'; procedure QAction_setVisible(handle: QActionH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QAction_setVisible'; type QAction_changed_Event = procedure () of object cdecl; QAction_triggered_Event = procedure (checked: Boolean = False) of object cdecl; QAction_triggered2_Event = procedure () of object cdecl; QAction_hovered_Event = procedure () of object cdecl; QAction_toggled_Event = procedure (AnonParam1: Boolean) of object cdecl; function QActionGroup_create(parent: QObjectH): QActionGroupH; cdecl; external Qt4PasLib name 'QActionGroup_create'; procedure QActionGroup_destroy(handle: QActionGroupH); cdecl; external Qt4PasLib name 'QActionGroup_destroy'; function QActionGroup_addAction(handle: QActionGroupH; a: QActionH): QActionH; cdecl; external Qt4PasLib name 'QActionGroup_addAction'; function QActionGroup_addAction(handle: QActionGroupH; text: PWideString): QActionH; cdecl; external Qt4PasLib name 'QActionGroup_addAction2'; function QActionGroup_addAction(handle: QActionGroupH; icon: QIconH; text: PWideString): QActionH; cdecl; external Qt4PasLib name 'QActionGroup_addAction3'; procedure QActionGroup_removeAction(handle: QActionGroupH; a: QActionH); cdecl; external Qt4PasLib name 'QActionGroup_removeAction'; procedure QActionGroup_actions(handle: QActionGroupH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QActionGroup_actions'; function QActionGroup_checkedAction(handle: QActionGroupH): QActionH; cdecl; external Qt4PasLib name 'QActionGroup_checkedAction'; function QActionGroup_isExclusive(handle: QActionGroupH): Boolean; cdecl; external Qt4PasLib name 'QActionGroup_isExclusive'; function QActionGroup_isEnabled(handle: QActionGroupH): Boolean; cdecl; external Qt4PasLib name 'QActionGroup_isEnabled'; function QActionGroup_isVisible(handle: QActionGroupH): Boolean; cdecl; external Qt4PasLib name 'QActionGroup_isVisible'; procedure QActionGroup_setEnabled(handle: QActionGroupH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QActionGroup_setEnabled'; procedure QActionGroup_setDisabled(handle: QActionGroupH; b: Boolean); cdecl; external Qt4PasLib name 'QActionGroup_setDisabled'; procedure QActionGroup_setVisible(handle: QActionGroupH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QActionGroup_setVisible'; procedure QActionGroup_setExclusive(handle: QActionGroupH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QActionGroup_setExclusive'; type QActionGroup_triggered_Event = procedure (AnonParam1: QActionH) of object cdecl; QActionGroup_selected_Event = procedure (AnonParam1: QActionH) of object cdecl; QActionGroup_hovered_Event = procedure (AnonParam1: QActionH) of object cdecl; type QTabletEventTabletDevice = ( // QTabletEvent::TabletDevice (1) QTabletEventNoDevice, QTabletEventPuck, QTabletEventStylus, QTabletEventAirbrush, QTabletEventFourDMouse, QTabletEventXFreeEraser, QTabletEventRotationStylus ); QTabletEventPointerType = ( // QTabletEvent::PointerType (1) QTabletEventUnknownPointer, QTabletEventPen, QTabletEventCursor, QTabletEventEraser ); type QContextMenuEventReason = ( // QContextMenuEvent::Reason (1) QContextMenuEventMouse, QContextMenuEventKeyboard, QContextMenuEventOther ); type QInputMethodEventAttributeType = ( // QInputMethodEvent::AttributeType (1) QInputMethodEventTextFormat, QInputMethodEventCursor, QInputMethodEventLanguage, QInputMethodEventRuby ); function QInputEvent_create(_type: QEventType; modifiers: QtKeyboardModifiers = QtNoModifier): QInputEventH; cdecl; external Qt4PasLib name 'QInputEvent_create'; procedure QInputEvent_destroy(handle: QInputEventH); cdecl; external Qt4PasLib name 'QInputEvent_destroy'; function QInputEvent_modifiers(handle: QInputEventH): QtKeyboardModifiers; cdecl; external Qt4PasLib name 'QInputEvent_modifiers'; function QMouseEvent_create(_type: QEventType; pos: PQtPoint; button: QtMouseButton; buttons: QtMouseButtons; modifiers: QtKeyboardModifiers): QMouseEventH; cdecl; external Qt4PasLib name 'QMouseEvent_create'; procedure QMouseEvent_destroy(handle: QMouseEventH); cdecl; external Qt4PasLib name 'QMouseEvent_destroy'; function QMouseEvent_create(_type: QEventType; pos: PQtPoint; globalPos: PQtPoint; button: QtMouseButton; buttons: QtMouseButtons; modifiers: QtKeyboardModifiers): QMouseEventH; cdecl; external Qt4PasLib name 'QMouseEvent_create2'; function QMouseEvent_pos(handle: QMouseEventH): PQtPoint; cdecl; external Qt4PasLib name 'QMouseEvent_pos'; function QMouseEvent_globalPos(handle: QMouseEventH): PQtPoint; cdecl; external Qt4PasLib name 'QMouseEvent_globalPos'; function QMouseEvent_x(handle: QMouseEventH): Integer; cdecl; external Qt4PasLib name 'QMouseEvent_x'; function QMouseEvent_y(handle: QMouseEventH): Integer; cdecl; external Qt4PasLib name 'QMouseEvent_y'; function QMouseEvent_globalX(handle: QMouseEventH): Integer; cdecl; external Qt4PasLib name 'QMouseEvent_globalX'; function QMouseEvent_globalY(handle: QMouseEventH): Integer; cdecl; external Qt4PasLib name 'QMouseEvent_globalY'; function QMouseEvent_button(handle: QMouseEventH): QtMouseButton; cdecl; external Qt4PasLib name 'QMouseEvent_button'; function QMouseEvent_buttons(handle: QMouseEventH): QtMouseButtons; cdecl; external Qt4PasLib name 'QMouseEvent_buttons'; function QMouseEvent_createExtendedMouseEvent(_type: QEventType; pos: PQtPointF; globalPos: PQtPoint; button: QtMouseButton; buttons: QtMouseButtons; modifiers: QtKeyboardModifiers): QMouseEventH; cdecl; external Qt4PasLib name 'QMouseEvent_createExtendedMouseEvent'; function QMouseEvent_hasExtendedInfo(handle: QMouseEventH): Boolean; cdecl; external Qt4PasLib name 'QMouseEvent_hasExtendedInfo'; procedure QMouseEvent_posF(handle: QMouseEventH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QMouseEvent_posF'; function QHoverEvent_create(_type: QEventType; pos: PQtPoint; oldPos: PQtPoint): QHoverEventH; cdecl; external Qt4PasLib name 'QHoverEvent_create'; procedure QHoverEvent_destroy(handle: QHoverEventH); cdecl; external Qt4PasLib name 'QHoverEvent_destroy'; function QHoverEvent_pos(handle: QHoverEventH): PQtPoint; cdecl; external Qt4PasLib name 'QHoverEvent_pos'; function QHoverEvent_oldPos(handle: QHoverEventH): PQtPoint; cdecl; external Qt4PasLib name 'QHoverEvent_oldPos'; function QWheelEvent_create(pos: PQtPoint; delta: Integer; buttons: QtMouseButtons; modifiers: QtKeyboardModifiers; orient: QtOrientation = QtVertical): QWheelEventH; cdecl; external Qt4PasLib name 'QWheelEvent_create'; procedure QWheelEvent_destroy(handle: QWheelEventH); cdecl; external Qt4PasLib name 'QWheelEvent_destroy'; function QWheelEvent_create(pos: PQtPoint; globalPos: PQtPoint; delta: Integer; buttons: QtMouseButtons; modifiers: QtKeyboardModifiers; orient: QtOrientation = QtVertical): QWheelEventH; cdecl; external Qt4PasLib name 'QWheelEvent_create2'; function QWheelEvent_delta(handle: QWheelEventH): Integer; cdecl; external Qt4PasLib name 'QWheelEvent_delta'; function QWheelEvent_pos(handle: QWheelEventH): PQtPoint; cdecl; external Qt4PasLib name 'QWheelEvent_pos'; function QWheelEvent_globalPos(handle: QWheelEventH): PQtPoint; cdecl; external Qt4PasLib name 'QWheelEvent_globalPos'; function QWheelEvent_x(handle: QWheelEventH): Integer; cdecl; external Qt4PasLib name 'QWheelEvent_x'; function QWheelEvent_y(handle: QWheelEventH): Integer; cdecl; external Qt4PasLib name 'QWheelEvent_y'; function QWheelEvent_globalX(handle: QWheelEventH): Integer; cdecl; external Qt4PasLib name 'QWheelEvent_globalX'; function QWheelEvent_globalY(handle: QWheelEventH): Integer; cdecl; external Qt4PasLib name 'QWheelEvent_globalY'; function QWheelEvent_buttons(handle: QWheelEventH): QtMouseButtons; cdecl; external Qt4PasLib name 'QWheelEvent_buttons'; function QWheelEvent_orientation(handle: QWheelEventH): QtOrientation; cdecl; external Qt4PasLib name 'QWheelEvent_orientation'; function QTabletEvent_create(t: QEventType; pos: PQtPoint; globalPos: PQtPoint; hiResGlobalPos: PQtPointF; device: Integer; pointerType: Integer; pressure: qreal; xTilt: Integer; yTilt: Integer; tangentialPressure: qreal; rotation: qreal; z: Integer; keyState: QtKeyboardModifiers; uniqueID: int64): QTabletEventH; cdecl; external Qt4PasLib name 'QTabletEvent_create'; procedure QTabletEvent_destroy(handle: QTabletEventH); cdecl; external Qt4PasLib name 'QTabletEvent_destroy'; function QTabletEvent_pos(handle: QTabletEventH): PQtPoint; cdecl; external Qt4PasLib name 'QTabletEvent_pos'; function QTabletEvent_globalPos(handle: QTabletEventH): PQtPoint; cdecl; external Qt4PasLib name 'QTabletEvent_globalPos'; function QTabletEvent_hiResGlobalPos(handle: QTabletEventH): PQtPointF; cdecl; external Qt4PasLib name 'QTabletEvent_hiResGlobalPos'; function QTabletEvent_x(handle: QTabletEventH): Integer; cdecl; external Qt4PasLib name 'QTabletEvent_x'; function QTabletEvent_y(handle: QTabletEventH): Integer; cdecl; external Qt4PasLib name 'QTabletEvent_y'; function QTabletEvent_globalX(handle: QTabletEventH): Integer; cdecl; external Qt4PasLib name 'QTabletEvent_globalX'; function QTabletEvent_globalY(handle: QTabletEventH): Integer; cdecl; external Qt4PasLib name 'QTabletEvent_globalY'; function QTabletEvent_hiResGlobalX(handle: QTabletEventH): qreal; cdecl; external Qt4PasLib name 'QTabletEvent_hiResGlobalX'; function QTabletEvent_hiResGlobalY(handle: QTabletEventH): qreal; cdecl; external Qt4PasLib name 'QTabletEvent_hiResGlobalY'; function QTabletEvent_device(handle: QTabletEventH): QTabletEventTabletDevice; cdecl; external Qt4PasLib name 'QTabletEvent_device'; function QTabletEvent_pointerType(handle: QTabletEventH): QTabletEventPointerType; cdecl; external Qt4PasLib name 'QTabletEvent_pointerType'; function QTabletEvent_uniqueId(handle: QTabletEventH): int64; cdecl; external Qt4PasLib name 'QTabletEvent_uniqueId'; function QTabletEvent_pressure(handle: QTabletEventH): qreal; cdecl; external Qt4PasLib name 'QTabletEvent_pressure'; function QTabletEvent_z(handle: QTabletEventH): Integer; cdecl; external Qt4PasLib name 'QTabletEvent_z'; function QTabletEvent_tangentialPressure(handle: QTabletEventH): qreal; cdecl; external Qt4PasLib name 'QTabletEvent_tangentialPressure'; function QTabletEvent_rotation(handle: QTabletEventH): qreal; cdecl; external Qt4PasLib name 'QTabletEvent_rotation'; function QTabletEvent_xTilt(handle: QTabletEventH): Integer; cdecl; external Qt4PasLib name 'QTabletEvent_xTilt'; function QTabletEvent_yTilt(handle: QTabletEventH): Integer; cdecl; external Qt4PasLib name 'QTabletEvent_yTilt'; function QKeyEvent_create(_type: QEventType; key: Integer; modifiers: QtKeyboardModifiers; text: PWideString = nil; autorep: Boolean = False; count: Word = 1): QKeyEventH; cdecl; external Qt4PasLib name 'QKeyEvent_create'; procedure QKeyEvent_destroy(handle: QKeyEventH); cdecl; external Qt4PasLib name 'QKeyEvent_destroy'; function QKeyEvent_key(handle: QKeyEventH): Integer; cdecl; external Qt4PasLib name 'QKeyEvent_key'; function QKeyEvent_matches(handle: QKeyEventH; key: QKeySequenceStandardKey): Boolean; cdecl; external Qt4PasLib name 'QKeyEvent_matches'; function QKeyEvent_modifiers(handle: QKeyEventH): QtKeyboardModifiers; cdecl; external Qt4PasLib name 'QKeyEvent_modifiers'; procedure QKeyEvent_text(handle: QKeyEventH; retval: PWideString); cdecl; external Qt4PasLib name 'QKeyEvent_text'; function QKeyEvent_isAutoRepeat(handle: QKeyEventH): Boolean; cdecl; external Qt4PasLib name 'QKeyEvent_isAutoRepeat'; function QKeyEvent_count(handle: QKeyEventH): Integer; cdecl; external Qt4PasLib name 'QKeyEvent_count'; function QKeyEvent_createExtendedKeyEvent(_type: QEventType; key: Integer; modifiers: QtKeyboardModifiers; nativeScanCode: LongWord; nativeVirtualKey: LongWord; nativeModifiers: LongWord; text: PWideString = nil; autorep: Boolean = False; count: Word = 1): QKeyEventH; cdecl; external Qt4PasLib name 'QKeyEvent_createExtendedKeyEvent'; function QKeyEvent_hasExtendedInfo(handle: QKeyEventH): Boolean; cdecl; external Qt4PasLib name 'QKeyEvent_hasExtendedInfo'; function QKeyEvent_nativeScanCode(handle: QKeyEventH): LongWord; cdecl; external Qt4PasLib name 'QKeyEvent_nativeScanCode'; function QKeyEvent_nativeVirtualKey(handle: QKeyEventH): LongWord; cdecl; external Qt4PasLib name 'QKeyEvent_nativeVirtualKey'; function QKeyEvent_nativeModifiers(handle: QKeyEventH): LongWord; cdecl; external Qt4PasLib name 'QKeyEvent_nativeModifiers'; function QFocusEvent_create(_type: QEventType; reason: QtFocusReason = QtOtherFocusReason): QFocusEventH; cdecl; external Qt4PasLib name 'QFocusEvent_create'; procedure QFocusEvent_destroy(handle: QFocusEventH); cdecl; external Qt4PasLib name 'QFocusEvent_destroy'; function QFocusEvent_gotFocus(handle: QFocusEventH): Boolean; cdecl; external Qt4PasLib name 'QFocusEvent_gotFocus'; function QFocusEvent_lostFocus(handle: QFocusEventH): Boolean; cdecl; external Qt4PasLib name 'QFocusEvent_lostFocus'; function QFocusEvent_reason(handle: QFocusEventH): QtFocusReason; cdecl; external Qt4PasLib name 'QFocusEvent_reason'; function QPaintEvent_create(paintRegion: QRegionH): QPaintEventH; cdecl; external Qt4PasLib name 'QPaintEvent_create'; procedure QPaintEvent_destroy(handle: QPaintEventH); cdecl; external Qt4PasLib name 'QPaintEvent_destroy'; function QPaintEvent_create(paintRect: PRect): QPaintEventH; cdecl; external Qt4PasLib name 'QPaintEvent_create2'; procedure QPaintEvent_rect(handle: QPaintEventH; retval: PRect); cdecl; external Qt4PasLib name 'QPaintEvent_rect'; function QPaintEvent_region(handle: QPaintEventH): QRegionH; cdecl; external Qt4PasLib name 'QPaintEvent_region'; function QMoveEvent_create(pos: PQtPoint; oldPos: PQtPoint): QMoveEventH; cdecl; external Qt4PasLib name 'QMoveEvent_create'; procedure QMoveEvent_destroy(handle: QMoveEventH); cdecl; external Qt4PasLib name 'QMoveEvent_destroy'; function QMoveEvent_pos(handle: QMoveEventH): PQtPoint; cdecl; external Qt4PasLib name 'QMoveEvent_pos'; function QMoveEvent_oldPos(handle: QMoveEventH): PQtPoint; cdecl; external Qt4PasLib name 'QMoveEvent_oldPos'; function QResizeEvent_create(size: PSize; oldSize: PSize): QResizeEventH; cdecl; external Qt4PasLib name 'QResizeEvent_create'; procedure QResizeEvent_destroy(handle: QResizeEventH); cdecl; external Qt4PasLib name 'QResizeEvent_destroy'; function QResizeEvent_size(handle: QResizeEventH): PSize; cdecl; external Qt4PasLib name 'QResizeEvent_size'; function QResizeEvent_oldSize(handle: QResizeEventH): PSize; cdecl; external Qt4PasLib name 'QResizeEvent_oldSize'; function QCloseEvent_create(): QCloseEventH; cdecl; external Qt4PasLib name 'QCloseEvent_create'; procedure QCloseEvent_destroy(handle: QCloseEventH); cdecl; external Qt4PasLib name 'QCloseEvent_destroy'; function QIconDragEvent_create(): QIconDragEventH; cdecl; external Qt4PasLib name 'QIconDragEvent_create'; procedure QIconDragEvent_destroy(handle: QIconDragEventH); cdecl; external Qt4PasLib name 'QIconDragEvent_destroy'; function QShowEvent_create(): QShowEventH; cdecl; external Qt4PasLib name 'QShowEvent_create'; procedure QShowEvent_destroy(handle: QShowEventH); cdecl; external Qt4PasLib name 'QShowEvent_destroy'; function QHideEvent_create(): QHideEventH; cdecl; external Qt4PasLib name 'QHideEvent_create'; procedure QHideEvent_destroy(handle: QHideEventH); cdecl; external Qt4PasLib name 'QHideEvent_destroy'; function QContextMenuEvent_create(reason: QContextMenuEventReason; pos: PQtPoint; globalPos: PQtPoint; modifiers: QtKeyboardModifiers): QContextMenuEventH; cdecl; external Qt4PasLib name 'QContextMenuEvent_create'; procedure QContextMenuEvent_destroy(handle: QContextMenuEventH); cdecl; external Qt4PasLib name 'QContextMenuEvent_destroy'; function QContextMenuEvent_create(reason: QContextMenuEventReason; pos: PQtPoint; globalPos: PQtPoint): QContextMenuEventH; cdecl; external Qt4PasLib name 'QContextMenuEvent_create2'; function QContextMenuEvent_create(reason: QContextMenuEventReason; pos: PQtPoint): QContextMenuEventH; cdecl; external Qt4PasLib name 'QContextMenuEvent_create3'; function QContextMenuEvent_x(handle: QContextMenuEventH): Integer; cdecl; external Qt4PasLib name 'QContextMenuEvent_x'; function QContextMenuEvent_y(handle: QContextMenuEventH): Integer; cdecl; external Qt4PasLib name 'QContextMenuEvent_y'; function QContextMenuEvent_globalX(handle: QContextMenuEventH): Integer; cdecl; external Qt4PasLib name 'QContextMenuEvent_globalX'; function QContextMenuEvent_globalY(handle: QContextMenuEventH): Integer; cdecl; external Qt4PasLib name 'QContextMenuEvent_globalY'; function QContextMenuEvent_pos(handle: QContextMenuEventH): PQtPoint; cdecl; external Qt4PasLib name 'QContextMenuEvent_pos'; function QContextMenuEvent_globalPos(handle: QContextMenuEventH): PQtPoint; cdecl; external Qt4PasLib name 'QContextMenuEvent_globalPos'; function QContextMenuEvent_reason(handle: QContextMenuEventH): QContextMenuEventReason; cdecl; external Qt4PasLib name 'QContextMenuEvent_reason'; function QInputMethodEvent_create(): QInputMethodEventH; cdecl; external Qt4PasLib name 'QInputMethodEvent_create'; procedure QInputMethodEvent_destroy(handle: QInputMethodEventH); cdecl; external Qt4PasLib name 'QInputMethodEvent_destroy'; procedure QInputMethodEvent_setCommitString(handle: QInputMethodEventH; commitString: PWideString; replaceFrom: Integer = 0; replaceLength: Integer = 0); cdecl; external Qt4PasLib name 'QInputMethodEvent_setCommitString'; procedure QInputMethodEvent_preeditString(handle: QInputMethodEventH; retval: PWideString); cdecl; external Qt4PasLib name 'QInputMethodEvent_preeditString'; procedure QInputMethodEvent_commitString(handle: QInputMethodEventH; retval: PWideString); cdecl; external Qt4PasLib name 'QInputMethodEvent_commitString'; function QInputMethodEvent_replacementStart(handle: QInputMethodEventH): Integer; cdecl; external Qt4PasLib name 'QInputMethodEvent_replacementStart'; function QInputMethodEvent_replacementLength(handle: QInputMethodEventH): Integer; cdecl; external Qt4PasLib name 'QInputMethodEvent_replacementLength'; function QInputMethodEvent_create(other: QInputMethodEventH): QInputMethodEventH; cdecl; external Qt4PasLib name 'QInputMethodEvent_create3'; function QDropEvent_create(pos: PQtPoint; actions: QtDropActions; data: QMimeDataH; buttons: QtMouseButtons; modifiers: QtKeyboardModifiers; _type: QEventType): QDropEventH; cdecl; external Qt4PasLib name 'QDropEvent_create'; procedure QDropEvent_destroy(handle: QDropEventH); cdecl; external Qt4PasLib name 'QDropEvent_destroy'; function QDropEvent_pos(handle: QDropEventH): PQtPoint; cdecl; external Qt4PasLib name 'QDropEvent_pos'; function QDropEvent_mouseButtons(handle: QDropEventH): QtMouseButtons; cdecl; external Qt4PasLib name 'QDropEvent_mouseButtons'; function QDropEvent_keyboardModifiers(handle: QDropEventH): QtKeyboardModifiers; cdecl; external Qt4PasLib name 'QDropEvent_keyboardModifiers'; function QDropEvent_possibleActions(handle: QDropEventH): QtDropActions; cdecl; external Qt4PasLib name 'QDropEvent_possibleActions'; function QDropEvent_proposedAction(handle: QDropEventH): QtDropAction; cdecl; external Qt4PasLib name 'QDropEvent_proposedAction'; procedure QDropEvent_acceptProposedAction(handle: QDropEventH); cdecl; external Qt4PasLib name 'QDropEvent_acceptProposedAction'; function QDropEvent_dropAction(handle: QDropEventH): QtDropAction; cdecl; external Qt4PasLib name 'QDropEvent_dropAction'; procedure QDropEvent_setDropAction(handle: QDropEventH; action: QtDropAction); cdecl; external Qt4PasLib name 'QDropEvent_setDropAction'; function QDropEvent_source(handle: QDropEventH): QWidgetH; cdecl; external Qt4PasLib name 'QDropEvent_source'; function QDropEvent_mimeData(handle: QDropEventH): QMimeDataH; cdecl; external Qt4PasLib name 'QDropEvent_mimeData'; function QDropEvent_format(handle: QDropEventH; n: Integer = 0): PAnsiChar; cdecl; external Qt4PasLib name 'QDropEvent_format'; procedure QDropEvent_encodedData(handle: QDropEventH; retval: QByteArrayH; AnonParam1: PAnsiChar); cdecl; external Qt4PasLib name 'QDropEvent_encodedData'; function QDropEvent_provides(handle: QDropEventH; AnonParam1: PAnsiChar): Boolean; cdecl; external Qt4PasLib name 'QDropEvent_provides'; function QDragMoveEvent_create(pos: PQtPoint; actions: QtDropActions; data: QMimeDataH; buttons: QtMouseButtons; modifiers: QtKeyboardModifiers; _type: QEventType): QDragMoveEventH; cdecl; external Qt4PasLib name 'QDragMoveEvent_create'; procedure QDragMoveEvent_destroy(handle: QDragMoveEventH); cdecl; external Qt4PasLib name 'QDragMoveEvent_destroy'; procedure QDragMoveEvent_answerRect(handle: QDragMoveEventH; retval: PRect); cdecl; external Qt4PasLib name 'QDragMoveEvent_answerRect'; procedure QDragMoveEvent_accept(handle: QDragMoveEventH); cdecl; external Qt4PasLib name 'QDragMoveEvent_accept'; procedure QDragMoveEvent_ignore(handle: QDragMoveEventH); cdecl; external Qt4PasLib name 'QDragMoveEvent_ignore'; procedure QDragMoveEvent_accept(handle: QDragMoveEventH; r: PRect); cdecl; external Qt4PasLib name 'QDragMoveEvent_accept2'; procedure QDragMoveEvent_ignore(handle: QDragMoveEventH; r: PRect); cdecl; external Qt4PasLib name 'QDragMoveEvent_ignore2'; function QDragEnterEvent_create(pos: PQtPoint; actions: QtDropActions; data: QMimeDataH; buttons: QtMouseButtons; modifiers: QtKeyboardModifiers): QDragEnterEventH; cdecl; external Qt4PasLib name 'QDragEnterEvent_create'; procedure QDragEnterEvent_destroy(handle: QDragEnterEventH); cdecl; external Qt4PasLib name 'QDragEnterEvent_destroy'; function QDragLeaveEvent_create(): QDragLeaveEventH; cdecl; external Qt4PasLib name 'QDragLeaveEvent_create'; procedure QDragLeaveEvent_destroy(handle: QDragLeaveEventH); cdecl; external Qt4PasLib name 'QDragLeaveEvent_destroy'; function QHelpEvent_create(_type: QEventType; pos: PQtPoint; globalPos: PQtPoint): QHelpEventH; cdecl; external Qt4PasLib name 'QHelpEvent_create'; procedure QHelpEvent_destroy(handle: QHelpEventH); cdecl; external Qt4PasLib name 'QHelpEvent_destroy'; function QHelpEvent_x(handle: QHelpEventH): Integer; cdecl; external Qt4PasLib name 'QHelpEvent_x'; function QHelpEvent_y(handle: QHelpEventH): Integer; cdecl; external Qt4PasLib name 'QHelpEvent_y'; function QHelpEvent_globalX(handle: QHelpEventH): Integer; cdecl; external Qt4PasLib name 'QHelpEvent_globalX'; function QHelpEvent_globalY(handle: QHelpEventH): Integer; cdecl; external Qt4PasLib name 'QHelpEvent_globalY'; function QHelpEvent_pos(handle: QHelpEventH): PQtPoint; cdecl; external Qt4PasLib name 'QHelpEvent_pos'; function QHelpEvent_globalPos(handle: QHelpEventH): PQtPoint; cdecl; external Qt4PasLib name 'QHelpEvent_globalPos'; function QStatusTipEvent_create(tip: PWideString): QStatusTipEventH; cdecl; external Qt4PasLib name 'QStatusTipEvent_create'; procedure QStatusTipEvent_destroy(handle: QStatusTipEventH); cdecl; external Qt4PasLib name 'QStatusTipEvent_destroy'; procedure QStatusTipEvent_tip(handle: QStatusTipEventH; retval: PWideString); cdecl; external Qt4PasLib name 'QStatusTipEvent_tip'; function QWhatsThisClickedEvent_create(href: PWideString): QWhatsThisClickedEventH; cdecl; external Qt4PasLib name 'QWhatsThisClickedEvent_create'; procedure QWhatsThisClickedEvent_destroy(handle: QWhatsThisClickedEventH); cdecl; external Qt4PasLib name 'QWhatsThisClickedEvent_destroy'; procedure QWhatsThisClickedEvent_href(handle: QWhatsThisClickedEventH; retval: PWideString); cdecl; external Qt4PasLib name 'QWhatsThisClickedEvent_href'; function QActionEvent_create(_type: Integer; action: QActionH; before: QActionH = nil): QActionEventH; cdecl; external Qt4PasLib name 'QActionEvent_create'; procedure QActionEvent_destroy(handle: QActionEventH); cdecl; external Qt4PasLib name 'QActionEvent_destroy'; function QActionEvent_action(handle: QActionEventH): QActionH; cdecl; external Qt4PasLib name 'QActionEvent_action'; function QActionEvent_before(handle: QActionEventH): QActionH; cdecl; external Qt4PasLib name 'QActionEvent_before'; function QFileOpenEvent_create(_file: PWideString): QFileOpenEventH; cdecl; external Qt4PasLib name 'QFileOpenEvent_create'; procedure QFileOpenEvent_destroy(handle: QFileOpenEventH); cdecl; external Qt4PasLib name 'QFileOpenEvent_destroy'; procedure QFileOpenEvent_file(handle: QFileOpenEventH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileOpenEvent_file'; function QShortcutEvent_create(key: QKeySequenceH; id: Integer; ambiguous: Boolean = False): QShortcutEventH; cdecl; external Qt4PasLib name 'QShortcutEvent_create'; procedure QShortcutEvent_destroy(handle: QShortcutEventH); cdecl; external Qt4PasLib name 'QShortcutEvent_destroy'; function QShortcutEvent_key(handle: QShortcutEventH): QKeySequenceH; cdecl; external Qt4PasLib name 'QShortcutEvent_key'; function QShortcutEvent_shortcutId(handle: QShortcutEventH): Integer; cdecl; external Qt4PasLib name 'QShortcutEvent_shortcutId'; function QShortcutEvent_isAmbiguous(handle: QShortcutEventH): Boolean; cdecl; external Qt4PasLib name 'QShortcutEvent_isAmbiguous'; function QWindowStateChangeEvent_create(aOldState: QtWindowStates): QWindowStateChangeEventH; cdecl; external Qt4PasLib name 'QWindowStateChangeEvent_create'; procedure QWindowStateChangeEvent_destroy(handle: QWindowStateChangeEventH); cdecl; external Qt4PasLib name 'QWindowStateChangeEvent_destroy'; function QWindowStateChangeEvent_create(aOldState: QtWindowStates; isOverride: Boolean): QWindowStateChangeEventH; cdecl; external Qt4PasLib name 'QWindowStateChangeEvent_create2'; function QWindowStateChangeEvent_oldState(handle: QWindowStateChangeEventH): QtWindowStates; cdecl; external Qt4PasLib name 'QWindowStateChangeEvent_oldState'; function QWindowStateChangeEvent_isOverride(handle: QWindowStateChangeEventH): Boolean; cdecl; external Qt4PasLib name 'QWindowStateChangeEvent_isOverride'; function QLCLMessageEvent_create(aType: QEventType): QLCLMessageEventH; cdecl; external Qt4PasLib name 'QLCLMessageEvent_create'; procedure QLCLMessageEvent_destroy(handle: QLCLMessageEventH); cdecl; external Qt4PasLib name 'QLCLMessageEvent_destroy'; function QLCLMessageEvent_create(aType: QEventType; aMsg: PTRUINT; aWParam: PTRUINT; aLParam: PTRUINT; aMsgResult: PTRUINT): QLCLMessageEventH; cdecl; external Qt4PasLib name 'QLCLMessageEvent_create2'; function QLCLMessageEvent_getMsg(handle: QLCLMessageEventH): PTRUINT; cdecl; external Qt4PasLib name 'QLCLMessageEvent_getMsg'; function QLCLMessageEvent_getWParam(handle: QLCLMessageEventH): PTRUINT; cdecl; external Qt4PasLib name 'QLCLMessageEvent_getWParam'; function QLCLMessageEvent_getLParam(handle: QLCLMessageEventH): PTRUINT; cdecl; external Qt4PasLib name 'QLCLMessageEvent_getLParam'; function QLCLMessageEvent_getMsgResult(handle: QLCLMessageEventH): PTRUINT; cdecl; external Qt4PasLib name 'QLCLMessageEvent_getMsgResult'; procedure QLCLMessageEvent_setMsg(handle: QLCLMessageEventH; Value: PTRUINT); cdecl; external Qt4PasLib name 'QLCLMessageEvent_setMsg'; procedure QLCLMessageEvent_setWParam(handle: QLCLMessageEventH; Value: PTRUINT); cdecl; external Qt4PasLib name 'QLCLMessageEvent_setWParam'; procedure QLCLMessageEvent_setLParam(handle: QLCLMessageEventH; Value: PTRUINT); cdecl; external Qt4PasLib name 'QLCLMessageEvent_setLParam'; procedure QLCLMessageEvent_setMsgResult(handle: QLCLMessageEventH; Value: PTRUINT); cdecl; external Qt4PasLib name 'QLCLMessageEvent_setMsgResult'; function QCursor_create(): QCursorH; cdecl; external Qt4PasLib name 'QCursor_create'; procedure QCursor_destroy(handle: QCursorH); cdecl; external Qt4PasLib name 'QCursor_destroy'; function QCursor_create(shape: QtCursorShape): QCursorH; cdecl; external Qt4PasLib name 'QCursor_create2'; function QCursor_create(bitmap: QBitmapH; mask: QBitmapH; hotX: Integer = -1; hotY: Integer = -1): QCursorH; cdecl; external Qt4PasLib name 'QCursor_create3'; function QCursor_create(pixmap: QPixmapH; hotX: Integer = -1; hotY: Integer = -1): QCursorH; cdecl; external Qt4PasLib name 'QCursor_create4'; function QCursor_create(cursor: QCursorH): QCursorH; cdecl; external Qt4PasLib name 'QCursor_create5'; function QCursor_shape(handle: QCursorH): QtCursorShape; cdecl; external Qt4PasLib name 'QCursor_shape'; procedure QCursor_setShape(handle: QCursorH; newShape: QtCursorShape); cdecl; external Qt4PasLib name 'QCursor_setShape'; function QCursor_bitmap(handle: QCursorH): QBitmapH; cdecl; external Qt4PasLib name 'QCursor_bitmap'; function QCursor_mask(handle: QCursorH): QBitmapH; cdecl; external Qt4PasLib name 'QCursor_mask'; procedure QCursor_pixmap(handle: QCursorH; retval: QPixmapH); cdecl; external Qt4PasLib name 'QCursor_pixmap'; procedure QCursor_hotSpot(handle: QCursorH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QCursor_hotSpot'; procedure QCursor_pos(retval: PQtPoint); cdecl; external Qt4PasLib name 'QCursor_pos'; procedure QCursor_setPos(x: Integer; y: Integer); cdecl; external Qt4PasLib name 'QCursor_setPos'; procedure QCursor_setPos(p: PQtPoint); cdecl; external Qt4PasLib name 'QCursor_setPos2'; {$ifdef BINUX or DARWIN } function QCursor_handle(handle: QCursorH): QtHANDLE; cdecl; external Qt4PasLib name 'QCursor_handle'; {$endif} {$ifdef BINUX } function QCursor_create(cursor: QtHANDLE): QCursorH; cdecl; external Qt4PasLib name 'QCursor_create6'; function QCursor_x11Screen(): Integer; cdecl; external Qt4PasLib name 'QCursor_x11Screen'; {$endif} {$ifdef MSWINDOWS } function QCursor_handle(handle: QCursorH): QHCURSOR; cdecl; external Qt4PasLib name 'QCursor_handle2'; function QCursor_create(cursor: QHCURSOR): QCursorH; cdecl; external Qt4PasLib name 'QCursor_create7'; {$endif} {$ifdef QTOPIA } function QCursor_handle(handle: QCursorH): Integer; cdecl; external Qt4PasLib name 'QCursor_handle3'; {$endif} function QGridLayout_create(parent: QWidgetH): QGridLayoutH; cdecl; external Qt4PasLib name 'QGridLayout_create'; procedure QGridLayout_destroy(handle: QGridLayoutH); cdecl; external Qt4PasLib name 'QGridLayout_destroy'; function QGridLayout_create(): QGridLayoutH; cdecl; external Qt4PasLib name 'QGridLayout_create2'; procedure QGridLayout_sizeHint(handle: QGridLayoutH; retval: PSize); cdecl; external Qt4PasLib name 'QGridLayout_sizeHint'; procedure QGridLayout_minimumSize(handle: QGridLayoutH; retval: PSize); cdecl; external Qt4PasLib name 'QGridLayout_minimumSize'; procedure QGridLayout_maximumSize(handle: QGridLayoutH; retval: PSize); cdecl; external Qt4PasLib name 'QGridLayout_maximumSize'; procedure QGridLayout_setHorizontalSpacing(handle: QGridLayoutH; spacing: Integer); cdecl; external Qt4PasLib name 'QGridLayout_setHorizontalSpacing'; function QGridLayout_horizontalSpacing(handle: QGridLayoutH): Integer; cdecl; external Qt4PasLib name 'QGridLayout_horizontalSpacing'; procedure QGridLayout_setVerticalSpacing(handle: QGridLayoutH; spacing: Integer); cdecl; external Qt4PasLib name 'QGridLayout_setVerticalSpacing'; function QGridLayout_verticalSpacing(handle: QGridLayoutH): Integer; cdecl; external Qt4PasLib name 'QGridLayout_verticalSpacing'; procedure QGridLayout_setSpacing(handle: QGridLayoutH; spacing: Integer); cdecl; external Qt4PasLib name 'QGridLayout_setSpacing'; function QGridLayout_spacing(handle: QGridLayoutH): Integer; cdecl; external Qt4PasLib name 'QGridLayout_spacing'; procedure QGridLayout_setRowStretch(handle: QGridLayoutH; row: Integer; stretch: Integer); cdecl; external Qt4PasLib name 'QGridLayout_setRowStretch'; procedure QGridLayout_setColumnStretch(handle: QGridLayoutH; column: Integer; stretch: Integer); cdecl; external Qt4PasLib name 'QGridLayout_setColumnStretch'; function QGridLayout_rowStretch(handle: QGridLayoutH; row: Integer): Integer; cdecl; external Qt4PasLib name 'QGridLayout_rowStretch'; function QGridLayout_columnStretch(handle: QGridLayoutH; column: Integer): Integer; cdecl; external Qt4PasLib name 'QGridLayout_columnStretch'; procedure QGridLayout_setRowMinimumHeight(handle: QGridLayoutH; row: Integer; minSize: Integer); cdecl; external Qt4PasLib name 'QGridLayout_setRowMinimumHeight'; procedure QGridLayout_setColumnMinimumWidth(handle: QGridLayoutH; column: Integer; minSize: Integer); cdecl; external Qt4PasLib name 'QGridLayout_setColumnMinimumWidth'; function QGridLayout_rowMinimumHeight(handle: QGridLayoutH; row: Integer): Integer; cdecl; external Qt4PasLib name 'QGridLayout_rowMinimumHeight'; function QGridLayout_columnMinimumWidth(handle: QGridLayoutH; column: Integer): Integer; cdecl; external Qt4PasLib name 'QGridLayout_columnMinimumWidth'; function QGridLayout_columnCount(handle: QGridLayoutH): Integer; cdecl; external Qt4PasLib name 'QGridLayout_columnCount'; function QGridLayout_rowCount(handle: QGridLayoutH): Integer; cdecl; external Qt4PasLib name 'QGridLayout_rowCount'; procedure QGridLayout_cellRect(handle: QGridLayoutH; retval: PRect; row: Integer; column: Integer); cdecl; external Qt4PasLib name 'QGridLayout_cellRect'; function QGridLayout_hasHeightForWidth(handle: QGridLayoutH): Boolean; cdecl; external Qt4PasLib name 'QGridLayout_hasHeightForWidth'; function QGridLayout_heightForWidth(handle: QGridLayoutH; AnonParam1: Integer): Integer; cdecl; external Qt4PasLib name 'QGridLayout_heightForWidth'; function QGridLayout_minimumHeightForWidth(handle: QGridLayoutH; AnonParam1: Integer): Integer; cdecl; external Qt4PasLib name 'QGridLayout_minimumHeightForWidth'; function QGridLayout_expandingDirections(handle: QGridLayoutH): QtOrientations; cdecl; external Qt4PasLib name 'QGridLayout_expandingDirections'; procedure QGridLayout_invalidate(handle: QGridLayoutH); cdecl; external Qt4PasLib name 'QGridLayout_invalidate'; procedure QGridLayout_addWidget(handle: QGridLayoutH; w: QWidgetH); cdecl; external Qt4PasLib name 'QGridLayout_addWidget'; procedure QGridLayout_addWidget(handle: QGridLayoutH; AnonParam1: QWidgetH; row: Integer; column: Integer; AnonParam4: QtAlignment = 0); cdecl; external Qt4PasLib name 'QGridLayout_addWidget2'; procedure QGridLayout_addWidget(handle: QGridLayoutH; AnonParam1: QWidgetH; row: Integer; column: Integer; rowSpan: Integer; columnSpan: Integer; AnonParam6: QtAlignment = 0); cdecl; external Qt4PasLib name 'QGridLayout_addWidget3'; procedure QGridLayout_addLayout(handle: QGridLayoutH; AnonParam1: QLayoutH; row: Integer; column: Integer; AnonParam4: QtAlignment = 0); cdecl; external Qt4PasLib name 'QGridLayout_addLayout'; procedure QGridLayout_addLayout(handle: QGridLayoutH; AnonParam1: QLayoutH; row: Integer; column: Integer; rowSpan: Integer; columnSpan: Integer; AnonParam6: QtAlignment = 0); cdecl; external Qt4PasLib name 'QGridLayout_addLayout2'; procedure QGridLayout_setOriginCorner(handle: QGridLayoutH; AnonParam1: QtCorner); cdecl; external Qt4PasLib name 'QGridLayout_setOriginCorner'; function QGridLayout_originCorner(handle: QGridLayoutH): QtCorner; cdecl; external Qt4PasLib name 'QGridLayout_originCorner'; function QGridLayout_itemAt(handle: QGridLayoutH; index: Integer): QLayoutItemH; cdecl; external Qt4PasLib name 'QGridLayout_itemAt'; function QGridLayout_itemAtPosition(handle: QGridLayoutH; row: Integer; column: Integer): QLayoutItemH; cdecl; external Qt4PasLib name 'QGridLayout_itemAtPosition'; function QGridLayout_takeAt(handle: QGridLayoutH; index: Integer): QLayoutItemH; cdecl; external Qt4PasLib name 'QGridLayout_takeAt'; function QGridLayout_count(handle: QGridLayoutH): Integer; cdecl; external Qt4PasLib name 'QGridLayout_count'; procedure QGridLayout_setGeometry(handle: QGridLayoutH; AnonParam1: PRect); cdecl; external Qt4PasLib name 'QGridLayout_setGeometry'; procedure QGridLayout_addItem(handle: QGridLayoutH; item: QLayoutItemH; row: Integer; column: Integer; rowSpan: Integer = 1; columnSpan: Integer = 1; AnonParam6: QtAlignment = 0); cdecl; external Qt4PasLib name 'QGridLayout_addItem'; procedure QGridLayout_setDefaultPositioning(handle: QGridLayoutH; n: Integer; orient: QtOrientation); cdecl; external Qt4PasLib name 'QGridLayout_setDefaultPositioning'; procedure QGridLayout_getItemPosition(handle: QGridLayoutH; idx: Integer; row: PInteger; column: PInteger; rowSpan: PInteger; columnSpan: PInteger); cdecl; external Qt4PasLib name 'QGridLayout_getItemPosition'; type QClipboardMode = cardinal; // QClipboard::Mode (4) const QClipboardClipboard = 0 { $0 }; QClipboardSelection = 1 { $1 }; QClipboardFindBuffer = 2 { $2 }; QClipboardLastMode = 2 { $2 }; procedure QClipboard_clear(handle: QClipboardH; mode: QClipboardMode = QClipboardClipboard); cdecl; external Qt4PasLib name 'QClipboard_clear'; function QClipboard_supportsSelection(handle: QClipboardH): Boolean; cdecl; external Qt4PasLib name 'QClipboard_supportsSelection'; function QClipboard_supportsFindBuffer(handle: QClipboardH): Boolean; cdecl; external Qt4PasLib name 'QClipboard_supportsFindBuffer'; function QClipboard_ownsSelection(handle: QClipboardH): Boolean; cdecl; external Qt4PasLib name 'QClipboard_ownsSelection'; function QClipboard_ownsClipboard(handle: QClipboardH): Boolean; cdecl; external Qt4PasLib name 'QClipboard_ownsClipboard'; function QClipboard_ownsFindBuffer(handle: QClipboardH): Boolean; cdecl; external Qt4PasLib name 'QClipboard_ownsFindBuffer'; procedure QClipboard_text(handle: QClipboardH; retval: PWideString; mode: QClipboardMode = QClipboardClipboard); cdecl; external Qt4PasLib name 'QClipboard_text'; procedure QClipboard_text(handle: QClipboardH; retval: PWideString; subtype: PWideString; mode: QClipboardMode = QClipboardClipboard); cdecl; external Qt4PasLib name 'QClipboard_text2'; procedure QClipboard_setText(handle: QClipboardH; AnonParam1: PWideString; mode: QClipboardMode = QClipboardClipboard); cdecl; external Qt4PasLib name 'QClipboard_setText'; function QClipboard_mimeData(handle: QClipboardH; mode: QClipboardMode = QClipboardClipboard): QMimeDataH; cdecl; external Qt4PasLib name 'QClipboard_mimeData'; procedure QClipboard_setMimeData(handle: QClipboardH; data: QMimeDataH; mode: QClipboardMode = QClipboardClipboard); cdecl; external Qt4PasLib name 'QClipboard_setMimeData'; procedure QClipboard_image(handle: QClipboardH; retval: QImageH; mode: QClipboardMode = QClipboardClipboard); cdecl; external Qt4PasLib name 'QClipboard_image'; procedure QClipboard_pixmap(handle: QClipboardH; retval: QPixmapH; mode: QClipboardMode = QClipboardClipboard); cdecl; external Qt4PasLib name 'QClipboard_pixmap'; procedure QClipboard_setImage(handle: QClipboardH; AnonParam1: QImageH; mode: QClipboardMode = QClipboardClipboard); cdecl; external Qt4PasLib name 'QClipboard_setImage'; procedure QClipboard_setPixmap(handle: QClipboardH; AnonParam1: QPixmapH; mode: QClipboardMode = QClipboardClipboard); cdecl; external Qt4PasLib name 'QClipboard_setPixmap'; type QClipboard_changed_Event = procedure (mode: QClipboardMode) of object cdecl; QClipboard_selectionChanged_Event = procedure () of object cdecl; QClipboard_findBufferChanged_Event = procedure () of object cdecl; QClipboard_dataChanged_Event = procedure () of object cdecl; function QDesktopWidget_create(): QDesktopWidgetH; cdecl; external Qt4PasLib name 'QDesktopWidget_create'; procedure QDesktopWidget_destroy(handle: QDesktopWidgetH); cdecl; external Qt4PasLib name 'QDesktopWidget_destroy'; function QDesktopWidget_isVirtualDesktop(handle: QDesktopWidgetH): Boolean; cdecl; external Qt4PasLib name 'QDesktopWidget_isVirtualDesktop'; function QDesktopWidget_numScreens(handle: QDesktopWidgetH): Integer; cdecl; external Qt4PasLib name 'QDesktopWidget_numScreens'; function QDesktopWidget_primaryScreen(handle: QDesktopWidgetH): Integer; cdecl; external Qt4PasLib name 'QDesktopWidget_primaryScreen'; function QDesktopWidget_screenNumber(handle: QDesktopWidgetH; widget: QWidgetH = nil): Integer; cdecl; external Qt4PasLib name 'QDesktopWidget_screenNumber'; function QDesktopWidget_screenNumber(handle: QDesktopWidgetH; AnonParam1: PQtPoint): Integer; cdecl; external Qt4PasLib name 'QDesktopWidget_screenNumber2'; function QDesktopWidget_screen(handle: QDesktopWidgetH; screen: Integer = -1): QWidgetH; cdecl; external Qt4PasLib name 'QDesktopWidget_screen'; procedure QDesktopWidget_screenGeometry(handle: QDesktopWidgetH; retval: PRect; screen: Integer = -1); cdecl; external Qt4PasLib name 'QDesktopWidget_screenGeometry'; procedure QDesktopWidget_screenGeometry(handle: QDesktopWidgetH; retval: PRect; widget: QWidgetH); cdecl; external Qt4PasLib name 'QDesktopWidget_screenGeometry2'; procedure QDesktopWidget_screenGeometry(handle: QDesktopWidgetH; retval: PRect; point: PQtPoint); cdecl; external Qt4PasLib name 'QDesktopWidget_screenGeometry3'; procedure QDesktopWidget_availableGeometry(handle: QDesktopWidgetH; retval: PRect; screen: Integer = -1); cdecl; external Qt4PasLib name 'QDesktopWidget_availableGeometry'; procedure QDesktopWidget_availableGeometry(handle: QDesktopWidgetH; retval: PRect; widget: QWidgetH); cdecl; external Qt4PasLib name 'QDesktopWidget_availableGeometry2'; procedure QDesktopWidget_availableGeometry(handle: QDesktopWidgetH; retval: PRect; point: PQtPoint); cdecl; external Qt4PasLib name 'QDesktopWidget_availableGeometry3'; type QDesktopWidget_resized_Event = procedure (AnonParam1: Integer) of object cdecl; QDesktopWidget_workAreaResized_Event = procedure (AnonParam1: Integer) of object cdecl; procedure QToolTip_showText(pos: PQtPoint; text: PWideString; w: QWidgetH = nil); cdecl; external Qt4PasLib name 'QToolTip_showText'; procedure QToolTip_showText(pos: PQtPoint; text: PWideString; w: QWidgetH; rect: PRect); cdecl; external Qt4PasLib name 'QToolTip_showText2'; procedure QToolTip_hideText(); cdecl; external Qt4PasLib name 'QToolTip_hideText'; function QToolTip_isVisible(): Boolean; cdecl; external Qt4PasLib name 'QToolTip_isVisible'; procedure QToolTip_text(retval: PWideString); cdecl; external Qt4PasLib name 'QToolTip_text'; procedure QToolTip_palette(retval: QPaletteH); cdecl; external Qt4PasLib name 'QToolTip_palette'; procedure QToolTip_setPalette(AnonParam1: QPaletteH); cdecl; external Qt4PasLib name 'QToolTip_setPalette'; procedure QToolTip_font(retval: QFontH); cdecl; external Qt4PasLib name 'QToolTip_font'; procedure QToolTip_setFont(AnonParam1: QFontH); cdecl; external Qt4PasLib name 'QToolTip_setFont'; {$ifdef BINUX } function QX11Info_create(): QX11InfoH; cdecl; external Qt4PasLib name 'QX11Info_create'; procedure QX11Info_destroy(handle: QX11InfoH); cdecl; external Qt4PasLib name 'QX11Info_destroy'; function QX11Info_create(other: QX11InfoH): QX11InfoH; cdecl; external Qt4PasLib name 'QX11Info_create2'; function QX11Info_display(): PDisplay; cdecl; external Qt4PasLib name 'QX11Info_display'; function QX11Info_appClass(): PAnsiChar; cdecl; external Qt4PasLib name 'QX11Info_appClass'; function QX11Info_screen(handle: QX11InfoH): Integer; cdecl; external Qt4PasLib name 'QX11Info_screen'; function QX11Info_depth(handle: QX11InfoH): Integer; cdecl; external Qt4PasLib name 'QX11Info_depth'; function QX11Info_cells(handle: QX11InfoH): Integer; cdecl; external Qt4PasLib name 'QX11Info_cells'; function QX11Info_colormap(handle: QX11InfoH): QtHANDLE; cdecl; external Qt4PasLib name 'QX11Info_colormap'; function QX11Info_defaultColormap(handle: QX11InfoH): Boolean; cdecl; external Qt4PasLib name 'QX11Info_defaultColormap'; function QX11Info_visual(handle: QX11InfoH): Pointer; cdecl; external Qt4PasLib name 'QX11Info_visual'; function QX11Info_defaultVisual(handle: QX11InfoH): Boolean; cdecl; external Qt4PasLib name 'QX11Info_defaultVisual'; function QX11Info_appScreen(): Integer; cdecl; external Qt4PasLib name 'QX11Info_appScreen'; function QX11Info_appDepth(screen: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QX11Info_appDepth'; function QX11Info_appCells(screen: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QX11Info_appCells'; function QX11Info_appColormap(screen: Integer = -1): QtHANDLE; cdecl; external Qt4PasLib name 'QX11Info_appColormap'; function QX11Info_appVisual(screen: Integer = -1): Pointer; cdecl; external Qt4PasLib name 'QX11Info_appVisual'; function QX11Info_appRootWindow(screen: Integer = -1): QtHANDLE; cdecl; external Qt4PasLib name 'QX11Info_appRootWindow'; function QX11Info_appDefaultColormap(screen: Integer = -1): Boolean; cdecl; external Qt4PasLib name 'QX11Info_appDefaultColormap'; function QX11Info_appDefaultVisual(screen: Integer = -1): Boolean; cdecl; external Qt4PasLib name 'QX11Info_appDefaultVisual'; function QX11Info_appDpiX(screen: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QX11Info_appDpiX'; function QX11Info_appDpiY(screen: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QX11Info_appDpiY'; procedure QX11Info_setAppDpiX(screen: Integer; dpi: Integer); cdecl; external Qt4PasLib name 'QX11Info_setAppDpiX'; procedure QX11Info_setAppDpiY(screen: Integer; dpi: Integer); cdecl; external Qt4PasLib name 'QX11Info_setAppDpiY'; function QX11Info_appTime(): Longword; cdecl; external Qt4PasLib name 'QX11Info_appTime'; function QX11Info_appUserTime(): Longword; cdecl; external Qt4PasLib name 'QX11Info_appUserTime'; procedure QX11Info_setAppTime(time: Longword); cdecl; external Qt4PasLib name 'QX11Info_setAppTime'; procedure QX11Info_setAppUserTime(time: Longword); cdecl; external Qt4PasLib name 'QX11Info_setAppUserTime'; function QX11Info_isCompositingManagerRunning(): Boolean; cdecl; external Qt4PasLib name 'QX11Info_isCompositingManagerRunning'; {$endif} function QDrag_create(dragSource: QWidgetH): QDragH; cdecl; external Qt4PasLib name 'QDrag_create'; procedure QDrag_destroy(handle: QDragH); cdecl; external Qt4PasLib name 'QDrag_destroy'; procedure QDrag_setMimeData(handle: QDragH; data: QMimeDataH); cdecl; external Qt4PasLib name 'QDrag_setMimeData'; function QDrag_mimeData(handle: QDragH): QMimeDataH; cdecl; external Qt4PasLib name 'QDrag_mimeData'; procedure QDrag_setPixmap(handle: QDragH; AnonParam1: QPixmapH); cdecl; external Qt4PasLib name 'QDrag_setPixmap'; procedure QDrag_pixmap(handle: QDragH; retval: QPixmapH); cdecl; external Qt4PasLib name 'QDrag_pixmap'; procedure QDrag_setHotSpot(handle: QDragH; hotspot: PQtPoint); cdecl; external Qt4PasLib name 'QDrag_setHotSpot'; procedure QDrag_hotSpot(handle: QDragH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QDrag_hotSpot'; function QDrag_source(handle: QDragH): QWidgetH; cdecl; external Qt4PasLib name 'QDrag_source'; function QDrag_target(handle: QDragH): QWidgetH; cdecl; external Qt4PasLib name 'QDrag_target'; function QDrag_start(handle: QDragH; supportedActions: QtDropActions = QtCopyAction): QtDropAction; cdecl; external Qt4PasLib name 'QDrag_start'; function QDrag_exec(handle: QDragH; supportedActions: QtDropActions = QtMoveAction): QtDropAction; cdecl; external Qt4PasLib name 'QDrag_exec'; function QDrag_exec(handle: QDragH; supportedActions: QtDropActions; defaultAction: QtDropAction): QtDropAction; cdecl; external Qt4PasLib name 'QDrag_exec2'; procedure QDrag_setDragCursor(handle: QDragH; cursor: QPixmapH; action: QtDropAction); cdecl; external Qt4PasLib name 'QDrag_setDragCursor'; type QDrag_actionChanged_Event = procedure (action: QtDropAction) of object cdecl; QDrag_targetChanged_Event = procedure (newTarget: QWidgetH) of object cdecl; function QShortcut_create(parent: QWidgetH): QShortcutH; cdecl; external Qt4PasLib name 'QShortcut_create'; procedure QShortcut_destroy(handle: QShortcutH); cdecl; external Qt4PasLib name 'QShortcut_destroy'; function QShortcut_create(key: QKeySequenceH; parent: QWidgetH; member: PAnsiChar = nil; ambiguousMember: PAnsiChar = nil; context: QtShortcutContext = QtWindowShortcut): QShortcutH; cdecl; external Qt4PasLib name 'QShortcut_create2'; procedure QShortcut_setKey(handle: QShortcutH; key: QKeySequenceH); cdecl; external Qt4PasLib name 'QShortcut_setKey'; procedure QShortcut_key(handle: QShortcutH; retval: QKeySequenceH); cdecl; external Qt4PasLib name 'QShortcut_key'; procedure QShortcut_setEnabled(handle: QShortcutH; enable: Boolean); cdecl; external Qt4PasLib name 'QShortcut_setEnabled'; function QShortcut_isEnabled(handle: QShortcutH): Boolean; cdecl; external Qt4PasLib name 'QShortcut_isEnabled'; procedure QShortcut_setContext(handle: QShortcutH; context: QtShortcutContext); cdecl; external Qt4PasLib name 'QShortcut_setContext'; function QShortcut_context(handle: QShortcutH): QtShortcutContext; cdecl; external Qt4PasLib name 'QShortcut_context'; procedure QShortcut_setWhatsThis(handle: QShortcutH; text: PWideString); cdecl; external Qt4PasLib name 'QShortcut_setWhatsThis'; procedure QShortcut_whatsThis(handle: QShortcutH; retval: PWideString); cdecl; external Qt4PasLib name 'QShortcut_whatsThis'; procedure QShortcut_setAutoRepeat(handle: QShortcutH; _on: Boolean); cdecl; external Qt4PasLib name 'QShortcut_setAutoRepeat'; function QShortcut_autoRepeat(handle: QShortcutH): Boolean; cdecl; external Qt4PasLib name 'QShortcut_autoRepeat'; function QShortcut_id(handle: QShortcutH): Integer; cdecl; external Qt4PasLib name 'QShortcut_id'; function QShortcut_parentWidget(handle: QShortcutH): QWidgetH; cdecl; external Qt4PasLib name 'QShortcut_parentWidget'; type QShortcut_activated_Event = procedure () of object cdecl; QShortcut_activatedAmbiguously_Event = procedure () of object cdecl; {$ifdef BINUX or MSWINDOWS or DARWIN } type QSessionManagerRestartHint = ( // QSessionManager::RestartHint (1) QSessionManagerRestartIfRunning, QSessionManagerRestartAnyway, QSessionManagerRestartImmediately, QSessionManagerRestartNever ); {$endif} {$ifdef BINUX or MSWINDOWS or DARWIN } procedure QSessionManager_sessionId(handle: QSessionManagerH; retval: PWideString); cdecl; external Qt4PasLib name 'QSessionManager_sessionId'; procedure QSessionManager_sessionKey(handle: QSessionManagerH; retval: PWideString); cdecl; external Qt4PasLib name 'QSessionManager_sessionKey'; {$endif} {$ifdef BINUX or DARWIN } function QSessionManager_handle(handle: QSessionManagerH): Pointer; cdecl; external Qt4PasLib name 'QSessionManager_handle'; {$endif} {$ifdef BINUX or MSWINDOWS or DARWIN } function QSessionManager_allowsInteraction(handle: QSessionManagerH): Boolean; cdecl; external Qt4PasLib name 'QSessionManager_allowsInteraction'; function QSessionManager_allowsErrorInteraction(handle: QSessionManagerH): Boolean; cdecl; external Qt4PasLib name 'QSessionManager_allowsErrorInteraction'; procedure QSessionManager_release(handle: QSessionManagerH); cdecl; external Qt4PasLib name 'QSessionManager_release'; procedure QSessionManager_cancel(handle: QSessionManagerH); cdecl; external Qt4PasLib name 'QSessionManager_cancel'; procedure QSessionManager_setRestartHint(handle: QSessionManagerH; AnonParam1: QSessionManagerRestartHint); cdecl; external Qt4PasLib name 'QSessionManager_setRestartHint'; function QSessionManager_restartHint(handle: QSessionManagerH): QSessionManagerRestartHint; cdecl; external Qt4PasLib name 'QSessionManager_restartHint'; procedure QSessionManager_setRestartCommand(handle: QSessionManagerH; AnonParam1: QStringListH); cdecl; external Qt4PasLib name 'QSessionManager_setRestartCommand'; procedure QSessionManager_restartCommand(handle: QSessionManagerH; retval: QStringListH); cdecl; external Qt4PasLib name 'QSessionManager_restartCommand'; procedure QSessionManager_setDiscardCommand(handle: QSessionManagerH; AnonParam1: QStringListH); cdecl; external Qt4PasLib name 'QSessionManager_setDiscardCommand'; procedure QSessionManager_discardCommand(handle: QSessionManagerH; retval: QStringListH); cdecl; external Qt4PasLib name 'QSessionManager_discardCommand'; procedure QSessionManager_setManagerProperty(handle: QSessionManagerH; name: PWideString; value: PWideString); cdecl; external Qt4PasLib name 'QSessionManager_setManagerProperty'; procedure QSessionManager_setManagerProperty(handle: QSessionManagerH; name: PWideString; value: QStringListH); cdecl; external Qt4PasLib name 'QSessionManager_setManagerProperty2'; function QSessionManager_isPhase2(handle: QSessionManagerH): Boolean; cdecl; external Qt4PasLib name 'QSessionManager_isPhase2'; procedure QSessionManager_requestPhase2(handle: QSessionManagerH); cdecl; external Qt4PasLib name 'QSessionManager_requestPhase2'; {$endif} type QColorSpec = ( // QColor::Spec (1) QColorInvalid, QColorRgb, QColorHsv, QColorCmyk ); function QColor_create(): QColorH; cdecl; external Qt4PasLib name 'QColor_create'; procedure QColor_destroy(handle: QColorH); cdecl; external Qt4PasLib name 'QColor_destroy'; function QColor_create(color: QtGlobalColor): QColorH; cdecl; external Qt4PasLib name 'QColor_create2'; function QColor_create(r: Integer; g: Integer; b: Integer; a: Integer = 255): QColorH; cdecl; external Qt4PasLib name 'QColor_create3'; function QColor_create(rgb: QRgb): QColorH; cdecl; external Qt4PasLib name 'QColor_create4'; function QColor_create(name: PWideString): QColorH; cdecl; external Qt4PasLib name 'QColor_create5'; function QColor_create(name: PAnsiChar): QColorH; cdecl; external Qt4PasLib name 'QColor_create6'; function QColor_create(color: PQColor): QColorH; cdecl; external Qt4PasLib name 'QColor_create7'; function QColor_create(spec: QColorSpec): QColorH; cdecl; external Qt4PasLib name 'QColor_create8'; function QColor_isValid(handle: QColorH): Boolean; cdecl; external Qt4PasLib name 'QColor_isValid'; procedure QColor_name(handle: QColorH; retval: PWideString); cdecl; external Qt4PasLib name 'QColor_name'; procedure QColor_setNamedColor(handle: QColorH; name: PWideString); cdecl; external Qt4PasLib name 'QColor_setNamedColor'; procedure QColor_colorNames(retval: QStringListH); cdecl; external Qt4PasLib name 'QColor_colorNames'; function QColor_spec(handle: QColorH): QColorSpec; cdecl; external Qt4PasLib name 'QColor_spec'; function QColor_alpha(handle: QColorH): Integer; cdecl; external Qt4PasLib name 'QColor_alpha'; procedure QColor_setAlpha(handle: QColorH; alpha: Integer); cdecl; external Qt4PasLib name 'QColor_setAlpha'; function QColor_alphaF(handle: QColorH): qreal; cdecl; external Qt4PasLib name 'QColor_alphaF'; procedure QColor_setAlphaF(handle: QColorH; alpha: qreal); cdecl; external Qt4PasLib name 'QColor_setAlphaF'; function QColor_red(handle: QColorH): Integer; cdecl; external Qt4PasLib name 'QColor_red'; function QColor_green(handle: QColorH): Integer; cdecl; external Qt4PasLib name 'QColor_green'; function QColor_blue(handle: QColorH): Integer; cdecl; external Qt4PasLib name 'QColor_blue'; procedure QColor_setRed(handle: QColorH; red: Integer); cdecl; external Qt4PasLib name 'QColor_setRed'; procedure QColor_setGreen(handle: QColorH; green: Integer); cdecl; external Qt4PasLib name 'QColor_setGreen'; procedure QColor_setBlue(handle: QColorH; blue: Integer); cdecl; external Qt4PasLib name 'QColor_setBlue'; function QColor_redF(handle: QColorH): qreal; cdecl; external Qt4PasLib name 'QColor_redF'; function QColor_greenF(handle: QColorH): qreal; cdecl; external Qt4PasLib name 'QColor_greenF'; function QColor_blueF(handle: QColorH): qreal; cdecl; external Qt4PasLib name 'QColor_blueF'; procedure QColor_setRedF(handle: QColorH; red: qreal); cdecl; external Qt4PasLib name 'QColor_setRedF'; procedure QColor_setGreenF(handle: QColorH; green: qreal); cdecl; external Qt4PasLib name 'QColor_setGreenF'; procedure QColor_setBlueF(handle: QColorH; blue: qreal); cdecl; external Qt4PasLib name 'QColor_setBlueF'; procedure QColor_getRgb(handle: QColorH; r: PInteger; g: PInteger; b: PInteger; a: PInteger = nil); cdecl; external Qt4PasLib name 'QColor_getRgb'; procedure QColor_setRgb(handle: QColorH; r: Integer; g: Integer; b: Integer; a: Integer = 255); cdecl; external Qt4PasLib name 'QColor_setRgb'; procedure QColor_getRgbF(handle: QColorH; r: PQReal; g: PQReal; b: PQReal; a: PQReal = nil); cdecl; external Qt4PasLib name 'QColor_getRgbF'; procedure QColor_setRgbF(handle: QColorH; r: qreal; g: qreal; b: qreal; a: qreal = 1.0); cdecl; external Qt4PasLib name 'QColor_setRgbF'; function QColor_rgba(handle: QColorH): QRgb; cdecl; external Qt4PasLib name 'QColor_rgba'; procedure QColor_setRgba(handle: QColorH; rgba: QRgb); cdecl; external Qt4PasLib name 'QColor_setRgba'; function QColor_rgb(handle: QColorH): QRgb; cdecl; external Qt4PasLib name 'QColor_rgb'; procedure QColor_setRgb(handle: QColorH; rgb: QRgb); cdecl; external Qt4PasLib name 'QColor_setRgb2'; function QColor_hue(handle: QColorH): Integer; cdecl; external Qt4PasLib name 'QColor_hue'; function QColor_saturation(handle: QColorH): Integer; cdecl; external Qt4PasLib name 'QColor_saturation'; function QColor_value(handle: QColorH): Integer; cdecl; external Qt4PasLib name 'QColor_value'; function QColor_hueF(handle: QColorH): qreal; cdecl; external Qt4PasLib name 'QColor_hueF'; function QColor_saturationF(handle: QColorH): qreal; cdecl; external Qt4PasLib name 'QColor_saturationF'; function QColor_valueF(handle: QColorH): qreal; cdecl; external Qt4PasLib name 'QColor_valueF'; procedure QColor_getHsv(handle: QColorH; h: PInteger; s: PInteger; v: PInteger; a: PInteger = nil); cdecl; external Qt4PasLib name 'QColor_getHsv'; procedure QColor_setHsv(handle: QColorH; h: Integer; s: Integer; v: Integer; a: Integer = 255); cdecl; external Qt4PasLib name 'QColor_setHsv'; procedure QColor_getHsvF(handle: QColorH; h: PQReal; s: PQReal; v: PQReal; a: PQReal = nil); cdecl; external Qt4PasLib name 'QColor_getHsvF'; procedure QColor_setHsvF(handle: QColorH; h: qreal; s: qreal; v: qreal; a: qreal = 1.0); cdecl; external Qt4PasLib name 'QColor_setHsvF'; function QColor_cyan(handle: QColorH): Integer; cdecl; external Qt4PasLib name 'QColor_cyan'; function QColor_magenta(handle: QColorH): Integer; cdecl; external Qt4PasLib name 'QColor_magenta'; function QColor_yellow(handle: QColorH): Integer; cdecl; external Qt4PasLib name 'QColor_yellow'; function QColor_black(handle: QColorH): Integer; cdecl; external Qt4PasLib name 'QColor_black'; function QColor_cyanF(handle: QColorH): qreal; cdecl; external Qt4PasLib name 'QColor_cyanF'; function QColor_magentaF(handle: QColorH): qreal; cdecl; external Qt4PasLib name 'QColor_magentaF'; function QColor_yellowF(handle: QColorH): qreal; cdecl; external Qt4PasLib name 'QColor_yellowF'; function QColor_blackF(handle: QColorH): qreal; cdecl; external Qt4PasLib name 'QColor_blackF'; procedure QColor_getCmyk(handle: QColorH; c: PInteger; m: PInteger; y: PInteger; k: PInteger; a: PInteger = nil); cdecl; external Qt4PasLib name 'QColor_getCmyk'; procedure QColor_setCmyk(handle: QColorH; c: Integer; m: Integer; y: Integer; k: Integer; a: Integer = 255); cdecl; external Qt4PasLib name 'QColor_setCmyk'; procedure QColor_getCmykF(handle: QColorH; c: PQReal; m: PQReal; y: PQReal; k: PQReal; a: PQReal = nil); cdecl; external Qt4PasLib name 'QColor_getCmykF'; procedure QColor_setCmykF(handle: QColorH; c: qreal; m: qreal; y: qreal; k: qreal; a: qreal = 1.0); cdecl; external Qt4PasLib name 'QColor_setCmykF'; procedure QColor_toRgb(handle: QColorH; retval: PQColor); cdecl; external Qt4PasLib name 'QColor_toRgb'; procedure QColor_toHsv(handle: QColorH; retval: PQColor); cdecl; external Qt4PasLib name 'QColor_toHsv'; procedure QColor_toCmyk(handle: QColorH; retval: PQColor); cdecl; external Qt4PasLib name 'QColor_toCmyk'; procedure QColor_convertTo(handle: QColorH; retval: PQColor; colorSpec: QColorSpec); cdecl; external Qt4PasLib name 'QColor_convertTo'; procedure QColor_fromRgb(retval: PQColor; rgb: QRgb); cdecl; external Qt4PasLib name 'QColor_fromRgb'; procedure QColor_fromRgba(retval: PQColor; rgba: QRgb); cdecl; external Qt4PasLib name 'QColor_fromRgba'; procedure QColor_fromRgb(retval: PQColor; r: Integer; g: Integer; b: Integer; a: Integer = 255); cdecl; external Qt4PasLib name 'QColor_fromRgb2'; procedure QColor_fromRgbF(retval: PQColor; r: qreal; g: qreal; b: qreal; a: qreal = 1.0); cdecl; external Qt4PasLib name 'QColor_fromRgbF'; procedure QColor_fromHsv(retval: PQColor; h: Integer; s: Integer; v: Integer; a: Integer = 255); cdecl; external Qt4PasLib name 'QColor_fromHsv'; procedure QColor_fromHsvF(retval: PQColor; h: qreal; s: qreal; v: qreal; a: qreal = 1.0); cdecl; external Qt4PasLib name 'QColor_fromHsvF'; procedure QColor_fromCmyk(retval: PQColor; c: Integer; m: Integer; y: Integer; k: Integer; a: Integer = 255); cdecl; external Qt4PasLib name 'QColor_fromCmyk'; procedure QColor_fromCmykF(retval: PQColor; c: qreal; m: qreal; y: qreal; k: qreal; a: qreal = 1.0); cdecl; external Qt4PasLib name 'QColor_fromCmykF'; procedure QColor_light(handle: QColorH; retval: PQColor; f: Integer = 150); cdecl; external Qt4PasLib name 'QColor_light'; procedure QColor_lighter(handle: QColorH; retval: PQColor; f: Integer = 150); cdecl; external Qt4PasLib name 'QColor_lighter'; procedure QColor_dark(handle: QColorH; retval: PQColor; f: Integer = 200); cdecl; external Qt4PasLib name 'QColor_dark'; procedure QColor_darker(handle: QColorH; retval: PQColor; f: Integer = 200); cdecl; external Qt4PasLib name 'QColor_darker'; {$ifdef BINUX } function QColor_allowX11ColorNames(): Boolean; cdecl; external Qt4PasLib name 'QColor_allowX11ColorNames'; procedure QColor_setAllowX11ColorNames(enabled: Boolean); cdecl; external Qt4PasLib name 'QColor_setAllowX11ColorNames'; {$endif} function QMatrix_create(): QMatrixH; cdecl; external Qt4PasLib name 'QMatrix_create'; procedure QMatrix_destroy(handle: QMatrixH); cdecl; external Qt4PasLib name 'QMatrix_destroy'; function QMatrix_create(m11: qreal; m12: qreal; m21: qreal; m22: qreal; dx: qreal; dy: qreal): QMatrixH; cdecl; external Qt4PasLib name 'QMatrix_create2'; function QMatrix_create(matrix: QMatrixH): QMatrixH; cdecl; external Qt4PasLib name 'QMatrix_create3'; procedure QMatrix_setMatrix(handle: QMatrixH; m11: qreal; m12: qreal; m21: qreal; m22: qreal; dx: qreal; dy: qreal); cdecl; external Qt4PasLib name 'QMatrix_setMatrix'; function QMatrix_m11(handle: QMatrixH): qreal; cdecl; external Qt4PasLib name 'QMatrix_m11'; function QMatrix_m12(handle: QMatrixH): qreal; cdecl; external Qt4PasLib name 'QMatrix_m12'; function QMatrix_m21(handle: QMatrixH): qreal; cdecl; external Qt4PasLib name 'QMatrix_m21'; function QMatrix_m22(handle: QMatrixH): qreal; cdecl; external Qt4PasLib name 'QMatrix_m22'; function QMatrix_dx(handle: QMatrixH): qreal; cdecl; external Qt4PasLib name 'QMatrix_dx'; function QMatrix_dy(handle: QMatrixH): qreal; cdecl; external Qt4PasLib name 'QMatrix_dy'; procedure QMatrix_map(handle: QMatrixH; x: Integer; y: Integer; tx: PInteger; ty: PInteger); cdecl; external Qt4PasLib name 'QMatrix_map'; procedure QMatrix_map(handle: QMatrixH; x: qreal; y: qreal; tx: PQReal; ty: PQReal); cdecl; external Qt4PasLib name 'QMatrix_map2'; procedure QMatrix_mapRect(handle: QMatrixH; retval: PRect; AnonParam1: PRect); cdecl; external Qt4PasLib name 'QMatrix_mapRect'; procedure QMatrix_mapRect(handle: QMatrixH; retval: QRectFH; AnonParam1: QRectFH); cdecl; external Qt4PasLib name 'QMatrix_mapRect2'; procedure QMatrix_map(handle: QMatrixH; retval: PQtPoint; p: PQtPoint); cdecl; external Qt4PasLib name 'QMatrix_map3'; procedure QMatrix_map(handle: QMatrixH; retval: PQtPointF; p: PQtPointF); cdecl; external Qt4PasLib name 'QMatrix_map4'; procedure QMatrix_map(handle: QMatrixH; retval: QLineH; l: QLineH); cdecl; external Qt4PasLib name 'QMatrix_map5'; procedure QMatrix_map(handle: QMatrixH; retval: QLineFH; l: QLineFH); cdecl; external Qt4PasLib name 'QMatrix_map6'; procedure QMatrix_map(handle: QMatrixH; retval: QPolygonFH; a: QPolygonFH); cdecl; external Qt4PasLib name 'QMatrix_map7'; procedure QMatrix_map(handle: QMatrixH; retval: QPolygonH; a: QPolygonH); cdecl; external Qt4PasLib name 'QMatrix_map8'; procedure QMatrix_map(handle: QMatrixH; retval: QRegionH; r: QRegionH); cdecl; external Qt4PasLib name 'QMatrix_map9'; procedure QMatrix_map(handle: QMatrixH; retval: QPainterPathH; p: QPainterPathH); cdecl; external Qt4PasLib name 'QMatrix_map10'; procedure QMatrix_mapToPolygon(handle: QMatrixH; retval: QPolygonH; r: PRect); cdecl; external Qt4PasLib name 'QMatrix_mapToPolygon'; procedure QMatrix_reset(handle: QMatrixH); cdecl; external Qt4PasLib name 'QMatrix_reset'; function QMatrix_isIdentity(handle: QMatrixH): Boolean; cdecl; external Qt4PasLib name 'QMatrix_isIdentity'; function QMatrix_translate(handle: QMatrixH; dx: qreal; dy: qreal): QMatrixH; cdecl; external Qt4PasLib name 'QMatrix_translate'; function QMatrix_scale(handle: QMatrixH; sx: qreal; sy: qreal): QMatrixH; cdecl; external Qt4PasLib name 'QMatrix_scale'; function QMatrix_shear(handle: QMatrixH; sh: qreal; sv: qreal): QMatrixH; cdecl; external Qt4PasLib name 'QMatrix_shear'; function QMatrix_rotate(handle: QMatrixH; a: qreal): QMatrixH; cdecl; external Qt4PasLib name 'QMatrix_rotate'; function QMatrix_isInvertible(handle: QMatrixH): Boolean; cdecl; external Qt4PasLib name 'QMatrix_isInvertible'; function QMatrix_det(handle: QMatrixH): qreal; cdecl; external Qt4PasLib name 'QMatrix_det'; procedure QMatrix_inverted(handle: QMatrixH; retval: QMatrixH; invertible: PBoolean = nil); cdecl; external Qt4PasLib name 'QMatrix_inverted'; type QGradientType = ( // QGradient::Type (1) QGradientLinearGradient, QGradientRadialGradient, QGradientConicalGradient, QGradientNoGradient ); QGradientSpread = ( // QGradient::Spread (1) QGradientPadSpread, QGradientReflectSpread, QGradientRepeatSpread ); QGradientCoordinateMode = ( // QGradient::CoordinateMode (1) QGradientLogicalMode, QGradientStretchToDeviceMode, QGradientObjectBoundingMode ); QGradientInterpolationMode = ( // QGradient::InterpolationMode (1) QGradientColorInterpolation, QGradientComponentInterpolation ); function QBrush_create(): QBrushH; cdecl; external Qt4PasLib name 'QBrush_create'; procedure QBrush_destroy(handle: QBrushH); cdecl; external Qt4PasLib name 'QBrush_destroy'; function QBrush_create(bs: QtBrushStyle): QBrushH; cdecl; external Qt4PasLib name 'QBrush_create2'; function QBrush_create(color: PQColor; bs: QtBrushStyle = QtSolidPattern): QBrushH; cdecl; external Qt4PasLib name 'QBrush_create3'; function QBrush_create(color: QtGlobalColor; bs: QtBrushStyle = QtSolidPattern): QBrushH; cdecl; external Qt4PasLib name 'QBrush_create4'; function QBrush_create(color: PQColor; pixmap: QPixmapH): QBrushH; cdecl; external Qt4PasLib name 'QBrush_create5'; function QBrush_create(color: QtGlobalColor; pixmap: QPixmapH): QBrushH; cdecl; external Qt4PasLib name 'QBrush_create6'; function QBrush_create(pixmap: QPixmapH): QBrushH; cdecl; external Qt4PasLib name 'QBrush_create7'; function QBrush_create(image: QImageH): QBrushH; cdecl; external Qt4PasLib name 'QBrush_create8'; function QBrush_create(brush: QBrushH): QBrushH; cdecl; external Qt4PasLib name 'QBrush_create9'; function QBrush_create(gradient: QGradientH): QBrushH; cdecl; external Qt4PasLib name 'QBrush_create10'; function QBrush_style(handle: QBrushH): QtBrushStyle; cdecl; external Qt4PasLib name 'QBrush_style'; procedure QBrush_setStyle(handle: QBrushH; AnonParam1: QtBrushStyle); cdecl; external Qt4PasLib name 'QBrush_setStyle'; function QBrush_matrix(handle: QBrushH): QMatrixH; cdecl; external Qt4PasLib name 'QBrush_matrix'; procedure QBrush_setMatrix(handle: QBrushH; mat: QMatrixH); cdecl; external Qt4PasLib name 'QBrush_setMatrix'; procedure QBrush_transform(handle: QBrushH; retval: QTransformH); cdecl; external Qt4PasLib name 'QBrush_transform'; procedure QBrush_setTransform(handle: QBrushH; AnonParam1: QTransformH); cdecl; external Qt4PasLib name 'QBrush_setTransform'; procedure QBrush_texture(handle: QBrushH; retval: QPixmapH); cdecl; external Qt4PasLib name 'QBrush_texture'; procedure QBrush_setTexture(handle: QBrushH; pixmap: QPixmapH); cdecl; external Qt4PasLib name 'QBrush_setTexture'; procedure QBrush_textureImage(handle: QBrushH; retval: QImageH); cdecl; external Qt4PasLib name 'QBrush_textureImage'; procedure QBrush_setTextureImage(handle: QBrushH; image: QImageH); cdecl; external Qt4PasLib name 'QBrush_setTextureImage'; function QBrush_color(handle: QBrushH): PQColor; cdecl; external Qt4PasLib name 'QBrush_color'; procedure QBrush_setColor(handle: QBrushH; color: PQColor); cdecl; external Qt4PasLib name 'QBrush_setColor'; procedure QBrush_setColor(handle: QBrushH; color: QtGlobalColor); cdecl; external Qt4PasLib name 'QBrush_setColor2'; function QBrush_gradient(handle: QBrushH): QGradientH; cdecl; external Qt4PasLib name 'QBrush_gradient'; function QBrush_isOpaque(handle: QBrushH): Boolean; cdecl; external Qt4PasLib name 'QBrush_isOpaque'; function QBrush_isDetached(handle: QBrushH): Boolean; cdecl; external Qt4PasLib name 'QBrush_isDetached'; function QGradient_create(): QGradientH; cdecl; external Qt4PasLib name 'QGradient_create'; procedure QGradient_destroy(handle: QGradientH); cdecl; external Qt4PasLib name 'QGradient_destroy'; function QGradient_type(handle: QGradientH): QGradientType; cdecl; external Qt4PasLib name 'QGradient_type'; procedure QGradient_setSpread(handle: QGradientH; spread: QGradientSpread); cdecl; external Qt4PasLib name 'QGradient_setSpread'; function QGradient_spread(handle: QGradientH): QGradientSpread; cdecl; external Qt4PasLib name 'QGradient_spread'; procedure QGradient_setColorAt(handle: QGradientH; pos: qreal; color: PQColor); cdecl; external Qt4PasLib name 'QGradient_setColorAt'; function QGradient_coordinateMode(handle: QGradientH): QGradientCoordinateMode; cdecl; external Qt4PasLib name 'QGradient_coordinateMode'; procedure QGradient_setCoordinateMode(handle: QGradientH; mode: QGradientCoordinateMode); cdecl; external Qt4PasLib name 'QGradient_setCoordinateMode'; function QGradient_interpolationMode(handle: QGradientH): QGradientInterpolationMode; cdecl; external Qt4PasLib name 'QGradient_interpolationMode'; procedure QGradient_setInterpolationMode(handle: QGradientH; mode: QGradientInterpolationMode); cdecl; external Qt4PasLib name 'QGradient_setInterpolationMode'; function QLinearGradient_create(): QLinearGradientH; cdecl; external Qt4PasLib name 'QLinearGradient_create'; procedure QLinearGradient_destroy(handle: QLinearGradientH); cdecl; external Qt4PasLib name 'QLinearGradient_destroy'; function QLinearGradient_create(start: PQtPointF; finalStop: PQtPointF): QLinearGradientH; cdecl; external Qt4PasLib name 'QLinearGradient_create2'; function QLinearGradient_create(xStart: qreal; yStart: qreal; xFinalStop: qreal; yFinalStop: qreal): QLinearGradientH; cdecl; external Qt4PasLib name 'QLinearGradient_create3'; procedure QLinearGradient_start(handle: QLinearGradientH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QLinearGradient_start'; procedure QLinearGradient_setStart(handle: QLinearGradientH; start: PQtPointF); cdecl; external Qt4PasLib name 'QLinearGradient_setStart'; procedure QLinearGradient_setStart(handle: QLinearGradientH; x: qreal; y: qreal); cdecl; external Qt4PasLib name 'QLinearGradient_setStart2'; procedure QLinearGradient_finalStop(handle: QLinearGradientH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QLinearGradient_finalStop'; procedure QLinearGradient_setFinalStop(handle: QLinearGradientH; stop: PQtPointF); cdecl; external Qt4PasLib name 'QLinearGradient_setFinalStop'; procedure QLinearGradient_setFinalStop(handle: QLinearGradientH; x: qreal; y: qreal); cdecl; external Qt4PasLib name 'QLinearGradient_setFinalStop2'; function QRadialGradient_create(): QRadialGradientH; cdecl; external Qt4PasLib name 'QRadialGradient_create'; procedure QRadialGradient_destroy(handle: QRadialGradientH); cdecl; external Qt4PasLib name 'QRadialGradient_destroy'; function QRadialGradient_create(center: PQtPointF; radius: qreal; focalPoint: PQtPointF): QRadialGradientH; cdecl; external Qt4PasLib name 'QRadialGradient_create2'; function QRadialGradient_create(cx: qreal; cy: qreal; radius: qreal; fx: qreal; fy: qreal): QRadialGradientH; cdecl; external Qt4PasLib name 'QRadialGradient_create3'; function QRadialGradient_create(center: PQtPointF; radius: qreal): QRadialGradientH; cdecl; external Qt4PasLib name 'QRadialGradient_create4'; function QRadialGradient_create(cx: qreal; cy: qreal; radius: qreal): QRadialGradientH; cdecl; external Qt4PasLib name 'QRadialGradient_create5'; procedure QRadialGradient_center(handle: QRadialGradientH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QRadialGradient_center'; procedure QRadialGradient_setCenter(handle: QRadialGradientH; center: PQtPointF); cdecl; external Qt4PasLib name 'QRadialGradient_setCenter'; procedure QRadialGradient_setCenter(handle: QRadialGradientH; x: qreal; y: qreal); cdecl; external Qt4PasLib name 'QRadialGradient_setCenter2'; procedure QRadialGradient_focalPoint(handle: QRadialGradientH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QRadialGradient_focalPoint'; procedure QRadialGradient_setFocalPoint(handle: QRadialGradientH; focalPoint: PQtPointF); cdecl; external Qt4PasLib name 'QRadialGradient_setFocalPoint'; procedure QRadialGradient_setFocalPoint(handle: QRadialGradientH; x: qreal; y: qreal); cdecl; external Qt4PasLib name 'QRadialGradient_setFocalPoint2'; function QRadialGradient_radius(handle: QRadialGradientH): qreal; cdecl; external Qt4PasLib name 'QRadialGradient_radius'; procedure QRadialGradient_setRadius(handle: QRadialGradientH; radius: qreal); cdecl; external Qt4PasLib name 'QRadialGradient_setRadius'; function QConicalGradient_create(): QConicalGradientH; cdecl; external Qt4PasLib name 'QConicalGradient_create'; procedure QConicalGradient_destroy(handle: QConicalGradientH); cdecl; external Qt4PasLib name 'QConicalGradient_destroy'; function QConicalGradient_create(center: PQtPointF; startAngle: qreal): QConicalGradientH; cdecl; external Qt4PasLib name 'QConicalGradient_create2'; function QConicalGradient_create(cx: qreal; cy: qreal; startAngle: qreal): QConicalGradientH; cdecl; external Qt4PasLib name 'QConicalGradient_create3'; procedure QConicalGradient_center(handle: QConicalGradientH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QConicalGradient_center'; procedure QConicalGradient_setCenter(handle: QConicalGradientH; center: PQtPointF); cdecl; external Qt4PasLib name 'QConicalGradient_setCenter'; procedure QConicalGradient_setCenter(handle: QConicalGradientH; x: qreal; y: qreal); cdecl; external Qt4PasLib name 'QConicalGradient_setCenter2'; function QConicalGradient_angle(handle: QConicalGradientH): qreal; cdecl; external Qt4PasLib name 'QConicalGradient_angle'; procedure QConicalGradient_setAngle(handle: QConicalGradientH; angle: qreal); cdecl; external Qt4PasLib name 'QConicalGradient_setAngle'; function QPen_create(): QPenH; cdecl; external Qt4PasLib name 'QPen_create'; procedure QPen_destroy(handle: QPenH); cdecl; external Qt4PasLib name 'QPen_destroy'; function QPen_create(AnonParam1: QtPenStyle): QPenH; cdecl; external Qt4PasLib name 'QPen_create2'; function QPen_create(color: PQColor): QPenH; cdecl; external Qt4PasLib name 'QPen_create3'; function QPen_create(brush: QBrushH; width: qreal; s: QtPenStyle = QtSolidLine; c: QtPenCapStyle = QtSquareCap; j: QtPenJoinStyle = QtBevelJoin): QPenH; cdecl; external Qt4PasLib name 'QPen_create4'; function QPen_create(pen: QPenH): QPenH; cdecl; external Qt4PasLib name 'QPen_create5'; function QPen_style(handle: QPenH): QtPenStyle; cdecl; external Qt4PasLib name 'QPen_style'; procedure QPen_setStyle(handle: QPenH; AnonParam1: QtPenStyle); cdecl; external Qt4PasLib name 'QPen_setStyle'; procedure QPen_dashPattern(handle: QPenH; retval: PQRealArray); cdecl; external Qt4PasLib name 'QPen_dashPattern'; procedure QPen_setDashPattern(handle: QPenH; pattern: PQRealArray); cdecl; external Qt4PasLib name 'QPen_setDashPattern'; function QPen_dashOffset(handle: QPenH): qreal; cdecl; external Qt4PasLib name 'QPen_dashOffset'; procedure QPen_setDashOffset(handle: QPenH; doffset: qreal); cdecl; external Qt4PasLib name 'QPen_setDashOffset'; function QPen_miterLimit(handle: QPenH): qreal; cdecl; external Qt4PasLib name 'QPen_miterLimit'; procedure QPen_setMiterLimit(handle: QPenH; limit: qreal); cdecl; external Qt4PasLib name 'QPen_setMiterLimit'; function QPen_widthF(handle: QPenH): qreal; cdecl; external Qt4PasLib name 'QPen_widthF'; procedure QPen_setWidthF(handle: QPenH; width: qreal); cdecl; external Qt4PasLib name 'QPen_setWidthF'; function QPen_width(handle: QPenH): Integer; cdecl; external Qt4PasLib name 'QPen_width'; procedure QPen_setWidth(handle: QPenH; width: Integer); cdecl; external Qt4PasLib name 'QPen_setWidth'; procedure QPen_color(handle: QPenH; retval: PQColor); cdecl; external Qt4PasLib name 'QPen_color'; procedure QPen_setColor(handle: QPenH; color: PQColor); cdecl; external Qt4PasLib name 'QPen_setColor'; procedure QPen_brush(handle: QPenH; retval: QBrushH); cdecl; external Qt4PasLib name 'QPen_brush'; procedure QPen_setBrush(handle: QPenH; brush: QBrushH); cdecl; external Qt4PasLib name 'QPen_setBrush'; function QPen_isSolid(handle: QPenH): Boolean; cdecl; external Qt4PasLib name 'QPen_isSolid'; function QPen_capStyle(handle: QPenH): QtPenCapStyle; cdecl; external Qt4PasLib name 'QPen_capStyle'; procedure QPen_setCapStyle(handle: QPenH; pcs: QtPenCapStyle); cdecl; external Qt4PasLib name 'QPen_setCapStyle'; function QPen_joinStyle(handle: QPenH): QtPenJoinStyle; cdecl; external Qt4PasLib name 'QPen_joinStyle'; procedure QPen_setJoinStyle(handle: QPenH; pcs: QtPenJoinStyle); cdecl; external Qt4PasLib name 'QPen_setJoinStyle'; function QPen_isCosmetic(handle: QPenH): Boolean; cdecl; external Qt4PasLib name 'QPen_isCosmetic'; procedure QPen_setCosmetic(handle: QPenH; cosmetic: Boolean); cdecl; external Qt4PasLib name 'QPen_setCosmetic'; function QPen_isDetached(handle: QPenH): Boolean; cdecl; external Qt4PasLib name 'QPen_isDetached'; function QPolygon_create(): QPolygonH; cdecl; external Qt4PasLib name 'QPolygon_create'; procedure QPolygon_destroy(handle: QPolygonH); cdecl; external Qt4PasLib name 'QPolygon_destroy'; function QPolygon_create(size: Integer): QPolygonH; cdecl; external Qt4PasLib name 'QPolygon_create2'; function QPolygon_create(a: QPolygonH): QPolygonH; cdecl; external Qt4PasLib name 'QPolygon_create3'; function QPolygon_create(r: PRect; closed: Boolean = False): QPolygonH; cdecl; external Qt4PasLib name 'QPolygon_create4'; function QPolygon_create(nPoints: Integer; points: PInteger): QPolygonH; cdecl; external Qt4PasLib name 'QPolygon_create5'; procedure QPolygon_translate(handle: QPolygonH; dx: Integer; dy: Integer); cdecl; external Qt4PasLib name 'QPolygon_translate'; procedure QPolygon_translate(handle: QPolygonH; offset: PQtPoint); cdecl; external Qt4PasLib name 'QPolygon_translate2'; procedure QPolygon_boundingRect(handle: QPolygonH; retval: PRect); cdecl; external Qt4PasLib name 'QPolygon_boundingRect'; procedure QPolygon_point(handle: QPolygonH; i: Integer; x: PInteger; y: PInteger); cdecl; external Qt4PasLib name 'QPolygon_point'; procedure QPolygon_point(handle: QPolygonH; retval: PQtPoint; i: Integer); cdecl; external Qt4PasLib name 'QPolygon_point2'; procedure QPolygon_setPoint(handle: QPolygonH; index: Integer; x: Integer; y: Integer); cdecl; external Qt4PasLib name 'QPolygon_setPoint'; procedure QPolygon_setPoint(handle: QPolygonH; index: Integer; p: PQtPoint); cdecl; external Qt4PasLib name 'QPolygon_setPoint2'; procedure QPolygon_setPoints(handle: QPolygonH; nPoints: Integer; points: PInteger); cdecl; external Qt4PasLib name 'QPolygon_setPoints'; procedure QPolygon_putPoints(handle: QPolygonH; index: Integer; nPoints: Integer; points: PInteger); cdecl; external Qt4PasLib name 'QPolygon_putPoints'; procedure QPolygon_putPoints(handle: QPolygonH; index: Integer; nPoints: Integer; from: QPolygonH; fromIndex: Integer = 0); cdecl; external Qt4PasLib name 'QPolygon_putPoints3'; function QPolygon_containsPoint(handle: QPolygonH; pt: PQtPoint; fillRule: QtFillRule): Boolean; cdecl; external Qt4PasLib name 'QPolygon_containsPoint'; procedure QPolygon_united(handle: QPolygonH; retval: QPolygonH; r: QPolygonH); cdecl; external Qt4PasLib name 'QPolygon_united'; procedure QPolygon_intersected(handle: QPolygonH; retval: QPolygonH; r: QPolygonH); cdecl; external Qt4PasLib name 'QPolygon_intersected'; procedure QPolygon_subtracted(handle: QPolygonH; retval: QPolygonH; r: QPolygonH); cdecl; external Qt4PasLib name 'QPolygon_subtracted'; function QPolygonF_create(): QPolygonFH; cdecl; external Qt4PasLib name 'QPolygonF_create'; procedure QPolygonF_destroy(handle: QPolygonFH); cdecl; external Qt4PasLib name 'QPolygonF_destroy'; function QPolygonF_create(size: Integer): QPolygonFH; cdecl; external Qt4PasLib name 'QPolygonF_create2'; function QPolygonF_create(a: QPolygonFH): QPolygonFH; cdecl; external Qt4PasLib name 'QPolygonF_create3'; function QPolygonF_create(r: QRectFH): QPolygonFH; cdecl; external Qt4PasLib name 'QPolygonF_create4'; function QPolygonF_create(a: QPolygonH): QPolygonFH; cdecl; external Qt4PasLib name 'QPolygonF_create5'; procedure QPolygonF_translate(handle: QPolygonFH; dx: qreal; dy: qreal); cdecl; external Qt4PasLib name 'QPolygonF_translate'; procedure QPolygonF_translate(handle: QPolygonFH; offset: PQtPointF); cdecl; external Qt4PasLib name 'QPolygonF_translate2'; procedure QPolygonF_toPolygon(handle: QPolygonFH; retval: QPolygonH); cdecl; external Qt4PasLib name 'QPolygonF_toPolygon'; function QPolygonF_isClosed(handle: QPolygonFH): Boolean; cdecl; external Qt4PasLib name 'QPolygonF_isClosed'; procedure QPolygonF_boundingRect(handle: QPolygonFH; retval: QRectFH); cdecl; external Qt4PasLib name 'QPolygonF_boundingRect'; function QPolygonF_containsPoint(handle: QPolygonFH; pt: PQtPointF; fillRule: QtFillRule): Boolean; cdecl; external Qt4PasLib name 'QPolygonF_containsPoint'; procedure QPolygonF_united(handle: QPolygonFH; retval: QPolygonFH; r: QPolygonFH); cdecl; external Qt4PasLib name 'QPolygonF_united'; procedure QPolygonF_intersected(handle: QPolygonFH; retval: QPolygonFH; r: QPolygonFH); cdecl; external Qt4PasLib name 'QPolygonF_intersected'; procedure QPolygonF_subtracted(handle: QPolygonFH; retval: QPolygonFH; r: QPolygonFH); cdecl; external Qt4PasLib name 'QPolygonF_subtracted'; type QPainterCompositionMode = ( // QPainter::CompositionMode (1) QPainterCompositionMode_SourceOver, QPainterCompositionMode_DestinationOver, QPainterCompositionMode_Clear, QPainterCompositionMode_Source, QPainterCompositionMode_Destination, QPainterCompositionMode_SourceIn, QPainterCompositionMode_DestinationIn, QPainterCompositionMode_SourceOut, QPainterCompositionMode_DestinationOut, QPainterCompositionMode_SourceAtop, QPainterCompositionMode_DestinationAtop, QPainterCompositionMode_Xor, QPainterCompositionMode_Plus, QPainterCompositionMode_Multiply, QPainterCompositionMode_Screen, QPainterCompositionMode_Overlay, QPainterCompositionMode_Darken, QPainterCompositionMode_Lighten, QPainterCompositionMode_ColorDodge, QPainterCompositionMode_ColorBurn, QPainterCompositionMode_HardLight, QPainterCompositionMode_SoftLight, QPainterCompositionMode_Difference, QPainterCompositionMode_Exclusion, QPainterRasterOp_SourceOrDestination, QPainterRasterOp_SourceAndDestination, QPainterRasterOp_SourceXorDestination, QPainterRasterOp_NotSourceAndNotDestination, QPainterRasterOp_NotSourceOrNotDestination, QPainterRasterOp_NotSourceXorDestination, QPainterRasterOp_NotSource, QPainterRasterOp_NotSourceAndDestination, QPainterRasterOp_SourceAndNotDestination ); type QPainterRenderHint = cardinal; // QPainter::RenderHint QPainterRenderHints = QPainterRenderHint; //QFlags<> (3) const QPainterAntialiasing = $01; QPainterTextAntialiasing = $02; QPainterSmoothPixmapTransform = $04; QPainterHighQualityAntialiasing = $08; QPainterNonCosmeticDefaultPen = $10; function QPainter_create(): QPainterH; cdecl; external Qt4PasLib name 'QPainter_create'; procedure QPainter_destroy(handle: QPainterH); cdecl; external Qt4PasLib name 'QPainter_destroy'; function QPainter_create(AnonParam1: QPaintDeviceH): QPainterH; cdecl; external Qt4PasLib name 'QPainter_create2'; function QPainter_device(handle: QPainterH): QPaintDeviceH; cdecl; external Qt4PasLib name 'QPainter_device'; function QPainter_begin(handle: QPainterH; AnonParam1: QPaintDeviceH): Boolean; cdecl; external Qt4PasLib name 'QPainter_begin'; function QPainter_end(handle: QPainterH): Boolean; cdecl; external Qt4PasLib name 'QPainter_end'; function QPainter_isActive(handle: QPainterH): Boolean; cdecl; external Qt4PasLib name 'QPainter_isActive'; procedure QPainter_initFrom(handle: QPainterH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QPainter_initFrom'; procedure QPainter_setCompositionMode(handle: QPainterH; mode: QPainterCompositionMode); cdecl; external Qt4PasLib name 'QPainter_setCompositionMode'; function QPainter_compositionMode(handle: QPainterH): QPainterCompositionMode; cdecl; external Qt4PasLib name 'QPainter_compositionMode'; function QPainter_font(handle: QPainterH): QFontH; cdecl; external Qt4PasLib name 'QPainter_font'; procedure QPainter_setFont(handle: QPainterH; f: QFontH); cdecl; external Qt4PasLib name 'QPainter_setFont'; procedure QPainter_fontMetrics(handle: QPainterH; retval: QFontMetricsH); cdecl; external Qt4PasLib name 'QPainter_fontMetrics'; procedure QPainter_fontInfo(handle: QPainterH; retval: QFontInfoH); cdecl; external Qt4PasLib name 'QPainter_fontInfo'; procedure QPainter_setPen(handle: QPainterH; color: PQColor); cdecl; external Qt4PasLib name 'QPainter_setPen'; procedure QPainter_setPen(handle: QPainterH; pen: QPenH); cdecl; external Qt4PasLib name 'QPainter_setPen2'; procedure QPainter_setPen(handle: QPainterH; style: QtPenStyle); cdecl; external Qt4PasLib name 'QPainter_setPen3'; function QPainter_pen(handle: QPainterH): QPenH; cdecl; external Qt4PasLib name 'QPainter_pen'; procedure QPainter_setBrush(handle: QPainterH; brush: QBrushH); cdecl; external Qt4PasLib name 'QPainter_setBrush'; procedure QPainter_setBrush(handle: QPainterH; style: QtBrushStyle); cdecl; external Qt4PasLib name 'QPainter_setBrush2'; function QPainter_brush(handle: QPainterH): QBrushH; cdecl; external Qt4PasLib name 'QPainter_brush'; procedure QPainter_setBackgroundMode(handle: QPainterH; mode: QtBGMode); cdecl; external Qt4PasLib name 'QPainter_setBackgroundMode'; function QPainter_backgroundMode(handle: QPainterH): QtBGMode; cdecl; external Qt4PasLib name 'QPainter_backgroundMode'; procedure QPainter_brushOrigin(handle: QPainterH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QPainter_brushOrigin'; procedure QPainter_setBrushOrigin(handle: QPainterH; x: Integer; y: Integer); cdecl; external Qt4PasLib name 'QPainter_setBrushOrigin'; procedure QPainter_setBrushOrigin(handle: QPainterH; AnonParam1: PQtPoint); cdecl; external Qt4PasLib name 'QPainter_setBrushOrigin2'; procedure QPainter_setBrushOrigin(handle: QPainterH; AnonParam1: PQtPointF); cdecl; external Qt4PasLib name 'QPainter_setBrushOrigin3'; procedure QPainter_setBackground(handle: QPainterH; bg: QBrushH); cdecl; external Qt4PasLib name 'QPainter_setBackground'; function QPainter_background(handle: QPainterH): QBrushH; cdecl; external Qt4PasLib name 'QPainter_background'; function QPainter_opacity(handle: QPainterH): qreal; cdecl; external Qt4PasLib name 'QPainter_opacity'; procedure QPainter_setOpacity(handle: QPainterH; opacity: qreal); cdecl; external Qt4PasLib name 'QPainter_setOpacity'; procedure QPainter_clipRegion(handle: QPainterH; retval: QRegionH); cdecl; external Qt4PasLib name 'QPainter_clipRegion'; procedure QPainter_clipPath(handle: QPainterH; retval: QPainterPathH); cdecl; external Qt4PasLib name 'QPainter_clipPath'; procedure QPainter_setClipRect(handle: QPainterH; AnonParam1: QRectFH; op: QtClipOperation = QtReplaceClip); cdecl; external Qt4PasLib name 'QPainter_setClipRect'; procedure QPainter_setClipRect(handle: QPainterH; AnonParam1: PRect; op: QtClipOperation = QtReplaceClip); cdecl; external Qt4PasLib name 'QPainter_setClipRect2'; procedure QPainter_setClipRect(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; op: QtClipOperation = QtReplaceClip); cdecl; external Qt4PasLib name 'QPainter_setClipRect3'; procedure QPainter_setClipRegion(handle: QPainterH; AnonParam1: QRegionH; op: QtClipOperation = QtReplaceClip); cdecl; external Qt4PasLib name 'QPainter_setClipRegion'; procedure QPainter_setClipPath(handle: QPainterH; path: QPainterPathH; op: QtClipOperation = QtReplaceClip); cdecl; external Qt4PasLib name 'QPainter_setClipPath'; procedure QPainter_setClipping(handle: QPainterH; enable: Boolean); cdecl; external Qt4PasLib name 'QPainter_setClipping'; function QPainter_hasClipping(handle: QPainterH): Boolean; cdecl; external Qt4PasLib name 'QPainter_hasClipping'; procedure QPainter_save(handle: QPainterH); cdecl; external Qt4PasLib name 'QPainter_save'; procedure QPainter_restore(handle: QPainterH); cdecl; external Qt4PasLib name 'QPainter_restore'; procedure QPainter_setMatrix(handle: QPainterH; matrix: QMatrixH; combine: Boolean = False); cdecl; external Qt4PasLib name 'QPainter_setMatrix'; function QPainter_matrix(handle: QPainterH): QMatrixH; cdecl; external Qt4PasLib name 'QPainter_matrix'; function QPainter_deviceMatrix(handle: QPainterH): QMatrixH; cdecl; external Qt4PasLib name 'QPainter_deviceMatrix'; procedure QPainter_resetMatrix(handle: QPainterH); cdecl; external Qt4PasLib name 'QPainter_resetMatrix'; procedure QPainter_setTransform(handle: QPainterH; transform: QTransformH; combine: Boolean = False); cdecl; external Qt4PasLib name 'QPainter_setTransform'; function QPainter_transform(handle: QPainterH): QTransformH; cdecl; external Qt4PasLib name 'QPainter_transform'; function QPainter_deviceTransform(handle: QPainterH): QTransformH; cdecl; external Qt4PasLib name 'QPainter_deviceTransform'; procedure QPainter_resetTransform(handle: QPainterH); cdecl; external Qt4PasLib name 'QPainter_resetTransform'; procedure QPainter_setWorldMatrix(handle: QPainterH; matrix: QMatrixH; combine: Boolean = False); cdecl; external Qt4PasLib name 'QPainter_setWorldMatrix'; function QPainter_worldMatrix(handle: QPainterH): QMatrixH; cdecl; external Qt4PasLib name 'QPainter_worldMatrix'; procedure QPainter_setWorldTransform(handle: QPainterH; matrix: QTransformH; combine: Boolean = False); cdecl; external Qt4PasLib name 'QPainter_setWorldTransform'; function QPainter_worldTransform(handle: QPainterH): QTransformH; cdecl; external Qt4PasLib name 'QPainter_worldTransform'; procedure QPainter_combinedMatrix(handle: QPainterH; retval: QMatrixH); cdecl; external Qt4PasLib name 'QPainter_combinedMatrix'; procedure QPainter_combinedTransform(handle: QPainterH; retval: QTransformH); cdecl; external Qt4PasLib name 'QPainter_combinedTransform'; procedure QPainter_setMatrixEnabled(handle: QPainterH; enabled: Boolean); cdecl; external Qt4PasLib name 'QPainter_setMatrixEnabled'; function QPainter_matrixEnabled(handle: QPainterH): Boolean; cdecl; external Qt4PasLib name 'QPainter_matrixEnabled'; procedure QPainter_setWorldMatrixEnabled(handle: QPainterH; enabled: Boolean); cdecl; external Qt4PasLib name 'QPainter_setWorldMatrixEnabled'; function QPainter_worldMatrixEnabled(handle: QPainterH): Boolean; cdecl; external Qt4PasLib name 'QPainter_worldMatrixEnabled'; procedure QPainter_scale(handle: QPainterH; sx: qreal; sy: qreal); cdecl; external Qt4PasLib name 'QPainter_scale'; procedure QPainter_shear(handle: QPainterH; sh: qreal; sv: qreal); cdecl; external Qt4PasLib name 'QPainter_shear'; procedure QPainter_rotate(handle: QPainterH; a: qreal); cdecl; external Qt4PasLib name 'QPainter_rotate'; procedure QPainter_translate(handle: QPainterH; offset: PQtPointF); cdecl; external Qt4PasLib name 'QPainter_translate'; procedure QPainter_translate(handle: QPainterH; offset: PQtPoint); cdecl; external Qt4PasLib name 'QPainter_translate2'; procedure QPainter_translate(handle: QPainterH; dx: qreal; dy: qreal); cdecl; external Qt4PasLib name 'QPainter_translate3'; procedure QPainter_window(handle: QPainterH; retval: PRect); cdecl; external Qt4PasLib name 'QPainter_window'; procedure QPainter_setWindow(handle: QPainterH; window: PRect); cdecl; external Qt4PasLib name 'QPainter_setWindow'; procedure QPainter_setWindow(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QPainter_setWindow2'; procedure QPainter_viewport(handle: QPainterH; retval: PRect); cdecl; external Qt4PasLib name 'QPainter_viewport'; procedure QPainter_setViewport(handle: QPainterH; viewport: PRect); cdecl; external Qt4PasLib name 'QPainter_setViewport'; procedure QPainter_setViewport(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QPainter_setViewport2'; procedure QPainter_setViewTransformEnabled(handle: QPainterH; enable: Boolean); cdecl; external Qt4PasLib name 'QPainter_setViewTransformEnabled'; function QPainter_viewTransformEnabled(handle: QPainterH): Boolean; cdecl; external Qt4PasLib name 'QPainter_viewTransformEnabled'; procedure QPainter_strokePath(handle: QPainterH; path: QPainterPathH; pen: QPenH); cdecl; external Qt4PasLib name 'QPainter_strokePath'; procedure QPainter_fillPath(handle: QPainterH; path: QPainterPathH; brush: QBrushH); cdecl; external Qt4PasLib name 'QPainter_fillPath'; procedure QPainter_drawPath(handle: QPainterH; path: QPainterPathH); cdecl; external Qt4PasLib name 'QPainter_drawPath'; procedure QPainter_drawPoint(handle: QPainterH; pt: PQtPointF); cdecl; external Qt4PasLib name 'QPainter_drawPoint'; procedure QPainter_drawPoint(handle: QPainterH; p: PQtPoint); cdecl; external Qt4PasLib name 'QPainter_drawPoint2'; procedure QPainter_drawPoint(handle: QPainterH; x: Integer; y: Integer); cdecl; external Qt4PasLib name 'QPainter_drawPoint3'; procedure QPainter_drawPoints(handle: QPainterH; points: PQtPointF; pointCount: Integer); cdecl; external Qt4PasLib name 'QPainter_drawPoints'; procedure QPainter_drawPoints(handle: QPainterH; points: QPolygonFH); cdecl; external Qt4PasLib name 'QPainter_drawPoints2'; procedure QPainter_drawPoints(handle: QPainterH; points: PQtPoint; pointCount: Integer); cdecl; external Qt4PasLib name 'QPainter_drawPoints3'; procedure QPainter_drawPoints(handle: QPainterH; points: QPolygonH); cdecl; external Qt4PasLib name 'QPainter_drawPoints4'; procedure QPainter_drawLine(handle: QPainterH; line: QLineFH); cdecl; external Qt4PasLib name 'QPainter_drawLine'; procedure QPainter_drawLine(handle: QPainterH; line: QLineH); cdecl; external Qt4PasLib name 'QPainter_drawLine2'; procedure QPainter_drawLine(handle: QPainterH; x1: Integer; y1: Integer; x2: Integer; y2: Integer); cdecl; external Qt4PasLib name 'QPainter_drawLine3'; procedure QPainter_drawLine(handle: QPainterH; p1: PQtPoint; p2: PQtPoint); cdecl; external Qt4PasLib name 'QPainter_drawLine4'; procedure QPainter_drawLine(handle: QPainterH; p1: PQtPointF; p2: PQtPointF); cdecl; external Qt4PasLib name 'QPainter_drawLine5'; procedure QPainter_drawLines(handle: QPainterH; lines: QLineFH; lineCount: Integer); cdecl; external Qt4PasLib name 'QPainter_drawLines'; procedure QPainter_drawLines(handle: QPainterH; pointPairs: PQtPointF; lineCount: Integer); cdecl; external Qt4PasLib name 'QPainter_drawLines2'; procedure QPainter_drawLines(handle: QPainterH; lines: QLineH; lineCount: Integer); cdecl; external Qt4PasLib name 'QPainter_drawLines3'; procedure QPainter_drawLines(handle: QPainterH; pointPairs: PQtPoint; lineCount: Integer); cdecl; external Qt4PasLib name 'QPainter_drawLines4'; procedure QPainter_drawRect(handle: QPainterH; rect: QRectFH); cdecl; external Qt4PasLib name 'QPainter_drawRect'; procedure QPainter_drawRect(handle: QPainterH; x1: Integer; y1: Integer; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QPainter_drawRect2'; procedure QPainter_drawRect(handle: QPainterH; rect: PRect); cdecl; external Qt4PasLib name 'QPainter_drawRect3'; procedure QPainter_drawRects(handle: QPainterH; rects: QRectFH; rectCount: Integer); cdecl; external Qt4PasLib name 'QPainter_drawRects'; procedure QPainter_drawRects(handle: QPainterH; rects: PRect; rectCount: Integer); cdecl; external Qt4PasLib name 'QPainter_drawRects2'; procedure QPainter_drawEllipse(handle: QPainterH; r: QRectFH); cdecl; external Qt4PasLib name 'QPainter_drawEllipse'; procedure QPainter_drawEllipse(handle: QPainterH; r: PRect); cdecl; external Qt4PasLib name 'QPainter_drawEllipse2'; procedure QPainter_drawEllipse(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QPainter_drawEllipse3'; procedure QPainter_drawEllipse(handle: QPainterH; center: PQtPointF; rx: qreal; ry: qreal); cdecl; external Qt4PasLib name 'QPainter_drawEllipse4'; procedure QPainter_drawEllipse(handle: QPainterH; center: PQtPoint; rx: Integer; ry: Integer); cdecl; external Qt4PasLib name 'QPainter_drawEllipse5'; procedure QPainter_drawPolyline(handle: QPainterH; points: PQtPointF; pointCount: Integer); cdecl; external Qt4PasLib name 'QPainter_drawPolyline'; procedure QPainter_drawPolyline(handle: QPainterH; polyline: QPolygonFH); cdecl; external Qt4PasLib name 'QPainter_drawPolyline2'; procedure QPainter_drawPolyline(handle: QPainterH; points: PQtPoint; pointCount: Integer); cdecl; external Qt4PasLib name 'QPainter_drawPolyline3'; procedure QPainter_drawPolyline(handle: QPainterH; polygon: QPolygonH); cdecl; external Qt4PasLib name 'QPainter_drawPolyline4'; procedure QPainter_drawPolygon(handle: QPainterH; points: PQtPointF; pointCount: Integer; fillRule: QtFillRule = QtOddEvenFill); cdecl; external Qt4PasLib name 'QPainter_drawPolygon'; procedure QPainter_drawPolygon(handle: QPainterH; polygon: QPolygonFH; fillRule: QtFillRule = QtOddEvenFill); cdecl; external Qt4PasLib name 'QPainter_drawPolygon2'; procedure QPainter_drawPolygon(handle: QPainterH; points: PQtPoint; pointCount: Integer; fillRule: QtFillRule = QtOddEvenFill); cdecl; external Qt4PasLib name 'QPainter_drawPolygon3'; procedure QPainter_drawPolygon(handle: QPainterH; polygon: QPolygonH; fillRule: QtFillRule = QtOddEvenFill); cdecl; external Qt4PasLib name 'QPainter_drawPolygon4'; procedure QPainter_drawConvexPolygon(handle: QPainterH; points: PQtPointF; pointCount: Integer); cdecl; external Qt4PasLib name 'QPainter_drawConvexPolygon'; procedure QPainter_drawConvexPolygon(handle: QPainterH; polygon: QPolygonFH); cdecl; external Qt4PasLib name 'QPainter_drawConvexPolygon2'; procedure QPainter_drawConvexPolygon(handle: QPainterH; points: PQtPoint; pointCount: Integer); cdecl; external Qt4PasLib name 'QPainter_drawConvexPolygon3'; procedure QPainter_drawConvexPolygon(handle: QPainterH; polygon: QPolygonH); cdecl; external Qt4PasLib name 'QPainter_drawConvexPolygon4'; procedure QPainter_drawArc(handle: QPainterH; rect: QRectFH; a: Integer; alen: Integer); cdecl; external Qt4PasLib name 'QPainter_drawArc'; procedure QPainter_drawArc(handle: QPainterH; AnonParam1: PRect; a: Integer; alen: Integer); cdecl; external Qt4PasLib name 'QPainter_drawArc2'; procedure QPainter_drawArc(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; a: Integer; alen: Integer); cdecl; external Qt4PasLib name 'QPainter_drawArc3'; procedure QPainter_drawPie(handle: QPainterH; rect: QRectFH; a: Integer; alen: Integer); cdecl; external Qt4PasLib name 'QPainter_drawPie'; procedure QPainter_drawPie(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; a: Integer; alen: Integer); cdecl; external Qt4PasLib name 'QPainter_drawPie2'; procedure QPainter_drawPie(handle: QPainterH; AnonParam1: PRect; a: Integer; alen: Integer); cdecl; external Qt4PasLib name 'QPainter_drawPie3'; procedure QPainter_drawChord(handle: QPainterH; rect: QRectFH; a: Integer; alen: Integer); cdecl; external Qt4PasLib name 'QPainter_drawChord'; procedure QPainter_drawChord(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; a: Integer; alen: Integer); cdecl; external Qt4PasLib name 'QPainter_drawChord2'; procedure QPainter_drawChord(handle: QPainterH; AnonParam1: PRect; a: Integer; alen: Integer); cdecl; external Qt4PasLib name 'QPainter_drawChord3'; procedure QPainter_drawRoundedRect(handle: QPainterH; rect: QRectFH; xRadius: qreal; yRadius: qreal; mode: QtSizeMode = QtAbsoluteSize); cdecl; external Qt4PasLib name 'QPainter_drawRoundedRect'; procedure QPainter_drawRoundedRect(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; xRadius: qreal; yRadius: qreal; mode: QtSizeMode = QtAbsoluteSize); cdecl; external Qt4PasLib name 'QPainter_drawRoundedRect2'; procedure QPainter_drawRoundedRect(handle: QPainterH; rect: PRect; xRadius: qreal; yRadius: qreal; mode: QtSizeMode = QtAbsoluteSize); cdecl; external Qt4PasLib name 'QPainter_drawRoundedRect3'; procedure QPainter_drawRoundRect(handle: QPainterH; r: QRectFH; xround: Integer = 25; yround: Integer = 25); cdecl; external Qt4PasLib name 'QPainter_drawRoundRect'; procedure QPainter_drawRoundRect(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; AnonParam5: Integer = 25; AnonParam6: Integer = 25); cdecl; external Qt4PasLib name 'QPainter_drawRoundRect2'; procedure QPainter_drawRoundRect(handle: QPainterH; r: PRect; xround: Integer = 25; yround: Integer = 25); cdecl; external Qt4PasLib name 'QPainter_drawRoundRect3'; procedure QPainter_drawTiledPixmap(handle: QPainterH; rect: QRectFH; pm: QPixmapH; offset: PQtPointF = nil); cdecl; external Qt4PasLib name 'QPainter_drawTiledPixmap'; procedure QPainter_drawTiledPixmap(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; AnonParam5: QPixmapH; sx: Integer = 0; sy: Integer = 0); cdecl; external Qt4PasLib name 'QPainter_drawTiledPixmap2'; procedure QPainter_drawTiledPixmap(handle: QPainterH; AnonParam1: PRect; AnonParam2: QPixmapH; AnonParam3: PQtPoint = nil); cdecl; external Qt4PasLib name 'QPainter_drawTiledPixmap3'; procedure QPainter_drawPicture(handle: QPainterH; p: PQtPointF; picture: QPictureH); cdecl; external Qt4PasLib name 'QPainter_drawPicture'; procedure QPainter_drawPicture(handle: QPainterH; x: Integer; y: Integer; picture: QPictureH); cdecl; external Qt4PasLib name 'QPainter_drawPicture2'; procedure QPainter_drawPicture(handle: QPainterH; p: PQtPoint; picture: QPictureH); cdecl; external Qt4PasLib name 'QPainter_drawPicture3'; procedure QPainter_drawPixmap(handle: QPainterH; targetRect: QRectFH; pixmap: QPixmapH; sourceRect: QRectFH); cdecl; external Qt4PasLib name 'QPainter_drawPixmap'; procedure QPainter_drawPixmap(handle: QPainterH; targetRect: PRect; pixmap: QPixmapH; sourceRect: PRect); cdecl; external Qt4PasLib name 'QPainter_drawPixmap2'; procedure QPainter_drawPixmap(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; pm: QPixmapH; sx: Integer; sy: Integer; sw: Integer; sh: Integer); cdecl; external Qt4PasLib name 'QPainter_drawPixmap3'; procedure QPainter_drawPixmap(handle: QPainterH; x: Integer; y: Integer; pm: QPixmapH; sx: Integer; sy: Integer; sw: Integer; sh: Integer); cdecl; external Qt4PasLib name 'QPainter_drawPixmap4'; procedure QPainter_drawPixmap(handle: QPainterH; p: PQtPointF; pm: QPixmapH; sr: QRectFH); cdecl; external Qt4PasLib name 'QPainter_drawPixmap5'; procedure QPainter_drawPixmap(handle: QPainterH; p: PQtPoint; pm: QPixmapH; sr: PRect); cdecl; external Qt4PasLib name 'QPainter_drawPixmap6'; procedure QPainter_drawPixmap(handle: QPainterH; p: PQtPointF; pm: QPixmapH); cdecl; external Qt4PasLib name 'QPainter_drawPixmap7'; procedure QPainter_drawPixmap(handle: QPainterH; p: PQtPoint; pm: QPixmapH); cdecl; external Qt4PasLib name 'QPainter_drawPixmap8'; procedure QPainter_drawPixmap(handle: QPainterH; x: Integer; y: Integer; pm: QPixmapH); cdecl; external Qt4PasLib name 'QPainter_drawPixmap9'; procedure QPainter_drawPixmap(handle: QPainterH; r: PRect; pm: QPixmapH); cdecl; external Qt4PasLib name 'QPainter_drawPixmap10'; procedure QPainter_drawPixmap(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; pm: QPixmapH); cdecl; external Qt4PasLib name 'QPainter_drawPixmap11'; procedure QPainter_drawImage(handle: QPainterH; targetRect: QRectFH; image: QImageH; sourceRect: QRectFH; flags: QtImageConversionFlags = QtAutoColor); cdecl; external Qt4PasLib name 'QPainter_drawImage'; procedure QPainter_drawImage(handle: QPainterH; targetRect: PRect; image: QImageH; sourceRect: PRect; flags: QtImageConversionFlags = QtAutoColor); cdecl; external Qt4PasLib name 'QPainter_drawImage2'; procedure QPainter_drawImage(handle: QPainterH; p: PQtPointF; image: QImageH; sr: QRectFH; flags: QtImageConversionFlags = QtAutoColor); cdecl; external Qt4PasLib name 'QPainter_drawImage3'; procedure QPainter_drawImage(handle: QPainterH; p: PQtPoint; image: QImageH; sr: PRect; flags: QtImageConversionFlags = QtAutoColor); cdecl; external Qt4PasLib name 'QPainter_drawImage4'; procedure QPainter_drawImage(handle: QPainterH; r: QRectFH; image: QImageH); cdecl; external Qt4PasLib name 'QPainter_drawImage5'; procedure QPainter_drawImage(handle: QPainterH; r: PRect; image: QImageH); cdecl; external Qt4PasLib name 'QPainter_drawImage6'; procedure QPainter_drawImage(handle: QPainterH; p: PQtPointF; image: QImageH); cdecl; external Qt4PasLib name 'QPainter_drawImage7'; procedure QPainter_drawImage(handle: QPainterH; p: PQtPoint; image: QImageH); cdecl; external Qt4PasLib name 'QPainter_drawImage8'; procedure QPainter_drawImage(handle: QPainterH; x: Integer; y: Integer; image: QImageH; sx: Integer = 0; sy: Integer = 0; sw: Integer = -1; sh: Integer = -1; flags: QtImageConversionFlags = QtAutoColor); cdecl; external Qt4PasLib name 'QPainter_drawImage9'; procedure QPainter_setLayoutDirection(handle: QPainterH; direction: QtLayoutDirection); cdecl; external Qt4PasLib name 'QPainter_setLayoutDirection'; function QPainter_layoutDirection(handle: QPainterH): QtLayoutDirection; cdecl; external Qt4PasLib name 'QPainter_layoutDirection'; procedure QPainter_drawText(handle: QPainterH; p: PQtPointF; s: PWideString); cdecl; external Qt4PasLib name 'QPainter_drawText'; procedure QPainter_drawText(handle: QPainterH; p: PQtPoint; s: PWideString); cdecl; external Qt4PasLib name 'QPainter_drawText2'; procedure QPainter_drawText(handle: QPainterH; x: Integer; y: Integer; s: PWideString); cdecl; external Qt4PasLib name 'QPainter_drawText3'; procedure QPainter_drawText(handle: QPainterH; p: PQtPointF; str: PWideString; tf: Integer; justificationPadding: Integer); cdecl; external Qt4PasLib name 'QPainter_drawText4'; procedure QPainter_drawText(handle: QPainterH; r: QRectFH; flags: Integer; text: PWideString; br: QRectFH = nil); cdecl; external Qt4PasLib name 'QPainter_drawText5'; procedure QPainter_drawText(handle: QPainterH; r: PRect; flags: Integer; text: PWideString; br: PRect = nil); cdecl; external Qt4PasLib name 'QPainter_drawText6'; procedure QPainter_drawText(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; flags: Integer; text: PWideString; br: PRect = nil); cdecl; external Qt4PasLib name 'QPainter_drawText7'; procedure QPainter_drawText(handle: QPainterH; r: QRectFH; text: PWideString; o: QTextOptionH = nil); cdecl; external Qt4PasLib name 'QPainter_drawText8'; procedure QPainter_boundingRect(handle: QPainterH; retval: QRectFH; rect: QRectFH; flags: Integer; text: PWideString); cdecl; external Qt4PasLib name 'QPainter_boundingRect'; procedure QPainter_boundingRect(handle: QPainterH; retval: PRect; rect: PRect; flags: Integer; text: PWideString); cdecl; external Qt4PasLib name 'QPainter_boundingRect2'; procedure QPainter_boundingRect(handle: QPainterH; retval: PRect; x: Integer; y: Integer; w: Integer; h: Integer; flags: Integer; text: PWideString); cdecl; external Qt4PasLib name 'QPainter_boundingRect3'; procedure QPainter_boundingRect(handle: QPainterH; retval: QRectFH; rect: QRectFH; text: PWideString; o: QTextOptionH = nil); cdecl; external Qt4PasLib name 'QPainter_boundingRect4'; procedure QPainter_fillRect(handle: QPainterH; AnonParam1: QRectFH; AnonParam2: QBrushH); cdecl; external Qt4PasLib name 'QPainter_fillRect'; procedure QPainter_fillRect(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; AnonParam5: QBrushH); cdecl; external Qt4PasLib name 'QPainter_fillRect2'; procedure QPainter_fillRect(handle: QPainterH; AnonParam1: PRect; AnonParam2: QBrushH); cdecl; external Qt4PasLib name 'QPainter_fillRect3'; procedure QPainter_fillRect(handle: QPainterH; AnonParam1: QRectFH; color: PQColor); cdecl; external Qt4PasLib name 'QPainter_fillRect4'; procedure QPainter_fillRect(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; color: PQColor); cdecl; external Qt4PasLib name 'QPainter_fillRect5'; procedure QPainter_fillRect(handle: QPainterH; AnonParam1: PRect; color: PQColor); cdecl; external Qt4PasLib name 'QPainter_fillRect6'; procedure QPainter_fillRect(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; c: QtGlobalColor); cdecl; external Qt4PasLib name 'QPainter_fillRect7'; procedure QPainter_fillRect(handle: QPainterH; r: PRect; c: QtGlobalColor); cdecl; external Qt4PasLib name 'QPainter_fillRect8'; procedure QPainter_fillRect(handle: QPainterH; r: QRectFH; c: QtGlobalColor); cdecl; external Qt4PasLib name 'QPainter_fillRect9'; procedure QPainter_fillRect(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; style: QtBrushStyle); cdecl; external Qt4PasLib name 'QPainter_fillRect10'; procedure QPainter_fillRect(handle: QPainterH; r: PRect; style: QtBrushStyle); cdecl; external Qt4PasLib name 'QPainter_fillRect11'; procedure QPainter_fillRect(handle: QPainterH; r: QRectFH; style: QtBrushStyle); cdecl; external Qt4PasLib name 'QPainter_fillRect12'; procedure QPainter_eraseRect(handle: QPainterH; AnonParam1: QRectFH); cdecl; external Qt4PasLib name 'QPainter_eraseRect'; procedure QPainter_eraseRect(handle: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QPainter_eraseRect2'; procedure QPainter_eraseRect(handle: QPainterH; AnonParam1: PRect); cdecl; external Qt4PasLib name 'QPainter_eraseRect3'; procedure QPainter_setRenderHint(handle: QPainterH; hint: QPainterRenderHint; _on: Boolean = True); cdecl; external Qt4PasLib name 'QPainter_setRenderHint'; procedure QPainter_setRenderHints(handle: QPainterH; hints: QPainterRenderHints; _on: Boolean = True); cdecl; external Qt4PasLib name 'QPainter_setRenderHints'; function QPainter_renderHints(handle: QPainterH): QPainterRenderHints; cdecl; external Qt4PasLib name 'QPainter_renderHints'; function QPainter_testRenderHint(handle: QPainterH; hint: QPainterRenderHint): Boolean; cdecl; external Qt4PasLib name 'QPainter_testRenderHint'; function QPainter_paintEngine(handle: QPainterH): QPaintEngineH; cdecl; external Qt4PasLib name 'QPainter_paintEngine'; procedure QPainter_setRedirected(device: QPaintDeviceH; replacement: QPaintDeviceH; offset: PQtPoint = nil); cdecl; external Qt4PasLib name 'QPainter_setRedirected'; function QPainter_redirected(device: QPaintDeviceH; offset: PQtPoint = nil): QPaintDeviceH; cdecl; external Qt4PasLib name 'QPainter_redirected'; procedure QPainter_restoreRedirected(device: QPaintDeviceH); cdecl; external Qt4PasLib name 'QPainter_restoreRedirected'; type QPaintEnginePolygonDrawMode = ( // QPaintEngine::PolygonDrawMode (1) QPaintEngineOddEvenMode, QPaintEngineWindingMode, QPaintEngineConvexMode, QPaintEnginePolylineMode ); type QPaintEnginePaintEngineFeature = cardinal; // QPaintEngine::PaintEngineFeature QPaintEnginePaintEngineFeatures = QPaintEnginePaintEngineFeature; //QFlags<> (3) const QPaintEnginePrimitiveTransform = $00000001; QPaintEnginePatternTransform = $00000002; QPaintEnginePixmapTransform = $00000004; QPaintEnginePatternBrush = $00000008; QPaintEngineLinearGradientFill = $00000010; QPaintEngineRadialGradientFill = $00000020; QPaintEngineConicalGradientFill = $00000040; QPaintEngineAlphaBlend = $00000080; QPaintEnginePorterDuff = $00000100; QPaintEnginePainterPaths = $00000200; QPaintEngineAntialiasing = $00000400; QPaintEngineBrushStroke = $00000800; QPaintEngineConstantOpacity = $00001000; QPaintEngineMaskedBrush = $00002000; QPaintEnginePerspectiveTransform = $00004000; QPaintEngineBlendModes = $00008000; QPaintEngineObjectBoundingModeGradients = $00010000; QPaintEngineRasterOpModes = $00020000; QPaintEnginePaintOutsidePaintEvent = $20000000; QPaintEngineAllFeatures = $ffffffff; type QPaintEngineDirtyFlag = cardinal; // QPaintEngine::DirtyFlag QPaintEngineDirtyFlags = QPaintEngineDirtyFlag; //QFlags<> (3) const QPaintEngineDirtyPen = $0001; QPaintEngineDirtyBrush = $0002; QPaintEngineDirtyBrushOrigin = $0004; QPaintEngineDirtyFont = $0008; QPaintEngineDirtyBackground = $0010; QPaintEngineDirtyBackgroundMode = $0020; QPaintEngineDirtyTransform = $0040; QPaintEngineDirtyClipRegion = $0080; QPaintEngineDirtyClipPath = $0100; QPaintEngineDirtyHints = $0200; QPaintEngineDirtyCompositionMode = $0400; QPaintEngineDirtyClipEnabled = $0800; QPaintEngineDirtyOpacity = $1000; QPaintEngineAllDirty = $ffff; type QPaintEngineType = ( //QPaintEngine::Type (2) QPaintEngineX11, QPaintEngineWindows, QPaintEngineQuickDraw, QPaintEngineCoreGraphics, QPaintEngineMacPrinter, QPaintEngineQWindowSystem, QPaintEnginePostScript, QPaintEngineOpenGL, QPaintEnginePicture, QPaintEngineSVG, QPaintEngineRaster, QPaintEngineDirect3D, QPaintEnginePdf, QPaintEngineOpenVG, QPaintEngineUser = 50, QPaintEngineMaxUser = 100 ); function QPaintEngine_isActive(handle: QPaintEngineH): Boolean; cdecl; external Qt4PasLib name 'QPaintEngine_isActive'; procedure QPaintEngine_setActive(handle: QPaintEngineH; newState: Boolean); cdecl; external Qt4PasLib name 'QPaintEngine_setActive'; function QPaintEngine_begin(handle: QPaintEngineH; pdev: QPaintDeviceH): Boolean; cdecl; external Qt4PasLib name 'QPaintEngine_begin'; function QPaintEngine_end(handle: QPaintEngineH): Boolean; cdecl; external Qt4PasLib name 'QPaintEngine_end'; procedure QPaintEngine_drawRects(handle: QPaintEngineH; rects: PRect; rectCount: Integer); cdecl; external Qt4PasLib name 'QPaintEngine_drawRects'; procedure QPaintEngine_drawRects(handle: QPaintEngineH; rects: QRectFH; rectCount: Integer); cdecl; external Qt4PasLib name 'QPaintEngine_drawRects2'; procedure QPaintEngine_drawLines(handle: QPaintEngineH; lines: QLineH; lineCount: Integer); cdecl; external Qt4PasLib name 'QPaintEngine_drawLines'; procedure QPaintEngine_drawLines(handle: QPaintEngineH; lines: QLineFH; lineCount: Integer); cdecl; external Qt4PasLib name 'QPaintEngine_drawLines2'; procedure QPaintEngine_drawEllipse(handle: QPaintEngineH; r: QRectFH); cdecl; external Qt4PasLib name 'QPaintEngine_drawEllipse'; procedure QPaintEngine_drawEllipse(handle: QPaintEngineH; r: PRect); cdecl; external Qt4PasLib name 'QPaintEngine_drawEllipse2'; procedure QPaintEngine_drawPath(handle: QPaintEngineH; path: QPainterPathH); cdecl; external Qt4PasLib name 'QPaintEngine_drawPath'; procedure QPaintEngine_drawPoints(handle: QPaintEngineH; points: PQtPointF; pointCount: Integer); cdecl; external Qt4PasLib name 'QPaintEngine_drawPoints'; procedure QPaintEngine_drawPoints(handle: QPaintEngineH; points: PQtPoint; pointCount: Integer); cdecl; external Qt4PasLib name 'QPaintEngine_drawPoints2'; procedure QPaintEngine_drawPolygon(handle: QPaintEngineH; points: PQtPointF; pointCount: Integer; mode: QPaintEnginePolygonDrawMode); cdecl; external Qt4PasLib name 'QPaintEngine_drawPolygon'; procedure QPaintEngine_drawPolygon(handle: QPaintEngineH; points: PQtPoint; pointCount: Integer; mode: QPaintEnginePolygonDrawMode); cdecl; external Qt4PasLib name 'QPaintEngine_drawPolygon2'; procedure QPaintEngine_drawPixmap(handle: QPaintEngineH; r: QRectFH; pm: QPixmapH; sr: QRectFH); cdecl; external Qt4PasLib name 'QPaintEngine_drawPixmap'; procedure QPaintEngine_drawTiledPixmap(handle: QPaintEngineH; r: QRectFH; pixmap: QPixmapH; s: PQtPointF); cdecl; external Qt4PasLib name 'QPaintEngine_drawTiledPixmap'; procedure QPaintEngine_drawImage(handle: QPaintEngineH; r: QRectFH; pm: QImageH; sr: QRectFH; flags: QtImageConversionFlags = QtAutoColor); cdecl; external Qt4PasLib name 'QPaintEngine_drawImage'; procedure QPaintEngine_setPaintDevice(handle: QPaintEngineH; device: QPaintDeviceH); cdecl; external Qt4PasLib name 'QPaintEngine_setPaintDevice'; function QPaintEngine_paintDevice(handle: QPaintEngineH): QPaintDeviceH; cdecl; external Qt4PasLib name 'QPaintEngine_paintDevice'; procedure QPaintEngine_setSystemClip(handle: QPaintEngineH; baseClip: QRegionH); cdecl; external Qt4PasLib name 'QPaintEngine_setSystemClip'; procedure QPaintEngine_systemClip(handle: QPaintEngineH; retval: QRegionH); cdecl; external Qt4PasLib name 'QPaintEngine_systemClip'; procedure QPaintEngine_setSystemRect(handle: QPaintEngineH; rect: PRect); cdecl; external Qt4PasLib name 'QPaintEngine_setSystemRect'; procedure QPaintEngine_systemRect(handle: QPaintEngineH; retval: PRect); cdecl; external Qt4PasLib name 'QPaintEngine_systemRect'; procedure QPaintEngine_coordinateOffset(handle: QPaintEngineH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QPaintEngine_coordinateOffset'; function QPaintEngine_type(handle: QPaintEngineH): QPaintEngineType; cdecl; external Qt4PasLib name 'QPaintEngine_type'; procedure QPaintEngine_fix_neg_rect(handle: QPaintEngineH; x: PInteger; y: PInteger; w: PInteger; h: PInteger); cdecl; external Qt4PasLib name 'QPaintEngine_fix_neg_rect'; function QPaintEngine_testDirty(handle: QPaintEngineH; df: QPaintEngineDirtyFlags): Boolean; cdecl; external Qt4PasLib name 'QPaintEngine_testDirty'; procedure QPaintEngine_setDirty(handle: QPaintEngineH; df: QPaintEngineDirtyFlags); cdecl; external Qt4PasLib name 'QPaintEngine_setDirty'; procedure QPaintEngine_clearDirty(handle: QPaintEngineH; df: QPaintEngineDirtyFlags); cdecl; external Qt4PasLib name 'QPaintEngine_clearDirty'; function QPaintEngine_hasFeature(handle: QPaintEngineH; feature: QPaintEnginePaintEngineFeatures): Boolean; cdecl; external Qt4PasLib name 'QPaintEngine_hasFeature'; function QPaintEngine_painter(handle: QPaintEngineH): QPainterH; cdecl; external Qt4PasLib name 'QPaintEngine_painter'; procedure QPaintEngine_syncState(handle: QPaintEngineH); cdecl; external Qt4PasLib name 'QPaintEngine_syncState'; function QPaintEngine_isExtended(handle: QPaintEngineH): Boolean; cdecl; external Qt4PasLib name 'QPaintEngine_isExtended'; {$ifdef MSWINDOWS } function QPaintEngine_getDC(handle: QPaintEngineH): QHDC; cdecl; external Qt4PasLib name 'QPaintEngine_getDC'; procedure QPaintEngine_releaseDC(handle: QPaintEngineH; hdc: QHDC); cdecl; external Qt4PasLib name 'QPaintEngine_releaseDC'; {$endif} type QPaintDevicePaintDeviceMetric = ( //QPaintDevice::PaintDeviceMetric (2) QPaintDevicePdmWidth = 1, QPaintDevicePdmHeight, QPaintDevicePdmWidthMM, QPaintDevicePdmHeightMM, QPaintDevicePdmNumColors, QPaintDevicePdmDepth, QPaintDevicePdmDpiX, QPaintDevicePdmDpiY, QPaintDevicePdmPhysicalDpiX, QPaintDevicePdmPhysicalDpiY ); function QPaintDevice_devType(handle: QPaintDeviceH): Integer; cdecl; external Qt4PasLib name 'QPaintDevice_devType'; function QPaintDevice_paintingActive(handle: QPaintDeviceH): Boolean; cdecl; external Qt4PasLib name 'QPaintDevice_paintingActive'; function QPaintDevice_paintEngine(handle: QPaintDeviceH): QPaintEngineH; cdecl; external Qt4PasLib name 'QPaintDevice_paintEngine'; function QPaintDevice_width(handle: QPaintDeviceH): Integer; cdecl; external Qt4PasLib name 'QPaintDevice_width'; function QPaintDevice_height(handle: QPaintDeviceH): Integer; cdecl; external Qt4PasLib name 'QPaintDevice_height'; function QPaintDevice_widthMM(handle: QPaintDeviceH): Integer; cdecl; external Qt4PasLib name 'QPaintDevice_widthMM'; function QPaintDevice_heightMM(handle: QPaintDeviceH): Integer; cdecl; external Qt4PasLib name 'QPaintDevice_heightMM'; function QPaintDevice_logicalDpiX(handle: QPaintDeviceH): Integer; cdecl; external Qt4PasLib name 'QPaintDevice_logicalDpiX'; function QPaintDevice_logicalDpiY(handle: QPaintDeviceH): Integer; cdecl; external Qt4PasLib name 'QPaintDevice_logicalDpiY'; function QPaintDevice_physicalDpiX(handle: QPaintDeviceH): Integer; cdecl; external Qt4PasLib name 'QPaintDevice_physicalDpiX'; function QPaintDevice_physicalDpiY(handle: QPaintDeviceH): Integer; cdecl; external Qt4PasLib name 'QPaintDevice_physicalDpiY'; function QPaintDevice_numColors(handle: QPaintDeviceH): Integer; cdecl; external Qt4PasLib name 'QPaintDevice_numColors'; function QPaintDevice_depth(handle: QPaintDeviceH): Integer; cdecl; external Qt4PasLib name 'QPaintDevice_depth'; {$ifdef MSWINDOWS } function QPaintDevice_getDC(handle: QPaintDeviceH): QHDC; cdecl; external Qt4PasLib name 'QPaintDevice_getDC'; procedure QPaintDevice_releaseDC(handle: QPaintDeviceH; hdc: QHDC); cdecl; external Qt4PasLib name 'QPaintDevice_releaseDC'; {$endif} type QRegionRegionType = ( // QRegion::RegionType (1) QRegionRectangle, QRegionEllipse ); function QRegion_create(): QRegionH; cdecl; external Qt4PasLib name 'QRegion_create'; procedure QRegion_destroy(handle: QRegionH); cdecl; external Qt4PasLib name 'QRegion_destroy'; function QRegion_create(x: Integer; y: Integer; w: Integer; h: Integer; t: QRegionRegionType = QRegionRectangle): QRegionH; cdecl; external Qt4PasLib name 'QRegion_create2'; function QRegion_create(r: PRect; t: QRegionRegionType = QRegionRectangle): QRegionH; cdecl; external Qt4PasLib name 'QRegion_create3'; function QRegion_create(pa: QPolygonH; fillRule: QtFillRule = QtOddEvenFill): QRegionH; cdecl; external Qt4PasLib name 'QRegion_create4'; function QRegion_create(region: QRegionH): QRegionH; cdecl; external Qt4PasLib name 'QRegion_create5'; function QRegion_create(bitmap: QBitmapH): QRegionH; cdecl; external Qt4PasLib name 'QRegion_create6'; function QRegion_isEmpty(handle: QRegionH): Boolean; cdecl; external Qt4PasLib name 'QRegion_isEmpty'; function QRegion_contains(handle: QRegionH; p: PQtPoint): Boolean; cdecl; external Qt4PasLib name 'QRegion_contains'; function QRegion_contains(handle: QRegionH; r: PRect): Boolean; cdecl; external Qt4PasLib name 'QRegion_contains2'; procedure QRegion_translate(handle: QRegionH; dx: Integer; dy: Integer); cdecl; external Qt4PasLib name 'QRegion_translate'; procedure QRegion_translate(handle: QRegionH; p: PQtPoint); cdecl; external Qt4PasLib name 'QRegion_translate2'; procedure QRegion_translated(handle: QRegionH; retval: QRegionH; dx: Integer; dy: Integer); cdecl; external Qt4PasLib name 'QRegion_translated'; procedure QRegion_translated(handle: QRegionH; retval: QRegionH; p: PQtPoint); cdecl; external Qt4PasLib name 'QRegion_translated2'; procedure QRegion_unite(handle: QRegionH; retval: QRegionH; r: QRegionH); cdecl; external Qt4PasLib name 'QRegion_unite'; procedure QRegion_unite(handle: QRegionH; retval: QRegionH; r: PRect); cdecl; external Qt4PasLib name 'QRegion_unite2'; procedure QRegion_intersect(handle: QRegionH; retval: QRegionH; r: QRegionH); cdecl; external Qt4PasLib name 'QRegion_intersect'; procedure QRegion_intersect(handle: QRegionH; retval: QRegionH; r: PRect); cdecl; external Qt4PasLib name 'QRegion_intersect2'; procedure QRegion_subtract(handle: QRegionH; retval: QRegionH; r: QRegionH); cdecl; external Qt4PasLib name 'QRegion_subtract'; procedure QRegion_eor(handle: QRegionH; retval: QRegionH; r: QRegionH); cdecl; external Qt4PasLib name 'QRegion_eor'; procedure QRegion_united(handle: QRegionH; retval: QRegionH; r: QRegionH); cdecl; external Qt4PasLib name 'QRegion_united'; procedure QRegion_united(handle: QRegionH; retval: QRegionH; r: PRect); cdecl; external Qt4PasLib name 'QRegion_united2'; procedure QRegion_intersected(handle: QRegionH; retval: QRegionH; r: QRegionH); cdecl; external Qt4PasLib name 'QRegion_intersected'; procedure QRegion_intersected(handle: QRegionH; retval: QRegionH; r: PRect); cdecl; external Qt4PasLib name 'QRegion_intersected2'; procedure QRegion_subtracted(handle: QRegionH; retval: QRegionH; r: QRegionH); cdecl; external Qt4PasLib name 'QRegion_subtracted'; procedure QRegion_xored(handle: QRegionH; retval: QRegionH; r: QRegionH); cdecl; external Qt4PasLib name 'QRegion_xored'; function QRegion_intersects(handle: QRegionH; r: QRegionH): Boolean; cdecl; external Qt4PasLib name 'QRegion_intersects'; function QRegion_intersects(handle: QRegionH; r: PRect): Boolean; cdecl; external Qt4PasLib name 'QRegion_intersects2'; procedure QRegion_boundingRect(handle: QRegionH; retval: PRect); cdecl; external Qt4PasLib name 'QRegion_boundingRect'; procedure QRegion_setRects(handle: QRegionH; rect: PRect; num: Integer); cdecl; external Qt4PasLib name 'QRegion_setRects'; function QRegion_numRects(handle: QRegionH): Integer; cdecl; external Qt4PasLib name 'QRegion_numRects'; {$ifdef BINUX } function QRegion_handle(handle: QRegionH): Region; cdecl; external Qt4PasLib name 'QRegion_handle'; {$endif} {$ifdef MSWINDOWS } function QRegion_handle(handle: QRegionH): QHRGN; cdecl; external Qt4PasLib name 'QRegion_handle2'; {$endif} {$ifdef DARWIN } function QRegion_handle(handle: QRegionH): RgnHandle; cdecl; external Qt4PasLib name 'QRegion_handle3'; function QRegion_handle(handle: QRegionH; AnonParam1: Boolean): RgnHandle; cdecl; external Qt4PasLib name 'QRegion_handle4'; function QRegion_toHIMutableShape(handle: QRegionH): Pointer; cdecl; external Qt4PasLib name 'QRegion_toHIMutableShape'; procedure QRegion_fromHIShapeRef(retval: QRegionH; shape: Pointer); cdecl; external Qt4PasLib name 'QRegion_fromHIShapeRef'; {$endif} {$ifdef QTOPIA } function QRegion_handle(handle: QRegionH): Pointer; cdecl; external Qt4PasLib name 'QRegion_handle5'; {$endif} type QPrinterPrinterMode = ( // QPrinter::PrinterMode (1) QPrinterScreenResolution, QPrinterPrinterResolution, QPrinterHighResolution ); QPrinterOrientation = ( // QPrinter::Orientation (1) QPrinterPortrait, QPrinterLandscape ); QPrinterPageOrder = ( // QPrinter::PageOrder (1) QPrinterFirstPageFirst, QPrinterLastPageFirst ); QPrinterColorMode = ( // QPrinter::ColorMode (1) QPrinterGrayScale, QPrinterColor ); QPrinterPaperSource = ( // QPrinter::PaperSource (1) QPrinterOnlyOne, QPrinterLower, QPrinterMiddle, QPrinterManual, QPrinterEnvelope, QPrinterEnvelopeManual, QPrinterAuto, QPrinterTractor, QPrinterSmallFormat, QPrinterLargeFormat, QPrinterLargeCapacity, QPrinterCassette, QPrinterFormSource, QPrinterMaxPageSource ); QPrinterPrinterState = ( // QPrinter::PrinterState (1) QPrinterIdle, QPrinterActive, QPrinterAborted, QPrinterError ); QPrinterOutputFormat = ( // QPrinter::OutputFormat (1) QPrinterNativeFormat, QPrinterPdfFormat, QPrinterPostScriptFormat ); QPrinterPrintRange = ( // QPrinter::PrintRange (1) QPrinterAllPages, QPrinterSelection, QPrinterPageRange ); QPrinterUnit = ( // QPrinter::Unit (1) QPrinterMillimeter, QPrinterPoint, QPrinterInch, QPrinterPica, QPrinterDidot, QPrinterCicero, QPrinterDevicePixel ); QPrinterDuplexMode = ( //QPrinter::DuplexMode (2) QPrinterDuplexNone = 0, QPrinterDuplexAuto, QPrinterDuplexLongSide, QPrinterDuplexShortSide ); type QPrinterPageSize = cardinal; // QPrinter::PageSize (4) const QPrinterA4 = 0 { $0 }; QPrinterB5 = 1 { $1 }; QPrinterLetter = 2 { $2 }; QPrinterLegal = 3 { $3 }; QPrinterExecutive = 4 { $4 }; QPrinterA0 = 5 { $5 }; QPrinterA1 = 6 { $6 }; QPrinterA2 = 7 { $7 }; QPrinterA3 = 8 { $8 }; QPrinterA5 = 9 { $9 }; QPrinterA6 = 10 { $a }; QPrinterA7 = 11 { $b }; QPrinterA8 = 12 { $c }; QPrinterA9 = 13 { $d }; QPrinterB0 = 14 { $e }; QPrinterB1 = 15 { $f }; QPrinterB10 = 16 { $10 }; QPrinterB2 = 17 { $11 }; QPrinterB3 = 18 { $12 }; QPrinterB4 = 19 { $13 }; QPrinterB6 = 20 { $14 }; QPrinterB7 = 21 { $15 }; QPrinterB8 = 22 { $16 }; QPrinterB9 = 23 { $17 }; QPrinterC5E = 24 { $18 }; QPrinterComm10E = 25 { $19 }; QPrinterDLE = 26 { $1a }; QPrinterFolio = 27 { $1b }; QPrinterLedger = 28 { $1c }; QPrinterTabloid = 29 { $1d }; QPrinterCustom = 30 { $1e }; QPrinterNPageSize = 30 { $1e }; QPrinterNPaperSize = 30 { $1e }; function QPrinter_create(mode: QPrinterPrinterMode = QPrinterScreenResolution): QPrinterH; cdecl; external Qt4PasLib name 'QPrinter_create'; procedure QPrinter_destroy(handle: QPrinterH); cdecl; external Qt4PasLib name 'QPrinter_destroy'; function QPrinter_create(printer: QPrinterInfoH; mode: QPrinterPrinterMode = QPrinterScreenResolution): QPrinterH; cdecl; external Qt4PasLib name 'QPrinter_create2'; function QPrinter_devType(handle: QPrinterH): Integer; cdecl; external Qt4PasLib name 'QPrinter_devType'; procedure QPrinter_setOutputFormat(handle: QPrinterH; format: QPrinterOutputFormat); cdecl; external Qt4PasLib name 'QPrinter_setOutputFormat'; function QPrinter_outputFormat(handle: QPrinterH): QPrinterOutputFormat; cdecl; external Qt4PasLib name 'QPrinter_outputFormat'; procedure QPrinter_setPrinterName(handle: QPrinterH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QPrinter_setPrinterName'; procedure QPrinter_printerName(handle: QPrinterH; retval: PWideString); cdecl; external Qt4PasLib name 'QPrinter_printerName'; function QPrinter_isValid(handle: QPrinterH): Boolean; cdecl; external Qt4PasLib name 'QPrinter_isValid'; procedure QPrinter_setOutputFileName(handle: QPrinterH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QPrinter_setOutputFileName'; procedure QPrinter_outputFileName(handle: QPrinterH; retval: PWideString); cdecl; external Qt4PasLib name 'QPrinter_outputFileName'; procedure QPrinter_setPrintProgram(handle: QPrinterH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QPrinter_setPrintProgram'; procedure QPrinter_printProgram(handle: QPrinterH; retval: PWideString); cdecl; external Qt4PasLib name 'QPrinter_printProgram'; procedure QPrinter_setDocName(handle: QPrinterH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QPrinter_setDocName'; procedure QPrinter_docName(handle: QPrinterH; retval: PWideString); cdecl; external Qt4PasLib name 'QPrinter_docName'; procedure QPrinter_setCreator(handle: QPrinterH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QPrinter_setCreator'; procedure QPrinter_creator(handle: QPrinterH; retval: PWideString); cdecl; external Qt4PasLib name 'QPrinter_creator'; procedure QPrinter_setOrientation(handle: QPrinterH; AnonParam1: QPrinterOrientation); cdecl; external Qt4PasLib name 'QPrinter_setOrientation'; function QPrinter_orientation(handle: QPrinterH): QPrinterOrientation; cdecl; external Qt4PasLib name 'QPrinter_orientation'; procedure QPrinter_setPageSize(handle: QPrinterH; AnonParam1: QPrinterPageSize); cdecl; external Qt4PasLib name 'QPrinter_setPageSize'; function QPrinter_pageSize(handle: QPrinterH): QPrinterPageSize; cdecl; external Qt4PasLib name 'QPrinter_pageSize'; procedure QPrinter_setPaperSize(handle: QPrinterH; AnonParam1: QPrinterPageSize); cdecl; external Qt4PasLib name 'QPrinter_setPaperSize'; function QPrinter_paperSize(handle: QPrinterH): QPrinterPageSize; cdecl; external Qt4PasLib name 'QPrinter_paperSize'; procedure QPrinter_setPaperSize(handle: QPrinterH; paperSize: QSizeFH; _unit: QPrinterUnit); cdecl; external Qt4PasLib name 'QPrinter_setPaperSize2'; procedure QPrinter_paperSize(handle: QPrinterH; retval: QSizeFH; _unit: QPrinterUnit); cdecl; external Qt4PasLib name 'QPrinter_paperSize2'; procedure QPrinter_setPageOrder(handle: QPrinterH; AnonParam1: QPrinterPageOrder); cdecl; external Qt4PasLib name 'QPrinter_setPageOrder'; function QPrinter_pageOrder(handle: QPrinterH): QPrinterPageOrder; cdecl; external Qt4PasLib name 'QPrinter_pageOrder'; procedure QPrinter_setResolution(handle: QPrinterH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QPrinter_setResolution'; function QPrinter_resolution(handle: QPrinterH): Integer; cdecl; external Qt4PasLib name 'QPrinter_resolution'; procedure QPrinter_setColorMode(handle: QPrinterH; AnonParam1: QPrinterColorMode); cdecl; external Qt4PasLib name 'QPrinter_setColorMode'; function QPrinter_colorMode(handle: QPrinterH): QPrinterColorMode; cdecl; external Qt4PasLib name 'QPrinter_colorMode'; procedure QPrinter_setCollateCopies(handle: QPrinterH; collate: Boolean); cdecl; external Qt4PasLib name 'QPrinter_setCollateCopies'; function QPrinter_collateCopies(handle: QPrinterH): Boolean; cdecl; external Qt4PasLib name 'QPrinter_collateCopies'; procedure QPrinter_setFullPage(handle: QPrinterH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QPrinter_setFullPage'; function QPrinter_fullPage(handle: QPrinterH): Boolean; cdecl; external Qt4PasLib name 'QPrinter_fullPage'; procedure QPrinter_setNumCopies(handle: QPrinterH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QPrinter_setNumCopies'; function QPrinter_numCopies(handle: QPrinterH): Integer; cdecl; external Qt4PasLib name 'QPrinter_numCopies'; procedure QPrinter_setPaperSource(handle: QPrinterH; AnonParam1: QPrinterPaperSource); cdecl; external Qt4PasLib name 'QPrinter_setPaperSource'; function QPrinter_paperSource(handle: QPrinterH): QPrinterPaperSource; cdecl; external Qt4PasLib name 'QPrinter_paperSource'; procedure QPrinter_setDuplex(handle: QPrinterH; duplex: QPrinterDuplexMode); cdecl; external Qt4PasLib name 'QPrinter_setDuplex'; function QPrinter_duplex(handle: QPrinterH): QPrinterDuplexMode; cdecl; external Qt4PasLib name 'QPrinter_duplex'; procedure QPrinter_supportedResolutions(handle: QPrinterH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QPrinter_supportedResolutions'; procedure QPrinter_setFontEmbeddingEnabled(handle: QPrinterH; enable: Boolean); cdecl; external Qt4PasLib name 'QPrinter_setFontEmbeddingEnabled'; function QPrinter_fontEmbeddingEnabled(handle: QPrinterH): Boolean; cdecl; external Qt4PasLib name 'QPrinter_fontEmbeddingEnabled'; procedure QPrinter_setDoubleSidedPrinting(handle: QPrinterH; enable: Boolean); cdecl; external Qt4PasLib name 'QPrinter_setDoubleSidedPrinting'; function QPrinter_doubleSidedPrinting(handle: QPrinterH): Boolean; cdecl; external Qt4PasLib name 'QPrinter_doubleSidedPrinting'; procedure QPrinter_paperRect(handle: QPrinterH; retval: PRect); cdecl; external Qt4PasLib name 'QPrinter_paperRect'; procedure QPrinter_pageRect(handle: QPrinterH; retval: PRect); cdecl; external Qt4PasLib name 'QPrinter_pageRect'; procedure QPrinter_paperRect(handle: QPrinterH; retval: QRectFH; AnonParam1: QPrinterUnit); cdecl; external Qt4PasLib name 'QPrinter_paperRect2'; procedure QPrinter_pageRect(handle: QPrinterH; retval: QRectFH; AnonParam1: QPrinterUnit); cdecl; external Qt4PasLib name 'QPrinter_pageRect2'; {$ifdef BINUX or DARWIN or QTOPIA } procedure QPrinter_printerSelectionOption(handle: QPrinterH; retval: PWideString); cdecl; external Qt4PasLib name 'QPrinter_printerSelectionOption'; procedure QPrinter_setPrinterSelectionOption(handle: QPrinterH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QPrinter_setPrinterSelectionOption'; {$endif} function QPrinter_newPage(handle: QPrinterH): Boolean; cdecl; external Qt4PasLib name 'QPrinter_newPage'; function QPrinter_abort(handle: QPrinterH): Boolean; cdecl; external Qt4PasLib name 'QPrinter_abort'; function QPrinter_printerState(handle: QPrinterH): QPrinterPrinterState; cdecl; external Qt4PasLib name 'QPrinter_printerState'; function QPrinter_paintEngine(handle: QPrinterH): QPaintEngineH; cdecl; external Qt4PasLib name 'QPrinter_paintEngine'; function QPrinter_printEngine(handle: QPrinterH): QPrintEngineH; cdecl; external Qt4PasLib name 'QPrinter_printEngine'; procedure QPrinter_setFromTo(handle: QPrinterH; fromPage: Integer; toPage: Integer); cdecl; external Qt4PasLib name 'QPrinter_setFromTo'; function QPrinter_fromPage(handle: QPrinterH): Integer; cdecl; external Qt4PasLib name 'QPrinter_fromPage'; function QPrinter_toPage(handle: QPrinterH): Integer; cdecl; external Qt4PasLib name 'QPrinter_toPage'; procedure QPrinter_setPrintRange(handle: QPrinterH; range: QPrinterPrintRange); cdecl; external Qt4PasLib name 'QPrinter_setPrintRange'; function QPrinter_printRange(handle: QPrinterH): QPrinterPrintRange; cdecl; external Qt4PasLib name 'QPrinter_printRange'; procedure QPrinter_setPageMargins(handle: QPrinterH; left: qreal; top: qreal; right: qreal; bottom: qreal; _unit: QPrinterUnit); cdecl; external Qt4PasLib name 'QPrinter_setPageMargins'; procedure QPrinter_getPageMargins(handle: QPrinterH; left: PQReal; top: PQReal; right: PQReal; bottom: PQReal; _unit: QPrinterUnit); cdecl; external Qt4PasLib name 'QPrinter_getPageMargins'; {$ifdef MSWINDOWS } procedure QPrinter_setWinPageSize(handle: QPrinterH; winPageSize: Integer); cdecl; external Qt4PasLib name 'QPrinter_setWinPageSize'; function QPrinter_winPageSize(handle: QPrinterH): Integer; cdecl; external Qt4PasLib name 'QPrinter_winPageSize'; function QPrinter_getDC(handle: QPrinterH): QHDC; cdecl; external Qt4PasLib name 'QPrinter_getDC'; procedure QPrinter_releaseDC(handle: QPrinterH; hdc: QHDC); cdecl; external Qt4PasLib name 'QPrinter_releaseDC'; {$endif} type QPainterPathElementType = ( // QPainterPath::ElementType (1) QPainterPathMoveToElement, QPainterPathLineToElement, QPainterPathCurveToElement, QPainterPathCurveToDataElement ); function QPainterPath_create(): QPainterPathH; cdecl; external Qt4PasLib name 'QPainterPath_create'; procedure QPainterPath_destroy(handle: QPainterPathH); cdecl; external Qt4PasLib name 'QPainterPath_destroy'; function QPainterPath_create(startPoint: PQtPointF): QPainterPathH; cdecl; external Qt4PasLib name 'QPainterPath_create2'; function QPainterPath_create(other: QPainterPathH): QPainterPathH; cdecl; external Qt4PasLib name 'QPainterPath_create3'; procedure QPainterPath_closeSubpath(handle: QPainterPathH); cdecl; external Qt4PasLib name 'QPainterPath_closeSubpath'; procedure QPainterPath_moveTo(handle: QPainterPathH; p: PQtPointF); cdecl; external Qt4PasLib name 'QPainterPath_moveTo'; procedure QPainterPath_moveTo(handle: QPainterPathH; x: qreal; y: qreal); cdecl; external Qt4PasLib name 'QPainterPath_moveTo2'; procedure QPainterPath_lineTo(handle: QPainterPathH; p: PQtPointF); cdecl; external Qt4PasLib name 'QPainterPath_lineTo'; procedure QPainterPath_lineTo(handle: QPainterPathH; x: qreal; y: qreal); cdecl; external Qt4PasLib name 'QPainterPath_lineTo2'; procedure QPainterPath_arcMoveTo(handle: QPainterPathH; rect: QRectFH; angle: qreal); cdecl; external Qt4PasLib name 'QPainterPath_arcMoveTo'; procedure QPainterPath_arcMoveTo(handle: QPainterPathH; x: qreal; y: qreal; w: qreal; h: qreal; angle: qreal); cdecl; external Qt4PasLib name 'QPainterPath_arcMoveTo2'; procedure QPainterPath_arcTo(handle: QPainterPathH; rect: QRectFH; startAngle: qreal; arcLength: qreal); cdecl; external Qt4PasLib name 'QPainterPath_arcTo'; procedure QPainterPath_arcTo(handle: QPainterPathH; x: qreal; y: qreal; w: qreal; h: qreal; startAngle: qreal; arcLength: qreal); cdecl; external Qt4PasLib name 'QPainterPath_arcTo2'; procedure QPainterPath_cubicTo(handle: QPainterPathH; ctrlPt1: PQtPointF; ctrlPt2: PQtPointF; endPt: PQtPointF); cdecl; external Qt4PasLib name 'QPainterPath_cubicTo'; procedure QPainterPath_cubicTo(handle: QPainterPathH; ctrlPt1x: qreal; ctrlPt1y: qreal; ctrlPt2x: qreal; ctrlPt2y: qreal; endPtx: qreal; endPty: qreal); cdecl; external Qt4PasLib name 'QPainterPath_cubicTo2'; procedure QPainterPath_quadTo(handle: QPainterPathH; ctrlPt: PQtPointF; endPt: PQtPointF); cdecl; external Qt4PasLib name 'QPainterPath_quadTo'; procedure QPainterPath_quadTo(handle: QPainterPathH; ctrlPtx: qreal; ctrlPty: qreal; endPtx: qreal; endPty: qreal); cdecl; external Qt4PasLib name 'QPainterPath_quadTo2'; procedure QPainterPath_currentPosition(handle: QPainterPathH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QPainterPath_currentPosition'; procedure QPainterPath_addRect(handle: QPainterPathH; rect: QRectFH); cdecl; external Qt4PasLib name 'QPainterPath_addRect'; procedure QPainterPath_addRect(handle: QPainterPathH; x: qreal; y: qreal; w: qreal; h: qreal); cdecl; external Qt4PasLib name 'QPainterPath_addRect2'; procedure QPainterPath_addEllipse(handle: QPainterPathH; rect: QRectFH); cdecl; external Qt4PasLib name 'QPainterPath_addEllipse'; procedure QPainterPath_addEllipse(handle: QPainterPathH; x: qreal; y: qreal; w: qreal; h: qreal); cdecl; external Qt4PasLib name 'QPainterPath_addEllipse2'; procedure QPainterPath_addEllipse(handle: QPainterPathH; center: PQtPointF; rx: qreal; ry: qreal); cdecl; external Qt4PasLib name 'QPainterPath_addEllipse3'; procedure QPainterPath_addPolygon(handle: QPainterPathH; polygon: QPolygonFH); cdecl; external Qt4PasLib name 'QPainterPath_addPolygon'; procedure QPainterPath_addText(handle: QPainterPathH; point: PQtPointF; f: QFontH; text: PWideString); cdecl; external Qt4PasLib name 'QPainterPath_addText'; procedure QPainterPath_addText(handle: QPainterPathH; x: qreal; y: qreal; f: QFontH; text: PWideString); cdecl; external Qt4PasLib name 'QPainterPath_addText2'; procedure QPainterPath_addPath(handle: QPainterPathH; path: QPainterPathH); cdecl; external Qt4PasLib name 'QPainterPath_addPath'; procedure QPainterPath_addRegion(handle: QPainterPathH; region: QRegionH); cdecl; external Qt4PasLib name 'QPainterPath_addRegion'; procedure QPainterPath_addRoundedRect(handle: QPainterPathH; rect: QRectFH; xRadius: qreal; yRadius: qreal; mode: QtSizeMode = QtAbsoluteSize); cdecl; external Qt4PasLib name 'QPainterPath_addRoundedRect'; procedure QPainterPath_addRoundedRect(handle: QPainterPathH; x: qreal; y: qreal; w: qreal; h: qreal; xRadius: qreal; yRadius: qreal; mode: QtSizeMode = QtAbsoluteSize); cdecl; external Qt4PasLib name 'QPainterPath_addRoundedRect2'; procedure QPainterPath_addRoundRect(handle: QPainterPathH; rect: QRectFH; xRnd: Integer; yRnd: Integer); cdecl; external Qt4PasLib name 'QPainterPath_addRoundRect'; procedure QPainterPath_addRoundRect(handle: QPainterPathH; x: qreal; y: qreal; w: qreal; h: qreal; xRnd: Integer; yRnd: Integer); cdecl; external Qt4PasLib name 'QPainterPath_addRoundRect2'; procedure QPainterPath_addRoundRect(handle: QPainterPathH; rect: QRectFH; roundness: Integer); cdecl; external Qt4PasLib name 'QPainterPath_addRoundRect3'; procedure QPainterPath_addRoundRect(handle: QPainterPathH; x: qreal; y: qreal; w: qreal; h: qreal; roundness: Integer); cdecl; external Qt4PasLib name 'QPainterPath_addRoundRect4'; procedure QPainterPath_connectPath(handle: QPainterPathH; path: QPainterPathH); cdecl; external Qt4PasLib name 'QPainterPath_connectPath'; function QPainterPath_contains(handle: QPainterPathH; pt: PQtPointF): Boolean; cdecl; external Qt4PasLib name 'QPainterPath_contains'; function QPainterPath_contains(handle: QPainterPathH; rect: QRectFH): Boolean; cdecl; external Qt4PasLib name 'QPainterPath_contains2'; function QPainterPath_intersects(handle: QPainterPathH; rect: QRectFH): Boolean; cdecl; external Qt4PasLib name 'QPainterPath_intersects'; procedure QPainterPath_boundingRect(handle: QPainterPathH; retval: QRectFH); cdecl; external Qt4PasLib name 'QPainterPath_boundingRect'; procedure QPainterPath_controlPointRect(handle: QPainterPathH; retval: QRectFH); cdecl; external Qt4PasLib name 'QPainterPath_controlPointRect'; function QPainterPath_fillRule(handle: QPainterPathH): QtFillRule; cdecl; external Qt4PasLib name 'QPainterPath_fillRule'; procedure QPainterPath_setFillRule(handle: QPainterPathH; fillRule: QtFillRule); cdecl; external Qt4PasLib name 'QPainterPath_setFillRule'; function QPainterPath_isEmpty(handle: QPainterPathH): Boolean; cdecl; external Qt4PasLib name 'QPainterPath_isEmpty'; procedure QPainterPath_toReversed(handle: QPainterPathH; retval: QPainterPathH); cdecl; external Qt4PasLib name 'QPainterPath_toReversed'; procedure QPainterPath_toFillPolygon(handle: QPainterPathH; retval: QPolygonFH; matrix: QMatrixH = nil); cdecl; external Qt4PasLib name 'QPainterPath_toFillPolygon'; procedure QPainterPath_toFillPolygon(handle: QPainterPathH; retval: QPolygonFH; matrix: QTransformH); cdecl; external Qt4PasLib name 'QPainterPath_toFillPolygon2'; function QPainterPath_elementCount(handle: QPainterPathH): Integer; cdecl; external Qt4PasLib name 'QPainterPath_elementCount'; function QPainterPath_elementAt(handle: QPainterPathH; i: Integer): QPainterPathElementH; cdecl; external Qt4PasLib name 'QPainterPath_elementAt'; procedure QPainterPath_setElementPositionAt(handle: QPainterPathH; i: Integer; x: qreal; y: qreal); cdecl; external Qt4PasLib name 'QPainterPath_setElementPositionAt'; function QPainterPath_length(handle: QPainterPathH): qreal; cdecl; external Qt4PasLib name 'QPainterPath_length'; function QPainterPath_percentAtLength(handle: QPainterPathH; t: qreal): qreal; cdecl; external Qt4PasLib name 'QPainterPath_percentAtLength'; procedure QPainterPath_pointAtPercent(handle: QPainterPathH; retval: PQtPointF; t: qreal); cdecl; external Qt4PasLib name 'QPainterPath_pointAtPercent'; function QPainterPath_angleAtPercent(handle: QPainterPathH; t: qreal): qreal; cdecl; external Qt4PasLib name 'QPainterPath_angleAtPercent'; function QPainterPath_slopeAtPercent(handle: QPainterPathH; t: qreal): qreal; cdecl; external Qt4PasLib name 'QPainterPath_slopeAtPercent'; function QPainterPath_intersects(handle: QPainterPathH; p: QPainterPathH): Boolean; cdecl; external Qt4PasLib name 'QPainterPath_intersects2'; function QPainterPath_contains(handle: QPainterPathH; p: QPainterPathH): Boolean; cdecl; external Qt4PasLib name 'QPainterPath_contains3'; procedure QPainterPath_united(handle: QPainterPathH; retval: QPainterPathH; r: QPainterPathH); cdecl; external Qt4PasLib name 'QPainterPath_united'; procedure QPainterPath_intersected(handle: QPainterPathH; retval: QPainterPathH; r: QPainterPathH); cdecl; external Qt4PasLib name 'QPainterPath_intersected'; procedure QPainterPath_subtracted(handle: QPainterPathH; retval: QPainterPathH; r: QPainterPathH); cdecl; external Qt4PasLib name 'QPainterPath_subtracted'; procedure QPainterPath_subtractedInverted(handle: QPainterPathH; retval: QPainterPathH; r: QPainterPathH); cdecl; external Qt4PasLib name 'QPainterPath_subtractedInverted'; procedure QPainterPath_simplified(handle: QPainterPathH; retval: QPainterPathH); cdecl; external Qt4PasLib name 'QPainterPath_simplified'; function QPainterPathStroker_create(): QPainterPathStrokerH; cdecl; external Qt4PasLib name 'QPainterPathStroker_create'; procedure QPainterPathStroker_destroy(handle: QPainterPathStrokerH); cdecl; external Qt4PasLib name 'QPainterPathStroker_destroy'; procedure QPainterPathStroker_setWidth(handle: QPainterPathStrokerH; width: qreal); cdecl; external Qt4PasLib name 'QPainterPathStroker_setWidth'; function QPainterPathStroker_width(handle: QPainterPathStrokerH): qreal; cdecl; external Qt4PasLib name 'QPainterPathStroker_width'; procedure QPainterPathStroker_setCapStyle(handle: QPainterPathStrokerH; style: QtPenCapStyle); cdecl; external Qt4PasLib name 'QPainterPathStroker_setCapStyle'; function QPainterPathStroker_capStyle(handle: QPainterPathStrokerH): QtPenCapStyle; cdecl; external Qt4PasLib name 'QPainterPathStroker_capStyle'; procedure QPainterPathStroker_setJoinStyle(handle: QPainterPathStrokerH; style: QtPenJoinStyle); cdecl; external Qt4PasLib name 'QPainterPathStroker_setJoinStyle'; function QPainterPathStroker_joinStyle(handle: QPainterPathStrokerH): QtPenJoinStyle; cdecl; external Qt4PasLib name 'QPainterPathStroker_joinStyle'; procedure QPainterPathStroker_setMiterLimit(handle: QPainterPathStrokerH; length: qreal); cdecl; external Qt4PasLib name 'QPainterPathStroker_setMiterLimit'; function QPainterPathStroker_miterLimit(handle: QPainterPathStrokerH): qreal; cdecl; external Qt4PasLib name 'QPainterPathStroker_miterLimit'; procedure QPainterPathStroker_setCurveThreshold(handle: QPainterPathStrokerH; threshold: qreal); cdecl; external Qt4PasLib name 'QPainterPathStroker_setCurveThreshold'; function QPainterPathStroker_curveThreshold(handle: QPainterPathStrokerH): qreal; cdecl; external Qt4PasLib name 'QPainterPathStroker_curveThreshold'; procedure QPainterPathStroker_setDashPattern(handle: QPainterPathStrokerH; AnonParam1: QtPenStyle); cdecl; external Qt4PasLib name 'QPainterPathStroker_setDashPattern'; procedure QPainterPathStroker_setDashPattern(handle: QPainterPathStrokerH; dashPattern: PQRealArray); cdecl; external Qt4PasLib name 'QPainterPathStroker_setDashPattern2'; procedure QPainterPathStroker_dashPattern(handle: QPainterPathStrokerH; retval: PQRealArray); cdecl; external Qt4PasLib name 'QPainterPathStroker_dashPattern'; procedure QPainterPathStroker_setDashOffset(handle: QPainterPathStrokerH; offset: qreal); cdecl; external Qt4PasLib name 'QPainterPathStroker_setDashOffset'; function QPainterPathStroker_dashOffset(handle: QPainterPathStrokerH): qreal; cdecl; external Qt4PasLib name 'QPainterPathStroker_dashOffset'; procedure QPainterPathStroker_createStroke(handle: QPainterPathStrokerH; retval: QPainterPathH; path: QPainterPathH); cdecl; external Qt4PasLib name 'QPainterPathStroker_createStroke'; type QTransformTransformationType = ( //QTransform::TransformationType (2) QTransformTxNone = $00, QTransformTxTranslate = $01, QTransformTxScale = $02, QTransformTxRotate = $04, QTransformTxShear = $08, QTransformTxProject = $10 ); function QTransform_create(): QTransformH; cdecl; external Qt4PasLib name 'QTransform_create'; procedure QTransform_destroy(handle: QTransformH); cdecl; external Qt4PasLib name 'QTransform_destroy'; function QTransform_create(h11: qreal; h12: qreal; h13: qreal; h21: qreal; h22: qreal; h23: qreal; h31: qreal; h32: qreal; h33: qreal = 1.0): QTransformH; cdecl; external Qt4PasLib name 'QTransform_create2'; function QTransform_create(h11: qreal; h12: qreal; h21: qreal; h22: qreal; dx: qreal; dy: qreal): QTransformH; cdecl; external Qt4PasLib name 'QTransform_create3'; function QTransform_create(mtx: QMatrixH): QTransformH; cdecl; external Qt4PasLib name 'QTransform_create4'; function QTransform_isAffine(handle: QTransformH): Boolean; cdecl; external Qt4PasLib name 'QTransform_isAffine'; function QTransform_isIdentity(handle: QTransformH): Boolean; cdecl; external Qt4PasLib name 'QTransform_isIdentity'; function QTransform_isInvertible(handle: QTransformH): Boolean; cdecl; external Qt4PasLib name 'QTransform_isInvertible'; function QTransform_isScaling(handle: QTransformH): Boolean; cdecl; external Qt4PasLib name 'QTransform_isScaling'; function QTransform_isRotating(handle: QTransformH): Boolean; cdecl; external Qt4PasLib name 'QTransform_isRotating'; function QTransform_isTranslating(handle: QTransformH): Boolean; cdecl; external Qt4PasLib name 'QTransform_isTranslating'; function QTransform_type(handle: QTransformH): QTransformTransformationType; cdecl; external Qt4PasLib name 'QTransform_type'; function QTransform_determinant(handle: QTransformH): qreal; cdecl; external Qt4PasLib name 'QTransform_determinant'; function QTransform_det(handle: QTransformH): qreal; cdecl; external Qt4PasLib name 'QTransform_det'; function QTransform_m11(handle: QTransformH): qreal; cdecl; external Qt4PasLib name 'QTransform_m11'; function QTransform_m12(handle: QTransformH): qreal; cdecl; external Qt4PasLib name 'QTransform_m12'; function QTransform_m13(handle: QTransformH): qreal; cdecl; external Qt4PasLib name 'QTransform_m13'; function QTransform_m21(handle: QTransformH): qreal; cdecl; external Qt4PasLib name 'QTransform_m21'; function QTransform_m22(handle: QTransformH): qreal; cdecl; external Qt4PasLib name 'QTransform_m22'; function QTransform_m23(handle: QTransformH): qreal; cdecl; external Qt4PasLib name 'QTransform_m23'; function QTransform_m31(handle: QTransformH): qreal; cdecl; external Qt4PasLib name 'QTransform_m31'; function QTransform_m32(handle: QTransformH): qreal; cdecl; external Qt4PasLib name 'QTransform_m32'; function QTransform_m33(handle: QTransformH): qreal; cdecl; external Qt4PasLib name 'QTransform_m33'; function QTransform_dx(handle: QTransformH): qreal; cdecl; external Qt4PasLib name 'QTransform_dx'; function QTransform_dy(handle: QTransformH): qreal; cdecl; external Qt4PasLib name 'QTransform_dy'; procedure QTransform_setMatrix(handle: QTransformH; m11: qreal; m12: qreal; m13: qreal; m21: qreal; m22: qreal; m23: qreal; m31: qreal; m32: qreal; m33: qreal); cdecl; external Qt4PasLib name 'QTransform_setMatrix'; procedure QTransform_inverted(handle: QTransformH; retval: QTransformH; invertible: PBoolean = nil); cdecl; external Qt4PasLib name 'QTransform_inverted'; procedure QTransform_adjoint(handle: QTransformH; retval: QTransformH); cdecl; external Qt4PasLib name 'QTransform_adjoint'; procedure QTransform_transposed(handle: QTransformH; retval: QTransformH); cdecl; external Qt4PasLib name 'QTransform_transposed'; function QTransform_translate(handle: QTransformH; dx: qreal; dy: qreal): QTransformH; cdecl; external Qt4PasLib name 'QTransform_translate'; function QTransform_scale(handle: QTransformH; sx: qreal; sy: qreal): QTransformH; cdecl; external Qt4PasLib name 'QTransform_scale'; function QTransform_shear(handle: QTransformH; sh: qreal; sv: qreal): QTransformH; cdecl; external Qt4PasLib name 'QTransform_shear'; function QTransform_rotate(handle: QTransformH; a: qreal; axis: QtAxis = QtZAxis): QTransformH; cdecl; external Qt4PasLib name 'QTransform_rotate'; function QTransform_rotateRadians(handle: QTransformH; a: qreal; axis: QtAxis = QtZAxis): QTransformH; cdecl; external Qt4PasLib name 'QTransform_rotateRadians'; function QTransform_squareToQuad(square: QPolygonFH; result: QTransformH): Boolean; cdecl; external Qt4PasLib name 'QTransform_squareToQuad'; function QTransform_quadToSquare(quad: QPolygonFH; result: QTransformH): Boolean; cdecl; external Qt4PasLib name 'QTransform_quadToSquare'; function QTransform_quadToQuad(one: QPolygonFH; two: QPolygonFH; result: QTransformH): Boolean; cdecl; external Qt4PasLib name 'QTransform_quadToQuad'; procedure QTransform_reset(handle: QTransformH); cdecl; external Qt4PasLib name 'QTransform_reset'; procedure QTransform_map(handle: QTransformH; retval: PQtPoint; p: PQtPoint); cdecl; external Qt4PasLib name 'QTransform_map'; procedure QTransform_map(handle: QTransformH; retval: PQtPointF; p: PQtPointF); cdecl; external Qt4PasLib name 'QTransform_map2'; procedure QTransform_map(handle: QTransformH; retval: QLineH; l: QLineH); cdecl; external Qt4PasLib name 'QTransform_map3'; procedure QTransform_map(handle: QTransformH; retval: QLineFH; l: QLineFH); cdecl; external Qt4PasLib name 'QTransform_map4'; procedure QTransform_map(handle: QTransformH; retval: QPolygonFH; a: QPolygonFH); cdecl; external Qt4PasLib name 'QTransform_map5'; procedure QTransform_map(handle: QTransformH; retval: QPolygonH; a: QPolygonH); cdecl; external Qt4PasLib name 'QTransform_map6'; procedure QTransform_map(handle: QTransformH; retval: QRegionH; r: QRegionH); cdecl; external Qt4PasLib name 'QTransform_map7'; procedure QTransform_map(handle: QTransformH; retval: QPainterPathH; p: QPainterPathH); cdecl; external Qt4PasLib name 'QTransform_map8'; procedure QTransform_mapToPolygon(handle: QTransformH; retval: QPolygonH; r: PRect); cdecl; external Qt4PasLib name 'QTransform_mapToPolygon'; procedure QTransform_mapRect(handle: QTransformH; retval: PRect; AnonParam1: PRect); cdecl; external Qt4PasLib name 'QTransform_mapRect'; procedure QTransform_mapRect(handle: QTransformH; retval: QRectFH; AnonParam1: QRectFH); cdecl; external Qt4PasLib name 'QTransform_mapRect2'; procedure QTransform_map(handle: QTransformH; x: Integer; y: Integer; tx: PInteger; ty: PInteger); cdecl; external Qt4PasLib name 'QTransform_map9'; procedure QTransform_map(handle: QTransformH; x: qreal; y: qreal; tx: PQReal; ty: PQReal); cdecl; external Qt4PasLib name 'QTransform_map10'; function QTransform_toAffine(handle: QTransformH): QMatrixH; cdecl; external Qt4PasLib name 'QTransform_toAffine'; procedure QTransform_fromTranslate(retval: QTransformH; dx: qreal; dy: qreal); cdecl; external Qt4PasLib name 'QTransform_fromTranslate'; procedure QTransform_fromScale(retval: QTransformH; dx: qreal; dy: qreal); cdecl; external Qt4PasLib name 'QTransform_fromScale'; function QPrinterInfo_create(): QPrinterInfoH; cdecl; external Qt4PasLib name 'QPrinterInfo_create'; procedure QPrinterInfo_destroy(handle: QPrinterInfoH); cdecl; external Qt4PasLib name 'QPrinterInfo_destroy'; function QPrinterInfo_create(src: QPrinterInfoH): QPrinterInfoH; cdecl; external Qt4PasLib name 'QPrinterInfo_create2'; function QPrinterInfo_create(printer: QPrinterH): QPrinterInfoH; cdecl; external Qt4PasLib name 'QPrinterInfo_create3'; procedure QPrinterInfo_printerName(handle: QPrinterInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QPrinterInfo_printerName'; function QPrinterInfo_isNull(handle: QPrinterInfoH): Boolean; cdecl; external Qt4PasLib name 'QPrinterInfo_isNull'; function QPrinterInfo_isDefault(handle: QPrinterInfoH): Boolean; cdecl; external Qt4PasLib name 'QPrinterInfo_isDefault'; procedure QPrinterInfo_supportedPaperSizes(handle: QPrinterInfoH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QPrinterInfo_supportedPaperSizes'; procedure QPrinterInfo_availablePrinters(retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QPrinterInfo_availablePrinters'; procedure QPrinterInfo_defaultPrinter(retval: QPrinterInfoH); cdecl; external Qt4PasLib name 'QPrinterInfo_defaultPrinter'; type QFontStyle = ( // QFont::Style (1) QFontStyleNormal, QFontStyleItalic, QFontStyleOblique ); QFontCapitalization = ( // QFont::Capitalization (1) QFontMixedCase, QFontAllUppercase, QFontAllLowercase, QFontSmallCaps, QFontCapitalize ); QFontSpacingType = ( // QFont::SpacingType (1) QFontPercentageSpacing, QFontAbsoluteSpacing ); QFontStyleStrategy = ( //QFont::StyleStrategy (2) QFontPreferDefault = $0001, QFontPreferBitmap = $0002, QFontPreferDevice = $0004, QFontPreferOutline = $0008, QFontForceOutline = $0010, QFontPreferMatch = $0020, QFontPreferQuality = $0040, QFontPreferAntialias = $0080, QFontNoAntialias = $0100, QFontOpenGLCompatible = $0200, QFontNoFontMerging = $8000 ); QFontWeight = ( //QFont::Weight (2) QFontLight = 25, QFontNormal = 50, QFontDemiBold = 63, QFontBold = 75, QFontBlack = 87 ); QFontStretch = ( //QFont::Stretch (2) QFontUltraCondensed = 50, QFontExtraCondensed = 62, QFontCondensed = 75, QFontSemiCondensed = 87, QFontUnstretched = 100, QFontSemiExpanded = 112, QFontExpanded = 125, QFontExtraExpanded = 150, QFontUltraExpanded = 200 ); QFontResolveProperties = ( //QFont::ResolveProperties (2) QFontFamilyResolved = $0001, QFontSizeResolved = $0002, QFontStyleHintResolved = $0004, QFontStyleStrategyResolved = $0008, QFontWeightResolved = $0010, QFontStyleResolved = $0020, QFontUnderlineResolved = $0040, QFontOverlineResolved = $0080, QFontStrikeOutResolved = $0100, QFontFixedPitchResolved = $0200, QFontStretchResolved = $0400, QFontKerningResolved = $0800, QFontCapitalizationResolved = $1000, QFontLetterSpacingResolved = $2000, QFontWordSpacingResolved = $4000, QFontAllPropertiesResolved = $7fff ); type QFontStyleHint = cardinal; // QFont::StyleHint (4) const QFontHelvetica = 0 { $0 }; QFontSansSerif = 0 { $0 }; QFontTimes = 1 { $1 }; QFontSerif = 1 { $1 }; QFontCourier = 2 { $2 }; QFontTypeWriter = 2 { $2 }; QFontOldEnglish = 3 { $3 }; QFontDecorative = 3 { $3 }; QFontSystem = 4 { $4 }; QFontAnyStyle = 5 { $5 }; function QFont_create(): QFontH; cdecl; external Qt4PasLib name 'QFont_create'; procedure QFont_destroy(handle: QFontH); cdecl; external Qt4PasLib name 'QFont_destroy'; function QFont_create(family: PWideString; pointSize: Integer = -1; weight: Integer = -1; italic: Boolean = False): QFontH; cdecl; external Qt4PasLib name 'QFont_create2'; function QFont_create(AnonParam1: QFontH; pd: QPaintDeviceH): QFontH; cdecl; external Qt4PasLib name 'QFont_create3'; function QFont_create(AnonParam1: QFontH): QFontH; cdecl; external Qt4PasLib name 'QFont_create4'; procedure QFont_family(handle: QFontH; retval: PWideString); cdecl; external Qt4PasLib name 'QFont_family'; procedure QFont_setFamily(handle: QFontH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QFont_setFamily'; function QFont_pointSize(handle: QFontH): Integer; cdecl; external Qt4PasLib name 'QFont_pointSize'; procedure QFont_setPointSize(handle: QFontH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QFont_setPointSize'; function QFont_pointSizeF(handle: QFontH): qreal; cdecl; external Qt4PasLib name 'QFont_pointSizeF'; procedure QFont_setPointSizeF(handle: QFontH; AnonParam1: qreal); cdecl; external Qt4PasLib name 'QFont_setPointSizeF'; function QFont_pixelSize(handle: QFontH): Integer; cdecl; external Qt4PasLib name 'QFont_pixelSize'; procedure QFont_setPixelSize(handle: QFontH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QFont_setPixelSize'; function QFont_weight(handle: QFontH): Integer; cdecl; external Qt4PasLib name 'QFont_weight'; procedure QFont_setWeight(handle: QFontH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QFont_setWeight'; function QFont_bold(handle: QFontH): Boolean; cdecl; external Qt4PasLib name 'QFont_bold'; procedure QFont_setBold(handle: QFontH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QFont_setBold'; procedure QFont_setStyle(handle: QFontH; style: QFontStyle); cdecl; external Qt4PasLib name 'QFont_setStyle'; function QFont_style(handle: QFontH): QFontStyle; cdecl; external Qt4PasLib name 'QFont_style'; function QFont_italic(handle: QFontH): Boolean; cdecl; external Qt4PasLib name 'QFont_italic'; procedure QFont_setItalic(handle: QFontH; b: Boolean); cdecl; external Qt4PasLib name 'QFont_setItalic'; function QFont_underline(handle: QFontH): Boolean; cdecl; external Qt4PasLib name 'QFont_underline'; procedure QFont_setUnderline(handle: QFontH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QFont_setUnderline'; function QFont_overline(handle: QFontH): Boolean; cdecl; external Qt4PasLib name 'QFont_overline'; procedure QFont_setOverline(handle: QFontH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QFont_setOverline'; function QFont_strikeOut(handle: QFontH): Boolean; cdecl; external Qt4PasLib name 'QFont_strikeOut'; procedure QFont_setStrikeOut(handle: QFontH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QFont_setStrikeOut'; function QFont_fixedPitch(handle: QFontH): Boolean; cdecl; external Qt4PasLib name 'QFont_fixedPitch'; procedure QFont_setFixedPitch(handle: QFontH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QFont_setFixedPitch'; function QFont_kerning(handle: QFontH): Boolean; cdecl; external Qt4PasLib name 'QFont_kerning'; procedure QFont_setKerning(handle: QFontH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QFont_setKerning'; function QFont_styleHint(handle: QFontH): QFontStyleHint; cdecl; external Qt4PasLib name 'QFont_styleHint'; function QFont_styleStrategy(handle: QFontH): QFontStyleStrategy; cdecl; external Qt4PasLib name 'QFont_styleStrategy'; procedure QFont_setStyleHint(handle: QFontH; AnonParam1: QFontStyleHint; AnonParam2: QFontStyleStrategy = QFontPreferDefault); cdecl; external Qt4PasLib name 'QFont_setStyleHint'; procedure QFont_setStyleStrategy(handle: QFontH; s: QFontStyleStrategy); cdecl; external Qt4PasLib name 'QFont_setStyleStrategy'; function QFont_stretch(handle: QFontH): Integer; cdecl; external Qt4PasLib name 'QFont_stretch'; procedure QFont_setStretch(handle: QFontH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QFont_setStretch'; function QFont_letterSpacing(handle: QFontH): qreal; cdecl; external Qt4PasLib name 'QFont_letterSpacing'; function QFont_letterSpacingType(handle: QFontH): QFontSpacingType; cdecl; external Qt4PasLib name 'QFont_letterSpacingType'; procedure QFont_setLetterSpacing(handle: QFontH; _type: QFontSpacingType; spacing: qreal); cdecl; external Qt4PasLib name 'QFont_setLetterSpacing'; function QFont_wordSpacing(handle: QFontH): qreal; cdecl; external Qt4PasLib name 'QFont_wordSpacing'; procedure QFont_setWordSpacing(handle: QFontH; spacing: qreal); cdecl; external Qt4PasLib name 'QFont_setWordSpacing'; procedure QFont_setCapitalization(handle: QFontH; AnonParam1: QFontCapitalization); cdecl; external Qt4PasLib name 'QFont_setCapitalization'; function QFont_capitalization(handle: QFontH): QFontCapitalization; cdecl; external Qt4PasLib name 'QFont_capitalization'; function QFont_rawMode(handle: QFontH): Boolean; cdecl; external Qt4PasLib name 'QFont_rawMode'; procedure QFont_setRawMode(handle: QFontH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QFont_setRawMode'; function QFont_exactMatch(handle: QFontH): Boolean; cdecl; external Qt4PasLib name 'QFont_exactMatch'; function QFont_isCopyOf(handle: QFontH; AnonParam1: QFontH): Boolean; cdecl; external Qt4PasLib name 'QFont_isCopyOf'; {$ifdef BINUX or DARWIN or QTOPIA } function QFont_handle(handle: QFontH): QtHANDLE; cdecl; external Qt4PasLib name 'QFont_handle'; {$endif} procedure QFont_setRawName(handle: QFontH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QFont_setRawName'; procedure QFont_rawName(handle: QFontH; retval: PWideString); cdecl; external Qt4PasLib name 'QFont_rawName'; procedure QFont_key(handle: QFontH; retval: PWideString); cdecl; external Qt4PasLib name 'QFont_key'; procedure QFont_toString(handle: QFontH; retval: PWideString); cdecl; external Qt4PasLib name 'QFont_toString'; function QFont_fromString(handle: QFontH; AnonParam1: PWideString): Boolean; cdecl; external Qt4PasLib name 'QFont_fromString'; procedure QFont_substitute(retval: PWideString; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QFont_substitute'; procedure QFont_substitutes(retval: QStringListH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QFont_substitutes'; procedure QFont_substitutions(retval: QStringListH); cdecl; external Qt4PasLib name 'QFont_substitutions'; procedure QFont_insertSubstitution(AnonParam1: PWideString; AnonParam2: PWideString); cdecl; external Qt4PasLib name 'QFont_insertSubstitution'; procedure QFont_insertSubstitutions(AnonParam1: PWideString; AnonParam2: QStringListH); cdecl; external Qt4PasLib name 'QFont_insertSubstitutions'; procedure QFont_removeSubstitution(AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QFont_removeSubstitution'; procedure QFont_initialize(); cdecl; external Qt4PasLib name 'QFont_initialize'; procedure QFont_cleanup(); cdecl; external Qt4PasLib name 'QFont_cleanup'; {$ifdef BINUX or MSWINDOWS or DARWIN } procedure QFont_cacheStatistics(); cdecl; external Qt4PasLib name 'QFont_cacheStatistics'; {$endif} procedure QFont_defaultFamily(handle: QFontH; retval: PWideString); cdecl; external Qt4PasLib name 'QFont_defaultFamily'; procedure QFont_lastResortFamily(handle: QFontH; retval: PWideString); cdecl; external Qt4PasLib name 'QFont_lastResortFamily'; procedure QFont_lastResortFont(handle: QFontH; retval: PWideString); cdecl; external Qt4PasLib name 'QFont_lastResortFont'; procedure QFont_resolve(handle: QFontH; retval: QFontH; AnonParam1: QFontH); cdecl; external Qt4PasLib name 'QFont_resolve'; function QFont_resolve(handle: QFontH): LongWord; cdecl; external Qt4PasLib name 'QFont_resolve2'; procedure QFont_resolve(handle: QFontH; mask: LongWord); cdecl; external Qt4PasLib name 'QFont_resolve3'; {$ifdef MSWINDOWS } function QFont_handle(handle: QFontH): QHFONT; cdecl; external Qt4PasLib name 'QFont_handle2'; {$endif} {$ifdef DARWIN } function QFont_macFontID(handle: QFontH): LongWord; cdecl; external Qt4PasLib name 'QFont_macFontID'; {$endif} type QFontDatabaseWritingSystem = cardinal; // QFontDatabase::WritingSystem (4) const QFontDatabaseAny = 0 { $0 }; QFontDatabaseLatin = 1 { $1 }; QFontDatabaseGreek = 2 { $2 }; QFontDatabaseCyrillic = 3 { $3 }; QFontDatabaseArmenian = 4 { $4 }; QFontDatabaseHebrew = 5 { $5 }; QFontDatabaseArabic = 6 { $6 }; QFontDatabaseSyriac = 7 { $7 }; QFontDatabaseThaana = 8 { $8 }; QFontDatabaseDevanagari = 9 { $9 }; QFontDatabaseBengali = 10 { $a }; QFontDatabaseGurmukhi = 11 { $b }; QFontDatabaseGujarati = 12 { $c }; QFontDatabaseOriya = 13 { $d }; QFontDatabaseTamil = 14 { $e }; QFontDatabaseTelugu = 15 { $f }; QFontDatabaseKannada = 16 { $10 }; QFontDatabaseMalayalam = 17 { $11 }; QFontDatabaseSinhala = 18 { $12 }; QFontDatabaseThai = 19 { $13 }; QFontDatabaseLao = 20 { $14 }; QFontDatabaseTibetan = 21 { $15 }; QFontDatabaseMyanmar = 22 { $16 }; QFontDatabaseGeorgian = 23 { $17 }; QFontDatabaseKhmer = 24 { $18 }; QFontDatabaseSimplifiedChinese = 25 { $19 }; QFontDatabaseTraditionalChinese = 26 { $1a }; QFontDatabaseJapanese = 27 { $1b }; QFontDatabaseKorean = 28 { $1c }; QFontDatabaseVietnamese = 29 { $1d }; QFontDatabaseSymbol = 30 { $1e }; QFontDatabaseOther = 30 { $1e }; QFontDatabaseOgham = 31 { $1f }; QFontDatabaseRunic = 32 { $20 }; QFontDatabaseWritingSystemsCount = 33 { $21 }; procedure QFontDatabase_standardSizes(retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QFontDatabase_standardSizes'; function QFontDatabase_create(): QFontDatabaseH; cdecl; external Qt4PasLib name 'QFontDatabase_create'; procedure QFontDatabase_destroy(handle: QFontDatabaseH); cdecl; external Qt4PasLib name 'QFontDatabase_destroy'; procedure QFontDatabase_writingSystems(handle: QFontDatabaseH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QFontDatabase_writingSystems'; procedure QFontDatabase_writingSystems(handle: QFontDatabaseH; retval: PPtrIntArray; family: PWideString); cdecl; external Qt4PasLib name 'QFontDatabase_writingSystems2'; procedure QFontDatabase_families(handle: QFontDatabaseH; retval: QStringListH; writingSystem: QFontDatabaseWritingSystem = QFontDatabaseAny); cdecl; external Qt4PasLib name 'QFontDatabase_families'; procedure QFontDatabase_styles(handle: QFontDatabaseH; retval: QStringListH; family: PWideString); cdecl; external Qt4PasLib name 'QFontDatabase_styles'; procedure QFontDatabase_pointSizes(handle: QFontDatabaseH; retval: PPtrIntArray; family: PWideString; style: PWideString = nil); cdecl; external Qt4PasLib name 'QFontDatabase_pointSizes'; procedure QFontDatabase_smoothSizes(handle: QFontDatabaseH; retval: PPtrIntArray; family: PWideString; style: PWideString); cdecl; external Qt4PasLib name 'QFontDatabase_smoothSizes'; procedure QFontDatabase_styleString(handle: QFontDatabaseH; retval: PWideString; font: QFontH); cdecl; external Qt4PasLib name 'QFontDatabase_styleString'; procedure QFontDatabase_styleString(handle: QFontDatabaseH; retval: PWideString; fontInfo: QFontInfoH); cdecl; external Qt4PasLib name 'QFontDatabase_styleString2'; procedure QFontDatabase_font(handle: QFontDatabaseH; retval: QFontH; family: PWideString; style: PWideString; pointSize: Integer); cdecl; external Qt4PasLib name 'QFontDatabase_font'; function QFontDatabase_isBitmapScalable(handle: QFontDatabaseH; family: PWideString; style: PWideString = nil): Boolean; cdecl; external Qt4PasLib name 'QFontDatabase_isBitmapScalable'; function QFontDatabase_isSmoothlyScalable(handle: QFontDatabaseH; family: PWideString; style: PWideString = nil): Boolean; cdecl; external Qt4PasLib name 'QFontDatabase_isSmoothlyScalable'; function QFontDatabase_isScalable(handle: QFontDatabaseH; family: PWideString; style: PWideString = nil): Boolean; cdecl; external Qt4PasLib name 'QFontDatabase_isScalable'; function QFontDatabase_isFixedPitch(handle: QFontDatabaseH; family: PWideString; style: PWideString = nil): Boolean; cdecl; external Qt4PasLib name 'QFontDatabase_isFixedPitch'; function QFontDatabase_italic(handle: QFontDatabaseH; family: PWideString; style: PWideString): Boolean; cdecl; external Qt4PasLib name 'QFontDatabase_italic'; function QFontDatabase_bold(handle: QFontDatabaseH; family: PWideString; style: PWideString): Boolean; cdecl; external Qt4PasLib name 'QFontDatabase_bold'; function QFontDatabase_weight(handle: QFontDatabaseH; family: PWideString; style: PWideString): Integer; cdecl; external Qt4PasLib name 'QFontDatabase_weight'; procedure QFontDatabase_writingSystemName(retval: PWideString; writingSystem: QFontDatabaseWritingSystem); cdecl; external Qt4PasLib name 'QFontDatabase_writingSystemName'; procedure QFontDatabase_writingSystemSample(retval: PWideString; writingSystem: QFontDatabaseWritingSystem); cdecl; external Qt4PasLib name 'QFontDatabase_writingSystemSample'; function QFontDatabase_addApplicationFont(fileName: PWideString): Integer; cdecl; external Qt4PasLib name 'QFontDatabase_addApplicationFont'; function QFontDatabase_addApplicationFontFromData(fontData: QByteArrayH): Integer; cdecl; external Qt4PasLib name 'QFontDatabase_addApplicationFontFromData'; procedure QFontDatabase_applicationFontFamilies(retval: QStringListH; id: Integer); cdecl; external Qt4PasLib name 'QFontDatabase_applicationFontFamilies'; function QFontDatabase_removeApplicationFont(id: Integer): Boolean; cdecl; external Qt4PasLib name 'QFontDatabase_removeApplicationFont'; function QFontDatabase_removeAllApplicationFonts(): Boolean; cdecl; external Qt4PasLib name 'QFontDatabase_removeAllApplicationFonts'; function QFontDatabase_supportsThreadedFontRendering(): Boolean; cdecl; external Qt4PasLib name 'QFontDatabase_supportsThreadedFontRendering'; type QTextCursorMoveMode = ( // QTextCursor::MoveMode (1) QTextCursorMoveAnchor, QTextCursorKeepAnchor ); QTextCursorMoveOperation = ( // QTextCursor::MoveOperation (1) QTextCursorNoMove, QTextCursorStart, QTextCursorUp, QTextCursorStartOfLine, QTextCursorStartOfBlock, QTextCursorStartOfWord, QTextCursorPreviousBlock, QTextCursorPreviousCharacter, QTextCursorPreviousWord, QTextCursorLeft, QTextCursorWordLeft, QTextCursorEnd, QTextCursorDown, QTextCursorEndOfLine, QTextCursorEndOfWord, QTextCursorEndOfBlock, QTextCursorNextBlock, QTextCursorNextCharacter, QTextCursorNextWord, QTextCursorRight, QTextCursorWordRight, QTextCursorNextCell, QTextCursorPreviousCell, QTextCursorNextRow, QTextCursorPreviousRow ); QTextCursorSelectionType = ( // QTextCursor::SelectionType (1) QTextCursorWordUnderCursor, QTextCursorLineUnderCursor, QTextCursorBlockUnderCursor, QTextCursorDocument ); function QTextCursor_create(): QTextCursorH; cdecl; external Qt4PasLib name 'QTextCursor_create'; procedure QTextCursor_destroy(handle: QTextCursorH); cdecl; external Qt4PasLib name 'QTextCursor_destroy'; function QTextCursor_create(document: QTextDocumentH): QTextCursorH; cdecl; external Qt4PasLib name 'QTextCursor_create2'; function QTextCursor_create(frame: QTextFrameH): QTextCursorH; cdecl; external Qt4PasLib name 'QTextCursor_create3'; function QTextCursor_create(block: QTextBlockH): QTextCursorH; cdecl; external Qt4PasLib name 'QTextCursor_create4'; function QTextCursor_create(cursor: QTextCursorH): QTextCursorH; cdecl; external Qt4PasLib name 'QTextCursor_create6'; function QTextCursor_isNull(handle: QTextCursorH): Boolean; cdecl; external Qt4PasLib name 'QTextCursor_isNull'; procedure QTextCursor_setPosition(handle: QTextCursorH; pos: Integer; mode: QTextCursorMoveMode = QTextCursorMoveAnchor); cdecl; external Qt4PasLib name 'QTextCursor_setPosition'; function QTextCursor_position(handle: QTextCursorH): Integer; cdecl; external Qt4PasLib name 'QTextCursor_position'; function QTextCursor_anchor(handle: QTextCursorH): Integer; cdecl; external Qt4PasLib name 'QTextCursor_anchor'; procedure QTextCursor_insertText(handle: QTextCursorH; text: PWideString); cdecl; external Qt4PasLib name 'QTextCursor_insertText'; procedure QTextCursor_insertText(handle: QTextCursorH; text: PWideString; format: QTextCharFormatH); cdecl; external Qt4PasLib name 'QTextCursor_insertText2'; function QTextCursor_movePosition(handle: QTextCursorH; op: QTextCursorMoveOperation; AnonParam2: QTextCursorMoveMode = QTextCursorMoveAnchor; n: Integer = 1): Boolean; cdecl; external Qt4PasLib name 'QTextCursor_movePosition'; function QTextCursor_visualNavigation(handle: QTextCursorH): Boolean; cdecl; external Qt4PasLib name 'QTextCursor_visualNavigation'; procedure QTextCursor_setVisualNavigation(handle: QTextCursorH; b: Boolean); cdecl; external Qt4PasLib name 'QTextCursor_setVisualNavigation'; procedure QTextCursor_deleteChar(handle: QTextCursorH); cdecl; external Qt4PasLib name 'QTextCursor_deleteChar'; procedure QTextCursor_deletePreviousChar(handle: QTextCursorH); cdecl; external Qt4PasLib name 'QTextCursor_deletePreviousChar'; procedure QTextCursor_select(handle: QTextCursorH; selection: QTextCursorSelectionType); cdecl; external Qt4PasLib name 'QTextCursor_select'; function QTextCursor_hasSelection(handle: QTextCursorH): Boolean; cdecl; external Qt4PasLib name 'QTextCursor_hasSelection'; function QTextCursor_hasComplexSelection(handle: QTextCursorH): Boolean; cdecl; external Qt4PasLib name 'QTextCursor_hasComplexSelection'; procedure QTextCursor_removeSelectedText(handle: QTextCursorH); cdecl; external Qt4PasLib name 'QTextCursor_removeSelectedText'; procedure QTextCursor_clearSelection(handle: QTextCursorH); cdecl; external Qt4PasLib name 'QTextCursor_clearSelection'; function QTextCursor_selectionStart(handle: QTextCursorH): Integer; cdecl; external Qt4PasLib name 'QTextCursor_selectionStart'; function QTextCursor_selectionEnd(handle: QTextCursorH): Integer; cdecl; external Qt4PasLib name 'QTextCursor_selectionEnd'; procedure QTextCursor_selectedText(handle: QTextCursorH; retval: PWideString); cdecl; external Qt4PasLib name 'QTextCursor_selectedText'; procedure QTextCursor_selection(handle: QTextCursorH; retval: QTextDocumentFragmentH); cdecl; external Qt4PasLib name 'QTextCursor_selection'; procedure QTextCursor_selectedTableCells(handle: QTextCursorH; firstRow: PInteger; numRows: PInteger; firstColumn: PInteger; numColumns: PInteger); cdecl; external Qt4PasLib name 'QTextCursor_selectedTableCells'; procedure QTextCursor_block(handle: QTextCursorH; retval: QTextBlockH); cdecl; external Qt4PasLib name 'QTextCursor_block'; procedure QTextCursor_charFormat(handle: QTextCursorH; retval: QTextCharFormatH); cdecl; external Qt4PasLib name 'QTextCursor_charFormat'; procedure QTextCursor_setCharFormat(handle: QTextCursorH; format: QTextCharFormatH); cdecl; external Qt4PasLib name 'QTextCursor_setCharFormat'; procedure QTextCursor_mergeCharFormat(handle: QTextCursorH; modifier: QTextCharFormatH); cdecl; external Qt4PasLib name 'QTextCursor_mergeCharFormat'; procedure QTextCursor_blockFormat(handle: QTextCursorH; retval: QTextBlockFormatH); cdecl; external Qt4PasLib name 'QTextCursor_blockFormat'; procedure QTextCursor_setBlockFormat(handle: QTextCursorH; format: QTextBlockFormatH); cdecl; external Qt4PasLib name 'QTextCursor_setBlockFormat'; procedure QTextCursor_mergeBlockFormat(handle: QTextCursorH; modifier: QTextBlockFormatH); cdecl; external Qt4PasLib name 'QTextCursor_mergeBlockFormat'; procedure QTextCursor_blockCharFormat(handle: QTextCursorH; retval: QTextCharFormatH); cdecl; external Qt4PasLib name 'QTextCursor_blockCharFormat'; procedure QTextCursor_setBlockCharFormat(handle: QTextCursorH; format: QTextCharFormatH); cdecl; external Qt4PasLib name 'QTextCursor_setBlockCharFormat'; procedure QTextCursor_mergeBlockCharFormat(handle: QTextCursorH; modifier: QTextCharFormatH); cdecl; external Qt4PasLib name 'QTextCursor_mergeBlockCharFormat'; function QTextCursor_atBlockStart(handle: QTextCursorH): Boolean; cdecl; external Qt4PasLib name 'QTextCursor_atBlockStart'; function QTextCursor_atBlockEnd(handle: QTextCursorH): Boolean; cdecl; external Qt4PasLib name 'QTextCursor_atBlockEnd'; function QTextCursor_atStart(handle: QTextCursorH): Boolean; cdecl; external Qt4PasLib name 'QTextCursor_atStart'; function QTextCursor_atEnd(handle: QTextCursorH): Boolean; cdecl; external Qt4PasLib name 'QTextCursor_atEnd'; procedure QTextCursor_insertBlock(handle: QTextCursorH); cdecl; external Qt4PasLib name 'QTextCursor_insertBlock'; procedure QTextCursor_insertBlock(handle: QTextCursorH; format: QTextBlockFormatH); cdecl; external Qt4PasLib name 'QTextCursor_insertBlock2'; procedure QTextCursor_insertBlock(handle: QTextCursorH; format: QTextBlockFormatH; charFormat: QTextCharFormatH); cdecl; external Qt4PasLib name 'QTextCursor_insertBlock3'; function QTextCursor_currentList(handle: QTextCursorH): QTextListH; cdecl; external Qt4PasLib name 'QTextCursor_currentList'; function QTextCursor_insertTable(handle: QTextCursorH; rows: Integer; cols: Integer; format: QTextTableFormatH): QTextTableH; cdecl; external Qt4PasLib name 'QTextCursor_insertTable'; function QTextCursor_insertTable(handle: QTextCursorH; rows: Integer; cols: Integer): QTextTableH; cdecl; external Qt4PasLib name 'QTextCursor_insertTable2'; function QTextCursor_currentTable(handle: QTextCursorH): QTextTableH; cdecl; external Qt4PasLib name 'QTextCursor_currentTable'; function QTextCursor_insertFrame(handle: QTextCursorH; format: QTextFrameFormatH): QTextFrameH; cdecl; external Qt4PasLib name 'QTextCursor_insertFrame'; function QTextCursor_currentFrame(handle: QTextCursorH): QTextFrameH; cdecl; external Qt4PasLib name 'QTextCursor_currentFrame'; procedure QTextCursor_insertFragment(handle: QTextCursorH; fragment: QTextDocumentFragmentH); cdecl; external Qt4PasLib name 'QTextCursor_insertFragment'; procedure QTextCursor_insertHtml(handle: QTextCursorH; html: PWideString); cdecl; external Qt4PasLib name 'QTextCursor_insertHtml'; procedure QTextCursor_insertImage(handle: QTextCursorH; format: QTextImageFormatH); cdecl; external Qt4PasLib name 'QTextCursor_insertImage2'; procedure QTextCursor_insertImage(handle: QTextCursorH; name: PWideString); cdecl; external Qt4PasLib name 'QTextCursor_insertImage3'; procedure QTextCursor_insertImage(handle: QTextCursorH; image: QImageH; name: PWideString = nil); cdecl; external Qt4PasLib name 'QTextCursor_insertImage4'; procedure QTextCursor_beginEditBlock(handle: QTextCursorH); cdecl; external Qt4PasLib name 'QTextCursor_beginEditBlock'; procedure QTextCursor_joinPreviousEditBlock(handle: QTextCursorH); cdecl; external Qt4PasLib name 'QTextCursor_joinPreviousEditBlock'; procedure QTextCursor_endEditBlock(handle: QTextCursorH); cdecl; external Qt4PasLib name 'QTextCursor_endEditBlock'; function QTextCursor_isCopyOf(handle: QTextCursorH; other: QTextCursorH): Boolean; cdecl; external Qt4PasLib name 'QTextCursor_isCopyOf'; function QTextCursor_blockNumber(handle: QTextCursorH): Integer; cdecl; external Qt4PasLib name 'QTextCursor_blockNumber'; function QTextCursor_columnNumber(handle: QTextCursorH): Integer; cdecl; external Qt4PasLib name 'QTextCursor_columnNumber'; function QTextCursor_document(handle: QTextCursorH): QTextDocumentH; cdecl; external Qt4PasLib name 'QTextCursor_document'; type QTextOptionTabType = ( // QTextOption::TabType (1) QTextOptionLeftTab, QTextOptionRightTab, QTextOptionCenterTab, QTextOptionDelimiterTab ); QTextOptionWrapMode = ( // QTextOption::WrapMode (1) QTextOptionNoWrap, QTextOptionWordWrap, QTextOptionManualWrap, QTextOptionWrapAnywhere, QTextOptionWrapAtWordBoundaryOrAnywhere ); type QTextOptionFlag = cardinal; // QTextOption::Flag QTextOptionFlags = QTextOptionFlag; //QFlags<> (3) const QTextOptionShowTabsAndSpaces = $1; QTextOptionShowLineAndParagraphSeparators = $2; QTextOptionAddSpaceForLineAndParagraphSeparators = $4; QTextOptionSuppressColors = $8; QTextOptionIncludeTrailingSpaces = $80000000; function QTextOption_create(): QTextOptionH; cdecl; external Qt4PasLib name 'QTextOption_create'; procedure QTextOption_destroy(handle: QTextOptionH); cdecl; external Qt4PasLib name 'QTextOption_destroy'; function QTextOption_create(alignment: QtAlignment): QTextOptionH; cdecl; external Qt4PasLib name 'QTextOption_create2'; function QTextOption_create(o: QTextOptionH): QTextOptionH; cdecl; external Qt4PasLib name 'QTextOption_create3'; procedure QTextOption_setAlignment(handle: QTextOptionH; alignment: QtAlignment); cdecl; external Qt4PasLib name 'QTextOption_setAlignment'; function QTextOption_alignment(handle: QTextOptionH): QtAlignment; cdecl; external Qt4PasLib name 'QTextOption_alignment'; procedure QTextOption_setTextDirection(handle: QTextOptionH; aDirection: QtLayoutDirection); cdecl; external Qt4PasLib name 'QTextOption_setTextDirection'; function QTextOption_textDirection(handle: QTextOptionH): QtLayoutDirection; cdecl; external Qt4PasLib name 'QTextOption_textDirection'; procedure QTextOption_setWrapMode(handle: QTextOptionH; wrap: QTextOptionWrapMode); cdecl; external Qt4PasLib name 'QTextOption_setWrapMode'; function QTextOption_wrapMode(handle: QTextOptionH): QTextOptionWrapMode; cdecl; external Qt4PasLib name 'QTextOption_wrapMode'; procedure QTextOption_setFlags(handle: QTextOptionH; flags: QTextOptionFlags); cdecl; external Qt4PasLib name 'QTextOption_setFlags'; function QTextOption_flags(handle: QTextOptionH): QTextOptionFlags; cdecl; external Qt4PasLib name 'QTextOption_flags'; procedure QTextOption_setTabStop(handle: QTextOptionH; tabStop: qreal); cdecl; external Qt4PasLib name 'QTextOption_setTabStop'; function QTextOption_tabStop(handle: QTextOptionH): qreal; cdecl; external Qt4PasLib name 'QTextOption_tabStop'; procedure QTextOption_setTabArray(handle: QTextOptionH; tabStops: PPtrIntArray); cdecl; external Qt4PasLib name 'QTextOption_setTabArray'; procedure QTextOption_tabArray(handle: QTextOptionH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QTextOption_tabArray'; procedure QTextOption_setUseDesignMetrics(handle: QTextOptionH; b: Boolean); cdecl; external Qt4PasLib name 'QTextOption_setUseDesignMetrics'; function QTextOption_useDesignMetrics(handle: QTextOptionH): Boolean; cdecl; external Qt4PasLib name 'QTextOption_useDesignMetrics'; function QFontMetrics_create(AnonParam1: QFontH): QFontMetricsH; cdecl; external Qt4PasLib name 'QFontMetrics_create'; procedure QFontMetrics_destroy(handle: QFontMetricsH); cdecl; external Qt4PasLib name 'QFontMetrics_destroy'; function QFontMetrics_create(AnonParam1: QFontH; pd: QPaintDeviceH): QFontMetricsH; cdecl; external Qt4PasLib name 'QFontMetrics_create2'; function QFontMetrics_create(AnonParam1: QFontMetricsH): QFontMetricsH; cdecl; external Qt4PasLib name 'QFontMetrics_create3'; function QFontMetrics_ascent(handle: QFontMetricsH): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_ascent'; function QFontMetrics_descent(handle: QFontMetricsH): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_descent'; function QFontMetrics_height(handle: QFontMetricsH): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_height'; function QFontMetrics_leading(handle: QFontMetricsH): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_leading'; function QFontMetrics_lineSpacing(handle: QFontMetricsH): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_lineSpacing'; function QFontMetrics_minLeftBearing(handle: QFontMetricsH): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_minLeftBearing'; function QFontMetrics_minRightBearing(handle: QFontMetricsH): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_minRightBearing'; function QFontMetrics_maxWidth(handle: QFontMetricsH): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_maxWidth'; function QFontMetrics_xHeight(handle: QFontMetricsH): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_xHeight'; function QFontMetrics_averageCharWidth(handle: QFontMetricsH): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_averageCharWidth'; function QFontMetrics_inFont(handle: QFontMetricsH; AnonParam1: PWideChar): Boolean; cdecl; external Qt4PasLib name 'QFontMetrics_inFont'; function QFontMetrics_leftBearing(handle: QFontMetricsH; AnonParam1: PWideChar): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_leftBearing'; function QFontMetrics_rightBearing(handle: QFontMetricsH; AnonParam1: PWideChar): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_rightBearing'; function QFontMetrics_width(handle: QFontMetricsH; AnonParam1: PWideString; len: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_width'; function QFontMetrics_width(handle: QFontMetricsH; AnonParam1: PWideChar): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_width2'; function QFontMetrics_charWidth(handle: QFontMetricsH; str: PWideString; pos: Integer): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_charWidth'; procedure QFontMetrics_boundingRect(handle: QFontMetricsH; retval: PRect; AnonParam1: PWideChar); cdecl; external Qt4PasLib name 'QFontMetrics_boundingRect'; procedure QFontMetrics_boundingRect(handle: QFontMetricsH; retval: PRect; text: PWideString); cdecl; external Qt4PasLib name 'QFontMetrics_boundingRect2'; procedure QFontMetrics_boundingRect(handle: QFontMetricsH; retval: PRect; r: PRect; flags: Integer; text: PWideString; tabstops: Integer = 0; tabarray: PInteger = nil); cdecl; external Qt4PasLib name 'QFontMetrics_boundingRect3'; procedure QFontMetrics_boundingRect(handle: QFontMetricsH; retval: PRect; x: Integer; y: Integer; w: Integer; h: Integer; flags: Integer; text: PWideString; tabstops: Integer = 0; tabarray: PInteger = nil); cdecl; external Qt4PasLib name 'QFontMetrics_boundingRect4'; procedure QFontMetrics_size(handle: QFontMetricsH; retval: PSize; flags: Integer; str: PWideString; tabstops: Integer = 0; tabarray: PInteger = nil); cdecl; external Qt4PasLib name 'QFontMetrics_size'; procedure QFontMetrics_tightBoundingRect(handle: QFontMetricsH; retval: PRect; text: PWideString); cdecl; external Qt4PasLib name 'QFontMetrics_tightBoundingRect'; procedure QFontMetrics_elidedText(handle: QFontMetricsH; retval: PWideString; text: PWideString; mode: QtTextElideMode; width: Integer; flags: Integer = 0); cdecl; external Qt4PasLib name 'QFontMetrics_elidedText'; function QFontMetrics_underlinePos(handle: QFontMetricsH): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_underlinePos'; function QFontMetrics_overlinePos(handle: QFontMetricsH): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_overlinePos'; function QFontMetrics_strikeOutPos(handle: QFontMetricsH): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_strikeOutPos'; function QFontMetrics_lineWidth(handle: QFontMetricsH): Integer; cdecl; external Qt4PasLib name 'QFontMetrics_lineWidth'; function QFontMetricsF_create(AnonParam1: QFontH): QFontMetricsFH; cdecl; external Qt4PasLib name 'QFontMetricsF_create'; procedure QFontMetricsF_destroy(handle: QFontMetricsFH); cdecl; external Qt4PasLib name 'QFontMetricsF_destroy'; function QFontMetricsF_create(AnonParam1: QFontH; pd: QPaintDeviceH): QFontMetricsFH; cdecl; external Qt4PasLib name 'QFontMetricsF_create2'; function QFontMetricsF_create(AnonParam1: QFontMetricsFH): QFontMetricsFH; cdecl; external Qt4PasLib name 'QFontMetricsF_create4'; function QFontMetricsF_ascent(handle: QFontMetricsFH): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_ascent'; function QFontMetricsF_descent(handle: QFontMetricsFH): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_descent'; function QFontMetricsF_height(handle: QFontMetricsFH): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_height'; function QFontMetricsF_leading(handle: QFontMetricsFH): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_leading'; function QFontMetricsF_lineSpacing(handle: QFontMetricsFH): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_lineSpacing'; function QFontMetricsF_minLeftBearing(handle: QFontMetricsFH): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_minLeftBearing'; function QFontMetricsF_minRightBearing(handle: QFontMetricsFH): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_minRightBearing'; function QFontMetricsF_maxWidth(handle: QFontMetricsFH): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_maxWidth'; function QFontMetricsF_xHeight(handle: QFontMetricsFH): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_xHeight'; function QFontMetricsF_averageCharWidth(handle: QFontMetricsFH): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_averageCharWidth'; function QFontMetricsF_inFont(handle: QFontMetricsFH; AnonParam1: PWideChar): Boolean; cdecl; external Qt4PasLib name 'QFontMetricsF_inFont'; function QFontMetricsF_leftBearing(handle: QFontMetricsFH; AnonParam1: PWideChar): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_leftBearing'; function QFontMetricsF_rightBearing(handle: QFontMetricsFH; AnonParam1: PWideChar): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_rightBearing'; function QFontMetricsF_width(handle: QFontMetricsFH; _string: PWideString): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_width'; function QFontMetricsF_width(handle: QFontMetricsFH; AnonParam1: PWideChar): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_width2'; procedure QFontMetricsF_boundingRect(handle: QFontMetricsFH; retval: QRectFH; _string: PWideString); cdecl; external Qt4PasLib name 'QFontMetricsF_boundingRect'; procedure QFontMetricsF_boundingRect(handle: QFontMetricsFH; retval: QRectFH; AnonParam1: PWideChar); cdecl; external Qt4PasLib name 'QFontMetricsF_boundingRect2'; procedure QFontMetricsF_boundingRect(handle: QFontMetricsFH; retval: QRectFH; r: QRectFH; flags: Integer; _string: PWideString; tabstops: Integer = 0; tabarray: PInteger = nil); cdecl; external Qt4PasLib name 'QFontMetricsF_boundingRect3'; procedure QFontMetricsF_size(handle: QFontMetricsFH; retval: QSizeFH; flags: Integer; str: PWideString; tabstops: Integer = 0; tabarray: PInteger = nil); cdecl; external Qt4PasLib name 'QFontMetricsF_size'; procedure QFontMetricsF_tightBoundingRect(handle: QFontMetricsFH; retval: QRectFH; text: PWideString); cdecl; external Qt4PasLib name 'QFontMetricsF_tightBoundingRect'; procedure QFontMetricsF_elidedText(handle: QFontMetricsFH; retval: PWideString; text: PWideString; mode: QtTextElideMode; width: qreal; flags: Integer = 0); cdecl; external Qt4PasLib name 'QFontMetricsF_elidedText'; function QFontMetricsF_underlinePos(handle: QFontMetricsFH): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_underlinePos'; function QFontMetricsF_overlinePos(handle: QFontMetricsFH): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_overlinePos'; function QFontMetricsF_strikeOutPos(handle: QFontMetricsFH): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_strikeOutPos'; function QFontMetricsF_lineWidth(handle: QFontMetricsFH): qreal; cdecl; external Qt4PasLib name 'QFontMetricsF_lineWidth'; function QFontInfo_create(AnonParam1: QFontH): QFontInfoH; cdecl; external Qt4PasLib name 'QFontInfo_create'; procedure QFontInfo_destroy(handle: QFontInfoH); cdecl; external Qt4PasLib name 'QFontInfo_destroy'; function QFontInfo_create(AnonParam1: QFontInfoH): QFontInfoH; cdecl; external Qt4PasLib name 'QFontInfo_create2'; procedure QFontInfo_family(handle: QFontInfoH; retval: PWideString); cdecl; external Qt4PasLib name 'QFontInfo_family'; function QFontInfo_pixelSize(handle: QFontInfoH): Integer; cdecl; external Qt4PasLib name 'QFontInfo_pixelSize'; function QFontInfo_pointSize(handle: QFontInfoH): Integer; cdecl; external Qt4PasLib name 'QFontInfo_pointSize'; function QFontInfo_pointSizeF(handle: QFontInfoH): qreal; cdecl; external Qt4PasLib name 'QFontInfo_pointSizeF'; function QFontInfo_italic(handle: QFontInfoH): Boolean; cdecl; external Qt4PasLib name 'QFontInfo_italic'; function QFontInfo_style(handle: QFontInfoH): QFontStyle; cdecl; external Qt4PasLib name 'QFontInfo_style'; function QFontInfo_weight(handle: QFontInfoH): Integer; cdecl; external Qt4PasLib name 'QFontInfo_weight'; function QFontInfo_bold(handle: QFontInfoH): Boolean; cdecl; external Qt4PasLib name 'QFontInfo_bold'; function QFontInfo_underline(handle: QFontInfoH): Boolean; cdecl; external Qt4PasLib name 'QFontInfo_underline'; function QFontInfo_overline(handle: QFontInfoH): Boolean; cdecl; external Qt4PasLib name 'QFontInfo_overline'; function QFontInfo_strikeOut(handle: QFontInfoH): Boolean; cdecl; external Qt4PasLib name 'QFontInfo_strikeOut'; function QFontInfo_fixedPitch(handle: QFontInfoH): Boolean; cdecl; external Qt4PasLib name 'QFontInfo_fixedPitch'; function QFontInfo_styleHint(handle: QFontInfoH): QFontStyleHint; cdecl; external Qt4PasLib name 'QFontInfo_styleHint'; function QFontInfo_rawMode(handle: QFontInfoH): Boolean; cdecl; external Qt4PasLib name 'QFontInfo_rawMode'; function QFontInfo_exactMatch(handle: QFontInfoH): Boolean; cdecl; external Qt4PasLib name 'QFontInfo_exactMatch'; type QTextDocumentMetaInformation = ( // QTextDocument::MetaInformation (1) QTextDocumentDocumentTitle, QTextDocumentDocumentUrl ); type QTextDocumentFindFlag = cardinal; // QTextDocument::FindFlag QTextDocumentFindFlags = QTextDocumentFindFlag; //QFlags<> (3) const QTextDocumentFindBackward = $00001; QTextDocumentFindCaseSensitively = $00002; QTextDocumentFindWholeWords = $00004; type QTextDocumentResourceType = ( //QTextDocument::ResourceType (2) QTextDocumentHtmlResource = 1, QTextDocumentImageResource = 2, QTextDocumentStyleSheetResource = 3, QTextDocumentUserResource = 100 ); function QTextDocument_create(parent: QObjectH = nil): QTextDocumentH; cdecl; external Qt4PasLib name 'QTextDocument_create'; procedure QTextDocument_destroy(handle: QTextDocumentH); cdecl; external Qt4PasLib name 'QTextDocument_destroy'; function QTextDocument_create(text: PWideString; parent: QObjectH = nil): QTextDocumentH; cdecl; external Qt4PasLib name 'QTextDocument_create2'; function QTextDocument_clone(handle: QTextDocumentH; parent: QObjectH = nil): QTextDocumentH; cdecl; external Qt4PasLib name 'QTextDocument_clone'; function QTextDocument_isEmpty(handle: QTextDocumentH): Boolean; cdecl; external Qt4PasLib name 'QTextDocument_isEmpty'; procedure QTextDocument_clear(handle: QTextDocumentH); cdecl; external Qt4PasLib name 'QTextDocument_clear'; procedure QTextDocument_setUndoRedoEnabled(handle: QTextDocumentH; enable: Boolean); cdecl; external Qt4PasLib name 'QTextDocument_setUndoRedoEnabled'; function QTextDocument_isUndoRedoEnabled(handle: QTextDocumentH): Boolean; cdecl; external Qt4PasLib name 'QTextDocument_isUndoRedoEnabled'; function QTextDocument_isUndoAvailable(handle: QTextDocumentH): Boolean; cdecl; external Qt4PasLib name 'QTextDocument_isUndoAvailable'; function QTextDocument_isRedoAvailable(handle: QTextDocumentH): Boolean; cdecl; external Qt4PasLib name 'QTextDocument_isRedoAvailable'; function QTextDocument_revision(handle: QTextDocumentH): Integer; cdecl; external Qt4PasLib name 'QTextDocument_revision'; procedure QTextDocument_setDocumentLayout(handle: QTextDocumentH; layout: QAbstractTextDocumentLayoutH); cdecl; external Qt4PasLib name 'QTextDocument_setDocumentLayout'; function QTextDocument_documentLayout(handle: QTextDocumentH): QAbstractTextDocumentLayoutH; cdecl; external Qt4PasLib name 'QTextDocument_documentLayout'; procedure QTextDocument_setMetaInformation(handle: QTextDocumentH; info: QTextDocumentMetaInformation; AnonParam2: PWideString); cdecl; external Qt4PasLib name 'QTextDocument_setMetaInformation'; procedure QTextDocument_metaInformation(handle: QTextDocumentH; retval: PWideString; info: QTextDocumentMetaInformation); cdecl; external Qt4PasLib name 'QTextDocument_metaInformation'; procedure QTextDocument_toHtml(handle: QTextDocumentH; retval: PWideString; encoding: QByteArrayH = nil); cdecl; external Qt4PasLib name 'QTextDocument_toHtml'; procedure QTextDocument_setHtml(handle: QTextDocumentH; html: PWideString); cdecl; external Qt4PasLib name 'QTextDocument_setHtml'; procedure QTextDocument_toPlainText(handle: QTextDocumentH; retval: PWideString); cdecl; external Qt4PasLib name 'QTextDocument_toPlainText'; procedure QTextDocument_setPlainText(handle: QTextDocumentH; text: PWideString); cdecl; external Qt4PasLib name 'QTextDocument_setPlainText'; procedure QTextDocument_characterAt(handle: QTextDocumentH; retval: PWideChar; pos: Integer); cdecl; external Qt4PasLib name 'QTextDocument_characterAt'; procedure QTextDocument_find(handle: QTextDocumentH; retval: QTextCursorH; subString: PWideString; from: Integer = 0; options: QTextDocumentFindFlags = 0); cdecl; external Qt4PasLib name 'QTextDocument_find'; procedure QTextDocument_find(handle: QTextDocumentH; retval: QTextCursorH; subString: PWideString; from: QTextCursorH; options: QTextDocumentFindFlags = 0); cdecl; external Qt4PasLib name 'QTextDocument_find2'; procedure QTextDocument_find(handle: QTextDocumentH; retval: QTextCursorH; expr: QRegExpH; from: Integer = 0; options: QTextDocumentFindFlags = 0); cdecl; external Qt4PasLib name 'QTextDocument_find3'; procedure QTextDocument_find(handle: QTextDocumentH; retval: QTextCursorH; expr: QRegExpH; from: QTextCursorH; options: QTextDocumentFindFlags = 0); cdecl; external Qt4PasLib name 'QTextDocument_find4'; function QTextDocument_frameAt(handle: QTextDocumentH; pos: Integer): QTextFrameH; cdecl; external Qt4PasLib name 'QTextDocument_frameAt'; function QTextDocument_rootFrame(handle: QTextDocumentH): QTextFrameH; cdecl; external Qt4PasLib name 'QTextDocument_rootFrame'; function QTextDocument_object(handle: QTextDocumentH; objectIndex: Integer): QTextObjectH; cdecl; external Qt4PasLib name 'QTextDocument_object'; function QTextDocument_objectForFormat(handle: QTextDocumentH; AnonParam1: QTextFormatH): QTextObjectH; cdecl; external Qt4PasLib name 'QTextDocument_objectForFormat'; procedure QTextDocument_findBlock(handle: QTextDocumentH; retval: QTextBlockH; pos: Integer); cdecl; external Qt4PasLib name 'QTextDocument_findBlock'; procedure QTextDocument_findBlockByNumber(handle: QTextDocumentH; retval: QTextBlockH; blockNumber: Integer); cdecl; external Qt4PasLib name 'QTextDocument_findBlockByNumber'; procedure QTextDocument_findBlockByLineNumber(handle: QTextDocumentH; retval: QTextBlockH; blockNumber: Integer); cdecl; external Qt4PasLib name 'QTextDocument_findBlockByLineNumber'; procedure QTextDocument_begin(handle: QTextDocumentH; retval: QTextBlockH); cdecl; external Qt4PasLib name 'QTextDocument_begin'; procedure QTextDocument_end(handle: QTextDocumentH; retval: QTextBlockH); cdecl; external Qt4PasLib name 'QTextDocument_end'; procedure QTextDocument_firstBlock(handle: QTextDocumentH; retval: QTextBlockH); cdecl; external Qt4PasLib name 'QTextDocument_firstBlock'; procedure QTextDocument_lastBlock(handle: QTextDocumentH; retval: QTextBlockH); cdecl; external Qt4PasLib name 'QTextDocument_lastBlock'; procedure QTextDocument_setPageSize(handle: QTextDocumentH; size: QSizeFH); cdecl; external Qt4PasLib name 'QTextDocument_setPageSize'; procedure QTextDocument_pageSize(handle: QTextDocumentH; retval: QSizeFH); cdecl; external Qt4PasLib name 'QTextDocument_pageSize'; procedure QTextDocument_setDefaultFont(handle: QTextDocumentH; font: QFontH); cdecl; external Qt4PasLib name 'QTextDocument_setDefaultFont'; procedure QTextDocument_defaultFont(handle: QTextDocumentH; retval: QFontH); cdecl; external Qt4PasLib name 'QTextDocument_defaultFont'; function QTextDocument_pageCount(handle: QTextDocumentH): Integer; cdecl; external Qt4PasLib name 'QTextDocument_pageCount'; function QTextDocument_isModified(handle: QTextDocumentH): Boolean; cdecl; external Qt4PasLib name 'QTextDocument_isModified'; procedure QTextDocument_print(handle: QTextDocumentH; printer: QPrinterH); cdecl; external Qt4PasLib name 'QTextDocument_print'; procedure QTextDocument_resource(handle: QTextDocumentH; retval: QVariantH; _type: Integer; name: QUrlH); cdecl; external Qt4PasLib name 'QTextDocument_resource'; procedure QTextDocument_addResource(handle: QTextDocumentH; _type: Integer; name: QUrlH; resource: QVariantH); cdecl; external Qt4PasLib name 'QTextDocument_addResource'; procedure QTextDocument_markContentsDirty(handle: QTextDocumentH; from: Integer; length: Integer); cdecl; external Qt4PasLib name 'QTextDocument_markContentsDirty'; procedure QTextDocument_setUseDesignMetrics(handle: QTextDocumentH; b: Boolean); cdecl; external Qt4PasLib name 'QTextDocument_setUseDesignMetrics'; function QTextDocument_useDesignMetrics(handle: QTextDocumentH): Boolean; cdecl; external Qt4PasLib name 'QTextDocument_useDesignMetrics'; procedure QTextDocument_drawContents(handle: QTextDocumentH; painter: QPainterH; rect: QRectFH = nil); cdecl; external Qt4PasLib name 'QTextDocument_drawContents'; procedure QTextDocument_setTextWidth(handle: QTextDocumentH; width: qreal); cdecl; external Qt4PasLib name 'QTextDocument_setTextWidth'; function QTextDocument_textWidth(handle: QTextDocumentH): qreal; cdecl; external Qt4PasLib name 'QTextDocument_textWidth'; function QTextDocument_idealWidth(handle: QTextDocumentH): qreal; cdecl; external Qt4PasLib name 'QTextDocument_idealWidth'; function QTextDocument_indentWidth(handle: QTextDocumentH): qreal; cdecl; external Qt4PasLib name 'QTextDocument_indentWidth'; procedure QTextDocument_setIndentWidth(handle: QTextDocumentH; width: qreal); cdecl; external Qt4PasLib name 'QTextDocument_setIndentWidth'; function QTextDocument_documentMargin(handle: QTextDocumentH): qreal; cdecl; external Qt4PasLib name 'QTextDocument_documentMargin'; procedure QTextDocument_setDocumentMargin(handle: QTextDocumentH; margin: qreal); cdecl; external Qt4PasLib name 'QTextDocument_setDocumentMargin'; procedure QTextDocument_adjustSize(handle: QTextDocumentH); cdecl; external Qt4PasLib name 'QTextDocument_adjustSize'; procedure QTextDocument_size(handle: QTextDocumentH; retval: QSizeFH); cdecl; external Qt4PasLib name 'QTextDocument_size'; function QTextDocument_blockCount(handle: QTextDocumentH): Integer; cdecl; external Qt4PasLib name 'QTextDocument_blockCount'; function QTextDocument_lineCount(handle: QTextDocumentH): Integer; cdecl; external Qt4PasLib name 'QTextDocument_lineCount'; function QTextDocument_characterCount(handle: QTextDocumentH): Integer; cdecl; external Qt4PasLib name 'QTextDocument_characterCount'; procedure QTextDocument_setDefaultStyleSheet(handle: QTextDocumentH; sheet: PWideString); cdecl; external Qt4PasLib name 'QTextDocument_setDefaultStyleSheet'; procedure QTextDocument_defaultStyleSheet(handle: QTextDocumentH; retval: PWideString); cdecl; external Qt4PasLib name 'QTextDocument_defaultStyleSheet'; procedure QTextDocument_undo(handle: QTextDocumentH; cursor: QTextCursorH); cdecl; external Qt4PasLib name 'QTextDocument_undo'; procedure QTextDocument_redo(handle: QTextDocumentH; cursor: QTextCursorH); cdecl; external Qt4PasLib name 'QTextDocument_redo'; function QTextDocument_maximumBlockCount(handle: QTextDocumentH): Integer; cdecl; external Qt4PasLib name 'QTextDocument_maximumBlockCount'; procedure QTextDocument_setMaximumBlockCount(handle: QTextDocumentH; maximum: Integer); cdecl; external Qt4PasLib name 'QTextDocument_setMaximumBlockCount'; procedure QTextDocument_defaultTextOption(handle: QTextDocumentH; retval: QTextOptionH); cdecl; external Qt4PasLib name 'QTextDocument_defaultTextOption'; procedure QTextDocument_setDefaultTextOption(handle: QTextDocumentH; option: QTextOptionH); cdecl; external Qt4PasLib name 'QTextDocument_setDefaultTextOption'; procedure QTextDocument_undo(handle: QTextDocumentH); cdecl; external Qt4PasLib name 'QTextDocument_undo2'; procedure QTextDocument_redo(handle: QTextDocumentH); cdecl; external Qt4PasLib name 'QTextDocument_redo2'; procedure QTextDocument_setModified(handle: QTextDocumentH; m: Boolean = True); cdecl; external Qt4PasLib name 'QTextDocument_setModified'; function QAbstractTextDocumentLayout_hitTest(handle: QAbstractTextDocumentLayoutH; point: PQtPointF; accuracy: QtHitTestAccuracy): Integer; cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_hitTest'; procedure QAbstractTextDocumentLayout_anchorAt(handle: QAbstractTextDocumentLayoutH; retval: PWideString; pos: PQtPointF); cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_anchorAt'; function QAbstractTextDocumentLayout_pageCount(handle: QAbstractTextDocumentLayoutH): Integer; cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_pageCount'; procedure QAbstractTextDocumentLayout_documentSize(handle: QAbstractTextDocumentLayoutH; retval: QSizeFH); cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_documentSize'; procedure QAbstractTextDocumentLayout_frameBoundingRect(handle: QAbstractTextDocumentLayoutH; retval: QRectFH; frame: QTextFrameH); cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_frameBoundingRect'; procedure QAbstractTextDocumentLayout_blockBoundingRect(handle: QAbstractTextDocumentLayoutH; retval: QRectFH; block: QTextBlockH); cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_blockBoundingRect'; procedure QAbstractTextDocumentLayout_setPaintDevice(handle: QAbstractTextDocumentLayoutH; device: QPaintDeviceH); cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_setPaintDevice'; function QAbstractTextDocumentLayout_paintDevice(handle: QAbstractTextDocumentLayoutH): QPaintDeviceH; cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_paintDevice'; function QAbstractTextDocumentLayout_document(handle: QAbstractTextDocumentLayoutH): QTextDocumentH; cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_document'; procedure QAbstractTextDocumentLayout_registerHandler(handle: QAbstractTextDocumentLayoutH; objectType: Integer; component: QObjectH); cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_registerHandler'; function QAbstractTextDocumentLayout_handlerForObject(handle: QAbstractTextDocumentLayoutH; objectType: Integer): QTextObjectInterfaceH; cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_handlerForObject'; procedure QTextObjectInterface_intrinsicSize(handle: QTextObjectInterfaceH; retval: QSizeFH; doc: QTextDocumentH; posInDocument: Integer; format: QTextFormatH); cdecl; external Qt4PasLib name 'QTextObjectInterface_intrinsicSize'; procedure QTextObjectInterface_drawObject(handle: QTextObjectInterfaceH; painter: QPainterH; rect: QRectFH; doc: QTextDocumentH; posInDocument: Integer; format: QTextFormatH); cdecl; external Qt4PasLib name 'QTextObjectInterface_drawObject'; type QAbstractTextDocumentLayout_update_Event = procedure (AnonParam1: QRectFH) of object cdecl; QAbstractTextDocumentLayout_update2_Event = procedure () of object cdecl; QAbstractTextDocumentLayout_updateBlock_Event = procedure (block: QTextBlockH) of object cdecl; QAbstractTextDocumentLayout_documentSizeChanged_Event = procedure (newSize: QSizeFH) of object cdecl; QAbstractTextDocumentLayout_pageCountChanged_Event = procedure (newPages: Integer) of object cdecl; type QTextLayoutCursorMode = ( // QTextLayout::CursorMode (1) QTextLayoutSkipCharacters, QTextLayoutSkipWords ); type QTextLineEdge = ( // QTextLine::Edge (1) QTextLineLeading, QTextLineTrailing ); QTextLineCursorPosition = ( // QTextLine::CursorPosition (1) QTextLineCursorBetweenCharacters, QTextLineCursorOnCharacter ); function QTextInlineObject_create(): QTextInlineObjectH; cdecl; external Qt4PasLib name 'QTextInlineObject_create'; procedure QTextInlineObject_destroy(handle: QTextInlineObjectH); cdecl; external Qt4PasLib name 'QTextInlineObject_destroy'; function QTextInlineObject_isValid(handle: QTextInlineObjectH): Boolean; cdecl; external Qt4PasLib name 'QTextInlineObject_isValid'; procedure QTextInlineObject_rect(handle: QTextInlineObjectH; retval: QRectFH); cdecl; external Qt4PasLib name 'QTextInlineObject_rect'; function QTextInlineObject_width(handle: QTextInlineObjectH): qreal; cdecl; external Qt4PasLib name 'QTextInlineObject_width'; function QTextInlineObject_ascent(handle: QTextInlineObjectH): qreal; cdecl; external Qt4PasLib name 'QTextInlineObject_ascent'; function QTextInlineObject_descent(handle: QTextInlineObjectH): qreal; cdecl; external Qt4PasLib name 'QTextInlineObject_descent'; function QTextInlineObject_height(handle: QTextInlineObjectH): qreal; cdecl; external Qt4PasLib name 'QTextInlineObject_height'; function QTextInlineObject_textDirection(handle: QTextInlineObjectH): QtLayoutDirection; cdecl; external Qt4PasLib name 'QTextInlineObject_textDirection'; procedure QTextInlineObject_setWidth(handle: QTextInlineObjectH; w: qreal); cdecl; external Qt4PasLib name 'QTextInlineObject_setWidth'; procedure QTextInlineObject_setAscent(handle: QTextInlineObjectH; a: qreal); cdecl; external Qt4PasLib name 'QTextInlineObject_setAscent'; procedure QTextInlineObject_setDescent(handle: QTextInlineObjectH; d: qreal); cdecl; external Qt4PasLib name 'QTextInlineObject_setDescent'; function QTextInlineObject_textPosition(handle: QTextInlineObjectH): Integer; cdecl; external Qt4PasLib name 'QTextInlineObject_textPosition'; function QTextInlineObject_formatIndex(handle: QTextInlineObjectH): Integer; cdecl; external Qt4PasLib name 'QTextInlineObject_formatIndex'; procedure QTextInlineObject_format(handle: QTextInlineObjectH; retval: QTextFormatH); cdecl; external Qt4PasLib name 'QTextInlineObject_format'; function QTextLayout_create(): QTextLayoutH; cdecl; external Qt4PasLib name 'QTextLayout_create'; procedure QTextLayout_destroy(handle: QTextLayoutH); cdecl; external Qt4PasLib name 'QTextLayout_destroy'; function QTextLayout_create(text: PWideString): QTextLayoutH; cdecl; external Qt4PasLib name 'QTextLayout_create2'; function QTextLayout_create(text: PWideString; font: QFontH; paintdevice: QPaintDeviceH = nil): QTextLayoutH; cdecl; external Qt4PasLib name 'QTextLayout_create3'; function QTextLayout_create(b: QTextBlockH): QTextLayoutH; cdecl; external Qt4PasLib name 'QTextLayout_create4'; procedure QTextLayout_setFont(handle: QTextLayoutH; f: QFontH); cdecl; external Qt4PasLib name 'QTextLayout_setFont'; procedure QTextLayout_font(handle: QTextLayoutH; retval: QFontH); cdecl; external Qt4PasLib name 'QTextLayout_font'; procedure QTextLayout_setText(handle: QTextLayoutH; _string: PWideString); cdecl; external Qt4PasLib name 'QTextLayout_setText'; procedure QTextLayout_text(handle: QTextLayoutH; retval: PWideString); cdecl; external Qt4PasLib name 'QTextLayout_text'; procedure QTextLayout_setTextOption(handle: QTextLayoutH; option: QTextOptionH); cdecl; external Qt4PasLib name 'QTextLayout_setTextOption'; procedure QTextLayout_textOption(handle: QTextLayoutH; retval: QTextOptionH); cdecl; external Qt4PasLib name 'QTextLayout_textOption'; procedure QTextLayout_setPreeditArea(handle: QTextLayoutH; position: Integer; text: PWideString); cdecl; external Qt4PasLib name 'QTextLayout_setPreeditArea'; function QTextLayout_preeditAreaPosition(handle: QTextLayoutH): Integer; cdecl; external Qt4PasLib name 'QTextLayout_preeditAreaPosition'; procedure QTextLayout_preeditAreaText(handle: QTextLayoutH; retval: PWideString); cdecl; external Qt4PasLib name 'QTextLayout_preeditAreaText'; procedure QTextLayout_clearAdditionalFormats(handle: QTextLayoutH); cdecl; external Qt4PasLib name 'QTextLayout_clearAdditionalFormats'; procedure QTextLayout_setCacheEnabled(handle: QTextLayoutH; enable: Boolean); cdecl; external Qt4PasLib name 'QTextLayout_setCacheEnabled'; function QTextLayout_cacheEnabled(handle: QTextLayoutH): Boolean; cdecl; external Qt4PasLib name 'QTextLayout_cacheEnabled'; procedure QTextLayout_beginLayout(handle: QTextLayoutH); cdecl; external Qt4PasLib name 'QTextLayout_beginLayout'; procedure QTextLayout_endLayout(handle: QTextLayoutH); cdecl; external Qt4PasLib name 'QTextLayout_endLayout'; procedure QTextLayout_clearLayout(handle: QTextLayoutH); cdecl; external Qt4PasLib name 'QTextLayout_clearLayout'; procedure QTextLayout_createLine(handle: QTextLayoutH; retval: QTextLineH); cdecl; external Qt4PasLib name 'QTextLayout_createLine'; function QTextLayout_lineCount(handle: QTextLayoutH): Integer; cdecl; external Qt4PasLib name 'QTextLayout_lineCount'; procedure QTextLayout_lineAt(handle: QTextLayoutH; retval: QTextLineH; i: Integer); cdecl; external Qt4PasLib name 'QTextLayout_lineAt'; procedure QTextLayout_lineForTextPosition(handle: QTextLayoutH; retval: QTextLineH; pos: Integer); cdecl; external Qt4PasLib name 'QTextLayout_lineForTextPosition'; function QTextLayout_isValidCursorPosition(handle: QTextLayoutH; pos: Integer): Boolean; cdecl; external Qt4PasLib name 'QTextLayout_isValidCursorPosition'; function QTextLayout_nextCursorPosition(handle: QTextLayoutH; oldPos: Integer; mode: QTextLayoutCursorMode = QTextLayoutSkipCharacters): Integer; cdecl; external Qt4PasLib name 'QTextLayout_nextCursorPosition'; function QTextLayout_previousCursorPosition(handle: QTextLayoutH; oldPos: Integer; mode: QTextLayoutCursorMode = QTextLayoutSkipCharacters): Integer; cdecl; external Qt4PasLib name 'QTextLayout_previousCursorPosition'; procedure QTextLayout_drawCursor(handle: QTextLayoutH; p: QPainterH; pos: PQtPointF; cursorPosition: Integer); cdecl; external Qt4PasLib name 'QTextLayout_drawCursor'; procedure QTextLayout_drawCursor(handle: QTextLayoutH; p: QPainterH; pos: PQtPointF; cursorPosition: Integer; width: Integer); cdecl; external Qt4PasLib name 'QTextLayout_drawCursor2'; procedure QTextLayout_position(handle: QTextLayoutH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QTextLayout_position'; procedure QTextLayout_setPosition(handle: QTextLayoutH; p: PQtPointF); cdecl; external Qt4PasLib name 'QTextLayout_setPosition'; procedure QTextLayout_boundingRect(handle: QTextLayoutH; retval: QRectFH); cdecl; external Qt4PasLib name 'QTextLayout_boundingRect'; function QTextLayout_minimumWidth(handle: QTextLayoutH): qreal; cdecl; external Qt4PasLib name 'QTextLayout_minimumWidth'; function QTextLayout_maximumWidth(handle: QTextLayoutH): qreal; cdecl; external Qt4PasLib name 'QTextLayout_maximumWidth'; procedure QTextLayout_setFlags(handle: QTextLayoutH; flags: Integer); cdecl; external Qt4PasLib name 'QTextLayout_setFlags'; function QTextLine_create(): QTextLineH; cdecl; external Qt4PasLib name 'QTextLine_create'; procedure QTextLine_destroy(handle: QTextLineH); cdecl; external Qt4PasLib name 'QTextLine_destroy'; function QTextLine_isValid(handle: QTextLineH): Boolean; cdecl; external Qt4PasLib name 'QTextLine_isValid'; procedure QTextLine_rect(handle: QTextLineH; retval: QRectFH); cdecl; external Qt4PasLib name 'QTextLine_rect'; function QTextLine_x(handle: QTextLineH): qreal; cdecl; external Qt4PasLib name 'QTextLine_x'; function QTextLine_y(handle: QTextLineH): qreal; cdecl; external Qt4PasLib name 'QTextLine_y'; function QTextLine_width(handle: QTextLineH): qreal; cdecl; external Qt4PasLib name 'QTextLine_width'; function QTextLine_ascent(handle: QTextLineH): qreal; cdecl; external Qt4PasLib name 'QTextLine_ascent'; function QTextLine_descent(handle: QTextLineH): qreal; cdecl; external Qt4PasLib name 'QTextLine_descent'; function QTextLine_height(handle: QTextLineH): qreal; cdecl; external Qt4PasLib name 'QTextLine_height'; function QTextLine_naturalTextWidth(handle: QTextLineH): qreal; cdecl; external Qt4PasLib name 'QTextLine_naturalTextWidth'; procedure QTextLine_naturalTextRect(handle: QTextLineH; retval: QRectFH); cdecl; external Qt4PasLib name 'QTextLine_naturalTextRect'; function QTextLine_cursorToX(handle: QTextLineH; cursorPos: PInteger; edge: QTextLineEdge = QTextLineLeading): qreal; cdecl; external Qt4PasLib name 'QTextLine_cursorToX'; function QTextLine_cursorToX(handle: QTextLineH; cursorPos: Integer; edge: QTextLineEdge = QTextLineLeading): qreal; cdecl; external Qt4PasLib name 'QTextLine_cursorToX2'; function QTextLine_xToCursor(handle: QTextLineH; x: qreal; AnonParam2: QTextLineCursorPosition = QTextLineCursorBetweenCharacters): Integer; cdecl; external Qt4PasLib name 'QTextLine_xToCursor'; procedure QTextLine_setLineWidth(handle: QTextLineH; width: qreal); cdecl; external Qt4PasLib name 'QTextLine_setLineWidth'; procedure QTextLine_setNumColumns(handle: QTextLineH; columns: Integer); cdecl; external Qt4PasLib name 'QTextLine_setNumColumns'; procedure QTextLine_setNumColumns(handle: QTextLineH; columns: Integer; alignmentWidth: qreal); cdecl; external Qt4PasLib name 'QTextLine_setNumColumns2'; procedure QTextLine_setPosition(handle: QTextLineH; pos: PQtPointF); cdecl; external Qt4PasLib name 'QTextLine_setPosition'; procedure QTextLine_position(handle: QTextLineH; retval: PQtPointF); cdecl; external Qt4PasLib name 'QTextLine_position'; function QTextLine_textStart(handle: QTextLineH): Integer; cdecl; external Qt4PasLib name 'QTextLine_textStart'; function QTextLine_textLength(handle: QTextLineH): Integer; cdecl; external Qt4PasLib name 'QTextLine_textLength'; function QTextLine_lineNumber(handle: QTextLineH): Integer; cdecl; external Qt4PasLib name 'QTextLine_lineNumber'; procedure QTextObject_format(handle: QTextObjectH; retval: QTextFormatH); cdecl; external Qt4PasLib name 'QTextObject_format'; function QTextObject_formatIndex(handle: QTextObjectH): Integer; cdecl; external Qt4PasLib name 'QTextObject_formatIndex'; function QTextObject_document(handle: QTextObjectH): QTextDocumentH; cdecl; external Qt4PasLib name 'QTextObject_document'; function QTextObject_objectIndex(handle: QTextObjectH): Integer; cdecl; external Qt4PasLib name 'QTextObject_objectIndex'; function QTextFrame_create(doc: QTextDocumentH): QTextFrameH; cdecl; external Qt4PasLib name 'QTextFrame_create'; procedure QTextFrame_destroy(handle: QTextFrameH); cdecl; external Qt4PasLib name 'QTextFrame_destroy'; procedure QTextFrame_setFrameFormat(handle: QTextFrameH; format: QTextFrameFormatH); cdecl; external Qt4PasLib name 'QTextFrame_setFrameFormat'; procedure QTextFrame_frameFormat(handle: QTextFrameH; retval: QTextFrameFormatH); cdecl; external Qt4PasLib name 'QTextFrame_frameFormat'; procedure QTextFrame_firstCursorPosition(handle: QTextFrameH; retval: QTextCursorH); cdecl; external Qt4PasLib name 'QTextFrame_firstCursorPosition'; procedure QTextFrame_lastCursorPosition(handle: QTextFrameH; retval: QTextCursorH); cdecl; external Qt4PasLib name 'QTextFrame_lastCursorPosition'; function QTextFrame_firstPosition(handle: QTextFrameH): Integer; cdecl; external Qt4PasLib name 'QTextFrame_firstPosition'; function QTextFrame_lastPosition(handle: QTextFrameH): Integer; cdecl; external Qt4PasLib name 'QTextFrame_lastPosition'; procedure QTextFrame_childFrames(handle: QTextFrameH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QTextFrame_childFrames'; function QTextFrame_parentFrame(handle: QTextFrameH): QTextFrameH; cdecl; external Qt4PasLib name 'QTextFrame_parentFrame'; function QTextBlock_create(): QTextBlockH; cdecl; external Qt4PasLib name 'QTextBlock_create'; procedure QTextBlock_destroy(handle: QTextBlockH); cdecl; external Qt4PasLib name 'QTextBlock_destroy'; function QTextBlock_create(o: QTextBlockH): QTextBlockH; cdecl; external Qt4PasLib name 'QTextBlock_create2'; function QTextBlock_isValid(handle: QTextBlockH): Boolean; cdecl; external Qt4PasLib name 'QTextBlock_isValid'; function QTextBlock_position(handle: QTextBlockH): Integer; cdecl; external Qt4PasLib name 'QTextBlock_position'; function QTextBlock_length(handle: QTextBlockH): Integer; cdecl; external Qt4PasLib name 'QTextBlock_length'; function QTextBlock_contains(handle: QTextBlockH; position: Integer): Boolean; cdecl; external Qt4PasLib name 'QTextBlock_contains'; function QTextBlock_layout(handle: QTextBlockH): QTextLayoutH; cdecl; external Qt4PasLib name 'QTextBlock_layout'; procedure QTextBlock_clearLayout(handle: QTextBlockH); cdecl; external Qt4PasLib name 'QTextBlock_clearLayout'; procedure QTextBlock_blockFormat(handle: QTextBlockH; retval: QTextBlockFormatH); cdecl; external Qt4PasLib name 'QTextBlock_blockFormat'; function QTextBlock_blockFormatIndex(handle: QTextBlockH): Integer; cdecl; external Qt4PasLib name 'QTextBlock_blockFormatIndex'; procedure QTextBlock_charFormat(handle: QTextBlockH; retval: QTextCharFormatH); cdecl; external Qt4PasLib name 'QTextBlock_charFormat'; function QTextBlock_charFormatIndex(handle: QTextBlockH): Integer; cdecl; external Qt4PasLib name 'QTextBlock_charFormatIndex'; procedure QTextBlock_text(handle: QTextBlockH; retval: PWideString); cdecl; external Qt4PasLib name 'QTextBlock_text'; function QTextBlock_document(handle: QTextBlockH): QTextDocumentH; cdecl; external Qt4PasLib name 'QTextBlock_document'; function QTextBlock_textList(handle: QTextBlockH): QTextListH; cdecl; external Qt4PasLib name 'QTextBlock_textList'; function QTextBlock_userData(handle: QTextBlockH): QTextBlockUserDataH; cdecl; external Qt4PasLib name 'QTextBlock_userData'; procedure QTextBlock_setUserData(handle: QTextBlockH; data: QTextBlockUserDataH); cdecl; external Qt4PasLib name 'QTextBlock_setUserData'; function QTextBlock_userState(handle: QTextBlockH): Integer; cdecl; external Qt4PasLib name 'QTextBlock_userState'; procedure QTextBlock_setUserState(handle: QTextBlockH; state: Integer); cdecl; external Qt4PasLib name 'QTextBlock_setUserState'; function QTextBlock_revision(handle: QTextBlockH): Integer; cdecl; external Qt4PasLib name 'QTextBlock_revision'; procedure QTextBlock_setRevision(handle: QTextBlockH; rev: Integer); cdecl; external Qt4PasLib name 'QTextBlock_setRevision'; function QTextBlock_isVisible(handle: QTextBlockH): Boolean; cdecl; external Qt4PasLib name 'QTextBlock_isVisible'; procedure QTextBlock_setVisible(handle: QTextBlockH; visible: Boolean); cdecl; external Qt4PasLib name 'QTextBlock_setVisible'; function QTextBlock_blockNumber(handle: QTextBlockH): Integer; cdecl; external Qt4PasLib name 'QTextBlock_blockNumber'; function QTextBlock_firstLineNumber(handle: QTextBlockH): Integer; cdecl; external Qt4PasLib name 'QTextBlock_firstLineNumber'; procedure QTextBlock_setLineCount(handle: QTextBlockH; count: Integer); cdecl; external Qt4PasLib name 'QTextBlock_setLineCount'; function QTextBlock_lineCount(handle: QTextBlockH): Integer; cdecl; external Qt4PasLib name 'QTextBlock_lineCount'; procedure QTextBlock_next(handle: QTextBlockH; retval: QTextBlockH); cdecl; external Qt4PasLib name 'QTextBlock_next'; procedure QTextBlock_previous(handle: QTextBlockH; retval: QTextBlockH); cdecl; external Qt4PasLib name 'QTextBlock_previous'; function QTextBlock_fragmentIndex(handle: QTextBlockH): Integer; cdecl; external Qt4PasLib name 'QTextBlock_fragmentIndex'; function QTextFragment_create(): QTextFragmentH; cdecl; external Qt4PasLib name 'QTextFragment_create'; procedure QTextFragment_destroy(handle: QTextFragmentH); cdecl; external Qt4PasLib name 'QTextFragment_destroy'; function QTextFragment_create(o: QTextFragmentH): QTextFragmentH; cdecl; external Qt4PasLib name 'QTextFragment_create2'; function QTextFragment_isValid(handle: QTextFragmentH): Boolean; cdecl; external Qt4PasLib name 'QTextFragment_isValid'; function QTextFragment_position(handle: QTextFragmentH): Integer; cdecl; external Qt4PasLib name 'QTextFragment_position'; function QTextFragment_length(handle: QTextFragmentH): Integer; cdecl; external Qt4PasLib name 'QTextFragment_length'; function QTextFragment_contains(handle: QTextFragmentH; position: Integer): Boolean; cdecl; external Qt4PasLib name 'QTextFragment_contains'; procedure QTextFragment_charFormat(handle: QTextFragmentH; retval: QTextCharFormatH); cdecl; external Qt4PasLib name 'QTextFragment_charFormat'; function QTextFragment_charFormatIndex(handle: QTextFragmentH): Integer; cdecl; external Qt4PasLib name 'QTextFragment_charFormatIndex'; procedure QTextFragment_text(handle: QTextFragmentH; retval: PWideString); cdecl; external Qt4PasLib name 'QTextFragment_text'; type QIconMode = ( // QIcon::Mode (1) QIconNormal, QIconDisabled, QIconActive, QIconSelected ); QIconState = ( // QIcon::State (1) QIconOn, QIconOff ); function QIcon_create(): QIconH; cdecl; external Qt4PasLib name 'QIcon_create'; procedure QIcon_destroy(handle: QIconH); cdecl; external Qt4PasLib name 'QIcon_destroy'; function QIcon_create(pixmap: QPixmapH): QIconH; cdecl; external Qt4PasLib name 'QIcon_create2'; function QIcon_create(other: QIconH): QIconH; cdecl; external Qt4PasLib name 'QIcon_create3'; function QIcon_create(fileName: PWideString): QIconH; cdecl; external Qt4PasLib name 'QIcon_create4'; function QIcon_create(engine: QIconEngineH): QIconH; cdecl; external Qt4PasLib name 'QIcon_create5'; function QIcon_create(engine: QIconEngineV2H): QIconH; cdecl; external Qt4PasLib name 'QIcon_create6'; procedure QIcon_pixmap(handle: QIconH; retval: QPixmapH; size: PSize; mode: QIconMode = QIconNormal; state: QIconState = QIconOff); cdecl; external Qt4PasLib name 'QIcon_pixmap'; procedure QIcon_pixmap(handle: QIconH; retval: QPixmapH; w: Integer; h: Integer; mode: QIconMode = QIconNormal; state: QIconState = QIconOff); cdecl; external Qt4PasLib name 'QIcon_pixmap2'; procedure QIcon_pixmap(handle: QIconH; retval: QPixmapH; extent: Integer; mode: QIconMode = QIconNormal; state: QIconState = QIconOff); cdecl; external Qt4PasLib name 'QIcon_pixmap3'; procedure QIcon_actualSize(handle: QIconH; retval: PSize; size: PSize; mode: QIconMode = QIconNormal; state: QIconState = QIconOff); cdecl; external Qt4PasLib name 'QIcon_actualSize'; procedure QIcon_paint(handle: QIconH; painter: QPainterH; rect: PRect; alignment: QtAlignment = QtAlignCenter; mode: QIconMode = QIconNormal; state: QIconState = QIconOff); cdecl; external Qt4PasLib name 'QIcon_paint'; procedure QIcon_paint(handle: QIconH; painter: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; alignment: QtAlignment = QtAlignCenter; mode: QIconMode = QIconNormal; state: QIconState = QIconOff); cdecl; external Qt4PasLib name 'QIcon_paint2'; function QIcon_isNull(handle: QIconH): Boolean; cdecl; external Qt4PasLib name 'QIcon_isNull'; function QIcon_isDetached(handle: QIconH): Boolean; cdecl; external Qt4PasLib name 'QIcon_isDetached'; procedure QIcon_detach(handle: QIconH); cdecl; external Qt4PasLib name 'QIcon_detach'; function QIcon_serialNumber(handle: QIconH): Integer; cdecl; external Qt4PasLib name 'QIcon_serialNumber'; function QIcon_cacheKey(handle: QIconH): int64; cdecl; external Qt4PasLib name 'QIcon_cacheKey'; procedure QIcon_addPixmap(handle: QIconH; pixmap: QPixmapH; mode: QIconMode = QIconNormal; state: QIconState = QIconOff); cdecl; external Qt4PasLib name 'QIcon_addPixmap'; procedure QIcon_addFile(handle: QIconH; fileName: PWideString; size: PSize = nil; mode: QIconMode = QIconNormal; state: QIconState = QIconOff); cdecl; external Qt4PasLib name 'QIcon_addFile'; {$ifdef BINUX } type QPixmapShareMode = ( // QPixmap::ShareMode (1) QPixmapImplicitlyShared, QPixmapExplicitlyShared ); {$endif} {$ifdef MSWINDOWS } type QPixmapHBitmapFormat = ( // QPixmap::HBitmapFormat (1) QPixmapNoAlpha, QPixmapPremultipliedAlpha, QPixmapAlpha ); {$endif} function QPixmap_create(): QPixmapH; cdecl; external Qt4PasLib name 'QPixmap_create'; procedure QPixmap_destroy(handle: QPixmapH); cdecl; external Qt4PasLib name 'QPixmap_destroy'; function QPixmap_create(w: Integer; h: Integer): QPixmapH; cdecl; external Qt4PasLib name 'QPixmap_create2'; function QPixmap_create(AnonParam1: PSize): QPixmapH; cdecl; external Qt4PasLib name 'QPixmap_create3'; function QPixmap_create(fileName: PWideString; format: PAnsiChar = nil; flags: QtImageConversionFlags = QtAutoColor): QPixmapH; cdecl; external Qt4PasLib name 'QPixmap_create4'; function QPixmap_create(xpm: PAnsiChar): QPixmapH; cdecl; external Qt4PasLib name 'QPixmap_create5'; function QPixmap_create(AnonParam1: QPixmapH): QPixmapH; cdecl; external Qt4PasLib name 'QPixmap_create6'; function QPixmap_isNull(handle: QPixmapH): Boolean; cdecl; external Qt4PasLib name 'QPixmap_isNull'; function QPixmap_devType(handle: QPixmapH): Integer; cdecl; external Qt4PasLib name 'QPixmap_devType'; function QPixmap_width(handle: QPixmapH): Integer; cdecl; external Qt4PasLib name 'QPixmap_width'; function QPixmap_height(handle: QPixmapH): Integer; cdecl; external Qt4PasLib name 'QPixmap_height'; procedure QPixmap_size(handle: QPixmapH; retval: PSize); cdecl; external Qt4PasLib name 'QPixmap_size'; procedure QPixmap_rect(handle: QPixmapH; retval: PRect); cdecl; external Qt4PasLib name 'QPixmap_rect'; function QPixmap_depth(handle: QPixmapH): Integer; cdecl; external Qt4PasLib name 'QPixmap_depth'; function QPixmap_defaultDepth(): Integer; cdecl; external Qt4PasLib name 'QPixmap_defaultDepth'; procedure QPixmap_fill(handle: QPixmapH; fillColor: PQColor); cdecl; external Qt4PasLib name 'QPixmap_fill'; procedure QPixmap_fill(handle: QPixmapH; widget: QWidgetH; ofs: PQtPoint); cdecl; external Qt4PasLib name 'QPixmap_fill2'; procedure QPixmap_fill(handle: QPixmapH; widget: QWidgetH; xofs: Integer; yofs: Integer); cdecl; external Qt4PasLib name 'QPixmap_fill3'; procedure QPixmap_mask(handle: QPixmapH; retval: QBitmapH); cdecl; external Qt4PasLib name 'QPixmap_mask'; procedure QPixmap_setMask(handle: QPixmapH; AnonParam1: QBitmapH); cdecl; external Qt4PasLib name 'QPixmap_setMask'; procedure QPixmap_alphaChannel(handle: QPixmapH; retval: QPixmapH); cdecl; external Qt4PasLib name 'QPixmap_alphaChannel'; procedure QPixmap_setAlphaChannel(handle: QPixmapH; AnonParam1: QPixmapH); cdecl; external Qt4PasLib name 'QPixmap_setAlphaChannel'; function QPixmap_hasAlpha(handle: QPixmapH): Boolean; cdecl; external Qt4PasLib name 'QPixmap_hasAlpha'; function QPixmap_hasAlphaChannel(handle: QPixmapH): Boolean; cdecl; external Qt4PasLib name 'QPixmap_hasAlphaChannel'; procedure QPixmap_createHeuristicMask(handle: QPixmapH; retval: QBitmapH; clipTight: Boolean = True); cdecl; external Qt4PasLib name 'QPixmap_createHeuristicMask'; procedure QPixmap_createMaskFromColor(handle: QPixmapH; retval: QBitmapH; maskColor: PQColor); cdecl; external Qt4PasLib name 'QPixmap_createMaskFromColor'; procedure QPixmap_createMaskFromColor(handle: QPixmapH; retval: QBitmapH; maskColor: PQColor; mode: QtMaskMode); cdecl; external Qt4PasLib name 'QPixmap_createMaskFromColor2'; procedure QPixmap_grabWindow(retval: QPixmapH; AnonParam1: LongWord; x: Integer = 0; y: Integer = 0; w: Integer = -1; h: Integer = -1); cdecl; external Qt4PasLib name 'QPixmap_grabWindow'; procedure QPixmap_grabWidget(retval: QPixmapH; widget: QWidgetH; rect: PRect); cdecl; external Qt4PasLib name 'QPixmap_grabWidget'; procedure QPixmap_grabWidget(retval: QPixmapH; widget: QWidgetH; x: Integer = 0; y: Integer = 0; w: Integer = -1; h: Integer = -1); cdecl; external Qt4PasLib name 'QPixmap_grabWidget2'; procedure QPixmap_scaled(handle: QPixmapH; retval: QPixmapH; w: Integer; h: Integer; aspectMode: QtAspectRatioMode = QtIgnoreAspectRatio; mode: QtTransformationMode = QtFastTransformation); cdecl; external Qt4PasLib name 'QPixmap_scaled'; procedure QPixmap_scaled(handle: QPixmapH; retval: QPixmapH; s: PSize; aspectMode: QtAspectRatioMode = QtIgnoreAspectRatio; mode: QtTransformationMode = QtFastTransformation); cdecl; external Qt4PasLib name 'QPixmap_scaled2'; procedure QPixmap_scaledToWidth(handle: QPixmapH; retval: QPixmapH; w: Integer; mode: QtTransformationMode = QtFastTransformation); cdecl; external Qt4PasLib name 'QPixmap_scaledToWidth'; procedure QPixmap_scaledToHeight(handle: QPixmapH; retval: QPixmapH; h: Integer; mode: QtTransformationMode = QtFastTransformation); cdecl; external Qt4PasLib name 'QPixmap_scaledToHeight'; procedure QPixmap_transformed(handle: QPixmapH; retval: QPixmapH; AnonParam1: QMatrixH; mode: QtTransformationMode = QtFastTransformation); cdecl; external Qt4PasLib name 'QPixmap_transformed'; procedure QPixmap_trueMatrix(retval: QMatrixH; m: QMatrixH; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QPixmap_trueMatrix'; procedure QPixmap_transformed(handle: QPixmapH; retval: QPixmapH; AnonParam1: QTransformH; mode: QtTransformationMode = QtFastTransformation); cdecl; external Qt4PasLib name 'QPixmap_transformed2'; procedure QPixmap_trueMatrix(retval: QTransformH; m: QTransformH; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QPixmap_trueMatrix2'; procedure QPixmap_toImage(handle: QPixmapH; retval: QImageH); cdecl; external Qt4PasLib name 'QPixmap_toImage'; procedure QPixmap_fromImage(retval: QPixmapH; image: QImageH; flags: QtImageConversionFlags = QtAutoColor); cdecl; external Qt4PasLib name 'QPixmap_fromImage'; function QPixmap_load(handle: QPixmapH; fileName: PWideString; format: PAnsiChar = nil; flags: QtImageConversionFlags = QtAutoColor): Boolean; cdecl; external Qt4PasLib name 'QPixmap_load'; function QPixmap_loadFromData(handle: QPixmapH; buf: PByte; len: LongWord; format: PAnsiChar = nil; flags: QtImageConversionFlags = QtAutoColor): Boolean; cdecl; external Qt4PasLib name 'QPixmap_loadFromData'; function QPixmap_loadFromData(handle: QPixmapH; data: QByteArrayH; format: PAnsiChar = nil; flags: QtImageConversionFlags = QtAutoColor): Boolean; cdecl; external Qt4PasLib name 'QPixmap_loadFromData2'; function QPixmap_save(handle: QPixmapH; fileName: PWideString; format: PAnsiChar = nil; quality: Integer = -1): Boolean; cdecl; external Qt4PasLib name 'QPixmap_save'; function QPixmap_save(handle: QPixmapH; device: QIODeviceH; format: PAnsiChar = nil; quality: Integer = -1): Boolean; cdecl; external Qt4PasLib name 'QPixmap_save2'; procedure QPixmap_copy(handle: QPixmapH; retval: QPixmapH; x: Integer; y: Integer; width: Integer; height: Integer); cdecl; external Qt4PasLib name 'QPixmap_copy'; procedure QPixmap_copy(handle: QPixmapH; retval: QPixmapH; rect: PRect = nil); cdecl; external Qt4PasLib name 'QPixmap_copy2'; function QPixmap_serialNumber(handle: QPixmapH): Integer; cdecl; external Qt4PasLib name 'QPixmap_serialNumber'; function QPixmap_cacheKey(handle: QPixmapH): int64; cdecl; external Qt4PasLib name 'QPixmap_cacheKey'; function QPixmap_isDetached(handle: QPixmapH): Boolean; cdecl; external Qt4PasLib name 'QPixmap_isDetached'; procedure QPixmap_detach(handle: QPixmapH); cdecl; external Qt4PasLib name 'QPixmap_detach'; function QPixmap_isQBitmap(handle: QPixmapH): Boolean; cdecl; external Qt4PasLib name 'QPixmap_isQBitmap'; {$ifdef BINUX } procedure QPixmap_fromX11Pixmap(retval: QPixmapH; pixmap: QtHANDLE; mode: QPixmapShareMode = QPixmapImplicitlyShared); cdecl; external Qt4PasLib name 'QPixmap_fromX11Pixmap'; function QPixmap_x11SetDefaultScreen(screen: Integer): Integer; cdecl; external Qt4PasLib name 'QPixmap_x11SetDefaultScreen'; procedure QPixmap_x11SetScreen(handle: QPixmapH; screen: Integer); cdecl; external Qt4PasLib name 'QPixmap_x11SetScreen'; function QPixmap_x11Info(handle: QPixmapH): QX11InfoH; cdecl; external Qt4PasLib name 'QPixmap_x11Info'; function QPixmap_x11PictureHandle(handle: QPixmapH): QtHANDLE; cdecl; external Qt4PasLib name 'QPixmap_x11PictureHandle'; {$endif} {$ifdef BINUX or QTOPIA } function QPixmap_handle(handle: QPixmapH): QtHANDLE; cdecl; external Qt4PasLib name 'QPixmap_handle'; {$endif} function QPixmap_paintEngine(handle: QPixmapH): QPaintEngineH; cdecl; external Qt4PasLib name 'QPixmap_paintEngine'; {$ifdef MSWINDOWS } function QPixmap_toWinHBITMAP(handle: QPixmapH; format: QPixmapHBitmapFormat = QPixmapNoAlpha): QHBITMAP; cdecl; external Qt4PasLib name 'QPixmap_toWinHBITMAP'; procedure QPixmap_fromWinHBITMAP(retval: QPixmapH; hbitmap: QHBITMAP; format: QPixmapHBitmapFormat = QPixmapNoAlpha); cdecl; external Qt4PasLib name 'QPixmap_fromWinHBITMAP'; {$endif} {$ifdef DARWIN } function QPixmap_toMacCGImageRef(handle: QPixmapH): CGImageRef; cdecl; external Qt4PasLib name 'QPixmap_toMacCGImageRef'; procedure QPixmap_fromMacCGImageRef(retval: QPixmapH; image: CGImageRef); cdecl; external Qt4PasLib name 'QPixmap_fromMacCGImageRef'; function QPixmap_macQDHandle(handle: QPixmapH): QtHANDLE; cdecl; external Qt4PasLib name 'QPixmap_macQDHandle'; function QPixmap_macQDAlphaHandle(handle: QPixmapH): QtHANDLE; cdecl; external Qt4PasLib name 'QPixmap_macQDAlphaHandle'; function QPixmap_macCGHandle(handle: QPixmapH): QtHANDLE; cdecl; external Qt4PasLib name 'QPixmap_macCGHandle'; {$endif} {$ifdef QTOPIA } function QPixmap_qwsBits(handle: QPixmapH): PByte; cdecl; external Qt4PasLib name 'QPixmap_qwsBits'; function QPixmap_qwsBytesPerLine(handle: QPixmapH): Integer; cdecl; external Qt4PasLib name 'QPixmap_qwsBytesPerLine'; function QPixmap_clut(handle: QPixmapH): PQRgb; cdecl; external Qt4PasLib name 'QPixmap_clut'; function QPixmap_numCols(handle: QPixmapH): Integer; cdecl; external Qt4PasLib name 'QPixmap_numCols'; {$endif} type QImageInvertMode = ( // QImage::InvertMode (1) QImageInvertRgb, QImageInvertRgba ); QImageFormat = ( // QImage::Format (1) QImageFormat_Invalid, QImageFormat_Mono, QImageFormat_MonoLSB, QImageFormat_Indexed8, QImageFormat_RGB32, QImageFormat_ARGB32, QImageFormat_ARGB32_Premultiplied, QImageFormat_RGB16, QImageFormat_ARGB8565_Premultiplied, QImageFormat_RGB666, QImageFormat_ARGB6666_Premultiplied, QImageFormat_RGB555, QImageFormat_ARGB8555_Premultiplied, QImageFormat_RGB888, QImageFormat_RGB444, QImageFormat_ARGB4444_Premultiplied, QImageNImageFormats ); function QImage_create(): QImageH; cdecl; external Qt4PasLib name 'QImage_create'; procedure QImage_destroy(handle: QImageH); cdecl; external Qt4PasLib name 'QImage_destroy'; function QImage_create(size: PSize; format: QImageFormat): QImageH; cdecl; external Qt4PasLib name 'QImage_create2'; function QImage_create(width: Integer; height: Integer; format: QImageFormat): QImageH; cdecl; external Qt4PasLib name 'QImage_create3'; function QImage_create(data: PByte; width: Integer; height: Integer; format: QImageFormat): QImageH; cdecl; external Qt4PasLib name 'QImage_create4'; function QImage_create(data: PByte; width: Integer; height: Integer; bytesPerLine: Integer; format: QImageFormat): QImageH; cdecl; external Qt4PasLib name 'QImage_create6'; function QImage_create(xpm: PAnsiChar): QImageH; cdecl; external Qt4PasLib name 'QImage_create8'; function QImage_create(fileName: PWideString; format: PAnsiChar = nil): QImageH; cdecl; external Qt4PasLib name 'QImage_create9'; function QImage_create(fileName: PAnsiChar; format: PAnsiChar = nil): QImageH; cdecl; external Qt4PasLib name 'QImage_create10'; function QImage_create(AnonParam1: QImageH): QImageH; cdecl; external Qt4PasLib name 'QImage_create11'; function QImage_isNull(handle: QImageH): Boolean; cdecl; external Qt4PasLib name 'QImage_isNull'; function QImage_devType(handle: QImageH): Integer; cdecl; external Qt4PasLib name 'QImage_devType'; procedure QImage_detach(handle: QImageH); cdecl; external Qt4PasLib name 'QImage_detach'; function QImage_isDetached(handle: QImageH): Boolean; cdecl; external Qt4PasLib name 'QImage_isDetached'; procedure QImage_copy(handle: QImageH; retval: QImageH; rect: PRect = nil); cdecl; external Qt4PasLib name 'QImage_copy'; procedure QImage_copy(handle: QImageH; retval: QImageH; x: Integer; y: Integer; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QImage_copy2'; function QImage_format(handle: QImageH): QImageFormat; cdecl; external Qt4PasLib name 'QImage_format'; procedure QImage_convertToFormat(handle: QImageH; retval: QImageH; f: QImageFormat; flags: QtImageConversionFlags = QtAutoColor); cdecl; external Qt4PasLib name 'QImage_convertToFormat'; function QImage_width(handle: QImageH): Integer; cdecl; external Qt4PasLib name 'QImage_width'; function QImage_height(handle: QImageH): Integer; cdecl; external Qt4PasLib name 'QImage_height'; procedure QImage_size(handle: QImageH; retval: PSize); cdecl; external Qt4PasLib name 'QImage_size'; procedure QImage_rect(handle: QImageH; retval: PRect); cdecl; external Qt4PasLib name 'QImage_rect'; function QImage_depth(handle: QImageH): Integer; cdecl; external Qt4PasLib name 'QImage_depth'; function QImage_numColors(handle: QImageH): Integer; cdecl; external Qt4PasLib name 'QImage_numColors'; function QImage_color(handle: QImageH; i: Integer): QRgb; cdecl; external Qt4PasLib name 'QImage_color'; procedure QImage_setColor(handle: QImageH; i: Integer; c: QRgb); cdecl; external Qt4PasLib name 'QImage_setColor'; procedure QImage_setNumColors(handle: QImageH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QImage_setNumColors'; function QImage_allGray(handle: QImageH): Boolean; cdecl; external Qt4PasLib name 'QImage_allGray'; function QImage_isGrayscale(handle: QImageH): Boolean; cdecl; external Qt4PasLib name 'QImage_isGrayscale'; function QImage_bits(handle: QImageH): PByte; cdecl; external Qt4PasLib name 'QImage_bits'; function QImage_numBytes(handle: QImageH): Integer; cdecl; external Qt4PasLib name 'QImage_numBytes'; function QImage_scanLine(handle: QImageH; AnonParam1: Integer): PByte; cdecl; external Qt4PasLib name 'QImage_scanLine'; function QImage_bytesPerLine(handle: QImageH): Integer; cdecl; external Qt4PasLib name 'QImage_bytesPerLine'; function QImage_valid(handle: QImageH; x: Integer; y: Integer): Boolean; cdecl; external Qt4PasLib name 'QImage_valid'; function QImage_valid(handle: QImageH; pt: PQtPoint): Boolean; cdecl; external Qt4PasLib name 'QImage_valid2'; function QImage_pixelIndex(handle: QImageH; x: Integer; y: Integer): Integer; cdecl; external Qt4PasLib name 'QImage_pixelIndex'; function QImage_pixelIndex(handle: QImageH; pt: PQtPoint): Integer; cdecl; external Qt4PasLib name 'QImage_pixelIndex2'; function QImage_pixel(handle: QImageH; x: Integer; y: Integer): QRgb; cdecl; external Qt4PasLib name 'QImage_pixel'; function QImage_pixel(handle: QImageH; pt: PQtPoint): QRgb; cdecl; external Qt4PasLib name 'QImage_pixel2'; procedure QImage_setPixel(handle: QImageH; x: Integer; y: Integer; index_or_rgb: LongWord); cdecl; external Qt4PasLib name 'QImage_setPixel'; procedure QImage_setPixel(handle: QImageH; pt: PQtPoint; index_or_rgb: LongWord); cdecl; external Qt4PasLib name 'QImage_setPixel2'; procedure QImage_fill(handle: QImageH; pixel: LongWord); cdecl; external Qt4PasLib name 'QImage_fill'; function QImage_hasAlphaChannel(handle: QImageH): Boolean; cdecl; external Qt4PasLib name 'QImage_hasAlphaChannel'; procedure QImage_setAlphaChannel(handle: QImageH; alphaChannel: QImageH); cdecl; external Qt4PasLib name 'QImage_setAlphaChannel'; procedure QImage_alphaChannel(handle: QImageH; retval: QImageH); cdecl; external Qt4PasLib name 'QImage_alphaChannel'; procedure QImage_createAlphaMask(handle: QImageH; retval: QImageH; flags: QtImageConversionFlags = QtAutoColor); cdecl; external Qt4PasLib name 'QImage_createAlphaMask'; procedure QImage_createHeuristicMask(handle: QImageH; retval: QImageH; clipTight: Boolean = True); cdecl; external Qt4PasLib name 'QImage_createHeuristicMask'; procedure QImage_createMaskFromColor(handle: QImageH; retval: QImageH; color: QRgb; mode: QtMaskMode = QtMaskInColor); cdecl; external Qt4PasLib name 'QImage_createMaskFromColor'; procedure QImage_scaled(handle: QImageH; retval: QImageH; w: Integer; h: Integer; aspectMode: QtAspectRatioMode = QtIgnoreAspectRatio; mode: QtTransformationMode = QtFastTransformation); cdecl; external Qt4PasLib name 'QImage_scaled'; procedure QImage_scaled(handle: QImageH; retval: QImageH; s: PSize; aspectMode: QtAspectRatioMode = QtIgnoreAspectRatio; mode: QtTransformationMode = QtFastTransformation); cdecl; external Qt4PasLib name 'QImage_scaled2'; procedure QImage_scaledToWidth(handle: QImageH; retval: QImageH; w: Integer; mode: QtTransformationMode = QtFastTransformation); cdecl; external Qt4PasLib name 'QImage_scaledToWidth'; procedure QImage_scaledToHeight(handle: QImageH; retval: QImageH; h: Integer; mode: QtTransformationMode = QtFastTransformation); cdecl; external Qt4PasLib name 'QImage_scaledToHeight'; procedure QImage_transformed(handle: QImageH; retval: QImageH; matrix: QMatrixH; mode: QtTransformationMode = QtFastTransformation); cdecl; external Qt4PasLib name 'QImage_transformed'; procedure QImage_trueMatrix(retval: QMatrixH; AnonParam1: QMatrixH; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QImage_trueMatrix'; procedure QImage_transformed(handle: QImageH; retval: QImageH; matrix: QTransformH; mode: QtTransformationMode = QtFastTransformation); cdecl; external Qt4PasLib name 'QImage_transformed2'; procedure QImage_trueMatrix(retval: QTransformH; AnonParam1: QTransformH; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QImage_trueMatrix2'; procedure QImage_mirrored(handle: QImageH; retval: QImageH; horizontally: Boolean = False; vertically: Boolean = True); cdecl; external Qt4PasLib name 'QImage_mirrored'; procedure QImage_rgbSwapped(handle: QImageH; retval: QImageH); cdecl; external Qt4PasLib name 'QImage_rgbSwapped'; procedure QImage_invertPixels(handle: QImageH; AnonParam1: QImageInvertMode = QImageInvertRgb); cdecl; external Qt4PasLib name 'QImage_invertPixels'; function QImage_load(handle: QImageH; device: QIODeviceH; format: PAnsiChar): Boolean; cdecl; external Qt4PasLib name 'QImage_load'; function QImage_load(handle: QImageH; fileName: PWideString; format: PAnsiChar = nil): Boolean; cdecl; external Qt4PasLib name 'QImage_load2'; function QImage_loadFromData(handle: QImageH; buf: PByte; len: Integer; format: PAnsiChar = nil): Boolean; cdecl; external Qt4PasLib name 'QImage_loadFromData'; function QImage_loadFromData(handle: QImageH; data: QByteArrayH; aformat: PAnsiChar = nil): Boolean; cdecl; external Qt4PasLib name 'QImage_loadFromData2'; function QImage_save(handle: QImageH; fileName: PWideString; format: PAnsiChar = nil; quality: Integer = -1): Boolean; cdecl; external Qt4PasLib name 'QImage_save'; function QImage_save(handle: QImageH; device: QIODeviceH; format: PAnsiChar = nil; quality: Integer = -1): Boolean; cdecl; external Qt4PasLib name 'QImage_save2'; procedure QImage_fromData(retval: QImageH; data: PByte; size: Integer; format: PAnsiChar = nil); cdecl; external Qt4PasLib name 'QImage_fromData'; procedure QImage_fromData(retval: QImageH; data: QByteArrayH; format: PAnsiChar = nil); cdecl; external Qt4PasLib name 'QImage_fromData2'; function QImage_serialNumber(handle: QImageH): Integer; cdecl; external Qt4PasLib name 'QImage_serialNumber'; function QImage_cacheKey(handle: QImageH): int64; cdecl; external Qt4PasLib name 'QImage_cacheKey'; function QImage_paintEngine(handle: QImageH): QPaintEngineH; cdecl; external Qt4PasLib name 'QImage_paintEngine'; function QImage_dotsPerMeterX(handle: QImageH): Integer; cdecl; external Qt4PasLib name 'QImage_dotsPerMeterX'; function QImage_dotsPerMeterY(handle: QImageH): Integer; cdecl; external Qt4PasLib name 'QImage_dotsPerMeterY'; procedure QImage_setDotsPerMeterX(handle: QImageH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QImage_setDotsPerMeterX'; procedure QImage_setDotsPerMeterY(handle: QImageH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QImage_setDotsPerMeterY'; procedure QImage_offset(handle: QImageH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QImage_offset'; procedure QImage_setOffset(handle: QImageH; AnonParam1: PQtPoint); cdecl; external Qt4PasLib name 'QImage_setOffset'; procedure QImage_textKeys(handle: QImageH; retval: QStringListH); cdecl; external Qt4PasLib name 'QImage_textKeys'; procedure QImage_text(handle: QImageH; retval: PWideString; key: PWideString = nil); cdecl; external Qt4PasLib name 'QImage_text'; procedure QImage_setText(handle: QImageH; key: PWideString; value: PWideString); cdecl; external Qt4PasLib name 'QImage_setText'; procedure QImage_text(handle: QImageH; retval: PWideString; key: PAnsiChar; lang: PAnsiChar = nil); cdecl; external Qt4PasLib name 'QImage_text2'; procedure QImage_textLanguages(handle: QImageH; retval: QStringListH); cdecl; external Qt4PasLib name 'QImage_textLanguages'; procedure QImage_setText(handle: QImageH; key: PAnsiChar; lang: PAnsiChar; AnonParam3: PWideString); cdecl; external Qt4PasLib name 'QImage_setText2'; function QBitmap_create(): QBitmapH; cdecl; external Qt4PasLib name 'QBitmap_create'; procedure QBitmap_destroy(handle: QBitmapH); cdecl; external Qt4PasLib name 'QBitmap_destroy'; function QBitmap_create(AnonParam1: QPixmapH): QBitmapH; cdecl; external Qt4PasLib name 'QBitmap_create2'; function QBitmap_create(w: Integer; h: Integer): QBitmapH; cdecl; external Qt4PasLib name 'QBitmap_create3'; function QBitmap_create(AnonParam1: PSize): QBitmapH; cdecl; external Qt4PasLib name 'QBitmap_create4'; function QBitmap_create(fileName: PWideString; format: PAnsiChar = nil): QBitmapH; cdecl; external Qt4PasLib name 'QBitmap_create5'; procedure QBitmap_clear(handle: QBitmapH); cdecl; external Qt4PasLib name 'QBitmap_clear'; procedure QBitmap_fromImage(retval: QBitmapH; image: QImageH; flags: QtImageConversionFlags = QtAutoColor); cdecl; external Qt4PasLib name 'QBitmap_fromImage'; procedure QBitmap_fromData(retval: QBitmapH; size: PSize; bits: PByte; monoFormat: QImageFormat = QImageFormat_MonoLSB); cdecl; external Qt4PasLib name 'QBitmap_fromData'; procedure QBitmap_transformed(handle: QBitmapH; retval: QBitmapH; AnonParam1: QMatrixH); cdecl; external Qt4PasLib name 'QBitmap_transformed'; procedure QBitmap_transformed(handle: QBitmapH; retval: QBitmapH; matrix: QTransformH); cdecl; external Qt4PasLib name 'QBitmap_transformed2'; function QPicture_create(formatVersion: Integer = -1): QPictureH; cdecl; external Qt4PasLib name 'QPicture_create'; procedure QPicture_destroy(handle: QPictureH); cdecl; external Qt4PasLib name 'QPicture_destroy'; function QPicture_create(AnonParam1: QPictureH): QPictureH; cdecl; external Qt4PasLib name 'QPicture_create2'; function QPicture_isNull(handle: QPictureH): Boolean; cdecl; external Qt4PasLib name 'QPicture_isNull'; function QPicture_devType(handle: QPictureH): Integer; cdecl; external Qt4PasLib name 'QPicture_devType'; function QPicture_size(handle: QPictureH): LongWord; cdecl; external Qt4PasLib name 'QPicture_size'; function QPicture_data(handle: QPictureH): PAnsiChar; cdecl; external Qt4PasLib name 'QPicture_data'; procedure QPicture_setData(handle: QPictureH; data: PAnsiChar; size: LongWord); cdecl; external Qt4PasLib name 'QPicture_setData'; function QPicture_play(handle: QPictureH; p: QPainterH): Boolean; cdecl; external Qt4PasLib name 'QPicture_play'; function QPicture_load(handle: QPictureH; dev: QIODeviceH; format: PAnsiChar = nil): Boolean; cdecl; external Qt4PasLib name 'QPicture_load'; function QPicture_load(handle: QPictureH; fileName: PWideString; format: PAnsiChar = nil): Boolean; cdecl; external Qt4PasLib name 'QPicture_load2'; function QPicture_save(handle: QPictureH; dev: QIODeviceH; format: PAnsiChar = nil): Boolean; cdecl; external Qt4PasLib name 'QPicture_save'; function QPicture_save(handle: QPictureH; fileName: PWideString; format: PAnsiChar = nil): Boolean; cdecl; external Qt4PasLib name 'QPicture_save2'; procedure QPicture_boundingRect(handle: QPictureH; retval: PRect); cdecl; external Qt4PasLib name 'QPicture_boundingRect'; procedure QPicture_setBoundingRect(handle: QPictureH; r: PRect); cdecl; external Qt4PasLib name 'QPicture_setBoundingRect'; procedure QPicture_detach(handle: QPictureH); cdecl; external Qt4PasLib name 'QPicture_detach'; function QPicture_isDetached(handle: QPictureH): Boolean; cdecl; external Qt4PasLib name 'QPicture_isDetached'; function QPicture_pictureFormat(fileName: PWideString): PAnsiChar; cdecl; external Qt4PasLib name 'QPicture_pictureFormat'; procedure QPicture_inputFormatList(retval: QStringListH); cdecl; external Qt4PasLib name 'QPicture_inputFormatList'; procedure QPicture_outputFormatList(retval: QStringListH); cdecl; external Qt4PasLib name 'QPicture_outputFormatList'; function QPicture_paintEngine(handle: QPictureH): QPaintEngineH; cdecl; external Qt4PasLib name 'QPicture_paintEngine'; type QImageIOHandlerImageOption = ( // QImageIOHandler::ImageOption (1) QImageIOHandlerSize, QImageIOHandlerClipRect, QImageIOHandlerDescription, QImageIOHandlerScaledClipRect, QImageIOHandlerScaledSize, QImageIOHandlerCompressionRatio, QImageIOHandlerGamma, QImageIOHandlerQuality, QImageIOHandlerName, QImageIOHandlerSubType, QImageIOHandlerIncrementalReading, QImageIOHandlerEndianness, QImageIOHandlerAnimation, QImageIOHandlerBackgroundColor, QImageIOHandlerImageFormat ); procedure QImageIOHandler_setDevice(handle: QImageIOHandlerH; device: QIODeviceH); cdecl; external Qt4PasLib name 'QImageIOHandler_setDevice'; function QImageIOHandler_device(handle: QImageIOHandlerH): QIODeviceH; cdecl; external Qt4PasLib name 'QImageIOHandler_device'; procedure QImageIOHandler_setFormat(handle: QImageIOHandlerH; format: QByteArrayH); cdecl; external Qt4PasLib name 'QImageIOHandler_setFormat'; procedure QImageIOHandler_format(handle: QImageIOHandlerH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QImageIOHandler_format'; procedure QImageIOHandler_name(handle: QImageIOHandlerH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QImageIOHandler_name'; function QImageIOHandler_canRead(handle: QImageIOHandlerH): Boolean; cdecl; external Qt4PasLib name 'QImageIOHandler_canRead'; function QImageIOHandler_read(handle: QImageIOHandlerH; image: QImageH): Boolean; cdecl; external Qt4PasLib name 'QImageIOHandler_read'; function QImageIOHandler_write(handle: QImageIOHandlerH; image: QImageH): Boolean; cdecl; external Qt4PasLib name 'QImageIOHandler_write'; procedure QImageIOHandler_option(handle: QImageIOHandlerH; retval: QVariantH; option: QImageIOHandlerImageOption); cdecl; external Qt4PasLib name 'QImageIOHandler_option'; procedure QImageIOHandler_setOption(handle: QImageIOHandlerH; option: QImageIOHandlerImageOption; value: QVariantH); cdecl; external Qt4PasLib name 'QImageIOHandler_setOption'; function QImageIOHandler_supportsOption(handle: QImageIOHandlerH; option: QImageIOHandlerImageOption): Boolean; cdecl; external Qt4PasLib name 'QImageIOHandler_supportsOption'; function QImageIOHandler_jumpToNextImage(handle: QImageIOHandlerH): Boolean; cdecl; external Qt4PasLib name 'QImageIOHandler_jumpToNextImage'; function QImageIOHandler_jumpToImage(handle: QImageIOHandlerH; imageNumber: Integer): Boolean; cdecl; external Qt4PasLib name 'QImageIOHandler_jumpToImage'; function QImageIOHandler_loopCount(handle: QImageIOHandlerH): Integer; cdecl; external Qt4PasLib name 'QImageIOHandler_loopCount'; function QImageIOHandler_imageCount(handle: QImageIOHandlerH): Integer; cdecl; external Qt4PasLib name 'QImageIOHandler_imageCount'; function QImageIOHandler_nextImageDelay(handle: QImageIOHandlerH): Integer; cdecl; external Qt4PasLib name 'QImageIOHandler_nextImageDelay'; function QImageIOHandler_currentImageNumber(handle: QImageIOHandlerH): Integer; cdecl; external Qt4PasLib name 'QImageIOHandler_currentImageNumber'; procedure QImageIOHandler_currentImageRect(handle: QImageIOHandlerH; retval: PRect); cdecl; external Qt4PasLib name 'QImageIOHandler_currentImageRect'; type QImageReaderImageReaderError = ( // QImageReader::ImageReaderError (1) QImageReaderUnknownError, QImageReaderFileNotFoundError, QImageReaderDeviceError, QImageReaderUnsupportedFormatError, QImageReaderInvalidDataError ); function QImageReader_create(): QImageReaderH; cdecl; external Qt4PasLib name 'QImageReader_create'; procedure QImageReader_destroy(handle: QImageReaderH); cdecl; external Qt4PasLib name 'QImageReader_destroy'; function QImageReader_create(device: QIODeviceH; format: QByteArrayH = nil): QImageReaderH; cdecl; external Qt4PasLib name 'QImageReader_create2'; function QImageReader_create(fileName: PWideString; format: QByteArrayH = nil): QImageReaderH; cdecl; external Qt4PasLib name 'QImageReader_create3'; procedure QImageReader_setFormat(handle: QImageReaderH; format: QByteArrayH); cdecl; external Qt4PasLib name 'QImageReader_setFormat'; procedure QImageReader_format(handle: QImageReaderH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QImageReader_format'; procedure QImageReader_setAutoDetectImageFormat(handle: QImageReaderH; enabled: Boolean); cdecl; external Qt4PasLib name 'QImageReader_setAutoDetectImageFormat'; function QImageReader_autoDetectImageFormat(handle: QImageReaderH): Boolean; cdecl; external Qt4PasLib name 'QImageReader_autoDetectImageFormat'; procedure QImageReader_setDevice(handle: QImageReaderH; device: QIODeviceH); cdecl; external Qt4PasLib name 'QImageReader_setDevice'; function QImageReader_device(handle: QImageReaderH): QIODeviceH; cdecl; external Qt4PasLib name 'QImageReader_device'; procedure QImageReader_setFileName(handle: QImageReaderH; fileName: PWideString); cdecl; external Qt4PasLib name 'QImageReader_setFileName'; procedure QImageReader_fileName(handle: QImageReaderH; retval: PWideString); cdecl; external Qt4PasLib name 'QImageReader_fileName'; procedure QImageReader_size(handle: QImageReaderH; retval: PSize); cdecl; external Qt4PasLib name 'QImageReader_size'; function QImageReader_imageFormat(handle: QImageReaderH): QImageFormat; cdecl; external Qt4PasLib name 'QImageReader_imageFormat'; procedure QImageReader_textKeys(handle: QImageReaderH; retval: QStringListH); cdecl; external Qt4PasLib name 'QImageReader_textKeys'; procedure QImageReader_text(handle: QImageReaderH; retval: PWideString; key: PWideString); cdecl; external Qt4PasLib name 'QImageReader_text'; procedure QImageReader_setClipRect(handle: QImageReaderH; rect: PRect); cdecl; external Qt4PasLib name 'QImageReader_setClipRect'; procedure QImageReader_clipRect(handle: QImageReaderH; retval: PRect); cdecl; external Qt4PasLib name 'QImageReader_clipRect'; procedure QImageReader_setScaledSize(handle: QImageReaderH; size: PSize); cdecl; external Qt4PasLib name 'QImageReader_setScaledSize'; procedure QImageReader_scaledSize(handle: QImageReaderH; retval: PSize); cdecl; external Qt4PasLib name 'QImageReader_scaledSize'; procedure QImageReader_setQuality(handle: QImageReaderH; quality: Integer); cdecl; external Qt4PasLib name 'QImageReader_setQuality'; function QImageReader_quality(handle: QImageReaderH): Integer; cdecl; external Qt4PasLib name 'QImageReader_quality'; procedure QImageReader_setScaledClipRect(handle: QImageReaderH; rect: PRect); cdecl; external Qt4PasLib name 'QImageReader_setScaledClipRect'; procedure QImageReader_scaledClipRect(handle: QImageReaderH; retval: PRect); cdecl; external Qt4PasLib name 'QImageReader_scaledClipRect'; procedure QImageReader_setBackgroundColor(handle: QImageReaderH; color: PQColor); cdecl; external Qt4PasLib name 'QImageReader_setBackgroundColor'; procedure QImageReader_backgroundColor(handle: QImageReaderH; retval: PQColor); cdecl; external Qt4PasLib name 'QImageReader_backgroundColor'; function QImageReader_supportsAnimation(handle: QImageReaderH): Boolean; cdecl; external Qt4PasLib name 'QImageReader_supportsAnimation'; function QImageReader_canRead(handle: QImageReaderH): Boolean; cdecl; external Qt4PasLib name 'QImageReader_canRead'; procedure QImageReader_read(handle: QImageReaderH; retval: QImageH); cdecl; external Qt4PasLib name 'QImageReader_read'; function QImageReader_jumpToNextImage(handle: QImageReaderH): Boolean; cdecl; external Qt4PasLib name 'QImageReader_jumpToNextImage'; function QImageReader_jumpToImage(handle: QImageReaderH; imageNumber: Integer): Boolean; cdecl; external Qt4PasLib name 'QImageReader_jumpToImage'; function QImageReader_loopCount(handle: QImageReaderH): Integer; cdecl; external Qt4PasLib name 'QImageReader_loopCount'; function QImageReader_imageCount(handle: QImageReaderH): Integer; cdecl; external Qt4PasLib name 'QImageReader_imageCount'; function QImageReader_nextImageDelay(handle: QImageReaderH): Integer; cdecl; external Qt4PasLib name 'QImageReader_nextImageDelay'; function QImageReader_currentImageNumber(handle: QImageReaderH): Integer; cdecl; external Qt4PasLib name 'QImageReader_currentImageNumber'; procedure QImageReader_currentImageRect(handle: QImageReaderH; retval: PRect); cdecl; external Qt4PasLib name 'QImageReader_currentImageRect'; function QImageReader_error(handle: QImageReaderH): QImageReaderImageReaderError; cdecl; external Qt4PasLib name 'QImageReader_error'; procedure QImageReader_errorString(handle: QImageReaderH; retval: PWideString); cdecl; external Qt4PasLib name 'QImageReader_errorString'; function QImageReader_supportsOption(handle: QImageReaderH; option: QImageIOHandlerImageOption): Boolean; cdecl; external Qt4PasLib name 'QImageReader_supportsOption'; procedure QImageReader_imageFormat(retval: QByteArrayH; fileName: PWideString); cdecl; external Qt4PasLib name 'QImageReader_imageFormat2'; procedure QImageReader_imageFormat(retval: QByteArrayH; device: QIODeviceH); cdecl; external Qt4PasLib name 'QImageReader_imageFormat3'; type QImageWriterImageWriterError = ( // QImageWriter::ImageWriterError (1) QImageWriterUnknownError, QImageWriterDeviceError, QImageWriterUnsupportedFormatError ); function QImageWriter_create(): QImageWriterH; cdecl; external Qt4PasLib name 'QImageWriter_create'; procedure QImageWriter_destroy(handle: QImageWriterH); cdecl; external Qt4PasLib name 'QImageWriter_destroy'; function QImageWriter_create(device: QIODeviceH; format: QByteArrayH): QImageWriterH; cdecl; external Qt4PasLib name 'QImageWriter_create2'; function QImageWriter_create(fileName: PWideString; format: QByteArrayH = nil): QImageWriterH; cdecl; external Qt4PasLib name 'QImageWriter_create3'; procedure QImageWriter_setFormat(handle: QImageWriterH; format: QByteArrayH); cdecl; external Qt4PasLib name 'QImageWriter_setFormat'; procedure QImageWriter_format(handle: QImageWriterH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QImageWriter_format'; procedure QImageWriter_setDevice(handle: QImageWriterH; device: QIODeviceH); cdecl; external Qt4PasLib name 'QImageWriter_setDevice'; function QImageWriter_device(handle: QImageWriterH): QIODeviceH; cdecl; external Qt4PasLib name 'QImageWriter_device'; procedure QImageWriter_setFileName(handle: QImageWriterH; fileName: PWideString); cdecl; external Qt4PasLib name 'QImageWriter_setFileName'; procedure QImageWriter_fileName(handle: QImageWriterH; retval: PWideString); cdecl; external Qt4PasLib name 'QImageWriter_fileName'; procedure QImageWriter_setQuality(handle: QImageWriterH; quality: Integer); cdecl; external Qt4PasLib name 'QImageWriter_setQuality'; function QImageWriter_quality(handle: QImageWriterH): Integer; cdecl; external Qt4PasLib name 'QImageWriter_quality'; procedure QImageWriter_setCompression(handle: QImageWriterH; compression: Integer); cdecl; external Qt4PasLib name 'QImageWriter_setCompression'; function QImageWriter_compression(handle: QImageWriterH): Integer; cdecl; external Qt4PasLib name 'QImageWriter_compression'; procedure QImageWriter_setGamma(handle: QImageWriterH; gamma: Single); cdecl; external Qt4PasLib name 'QImageWriter_setGamma'; function QImageWriter_gamma(handle: QImageWriterH): Single; cdecl; external Qt4PasLib name 'QImageWriter_gamma'; procedure QImageWriter_setDescription(handle: QImageWriterH; description: PWideString); cdecl; external Qt4PasLib name 'QImageWriter_setDescription'; procedure QImageWriter_description(handle: QImageWriterH; retval: PWideString); cdecl; external Qt4PasLib name 'QImageWriter_description'; procedure QImageWriter_setText(handle: QImageWriterH; key: PWideString; text: PWideString); cdecl; external Qt4PasLib name 'QImageWriter_setText'; function QImageWriter_canWrite(handle: QImageWriterH): Boolean; cdecl; external Qt4PasLib name 'QImageWriter_canWrite'; function QImageWriter_write(handle: QImageWriterH; image: QImageH): Boolean; cdecl; external Qt4PasLib name 'QImageWriter_write'; function QImageWriter_error(handle: QImageWriterH): QImageWriterImageWriterError; cdecl; external Qt4PasLib name 'QImageWriter_error'; procedure QImageWriter_errorString(handle: QImageWriterH; retval: PWideString); cdecl; external Qt4PasLib name 'QImageWriter_errorString'; function QImageWriter_supportsOption(handle: QImageWriterH; option: QImageIOHandlerImageOption): Boolean; cdecl; external Qt4PasLib name 'QImageWriter_supportsOption'; type QValidatorState = ( // QValidator::State (1) QValidatorInvalid, QValidatorIntermediate, QValidatorAcceptable ); type QDoubleValidatorNotation = ( // QDoubleValidator::Notation (1) QDoubleValidatorStandardNotation, QDoubleValidatorScientificNotation ); procedure QValidator_setLocale(handle: QValidatorH; locale: QLocaleH); cdecl; external Qt4PasLib name 'QValidator_setLocale'; procedure QValidator_locale(handle: QValidatorH; retval: QLocaleH); cdecl; external Qt4PasLib name 'QValidator_locale'; function QValidator_validate(handle: QValidatorH; AnonParam1: PWideString; AnonParam2: PInteger): QValidatorState; cdecl; external Qt4PasLib name 'QValidator_validate'; procedure QValidator_fixup(handle: QValidatorH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QValidator_fixup'; function QIntValidator_create(parent: QObjectH): QIntValidatorH; cdecl; external Qt4PasLib name 'QIntValidator_create'; procedure QIntValidator_destroy(handle: QIntValidatorH); cdecl; external Qt4PasLib name 'QIntValidator_destroy'; function QIntValidator_create(bottom: Integer; top: Integer; parent: QObjectH): QIntValidatorH; cdecl; external Qt4PasLib name 'QIntValidator_create2'; function QIntValidator_validate(handle: QIntValidatorH; AnonParam1: PWideString; AnonParam2: PInteger): QValidatorState; cdecl; external Qt4PasLib name 'QIntValidator_validate'; procedure QIntValidator_setBottom(handle: QIntValidatorH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QIntValidator_setBottom'; procedure QIntValidator_setTop(handle: QIntValidatorH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QIntValidator_setTop'; procedure QIntValidator_setRange(handle: QIntValidatorH; bottom: Integer; top: Integer); cdecl; external Qt4PasLib name 'QIntValidator_setRange'; function QIntValidator_bottom(handle: QIntValidatorH): Integer; cdecl; external Qt4PasLib name 'QIntValidator_bottom'; function QIntValidator_top(handle: QIntValidatorH): Integer; cdecl; external Qt4PasLib name 'QIntValidator_top'; function QDoubleValidator_create(parent: QObjectH): QDoubleValidatorH; cdecl; external Qt4PasLib name 'QDoubleValidator_create'; procedure QDoubleValidator_destroy(handle: QDoubleValidatorH); cdecl; external Qt4PasLib name 'QDoubleValidator_destroy'; function QDoubleValidator_create(bottom: Double; top: Double; decimals: Integer; parent: QObjectH): QDoubleValidatorH; cdecl; external Qt4PasLib name 'QDoubleValidator_create2'; function QDoubleValidator_validate(handle: QDoubleValidatorH; AnonParam1: PWideString; AnonParam2: PInteger): QValidatorState; cdecl; external Qt4PasLib name 'QDoubleValidator_validate'; procedure QDoubleValidator_setRange(handle: QDoubleValidatorH; bottom: Double; top: Double; decimals: Integer = 0); cdecl; external Qt4PasLib name 'QDoubleValidator_setRange'; procedure QDoubleValidator_setBottom(handle: QDoubleValidatorH; AnonParam1: Double); cdecl; external Qt4PasLib name 'QDoubleValidator_setBottom'; procedure QDoubleValidator_setTop(handle: QDoubleValidatorH; AnonParam1: Double); cdecl; external Qt4PasLib name 'QDoubleValidator_setTop'; procedure QDoubleValidator_setDecimals(handle: QDoubleValidatorH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QDoubleValidator_setDecimals'; procedure QDoubleValidator_setNotation(handle: QDoubleValidatorH; AnonParam1: QDoubleValidatorNotation); cdecl; external Qt4PasLib name 'QDoubleValidator_setNotation'; function QDoubleValidator_bottom(handle: QDoubleValidatorH): Double; cdecl; external Qt4PasLib name 'QDoubleValidator_bottom'; function QDoubleValidator_top(handle: QDoubleValidatorH): Double; cdecl; external Qt4PasLib name 'QDoubleValidator_top'; function QDoubleValidator_decimals(handle: QDoubleValidatorH): Integer; cdecl; external Qt4PasLib name 'QDoubleValidator_decimals'; function QDoubleValidator_notation(handle: QDoubleValidatorH): QDoubleValidatorNotation; cdecl; external Qt4PasLib name 'QDoubleValidator_notation'; function QRegExpValidator_create(parent: QObjectH): QRegExpValidatorH; cdecl; external Qt4PasLib name 'QRegExpValidator_create'; procedure QRegExpValidator_destroy(handle: QRegExpValidatorH); cdecl; external Qt4PasLib name 'QRegExpValidator_destroy'; function QRegExpValidator_create(rx: QRegExpH; parent: QObjectH): QRegExpValidatorH; cdecl; external Qt4PasLib name 'QRegExpValidator_create2'; function QRegExpValidator_validate(handle: QRegExpValidatorH; input: PWideString; pos: PInteger): QValidatorState; cdecl; external Qt4PasLib name 'QRegExpValidator_validate'; procedure QRegExpValidator_setRegExp(handle: QRegExpValidatorH; rx: QRegExpH); cdecl; external Qt4PasLib name 'QRegExpValidator_setRegExp'; function QRegExpValidator_regExp(handle: QRegExpValidatorH): QRegExpH; cdecl; external Qt4PasLib name 'QRegExpValidator_regExp'; type QFrameShape = ( //QFrame::Shape (2) QFrameNoFrame = 0, QFrameBox = $0001, QFramePanel = $0002, QFrameWinPanel = $0003, QFrameHLine = $0004, QFrameVLine = $0005, QFrameStyledPanel = $0006 ); QFrameShadow = ( //QFrame::Shadow (2) QFramePlain = $0010, QFrameRaised = $0020, QFrameSunken = $0030 ); QFrameStyleMask = ( //QFrame::StyleMask (2) QFrameShape_Mask = $000f, QFrameShadow_Mask = $00f0 ); function QFrame_create(parent: QWidgetH = nil; f: QtWindowFlags = 0): QFrameH; cdecl; external Qt4PasLib name 'QFrame_create'; procedure QFrame_destroy(handle: QFrameH); cdecl; external Qt4PasLib name 'QFrame_destroy'; function QFrame_frameStyle(handle: QFrameH): Integer; cdecl; external Qt4PasLib name 'QFrame_frameStyle'; procedure QFrame_setFrameStyle(handle: QFrameH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QFrame_setFrameStyle'; function QFrame_frameWidth(handle: QFrameH): Integer; cdecl; external Qt4PasLib name 'QFrame_frameWidth'; procedure QFrame_sizeHint(handle: QFrameH; retval: PSize); cdecl; external Qt4PasLib name 'QFrame_sizeHint'; function QFrame_frameShape(handle: QFrameH): QFrameShape; cdecl; external Qt4PasLib name 'QFrame_frameShape'; procedure QFrame_setFrameShape(handle: QFrameH; AnonParam1: QFrameShape); cdecl; external Qt4PasLib name 'QFrame_setFrameShape'; function QFrame_frameShadow(handle: QFrameH): QFrameShadow; cdecl; external Qt4PasLib name 'QFrame_frameShadow'; procedure QFrame_setFrameShadow(handle: QFrameH; AnonParam1: QFrameShadow); cdecl; external Qt4PasLib name 'QFrame_setFrameShadow'; function QFrame_lineWidth(handle: QFrameH): Integer; cdecl; external Qt4PasLib name 'QFrame_lineWidth'; procedure QFrame_setLineWidth(handle: QFrameH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QFrame_setLineWidth'; function QFrame_midLineWidth(handle: QFrameH): Integer; cdecl; external Qt4PasLib name 'QFrame_midLineWidth'; procedure QFrame_setMidLineWidth(handle: QFrameH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QFrame_setMidLineWidth'; procedure QFrame_frameRect(handle: QFrameH; retval: PRect); cdecl; external Qt4PasLib name 'QFrame_frameRect'; procedure QFrame_setFrameRect(handle: QFrameH; AnonParam1: PRect); cdecl; external Qt4PasLib name 'QFrame_setFrameRect'; function QStackedWidget_create(parent: QWidgetH = nil): QStackedWidgetH; cdecl; external Qt4PasLib name 'QStackedWidget_create'; procedure QStackedWidget_destroy(handle: QStackedWidgetH); cdecl; external Qt4PasLib name 'QStackedWidget_destroy'; function QStackedWidget_addWidget(handle: QStackedWidgetH; w: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QStackedWidget_addWidget'; function QStackedWidget_insertWidget(handle: QStackedWidgetH; index: Integer; w: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QStackedWidget_insertWidget'; procedure QStackedWidget_removeWidget(handle: QStackedWidgetH; w: QWidgetH); cdecl; external Qt4PasLib name 'QStackedWidget_removeWidget'; function QStackedWidget_currentWidget(handle: QStackedWidgetH): QWidgetH; cdecl; external Qt4PasLib name 'QStackedWidget_currentWidget'; function QStackedWidget_currentIndex(handle: QStackedWidgetH): Integer; cdecl; external Qt4PasLib name 'QStackedWidget_currentIndex'; function QStackedWidget_indexOf(handle: QStackedWidgetH; AnonParam1: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QStackedWidget_indexOf'; function QStackedWidget_widget(handle: QStackedWidgetH; AnonParam1: Integer): QWidgetH; cdecl; external Qt4PasLib name 'QStackedWidget_widget'; function QStackedWidget_count(handle: QStackedWidgetH): Integer; cdecl; external Qt4PasLib name 'QStackedWidget_count'; procedure QStackedWidget_setCurrentIndex(handle: QStackedWidgetH; index: Integer); cdecl; external Qt4PasLib name 'QStackedWidget_setCurrentIndex'; procedure QStackedWidget_setCurrentWidget(handle: QStackedWidgetH; w: QWidgetH); cdecl; external Qt4PasLib name 'QStackedWidget_setCurrentWidget'; type QStackedWidget_currentChanged_Event = procedure (AnonParam1: Integer) of object cdecl; QStackedWidget_widgetRemoved_Event = procedure (index: Integer) of object cdecl; function QAbstractScrollArea_create(parent: QWidgetH = nil): QAbstractScrollAreaH; cdecl; external Qt4PasLib name 'QAbstractScrollArea_create'; procedure QAbstractScrollArea_destroy(handle: QAbstractScrollAreaH); cdecl; external Qt4PasLib name 'QAbstractScrollArea_destroy'; function QAbstractScrollArea_verticalScrollBarPolicy(handle: QAbstractScrollAreaH): QtScrollBarPolicy; cdecl; external Qt4PasLib name 'QAbstractScrollArea_verticalScrollBarPolicy'; procedure QAbstractScrollArea_setVerticalScrollBarPolicy(handle: QAbstractScrollAreaH; AnonParam1: QtScrollBarPolicy); cdecl; external Qt4PasLib name 'QAbstractScrollArea_setVerticalScrollBarPolicy'; function QAbstractScrollArea_verticalScrollBar(handle: QAbstractScrollAreaH): QScrollBarH; cdecl; external Qt4PasLib name 'QAbstractScrollArea_verticalScrollBar'; procedure QAbstractScrollArea_setVerticalScrollBar(handle: QAbstractScrollAreaH; scrollbar: QScrollBarH); cdecl; external Qt4PasLib name 'QAbstractScrollArea_setVerticalScrollBar'; function QAbstractScrollArea_horizontalScrollBarPolicy(handle: QAbstractScrollAreaH): QtScrollBarPolicy; cdecl; external Qt4PasLib name 'QAbstractScrollArea_horizontalScrollBarPolicy'; procedure QAbstractScrollArea_setHorizontalScrollBarPolicy(handle: QAbstractScrollAreaH; AnonParam1: QtScrollBarPolicy); cdecl; external Qt4PasLib name 'QAbstractScrollArea_setHorizontalScrollBarPolicy'; function QAbstractScrollArea_horizontalScrollBar(handle: QAbstractScrollAreaH): QScrollBarH; cdecl; external Qt4PasLib name 'QAbstractScrollArea_horizontalScrollBar'; procedure QAbstractScrollArea_setHorizontalScrollBar(handle: QAbstractScrollAreaH; scrollbar: QScrollBarH); cdecl; external Qt4PasLib name 'QAbstractScrollArea_setHorizontalScrollBar'; function QAbstractScrollArea_cornerWidget(handle: QAbstractScrollAreaH): QWidgetH; cdecl; external Qt4PasLib name 'QAbstractScrollArea_cornerWidget'; procedure QAbstractScrollArea_setCornerWidget(handle: QAbstractScrollAreaH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QAbstractScrollArea_setCornerWidget'; procedure QAbstractScrollArea_addScrollBarWidget(handle: QAbstractScrollAreaH; widget: QWidgetH; alignment: QtAlignment); cdecl; external Qt4PasLib name 'QAbstractScrollArea_addScrollBarWidget'; procedure QAbstractScrollArea_scrollBarWidgets(handle: QAbstractScrollAreaH; retval: PPtrIntArray; alignment: QtAlignment); cdecl; external Qt4PasLib name 'QAbstractScrollArea_scrollBarWidgets'; function QAbstractScrollArea_viewport(handle: QAbstractScrollAreaH): QWidgetH; cdecl; external Qt4PasLib name 'QAbstractScrollArea_viewport'; procedure QAbstractScrollArea_setViewport(handle: QAbstractScrollAreaH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QAbstractScrollArea_setViewport'; procedure QAbstractScrollArea_maximumViewportSize(handle: QAbstractScrollAreaH; retval: PSize); cdecl; external Qt4PasLib name 'QAbstractScrollArea_maximumViewportSize'; procedure QAbstractScrollArea_minimumSizeHint(handle: QAbstractScrollAreaH; retval: PSize); cdecl; external Qt4PasLib name 'QAbstractScrollArea_minimumSizeHint'; procedure QAbstractScrollArea_sizeHint(handle: QAbstractScrollAreaH; retval: PSize); cdecl; external Qt4PasLib name 'QAbstractScrollArea_sizeHint'; function QLCLAbstractScrollArea_create(parent: QWidgetH = nil): QLCLAbstractScrollAreaH; cdecl; external Qt4PasLib name 'QLCLAbstractScrollArea_create'; procedure QLCLAbstractScrollArea_destroy(handle: QLCLAbstractScrollAreaH); cdecl; external Qt4PasLib name 'QLCLAbstractScrollArea_destroy'; procedure QLCLAbstractScrollArea_override_viewportEvent(handle: QLCLAbstractScrollAreaH; hook: QLCLAbstractScrollArea_viewportEvent_Override); cdecl; external Qt4PasLib name 'QLCLAbstractScrollArea_override_viewportEvent'; function QLCLAbstractScrollArea_InheritedViewportEvent(handle: QLCLAbstractScrollAreaH; event: QEventH): Boolean; cdecl; external Qt4PasLib name 'QLCLAbstractScrollArea_InheritedViewportEvent'; type QAbstractSliderSliderAction = ( // QAbstractSlider::SliderAction (1) QAbstractSliderSliderNoAction, QAbstractSliderSliderSingleStepAdd, QAbstractSliderSliderSingleStepSub, QAbstractSliderSliderPageStepAdd, QAbstractSliderSliderPageStepSub, QAbstractSliderSliderToMinimum, QAbstractSliderSliderToMaximum, QAbstractSliderSliderMove ); function QAbstractSlider_create(parent: QWidgetH = nil): QAbstractSliderH; cdecl; external Qt4PasLib name 'QAbstractSlider_create'; procedure QAbstractSlider_destroy(handle: QAbstractSliderH); cdecl; external Qt4PasLib name 'QAbstractSlider_destroy'; function QAbstractSlider_orientation(handle: QAbstractSliderH): QtOrientation; cdecl; external Qt4PasLib name 'QAbstractSlider_orientation'; procedure QAbstractSlider_setMinimum(handle: QAbstractSliderH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QAbstractSlider_setMinimum'; function QAbstractSlider_minimum(handle: QAbstractSliderH): Integer; cdecl; external Qt4PasLib name 'QAbstractSlider_minimum'; procedure QAbstractSlider_setMaximum(handle: QAbstractSliderH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QAbstractSlider_setMaximum'; function QAbstractSlider_maximum(handle: QAbstractSliderH): Integer; cdecl; external Qt4PasLib name 'QAbstractSlider_maximum'; procedure QAbstractSlider_setRange(handle: QAbstractSliderH; min: Integer; max: Integer); cdecl; external Qt4PasLib name 'QAbstractSlider_setRange'; procedure QAbstractSlider_setSingleStep(handle: QAbstractSliderH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QAbstractSlider_setSingleStep'; function QAbstractSlider_singleStep(handle: QAbstractSliderH): Integer; cdecl; external Qt4PasLib name 'QAbstractSlider_singleStep'; procedure QAbstractSlider_setPageStep(handle: QAbstractSliderH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QAbstractSlider_setPageStep'; function QAbstractSlider_pageStep(handle: QAbstractSliderH): Integer; cdecl; external Qt4PasLib name 'QAbstractSlider_pageStep'; procedure QAbstractSlider_setTracking(handle: QAbstractSliderH; enable: Boolean); cdecl; external Qt4PasLib name 'QAbstractSlider_setTracking'; function QAbstractSlider_hasTracking(handle: QAbstractSliderH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSlider_hasTracking'; procedure QAbstractSlider_setSliderDown(handle: QAbstractSliderH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QAbstractSlider_setSliderDown'; function QAbstractSlider_isSliderDown(handle: QAbstractSliderH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSlider_isSliderDown'; procedure QAbstractSlider_setSliderPosition(handle: QAbstractSliderH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QAbstractSlider_setSliderPosition'; function QAbstractSlider_sliderPosition(handle: QAbstractSliderH): Integer; cdecl; external Qt4PasLib name 'QAbstractSlider_sliderPosition'; procedure QAbstractSlider_setInvertedAppearance(handle: QAbstractSliderH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QAbstractSlider_setInvertedAppearance'; function QAbstractSlider_invertedAppearance(handle: QAbstractSliderH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSlider_invertedAppearance'; procedure QAbstractSlider_setInvertedControls(handle: QAbstractSliderH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QAbstractSlider_setInvertedControls'; function QAbstractSlider_invertedControls(handle: QAbstractSliderH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSlider_invertedControls'; function QAbstractSlider_value(handle: QAbstractSliderH): Integer; cdecl; external Qt4PasLib name 'QAbstractSlider_value'; procedure QAbstractSlider_triggerAction(handle: QAbstractSliderH; action: QAbstractSliderSliderAction); cdecl; external Qt4PasLib name 'QAbstractSlider_triggerAction'; procedure QAbstractSlider_setValue(handle: QAbstractSliderH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QAbstractSlider_setValue'; procedure QAbstractSlider_setOrientation(handle: QAbstractSliderH; AnonParam1: QtOrientation); cdecl; external Qt4PasLib name 'QAbstractSlider_setOrientation'; type QAbstractSlider_valueChanged_Event = procedure (value: Integer) of object cdecl; QAbstractSlider_sliderPressed_Event = procedure () of object cdecl; QAbstractSlider_sliderMoved_Event = procedure (position: Integer) of object cdecl; QAbstractSlider_sliderReleased_Event = procedure () of object cdecl; QAbstractSlider_rangeChanged_Event = procedure (min: Integer; max: Integer) of object cdecl; QAbstractSlider_actionTriggered_Event = procedure (action: Integer) of object cdecl; function QScrollBar_create(parent: QWidgetH = nil): QScrollBarH; cdecl; external Qt4PasLib name 'QScrollBar_create'; procedure QScrollBar_destroy(handle: QScrollBarH); cdecl; external Qt4PasLib name 'QScrollBar_destroy'; function QScrollBar_create(AnonParam1: QtOrientation; parent: QWidgetH = nil): QScrollBarH; cdecl; external Qt4PasLib name 'QScrollBar_create2'; procedure QScrollBar_sizeHint(handle: QScrollBarH; retval: PSize); cdecl; external Qt4PasLib name 'QScrollBar_sizeHint'; function QScrollBar_event(handle: QScrollBarH; event: QEventH): Boolean; cdecl; external Qt4PasLib name 'QScrollBar_event'; function QMenu_create(parent: QWidgetH = nil): QMenuH; cdecl; external Qt4PasLib name 'QMenu_create'; procedure QMenu_destroy(handle: QMenuH); cdecl; external Qt4PasLib name 'QMenu_destroy'; function QMenu_create(title: PWideString; parent: QWidgetH = nil): QMenuH; cdecl; external Qt4PasLib name 'QMenu_create2'; function QMenu_addAction(handle: QMenuH; text: PWideString): QActionH; cdecl; external Qt4PasLib name 'QMenu_addAction'; function QMenu_addAction(handle: QMenuH; icon: QIconH; text: PWideString): QActionH; cdecl; external Qt4PasLib name 'QMenu_addAction2'; function QMenu_addAction(handle: QMenuH; text: PWideString; receiver: QObjectH; member: PAnsiChar; shortcut: QKeySequenceH = nil): QActionH; cdecl; external Qt4PasLib name 'QMenu_addAction3'; function QMenu_addAction(handle: QMenuH; icon: QIconH; text: PWideString; receiver: QObjectH; member: PAnsiChar; shortcut: QKeySequenceH = nil): QActionH; cdecl; external Qt4PasLib name 'QMenu_addAction4'; function QMenu_addMenu(handle: QMenuH; menu: QMenuH): QActionH; cdecl; external Qt4PasLib name 'QMenu_addMenu'; function QMenu_addMenu(handle: QMenuH; title: PWideString): QMenuH; cdecl; external Qt4PasLib name 'QMenu_addMenu2'; function QMenu_addMenu(handle: QMenuH; icon: QIconH; title: PWideString): QMenuH; cdecl; external Qt4PasLib name 'QMenu_addMenu3'; function QMenu_addSeparator(handle: QMenuH): QActionH; cdecl; external Qt4PasLib name 'QMenu_addSeparator'; function QMenu_insertMenu(handle: QMenuH; before: QActionH; menu: QMenuH): QActionH; cdecl; external Qt4PasLib name 'QMenu_insertMenu'; function QMenu_insertSeparator(handle: QMenuH; before: QActionH): QActionH; cdecl; external Qt4PasLib name 'QMenu_insertSeparator'; function QMenu_isEmpty(handle: QMenuH): Boolean; cdecl; external Qt4PasLib name 'QMenu_isEmpty'; procedure QMenu_clear(handle: QMenuH); cdecl; external Qt4PasLib name 'QMenu_clear'; procedure QMenu_setTearOffEnabled(handle: QMenuH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QMenu_setTearOffEnabled'; function QMenu_isTearOffEnabled(handle: QMenuH): Boolean; cdecl; external Qt4PasLib name 'QMenu_isTearOffEnabled'; function QMenu_isTearOffMenuVisible(handle: QMenuH): Boolean; cdecl; external Qt4PasLib name 'QMenu_isTearOffMenuVisible'; procedure QMenu_hideTearOffMenu(handle: QMenuH); cdecl; external Qt4PasLib name 'QMenu_hideTearOffMenu'; procedure QMenu_setDefaultAction(handle: QMenuH; AnonParam1: QActionH); cdecl; external Qt4PasLib name 'QMenu_setDefaultAction'; function QMenu_defaultAction(handle: QMenuH): QActionH; cdecl; external Qt4PasLib name 'QMenu_defaultAction'; procedure QMenu_setActiveAction(handle: QMenuH; act: QActionH); cdecl; external Qt4PasLib name 'QMenu_setActiveAction'; function QMenu_activeAction(handle: QMenuH): QActionH; cdecl; external Qt4PasLib name 'QMenu_activeAction'; procedure QMenu_popup(handle: QMenuH; pos: PQtPoint; at: QActionH = nil); cdecl; external Qt4PasLib name 'QMenu_popup'; function QMenu_exec(handle: QMenuH): QActionH; cdecl; external Qt4PasLib name 'QMenu_exec'; function QMenu_exec(handle: QMenuH; pos: PQtPoint; at: QActionH = nil): QActionH; cdecl; external Qt4PasLib name 'QMenu_exec2'; function QMenu_exec(actions: PPtrIntArray; pos: PQtPoint; at: QActionH = nil): QActionH; cdecl; external Qt4PasLib name 'QMenu_exec3'; function QMenu_exec(actions: PPtrIntArray; pos: PQtPoint; at: QActionH; parent: QWidgetH): QActionH; cdecl; external Qt4PasLib name 'QMenu_exec4'; procedure QMenu_sizeHint(handle: QMenuH; retval: PSize); cdecl; external Qt4PasLib name 'QMenu_sizeHint'; procedure QMenu_actionGeometry(handle: QMenuH; retval: PRect; AnonParam1: QActionH); cdecl; external Qt4PasLib name 'QMenu_actionGeometry'; function QMenu_actionAt(handle: QMenuH; AnonParam1: PQtPoint): QActionH; cdecl; external Qt4PasLib name 'QMenu_actionAt'; function QMenu_menuAction(handle: QMenuH): QActionH; cdecl; external Qt4PasLib name 'QMenu_menuAction'; procedure QMenu_title(handle: QMenuH; retval: PWideString); cdecl; external Qt4PasLib name 'QMenu_title'; procedure QMenu_setTitle(handle: QMenuH; title: PWideString); cdecl; external Qt4PasLib name 'QMenu_setTitle'; procedure QMenu_icon(handle: QMenuH; retval: QIconH); cdecl; external Qt4PasLib name 'QMenu_icon'; procedure QMenu_setIcon(handle: QMenuH; icon: QIconH); cdecl; external Qt4PasLib name 'QMenu_setIcon'; procedure QMenu_setNoReplayFor(handle: QMenuH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QMenu_setNoReplayFor'; function QMenu_separatorsCollapsible(handle: QMenuH): Boolean; cdecl; external Qt4PasLib name 'QMenu_separatorsCollapsible'; procedure QMenu_setSeparatorsCollapsible(handle: QMenuH; collapse: Boolean); cdecl; external Qt4PasLib name 'QMenu_setSeparatorsCollapsible'; type QMenu_aboutToShow_Event = procedure () of object cdecl; QMenu_aboutToHide_Event = procedure () of object cdecl; QMenu_triggered_Event = procedure (action: QActionH) of object cdecl; QMenu_hovered_Event = procedure (action: QActionH) of object cdecl; function QMenuBar_create(parent: QWidgetH = nil): QMenuBarH; cdecl; external Qt4PasLib name 'QMenuBar_create'; procedure QMenuBar_destroy(handle: QMenuBarH); cdecl; external Qt4PasLib name 'QMenuBar_destroy'; function QMenuBar_addAction(handle: QMenuBarH; text: PWideString): QActionH; cdecl; external Qt4PasLib name 'QMenuBar_addAction'; function QMenuBar_addAction(handle: QMenuBarH; text: PWideString; receiver: QObjectH; member: PAnsiChar): QActionH; cdecl; external Qt4PasLib name 'QMenuBar_addAction2'; function QMenuBar_addMenu(handle: QMenuBarH; menu: QMenuH): QActionH; cdecl; external Qt4PasLib name 'QMenuBar_addMenu'; function QMenuBar_addMenu(handle: QMenuBarH; title: PWideString): QMenuH; cdecl; external Qt4PasLib name 'QMenuBar_addMenu2'; function QMenuBar_addMenu(handle: QMenuBarH; icon: QIconH; title: PWideString): QMenuH; cdecl; external Qt4PasLib name 'QMenuBar_addMenu3'; function QMenuBar_addSeparator(handle: QMenuBarH): QActionH; cdecl; external Qt4PasLib name 'QMenuBar_addSeparator'; function QMenuBar_insertSeparator(handle: QMenuBarH; before: QActionH): QActionH; cdecl; external Qt4PasLib name 'QMenuBar_insertSeparator'; function QMenuBar_insertMenu(handle: QMenuBarH; before: QActionH; menu: QMenuH): QActionH; cdecl; external Qt4PasLib name 'QMenuBar_insertMenu'; procedure QMenuBar_clear(handle: QMenuBarH); cdecl; external Qt4PasLib name 'QMenuBar_clear'; function QMenuBar_activeAction(handle: QMenuBarH): QActionH; cdecl; external Qt4PasLib name 'QMenuBar_activeAction'; procedure QMenuBar_setActiveAction(handle: QMenuBarH; action: QActionH); cdecl; external Qt4PasLib name 'QMenuBar_setActiveAction'; procedure QMenuBar_setDefaultUp(handle: QMenuBarH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QMenuBar_setDefaultUp'; function QMenuBar_isDefaultUp(handle: QMenuBarH): Boolean; cdecl; external Qt4PasLib name 'QMenuBar_isDefaultUp'; procedure QMenuBar_sizeHint(handle: QMenuBarH; retval: PSize); cdecl; external Qt4PasLib name 'QMenuBar_sizeHint'; procedure QMenuBar_minimumSizeHint(handle: QMenuBarH; retval: PSize); cdecl; external Qt4PasLib name 'QMenuBar_minimumSizeHint'; function QMenuBar_heightForWidth(handle: QMenuBarH; AnonParam1: Integer): Integer; cdecl; external Qt4PasLib name 'QMenuBar_heightForWidth'; procedure QMenuBar_actionGeometry(handle: QMenuBarH; retval: PRect; AnonParam1: QActionH); cdecl; external Qt4PasLib name 'QMenuBar_actionGeometry'; function QMenuBar_actionAt(handle: QMenuBarH; AnonParam1: PQtPoint): QActionH; cdecl; external Qt4PasLib name 'QMenuBar_actionAt'; procedure QMenuBar_setCornerWidget(handle: QMenuBarH; w: QWidgetH; corner: QtCorner = QtTopRightCorner); cdecl; external Qt4PasLib name 'QMenuBar_setCornerWidget'; function QMenuBar_cornerWidget(handle: QMenuBarH; corner: QtCorner = QtTopRightCorner): QWidgetH; cdecl; external Qt4PasLib name 'QMenuBar_cornerWidget'; procedure QMenuBar_setVisible(handle: QMenuBarH; visible: Boolean); cdecl; external Qt4PasLib name 'QMenuBar_setVisible'; {$ifdef DARWIN } function QMenuBar_macMenu(handle: QMenuBarH): Pointer; cdecl; external Qt4PasLib name 'QMenuBar_macMenu'; function QMenuBar_macUpdateMenuBar(): Boolean; cdecl; external Qt4PasLib name 'QMenuBar_macUpdateMenuBar'; {$endif} type QMenuBar_triggered_Event = procedure (action: QActionH) of object cdecl; QMenuBar_hovered_Event = procedure (action: QActionH) of object cdecl; function QButtonGroup_create(parent: QObjectH = nil): QButtonGroupH; cdecl; external Qt4PasLib name 'QButtonGroup_create'; procedure QButtonGroup_destroy(handle: QButtonGroupH); cdecl; external Qt4PasLib name 'QButtonGroup_destroy'; procedure QButtonGroup_setExclusive(handle: QButtonGroupH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QButtonGroup_setExclusive'; function QButtonGroup_exclusive(handle: QButtonGroupH): Boolean; cdecl; external Qt4PasLib name 'QButtonGroup_exclusive'; procedure QButtonGroup_addButton(handle: QButtonGroupH; AnonParam1: QAbstractButtonH); cdecl; external Qt4PasLib name 'QButtonGroup_addButton'; procedure QButtonGroup_addButton(handle: QButtonGroupH; AnonParam1: QAbstractButtonH; id: Integer); cdecl; external Qt4PasLib name 'QButtonGroup_addButton2'; procedure QButtonGroup_removeButton(handle: QButtonGroupH; AnonParam1: QAbstractButtonH); cdecl; external Qt4PasLib name 'QButtonGroup_removeButton'; procedure QButtonGroup_buttons(handle: QButtonGroupH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QButtonGroup_buttons'; function QButtonGroup_checkedButton(handle: QButtonGroupH): QAbstractButtonH; cdecl; external Qt4PasLib name 'QButtonGroup_checkedButton'; function QButtonGroup_button(handle: QButtonGroupH; id: Integer): QAbstractButtonH; cdecl; external Qt4PasLib name 'QButtonGroup_button'; procedure QButtonGroup_setId(handle: QButtonGroupH; button: QAbstractButtonH; id: Integer); cdecl; external Qt4PasLib name 'QButtonGroup_setId'; function QButtonGroup_id(handle: QButtonGroupH; button: QAbstractButtonH): Integer; cdecl; external Qt4PasLib name 'QButtonGroup_id'; function QButtonGroup_checkedId(handle: QButtonGroupH): Integer; cdecl; external Qt4PasLib name 'QButtonGroup_checkedId'; type QButtonGroup_buttonClicked_Event = procedure (AnonParam1: QAbstractButtonH) of object cdecl; QButtonGroup_buttonClicked2_Event = procedure (AnonParam1: Integer) of object cdecl; QButtonGroup_buttonPressed_Event = procedure (AnonParam1: QAbstractButtonH) of object cdecl; QButtonGroup_buttonPressed2_Event = procedure (AnonParam1: Integer) of object cdecl; QButtonGroup_buttonReleased_Event = procedure (AnonParam1: QAbstractButtonH) of object cdecl; QButtonGroup_buttonReleased2_Event = procedure (AnonParam1: Integer) of object cdecl; procedure QAbstractButton_setText(handle: QAbstractButtonH; text: PWideString); cdecl; external Qt4PasLib name 'QAbstractButton_setText'; procedure QAbstractButton_text(handle: QAbstractButtonH; retval: PWideString); cdecl; external Qt4PasLib name 'QAbstractButton_text'; procedure QAbstractButton_setIcon(handle: QAbstractButtonH; icon: QIconH); cdecl; external Qt4PasLib name 'QAbstractButton_setIcon'; procedure QAbstractButton_icon(handle: QAbstractButtonH; retval: QIconH); cdecl; external Qt4PasLib name 'QAbstractButton_icon'; procedure QAbstractButton_iconSize(handle: QAbstractButtonH; retval: PSize); cdecl; external Qt4PasLib name 'QAbstractButton_iconSize'; procedure QAbstractButton_setShortcut(handle: QAbstractButtonH; key: QKeySequenceH); cdecl; external Qt4PasLib name 'QAbstractButton_setShortcut'; procedure QAbstractButton_shortcut(handle: QAbstractButtonH; retval: QKeySequenceH); cdecl; external Qt4PasLib name 'QAbstractButton_shortcut'; procedure QAbstractButton_setCheckable(handle: QAbstractButtonH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QAbstractButton_setCheckable'; function QAbstractButton_isCheckable(handle: QAbstractButtonH): Boolean; cdecl; external Qt4PasLib name 'QAbstractButton_isCheckable'; function QAbstractButton_isChecked(handle: QAbstractButtonH): Boolean; cdecl; external Qt4PasLib name 'QAbstractButton_isChecked'; procedure QAbstractButton_setDown(handle: QAbstractButtonH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QAbstractButton_setDown'; function QAbstractButton_isDown(handle: QAbstractButtonH): Boolean; cdecl; external Qt4PasLib name 'QAbstractButton_isDown'; procedure QAbstractButton_setAutoRepeat(handle: QAbstractButtonH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QAbstractButton_setAutoRepeat'; function QAbstractButton_autoRepeat(handle: QAbstractButtonH): Boolean; cdecl; external Qt4PasLib name 'QAbstractButton_autoRepeat'; procedure QAbstractButton_setAutoRepeatDelay(handle: QAbstractButtonH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QAbstractButton_setAutoRepeatDelay'; function QAbstractButton_autoRepeatDelay(handle: QAbstractButtonH): Integer; cdecl; external Qt4PasLib name 'QAbstractButton_autoRepeatDelay'; procedure QAbstractButton_setAutoRepeatInterval(handle: QAbstractButtonH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QAbstractButton_setAutoRepeatInterval'; function QAbstractButton_autoRepeatInterval(handle: QAbstractButtonH): Integer; cdecl; external Qt4PasLib name 'QAbstractButton_autoRepeatInterval'; procedure QAbstractButton_setAutoExclusive(handle: QAbstractButtonH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QAbstractButton_setAutoExclusive'; function QAbstractButton_autoExclusive(handle: QAbstractButtonH): Boolean; cdecl; external Qt4PasLib name 'QAbstractButton_autoExclusive'; function QAbstractButton_group(handle: QAbstractButtonH): QButtonGroupH; cdecl; external Qt4PasLib name 'QAbstractButton_group'; procedure QAbstractButton_setIconSize(handle: QAbstractButtonH; size: PSize); cdecl; external Qt4PasLib name 'QAbstractButton_setIconSize'; procedure QAbstractButton_animateClick(handle: QAbstractButtonH; msec: Integer = 100); cdecl; external Qt4PasLib name 'QAbstractButton_animateClick'; procedure QAbstractButton_click(handle: QAbstractButtonH); cdecl; external Qt4PasLib name 'QAbstractButton_click'; procedure QAbstractButton_toggle(handle: QAbstractButtonH); cdecl; external Qt4PasLib name 'QAbstractButton_toggle'; procedure QAbstractButton_setChecked(handle: QAbstractButtonH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QAbstractButton_setChecked'; type QAbstractButton_pressed_Event = procedure () of object cdecl; QAbstractButton_released_Event = procedure () of object cdecl; QAbstractButton_clicked_Event = procedure (checked: Boolean = False) of object cdecl; QAbstractButton_clicked2_Event = procedure () of object cdecl; QAbstractButton_toggled_Event = procedure (checked: Boolean) of object cdecl; function QPushButton_create(parent: QWidgetH = nil): QPushButtonH; cdecl; external Qt4PasLib name 'QPushButton_create'; procedure QPushButton_destroy(handle: QPushButtonH); cdecl; external Qt4PasLib name 'QPushButton_destroy'; function QPushButton_create(text: PWideString; parent: QWidgetH = nil): QPushButtonH; cdecl; external Qt4PasLib name 'QPushButton_create2'; function QPushButton_create(icon: QIconH; text: PWideString; parent: QWidgetH = nil): QPushButtonH; cdecl; external Qt4PasLib name 'QPushButton_create3'; procedure QPushButton_sizeHint(handle: QPushButtonH; retval: PSize); cdecl; external Qt4PasLib name 'QPushButton_sizeHint'; procedure QPushButton_minimumSizeHint(handle: QPushButtonH; retval: PSize); cdecl; external Qt4PasLib name 'QPushButton_minimumSizeHint'; function QPushButton_autoDefault(handle: QPushButtonH): Boolean; cdecl; external Qt4PasLib name 'QPushButton_autoDefault'; procedure QPushButton_setAutoDefault(handle: QPushButtonH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QPushButton_setAutoDefault'; function QPushButton_isDefault(handle: QPushButtonH): Boolean; cdecl; external Qt4PasLib name 'QPushButton_isDefault'; procedure QPushButton_setDefault(handle: QPushButtonH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QPushButton_setDefault'; procedure QPushButton_setMenu(handle: QPushButtonH; menu: QMenuH); cdecl; external Qt4PasLib name 'QPushButton_setMenu'; function QPushButton_menu(handle: QPushButtonH): QMenuH; cdecl; external Qt4PasLib name 'QPushButton_menu'; procedure QPushButton_setFlat(handle: QPushButtonH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QPushButton_setFlat'; function QPushButton_isFlat(handle: QPushButtonH): Boolean; cdecl; external Qt4PasLib name 'QPushButton_isFlat'; procedure QPushButton_showMenu(handle: QPushButtonH); cdecl; external Qt4PasLib name 'QPushButton_showMenu'; function QRadioButton_create(parent: QWidgetH = nil): QRadioButtonH; cdecl; external Qt4PasLib name 'QRadioButton_create'; procedure QRadioButton_destroy(handle: QRadioButtonH); cdecl; external Qt4PasLib name 'QRadioButton_destroy'; function QRadioButton_create(text: PWideString; parent: QWidgetH = nil): QRadioButtonH; cdecl; external Qt4PasLib name 'QRadioButton_create2'; procedure QRadioButton_sizeHint(handle: QRadioButtonH; retval: PSize); cdecl; external Qt4PasLib name 'QRadioButton_sizeHint'; type QLineEditEchoMode = ( // QLineEdit::EchoMode (1) QLineEditNormal, QLineEditNoEcho, QLineEditPassword, QLineEditPasswordEchoOnEdit ); function QLineEdit_create(parent: QWidgetH = nil): QLineEditH; cdecl; external Qt4PasLib name 'QLineEdit_create'; procedure QLineEdit_destroy(handle: QLineEditH); cdecl; external Qt4PasLib name 'QLineEdit_destroy'; function QLineEdit_create(AnonParam1: PWideString; parent: QWidgetH = nil): QLineEditH; cdecl; external Qt4PasLib name 'QLineEdit_create2'; procedure QLineEdit_text(handle: QLineEditH; retval: PWideString); cdecl; external Qt4PasLib name 'QLineEdit_text'; procedure QLineEdit_displayText(handle: QLineEditH; retval: PWideString); cdecl; external Qt4PasLib name 'QLineEdit_displayText'; function QLineEdit_maxLength(handle: QLineEditH): Integer; cdecl; external Qt4PasLib name 'QLineEdit_maxLength'; procedure QLineEdit_setMaxLength(handle: QLineEditH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QLineEdit_setMaxLength'; procedure QLineEdit_setFrame(handle: QLineEditH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QLineEdit_setFrame'; function QLineEdit_hasFrame(handle: QLineEditH): Boolean; cdecl; external Qt4PasLib name 'QLineEdit_hasFrame'; function QLineEdit_echoMode(handle: QLineEditH): QLineEditEchoMode; cdecl; external Qt4PasLib name 'QLineEdit_echoMode'; procedure QLineEdit_setEchoMode(handle: QLineEditH; AnonParam1: QLineEditEchoMode); cdecl; external Qt4PasLib name 'QLineEdit_setEchoMode'; function QLineEdit_isReadOnly(handle: QLineEditH): Boolean; cdecl; external Qt4PasLib name 'QLineEdit_isReadOnly'; procedure QLineEdit_setReadOnly(handle: QLineEditH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QLineEdit_setReadOnly'; procedure QLineEdit_setValidator(handle: QLineEditH; AnonParam1: QValidatorH); cdecl; external Qt4PasLib name 'QLineEdit_setValidator'; function QLineEdit_validator(handle: QLineEditH): QValidatorH; cdecl; external Qt4PasLib name 'QLineEdit_validator'; procedure QLineEdit_setCompleter(handle: QLineEditH; completer: QCompleterH); cdecl; external Qt4PasLib name 'QLineEdit_setCompleter'; function QLineEdit_completer(handle: QLineEditH): QCompleterH; cdecl; external Qt4PasLib name 'QLineEdit_completer'; procedure QLineEdit_sizeHint(handle: QLineEditH; retval: PSize); cdecl; external Qt4PasLib name 'QLineEdit_sizeHint'; procedure QLineEdit_minimumSizeHint(handle: QLineEditH; retval: PSize); cdecl; external Qt4PasLib name 'QLineEdit_minimumSizeHint'; function QLineEdit_cursorPosition(handle: QLineEditH): Integer; cdecl; external Qt4PasLib name 'QLineEdit_cursorPosition'; procedure QLineEdit_setCursorPosition(handle: QLineEditH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QLineEdit_setCursorPosition'; function QLineEdit_cursorPositionAt(handle: QLineEditH; pos: PQtPoint): Integer; cdecl; external Qt4PasLib name 'QLineEdit_cursorPositionAt'; procedure QLineEdit_setAlignment(handle: QLineEditH; flag: QtAlignment); cdecl; external Qt4PasLib name 'QLineEdit_setAlignment'; function QLineEdit_alignment(handle: QLineEditH): QtAlignment; cdecl; external Qt4PasLib name 'QLineEdit_alignment'; procedure QLineEdit_cursorForward(handle: QLineEditH; mark: Boolean; steps: Integer = 1); cdecl; external Qt4PasLib name 'QLineEdit_cursorForward'; procedure QLineEdit_cursorBackward(handle: QLineEditH; mark: Boolean; steps: Integer = 1); cdecl; external Qt4PasLib name 'QLineEdit_cursorBackward'; procedure QLineEdit_cursorWordForward(handle: QLineEditH; mark: Boolean); cdecl; external Qt4PasLib name 'QLineEdit_cursorWordForward'; procedure QLineEdit_cursorWordBackward(handle: QLineEditH; mark: Boolean); cdecl; external Qt4PasLib name 'QLineEdit_cursorWordBackward'; procedure QLineEdit_backspace(handle: QLineEditH); cdecl; external Qt4PasLib name 'QLineEdit_backspace'; procedure QLineEdit_del(handle: QLineEditH); cdecl; external Qt4PasLib name 'QLineEdit_del'; procedure QLineEdit_home(handle: QLineEditH; mark: Boolean); cdecl; external Qt4PasLib name 'QLineEdit_home'; procedure QLineEdit_end(handle: QLineEditH; mark: Boolean); cdecl; external Qt4PasLib name 'QLineEdit_end'; function QLineEdit_isModified(handle: QLineEditH): Boolean; cdecl; external Qt4PasLib name 'QLineEdit_isModified'; procedure QLineEdit_setModified(handle: QLineEditH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QLineEdit_setModified'; procedure QLineEdit_setSelection(handle: QLineEditH; AnonParam1: Integer; AnonParam2: Integer); cdecl; external Qt4PasLib name 'QLineEdit_setSelection'; function QLineEdit_hasSelectedText(handle: QLineEditH): Boolean; cdecl; external Qt4PasLib name 'QLineEdit_hasSelectedText'; procedure QLineEdit_selectedText(handle: QLineEditH; retval: PWideString); cdecl; external Qt4PasLib name 'QLineEdit_selectedText'; function QLineEdit_selectionStart(handle: QLineEditH): Integer; cdecl; external Qt4PasLib name 'QLineEdit_selectionStart'; function QLineEdit_isUndoAvailable(handle: QLineEditH): Boolean; cdecl; external Qt4PasLib name 'QLineEdit_isUndoAvailable'; function QLineEdit_isRedoAvailable(handle: QLineEditH): Boolean; cdecl; external Qt4PasLib name 'QLineEdit_isRedoAvailable'; procedure QLineEdit_setDragEnabled(handle: QLineEditH; b: Boolean); cdecl; external Qt4PasLib name 'QLineEdit_setDragEnabled'; function QLineEdit_dragEnabled(handle: QLineEditH): Boolean; cdecl; external Qt4PasLib name 'QLineEdit_dragEnabled'; procedure QLineEdit_inputMask(handle: QLineEditH; retval: PWideString); cdecl; external Qt4PasLib name 'QLineEdit_inputMask'; procedure QLineEdit_setInputMask(handle: QLineEditH; inputMask: PWideString); cdecl; external Qt4PasLib name 'QLineEdit_setInputMask'; function QLineEdit_hasAcceptableInput(handle: QLineEditH): Boolean; cdecl; external Qt4PasLib name 'QLineEdit_hasAcceptableInput'; procedure QLineEdit_setTextMargins(handle: QLineEditH; left: Integer; top: Integer; right: Integer; bottom: Integer); cdecl; external Qt4PasLib name 'QLineEdit_setTextMargins'; procedure QLineEdit_getTextMargins(handle: QLineEditH; left: PInteger; top: PInteger; right: PInteger; bottom: PInteger); cdecl; external Qt4PasLib name 'QLineEdit_getTextMargins'; procedure QLineEdit_setText(handle: QLineEditH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QLineEdit_setText'; procedure QLineEdit_clear(handle: QLineEditH); cdecl; external Qt4PasLib name 'QLineEdit_clear'; procedure QLineEdit_selectAll(handle: QLineEditH); cdecl; external Qt4PasLib name 'QLineEdit_selectAll'; procedure QLineEdit_undo(handle: QLineEditH); cdecl; external Qt4PasLib name 'QLineEdit_undo'; procedure QLineEdit_redo(handle: QLineEditH); cdecl; external Qt4PasLib name 'QLineEdit_redo'; procedure QLineEdit_cut(handle: QLineEditH); cdecl; external Qt4PasLib name 'QLineEdit_cut'; procedure QLineEdit_copy(handle: QLineEditH); cdecl; external Qt4PasLib name 'QLineEdit_copy'; procedure QLineEdit_paste(handle: QLineEditH); cdecl; external Qt4PasLib name 'QLineEdit_paste'; procedure QLineEdit_deselect(handle: QLineEditH); cdecl; external Qt4PasLib name 'QLineEdit_deselect'; procedure QLineEdit_insert(handle: QLineEditH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QLineEdit_insert'; function QLineEdit_createStandardContextMenu(handle: QLineEditH): QMenuH; cdecl; external Qt4PasLib name 'QLineEdit_createStandardContextMenu'; procedure QLineEdit_inputMethodQuery(handle: QLineEditH; retval: QVariantH; AnonParam1: QtInputMethodQuery); cdecl; external Qt4PasLib name 'QLineEdit_inputMethodQuery'; function QLineEdit_event(handle: QLineEditH; AnonParam1: QEventH): Boolean; cdecl; external Qt4PasLib name 'QLineEdit_event'; type QLineEdit_textChanged_Event = procedure (AnonParam1: PWideString) of object cdecl; QLineEdit_textEdited_Event = procedure (AnonParam1: PWideString) of object cdecl; QLineEdit_cursorPositionChanged_Event = procedure (AnonParam1: Integer; AnonParam2: Integer) of object cdecl; QLineEdit_returnPressed_Event = procedure () of object cdecl; QLineEdit_editingFinished_Event = procedure () of object cdecl; QLineEdit_selectionChanged_Event = procedure () of object cdecl; type QPlainTextEditLineWrapMode = ( // QPlainTextEdit::LineWrapMode (1) QPlainTextEditNoWrap, QPlainTextEditWidgetWidth ); function QPlainTextEdit_create(parent: QWidgetH = nil): QPlainTextEditH; cdecl; external Qt4PasLib name 'QPlainTextEdit_create'; procedure QPlainTextEdit_destroy(handle: QPlainTextEditH); cdecl; external Qt4PasLib name 'QPlainTextEdit_destroy'; function QPlainTextEdit_create(text: PWideString; parent: QWidgetH = nil): QPlainTextEditH; cdecl; external Qt4PasLib name 'QPlainTextEdit_create2'; procedure QPlainTextEdit_setDocument(handle: QPlainTextEditH; document: QTextDocumentH); cdecl; external Qt4PasLib name 'QPlainTextEdit_setDocument'; function QPlainTextEdit_document(handle: QPlainTextEditH): QTextDocumentH; cdecl; external Qt4PasLib name 'QPlainTextEdit_document'; procedure QPlainTextEdit_setTextCursor(handle: QPlainTextEditH; cursor: QTextCursorH); cdecl; external Qt4PasLib name 'QPlainTextEdit_setTextCursor'; procedure QPlainTextEdit_textCursor(handle: QPlainTextEditH; retval: QTextCursorH); cdecl; external Qt4PasLib name 'QPlainTextEdit_textCursor'; function QPlainTextEdit_isReadOnly(handle: QPlainTextEditH): Boolean; cdecl; external Qt4PasLib name 'QPlainTextEdit_isReadOnly'; procedure QPlainTextEdit_setReadOnly(handle: QPlainTextEditH; ro: Boolean); cdecl; external Qt4PasLib name 'QPlainTextEdit_setReadOnly'; procedure QPlainTextEdit_setTextInteractionFlags(handle: QPlainTextEditH; flags: QtTextInteractionFlags); cdecl; external Qt4PasLib name 'QPlainTextEdit_setTextInteractionFlags'; function QPlainTextEdit_textInteractionFlags(handle: QPlainTextEditH): QtTextInteractionFlags; cdecl; external Qt4PasLib name 'QPlainTextEdit_textInteractionFlags'; procedure QPlainTextEdit_mergeCurrentCharFormat(handle: QPlainTextEditH; modifier: QTextCharFormatH); cdecl; external Qt4PasLib name 'QPlainTextEdit_mergeCurrentCharFormat'; procedure QPlainTextEdit_setCurrentCharFormat(handle: QPlainTextEditH; format: QTextCharFormatH); cdecl; external Qt4PasLib name 'QPlainTextEdit_setCurrentCharFormat'; procedure QPlainTextEdit_currentCharFormat(handle: QPlainTextEditH; retval: QTextCharFormatH); cdecl; external Qt4PasLib name 'QPlainTextEdit_currentCharFormat'; function QPlainTextEdit_tabChangesFocus(handle: QPlainTextEditH): Boolean; cdecl; external Qt4PasLib name 'QPlainTextEdit_tabChangesFocus'; procedure QPlainTextEdit_setTabChangesFocus(handle: QPlainTextEditH; b: Boolean); cdecl; external Qt4PasLib name 'QPlainTextEdit_setTabChangesFocus'; procedure QPlainTextEdit_setDocumentTitle(handle: QPlainTextEditH; title: PWideString); cdecl; external Qt4PasLib name 'QPlainTextEdit_setDocumentTitle'; procedure QPlainTextEdit_documentTitle(handle: QPlainTextEditH; retval: PWideString); cdecl; external Qt4PasLib name 'QPlainTextEdit_documentTitle'; function QPlainTextEdit_isUndoRedoEnabled(handle: QPlainTextEditH): Boolean; cdecl; external Qt4PasLib name 'QPlainTextEdit_isUndoRedoEnabled'; procedure QPlainTextEdit_setUndoRedoEnabled(handle: QPlainTextEditH; enable: Boolean); cdecl; external Qt4PasLib name 'QPlainTextEdit_setUndoRedoEnabled'; procedure QPlainTextEdit_setMaximumBlockCount(handle: QPlainTextEditH; maximum: Integer); cdecl; external Qt4PasLib name 'QPlainTextEdit_setMaximumBlockCount'; function QPlainTextEdit_maximumBlockCount(handle: QPlainTextEditH): Integer; cdecl; external Qt4PasLib name 'QPlainTextEdit_maximumBlockCount'; function QPlainTextEdit_lineWrapMode(handle: QPlainTextEditH): QPlainTextEditLineWrapMode; cdecl; external Qt4PasLib name 'QPlainTextEdit_lineWrapMode'; procedure QPlainTextEdit_setLineWrapMode(handle: QPlainTextEditH; mode: QPlainTextEditLineWrapMode); cdecl; external Qt4PasLib name 'QPlainTextEdit_setLineWrapMode'; function QPlainTextEdit_wordWrapMode(handle: QPlainTextEditH): QTextOptionWrapMode; cdecl; external Qt4PasLib name 'QPlainTextEdit_wordWrapMode'; procedure QPlainTextEdit_setWordWrapMode(handle: QPlainTextEditH; policy: QTextOptionWrapMode); cdecl; external Qt4PasLib name 'QPlainTextEdit_setWordWrapMode'; procedure QPlainTextEdit_setBackgroundVisible(handle: QPlainTextEditH; visible: Boolean); cdecl; external Qt4PasLib name 'QPlainTextEdit_setBackgroundVisible'; function QPlainTextEdit_backgroundVisible(handle: QPlainTextEditH): Boolean; cdecl; external Qt4PasLib name 'QPlainTextEdit_backgroundVisible'; procedure QPlainTextEdit_setCenterOnScroll(handle: QPlainTextEditH; enabled: Boolean); cdecl; external Qt4PasLib name 'QPlainTextEdit_setCenterOnScroll'; function QPlainTextEdit_centerOnScroll(handle: QPlainTextEditH): Boolean; cdecl; external Qt4PasLib name 'QPlainTextEdit_centerOnScroll'; function QPlainTextEdit_find(handle: QPlainTextEditH; exp: PWideString; options: QTextDocumentFindFlags = 0): Boolean; cdecl; external Qt4PasLib name 'QPlainTextEdit_find'; procedure QPlainTextEdit_toPlainText(handle: QPlainTextEditH; retval: PWideString); cdecl; external Qt4PasLib name 'QPlainTextEdit_toPlainText'; procedure QPlainTextEdit_ensureCursorVisible(handle: QPlainTextEditH); cdecl; external Qt4PasLib name 'QPlainTextEdit_ensureCursorVisible'; procedure QPlainTextEdit_loadResource(handle: QPlainTextEditH; retval: QVariantH; _type: Integer; name: QUrlH); cdecl; external Qt4PasLib name 'QPlainTextEdit_loadResource'; function QPlainTextEdit_createStandardContextMenu(handle: QPlainTextEditH): QMenuH; cdecl; external Qt4PasLib name 'QPlainTextEdit_createStandardContextMenu'; procedure QPlainTextEdit_cursorForPosition(handle: QPlainTextEditH; retval: QTextCursorH; pos: PQtPoint); cdecl; external Qt4PasLib name 'QPlainTextEdit_cursorForPosition'; procedure QPlainTextEdit_cursorRect(handle: QPlainTextEditH; retval: PRect; cursor: QTextCursorH); cdecl; external Qt4PasLib name 'QPlainTextEdit_cursorRect'; procedure QPlainTextEdit_cursorRect(handle: QPlainTextEditH; retval: PRect); cdecl; external Qt4PasLib name 'QPlainTextEdit_cursorRect2'; function QPlainTextEdit_overwriteMode(handle: QPlainTextEditH): Boolean; cdecl; external Qt4PasLib name 'QPlainTextEdit_overwriteMode'; procedure QPlainTextEdit_setOverwriteMode(handle: QPlainTextEditH; overwrite: Boolean); cdecl; external Qt4PasLib name 'QPlainTextEdit_setOverwriteMode'; function QPlainTextEdit_tabStopWidth(handle: QPlainTextEditH): Integer; cdecl; external Qt4PasLib name 'QPlainTextEdit_tabStopWidth'; procedure QPlainTextEdit_setTabStopWidth(handle: QPlainTextEditH; width: Integer); cdecl; external Qt4PasLib name 'QPlainTextEdit_setTabStopWidth'; function QPlainTextEdit_cursorWidth(handle: QPlainTextEditH): Integer; cdecl; external Qt4PasLib name 'QPlainTextEdit_cursorWidth'; procedure QPlainTextEdit_setCursorWidth(handle: QPlainTextEditH; width: Integer); cdecl; external Qt4PasLib name 'QPlainTextEdit_setCursorWidth'; procedure QPlainTextEdit_moveCursor(handle: QPlainTextEditH; operation: QTextCursorMoveOperation; mode: QTextCursorMoveMode = QTextCursorMoveAnchor); cdecl; external Qt4PasLib name 'QPlainTextEdit_moveCursor'; function QPlainTextEdit_canPaste(handle: QPlainTextEditH): Boolean; cdecl; external Qt4PasLib name 'QPlainTextEdit_canPaste'; procedure QPlainTextEdit_print(handle: QPlainTextEditH; printer: QPrinterH); cdecl; external Qt4PasLib name 'QPlainTextEdit_print'; function QPlainTextEdit_blockCount(handle: QPlainTextEditH): Integer; cdecl; external Qt4PasLib name 'QPlainTextEdit_blockCount'; procedure QPlainTextEdit_setPlainText(handle: QPlainTextEditH; text: PWideString); cdecl; external Qt4PasLib name 'QPlainTextEdit_setPlainText'; procedure QPlainTextEdit_cut(handle: QPlainTextEditH); cdecl; external Qt4PasLib name 'QPlainTextEdit_cut'; procedure QPlainTextEdit_copy(handle: QPlainTextEditH); cdecl; external Qt4PasLib name 'QPlainTextEdit_copy'; procedure QPlainTextEdit_paste(handle: QPlainTextEditH); cdecl; external Qt4PasLib name 'QPlainTextEdit_paste'; procedure QPlainTextEdit_undo(handle: QPlainTextEditH); cdecl; external Qt4PasLib name 'QPlainTextEdit_undo'; procedure QPlainTextEdit_redo(handle: QPlainTextEditH); cdecl; external Qt4PasLib name 'QPlainTextEdit_redo'; procedure QPlainTextEdit_clear(handle: QPlainTextEditH); cdecl; external Qt4PasLib name 'QPlainTextEdit_clear'; procedure QPlainTextEdit_selectAll(handle: QPlainTextEditH); cdecl; external Qt4PasLib name 'QPlainTextEdit_selectAll'; procedure QPlainTextEdit_insertPlainText(handle: QPlainTextEditH; text: PWideString); cdecl; external Qt4PasLib name 'QPlainTextEdit_insertPlainText'; procedure QPlainTextEdit_appendPlainText(handle: QPlainTextEditH; text: PWideString); cdecl; external Qt4PasLib name 'QPlainTextEdit_appendPlainText'; procedure QPlainTextEdit_appendHtml(handle: QPlainTextEditH; html: PWideString); cdecl; external Qt4PasLib name 'QPlainTextEdit_appendHtml'; procedure QPlainTextEdit_centerCursor(handle: QPlainTextEditH); cdecl; external Qt4PasLib name 'QPlainTextEdit_centerCursor'; function QPlainTextDocumentLayout_create(document: QTextDocumentH): QPlainTextDocumentLayoutH; cdecl; external Qt4PasLib name 'QPlainTextDocumentLayout_create'; procedure QPlainTextDocumentLayout_destroy(handle: QPlainTextDocumentLayoutH); cdecl; external Qt4PasLib name 'QPlainTextDocumentLayout_destroy'; function QPlainTextDocumentLayout_hitTest(handle: QPlainTextDocumentLayoutH; AnonParam1: PQtPointF; AnonParam2: QtHitTestAccuracy): Integer; cdecl; external Qt4PasLib name 'QPlainTextDocumentLayout_hitTest'; function QPlainTextDocumentLayout_pageCount(handle: QPlainTextDocumentLayoutH): Integer; cdecl; external Qt4PasLib name 'QPlainTextDocumentLayout_pageCount'; procedure QPlainTextDocumentLayout_documentSize(handle: QPlainTextDocumentLayoutH; retval: QSizeFH); cdecl; external Qt4PasLib name 'QPlainTextDocumentLayout_documentSize'; procedure QPlainTextDocumentLayout_frameBoundingRect(handle: QPlainTextDocumentLayoutH; retval: QRectFH; AnonParam1: QTextFrameH); cdecl; external Qt4PasLib name 'QPlainTextDocumentLayout_frameBoundingRect'; procedure QPlainTextDocumentLayout_blockBoundingRect(handle: QPlainTextDocumentLayoutH; retval: QRectFH; block: QTextBlockH); cdecl; external Qt4PasLib name 'QPlainTextDocumentLayout_blockBoundingRect'; procedure QPlainTextDocumentLayout_ensureBlockLayout(handle: QPlainTextDocumentLayoutH; block: QTextBlockH); cdecl; external Qt4PasLib name 'QPlainTextDocumentLayout_ensureBlockLayout'; procedure QPlainTextDocumentLayout_setCursorWidth(handle: QPlainTextDocumentLayoutH; width: Integer); cdecl; external Qt4PasLib name 'QPlainTextDocumentLayout_setCursorWidth'; function QPlainTextDocumentLayout_cursorWidth(handle: QPlainTextDocumentLayoutH): Integer; cdecl; external Qt4PasLib name 'QPlainTextDocumentLayout_cursorWidth'; procedure QPlainTextDocumentLayout_requestUpdate(handle: QPlainTextDocumentLayoutH); cdecl; external Qt4PasLib name 'QPlainTextDocumentLayout_requestUpdate'; type QPlainTextEdit_textChanged_Event = procedure () of object cdecl; QPlainTextEdit_undoAvailable_Event = procedure (b: Boolean) of object cdecl; QPlainTextEdit_redoAvailable_Event = procedure (b: Boolean) of object cdecl; QPlainTextEdit_copyAvailable_Event = procedure (b: Boolean) of object cdecl; QPlainTextEdit_selectionChanged_Event = procedure () of object cdecl; QPlainTextEdit_cursorPositionChanged_Event = procedure () of object cdecl; QPlainTextEdit_updateRequest_Event = procedure (rect: PRect; dy: Integer) of object cdecl; QPlainTextEdit_blockCountChanged_Event = procedure (newBlockCount: Integer) of object cdecl; QPlainTextEdit_modificationChanged_Event = procedure (AnonParam1: Boolean) of object cdecl; type QTextEditLineWrapMode = ( // QTextEdit::LineWrapMode (1) QTextEditNoWrap, QTextEditWidgetWidth, QTextEditFixedPixelWidth, QTextEditFixedColumnWidth ); type QTextEditAutoFormattingFlag = cardinal; // QTextEdit::AutoFormattingFlag QTextEditAutoFormatting = QTextEditAutoFormattingFlag; //QFlags<> (3) const QTextEditAutoNone = 0; QTextEditAutoBulletList = $00000001; QTextEditAutoAll = $ffffffff; function QTextEdit_create(parent: QWidgetH = nil): QTextEditH; cdecl; external Qt4PasLib name 'QTextEdit_create'; procedure QTextEdit_destroy(handle: QTextEditH); cdecl; external Qt4PasLib name 'QTextEdit_destroy'; function QTextEdit_create(text: PWideString; parent: QWidgetH = nil): QTextEditH; cdecl; external Qt4PasLib name 'QTextEdit_create2'; procedure QTextEdit_setDocument(handle: QTextEditH; document: QTextDocumentH); cdecl; external Qt4PasLib name 'QTextEdit_setDocument'; function QTextEdit_document(handle: QTextEditH): QTextDocumentH; cdecl; external Qt4PasLib name 'QTextEdit_document'; procedure QTextEdit_setTextCursor(handle: QTextEditH; cursor: QTextCursorH); cdecl; external Qt4PasLib name 'QTextEdit_setTextCursor'; procedure QTextEdit_textCursor(handle: QTextEditH; retval: QTextCursorH); cdecl; external Qt4PasLib name 'QTextEdit_textCursor'; function QTextEdit_isReadOnly(handle: QTextEditH): Boolean; cdecl; external Qt4PasLib name 'QTextEdit_isReadOnly'; procedure QTextEdit_setReadOnly(handle: QTextEditH; ro: Boolean); cdecl; external Qt4PasLib name 'QTextEdit_setReadOnly'; procedure QTextEdit_setTextInteractionFlags(handle: QTextEditH; flags: QtTextInteractionFlags); cdecl; external Qt4PasLib name 'QTextEdit_setTextInteractionFlags'; function QTextEdit_textInteractionFlags(handle: QTextEditH): QtTextInteractionFlags; cdecl; external Qt4PasLib name 'QTextEdit_textInteractionFlags'; function QTextEdit_fontPointSize(handle: QTextEditH): qreal; cdecl; external Qt4PasLib name 'QTextEdit_fontPointSize'; procedure QTextEdit_fontFamily(handle: QTextEditH; retval: PWideString); cdecl; external Qt4PasLib name 'QTextEdit_fontFamily'; function QTextEdit_fontWeight(handle: QTextEditH): Integer; cdecl; external Qt4PasLib name 'QTextEdit_fontWeight'; function QTextEdit_fontUnderline(handle: QTextEditH): Boolean; cdecl; external Qt4PasLib name 'QTextEdit_fontUnderline'; function QTextEdit_fontItalic(handle: QTextEditH): Boolean; cdecl; external Qt4PasLib name 'QTextEdit_fontItalic'; procedure QTextEdit_textColor(handle: QTextEditH; retval: PQColor); cdecl; external Qt4PasLib name 'QTextEdit_textColor'; procedure QTextEdit_textBackgroundColor(handle: QTextEditH; retval: PQColor); cdecl; external Qt4PasLib name 'QTextEdit_textBackgroundColor'; procedure QTextEdit_currentFont(handle: QTextEditH; retval: QFontH); cdecl; external Qt4PasLib name 'QTextEdit_currentFont'; function QTextEdit_alignment(handle: QTextEditH): QtAlignment; cdecl; external Qt4PasLib name 'QTextEdit_alignment'; procedure QTextEdit_mergeCurrentCharFormat(handle: QTextEditH; modifier: QTextCharFormatH); cdecl; external Qt4PasLib name 'QTextEdit_mergeCurrentCharFormat'; procedure QTextEdit_setCurrentCharFormat(handle: QTextEditH; format: QTextCharFormatH); cdecl; external Qt4PasLib name 'QTextEdit_setCurrentCharFormat'; procedure QTextEdit_currentCharFormat(handle: QTextEditH; retval: QTextCharFormatH); cdecl; external Qt4PasLib name 'QTextEdit_currentCharFormat'; function QTextEdit_autoFormatting(handle: QTextEditH): QTextEditAutoFormatting; cdecl; external Qt4PasLib name 'QTextEdit_autoFormatting'; procedure QTextEdit_setAutoFormatting(handle: QTextEditH; features: QTextEditAutoFormatting); cdecl; external Qt4PasLib name 'QTextEdit_setAutoFormatting'; function QTextEdit_tabChangesFocus(handle: QTextEditH): Boolean; cdecl; external Qt4PasLib name 'QTextEdit_tabChangesFocus'; procedure QTextEdit_setTabChangesFocus(handle: QTextEditH; b: Boolean); cdecl; external Qt4PasLib name 'QTextEdit_setTabChangesFocus'; procedure QTextEdit_setDocumentTitle(handle: QTextEditH; title: PWideString); cdecl; external Qt4PasLib name 'QTextEdit_setDocumentTitle'; procedure QTextEdit_documentTitle(handle: QTextEditH; retval: PWideString); cdecl; external Qt4PasLib name 'QTextEdit_documentTitle'; function QTextEdit_isUndoRedoEnabled(handle: QTextEditH): Boolean; cdecl; external Qt4PasLib name 'QTextEdit_isUndoRedoEnabled'; procedure QTextEdit_setUndoRedoEnabled(handle: QTextEditH; enable: Boolean); cdecl; external Qt4PasLib name 'QTextEdit_setUndoRedoEnabled'; function QTextEdit_lineWrapMode(handle: QTextEditH): QTextEditLineWrapMode; cdecl; external Qt4PasLib name 'QTextEdit_lineWrapMode'; procedure QTextEdit_setLineWrapMode(handle: QTextEditH; mode: QTextEditLineWrapMode); cdecl; external Qt4PasLib name 'QTextEdit_setLineWrapMode'; function QTextEdit_lineWrapColumnOrWidth(handle: QTextEditH): Integer; cdecl; external Qt4PasLib name 'QTextEdit_lineWrapColumnOrWidth'; procedure QTextEdit_setLineWrapColumnOrWidth(handle: QTextEditH; w: Integer); cdecl; external Qt4PasLib name 'QTextEdit_setLineWrapColumnOrWidth'; function QTextEdit_wordWrapMode(handle: QTextEditH): QTextOptionWrapMode; cdecl; external Qt4PasLib name 'QTextEdit_wordWrapMode'; procedure QTextEdit_setWordWrapMode(handle: QTextEditH; policy: QTextOptionWrapMode); cdecl; external Qt4PasLib name 'QTextEdit_setWordWrapMode'; function QTextEdit_find(handle: QTextEditH; exp: PWideString; options: QTextDocumentFindFlags = 0): Boolean; cdecl; external Qt4PasLib name 'QTextEdit_find'; procedure QTextEdit_toPlainText(handle: QTextEditH; retval: PWideString); cdecl; external Qt4PasLib name 'QTextEdit_toPlainText'; procedure QTextEdit_toHtml(handle: QTextEditH; retval: PWideString); cdecl; external Qt4PasLib name 'QTextEdit_toHtml'; procedure QTextEdit_ensureCursorVisible(handle: QTextEditH); cdecl; external Qt4PasLib name 'QTextEdit_ensureCursorVisible'; procedure QTextEdit_loadResource(handle: QTextEditH; retval: QVariantH; _type: Integer; name: QUrlH); cdecl; external Qt4PasLib name 'QTextEdit_loadResource'; function QTextEdit_createStandardContextMenu(handle: QTextEditH): QMenuH; cdecl; external Qt4PasLib name 'QTextEdit_createStandardContextMenu'; function QTextEdit_createStandardContextMenu(handle: QTextEditH; position: PQtPoint): QMenuH; cdecl; external Qt4PasLib name 'QTextEdit_createStandardContextMenu2'; procedure QTextEdit_cursorForPosition(handle: QTextEditH; retval: QTextCursorH; pos: PQtPoint); cdecl; external Qt4PasLib name 'QTextEdit_cursorForPosition'; procedure QTextEdit_cursorRect(handle: QTextEditH; retval: PRect; cursor: QTextCursorH); cdecl; external Qt4PasLib name 'QTextEdit_cursorRect'; procedure QTextEdit_cursorRect(handle: QTextEditH; retval: PRect); cdecl; external Qt4PasLib name 'QTextEdit_cursorRect2'; procedure QTextEdit_anchorAt(handle: QTextEditH; retval: PWideString; pos: PQtPoint); cdecl; external Qt4PasLib name 'QTextEdit_anchorAt'; function QTextEdit_overwriteMode(handle: QTextEditH): Boolean; cdecl; external Qt4PasLib name 'QTextEdit_overwriteMode'; procedure QTextEdit_setOverwriteMode(handle: QTextEditH; overwrite: Boolean); cdecl; external Qt4PasLib name 'QTextEdit_setOverwriteMode'; function QTextEdit_tabStopWidth(handle: QTextEditH): Integer; cdecl; external Qt4PasLib name 'QTextEdit_tabStopWidth'; procedure QTextEdit_setTabStopWidth(handle: QTextEditH; width: Integer); cdecl; external Qt4PasLib name 'QTextEdit_setTabStopWidth'; function QTextEdit_cursorWidth(handle: QTextEditH): Integer; cdecl; external Qt4PasLib name 'QTextEdit_cursorWidth'; procedure QTextEdit_setCursorWidth(handle: QTextEditH; width: Integer); cdecl; external Qt4PasLib name 'QTextEdit_setCursorWidth'; function QTextEdit_acceptRichText(handle: QTextEditH): Boolean; cdecl; external Qt4PasLib name 'QTextEdit_acceptRichText'; procedure QTextEdit_setAcceptRichText(handle: QTextEditH; accept: Boolean); cdecl; external Qt4PasLib name 'QTextEdit_setAcceptRichText'; procedure QTextEdit_moveCursor(handle: QTextEditH; operation: QTextCursorMoveOperation; mode: QTextCursorMoveMode = QTextCursorMoveAnchor); cdecl; external Qt4PasLib name 'QTextEdit_moveCursor'; function QTextEdit_canPaste(handle: QTextEditH): Boolean; cdecl; external Qt4PasLib name 'QTextEdit_canPaste'; procedure QTextEdit_print(handle: QTextEditH; printer: QPrinterH); cdecl; external Qt4PasLib name 'QTextEdit_print'; procedure QTextEdit_setFontPointSize(handle: QTextEditH; s: qreal); cdecl; external Qt4PasLib name 'QTextEdit_setFontPointSize'; procedure QTextEdit_setFontFamily(handle: QTextEditH; fontFamily: PWideString); cdecl; external Qt4PasLib name 'QTextEdit_setFontFamily'; procedure QTextEdit_setFontWeight(handle: QTextEditH; w: Integer); cdecl; external Qt4PasLib name 'QTextEdit_setFontWeight'; procedure QTextEdit_setFontUnderline(handle: QTextEditH; b: Boolean); cdecl; external Qt4PasLib name 'QTextEdit_setFontUnderline'; procedure QTextEdit_setFontItalic(handle: QTextEditH; b: Boolean); cdecl; external Qt4PasLib name 'QTextEdit_setFontItalic'; procedure QTextEdit_setTextColor(handle: QTextEditH; c: PQColor); cdecl; external Qt4PasLib name 'QTextEdit_setTextColor'; procedure QTextEdit_setTextBackgroundColor(handle: QTextEditH; c: PQColor); cdecl; external Qt4PasLib name 'QTextEdit_setTextBackgroundColor'; procedure QTextEdit_setCurrentFont(handle: QTextEditH; f: QFontH); cdecl; external Qt4PasLib name 'QTextEdit_setCurrentFont'; procedure QTextEdit_setAlignment(handle: QTextEditH; a: QtAlignment); cdecl; external Qt4PasLib name 'QTextEdit_setAlignment'; procedure QTextEdit_setPlainText(handle: QTextEditH; text: PWideString); cdecl; external Qt4PasLib name 'QTextEdit_setPlainText'; procedure QTextEdit_setHtml(handle: QTextEditH; text: PWideString); cdecl; external Qt4PasLib name 'QTextEdit_setHtml'; procedure QTextEdit_setText(handle: QTextEditH; text: PWideString); cdecl; external Qt4PasLib name 'QTextEdit_setText'; procedure QTextEdit_cut(handle: QTextEditH); cdecl; external Qt4PasLib name 'QTextEdit_cut'; procedure QTextEdit_copy(handle: QTextEditH); cdecl; external Qt4PasLib name 'QTextEdit_copy'; procedure QTextEdit_paste(handle: QTextEditH); cdecl; external Qt4PasLib name 'QTextEdit_paste'; procedure QTextEdit_undo(handle: QTextEditH); cdecl; external Qt4PasLib name 'QTextEdit_undo'; procedure QTextEdit_redo(handle: QTextEditH); cdecl; external Qt4PasLib name 'QTextEdit_redo'; procedure QTextEdit_clear(handle: QTextEditH); cdecl; external Qt4PasLib name 'QTextEdit_clear'; procedure QTextEdit_selectAll(handle: QTextEditH); cdecl; external Qt4PasLib name 'QTextEdit_selectAll'; procedure QTextEdit_insertPlainText(handle: QTextEditH; text: PWideString); cdecl; external Qt4PasLib name 'QTextEdit_insertPlainText'; procedure QTextEdit_insertHtml(handle: QTextEditH; text: PWideString); cdecl; external Qt4PasLib name 'QTextEdit_insertHtml'; procedure QTextEdit_append(handle: QTextEditH; text: PWideString); cdecl; external Qt4PasLib name 'QTextEdit_append'; procedure QTextEdit_scrollToAnchor(handle: QTextEditH; name: PWideString); cdecl; external Qt4PasLib name 'QTextEdit_scrollToAnchor'; procedure QTextEdit_zoomIn(handle: QTextEditH; range: Integer = 1); cdecl; external Qt4PasLib name 'QTextEdit_zoomIn'; procedure QTextEdit_zoomOut(handle: QTextEditH; range: Integer = 1); cdecl; external Qt4PasLib name 'QTextEdit_zoomOut'; type QTextEdit_textChanged_Event = procedure () of object cdecl; QTextEdit_undoAvailable_Event = procedure (b: Boolean) of object cdecl; QTextEdit_redoAvailable_Event = procedure (b: Boolean) of object cdecl; QTextEdit_currentCharFormatChanged_Event = procedure (format: QTextCharFormatH) of object cdecl; QTextEdit_copyAvailable_Event = procedure (b: Boolean) of object cdecl; QTextEdit_selectionChanged_Event = procedure () of object cdecl; QTextEdit_cursorPositionChanged_Event = procedure () of object cdecl; type QTabWidgetTabPosition = ( // QTabWidget::TabPosition (1) QTabWidgetNorth, QTabWidgetSouth, QTabWidgetWest, QTabWidgetEast ); QTabWidgetTabShape = ( // QTabWidget::TabShape (1) QTabWidgetRounded, QTabWidgetTriangular ); function QTabWidget_create(parent: QWidgetH = nil): QTabWidgetH; cdecl; external Qt4PasLib name 'QTabWidget_create'; procedure QTabWidget_destroy(handle: QTabWidgetH); cdecl; external Qt4PasLib name 'QTabWidget_destroy'; function QTabWidget_addTab(handle: QTabWidgetH; widget: QWidgetH; AnonParam2: PWideString): Integer; cdecl; external Qt4PasLib name 'QTabWidget_addTab'; function QTabWidget_addTab(handle: QTabWidgetH; widget: QWidgetH; icon: QIconH; _label: PWideString): Integer; cdecl; external Qt4PasLib name 'QTabWidget_addTab2'; function QTabWidget_insertTab(handle: QTabWidgetH; index: Integer; widget: QWidgetH; AnonParam3: PWideString): Integer; cdecl; external Qt4PasLib name 'QTabWidget_insertTab'; function QTabWidget_insertTab(handle: QTabWidgetH; index: Integer; widget: QWidgetH; icon: QIconH; _label: PWideString): Integer; cdecl; external Qt4PasLib name 'QTabWidget_insertTab2'; procedure QTabWidget_removeTab(handle: QTabWidgetH; index: Integer); cdecl; external Qt4PasLib name 'QTabWidget_removeTab'; function QTabWidget_isTabEnabled(handle: QTabWidgetH; index: Integer): Boolean; cdecl; external Qt4PasLib name 'QTabWidget_isTabEnabled'; procedure QTabWidget_setTabEnabled(handle: QTabWidgetH; index: Integer; AnonParam2: Boolean); cdecl; external Qt4PasLib name 'QTabWidget_setTabEnabled'; procedure QTabWidget_tabText(handle: QTabWidgetH; retval: PWideString; index: Integer); cdecl; external Qt4PasLib name 'QTabWidget_tabText'; procedure QTabWidget_setTabText(handle: QTabWidgetH; index: Integer; AnonParam2: PWideString); cdecl; external Qt4PasLib name 'QTabWidget_setTabText'; procedure QTabWidget_tabIcon(handle: QTabWidgetH; retval: QIconH; index: Integer); cdecl; external Qt4PasLib name 'QTabWidget_tabIcon'; procedure QTabWidget_setTabIcon(handle: QTabWidgetH; index: Integer; icon: QIconH); cdecl; external Qt4PasLib name 'QTabWidget_setTabIcon'; procedure QTabWidget_setTabToolTip(handle: QTabWidgetH; index: Integer; tip: PWideString); cdecl; external Qt4PasLib name 'QTabWidget_setTabToolTip'; procedure QTabWidget_tabToolTip(handle: QTabWidgetH; retval: PWideString; index: Integer); cdecl; external Qt4PasLib name 'QTabWidget_tabToolTip'; procedure QTabWidget_setTabWhatsThis(handle: QTabWidgetH; index: Integer; text: PWideString); cdecl; external Qt4PasLib name 'QTabWidget_setTabWhatsThis'; procedure QTabWidget_tabWhatsThis(handle: QTabWidgetH; retval: PWideString; index: Integer); cdecl; external Qt4PasLib name 'QTabWidget_tabWhatsThis'; function QTabWidget_currentIndex(handle: QTabWidgetH): Integer; cdecl; external Qt4PasLib name 'QTabWidget_currentIndex'; function QTabWidget_currentWidget(handle: QTabWidgetH): QWidgetH; cdecl; external Qt4PasLib name 'QTabWidget_currentWidget'; function QTabWidget_widget(handle: QTabWidgetH; index: Integer): QWidgetH; cdecl; external Qt4PasLib name 'QTabWidget_widget'; function QTabWidget_indexOf(handle: QTabWidgetH; widget: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QTabWidget_indexOf'; function QTabWidget_count(handle: QTabWidgetH): Integer; cdecl; external Qt4PasLib name 'QTabWidget_count'; function QTabWidget_tabPosition(handle: QTabWidgetH): QTabWidgetTabPosition; cdecl; external Qt4PasLib name 'QTabWidget_tabPosition'; procedure QTabWidget_setTabPosition(handle: QTabWidgetH; AnonParam1: QTabWidgetTabPosition); cdecl; external Qt4PasLib name 'QTabWidget_setTabPosition'; function QTabWidget_tabsClosable(handle: QTabWidgetH): Boolean; cdecl; external Qt4PasLib name 'QTabWidget_tabsClosable'; procedure QTabWidget_setTabsClosable(handle: QTabWidgetH; closeable: Boolean); cdecl; external Qt4PasLib name 'QTabWidget_setTabsClosable'; function QTabWidget_isMovable(handle: QTabWidgetH): Boolean; cdecl; external Qt4PasLib name 'QTabWidget_isMovable'; procedure QTabWidget_setMovable(handle: QTabWidgetH; movable: Boolean); cdecl; external Qt4PasLib name 'QTabWidget_setMovable'; function QTabWidget_tabShape(handle: QTabWidgetH): QTabWidgetTabShape; cdecl; external Qt4PasLib name 'QTabWidget_tabShape'; procedure QTabWidget_setTabShape(handle: QTabWidgetH; s: QTabWidgetTabShape); cdecl; external Qt4PasLib name 'QTabWidget_setTabShape'; procedure QTabWidget_sizeHint(handle: QTabWidgetH; retval: PSize); cdecl; external Qt4PasLib name 'QTabWidget_sizeHint'; procedure QTabWidget_minimumSizeHint(handle: QTabWidgetH; retval: PSize); cdecl; external Qt4PasLib name 'QTabWidget_minimumSizeHint'; procedure QTabWidget_setCornerWidget(handle: QTabWidgetH; w: QWidgetH; corner: QtCorner = QtTopRightCorner); cdecl; external Qt4PasLib name 'QTabWidget_setCornerWidget'; function QTabWidget_cornerWidget(handle: QTabWidgetH; corner: QtCorner = QtTopRightCorner): QWidgetH; cdecl; external Qt4PasLib name 'QTabWidget_cornerWidget'; function QTabWidget_elideMode(handle: QTabWidgetH): QtTextElideMode; cdecl; external Qt4PasLib name 'QTabWidget_elideMode'; procedure QTabWidget_setElideMode(handle: QTabWidgetH; AnonParam1: QtTextElideMode); cdecl; external Qt4PasLib name 'QTabWidget_setElideMode'; procedure QTabWidget_iconSize(handle: QTabWidgetH; retval: PSize); cdecl; external Qt4PasLib name 'QTabWidget_iconSize'; procedure QTabWidget_setIconSize(handle: QTabWidgetH; size: PSize); cdecl; external Qt4PasLib name 'QTabWidget_setIconSize'; function QTabWidget_usesScrollButtons(handle: QTabWidgetH): Boolean; cdecl; external Qt4PasLib name 'QTabWidget_usesScrollButtons'; procedure QTabWidget_setUsesScrollButtons(handle: QTabWidgetH; useButtons: Boolean); cdecl; external Qt4PasLib name 'QTabWidget_setUsesScrollButtons'; function QTabWidget_documentMode(handle: QTabWidgetH): Boolean; cdecl; external Qt4PasLib name 'QTabWidget_documentMode'; procedure QTabWidget_setDocumentMode(handle: QTabWidgetH; _set: Boolean); cdecl; external Qt4PasLib name 'QTabWidget_setDocumentMode'; procedure QTabWidget_clear(handle: QTabWidgetH); cdecl; external Qt4PasLib name 'QTabWidget_clear'; procedure QTabWidget_setCurrentIndex(handle: QTabWidgetH; index: Integer); cdecl; external Qt4PasLib name 'QTabWidget_setCurrentIndex'; procedure QTabWidget_setCurrentWidget(handle: QTabWidgetH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QTabWidget_setCurrentWidget'; type QTabWidget_currentChanged_Event = procedure (index: Integer) of object cdecl; QTabWidget_tabCloseRequested_Event = procedure (index: Integer) of object cdecl; function QLCLTabWidget_tabBarHandle(protectedhandle: QTabWidgetH): QTabBarH; cdecl; external Qt4PasLib name 'QLCLTabWidget_tabBarHandle'; type QMainWindowDockOption = cardinal; // QMainWindow::DockOption QMainWindowDockOptions = QMainWindowDockOption; //QFlags<> (3) const QMainWindowAnimatedDocks = $01; QMainWindowAllowNestedDocks = $02; QMainWindowAllowTabbedDocks = $04; QMainWindowForceTabbedDocks = $08; QMainWindowVerticalTabs = $10; function QMainWindow_create(parent: QWidgetH = nil; flags: QtWindowFlags = 0): QMainWindowH; cdecl; external Qt4PasLib name 'QMainWindow_create'; procedure QMainWindow_destroy(handle: QMainWindowH); cdecl; external Qt4PasLib name 'QMainWindow_destroy'; procedure QMainWindow_iconSize(handle: QMainWindowH; retval: PSize); cdecl; external Qt4PasLib name 'QMainWindow_iconSize'; procedure QMainWindow_setIconSize(handle: QMainWindowH; iconSize: PSize); cdecl; external Qt4PasLib name 'QMainWindow_setIconSize'; function QMainWindow_toolButtonStyle(handle: QMainWindowH): QtToolButtonStyle; cdecl; external Qt4PasLib name 'QMainWindow_toolButtonStyle'; procedure QMainWindow_setToolButtonStyle(handle: QMainWindowH; toolButtonStyle: QtToolButtonStyle); cdecl; external Qt4PasLib name 'QMainWindow_setToolButtonStyle'; function QMainWindow_isAnimated(handle: QMainWindowH): Boolean; cdecl; external Qt4PasLib name 'QMainWindow_isAnimated'; function QMainWindow_isDockNestingEnabled(handle: QMainWindowH): Boolean; cdecl; external Qt4PasLib name 'QMainWindow_isDockNestingEnabled'; function QMainWindow_documentMode(handle: QMainWindowH): Boolean; cdecl; external Qt4PasLib name 'QMainWindow_documentMode'; procedure QMainWindow_setDocumentMode(handle: QMainWindowH; enabled: Boolean); cdecl; external Qt4PasLib name 'QMainWindow_setDocumentMode'; function QMainWindow_tabShape(handle: QMainWindowH): QTabWidgetTabShape; cdecl; external Qt4PasLib name 'QMainWindow_tabShape'; procedure QMainWindow_setTabShape(handle: QMainWindowH; tabShape: QTabWidgetTabShape); cdecl; external Qt4PasLib name 'QMainWindow_setTabShape'; function QMainWindow_tabPosition(handle: QMainWindowH; area: QtDockWidgetArea): QTabWidgetTabPosition; cdecl; external Qt4PasLib name 'QMainWindow_tabPosition'; procedure QMainWindow_setTabPosition(handle: QMainWindowH; areas: QtDockWidgetAreas; tabPosition: QTabWidgetTabPosition); cdecl; external Qt4PasLib name 'QMainWindow_setTabPosition'; procedure QMainWindow_setDockOptions(handle: QMainWindowH; options: QMainWindowDockOptions); cdecl; external Qt4PasLib name 'QMainWindow_setDockOptions'; function QMainWindow_dockOptions(handle: QMainWindowH): QMainWindowDockOptions; cdecl; external Qt4PasLib name 'QMainWindow_dockOptions'; function QMainWindow_isSeparator(handle: QMainWindowH; pos: PQtPoint): Boolean; cdecl; external Qt4PasLib name 'QMainWindow_isSeparator'; function QMainWindow_menuBar(handle: QMainWindowH): QMenuBarH; cdecl; external Qt4PasLib name 'QMainWindow_menuBar'; procedure QMainWindow_setMenuBar(handle: QMainWindowH; menubar: QMenuBarH); cdecl; external Qt4PasLib name 'QMainWindow_setMenuBar'; function QMainWindow_menuWidget(handle: QMainWindowH): QWidgetH; cdecl; external Qt4PasLib name 'QMainWindow_menuWidget'; procedure QMainWindow_setMenuWidget(handle: QMainWindowH; menubar: QWidgetH); cdecl; external Qt4PasLib name 'QMainWindow_setMenuWidget'; function QMainWindow_statusBar(handle: QMainWindowH): QStatusBarH; cdecl; external Qt4PasLib name 'QMainWindow_statusBar'; procedure QMainWindow_setStatusBar(handle: QMainWindowH; statusbar: QStatusBarH); cdecl; external Qt4PasLib name 'QMainWindow_setStatusBar'; function QMainWindow_centralWidget(handle: QMainWindowH): QWidgetH; cdecl; external Qt4PasLib name 'QMainWindow_centralWidget'; procedure QMainWindow_setCentralWidget(handle: QMainWindowH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QMainWindow_setCentralWidget'; procedure QMainWindow_setCorner(handle: QMainWindowH; corner: QtCorner; area: QtDockWidgetArea); cdecl; external Qt4PasLib name 'QMainWindow_setCorner'; function QMainWindow_corner(handle: QMainWindowH; corner: QtCorner): QtDockWidgetArea; cdecl; external Qt4PasLib name 'QMainWindow_corner'; procedure QMainWindow_addToolBarBreak(handle: QMainWindowH; area: QtToolBarArea = QtTopToolBarArea); cdecl; external Qt4PasLib name 'QMainWindow_addToolBarBreak'; procedure QMainWindow_insertToolBarBreak(handle: QMainWindowH; before: QToolBarH); cdecl; external Qt4PasLib name 'QMainWindow_insertToolBarBreak'; procedure QMainWindow_addToolBar(handle: QMainWindowH; area: QtToolBarArea; toolbar: QToolBarH); cdecl; external Qt4PasLib name 'QMainWindow_addToolBar'; procedure QMainWindow_addToolBar(handle: QMainWindowH; toolbar: QToolBarH); cdecl; external Qt4PasLib name 'QMainWindow_addToolBar2'; function QMainWindow_addToolBar(handle: QMainWindowH; title: PWideString): QToolBarH; cdecl; external Qt4PasLib name 'QMainWindow_addToolBar3'; procedure QMainWindow_insertToolBar(handle: QMainWindowH; before: QToolBarH; toolbar: QToolBarH); cdecl; external Qt4PasLib name 'QMainWindow_insertToolBar'; procedure QMainWindow_removeToolBar(handle: QMainWindowH; toolbar: QToolBarH); cdecl; external Qt4PasLib name 'QMainWindow_removeToolBar'; procedure QMainWindow_removeToolBarBreak(handle: QMainWindowH; before: QToolBarH); cdecl; external Qt4PasLib name 'QMainWindow_removeToolBarBreak'; procedure QMainWindow_setUnifiedTitleAndToolBarOnMac(handle: QMainWindowH; _set: Boolean); cdecl; external Qt4PasLib name 'QMainWindow_setUnifiedTitleAndToolBarOnMac'; function QMainWindow_unifiedTitleAndToolBarOnMac(handle: QMainWindowH): Boolean; cdecl; external Qt4PasLib name 'QMainWindow_unifiedTitleAndToolBarOnMac'; function QMainWindow_toolBarArea(handle: QMainWindowH; toolbar: QToolBarH): QtToolBarArea; cdecl; external Qt4PasLib name 'QMainWindow_toolBarArea'; function QMainWindow_toolBarBreak(handle: QMainWindowH; toolbar: QToolBarH): Boolean; cdecl; external Qt4PasLib name 'QMainWindow_toolBarBreak'; procedure QMainWindow_addDockWidget(handle: QMainWindowH; area: QtDockWidgetArea; dockwidget: QDockWidgetH); cdecl; external Qt4PasLib name 'QMainWindow_addDockWidget'; procedure QMainWindow_addDockWidget(handle: QMainWindowH; area: QtDockWidgetArea; dockwidget: QDockWidgetH; orientation: QtOrientation); cdecl; external Qt4PasLib name 'QMainWindow_addDockWidget2'; procedure QMainWindow_splitDockWidget(handle: QMainWindowH; after: QDockWidgetH; dockwidget: QDockWidgetH; orientation: QtOrientation); cdecl; external Qt4PasLib name 'QMainWindow_splitDockWidget'; procedure QMainWindow_tabifyDockWidget(handle: QMainWindowH; first: QDockWidgetH; second: QDockWidgetH); cdecl; external Qt4PasLib name 'QMainWindow_tabifyDockWidget'; procedure QMainWindow_tabifiedDockWidgets(handle: QMainWindowH; retval: PPtrIntArray; dockwidget: QDockWidgetH); cdecl; external Qt4PasLib name 'QMainWindow_tabifiedDockWidgets'; procedure QMainWindow_removeDockWidget(handle: QMainWindowH; dockwidget: QDockWidgetH); cdecl; external Qt4PasLib name 'QMainWindow_removeDockWidget'; function QMainWindow_restoreDockWidget(handle: QMainWindowH; dockwidget: QDockWidgetH): Boolean; cdecl; external Qt4PasLib name 'QMainWindow_restoreDockWidget'; function QMainWindow_dockWidgetArea(handle: QMainWindowH; dockwidget: QDockWidgetH): QtDockWidgetArea; cdecl; external Qt4PasLib name 'QMainWindow_dockWidgetArea'; procedure QMainWindow_saveState(handle: QMainWindowH; retval: QByteArrayH; version: Integer = 0); cdecl; external Qt4PasLib name 'QMainWindow_saveState'; function QMainWindow_restoreState(handle: QMainWindowH; state: QByteArrayH; version: Integer = 0): Boolean; cdecl; external Qt4PasLib name 'QMainWindow_restoreState'; function QMainWindow_createPopupMenu(handle: QMainWindowH): QMenuH; cdecl; external Qt4PasLib name 'QMainWindow_createPopupMenu'; procedure QMainWindow_setAnimated(handle: QMainWindowH; enabled: Boolean); cdecl; external Qt4PasLib name 'QMainWindow_setAnimated'; procedure QMainWindow_setDockNestingEnabled(handle: QMainWindowH; enabled: Boolean); cdecl; external Qt4PasLib name 'QMainWindow_setDockNestingEnabled'; type QMainWindow_iconSizeChanged_Event = procedure (iconSize: PSize) of object cdecl; QMainWindow_toolButtonStyleChanged_Event = procedure (toolButtonStyle: QtToolButtonStyle) of object cdecl; function QToolBar_create(title: PWideString; parent: QWidgetH = nil): QToolBarH; cdecl; external Qt4PasLib name 'QToolBar_create'; procedure QToolBar_destroy(handle: QToolBarH); cdecl; external Qt4PasLib name 'QToolBar_destroy'; function QToolBar_create(parent: QWidgetH = nil): QToolBarH; cdecl; external Qt4PasLib name 'QToolBar_create2'; procedure QToolBar_setMovable(handle: QToolBarH; movable: Boolean); cdecl; external Qt4PasLib name 'QToolBar_setMovable'; function QToolBar_isMovable(handle: QToolBarH): Boolean; cdecl; external Qt4PasLib name 'QToolBar_isMovable'; procedure QToolBar_setAllowedAreas(handle: QToolBarH; areas: QtToolBarAreas); cdecl; external Qt4PasLib name 'QToolBar_setAllowedAreas'; function QToolBar_allowedAreas(handle: QToolBarH): QtToolBarAreas; cdecl; external Qt4PasLib name 'QToolBar_allowedAreas'; function QToolBar_isAreaAllowed(handle: QToolBarH; area: QtToolBarArea): Boolean; cdecl; external Qt4PasLib name 'QToolBar_isAreaAllowed'; procedure QToolBar_setOrientation(handle: QToolBarH; orientation: QtOrientation); cdecl; external Qt4PasLib name 'QToolBar_setOrientation'; function QToolBar_orientation(handle: QToolBarH): QtOrientation; cdecl; external Qt4PasLib name 'QToolBar_orientation'; procedure QToolBar_clear(handle: QToolBarH); cdecl; external Qt4PasLib name 'QToolBar_clear'; function QToolBar_addAction(handle: QToolBarH; text: PWideString): QActionH; cdecl; external Qt4PasLib name 'QToolBar_addAction'; function QToolBar_addAction(handle: QToolBarH; icon: QIconH; text: PWideString): QActionH; cdecl; external Qt4PasLib name 'QToolBar_addAction2'; function QToolBar_addAction(handle: QToolBarH; text: PWideString; receiver: QObjectH; member: PAnsiChar): QActionH; cdecl; external Qt4PasLib name 'QToolBar_addAction3'; function QToolBar_addAction(handle: QToolBarH; icon: QIconH; text: PWideString; receiver: QObjectH; member: PAnsiChar): QActionH; cdecl; external Qt4PasLib name 'QToolBar_addAction4'; function QToolBar_addSeparator(handle: QToolBarH): QActionH; cdecl; external Qt4PasLib name 'QToolBar_addSeparator'; function QToolBar_insertSeparator(handle: QToolBarH; before: QActionH): QActionH; cdecl; external Qt4PasLib name 'QToolBar_insertSeparator'; function QToolBar_addWidget(handle: QToolBarH; widget: QWidgetH): QActionH; cdecl; external Qt4PasLib name 'QToolBar_addWidget'; function QToolBar_insertWidget(handle: QToolBarH; before: QActionH; widget: QWidgetH): QActionH; cdecl; external Qt4PasLib name 'QToolBar_insertWidget'; procedure QToolBar_actionGeometry(handle: QToolBarH; retval: PRect; action: QActionH); cdecl; external Qt4PasLib name 'QToolBar_actionGeometry'; function QToolBar_actionAt(handle: QToolBarH; p: PQtPoint): QActionH; cdecl; external Qt4PasLib name 'QToolBar_actionAt'; function QToolBar_actionAt(handle: QToolBarH; x: Integer; y: Integer): QActionH; cdecl; external Qt4PasLib name 'QToolBar_actionAt2'; function QToolBar_toggleViewAction(handle: QToolBarH): QActionH; cdecl; external Qt4PasLib name 'QToolBar_toggleViewAction'; procedure QToolBar_iconSize(handle: QToolBarH; retval: PSize); cdecl; external Qt4PasLib name 'QToolBar_iconSize'; function QToolBar_toolButtonStyle(handle: QToolBarH): QtToolButtonStyle; cdecl; external Qt4PasLib name 'QToolBar_toolButtonStyle'; function QToolBar_widgetForAction(handle: QToolBarH; action: QActionH): QWidgetH; cdecl; external Qt4PasLib name 'QToolBar_widgetForAction'; function QToolBar_isFloatable(handle: QToolBarH): Boolean; cdecl; external Qt4PasLib name 'QToolBar_isFloatable'; procedure QToolBar_setFloatable(handle: QToolBarH; floatable: Boolean); cdecl; external Qt4PasLib name 'QToolBar_setFloatable'; function QToolBar_isFloating(handle: QToolBarH): Boolean; cdecl; external Qt4PasLib name 'QToolBar_isFloating'; procedure QToolBar_setIconSize(handle: QToolBarH; iconSize: PSize); cdecl; external Qt4PasLib name 'QToolBar_setIconSize'; procedure QToolBar_setToolButtonStyle(handle: QToolBarH; toolButtonStyle: QtToolButtonStyle); cdecl; external Qt4PasLib name 'QToolBar_setToolButtonStyle'; type QToolBar_actionTriggered_Event = procedure (action: QActionH) of object cdecl; QToolBar_movableChanged_Event = procedure (movable: Boolean) of object cdecl; QToolBar_allowedAreasChanged_Event = procedure (allowedAreas: QtToolBarAreas) of object cdecl; QToolBar_orientationChanged_Event = procedure (orientation: QtOrientation) of object cdecl; QToolBar_iconSizeChanged_Event = procedure (iconSize: PSize) of object cdecl; QToolBar_toolButtonStyleChanged_Event = procedure (toolButtonStyle: QtToolButtonStyle) of object cdecl; function QSizeGrip_create(parent: QWidgetH): QSizeGripH; cdecl; external Qt4PasLib name 'QSizeGrip_create'; procedure QSizeGrip_destroy(handle: QSizeGripH); cdecl; external Qt4PasLib name 'QSizeGrip_destroy'; procedure QSizeGrip_sizeHint(handle: QSizeGripH; retval: PSize); cdecl; external Qt4PasLib name 'QSizeGrip_sizeHint'; procedure QSizeGrip_setVisible(handle: QSizeGripH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QSizeGrip_setVisible'; type QLCDNumberMode = ( // QLCDNumber::Mode (1) QLCDNumberHex, QLCDNumberDec, QLCDNumberOct, QLCDNumberBin ); QLCDNumberSegmentStyle = ( // QLCDNumber::SegmentStyle (1) QLCDNumberOutline, QLCDNumberFilled, QLCDNumberFlat ); function QLCDNumber_create(parent: QWidgetH = nil): QLCDNumberH; cdecl; external Qt4PasLib name 'QLCDNumber_create'; procedure QLCDNumber_destroy(handle: QLCDNumberH); cdecl; external Qt4PasLib name 'QLCDNumber_destroy'; function QLCDNumber_create(numDigits: LongWord; parent: QWidgetH = nil): QLCDNumberH; cdecl; external Qt4PasLib name 'QLCDNumber_create2'; function QLCDNumber_smallDecimalPoint(handle: QLCDNumberH): Boolean; cdecl; external Qt4PasLib name 'QLCDNumber_smallDecimalPoint'; function QLCDNumber_numDigits(handle: QLCDNumberH): Integer; cdecl; external Qt4PasLib name 'QLCDNumber_numDigits'; procedure QLCDNumber_setNumDigits(handle: QLCDNumberH; nDigits: Integer); cdecl; external Qt4PasLib name 'QLCDNumber_setNumDigits'; function QLCDNumber_checkOverflow(handle: QLCDNumberH; num: Double): Boolean; cdecl; external Qt4PasLib name 'QLCDNumber_checkOverflow'; function QLCDNumber_checkOverflow(handle: QLCDNumberH; num: Integer): Boolean; cdecl; external Qt4PasLib name 'QLCDNumber_checkOverflow2'; function QLCDNumber_mode(handle: QLCDNumberH): QLCDNumberMode; cdecl; external Qt4PasLib name 'QLCDNumber_mode'; procedure QLCDNumber_setMode(handle: QLCDNumberH; AnonParam1: QLCDNumberMode); cdecl; external Qt4PasLib name 'QLCDNumber_setMode'; function QLCDNumber_segmentStyle(handle: QLCDNumberH): QLCDNumberSegmentStyle; cdecl; external Qt4PasLib name 'QLCDNumber_segmentStyle'; procedure QLCDNumber_setSegmentStyle(handle: QLCDNumberH; AnonParam1: QLCDNumberSegmentStyle); cdecl; external Qt4PasLib name 'QLCDNumber_setSegmentStyle'; function QLCDNumber_value(handle: QLCDNumberH): Double; cdecl; external Qt4PasLib name 'QLCDNumber_value'; function QLCDNumber_intValue(handle: QLCDNumberH): Integer; cdecl; external Qt4PasLib name 'QLCDNumber_intValue'; procedure QLCDNumber_sizeHint(handle: QLCDNumberH; retval: PSize); cdecl; external Qt4PasLib name 'QLCDNumber_sizeHint'; procedure QLCDNumber_display(handle: QLCDNumberH; str: PWideString); cdecl; external Qt4PasLib name 'QLCDNumber_display'; procedure QLCDNumber_display(handle: QLCDNumberH; num: Integer); cdecl; external Qt4PasLib name 'QLCDNumber_display2'; procedure QLCDNumber_display(handle: QLCDNumberH; num: Double); cdecl; external Qt4PasLib name 'QLCDNumber_display3'; procedure QLCDNumber_setHexMode(handle: QLCDNumberH); cdecl; external Qt4PasLib name 'QLCDNumber_setHexMode'; procedure QLCDNumber_setDecMode(handle: QLCDNumberH); cdecl; external Qt4PasLib name 'QLCDNumber_setDecMode'; procedure QLCDNumber_setOctMode(handle: QLCDNumberH); cdecl; external Qt4PasLib name 'QLCDNumber_setOctMode'; procedure QLCDNumber_setBinMode(handle: QLCDNumberH); cdecl; external Qt4PasLib name 'QLCDNumber_setBinMode'; procedure QLCDNumber_setSmallDecimalPoint(handle: QLCDNumberH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QLCDNumber_setSmallDecimalPoint'; type QLCDNumber_overflow_Event = procedure () of object cdecl; type QAbstractSpinBoxButtonSymbols = ( // QAbstractSpinBox::ButtonSymbols (1) QAbstractSpinBoxUpDownArrows, QAbstractSpinBoxPlusMinus, QAbstractSpinBoxNoButtons ); QAbstractSpinBoxCorrectionMode = ( // QAbstractSpinBox::CorrectionMode (1) QAbstractSpinBoxCorrectToPreviousValue, QAbstractSpinBoxCorrectToNearestValue ); type QAbstractSpinBoxStepEnabledFlag = cardinal; // QAbstractSpinBox::StepEnabledFlag QAbstractSpinBoxStepEnabled = QAbstractSpinBoxStepEnabledFlag; //QFlags<> (3) const QAbstractSpinBoxStepNone = $00; QAbstractSpinBoxStepUpEnabled = $01; QAbstractSpinBoxStepDownEnabled = $02; function QAbstractSpinBox_create(parent: QWidgetH = nil): QAbstractSpinBoxH; cdecl; external Qt4PasLib name 'QAbstractSpinBox_create'; procedure QAbstractSpinBox_destroy(handle: QAbstractSpinBoxH); cdecl; external Qt4PasLib name 'QAbstractSpinBox_destroy'; function QAbstractSpinBox_buttonSymbols(handle: QAbstractSpinBoxH): QAbstractSpinBoxButtonSymbols; cdecl; external Qt4PasLib name 'QAbstractSpinBox_buttonSymbols'; procedure QAbstractSpinBox_setButtonSymbols(handle: QAbstractSpinBoxH; bs: QAbstractSpinBoxButtonSymbols); cdecl; external Qt4PasLib name 'QAbstractSpinBox_setButtonSymbols'; procedure QAbstractSpinBox_setCorrectionMode(handle: QAbstractSpinBoxH; cm: QAbstractSpinBoxCorrectionMode); cdecl; external Qt4PasLib name 'QAbstractSpinBox_setCorrectionMode'; function QAbstractSpinBox_correctionMode(handle: QAbstractSpinBoxH): QAbstractSpinBoxCorrectionMode; cdecl; external Qt4PasLib name 'QAbstractSpinBox_correctionMode'; function QAbstractSpinBox_hasAcceptableInput(handle: QAbstractSpinBoxH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSpinBox_hasAcceptableInput'; procedure QAbstractSpinBox_text(handle: QAbstractSpinBoxH; retval: PWideString); cdecl; external Qt4PasLib name 'QAbstractSpinBox_text'; procedure QAbstractSpinBox_specialValueText(handle: QAbstractSpinBoxH; retval: PWideString); cdecl; external Qt4PasLib name 'QAbstractSpinBox_specialValueText'; procedure QAbstractSpinBox_setSpecialValueText(handle: QAbstractSpinBoxH; txt: PWideString); cdecl; external Qt4PasLib name 'QAbstractSpinBox_setSpecialValueText'; function QAbstractSpinBox_wrapping(handle: QAbstractSpinBoxH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSpinBox_wrapping'; procedure QAbstractSpinBox_setWrapping(handle: QAbstractSpinBoxH; w: Boolean); cdecl; external Qt4PasLib name 'QAbstractSpinBox_setWrapping'; procedure QAbstractSpinBox_setReadOnly(handle: QAbstractSpinBoxH; r: Boolean); cdecl; external Qt4PasLib name 'QAbstractSpinBox_setReadOnly'; function QAbstractSpinBox_isReadOnly(handle: QAbstractSpinBoxH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSpinBox_isReadOnly'; procedure QAbstractSpinBox_setKeyboardTracking(handle: QAbstractSpinBoxH; kt: Boolean); cdecl; external Qt4PasLib name 'QAbstractSpinBox_setKeyboardTracking'; function QAbstractSpinBox_keyboardTracking(handle: QAbstractSpinBoxH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSpinBox_keyboardTracking'; procedure QAbstractSpinBox_setAlignment(handle: QAbstractSpinBoxH; flag: QtAlignment); cdecl; external Qt4PasLib name 'QAbstractSpinBox_setAlignment'; function QAbstractSpinBox_alignment(handle: QAbstractSpinBoxH): QtAlignment; cdecl; external Qt4PasLib name 'QAbstractSpinBox_alignment'; procedure QAbstractSpinBox_setFrame(handle: QAbstractSpinBoxH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QAbstractSpinBox_setFrame'; function QAbstractSpinBox_hasFrame(handle: QAbstractSpinBoxH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSpinBox_hasFrame'; procedure QAbstractSpinBox_setAccelerated(handle: QAbstractSpinBoxH; _on: Boolean); cdecl; external Qt4PasLib name 'QAbstractSpinBox_setAccelerated'; function QAbstractSpinBox_isAccelerated(handle: QAbstractSpinBoxH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSpinBox_isAccelerated'; procedure QAbstractSpinBox_sizeHint(handle: QAbstractSpinBoxH; retval: PSize); cdecl; external Qt4PasLib name 'QAbstractSpinBox_sizeHint'; procedure QAbstractSpinBox_minimumSizeHint(handle: QAbstractSpinBoxH; retval: PSize); cdecl; external Qt4PasLib name 'QAbstractSpinBox_minimumSizeHint'; procedure QAbstractSpinBox_interpretText(handle: QAbstractSpinBoxH); cdecl; external Qt4PasLib name 'QAbstractSpinBox_interpretText'; function QAbstractSpinBox_event(handle: QAbstractSpinBoxH; event: QEventH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSpinBox_event'; function QAbstractSpinBox_validate(handle: QAbstractSpinBoxH; input: PWideString; pos: PInteger): QValidatorState; cdecl; external Qt4PasLib name 'QAbstractSpinBox_validate'; procedure QAbstractSpinBox_fixup(handle: QAbstractSpinBoxH; input: PWideString); cdecl; external Qt4PasLib name 'QAbstractSpinBox_fixup'; procedure QAbstractSpinBox_stepBy(handle: QAbstractSpinBoxH; steps: Integer); cdecl; external Qt4PasLib name 'QAbstractSpinBox_stepBy'; procedure QAbstractSpinBox_stepUp(handle: QAbstractSpinBoxH); cdecl; external Qt4PasLib name 'QAbstractSpinBox_stepUp'; procedure QAbstractSpinBox_stepDown(handle: QAbstractSpinBoxH); cdecl; external Qt4PasLib name 'QAbstractSpinBox_stepDown'; procedure QAbstractSpinBox_selectAll(handle: QAbstractSpinBoxH); cdecl; external Qt4PasLib name 'QAbstractSpinBox_selectAll'; procedure QAbstractSpinBox_clear(handle: QAbstractSpinBoxH); cdecl; external Qt4PasLib name 'QAbstractSpinBox_clear'; type QAbstractSpinBox_editingFinished_Event = procedure () of object cdecl; function QLCLAbstractSpinBox_lineEditHandle(protectedhandle: QAbstractSpinBoxH): QLineEditH; cdecl; external Qt4PasLib name 'QLCLAbstractSpinBox_lineEditHandle'; function QSpinBox_create(parent: QWidgetH = nil): QSpinBoxH; cdecl; external Qt4PasLib name 'QSpinBox_create'; procedure QSpinBox_destroy(handle: QSpinBoxH); cdecl; external Qt4PasLib name 'QSpinBox_destroy'; function QSpinBox_value(handle: QSpinBoxH): Integer; cdecl; external Qt4PasLib name 'QSpinBox_value'; procedure QSpinBox_prefix(handle: QSpinBoxH; retval: PWideString); cdecl; external Qt4PasLib name 'QSpinBox_prefix'; procedure QSpinBox_setPrefix(handle: QSpinBoxH; prefix: PWideString); cdecl; external Qt4PasLib name 'QSpinBox_setPrefix'; procedure QSpinBox_suffix(handle: QSpinBoxH; retval: PWideString); cdecl; external Qt4PasLib name 'QSpinBox_suffix'; procedure QSpinBox_setSuffix(handle: QSpinBoxH; suffix: PWideString); cdecl; external Qt4PasLib name 'QSpinBox_setSuffix'; procedure QSpinBox_cleanText(handle: QSpinBoxH; retval: PWideString); cdecl; external Qt4PasLib name 'QSpinBox_cleanText'; function QSpinBox_singleStep(handle: QSpinBoxH): Integer; cdecl; external Qt4PasLib name 'QSpinBox_singleStep'; procedure QSpinBox_setSingleStep(handle: QSpinBoxH; val: Integer); cdecl; external Qt4PasLib name 'QSpinBox_setSingleStep'; function QSpinBox_minimum(handle: QSpinBoxH): Integer; cdecl; external Qt4PasLib name 'QSpinBox_minimum'; procedure QSpinBox_setMinimum(handle: QSpinBoxH; min: Integer); cdecl; external Qt4PasLib name 'QSpinBox_setMinimum'; function QSpinBox_maximum(handle: QSpinBoxH): Integer; cdecl; external Qt4PasLib name 'QSpinBox_maximum'; procedure QSpinBox_setMaximum(handle: QSpinBoxH; max: Integer); cdecl; external Qt4PasLib name 'QSpinBox_setMaximum'; procedure QSpinBox_setRange(handle: QSpinBoxH; min: Integer; max: Integer); cdecl; external Qt4PasLib name 'QSpinBox_setRange'; procedure QSpinBox_setValue(handle: QSpinBoxH; val: Integer); cdecl; external Qt4PasLib name 'QSpinBox_setValue'; function QDoubleSpinBox_create(parent: QWidgetH = nil): QDoubleSpinBoxH; cdecl; external Qt4PasLib name 'QDoubleSpinBox_create'; procedure QDoubleSpinBox_destroy(handle: QDoubleSpinBoxH); cdecl; external Qt4PasLib name 'QDoubleSpinBox_destroy'; function QDoubleSpinBox_value(handle: QDoubleSpinBoxH): Double; cdecl; external Qt4PasLib name 'QDoubleSpinBox_value'; procedure QDoubleSpinBox_prefix(handle: QDoubleSpinBoxH; retval: PWideString); cdecl; external Qt4PasLib name 'QDoubleSpinBox_prefix'; procedure QDoubleSpinBox_setPrefix(handle: QDoubleSpinBoxH; prefix: PWideString); cdecl; external Qt4PasLib name 'QDoubleSpinBox_setPrefix'; procedure QDoubleSpinBox_suffix(handle: QDoubleSpinBoxH; retval: PWideString); cdecl; external Qt4PasLib name 'QDoubleSpinBox_suffix'; procedure QDoubleSpinBox_setSuffix(handle: QDoubleSpinBoxH; suffix: PWideString); cdecl; external Qt4PasLib name 'QDoubleSpinBox_setSuffix'; procedure QDoubleSpinBox_cleanText(handle: QDoubleSpinBoxH; retval: PWideString); cdecl; external Qt4PasLib name 'QDoubleSpinBox_cleanText'; function QDoubleSpinBox_singleStep(handle: QDoubleSpinBoxH): Double; cdecl; external Qt4PasLib name 'QDoubleSpinBox_singleStep'; procedure QDoubleSpinBox_setSingleStep(handle: QDoubleSpinBoxH; val: Double); cdecl; external Qt4PasLib name 'QDoubleSpinBox_setSingleStep'; function QDoubleSpinBox_minimum(handle: QDoubleSpinBoxH): Double; cdecl; external Qt4PasLib name 'QDoubleSpinBox_minimum'; procedure QDoubleSpinBox_setMinimum(handle: QDoubleSpinBoxH; min: Double); cdecl; external Qt4PasLib name 'QDoubleSpinBox_setMinimum'; function QDoubleSpinBox_maximum(handle: QDoubleSpinBoxH): Double; cdecl; external Qt4PasLib name 'QDoubleSpinBox_maximum'; procedure QDoubleSpinBox_setMaximum(handle: QDoubleSpinBoxH; max: Double); cdecl; external Qt4PasLib name 'QDoubleSpinBox_setMaximum'; procedure QDoubleSpinBox_setRange(handle: QDoubleSpinBoxH; min: Double; max: Double); cdecl; external Qt4PasLib name 'QDoubleSpinBox_setRange'; function QDoubleSpinBox_decimals(handle: QDoubleSpinBoxH): Integer; cdecl; external Qt4PasLib name 'QDoubleSpinBox_decimals'; procedure QDoubleSpinBox_setDecimals(handle: QDoubleSpinBoxH; prec: Integer); cdecl; external Qt4PasLib name 'QDoubleSpinBox_setDecimals'; function QDoubleSpinBox_validate(handle: QDoubleSpinBoxH; input: PWideString; pos: PInteger): QValidatorState; cdecl; external Qt4PasLib name 'QDoubleSpinBox_validate'; function QDoubleSpinBox_valueFromText(handle: QDoubleSpinBoxH; text: PWideString): Double; cdecl; external Qt4PasLib name 'QDoubleSpinBox_valueFromText'; procedure QDoubleSpinBox_textFromValue(handle: QDoubleSpinBoxH; retval: PWideString; val: Double); cdecl; external Qt4PasLib name 'QDoubleSpinBox_textFromValue'; procedure QDoubleSpinBox_fixup(handle: QDoubleSpinBoxH; str: PWideString); cdecl; external Qt4PasLib name 'QDoubleSpinBox_fixup'; procedure QDoubleSpinBox_setValue(handle: QDoubleSpinBoxH; val: Double); cdecl; external Qt4PasLib name 'QDoubleSpinBox_setValue'; type QSpinBox_valueChanged_Event = procedure (AnonParam1: Integer) of object cdecl; QSpinBox_valueChanged2_Event = procedure (AnonParam1: PWideString) of object cdecl; type QDoubleSpinBox_valueChanged_Event = procedure (AnonParam1: Double) of object cdecl; QDoubleSpinBox_valueChanged2_Event = procedure (AnonParam1: PWideString) of object cdecl; function QSplitter_create(parent: QWidgetH = nil): QSplitterH; cdecl; external Qt4PasLib name 'QSplitter_create'; procedure QSplitter_destroy(handle: QSplitterH); cdecl; external Qt4PasLib name 'QSplitter_destroy'; function QSplitter_create(AnonParam1: QtOrientation; parent: QWidgetH = nil): QSplitterH; cdecl; external Qt4PasLib name 'QSplitter_create2'; procedure QSplitter_addWidget(handle: QSplitterH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QSplitter_addWidget'; procedure QSplitter_insertWidget(handle: QSplitterH; index: Integer; widget: QWidgetH); cdecl; external Qt4PasLib name 'QSplitter_insertWidget'; procedure QSplitter_setOrientation(handle: QSplitterH; AnonParam1: QtOrientation); cdecl; external Qt4PasLib name 'QSplitter_setOrientation'; function QSplitter_orientation(handle: QSplitterH): QtOrientation; cdecl; external Qt4PasLib name 'QSplitter_orientation'; procedure QSplitter_setChildrenCollapsible(handle: QSplitterH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QSplitter_setChildrenCollapsible'; function QSplitter_childrenCollapsible(handle: QSplitterH): Boolean; cdecl; external Qt4PasLib name 'QSplitter_childrenCollapsible'; procedure QSplitter_setCollapsible(handle: QSplitterH; index: Integer; AnonParam2: Boolean); cdecl; external Qt4PasLib name 'QSplitter_setCollapsible'; function QSplitter_isCollapsible(handle: QSplitterH; index: Integer): Boolean; cdecl; external Qt4PasLib name 'QSplitter_isCollapsible'; procedure QSplitter_setOpaqueResize(handle: QSplitterH; opaque: Boolean = True); cdecl; external Qt4PasLib name 'QSplitter_setOpaqueResize'; function QSplitter_opaqueResize(handle: QSplitterH): Boolean; cdecl; external Qt4PasLib name 'QSplitter_opaqueResize'; procedure QSplitter_refresh(handle: QSplitterH); cdecl; external Qt4PasLib name 'QSplitter_refresh'; procedure QSplitter_sizeHint(handle: QSplitterH; retval: PSize); cdecl; external Qt4PasLib name 'QSplitter_sizeHint'; procedure QSplitter_minimumSizeHint(handle: QSplitterH; retval: PSize); cdecl; external Qt4PasLib name 'QSplitter_minimumSizeHint'; procedure QSplitter_sizes(handle: QSplitterH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QSplitter_sizes'; procedure QSplitter_setSizes(handle: QSplitterH; list: PPtrIntArray); cdecl; external Qt4PasLib name 'QSplitter_setSizes'; procedure QSplitter_saveState(handle: QSplitterH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QSplitter_saveState'; function QSplitter_restoreState(handle: QSplitterH; state: QByteArrayH): Boolean; cdecl; external Qt4PasLib name 'QSplitter_restoreState'; function QSplitter_handleWidth(handle: QSplitterH): Integer; cdecl; external Qt4PasLib name 'QSplitter_handleWidth'; procedure QSplitter_setHandleWidth(handle: QSplitterH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QSplitter_setHandleWidth'; function QSplitter_indexOf(handle: QSplitterH; w: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QSplitter_indexOf'; function QSplitter_widget(handle: QSplitterH; index: Integer): QWidgetH; cdecl; external Qt4PasLib name 'QSplitter_widget'; function QSplitter_count(handle: QSplitterH): Integer; cdecl; external Qt4PasLib name 'QSplitter_count'; procedure QSplitter_getRange(handle: QSplitterH; index: Integer; AnonParam2: PInteger; AnonParam3: PInteger); cdecl; external Qt4PasLib name 'QSplitter_getRange'; function QSplitter_handle(handle: QSplitterH; index: Integer): QSplitterHandleH; cdecl; external Qt4PasLib name 'QSplitter_handle'; procedure QSplitter_setStretchFactor(handle: QSplitterH; index: Integer; stretch: Integer); cdecl; external Qt4PasLib name 'QSplitter_setStretchFactor'; function QSplitterHandle_create(o: QtOrientation; parent: QSplitterH): QSplitterHandleH; cdecl; external Qt4PasLib name 'QSplitterHandle_create'; procedure QSplitterHandle_destroy(handle: QSplitterHandleH); cdecl; external Qt4PasLib name 'QSplitterHandle_destroy'; procedure QSplitterHandle_setOrientation(handle: QSplitterHandleH; o: QtOrientation); cdecl; external Qt4PasLib name 'QSplitterHandle_setOrientation'; function QSplitterHandle_orientation(handle: QSplitterHandleH): QtOrientation; cdecl; external Qt4PasLib name 'QSplitterHandle_orientation'; function QSplitterHandle_opaqueResize(handle: QSplitterHandleH): Boolean; cdecl; external Qt4PasLib name 'QSplitterHandle_opaqueResize'; function QSplitterHandle_splitter(handle: QSplitterHandleH): QSplitterH; cdecl; external Qt4PasLib name 'QSplitterHandle_splitter'; procedure QSplitterHandle_sizeHint(handle: QSplitterHandleH; retval: PSize); cdecl; external Qt4PasLib name 'QSplitterHandle_sizeHint'; type QSplitter_splitterMoved_Event = procedure (pos: Integer; index: Integer) of object cdecl; type QComboBoxInsertPolicy = ( // QComboBox::InsertPolicy (1) QComboBoxNoInsert, QComboBoxInsertAtTop, QComboBoxInsertAtCurrent, QComboBoxInsertAtBottom, QComboBoxInsertAfterCurrent, QComboBoxInsertBeforeCurrent, QComboBoxInsertAlphabetically ); QComboBoxSizeAdjustPolicy = ( // QComboBox::SizeAdjustPolicy (1) QComboBoxAdjustToContents, QComboBoxAdjustToContentsOnFirstShow, QComboBoxAdjustToMinimumContentsLength, QComboBoxAdjustToMinimumContentsLengthWithIcon ); function QComboBox_create(parent: QWidgetH = nil): QComboBoxH; cdecl; external Qt4PasLib name 'QComboBox_create'; procedure QComboBox_destroy(handle: QComboBoxH); cdecl; external Qt4PasLib name 'QComboBox_destroy'; function QComboBox_maxVisibleItems(handle: QComboBoxH): Integer; cdecl; external Qt4PasLib name 'QComboBox_maxVisibleItems'; procedure QComboBox_setMaxVisibleItems(handle: QComboBoxH; maxItems: Integer); cdecl; external Qt4PasLib name 'QComboBox_setMaxVisibleItems'; function QComboBox_count(handle: QComboBoxH): Integer; cdecl; external Qt4PasLib name 'QComboBox_count'; procedure QComboBox_setMaxCount(handle: QComboBoxH; max: Integer); cdecl; external Qt4PasLib name 'QComboBox_setMaxCount'; function QComboBox_maxCount(handle: QComboBoxH): Integer; cdecl; external Qt4PasLib name 'QComboBox_maxCount'; function QComboBox_autoCompletion(handle: QComboBoxH): Boolean; cdecl; external Qt4PasLib name 'QComboBox_autoCompletion'; procedure QComboBox_setAutoCompletion(handle: QComboBoxH; enable: Boolean); cdecl; external Qt4PasLib name 'QComboBox_setAutoCompletion'; function QComboBox_autoCompletionCaseSensitivity(handle: QComboBoxH): QtCaseSensitivity; cdecl; external Qt4PasLib name 'QComboBox_autoCompletionCaseSensitivity'; procedure QComboBox_setAutoCompletionCaseSensitivity(handle: QComboBoxH; sensitivity: QtCaseSensitivity); cdecl; external Qt4PasLib name 'QComboBox_setAutoCompletionCaseSensitivity'; function QComboBox_duplicatesEnabled(handle: QComboBoxH): Boolean; cdecl; external Qt4PasLib name 'QComboBox_duplicatesEnabled'; procedure QComboBox_setDuplicatesEnabled(handle: QComboBoxH; enable: Boolean); cdecl; external Qt4PasLib name 'QComboBox_setDuplicatesEnabled'; procedure QComboBox_setFrame(handle: QComboBoxH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QComboBox_setFrame'; function QComboBox_hasFrame(handle: QComboBoxH): Boolean; cdecl; external Qt4PasLib name 'QComboBox_hasFrame'; function QComboBox_findText(handle: QComboBoxH; text: PWideString; flags: QtMatchFlags = QtMatchExactly or QtMatchCaseSensitive): Integer; cdecl; external Qt4PasLib name 'QComboBox_findText'; function QComboBox_findData(handle: QComboBoxH; data: QVariantH; role: QtItemDataRole = QtUserRole; flags: QtMatchFlags = QtMatchExactly or QtMatchCaseSensitive): Integer; cdecl; external Qt4PasLib name 'QComboBox_findData'; function QComboBox_insertPolicy(handle: QComboBoxH): QComboBoxInsertPolicy; cdecl; external Qt4PasLib name 'QComboBox_insertPolicy'; procedure QComboBox_setInsertPolicy(handle: QComboBoxH; policy: QComboBoxInsertPolicy); cdecl; external Qt4PasLib name 'QComboBox_setInsertPolicy'; function QComboBox_sizeAdjustPolicy(handle: QComboBoxH): QComboBoxSizeAdjustPolicy; cdecl; external Qt4PasLib name 'QComboBox_sizeAdjustPolicy'; procedure QComboBox_setSizeAdjustPolicy(handle: QComboBoxH; policy: QComboBoxSizeAdjustPolicy); cdecl; external Qt4PasLib name 'QComboBox_setSizeAdjustPolicy'; function QComboBox_minimumContentsLength(handle: QComboBoxH): Integer; cdecl; external Qt4PasLib name 'QComboBox_minimumContentsLength'; procedure QComboBox_setMinimumContentsLength(handle: QComboBoxH; characters: Integer); cdecl; external Qt4PasLib name 'QComboBox_setMinimumContentsLength'; procedure QComboBox_iconSize(handle: QComboBoxH; retval: PSize); cdecl; external Qt4PasLib name 'QComboBox_iconSize'; procedure QComboBox_setIconSize(handle: QComboBoxH; size: PSize); cdecl; external Qt4PasLib name 'QComboBox_setIconSize'; function QComboBox_isEditable(handle: QComboBoxH): Boolean; cdecl; external Qt4PasLib name 'QComboBox_isEditable'; procedure QComboBox_setEditable(handle: QComboBoxH; editable: Boolean); cdecl; external Qt4PasLib name 'QComboBox_setEditable'; procedure QComboBox_setLineEdit(handle: QComboBoxH; edit: QLineEditH); cdecl; external Qt4PasLib name 'QComboBox_setLineEdit'; function QComboBox_lineEdit(handle: QComboBoxH): QLineEditH; cdecl; external Qt4PasLib name 'QComboBox_lineEdit'; procedure QComboBox_setValidator(handle: QComboBoxH; v: QValidatorH); cdecl; external Qt4PasLib name 'QComboBox_setValidator'; function QComboBox_validator(handle: QComboBoxH): QValidatorH; cdecl; external Qt4PasLib name 'QComboBox_validator'; procedure QComboBox_setCompleter(handle: QComboBoxH; c: QCompleterH); cdecl; external Qt4PasLib name 'QComboBox_setCompleter'; function QComboBox_completer(handle: QComboBoxH): QCompleterH; cdecl; external Qt4PasLib name 'QComboBox_completer'; function QComboBox_itemDelegate(handle: QComboBoxH): QAbstractItemDelegateH; cdecl; external Qt4PasLib name 'QComboBox_itemDelegate'; procedure QComboBox_setItemDelegate(handle: QComboBoxH; delegate: QAbstractItemDelegateH); cdecl; external Qt4PasLib name 'QComboBox_setItemDelegate'; function QComboBox_model(handle: QComboBoxH): QAbstractItemModelH; cdecl; external Qt4PasLib name 'QComboBox_model'; procedure QComboBox_setModel(handle: QComboBoxH; model: QAbstractItemModelH); cdecl; external Qt4PasLib name 'QComboBox_setModel'; procedure QComboBox_rootModelIndex(handle: QComboBoxH; retval: QModelIndexH); cdecl; external Qt4PasLib name 'QComboBox_rootModelIndex'; procedure QComboBox_setRootModelIndex(handle: QComboBoxH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QComboBox_setRootModelIndex'; function QComboBox_modelColumn(handle: QComboBoxH): Integer; cdecl; external Qt4PasLib name 'QComboBox_modelColumn'; procedure QComboBox_setModelColumn(handle: QComboBoxH; visibleColumn: Integer); cdecl; external Qt4PasLib name 'QComboBox_setModelColumn'; function QComboBox_currentIndex(handle: QComboBoxH): Integer; cdecl; external Qt4PasLib name 'QComboBox_currentIndex'; procedure QComboBox_currentText(handle: QComboBoxH; retval: PWideString); cdecl; external Qt4PasLib name 'QComboBox_currentText'; procedure QComboBox_itemText(handle: QComboBoxH; retval: PWideString; index: Integer); cdecl; external Qt4PasLib name 'QComboBox_itemText'; procedure QComboBox_itemIcon(handle: QComboBoxH; retval: QIconH; index: Integer); cdecl; external Qt4PasLib name 'QComboBox_itemIcon'; procedure QComboBox_itemData(handle: QComboBoxH; retval: QVariantH; index: Integer; role: QtItemDataRole = QtUserRole); cdecl; external Qt4PasLib name 'QComboBox_itemData'; procedure QComboBox_addItem(handle: QComboBoxH; text: PWideString; userData: QVariantH = nil); cdecl; external Qt4PasLib name 'QComboBox_addItem'; procedure QComboBox_addItem(handle: QComboBoxH; icon: QIconH; text: PWideString; userData: QVariantH = nil); cdecl; external Qt4PasLib name 'QComboBox_addItem2'; procedure QComboBox_addItems(handle: QComboBoxH; texts: QStringListH); cdecl; external Qt4PasLib name 'QComboBox_addItems'; procedure QComboBox_insertItem(handle: QComboBoxH; index: Integer; text: PWideString; userData: QVariantH = nil); cdecl; external Qt4PasLib name 'QComboBox_insertItem'; procedure QComboBox_insertItem(handle: QComboBoxH; index: Integer; icon: QIconH; text: PWideString; userData: QVariantH = nil); cdecl; external Qt4PasLib name 'QComboBox_insertItem2'; procedure QComboBox_insertItems(handle: QComboBoxH; index: Integer; texts: QStringListH); cdecl; external Qt4PasLib name 'QComboBox_insertItems'; procedure QComboBox_insertSeparator(handle: QComboBoxH; index: Integer); cdecl; external Qt4PasLib name 'QComboBox_insertSeparator'; procedure QComboBox_removeItem(handle: QComboBoxH; index: Integer); cdecl; external Qt4PasLib name 'QComboBox_removeItem'; procedure QComboBox_setItemText(handle: QComboBoxH; index: Integer; text: PWideString); cdecl; external Qt4PasLib name 'QComboBox_setItemText'; procedure QComboBox_setItemIcon(handle: QComboBoxH; index: Integer; icon: QIconH); cdecl; external Qt4PasLib name 'QComboBox_setItemIcon'; procedure QComboBox_setItemData(handle: QComboBoxH; index: Integer; value: QVariantH; role: QtItemDataRole = QtUserRole); cdecl; external Qt4PasLib name 'QComboBox_setItemData'; function QComboBox_view(handle: QComboBoxH): QAbstractItemViewH; cdecl; external Qt4PasLib name 'QComboBox_view'; procedure QComboBox_setView(handle: QComboBoxH; itemView: QAbstractItemViewH); cdecl; external Qt4PasLib name 'QComboBox_setView'; procedure QComboBox_sizeHint(handle: QComboBoxH; retval: PSize); cdecl; external Qt4PasLib name 'QComboBox_sizeHint'; procedure QComboBox_minimumSizeHint(handle: QComboBoxH; retval: PSize); cdecl; external Qt4PasLib name 'QComboBox_minimumSizeHint'; procedure QComboBox_showPopup(handle: QComboBoxH); cdecl; external Qt4PasLib name 'QComboBox_showPopup'; procedure QComboBox_hidePopup(handle: QComboBoxH); cdecl; external Qt4PasLib name 'QComboBox_hidePopup'; function QComboBox_event(handle: QComboBoxH; event: QEventH): Boolean; cdecl; external Qt4PasLib name 'QComboBox_event'; procedure QComboBox_clear(handle: QComboBoxH); cdecl; external Qt4PasLib name 'QComboBox_clear'; procedure QComboBox_clearEditText(handle: QComboBoxH); cdecl; external Qt4PasLib name 'QComboBox_clearEditText'; procedure QComboBox_setEditText(handle: QComboBoxH; text: PWideString); cdecl; external Qt4PasLib name 'QComboBox_setEditText'; procedure QComboBox_setCurrentIndex(handle: QComboBoxH; index: Integer); cdecl; external Qt4PasLib name 'QComboBox_setCurrentIndex'; type QComboBox_editTextChanged_Event = procedure (AnonParam1: PWideString) of object cdecl; QComboBox_activated_Event = procedure (index: Integer) of object cdecl; QComboBox_activated2_Event = procedure (AnonParam1: PWideString) of object cdecl; QComboBox_highlighted_Event = procedure (index: Integer) of object cdecl; QComboBox_highlighted2_Event = procedure (AnonParam1: PWideString) of object cdecl; QComboBox_currentIndexChanged_Event = procedure (index: Integer) of object cdecl; QComboBox_currentIndexChanged2_Event = procedure (AnonParam1: PWideString) of object cdecl; function QCheckBox_create(parent: QWidgetH = nil): QCheckBoxH; cdecl; external Qt4PasLib name 'QCheckBox_create'; procedure QCheckBox_destroy(handle: QCheckBoxH); cdecl; external Qt4PasLib name 'QCheckBox_destroy'; function QCheckBox_create(text: PWideString; parent: QWidgetH = nil): QCheckBoxH; cdecl; external Qt4PasLib name 'QCheckBox_create2'; procedure QCheckBox_sizeHint(handle: QCheckBoxH; retval: PSize); cdecl; external Qt4PasLib name 'QCheckBox_sizeHint'; procedure QCheckBox_setTristate(handle: QCheckBoxH; y: Boolean = True); cdecl; external Qt4PasLib name 'QCheckBox_setTristate'; function QCheckBox_isTristate(handle: QCheckBoxH): Boolean; cdecl; external Qt4PasLib name 'QCheckBox_isTristate'; function QCheckBox_checkState(handle: QCheckBoxH): QtCheckState; cdecl; external Qt4PasLib name 'QCheckBox_checkState'; procedure QCheckBox_setCheckState(handle: QCheckBoxH; state: QtCheckState); cdecl; external Qt4PasLib name 'QCheckBox_setCheckState'; type QCheckBox_stateChanged_Event = procedure (AnonParam1: Integer) of object cdecl; type QSliderTickPosition = cardinal; // QSlider::TickPosition (4) const QSliderNoTicks = 0 { $0 }; QSliderTicksAbove = 1 { $1 }; QSliderTicksLeft = 1 { $1 }; QSliderTicksBelow = 2 { $2 }; QSliderTicksRight = 2 { $2 }; QSliderTicksBothSides = 3 { $3 }; function QSlider_create(parent: QWidgetH = nil): QSliderH; cdecl; external Qt4PasLib name 'QSlider_create'; procedure QSlider_destroy(handle: QSliderH); cdecl; external Qt4PasLib name 'QSlider_destroy'; function QSlider_create(orientation: QtOrientation; parent: QWidgetH = nil): QSliderH; cdecl; external Qt4PasLib name 'QSlider_create2'; procedure QSlider_sizeHint(handle: QSliderH; retval: PSize); cdecl; external Qt4PasLib name 'QSlider_sizeHint'; procedure QSlider_minimumSizeHint(handle: QSliderH; retval: PSize); cdecl; external Qt4PasLib name 'QSlider_minimumSizeHint'; procedure QSlider_setTickPosition(handle: QSliderH; position: QSliderTickPosition); cdecl; external Qt4PasLib name 'QSlider_setTickPosition'; function QSlider_tickPosition(handle: QSliderH): QSliderTickPosition; cdecl; external Qt4PasLib name 'QSlider_tickPosition'; procedure QSlider_setTickInterval(handle: QSliderH; ti: Integer); cdecl; external Qt4PasLib name 'QSlider_setTickInterval'; function QSlider_tickInterval(handle: QSliderH): Integer; cdecl; external Qt4PasLib name 'QSlider_tickInterval'; function QSlider_event(handle: QSliderH; event: QEventH): Boolean; cdecl; external Qt4PasLib name 'QSlider_event'; function QTextBrowser_create(parent: QWidgetH = nil): QTextBrowserH; cdecl; external Qt4PasLib name 'QTextBrowser_create'; procedure QTextBrowser_destroy(handle: QTextBrowserH); cdecl; external Qt4PasLib name 'QTextBrowser_destroy'; procedure QTextBrowser_source(handle: QTextBrowserH; retval: QUrlH); cdecl; external Qt4PasLib name 'QTextBrowser_source'; procedure QTextBrowser_searchPaths(handle: QTextBrowserH; retval: QStringListH); cdecl; external Qt4PasLib name 'QTextBrowser_searchPaths'; procedure QTextBrowser_setSearchPaths(handle: QTextBrowserH; paths: QStringListH); cdecl; external Qt4PasLib name 'QTextBrowser_setSearchPaths'; procedure QTextBrowser_loadResource(handle: QTextBrowserH; retval: QVariantH; _type: Integer; name: QUrlH); cdecl; external Qt4PasLib name 'QTextBrowser_loadResource'; function QTextBrowser_isBackwardAvailable(handle: QTextBrowserH): Boolean; cdecl; external Qt4PasLib name 'QTextBrowser_isBackwardAvailable'; function QTextBrowser_isForwardAvailable(handle: QTextBrowserH): Boolean; cdecl; external Qt4PasLib name 'QTextBrowser_isForwardAvailable'; procedure QTextBrowser_clearHistory(handle: QTextBrowserH); cdecl; external Qt4PasLib name 'QTextBrowser_clearHistory'; procedure QTextBrowser_historyTitle(handle: QTextBrowserH; retval: PWideString; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QTextBrowser_historyTitle'; procedure QTextBrowser_historyUrl(handle: QTextBrowserH; retval: QUrlH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QTextBrowser_historyUrl'; function QTextBrowser_backwardHistoryCount(handle: QTextBrowserH): Integer; cdecl; external Qt4PasLib name 'QTextBrowser_backwardHistoryCount'; function QTextBrowser_forwardHistoryCount(handle: QTextBrowserH): Integer; cdecl; external Qt4PasLib name 'QTextBrowser_forwardHistoryCount'; function QTextBrowser_openExternalLinks(handle: QTextBrowserH): Boolean; cdecl; external Qt4PasLib name 'QTextBrowser_openExternalLinks'; procedure QTextBrowser_setOpenExternalLinks(handle: QTextBrowserH; open: Boolean); cdecl; external Qt4PasLib name 'QTextBrowser_setOpenExternalLinks'; function QTextBrowser_openLinks(handle: QTextBrowserH): Boolean; cdecl; external Qt4PasLib name 'QTextBrowser_openLinks'; procedure QTextBrowser_setOpenLinks(handle: QTextBrowserH; open: Boolean); cdecl; external Qt4PasLib name 'QTextBrowser_setOpenLinks'; procedure QTextBrowser_setSource(handle: QTextBrowserH; name: QUrlH); cdecl; external Qt4PasLib name 'QTextBrowser_setSource'; procedure QTextBrowser_backward(handle: QTextBrowserH); cdecl; external Qt4PasLib name 'QTextBrowser_backward'; procedure QTextBrowser_forward(handle: QTextBrowserH); cdecl; external Qt4PasLib name 'QTextBrowser_forward'; procedure QTextBrowser_home(handle: QTextBrowserH); cdecl; external Qt4PasLib name 'QTextBrowser_home'; procedure QTextBrowser_reload(handle: QTextBrowserH); cdecl; external Qt4PasLib name 'QTextBrowser_reload'; type QTextBrowser_backwardAvailable_Event = procedure (AnonParam1: Boolean) of object cdecl; QTextBrowser_forwardAvailable_Event = procedure (AnonParam1: Boolean) of object cdecl; QTextBrowser_historyChanged_Event = procedure () of object cdecl; QTextBrowser_sourceChanged_Event = procedure (AnonParam1: QUrlH) of object cdecl; QTextBrowser_highlighted_Event = procedure (AnonParam1: QUrlH) of object cdecl; QTextBrowser_highlighted2_Event = procedure (AnonParam1: PWideString) of object cdecl; QTextBrowser_anchorClicked_Event = procedure (AnonParam1: QUrlH) of object cdecl; function QLabel_create(parent: QWidgetH = nil; f: QtWindowFlags = 0): QLabelH; cdecl; external Qt4PasLib name 'QLabel_create'; procedure QLabel_destroy(handle: QLabelH); cdecl; external Qt4PasLib name 'QLabel_destroy'; function QLabel_create(text: PWideString; parent: QWidgetH = nil; f: QtWindowFlags = 0): QLabelH; cdecl; external Qt4PasLib name 'QLabel_create2'; procedure QLabel_text(handle: QLabelH; retval: PWideString); cdecl; external Qt4PasLib name 'QLabel_text'; function QLabel_pixmap(handle: QLabelH): QPixmapH; cdecl; external Qt4PasLib name 'QLabel_pixmap'; function QLabel_picture(handle: QLabelH): QPictureH; cdecl; external Qt4PasLib name 'QLabel_picture'; function QLabel_movie(handle: QLabelH): QMovieH; cdecl; external Qt4PasLib name 'QLabel_movie'; function QLabel_textFormat(handle: QLabelH): QtTextFormat; cdecl; external Qt4PasLib name 'QLabel_textFormat'; procedure QLabel_setTextFormat(handle: QLabelH; AnonParam1: QtTextFormat); cdecl; external Qt4PasLib name 'QLabel_setTextFormat'; function QLabel_alignment(handle: QLabelH): QtAlignment; cdecl; external Qt4PasLib name 'QLabel_alignment'; procedure QLabel_setAlignment(handle: QLabelH; AnonParam1: QtAlignment); cdecl; external Qt4PasLib name 'QLabel_setAlignment'; procedure QLabel_setWordWrap(handle: QLabelH; _on: Boolean); cdecl; external Qt4PasLib name 'QLabel_setWordWrap'; function QLabel_wordWrap(handle: QLabelH): Boolean; cdecl; external Qt4PasLib name 'QLabel_wordWrap'; function QLabel_indent(handle: QLabelH): Integer; cdecl; external Qt4PasLib name 'QLabel_indent'; procedure QLabel_setIndent(handle: QLabelH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QLabel_setIndent'; function QLabel_margin(handle: QLabelH): Integer; cdecl; external Qt4PasLib name 'QLabel_margin'; procedure QLabel_setMargin(handle: QLabelH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QLabel_setMargin'; function QLabel_hasScaledContents(handle: QLabelH): Boolean; cdecl; external Qt4PasLib name 'QLabel_hasScaledContents'; procedure QLabel_setScaledContents(handle: QLabelH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QLabel_setScaledContents'; procedure QLabel_sizeHint(handle: QLabelH; retval: PSize); cdecl; external Qt4PasLib name 'QLabel_sizeHint'; procedure QLabel_minimumSizeHint(handle: QLabelH; retval: PSize); cdecl; external Qt4PasLib name 'QLabel_minimumSizeHint'; procedure QLabel_setBuddy(handle: QLabelH; AnonParam1: QWidgetH); cdecl; external Qt4PasLib name 'QLabel_setBuddy'; function QLabel_buddy(handle: QLabelH): QWidgetH; cdecl; external Qt4PasLib name 'QLabel_buddy'; function QLabel_heightForWidth(handle: QLabelH; AnonParam1: Integer): Integer; cdecl; external Qt4PasLib name 'QLabel_heightForWidth'; function QLabel_openExternalLinks(handle: QLabelH): Boolean; cdecl; external Qt4PasLib name 'QLabel_openExternalLinks'; procedure QLabel_setOpenExternalLinks(handle: QLabelH; open: Boolean); cdecl; external Qt4PasLib name 'QLabel_setOpenExternalLinks'; procedure QLabel_setTextInteractionFlags(handle: QLabelH; flags: QtTextInteractionFlags); cdecl; external Qt4PasLib name 'QLabel_setTextInteractionFlags'; function QLabel_textInteractionFlags(handle: QLabelH): QtTextInteractionFlags; cdecl; external Qt4PasLib name 'QLabel_textInteractionFlags'; procedure QLabel_setText(handle: QLabelH; AnonParam1: PWideString); cdecl; external Qt4PasLib name 'QLabel_setText'; procedure QLabel_setPixmap(handle: QLabelH; AnonParam1: QPixmapH); cdecl; external Qt4PasLib name 'QLabel_setPixmap'; procedure QLabel_setPicture(handle: QLabelH; AnonParam1: QPictureH); cdecl; external Qt4PasLib name 'QLabel_setPicture'; procedure QLabel_setMovie(handle: QLabelH; movie: QMovieH); cdecl; external Qt4PasLib name 'QLabel_setMovie'; procedure QLabel_setNum(handle: QLabelH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QLabel_setNum'; procedure QLabel_setNum(handle: QLabelH; AnonParam1: Double); cdecl; external Qt4PasLib name 'QLabel_setNum2'; procedure QLabel_clear(handle: QLabelH); cdecl; external Qt4PasLib name 'QLabel_clear'; type QLabel_linkActivated_Event = procedure (link: PWideString) of object cdecl; QLabel_linkHovered_Event = procedure (link: PWideString) of object cdecl; function QGroupBox_create(parent: QWidgetH = nil): QGroupBoxH; cdecl; external Qt4PasLib name 'QGroupBox_create'; procedure QGroupBox_destroy(handle: QGroupBoxH); cdecl; external Qt4PasLib name 'QGroupBox_destroy'; function QGroupBox_create(title: PWideString; parent: QWidgetH = nil): QGroupBoxH; cdecl; external Qt4PasLib name 'QGroupBox_create2'; procedure QGroupBox_title(handle: QGroupBoxH; retval: PWideString); cdecl; external Qt4PasLib name 'QGroupBox_title'; procedure QGroupBox_setTitle(handle: QGroupBoxH; title: PWideString); cdecl; external Qt4PasLib name 'QGroupBox_setTitle'; function QGroupBox_alignment(handle: QGroupBoxH): QtAlignment; cdecl; external Qt4PasLib name 'QGroupBox_alignment'; procedure QGroupBox_setAlignment(handle: QGroupBoxH; alignment: Integer); cdecl; external Qt4PasLib name 'QGroupBox_setAlignment'; procedure QGroupBox_minimumSizeHint(handle: QGroupBoxH; retval: PSize); cdecl; external Qt4PasLib name 'QGroupBox_minimumSizeHint'; function QGroupBox_isFlat(handle: QGroupBoxH): Boolean; cdecl; external Qt4PasLib name 'QGroupBox_isFlat'; procedure QGroupBox_setFlat(handle: QGroupBoxH; flat: Boolean); cdecl; external Qt4PasLib name 'QGroupBox_setFlat'; function QGroupBox_isCheckable(handle: QGroupBoxH): Boolean; cdecl; external Qt4PasLib name 'QGroupBox_isCheckable'; procedure QGroupBox_setCheckable(handle: QGroupBoxH; checkable: Boolean); cdecl; external Qt4PasLib name 'QGroupBox_setCheckable'; function QGroupBox_isChecked(handle: QGroupBoxH): Boolean; cdecl; external Qt4PasLib name 'QGroupBox_isChecked'; procedure QGroupBox_setChecked(handle: QGroupBoxH; checked: Boolean); cdecl; external Qt4PasLib name 'QGroupBox_setChecked'; type QGroupBox_clicked_Event = procedure (checked: Boolean = False) of object cdecl; QGroupBox_clicked2_Event = procedure () of object cdecl; QGroupBox_toggled_Event = procedure (AnonParam1: Boolean) of object cdecl; type QDockWidgetDockWidgetFeature = cardinal; // QDockWidget::DockWidgetFeature (4) QDockWidgetDockWidgetFeatures = QDockWidgetDockWidgetFeature; // QFlags<> const QDockWidgetDockWidgetClosable = 1 { $1 }; QDockWidgetDockWidgetMovable = 2 { $2 }; QDockWidgetDockWidgetFloatable = 4 { $4 }; QDockWidgetDockWidgetVerticalTitleBar = 8 { $8 }; QDockWidgetDockWidgetFeatureMask = 15 { $f }; QDockWidgetAllDockWidgetFeatures = 7 { $7 }; QDockWidgetNoDockWidgetFeatures = 0 { $0 }; QDockWidgetReserved = 255 { $ff }; function QDockWidget_create(title: PWideString; parent: QWidgetH = nil; flags: QtWindowFlags = 0): QDockWidgetH; cdecl; external Qt4PasLib name 'QDockWidget_create'; procedure QDockWidget_destroy(handle: QDockWidgetH); cdecl; external Qt4PasLib name 'QDockWidget_destroy'; function QDockWidget_create(parent: QWidgetH = nil; flags: QtWindowFlags = 0): QDockWidgetH; cdecl; external Qt4PasLib name 'QDockWidget_create2'; function QDockWidget_widget(handle: QDockWidgetH): QWidgetH; cdecl; external Qt4PasLib name 'QDockWidget_widget'; procedure QDockWidget_setWidget(handle: QDockWidgetH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QDockWidget_setWidget'; procedure QDockWidget_setFeatures(handle: QDockWidgetH; features: QDockWidgetDockWidgetFeatures); cdecl; external Qt4PasLib name 'QDockWidget_setFeatures'; function QDockWidget_features(handle: QDockWidgetH): QDockWidgetDockWidgetFeatures; cdecl; external Qt4PasLib name 'QDockWidget_features'; procedure QDockWidget_setFloating(handle: QDockWidgetH; floating: Boolean); cdecl; external Qt4PasLib name 'QDockWidget_setFloating'; function QDockWidget_isFloating(handle: QDockWidgetH): Boolean; cdecl; external Qt4PasLib name 'QDockWidget_isFloating'; procedure QDockWidget_setAllowedAreas(handle: QDockWidgetH; areas: QtDockWidgetAreas); cdecl; external Qt4PasLib name 'QDockWidget_setAllowedAreas'; function QDockWidget_allowedAreas(handle: QDockWidgetH): QtDockWidgetAreas; cdecl; external Qt4PasLib name 'QDockWidget_allowedAreas'; procedure QDockWidget_setTitleBarWidget(handle: QDockWidgetH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QDockWidget_setTitleBarWidget'; function QDockWidget_titleBarWidget(handle: QDockWidgetH): QWidgetH; cdecl; external Qt4PasLib name 'QDockWidget_titleBarWidget'; function QDockWidget_isAreaAllowed(handle: QDockWidgetH; area: QtDockWidgetArea): Boolean; cdecl; external Qt4PasLib name 'QDockWidget_isAreaAllowed'; function QDockWidget_toggleViewAction(handle: QDockWidgetH): QActionH; cdecl; external Qt4PasLib name 'QDockWidget_toggleViewAction'; type QDockWidget_featuresChanged_Event = procedure (features: QDockWidgetDockWidgetFeatures) of object cdecl; QDockWidget_topLevelChanged_Event = procedure (topLevel: Boolean) of object cdecl; QDockWidget_allowedAreasChanged_Event = procedure (allowedAreas: QtDockWidgetAreas) of object cdecl; QDockWidget_visibilityChanged_Event = procedure (visible: Boolean) of object cdecl; QDockWidget_dockLocationChanged_Event = procedure (area: QtDockWidgetArea) of object cdecl; type QTabBarShape = ( // QTabBar::Shape (1) QTabBarRoundedNorth, QTabBarRoundedSouth, QTabBarRoundedWest, QTabBarRoundedEast, QTabBarTriangularNorth, QTabBarTriangularSouth, QTabBarTriangularWest, QTabBarTriangularEast ); QTabBarButtonPosition = ( // QTabBar::ButtonPosition (1) QTabBarLeftSide, QTabBarRightSide ); QTabBarSelectionBehavior = ( // QTabBar::SelectionBehavior (1) QTabBarSelectLeftTab, QTabBarSelectRightTab, QTabBarSelectPreviousTab ); function QTabBar_create(parent: QWidgetH = nil): QTabBarH; cdecl; external Qt4PasLib name 'QTabBar_create'; procedure QTabBar_destroy(handle: QTabBarH); cdecl; external Qt4PasLib name 'QTabBar_destroy'; function QTabBar_shape(handle: QTabBarH): QTabBarShape; cdecl; external Qt4PasLib name 'QTabBar_shape'; procedure QTabBar_setShape(handle: QTabBarH; shape: QTabBarShape); cdecl; external Qt4PasLib name 'QTabBar_setShape'; function QTabBar_addTab(handle: QTabBarH; text: PWideString): Integer; cdecl; external Qt4PasLib name 'QTabBar_addTab'; function QTabBar_addTab(handle: QTabBarH; icon: QIconH; text: PWideString): Integer; cdecl; external Qt4PasLib name 'QTabBar_addTab2'; function QTabBar_insertTab(handle: QTabBarH; index: Integer; text: PWideString): Integer; cdecl; external Qt4PasLib name 'QTabBar_insertTab'; function QTabBar_insertTab(handle: QTabBarH; index: Integer; icon: QIconH; text: PWideString): Integer; cdecl; external Qt4PasLib name 'QTabBar_insertTab2'; procedure QTabBar_removeTab(handle: QTabBarH; index: Integer); cdecl; external Qt4PasLib name 'QTabBar_removeTab'; procedure QTabBar_moveTab(handle: QTabBarH; from: Integer; _to: Integer); cdecl; external Qt4PasLib name 'QTabBar_moveTab'; function QTabBar_isTabEnabled(handle: QTabBarH; index: Integer): Boolean; cdecl; external Qt4PasLib name 'QTabBar_isTabEnabled'; procedure QTabBar_setTabEnabled(handle: QTabBarH; index: Integer; AnonParam2: Boolean); cdecl; external Qt4PasLib name 'QTabBar_setTabEnabled'; procedure QTabBar_tabText(handle: QTabBarH; retval: PWideString; index: Integer); cdecl; external Qt4PasLib name 'QTabBar_tabText'; procedure QTabBar_setTabText(handle: QTabBarH; index: Integer; text: PWideString); cdecl; external Qt4PasLib name 'QTabBar_setTabText'; procedure QTabBar_tabTextColor(handle: QTabBarH; retval: PQColor; index: Integer); cdecl; external Qt4PasLib name 'QTabBar_tabTextColor'; procedure QTabBar_setTabTextColor(handle: QTabBarH; index: Integer; color: PQColor); cdecl; external Qt4PasLib name 'QTabBar_setTabTextColor'; procedure QTabBar_tabIcon(handle: QTabBarH; retval: QIconH; index: Integer); cdecl; external Qt4PasLib name 'QTabBar_tabIcon'; procedure QTabBar_setTabIcon(handle: QTabBarH; index: Integer; icon: QIconH); cdecl; external Qt4PasLib name 'QTabBar_setTabIcon'; function QTabBar_elideMode(handle: QTabBarH): QtTextElideMode; cdecl; external Qt4PasLib name 'QTabBar_elideMode'; procedure QTabBar_setElideMode(handle: QTabBarH; AnonParam1: QtTextElideMode); cdecl; external Qt4PasLib name 'QTabBar_setElideMode'; procedure QTabBar_setTabToolTip(handle: QTabBarH; index: Integer; tip: PWideString); cdecl; external Qt4PasLib name 'QTabBar_setTabToolTip'; procedure QTabBar_tabToolTip(handle: QTabBarH; retval: PWideString; index: Integer); cdecl; external Qt4PasLib name 'QTabBar_tabToolTip'; procedure QTabBar_setTabWhatsThis(handle: QTabBarH; index: Integer; text: PWideString); cdecl; external Qt4PasLib name 'QTabBar_setTabWhatsThis'; procedure QTabBar_tabWhatsThis(handle: QTabBarH; retval: PWideString; index: Integer); cdecl; external Qt4PasLib name 'QTabBar_tabWhatsThis'; procedure QTabBar_setTabData(handle: QTabBarH; index: Integer; data: QVariantH); cdecl; external Qt4PasLib name 'QTabBar_setTabData'; procedure QTabBar_tabData(handle: QTabBarH; retval: QVariantH; index: Integer); cdecl; external Qt4PasLib name 'QTabBar_tabData'; procedure QTabBar_tabRect(handle: QTabBarH; retval: PRect; index: Integer); cdecl; external Qt4PasLib name 'QTabBar_tabRect'; function QTabBar_tabAt(handle: QTabBarH; pos: PQtPoint): Integer; cdecl; external Qt4PasLib name 'QTabBar_tabAt'; function QTabBar_currentIndex(handle: QTabBarH): Integer; cdecl; external Qt4PasLib name 'QTabBar_currentIndex'; function QTabBar_count(handle: QTabBarH): Integer; cdecl; external Qt4PasLib name 'QTabBar_count'; procedure QTabBar_sizeHint(handle: QTabBarH; retval: PSize); cdecl; external Qt4PasLib name 'QTabBar_sizeHint'; procedure QTabBar_minimumSizeHint(handle: QTabBarH; retval: PSize); cdecl; external Qt4PasLib name 'QTabBar_minimumSizeHint'; procedure QTabBar_setDrawBase(handle: QTabBarH; drawTheBase: Boolean); cdecl; external Qt4PasLib name 'QTabBar_setDrawBase'; function QTabBar_drawBase(handle: QTabBarH): Boolean; cdecl; external Qt4PasLib name 'QTabBar_drawBase'; procedure QTabBar_iconSize(handle: QTabBarH; retval: PSize); cdecl; external Qt4PasLib name 'QTabBar_iconSize'; procedure QTabBar_setIconSize(handle: QTabBarH; size: PSize); cdecl; external Qt4PasLib name 'QTabBar_setIconSize'; function QTabBar_usesScrollButtons(handle: QTabBarH): Boolean; cdecl; external Qt4PasLib name 'QTabBar_usesScrollButtons'; procedure QTabBar_setUsesScrollButtons(handle: QTabBarH; useButtons: Boolean); cdecl; external Qt4PasLib name 'QTabBar_setUsesScrollButtons'; function QTabBar_tabsClosable(handle: QTabBarH): Boolean; cdecl; external Qt4PasLib name 'QTabBar_tabsClosable'; procedure QTabBar_setTabsClosable(handle: QTabBarH; closable: Boolean); cdecl; external Qt4PasLib name 'QTabBar_setTabsClosable'; procedure QTabBar_setTabButton(handle: QTabBarH; index: Integer; position: QTabBarButtonPosition; widget: QWidgetH); cdecl; external Qt4PasLib name 'QTabBar_setTabButton'; function QTabBar_tabButton(handle: QTabBarH; index: Integer; position: QTabBarButtonPosition): QWidgetH; cdecl; external Qt4PasLib name 'QTabBar_tabButton'; function QTabBar_selectionBehaviorOnRemove(handle: QTabBarH): QTabBarSelectionBehavior; cdecl; external Qt4PasLib name 'QTabBar_selectionBehaviorOnRemove'; procedure QTabBar_setSelectionBehaviorOnRemove(handle: QTabBarH; behavior: QTabBarSelectionBehavior); cdecl; external Qt4PasLib name 'QTabBar_setSelectionBehaviorOnRemove'; function QTabBar_expanding(handle: QTabBarH): Boolean; cdecl; external Qt4PasLib name 'QTabBar_expanding'; procedure QTabBar_setExpanding(handle: QTabBarH; enabled: Boolean); cdecl; external Qt4PasLib name 'QTabBar_setExpanding'; function QTabBar_isMovable(handle: QTabBarH): Boolean; cdecl; external Qt4PasLib name 'QTabBar_isMovable'; procedure QTabBar_setMovable(handle: QTabBarH; movable: Boolean); cdecl; external Qt4PasLib name 'QTabBar_setMovable'; function QTabBar_documentMode(handle: QTabBarH): Boolean; cdecl; external Qt4PasLib name 'QTabBar_documentMode'; procedure QTabBar_setDocumentMode(handle: QTabBarH; _set: Boolean); cdecl; external Qt4PasLib name 'QTabBar_setDocumentMode'; procedure QTabBar_setCurrentIndex(handle: QTabBarH; index: Integer); cdecl; external Qt4PasLib name 'QTabBar_setCurrentIndex'; type QTabBar_currentChanged_Event = procedure (index: Integer) of object cdecl; QTabBar_tabCloseRequested_Event = procedure (index: Integer) of object cdecl; QTabBar_tabMoved_Event = procedure (from: Integer; _to: Integer) of object cdecl; type QProgressBarDirection = ( // QProgressBar::Direction (1) QProgressBarTopToBottom, QProgressBarBottomToTop ); function QProgressBar_create(parent: QWidgetH = nil): QProgressBarH; cdecl; external Qt4PasLib name 'QProgressBar_create'; procedure QProgressBar_destroy(handle: QProgressBarH); cdecl; external Qt4PasLib name 'QProgressBar_destroy'; function QProgressBar_minimum(handle: QProgressBarH): Integer; cdecl; external Qt4PasLib name 'QProgressBar_minimum'; function QProgressBar_maximum(handle: QProgressBarH): Integer; cdecl; external Qt4PasLib name 'QProgressBar_maximum'; function QProgressBar_value(handle: QProgressBarH): Integer; cdecl; external Qt4PasLib name 'QProgressBar_value'; procedure QProgressBar_text(handle: QProgressBarH; retval: PWideString); cdecl; external Qt4PasLib name 'QProgressBar_text'; procedure QProgressBar_setTextVisible(handle: QProgressBarH; visible: Boolean); cdecl; external Qt4PasLib name 'QProgressBar_setTextVisible'; function QProgressBar_isTextVisible(handle: QProgressBarH): Boolean; cdecl; external Qt4PasLib name 'QProgressBar_isTextVisible'; function QProgressBar_alignment(handle: QProgressBarH): QtAlignment; cdecl; external Qt4PasLib name 'QProgressBar_alignment'; procedure QProgressBar_setAlignment(handle: QProgressBarH; alignment: QtAlignment); cdecl; external Qt4PasLib name 'QProgressBar_setAlignment'; procedure QProgressBar_sizeHint(handle: QProgressBarH; retval: PSize); cdecl; external Qt4PasLib name 'QProgressBar_sizeHint'; procedure QProgressBar_minimumSizeHint(handle: QProgressBarH; retval: PSize); cdecl; external Qt4PasLib name 'QProgressBar_minimumSizeHint'; function QProgressBar_orientation(handle: QProgressBarH): QtOrientation; cdecl; external Qt4PasLib name 'QProgressBar_orientation'; procedure QProgressBar_setInvertedAppearance(handle: QProgressBarH; invert: Boolean); cdecl; external Qt4PasLib name 'QProgressBar_setInvertedAppearance'; function QProgressBar_invertedAppearance(handle: QProgressBarH): Boolean; cdecl; external Qt4PasLib name 'QProgressBar_invertedAppearance'; procedure QProgressBar_setTextDirection(handle: QProgressBarH; textDirection: QProgressBarDirection); cdecl; external Qt4PasLib name 'QProgressBar_setTextDirection'; function QProgressBar_textDirection(handle: QProgressBarH): QProgressBarDirection; cdecl; external Qt4PasLib name 'QProgressBar_textDirection'; procedure QProgressBar_setFormat(handle: QProgressBarH; format: PWideString); cdecl; external Qt4PasLib name 'QProgressBar_setFormat'; procedure QProgressBar_format(handle: QProgressBarH; retval: PWideString); cdecl; external Qt4PasLib name 'QProgressBar_format'; procedure QProgressBar_reset(handle: QProgressBarH); cdecl; external Qt4PasLib name 'QProgressBar_reset'; procedure QProgressBar_setRange(handle: QProgressBarH; minimum: Integer; maximum: Integer); cdecl; external Qt4PasLib name 'QProgressBar_setRange'; procedure QProgressBar_setMinimum(handle: QProgressBarH; minimum: Integer); cdecl; external Qt4PasLib name 'QProgressBar_setMinimum'; procedure QProgressBar_setMaximum(handle: QProgressBarH; maximum: Integer); cdecl; external Qt4PasLib name 'QProgressBar_setMaximum'; procedure QProgressBar_setValue(handle: QProgressBarH; value: Integer); cdecl; external Qt4PasLib name 'QProgressBar_setValue'; procedure QProgressBar_setOrientation(handle: QProgressBarH; AnonParam1: QtOrientation); cdecl; external Qt4PasLib name 'QProgressBar_setOrientation'; type QProgressBar_valueChanged_Event = procedure (value: Integer) of object cdecl; function QStatusBar_create(parent: QWidgetH = nil): QStatusBarH; cdecl; external Qt4PasLib name 'QStatusBar_create'; procedure QStatusBar_destroy(handle: QStatusBarH); cdecl; external Qt4PasLib name 'QStatusBar_destroy'; procedure QStatusBar_addWidget(handle: QStatusBarH; widget: QWidgetH; stretch: Integer = 0); cdecl; external Qt4PasLib name 'QStatusBar_addWidget'; function QStatusBar_insertWidget(handle: QStatusBarH; index: Integer; widget: QWidgetH; stretch: Integer = 0): Integer; cdecl; external Qt4PasLib name 'QStatusBar_insertWidget'; procedure QStatusBar_addPermanentWidget(handle: QStatusBarH; widget: QWidgetH; stretch: Integer = 0); cdecl; external Qt4PasLib name 'QStatusBar_addPermanentWidget'; function QStatusBar_insertPermanentWidget(handle: QStatusBarH; index: Integer; widget: QWidgetH; stretch: Integer = 0): Integer; cdecl; external Qt4PasLib name 'QStatusBar_insertPermanentWidget'; procedure QStatusBar_removeWidget(handle: QStatusBarH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QStatusBar_removeWidget'; procedure QStatusBar_setSizeGripEnabled(handle: QStatusBarH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QStatusBar_setSizeGripEnabled'; function QStatusBar_isSizeGripEnabled(handle: QStatusBarH): Boolean; cdecl; external Qt4PasLib name 'QStatusBar_isSizeGripEnabled'; procedure QStatusBar_currentMessage(handle: QStatusBarH; retval: PWideString); cdecl; external Qt4PasLib name 'QStatusBar_currentMessage'; procedure QStatusBar_showMessage(handle: QStatusBarH; text: PWideString; timeout: Integer = 0); cdecl; external Qt4PasLib name 'QStatusBar_showMessage'; procedure QStatusBar_clearMessage(handle: QStatusBarH); cdecl; external Qt4PasLib name 'QStatusBar_clearMessage'; type QStatusBar_messageChanged_Event = procedure (text: PWideString) of object cdecl; function QToolBox_create(parent: QWidgetH = nil; f: QtWindowFlags = 0): QToolBoxH; cdecl; external Qt4PasLib name 'QToolBox_create'; procedure QToolBox_destroy(handle: QToolBoxH); cdecl; external Qt4PasLib name 'QToolBox_destroy'; function QToolBox_addItem(handle: QToolBoxH; widget: QWidgetH; text: PWideString): Integer; cdecl; external Qt4PasLib name 'QToolBox_addItem'; function QToolBox_addItem(handle: QToolBoxH; widget: QWidgetH; icon: QIconH; text: PWideString): Integer; cdecl; external Qt4PasLib name 'QToolBox_addItem2'; function QToolBox_insertItem(handle: QToolBoxH; index: Integer; widget: QWidgetH; text: PWideString): Integer; cdecl; external Qt4PasLib name 'QToolBox_insertItem'; function QToolBox_insertItem(handle: QToolBoxH; index: Integer; widget: QWidgetH; icon: QIconH; text: PWideString): Integer; cdecl; external Qt4PasLib name 'QToolBox_insertItem2'; procedure QToolBox_removeItem(handle: QToolBoxH; index: Integer); cdecl; external Qt4PasLib name 'QToolBox_removeItem'; procedure QToolBox_setItemEnabled(handle: QToolBoxH; index: Integer; enabled: Boolean); cdecl; external Qt4PasLib name 'QToolBox_setItemEnabled'; function QToolBox_isItemEnabled(handle: QToolBoxH; index: Integer): Boolean; cdecl; external Qt4PasLib name 'QToolBox_isItemEnabled'; procedure QToolBox_setItemText(handle: QToolBoxH; index: Integer; text: PWideString); cdecl; external Qt4PasLib name 'QToolBox_setItemText'; procedure QToolBox_itemText(handle: QToolBoxH; retval: PWideString; index: Integer); cdecl; external Qt4PasLib name 'QToolBox_itemText'; procedure QToolBox_setItemIcon(handle: QToolBoxH; index: Integer; icon: QIconH); cdecl; external Qt4PasLib name 'QToolBox_setItemIcon'; procedure QToolBox_itemIcon(handle: QToolBoxH; retval: QIconH; index: Integer); cdecl; external Qt4PasLib name 'QToolBox_itemIcon'; procedure QToolBox_setItemToolTip(handle: QToolBoxH; index: Integer; toolTip: PWideString); cdecl; external Qt4PasLib name 'QToolBox_setItemToolTip'; procedure QToolBox_itemToolTip(handle: QToolBoxH; retval: PWideString; index: Integer); cdecl; external Qt4PasLib name 'QToolBox_itemToolTip'; function QToolBox_currentIndex(handle: QToolBoxH): Integer; cdecl; external Qt4PasLib name 'QToolBox_currentIndex'; function QToolBox_currentWidget(handle: QToolBoxH): QWidgetH; cdecl; external Qt4PasLib name 'QToolBox_currentWidget'; function QToolBox_widget(handle: QToolBoxH; index: Integer): QWidgetH; cdecl; external Qt4PasLib name 'QToolBox_widget'; function QToolBox_indexOf(handle: QToolBoxH; widget: QWidgetH): Integer; cdecl; external Qt4PasLib name 'QToolBox_indexOf'; function QToolBox_count(handle: QToolBoxH): Integer; cdecl; external Qt4PasLib name 'QToolBox_count'; procedure QToolBox_setCurrentIndex(handle: QToolBoxH; index: Integer); cdecl; external Qt4PasLib name 'QToolBox_setCurrentIndex'; procedure QToolBox_setCurrentWidget(handle: QToolBoxH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QToolBox_setCurrentWidget'; type QToolBox_currentChanged_Event = procedure (index: Integer) of object cdecl; type QToolButtonToolButtonPopupMode = ( // QToolButton::ToolButtonPopupMode (1) QToolButtonDelayedPopup, QToolButtonMenuButtonPopup, QToolButtonInstantPopup ); function QToolButton_create(parent: QWidgetH = nil): QToolButtonH; cdecl; external Qt4PasLib name 'QToolButton_create'; procedure QToolButton_destroy(handle: QToolButtonH); cdecl; external Qt4PasLib name 'QToolButton_destroy'; procedure QToolButton_sizeHint(handle: QToolButtonH; retval: PSize); cdecl; external Qt4PasLib name 'QToolButton_sizeHint'; procedure QToolButton_minimumSizeHint(handle: QToolButtonH; retval: PSize); cdecl; external Qt4PasLib name 'QToolButton_minimumSizeHint'; function QToolButton_toolButtonStyle(handle: QToolButtonH): QtToolButtonStyle; cdecl; external Qt4PasLib name 'QToolButton_toolButtonStyle'; function QToolButton_arrowType(handle: QToolButtonH): QtArrowType; cdecl; external Qt4PasLib name 'QToolButton_arrowType'; procedure QToolButton_setArrowType(handle: QToolButtonH; _type: QtArrowType); cdecl; external Qt4PasLib name 'QToolButton_setArrowType'; procedure QToolButton_setMenu(handle: QToolButtonH; menu: QMenuH); cdecl; external Qt4PasLib name 'QToolButton_setMenu'; function QToolButton_menu(handle: QToolButtonH): QMenuH; cdecl; external Qt4PasLib name 'QToolButton_menu'; procedure QToolButton_setPopupMode(handle: QToolButtonH; mode: QToolButtonToolButtonPopupMode); cdecl; external Qt4PasLib name 'QToolButton_setPopupMode'; function QToolButton_popupMode(handle: QToolButtonH): QToolButtonToolButtonPopupMode; cdecl; external Qt4PasLib name 'QToolButton_popupMode'; function QToolButton_defaultAction(handle: QToolButtonH): QActionH; cdecl; external Qt4PasLib name 'QToolButton_defaultAction'; procedure QToolButton_setAutoRaise(handle: QToolButtonH; enable: Boolean); cdecl; external Qt4PasLib name 'QToolButton_setAutoRaise'; function QToolButton_autoRaise(handle: QToolButtonH): Boolean; cdecl; external Qt4PasLib name 'QToolButton_autoRaise'; procedure QToolButton_showMenu(handle: QToolButtonH); cdecl; external Qt4PasLib name 'QToolButton_showMenu'; procedure QToolButton_setToolButtonStyle(handle: QToolButtonH; style: QtToolButtonStyle); cdecl; external Qt4PasLib name 'QToolButton_setToolButtonStyle'; procedure QToolButton_setDefaultAction(handle: QToolButtonH; AnonParam1: QActionH); cdecl; external Qt4PasLib name 'QToolButton_setDefaultAction'; type QToolButton_triggered_Event = procedure (AnonParam1: QActionH) of object cdecl; function QScrollArea_create(parent: QWidgetH = nil): QScrollAreaH; cdecl; external Qt4PasLib name 'QScrollArea_create'; procedure QScrollArea_destroy(handle: QScrollAreaH); cdecl; external Qt4PasLib name 'QScrollArea_destroy'; function QScrollArea_widget(handle: QScrollAreaH): QWidgetH; cdecl; external Qt4PasLib name 'QScrollArea_widget'; procedure QScrollArea_setWidget(handle: QScrollAreaH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QScrollArea_setWidget'; function QScrollArea_takeWidget(handle: QScrollAreaH): QWidgetH; cdecl; external Qt4PasLib name 'QScrollArea_takeWidget'; function QScrollArea_widgetResizable(handle: QScrollAreaH): Boolean; cdecl; external Qt4PasLib name 'QScrollArea_widgetResizable'; procedure QScrollArea_setWidgetResizable(handle: QScrollAreaH; resizable: Boolean); cdecl; external Qt4PasLib name 'QScrollArea_setWidgetResizable'; procedure QScrollArea_sizeHint(handle: QScrollAreaH; retval: PSize); cdecl; external Qt4PasLib name 'QScrollArea_sizeHint'; function QScrollArea_focusNextPrevChild(handle: QScrollAreaH; next: Boolean): Boolean; cdecl; external Qt4PasLib name 'QScrollArea_focusNextPrevChild'; function QScrollArea_alignment(handle: QScrollAreaH): QtAlignment; cdecl; external Qt4PasLib name 'QScrollArea_alignment'; procedure QScrollArea_setAlignment(handle: QScrollAreaH; AnonParam1: QtAlignment); cdecl; external Qt4PasLib name 'QScrollArea_setAlignment'; procedure QScrollArea_ensureVisible(handle: QScrollAreaH; x: Integer; y: Integer; xmargin: Integer = 50; ymargin: Integer = 50); cdecl; external Qt4PasLib name 'QScrollArea_ensureVisible'; procedure QScrollArea_ensureWidgetVisible(handle: QScrollAreaH; childWidget: QWidgetH; xmargin: Integer = 50; ymargin: Integer = 50); cdecl; external Qt4PasLib name 'QScrollArea_ensureWidgetVisible'; type QMdiAreaWindowOrder = ( // QMdiArea::WindowOrder (1) QMdiAreaCreationOrder, QMdiAreaStackingOrder, QMdiAreaActivationHistoryOrder ); QMdiAreaViewMode = ( // QMdiArea::ViewMode (1) QMdiAreaSubWindowView, QMdiAreaTabbedView ); type QMdiAreaAreaOption = cardinal; // QMdiArea::AreaOption QMdiAreaAreaOptions = QMdiAreaAreaOption; //QFlags<> (3) const QMdiAreaDontMaximizeSubWindowOnActivation = $1; function QMdiArea_create(parent: QWidgetH = nil): QMdiAreaH; cdecl; external Qt4PasLib name 'QMdiArea_create'; procedure QMdiArea_destroy(handle: QMdiAreaH); cdecl; external Qt4PasLib name 'QMdiArea_destroy'; procedure QMdiArea_sizeHint(handle: QMdiAreaH; retval: PSize); cdecl; external Qt4PasLib name 'QMdiArea_sizeHint'; procedure QMdiArea_minimumSizeHint(handle: QMdiAreaH; retval: PSize); cdecl; external Qt4PasLib name 'QMdiArea_minimumSizeHint'; function QMdiArea_currentSubWindow(handle: QMdiAreaH): QMdiSubWindowH; cdecl; external Qt4PasLib name 'QMdiArea_currentSubWindow'; function QMdiArea_activeSubWindow(handle: QMdiAreaH): QMdiSubWindowH; cdecl; external Qt4PasLib name 'QMdiArea_activeSubWindow'; procedure QMdiArea_subWindowList(handle: QMdiAreaH; retval: PPtrIntArray; order: QMdiAreaWindowOrder = QMdiAreaCreationOrder); cdecl; external Qt4PasLib name 'QMdiArea_subWindowList'; function QMdiArea_addSubWindow(handle: QMdiAreaH; widget: QWidgetH; flags: QtWindowFlags = 0): QMdiSubWindowH; cdecl; external Qt4PasLib name 'QMdiArea_addSubWindow'; procedure QMdiArea_removeSubWindow(handle: QMdiAreaH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QMdiArea_removeSubWindow'; procedure QMdiArea_background(handle: QMdiAreaH; retval: QBrushH); cdecl; external Qt4PasLib name 'QMdiArea_background'; procedure QMdiArea_setBackground(handle: QMdiAreaH; background: QBrushH); cdecl; external Qt4PasLib name 'QMdiArea_setBackground'; function QMdiArea_activationOrder(handle: QMdiAreaH): QMdiAreaWindowOrder; cdecl; external Qt4PasLib name 'QMdiArea_activationOrder'; procedure QMdiArea_setActivationOrder(handle: QMdiAreaH; order: QMdiAreaWindowOrder); cdecl; external Qt4PasLib name 'QMdiArea_setActivationOrder'; procedure QMdiArea_setOption(handle: QMdiAreaH; option: QMdiAreaAreaOption; _on: Boolean = True); cdecl; external Qt4PasLib name 'QMdiArea_setOption'; function QMdiArea_testOption(handle: QMdiAreaH; opton: QMdiAreaAreaOption): Boolean; cdecl; external Qt4PasLib name 'QMdiArea_testOption'; procedure QMdiArea_setViewMode(handle: QMdiAreaH; mode: QMdiAreaViewMode); cdecl; external Qt4PasLib name 'QMdiArea_setViewMode'; function QMdiArea_viewMode(handle: QMdiAreaH): QMdiAreaViewMode; cdecl; external Qt4PasLib name 'QMdiArea_viewMode'; function QMdiArea_documentMode(handle: QMdiAreaH): Boolean; cdecl; external Qt4PasLib name 'QMdiArea_documentMode'; procedure QMdiArea_setDocumentMode(handle: QMdiAreaH; enabled: Boolean); cdecl; external Qt4PasLib name 'QMdiArea_setDocumentMode'; procedure QMdiArea_setTabShape(handle: QMdiAreaH; shape: QTabWidgetTabShape); cdecl; external Qt4PasLib name 'QMdiArea_setTabShape'; function QMdiArea_tabShape(handle: QMdiAreaH): QTabWidgetTabShape; cdecl; external Qt4PasLib name 'QMdiArea_tabShape'; procedure QMdiArea_setTabPosition(handle: QMdiAreaH; position: QTabWidgetTabPosition); cdecl; external Qt4PasLib name 'QMdiArea_setTabPosition'; function QMdiArea_tabPosition(handle: QMdiAreaH): QTabWidgetTabPosition; cdecl; external Qt4PasLib name 'QMdiArea_tabPosition'; procedure QMdiArea_setActiveSubWindow(handle: QMdiAreaH; window: QMdiSubWindowH); cdecl; external Qt4PasLib name 'QMdiArea_setActiveSubWindow'; procedure QMdiArea_tileSubWindows(handle: QMdiAreaH); cdecl; external Qt4PasLib name 'QMdiArea_tileSubWindows'; procedure QMdiArea_cascadeSubWindows(handle: QMdiAreaH); cdecl; external Qt4PasLib name 'QMdiArea_cascadeSubWindows'; procedure QMdiArea_closeActiveSubWindow(handle: QMdiAreaH); cdecl; external Qt4PasLib name 'QMdiArea_closeActiveSubWindow'; procedure QMdiArea_closeAllSubWindows(handle: QMdiAreaH); cdecl; external Qt4PasLib name 'QMdiArea_closeAllSubWindows'; procedure QMdiArea_activateNextSubWindow(handle: QMdiAreaH); cdecl; external Qt4PasLib name 'QMdiArea_activateNextSubWindow'; procedure QMdiArea_activatePreviousSubWindow(handle: QMdiAreaH); cdecl; external Qt4PasLib name 'QMdiArea_activatePreviousSubWindow'; type QMdiArea_subWindowActivated_Event = procedure (AnonParam1: QMdiSubWindowH) of object cdecl; type QMdiSubWindowSubWindowOption = cardinal; // QMdiSubWindow::SubWindowOption QMdiSubWindowSubWindowOptions = QMdiSubWindowSubWindowOption; //QFlags<> (3) const QMdiSubWindowAllowOutsideAreaHorizontally = $1; QMdiSubWindowAllowOutsideAreaVertically = $2; QMdiSubWindowRubberBandResize = $4; QMdiSubWindowRubberBandMove = $8; function QMdiSubWindow_create(parent: QWidgetH = nil; flags: QtWindowFlags = 0): QMdiSubWindowH; cdecl; external Qt4PasLib name 'QMdiSubWindow_create'; procedure QMdiSubWindow_destroy(handle: QMdiSubWindowH); cdecl; external Qt4PasLib name 'QMdiSubWindow_destroy'; procedure QMdiSubWindow_sizeHint(handle: QMdiSubWindowH; retval: PSize); cdecl; external Qt4PasLib name 'QMdiSubWindow_sizeHint'; procedure QMdiSubWindow_minimumSizeHint(handle: QMdiSubWindowH; retval: PSize); cdecl; external Qt4PasLib name 'QMdiSubWindow_minimumSizeHint'; procedure QMdiSubWindow_setWidget(handle: QMdiSubWindowH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QMdiSubWindow_setWidget'; function QMdiSubWindow_widget(handle: QMdiSubWindowH): QWidgetH; cdecl; external Qt4PasLib name 'QMdiSubWindow_widget'; function QMdiSubWindow_maximizedButtonsWidget(handle: QMdiSubWindowH): QWidgetH; cdecl; external Qt4PasLib name 'QMdiSubWindow_maximizedButtonsWidget'; function QMdiSubWindow_maximizedSystemMenuIconWidget(handle: QMdiSubWindowH): QWidgetH; cdecl; external Qt4PasLib name 'QMdiSubWindow_maximizedSystemMenuIconWidget'; function QMdiSubWindow_isShaded(handle: QMdiSubWindowH): Boolean; cdecl; external Qt4PasLib name 'QMdiSubWindow_isShaded'; procedure QMdiSubWindow_setOption(handle: QMdiSubWindowH; option: QMdiSubWindowSubWindowOption; _on: Boolean = True); cdecl; external Qt4PasLib name 'QMdiSubWindow_setOption'; function QMdiSubWindow_testOption(handle: QMdiSubWindowH; AnonParam1: QMdiSubWindowSubWindowOption): Boolean; cdecl; external Qt4PasLib name 'QMdiSubWindow_testOption'; procedure QMdiSubWindow_setKeyboardSingleStep(handle: QMdiSubWindowH; step: Integer); cdecl; external Qt4PasLib name 'QMdiSubWindow_setKeyboardSingleStep'; function QMdiSubWindow_keyboardSingleStep(handle: QMdiSubWindowH): Integer; cdecl; external Qt4PasLib name 'QMdiSubWindow_keyboardSingleStep'; procedure QMdiSubWindow_setKeyboardPageStep(handle: QMdiSubWindowH; step: Integer); cdecl; external Qt4PasLib name 'QMdiSubWindow_setKeyboardPageStep'; function QMdiSubWindow_keyboardPageStep(handle: QMdiSubWindowH): Integer; cdecl; external Qt4PasLib name 'QMdiSubWindow_keyboardPageStep'; procedure QMdiSubWindow_setSystemMenu(handle: QMdiSubWindowH; systemMenu: QMenuH); cdecl; external Qt4PasLib name 'QMdiSubWindow_setSystemMenu'; function QMdiSubWindow_systemMenu(handle: QMdiSubWindowH): QMenuH; cdecl; external Qt4PasLib name 'QMdiSubWindow_systemMenu'; function QMdiSubWindow_mdiArea(handle: QMdiSubWindowH): QMdiAreaH; cdecl; external Qt4PasLib name 'QMdiSubWindow_mdiArea'; procedure QMdiSubWindow_showSystemMenu(handle: QMdiSubWindowH); cdecl; external Qt4PasLib name 'QMdiSubWindow_showSystemMenu'; procedure QMdiSubWindow_showShaded(handle: QMdiSubWindowH); cdecl; external Qt4PasLib name 'QMdiSubWindow_showShaded'; type QMdiSubWindow_windowStateChanged_Event = procedure (oldState: QtWindowStates; newState: QtWindowStates) of object cdecl; QMdiSubWindow_aboutToActivate_Event = procedure () of object cdecl; type QCalendarWidgetHorizontalHeaderFormat = ( // QCalendarWidget::HorizontalHeaderFormat (1) QCalendarWidgetNoHorizontalHeader, QCalendarWidgetSingleLetterDayNames, QCalendarWidgetShortDayNames, QCalendarWidgetLongDayNames ); QCalendarWidgetVerticalHeaderFormat = ( // QCalendarWidget::VerticalHeaderFormat (1) QCalendarWidgetNoVerticalHeader, QCalendarWidgetISOWeekNumbers ); QCalendarWidgetSelectionMode = ( // QCalendarWidget::SelectionMode (1) QCalendarWidgetNoSelection, QCalendarWidgetSingleSelection ); function QCalendarWidget_create(parent: QWidgetH = nil): QCalendarWidgetH; cdecl; external Qt4PasLib name 'QCalendarWidget_create'; procedure QCalendarWidget_destroy(handle: QCalendarWidgetH); cdecl; external Qt4PasLib name 'QCalendarWidget_destroy'; procedure QCalendarWidget_sizeHint(handle: QCalendarWidgetH; retval: PSize); cdecl; external Qt4PasLib name 'QCalendarWidget_sizeHint'; procedure QCalendarWidget_minimumSizeHint(handle: QCalendarWidgetH; retval: PSize); cdecl; external Qt4PasLib name 'QCalendarWidget_minimumSizeHint'; procedure QCalendarWidget_selectedDate(handle: QCalendarWidgetH; retval: QDateH); cdecl; external Qt4PasLib name 'QCalendarWidget_selectedDate'; function QCalendarWidget_yearShown(handle: QCalendarWidgetH): Integer; cdecl; external Qt4PasLib name 'QCalendarWidget_yearShown'; function QCalendarWidget_monthShown(handle: QCalendarWidgetH): Integer; cdecl; external Qt4PasLib name 'QCalendarWidget_monthShown'; procedure QCalendarWidget_minimumDate(handle: QCalendarWidgetH; retval: QDateH); cdecl; external Qt4PasLib name 'QCalendarWidget_minimumDate'; procedure QCalendarWidget_setMinimumDate(handle: QCalendarWidgetH; date: QDateH); cdecl; external Qt4PasLib name 'QCalendarWidget_setMinimumDate'; procedure QCalendarWidget_maximumDate(handle: QCalendarWidgetH; retval: QDateH); cdecl; external Qt4PasLib name 'QCalendarWidget_maximumDate'; procedure QCalendarWidget_setMaximumDate(handle: QCalendarWidgetH; date: QDateH); cdecl; external Qt4PasLib name 'QCalendarWidget_setMaximumDate'; function QCalendarWidget_firstDayOfWeek(handle: QCalendarWidgetH): QtDayOfWeek; cdecl; external Qt4PasLib name 'QCalendarWidget_firstDayOfWeek'; procedure QCalendarWidget_setFirstDayOfWeek(handle: QCalendarWidgetH; dayOfWeek: QtDayOfWeek); cdecl; external Qt4PasLib name 'QCalendarWidget_setFirstDayOfWeek'; function QCalendarWidget_isHeaderVisible(handle: QCalendarWidgetH): Boolean; cdecl; external Qt4PasLib name 'QCalendarWidget_isHeaderVisible'; procedure QCalendarWidget_setHeaderVisible(handle: QCalendarWidgetH; show: Boolean); cdecl; external Qt4PasLib name 'QCalendarWidget_setHeaderVisible'; function QCalendarWidget_isNavigationBarVisible(handle: QCalendarWidgetH): Boolean; cdecl; external Qt4PasLib name 'QCalendarWidget_isNavigationBarVisible'; function QCalendarWidget_isGridVisible(handle: QCalendarWidgetH): Boolean; cdecl; external Qt4PasLib name 'QCalendarWidget_isGridVisible'; function QCalendarWidget_selectionMode(handle: QCalendarWidgetH): QCalendarWidgetSelectionMode; cdecl; external Qt4PasLib name 'QCalendarWidget_selectionMode'; procedure QCalendarWidget_setSelectionMode(handle: QCalendarWidgetH; mode: QCalendarWidgetSelectionMode); cdecl; external Qt4PasLib name 'QCalendarWidget_setSelectionMode'; function QCalendarWidget_horizontalHeaderFormat(handle: QCalendarWidgetH): QCalendarWidgetHorizontalHeaderFormat; cdecl; external Qt4PasLib name 'QCalendarWidget_horizontalHeaderFormat'; procedure QCalendarWidget_setHorizontalHeaderFormat(handle: QCalendarWidgetH; format: QCalendarWidgetHorizontalHeaderFormat); cdecl; external Qt4PasLib name 'QCalendarWidget_setHorizontalHeaderFormat'; function QCalendarWidget_verticalHeaderFormat(handle: QCalendarWidgetH): QCalendarWidgetVerticalHeaderFormat; cdecl; external Qt4PasLib name 'QCalendarWidget_verticalHeaderFormat'; procedure QCalendarWidget_setVerticalHeaderFormat(handle: QCalendarWidgetH; format: QCalendarWidgetVerticalHeaderFormat); cdecl; external Qt4PasLib name 'QCalendarWidget_setVerticalHeaderFormat'; procedure QCalendarWidget_headerTextFormat(handle: QCalendarWidgetH; retval: QTextCharFormatH); cdecl; external Qt4PasLib name 'QCalendarWidget_headerTextFormat'; procedure QCalendarWidget_setHeaderTextFormat(handle: QCalendarWidgetH; format: QTextCharFormatH); cdecl; external Qt4PasLib name 'QCalendarWidget_setHeaderTextFormat'; procedure QCalendarWidget_weekdayTextFormat(handle: QCalendarWidgetH; retval: QTextCharFormatH; dayOfWeek: QtDayOfWeek); cdecl; external Qt4PasLib name 'QCalendarWidget_weekdayTextFormat'; procedure QCalendarWidget_setWeekdayTextFormat(handle: QCalendarWidgetH; dayOfWeek: QtDayOfWeek; format: QTextCharFormatH); cdecl; external Qt4PasLib name 'QCalendarWidget_setWeekdayTextFormat'; procedure QCalendarWidget_dateTextFormat(handle: QCalendarWidgetH; retval: QTextCharFormatH; date: QDateH); cdecl; external Qt4PasLib name 'QCalendarWidget_dateTextFormat2'; procedure QCalendarWidget_setDateTextFormat(handle: QCalendarWidgetH; date: QDateH; format: QTextCharFormatH); cdecl; external Qt4PasLib name 'QCalendarWidget_setDateTextFormat'; function QCalendarWidget_isDateEditEnabled(handle: QCalendarWidgetH): Boolean; cdecl; external Qt4PasLib name 'QCalendarWidget_isDateEditEnabled'; procedure QCalendarWidget_setDateEditEnabled(handle: QCalendarWidgetH; enable: Boolean); cdecl; external Qt4PasLib name 'QCalendarWidget_setDateEditEnabled'; function QCalendarWidget_dateEditAcceptDelay(handle: QCalendarWidgetH): Integer; cdecl; external Qt4PasLib name 'QCalendarWidget_dateEditAcceptDelay'; procedure QCalendarWidget_setDateEditAcceptDelay(handle: QCalendarWidgetH; delay: Integer); cdecl; external Qt4PasLib name 'QCalendarWidget_setDateEditAcceptDelay'; procedure QCalendarWidget_setSelectedDate(handle: QCalendarWidgetH; date: QDateH); cdecl; external Qt4PasLib name 'QCalendarWidget_setSelectedDate'; procedure QCalendarWidget_setDateRange(handle: QCalendarWidgetH; min: QDateH; max: QDateH); cdecl; external Qt4PasLib name 'QCalendarWidget_setDateRange'; procedure QCalendarWidget_setCurrentPage(handle: QCalendarWidgetH; year: Integer; month: Integer); cdecl; external Qt4PasLib name 'QCalendarWidget_setCurrentPage'; procedure QCalendarWidget_setGridVisible(handle: QCalendarWidgetH; show: Boolean); cdecl; external Qt4PasLib name 'QCalendarWidget_setGridVisible'; procedure QCalendarWidget_setNavigationBarVisible(handle: QCalendarWidgetH; visible: Boolean); cdecl; external Qt4PasLib name 'QCalendarWidget_setNavigationBarVisible'; procedure QCalendarWidget_showNextMonth(handle: QCalendarWidgetH); cdecl; external Qt4PasLib name 'QCalendarWidget_showNextMonth'; procedure QCalendarWidget_showPreviousMonth(handle: QCalendarWidgetH); cdecl; external Qt4PasLib name 'QCalendarWidget_showPreviousMonth'; procedure QCalendarWidget_showNextYear(handle: QCalendarWidgetH); cdecl; external Qt4PasLib name 'QCalendarWidget_showNextYear'; procedure QCalendarWidget_showPreviousYear(handle: QCalendarWidgetH); cdecl; external Qt4PasLib name 'QCalendarWidget_showPreviousYear'; procedure QCalendarWidget_showSelectedDate(handle: QCalendarWidgetH); cdecl; external Qt4PasLib name 'QCalendarWidget_showSelectedDate'; procedure QCalendarWidget_showToday(handle: QCalendarWidgetH); cdecl; external Qt4PasLib name 'QCalendarWidget_showToday'; type QCalendarWidget_selectionChanged_Event = procedure () of object cdecl; QCalendarWidget_clicked_Event = procedure (date: QDateH) of object cdecl; QCalendarWidget_activated_Event = procedure (date: QDateH) of object cdecl; QCalendarWidget_currentPageChanged_Event = procedure (year: Integer; month: Integer) of object cdecl; type QRubberBandShape = ( // QRubberBand::Shape (1) QRubberBandLine, QRubberBandRectangle ); function QRubberBand_create(AnonParam1: QRubberBandShape; AnonParam2: QWidgetH = nil): QRubberBandH; cdecl; external Qt4PasLib name 'QRubberBand_create'; procedure QRubberBand_destroy(handle: QRubberBandH); cdecl; external Qt4PasLib name 'QRubberBand_destroy'; function QRubberBand_shape(handle: QRubberBandH): QRubberBandShape; cdecl; external Qt4PasLib name 'QRubberBand_shape'; procedure QRubberBand_setGeometry(handle: QRubberBandH; r: PRect); cdecl; external Qt4PasLib name 'QRubberBand_setGeometry'; procedure QRubberBand_setGeometry(handle: QRubberBandH; x: Integer; y: Integer; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QRubberBand_setGeometry2'; procedure QRubberBand_move(handle: QRubberBandH; x: Integer; y: Integer); cdecl; external Qt4PasLib name 'QRubberBand_move'; procedure QRubberBand_move(handle: QRubberBandH; p: PQtPoint); cdecl; external Qt4PasLib name 'QRubberBand_move2'; procedure QRubberBand_resize(handle: QRubberBandH; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QRubberBand_resize'; procedure QRubberBand_resize(handle: QRubberBandH; s: PSize); cdecl; external Qt4PasLib name 'QRubberBand_resize2'; type QPrintPreviewWidgetViewMode = ( // QPrintPreviewWidget::ViewMode (1) QPrintPreviewWidgetSinglePageView, QPrintPreviewWidgetFacingPagesView, QPrintPreviewWidgetAllPagesView ); QPrintPreviewWidgetZoomMode = ( // QPrintPreviewWidget::ZoomMode (1) QPrintPreviewWidgetCustomZoom, QPrintPreviewWidgetFitToWidth, QPrintPreviewWidgetFitInView ); function QPrintPreviewWidget_create(printer: QPrinterH; parent: QWidgetH = nil; flags: QtWindowFlags = 0): QPrintPreviewWidgetH; cdecl; external Qt4PasLib name 'QPrintPreviewWidget_create'; procedure QPrintPreviewWidget_destroy(handle: QPrintPreviewWidgetH); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_destroy'; function QPrintPreviewWidget_create(parent: QWidgetH = nil; flags: QtWindowFlags = 0): QPrintPreviewWidgetH; cdecl; external Qt4PasLib name 'QPrintPreviewWidget_create2'; function QPrintPreviewWidget_zoomFactor(handle: QPrintPreviewWidgetH): qreal; cdecl; external Qt4PasLib name 'QPrintPreviewWidget_zoomFactor'; function QPrintPreviewWidget_orientation(handle: QPrintPreviewWidgetH): QPrinterOrientation; cdecl; external Qt4PasLib name 'QPrintPreviewWidget_orientation'; function QPrintPreviewWidget_viewMode(handle: QPrintPreviewWidgetH): QPrintPreviewWidgetViewMode; cdecl; external Qt4PasLib name 'QPrintPreviewWidget_viewMode'; function QPrintPreviewWidget_zoomMode(handle: QPrintPreviewWidgetH): QPrintPreviewWidgetZoomMode; cdecl; external Qt4PasLib name 'QPrintPreviewWidget_zoomMode'; function QPrintPreviewWidget_currentPage(handle: QPrintPreviewWidgetH): Integer; cdecl; external Qt4PasLib name 'QPrintPreviewWidget_currentPage'; function QPrintPreviewWidget_numPages(handle: QPrintPreviewWidgetH): Integer; cdecl; external Qt4PasLib name 'QPrintPreviewWidget_numPages'; procedure QPrintPreviewWidget_setVisible(handle: QPrintPreviewWidgetH; visible: Boolean); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_setVisible'; procedure QPrintPreviewWidget_print(handle: QPrintPreviewWidgetH); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_print'; procedure QPrintPreviewWidget_zoomIn(handle: QPrintPreviewWidgetH; zoom: qreal = 1.1); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_zoomIn'; procedure QPrintPreviewWidget_zoomOut(handle: QPrintPreviewWidgetH; zoom: qreal = 1.1); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_zoomOut'; procedure QPrintPreviewWidget_setZoomFactor(handle: QPrintPreviewWidgetH; zoomFactor: qreal); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_setZoomFactor'; procedure QPrintPreviewWidget_setOrientation(handle: QPrintPreviewWidgetH; orientation: QPrinterOrientation); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_setOrientation'; procedure QPrintPreviewWidget_setViewMode(handle: QPrintPreviewWidgetH; viewMode: QPrintPreviewWidgetViewMode); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_setViewMode'; procedure QPrintPreviewWidget_setZoomMode(handle: QPrintPreviewWidgetH; zoomMode: QPrintPreviewWidgetZoomMode); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_setZoomMode'; procedure QPrintPreviewWidget_setCurrentPage(handle: QPrintPreviewWidgetH; pageNumber: Integer); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_setCurrentPage'; procedure QPrintPreviewWidget_fitToWidth(handle: QPrintPreviewWidgetH); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_fitToWidth'; procedure QPrintPreviewWidget_fitInView(handle: QPrintPreviewWidgetH); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_fitInView'; procedure QPrintPreviewWidget_setLandscapeOrientation(handle: QPrintPreviewWidgetH); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_setLandscapeOrientation'; procedure QPrintPreviewWidget_setPortraitOrientation(handle: QPrintPreviewWidgetH); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_setPortraitOrientation'; procedure QPrintPreviewWidget_setSinglePageViewMode(handle: QPrintPreviewWidgetH); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_setSinglePageViewMode'; procedure QPrintPreviewWidget_setFacingPagesViewMode(handle: QPrintPreviewWidgetH); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_setFacingPagesViewMode'; procedure QPrintPreviewWidget_setAllPagesViewMode(handle: QPrintPreviewWidgetH); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_setAllPagesViewMode'; procedure QPrintPreviewWidget_updatePreview(handle: QPrintPreviewWidgetH); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_updatePreview'; type QPrintPreviewWidget_paintRequested_Event = procedure (printer: QPrinterH) of object cdecl; QPrintPreviewWidget_previewChanged_Event = procedure () of object cdecl; type QAbstractItemViewSelectionMode = ( // QAbstractItemView::SelectionMode (1) QAbstractItemViewNoSelection, QAbstractItemViewSingleSelection, QAbstractItemViewMultiSelection, QAbstractItemViewExtendedSelection, QAbstractItemViewContiguousSelection ); QAbstractItemViewSelectionBehavior = ( // QAbstractItemView::SelectionBehavior (1) QAbstractItemViewSelectItems, QAbstractItemViewSelectRows, QAbstractItemViewSelectColumns ); QAbstractItemViewScrollHint = ( // QAbstractItemView::ScrollHint (1) QAbstractItemViewEnsureVisible, QAbstractItemViewPositionAtTop, QAbstractItemViewPositionAtBottom, QAbstractItemViewPositionAtCenter ); QAbstractItemViewScrollMode = ( // QAbstractItemView::ScrollMode (1) QAbstractItemViewScrollPerItem, QAbstractItemViewScrollPerPixel ); QAbstractItemViewDragDropMode = ( // QAbstractItemView::DragDropMode (1) QAbstractItemViewNoDragDrop, QAbstractItemViewDragOnly, QAbstractItemViewDropOnly, QAbstractItemViewDragDrop, QAbstractItemViewInternalMove ); type QAbstractItemViewEditTrigger = cardinal; // QAbstractItemView::EditTrigger QAbstractItemViewEditTriggers = QAbstractItemViewEditTrigger; //QFlags<> (3) const QAbstractItemViewNoEditTriggers = 0; QAbstractItemViewCurrentChanged = 1; QAbstractItemViewDoubleClicked = 2; QAbstractItemViewSelectedClicked = 4; QAbstractItemViewEditKeyPressed = 8; QAbstractItemViewAnyKeyPressed = 16; QAbstractItemViewAllEditTriggers = 31; procedure QAbstractItemView_setModel(handle: QAbstractItemViewH; model: QAbstractItemModelH); cdecl; external Qt4PasLib name 'QAbstractItemView_setModel'; function QAbstractItemView_model(handle: QAbstractItemViewH): QAbstractItemModelH; cdecl; external Qt4PasLib name 'QAbstractItemView_model'; procedure QAbstractItemView_setSelectionModel(handle: QAbstractItemViewH; selectionModel: QItemSelectionModelH); cdecl; external Qt4PasLib name 'QAbstractItemView_setSelectionModel'; function QAbstractItemView_selectionModel(handle: QAbstractItemViewH): QItemSelectionModelH; cdecl; external Qt4PasLib name 'QAbstractItemView_selectionModel'; procedure QAbstractItemView_setItemDelegate(handle: QAbstractItemViewH; delegate: QAbstractItemDelegateH); cdecl; external Qt4PasLib name 'QAbstractItemView_setItemDelegate'; function QAbstractItemView_itemDelegate(handle: QAbstractItemViewH): QAbstractItemDelegateH; cdecl; external Qt4PasLib name 'QAbstractItemView_itemDelegate'; procedure QAbstractItemView_setSelectionMode(handle: QAbstractItemViewH; mode: QAbstractItemViewSelectionMode); cdecl; external Qt4PasLib name 'QAbstractItemView_setSelectionMode'; function QAbstractItemView_selectionMode(handle: QAbstractItemViewH): QAbstractItemViewSelectionMode; cdecl; external Qt4PasLib name 'QAbstractItemView_selectionMode'; procedure QAbstractItemView_setSelectionBehavior(handle: QAbstractItemViewH; behavior: QAbstractItemViewSelectionBehavior); cdecl; external Qt4PasLib name 'QAbstractItemView_setSelectionBehavior'; function QAbstractItemView_selectionBehavior(handle: QAbstractItemViewH): QAbstractItemViewSelectionBehavior; cdecl; external Qt4PasLib name 'QAbstractItemView_selectionBehavior'; procedure QAbstractItemView_currentIndex(handle: QAbstractItemViewH; retval: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemView_currentIndex'; procedure QAbstractItemView_rootIndex(handle: QAbstractItemViewH; retval: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemView_rootIndex'; procedure QAbstractItemView_setEditTriggers(handle: QAbstractItemViewH; triggers: QAbstractItemViewEditTriggers); cdecl; external Qt4PasLib name 'QAbstractItemView_setEditTriggers'; function QAbstractItemView_editTriggers(handle: QAbstractItemViewH): QAbstractItemViewEditTriggers; cdecl; external Qt4PasLib name 'QAbstractItemView_editTriggers'; procedure QAbstractItemView_setVerticalScrollMode(handle: QAbstractItemViewH; mode: QAbstractItemViewScrollMode); cdecl; external Qt4PasLib name 'QAbstractItemView_setVerticalScrollMode'; function QAbstractItemView_verticalScrollMode(handle: QAbstractItemViewH): QAbstractItemViewScrollMode; cdecl; external Qt4PasLib name 'QAbstractItemView_verticalScrollMode'; procedure QAbstractItemView_setHorizontalScrollMode(handle: QAbstractItemViewH; mode: QAbstractItemViewScrollMode); cdecl; external Qt4PasLib name 'QAbstractItemView_setHorizontalScrollMode'; function QAbstractItemView_horizontalScrollMode(handle: QAbstractItemViewH): QAbstractItemViewScrollMode; cdecl; external Qt4PasLib name 'QAbstractItemView_horizontalScrollMode'; procedure QAbstractItemView_setAutoScroll(handle: QAbstractItemViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QAbstractItemView_setAutoScroll'; function QAbstractItemView_hasAutoScroll(handle: QAbstractItemViewH): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemView_hasAutoScroll'; procedure QAbstractItemView_setAutoScrollMargin(handle: QAbstractItemViewH; margin: Integer); cdecl; external Qt4PasLib name 'QAbstractItemView_setAutoScrollMargin'; function QAbstractItemView_autoScrollMargin(handle: QAbstractItemViewH): Integer; cdecl; external Qt4PasLib name 'QAbstractItemView_autoScrollMargin'; procedure QAbstractItemView_setTabKeyNavigation(handle: QAbstractItemViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QAbstractItemView_setTabKeyNavigation'; function QAbstractItemView_tabKeyNavigation(handle: QAbstractItemViewH): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemView_tabKeyNavigation'; procedure QAbstractItemView_setDropIndicatorShown(handle: QAbstractItemViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QAbstractItemView_setDropIndicatorShown'; function QAbstractItemView_showDropIndicator(handle: QAbstractItemViewH): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemView_showDropIndicator'; procedure QAbstractItemView_setDragEnabled(handle: QAbstractItemViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QAbstractItemView_setDragEnabled'; function QAbstractItemView_dragEnabled(handle: QAbstractItemViewH): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemView_dragEnabled'; procedure QAbstractItemView_setDragDropOverwriteMode(handle: QAbstractItemViewH; overwrite: Boolean); cdecl; external Qt4PasLib name 'QAbstractItemView_setDragDropOverwriteMode'; function QAbstractItemView_dragDropOverwriteMode(handle: QAbstractItemViewH): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemView_dragDropOverwriteMode'; procedure QAbstractItemView_setDragDropMode(handle: QAbstractItemViewH; behavior: QAbstractItemViewDragDropMode); cdecl; external Qt4PasLib name 'QAbstractItemView_setDragDropMode'; function QAbstractItemView_dragDropMode(handle: QAbstractItemViewH): QAbstractItemViewDragDropMode; cdecl; external Qt4PasLib name 'QAbstractItemView_dragDropMode'; procedure QAbstractItemView_setAlternatingRowColors(handle: QAbstractItemViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QAbstractItemView_setAlternatingRowColors'; function QAbstractItemView_alternatingRowColors(handle: QAbstractItemViewH): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemView_alternatingRowColors'; procedure QAbstractItemView_setIconSize(handle: QAbstractItemViewH; size: PSize); cdecl; external Qt4PasLib name 'QAbstractItemView_setIconSize'; procedure QAbstractItemView_iconSize(handle: QAbstractItemViewH; retval: PSize); cdecl; external Qt4PasLib name 'QAbstractItemView_iconSize'; procedure QAbstractItemView_setTextElideMode(handle: QAbstractItemViewH; mode: QtTextElideMode); cdecl; external Qt4PasLib name 'QAbstractItemView_setTextElideMode'; function QAbstractItemView_textElideMode(handle: QAbstractItemViewH): QtTextElideMode; cdecl; external Qt4PasLib name 'QAbstractItemView_textElideMode'; procedure QAbstractItemView_keyboardSearch(handle: QAbstractItemViewH; search: PWideString); cdecl; external Qt4PasLib name 'QAbstractItemView_keyboardSearch'; procedure QAbstractItemView_visualRect(handle: QAbstractItemViewH; retval: PRect; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemView_visualRect'; procedure QAbstractItemView_scrollTo(handle: QAbstractItemViewH; index: QModelIndexH; hint: QAbstractItemViewScrollHint = QAbstractItemViewEnsureVisible); cdecl; external Qt4PasLib name 'QAbstractItemView_scrollTo'; procedure QAbstractItemView_indexAt(handle: QAbstractItemViewH; retval: QModelIndexH; point: PQtPoint); cdecl; external Qt4PasLib name 'QAbstractItemView_indexAt'; procedure QAbstractItemView_sizeHintForIndex(handle: QAbstractItemViewH; retval: PSize; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemView_sizeHintForIndex'; function QAbstractItemView_sizeHintForRow(handle: QAbstractItemViewH; row: Integer): Integer; cdecl; external Qt4PasLib name 'QAbstractItemView_sizeHintForRow'; function QAbstractItemView_sizeHintForColumn(handle: QAbstractItemViewH; column: Integer): Integer; cdecl; external Qt4PasLib name 'QAbstractItemView_sizeHintForColumn'; procedure QAbstractItemView_openPersistentEditor(handle: QAbstractItemViewH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemView_openPersistentEditor'; procedure QAbstractItemView_closePersistentEditor(handle: QAbstractItemViewH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemView_closePersistentEditor'; procedure QAbstractItemView_setIndexWidget(handle: QAbstractItemViewH; index: QModelIndexH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QAbstractItemView_setIndexWidget'; function QAbstractItemView_indexWidget(handle: QAbstractItemViewH; index: QModelIndexH): QWidgetH; cdecl; external Qt4PasLib name 'QAbstractItemView_indexWidget'; procedure QAbstractItemView_setItemDelegateForRow(handle: QAbstractItemViewH; row: Integer; delegate: QAbstractItemDelegateH); cdecl; external Qt4PasLib name 'QAbstractItemView_setItemDelegateForRow'; function QAbstractItemView_itemDelegateForRow(handle: QAbstractItemViewH; row: Integer): QAbstractItemDelegateH; cdecl; external Qt4PasLib name 'QAbstractItemView_itemDelegateForRow'; procedure QAbstractItemView_setItemDelegateForColumn(handle: QAbstractItemViewH; column: Integer; delegate: QAbstractItemDelegateH); cdecl; external Qt4PasLib name 'QAbstractItemView_setItemDelegateForColumn'; function QAbstractItemView_itemDelegateForColumn(handle: QAbstractItemViewH; column: Integer): QAbstractItemDelegateH; cdecl; external Qt4PasLib name 'QAbstractItemView_itemDelegateForColumn'; function QAbstractItemView_itemDelegate(handle: QAbstractItemViewH; index: QModelIndexH): QAbstractItemDelegateH; cdecl; external Qt4PasLib name 'QAbstractItemView_itemDelegate2'; procedure QAbstractItemView_inputMethodQuery(handle: QAbstractItemViewH; retval: QVariantH; query: QtInputMethodQuery); cdecl; external Qt4PasLib name 'QAbstractItemView_inputMethodQuery'; procedure QAbstractItemView_reset(handle: QAbstractItemViewH); cdecl; external Qt4PasLib name 'QAbstractItemView_reset'; procedure QAbstractItemView_setRootIndex(handle: QAbstractItemViewH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemView_setRootIndex'; procedure QAbstractItemView_doItemsLayout(handle: QAbstractItemViewH); cdecl; external Qt4PasLib name 'QAbstractItemView_doItemsLayout'; procedure QAbstractItemView_selectAll(handle: QAbstractItemViewH); cdecl; external Qt4PasLib name 'QAbstractItemView_selectAll'; procedure QAbstractItemView_edit(handle: QAbstractItemViewH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemView_edit'; procedure QAbstractItemView_clearSelection(handle: QAbstractItemViewH); cdecl; external Qt4PasLib name 'QAbstractItemView_clearSelection'; procedure QAbstractItemView_setCurrentIndex(handle: QAbstractItemViewH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemView_setCurrentIndex'; procedure QAbstractItemView_scrollToTop(handle: QAbstractItemViewH); cdecl; external Qt4PasLib name 'QAbstractItemView_scrollToTop'; procedure QAbstractItemView_scrollToBottom(handle: QAbstractItemViewH); cdecl; external Qt4PasLib name 'QAbstractItemView_scrollToBottom'; procedure QAbstractItemView_update(handle: QAbstractItemViewH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemView_update'; type QAbstractItemView_pressed_Event = procedure (index: QModelIndexH) of object cdecl; QAbstractItemView_clicked_Event = procedure (index: QModelIndexH) of object cdecl; QAbstractItemView_doubleClicked_Event = procedure (index: QModelIndexH) of object cdecl; QAbstractItemView_activated_Event = procedure (index: QModelIndexH) of object cdecl; QAbstractItemView_entered_Event = procedure (index: QModelIndexH) of object cdecl; QAbstractItemView_viewportEntered_Event = procedure () of object cdecl; type QListViewMovement = ( // QListView::Movement (1) QListViewStatic, QListViewFree, QListViewSnap ); QListViewFlow = ( // QListView::Flow (1) QListViewLeftToRight, QListViewTopToBottom ); QListViewResizeMode = ( // QListView::ResizeMode (1) QListViewFixed, QListViewAdjust ); QListViewLayoutMode = ( // QListView::LayoutMode (1) QListViewSinglePass, QListViewBatched ); QListViewViewMode = ( // QListView::ViewMode (1) QListViewListMode, QListViewIconMode ); function QListView_create(parent: QWidgetH = nil): QListViewH; cdecl; external Qt4PasLib name 'QListView_create'; procedure QListView_destroy(handle: QListViewH); cdecl; external Qt4PasLib name 'QListView_destroy'; procedure QListView_setMovement(handle: QListViewH; movement: QListViewMovement); cdecl; external Qt4PasLib name 'QListView_setMovement'; function QListView_movement(handle: QListViewH): QListViewMovement; cdecl; external Qt4PasLib name 'QListView_movement'; procedure QListView_setFlow(handle: QListViewH; flow: QListViewFlow); cdecl; external Qt4PasLib name 'QListView_setFlow'; function QListView_flow(handle: QListViewH): QListViewFlow; cdecl; external Qt4PasLib name 'QListView_flow'; procedure QListView_setWrapping(handle: QListViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QListView_setWrapping'; function QListView_isWrapping(handle: QListViewH): Boolean; cdecl; external Qt4PasLib name 'QListView_isWrapping'; procedure QListView_setResizeMode(handle: QListViewH; mode: QListViewResizeMode); cdecl; external Qt4PasLib name 'QListView_setResizeMode'; function QListView_resizeMode(handle: QListViewH): QListViewResizeMode; cdecl; external Qt4PasLib name 'QListView_resizeMode'; procedure QListView_setLayoutMode(handle: QListViewH; mode: QListViewLayoutMode); cdecl; external Qt4PasLib name 'QListView_setLayoutMode'; function QListView_layoutMode(handle: QListViewH): QListViewLayoutMode; cdecl; external Qt4PasLib name 'QListView_layoutMode'; procedure QListView_setSpacing(handle: QListViewH; space: Integer); cdecl; external Qt4PasLib name 'QListView_setSpacing'; function QListView_spacing(handle: QListViewH): Integer; cdecl; external Qt4PasLib name 'QListView_spacing'; procedure QListView_setBatchSize(handle: QListViewH; batchSize: Integer); cdecl; external Qt4PasLib name 'QListView_setBatchSize'; function QListView_batchSize(handle: QListViewH): Integer; cdecl; external Qt4PasLib name 'QListView_batchSize'; procedure QListView_setGridSize(handle: QListViewH; size: PSize); cdecl; external Qt4PasLib name 'QListView_setGridSize'; procedure QListView_gridSize(handle: QListViewH; retval: PSize); cdecl; external Qt4PasLib name 'QListView_gridSize'; procedure QListView_setViewMode(handle: QListViewH; mode: QListViewViewMode); cdecl; external Qt4PasLib name 'QListView_setViewMode'; function QListView_viewMode(handle: QListViewH): QListViewViewMode; cdecl; external Qt4PasLib name 'QListView_viewMode'; procedure QListView_clearPropertyFlags(handle: QListViewH); cdecl; external Qt4PasLib name 'QListView_clearPropertyFlags'; function QListView_isRowHidden(handle: QListViewH; row: Integer): Boolean; cdecl; external Qt4PasLib name 'QListView_isRowHidden'; procedure QListView_setRowHidden(handle: QListViewH; row: Integer; hide: Boolean); cdecl; external Qt4PasLib name 'QListView_setRowHidden'; procedure QListView_setModelColumn(handle: QListViewH; column: Integer); cdecl; external Qt4PasLib name 'QListView_setModelColumn'; function QListView_modelColumn(handle: QListViewH): Integer; cdecl; external Qt4PasLib name 'QListView_modelColumn'; procedure QListView_setUniformItemSizes(handle: QListViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QListView_setUniformItemSizes'; function QListView_uniformItemSizes(handle: QListViewH): Boolean; cdecl; external Qt4PasLib name 'QListView_uniformItemSizes'; procedure QListView_setWordWrap(handle: QListViewH; _on: Boolean); cdecl; external Qt4PasLib name 'QListView_setWordWrap'; function QListView_wordWrap(handle: QListViewH): Boolean; cdecl; external Qt4PasLib name 'QListView_wordWrap'; procedure QListView_setSelectionRectVisible(handle: QListViewH; show: Boolean); cdecl; external Qt4PasLib name 'QListView_setSelectionRectVisible'; function QListView_isSelectionRectVisible(handle: QListViewH): Boolean; cdecl; external Qt4PasLib name 'QListView_isSelectionRectVisible'; procedure QListView_visualRect(handle: QListViewH; retval: PRect; index: QModelIndexH); cdecl; external Qt4PasLib name 'QListView_visualRect'; procedure QListView_scrollTo(handle: QListViewH; index: QModelIndexH; hint: QAbstractItemViewScrollHint); cdecl; external Qt4PasLib name 'QListView_scrollTo'; procedure QListView_indexAt(handle: QListViewH; retval: QModelIndexH; p: PQtPoint); cdecl; external Qt4PasLib name 'QListView_indexAt'; procedure QListView_doItemsLayout(handle: QListViewH); cdecl; external Qt4PasLib name 'QListView_doItemsLayout'; procedure QListView_reset(handle: QListViewH); cdecl; external Qt4PasLib name 'QListView_reset'; procedure QListView_setRootIndex(handle: QListViewH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QListView_setRootIndex'; type QItemSelectionModelSelectionFlag = cardinal; // QItemSelectionModel::SelectionFlag (4) QItemSelectionModelSelectionFlags = QItemSelectionModelSelectionFlag; // QFlags<> const QItemSelectionModelNoUpdate = 0 { $0 }; QItemSelectionModelClear = 1 { $1 }; QItemSelectionModelSelect = 2 { $2 }; QItemSelectionModelDeselect = 4 { $4 }; QItemSelectionModelToggle = 8 { $8 }; QItemSelectionModelCurrent = 16 { $10 }; QItemSelectionModelRows = 32 { $20 }; QItemSelectionModelColumns = 64 { $40 }; QItemSelectionModelSelectCurrent = 18 { $12 }; QItemSelectionModelToggleCurrent = 24 { $18 }; QItemSelectionModelClearAndSelect = 3 { $3 }; function QItemSelectionRange_create(): QItemSelectionRangeH; cdecl; external Qt4PasLib name 'QItemSelectionRange_create'; procedure QItemSelectionRange_destroy(handle: QItemSelectionRangeH); cdecl; external Qt4PasLib name 'QItemSelectionRange_destroy'; function QItemSelectionRange_create(other: QItemSelectionRangeH): QItemSelectionRangeH; cdecl; external Qt4PasLib name 'QItemSelectionRange_create2'; function QItemSelectionRange_create(topLeft: QModelIndexH; bottomRight: QModelIndexH): QItemSelectionRangeH; cdecl; external Qt4PasLib name 'QItemSelectionRange_create3'; function QItemSelectionRange_create(index: QModelIndexH): QItemSelectionRangeH; cdecl; external Qt4PasLib name 'QItemSelectionRange_create4'; function QItemSelectionRange_top(handle: QItemSelectionRangeH): Integer; cdecl; external Qt4PasLib name 'QItemSelectionRange_top'; function QItemSelectionRange_left(handle: QItemSelectionRangeH): Integer; cdecl; external Qt4PasLib name 'QItemSelectionRange_left'; function QItemSelectionRange_bottom(handle: QItemSelectionRangeH): Integer; cdecl; external Qt4PasLib name 'QItemSelectionRange_bottom'; function QItemSelectionRange_right(handle: QItemSelectionRangeH): Integer; cdecl; external Qt4PasLib name 'QItemSelectionRange_right'; function QItemSelectionRange_width(handle: QItemSelectionRangeH): Integer; cdecl; external Qt4PasLib name 'QItemSelectionRange_width'; function QItemSelectionRange_height(handle: QItemSelectionRangeH): Integer; cdecl; external Qt4PasLib name 'QItemSelectionRange_height'; procedure QItemSelectionRange_topLeft(handle: QItemSelectionRangeH; retval: QModelIndexH); cdecl; external Qt4PasLib name 'QItemSelectionRange_topLeft'; procedure QItemSelectionRange_bottomRight(handle: QItemSelectionRangeH; retval: QModelIndexH); cdecl; external Qt4PasLib name 'QItemSelectionRange_bottomRight'; procedure QItemSelectionRange_parent(handle: QItemSelectionRangeH; retval: QModelIndexH); cdecl; external Qt4PasLib name 'QItemSelectionRange_parent'; function QItemSelectionRange_model(handle: QItemSelectionRangeH): QAbstractItemModelH; cdecl; external Qt4PasLib name 'QItemSelectionRange_model'; function QItemSelectionRange_contains(handle: QItemSelectionRangeH; index: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QItemSelectionRange_contains'; function QItemSelectionRange_contains(handle: QItemSelectionRangeH; row: Integer; column: Integer; parentIndex: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QItemSelectionRange_contains2'; function QItemSelectionRange_intersects(handle: QItemSelectionRangeH; other: QItemSelectionRangeH): Boolean; cdecl; external Qt4PasLib name 'QItemSelectionRange_intersects'; procedure QItemSelectionRange_intersect(handle: QItemSelectionRangeH; retval: QItemSelectionRangeH; other: QItemSelectionRangeH); cdecl; external Qt4PasLib name 'QItemSelectionRange_intersect'; procedure QItemSelectionRange_intersected(handle: QItemSelectionRangeH; retval: QItemSelectionRangeH; other: QItemSelectionRangeH); cdecl; external Qt4PasLib name 'QItemSelectionRange_intersected'; function QItemSelectionRange_isValid(handle: QItemSelectionRangeH): Boolean; cdecl; external Qt4PasLib name 'QItemSelectionRange_isValid'; procedure QItemSelectionRange_indexes(handle: QItemSelectionRangeH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QItemSelectionRange_indexes'; function QItemSelectionModel_create(model: QAbstractItemModelH): QItemSelectionModelH; cdecl; external Qt4PasLib name 'QItemSelectionModel_create'; procedure QItemSelectionModel_destroy(handle: QItemSelectionModelH); cdecl; external Qt4PasLib name 'QItemSelectionModel_destroy'; function QItemSelectionModel_create(model: QAbstractItemModelH; parent: QObjectH): QItemSelectionModelH; cdecl; external Qt4PasLib name 'QItemSelectionModel_create2'; procedure QItemSelectionModel_currentIndex(handle: QItemSelectionModelH; retval: QModelIndexH); cdecl; external Qt4PasLib name 'QItemSelectionModel_currentIndex'; function QItemSelectionModel_isSelected(handle: QItemSelectionModelH; index: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QItemSelectionModel_isSelected'; function QItemSelectionModel_isRowSelected(handle: QItemSelectionModelH; row: Integer; parent: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QItemSelectionModel_isRowSelected'; function QItemSelectionModel_isColumnSelected(handle: QItemSelectionModelH; column: Integer; parent: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QItemSelectionModel_isColumnSelected'; function QItemSelectionModel_rowIntersectsSelection(handle: QItemSelectionModelH; row: Integer; parent: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QItemSelectionModel_rowIntersectsSelection'; function QItemSelectionModel_columnIntersectsSelection(handle: QItemSelectionModelH; column: Integer; parent: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QItemSelectionModel_columnIntersectsSelection'; function QItemSelectionModel_hasSelection(handle: QItemSelectionModelH): Boolean; cdecl; external Qt4PasLib name 'QItemSelectionModel_hasSelection'; procedure QItemSelectionModel_selectedIndexes(handle: QItemSelectionModelH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QItemSelectionModel_selectedIndexes'; procedure QItemSelectionModel_selectedRows(handle: QItemSelectionModelH; retval: PPtrIntArray; column: Integer = 0); cdecl; external Qt4PasLib name 'QItemSelectionModel_selectedRows'; procedure QItemSelectionModel_selectedColumns(handle: QItemSelectionModelH; retval: PPtrIntArray; row: Integer = 0); cdecl; external Qt4PasLib name 'QItemSelectionModel_selectedColumns'; function QItemSelectionModel_model(handle: QItemSelectionModelH): QAbstractItemModelH; cdecl; external Qt4PasLib name 'QItemSelectionModel_model'; procedure QItemSelectionModel_setCurrentIndex(handle: QItemSelectionModelH; index: QModelIndexH; command: QItemSelectionModelSelectionFlags); cdecl; external Qt4PasLib name 'QItemSelectionModel_setCurrentIndex'; procedure QItemSelectionModel_select(handle: QItemSelectionModelH; index: QModelIndexH; command: QItemSelectionModelSelectionFlags); cdecl; external Qt4PasLib name 'QItemSelectionModel_select'; procedure QItemSelectionModel_clear(handle: QItemSelectionModelH); cdecl; external Qt4PasLib name 'QItemSelectionModel_clear'; procedure QItemSelectionModel_reset(handle: QItemSelectionModelH); cdecl; external Qt4PasLib name 'QItemSelectionModel_reset'; procedure QItemSelectionModel_clearSelection(handle: QItemSelectionModelH); cdecl; external Qt4PasLib name 'QItemSelectionModel_clearSelection'; type QItemSelectionModel_currentChanged_Event = procedure (current: QModelIndexH; previous: QModelIndexH) of object cdecl; QItemSelectionModel_currentRowChanged_Event = procedure (current: QModelIndexH; previous: QModelIndexH) of object cdecl; QItemSelectionModel_currentColumnChanged_Event = procedure (current: QModelIndexH; previous: QModelIndexH) of object cdecl; type QListWidgetItemItemType = ( //QListWidgetItem::ItemType (2) QListWidgetItemType = 0, QListWidgetItemUserType = 1000 ); function QListWidgetItem_create(view: QListWidgetH = nil; _type: Integer = QListWidgetItemType): QListWidgetItemH; cdecl; external Qt4PasLib name 'QListWidgetItem_create'; procedure QListWidgetItem_destroy(handle: QListWidgetItemH); cdecl; external Qt4PasLib name 'QListWidgetItem_destroy'; function QListWidgetItem_create(text: PWideString; view: QListWidgetH = nil; _type: Integer = QListWidgetItemType): QListWidgetItemH; cdecl; external Qt4PasLib name 'QListWidgetItem_create2'; function QListWidgetItem_create(icon: QIconH; text: PWideString; view: QListWidgetH = nil; _type: Integer = QListWidgetItemType): QListWidgetItemH; cdecl; external Qt4PasLib name 'QListWidgetItem_create3'; function QListWidgetItem_create(other: QListWidgetItemH): QListWidgetItemH; cdecl; external Qt4PasLib name 'QListWidgetItem_create4'; function QListWidgetItem_clone(handle: QListWidgetItemH): QListWidgetItemH; cdecl; external Qt4PasLib name 'QListWidgetItem_clone'; function QListWidgetItem_listWidget(handle: QListWidgetItemH): QListWidgetH; cdecl; external Qt4PasLib name 'QListWidgetItem_listWidget'; procedure QListWidgetItem_setSelected(handle: QListWidgetItemH; select: Boolean); cdecl; external Qt4PasLib name 'QListWidgetItem_setSelected'; function QListWidgetItem_isSelected(handle: QListWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QListWidgetItem_isSelected'; procedure QListWidgetItem_setHidden(handle: QListWidgetItemH; hide: Boolean); cdecl; external Qt4PasLib name 'QListWidgetItem_setHidden'; function QListWidgetItem_isHidden(handle: QListWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QListWidgetItem_isHidden'; function QListWidgetItem_flags(handle: QListWidgetItemH): QtItemFlags; cdecl; external Qt4PasLib name 'QListWidgetItem_flags'; procedure QListWidgetItem_setFlags(handle: QListWidgetItemH; flags: QtItemFlags); cdecl; external Qt4PasLib name 'QListWidgetItem_setFlags'; procedure QListWidgetItem_text(handle: QListWidgetItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QListWidgetItem_text'; procedure QListWidgetItem_setText(handle: QListWidgetItemH; text: PWideString); cdecl; external Qt4PasLib name 'QListWidgetItem_setText'; procedure QListWidgetItem_icon(handle: QListWidgetItemH; retval: QIconH); cdecl; external Qt4PasLib name 'QListWidgetItem_icon'; procedure QListWidgetItem_setIcon(handle: QListWidgetItemH; icon: QIconH); cdecl; external Qt4PasLib name 'QListWidgetItem_setIcon'; procedure QListWidgetItem_statusTip(handle: QListWidgetItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QListWidgetItem_statusTip'; procedure QListWidgetItem_setStatusTip(handle: QListWidgetItemH; statusTip: PWideString); cdecl; external Qt4PasLib name 'QListWidgetItem_setStatusTip'; procedure QListWidgetItem_toolTip(handle: QListWidgetItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QListWidgetItem_toolTip'; procedure QListWidgetItem_setToolTip(handle: QListWidgetItemH; toolTip: PWideString); cdecl; external Qt4PasLib name 'QListWidgetItem_setToolTip'; procedure QListWidgetItem_whatsThis(handle: QListWidgetItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QListWidgetItem_whatsThis'; procedure QListWidgetItem_setWhatsThis(handle: QListWidgetItemH; whatsThis: PWideString); cdecl; external Qt4PasLib name 'QListWidgetItem_setWhatsThis'; procedure QListWidgetItem_font(handle: QListWidgetItemH; retval: QFontH); cdecl; external Qt4PasLib name 'QListWidgetItem_font'; procedure QListWidgetItem_setFont(handle: QListWidgetItemH; font: QFontH); cdecl; external Qt4PasLib name 'QListWidgetItem_setFont'; function QListWidgetItem_textAlignment(handle: QListWidgetItemH): Integer; cdecl; external Qt4PasLib name 'QListWidgetItem_textAlignment'; procedure QListWidgetItem_setTextAlignment(handle: QListWidgetItemH; alignment: Integer); cdecl; external Qt4PasLib name 'QListWidgetItem_setTextAlignment'; procedure QListWidgetItem_backgroundColor(handle: QListWidgetItemH; retval: PQColor); cdecl; external Qt4PasLib name 'QListWidgetItem_backgroundColor'; procedure QListWidgetItem_setBackgroundColor(handle: QListWidgetItemH; color: PQColor); cdecl; external Qt4PasLib name 'QListWidgetItem_setBackgroundColor'; procedure QListWidgetItem_background(handle: QListWidgetItemH; retval: QBrushH); cdecl; external Qt4PasLib name 'QListWidgetItem_background'; procedure QListWidgetItem_setBackground(handle: QListWidgetItemH; brush: QBrushH); cdecl; external Qt4PasLib name 'QListWidgetItem_setBackground'; procedure QListWidgetItem_textColor(handle: QListWidgetItemH; retval: PQColor); cdecl; external Qt4PasLib name 'QListWidgetItem_textColor'; procedure QListWidgetItem_setTextColor(handle: QListWidgetItemH; color: PQColor); cdecl; external Qt4PasLib name 'QListWidgetItem_setTextColor'; procedure QListWidgetItem_foreground(handle: QListWidgetItemH; retval: QBrushH); cdecl; external Qt4PasLib name 'QListWidgetItem_foreground'; procedure QListWidgetItem_setForeground(handle: QListWidgetItemH; brush: QBrushH); cdecl; external Qt4PasLib name 'QListWidgetItem_setForeground'; function QListWidgetItem_checkState(handle: QListWidgetItemH): QtCheckState; cdecl; external Qt4PasLib name 'QListWidgetItem_checkState'; procedure QListWidgetItem_setCheckState(handle: QListWidgetItemH; state: QtCheckState); cdecl; external Qt4PasLib name 'QListWidgetItem_setCheckState'; procedure QListWidgetItem_sizeHint(handle: QListWidgetItemH; retval: PSize); cdecl; external Qt4PasLib name 'QListWidgetItem_sizeHint'; procedure QListWidgetItem_setSizeHint(handle: QListWidgetItemH; size: PSize); cdecl; external Qt4PasLib name 'QListWidgetItem_setSizeHint'; procedure QListWidgetItem_data(handle: QListWidgetItemH; retval: QVariantH; role: Integer); cdecl; external Qt4PasLib name 'QListWidgetItem_data'; procedure QListWidgetItem_setData(handle: QListWidgetItemH; role: Integer; value: QVariantH); cdecl; external Qt4PasLib name 'QListWidgetItem_setData'; procedure QListWidgetItem_read(handle: QListWidgetItemH; _in: QDataStreamH); cdecl; external Qt4PasLib name 'QListWidgetItem_read'; procedure QListWidgetItem_write(handle: QListWidgetItemH; _out: QDataStreamH); cdecl; external Qt4PasLib name 'QListWidgetItem_write'; function QListWidgetItem_type(handle: QListWidgetItemH): Integer; cdecl; external Qt4PasLib name 'QListWidgetItem_type'; function QListWidget_create(parent: QWidgetH = nil): QListWidgetH; cdecl; external Qt4PasLib name 'QListWidget_create'; procedure QListWidget_destroy(handle: QListWidgetH); cdecl; external Qt4PasLib name 'QListWidget_destroy'; function QListWidget_item(handle: QListWidgetH; row: Integer): QListWidgetItemH; cdecl; external Qt4PasLib name 'QListWidget_item'; function QListWidget_row(handle: QListWidgetH; item: QListWidgetItemH): Integer; cdecl; external Qt4PasLib name 'QListWidget_row'; procedure QListWidget_insertItem(handle: QListWidgetH; row: Integer; item: QListWidgetItemH); cdecl; external Qt4PasLib name 'QListWidget_insertItem'; procedure QListWidget_insertItem(handle: QListWidgetH; row: Integer; _label: PWideString); cdecl; external Qt4PasLib name 'QListWidget_insertItem2'; procedure QListWidget_insertItems(handle: QListWidgetH; row: Integer; labels: QStringListH); cdecl; external Qt4PasLib name 'QListWidget_insertItems'; procedure QListWidget_addItem(handle: QListWidgetH; _label: PWideString); cdecl; external Qt4PasLib name 'QListWidget_addItem'; procedure QListWidget_addItem(handle: QListWidgetH; item: QListWidgetItemH); cdecl; external Qt4PasLib name 'QListWidget_addItem2'; procedure QListWidget_addItems(handle: QListWidgetH; labels: QStringListH); cdecl; external Qt4PasLib name 'QListWidget_addItems'; function QListWidget_takeItem(handle: QListWidgetH; row: Integer): QListWidgetItemH; cdecl; external Qt4PasLib name 'QListWidget_takeItem'; function QListWidget_count(handle: QListWidgetH): Integer; cdecl; external Qt4PasLib name 'QListWidget_count'; function QListWidget_currentItem(handle: QListWidgetH): QListWidgetItemH; cdecl; external Qt4PasLib name 'QListWidget_currentItem'; procedure QListWidget_setCurrentItem(handle: QListWidgetH; item: QListWidgetItemH); cdecl; external Qt4PasLib name 'QListWidget_setCurrentItem'; procedure QListWidget_setCurrentItem(handle: QListWidgetH; item: QListWidgetItemH; command: QItemSelectionModelSelectionFlags); cdecl; external Qt4PasLib name 'QListWidget_setCurrentItem2'; function QListWidget_currentRow(handle: QListWidgetH): Integer; cdecl; external Qt4PasLib name 'QListWidget_currentRow'; procedure QListWidget_setCurrentRow(handle: QListWidgetH; row: Integer); cdecl; external Qt4PasLib name 'QListWidget_setCurrentRow'; procedure QListWidget_setCurrentRow(handle: QListWidgetH; row: Integer; command: QItemSelectionModelSelectionFlags); cdecl; external Qt4PasLib name 'QListWidget_setCurrentRow2'; function QListWidget_itemAt(handle: QListWidgetH; p: PQtPoint): QListWidgetItemH; cdecl; external Qt4PasLib name 'QListWidget_itemAt'; function QListWidget_itemAt(handle: QListWidgetH; x: Integer; y: Integer): QListWidgetItemH; cdecl; external Qt4PasLib name 'QListWidget_itemAt2'; procedure QListWidget_visualItemRect(handle: QListWidgetH; retval: PRect; item: QListWidgetItemH); cdecl; external Qt4PasLib name 'QListWidget_visualItemRect'; procedure QListWidget_sortItems(handle: QListWidgetH; order: QtSortOrder = QtAscendingOrder); cdecl; external Qt4PasLib name 'QListWidget_sortItems'; procedure QListWidget_setSortingEnabled(handle: QListWidgetH; enable: Boolean); cdecl; external Qt4PasLib name 'QListWidget_setSortingEnabled'; function QListWidget_isSortingEnabled(handle: QListWidgetH): Boolean; cdecl; external Qt4PasLib name 'QListWidget_isSortingEnabled'; procedure QListWidget_editItem(handle: QListWidgetH; item: QListWidgetItemH); cdecl; external Qt4PasLib name 'QListWidget_editItem'; procedure QListWidget_openPersistentEditor(handle: QListWidgetH; item: QListWidgetItemH); cdecl; external Qt4PasLib name 'QListWidget_openPersistentEditor'; procedure QListWidget_closePersistentEditor(handle: QListWidgetH; item: QListWidgetItemH); cdecl; external Qt4PasLib name 'QListWidget_closePersistentEditor'; function QListWidget_itemWidget(handle: QListWidgetH; item: QListWidgetItemH): QWidgetH; cdecl; external Qt4PasLib name 'QListWidget_itemWidget'; procedure QListWidget_setItemWidget(handle: QListWidgetH; item: QListWidgetItemH; widget: QWidgetH); cdecl; external Qt4PasLib name 'QListWidget_setItemWidget'; procedure QListWidget_removeItemWidget(handle: QListWidgetH; item: QListWidgetItemH); cdecl; external Qt4PasLib name 'QListWidget_removeItemWidget'; function QListWidget_isItemSelected(handle: QListWidgetH; item: QListWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QListWidget_isItemSelected'; procedure QListWidget_setItemSelected(handle: QListWidgetH; item: QListWidgetItemH; select: Boolean); cdecl; external Qt4PasLib name 'QListWidget_setItemSelected'; procedure QListWidget_selectedItems(handle: QListWidgetH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QListWidget_selectedItems'; procedure QListWidget_findItems(handle: QListWidgetH; retval: PPtrIntArray; text: PWideString; flags: QtMatchFlags); cdecl; external Qt4PasLib name 'QListWidget_findItems'; function QListWidget_isItemHidden(handle: QListWidgetH; item: QListWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QListWidget_isItemHidden'; procedure QListWidget_setItemHidden(handle: QListWidgetH; item: QListWidgetItemH; hide: Boolean); cdecl; external Qt4PasLib name 'QListWidget_setItemHidden'; procedure QListWidget_dropEvent(handle: QListWidgetH; event: QDropEventH); cdecl; external Qt4PasLib name 'QListWidget_dropEvent'; procedure QListWidget_scrollToItem(handle: QListWidgetH; item: QListWidgetItemH; hint: QAbstractItemViewScrollHint); cdecl; external Qt4PasLib name 'QListWidget_scrollToItem'; procedure QListWidget_clear(handle: QListWidgetH); cdecl; external Qt4PasLib name 'QListWidget_clear'; type QListWidget_itemPressed_Event = procedure (item: QListWidgetItemH) of object cdecl; QListWidget_itemClicked_Event = procedure (item: QListWidgetItemH) of object cdecl; QListWidget_itemDoubleClicked_Event = procedure (item: QListWidgetItemH) of object cdecl; QListWidget_itemActivated_Event = procedure (item: QListWidgetItemH) of object cdecl; QListWidget_itemEntered_Event = procedure (item: QListWidgetItemH) of object cdecl; QListWidget_itemChanged_Event = procedure (item: QListWidgetItemH) of object cdecl; QListWidget_currentItemChanged_Event = procedure (current: QListWidgetItemH; previous: QListWidgetItemH) of object cdecl; QListWidget_currentTextChanged_Event = procedure (currentText: PWideString) of object cdecl; QListWidget_currentRowChanged_Event = procedure (currentRow: Integer) of object cdecl; QListWidget_itemSelectionChanged_Event = procedure () of object cdecl; function QTreeView_create(parent: QWidgetH = nil): QTreeViewH; cdecl; external Qt4PasLib name 'QTreeView_create'; procedure QTreeView_destroy(handle: QTreeViewH); cdecl; external Qt4PasLib name 'QTreeView_destroy'; procedure QTreeView_setModel(handle: QTreeViewH; model: QAbstractItemModelH); cdecl; external Qt4PasLib name 'QTreeView_setModel'; procedure QTreeView_setRootIndex(handle: QTreeViewH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QTreeView_setRootIndex'; procedure QTreeView_setSelectionModel(handle: QTreeViewH; selectionModel: QItemSelectionModelH); cdecl; external Qt4PasLib name 'QTreeView_setSelectionModel'; function QTreeView_header(handle: QTreeViewH): QHeaderViewH; cdecl; external Qt4PasLib name 'QTreeView_header'; procedure QTreeView_setHeader(handle: QTreeViewH; header: QHeaderViewH); cdecl; external Qt4PasLib name 'QTreeView_setHeader'; function QTreeView_autoExpandDelay(handle: QTreeViewH): Integer; cdecl; external Qt4PasLib name 'QTreeView_autoExpandDelay'; procedure QTreeView_setAutoExpandDelay(handle: QTreeViewH; delay: Integer); cdecl; external Qt4PasLib name 'QTreeView_setAutoExpandDelay'; function QTreeView_indentation(handle: QTreeViewH): Integer; cdecl; external Qt4PasLib name 'QTreeView_indentation'; procedure QTreeView_setIndentation(handle: QTreeViewH; i: Integer); cdecl; external Qt4PasLib name 'QTreeView_setIndentation'; function QTreeView_rootIsDecorated(handle: QTreeViewH): Boolean; cdecl; external Qt4PasLib name 'QTreeView_rootIsDecorated'; procedure QTreeView_setRootIsDecorated(handle: QTreeViewH; show: Boolean); cdecl; external Qt4PasLib name 'QTreeView_setRootIsDecorated'; function QTreeView_uniformRowHeights(handle: QTreeViewH): Boolean; cdecl; external Qt4PasLib name 'QTreeView_uniformRowHeights'; procedure QTreeView_setUniformRowHeights(handle: QTreeViewH; uniform: Boolean); cdecl; external Qt4PasLib name 'QTreeView_setUniformRowHeights'; function QTreeView_itemsExpandable(handle: QTreeViewH): Boolean; cdecl; external Qt4PasLib name 'QTreeView_itemsExpandable'; procedure QTreeView_setItemsExpandable(handle: QTreeViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QTreeView_setItemsExpandable'; function QTreeView_expandsOnDoubleClick(handle: QTreeViewH): Boolean; cdecl; external Qt4PasLib name 'QTreeView_expandsOnDoubleClick'; procedure QTreeView_setExpandsOnDoubleClick(handle: QTreeViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QTreeView_setExpandsOnDoubleClick'; function QTreeView_columnViewportPosition(handle: QTreeViewH; column: Integer): Integer; cdecl; external Qt4PasLib name 'QTreeView_columnViewportPosition'; function QTreeView_columnWidth(handle: QTreeViewH; column: Integer): Integer; cdecl; external Qt4PasLib name 'QTreeView_columnWidth'; procedure QTreeView_setColumnWidth(handle: QTreeViewH; column: Integer; width: Integer); cdecl; external Qt4PasLib name 'QTreeView_setColumnWidth'; function QTreeView_columnAt(handle: QTreeViewH; x: Integer): Integer; cdecl; external Qt4PasLib name 'QTreeView_columnAt'; function QTreeView_isColumnHidden(handle: QTreeViewH; column: Integer): Boolean; cdecl; external Qt4PasLib name 'QTreeView_isColumnHidden'; procedure QTreeView_setColumnHidden(handle: QTreeViewH; column: Integer; hide: Boolean); cdecl; external Qt4PasLib name 'QTreeView_setColumnHidden'; function QTreeView_isHeaderHidden(handle: QTreeViewH): Boolean; cdecl; external Qt4PasLib name 'QTreeView_isHeaderHidden'; procedure QTreeView_setHeaderHidden(handle: QTreeViewH; hide: Boolean); cdecl; external Qt4PasLib name 'QTreeView_setHeaderHidden'; function QTreeView_isRowHidden(handle: QTreeViewH; row: Integer; parent: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QTreeView_isRowHidden'; procedure QTreeView_setRowHidden(handle: QTreeViewH; row: Integer; parent: QModelIndexH; hide: Boolean); cdecl; external Qt4PasLib name 'QTreeView_setRowHidden'; function QTreeView_isFirstColumnSpanned(handle: QTreeViewH; row: Integer; parent: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QTreeView_isFirstColumnSpanned'; procedure QTreeView_setFirstColumnSpanned(handle: QTreeViewH; row: Integer; parent: QModelIndexH; span: Boolean); cdecl; external Qt4PasLib name 'QTreeView_setFirstColumnSpanned'; function QTreeView_isExpanded(handle: QTreeViewH; index: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QTreeView_isExpanded'; procedure QTreeView_setExpanded(handle: QTreeViewH; index: QModelIndexH; expand: Boolean); cdecl; external Qt4PasLib name 'QTreeView_setExpanded'; procedure QTreeView_setSortingEnabled(handle: QTreeViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QTreeView_setSortingEnabled'; function QTreeView_isSortingEnabled(handle: QTreeViewH): Boolean; cdecl; external Qt4PasLib name 'QTreeView_isSortingEnabled'; procedure QTreeView_setAnimated(handle: QTreeViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QTreeView_setAnimated'; function QTreeView_isAnimated(handle: QTreeViewH): Boolean; cdecl; external Qt4PasLib name 'QTreeView_isAnimated'; procedure QTreeView_setAllColumnsShowFocus(handle: QTreeViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QTreeView_setAllColumnsShowFocus'; function QTreeView_allColumnsShowFocus(handle: QTreeViewH): Boolean; cdecl; external Qt4PasLib name 'QTreeView_allColumnsShowFocus'; procedure QTreeView_setWordWrap(handle: QTreeViewH; _on: Boolean); cdecl; external Qt4PasLib name 'QTreeView_setWordWrap'; function QTreeView_wordWrap(handle: QTreeViewH): Boolean; cdecl; external Qt4PasLib name 'QTreeView_wordWrap'; procedure QTreeView_keyboardSearch(handle: QTreeViewH; search: PWideString); cdecl; external Qt4PasLib name 'QTreeView_keyboardSearch'; procedure QTreeView_visualRect(handle: QTreeViewH; retval: PRect; index: QModelIndexH); cdecl; external Qt4PasLib name 'QTreeView_visualRect'; procedure QTreeView_scrollTo(handle: QTreeViewH; index: QModelIndexH; hint: QAbstractItemViewScrollHint); cdecl; external Qt4PasLib name 'QTreeView_scrollTo'; procedure QTreeView_indexAt(handle: QTreeViewH; retval: QModelIndexH; p: PQtPoint); cdecl; external Qt4PasLib name 'QTreeView_indexAt'; procedure QTreeView_indexAbove(handle: QTreeViewH; retval: QModelIndexH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QTreeView_indexAbove'; procedure QTreeView_indexBelow(handle: QTreeViewH; retval: QModelIndexH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QTreeView_indexBelow'; procedure QTreeView_doItemsLayout(handle: QTreeViewH); cdecl; external Qt4PasLib name 'QTreeView_doItemsLayout'; procedure QTreeView_reset(handle: QTreeViewH); cdecl; external Qt4PasLib name 'QTreeView_reset'; procedure QTreeView_sortByColumn(handle: QTreeViewH; column: Integer; order: QtSortOrder); cdecl; external Qt4PasLib name 'QTreeView_sortByColumn'; procedure QTreeView_dataChanged(handle: QTreeViewH; topLeft: QModelIndexH; bottomRight: QModelIndexH); cdecl; external Qt4PasLib name 'QTreeView_dataChanged'; procedure QTreeView_hideColumn(handle: QTreeViewH; column: Integer); cdecl; external Qt4PasLib name 'QTreeView_hideColumn'; procedure QTreeView_showColumn(handle: QTreeViewH; column: Integer); cdecl; external Qt4PasLib name 'QTreeView_showColumn'; procedure QTreeView_expand(handle: QTreeViewH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QTreeView_expand'; procedure QTreeView_collapse(handle: QTreeViewH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QTreeView_collapse'; procedure QTreeView_resizeColumnToContents(handle: QTreeViewH; column: Integer); cdecl; external Qt4PasLib name 'QTreeView_resizeColumnToContents'; procedure QTreeView_sortByColumn(handle: QTreeViewH; column: Integer); cdecl; external Qt4PasLib name 'QTreeView_sortByColumn2'; procedure QTreeView_selectAll(handle: QTreeViewH); cdecl; external Qt4PasLib name 'QTreeView_selectAll'; procedure QTreeView_expandAll(handle: QTreeViewH); cdecl; external Qt4PasLib name 'QTreeView_expandAll'; procedure QTreeView_collapseAll(handle: QTreeViewH); cdecl; external Qt4PasLib name 'QTreeView_collapseAll'; procedure QTreeView_expandToDepth(handle: QTreeViewH; depth: Integer); cdecl; external Qt4PasLib name 'QTreeView_expandToDepth'; type QTreeView_expanded_Event = procedure (index: QModelIndexH) of object cdecl; QTreeView_collapsed_Event = procedure (index: QModelIndexH) of object cdecl; type QTreeWidgetItemChildIndicatorPolicy = ( // QTreeWidgetItem::ChildIndicatorPolicy (1) QTreeWidgetItemShowIndicator, QTreeWidgetItemDontShowIndicator, QTreeWidgetItemDontShowIndicatorWhenChildless ); QTreeWidgetItemItemType = ( //QTreeWidgetItem::ItemType (2) QTreeWidgetItemType = 0, QTreeWidgetItemUserType = 1000 ); function QTreeWidgetItem_create(_type: Integer = QTreeWidgetItemType): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_create'; procedure QTreeWidgetItem_destroy(handle: QTreeWidgetItemH); cdecl; external Qt4PasLib name 'QTreeWidgetItem_destroy'; function QTreeWidgetItem_create(strings: QStringListH; _type: Integer = QTreeWidgetItemType): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_create2'; function QTreeWidgetItem_create(view: QTreeWidgetH; _type: Integer = QTreeWidgetItemType): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_create3'; function QTreeWidgetItem_create(view: QTreeWidgetH; strings: QStringListH; _type: Integer = QTreeWidgetItemType): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_create4'; function QTreeWidgetItem_create(view: QTreeWidgetH; after: QTreeWidgetItemH; _type: Integer = QTreeWidgetItemType): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_create5'; function QTreeWidgetItem_create(parent: QTreeWidgetItemH; _type: Integer = QTreeWidgetItemType): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_create6'; function QTreeWidgetItem_create(parent: QTreeWidgetItemH; strings: QStringListH; _type: Integer = QTreeWidgetItemType): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_create7'; function QTreeWidgetItem_create(parent: QTreeWidgetItemH; after: QTreeWidgetItemH; _type: Integer = QTreeWidgetItemType): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_create8'; function QTreeWidgetItem_create(other: QTreeWidgetItemH): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_create9'; function QTreeWidgetItem_clone(handle: QTreeWidgetItemH): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_clone'; function QTreeWidgetItem_treeWidget(handle: QTreeWidgetItemH): QTreeWidgetH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_treeWidget'; procedure QTreeWidgetItem_setSelected(handle: QTreeWidgetItemH; select: Boolean); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setSelected'; function QTreeWidgetItem_isSelected(handle: QTreeWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QTreeWidgetItem_isSelected'; procedure QTreeWidgetItem_setHidden(handle: QTreeWidgetItemH; hide: Boolean); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setHidden'; function QTreeWidgetItem_isHidden(handle: QTreeWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QTreeWidgetItem_isHidden'; procedure QTreeWidgetItem_setExpanded(handle: QTreeWidgetItemH; expand: Boolean); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setExpanded'; function QTreeWidgetItem_isExpanded(handle: QTreeWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QTreeWidgetItem_isExpanded'; procedure QTreeWidgetItem_setFirstColumnSpanned(handle: QTreeWidgetItemH; span: Boolean); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setFirstColumnSpanned'; function QTreeWidgetItem_isFirstColumnSpanned(handle: QTreeWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QTreeWidgetItem_isFirstColumnSpanned'; procedure QTreeWidgetItem_setDisabled(handle: QTreeWidgetItemH; disabled: Boolean); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setDisabled'; function QTreeWidgetItem_isDisabled(handle: QTreeWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QTreeWidgetItem_isDisabled'; procedure QTreeWidgetItem_setChildIndicatorPolicy(handle: QTreeWidgetItemH; policy: QTreeWidgetItemChildIndicatorPolicy); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setChildIndicatorPolicy'; function QTreeWidgetItem_childIndicatorPolicy(handle: QTreeWidgetItemH): QTreeWidgetItemChildIndicatorPolicy; cdecl; external Qt4PasLib name 'QTreeWidgetItem_childIndicatorPolicy'; function QTreeWidgetItem_flags(handle: QTreeWidgetItemH): QtItemFlags; cdecl; external Qt4PasLib name 'QTreeWidgetItem_flags'; procedure QTreeWidgetItem_setFlags(handle: QTreeWidgetItemH; flags: QtItemFlags); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setFlags'; procedure QTreeWidgetItem_text(handle: QTreeWidgetItemH; retval: PWideString; column: Integer); cdecl; external Qt4PasLib name 'QTreeWidgetItem_text'; procedure QTreeWidgetItem_setText(handle: QTreeWidgetItemH; column: Integer; text: PWideString); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setText'; procedure QTreeWidgetItem_icon(handle: QTreeWidgetItemH; retval: QIconH; column: Integer); cdecl; external Qt4PasLib name 'QTreeWidgetItem_icon'; procedure QTreeWidgetItem_setIcon(handle: QTreeWidgetItemH; column: Integer; icon: QIconH); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setIcon'; procedure QTreeWidgetItem_statusTip(handle: QTreeWidgetItemH; retval: PWideString; column: Integer); cdecl; external Qt4PasLib name 'QTreeWidgetItem_statusTip'; procedure QTreeWidgetItem_setStatusTip(handle: QTreeWidgetItemH; column: Integer; statusTip: PWideString); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setStatusTip'; procedure QTreeWidgetItem_toolTip(handle: QTreeWidgetItemH; retval: PWideString; column: Integer); cdecl; external Qt4PasLib name 'QTreeWidgetItem_toolTip'; procedure QTreeWidgetItem_setToolTip(handle: QTreeWidgetItemH; column: Integer; toolTip: PWideString); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setToolTip'; procedure QTreeWidgetItem_whatsThis(handle: QTreeWidgetItemH; retval: PWideString; column: Integer); cdecl; external Qt4PasLib name 'QTreeWidgetItem_whatsThis'; procedure QTreeWidgetItem_setWhatsThis(handle: QTreeWidgetItemH; column: Integer; whatsThis: PWideString); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setWhatsThis'; procedure QTreeWidgetItem_font(handle: QTreeWidgetItemH; retval: QFontH; column: Integer); cdecl; external Qt4PasLib name 'QTreeWidgetItem_font'; procedure QTreeWidgetItem_setFont(handle: QTreeWidgetItemH; column: Integer; font: QFontH); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setFont'; function QTreeWidgetItem_textAlignment(handle: QTreeWidgetItemH; column: Integer): Integer; cdecl; external Qt4PasLib name 'QTreeWidgetItem_textAlignment'; procedure QTreeWidgetItem_setTextAlignment(handle: QTreeWidgetItemH; column: Integer; alignment: Integer); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setTextAlignment'; procedure QTreeWidgetItem_backgroundColor(handle: QTreeWidgetItemH; retval: PQColor; column: Integer); cdecl; external Qt4PasLib name 'QTreeWidgetItem_backgroundColor'; procedure QTreeWidgetItem_setBackgroundColor(handle: QTreeWidgetItemH; column: Integer; color: PQColor); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setBackgroundColor'; procedure QTreeWidgetItem_background(handle: QTreeWidgetItemH; retval: QBrushH; column: Integer); cdecl; external Qt4PasLib name 'QTreeWidgetItem_background'; procedure QTreeWidgetItem_setBackground(handle: QTreeWidgetItemH; column: Integer; brush: QBrushH); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setBackground'; procedure QTreeWidgetItem_textColor(handle: QTreeWidgetItemH; retval: PQColor; column: Integer); cdecl; external Qt4PasLib name 'QTreeWidgetItem_textColor'; procedure QTreeWidgetItem_setTextColor(handle: QTreeWidgetItemH; column: Integer; color: PQColor); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setTextColor'; procedure QTreeWidgetItem_foreground(handle: QTreeWidgetItemH; retval: QBrushH; column: Integer); cdecl; external Qt4PasLib name 'QTreeWidgetItem_foreground'; procedure QTreeWidgetItem_setForeground(handle: QTreeWidgetItemH; column: Integer; brush: QBrushH); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setForeground'; function QTreeWidgetItem_checkState(handle: QTreeWidgetItemH; column: Integer): QtCheckState; cdecl; external Qt4PasLib name 'QTreeWidgetItem_checkState'; procedure QTreeWidgetItem_setCheckState(handle: QTreeWidgetItemH; column: Integer; state: QtCheckState); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setCheckState'; procedure QTreeWidgetItem_sizeHint(handle: QTreeWidgetItemH; retval: PSize; column: Integer); cdecl; external Qt4PasLib name 'QTreeWidgetItem_sizeHint'; procedure QTreeWidgetItem_setSizeHint(handle: QTreeWidgetItemH; column: Integer; size: PSize); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setSizeHint'; procedure QTreeWidgetItem_data(handle: QTreeWidgetItemH; retval: QVariantH; column: Integer; role: Integer); cdecl; external Qt4PasLib name 'QTreeWidgetItem_data'; procedure QTreeWidgetItem_setData(handle: QTreeWidgetItemH; column: Integer; role: Integer; value: QVariantH); cdecl; external Qt4PasLib name 'QTreeWidgetItem_setData'; procedure QTreeWidgetItem_read(handle: QTreeWidgetItemH; _in: QDataStreamH); cdecl; external Qt4PasLib name 'QTreeWidgetItem_read'; procedure QTreeWidgetItem_write(handle: QTreeWidgetItemH; _out: QDataStreamH); cdecl; external Qt4PasLib name 'QTreeWidgetItem_write'; function QTreeWidgetItem_parent(handle: QTreeWidgetItemH): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_parent'; function QTreeWidgetItem_child(handle: QTreeWidgetItemH; index: Integer): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_child'; function QTreeWidgetItem_childCount(handle: QTreeWidgetItemH): Integer; cdecl; external Qt4PasLib name 'QTreeWidgetItem_childCount'; function QTreeWidgetItem_columnCount(handle: QTreeWidgetItemH): Integer; cdecl; external Qt4PasLib name 'QTreeWidgetItem_columnCount'; function QTreeWidgetItem_indexOfChild(handle: QTreeWidgetItemH; child: QTreeWidgetItemH): Integer; cdecl; external Qt4PasLib name 'QTreeWidgetItem_indexOfChild'; procedure QTreeWidgetItem_addChild(handle: QTreeWidgetItemH; child: QTreeWidgetItemH); cdecl; external Qt4PasLib name 'QTreeWidgetItem_addChild'; procedure QTreeWidgetItem_insertChild(handle: QTreeWidgetItemH; index: Integer; child: QTreeWidgetItemH); cdecl; external Qt4PasLib name 'QTreeWidgetItem_insertChild'; procedure QTreeWidgetItem_removeChild(handle: QTreeWidgetItemH; child: QTreeWidgetItemH); cdecl; external Qt4PasLib name 'QTreeWidgetItem_removeChild'; function QTreeWidgetItem_takeChild(handle: QTreeWidgetItemH; index: Integer): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_takeChild'; procedure QTreeWidgetItem_addChildren(handle: QTreeWidgetItemH; children: PPtrIntArray); cdecl; external Qt4PasLib name 'QTreeWidgetItem_addChildren'; procedure QTreeWidgetItem_insertChildren(handle: QTreeWidgetItemH; index: Integer; children: PPtrIntArray); cdecl; external Qt4PasLib name 'QTreeWidgetItem_insertChildren'; procedure QTreeWidgetItem_takeChildren(handle: QTreeWidgetItemH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QTreeWidgetItem_takeChildren'; function QTreeWidgetItem_type(handle: QTreeWidgetItemH): Integer; cdecl; external Qt4PasLib name 'QTreeWidgetItem_type'; procedure QTreeWidgetItem_sortChildren(handle: QTreeWidgetItemH; column: Integer; order: QtSortOrder); cdecl; external Qt4PasLib name 'QTreeWidgetItem_sortChildren'; function QTreeWidget_create(parent: QWidgetH = nil): QTreeWidgetH; cdecl; external Qt4PasLib name 'QTreeWidget_create'; procedure QTreeWidget_destroy(handle: QTreeWidgetH); cdecl; external Qt4PasLib name 'QTreeWidget_destroy'; function QTreeWidget_columnCount(handle: QTreeWidgetH): Integer; cdecl; external Qt4PasLib name 'QTreeWidget_columnCount'; procedure QTreeWidget_setColumnCount(handle: QTreeWidgetH; columns: Integer); cdecl; external Qt4PasLib name 'QTreeWidget_setColumnCount'; function QTreeWidget_invisibleRootItem(handle: QTreeWidgetH): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidget_invisibleRootItem'; function QTreeWidget_topLevelItem(handle: QTreeWidgetH; index: Integer): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidget_topLevelItem'; function QTreeWidget_topLevelItemCount(handle: QTreeWidgetH): Integer; cdecl; external Qt4PasLib name 'QTreeWidget_topLevelItemCount'; procedure QTreeWidget_insertTopLevelItem(handle: QTreeWidgetH; index: Integer; item: QTreeWidgetItemH); cdecl; external Qt4PasLib name 'QTreeWidget_insertTopLevelItem'; procedure QTreeWidget_addTopLevelItem(handle: QTreeWidgetH; item: QTreeWidgetItemH); cdecl; external Qt4PasLib name 'QTreeWidget_addTopLevelItem'; function QTreeWidget_takeTopLevelItem(handle: QTreeWidgetH; index: Integer): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidget_takeTopLevelItem'; function QTreeWidget_indexOfTopLevelItem(handle: QTreeWidgetH; item: QTreeWidgetItemH): Integer; cdecl; external Qt4PasLib name 'QTreeWidget_indexOfTopLevelItem'; procedure QTreeWidget_insertTopLevelItems(handle: QTreeWidgetH; index: Integer; items: PPtrIntArray); cdecl; external Qt4PasLib name 'QTreeWidget_insertTopLevelItems'; procedure QTreeWidget_addTopLevelItems(handle: QTreeWidgetH; items: PPtrIntArray); cdecl; external Qt4PasLib name 'QTreeWidget_addTopLevelItems'; function QTreeWidget_headerItem(handle: QTreeWidgetH): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidget_headerItem'; procedure QTreeWidget_setHeaderItem(handle: QTreeWidgetH; item: QTreeWidgetItemH); cdecl; external Qt4PasLib name 'QTreeWidget_setHeaderItem'; procedure QTreeWidget_setHeaderLabels(handle: QTreeWidgetH; labels: QStringListH); cdecl; external Qt4PasLib name 'QTreeWidget_setHeaderLabels'; procedure QTreeWidget_setHeaderLabel(handle: QTreeWidgetH; _label: PWideString); cdecl; external Qt4PasLib name 'QTreeWidget_setHeaderLabel'; function QTreeWidget_currentItem(handle: QTreeWidgetH): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidget_currentItem'; function QTreeWidget_currentColumn(handle: QTreeWidgetH): Integer; cdecl; external Qt4PasLib name 'QTreeWidget_currentColumn'; procedure QTreeWidget_setCurrentItem(handle: QTreeWidgetH; item: QTreeWidgetItemH); cdecl; external Qt4PasLib name 'QTreeWidget_setCurrentItem'; procedure QTreeWidget_setCurrentItem(handle: QTreeWidgetH; item: QTreeWidgetItemH; column: Integer); cdecl; external Qt4PasLib name 'QTreeWidget_setCurrentItem2'; procedure QTreeWidget_setCurrentItem(handle: QTreeWidgetH; item: QTreeWidgetItemH; column: Integer; command: QItemSelectionModelSelectionFlags); cdecl; external Qt4PasLib name 'QTreeWidget_setCurrentItem3'; function QTreeWidget_itemAt(handle: QTreeWidgetH; p: PQtPoint): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidget_itemAt'; function QTreeWidget_itemAt(handle: QTreeWidgetH; x: Integer; y: Integer): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidget_itemAt2'; procedure QTreeWidget_visualItemRect(handle: QTreeWidgetH; retval: PRect; item: QTreeWidgetItemH); cdecl; external Qt4PasLib name 'QTreeWidget_visualItemRect'; function QTreeWidget_sortColumn(handle: QTreeWidgetH): Integer; cdecl; external Qt4PasLib name 'QTreeWidget_sortColumn'; procedure QTreeWidget_sortItems(handle: QTreeWidgetH; column: Integer; order: QtSortOrder); cdecl; external Qt4PasLib name 'QTreeWidget_sortItems'; procedure QTreeWidget_setSortingEnabled(handle: QTreeWidgetH; enable: Boolean); cdecl; external Qt4PasLib name 'QTreeWidget_setSortingEnabled'; function QTreeWidget_isSortingEnabled(handle: QTreeWidgetH): Boolean; cdecl; external Qt4PasLib name 'QTreeWidget_isSortingEnabled'; procedure QTreeWidget_editItem(handle: QTreeWidgetH; item: QTreeWidgetItemH; column: Integer = 0); cdecl; external Qt4PasLib name 'QTreeWidget_editItem'; procedure QTreeWidget_openPersistentEditor(handle: QTreeWidgetH; item: QTreeWidgetItemH; column: Integer = 0); cdecl; external Qt4PasLib name 'QTreeWidget_openPersistentEditor'; procedure QTreeWidget_closePersistentEditor(handle: QTreeWidgetH; item: QTreeWidgetItemH; column: Integer = 0); cdecl; external Qt4PasLib name 'QTreeWidget_closePersistentEditor'; function QTreeWidget_itemWidget(handle: QTreeWidgetH; item: QTreeWidgetItemH; column: Integer): QWidgetH; cdecl; external Qt4PasLib name 'QTreeWidget_itemWidget'; procedure QTreeWidget_setItemWidget(handle: QTreeWidgetH; item: QTreeWidgetItemH; column: Integer; widget: QWidgetH); cdecl; external Qt4PasLib name 'QTreeWidget_setItemWidget'; procedure QTreeWidget_removeItemWidget(handle: QTreeWidgetH; item: QTreeWidgetItemH; column: Integer); cdecl; external Qt4PasLib name 'QTreeWidget_removeItemWidget'; function QTreeWidget_isItemSelected(handle: QTreeWidgetH; item: QTreeWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QTreeWidget_isItemSelected'; procedure QTreeWidget_setItemSelected(handle: QTreeWidgetH; item: QTreeWidgetItemH; select: Boolean); cdecl; external Qt4PasLib name 'QTreeWidget_setItemSelected'; procedure QTreeWidget_selectedItems(handle: QTreeWidgetH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QTreeWidget_selectedItems'; procedure QTreeWidget_findItems(handle: QTreeWidgetH; retval: PPtrIntArray; text: PWideString; flags: QtMatchFlags; column: Integer = 0); cdecl; external Qt4PasLib name 'QTreeWidget_findItems'; function QTreeWidget_isItemHidden(handle: QTreeWidgetH; item: QTreeWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QTreeWidget_isItemHidden'; procedure QTreeWidget_setItemHidden(handle: QTreeWidgetH; item: QTreeWidgetItemH; hide: Boolean); cdecl; external Qt4PasLib name 'QTreeWidget_setItemHidden'; function QTreeWidget_isItemExpanded(handle: QTreeWidgetH; item: QTreeWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QTreeWidget_isItemExpanded'; procedure QTreeWidget_setItemExpanded(handle: QTreeWidgetH; item: QTreeWidgetItemH; expand: Boolean); cdecl; external Qt4PasLib name 'QTreeWidget_setItemExpanded'; function QTreeWidget_isFirstItemColumnSpanned(handle: QTreeWidgetH; item: QTreeWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QTreeWidget_isFirstItemColumnSpanned'; procedure QTreeWidget_setFirstItemColumnSpanned(handle: QTreeWidgetH; item: QTreeWidgetItemH; span: Boolean); cdecl; external Qt4PasLib name 'QTreeWidget_setFirstItemColumnSpanned'; function QTreeWidget_itemAbove(handle: QTreeWidgetH; item: QTreeWidgetItemH): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidget_itemAbove'; function QTreeWidget_itemBelow(handle: QTreeWidgetH; item: QTreeWidgetItemH): QTreeWidgetItemH; cdecl; external Qt4PasLib name 'QTreeWidget_itemBelow'; procedure QTreeWidget_setSelectionModel(handle: QTreeWidgetH; selectionModel: QItemSelectionModelH); cdecl; external Qt4PasLib name 'QTreeWidget_setSelectionModel'; procedure QTreeWidget_scrollToItem(handle: QTreeWidgetH; item: QTreeWidgetItemH; hint: QAbstractItemViewScrollHint); cdecl; external Qt4PasLib name 'QTreeWidget_scrollToItem'; procedure QTreeWidget_expandItem(handle: QTreeWidgetH; item: QTreeWidgetItemH); cdecl; external Qt4PasLib name 'QTreeWidget_expandItem'; procedure QTreeWidget_collapseItem(handle: QTreeWidgetH; item: QTreeWidgetItemH); cdecl; external Qt4PasLib name 'QTreeWidget_collapseItem'; procedure QTreeWidget_clear(handle: QTreeWidgetH); cdecl; external Qt4PasLib name 'QTreeWidget_clear'; type QTreeWidget_itemPressed_Event = procedure (item: QTreeWidgetItemH; column: Integer) of object cdecl; QTreeWidget_itemClicked_Event = procedure (item: QTreeWidgetItemH; column: Integer) of object cdecl; QTreeWidget_itemDoubleClicked_Event = procedure (item: QTreeWidgetItemH; column: Integer) of object cdecl; QTreeWidget_itemActivated_Event = procedure (item: QTreeWidgetItemH; column: Integer) of object cdecl; QTreeWidget_itemEntered_Event = procedure (item: QTreeWidgetItemH; column: Integer) of object cdecl; QTreeWidget_itemChanged_Event = procedure (item: QTreeWidgetItemH; column: Integer) of object cdecl; QTreeWidget_itemExpanded_Event = procedure (item: QTreeWidgetItemH) of object cdecl; QTreeWidget_itemCollapsed_Event = procedure (item: QTreeWidgetItemH) of object cdecl; QTreeWidget_currentItemChanged_Event = procedure (current: QTreeWidgetItemH; previous: QTreeWidgetItemH) of object cdecl; QTreeWidget_itemSelectionChanged_Event = procedure () of object cdecl; type QHeaderViewResizeMode = cardinal; // QHeaderView::ResizeMode (4) const QHeaderViewInteractive = 0 { $0 }; QHeaderViewStretch = 1 { $1 }; QHeaderViewFixed = 2 { $2 }; QHeaderViewResizeToContents = 3 { $3 }; QHeaderViewCustom = 2 { $2 }; function QHeaderView_create(orientation: QtOrientation; parent: QWidgetH = nil): QHeaderViewH; cdecl; external Qt4PasLib name 'QHeaderView_create'; procedure QHeaderView_destroy(handle: QHeaderViewH); cdecl; external Qt4PasLib name 'QHeaderView_destroy'; procedure QHeaderView_setModel(handle: QHeaderViewH; model: QAbstractItemModelH); cdecl; external Qt4PasLib name 'QHeaderView_setModel'; function QHeaderView_orientation(handle: QHeaderViewH): QtOrientation; cdecl; external Qt4PasLib name 'QHeaderView_orientation'; function QHeaderView_offset(handle: QHeaderViewH): Integer; cdecl; external Qt4PasLib name 'QHeaderView_offset'; function QHeaderView_length(handle: QHeaderViewH): Integer; cdecl; external Qt4PasLib name 'QHeaderView_length'; procedure QHeaderView_sizeHint(handle: QHeaderViewH; retval: PSize); cdecl; external Qt4PasLib name 'QHeaderView_sizeHint'; function QHeaderView_sectionSizeHint(handle: QHeaderViewH; logicalIndex: Integer): Integer; cdecl; external Qt4PasLib name 'QHeaderView_sectionSizeHint'; function QHeaderView_visualIndexAt(handle: QHeaderViewH; position: Integer): Integer; cdecl; external Qt4PasLib name 'QHeaderView_visualIndexAt'; function QHeaderView_logicalIndexAt(handle: QHeaderViewH; position: Integer): Integer; cdecl; external Qt4PasLib name 'QHeaderView_logicalIndexAt'; function QHeaderView_logicalIndexAt(handle: QHeaderViewH; x: Integer; y: Integer): Integer; cdecl; external Qt4PasLib name 'QHeaderView_logicalIndexAt2'; function QHeaderView_logicalIndexAt(handle: QHeaderViewH; pos: PQtPoint): Integer; cdecl; external Qt4PasLib name 'QHeaderView_logicalIndexAt3'; function QHeaderView_sectionSize(handle: QHeaderViewH; logicalIndex: Integer): Integer; cdecl; external Qt4PasLib name 'QHeaderView_sectionSize'; function QHeaderView_sectionPosition(handle: QHeaderViewH; logicalIndex: Integer): Integer; cdecl; external Qt4PasLib name 'QHeaderView_sectionPosition'; function QHeaderView_sectionViewportPosition(handle: QHeaderViewH; logicalIndex: Integer): Integer; cdecl; external Qt4PasLib name 'QHeaderView_sectionViewportPosition'; procedure QHeaderView_moveSection(handle: QHeaderViewH; from: Integer; _to: Integer); cdecl; external Qt4PasLib name 'QHeaderView_moveSection'; procedure QHeaderView_swapSections(handle: QHeaderViewH; first: Integer; second: Integer); cdecl; external Qt4PasLib name 'QHeaderView_swapSections'; procedure QHeaderView_resizeSection(handle: QHeaderViewH; logicalIndex: Integer; size: Integer); cdecl; external Qt4PasLib name 'QHeaderView_resizeSection'; procedure QHeaderView_resizeSections(handle: QHeaderViewH; mode: QHeaderViewResizeMode); cdecl; external Qt4PasLib name 'QHeaderView_resizeSections'; function QHeaderView_isSectionHidden(handle: QHeaderViewH; logicalIndex: Integer): Boolean; cdecl; external Qt4PasLib name 'QHeaderView_isSectionHidden'; procedure QHeaderView_setSectionHidden(handle: QHeaderViewH; logicalIndex: Integer; hide: Boolean); cdecl; external Qt4PasLib name 'QHeaderView_setSectionHidden'; function QHeaderView_hiddenSectionCount(handle: QHeaderViewH): Integer; cdecl; external Qt4PasLib name 'QHeaderView_hiddenSectionCount'; procedure QHeaderView_hideSection(handle: QHeaderViewH; logicalIndex: Integer); cdecl; external Qt4PasLib name 'QHeaderView_hideSection'; procedure QHeaderView_showSection(handle: QHeaderViewH; logicalIndex: Integer); cdecl; external Qt4PasLib name 'QHeaderView_showSection'; function QHeaderView_count(handle: QHeaderViewH): Integer; cdecl; external Qt4PasLib name 'QHeaderView_count'; function QHeaderView_visualIndex(handle: QHeaderViewH; logicalIndex: Integer): Integer; cdecl; external Qt4PasLib name 'QHeaderView_visualIndex'; function QHeaderView_logicalIndex(handle: QHeaderViewH; visualIndex: Integer): Integer; cdecl; external Qt4PasLib name 'QHeaderView_logicalIndex'; procedure QHeaderView_setMovable(handle: QHeaderViewH; movable: Boolean); cdecl; external Qt4PasLib name 'QHeaderView_setMovable'; function QHeaderView_isMovable(handle: QHeaderViewH): Boolean; cdecl; external Qt4PasLib name 'QHeaderView_isMovable'; procedure QHeaderView_setClickable(handle: QHeaderViewH; clickable: Boolean); cdecl; external Qt4PasLib name 'QHeaderView_setClickable'; function QHeaderView_isClickable(handle: QHeaderViewH): Boolean; cdecl; external Qt4PasLib name 'QHeaderView_isClickable'; procedure QHeaderView_setHighlightSections(handle: QHeaderViewH; highlight: Boolean); cdecl; external Qt4PasLib name 'QHeaderView_setHighlightSections'; function QHeaderView_highlightSections(handle: QHeaderViewH): Boolean; cdecl; external Qt4PasLib name 'QHeaderView_highlightSections'; procedure QHeaderView_setResizeMode(handle: QHeaderViewH; mode: QHeaderViewResizeMode); cdecl; external Qt4PasLib name 'QHeaderView_setResizeMode'; procedure QHeaderView_setResizeMode(handle: QHeaderViewH; logicalIndex: Integer; mode: QHeaderViewResizeMode); cdecl; external Qt4PasLib name 'QHeaderView_setResizeMode2'; function QHeaderView_resizeMode(handle: QHeaderViewH; logicalIndex: Integer): QHeaderViewResizeMode; cdecl; external Qt4PasLib name 'QHeaderView_resizeMode'; function QHeaderView_stretchSectionCount(handle: QHeaderViewH): Integer; cdecl; external Qt4PasLib name 'QHeaderView_stretchSectionCount'; procedure QHeaderView_setSortIndicatorShown(handle: QHeaderViewH; show: Boolean); cdecl; external Qt4PasLib name 'QHeaderView_setSortIndicatorShown'; function QHeaderView_isSortIndicatorShown(handle: QHeaderViewH): Boolean; cdecl; external Qt4PasLib name 'QHeaderView_isSortIndicatorShown'; procedure QHeaderView_setSortIndicator(handle: QHeaderViewH; logicalIndex: Integer; order: QtSortOrder); cdecl; external Qt4PasLib name 'QHeaderView_setSortIndicator'; function QHeaderView_sortIndicatorSection(handle: QHeaderViewH): Integer; cdecl; external Qt4PasLib name 'QHeaderView_sortIndicatorSection'; function QHeaderView_sortIndicatorOrder(handle: QHeaderViewH): QtSortOrder; cdecl; external Qt4PasLib name 'QHeaderView_sortIndicatorOrder'; function QHeaderView_stretchLastSection(handle: QHeaderViewH): Boolean; cdecl; external Qt4PasLib name 'QHeaderView_stretchLastSection'; procedure QHeaderView_setStretchLastSection(handle: QHeaderViewH; stretch: Boolean); cdecl; external Qt4PasLib name 'QHeaderView_setStretchLastSection'; function QHeaderView_cascadingSectionResizes(handle: QHeaderViewH): Boolean; cdecl; external Qt4PasLib name 'QHeaderView_cascadingSectionResizes'; procedure QHeaderView_setCascadingSectionResizes(handle: QHeaderViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QHeaderView_setCascadingSectionResizes'; function QHeaderView_defaultSectionSize(handle: QHeaderViewH): Integer; cdecl; external Qt4PasLib name 'QHeaderView_defaultSectionSize'; procedure QHeaderView_setDefaultSectionSize(handle: QHeaderViewH; size: Integer); cdecl; external Qt4PasLib name 'QHeaderView_setDefaultSectionSize'; function QHeaderView_minimumSectionSize(handle: QHeaderViewH): Integer; cdecl; external Qt4PasLib name 'QHeaderView_minimumSectionSize'; procedure QHeaderView_setMinimumSectionSize(handle: QHeaderViewH; size: Integer); cdecl; external Qt4PasLib name 'QHeaderView_setMinimumSectionSize'; function QHeaderView_defaultAlignment(handle: QHeaderViewH): QtAlignment; cdecl; external Qt4PasLib name 'QHeaderView_defaultAlignment'; procedure QHeaderView_setDefaultAlignment(handle: QHeaderViewH; alignment: QtAlignment); cdecl; external Qt4PasLib name 'QHeaderView_setDefaultAlignment'; procedure QHeaderView_doItemsLayout(handle: QHeaderViewH); cdecl; external Qt4PasLib name 'QHeaderView_doItemsLayout'; function QHeaderView_sectionsMoved(handle: QHeaderViewH): Boolean; cdecl; external Qt4PasLib name 'QHeaderView_sectionsMoved'; function QHeaderView_sectionsHidden(handle: QHeaderViewH): Boolean; cdecl; external Qt4PasLib name 'QHeaderView_sectionsHidden'; procedure QHeaderView_saveState(handle: QHeaderViewH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QHeaderView_saveState'; function QHeaderView_restoreState(handle: QHeaderViewH; state: QByteArrayH): Boolean; cdecl; external Qt4PasLib name 'QHeaderView_restoreState'; procedure QHeaderView_reset(handle: QHeaderViewH); cdecl; external Qt4PasLib name 'QHeaderView_reset'; procedure QHeaderView_setOffset(handle: QHeaderViewH; offset: Integer); cdecl; external Qt4PasLib name 'QHeaderView_setOffset'; procedure QHeaderView_setOffsetToSectionPosition(handle: QHeaderViewH; visualIndex: Integer); cdecl; external Qt4PasLib name 'QHeaderView_setOffsetToSectionPosition'; procedure QHeaderView_setOffsetToLastSection(handle: QHeaderViewH); cdecl; external Qt4PasLib name 'QHeaderView_setOffsetToLastSection'; procedure QHeaderView_headerDataChanged(handle: QHeaderViewH; orientation: QtOrientation; logicalFirst: Integer; logicalLast: Integer); cdecl; external Qt4PasLib name 'QHeaderView_headerDataChanged'; type QHeaderView_sectionMoved_Event = procedure (logicalIndex: Integer; oldVisualIndex: Integer; newVisualIndex: Integer) of object cdecl; QHeaderView_sectionResized_Event = procedure (logicalIndex: Integer; oldSize: Integer; newSize: Integer) of object cdecl; QHeaderView_sectionPressed_Event = procedure (logicalIndex: Integer) of object cdecl; QHeaderView_sectionClicked_Event = procedure (logicalIndex: Integer) of object cdecl; QHeaderView_sectionEntered_Event = procedure (logicalIndex: Integer) of object cdecl; QHeaderView_sectionDoubleClicked_Event = procedure (logicalIndex: Integer) of object cdecl; QHeaderView_sectionCountChanged_Event = procedure (oldCount: Integer; newCount: Integer) of object cdecl; QHeaderView_sectionHandleDoubleClicked_Event = procedure (logicalIndex: Integer) of object cdecl; QHeaderView_sectionAutoResize_Event = procedure (logicalIndex: Integer; mode: QHeaderViewResizeMode) of object cdecl; QHeaderView_geometriesChanged_Event = procedure () of object cdecl; QHeaderView_sortIndicatorChanged_Event = procedure (logicalIndex: Integer; order: QtSortOrder) of object cdecl; type QStandardItemItemType = ( //QStandardItem::ItemType (2) QStandardItemType = 0, QStandardItemUserType = 1000 ); function QStandardItem_create(): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItem_create'; procedure QStandardItem_destroy(handle: QStandardItemH); cdecl; external Qt4PasLib name 'QStandardItem_destroy'; function QStandardItem_create(text: PWideString): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItem_create2'; function QStandardItem_create(icon: QIconH; text: PWideString): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItem_create3'; function QStandardItem_create(rows: Integer; columns: Integer = 1): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItem_create4'; procedure QStandardItem_data(handle: QStandardItemH; retval: QVariantH; role: QtItemDataRole); cdecl; external Qt4PasLib name 'QStandardItem_data'; procedure QStandardItem_setData(handle: QStandardItemH; value: QVariantH; role: QtItemDataRole); cdecl; external Qt4PasLib name 'QStandardItem_setData'; procedure QStandardItem_text(handle: QStandardItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QStandardItem_text'; procedure QStandardItem_setText(handle: QStandardItemH; text: PWideString); cdecl; external Qt4PasLib name 'QStandardItem_setText'; procedure QStandardItem_icon(handle: QStandardItemH; retval: QIconH); cdecl; external Qt4PasLib name 'QStandardItem_icon'; procedure QStandardItem_setIcon(handle: QStandardItemH; icon: QIconH); cdecl; external Qt4PasLib name 'QStandardItem_setIcon'; procedure QStandardItem_toolTip(handle: QStandardItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QStandardItem_toolTip'; procedure QStandardItem_setToolTip(handle: QStandardItemH; toolTip: PWideString); cdecl; external Qt4PasLib name 'QStandardItem_setToolTip'; procedure QStandardItem_statusTip(handle: QStandardItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QStandardItem_statusTip'; procedure QStandardItem_setStatusTip(handle: QStandardItemH; statusTip: PWideString); cdecl; external Qt4PasLib name 'QStandardItem_setStatusTip'; procedure QStandardItem_whatsThis(handle: QStandardItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QStandardItem_whatsThis'; procedure QStandardItem_setWhatsThis(handle: QStandardItemH; whatsThis: PWideString); cdecl; external Qt4PasLib name 'QStandardItem_setWhatsThis'; procedure QStandardItem_sizeHint(handle: QStandardItemH; retval: PSize); cdecl; external Qt4PasLib name 'QStandardItem_sizeHint'; procedure QStandardItem_setSizeHint(handle: QStandardItemH; sizeHint: PSize); cdecl; external Qt4PasLib name 'QStandardItem_setSizeHint'; procedure QStandardItem_font(handle: QStandardItemH; retval: QFontH); cdecl; external Qt4PasLib name 'QStandardItem_font'; procedure QStandardItem_setFont(handle: QStandardItemH; font: QFontH); cdecl; external Qt4PasLib name 'QStandardItem_setFont'; function QStandardItem_textAlignment(handle: QStandardItemH): QtAlignment; cdecl; external Qt4PasLib name 'QStandardItem_textAlignment'; procedure QStandardItem_setTextAlignment(handle: QStandardItemH; textAlignment: QtAlignment); cdecl; external Qt4PasLib name 'QStandardItem_setTextAlignment'; procedure QStandardItem_background(handle: QStandardItemH; retval: QBrushH); cdecl; external Qt4PasLib name 'QStandardItem_background'; procedure QStandardItem_setBackground(handle: QStandardItemH; brush: QBrushH); cdecl; external Qt4PasLib name 'QStandardItem_setBackground'; procedure QStandardItem_foreground(handle: QStandardItemH; retval: QBrushH); cdecl; external Qt4PasLib name 'QStandardItem_foreground'; procedure QStandardItem_setForeground(handle: QStandardItemH; brush: QBrushH); cdecl; external Qt4PasLib name 'QStandardItem_setForeground'; function QStandardItem_checkState(handle: QStandardItemH): QtCheckState; cdecl; external Qt4PasLib name 'QStandardItem_checkState'; procedure QStandardItem_setCheckState(handle: QStandardItemH; checkState: QtCheckState); cdecl; external Qt4PasLib name 'QStandardItem_setCheckState'; procedure QStandardItem_accessibleText(handle: QStandardItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QStandardItem_accessibleText'; procedure QStandardItem_setAccessibleText(handle: QStandardItemH; accessibleText: PWideString); cdecl; external Qt4PasLib name 'QStandardItem_setAccessibleText'; procedure QStandardItem_accessibleDescription(handle: QStandardItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QStandardItem_accessibleDescription'; procedure QStandardItem_setAccessibleDescription(handle: QStandardItemH; accessibleDescription: PWideString); cdecl; external Qt4PasLib name 'QStandardItem_setAccessibleDescription'; function QStandardItem_flags(handle: QStandardItemH): QtItemFlags; cdecl; external Qt4PasLib name 'QStandardItem_flags'; procedure QStandardItem_setFlags(handle: QStandardItemH; flags: QtItemFlags); cdecl; external Qt4PasLib name 'QStandardItem_setFlags'; function QStandardItem_isEnabled(handle: QStandardItemH): Boolean; cdecl; external Qt4PasLib name 'QStandardItem_isEnabled'; procedure QStandardItem_setEnabled(handle: QStandardItemH; enabled: Boolean); cdecl; external Qt4PasLib name 'QStandardItem_setEnabled'; function QStandardItem_isEditable(handle: QStandardItemH): Boolean; cdecl; external Qt4PasLib name 'QStandardItem_isEditable'; procedure QStandardItem_setEditable(handle: QStandardItemH; editable: Boolean); cdecl; external Qt4PasLib name 'QStandardItem_setEditable'; function QStandardItem_isSelectable(handle: QStandardItemH): Boolean; cdecl; external Qt4PasLib name 'QStandardItem_isSelectable'; procedure QStandardItem_setSelectable(handle: QStandardItemH; selectable: Boolean); cdecl; external Qt4PasLib name 'QStandardItem_setSelectable'; function QStandardItem_isCheckable(handle: QStandardItemH): Boolean; cdecl; external Qt4PasLib name 'QStandardItem_isCheckable'; procedure QStandardItem_setCheckable(handle: QStandardItemH; checkable: Boolean); cdecl; external Qt4PasLib name 'QStandardItem_setCheckable'; function QStandardItem_isTristate(handle: QStandardItemH): Boolean; cdecl; external Qt4PasLib name 'QStandardItem_isTristate'; procedure QStandardItem_setTristate(handle: QStandardItemH; tristate: Boolean); cdecl; external Qt4PasLib name 'QStandardItem_setTristate'; function QStandardItem_isDragEnabled(handle: QStandardItemH): Boolean; cdecl; external Qt4PasLib name 'QStandardItem_isDragEnabled'; procedure QStandardItem_setDragEnabled(handle: QStandardItemH; dragEnabled: Boolean); cdecl; external Qt4PasLib name 'QStandardItem_setDragEnabled'; function QStandardItem_isDropEnabled(handle: QStandardItemH): Boolean; cdecl; external Qt4PasLib name 'QStandardItem_isDropEnabled'; procedure QStandardItem_setDropEnabled(handle: QStandardItemH; dropEnabled: Boolean); cdecl; external Qt4PasLib name 'QStandardItem_setDropEnabled'; function QStandardItem_parent(handle: QStandardItemH): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItem_parent'; function QStandardItem_row(handle: QStandardItemH): Integer; cdecl; external Qt4PasLib name 'QStandardItem_row'; function QStandardItem_column(handle: QStandardItemH): Integer; cdecl; external Qt4PasLib name 'QStandardItem_column'; procedure QStandardItem_index(handle: QStandardItemH; retval: QModelIndexH); cdecl; external Qt4PasLib name 'QStandardItem_index'; function QStandardItem_model(handle: QStandardItemH): QStandardItemModelH; cdecl; external Qt4PasLib name 'QStandardItem_model'; function QStandardItem_rowCount(handle: QStandardItemH): Integer; cdecl; external Qt4PasLib name 'QStandardItem_rowCount'; procedure QStandardItem_setRowCount(handle: QStandardItemH; rows: Integer); cdecl; external Qt4PasLib name 'QStandardItem_setRowCount'; function QStandardItem_columnCount(handle: QStandardItemH): Integer; cdecl; external Qt4PasLib name 'QStandardItem_columnCount'; procedure QStandardItem_setColumnCount(handle: QStandardItemH; columns: Integer); cdecl; external Qt4PasLib name 'QStandardItem_setColumnCount'; function QStandardItem_hasChildren(handle: QStandardItemH): Boolean; cdecl; external Qt4PasLib name 'QStandardItem_hasChildren'; function QStandardItem_child(handle: QStandardItemH; row: Integer; column: Integer = 0): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItem_child'; procedure QStandardItem_setChild(handle: QStandardItemH; row: Integer; column: Integer; item: QStandardItemH); cdecl; external Qt4PasLib name 'QStandardItem_setChild'; procedure QStandardItem_setChild(handle: QStandardItemH; row: Integer; item: QStandardItemH); cdecl; external Qt4PasLib name 'QStandardItem_setChild2'; procedure QStandardItem_insertRow(handle: QStandardItemH; row: Integer; items: PPtrIntArray); cdecl; external Qt4PasLib name 'QStandardItem_insertRow'; procedure QStandardItem_insertColumn(handle: QStandardItemH; column: Integer; items: PPtrIntArray); cdecl; external Qt4PasLib name 'QStandardItem_insertColumn'; procedure QStandardItem_insertRows(handle: QStandardItemH; row: Integer; items: PPtrIntArray); cdecl; external Qt4PasLib name 'QStandardItem_insertRows'; procedure QStandardItem_insertRows(handle: QStandardItemH; row: Integer; count: Integer); cdecl; external Qt4PasLib name 'QStandardItem_insertRows2'; procedure QStandardItem_insertColumns(handle: QStandardItemH; column: Integer; count: Integer); cdecl; external Qt4PasLib name 'QStandardItem_insertColumns'; procedure QStandardItem_removeRow(handle: QStandardItemH; row: Integer); cdecl; external Qt4PasLib name 'QStandardItem_removeRow'; procedure QStandardItem_removeColumn(handle: QStandardItemH; column: Integer); cdecl; external Qt4PasLib name 'QStandardItem_removeColumn'; procedure QStandardItem_removeRows(handle: QStandardItemH; row: Integer; count: Integer); cdecl; external Qt4PasLib name 'QStandardItem_removeRows'; procedure QStandardItem_removeColumns(handle: QStandardItemH; column: Integer; count: Integer); cdecl; external Qt4PasLib name 'QStandardItem_removeColumns'; procedure QStandardItem_appendRow(handle: QStandardItemH; items: PPtrIntArray); cdecl; external Qt4PasLib name 'QStandardItem_appendRow'; procedure QStandardItem_appendRows(handle: QStandardItemH; items: PPtrIntArray); cdecl; external Qt4PasLib name 'QStandardItem_appendRows'; procedure QStandardItem_appendColumn(handle: QStandardItemH; items: PPtrIntArray); cdecl; external Qt4PasLib name 'QStandardItem_appendColumn'; procedure QStandardItem_insertRow(handle: QStandardItemH; row: Integer; item: QStandardItemH); cdecl; external Qt4PasLib name 'QStandardItem_insertRow2'; procedure QStandardItem_appendRow(handle: QStandardItemH; item: QStandardItemH); cdecl; external Qt4PasLib name 'QStandardItem_appendRow2'; function QStandardItem_takeChild(handle: QStandardItemH; row: Integer; column: Integer = 0): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItem_takeChild'; procedure QStandardItem_takeRow(handle: QStandardItemH; retval: PPtrIntArray; row: Integer); cdecl; external Qt4PasLib name 'QStandardItem_takeRow'; procedure QStandardItem_takeColumn(handle: QStandardItemH; retval: PPtrIntArray; column: Integer); cdecl; external Qt4PasLib name 'QStandardItem_takeColumn'; procedure QStandardItem_sortChildren(handle: QStandardItemH; column: Integer; order: QtSortOrder = QtAscendingOrder); cdecl; external Qt4PasLib name 'QStandardItem_sortChildren'; function QStandardItem_clone(handle: QStandardItemH): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItem_clone'; function QStandardItem_type(handle: QStandardItemH): Integer; cdecl; external Qt4PasLib name 'QStandardItem_type'; procedure QStandardItem_read(handle: QStandardItemH; _in: QDataStreamH); cdecl; external Qt4PasLib name 'QStandardItem_read'; procedure QStandardItem_write(handle: QStandardItemH; _out: QDataStreamH); cdecl; external Qt4PasLib name 'QStandardItem_write'; function QStandardItemModel_create(parent: QObjectH = nil): QStandardItemModelH; cdecl; external Qt4PasLib name 'QStandardItemModel_create'; procedure QStandardItemModel_destroy(handle: QStandardItemModelH); cdecl; external Qt4PasLib name 'QStandardItemModel_destroy'; function QStandardItemModel_create(rows: Integer; columns: Integer; parent: QObjectH = nil): QStandardItemModelH; cdecl; external Qt4PasLib name 'QStandardItemModel_create2'; procedure QStandardItemModel_index(handle: QStandardItemModelH; retval: QModelIndexH; row: Integer; column: Integer; parent: QModelIndexH = nil); cdecl; external Qt4PasLib name 'QStandardItemModel_index'; procedure QStandardItemModel_parent(handle: QStandardItemModelH; retval: QModelIndexH; child: QModelIndexH); cdecl; external Qt4PasLib name 'QStandardItemModel_parent'; function QStandardItemModel_rowCount(handle: QStandardItemModelH; parent: QModelIndexH = nil): Integer; cdecl; external Qt4PasLib name 'QStandardItemModel_rowCount'; function QStandardItemModel_columnCount(handle: QStandardItemModelH; parent: QModelIndexH = nil): Integer; cdecl; external Qt4PasLib name 'QStandardItemModel_columnCount'; function QStandardItemModel_hasChildren(handle: QStandardItemModelH; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QStandardItemModel_hasChildren'; procedure QStandardItemModel_data(handle: QStandardItemModelH; retval: QVariantH; index: QModelIndexH; role: QtItemDataRole = QtDisplayRole); cdecl; external Qt4PasLib name 'QStandardItemModel_data'; function QStandardItemModel_setData(handle: QStandardItemModelH; index: QModelIndexH; value: QVariantH; role: QtItemDataRole = QtEditRole): Boolean; cdecl; external Qt4PasLib name 'QStandardItemModel_setData'; procedure QStandardItemModel_headerData(handle: QStandardItemModelH; retval: QVariantH; section: Integer; orientation: QtOrientation; role: QtItemDataRole = QtDisplayRole); cdecl; external Qt4PasLib name 'QStandardItemModel_headerData'; function QStandardItemModel_setHeaderData(handle: QStandardItemModelH; section: Integer; orientation: QtOrientation; value: QVariantH; role: QtItemDataRole = QtEditRole): Boolean; cdecl; external Qt4PasLib name 'QStandardItemModel_setHeaderData'; function QStandardItemModel_insertRows(handle: QStandardItemModelH; row: Integer; count: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QStandardItemModel_insertRows'; function QStandardItemModel_insertColumns(handle: QStandardItemModelH; column: Integer; count: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QStandardItemModel_insertColumns'; function QStandardItemModel_removeRows(handle: QStandardItemModelH; row: Integer; count: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QStandardItemModel_removeRows'; function QStandardItemModel_removeColumns(handle: QStandardItemModelH; column: Integer; count: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QStandardItemModel_removeColumns'; function QStandardItemModel_flags(handle: QStandardItemModelH; index: QModelIndexH): QtItemFlags; cdecl; external Qt4PasLib name 'QStandardItemModel_flags'; function QStandardItemModel_supportedDropActions(handle: QStandardItemModelH): QtDropActions; cdecl; external Qt4PasLib name 'QStandardItemModel_supportedDropActions'; procedure QStandardItemModel_clear(handle: QStandardItemModelH); cdecl; external Qt4PasLib name 'QStandardItemModel_clear'; procedure QStandardItemModel_sort(handle: QStandardItemModelH; column: Integer; order: QtSortOrder = QtAscendingOrder); cdecl; external Qt4PasLib name 'QStandardItemModel_sort'; function QStandardItemModel_itemFromIndex(handle: QStandardItemModelH; index: QModelIndexH): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItemModel_itemFromIndex'; procedure QStandardItemModel_indexFromItem(handle: QStandardItemModelH; retval: QModelIndexH; item: QStandardItemH); cdecl; external Qt4PasLib name 'QStandardItemModel_indexFromItem'; function QStandardItemModel_item(handle: QStandardItemModelH; row: Integer; column: Integer = 0): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItemModel_item'; procedure QStandardItemModel_setItem(handle: QStandardItemModelH; row: Integer; column: Integer; item: QStandardItemH); cdecl; external Qt4PasLib name 'QStandardItemModel_setItem'; procedure QStandardItemModel_setItem(handle: QStandardItemModelH; row: Integer; item: QStandardItemH); cdecl; external Qt4PasLib name 'QStandardItemModel_setItem2'; function QStandardItemModel_invisibleRootItem(handle: QStandardItemModelH): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItemModel_invisibleRootItem'; function QStandardItemModel_horizontalHeaderItem(handle: QStandardItemModelH; column: Integer): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItemModel_horizontalHeaderItem'; procedure QStandardItemModel_setHorizontalHeaderItem(handle: QStandardItemModelH; column: Integer; item: QStandardItemH); cdecl; external Qt4PasLib name 'QStandardItemModel_setHorizontalHeaderItem'; function QStandardItemModel_verticalHeaderItem(handle: QStandardItemModelH; row: Integer): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItemModel_verticalHeaderItem'; procedure QStandardItemModel_setVerticalHeaderItem(handle: QStandardItemModelH; row: Integer; item: QStandardItemH); cdecl; external Qt4PasLib name 'QStandardItemModel_setVerticalHeaderItem'; procedure QStandardItemModel_setHorizontalHeaderLabels(handle: QStandardItemModelH; labels: QStringListH); cdecl; external Qt4PasLib name 'QStandardItemModel_setHorizontalHeaderLabels'; procedure QStandardItemModel_setVerticalHeaderLabels(handle: QStandardItemModelH; labels: QStringListH); cdecl; external Qt4PasLib name 'QStandardItemModel_setVerticalHeaderLabels'; procedure QStandardItemModel_setRowCount(handle: QStandardItemModelH; rows: Integer); cdecl; external Qt4PasLib name 'QStandardItemModel_setRowCount'; procedure QStandardItemModel_setColumnCount(handle: QStandardItemModelH; columns: Integer); cdecl; external Qt4PasLib name 'QStandardItemModel_setColumnCount'; procedure QStandardItemModel_appendRow(handle: QStandardItemModelH; items: PPtrIntArray); cdecl; external Qt4PasLib name 'QStandardItemModel_appendRow'; procedure QStandardItemModel_appendColumn(handle: QStandardItemModelH; items: PPtrIntArray); cdecl; external Qt4PasLib name 'QStandardItemModel_appendColumn'; procedure QStandardItemModel_appendRow(handle: QStandardItemModelH; item: QStandardItemH); cdecl; external Qt4PasLib name 'QStandardItemModel_appendRow2'; procedure QStandardItemModel_insertRow(handle: QStandardItemModelH; row: Integer; items: PPtrIntArray); cdecl; external Qt4PasLib name 'QStandardItemModel_insertRow'; procedure QStandardItemModel_insertColumn(handle: QStandardItemModelH; column: Integer; items: PPtrIntArray); cdecl; external Qt4PasLib name 'QStandardItemModel_insertColumn'; procedure QStandardItemModel_insertRow(handle: QStandardItemModelH; row: Integer; item: QStandardItemH); cdecl; external Qt4PasLib name 'QStandardItemModel_insertRow2'; function QStandardItemModel_insertRow(handle: QStandardItemModelH; row: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QStandardItemModel_insertRow3'; function QStandardItemModel_insertColumn(handle: QStandardItemModelH; column: Integer; parent: QModelIndexH = nil): Boolean; cdecl; external Qt4PasLib name 'QStandardItemModel_insertColumn2'; function QStandardItemModel_takeItem(handle: QStandardItemModelH; row: Integer; column: Integer = 0): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItemModel_takeItem'; procedure QStandardItemModel_takeRow(handle: QStandardItemModelH; retval: PPtrIntArray; row: Integer); cdecl; external Qt4PasLib name 'QStandardItemModel_takeRow'; procedure QStandardItemModel_takeColumn(handle: QStandardItemModelH; retval: PPtrIntArray; column: Integer); cdecl; external Qt4PasLib name 'QStandardItemModel_takeColumn'; function QStandardItemModel_takeHorizontalHeaderItem(handle: QStandardItemModelH; column: Integer): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItemModel_takeHorizontalHeaderItem'; function QStandardItemModel_takeVerticalHeaderItem(handle: QStandardItemModelH; row: Integer): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItemModel_takeVerticalHeaderItem'; function QStandardItemModel_itemPrototype(handle: QStandardItemModelH): QStandardItemH; cdecl; external Qt4PasLib name 'QStandardItemModel_itemPrototype'; procedure QStandardItemModel_setItemPrototype(handle: QStandardItemModelH; item: QStandardItemH); cdecl; external Qt4PasLib name 'QStandardItemModel_setItemPrototype'; procedure QStandardItemModel_findItems(handle: QStandardItemModelH; retval: PPtrIntArray; text: PWideString; flags: QtMatchFlags = QtMatchExactly; column: Integer = 0); cdecl; external Qt4PasLib name 'QStandardItemModel_findItems'; function QStandardItemModel_sortRole(handle: QStandardItemModelH): Integer; cdecl; external Qt4PasLib name 'QStandardItemModel_sortRole'; procedure QStandardItemModel_setSortRole(handle: QStandardItemModelH; role: Integer); cdecl; external Qt4PasLib name 'QStandardItemModel_setSortRole'; procedure QStandardItemModel_mimeTypes(handle: QStandardItemModelH; retval: QStringListH); cdecl; external Qt4PasLib name 'QStandardItemModel_mimeTypes'; function QStandardItemModel_dropMimeData(handle: QStandardItemModelH; data: QMimeDataH; action: QtDropAction; row: Integer; column: Integer; parent: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QStandardItemModel_dropMimeData'; type QStandardItemModel_itemChanged_Event = procedure (item: QStandardItemH) of object cdecl; type QAbstractItemDelegateEndEditHint = ( // QAbstractItemDelegate::EndEditHint (1) QAbstractItemDelegateNoHint, QAbstractItemDelegateEditNextItem, QAbstractItemDelegateEditPreviousItem, QAbstractItemDelegateSubmitModelCache, QAbstractItemDelegateRevertModelCache ); procedure QAbstractItemDelegate_paint(handle: QAbstractItemDelegateH; painter: QPainterH; option: QStyleOptionViewItemH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemDelegate_paint'; procedure QAbstractItemDelegate_sizeHint(handle: QAbstractItemDelegateH; retval: PSize; option: QStyleOptionViewItemH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemDelegate_sizeHint'; function QAbstractItemDelegate_createEditor(handle: QAbstractItemDelegateH; parent: QWidgetH; option: QStyleOptionViewItemH; index: QModelIndexH): QWidgetH; cdecl; external Qt4PasLib name 'QAbstractItemDelegate_createEditor'; procedure QAbstractItemDelegate_setEditorData(handle: QAbstractItemDelegateH; editor: QWidgetH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemDelegate_setEditorData'; procedure QAbstractItemDelegate_setModelData(handle: QAbstractItemDelegateH; editor: QWidgetH; model: QAbstractItemModelH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemDelegate_setModelData'; procedure QAbstractItemDelegate_updateEditorGeometry(handle: QAbstractItemDelegateH; editor: QWidgetH; option: QStyleOptionViewItemH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QAbstractItemDelegate_updateEditorGeometry'; function QAbstractItemDelegate_editorEvent(handle: QAbstractItemDelegateH; event: QEventH; model: QAbstractItemModelH; option: QStyleOptionViewItemH; index: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemDelegate_editorEvent'; procedure QAbstractItemDelegate_elidedText(retval: PWideString; fontMetrics: QFontMetricsH; width: Integer; mode: QtTextElideMode; text: PWideString); cdecl; external Qt4PasLib name 'QAbstractItemDelegate_elidedText'; function QAbstractItemDelegate_helpEvent(handle: QAbstractItemDelegateH; event: QHelpEventH; view: QAbstractItemViewH; option: QStyleOptionViewItemH; index: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QAbstractItemDelegate_helpEvent'; type QAbstractItemDelegate_commitData_Event = procedure (editor: QWidgetH) of object cdecl; QAbstractItemDelegate_closeEditor_Event = procedure (editor: QWidgetH; hint: QAbstractItemDelegateEndEditHint = QAbstractItemDelegateNoHint) of object cdecl; QAbstractItemDelegate_closeEditor2_Event = procedure (editor: QWidgetH) of object cdecl; QAbstractItemDelegate_sizeHintChanged_Event = procedure (AnonParam1: QModelIndexH) of object cdecl; function QItemDelegate_create(parent: QObjectH = nil): QItemDelegateH; cdecl; external Qt4PasLib name 'QItemDelegate_create'; procedure QItemDelegate_destroy(handle: QItemDelegateH); cdecl; external Qt4PasLib name 'QItemDelegate_destroy'; function QItemDelegate_hasClipping(handle: QItemDelegateH): Boolean; cdecl; external Qt4PasLib name 'QItemDelegate_hasClipping'; procedure QItemDelegate_setClipping(handle: QItemDelegateH; clip: Boolean); cdecl; external Qt4PasLib name 'QItemDelegate_setClipping'; procedure QItemDelegate_paint(handle: QItemDelegateH; painter: QPainterH; option: QStyleOptionViewItemH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QItemDelegate_paint'; procedure QItemDelegate_sizeHint(handle: QItemDelegateH; retval: PSize; option: QStyleOptionViewItemH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QItemDelegate_sizeHint'; function QItemDelegate_createEditor(handle: QItemDelegateH; parent: QWidgetH; option: QStyleOptionViewItemH; index: QModelIndexH): QWidgetH; cdecl; external Qt4PasLib name 'QItemDelegate_createEditor'; procedure QItemDelegate_setEditorData(handle: QItemDelegateH; editor: QWidgetH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QItemDelegate_setEditorData'; procedure QItemDelegate_setModelData(handle: QItemDelegateH; editor: QWidgetH; model: QAbstractItemModelH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QItemDelegate_setModelData'; procedure QItemDelegate_updateEditorGeometry(handle: QItemDelegateH; editor: QWidgetH; option: QStyleOptionViewItemH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QItemDelegate_updateEditorGeometry'; function QItemDelegate_itemEditorFactory(handle: QItemDelegateH): QItemEditorFactoryH; cdecl; external Qt4PasLib name 'QItemDelegate_itemEditorFactory'; procedure QItemDelegate_setItemEditorFactory(handle: QItemDelegateH; factory: QItemEditorFactoryH); cdecl; external Qt4PasLib name 'QItemDelegate_setItemEditorFactory'; function QLCLItemDelegate_create(parent: QObjectH = nil): QLCLItemDelegateH; cdecl; external Qt4PasLib name 'QLCLItemDelegate_create'; procedure QLCLItemDelegate_destroy(handle: QLCLItemDelegateH); cdecl; external Qt4PasLib name 'QLCLItemDelegate_destroy'; procedure QLCLItemDelegate_override_sizeHint(handle: QLCLItemDelegateH; hook: QLCLItemDelegate_sizeHint_Override); cdecl; external Qt4PasLib name 'QLCLItemDelegate_override_sizeHint'; procedure QLCLItemDelegate_override_paint(handle: QLCLItemDelegateH; hook: QLCLItemDelegate_paint_Override); cdecl; external Qt4PasLib name 'QLCLItemDelegate_override_paint'; procedure QLCLItemDelegate_override_createEditor(handle: QLCLItemDelegateH; hook: QLCLItemDelegate_createEditor_Override); cdecl; external Qt4PasLib name 'QLCLItemDelegate_override_createEditor'; procedure QLCLItemDelegate_override_setEditorData(handle: QLCLItemDelegateH; hook: QLCLItemDelegate_setEditorData_Override); cdecl; external Qt4PasLib name 'QLCLItemDelegate_override_setEditorData'; procedure QLCLItemDelegate_override_setModelData(handle: QLCLItemDelegateH; hook: QLCLItemDelegate_setModelData_Override); cdecl; external Qt4PasLib name 'QLCLItemDelegate_override_setModelData'; procedure QLCLItemDelegate_override_updateEditorGeometry(handle: QLCLItemDelegateH; hook: QLCLItemDelegate_updateEditorGeometry_Override); cdecl; external Qt4PasLib name 'QLCLItemDelegate_override_updateEditorGeometry'; procedure QLCLItemDelegate_override_editorEvent(handle: QLCLItemDelegateH; hook: QLCLItemDelegate_editorEvent_Override); cdecl; external Qt4PasLib name 'QLCLItemDelegate_override_editorEvent'; function QLCLItemDelegate_InheritedEditorEvent(handle: QLCLItemDelegateH; event: QEventH; model: QAbstractItemModelH; option: QStyleOptionViewItemH; index: QModelIndexH): Boolean; cdecl; external Qt4PasLib name 'QLCLItemDelegate_InheritedEditorEvent'; function QTableView_create(parent: QWidgetH = nil): QTableViewH; cdecl; external Qt4PasLib name 'QTableView_create'; procedure QTableView_destroy(handle: QTableViewH); cdecl; external Qt4PasLib name 'QTableView_destroy'; procedure QTableView_setModel(handle: QTableViewH; model: QAbstractItemModelH); cdecl; external Qt4PasLib name 'QTableView_setModel'; procedure QTableView_setRootIndex(handle: QTableViewH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QTableView_setRootIndex'; procedure QTableView_setSelectionModel(handle: QTableViewH; selectionModel: QItemSelectionModelH); cdecl; external Qt4PasLib name 'QTableView_setSelectionModel'; function QTableView_horizontalHeader(handle: QTableViewH): QHeaderViewH; cdecl; external Qt4PasLib name 'QTableView_horizontalHeader'; function QTableView_verticalHeader(handle: QTableViewH): QHeaderViewH; cdecl; external Qt4PasLib name 'QTableView_verticalHeader'; procedure QTableView_setHorizontalHeader(handle: QTableViewH; header: QHeaderViewH); cdecl; external Qt4PasLib name 'QTableView_setHorizontalHeader'; procedure QTableView_setVerticalHeader(handle: QTableViewH; header: QHeaderViewH); cdecl; external Qt4PasLib name 'QTableView_setVerticalHeader'; function QTableView_rowViewportPosition(handle: QTableViewH; row: Integer): Integer; cdecl; external Qt4PasLib name 'QTableView_rowViewportPosition'; function QTableView_rowAt(handle: QTableViewH; y: Integer): Integer; cdecl; external Qt4PasLib name 'QTableView_rowAt'; procedure QTableView_setRowHeight(handle: QTableViewH; row: Integer; height: Integer); cdecl; external Qt4PasLib name 'QTableView_setRowHeight'; function QTableView_rowHeight(handle: QTableViewH; row: Integer): Integer; cdecl; external Qt4PasLib name 'QTableView_rowHeight'; function QTableView_columnViewportPosition(handle: QTableViewH; column: Integer): Integer; cdecl; external Qt4PasLib name 'QTableView_columnViewportPosition'; function QTableView_columnAt(handle: QTableViewH; x: Integer): Integer; cdecl; external Qt4PasLib name 'QTableView_columnAt'; procedure QTableView_setColumnWidth(handle: QTableViewH; column: Integer; width: Integer); cdecl; external Qt4PasLib name 'QTableView_setColumnWidth'; function QTableView_columnWidth(handle: QTableViewH; column: Integer): Integer; cdecl; external Qt4PasLib name 'QTableView_columnWidth'; function QTableView_isRowHidden(handle: QTableViewH; row: Integer): Boolean; cdecl; external Qt4PasLib name 'QTableView_isRowHidden'; procedure QTableView_setRowHidden(handle: QTableViewH; row: Integer; hide: Boolean); cdecl; external Qt4PasLib name 'QTableView_setRowHidden'; function QTableView_isColumnHidden(handle: QTableViewH; column: Integer): Boolean; cdecl; external Qt4PasLib name 'QTableView_isColumnHidden'; procedure QTableView_setColumnHidden(handle: QTableViewH; column: Integer; hide: Boolean); cdecl; external Qt4PasLib name 'QTableView_setColumnHidden'; procedure QTableView_setSortingEnabled(handle: QTableViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QTableView_setSortingEnabled'; function QTableView_isSortingEnabled(handle: QTableViewH): Boolean; cdecl; external Qt4PasLib name 'QTableView_isSortingEnabled'; function QTableView_showGrid(handle: QTableViewH): Boolean; cdecl; external Qt4PasLib name 'QTableView_showGrid'; function QTableView_gridStyle(handle: QTableViewH): QtPenStyle; cdecl; external Qt4PasLib name 'QTableView_gridStyle'; procedure QTableView_setGridStyle(handle: QTableViewH; style: QtPenStyle); cdecl; external Qt4PasLib name 'QTableView_setGridStyle'; procedure QTableView_setWordWrap(handle: QTableViewH; _on: Boolean); cdecl; external Qt4PasLib name 'QTableView_setWordWrap'; function QTableView_wordWrap(handle: QTableViewH): Boolean; cdecl; external Qt4PasLib name 'QTableView_wordWrap'; procedure QTableView_setCornerButtonEnabled(handle: QTableViewH; enable: Boolean); cdecl; external Qt4PasLib name 'QTableView_setCornerButtonEnabled'; function QTableView_isCornerButtonEnabled(handle: QTableViewH): Boolean; cdecl; external Qt4PasLib name 'QTableView_isCornerButtonEnabled'; procedure QTableView_visualRect(handle: QTableViewH; retval: PRect; index: QModelIndexH); cdecl; external Qt4PasLib name 'QTableView_visualRect'; procedure QTableView_scrollTo(handle: QTableViewH; index: QModelIndexH; hint: QAbstractItemViewScrollHint); cdecl; external Qt4PasLib name 'QTableView_scrollTo'; procedure QTableView_indexAt(handle: QTableViewH; retval: QModelIndexH; p: PQtPoint); cdecl; external Qt4PasLib name 'QTableView_indexAt'; procedure QTableView_setSpan(handle: QTableViewH; row: Integer; column: Integer; rowSpan: Integer; columnSpan: Integer); cdecl; external Qt4PasLib name 'QTableView_setSpan'; function QTableView_rowSpan(handle: QTableViewH; row: Integer; column: Integer): Integer; cdecl; external Qt4PasLib name 'QTableView_rowSpan'; function QTableView_columnSpan(handle: QTableViewH; row: Integer; column: Integer): Integer; cdecl; external Qt4PasLib name 'QTableView_columnSpan'; procedure QTableView_clearSpans(handle: QTableViewH); cdecl; external Qt4PasLib name 'QTableView_clearSpans'; procedure QTableView_sortByColumn(handle: QTableViewH; column: Integer; order: QtSortOrder); cdecl; external Qt4PasLib name 'QTableView_sortByColumn'; procedure QTableView_selectRow(handle: QTableViewH; row: Integer); cdecl; external Qt4PasLib name 'QTableView_selectRow'; procedure QTableView_selectColumn(handle: QTableViewH; column: Integer); cdecl; external Qt4PasLib name 'QTableView_selectColumn'; procedure QTableView_hideRow(handle: QTableViewH; row: Integer); cdecl; external Qt4PasLib name 'QTableView_hideRow'; procedure QTableView_hideColumn(handle: QTableViewH; column: Integer); cdecl; external Qt4PasLib name 'QTableView_hideColumn'; procedure QTableView_showRow(handle: QTableViewH; row: Integer); cdecl; external Qt4PasLib name 'QTableView_showRow'; procedure QTableView_showColumn(handle: QTableViewH; column: Integer); cdecl; external Qt4PasLib name 'QTableView_showColumn'; procedure QTableView_resizeRowToContents(handle: QTableViewH; row: Integer); cdecl; external Qt4PasLib name 'QTableView_resizeRowToContents'; procedure QTableView_resizeRowsToContents(handle: QTableViewH); cdecl; external Qt4PasLib name 'QTableView_resizeRowsToContents'; procedure QTableView_resizeColumnToContents(handle: QTableViewH; column: Integer); cdecl; external Qt4PasLib name 'QTableView_resizeColumnToContents'; procedure QTableView_resizeColumnsToContents(handle: QTableViewH); cdecl; external Qt4PasLib name 'QTableView_resizeColumnsToContents'; procedure QTableView_sortByColumn(handle: QTableViewH; column: Integer); cdecl; external Qt4PasLib name 'QTableView_sortByColumn2'; procedure QTableView_setShowGrid(handle: QTableViewH; show: Boolean); cdecl; external Qt4PasLib name 'QTableView_setShowGrid'; type QTableWidgetItemItemType = ( //QTableWidgetItem::ItemType (2) QTableWidgetItemType = 0, QTableWidgetItemUserType = 1000 ); function QTableWidgetSelectionRange_create(): QTableWidgetSelectionRangeH; cdecl; external Qt4PasLib name 'QTableWidgetSelectionRange_create'; procedure QTableWidgetSelectionRange_destroy(handle: QTableWidgetSelectionRangeH); cdecl; external Qt4PasLib name 'QTableWidgetSelectionRange_destroy'; function QTableWidgetSelectionRange_create(top: Integer; left: Integer; bottom: Integer; right: Integer): QTableWidgetSelectionRangeH; cdecl; external Qt4PasLib name 'QTableWidgetSelectionRange_create2'; function QTableWidgetSelectionRange_create(other: QTableWidgetSelectionRangeH): QTableWidgetSelectionRangeH; cdecl; external Qt4PasLib name 'QTableWidgetSelectionRange_create3'; function QTableWidgetSelectionRange_topRow(handle: QTableWidgetSelectionRangeH): Integer; cdecl; external Qt4PasLib name 'QTableWidgetSelectionRange_topRow'; function QTableWidgetSelectionRange_bottomRow(handle: QTableWidgetSelectionRangeH): Integer; cdecl; external Qt4PasLib name 'QTableWidgetSelectionRange_bottomRow'; function QTableWidgetSelectionRange_leftColumn(handle: QTableWidgetSelectionRangeH): Integer; cdecl; external Qt4PasLib name 'QTableWidgetSelectionRange_leftColumn'; function QTableWidgetSelectionRange_rightColumn(handle: QTableWidgetSelectionRangeH): Integer; cdecl; external Qt4PasLib name 'QTableWidgetSelectionRange_rightColumn'; function QTableWidgetSelectionRange_rowCount(handle: QTableWidgetSelectionRangeH): Integer; cdecl; external Qt4PasLib name 'QTableWidgetSelectionRange_rowCount'; function QTableWidgetSelectionRange_columnCount(handle: QTableWidgetSelectionRangeH): Integer; cdecl; external Qt4PasLib name 'QTableWidgetSelectionRange_columnCount'; function QTableWidgetItem_create(_type: Integer = QTableWidgetItemType): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidgetItem_create'; procedure QTableWidgetItem_destroy(handle: QTableWidgetItemH); cdecl; external Qt4PasLib name 'QTableWidgetItem_destroy'; function QTableWidgetItem_create(text: PWideString; _type: Integer = QTableWidgetItemType): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidgetItem_create2'; function QTableWidgetItem_create(icon: QIconH; text: PWideString; _type: Integer = QTableWidgetItemType): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidgetItem_create3'; function QTableWidgetItem_create(other: QTableWidgetItemH): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidgetItem_create4'; function QTableWidgetItem_clone(handle: QTableWidgetItemH): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidgetItem_clone'; function QTableWidgetItem_tableWidget(handle: QTableWidgetItemH): QTableWidgetH; cdecl; external Qt4PasLib name 'QTableWidgetItem_tableWidget'; function QTableWidgetItem_row(handle: QTableWidgetItemH): Integer; cdecl; external Qt4PasLib name 'QTableWidgetItem_row'; function QTableWidgetItem_column(handle: QTableWidgetItemH): Integer; cdecl; external Qt4PasLib name 'QTableWidgetItem_column'; procedure QTableWidgetItem_setSelected(handle: QTableWidgetItemH; select: Boolean); cdecl; external Qt4PasLib name 'QTableWidgetItem_setSelected'; function QTableWidgetItem_isSelected(handle: QTableWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QTableWidgetItem_isSelected'; function QTableWidgetItem_flags(handle: QTableWidgetItemH): QtItemFlags; cdecl; external Qt4PasLib name 'QTableWidgetItem_flags'; procedure QTableWidgetItem_setFlags(handle: QTableWidgetItemH; flags: QtItemFlags); cdecl; external Qt4PasLib name 'QTableWidgetItem_setFlags'; procedure QTableWidgetItem_text(handle: QTableWidgetItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QTableWidgetItem_text'; procedure QTableWidgetItem_setText(handle: QTableWidgetItemH; text: PWideString); cdecl; external Qt4PasLib name 'QTableWidgetItem_setText'; procedure QTableWidgetItem_icon(handle: QTableWidgetItemH; retval: QIconH); cdecl; external Qt4PasLib name 'QTableWidgetItem_icon'; procedure QTableWidgetItem_setIcon(handle: QTableWidgetItemH; icon: QIconH); cdecl; external Qt4PasLib name 'QTableWidgetItem_setIcon'; procedure QTableWidgetItem_statusTip(handle: QTableWidgetItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QTableWidgetItem_statusTip'; procedure QTableWidgetItem_setStatusTip(handle: QTableWidgetItemH; statusTip: PWideString); cdecl; external Qt4PasLib name 'QTableWidgetItem_setStatusTip'; procedure QTableWidgetItem_toolTip(handle: QTableWidgetItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QTableWidgetItem_toolTip'; procedure QTableWidgetItem_setToolTip(handle: QTableWidgetItemH; toolTip: PWideString); cdecl; external Qt4PasLib name 'QTableWidgetItem_setToolTip'; procedure QTableWidgetItem_whatsThis(handle: QTableWidgetItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QTableWidgetItem_whatsThis'; procedure QTableWidgetItem_setWhatsThis(handle: QTableWidgetItemH; whatsThis: PWideString); cdecl; external Qt4PasLib name 'QTableWidgetItem_setWhatsThis'; procedure QTableWidgetItem_font(handle: QTableWidgetItemH; retval: QFontH); cdecl; external Qt4PasLib name 'QTableWidgetItem_font'; procedure QTableWidgetItem_setFont(handle: QTableWidgetItemH; font: QFontH); cdecl; external Qt4PasLib name 'QTableWidgetItem_setFont'; function QTableWidgetItem_textAlignment(handle: QTableWidgetItemH): Integer; cdecl; external Qt4PasLib name 'QTableWidgetItem_textAlignment'; procedure QTableWidgetItem_setTextAlignment(handle: QTableWidgetItemH; alignment: Integer); cdecl; external Qt4PasLib name 'QTableWidgetItem_setTextAlignment'; procedure QTableWidgetItem_backgroundColor(handle: QTableWidgetItemH; retval: PQColor); cdecl; external Qt4PasLib name 'QTableWidgetItem_backgroundColor'; procedure QTableWidgetItem_setBackgroundColor(handle: QTableWidgetItemH; color: PQColor); cdecl; external Qt4PasLib name 'QTableWidgetItem_setBackgroundColor'; procedure QTableWidgetItem_background(handle: QTableWidgetItemH; retval: QBrushH); cdecl; external Qt4PasLib name 'QTableWidgetItem_background'; procedure QTableWidgetItem_setBackground(handle: QTableWidgetItemH; brush: QBrushH); cdecl; external Qt4PasLib name 'QTableWidgetItem_setBackground'; procedure QTableWidgetItem_textColor(handle: QTableWidgetItemH; retval: PQColor); cdecl; external Qt4PasLib name 'QTableWidgetItem_textColor'; procedure QTableWidgetItem_setTextColor(handle: QTableWidgetItemH; color: PQColor); cdecl; external Qt4PasLib name 'QTableWidgetItem_setTextColor'; procedure QTableWidgetItem_foreground(handle: QTableWidgetItemH; retval: QBrushH); cdecl; external Qt4PasLib name 'QTableWidgetItem_foreground'; procedure QTableWidgetItem_setForeground(handle: QTableWidgetItemH; brush: QBrushH); cdecl; external Qt4PasLib name 'QTableWidgetItem_setForeground'; function QTableWidgetItem_checkState(handle: QTableWidgetItemH): QtCheckState; cdecl; external Qt4PasLib name 'QTableWidgetItem_checkState'; procedure QTableWidgetItem_setCheckState(handle: QTableWidgetItemH; state: QtCheckState); cdecl; external Qt4PasLib name 'QTableWidgetItem_setCheckState'; procedure QTableWidgetItem_sizeHint(handle: QTableWidgetItemH; retval: PSize); cdecl; external Qt4PasLib name 'QTableWidgetItem_sizeHint'; procedure QTableWidgetItem_setSizeHint(handle: QTableWidgetItemH; size: PSize); cdecl; external Qt4PasLib name 'QTableWidgetItem_setSizeHint'; procedure QTableWidgetItem_data(handle: QTableWidgetItemH; retval: QVariantH; role: Integer); cdecl; external Qt4PasLib name 'QTableWidgetItem_data'; procedure QTableWidgetItem_setData(handle: QTableWidgetItemH; role: Integer; value: QVariantH); cdecl; external Qt4PasLib name 'QTableWidgetItem_setData'; procedure QTableWidgetItem_read(handle: QTableWidgetItemH; _in: QDataStreamH); cdecl; external Qt4PasLib name 'QTableWidgetItem_read'; procedure QTableWidgetItem_write(handle: QTableWidgetItemH; _out: QDataStreamH); cdecl; external Qt4PasLib name 'QTableWidgetItem_write'; function QTableWidgetItem_type(handle: QTableWidgetItemH): Integer; cdecl; external Qt4PasLib name 'QTableWidgetItem_type'; function QTableWidget_create(parent: QWidgetH = nil): QTableWidgetH; cdecl; external Qt4PasLib name 'QTableWidget_create'; procedure QTableWidget_destroy(handle: QTableWidgetH); cdecl; external Qt4PasLib name 'QTableWidget_destroy'; function QTableWidget_create(rows: Integer; columns: Integer; parent: QWidgetH = nil): QTableWidgetH; cdecl; external Qt4PasLib name 'QTableWidget_create2'; procedure QTableWidget_setRowCount(handle: QTableWidgetH; rows: Integer); cdecl; external Qt4PasLib name 'QTableWidget_setRowCount'; function QTableWidget_rowCount(handle: QTableWidgetH): Integer; cdecl; external Qt4PasLib name 'QTableWidget_rowCount'; procedure QTableWidget_setColumnCount(handle: QTableWidgetH; columns: Integer); cdecl; external Qt4PasLib name 'QTableWidget_setColumnCount'; function QTableWidget_columnCount(handle: QTableWidgetH): Integer; cdecl; external Qt4PasLib name 'QTableWidget_columnCount'; function QTableWidget_row(handle: QTableWidgetH; item: QTableWidgetItemH): Integer; cdecl; external Qt4PasLib name 'QTableWidget_row'; function QTableWidget_column(handle: QTableWidgetH; item: QTableWidgetItemH): Integer; cdecl; external Qt4PasLib name 'QTableWidget_column'; function QTableWidget_item(handle: QTableWidgetH; row: Integer; column: Integer): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidget_item'; procedure QTableWidget_setItem(handle: QTableWidgetH; row: Integer; column: Integer; item: QTableWidgetItemH); cdecl; external Qt4PasLib name 'QTableWidget_setItem'; function QTableWidget_takeItem(handle: QTableWidgetH; row: Integer; column: Integer): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidget_takeItem'; function QTableWidget_verticalHeaderItem(handle: QTableWidgetH; row: Integer): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidget_verticalHeaderItem'; procedure QTableWidget_setVerticalHeaderItem(handle: QTableWidgetH; row: Integer; item: QTableWidgetItemH); cdecl; external Qt4PasLib name 'QTableWidget_setVerticalHeaderItem'; function QTableWidget_takeVerticalHeaderItem(handle: QTableWidgetH; row: Integer): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidget_takeVerticalHeaderItem'; function QTableWidget_horizontalHeaderItem(handle: QTableWidgetH; column: Integer): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidget_horizontalHeaderItem'; procedure QTableWidget_setHorizontalHeaderItem(handle: QTableWidgetH; column: Integer; item: QTableWidgetItemH); cdecl; external Qt4PasLib name 'QTableWidget_setHorizontalHeaderItem'; function QTableWidget_takeHorizontalHeaderItem(handle: QTableWidgetH; column: Integer): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidget_takeHorizontalHeaderItem'; procedure QTableWidget_setVerticalHeaderLabels(handle: QTableWidgetH; labels: QStringListH); cdecl; external Qt4PasLib name 'QTableWidget_setVerticalHeaderLabels'; procedure QTableWidget_setHorizontalHeaderLabels(handle: QTableWidgetH; labels: QStringListH); cdecl; external Qt4PasLib name 'QTableWidget_setHorizontalHeaderLabels'; function QTableWidget_currentRow(handle: QTableWidgetH): Integer; cdecl; external Qt4PasLib name 'QTableWidget_currentRow'; function QTableWidget_currentColumn(handle: QTableWidgetH): Integer; cdecl; external Qt4PasLib name 'QTableWidget_currentColumn'; function QTableWidget_currentItem(handle: QTableWidgetH): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidget_currentItem'; procedure QTableWidget_setCurrentItem(handle: QTableWidgetH; item: QTableWidgetItemH); cdecl; external Qt4PasLib name 'QTableWidget_setCurrentItem'; procedure QTableWidget_setCurrentItem(handle: QTableWidgetH; item: QTableWidgetItemH; command: QItemSelectionModelSelectionFlags); cdecl; external Qt4PasLib name 'QTableWidget_setCurrentItem2'; procedure QTableWidget_setCurrentCell(handle: QTableWidgetH; row: Integer; column: Integer); cdecl; external Qt4PasLib name 'QTableWidget_setCurrentCell'; procedure QTableWidget_setCurrentCell(handle: QTableWidgetH; row: Integer; column: Integer; command: QItemSelectionModelSelectionFlags); cdecl; external Qt4PasLib name 'QTableWidget_setCurrentCell2'; procedure QTableWidget_sortItems(handle: QTableWidgetH; column: Integer; order: QtSortOrder = QtAscendingOrder); cdecl; external Qt4PasLib name 'QTableWidget_sortItems'; procedure QTableWidget_setSortingEnabled(handle: QTableWidgetH; enable: Boolean); cdecl; external Qt4PasLib name 'QTableWidget_setSortingEnabled'; function QTableWidget_isSortingEnabled(handle: QTableWidgetH): Boolean; cdecl; external Qt4PasLib name 'QTableWidget_isSortingEnabled'; procedure QTableWidget_editItem(handle: QTableWidgetH; item: QTableWidgetItemH); cdecl; external Qt4PasLib name 'QTableWidget_editItem'; procedure QTableWidget_openPersistentEditor(handle: QTableWidgetH; item: QTableWidgetItemH); cdecl; external Qt4PasLib name 'QTableWidget_openPersistentEditor'; procedure QTableWidget_closePersistentEditor(handle: QTableWidgetH; item: QTableWidgetItemH); cdecl; external Qt4PasLib name 'QTableWidget_closePersistentEditor'; function QTableWidget_cellWidget(handle: QTableWidgetH; row: Integer; column: Integer): QWidgetH; cdecl; external Qt4PasLib name 'QTableWidget_cellWidget'; procedure QTableWidget_setCellWidget(handle: QTableWidgetH; row: Integer; column: Integer; widget: QWidgetH); cdecl; external Qt4PasLib name 'QTableWidget_setCellWidget'; procedure QTableWidget_removeCellWidget(handle: QTableWidgetH; row: Integer; column: Integer); cdecl; external Qt4PasLib name 'QTableWidget_removeCellWidget'; function QTableWidget_isItemSelected(handle: QTableWidgetH; item: QTableWidgetItemH): Boolean; cdecl; external Qt4PasLib name 'QTableWidget_isItemSelected'; procedure QTableWidget_setItemSelected(handle: QTableWidgetH; item: QTableWidgetItemH; select: Boolean); cdecl; external Qt4PasLib name 'QTableWidget_setItemSelected'; procedure QTableWidget_setRangeSelected(handle: QTableWidgetH; range: QTableWidgetSelectionRangeH; select: Boolean); cdecl; external Qt4PasLib name 'QTableWidget_setRangeSelected'; procedure QTableWidget_selectedItems(handle: QTableWidgetH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QTableWidget_selectedItems'; procedure QTableWidget_findItems(handle: QTableWidgetH; retval: PPtrIntArray; text: PWideString; flags: QtMatchFlags); cdecl; external Qt4PasLib name 'QTableWidget_findItems'; function QTableWidget_visualRow(handle: QTableWidgetH; logicalRow: Integer): Integer; cdecl; external Qt4PasLib name 'QTableWidget_visualRow'; function QTableWidget_visualColumn(handle: QTableWidgetH; logicalColumn: Integer): Integer; cdecl; external Qt4PasLib name 'QTableWidget_visualColumn'; function QTableWidget_itemAt(handle: QTableWidgetH; p: PQtPoint): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidget_itemAt'; function QTableWidget_itemAt(handle: QTableWidgetH; x: Integer; y: Integer): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidget_itemAt2'; procedure QTableWidget_visualItemRect(handle: QTableWidgetH; retval: PRect; item: QTableWidgetItemH); cdecl; external Qt4PasLib name 'QTableWidget_visualItemRect'; function QTableWidget_itemPrototype(handle: QTableWidgetH): QTableWidgetItemH; cdecl; external Qt4PasLib name 'QTableWidget_itemPrototype'; procedure QTableWidget_setItemPrototype(handle: QTableWidgetH; item: QTableWidgetItemH); cdecl; external Qt4PasLib name 'QTableWidget_setItemPrototype'; procedure QTableWidget_scrollToItem(handle: QTableWidgetH; item: QTableWidgetItemH; hint: QAbstractItemViewScrollHint); cdecl; external Qt4PasLib name 'QTableWidget_scrollToItem'; procedure QTableWidget_insertRow(handle: QTableWidgetH; row: Integer); cdecl; external Qt4PasLib name 'QTableWidget_insertRow'; procedure QTableWidget_insertColumn(handle: QTableWidgetH; column: Integer); cdecl; external Qt4PasLib name 'QTableWidget_insertColumn'; procedure QTableWidget_removeRow(handle: QTableWidgetH; row: Integer); cdecl; external Qt4PasLib name 'QTableWidget_removeRow'; procedure QTableWidget_removeColumn(handle: QTableWidgetH; column: Integer); cdecl; external Qt4PasLib name 'QTableWidget_removeColumn'; procedure QTableWidget_clear(handle: QTableWidgetH); cdecl; external Qt4PasLib name 'QTableWidget_clear'; procedure QTableWidget_clearContents(handle: QTableWidgetH); cdecl; external Qt4PasLib name 'QTableWidget_clearContents'; type QTableWidget_itemPressed_Event = procedure (item: QTableWidgetItemH) of object cdecl; QTableWidget_itemClicked_Event = procedure (item: QTableWidgetItemH) of object cdecl; QTableWidget_itemDoubleClicked_Event = procedure (item: QTableWidgetItemH) of object cdecl; QTableWidget_itemActivated_Event = procedure (item: QTableWidgetItemH) of object cdecl; QTableWidget_itemEntered_Event = procedure (item: QTableWidgetItemH) of object cdecl; QTableWidget_itemChanged_Event = procedure (item: QTableWidgetItemH) of object cdecl; QTableWidget_currentItemChanged_Event = procedure (current: QTableWidgetItemH; previous: QTableWidgetItemH) of object cdecl; QTableWidget_itemSelectionChanged_Event = procedure () of object cdecl; QTableWidget_cellPressed_Event = procedure (row: Integer; column: Integer) of object cdecl; QTableWidget_cellClicked_Event = procedure (row: Integer; column: Integer) of object cdecl; QTableWidget_cellDoubleClicked_Event = procedure (row: Integer; column: Integer) of object cdecl; QTableWidget_cellActivated_Event = procedure (row: Integer; column: Integer) of object cdecl; QTableWidget_cellEntered_Event = procedure (row: Integer; column: Integer) of object cdecl; QTableWidget_cellChanged_Event = procedure (row: Integer; column: Integer) of object cdecl; QTableWidget_currentCellChanged_Event = procedure (currentRow: Integer; currentColumn: Integer; previousRow: Integer; previousColumn: Integer) of object cdecl; function QItemEditorCreatorBase_createWidget(handle: QItemEditorCreatorBaseH; parent: QWidgetH): QWidgetH; cdecl; external Qt4PasLib name 'QItemEditorCreatorBase_createWidget'; procedure QItemEditorCreatorBase_valuePropertyName(handle: QItemEditorCreatorBaseH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QItemEditorCreatorBase_valuePropertyName'; function QItemEditorFactory_create(): QItemEditorFactoryH; cdecl; external Qt4PasLib name 'QItemEditorFactory_create'; procedure QItemEditorFactory_destroy(handle: QItemEditorFactoryH); cdecl; external Qt4PasLib name 'QItemEditorFactory_destroy'; function QItemEditorFactory_createEditor(handle: QItemEditorFactoryH; _type: QVariantType; parent: QWidgetH): QWidgetH; cdecl; external Qt4PasLib name 'QItemEditorFactory_createEditor'; procedure QItemEditorFactory_valuePropertyName(handle: QItemEditorFactoryH; retval: QByteArrayH; _type: QVariantType); cdecl; external Qt4PasLib name 'QItemEditorFactory_valuePropertyName'; procedure QItemEditorFactory_registerEditor(handle: QItemEditorFactoryH; _type: QVariantType; creator: QItemEditorCreatorBaseH); cdecl; external Qt4PasLib name 'QItemEditorFactory_registerEditor'; function QItemEditorFactory_defaultFactory(): QItemEditorFactoryH; cdecl; external Qt4PasLib name 'QItemEditorFactory_defaultFactory'; procedure QItemEditorFactory_setDefaultFactory(factory: QItemEditorFactoryH); cdecl; external Qt4PasLib name 'QItemEditorFactory_setDefaultFactory'; function QStyledItemDelegate_create(parent: QObjectH = nil): QStyledItemDelegateH; cdecl; external Qt4PasLib name 'QStyledItemDelegate_create'; procedure QStyledItemDelegate_destroy(handle: QStyledItemDelegateH); cdecl; external Qt4PasLib name 'QStyledItemDelegate_destroy'; procedure QStyledItemDelegate_paint(handle: QStyledItemDelegateH; painter: QPainterH; option: QStyleOptionViewItemH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QStyledItemDelegate_paint'; procedure QStyledItemDelegate_sizeHint(handle: QStyledItemDelegateH; retval: PSize; option: QStyleOptionViewItemH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QStyledItemDelegate_sizeHint'; function QStyledItemDelegate_createEditor(handle: QStyledItemDelegateH; parent: QWidgetH; option: QStyleOptionViewItemH; index: QModelIndexH): QWidgetH; cdecl; external Qt4PasLib name 'QStyledItemDelegate_createEditor'; procedure QStyledItemDelegate_setEditorData(handle: QStyledItemDelegateH; editor: QWidgetH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QStyledItemDelegate_setEditorData'; procedure QStyledItemDelegate_setModelData(handle: QStyledItemDelegateH; editor: QWidgetH; model: QAbstractItemModelH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QStyledItemDelegate_setModelData'; procedure QStyledItemDelegate_updateEditorGeometry(handle: QStyledItemDelegateH; editor: QWidgetH; option: QStyleOptionViewItemH; index: QModelIndexH); cdecl; external Qt4PasLib name 'QStyledItemDelegate_updateEditorGeometry'; function QStyledItemDelegate_itemEditorFactory(handle: QStyledItemDelegateH): QItemEditorFactoryH; cdecl; external Qt4PasLib name 'QStyledItemDelegate_itemEditorFactory'; procedure QStyledItemDelegate_setItemEditorFactory(handle: QStyledItemDelegateH; factory: QItemEditorFactoryH); cdecl; external Qt4PasLib name 'QStyledItemDelegate_setItemEditorFactory'; procedure QStyledItemDelegate_displayText(handle: QStyledItemDelegateH; retval: PWideString; value: QVariantH; locale: QLocaleH); cdecl; external Qt4PasLib name 'QStyledItemDelegate_displayText'; type QDialogDialogCode = ( // QDialog::DialogCode (1) QDialogRejected, QDialogAccepted ); function QDialog_create(parent: QWidgetH = nil; f: QtWindowFlags = 0): QDialogH; cdecl; external Qt4PasLib name 'QDialog_create'; procedure QDialog_destroy(handle: QDialogH); cdecl; external Qt4PasLib name 'QDialog_destroy'; function QDialog_result(handle: QDialogH): Integer; cdecl; external Qt4PasLib name 'QDialog_result'; procedure QDialog_setVisible(handle: QDialogH; visible: Boolean); cdecl; external Qt4PasLib name 'QDialog_setVisible'; procedure QDialog_setOrientation(handle: QDialogH; orientation: QtOrientation); cdecl; external Qt4PasLib name 'QDialog_setOrientation'; function QDialog_orientation(handle: QDialogH): QtOrientation; cdecl; external Qt4PasLib name 'QDialog_orientation'; procedure QDialog_setExtension(handle: QDialogH; extension: QWidgetH); cdecl; external Qt4PasLib name 'QDialog_setExtension'; function QDialog_extension(handle: QDialogH): QWidgetH; cdecl; external Qt4PasLib name 'QDialog_extension'; procedure QDialog_sizeHint(handle: QDialogH; retval: PSize); cdecl; external Qt4PasLib name 'QDialog_sizeHint'; procedure QDialog_minimumSizeHint(handle: QDialogH; retval: PSize); cdecl; external Qt4PasLib name 'QDialog_minimumSizeHint'; procedure QDialog_setSizeGripEnabled(handle: QDialogH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QDialog_setSizeGripEnabled'; function QDialog_isSizeGripEnabled(handle: QDialogH): Boolean; cdecl; external Qt4PasLib name 'QDialog_isSizeGripEnabled'; procedure QDialog_setModal(handle: QDialogH; modal: Boolean); cdecl; external Qt4PasLib name 'QDialog_setModal'; procedure QDialog_setResult(handle: QDialogH; r: Integer); cdecl; external Qt4PasLib name 'QDialog_setResult'; procedure QDialog_open(handle: QDialogH); cdecl; external Qt4PasLib name 'QDialog_open'; function QDialog_exec(handle: QDialogH): Integer; cdecl; external Qt4PasLib name 'QDialog_exec'; procedure QDialog_done(handle: QDialogH; AnonParam1: Integer); cdecl; external Qt4PasLib name 'QDialog_done'; procedure QDialog_accept(handle: QDialogH); cdecl; external Qt4PasLib name 'QDialog_accept'; procedure QDialog_reject(handle: QDialogH); cdecl; external Qt4PasLib name 'QDialog_reject'; procedure QDialog_showExtension(handle: QDialogH; AnonParam1: Boolean); cdecl; external Qt4PasLib name 'QDialog_showExtension'; type QDialog_finished_Event = procedure (result: Integer) of object cdecl; QDialog_accepted_Event = procedure () of object cdecl; QDialog_rejected_Event = procedure () of object cdecl; type QFontDialogFontDialogOption = cardinal; // QFontDialog::FontDialogOption QFontDialogFontDialogOptions = QFontDialogFontDialogOption; //QFlags<> (3) const QFontDialogNoButtons = $00000001; QFontDialogDontUseNativeDialog = $00000002; function QFontDialog_create(parent: QWidgetH = nil): QFontDialogH; cdecl; external Qt4PasLib name 'QFontDialog_create'; procedure QFontDialog_destroy(handle: QFontDialogH); cdecl; external Qt4PasLib name 'QFontDialog_destroy'; function QFontDialog_create(initial: QFontH; parent: QWidgetH = nil): QFontDialogH; cdecl; external Qt4PasLib name 'QFontDialog_create2'; procedure QFontDialog_setCurrentFont(handle: QFontDialogH; font: QFontH); cdecl; external Qt4PasLib name 'QFontDialog_setCurrentFont'; procedure QFontDialog_currentFont(handle: QFontDialogH; retval: QFontH); cdecl; external Qt4PasLib name 'QFontDialog_currentFont'; procedure QFontDialog_selectedFont(handle: QFontDialogH; retval: QFontH); cdecl; external Qt4PasLib name 'QFontDialog_selectedFont'; procedure QFontDialog_setOption(handle: QFontDialogH; option: QFontDialogFontDialogOption; _on: Boolean = True); cdecl; external Qt4PasLib name 'QFontDialog_setOption'; function QFontDialog_testOption(handle: QFontDialogH; option: QFontDialogFontDialogOption): Boolean; cdecl; external Qt4PasLib name 'QFontDialog_testOption'; procedure QFontDialog_setOptions(handle: QFontDialogH; options: QFontDialogFontDialogOptions); cdecl; external Qt4PasLib name 'QFontDialog_setOptions'; function QFontDialog_options(handle: QFontDialogH): QFontDialogFontDialogOptions; cdecl; external Qt4PasLib name 'QFontDialog_options'; procedure QFontDialog_open(handle: QFontDialogH; receiver: QObjectH; member: PAnsiChar); cdecl; external Qt4PasLib name 'QFontDialog_open'; procedure QFontDialog_setVisible(handle: QFontDialogH; visible: Boolean); cdecl; external Qt4PasLib name 'QFontDialog_setVisible'; procedure QFontDialog_getFont(retval: QFontH; ok: PBoolean; initial: QFontH; parent: QWidgetH; title: PWideString; options: QFontDialogFontDialogOptions); cdecl; external Qt4PasLib name 'QFontDialog_getFont'; procedure QFontDialog_getFont(retval: QFontH; ok: PBoolean; initial: QFontH; parent: QWidgetH; title: PWideString); cdecl; external Qt4PasLib name 'QFontDialog_getFont2'; procedure QFontDialog_getFont(retval: QFontH; ok: PBoolean; initial: QFontH; parent: QWidgetH = nil); cdecl; external Qt4PasLib name 'QFontDialog_getFont3'; procedure QFontDialog_getFont(retval: QFontH; ok: PBoolean; parent: QWidgetH = nil); cdecl; external Qt4PasLib name 'QFontDialog_getFont4'; type QMessageBoxIcon = ( //QMessageBox::Icon (2) QMessageBoxNoIcon = 0, QMessageBoxInformation = 1, QMessageBoxWarning = 2, QMessageBoxCritical = 3, QMessageBoxQuestion = 4 ); QMessageBoxButtonRole = ( //QMessageBox::ButtonRole (2) QMessageBoxInvalidRole = -1, QMessageBoxAcceptRole, QMessageBoxRejectRole, QMessageBoxDestructiveRole, QMessageBoxActionRole, QMessageBoxHelpRole, QMessageBoxYesRole, QMessageBoxNoRole, QMessageBoxResetRole, QMessageBoxApplyRole, QMessageBoxNRoles ); type QMessageBoxStandardButton = cardinal; // QMessageBox::StandardButton (4) QMessageBoxStandardButtons = QMessageBoxStandardButton; // QFlags<> const QMessageBoxNoButton = 0 { $0 }; QMessageBoxOk = 1024 { $400 }; QMessageBoxSave = 2048 { $800 }; QMessageBoxSaveAll = 4096 { $1000 }; QMessageBoxOpen = 8192 { $2000 }; QMessageBoxYes = 16384 { $4000 }; QMessageBoxYesToAll = 32768 { $8000 }; QMessageBoxNo = 65536 { $10000 }; QMessageBoxNoToAll = 131072 { $20000 }; QMessageBoxAbort = 262144 { $40000 }; QMessageBoxRetry = 524288 { $80000 }; QMessageBoxIgnore = 1048576 { $100000 }; QMessageBoxClose = 2097152 { $200000 }; QMessageBoxCancel = 4194304 { $400000 }; QMessageBoxDiscard = 8388608 { $800000 }; QMessageBoxHelp = 16777216 { $1000000 }; QMessageBoxApply = 33554432 { $2000000 }; QMessageBoxReset = 67108864 { $4000000 }; QMessageBoxRestoreDefaults = 134217728 { $8000000 }; QMessageBoxFirstButton = 1024 { $400 }; QMessageBoxLastButton = 134217728 { $8000000 }; QMessageBoxYesAll = 32768 { $8000 }; QMessageBoxNoAll = 131072 { $20000 }; QMessageBoxDefault = 256 { $100 }; QMessageBoxEscape = 512 { $200 }; QMessageBoxFlagMask = 768 { $300 }; QMessageBoxButtonMask = 4294966527 { $fffffcff }; function QMessageBox_create(parent: QWidgetH = nil): QMessageBoxH; cdecl; external Qt4PasLib name 'QMessageBox_create'; procedure QMessageBox_destroy(handle: QMessageBoxH); cdecl; external Qt4PasLib name 'QMessageBox_destroy'; function QMessageBox_create(icon: QMessageBoxIcon; title: PWideString; text: PWideString; buttons: QMessageBoxStandardButtons = QMessageBoxNoButton; parent: QWidgetH = nil; flags: QtWindowFlags = QtDialog or QtMSWindowsFixedSizeDialogHint): QMessageBoxH; cdecl; external Qt4PasLib name 'QMessageBox_create2'; procedure QMessageBox_addButton(handle: QMessageBoxH; button: QAbstractButtonH; role: QMessageBoxButtonRole); cdecl; external Qt4PasLib name 'QMessageBox_addButton'; function QMessageBox_addButton(handle: QMessageBoxH; text: PWideString; role: QMessageBoxButtonRole): QPushButtonH; cdecl; external Qt4PasLib name 'QMessageBox_addButton2'; function QMessageBox_addButton(handle: QMessageBoxH; button: QMessageBoxStandardButton): QPushButtonH; cdecl; external Qt4PasLib name 'QMessageBox_addButton3'; procedure QMessageBox_removeButton(handle: QMessageBoxH; button: QAbstractButtonH); cdecl; external Qt4PasLib name 'QMessageBox_removeButton'; procedure QMessageBox_open(handle: QMessageBoxH; receiver: QObjectH; member: PAnsiChar); cdecl; external Qt4PasLib name 'QMessageBox_open'; procedure QMessageBox_buttons(handle: QMessageBoxH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QMessageBox_buttons'; function QMessageBox_buttonRole(handle: QMessageBoxH; button: QAbstractButtonH): QMessageBoxButtonRole; cdecl; external Qt4PasLib name 'QMessageBox_buttonRole'; procedure QMessageBox_setStandardButtons(handle: QMessageBoxH; buttons: QMessageBoxStandardButtons); cdecl; external Qt4PasLib name 'QMessageBox_setStandardButtons'; function QMessageBox_standardButtons(handle: QMessageBoxH): QMessageBoxStandardButtons; cdecl; external Qt4PasLib name 'QMessageBox_standardButtons'; function QMessageBox_standardButton(handle: QMessageBoxH; button: QAbstractButtonH): QMessageBoxStandardButton; cdecl; external Qt4PasLib name 'QMessageBox_standardButton'; function QMessageBox_button(handle: QMessageBoxH; which: QMessageBoxStandardButton): QAbstractButtonH; cdecl; external Qt4PasLib name 'QMessageBox_button'; function QMessageBox_defaultButton(handle: QMessageBoxH): QPushButtonH; cdecl; external Qt4PasLib name 'QMessageBox_defaultButton'; procedure QMessageBox_setDefaultButton(handle: QMessageBoxH; button: QPushButtonH); cdecl; external Qt4PasLib name 'QMessageBox_setDefaultButton'; procedure QMessageBox_setDefaultButton(handle: QMessageBoxH; button: QMessageBoxStandardButton); cdecl; external Qt4PasLib name 'QMessageBox_setDefaultButton2'; function QMessageBox_escapeButton(handle: QMessageBoxH): QAbstractButtonH; cdecl; external Qt4PasLib name 'QMessageBox_escapeButton'; procedure QMessageBox_setEscapeButton(handle: QMessageBoxH; button: QAbstractButtonH); cdecl; external Qt4PasLib name 'QMessageBox_setEscapeButton'; procedure QMessageBox_setEscapeButton(handle: QMessageBoxH; button: QMessageBoxStandardButton); cdecl; external Qt4PasLib name 'QMessageBox_setEscapeButton2'; function QMessageBox_clickedButton(handle: QMessageBoxH): QAbstractButtonH; cdecl; external Qt4PasLib name 'QMessageBox_clickedButton'; procedure QMessageBox_text(handle: QMessageBoxH; retval: PWideString); cdecl; external Qt4PasLib name 'QMessageBox_text'; procedure QMessageBox_setText(handle: QMessageBoxH; text: PWideString); cdecl; external Qt4PasLib name 'QMessageBox_setText'; function QMessageBox_icon(handle: QMessageBoxH): QMessageBoxIcon; cdecl; external Qt4PasLib name 'QMessageBox_icon'; procedure QMessageBox_setIcon(handle: QMessageBoxH; AnonParam1: QMessageBoxIcon); cdecl; external Qt4PasLib name 'QMessageBox_setIcon'; procedure QMessageBox_iconPixmap(handle: QMessageBoxH; retval: QPixmapH); cdecl; external Qt4PasLib name 'QMessageBox_iconPixmap'; procedure QMessageBox_setIconPixmap(handle: QMessageBoxH; pixmap: QPixmapH); cdecl; external Qt4PasLib name 'QMessageBox_setIconPixmap'; function QMessageBox_textFormat(handle: QMessageBoxH): QtTextFormat; cdecl; external Qt4PasLib name 'QMessageBox_textFormat'; procedure QMessageBox_setTextFormat(handle: QMessageBoxH; format: QtTextFormat); cdecl; external Qt4PasLib name 'QMessageBox_setTextFormat'; function QMessageBox_information(parent: QWidgetH; title: PWideString; text: PWideString; buttons: QMessageBoxStandardButtons = QMessageBoxOk; defaultButton: QMessageBoxStandardButton = QMessageBoxNoButton): QMessageBoxStandardButton; cdecl; external Qt4PasLib name 'QMessageBox_information'; function QMessageBox_question(parent: QWidgetH; title: PWideString; text: PWideString; buttons: QMessageBoxStandardButtons = QMessageBoxOk; defaultButton: QMessageBoxStandardButton = QMessageBoxNoButton): QMessageBoxStandardButton; cdecl; external Qt4PasLib name 'QMessageBox_question'; function QMessageBox_warning(parent: QWidgetH; title: PWideString; text: PWideString; buttons: QMessageBoxStandardButtons = QMessageBoxOk; defaultButton: QMessageBoxStandardButton = QMessageBoxNoButton): QMessageBoxStandardButton; cdecl; external Qt4PasLib name 'QMessageBox_warning'; function QMessageBox_critical(parent: QWidgetH; title: PWideString; text: PWideString; buttons: QMessageBoxStandardButtons = QMessageBoxOk; defaultButton: QMessageBoxStandardButton = QMessageBoxNoButton): QMessageBoxStandardButton; cdecl; external Qt4PasLib name 'QMessageBox_critical'; procedure QMessageBox_about(parent: QWidgetH; title: PWideString; text: PWideString); cdecl; external Qt4PasLib name 'QMessageBox_about'; procedure QMessageBox_aboutQt(parent: QWidgetH; title: PWideString = nil); cdecl; external Qt4PasLib name 'QMessageBox_aboutQt'; procedure QMessageBox_sizeHint(handle: QMessageBoxH; retval: PSize); cdecl; external Qt4PasLib name 'QMessageBox_sizeHint'; function QMessageBox_create(title: PWideString; text: PWideString; icon: QMessageBoxIcon; button0: Integer; button1: Integer; button2: Integer; parent: QWidgetH = nil; f: QtWindowFlags = QtDialog or QtMSWindowsFixedSizeDialogHint): QMessageBoxH; cdecl; external Qt4PasLib name 'QMessageBox_create3'; function QMessageBox_information(parent: QWidgetH; title: PWideString; text: PWideString; button0Text: PWideString; button1Text: PWideString = nil; button2Text: PWideString = nil; defaultButtonNumber: Integer = 0; escapeButtonNumber: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QMessageBox_information3'; function QMessageBox_question(parent: QWidgetH; title: PWideString; text: PWideString; button0Text: PWideString; button1Text: PWideString = nil; button2Text: PWideString = nil; defaultButtonNumber: Integer = 0; escapeButtonNumber: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QMessageBox_question3'; function QMessageBox_warning(parent: QWidgetH; title: PWideString; text: PWideString; button0Text: PWideString; button1Text: PWideString = nil; button2Text: PWideString = nil; defaultButtonNumber: Integer = 0; escapeButtonNumber: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QMessageBox_warning3'; function QMessageBox_critical(parent: QWidgetH; title: PWideString; text: PWideString; button0Text: PWideString; button1Text: PWideString = nil; button2Text: PWideString = nil; defaultButtonNumber: Integer = 0; escapeButtonNumber: Integer = -1): Integer; cdecl; external Qt4PasLib name 'QMessageBox_critical3'; procedure QMessageBox_buttonText(handle: QMessageBoxH; retval: PWideString; button: Integer); cdecl; external Qt4PasLib name 'QMessageBox_buttonText'; procedure QMessageBox_setButtonText(handle: QMessageBoxH; button: Integer; text: PWideString); cdecl; external Qt4PasLib name 'QMessageBox_setButtonText'; procedure QMessageBox_informativeText(handle: QMessageBoxH; retval: PWideString); cdecl; external Qt4PasLib name 'QMessageBox_informativeText'; procedure QMessageBox_setInformativeText(handle: QMessageBoxH; text: PWideString); cdecl; external Qt4PasLib name 'QMessageBox_setInformativeText'; procedure QMessageBox_detailedText(handle: QMessageBoxH; retval: PWideString); cdecl; external Qt4PasLib name 'QMessageBox_detailedText'; procedure QMessageBox_setDetailedText(handle: QMessageBoxH; text: PWideString); cdecl; external Qt4PasLib name 'QMessageBox_setDetailedText'; procedure QMessageBox_setWindowTitle(handle: QMessageBoxH; title: PWideString); cdecl; external Qt4PasLib name 'QMessageBox_setWindowTitle'; procedure QMessageBox_setWindowModality(handle: QMessageBoxH; windowModality: QtWindowModality); cdecl; external Qt4PasLib name 'QMessageBox_setWindowModality'; procedure QMessageBox_standardIcon(retval: QPixmapH; icon: QMessageBoxIcon); cdecl; external Qt4PasLib name 'QMessageBox_standardIcon'; type QInputDialogInputMode = ( // QInputDialog::InputMode (1) QInputDialogTextInput, QInputDialogIntInput, QInputDialogDoubleInput ); type QInputDialogInputDialogOption = cardinal; // QInputDialog::InputDialogOption QInputDialogInputDialogOptions = QInputDialogInputDialogOption; //QFlags<> (3) const QInputDialogNoButtons = $00000001; QInputDialogUseListViewForComboBoxItems = $00000002; function QInputDialog_create(parent: QWidgetH = nil; flags: QtWindowFlags = 0): QInputDialogH; cdecl; external Qt4PasLib name 'QInputDialog_create'; procedure QInputDialog_destroy(handle: QInputDialogH); cdecl; external Qt4PasLib name 'QInputDialog_destroy'; procedure QInputDialog_setInputMode(handle: QInputDialogH; mode: QInputDialogInputMode); cdecl; external Qt4PasLib name 'QInputDialog_setInputMode'; function QInputDialog_inputMode(handle: QInputDialogH): QInputDialogInputMode; cdecl; external Qt4PasLib name 'QInputDialog_inputMode'; procedure QInputDialog_setLabelText(handle: QInputDialogH; text: PWideString); cdecl; external Qt4PasLib name 'QInputDialog_setLabelText'; procedure QInputDialog_labelText(handle: QInputDialogH; retval: PWideString); cdecl; external Qt4PasLib name 'QInputDialog_labelText'; procedure QInputDialog_setOption(handle: QInputDialogH; option: QInputDialogInputDialogOption; _on: Boolean = True); cdecl; external Qt4PasLib name 'QInputDialog_setOption'; function QInputDialog_testOption(handle: QInputDialogH; option: QInputDialogInputDialogOption): Boolean; cdecl; external Qt4PasLib name 'QInputDialog_testOption'; procedure QInputDialog_setOptions(handle: QInputDialogH; options: QInputDialogInputDialogOptions); cdecl; external Qt4PasLib name 'QInputDialog_setOptions'; function QInputDialog_options(handle: QInputDialogH): QInputDialogInputDialogOptions; cdecl; external Qt4PasLib name 'QInputDialog_options'; procedure QInputDialog_setTextValue(handle: QInputDialogH; text: PWideString); cdecl; external Qt4PasLib name 'QInputDialog_setTextValue'; procedure QInputDialog_textValue(handle: QInputDialogH; retval: PWideString); cdecl; external Qt4PasLib name 'QInputDialog_textValue'; procedure QInputDialog_setTextEchoMode(handle: QInputDialogH; mode: QLineEditEchoMode); cdecl; external Qt4PasLib name 'QInputDialog_setTextEchoMode'; function QInputDialog_textEchoMode(handle: QInputDialogH): QLineEditEchoMode; cdecl; external Qt4PasLib name 'QInputDialog_textEchoMode'; procedure QInputDialog_setComboBoxEditable(handle: QInputDialogH; editable: Boolean); cdecl; external Qt4PasLib name 'QInputDialog_setComboBoxEditable'; function QInputDialog_isComboBoxEditable(handle: QInputDialogH): Boolean; cdecl; external Qt4PasLib name 'QInputDialog_isComboBoxEditable'; procedure QInputDialog_setComboBoxItems(handle: QInputDialogH; items: QStringListH); cdecl; external Qt4PasLib name 'QInputDialog_setComboBoxItems'; procedure QInputDialog_comboBoxItems(handle: QInputDialogH; retval: QStringListH); cdecl; external Qt4PasLib name 'QInputDialog_comboBoxItems'; procedure QInputDialog_setIntValue(handle: QInputDialogH; value: Integer); cdecl; external Qt4PasLib name 'QInputDialog_setIntValue'; function QInputDialog_intValue(handle: QInputDialogH): Integer; cdecl; external Qt4PasLib name 'QInputDialog_intValue'; procedure QInputDialog_setIntMinimum(handle: QInputDialogH; min: Integer); cdecl; external Qt4PasLib name 'QInputDialog_setIntMinimum'; function QInputDialog_intMinimum(handle: QInputDialogH): Integer; cdecl; external Qt4PasLib name 'QInputDialog_intMinimum'; procedure QInputDialog_setIntMaximum(handle: QInputDialogH; max: Integer); cdecl; external Qt4PasLib name 'QInputDialog_setIntMaximum'; function QInputDialog_intMaximum(handle: QInputDialogH): Integer; cdecl; external Qt4PasLib name 'QInputDialog_intMaximum'; procedure QInputDialog_setIntRange(handle: QInputDialogH; min: Integer; max: Integer); cdecl; external Qt4PasLib name 'QInputDialog_setIntRange'; procedure QInputDialog_setIntStep(handle: QInputDialogH; step: Integer); cdecl; external Qt4PasLib name 'QInputDialog_setIntStep'; function QInputDialog_intStep(handle: QInputDialogH): Integer; cdecl; external Qt4PasLib name 'QInputDialog_intStep'; procedure QInputDialog_setDoubleValue(handle: QInputDialogH; value: Double); cdecl; external Qt4PasLib name 'QInputDialog_setDoubleValue'; function QInputDialog_doubleValue(handle: QInputDialogH): Double; cdecl; external Qt4PasLib name 'QInputDialog_doubleValue'; procedure QInputDialog_setDoubleMinimum(handle: QInputDialogH; min: Double); cdecl; external Qt4PasLib name 'QInputDialog_setDoubleMinimum'; function QInputDialog_doubleMinimum(handle: QInputDialogH): Double; cdecl; external Qt4PasLib name 'QInputDialog_doubleMinimum'; procedure QInputDialog_setDoubleMaximum(handle: QInputDialogH; max: Double); cdecl; external Qt4PasLib name 'QInputDialog_setDoubleMaximum'; function QInputDialog_doubleMaximum(handle: QInputDialogH): Double; cdecl; external Qt4PasLib name 'QInputDialog_doubleMaximum'; procedure QInputDialog_setDoubleRange(handle: QInputDialogH; min: Double; max: Double); cdecl; external Qt4PasLib name 'QInputDialog_setDoubleRange'; procedure QInputDialog_setDoubleDecimals(handle: QInputDialogH; decimals: Integer); cdecl; external Qt4PasLib name 'QInputDialog_setDoubleDecimals'; function QInputDialog_doubleDecimals(handle: QInputDialogH): Integer; cdecl; external Qt4PasLib name 'QInputDialog_doubleDecimals'; procedure QInputDialog_setOkButtonText(handle: QInputDialogH; text: PWideString); cdecl; external Qt4PasLib name 'QInputDialog_setOkButtonText'; procedure QInputDialog_okButtonText(handle: QInputDialogH; retval: PWideString); cdecl; external Qt4PasLib name 'QInputDialog_okButtonText'; procedure QInputDialog_setCancelButtonText(handle: QInputDialogH; text: PWideString); cdecl; external Qt4PasLib name 'QInputDialog_setCancelButtonText'; procedure QInputDialog_cancelButtonText(handle: QInputDialogH; retval: PWideString); cdecl; external Qt4PasLib name 'QInputDialog_cancelButtonText'; procedure QInputDialog_open(handle: QInputDialogH; receiver: QObjectH; member: PAnsiChar); cdecl; external Qt4PasLib name 'QInputDialog_open'; procedure QInputDialog_minimumSizeHint(handle: QInputDialogH; retval: PSize); cdecl; external Qt4PasLib name 'QInputDialog_minimumSizeHint'; procedure QInputDialog_sizeHint(handle: QInputDialogH; retval: PSize); cdecl; external Qt4PasLib name 'QInputDialog_sizeHint'; procedure QInputDialog_setVisible(handle: QInputDialogH; visible: Boolean); cdecl; external Qt4PasLib name 'QInputDialog_setVisible'; procedure QInputDialog_getText(retval: PWideString; parent: QWidgetH; title: PWideString; _label: PWideString; echo: QLineEditEchoMode = QLineEditNormal; text: PWideString = nil; ok: PBoolean = nil; flags: QtWindowFlags = 0); cdecl; external Qt4PasLib name 'QInputDialog_getText'; function QInputDialog_getInt(parent: QWidgetH; title: PWideString; _label: PWideString; value: Integer = 0; minValue: Integer = -2147483647; maxValue: Integer = 2147483647; step: Integer = 1; ok: PBoolean = nil; flags: QtWindowFlags = 0): Integer; cdecl; external Qt4PasLib name 'QInputDialog_getInt'; function QInputDialog_getDouble(parent: QWidgetH; title: PWideString; _label: PWideString; value: Double = 0; minValue: Double = -2147483647; maxValue: Double = 2147483647; decimals: Integer = 1; ok: PBoolean = nil; flags: QtWindowFlags = 0): Double; cdecl; external Qt4PasLib name 'QInputDialog_getDouble'; procedure QInputDialog_getItem(retval: PWideString; parent: QWidgetH; title: PWideString; _label: PWideString; items: QStringListH; current: Integer = 0; editable: Boolean = True; ok: PBoolean = nil; flags: QtWindowFlags = 0); cdecl; external Qt4PasLib name 'QInputDialog_getItem'; function QInputDialog_getInteger(parent: QWidgetH; title: PWideString; _label: PWideString; value: Integer = 0; minValue: Integer = -2147483647; maxValue: Integer = 2147483647; step: Integer = 1; ok: PBoolean = nil; flags: QtWindowFlags = 0): Integer; cdecl; external Qt4PasLib name 'QInputDialog_getInteger'; procedure QInputDialog_done(handle: QInputDialogH; result: Integer); cdecl; external Qt4PasLib name 'QInputDialog_done'; type QColorDialogColorDialogOption = cardinal; // QColorDialog::ColorDialogOption QColorDialogColorDialogOptions = QColorDialogColorDialogOption; //QFlags<> (3) const QColorDialogShowAlphaChannel = $00000001; QColorDialogNoButtons = $00000002; QColorDialogDontUseNativeDialog = $00000004; function QColorDialog_create(parent: QWidgetH = nil): QColorDialogH; cdecl; external Qt4PasLib name 'QColorDialog_create'; procedure QColorDialog_destroy(handle: QColorDialogH); cdecl; external Qt4PasLib name 'QColorDialog_destroy'; function QColorDialog_create(initial: PQColor; parent: QWidgetH = nil): QColorDialogH; cdecl; external Qt4PasLib name 'QColorDialog_create2'; procedure QColorDialog_setCurrentColor(handle: QColorDialogH; color: PQColor); cdecl; external Qt4PasLib name 'QColorDialog_setCurrentColor'; procedure QColorDialog_currentColor(handle: QColorDialogH; retval: PQColor); cdecl; external Qt4PasLib name 'QColorDialog_currentColor'; procedure QColorDialog_selectedColor(handle: QColorDialogH; retval: PQColor); cdecl; external Qt4PasLib name 'QColorDialog_selectedColor'; procedure QColorDialog_setOption(handle: QColorDialogH; option: QColorDialogColorDialogOption; _on: Boolean = True); cdecl; external Qt4PasLib name 'QColorDialog_setOption'; function QColorDialog_testOption(handle: QColorDialogH; option: QColorDialogColorDialogOption): Boolean; cdecl; external Qt4PasLib name 'QColorDialog_testOption'; procedure QColorDialog_setOptions(handle: QColorDialogH; options: QColorDialogColorDialogOptions); cdecl; external Qt4PasLib name 'QColorDialog_setOptions'; function QColorDialog_options(handle: QColorDialogH): QColorDialogColorDialogOptions; cdecl; external Qt4PasLib name 'QColorDialog_options'; procedure QColorDialog_open(handle: QColorDialogH; receiver: QObjectH; member: PAnsiChar); cdecl; external Qt4PasLib name 'QColorDialog_open'; procedure QColorDialog_setVisible(handle: QColorDialogH; visible: Boolean); cdecl; external Qt4PasLib name 'QColorDialog_setVisible'; procedure QColorDialog_getColor(retval: PQColor; initial: PQColor; parent: QWidgetH; title: PWideString; options: QColorDialogColorDialogOptions = 0); cdecl; external Qt4PasLib name 'QColorDialog_getColor'; procedure QColorDialog_getColor(retval: PQColor; initial: PQColor; parent: QWidgetH = nil); cdecl; external Qt4PasLib name 'QColorDialog_getColor2'; function QColorDialog_getRgba(rgba: QRgb = 4294967295; ok: PBoolean = nil; parent: QWidgetH = nil): QRgb; cdecl; external Qt4PasLib name 'QColorDialog_getRgba'; function QColorDialog_customCount(): Integer; cdecl; external Qt4PasLib name 'QColorDialog_customCount'; function QColorDialog_customColor(index: Integer): QRgb; cdecl; external Qt4PasLib name 'QColorDialog_customColor'; procedure QColorDialog_setCustomColor(index: Integer; color: QRgb); cdecl; external Qt4PasLib name 'QColorDialog_setCustomColor'; procedure QColorDialog_setStandardColor(index: Integer; color: QRgb); cdecl; external Qt4PasLib name 'QColorDialog_setStandardColor'; type QFileDialogViewMode = ( // QFileDialog::ViewMode (1) QFileDialogDetail, QFileDialogList ); QFileDialogFileMode = ( // QFileDialog::FileMode (1) QFileDialogAnyFile, QFileDialogExistingFile, QFileDialogDirectory, QFileDialogExistingFiles, QFileDialogDirectoryOnly ); QFileDialogAcceptMode = ( // QFileDialog::AcceptMode (1) QFileDialogAcceptOpen, QFileDialogAcceptSave ); QFileDialogDialogLabel = ( // QFileDialog::DialogLabel (1) QFileDialogLookIn, QFileDialogFileName, QFileDialogFileType, QFileDialogAccept, QFileDialogReject ); type QFileDialogOption = cardinal; // QFileDialog::Option QFileDialogOptions = QFileDialogOption; //QFlags<> (3) const QFileDialogShowDirsOnly = $00000001; QFileDialogDontResolveSymlinks = $00000002; QFileDialogDontConfirmOverwrite = $00000004; QFileDialogDontUseSheet = $00000008; QFileDialogDontUseNativeDialog = $00000010; QFileDialogReadOnly = $00000020; QFileDialogHideNameFilterDetails = $00000040; function QFileDialog_create(parent: QWidgetH; f: QtWindowFlags): QFileDialogH; cdecl; external Qt4PasLib name 'QFileDialog_create'; procedure QFileDialog_destroy(handle: QFileDialogH); cdecl; external Qt4PasLib name 'QFileDialog_destroy'; function QFileDialog_create(parent: QWidgetH = nil; caption: PWideString = nil; directory: PWideString = nil; filter: PWideString = nil): QFileDialogH; cdecl; external Qt4PasLib name 'QFileDialog_create2'; procedure QFileDialog_setDirectory(handle: QFileDialogH; directory: PWideString); cdecl; external Qt4PasLib name 'QFileDialog_setDirectory'; procedure QFileDialog_setDirectory(handle: QFileDialogH; directory: QDirH); cdecl; external Qt4PasLib name 'QFileDialog_setDirectory2'; procedure QFileDialog_directory(handle: QFileDialogH; retval: QDirH); cdecl; external Qt4PasLib name 'QFileDialog_directory'; procedure QFileDialog_selectFile(handle: QFileDialogH; filename: PWideString); cdecl; external Qt4PasLib name 'QFileDialog_selectFile'; procedure QFileDialog_selectedFiles(handle: QFileDialogH; retval: QStringListH); cdecl; external Qt4PasLib name 'QFileDialog_selectedFiles'; procedure QFileDialog_setNameFilterDetailsVisible(handle: QFileDialogH; enabled: Boolean); cdecl; external Qt4PasLib name 'QFileDialog_setNameFilterDetailsVisible'; function QFileDialog_isNameFilterDetailsVisible(handle: QFileDialogH): Boolean; cdecl; external Qt4PasLib name 'QFileDialog_isNameFilterDetailsVisible'; procedure QFileDialog_setNameFilter(handle: QFileDialogH; filter: PWideString); cdecl; external Qt4PasLib name 'QFileDialog_setNameFilter'; procedure QFileDialog_setNameFilters(handle: QFileDialogH; filters: QStringListH); cdecl; external Qt4PasLib name 'QFileDialog_setNameFilters'; procedure QFileDialog_nameFilters(handle: QFileDialogH; retval: QStringListH); cdecl; external Qt4PasLib name 'QFileDialog_nameFilters'; procedure QFileDialog_selectNameFilter(handle: QFileDialogH; filter: PWideString); cdecl; external Qt4PasLib name 'QFileDialog_selectNameFilter'; procedure QFileDialog_selectedNameFilter(handle: QFileDialogH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileDialog_selectedNameFilter'; function QFileDialog_filter(handle: QFileDialogH): QDirFilters; cdecl; external Qt4PasLib name 'QFileDialog_filter'; procedure QFileDialog_setFilter(handle: QFileDialogH; filters: QDirFilters); cdecl; external Qt4PasLib name 'QFileDialog_setFilter'; procedure QFileDialog_setViewMode(handle: QFileDialogH; mode: QFileDialogViewMode); cdecl; external Qt4PasLib name 'QFileDialog_setViewMode'; function QFileDialog_viewMode(handle: QFileDialogH): QFileDialogViewMode; cdecl; external Qt4PasLib name 'QFileDialog_viewMode'; procedure QFileDialog_setFileMode(handle: QFileDialogH; mode: QFileDialogFileMode); cdecl; external Qt4PasLib name 'QFileDialog_setFileMode'; function QFileDialog_fileMode(handle: QFileDialogH): QFileDialogFileMode; cdecl; external Qt4PasLib name 'QFileDialog_fileMode'; procedure QFileDialog_setAcceptMode(handle: QFileDialogH; mode: QFileDialogAcceptMode); cdecl; external Qt4PasLib name 'QFileDialog_setAcceptMode'; function QFileDialog_acceptMode(handle: QFileDialogH): QFileDialogAcceptMode; cdecl; external Qt4PasLib name 'QFileDialog_acceptMode'; procedure QFileDialog_setReadOnly(handle: QFileDialogH; enabled: Boolean); cdecl; external Qt4PasLib name 'QFileDialog_setReadOnly'; function QFileDialog_isReadOnly(handle: QFileDialogH): Boolean; cdecl; external Qt4PasLib name 'QFileDialog_isReadOnly'; procedure QFileDialog_setResolveSymlinks(handle: QFileDialogH; enabled: Boolean); cdecl; external Qt4PasLib name 'QFileDialog_setResolveSymlinks'; function QFileDialog_resolveSymlinks(handle: QFileDialogH): Boolean; cdecl; external Qt4PasLib name 'QFileDialog_resolveSymlinks'; procedure QFileDialog_saveState(handle: QFileDialogH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QFileDialog_saveState'; function QFileDialog_restoreState(handle: QFileDialogH; state: QByteArrayH): Boolean; cdecl; external Qt4PasLib name 'QFileDialog_restoreState'; procedure QFileDialog_setConfirmOverwrite(handle: QFileDialogH; enabled: Boolean); cdecl; external Qt4PasLib name 'QFileDialog_setConfirmOverwrite'; function QFileDialog_confirmOverwrite(handle: QFileDialogH): Boolean; cdecl; external Qt4PasLib name 'QFileDialog_confirmOverwrite'; procedure QFileDialog_setDefaultSuffix(handle: QFileDialogH; suffix: PWideString); cdecl; external Qt4PasLib name 'QFileDialog_setDefaultSuffix'; procedure QFileDialog_defaultSuffix(handle: QFileDialogH; retval: PWideString); cdecl; external Qt4PasLib name 'QFileDialog_defaultSuffix'; procedure QFileDialog_setHistory(handle: QFileDialogH; paths: QStringListH); cdecl; external Qt4PasLib name 'QFileDialog_setHistory'; procedure QFileDialog_history(handle: QFileDialogH; retval: QStringListH); cdecl; external Qt4PasLib name 'QFileDialog_history'; procedure QFileDialog_setItemDelegate(handle: QFileDialogH; delegate: QAbstractItemDelegateH); cdecl; external Qt4PasLib name 'QFileDialog_setItemDelegate'; function QFileDialog_itemDelegate(handle: QFileDialogH): QAbstractItemDelegateH; cdecl; external Qt4PasLib name 'QFileDialog_itemDelegate'; procedure QFileDialog_setIconProvider(handle: QFileDialogH; provider: QFileIconProviderH); cdecl; external Qt4PasLib name 'QFileDialog_setIconProvider'; function QFileDialog_iconProvider(handle: QFileDialogH): QFileIconProviderH; cdecl; external Qt4PasLib name 'QFileDialog_iconProvider'; procedure QFileDialog_setLabelText(handle: QFileDialogH; _label: QFileDialogDialogLabel; text: PWideString); cdecl; external Qt4PasLib name 'QFileDialog_setLabelText'; procedure QFileDialog_labelText(handle: QFileDialogH; retval: PWideString; _label: QFileDialogDialogLabel); cdecl; external Qt4PasLib name 'QFileDialog_labelText'; procedure QFileDialog_setProxyModel(handle: QFileDialogH; model: QAbstractProxyModelH); cdecl; external Qt4PasLib name 'QFileDialog_setProxyModel'; function QFileDialog_proxyModel(handle: QFileDialogH): QAbstractProxyModelH; cdecl; external Qt4PasLib name 'QFileDialog_proxyModel'; procedure QFileDialog_setOption(handle: QFileDialogH; option: QFileDialogOption; _on: Boolean = True); cdecl; external Qt4PasLib name 'QFileDialog_setOption'; function QFileDialog_testOption(handle: QFileDialogH; option: QFileDialogOption): Boolean; cdecl; external Qt4PasLib name 'QFileDialog_testOption'; procedure QFileDialog_setOptions(handle: QFileDialogH; options: QFileDialogOptions); cdecl; external Qt4PasLib name 'QFileDialog_setOptions'; function QFileDialog_options(handle: QFileDialogH): QFileDialogOptions; cdecl; external Qt4PasLib name 'QFileDialog_options'; procedure QFileDialog_open(handle: QFileDialogH; receiver: QObjectH; member: PAnsiChar); cdecl; external Qt4PasLib name 'QFileDialog_open'; procedure QFileDialog_setVisible(handle: QFileDialogH; visible: Boolean); cdecl; external Qt4PasLib name 'QFileDialog_setVisible'; procedure QFileDialog_getOpenFileName(retval: PWideString; parent: QWidgetH = nil; caption: PWideString = nil; dir: PWideString = nil; filter: PWideString = nil; selectedFilter: PWideString = nil; options: QFileDialogOptions = 0); cdecl; external Qt4PasLib name 'QFileDialog_getOpenFileName'; procedure QFileDialog_getSaveFileName(retval: PWideString; parent: QWidgetH = nil; caption: PWideString = nil; dir: PWideString = nil; filter: PWideString = nil; selectedFilter: PWideString = nil; options: QFileDialogOptions = 0); cdecl; external Qt4PasLib name 'QFileDialog_getSaveFileName'; procedure QFileDialog_getExistingDirectory(retval: PWideString; parent: QWidgetH = nil; caption: PWideString = nil; dir: PWideString = nil; options: QFileDialogOptions = QFileDialogShowDirsOnly); cdecl; external Qt4PasLib name 'QFileDialog_getExistingDirectory'; procedure QFileDialog_getOpenFileNames(retval: QStringListH; parent: QWidgetH = nil; caption: PWideString = nil; dir: PWideString = nil; filter: PWideString = nil; selectedFilter: PWideString = nil; options: QFileDialogOptions = 0); cdecl; external Qt4PasLib name 'QFileDialog_getOpenFileNames'; type QFileDialog_fileSelected_Event = procedure (_file: PWideString) of object cdecl; QFileDialog_filesSelected_Event = procedure (files: QStringListH) of object cdecl; QFileDialog_currentChanged_Event = procedure (path: PWideString) of object cdecl; QFileDialog_directoryEntered_Event = procedure (directory: PWideString) of object cdecl; QFileDialog_filterSelected_Event = procedure (filter: PWideString) of object cdecl; function QProgressDialog_create(parent: QWidgetH = nil; flags: QtWindowFlags = 0): QProgressDialogH; cdecl; external Qt4PasLib name 'QProgressDialog_create'; procedure QProgressDialog_destroy(handle: QProgressDialogH); cdecl; external Qt4PasLib name 'QProgressDialog_destroy'; function QProgressDialog_create(labelText: PWideString; cancelButtonText: PWideString; minimum: Integer; maximum: Integer; parent: QWidgetH = nil; flags: QtWindowFlags = 0): QProgressDialogH; cdecl; external Qt4PasLib name 'QProgressDialog_create2'; procedure QProgressDialog_setLabel(handle: QProgressDialogH; _label: QLabelH); cdecl; external Qt4PasLib name 'QProgressDialog_setLabel'; procedure QProgressDialog_setCancelButton(handle: QProgressDialogH; button: QPushButtonH); cdecl; external Qt4PasLib name 'QProgressDialog_setCancelButton'; procedure QProgressDialog_setBar(handle: QProgressDialogH; bar: QProgressBarH); cdecl; external Qt4PasLib name 'QProgressDialog_setBar'; function QProgressDialog_wasCanceled(handle: QProgressDialogH): Boolean; cdecl; external Qt4PasLib name 'QProgressDialog_wasCanceled'; function QProgressDialog_minimum(handle: QProgressDialogH): Integer; cdecl; external Qt4PasLib name 'QProgressDialog_minimum'; function QProgressDialog_maximum(handle: QProgressDialogH): Integer; cdecl; external Qt4PasLib name 'QProgressDialog_maximum'; function QProgressDialog_value(handle: QProgressDialogH): Integer; cdecl; external Qt4PasLib name 'QProgressDialog_value'; procedure QProgressDialog_sizeHint(handle: QProgressDialogH; retval: PSize); cdecl; external Qt4PasLib name 'QProgressDialog_sizeHint'; procedure QProgressDialog_labelText(handle: QProgressDialogH; retval: PWideString); cdecl; external Qt4PasLib name 'QProgressDialog_labelText'; function QProgressDialog_minimumDuration(handle: QProgressDialogH): Integer; cdecl; external Qt4PasLib name 'QProgressDialog_minimumDuration'; procedure QProgressDialog_setAutoReset(handle: QProgressDialogH; reset: Boolean); cdecl; external Qt4PasLib name 'QProgressDialog_setAutoReset'; function QProgressDialog_autoReset(handle: QProgressDialogH): Boolean; cdecl; external Qt4PasLib name 'QProgressDialog_autoReset'; procedure QProgressDialog_setAutoClose(handle: QProgressDialogH; close: Boolean); cdecl; external Qt4PasLib name 'QProgressDialog_setAutoClose'; function QProgressDialog_autoClose(handle: QProgressDialogH): Boolean; cdecl; external Qt4PasLib name 'QProgressDialog_autoClose'; procedure QProgressDialog_open(handle: QProgressDialogH; receiver: QObjectH; member: PAnsiChar); cdecl; external Qt4PasLib name 'QProgressDialog_open'; procedure QProgressDialog_cancel(handle: QProgressDialogH); cdecl; external Qt4PasLib name 'QProgressDialog_cancel'; procedure QProgressDialog_reset(handle: QProgressDialogH); cdecl; external Qt4PasLib name 'QProgressDialog_reset'; procedure QProgressDialog_setMaximum(handle: QProgressDialogH; maximum: Integer); cdecl; external Qt4PasLib name 'QProgressDialog_setMaximum'; procedure QProgressDialog_setMinimum(handle: QProgressDialogH; minimum: Integer); cdecl; external Qt4PasLib name 'QProgressDialog_setMinimum'; procedure QProgressDialog_setRange(handle: QProgressDialogH; minimum: Integer; maximum: Integer); cdecl; external Qt4PasLib name 'QProgressDialog_setRange'; procedure QProgressDialog_setValue(handle: QProgressDialogH; progress: Integer); cdecl; external Qt4PasLib name 'QProgressDialog_setValue'; procedure QProgressDialog_setLabelText(handle: QProgressDialogH; text: PWideString); cdecl; external Qt4PasLib name 'QProgressDialog_setLabelText'; procedure QProgressDialog_setCancelButtonText(handle: QProgressDialogH; text: PWideString); cdecl; external Qt4PasLib name 'QProgressDialog_setCancelButtonText'; procedure QProgressDialog_setMinimumDuration(handle: QProgressDialogH; ms: Integer); cdecl; external Qt4PasLib name 'QProgressDialog_setMinimumDuration'; type QProgressDialog_canceled_Event = procedure () of object cdecl; type QAbstractPrintDialogPrintRange = ( // QAbstractPrintDialog::PrintRange (1) QAbstractPrintDialogAllPages, QAbstractPrintDialogSelection, QAbstractPrintDialogPageRange ); type QAbstractPrintDialogPrintDialogOption = cardinal; // QAbstractPrintDialog::PrintDialogOption QAbstractPrintDialogPrintDialogOptions = QAbstractPrintDialogPrintDialogOption; //QFlags<> (3) const QAbstractPrintDialogNone = $0000; QAbstractPrintDialogPrintToFile = $0001; QAbstractPrintDialogPrintSelection = $0002; QAbstractPrintDialogPrintPageRange = $0004; QAbstractPrintDialogPrintShowPageSize = $0008; QAbstractPrintDialogPrintCollateCopies = $0010; QAbstractPrintDialogDontUseSheet = $0020; function QAbstractPrintDialog_exec(handle: QAbstractPrintDialogH): Integer; cdecl; external Qt4PasLib name 'QAbstractPrintDialog_exec'; procedure QAbstractPrintDialog_addEnabledOption(handle: QAbstractPrintDialogH; option: QAbstractPrintDialogPrintDialogOption); cdecl; external Qt4PasLib name 'QAbstractPrintDialog_addEnabledOption'; procedure QAbstractPrintDialog_setEnabledOptions(handle: QAbstractPrintDialogH; options: QAbstractPrintDialogPrintDialogOptions); cdecl; external Qt4PasLib name 'QAbstractPrintDialog_setEnabledOptions'; function QAbstractPrintDialog_enabledOptions(handle: QAbstractPrintDialogH): QAbstractPrintDialogPrintDialogOptions; cdecl; external Qt4PasLib name 'QAbstractPrintDialog_enabledOptions'; function QAbstractPrintDialog_isOptionEnabled(handle: QAbstractPrintDialogH; option: QAbstractPrintDialogPrintDialogOption): Boolean; cdecl; external Qt4PasLib name 'QAbstractPrintDialog_isOptionEnabled'; procedure QAbstractPrintDialog_setPrintRange(handle: QAbstractPrintDialogH; range: QAbstractPrintDialogPrintRange); cdecl; external Qt4PasLib name 'QAbstractPrintDialog_setPrintRange'; function QAbstractPrintDialog_printRange(handle: QAbstractPrintDialogH): QAbstractPrintDialogPrintRange; cdecl; external Qt4PasLib name 'QAbstractPrintDialog_printRange'; procedure QAbstractPrintDialog_setMinMax(handle: QAbstractPrintDialogH; min: Integer; max: Integer); cdecl; external Qt4PasLib name 'QAbstractPrintDialog_setMinMax'; function QAbstractPrintDialog_minPage(handle: QAbstractPrintDialogH): Integer; cdecl; external Qt4PasLib name 'QAbstractPrintDialog_minPage'; function QAbstractPrintDialog_maxPage(handle: QAbstractPrintDialogH): Integer; cdecl; external Qt4PasLib name 'QAbstractPrintDialog_maxPage'; procedure QAbstractPrintDialog_setFromTo(handle: QAbstractPrintDialogH; fromPage: Integer; toPage: Integer); cdecl; external Qt4PasLib name 'QAbstractPrintDialog_setFromTo'; function QAbstractPrintDialog_fromPage(handle: QAbstractPrintDialogH): Integer; cdecl; external Qt4PasLib name 'QAbstractPrintDialog_fromPage'; function QAbstractPrintDialog_toPage(handle: QAbstractPrintDialogH): Integer; cdecl; external Qt4PasLib name 'QAbstractPrintDialog_toPage'; function QAbstractPrintDialog_printer(handle: QAbstractPrintDialogH): QPrinterH; cdecl; external Qt4PasLib name 'QAbstractPrintDialog_printer'; function QPrintDialog_create(printer: QPrinterH; parent: QWidgetH = nil): QPrintDialogH; cdecl; external Qt4PasLib name 'QPrintDialog_create'; procedure QPrintDialog_destroy(handle: QPrintDialogH); cdecl; external Qt4PasLib name 'QPrintDialog_destroy'; function QPrintDialog_create(parent: QWidgetH = nil): QPrintDialogH; cdecl; external Qt4PasLib name 'QPrintDialog_create2'; function QPrintDialog_exec(handle: QPrintDialogH): Integer; cdecl; external Qt4PasLib name 'QPrintDialog_exec'; {$ifdef BINUX or QTOPIA } procedure QPrintDialog_accept(handle: QPrintDialogH); cdecl; external Qt4PasLib name 'QPrintDialog_accept'; {$endif} procedure QPrintDialog_done(handle: QPrintDialogH; result: Integer); cdecl; external Qt4PasLib name 'QPrintDialog_done'; procedure QPrintDialog_setOption(handle: QPrintDialogH; option: QAbstractPrintDialogPrintDialogOption; _on: Boolean = True); cdecl; external Qt4PasLib name 'QPrintDialog_setOption'; function QPrintDialog_testOption(handle: QPrintDialogH; option: QAbstractPrintDialogPrintDialogOption): Boolean; cdecl; external Qt4PasLib name 'QPrintDialog_testOption'; procedure QPrintDialog_setOptions(handle: QPrintDialogH; options: QAbstractPrintDialogPrintDialogOptions); cdecl; external Qt4PasLib name 'QPrintDialog_setOptions'; function QPrintDialog_options(handle: QPrintDialogH): QAbstractPrintDialogPrintDialogOptions; cdecl; external Qt4PasLib name 'QPrintDialog_options'; {$ifdef BINUX or DARWIN or QTOPIA } procedure QPrintDialog_setVisible(handle: QPrintDialogH; visible: Boolean); cdecl; external Qt4PasLib name 'QPrintDialog_setVisible'; {$endif} procedure QPrintDialog_open(handle: QPrintDialogH; receiver: QObjectH; member: PAnsiChar); cdecl; external Qt4PasLib name 'QPrintDialog_open'; type QPrintDialog_accepted_Event = procedure (printer: QPrinterH) of object cdecl; type QPageSetupDialogPageSetupDialogOption = cardinal; // QPageSetupDialog::PageSetupDialogOption QPageSetupDialogPageSetupDialogOptions = QPageSetupDialogPageSetupDialogOption; //QFlags<> (3) const QPageSetupDialogNone = $00000000; QPageSetupDialogDontUseSheet = $00000001; QPageSetupDialogOwnsPrinter = $80000000; function QPageSetupDialog_create(printer: QPrinterH; parent: QWidgetH = nil): QPageSetupDialogH; cdecl; external Qt4PasLib name 'QPageSetupDialog_create'; procedure QPageSetupDialog_destroy(handle: QPageSetupDialogH); cdecl; external Qt4PasLib name 'QPageSetupDialog_destroy'; function QPageSetupDialog_create(parent: QWidgetH = nil): QPageSetupDialogH; cdecl; external Qt4PasLib name 'QPageSetupDialog_create2'; procedure QPageSetupDialog_addEnabledOption(handle: QPageSetupDialogH; option: QPageSetupDialogPageSetupDialogOption); cdecl; external Qt4PasLib name 'QPageSetupDialog_addEnabledOption'; procedure QPageSetupDialog_setEnabledOptions(handle: QPageSetupDialogH; options: QPageSetupDialogPageSetupDialogOptions); cdecl; external Qt4PasLib name 'QPageSetupDialog_setEnabledOptions'; function QPageSetupDialog_enabledOptions(handle: QPageSetupDialogH): QPageSetupDialogPageSetupDialogOptions; cdecl; external Qt4PasLib name 'QPageSetupDialog_enabledOptions'; function QPageSetupDialog_isOptionEnabled(handle: QPageSetupDialogH; option: QPageSetupDialogPageSetupDialogOption): Boolean; cdecl; external Qt4PasLib name 'QPageSetupDialog_isOptionEnabled'; procedure QPageSetupDialog_setOption(handle: QPageSetupDialogH; option: QPageSetupDialogPageSetupDialogOption; _on: Boolean = True); cdecl; external Qt4PasLib name 'QPageSetupDialog_setOption'; function QPageSetupDialog_testOption(handle: QPageSetupDialogH; option: QPageSetupDialogPageSetupDialogOption): Boolean; cdecl; external Qt4PasLib name 'QPageSetupDialog_testOption'; procedure QPageSetupDialog_setOptions(handle: QPageSetupDialogH; options: QPageSetupDialogPageSetupDialogOptions); cdecl; external Qt4PasLib name 'QPageSetupDialog_setOptions'; function QPageSetupDialog_options(handle: QPageSetupDialogH): QPageSetupDialogPageSetupDialogOptions; cdecl; external Qt4PasLib name 'QPageSetupDialog_options'; function QPageSetupDialog_exec(handle: QPageSetupDialogH): Integer; cdecl; external Qt4PasLib name 'QPageSetupDialog_exec'; procedure QPageSetupDialog_open(handle: QPageSetupDialogH; receiver: QObjectH; member: PAnsiChar); cdecl; external Qt4PasLib name 'QPageSetupDialog_open'; {$ifdef DARWIN } procedure QPageSetupDialog_setVisible(handle: QPageSetupDialogH; visible: Boolean); cdecl; external Qt4PasLib name 'QPageSetupDialog_setVisible'; {$endif} function QPrintPreviewDialog_create(parent: QWidgetH = nil; flags: QtWindowFlags = 0): QPrintPreviewDialogH; cdecl; external Qt4PasLib name 'QPrintPreviewDialog_create'; procedure QPrintPreviewDialog_destroy(handle: QPrintPreviewDialogH); cdecl; external Qt4PasLib name 'QPrintPreviewDialog_destroy'; function QPrintPreviewDialog_create(printer: QPrinterH; parent: QWidgetH = nil; flags: QtWindowFlags = 0): QPrintPreviewDialogH; cdecl; external Qt4PasLib name 'QPrintPreviewDialog_create2'; procedure QPrintPreviewDialog_open(handle: QPrintPreviewDialogH; receiver: QObjectH; member: PAnsiChar); cdecl; external Qt4PasLib name 'QPrintPreviewDialog_open'; function QPrintPreviewDialog_printer(handle: QPrintPreviewDialogH): QPrinterH; cdecl; external Qt4PasLib name 'QPrintPreviewDialog_printer'; procedure QPrintPreviewDialog_setVisible(handle: QPrintPreviewDialogH; visible: Boolean); cdecl; external Qt4PasLib name 'QPrintPreviewDialog_setVisible'; procedure QPrintPreviewDialog_done(handle: QPrintPreviewDialogH; result: Integer); cdecl; external Qt4PasLib name 'QPrintPreviewDialog_done'; type QPrintPreviewDialog_paintRequested_Event = procedure (printer: QPrinterH) of object cdecl; type QSystemTrayIconActivationReason = ( // QSystemTrayIcon::ActivationReason (1) QSystemTrayIconUnknown, QSystemTrayIconContext, QSystemTrayIconDoubleClick, QSystemTrayIconTrigger, QSystemTrayIconMiddleClick ); QSystemTrayIconMessageIcon = ( // QSystemTrayIcon::MessageIcon (1) QSystemTrayIconNoIcon, QSystemTrayIconInformation, QSystemTrayIconWarning, QSystemTrayIconCritical ); function QSystemTrayIcon_create(parent: QObjectH = nil): QSystemTrayIconH; cdecl; external Qt4PasLib name 'QSystemTrayIcon_create'; procedure QSystemTrayIcon_destroy(handle: QSystemTrayIconH); cdecl; external Qt4PasLib name 'QSystemTrayIcon_destroy'; function QSystemTrayIcon_create(icon: QIconH; parent: QObjectH = nil): QSystemTrayIconH; cdecl; external Qt4PasLib name 'QSystemTrayIcon_create2'; procedure QSystemTrayIcon_setContextMenu(handle: QSystemTrayIconH; menu: QMenuH); cdecl; external Qt4PasLib name 'QSystemTrayIcon_setContextMenu'; function QSystemTrayIcon_contextMenu(handle: QSystemTrayIconH): QMenuH; cdecl; external Qt4PasLib name 'QSystemTrayIcon_contextMenu'; procedure QSystemTrayIcon_icon(handle: QSystemTrayIconH; retval: QIconH); cdecl; external Qt4PasLib name 'QSystemTrayIcon_icon'; procedure QSystemTrayIcon_setIcon(handle: QSystemTrayIconH; icon: QIconH); cdecl; external Qt4PasLib name 'QSystemTrayIcon_setIcon'; procedure QSystemTrayIcon_toolTip(handle: QSystemTrayIconH; retval: PWideString); cdecl; external Qt4PasLib name 'QSystemTrayIcon_toolTip'; procedure QSystemTrayIcon_setToolTip(handle: QSystemTrayIconH; tip: PWideString); cdecl; external Qt4PasLib name 'QSystemTrayIcon_setToolTip'; function QSystemTrayIcon_isSystemTrayAvailable(): Boolean; cdecl; external Qt4PasLib name 'QSystemTrayIcon_isSystemTrayAvailable'; function QSystemTrayIcon_supportsMessages(): Boolean; cdecl; external Qt4PasLib name 'QSystemTrayIcon_supportsMessages'; procedure QSystemTrayIcon_showMessage(handle: QSystemTrayIconH; title: PWideString; msg: PWideString; icon: QSystemTrayIconMessageIcon = QSystemTrayIconInformation; msecs: Integer = 10000); cdecl; external Qt4PasLib name 'QSystemTrayIcon_showMessage'; procedure QSystemTrayIcon_geometry(handle: QSystemTrayIconH; retval: PRect); cdecl; external Qt4PasLib name 'QSystemTrayIcon_geometry'; function QSystemTrayIcon_isVisible(handle: QSystemTrayIconH): Boolean; cdecl; external Qt4PasLib name 'QSystemTrayIcon_isVisible'; procedure QSystemTrayIcon_setVisible(handle: QSystemTrayIconH; visible: Boolean); cdecl; external Qt4PasLib name 'QSystemTrayIcon_setVisible'; procedure QSystemTrayIcon_show(handle: QSystemTrayIconH); cdecl; external Qt4PasLib name 'QSystemTrayIcon_show'; procedure QSystemTrayIcon_hide(handle: QSystemTrayIconH); cdecl; external Qt4PasLib name 'QSystemTrayIcon_hide'; type QSystemTrayIcon_activated_Event = procedure (reason: QSystemTrayIconActivationReason) of object cdecl; QSystemTrayIcon_messageClicked_Event = procedure () of object cdecl; type QDesktopServicesStandardLocation = ( // QDesktopServices::StandardLocation (1) QDesktopServicesDesktopLocation, QDesktopServicesDocumentsLocation, QDesktopServicesFontsLocation, QDesktopServicesApplicationsLocation, QDesktopServicesMusicLocation, QDesktopServicesMoviesLocation, QDesktopServicesPicturesLocation, QDesktopServicesTempLocation, QDesktopServicesHomeLocation, QDesktopServicesDataLocation, QDesktopServicesCacheLocation ); function QDesktopServices_openUrl(url: QUrlH): Boolean; cdecl; external Qt4PasLib name 'QDesktopServices_openUrl'; procedure QDesktopServices_setUrlHandler(scheme: PWideString; receiver: QObjectH; method: PAnsiChar); cdecl; external Qt4PasLib name 'QDesktopServices_setUrlHandler'; procedure QDesktopServices_unsetUrlHandler(scheme: PWideString); cdecl; external Qt4PasLib name 'QDesktopServices_unsetUrlHandler'; procedure QDesktopServices_storageLocation(retval: PWideString; _type: QDesktopServicesStandardLocation); cdecl; external Qt4PasLib name 'QDesktopServices_storageLocation'; procedure QDesktopServices_displayName(retval: PWideString; _type: QDesktopServicesStandardLocation); cdecl; external Qt4PasLib name 'QDesktopServices_displayName'; type QStyleStateFlag = cardinal; // QStyle::StateFlag QStyleState = QStyleStateFlag; //QFlags<> (3) const QStyleState_None = $00000000; QStyleState_Enabled = $00000001; QStyleState_Raised = $00000002; QStyleState_Sunken = $00000004; QStyleState_Off = $00000008; QStyleState_NoChange = $00000010; QStyleState_On = $00000020; QStyleState_DownArrow = $00000040; QStyleState_Horizontal = $00000080; QStyleState_HasFocus = $00000100; QStyleState_Top = $00000200; QStyleState_Bottom = $00000400; QStyleState_FocusAtBorder = $00000800; QStyleState_AutoRaise = $00001000; QStyleState_MouseOver = $00002000; QStyleState_UpArrow = $00004000; QStyleState_Selected = $00008000; QStyleState_Active = $00010000; QStyleState_Window = $00020000; QStyleState_Open = $00040000; QStyleState_Children = $00080000; QStyleState_Item = $00100000; QStyleState_Sibling = $00200000; QStyleState_Editing = $00400000; QStyleState_KeyboardFocusChange = $00800000; QStyleState_ReadOnly = $02000000; QStyleState_Small = $04000000; QStyleState_Mini = $08000000; type QStyleControlElement = ( //QStyle::ControlElement (2) QStyleCE_PushButton, QStyleCE_PushButtonBevel, QStyleCE_PushButtonLabel, QStyleCE_CheckBox, QStyleCE_CheckBoxLabel, QStyleCE_RadioButton, QStyleCE_RadioButtonLabel, QStyleCE_TabBarTab, QStyleCE_TabBarTabShape, QStyleCE_TabBarTabLabel, QStyleCE_ProgressBar, QStyleCE_ProgressBarGroove, QStyleCE_ProgressBarContents, QStyleCE_ProgressBarLabel, QStyleCE_MenuItem, QStyleCE_MenuScroller, QStyleCE_MenuVMargin, QStyleCE_MenuHMargin, QStyleCE_MenuTearoff, QStyleCE_MenuEmptyArea, QStyleCE_MenuBarItem, QStyleCE_MenuBarEmptyArea, QStyleCE_ToolButtonLabel, QStyleCE_Header, QStyleCE_HeaderSection, QStyleCE_HeaderLabel, QStyleCE_Q3DockWindowEmptyArea, QStyleCE_ToolBoxTab, QStyleCE_SizeGrip, QStyleCE_Splitter, QStyleCE_RubberBand, QStyleCE_DockWidgetTitle, QStyleCE_ScrollBarAddLine, QStyleCE_ScrollBarSubLine, QStyleCE_ScrollBarAddPage, QStyleCE_ScrollBarSubPage, QStyleCE_ScrollBarSlider, QStyleCE_ScrollBarFirst, QStyleCE_ScrollBarLast, QStyleCE_FocusFrame, QStyleCE_ComboBoxLabel, QStyleCE_ToolBar, QStyleCE_ToolBoxTabShape, QStyleCE_ToolBoxTabLabel, QStyleCE_HeaderEmptyArea, QStyleCE_ColumnViewGrip, QStyleCE_ItemViewItem, QStyleCE_ShapedFrame, QStyleCE_CustomBase = $f0000000 ); QStyleComplexControl = ( //QStyle::ComplexControl (2) QStyleCC_SpinBox, QStyleCC_ComboBox, QStyleCC_ScrollBar, QStyleCC_Slider, QStyleCC_ToolButton, QStyleCC_TitleBar, QStyleCC_Q3ListView, QStyleCC_Dial, QStyleCC_GroupBox, QStyleCC_MdiControls, QStyleCC_CustomBase = $f0000000 ); type QStyleSubControl = cardinal; // QStyle::SubControl QStyleSubControls = QStyleSubControl; //QFlags<> (3) const QStyleSC_None = $00000000; QStyleSC_ScrollBarAddLine = $00000001; QStyleSC_ScrollBarSubLine = $00000002; QStyleSC_ScrollBarAddPage = $00000004; QStyleSC_ScrollBarSubPage = $00000008; QStyleSC_ScrollBarFirst = $00000010; QStyleSC_ScrollBarLast = $00000020; QStyleSC_ScrollBarSlider = $00000040; QStyleSC_ScrollBarGroove = $00000080; QStyleSC_SpinBoxUp = $00000001; QStyleSC_SpinBoxDown = $00000002; QStyleSC_SpinBoxFrame = $00000004; QStyleSC_SpinBoxEditField = $00000008; QStyleSC_ComboBoxFrame = $00000001; QStyleSC_ComboBoxEditField = $00000002; QStyleSC_ComboBoxArrow = $00000004; QStyleSC_ComboBoxListBoxPopup = $00000008; QStyleSC_SliderGroove = $00000001; QStyleSC_SliderHandle = $00000002; QStyleSC_SliderTickmarks = $00000004; QStyleSC_ToolButton = $00000001; QStyleSC_ToolButtonMenu = $00000002; QStyleSC_TitleBarSysMenu = $00000001; QStyleSC_TitleBarMinButton = $00000002; QStyleSC_TitleBarMaxButton = $00000004; QStyleSC_TitleBarCloseButton = $00000008; QStyleSC_TitleBarNormalButton = $00000010; QStyleSC_TitleBarShadeButton = $00000020; QStyleSC_TitleBarUnshadeButton = $00000040; QStyleSC_TitleBarContextHelpButton = $00000080; QStyleSC_TitleBarLabel = $00000100; QStyleSC_Q3ListView = $00000001; QStyleSC_Q3ListViewBranch = $00000002; QStyleSC_Q3ListViewExpand = $00000004; QStyleSC_DialGroove = $00000001; QStyleSC_DialHandle = $00000002; QStyleSC_DialTickmarks = $00000004; QStyleSC_GroupBoxCheckBox = $00000001; QStyleSC_GroupBoxLabel = $00000002; QStyleSC_GroupBoxContents = $00000004; QStyleSC_GroupBoxFrame = $00000008; QStyleSC_MdiMinButton = $00000001; QStyleSC_MdiNormalButton = $00000002; QStyleSC_MdiCloseButton = $00000004; QStyleSC_All = $ffffffff; type QStyleContentsType = ( //QStyle::ContentsType (2) QStyleCT_PushButton, QStyleCT_CheckBox, QStyleCT_RadioButton, QStyleCT_ToolButton, QStyleCT_ComboBox, QStyleCT_Splitter, QStyleCT_Q3DockWindow, QStyleCT_ProgressBar, QStyleCT_MenuItem, QStyleCT_MenuBarItem, QStyleCT_MenuBar, QStyleCT_Menu, QStyleCT_TabBarTab, QStyleCT_Slider, QStyleCT_ScrollBar, QStyleCT_Q3Header, QStyleCT_LineEdit, QStyleCT_SpinBox, QStyleCT_SizeGrip, QStyleCT_TabWidget, QStyleCT_DialogButtons, QStyleCT_HeaderSection, QStyleCT_GroupBox, QStyleCT_MdiControls, QStyleCT_ItemViewItem, QStyleCT_CustomBase = $f0000000 ); QStyleStandardPixmap = ( //QStyle::StandardPixmap (2) QStyleSP_TitleBarMenuButton, QStyleSP_TitleBarMinButton, QStyleSP_TitleBarMaxButton, QStyleSP_TitleBarCloseButton, QStyleSP_TitleBarNormalButton, QStyleSP_TitleBarShadeButton, QStyleSP_TitleBarUnshadeButton, QStyleSP_TitleBarContextHelpButton, QStyleSP_DockWidgetCloseButton, QStyleSP_MessageBoxInformation, QStyleSP_MessageBoxWarning, QStyleSP_MessageBoxCritical, QStyleSP_MessageBoxQuestion, QStyleSP_DesktopIcon, QStyleSP_TrashIcon, QStyleSP_ComputerIcon, QStyleSP_DriveFDIcon, QStyleSP_DriveHDIcon, QStyleSP_DriveCDIcon, QStyleSP_DriveDVDIcon, QStyleSP_DriveNetIcon, QStyleSP_DirOpenIcon, QStyleSP_DirClosedIcon, QStyleSP_DirLinkIcon, QStyleSP_FileIcon, QStyleSP_FileLinkIcon, QStyleSP_ToolBarHorizontalExtensionButton, QStyleSP_ToolBarVerticalExtensionButton, QStyleSP_FileDialogStart, QStyleSP_FileDialogEnd, QStyleSP_FileDialogToParent, QStyleSP_FileDialogNewFolder, QStyleSP_FileDialogDetailedView, QStyleSP_FileDialogInfoView, QStyleSP_FileDialogContentsView, QStyleSP_FileDialogListView, QStyleSP_FileDialogBack, QStyleSP_DirIcon, QStyleSP_DialogOkButton, QStyleSP_DialogCancelButton, QStyleSP_DialogHelpButton, QStyleSP_DialogOpenButton, QStyleSP_DialogSaveButton, QStyleSP_DialogCloseButton, QStyleSP_DialogApplyButton, QStyleSP_DialogResetButton, QStyleSP_DialogDiscardButton, QStyleSP_DialogYesButton, QStyleSP_DialogNoButton, QStyleSP_ArrowUp, QStyleSP_ArrowDown, QStyleSP_ArrowLeft, QStyleSP_ArrowRight, QStyleSP_ArrowBack, QStyleSP_ArrowForward, QStyleSP_DirHomeIcon, QStyleSP_CommandLink, QStyleSP_VistaShield, QStyleSP_BrowserReload, QStyleSP_BrowserStop, QStyleSP_MediaPlay, QStyleSP_MediaStop, QStyleSP_MediaPause, QStyleSP_MediaSkipForward, QStyleSP_MediaSkipBackward, QStyleSP_MediaSeekForward, QStyleSP_MediaSeekBackward, QStyleSP_MediaVolume, QStyleSP_MediaVolumeMuted, QStyleSP_CustomBase = $f0000000 ); type QStylePrimitiveElement = cardinal; // QStyle::PrimitiveElement (4) const QStylePE_Q3CheckListController = 0 { $0 }; QStylePE_Q3CheckListExclusiveIndicator = 1 { $1 }; QStylePE_Q3CheckListIndicator = 2 { $2 }; QStylePE_Q3DockWindowSeparator = 3 { $3 }; QStylePE_Q3Separator = 4 { $4 }; QStylePE_Frame = 5 { $5 }; QStylePE_FrameDefaultButton = 6 { $6 }; QStylePE_FrameDockWidget = 7 { $7 }; QStylePE_FrameFocusRect = 8 { $8 }; QStylePE_FrameGroupBox = 9 { $9 }; QStylePE_FrameLineEdit = 10 { $a }; QStylePE_FrameMenu = 11 { $b }; QStylePE_FrameStatusBar = 12 { $c }; QStylePE_FrameStatusBarItem = 12 { $c }; QStylePE_FrameTabWidget = 13 { $d }; QStylePE_FrameWindow = 14 { $e }; QStylePE_FrameButtonBevel = 15 { $f }; QStylePE_FrameButtonTool = 16 { $10 }; QStylePE_FrameTabBarBase = 17 { $11 }; QStylePE_PanelButtonCommand = 18 { $12 }; QStylePE_PanelButtonBevel = 19 { $13 }; QStylePE_PanelButtonTool = 20 { $14 }; QStylePE_PanelMenuBar = 21 { $15 }; QStylePE_PanelToolBar = 22 { $16 }; QStylePE_PanelLineEdit = 23 { $17 }; QStylePE_IndicatorArrowDown = 24 { $18 }; QStylePE_IndicatorArrowLeft = 25 { $19 }; QStylePE_IndicatorArrowRight = 26 { $1a }; QStylePE_IndicatorArrowUp = 27 { $1b }; QStylePE_IndicatorBranch = 28 { $1c }; QStylePE_IndicatorButtonDropDown = 29 { $1d }; QStylePE_IndicatorViewItemCheck = 30 { $1e }; QStylePE_IndicatorItemViewItemCheck = 30 { $1e }; QStylePE_IndicatorCheckBox = 31 { $1f }; QStylePE_IndicatorDockWidgetResizeHandle = 32 { $20 }; QStylePE_IndicatorHeaderArrow = 33 { $21 }; QStylePE_IndicatorMenuCheckMark = 34 { $22 }; QStylePE_IndicatorProgressChunk = 35 { $23 }; QStylePE_IndicatorRadioButton = 36 { $24 }; QStylePE_IndicatorSpinDown = 37 { $25 }; QStylePE_IndicatorSpinMinus = 38 { $26 }; QStylePE_IndicatorSpinPlus = 39 { $27 }; QStylePE_IndicatorSpinUp = 40 { $28 }; QStylePE_IndicatorToolBarHandle = 41 { $29 }; QStylePE_IndicatorToolBarSeparator = 42 { $2a }; QStylePE_PanelTipLabel = 43 { $2b }; QStylePE_IndicatorTabTear = 44 { $2c }; QStylePE_PanelScrollAreaCorner = 45 { $2d }; QStylePE_Widget = 46 { $2e }; QStylePE_IndicatorColumnViewArrow = 47 { $2f }; QStylePE_IndicatorItemViewItemDrop = 48 { $30 }; QStylePE_PanelItemViewItem = 49 { $31 }; QStylePE_PanelItemViewRow = 50 { $32 }; QStylePE_PanelStatusBar = 51 { $33 }; QStylePE_IndicatorTabClose = 52 { $34 }; QStylePE_PanelMenu = 53 { $35 }; QStylePE_CustomBase = 251658240 { $f000000 }; type QStyleSubElement = cardinal; // QStyle::SubElement (4) const QStyleSE_PushButtonContents = 0 { $0 }; QStyleSE_PushButtonFocusRect = 1 { $1 }; QStyleSE_CheckBoxIndicator = 2 { $2 }; QStyleSE_CheckBoxContents = 3 { $3 }; QStyleSE_CheckBoxFocusRect = 4 { $4 }; QStyleSE_CheckBoxClickRect = 5 { $5 }; QStyleSE_RadioButtonIndicator = 6 { $6 }; QStyleSE_RadioButtonContents = 7 { $7 }; QStyleSE_RadioButtonFocusRect = 8 { $8 }; QStyleSE_RadioButtonClickRect = 9 { $9 }; QStyleSE_ComboBoxFocusRect = 10 { $a }; QStyleSE_SliderFocusRect = 11 { $b }; QStyleSE_Q3DockWindowHandleRect = 12 { $c }; QStyleSE_ProgressBarGroove = 13 { $d }; QStyleSE_ProgressBarContents = 14 { $e }; QStyleSE_ProgressBarLabel = 15 { $f }; QStyleSE_DialogButtonAccept = 16 { $10 }; QStyleSE_DialogButtonReject = 17 { $11 }; QStyleSE_DialogButtonApply = 18 { $12 }; QStyleSE_DialogButtonHelp = 19 { $13 }; QStyleSE_DialogButtonAll = 20 { $14 }; QStyleSE_DialogButtonAbort = 21 { $15 }; QStyleSE_DialogButtonIgnore = 22 { $16 }; QStyleSE_DialogButtonRetry = 23 { $17 }; QStyleSE_DialogButtonCustom = 24 { $18 }; QStyleSE_ToolBoxTabContents = 25 { $19 }; QStyleSE_HeaderLabel = 26 { $1a }; QStyleSE_HeaderArrow = 27 { $1b }; QStyleSE_TabWidgetTabBar = 28 { $1c }; QStyleSE_TabWidgetTabPane = 29 { $1d }; QStyleSE_TabWidgetTabContents = 30 { $1e }; QStyleSE_TabWidgetLeftCorner = 31 { $1f }; QStyleSE_TabWidgetRightCorner = 32 { $20 }; QStyleSE_ViewItemCheckIndicator = 33 { $21 }; QStyleSE_ItemViewItemCheckIndicator = 33 { $21 }; QStyleSE_TabBarTearIndicator = 34 { $22 }; QStyleSE_TreeViewDisclosureItem = 35 { $23 }; QStyleSE_LineEditContents = 36 { $24 }; QStyleSE_FrameContents = 37 { $25 }; QStyleSE_DockWidgetCloseButton = 38 { $26 }; QStyleSE_DockWidgetFloatButton = 39 { $27 }; QStyleSE_DockWidgetTitleBarText = 40 { $28 }; QStyleSE_DockWidgetIcon = 41 { $29 }; QStyleSE_CheckBoxLayoutItem = 42 { $2a }; QStyleSE_ComboBoxLayoutItem = 43 { $2b }; QStyleSE_DateTimeEditLayoutItem = 44 { $2c }; QStyleSE_DialogButtonBoxLayoutItem = 45 { $2d }; QStyleSE_LabelLayoutItem = 46 { $2e }; QStyleSE_ProgressBarLayoutItem = 47 { $2f }; QStyleSE_PushButtonLayoutItem = 48 { $30 }; QStyleSE_RadioButtonLayoutItem = 49 { $31 }; QStyleSE_SliderLayoutItem = 50 { $32 }; QStyleSE_SpinBoxLayoutItem = 51 { $33 }; QStyleSE_ToolButtonLayoutItem = 52 { $34 }; QStyleSE_FrameLayoutItem = 53 { $35 }; QStyleSE_GroupBoxLayoutItem = 54 { $36 }; QStyleSE_TabWidgetLayoutItem = 55 { $37 }; QStyleSE_ItemViewItemDecoration = 56 { $38 }; QStyleSE_ItemViewItemText = 57 { $39 }; QStyleSE_ItemViewItemFocusRect = 58 { $3a }; QStyleSE_TabBarTabLeftButton = 59 { $3b }; QStyleSE_TabBarTabRightButton = 60 { $3c }; QStyleSE_TabBarTabText = 61 { $3d }; QStyleSE_ShapedFrameContents = 62 { $3e }; QStyleSE_CustomBase = 4026531840 { $f0000000 }; type QStylePixelMetric = cardinal; // QStyle::PixelMetric (4) const QStylePM_ButtonMargin = 0 { $0 }; QStylePM_ButtonDefaultIndicator = 1 { $1 }; QStylePM_MenuButtonIndicator = 2 { $2 }; QStylePM_ButtonShiftHorizontal = 3 { $3 }; QStylePM_ButtonShiftVertical = 4 { $4 }; QStylePM_DefaultFrameWidth = 5 { $5 }; QStylePM_SpinBoxFrameWidth = 6 { $6 }; QStylePM_ComboBoxFrameWidth = 7 { $7 }; QStylePM_MaximumDragDistance = 8 { $8 }; QStylePM_ScrollBarExtent = 9 { $9 }; QStylePM_ScrollBarSliderMin = 10 { $a }; QStylePM_SliderThickness = 11 { $b }; QStylePM_SliderControlThickness = 12 { $c }; QStylePM_SliderLength = 13 { $d }; QStylePM_SliderTickmarkOffset = 14 { $e }; QStylePM_SliderSpaceAvailable = 15 { $f }; QStylePM_DockWidgetSeparatorExtent = 16 { $10 }; QStylePM_DockWidgetHandleExtent = 17 { $11 }; QStylePM_DockWidgetFrameWidth = 18 { $12 }; QStylePM_TabBarTabOverlap = 19 { $13 }; QStylePM_TabBarTabHSpace = 20 { $14 }; QStylePM_TabBarTabVSpace = 21 { $15 }; QStylePM_TabBarBaseHeight = 22 { $16 }; QStylePM_TabBarBaseOverlap = 23 { $17 }; QStylePM_ProgressBarChunkWidth = 24 { $18 }; QStylePM_SplitterWidth = 25 { $19 }; QStylePM_TitleBarHeight = 26 { $1a }; QStylePM_MenuScrollerHeight = 27 { $1b }; QStylePM_MenuHMargin = 28 { $1c }; QStylePM_MenuVMargin = 29 { $1d }; QStylePM_MenuPanelWidth = 30 { $1e }; QStylePM_MenuTearoffHeight = 31 { $1f }; QStylePM_MenuDesktopFrameWidth = 32 { $20 }; QStylePM_MenuBarPanelWidth = 33 { $21 }; QStylePM_MenuBarItemSpacing = 34 { $22 }; QStylePM_MenuBarVMargin = 35 { $23 }; QStylePM_MenuBarHMargin = 36 { $24 }; QStylePM_IndicatorWidth = 37 { $25 }; QStylePM_IndicatorHeight = 38 { $26 }; QStylePM_ExclusiveIndicatorWidth = 39 { $27 }; QStylePM_ExclusiveIndicatorHeight = 40 { $28 }; QStylePM_CheckListButtonSize = 41 { $29 }; QStylePM_CheckListControllerSize = 42 { $2a }; QStylePM_DialogButtonsSeparator = 43 { $2b }; QStylePM_DialogButtonsButtonWidth = 44 { $2c }; QStylePM_DialogButtonsButtonHeight = 45 { $2d }; QStylePM_MdiSubWindowFrameWidth = 46 { $2e }; QStylePM_MDIFrameWidth = 46 { $2e }; QStylePM_MdiSubWindowMinimizedWidth = 47 { $2f }; QStylePM_MDIMinimizedWidth = 47 { $2f }; QStylePM_HeaderMargin = 48 { $30 }; QStylePM_HeaderMarkSize = 49 { $31 }; QStylePM_HeaderGripMargin = 50 { $32 }; QStylePM_TabBarTabShiftHorizontal = 51 { $33 }; QStylePM_TabBarTabShiftVertical = 52 { $34 }; QStylePM_TabBarScrollButtonWidth = 53 { $35 }; QStylePM_ToolBarFrameWidth = 54 { $36 }; QStylePM_ToolBarHandleExtent = 55 { $37 }; QStylePM_ToolBarItemSpacing = 56 { $38 }; QStylePM_ToolBarItemMargin = 57 { $39 }; QStylePM_ToolBarSeparatorExtent = 58 { $3a }; QStylePM_ToolBarExtensionExtent = 59 { $3b }; QStylePM_SpinBoxSliderHeight = 60 { $3c }; QStylePM_DefaultTopLevelMargin = 61 { $3d }; QStylePM_DefaultChildMargin = 62 { $3e }; QStylePM_DefaultLayoutSpacing = 63 { $3f }; QStylePM_ToolBarIconSize = 64 { $40 }; QStylePM_ListViewIconSize = 65 { $41 }; QStylePM_IconViewIconSize = 66 { $42 }; QStylePM_SmallIconSize = 67 { $43 }; QStylePM_LargeIconSize = 68 { $44 }; QStylePM_FocusFrameVMargin = 69 { $45 }; QStylePM_FocusFrameHMargin = 70 { $46 }; QStylePM_ToolTipLabelFrameWidth = 71 { $47 }; QStylePM_CheckBoxLabelSpacing = 72 { $48 }; QStylePM_TabBarIconSize = 73 { $49 }; QStylePM_SizeGripSize = 74 { $4a }; QStylePM_DockWidgetTitleMargin = 75 { $4b }; QStylePM_MessageBoxIconSize = 76 { $4c }; QStylePM_ButtonIconSize = 77 { $4d }; QStylePM_DockWidgetTitleBarButtonMargin = 78 { $4e }; QStylePM_RadioButtonLabelSpacing = 79 { $4f }; QStylePM_LayoutLeftMargin = 80 { $50 }; QStylePM_LayoutTopMargin = 81 { $51 }; QStylePM_LayoutRightMargin = 82 { $52 }; QStylePM_LayoutBottomMargin = 83 { $53 }; QStylePM_LayoutHorizontalSpacing = 84 { $54 }; QStylePM_LayoutVerticalSpacing = 85 { $55 }; QStylePM_TabBar_ScrollButtonOverlap = 86 { $56 }; QStylePM_TextCursorWidth = 87 { $57 }; QStylePM_TabCloseIndicatorWidth = 88 { $58 }; QStylePM_TabCloseIndicatorHeight = 89 { $59 }; QStylePM_ScrollView_ScrollBarSpacing = 90 { $5a }; QStylePM_SubMenuOverlap = 91 { $5b }; QStylePM_CustomBase = 4026531840 { $f0000000 }; type QStyleStyleHint = cardinal; // QStyle::StyleHint (4) const QStyleSH_EtchDisabledText = 0 { $0 }; QStyleSH_DitherDisabledText = 1 { $1 }; QStyleSH_ScrollBar_MiddleClickAbsolutePosition = 2 { $2 }; QStyleSH_ScrollBar_ScrollWhenPointerLeavesControl = 3 { $3 }; QStyleSH_TabBar_SelectMouseType = 4 { $4 }; QStyleSH_TabBar_Alignment = 5 { $5 }; QStyleSH_Header_ArrowAlignment = 6 { $6 }; QStyleSH_Slider_SnapToValue = 7 { $7 }; QStyleSH_Slider_SloppyKeyEvents = 8 { $8 }; QStyleSH_ProgressDialog_CenterCancelButton = 9 { $9 }; QStyleSH_ProgressDialog_TextLabelAlignment = 10 { $a }; QStyleSH_PrintDialog_RightAlignButtons = 11 { $b }; QStyleSH_MainWindow_SpaceBelowMenuBar = 12 { $c }; QStyleSH_FontDialog_SelectAssociatedText = 13 { $d }; QStyleSH_Menu_AllowActiveAndDisabled = 14 { $e }; QStyleSH_Menu_SpaceActivatesItem = 15 { $f }; QStyleSH_Menu_SubMenuPopupDelay = 16 { $10 }; QStyleSH_ScrollView_FrameOnlyAroundContents = 17 { $11 }; QStyleSH_MenuBar_AltKeyNavigation = 18 { $12 }; QStyleSH_ComboBox_ListMouseTracking = 19 { $13 }; QStyleSH_Menu_MouseTracking = 20 { $14 }; QStyleSH_MenuBar_MouseTracking = 21 { $15 }; QStyleSH_ItemView_ChangeHighlightOnFocus = 22 { $16 }; QStyleSH_Widget_ShareActivation = 23 { $17 }; QStyleSH_Workspace_FillSpaceOnMaximize = 24 { $18 }; QStyleSH_ComboBox_Popup = 25 { $19 }; QStyleSH_TitleBar_NoBorder = 26 { $1a }; QStyleSH_Slider_StopMouseOverSlider = 27 { $1b }; QStyleSH_ScrollBar_StopMouseOverSlider = 27 { $1b }; QStyleSH_BlinkCursorWhenTextSelected = 28 { $1c }; QStyleSH_RichText_FullWidthSelection = 29 { $1d }; QStyleSH_Menu_Scrollable = 30 { $1e }; QStyleSH_GroupBox_TextLabelVerticalAlignment = 31 { $1f }; QStyleSH_GroupBox_TextLabelColor = 32 { $20 }; QStyleSH_Menu_SloppySubMenus = 33 { $21 }; QStyleSH_Table_GridLineColor = 34 { $22 }; QStyleSH_LineEdit_PasswordCharacter = 35 { $23 }; QStyleSH_DialogButtons_DefaultButton = 36 { $24 }; QStyleSH_ToolBox_SelectedPageTitleBold = 37 { $25 }; QStyleSH_TabBar_PreferNoArrows = 38 { $26 }; QStyleSH_ScrollBar_LeftClickAbsolutePosition = 39 { $27 }; QStyleSH_Q3ListViewExpand_SelectMouseType = 40 { $28 }; QStyleSH_UnderlineShortcut = 41 { $29 }; QStyleSH_SpinBox_AnimateButton = 42 { $2a }; QStyleSH_SpinBox_KeyPressAutoRepeatRate = 43 { $2b }; QStyleSH_SpinBox_ClickAutoRepeatRate = 44 { $2c }; QStyleSH_Menu_FillScreenWithScroll = 45 { $2d }; QStyleSH_ToolTipLabel_Opacity = 46 { $2e }; QStyleSH_DrawMenuBarSeparator = 47 { $2f }; QStyleSH_TitleBar_ModifyNotification = 48 { $30 }; QStyleSH_Button_FocusPolicy = 49 { $31 }; QStyleSH_MenuBar_DismissOnSecondClick = 50 { $32 }; QStyleSH_MessageBox_UseBorderForButtonSpacing = 51 { $33 }; QStyleSH_TitleBar_AutoRaise = 52 { $34 }; QStyleSH_ToolButton_PopupDelay = 53 { $35 }; QStyleSH_FocusFrame_Mask = 54 { $36 }; QStyleSH_RubberBand_Mask = 55 { $37 }; QStyleSH_WindowFrame_Mask = 56 { $38 }; QStyleSH_SpinControls_DisableOnBounds = 57 { $39 }; QStyleSH_Dial_BackgroundRole = 58 { $3a }; QStyleSH_ComboBox_LayoutDirection = 59 { $3b }; QStyleSH_ItemView_EllipsisLocation = 60 { $3c }; QStyleSH_ItemView_ShowDecorationSelected = 61 { $3d }; QStyleSH_ItemView_ActivateItemOnSingleClick = 62 { $3e }; QStyleSH_ScrollBar_ContextMenu = 63 { $3f }; QStyleSH_ScrollBar_RollBetweenButtons = 64 { $40 }; QStyleSH_Slider_AbsoluteSetButtons = 65 { $41 }; QStyleSH_Slider_PageSetButtons = 66 { $42 }; QStyleSH_Menu_KeyboardSearch = 67 { $43 }; QStyleSH_TabBar_ElideMode = 68 { $44 }; QStyleSH_DialogButtonLayout = 69 { $45 }; QStyleSH_ComboBox_PopupFrameStyle = 70 { $46 }; QStyleSH_MessageBox_TextInteractionFlags = 71 { $47 }; QStyleSH_DialogButtonBox_ButtonsHaveIcons = 72 { $48 }; QStyleSH_SpellCheckUnderlineStyle = 73 { $49 }; QStyleSH_MessageBox_CenterButtons = 74 { $4a }; QStyleSH_Menu_SelectionWrap = 75 { $4b }; QStyleSH_ItemView_MovementWithoutUpdatingSelection = 76 { $4c }; QStyleSH_ToolTip_Mask = 77 { $4d }; QStyleSH_FocusFrame_AboveWidget = 78 { $4e }; QStyleSH_TextControl_FocusIndicatorTextCharFormat = 79 { $4f }; QStyleSH_WizardStyle = 80 { $50 }; QStyleSH_ItemView_ArrowKeysNavigateIntoChildren = 81 { $51 }; QStyleSH_Menu_Mask = 82 { $52 }; QStyleSH_Menu_FlashTriggeredItem = 83 { $53 }; QStyleSH_Menu_FadeOutOnHide = 84 { $54 }; QStyleSH_SpinBox_ClickAutoRepeatThreshold = 85 { $55 }; QStyleSH_ItemView_PaintAlternatingRowColorsForEmptyArea = 86 { $56 }; QStyleSH_FormLayoutWrapPolicy = 87 { $57 }; QStyleSH_TabWidget_DefaultTabPosition = 88 { $58 }; QStyleSH_ToolBar_Movable = 89 { $59 }; QStyleSH_FormLayoutFieldGrowthPolicy = 90 { $5a }; QStyleSH_FormLayoutFormAlignment = 91 { $5b }; QStyleSH_FormLayoutLabelAlignment = 92 { $5c }; QStyleSH_ItemView_DrawDelegateFrame = 93 { $5d }; QStyleSH_TabBar_CloseButtonPosition = 94 { $5e }; QStyleSH_DockWidget_ButtonsHaveFrame = 95 { $5f }; QStyleSH_CustomBase = 4026531840 { $f0000000 }; procedure QStyle_polish(handle: QStyleH; AnonParam1: QWidgetH); cdecl; external Qt4PasLib name 'QStyle_polish'; procedure QStyle_unpolish(handle: QStyleH; AnonParam1: QWidgetH); cdecl; external Qt4PasLib name 'QStyle_unpolish'; procedure QStyle_polish(handle: QStyleH; AnonParam1: QApplicationH); cdecl; external Qt4PasLib name 'QStyle_polish2'; procedure QStyle_unpolish(handle: QStyleH; AnonParam1: QApplicationH); cdecl; external Qt4PasLib name 'QStyle_unpolish2'; procedure QStyle_polish(handle: QStyleH; AnonParam1: QPaletteH); cdecl; external Qt4PasLib name 'QStyle_polish3'; procedure QStyle_itemTextRect(handle: QStyleH; retval: PRect; fm: QFontMetricsH; r: PRect; flags: Integer; enabled: Boolean; text: PWideString); cdecl; external Qt4PasLib name 'QStyle_itemTextRect'; procedure QStyle_itemPixmapRect(handle: QStyleH; retval: PRect; r: PRect; flags: Integer; pixmap: QPixmapH); cdecl; external Qt4PasLib name 'QStyle_itemPixmapRect'; procedure QStyle_drawItemText(handle: QStyleH; painter: QPainterH; rect: PRect; flags: Integer; pal: QPaletteH; enabled: Boolean; text: PWideString; textRole: QPaletteColorRole = QPaletteNoRole); cdecl; external Qt4PasLib name 'QStyle_drawItemText'; procedure QStyle_drawItemPixmap(handle: QStyleH; painter: QPainterH; rect: PRect; alignment: Integer; pixmap: QPixmapH); cdecl; external Qt4PasLib name 'QStyle_drawItemPixmap'; procedure QStyle_standardPalette(handle: QStyleH; retval: QPaletteH); cdecl; external Qt4PasLib name 'QStyle_standardPalette'; procedure QStyle_drawPrimitive(handle: QStyleH; pe: QStylePrimitiveElement; opt: QStyleOptionH; p: QPainterH; w: QWidgetH = nil); cdecl; external Qt4PasLib name 'QStyle_drawPrimitive'; procedure QStyle_drawControl(handle: QStyleH; element: QStyleControlElement; opt: QStyleOptionH; p: QPainterH; w: QWidgetH = nil); cdecl; external Qt4PasLib name 'QStyle_drawControl'; procedure QStyle_subElementRect(handle: QStyleH; retval: PRect; subElement: QStyleSubElement; option: QStyleOptionH; widget: QWidgetH = nil); cdecl; external Qt4PasLib name 'QStyle_subElementRect'; procedure QStyle_drawComplexControl(handle: QStyleH; cc: QStyleComplexControl; opt: QStyleOptionComplexH; p: QPainterH; widget: QWidgetH = nil); cdecl; external Qt4PasLib name 'QStyle_drawComplexControl'; function QStyle_hitTestComplexControl(handle: QStyleH; cc: QStyleComplexControl; opt: QStyleOptionComplexH; pt: PQtPoint; widget: QWidgetH = nil): QStyleSubControl; cdecl; external Qt4PasLib name 'QStyle_hitTestComplexControl'; procedure QStyle_subControlRect(handle: QStyleH; retval: PRect; cc: QStyleComplexControl; opt: QStyleOptionComplexH; sc: QStyleSubControl; widget: QWidgetH = nil); cdecl; external Qt4PasLib name 'QStyle_subControlRect'; function QStyle_pixelMetric(handle: QStyleH; metric: QStylePixelMetric; option: QStyleOptionH = nil; widget: QWidgetH = nil): Integer; cdecl; external Qt4PasLib name 'QStyle_pixelMetric'; procedure QStyle_sizeFromContents(handle: QStyleH; retval: PSize; ct: QStyleContentsType; opt: QStyleOptionH; contentsSize: PSize; w: QWidgetH = nil); cdecl; external Qt4PasLib name 'QStyle_sizeFromContents'; function QStyle_styleHint(handle: QStyleH; stylehint: QStyleStyleHint; opt: QStyleOptionH = nil; widget: QWidgetH = nil; returnData: QStyleHintReturnH = nil): Integer; cdecl; external Qt4PasLib name 'QStyle_styleHint'; procedure QStyle_standardPixmap(handle: QStyleH; retval: QPixmapH; standardPixmap: QStyleStandardPixmap; opt: QStyleOptionH = nil; widget: QWidgetH = nil); cdecl; external Qt4PasLib name 'QStyle_standardPixmap'; procedure QStyle_standardIcon(handle: QStyleH; retval: QIconH; standardIcon: QStyleStandardPixmap; option: QStyleOptionH = nil; widget: QWidgetH = nil); cdecl; external Qt4PasLib name 'QStyle_standardIcon'; procedure QStyle_generatedIconPixmap(handle: QStyleH; retval: QPixmapH; iconMode: QIconMode; pixmap: QPixmapH; opt: QStyleOptionH); cdecl; external Qt4PasLib name 'QStyle_generatedIconPixmap'; procedure QStyle_visualRect(retval: PRect; direction: QtLayoutDirection; boundingRect: PRect; logicalRect: PRect); cdecl; external Qt4PasLib name 'QStyle_visualRect'; procedure QStyle_visualPos(retval: PQtPoint; direction: QtLayoutDirection; boundingRect: PRect; logicalPos: PQtPoint); cdecl; external Qt4PasLib name 'QStyle_visualPos'; function QStyle_sliderPositionFromValue(min: Integer; max: Integer; val: Integer; space: Integer; upsideDown: Boolean = False): Integer; cdecl; external Qt4PasLib name 'QStyle_sliderPositionFromValue'; function QStyle_sliderValueFromPosition(min: Integer; max: Integer; pos: Integer; space: Integer; upsideDown: Boolean = False): Integer; cdecl; external Qt4PasLib name 'QStyle_sliderValueFromPosition'; function QStyle_visualAlignment(direction: QtLayoutDirection; alignment: QtAlignment): QtAlignment; cdecl; external Qt4PasLib name 'QStyle_visualAlignment'; procedure QStyle_alignedRect(retval: PRect; direction: QtLayoutDirection; alignment: QtAlignment; size: PSize; rectangle: PRect); cdecl; external Qt4PasLib name 'QStyle_alignedRect'; function QStyle_layoutSpacing(handle: QStyleH; control1: QSizePolicyControlType; control2: QSizePolicyControlType; orientation: QtOrientation; option: QStyleOptionH = nil; widget: QWidgetH = nil): Integer; cdecl; external Qt4PasLib name 'QStyle_layoutSpacing'; function QStyle_combinedLayoutSpacing(handle: QStyleH; controls1: QSizePolicyControlTypes; controls2: QSizePolicyControlTypes; orientation: QtOrientation; option: QStyleOptionH = nil; widget: QWidgetH = nil): Integer; cdecl; external Qt4PasLib name 'QStyle_combinedLayoutSpacing'; type QStyleOptionOptionType = ( //QStyleOption::OptionType (2) QStyleOptionSO_Default, QStyleOptionSO_FocusRect, QStyleOptionSO_Button, QStyleOptionSO_Tab, QStyleOptionSO_MenuItem, QStyleOptionSO_Frame, QStyleOptionSO_ProgressBar, QStyleOptionSO_ToolBox, QStyleOptionSO_Header, QStyleOptionSO_Q3DockWindow, QStyleOptionSO_DockWidget, QStyleOptionSO_Q3ListViewItem, QStyleOptionSO_ViewItem, QStyleOptionSO_TabWidgetFrame, QStyleOptionSO_TabBarBase, QStyleOptionSO_RubberBand, QStyleOptionSO_ToolBar, QStyleOptionSO_GraphicsItem, QStyleOptionSO_CustomBase = $f00, QStyleOptionSO_Complex = $f0000, QStyleOptionSO_Slider, QStyleOptionSO_SpinBox, QStyleOptionSO_ToolButton, QStyleOptionSO_ComboBox, QStyleOptionSO_Q3ListView, QStyleOptionSO_TitleBar, QStyleOptionSO_GroupBox, QStyleOptionSO_SizeGrip, QStyleOptionSO_ComplexCustomBase = $f000000 ); QStyleOptionStyleOptionVersion = ( //QStyleOption::StyleOptionVersion (2) QStyleOptionVersion = 1 ); type QStyleOptionFocusRectStyleOptionVersion = ( //QStyleOptionFocusRect::StyleOptionVersion (2) QStyleOptionFocusRectVersion = 1 ); type QStyleOptionFrameStyleOptionVersion = ( //QStyleOptionFrame::StyleOptionVersion (2) QStyleOptionFrameVersion = 1 ); type QStyleOptionFrameV2StyleOptionVersion = ( //QStyleOptionFrameV2::StyleOptionVersion (2) QStyleOptionFrameV2Version = 2 ); type QStyleOptionFrameV2FrameFeature = cardinal; // QStyleOptionFrameV2::FrameFeature QStyleOptionFrameV2FrameFeatures = QStyleOptionFrameV2FrameFeature; //QFlags<> (3) const QStyleOptionFrameV2None = $00; QStyleOptionFrameV2Flat = $01; type QStyleOptionFrameV3StyleOptionVersion = ( //QStyleOptionFrameV3::StyleOptionVersion (2) QStyleOptionFrameV3Version = 3 ); type QStyleOptionTabWidgetFrameStyleOptionVersion = ( //QStyleOptionTabWidgetFrame::StyleOptionVersion (2) QStyleOptionTabWidgetFrameVersion = 1 ); type QStyleOptionTabBarBaseStyleOptionVersion = ( //QStyleOptionTabBarBase::StyleOptionVersion (2) QStyleOptionTabBarBaseVersion = 1 ); type QStyleOptionTabBarBaseV2StyleOptionVersion = ( //QStyleOptionTabBarBaseV2::StyleOptionVersion (2) QStyleOptionTabBarBaseV2Version = 2 ); type QStyleOptionHeaderSectionPosition = ( // QStyleOptionHeader::SectionPosition (1) QStyleOptionHeaderBeginning, QStyleOptionHeaderMiddle, QStyleOptionHeaderEnd, QStyleOptionHeaderOnlyOneSection ); QStyleOptionHeaderSelectedPosition = ( // QStyleOptionHeader::SelectedPosition (1) QStyleOptionHeaderNotAdjacent, QStyleOptionHeaderNextIsSelected, QStyleOptionHeaderPreviousIsSelected, QStyleOptionHeaderNextAndPreviousAreSelected ); QStyleOptionHeaderSortIndicator = ( // QStyleOptionHeader::SortIndicator (1) QStyleOptionHeaderNone, QStyleOptionHeaderSortUp, QStyleOptionHeaderSortDown ); QStyleOptionHeaderStyleOptionVersion = ( //QStyleOptionHeader::StyleOptionVersion (2) QStyleOptionHeaderVersion = 1 ); type QStyleOptionButtonStyleOptionVersion = ( //QStyleOptionButton::StyleOptionVersion (2) QStyleOptionButtonVersion = 1 ); type QStyleOptionButtonButtonFeature = cardinal; // QStyleOptionButton::ButtonFeature QStyleOptionButtonButtonFeatures = QStyleOptionButtonButtonFeature; //QFlags<> (3) const QStyleOptionButtonNone = $00; QStyleOptionButtonFlat = $01; QStyleOptionButtonHasMenu = $02; QStyleOptionButtonDefaultButton = $04; QStyleOptionButtonAutoDefaultButton = $08; QStyleOptionButtonCommandLinkButton = $10; type QStyleOptionTabTabPosition = ( // QStyleOptionTab::TabPosition (1) QStyleOptionTabBeginning, QStyleOptionTabMiddle, QStyleOptionTabEnd, QStyleOptionTabOnlyOneTab ); QStyleOptionTabSelectedPosition = ( // QStyleOptionTab::SelectedPosition (1) QStyleOptionTabNotAdjacent, QStyleOptionTabNextIsSelected, QStyleOptionTabPreviousIsSelected ); QStyleOptionTabStyleOptionVersion = ( //QStyleOptionTab::StyleOptionVersion (2) QStyleOptionTabVersion = 1 ); type QStyleOptionTabCornerWidget = cardinal; // QStyleOptionTab::CornerWidget QStyleOptionTabCornerWidgets = QStyleOptionTabCornerWidget; //QFlags<> (3) const QStyleOptionTabNoCornerWidgets = $00; QStyleOptionTabLeftCornerWidget = $01; QStyleOptionTabRightCornerWidget = $02; type QStyleOptionTabV2StyleOptionVersion = ( //QStyleOptionTabV2::StyleOptionVersion (2) QStyleOptionTabV2Version = 2 ); type QStyleOptionTabV3StyleOptionVersion = ( //QStyleOptionTabV3::StyleOptionVersion (2) QStyleOptionTabV3Version = 3 ); type QStyleOptionToolBarToolBarPosition = ( // QStyleOptionToolBar::ToolBarPosition (1) QStyleOptionToolBarBeginning, QStyleOptionToolBarMiddle, QStyleOptionToolBarEnd, QStyleOptionToolBarOnlyOne ); QStyleOptionToolBarStyleOptionVersion = ( //QStyleOptionToolBar::StyleOptionVersion (2) QStyleOptionToolBarVersion = 1 ); type QStyleOptionToolBarToolBarFeature = cardinal; // QStyleOptionToolBar::ToolBarFeature QStyleOptionToolBarToolBarFeatures = QStyleOptionToolBarToolBarFeature; //QFlags<> (3) const QStyleOptionToolBarNone = $0; QStyleOptionToolBarMovable = $1; type QStyleOptionProgressBarStyleOptionVersion = ( //QStyleOptionProgressBar::StyleOptionVersion (2) QStyleOptionProgressBarVersion = 1 ); type QStyleOptionProgressBarV2StyleOptionVersion = ( //QStyleOptionProgressBarV2::StyleOptionVersion (2) QStyleOptionProgressBarV2Version = 2 ); type QStyleOptionMenuItemMenuItemType = ( // QStyleOptionMenuItem::MenuItemType (1) QStyleOptionMenuItemNormal, QStyleOptionMenuItemDefaultItem, QStyleOptionMenuItemSeparator, QStyleOptionMenuItemSubMenu, QStyleOptionMenuItemScroller, QStyleOptionMenuItemTearOff, QStyleOptionMenuItemMargin, QStyleOptionMenuItemEmptyArea ); QStyleOptionMenuItemCheckType = ( // QStyleOptionMenuItem::CheckType (1) QStyleOptionMenuItemNotCheckable, QStyleOptionMenuItemExclusive, QStyleOptionMenuItemNonExclusive ); QStyleOptionMenuItemStyleOptionVersion = ( //QStyleOptionMenuItem::StyleOptionVersion (2) QStyleOptionMenuItemVersion = 1 ); type QStyleOptionQ3ListViewItemStyleOptionVersion = ( //QStyleOptionQ3ListViewItem::StyleOptionVersion (2) QStyleOptionQ3ListViewItemVersion = 1 ); type QStyleOptionQ3ListViewItemQ3ListViewItemFeature = cardinal; // QStyleOptionQ3ListViewItem::Q3ListViewItemFeature QStyleOptionQ3ListViewItemQ3ListViewItemFeatures = QStyleOptionQ3ListViewItemQ3ListViewItemFeature; //QFlags<> (3) const QStyleOptionQ3ListViewItemNone = $00; QStyleOptionQ3ListViewItemExpandable = $01; QStyleOptionQ3ListViewItemMultiLine = $02; QStyleOptionQ3ListViewItemVisible = $04; QStyleOptionQ3ListViewItemParentControl = $08; type QStyleOptionQ3DockWindowStyleOptionVersion = ( //QStyleOptionQ3DockWindow::StyleOptionVersion (2) QStyleOptionQ3DockWindowVersion = 1 ); type QStyleOptionDockWidgetStyleOptionVersion = ( //QStyleOptionDockWidget::StyleOptionVersion (2) QStyleOptionDockWidgetVersion = 1 ); type QStyleOptionViewItemPosition = ( // QStyleOptionViewItem::Position (1) QStyleOptionViewItemLeft, QStyleOptionViewItemRight, QStyleOptionViewItemTop, QStyleOptionViewItemBottom ); QStyleOptionViewItemStyleOptionVersion = ( //QStyleOptionViewItem::StyleOptionVersion (2) QStyleOptionViewItemVersion = 1 ); type QStyleOptionViewItemV4ViewItemPosition = ( // QStyleOptionViewItemV4::ViewItemPosition (1) QStyleOptionViewItemV4Invalid, QStyleOptionViewItemV4Beginning, QStyleOptionViewItemV4Middle, QStyleOptionViewItemV4End, QStyleOptionViewItemV4OnlyOne ); QStyleOptionViewItemV4StyleOptionVersion = ( //QStyleOptionViewItemV4::StyleOptionVersion (2) QStyleOptionViewItemV4Version = 4 ); type QStyleOptionToolBoxStyleOptionVersion = ( //QStyleOptionToolBox::StyleOptionVersion (2) QStyleOptionToolBoxVersion = 1 ); type QStyleOptionToolBoxV2TabPosition = ( // QStyleOptionToolBoxV2::TabPosition (1) QStyleOptionToolBoxV2Beginning, QStyleOptionToolBoxV2Middle, QStyleOptionToolBoxV2End, QStyleOptionToolBoxV2OnlyOneTab ); QStyleOptionToolBoxV2SelectedPosition = ( // QStyleOptionToolBoxV2::SelectedPosition (1) QStyleOptionToolBoxV2NotAdjacent, QStyleOptionToolBoxV2NextIsSelected, QStyleOptionToolBoxV2PreviousIsSelected ); QStyleOptionToolBoxV2StyleOptionVersion = ( //QStyleOptionToolBoxV2::StyleOptionVersion (2) QStyleOptionToolBoxV2Version = 2 ); type QStyleOptionRubberBandStyleOptionVersion = ( //QStyleOptionRubberBand::StyleOptionVersion (2) QStyleOptionRubberBandVersion = 1 ); type QStyleOptionComplexStyleOptionVersion = ( //QStyleOptionComplex::StyleOptionVersion (2) QStyleOptionComplexVersion = 1 ); type QStyleOptionSliderStyleOptionVersion = ( //QStyleOptionSlider::StyleOptionVersion (2) QStyleOptionSliderVersion = 1 ); type QStyleOptionSpinBoxStyleOptionVersion = ( //QStyleOptionSpinBox::StyleOptionVersion (2) QStyleOptionSpinBoxVersion = 1 ); type QStyleOptionQ3ListViewStyleOptionVersion = ( //QStyleOptionQ3ListView::StyleOptionVersion (2) QStyleOptionQ3ListViewVersion = 1 ); type QStyleOptionToolButtonStyleOptionVersion = ( //QStyleOptionToolButton::StyleOptionVersion (2) QStyleOptionToolButtonVersion = 1 ); type QStyleOptionComboBoxStyleOptionVersion = ( //QStyleOptionComboBox::StyleOptionVersion (2) QStyleOptionComboBoxVersion = 1 ); type QStyleOptionTitleBarStyleOptionVersion = ( //QStyleOptionTitleBar::StyleOptionVersion (2) QStyleOptionTitleBarVersion = 1 ); type QStyleOptionGroupBoxStyleOptionVersion = ( //QStyleOptionGroupBox::StyleOptionVersion (2) QStyleOptionGroupBoxVersion = 1 ); type QStyleOptionSizeGripStyleOptionVersion = ( //QStyleOptionSizeGrip::StyleOptionVersion (2) QStyleOptionSizeGripVersion = 1 ); type QStyleOptionGraphicsItemStyleOptionVersion = ( //QStyleOptionGraphicsItem::StyleOptionVersion (2) QStyleOptionGraphicsItemVersion = 1 ); type QStyleHintReturnHintReturnType = ( //QStyleHintReturn::HintReturnType (2) QStyleHintReturnSH_Default = $f000, QStyleHintReturnSH_Mask, QStyleHintReturnSH_Variant ); QStyleHintReturnStyleOptionVersion = ( //QStyleHintReturn::StyleOptionVersion (2) QStyleHintReturnVersion = 1 ); type QStyleHintReturnMaskStyleOptionVersion = ( //QStyleHintReturnMask::StyleOptionVersion (2) QStyleHintReturnMaskVersion = 1 ); type QStyleHintReturnVariantStyleOptionVersion = ( //QStyleHintReturnVariant::StyleOptionVersion (2) QStyleHintReturnVariantVersion = 1 ); type QStyleOptionStyleOptionType = cardinal; // QStyleOption::StyleOptionType (4) const QStyleOptionType = 0 { $0 }; type QStyleOptionFocusRectStyleOptionType = cardinal; // QStyleOptionFocusRect::StyleOptionType (4) const QStyleOptionFocusRectType = 1 { $1 }; type QStyleOptionFrameStyleOptionType = cardinal; // QStyleOptionFrame::StyleOptionType (4) const QStyleOptionFrameType = 5 { $5 }; type QStyleOptionTabWidgetFrameStyleOptionType = cardinal; // QStyleOptionTabWidgetFrame::StyleOptionType (4) const QStyleOptionTabWidgetFrameType = 13 { $d }; type QStyleOptionTabBarBaseStyleOptionType = cardinal; // QStyleOptionTabBarBase::StyleOptionType (4) const QStyleOptionTabBarBaseType = 14 { $e }; type QStyleOptionHeaderStyleOptionType = cardinal; // QStyleOptionHeader::StyleOptionType (4) const QStyleOptionHeaderType = 8 { $8 }; type QStyleOptionButtonStyleOptionType = cardinal; // QStyleOptionButton::StyleOptionType (4) const QStyleOptionButtonType = 2 { $2 }; type QStyleOptionTabStyleOptionType = cardinal; // QStyleOptionTab::StyleOptionType (4) const QStyleOptionTabType = 3 { $3 }; type QStyleOptionToolBarStyleOptionType = cardinal; // QStyleOptionToolBar::StyleOptionType (4) const QStyleOptionToolBarType = 16 { $10 }; type QStyleOptionProgressBarStyleOptionType = cardinal; // QStyleOptionProgressBar::StyleOptionType (4) const QStyleOptionProgressBarType = 6 { $6 }; type QStyleOptionProgressBarV2StyleOptionType = cardinal; // QStyleOptionProgressBarV2::StyleOptionType (4) const QStyleOptionProgressBarV2Type = 6 { $6 }; type QStyleOptionMenuItemStyleOptionType = cardinal; // QStyleOptionMenuItem::StyleOptionType (4) const QStyleOptionMenuItemType = 4 { $4 }; type QStyleOptionQ3ListViewItemStyleOptionType = cardinal; // QStyleOptionQ3ListViewItem::StyleOptionType (4) const QStyleOptionQ3ListViewItemType = 11 { $b }; type QStyleOptionQ3DockWindowStyleOptionType = cardinal; // QStyleOptionQ3DockWindow::StyleOptionType (4) const QStyleOptionQ3DockWindowType = 9 { $9 }; type QStyleOptionDockWidgetStyleOptionType = cardinal; // QStyleOptionDockWidget::StyleOptionType (4) const QStyleOptionDockWidgetType = 10 { $a }; type QStyleOptionViewItemStyleOptionType = cardinal; // QStyleOptionViewItem::StyleOptionType (4) const QStyleOptionViewItemType = 12 { $c }; type QStyleOptionToolBoxStyleOptionType = cardinal; // QStyleOptionToolBox::StyleOptionType (4) const QStyleOptionToolBoxType = 7 { $7 }; type QStyleOptionRubberBandStyleOptionType = cardinal; // QStyleOptionRubberBand::StyleOptionType (4) const QStyleOptionRubberBandType = 15 { $f }; type QStyleOptionComplexStyleOptionType = cardinal; // QStyleOptionComplex::StyleOptionType (4) const QStyleOptionComplexType = 983040 { $f0000 }; type QStyleOptionSliderStyleOptionType = cardinal; // QStyleOptionSlider::StyleOptionType (4) const QStyleOptionSliderType = 983041 { $f0001 }; type QStyleOptionSpinBoxStyleOptionType = cardinal; // QStyleOptionSpinBox::StyleOptionType (4) const QStyleOptionSpinBoxType = 983042 { $f0002 }; type QStyleOptionQ3ListViewStyleOptionType = cardinal; // QStyleOptionQ3ListView::StyleOptionType (4) const QStyleOptionQ3ListViewType = 983045 { $f0005 }; type QStyleOptionToolButtonStyleOptionType = cardinal; // QStyleOptionToolButton::StyleOptionType (4) const QStyleOptionToolButtonType = 983043 { $f0003 }; type QStyleOptionToolButtonToolButtonFeature = cardinal; // QStyleOptionToolButton::ToolButtonFeature (4) QStyleOptionToolButtonToolButtonFeatures = QStyleOptionToolButtonToolButtonFeature; // QFlags<> const QStyleOptionToolButtonNone = 0 { $0 }; QStyleOptionToolButtonArrow = 1 { $1 }; QStyleOptionToolButtonMenu = 4 { $4 }; QStyleOptionToolButtonMenuButtonPopup = 4 { $4 }; QStyleOptionToolButtonPopupDelay = 8 { $8 }; QStyleOptionToolButtonHasMenu = 16 { $10 }; type QStyleOptionComboBoxStyleOptionType = cardinal; // QStyleOptionComboBox::StyleOptionType (4) const QStyleOptionComboBoxType = 983044 { $f0004 }; type QStyleOptionTitleBarStyleOptionType = cardinal; // QStyleOptionTitleBar::StyleOptionType (4) const QStyleOptionTitleBarType = 983046 { $f0006 }; type QStyleOptionGroupBoxStyleOptionType = cardinal; // QStyleOptionGroupBox::StyleOptionType (4) const QStyleOptionGroupBoxType = 983047 { $f0007 }; type QStyleOptionSizeGripStyleOptionType = cardinal; // QStyleOptionSizeGrip::StyleOptionType (4) const QStyleOptionSizeGripType = 983048 { $f0008 }; type QStyleOptionGraphicsItemStyleOptionType = cardinal; // QStyleOptionGraphicsItem::StyleOptionType (4) const QStyleOptionGraphicsItemType = 17 { $11 }; type QStyleHintReturnStyleOptionType = cardinal; // QStyleHintReturn::StyleOptionType (4) const QStyleHintReturnType = 61440 { $f000 }; type QStyleHintReturnMaskStyleOptionType = cardinal; // QStyleHintReturnMask::StyleOptionType (4) const QStyleHintReturnMaskType = 61441 { $f001 }; type QStyleHintReturnVariantStyleOptionType = cardinal; // QStyleHintReturnVariant::StyleOptionType (4) const QStyleHintReturnVariantType = 61442 { $f002 }; function QStyleOption_version(handle : QStyleOptionH) : Integer; cdecl; external Qt4PasLib name 'QStyleOption_version'; procedure QStyleOption_setVersion(handle : QStyleOptionH; version : Integer); cdecl; external Qt4PasLib name 'QStyleOption_setVersion'; function QStyleOption__type(handle : QStyleOptionH) : Integer; cdecl; external Qt4PasLib name 'QStyleOption__type'; procedure QStyleOption_setType(handle : QStyleOptionH; _type : Integer); cdecl; external Qt4PasLib name 'QStyleOption_setType'; function QStyleOption_state(handle : QStyleOptionH) : QStyleState; cdecl; external Qt4PasLib name 'QStyleOption_state'; procedure QStyleOption_setState(handle : QStyleOptionH; state : QStyleState); cdecl; external Qt4PasLib name 'QStyleOption_setState'; function QStyleOption_direction(handle : QStyleOptionH) : QtLayoutDirection; cdecl; external Qt4PasLib name 'QStyleOption_direction'; procedure QStyleOption_setDirection(handle : QStyleOptionH; direction : QtLayoutDirection); cdecl; external Qt4PasLib name 'QStyleOption_setDirection'; procedure QStyleOption_rect(handle : QStyleOptionH; retval : PRect ); cdecl; external Qt4PasLib name 'QStyleOption_rect'; procedure QStyleOption_setRect(handle : QStyleOptionH; rect : PRect); cdecl; external Qt4PasLib name 'QStyleOption_setRect'; procedure QStyleOption_fontMetrics(handle : QStyleOptionH; retval : QFontMetricsH ); cdecl; external Qt4PasLib name 'QStyleOption_fontMetrics'; procedure QStyleOption_setFontMetrics(handle : QStyleOptionH; fontMetrics : QFontMetricsH); cdecl; external Qt4PasLib name 'QStyleOption_setFontMetrics'; procedure QStyleOption_palette(handle : QStyleOptionH; retval : QPaletteH ); cdecl; external Qt4PasLib name 'QStyleOption_palette'; procedure QStyleOption_setPalette(handle : QStyleOptionH; palette : QPaletteH); cdecl; external Qt4PasLib name 'QStyleOption_setPalette'; function QStyleOption_create(version: Integer = QStyleOptionVersion; _type: Integer = QStyleOptionSO_Default): QStyleOptionH; cdecl; external Qt4PasLib name 'QStyleOption_create'; procedure QStyleOption_destroy(handle: QStyleOptionH); cdecl; external Qt4PasLib name 'QStyleOption_destroy'; function QStyleOption_create(other: QStyleOptionH): QStyleOptionH; cdecl; external Qt4PasLib name 'QStyleOption_create2'; procedure QStyleOption_init(handle: QStyleOptionH; w: QWidgetH); cdecl; external Qt4PasLib name 'QStyleOption_init'; procedure QStyleOption_initFrom(handle: QStyleOptionH; w: QWidgetH); cdecl; external Qt4PasLib name 'QStyleOption_initFrom'; procedure QStyleOptionFocusRect_backgroundColor(handle : QStyleOptionFocusRectH; retval : PQColor ); cdecl; external Qt4PasLib name 'QStyleOptionFocusRect_backgroundColor'; procedure QStyleOptionFocusRect_setBackgroundColor(handle : QStyleOptionFocusRectH; backgroundColor : PQColor); cdecl; external Qt4PasLib name 'QStyleOptionFocusRect_setBackgroundColor'; function QStyleOptionFocusRect_create(): QStyleOptionFocusRectH; cdecl; external Qt4PasLib name 'QStyleOptionFocusRect_create'; procedure QStyleOptionFocusRect_destroy(handle: QStyleOptionFocusRectH); cdecl; external Qt4PasLib name 'QStyleOptionFocusRect_destroy'; function QStyleOptionFocusRect_create(other: QStyleOptionFocusRectH): QStyleOptionFocusRectH; cdecl; external Qt4PasLib name 'QStyleOptionFocusRect_create2'; function QStyleOptionFrame_lineWidth(handle : QStyleOptionFrameH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionFrame_lineWidth'; procedure QStyleOptionFrame_setLineWidth(handle : QStyleOptionFrameH; lineWidth : Integer); cdecl; external Qt4PasLib name 'QStyleOptionFrame_setLineWidth'; function QStyleOptionFrame_midLineWidth(handle : QStyleOptionFrameH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionFrame_midLineWidth'; procedure QStyleOptionFrame_setMidLineWidth(handle : QStyleOptionFrameH; midLineWidth : Integer); cdecl; external Qt4PasLib name 'QStyleOptionFrame_setMidLineWidth'; function QStyleOptionFrame_create(): QStyleOptionFrameH; cdecl; external Qt4PasLib name 'QStyleOptionFrame_create'; procedure QStyleOptionFrame_destroy(handle: QStyleOptionFrameH); cdecl; external Qt4PasLib name 'QStyleOptionFrame_destroy'; function QStyleOptionFrame_create(other: QStyleOptionFrameH): QStyleOptionFrameH; cdecl; external Qt4PasLib name 'QStyleOptionFrame_create2'; function QStyleOptionFrameV2_features(handle : QStyleOptionFrameV2H) : QStyleOptionFrameV2FrameFeatures; cdecl; external Qt4PasLib name 'QStyleOptionFrameV2_features'; procedure QStyleOptionFrameV2_setFeatures(handle : QStyleOptionFrameV2H; features : QStyleOptionFrameV2FrameFeatures); cdecl; external Qt4PasLib name 'QStyleOptionFrameV2_setFeatures'; function QStyleOptionFrameV2_create(): QStyleOptionFrameV2H; cdecl; external Qt4PasLib name 'QStyleOptionFrameV2_create'; procedure QStyleOptionFrameV2_destroy(handle: QStyleOptionFrameV2H); cdecl; external Qt4PasLib name 'QStyleOptionFrameV2_destroy'; function QStyleOptionFrameV2_create(other: QStyleOptionFrameV2H): QStyleOptionFrameV2H; cdecl; external Qt4PasLib name 'QStyleOptionFrameV2_create2'; function QStyleOptionFrameV2_create(other: QStyleOptionFrameH): QStyleOptionFrameV2H; cdecl; external Qt4PasLib name 'QStyleOptionFrameV2_create3'; function QStyleOptionFrameV3_frameShape(handle : QStyleOptionFrameV3H) : QFrameShape; cdecl; external Qt4PasLib name 'QStyleOptionFrameV3_frameShape'; procedure QStyleOptionFrameV3_setFrameShape(handle : QStyleOptionFrameV3H; frameShape : QFrameShape); cdecl; external Qt4PasLib name 'QStyleOptionFrameV3_setFrameShape'; function QStyleOptionFrameV3_unused(handle : QStyleOptionFrameV3H) : LongWord; cdecl; external Qt4PasLib name 'QStyleOptionFrameV3_unused'; procedure QStyleOptionFrameV3_setUnused(handle : QStyleOptionFrameV3H; unused : LongWord); cdecl; external Qt4PasLib name 'QStyleOptionFrameV3_setUnused'; function QStyleOptionFrameV3_create(): QStyleOptionFrameV3H; cdecl; external Qt4PasLib name 'QStyleOptionFrameV3_create'; procedure QStyleOptionFrameV3_destroy(handle: QStyleOptionFrameV3H); cdecl; external Qt4PasLib name 'QStyleOptionFrameV3_destroy'; function QStyleOptionFrameV3_create(other: QStyleOptionFrameV3H): QStyleOptionFrameV3H; cdecl; external Qt4PasLib name 'QStyleOptionFrameV3_create2'; function QStyleOptionFrameV3_create(other: QStyleOptionFrameH): QStyleOptionFrameV3H; cdecl; external Qt4PasLib name 'QStyleOptionFrameV3_create3'; function QStyleOptionTabWidgetFrame_lineWidth(handle : QStyleOptionTabWidgetFrameH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_lineWidth'; procedure QStyleOptionTabWidgetFrame_setLineWidth(handle : QStyleOptionTabWidgetFrameH; lineWidth : Integer); cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_setLineWidth'; function QStyleOptionTabWidgetFrame_midLineWidth(handle : QStyleOptionTabWidgetFrameH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_midLineWidth'; procedure QStyleOptionTabWidgetFrame_setMidLineWidth(handle : QStyleOptionTabWidgetFrameH; midLineWidth : Integer); cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_setMidLineWidth'; function QStyleOptionTabWidgetFrame_shape(handle : QStyleOptionTabWidgetFrameH) : QTabBarShape; cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_shape'; procedure QStyleOptionTabWidgetFrame_setShape(handle : QStyleOptionTabWidgetFrameH; shape : QTabBarShape); cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_setShape'; procedure QStyleOptionTabWidgetFrame_tabBarSize(handle : QStyleOptionTabWidgetFrameH; retval : PSize ); cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_tabBarSize'; procedure QStyleOptionTabWidgetFrame_setTabBarSize(handle : QStyleOptionTabWidgetFrameH; tabBarSize : PSize); cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_setTabBarSize'; procedure QStyleOptionTabWidgetFrame_rightCornerWidgetSize(handle : QStyleOptionTabWidgetFrameH; retval : PSize ); cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_rightCornerWidgetSize'; procedure QStyleOptionTabWidgetFrame_setRightCornerWidgetSize(handle : QStyleOptionTabWidgetFrameH; rightCornerWidgetSize : PSize); cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_setRightCornerWidgetSize'; procedure QStyleOptionTabWidgetFrame_leftCornerWidgetSize(handle : QStyleOptionTabWidgetFrameH; retval : PSize ); cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_leftCornerWidgetSize'; procedure QStyleOptionTabWidgetFrame_setLeftCornerWidgetSize(handle : QStyleOptionTabWidgetFrameH; leftCornerWidgetSize : PSize); cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_setLeftCornerWidgetSize'; function QStyleOptionTabWidgetFrame_create(): QStyleOptionTabWidgetFrameH; cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_create'; procedure QStyleOptionTabWidgetFrame_destroy(handle: QStyleOptionTabWidgetFrameH); cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_destroy'; function QStyleOptionTabWidgetFrame_create(other: QStyleOptionTabWidgetFrameH): QStyleOptionTabWidgetFrameH; cdecl; external Qt4PasLib name 'QStyleOptionTabWidgetFrame_create2'; function QStyleOptionTabBarBase_shape(handle : QStyleOptionTabBarBaseH) : QTabBarShape; cdecl; external Qt4PasLib name 'QStyleOptionTabBarBase_shape'; procedure QStyleOptionTabBarBase_setShape(handle : QStyleOptionTabBarBaseH; shape : QTabBarShape); cdecl; external Qt4PasLib name 'QStyleOptionTabBarBase_setShape'; procedure QStyleOptionTabBarBase_tabBarRect(handle : QStyleOptionTabBarBaseH; retval : PRect ); cdecl; external Qt4PasLib name 'QStyleOptionTabBarBase_tabBarRect'; procedure QStyleOptionTabBarBase_setTabBarRect(handle : QStyleOptionTabBarBaseH; tabBarRect : PRect); cdecl; external Qt4PasLib name 'QStyleOptionTabBarBase_setTabBarRect'; procedure QStyleOptionTabBarBase_selectedTabRect(handle : QStyleOptionTabBarBaseH; retval : PRect ); cdecl; external Qt4PasLib name 'QStyleOptionTabBarBase_selectedTabRect'; procedure QStyleOptionTabBarBase_setSelectedTabRect(handle : QStyleOptionTabBarBaseH; selectedTabRect : PRect); cdecl; external Qt4PasLib name 'QStyleOptionTabBarBase_setSelectedTabRect'; function QStyleOptionTabBarBase_create(): QStyleOptionTabBarBaseH; cdecl; external Qt4PasLib name 'QStyleOptionTabBarBase_create'; procedure QStyleOptionTabBarBase_destroy(handle: QStyleOptionTabBarBaseH); cdecl; external Qt4PasLib name 'QStyleOptionTabBarBase_destroy'; function QStyleOptionTabBarBase_create(other: QStyleOptionTabBarBaseH): QStyleOptionTabBarBaseH; cdecl; external Qt4PasLib name 'QStyleOptionTabBarBase_create2'; function QStyleOptionTabBarBaseV2_documentMode(handle : QStyleOptionTabBarBaseV2H) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionTabBarBaseV2_documentMode'; procedure QStyleOptionTabBarBaseV2_setDocumentMode(handle : QStyleOptionTabBarBaseV2H; documentMode : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionTabBarBaseV2_setDocumentMode'; function QStyleOptionTabBarBaseV2_create(): QStyleOptionTabBarBaseV2H; cdecl; external Qt4PasLib name 'QStyleOptionTabBarBaseV2_create'; procedure QStyleOptionTabBarBaseV2_destroy(handle: QStyleOptionTabBarBaseV2H); cdecl; external Qt4PasLib name 'QStyleOptionTabBarBaseV2_destroy'; function QStyleOptionTabBarBaseV2_create(other: QStyleOptionTabBarBaseV2H): QStyleOptionTabBarBaseV2H; cdecl; external Qt4PasLib name 'QStyleOptionTabBarBaseV2_create2'; function QStyleOptionTabBarBaseV2_create(other: QStyleOptionTabBarBaseH): QStyleOptionTabBarBaseV2H; cdecl; external Qt4PasLib name 'QStyleOptionTabBarBaseV2_create3'; function QStyleOptionHeader_section(handle : QStyleOptionHeaderH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionHeader_section'; procedure QStyleOptionHeader_setSection(handle : QStyleOptionHeaderH; section : Integer); cdecl; external Qt4PasLib name 'QStyleOptionHeader_setSection'; procedure QStyleOptionHeader_text(handle : QStyleOptionHeaderH; retval : PWideString ); cdecl; external Qt4PasLib name 'QStyleOptionHeader_text'; procedure QStyleOptionHeader_setText(handle : QStyleOptionHeaderH; text : PWideString); cdecl; external Qt4PasLib name 'QStyleOptionHeader_setText'; function QStyleOptionHeader_textAlignment(handle : QStyleOptionHeaderH) : QtAlignment; cdecl; external Qt4PasLib name 'QStyleOptionHeader_textAlignment'; procedure QStyleOptionHeader_setTextAlignment(handle : QStyleOptionHeaderH; textAlignment : QtAlignment); cdecl; external Qt4PasLib name 'QStyleOptionHeader_setTextAlignment'; procedure QStyleOptionHeader_icon(handle : QStyleOptionHeaderH; retval : QIconH ); cdecl; external Qt4PasLib name 'QStyleOptionHeader_icon'; procedure QStyleOptionHeader_setIcon(handle : QStyleOptionHeaderH; icon : QIconH); cdecl; external Qt4PasLib name 'QStyleOptionHeader_setIcon'; function QStyleOptionHeader_iconAlignment(handle : QStyleOptionHeaderH) : QtAlignment; cdecl; external Qt4PasLib name 'QStyleOptionHeader_iconAlignment'; procedure QStyleOptionHeader_setIconAlignment(handle : QStyleOptionHeaderH; iconAlignment : QtAlignment); cdecl; external Qt4PasLib name 'QStyleOptionHeader_setIconAlignment'; function QStyleOptionHeader_position(handle : QStyleOptionHeaderH) : QStyleOptionHeaderSectionPosition; cdecl; external Qt4PasLib name 'QStyleOptionHeader_position'; procedure QStyleOptionHeader_setPosition(handle : QStyleOptionHeaderH; position : QStyleOptionHeaderSectionPosition); cdecl; external Qt4PasLib name 'QStyleOptionHeader_setPosition'; function QStyleOptionHeader_selectedPosition(handle : QStyleOptionHeaderH) : QStyleOptionHeaderSelectedPosition; cdecl; external Qt4PasLib name 'QStyleOptionHeader_selectedPosition'; procedure QStyleOptionHeader_setSelectedPosition(handle : QStyleOptionHeaderH; selectedPosition : QStyleOptionHeaderSelectedPosition); cdecl; external Qt4PasLib name 'QStyleOptionHeader_setSelectedPosition'; function QStyleOptionHeader_sortIndicator(handle : QStyleOptionHeaderH) : QStyleOptionHeaderSortIndicator; cdecl; external Qt4PasLib name 'QStyleOptionHeader_sortIndicator'; procedure QStyleOptionHeader_setSortIndicator(handle : QStyleOptionHeaderH; sortIndicator : QStyleOptionHeaderSortIndicator); cdecl; external Qt4PasLib name 'QStyleOptionHeader_setSortIndicator'; function QStyleOptionHeader_orientation(handle : QStyleOptionHeaderH) : QtOrientation; cdecl; external Qt4PasLib name 'QStyleOptionHeader_orientation'; procedure QStyleOptionHeader_setOrientation(handle : QStyleOptionHeaderH; orientation : QtOrientation); cdecl; external Qt4PasLib name 'QStyleOptionHeader_setOrientation'; function QStyleOptionHeader_create(): QStyleOptionHeaderH; cdecl; external Qt4PasLib name 'QStyleOptionHeader_create'; procedure QStyleOptionHeader_destroy(handle: QStyleOptionHeaderH); cdecl; external Qt4PasLib name 'QStyleOptionHeader_destroy'; function QStyleOptionHeader_create(other: QStyleOptionHeaderH): QStyleOptionHeaderH; cdecl; external Qt4PasLib name 'QStyleOptionHeader_create2'; function QStyleOptionButton_features(handle : QStyleOptionButtonH) : QStyleOptionButtonButtonFeatures; cdecl; external Qt4PasLib name 'QStyleOptionButton_features'; procedure QStyleOptionButton_setFeatures(handle : QStyleOptionButtonH; features : QStyleOptionButtonButtonFeatures); cdecl; external Qt4PasLib name 'QStyleOptionButton_setFeatures'; procedure QStyleOptionButton_text(handle : QStyleOptionButtonH; retval : PWideString ); cdecl; external Qt4PasLib name 'QStyleOptionButton_text'; procedure QStyleOptionButton_setText(handle : QStyleOptionButtonH; text : PWideString); cdecl; external Qt4PasLib name 'QStyleOptionButton_setText'; procedure QStyleOptionButton_icon(handle : QStyleOptionButtonH; retval : QIconH ); cdecl; external Qt4PasLib name 'QStyleOptionButton_icon'; procedure QStyleOptionButton_setIcon(handle : QStyleOptionButtonH; icon : QIconH); cdecl; external Qt4PasLib name 'QStyleOptionButton_setIcon'; procedure QStyleOptionButton_iconSize(handle : QStyleOptionButtonH; retval : PSize ); cdecl; external Qt4PasLib name 'QStyleOptionButton_iconSize'; procedure QStyleOptionButton_setIconSize(handle : QStyleOptionButtonH; iconSize : PSize); cdecl; external Qt4PasLib name 'QStyleOptionButton_setIconSize'; function QStyleOptionButton_create(): QStyleOptionButtonH; cdecl; external Qt4PasLib name 'QStyleOptionButton_create'; procedure QStyleOptionButton_destroy(handle: QStyleOptionButtonH); cdecl; external Qt4PasLib name 'QStyleOptionButton_destroy'; function QStyleOptionButton_create(other: QStyleOptionButtonH): QStyleOptionButtonH; cdecl; external Qt4PasLib name 'QStyleOptionButton_create2'; function QStyleOptionTab_shape(handle : QStyleOptionTabH) : QTabBarShape; cdecl; external Qt4PasLib name 'QStyleOptionTab_shape'; procedure QStyleOptionTab_setShape(handle : QStyleOptionTabH; shape : QTabBarShape); cdecl; external Qt4PasLib name 'QStyleOptionTab_setShape'; procedure QStyleOptionTab_text(handle : QStyleOptionTabH; retval : PWideString ); cdecl; external Qt4PasLib name 'QStyleOptionTab_text'; procedure QStyleOptionTab_setText(handle : QStyleOptionTabH; text : PWideString); cdecl; external Qt4PasLib name 'QStyleOptionTab_setText'; procedure QStyleOptionTab_icon(handle : QStyleOptionTabH; retval : QIconH ); cdecl; external Qt4PasLib name 'QStyleOptionTab_icon'; procedure QStyleOptionTab_setIcon(handle : QStyleOptionTabH; icon : QIconH); cdecl; external Qt4PasLib name 'QStyleOptionTab_setIcon'; function QStyleOptionTab_row(handle : QStyleOptionTabH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionTab_row'; procedure QStyleOptionTab_setRow(handle : QStyleOptionTabH; row : Integer); cdecl; external Qt4PasLib name 'QStyleOptionTab_setRow'; function QStyleOptionTab_position(handle : QStyleOptionTabH) : QStyleOptionTabTabPosition; cdecl; external Qt4PasLib name 'QStyleOptionTab_position'; procedure QStyleOptionTab_setPosition(handle : QStyleOptionTabH; position : QStyleOptionTabTabPosition); cdecl; external Qt4PasLib name 'QStyleOptionTab_setPosition'; function QStyleOptionTab_selectedPosition(handle : QStyleOptionTabH) : QStyleOptionTabSelectedPosition; cdecl; external Qt4PasLib name 'QStyleOptionTab_selectedPosition'; procedure QStyleOptionTab_setSelectedPosition(handle : QStyleOptionTabH; selectedPosition : QStyleOptionTabSelectedPosition); cdecl; external Qt4PasLib name 'QStyleOptionTab_setSelectedPosition'; function QStyleOptionTab_cornerWidgets(handle : QStyleOptionTabH) : QStyleOptionTabCornerWidgets; cdecl; external Qt4PasLib name 'QStyleOptionTab_cornerWidgets'; procedure QStyleOptionTab_setCornerWidgets(handle : QStyleOptionTabH; cornerWidgets : QStyleOptionTabCornerWidgets); cdecl; external Qt4PasLib name 'QStyleOptionTab_setCornerWidgets'; function QStyleOptionTab_create(): QStyleOptionTabH; cdecl; external Qt4PasLib name 'QStyleOptionTab_create'; procedure QStyleOptionTab_destroy(handle: QStyleOptionTabH); cdecl; external Qt4PasLib name 'QStyleOptionTab_destroy'; function QStyleOptionTab_create(other: QStyleOptionTabH): QStyleOptionTabH; cdecl; external Qt4PasLib name 'QStyleOptionTab_create2'; procedure QStyleOptionTabV2_iconSize(handle : QStyleOptionTabV2H; retval : PSize ); cdecl; external Qt4PasLib name 'QStyleOptionTabV2_iconSize'; procedure QStyleOptionTabV2_setIconSize(handle : QStyleOptionTabV2H; iconSize : PSize); cdecl; external Qt4PasLib name 'QStyleOptionTabV2_setIconSize'; function QStyleOptionTabV2_create(): QStyleOptionTabV2H; cdecl; external Qt4PasLib name 'QStyleOptionTabV2_create'; procedure QStyleOptionTabV2_destroy(handle: QStyleOptionTabV2H); cdecl; external Qt4PasLib name 'QStyleOptionTabV2_destroy'; function QStyleOptionTabV2_create(other: QStyleOptionTabV2H): QStyleOptionTabV2H; cdecl; external Qt4PasLib name 'QStyleOptionTabV2_create2'; function QStyleOptionTabV2_create(other: QStyleOptionTabH): QStyleOptionTabV2H; cdecl; external Qt4PasLib name 'QStyleOptionTabV2_create3'; function QStyleOptionTabV3_documentMode(handle : QStyleOptionTabV3H) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionTabV3_documentMode'; procedure QStyleOptionTabV3_setDocumentMode(handle : QStyleOptionTabV3H; documentMode : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionTabV3_setDocumentMode'; procedure QStyleOptionTabV3_leftButtonSize(handle : QStyleOptionTabV3H; retval : PSize ); cdecl; external Qt4PasLib name 'QStyleOptionTabV3_leftButtonSize'; procedure QStyleOptionTabV3_setLeftButtonSize(handle : QStyleOptionTabV3H; leftButtonSize : PSize); cdecl; external Qt4PasLib name 'QStyleOptionTabV3_setLeftButtonSize'; procedure QStyleOptionTabV3_rightButtonSize(handle : QStyleOptionTabV3H; retval : PSize ); cdecl; external Qt4PasLib name 'QStyleOptionTabV3_rightButtonSize'; procedure QStyleOptionTabV3_setRightButtonSize(handle : QStyleOptionTabV3H; rightButtonSize : PSize); cdecl; external Qt4PasLib name 'QStyleOptionTabV3_setRightButtonSize'; function QStyleOptionTabV3_create(): QStyleOptionTabV3H; cdecl; external Qt4PasLib name 'QStyleOptionTabV3_create'; procedure QStyleOptionTabV3_destroy(handle: QStyleOptionTabV3H); cdecl; external Qt4PasLib name 'QStyleOptionTabV3_destroy'; function QStyleOptionTabV3_create(other: QStyleOptionTabV3H): QStyleOptionTabV3H; cdecl; external Qt4PasLib name 'QStyleOptionTabV3_create2'; function QStyleOptionTabV3_create(other: QStyleOptionTabV2H): QStyleOptionTabV3H; cdecl; external Qt4PasLib name 'QStyleOptionTabV3_create3'; function QStyleOptionTabV3_create(other: QStyleOptionTabH): QStyleOptionTabV3H; cdecl; external Qt4PasLib name 'QStyleOptionTabV3_create4'; function QStyleOptionToolBar_positionOfLine(handle : QStyleOptionToolBarH) : QStyleOptionToolBarToolBarPosition; cdecl; external Qt4PasLib name 'QStyleOptionToolBar_positionOfLine'; procedure QStyleOptionToolBar_setPositionOfLine(handle : QStyleOptionToolBarH; positionOfLine : QStyleOptionToolBarToolBarPosition); cdecl; external Qt4PasLib name 'QStyleOptionToolBar_setPositionOfLine'; function QStyleOptionToolBar_positionWithinLine(handle : QStyleOptionToolBarH) : QStyleOptionToolBarToolBarPosition; cdecl; external Qt4PasLib name 'QStyleOptionToolBar_positionWithinLine'; procedure QStyleOptionToolBar_setPositionWithinLine(handle : QStyleOptionToolBarH; positionWithinLine : QStyleOptionToolBarToolBarPosition); cdecl; external Qt4PasLib name 'QStyleOptionToolBar_setPositionWithinLine'; function QStyleOptionToolBar_toolBarArea(handle : QStyleOptionToolBarH) : QtToolBarArea; cdecl; external Qt4PasLib name 'QStyleOptionToolBar_toolBarArea'; procedure QStyleOptionToolBar_setToolBarArea(handle : QStyleOptionToolBarH; toolBarArea : QtToolBarArea); cdecl; external Qt4PasLib name 'QStyleOptionToolBar_setToolBarArea'; function QStyleOptionToolBar_features(handle : QStyleOptionToolBarH) : QStyleOptionToolBarToolBarFeatures; cdecl; external Qt4PasLib name 'QStyleOptionToolBar_features'; procedure QStyleOptionToolBar_setFeatures(handle : QStyleOptionToolBarH; features : QStyleOptionToolBarToolBarFeatures); cdecl; external Qt4PasLib name 'QStyleOptionToolBar_setFeatures'; function QStyleOptionToolBar_lineWidth(handle : QStyleOptionToolBarH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionToolBar_lineWidth'; procedure QStyleOptionToolBar_setLineWidth(handle : QStyleOptionToolBarH; lineWidth : Integer); cdecl; external Qt4PasLib name 'QStyleOptionToolBar_setLineWidth'; function QStyleOptionToolBar_midLineWidth(handle : QStyleOptionToolBarH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionToolBar_midLineWidth'; procedure QStyleOptionToolBar_setMidLineWidth(handle : QStyleOptionToolBarH; midLineWidth : Integer); cdecl; external Qt4PasLib name 'QStyleOptionToolBar_setMidLineWidth'; function QStyleOptionToolBar_create(): QStyleOptionToolBarH; cdecl; external Qt4PasLib name 'QStyleOptionToolBar_create'; procedure QStyleOptionToolBar_destroy(handle: QStyleOptionToolBarH); cdecl; external Qt4PasLib name 'QStyleOptionToolBar_destroy'; function QStyleOptionToolBar_create(other: QStyleOptionToolBarH): QStyleOptionToolBarH; cdecl; external Qt4PasLib name 'QStyleOptionToolBar_create2'; function QStyleOptionProgressBar_minimum(handle : QStyleOptionProgressBarH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_minimum'; procedure QStyleOptionProgressBar_setMinimum(handle : QStyleOptionProgressBarH; minimum : Integer); cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_setMinimum'; function QStyleOptionProgressBar_maximum(handle : QStyleOptionProgressBarH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_maximum'; procedure QStyleOptionProgressBar_setMaximum(handle : QStyleOptionProgressBarH; maximum : Integer); cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_setMaximum'; function QStyleOptionProgressBar_progress(handle : QStyleOptionProgressBarH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_progress'; procedure QStyleOptionProgressBar_setProgress(handle : QStyleOptionProgressBarH; progress : Integer); cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_setProgress'; procedure QStyleOptionProgressBar_text(handle : QStyleOptionProgressBarH; retval : PWideString ); cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_text'; procedure QStyleOptionProgressBar_setText(handle : QStyleOptionProgressBarH; text : PWideString); cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_setText'; function QStyleOptionProgressBar_textAlignment(handle : QStyleOptionProgressBarH) : QtAlignment; cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_textAlignment'; procedure QStyleOptionProgressBar_setTextAlignment(handle : QStyleOptionProgressBarH; textAlignment : QtAlignment); cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_setTextAlignment'; function QStyleOptionProgressBar_textVisible(handle : QStyleOptionProgressBarH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_textVisible'; procedure QStyleOptionProgressBar_setTextVisible(handle : QStyleOptionProgressBarH; textVisible : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_setTextVisible'; function QStyleOptionProgressBar_create(): QStyleOptionProgressBarH; cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_create'; procedure QStyleOptionProgressBar_destroy(handle: QStyleOptionProgressBarH); cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_destroy'; function QStyleOptionProgressBar_create(other: QStyleOptionProgressBarH): QStyleOptionProgressBarH; cdecl; external Qt4PasLib name 'QStyleOptionProgressBar_create2'; function QStyleOptionProgressBarV2_orientation(handle : QStyleOptionProgressBarV2H) : QtOrientation; cdecl; external Qt4PasLib name 'QStyleOptionProgressBarV2_orientation'; procedure QStyleOptionProgressBarV2_setOrientation(handle : QStyleOptionProgressBarV2H; orientation : QtOrientation); cdecl; external Qt4PasLib name 'QStyleOptionProgressBarV2_setOrientation'; function QStyleOptionProgressBarV2_invertedAppearance(handle : QStyleOptionProgressBarV2H) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionProgressBarV2_invertedAppearance'; procedure QStyleOptionProgressBarV2_setInvertedAppearance(handle : QStyleOptionProgressBarV2H; invertedAppearance : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionProgressBarV2_setInvertedAppearance'; function QStyleOptionProgressBarV2_bottomToTop(handle : QStyleOptionProgressBarV2H) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionProgressBarV2_bottomToTop'; procedure QStyleOptionProgressBarV2_setBottomToTop(handle : QStyleOptionProgressBarV2H; bottomToTop : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionProgressBarV2_setBottomToTop'; function QStyleOptionProgressBarV2_create(): QStyleOptionProgressBarV2H; cdecl; external Qt4PasLib name 'QStyleOptionProgressBarV2_create'; procedure QStyleOptionProgressBarV2_destroy(handle: QStyleOptionProgressBarV2H); cdecl; external Qt4PasLib name 'QStyleOptionProgressBarV2_destroy'; function QStyleOptionProgressBarV2_create(other: QStyleOptionProgressBarH): QStyleOptionProgressBarV2H; cdecl; external Qt4PasLib name 'QStyleOptionProgressBarV2_create2'; function QStyleOptionProgressBarV2_create(other: QStyleOptionProgressBarV2H): QStyleOptionProgressBarV2H; cdecl; external Qt4PasLib name 'QStyleOptionProgressBarV2_create3'; function QStyleOptionMenuItem_menuItemType(handle : QStyleOptionMenuItemH) : QStyleOptionMenuItemMenuItemType; cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_menuItemType'; procedure QStyleOptionMenuItem_setMenuItemType(handle : QStyleOptionMenuItemH; menuItemType : QStyleOptionMenuItemMenuItemType); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_setMenuItemType'; function QStyleOptionMenuItem_checkType(handle : QStyleOptionMenuItemH) : QStyleOptionMenuItemCheckType; cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_checkType'; procedure QStyleOptionMenuItem_setCheckType(handle : QStyleOptionMenuItemH; checkType : QStyleOptionMenuItemCheckType); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_setCheckType'; function QStyleOptionMenuItem_checked(handle : QStyleOptionMenuItemH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_checked'; procedure QStyleOptionMenuItem_setChecked(handle : QStyleOptionMenuItemH; checked : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_setChecked'; function QStyleOptionMenuItem_menuHasCheckableItems(handle : QStyleOptionMenuItemH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_menuHasCheckableItems'; procedure QStyleOptionMenuItem_setMenuHasCheckableItems(handle : QStyleOptionMenuItemH; menuHasCheckableItems : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_setMenuHasCheckableItems'; procedure QStyleOptionMenuItem_menuRect(handle : QStyleOptionMenuItemH; retval : PRect ); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_menuRect'; procedure QStyleOptionMenuItem_setMenuRect(handle : QStyleOptionMenuItemH; menuRect : PRect); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_setMenuRect'; procedure QStyleOptionMenuItem_text(handle : QStyleOptionMenuItemH; retval : PWideString ); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_text'; procedure QStyleOptionMenuItem_setText(handle : QStyleOptionMenuItemH; text : PWideString); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_setText'; procedure QStyleOptionMenuItem_icon(handle : QStyleOptionMenuItemH; retval : QIconH ); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_icon'; procedure QStyleOptionMenuItem_setIcon(handle : QStyleOptionMenuItemH; icon : QIconH); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_setIcon'; function QStyleOptionMenuItem_maxIconWidth(handle : QStyleOptionMenuItemH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_maxIconWidth'; procedure QStyleOptionMenuItem_setMaxIconWidth(handle : QStyleOptionMenuItemH; maxIconWidth : Integer); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_setMaxIconWidth'; function QStyleOptionMenuItem_tabWidth(handle : QStyleOptionMenuItemH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_tabWidth'; procedure QStyleOptionMenuItem_setTabWidth(handle : QStyleOptionMenuItemH; tabWidth : Integer); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_setTabWidth'; procedure QStyleOptionMenuItem_font(handle : QStyleOptionMenuItemH; retval : QFontH ); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_font'; procedure QStyleOptionMenuItem_setFont(handle : QStyleOptionMenuItemH; font : QFontH); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_setFont'; function QStyleOptionMenuItem_create(): QStyleOptionMenuItemH; cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_create'; procedure QStyleOptionMenuItem_destroy(handle: QStyleOptionMenuItemH); cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_destroy'; function QStyleOptionMenuItem_create(other: QStyleOptionMenuItemH): QStyleOptionMenuItemH; cdecl; external Qt4PasLib name 'QStyleOptionMenuItem_create2'; function QStyleOptionQ3ListViewItem_features(handle : QStyleOptionQ3ListViewItemH) : QStyleOptionQ3ListViewItemQ3ListViewItemFeatures; cdecl; external Qt4PasLib name 'QStyleOptionQ3ListViewItem_features'; procedure QStyleOptionQ3ListViewItem_setFeatures(handle : QStyleOptionQ3ListViewItemH; features : QStyleOptionQ3ListViewItemQ3ListViewItemFeatures); cdecl; external Qt4PasLib name 'QStyleOptionQ3ListViewItem_setFeatures'; function QStyleOptionQ3ListViewItem_height(handle : QStyleOptionQ3ListViewItemH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionQ3ListViewItem_height'; procedure QStyleOptionQ3ListViewItem_setHeight(handle : QStyleOptionQ3ListViewItemH; height : Integer); cdecl; external Qt4PasLib name 'QStyleOptionQ3ListViewItem_setHeight'; function QStyleOptionQ3ListViewItem_totalHeight(handle : QStyleOptionQ3ListViewItemH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionQ3ListViewItem_totalHeight'; procedure QStyleOptionQ3ListViewItem_setTotalHeight(handle : QStyleOptionQ3ListViewItemH; totalHeight : Integer); cdecl; external Qt4PasLib name 'QStyleOptionQ3ListViewItem_setTotalHeight'; function QStyleOptionQ3ListViewItem_itemY(handle : QStyleOptionQ3ListViewItemH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionQ3ListViewItem_itemY'; procedure QStyleOptionQ3ListViewItem_setItemY(handle : QStyleOptionQ3ListViewItemH; itemY : Integer); cdecl; external Qt4PasLib name 'QStyleOptionQ3ListViewItem_setItemY'; function QStyleOptionQ3ListViewItem_childCount(handle : QStyleOptionQ3ListViewItemH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionQ3ListViewItem_childCount'; procedure QStyleOptionQ3ListViewItem_setChildCount(handle : QStyleOptionQ3ListViewItemH; childCount : Integer); cdecl; external Qt4PasLib name 'QStyleOptionQ3ListViewItem_setChildCount'; function QStyleOptionQ3ListViewItem_create(): QStyleOptionQ3ListViewItemH; cdecl; external Qt4PasLib name 'QStyleOptionQ3ListViewItem_create'; procedure QStyleOptionQ3ListViewItem_destroy(handle: QStyleOptionQ3ListViewItemH); cdecl; external Qt4PasLib name 'QStyleOptionQ3ListViewItem_destroy'; function QStyleOptionQ3ListViewItem_create(other: QStyleOptionQ3ListViewItemH): QStyleOptionQ3ListViewItemH; cdecl; external Qt4PasLib name 'QStyleOptionQ3ListViewItem_create2'; function QStyleOptionQ3DockWindow_docked(handle : QStyleOptionQ3DockWindowH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionQ3DockWindow_docked'; procedure QStyleOptionQ3DockWindow_setDocked(handle : QStyleOptionQ3DockWindowH; docked : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionQ3DockWindow_setDocked'; function QStyleOptionQ3DockWindow_closeEnabled(handle : QStyleOptionQ3DockWindowH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionQ3DockWindow_closeEnabled'; procedure QStyleOptionQ3DockWindow_setCloseEnabled(handle : QStyleOptionQ3DockWindowH; closeEnabled : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionQ3DockWindow_setCloseEnabled'; function QStyleOptionQ3DockWindow_create(): QStyleOptionQ3DockWindowH; cdecl; external Qt4PasLib name 'QStyleOptionQ3DockWindow_create'; procedure QStyleOptionQ3DockWindow_destroy(handle: QStyleOptionQ3DockWindowH); cdecl; external Qt4PasLib name 'QStyleOptionQ3DockWindow_destroy'; function QStyleOptionQ3DockWindow_create(other: QStyleOptionQ3DockWindowH): QStyleOptionQ3DockWindowH; cdecl; external Qt4PasLib name 'QStyleOptionQ3DockWindow_create2'; procedure QStyleOptionDockWidget_title(handle : QStyleOptionDockWidgetH; retval : PWideString ); cdecl; external Qt4PasLib name 'QStyleOptionDockWidget_title'; procedure QStyleOptionDockWidget_setTitle(handle : QStyleOptionDockWidgetH; title : PWideString); cdecl; external Qt4PasLib name 'QStyleOptionDockWidget_setTitle'; function QStyleOptionDockWidget_closable(handle : QStyleOptionDockWidgetH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionDockWidget_closable'; procedure QStyleOptionDockWidget_setClosable(handle : QStyleOptionDockWidgetH; closable : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionDockWidget_setClosable'; function QStyleOptionDockWidget_movable(handle : QStyleOptionDockWidgetH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionDockWidget_movable'; procedure QStyleOptionDockWidget_setMovable(handle : QStyleOptionDockWidgetH; movable : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionDockWidget_setMovable'; function QStyleOptionDockWidget_floatable(handle : QStyleOptionDockWidgetH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionDockWidget_floatable'; procedure QStyleOptionDockWidget_setFloatable(handle : QStyleOptionDockWidgetH; floatable : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionDockWidget_setFloatable'; function QStyleOptionDockWidget_create(): QStyleOptionDockWidgetH; cdecl; external Qt4PasLib name 'QStyleOptionDockWidget_create'; procedure QStyleOptionDockWidget_destroy(handle: QStyleOptionDockWidgetH); cdecl; external Qt4PasLib name 'QStyleOptionDockWidget_destroy'; function QStyleOptionDockWidget_create(other: QStyleOptionDockWidgetH): QStyleOptionDockWidgetH; cdecl; external Qt4PasLib name 'QStyleOptionDockWidget_create2'; function QStyleOptionViewItem_displayAlignment(handle : QStyleOptionViewItemH) : QtAlignment; cdecl; external Qt4PasLib name 'QStyleOptionViewItem_displayAlignment'; procedure QStyleOptionViewItem_setDisplayAlignment(handle : QStyleOptionViewItemH; displayAlignment : QtAlignment); cdecl; external Qt4PasLib name 'QStyleOptionViewItem_setDisplayAlignment'; function QStyleOptionViewItem_decorationAlignment(handle : QStyleOptionViewItemH) : QtAlignment; cdecl; external Qt4PasLib name 'QStyleOptionViewItem_decorationAlignment'; procedure QStyleOptionViewItem_setDecorationAlignment(handle : QStyleOptionViewItemH; decorationAlignment : QtAlignment); cdecl; external Qt4PasLib name 'QStyleOptionViewItem_setDecorationAlignment'; function QStyleOptionViewItem_textElideMode(handle : QStyleOptionViewItemH) : QtTextElideMode; cdecl; external Qt4PasLib name 'QStyleOptionViewItem_textElideMode'; procedure QStyleOptionViewItem_setTextElideMode(handle : QStyleOptionViewItemH; textElideMode : QtTextElideMode); cdecl; external Qt4PasLib name 'QStyleOptionViewItem_setTextElideMode'; function QStyleOptionViewItem_decorationPosition(handle : QStyleOptionViewItemH) : QStyleOptionViewItemPosition; cdecl; external Qt4PasLib name 'QStyleOptionViewItem_decorationPosition'; procedure QStyleOptionViewItem_setDecorationPosition(handle : QStyleOptionViewItemH; decorationPosition : QStyleOptionViewItemPosition); cdecl; external Qt4PasLib name 'QStyleOptionViewItem_setDecorationPosition'; procedure QStyleOptionViewItem_decorationSize(handle : QStyleOptionViewItemH; retval : PSize ); cdecl; external Qt4PasLib name 'QStyleOptionViewItem_decorationSize'; procedure QStyleOptionViewItem_setDecorationSize(handle : QStyleOptionViewItemH; decorationSize : PSize); cdecl; external Qt4PasLib name 'QStyleOptionViewItem_setDecorationSize'; procedure QStyleOptionViewItem_font(handle : QStyleOptionViewItemH; retval : QFontH ); cdecl; external Qt4PasLib name 'QStyleOptionViewItem_font'; procedure QStyleOptionViewItem_setFont(handle : QStyleOptionViewItemH; font : QFontH); cdecl; external Qt4PasLib name 'QStyleOptionViewItem_setFont'; function QStyleOptionViewItem_showDecorationSelected(handle : QStyleOptionViewItemH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionViewItem_showDecorationSelected'; procedure QStyleOptionViewItem_setShowDecorationSelected(handle : QStyleOptionViewItemH; showDecorationSelected : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionViewItem_setShowDecorationSelected'; function QStyleOptionViewItem_create(): QStyleOptionViewItemH; cdecl; external Qt4PasLib name 'QStyleOptionViewItem_create'; procedure QStyleOptionViewItem_destroy(handle: QStyleOptionViewItemH); cdecl; external Qt4PasLib name 'QStyleOptionViewItem_destroy'; function QStyleOptionViewItem_create(other: QStyleOptionViewItemH): QStyleOptionViewItemH; cdecl; external Qt4PasLib name 'QStyleOptionViewItem_create2'; procedure QStyleOptionViewItemV4_index(handle : QStyleOptionViewItemV4H; retval : QModelIndexH ); cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_index'; procedure QStyleOptionViewItemV4_setIndex(handle : QStyleOptionViewItemV4H; index : QModelIndexH); cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_setIndex'; function QStyleOptionViewItemV4_checkState(handle : QStyleOptionViewItemV4H) : QtCheckState; cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_checkState'; procedure QStyleOptionViewItemV4_setCheckState(handle : QStyleOptionViewItemV4H; checkState : QtCheckState); cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_setCheckState'; procedure QStyleOptionViewItemV4_icon(handle : QStyleOptionViewItemV4H; retval : QIconH ); cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_icon'; procedure QStyleOptionViewItemV4_setIcon(handle : QStyleOptionViewItemV4H; icon : QIconH); cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_setIcon'; procedure QStyleOptionViewItemV4_text(handle : QStyleOptionViewItemV4H; retval : PWideString ); cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_text'; procedure QStyleOptionViewItemV4_setText(handle : QStyleOptionViewItemV4H; text : PWideString); cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_setText'; function QStyleOptionViewItemV4_viewItemPosition(handle : QStyleOptionViewItemV4H) : QStyleOptionViewItemV4ViewItemPosition; cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_viewItemPosition'; procedure QStyleOptionViewItemV4_setViewItemPosition(handle : QStyleOptionViewItemV4H; viewItemPosition : QStyleOptionViewItemV4ViewItemPosition); cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_setViewItemPosition'; procedure QStyleOptionViewItemV4_backgroundBrush(handle : QStyleOptionViewItemV4H; retval : QBrushH ); cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_backgroundBrush'; procedure QStyleOptionViewItemV4_setBackgroundBrush(handle : QStyleOptionViewItemV4H; backgroundBrush : QBrushH); cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_setBackgroundBrush'; function QStyleOptionViewItemV4_create(): QStyleOptionViewItemV4H; cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_create'; procedure QStyleOptionViewItemV4_destroy(handle: QStyleOptionViewItemV4H); cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_destroy'; function QStyleOptionViewItemV4_create(other: QStyleOptionViewItemV4H): QStyleOptionViewItemV4H; cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_create2'; function QStyleOptionViewItemV4_create(other: QStyleOptionViewItemH): QStyleOptionViewItemV4H; cdecl; external Qt4PasLib name 'QStyleOptionViewItemV4_create3'; procedure QStyleOptionToolBox_text(handle : QStyleOptionToolBoxH; retval : PWideString ); cdecl; external Qt4PasLib name 'QStyleOptionToolBox_text'; procedure QStyleOptionToolBox_setText(handle : QStyleOptionToolBoxH; text : PWideString); cdecl; external Qt4PasLib name 'QStyleOptionToolBox_setText'; procedure QStyleOptionToolBox_icon(handle : QStyleOptionToolBoxH; retval : QIconH ); cdecl; external Qt4PasLib name 'QStyleOptionToolBox_icon'; procedure QStyleOptionToolBox_setIcon(handle : QStyleOptionToolBoxH; icon : QIconH); cdecl; external Qt4PasLib name 'QStyleOptionToolBox_setIcon'; function QStyleOptionToolBox_create(): QStyleOptionToolBoxH; cdecl; external Qt4PasLib name 'QStyleOptionToolBox_create'; procedure QStyleOptionToolBox_destroy(handle: QStyleOptionToolBoxH); cdecl; external Qt4PasLib name 'QStyleOptionToolBox_destroy'; function QStyleOptionToolBox_create(other: QStyleOptionToolBoxH): QStyleOptionToolBoxH; cdecl; external Qt4PasLib name 'QStyleOptionToolBox_create2'; function QStyleOptionToolBoxV2_position(handle : QStyleOptionToolBoxV2H) : QStyleOptionToolBoxV2TabPosition; cdecl; external Qt4PasLib name 'QStyleOptionToolBoxV2_position'; procedure QStyleOptionToolBoxV2_setPosition(handle : QStyleOptionToolBoxV2H; position : QStyleOptionToolBoxV2TabPosition); cdecl; external Qt4PasLib name 'QStyleOptionToolBoxV2_setPosition'; function QStyleOptionToolBoxV2_selectedPosition(handle : QStyleOptionToolBoxV2H) : QStyleOptionToolBoxV2SelectedPosition; cdecl; external Qt4PasLib name 'QStyleOptionToolBoxV2_selectedPosition'; procedure QStyleOptionToolBoxV2_setSelectedPosition(handle : QStyleOptionToolBoxV2H; selectedPosition : QStyleOptionToolBoxV2SelectedPosition); cdecl; external Qt4PasLib name 'QStyleOptionToolBoxV2_setSelectedPosition'; function QStyleOptionToolBoxV2_create(): QStyleOptionToolBoxV2H; cdecl; external Qt4PasLib name 'QStyleOptionToolBoxV2_create'; procedure QStyleOptionToolBoxV2_destroy(handle: QStyleOptionToolBoxV2H); cdecl; external Qt4PasLib name 'QStyleOptionToolBoxV2_destroy'; function QStyleOptionToolBoxV2_create(other: QStyleOptionToolBoxV2H): QStyleOptionToolBoxV2H; cdecl; external Qt4PasLib name 'QStyleOptionToolBoxV2_create2'; function QStyleOptionToolBoxV2_create(other: QStyleOptionToolBoxH): QStyleOptionToolBoxV2H; cdecl; external Qt4PasLib name 'QStyleOptionToolBoxV2_create3'; function QStyleOptionRubberBand_shape(handle : QStyleOptionRubberBandH) : QRubberBandShape; cdecl; external Qt4PasLib name 'QStyleOptionRubberBand_shape'; procedure QStyleOptionRubberBand_setShape(handle : QStyleOptionRubberBandH; shape : QRubberBandShape); cdecl; external Qt4PasLib name 'QStyleOptionRubberBand_setShape'; function QStyleOptionRubberBand_opaque(handle : QStyleOptionRubberBandH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionRubberBand_opaque'; procedure QStyleOptionRubberBand_setOpaque(handle : QStyleOptionRubberBandH; opaque : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionRubberBand_setOpaque'; function QStyleOptionRubberBand_create(): QStyleOptionRubberBandH; cdecl; external Qt4PasLib name 'QStyleOptionRubberBand_create'; procedure QStyleOptionRubberBand_destroy(handle: QStyleOptionRubberBandH); cdecl; external Qt4PasLib name 'QStyleOptionRubberBand_destroy'; function QStyleOptionRubberBand_create(other: QStyleOptionRubberBandH): QStyleOptionRubberBandH; cdecl; external Qt4PasLib name 'QStyleOptionRubberBand_create2'; function QStyleOptionComplex_subControls(handle : QStyleOptionComplexH) : QStyleSubControls; cdecl; external Qt4PasLib name 'QStyleOptionComplex_subControls'; procedure QStyleOptionComplex_setSubControls(handle : QStyleOptionComplexH; subControls : QStyleSubControls); cdecl; external Qt4PasLib name 'QStyleOptionComplex_setSubControls'; function QStyleOptionComplex_activeSubControls(handle : QStyleOptionComplexH) : QStyleSubControls; cdecl; external Qt4PasLib name 'QStyleOptionComplex_activeSubControls'; procedure QStyleOptionComplex_setActiveSubControls(handle : QStyleOptionComplexH; activeSubControls : QStyleSubControls); cdecl; external Qt4PasLib name 'QStyleOptionComplex_setActiveSubControls'; function QStyleOptionComplex_create(version: Integer; _type: Integer): QStyleOptionComplexH; cdecl; external Qt4PasLib name 'QStyleOptionComplex_create'; procedure QStyleOptionComplex_destroy(handle: QStyleOptionComplexH); cdecl; external Qt4PasLib name 'QStyleOptionComplex_destroy'; function QStyleOptionComplex_create(other: QStyleOptionComplexH): QStyleOptionComplexH; cdecl; external Qt4PasLib name 'QStyleOptionComplex_create2'; function QStyleOptionSlider_orientation(handle : QStyleOptionSliderH) : QtOrientation; cdecl; external Qt4PasLib name 'QStyleOptionSlider_orientation'; procedure QStyleOptionSlider_setOrientation(handle : QStyleOptionSliderH; orientation : QtOrientation); cdecl; external Qt4PasLib name 'QStyleOptionSlider_setOrientation'; function QStyleOptionSlider_minimum(handle : QStyleOptionSliderH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionSlider_minimum'; procedure QStyleOptionSlider_setMinimum(handle : QStyleOptionSliderH; minimum : Integer); cdecl; external Qt4PasLib name 'QStyleOptionSlider_setMinimum'; function QStyleOptionSlider_maximum(handle : QStyleOptionSliderH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionSlider_maximum'; procedure QStyleOptionSlider_setMaximum(handle : QStyleOptionSliderH; maximum : Integer); cdecl; external Qt4PasLib name 'QStyleOptionSlider_setMaximum'; function QStyleOptionSlider_tickPosition(handle : QStyleOptionSliderH) : QSliderTickPosition; cdecl; external Qt4PasLib name 'QStyleOptionSlider_tickPosition'; procedure QStyleOptionSlider_setTickPosition(handle : QStyleOptionSliderH; tickPosition : QSliderTickPosition); cdecl; external Qt4PasLib name 'QStyleOptionSlider_setTickPosition'; function QStyleOptionSlider_tickInterval(handle : QStyleOptionSliderH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionSlider_tickInterval'; procedure QStyleOptionSlider_setTickInterval(handle : QStyleOptionSliderH; tickInterval : Integer); cdecl; external Qt4PasLib name 'QStyleOptionSlider_setTickInterval'; function QStyleOptionSlider_upsideDown(handle : QStyleOptionSliderH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionSlider_upsideDown'; procedure QStyleOptionSlider_setUpsideDown(handle : QStyleOptionSliderH; upsideDown : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionSlider_setUpsideDown'; function QStyleOptionSlider_sliderPosition(handle : QStyleOptionSliderH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionSlider_sliderPosition'; procedure QStyleOptionSlider_setSliderPosition(handle : QStyleOptionSliderH; sliderPosition : Integer); cdecl; external Qt4PasLib name 'QStyleOptionSlider_setSliderPosition'; function QStyleOptionSlider_sliderValue(handle : QStyleOptionSliderH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionSlider_sliderValue'; procedure QStyleOptionSlider_setSliderValue(handle : QStyleOptionSliderH; sliderValue : Integer); cdecl; external Qt4PasLib name 'QStyleOptionSlider_setSliderValue'; function QStyleOptionSlider_singleStep(handle : QStyleOptionSliderH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionSlider_singleStep'; procedure QStyleOptionSlider_setSingleStep(handle : QStyleOptionSliderH; singleStep : Integer); cdecl; external Qt4PasLib name 'QStyleOptionSlider_setSingleStep'; function QStyleOptionSlider_pageStep(handle : QStyleOptionSliderH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionSlider_pageStep'; procedure QStyleOptionSlider_setPageStep(handle : QStyleOptionSliderH; pageStep : Integer); cdecl; external Qt4PasLib name 'QStyleOptionSlider_setPageStep'; function QStyleOptionSlider_notchTarget(handle : QStyleOptionSliderH) : qreal; cdecl; external Qt4PasLib name 'QStyleOptionSlider_notchTarget'; procedure QStyleOptionSlider_setNotchTarget(handle : QStyleOptionSliderH; notchTarget : qreal); cdecl; external Qt4PasLib name 'QStyleOptionSlider_setNotchTarget'; function QStyleOptionSlider_dialWrapping(handle : QStyleOptionSliderH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionSlider_dialWrapping'; procedure QStyleOptionSlider_setDialWrapping(handle : QStyleOptionSliderH; dialWrapping : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionSlider_setDialWrapping'; function QStyleOptionSlider_create(): QStyleOptionSliderH; cdecl; external Qt4PasLib name 'QStyleOptionSlider_create'; procedure QStyleOptionSlider_destroy(handle: QStyleOptionSliderH); cdecl; external Qt4PasLib name 'QStyleOptionSlider_destroy'; function QStyleOptionSlider_create(other: QStyleOptionSliderH): QStyleOptionSliderH; cdecl; external Qt4PasLib name 'QStyleOptionSlider_create2'; function QStyleOptionSpinBox_buttonSymbols(handle : QStyleOptionSpinBoxH) : QAbstractSpinBoxButtonSymbols; cdecl; external Qt4PasLib name 'QStyleOptionSpinBox_buttonSymbols'; procedure QStyleOptionSpinBox_setButtonSymbols(handle : QStyleOptionSpinBoxH; buttonSymbols : QAbstractSpinBoxButtonSymbols); cdecl; external Qt4PasLib name 'QStyleOptionSpinBox_setButtonSymbols'; function QStyleOptionSpinBox_stepEnabled(handle : QStyleOptionSpinBoxH) : QAbstractSpinBoxStepEnabled; cdecl; external Qt4PasLib name 'QStyleOptionSpinBox_stepEnabled'; procedure QStyleOptionSpinBox_setStepEnabled(handle : QStyleOptionSpinBoxH; stepEnabled : QAbstractSpinBoxStepEnabled); cdecl; external Qt4PasLib name 'QStyleOptionSpinBox_setStepEnabled'; function QStyleOptionSpinBox_frame(handle : QStyleOptionSpinBoxH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionSpinBox_frame'; procedure QStyleOptionSpinBox_setFrame(handle : QStyleOptionSpinBoxH; frame : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionSpinBox_setFrame'; function QStyleOptionSpinBox_create(): QStyleOptionSpinBoxH; cdecl; external Qt4PasLib name 'QStyleOptionSpinBox_create'; procedure QStyleOptionSpinBox_destroy(handle: QStyleOptionSpinBoxH); cdecl; external Qt4PasLib name 'QStyleOptionSpinBox_destroy'; function QStyleOptionSpinBox_create(other: QStyleOptionSpinBoxH): QStyleOptionSpinBoxH; cdecl; external Qt4PasLib name 'QStyleOptionSpinBox_create2'; procedure QStyleOptionQ3ListView_viewportPalette(handle : QStyleOptionQ3ListViewH; retval : QPaletteH ); cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_viewportPalette'; procedure QStyleOptionQ3ListView_setViewportPalette(handle : QStyleOptionQ3ListViewH; viewportPalette : QPaletteH); cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_setViewportPalette'; function QStyleOptionQ3ListView_viewportBGRole(handle : QStyleOptionQ3ListViewH) : QPaletteColorRole; cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_viewportBGRole'; procedure QStyleOptionQ3ListView_setViewportBGRole(handle : QStyleOptionQ3ListViewH; viewportBGRole : QPaletteColorRole); cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_setViewportBGRole'; function QStyleOptionQ3ListView_sortColumn(handle : QStyleOptionQ3ListViewH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_sortColumn'; procedure QStyleOptionQ3ListView_setSortColumn(handle : QStyleOptionQ3ListViewH; sortColumn : Integer); cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_setSortColumn'; function QStyleOptionQ3ListView_itemMargin(handle : QStyleOptionQ3ListViewH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_itemMargin'; procedure QStyleOptionQ3ListView_setItemMargin(handle : QStyleOptionQ3ListViewH; itemMargin : Integer); cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_setItemMargin'; function QStyleOptionQ3ListView_treeStepSize(handle : QStyleOptionQ3ListViewH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_treeStepSize'; procedure QStyleOptionQ3ListView_setTreeStepSize(handle : QStyleOptionQ3ListViewH; treeStepSize : Integer); cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_setTreeStepSize'; function QStyleOptionQ3ListView_rootIsDecorated(handle : QStyleOptionQ3ListViewH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_rootIsDecorated'; procedure QStyleOptionQ3ListView_setRootIsDecorated(handle : QStyleOptionQ3ListViewH; rootIsDecorated : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_setRootIsDecorated'; function QStyleOptionQ3ListView_create(): QStyleOptionQ3ListViewH; cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_create'; procedure QStyleOptionQ3ListView_destroy(handle: QStyleOptionQ3ListViewH); cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_destroy'; function QStyleOptionQ3ListView_create(other: QStyleOptionQ3ListViewH): QStyleOptionQ3ListViewH; cdecl; external Qt4PasLib name 'QStyleOptionQ3ListView_create2'; function QStyleOptionToolButton_features(handle : QStyleOptionToolButtonH) : QStyleOptionToolButtonToolButtonFeatures; cdecl; external Qt4PasLib name 'QStyleOptionToolButton_features'; procedure QStyleOptionToolButton_setFeatures(handle : QStyleOptionToolButtonH; features : QStyleOptionToolButtonToolButtonFeatures); cdecl; external Qt4PasLib name 'QStyleOptionToolButton_setFeatures'; procedure QStyleOptionToolButton_icon(handle : QStyleOptionToolButtonH; retval : QIconH ); cdecl; external Qt4PasLib name 'QStyleOptionToolButton_icon'; procedure QStyleOptionToolButton_setIcon(handle : QStyleOptionToolButtonH; icon : QIconH); cdecl; external Qt4PasLib name 'QStyleOptionToolButton_setIcon'; procedure QStyleOptionToolButton_iconSize(handle : QStyleOptionToolButtonH; retval : PSize ); cdecl; external Qt4PasLib name 'QStyleOptionToolButton_iconSize'; procedure QStyleOptionToolButton_setIconSize(handle : QStyleOptionToolButtonH; iconSize : PSize); cdecl; external Qt4PasLib name 'QStyleOptionToolButton_setIconSize'; procedure QStyleOptionToolButton_text(handle : QStyleOptionToolButtonH; retval : PWideString ); cdecl; external Qt4PasLib name 'QStyleOptionToolButton_text'; procedure QStyleOptionToolButton_setText(handle : QStyleOptionToolButtonH; text : PWideString); cdecl; external Qt4PasLib name 'QStyleOptionToolButton_setText'; function QStyleOptionToolButton_arrowType(handle : QStyleOptionToolButtonH) : QtArrowType; cdecl; external Qt4PasLib name 'QStyleOptionToolButton_arrowType'; procedure QStyleOptionToolButton_setArrowType(handle : QStyleOptionToolButtonH; arrowType : QtArrowType); cdecl; external Qt4PasLib name 'QStyleOptionToolButton_setArrowType'; function QStyleOptionToolButton_toolButtonStyle(handle : QStyleOptionToolButtonH) : QtToolButtonStyle; cdecl; external Qt4PasLib name 'QStyleOptionToolButton_toolButtonStyle'; procedure QStyleOptionToolButton_setToolButtonStyle(handle : QStyleOptionToolButtonH; toolButtonStyle : QtToolButtonStyle); cdecl; external Qt4PasLib name 'QStyleOptionToolButton_setToolButtonStyle'; procedure QStyleOptionToolButton_pos(handle : QStyleOptionToolButtonH; retval : PQtPoint ); cdecl; external Qt4PasLib name 'QStyleOptionToolButton_pos'; procedure QStyleOptionToolButton_setPos(handle : QStyleOptionToolButtonH; pos : PQtPoint); cdecl; external Qt4PasLib name 'QStyleOptionToolButton_setPos'; procedure QStyleOptionToolButton_font(handle : QStyleOptionToolButtonH; retval : QFontH ); cdecl; external Qt4PasLib name 'QStyleOptionToolButton_font'; procedure QStyleOptionToolButton_setFont(handle : QStyleOptionToolButtonH; font : QFontH); cdecl; external Qt4PasLib name 'QStyleOptionToolButton_setFont'; function QStyleOptionToolButton_create(): QStyleOptionToolButtonH; cdecl; external Qt4PasLib name 'QStyleOptionToolButton_create'; procedure QStyleOptionToolButton_destroy(handle: QStyleOptionToolButtonH); cdecl; external Qt4PasLib name 'QStyleOptionToolButton_destroy'; function QStyleOptionToolButton_create(other: QStyleOptionToolButtonH): QStyleOptionToolButtonH; cdecl; external Qt4PasLib name 'QStyleOptionToolButton_create2'; function QStyleOptionComboBox_editable(handle : QStyleOptionComboBoxH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionComboBox_editable'; procedure QStyleOptionComboBox_setEditable(handle : QStyleOptionComboBoxH; editable : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionComboBox_setEditable'; procedure QStyleOptionComboBox_popupRect(handle : QStyleOptionComboBoxH; retval : PRect ); cdecl; external Qt4PasLib name 'QStyleOptionComboBox_popupRect'; procedure QStyleOptionComboBox_setPopupRect(handle : QStyleOptionComboBoxH; popupRect : PRect); cdecl; external Qt4PasLib name 'QStyleOptionComboBox_setPopupRect'; function QStyleOptionComboBox_frame(handle : QStyleOptionComboBoxH) : Boolean; cdecl; external Qt4PasLib name 'QStyleOptionComboBox_frame'; procedure QStyleOptionComboBox_setFrame(handle : QStyleOptionComboBoxH; frame : Boolean); cdecl; external Qt4PasLib name 'QStyleOptionComboBox_setFrame'; procedure QStyleOptionComboBox_currentText(handle : QStyleOptionComboBoxH; retval : PWideString ); cdecl; external Qt4PasLib name 'QStyleOptionComboBox_currentText'; procedure QStyleOptionComboBox_setCurrentText(handle : QStyleOptionComboBoxH; currentText : PWideString); cdecl; external Qt4PasLib name 'QStyleOptionComboBox_setCurrentText'; procedure QStyleOptionComboBox_currentIcon(handle : QStyleOptionComboBoxH; retval : QIconH ); cdecl; external Qt4PasLib name 'QStyleOptionComboBox_currentIcon'; procedure QStyleOptionComboBox_setCurrentIcon(handle : QStyleOptionComboBoxH; currentIcon : QIconH); cdecl; external Qt4PasLib name 'QStyleOptionComboBox_setCurrentIcon'; procedure QStyleOptionComboBox_iconSize(handle : QStyleOptionComboBoxH; retval : PSize ); cdecl; external Qt4PasLib name 'QStyleOptionComboBox_iconSize'; procedure QStyleOptionComboBox_setIconSize(handle : QStyleOptionComboBoxH; iconSize : PSize); cdecl; external Qt4PasLib name 'QStyleOptionComboBox_setIconSize'; function QStyleOptionComboBox_create(): QStyleOptionComboBoxH; cdecl; external Qt4PasLib name 'QStyleOptionComboBox_create'; procedure QStyleOptionComboBox_destroy(handle: QStyleOptionComboBoxH); cdecl; external Qt4PasLib name 'QStyleOptionComboBox_destroy'; function QStyleOptionComboBox_create(other: QStyleOptionComboBoxH): QStyleOptionComboBoxH; cdecl; external Qt4PasLib name 'QStyleOptionComboBox_create2'; procedure QStyleOptionTitleBar_text(handle : QStyleOptionTitleBarH; retval : PWideString ); cdecl; external Qt4PasLib name 'QStyleOptionTitleBar_text'; procedure QStyleOptionTitleBar_setText(handle : QStyleOptionTitleBarH; text : PWideString); cdecl; external Qt4PasLib name 'QStyleOptionTitleBar_setText'; procedure QStyleOptionTitleBar_icon(handle : QStyleOptionTitleBarH; retval : QIconH ); cdecl; external Qt4PasLib name 'QStyleOptionTitleBar_icon'; procedure QStyleOptionTitleBar_setIcon(handle : QStyleOptionTitleBarH; icon : QIconH); cdecl; external Qt4PasLib name 'QStyleOptionTitleBar_setIcon'; function QStyleOptionTitleBar_titleBarState(handle : QStyleOptionTitleBarH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionTitleBar_titleBarState'; procedure QStyleOptionTitleBar_setTitleBarState(handle : QStyleOptionTitleBarH; titleBarState : Integer); cdecl; external Qt4PasLib name 'QStyleOptionTitleBar_setTitleBarState'; function QStyleOptionTitleBar_titleBarFlags(handle : QStyleOptionTitleBarH) : QtWindowFlags; cdecl; external Qt4PasLib name 'QStyleOptionTitleBar_titleBarFlags'; procedure QStyleOptionTitleBar_setTitleBarFlags(handle : QStyleOptionTitleBarH; titleBarFlags : QtWindowFlags); cdecl; external Qt4PasLib name 'QStyleOptionTitleBar_setTitleBarFlags'; function QStyleOptionTitleBar_create(): QStyleOptionTitleBarH; cdecl; external Qt4PasLib name 'QStyleOptionTitleBar_create'; procedure QStyleOptionTitleBar_destroy(handle: QStyleOptionTitleBarH); cdecl; external Qt4PasLib name 'QStyleOptionTitleBar_destroy'; function QStyleOptionTitleBar_create(other: QStyleOptionTitleBarH): QStyleOptionTitleBarH; cdecl; external Qt4PasLib name 'QStyleOptionTitleBar_create2'; function QStyleOptionGroupBox_features(handle : QStyleOptionGroupBoxH) : QStyleOptionFrameV2FrameFeatures; cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_features'; procedure QStyleOptionGroupBox_setFeatures(handle : QStyleOptionGroupBoxH; features : QStyleOptionFrameV2FrameFeatures); cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_setFeatures'; procedure QStyleOptionGroupBox_text(handle : QStyleOptionGroupBoxH; retval : PWideString ); cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_text'; procedure QStyleOptionGroupBox_setText(handle : QStyleOptionGroupBoxH; text : PWideString); cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_setText'; function QStyleOptionGroupBox_textAlignment(handle : QStyleOptionGroupBoxH) : QtAlignment; cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_textAlignment'; procedure QStyleOptionGroupBox_setTextAlignment(handle : QStyleOptionGroupBoxH; textAlignment : QtAlignment); cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_setTextAlignment'; procedure QStyleOptionGroupBox_textColor(handle : QStyleOptionGroupBoxH; retval : PQColor ); cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_textColor'; procedure QStyleOptionGroupBox_setTextColor(handle : QStyleOptionGroupBoxH; textColor : PQColor); cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_setTextColor'; function QStyleOptionGroupBox_lineWidth(handle : QStyleOptionGroupBoxH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_lineWidth'; procedure QStyleOptionGroupBox_setLineWidth(handle : QStyleOptionGroupBoxH; lineWidth : Integer); cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_setLineWidth'; function QStyleOptionGroupBox_midLineWidth(handle : QStyleOptionGroupBoxH) : Integer; cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_midLineWidth'; procedure QStyleOptionGroupBox_setMidLineWidth(handle : QStyleOptionGroupBoxH; midLineWidth : Integer); cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_setMidLineWidth'; function QStyleOptionGroupBox_create(): QStyleOptionGroupBoxH; cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_create'; procedure QStyleOptionGroupBox_destroy(handle: QStyleOptionGroupBoxH); cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_destroy'; function QStyleOptionGroupBox_create(other: QStyleOptionGroupBoxH): QStyleOptionGroupBoxH; cdecl; external Qt4PasLib name 'QStyleOptionGroupBox_create2'; function QStyleOptionSizeGrip_corner(handle : QStyleOptionSizeGripH) : QtCorner; cdecl; external Qt4PasLib name 'QStyleOptionSizeGrip_corner'; procedure QStyleOptionSizeGrip_setCorner(handle : QStyleOptionSizeGripH; corner : QtCorner); cdecl; external Qt4PasLib name 'QStyleOptionSizeGrip_setCorner'; function QStyleOptionSizeGrip_create(): QStyleOptionSizeGripH; cdecl; external Qt4PasLib name 'QStyleOptionSizeGrip_create'; procedure QStyleOptionSizeGrip_destroy(handle: QStyleOptionSizeGripH); cdecl; external Qt4PasLib name 'QStyleOptionSizeGrip_destroy'; function QStyleOptionSizeGrip_create(other: QStyleOptionSizeGripH): QStyleOptionSizeGripH; cdecl; external Qt4PasLib name 'QStyleOptionSizeGrip_create2'; procedure QStyleOptionGraphicsItem_exposedRect(handle : QStyleOptionGraphicsItemH; retval : QRectFH ); cdecl; external Qt4PasLib name 'QStyleOptionGraphicsItem_exposedRect'; procedure QStyleOptionGraphicsItem_setExposedRect(handle : QStyleOptionGraphicsItemH; exposedRect : QRectFH); cdecl; external Qt4PasLib name 'QStyleOptionGraphicsItem_setExposedRect'; procedure QStyleOptionGraphicsItem_matrix(handle : QStyleOptionGraphicsItemH; retval : QMatrixH ); cdecl; external Qt4PasLib name 'QStyleOptionGraphicsItem_matrix'; procedure QStyleOptionGraphicsItem_setMatrix(handle : QStyleOptionGraphicsItemH; matrix : QMatrixH); cdecl; external Qt4PasLib name 'QStyleOptionGraphicsItem_setMatrix'; function QStyleOptionGraphicsItem_levelOfDetail(handle : QStyleOptionGraphicsItemH) : qreal; cdecl; external Qt4PasLib name 'QStyleOptionGraphicsItem_levelOfDetail'; procedure QStyleOptionGraphicsItem_setLevelOfDetail(handle : QStyleOptionGraphicsItemH; levelOfDetail : qreal); cdecl; external Qt4PasLib name 'QStyleOptionGraphicsItem_setLevelOfDetail'; function QStyleOptionGraphicsItem_create(): QStyleOptionGraphicsItemH; cdecl; external Qt4PasLib name 'QStyleOptionGraphicsItem_create'; procedure QStyleOptionGraphicsItem_destroy(handle: QStyleOptionGraphicsItemH); cdecl; external Qt4PasLib name 'QStyleOptionGraphicsItem_destroy'; function QStyleOptionGraphicsItem_create(other: QStyleOptionGraphicsItemH): QStyleOptionGraphicsItemH; cdecl; external Qt4PasLib name 'QStyleOptionGraphicsItem_create2'; function QStyleHintReturn_version(handle : QStyleHintReturnH) : Integer; cdecl; external Qt4PasLib name 'QStyleHintReturn_version'; procedure QStyleHintReturn_setVersion(handle : QStyleHintReturnH; version : Integer); cdecl; external Qt4PasLib name 'QStyleHintReturn_setVersion'; function QStyleHintReturn__type(handle : QStyleHintReturnH) : Integer; cdecl; external Qt4PasLib name 'QStyleHintReturn__type'; procedure QStyleHintReturn_setType(handle : QStyleHintReturnH; _type : Integer); cdecl; external Qt4PasLib name 'QStyleHintReturn_setType'; function QStyleHintReturn_create(version: Integer = QStyleOptionVersion; _type: Integer = QStyleHintReturnSH_Default): QStyleHintReturnH; cdecl; external Qt4PasLib name 'QStyleHintReturn_create'; procedure QStyleHintReturn_destroy(handle: QStyleHintReturnH); cdecl; external Qt4PasLib name 'QStyleHintReturn_destroy'; procedure QStyleHintReturnMask_region(handle : QStyleHintReturnMaskH; retval : QRegionH ); cdecl; external Qt4PasLib name 'QStyleHintReturnMask_region'; procedure QStyleHintReturnMask_setRegion(handle : QStyleHintReturnMaskH; region : QRegionH); cdecl; external Qt4PasLib name 'QStyleHintReturnMask_setRegion'; function QStyleHintReturnMask_create(): QStyleHintReturnMaskH; cdecl; external Qt4PasLib name 'QStyleHintReturnMask_create'; procedure QStyleHintReturnMask_destroy(handle: QStyleHintReturnMaskH); cdecl; external Qt4PasLib name 'QStyleHintReturnMask_destroy'; procedure QStyleHintReturnVariant_variant(handle : QStyleHintReturnVariantH; retval : QVariantH ); cdecl; external Qt4PasLib name 'QStyleHintReturnVariant_variant'; procedure QStyleHintReturnVariant_setVariant(handle : QStyleHintReturnVariantH; variant : QVariantH); cdecl; external Qt4PasLib name 'QStyleHintReturnVariant_setVariant'; function QStyleHintReturnVariant_create(): QStyleHintReturnVariantH; cdecl; external Qt4PasLib name 'QStyleHintReturnVariant_create'; procedure QStyleHintReturnVariant_destroy(handle: QStyleHintReturnVariantH); cdecl; external Qt4PasLib name 'QStyleHintReturnVariant_destroy'; procedure QStyleFactory_keys(retval: QStringListH); cdecl; external Qt4PasLib name 'QStyleFactory_keys'; function QStyleFactory_create(AnonParam1: PWideString): QStyleH; cdecl; external Qt4PasLib name 'QStyleFactory_create'; type QGraphicsSceneItemIndexMethod = ( //QGraphicsScene::ItemIndexMethod (2) QGraphicsSceneNoIndex = -1, QGraphicsSceneBspTreeIndex ); type QGraphicsSceneSceneLayer = cardinal; // QGraphicsScene::SceneLayer QGraphicsSceneSceneLayers = QGraphicsSceneSceneLayer; //QFlags<> (3) const QGraphicsSceneItemLayer = $1; QGraphicsSceneBackgroundLayer = $2; QGraphicsSceneForegroundLayer = $4; QGraphicsSceneAllLayers = $ffff; function QGraphicsScene_create(parent: QObjectH = nil): QGraphicsSceneH; cdecl; external Qt4PasLib name 'QGraphicsScene_create'; procedure QGraphicsScene_destroy(handle: QGraphicsSceneH); cdecl; external Qt4PasLib name 'QGraphicsScene_destroy'; function QGraphicsScene_create(sceneRect: QRectFH; parent: QObjectH = nil): QGraphicsSceneH; cdecl; external Qt4PasLib name 'QGraphicsScene_create2'; function QGraphicsScene_create(x: qreal; y: qreal; width: qreal; height: qreal; parent: QObjectH = nil): QGraphicsSceneH; cdecl; external Qt4PasLib name 'QGraphicsScene_create3'; procedure QGraphicsScene_sceneRect(handle: QGraphicsSceneH; retval: QRectFH); cdecl; external Qt4PasLib name 'QGraphicsScene_sceneRect'; function QGraphicsScene_width(handle: QGraphicsSceneH): qreal; cdecl; external Qt4PasLib name 'QGraphicsScene_width'; function QGraphicsScene_height(handle: QGraphicsSceneH): qreal; cdecl; external Qt4PasLib name 'QGraphicsScene_height'; procedure QGraphicsScene_setSceneRect(handle: QGraphicsSceneH; rect: QRectFH); cdecl; external Qt4PasLib name 'QGraphicsScene_setSceneRect'; procedure QGraphicsScene_setSceneRect(handle: QGraphicsSceneH; x: qreal; y: qreal; w: qreal; h: qreal); cdecl; external Qt4PasLib name 'QGraphicsScene_setSceneRect2'; procedure QGraphicsScene_render(handle: QGraphicsSceneH; painter: QPainterH; target: QRectFH = nil; source: QRectFH = nil; aspectRatioMode: QtAspectRatioMode = QtKeepAspectRatio); cdecl; external Qt4PasLib name 'QGraphicsScene_render'; function QGraphicsScene_itemIndexMethod(handle: QGraphicsSceneH): QGraphicsSceneItemIndexMethod; cdecl; external Qt4PasLib name 'QGraphicsScene_itemIndexMethod'; procedure QGraphicsScene_setItemIndexMethod(handle: QGraphicsSceneH; method: QGraphicsSceneItemIndexMethod); cdecl; external Qt4PasLib name 'QGraphicsScene_setItemIndexMethod'; function QGraphicsScene_isSortCacheEnabled(handle: QGraphicsSceneH): Boolean; cdecl; external Qt4PasLib name 'QGraphicsScene_isSortCacheEnabled'; procedure QGraphicsScene_setSortCacheEnabled(handle: QGraphicsSceneH; enabled: Boolean); cdecl; external Qt4PasLib name 'QGraphicsScene_setSortCacheEnabled'; function QGraphicsScene_bspTreeDepth(handle: QGraphicsSceneH): Integer; cdecl; external Qt4PasLib name 'QGraphicsScene_bspTreeDepth'; procedure QGraphicsScene_setBspTreeDepth(handle: QGraphicsSceneH; depth: Integer); cdecl; external Qt4PasLib name 'QGraphicsScene_setBspTreeDepth'; procedure QGraphicsScene_itemsBoundingRect(handle: QGraphicsSceneH; retval: QRectFH); cdecl; external Qt4PasLib name 'QGraphicsScene_itemsBoundingRect'; procedure QGraphicsScene_items(handle: QGraphicsSceneH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QGraphicsScene_items'; procedure QGraphicsScene_items(handle: QGraphicsSceneH; retval: PPtrIntArray; pos: PQtPointF); cdecl; external Qt4PasLib name 'QGraphicsScene_items2'; procedure QGraphicsScene_items(handle: QGraphicsSceneH; retval: PPtrIntArray; rect: QRectFH; mode: QtItemSelectionMode = QtIntersectsItemShape); cdecl; external Qt4PasLib name 'QGraphicsScene_items3'; procedure QGraphicsScene_items(handle: QGraphicsSceneH; retval: PPtrIntArray; polygon: QPolygonFH; mode: QtItemSelectionMode = QtIntersectsItemShape); cdecl; external Qt4PasLib name 'QGraphicsScene_items4'; procedure QGraphicsScene_items(handle: QGraphicsSceneH; retval: PPtrIntArray; path: QPainterPathH; mode: QtItemSelectionMode = QtIntersectsItemShape); cdecl; external Qt4PasLib name 'QGraphicsScene_items5'; procedure QGraphicsScene_collidingItems(handle: QGraphicsSceneH; retval: PPtrIntArray; item: QGraphicsItemH; mode: QtItemSelectionMode = QtIntersectsItemShape); cdecl; external Qt4PasLib name 'QGraphicsScene_collidingItems'; function QGraphicsScene_itemAt(handle: QGraphicsSceneH; pos: PQtPointF): QGraphicsItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_itemAt'; procedure QGraphicsScene_items(handle: QGraphicsSceneH; retval: PPtrIntArray; x: qreal; y: qreal; w: qreal; h: qreal; mode: QtItemSelectionMode = QtIntersectsItemShape); cdecl; external Qt4PasLib name 'QGraphicsScene_items6'; function QGraphicsScene_itemAt(handle: QGraphicsSceneH; x: qreal; y: qreal): QGraphicsItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_itemAt2'; procedure QGraphicsScene_selectedItems(handle: QGraphicsSceneH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QGraphicsScene_selectedItems'; procedure QGraphicsScene_selectionArea(handle: QGraphicsSceneH; retval: QPainterPathH); cdecl; external Qt4PasLib name 'QGraphicsScene_selectionArea'; procedure QGraphicsScene_setSelectionArea(handle: QGraphicsSceneH; path: QPainterPathH); cdecl; external Qt4PasLib name 'QGraphicsScene_setSelectionArea'; procedure QGraphicsScene_setSelectionArea(handle: QGraphicsSceneH; path: QPainterPathH; AnonParam2: QtItemSelectionMode); cdecl; external Qt4PasLib name 'QGraphicsScene_setSelectionArea2'; function QGraphicsScene_createItemGroup(handle: QGraphicsSceneH; items: PPtrIntArray): QGraphicsItemGroupH; cdecl; external Qt4PasLib name 'QGraphicsScene_createItemGroup'; procedure QGraphicsScene_destroyItemGroup(handle: QGraphicsSceneH; group: QGraphicsItemGroupH); cdecl; external Qt4PasLib name 'QGraphicsScene_destroyItemGroup'; procedure QGraphicsScene_addItem(handle: QGraphicsSceneH; item: QGraphicsItemH); cdecl; external Qt4PasLib name 'QGraphicsScene_addItem'; function QGraphicsScene_addEllipse(handle: QGraphicsSceneH; rect: QRectFH; pen: QPenH = nil; brush: QBrushH = nil): QGraphicsEllipseItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_addEllipse'; function QGraphicsScene_addLine(handle: QGraphicsSceneH; line: QLineFH; pen: QPenH = nil): QGraphicsLineItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_addLine'; function QGraphicsScene_addPath(handle: QGraphicsSceneH; path: QPainterPathH; pen: QPenH = nil; brush: QBrushH = nil): QGraphicsPathItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_addPath'; function QGraphicsScene_addPixmap(handle: QGraphicsSceneH; pixmap: QPixmapH): QGraphicsPixmapItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_addPixmap'; function QGraphicsScene_addPolygon(handle: QGraphicsSceneH; polygon: QPolygonFH; pen: QPenH = nil; brush: QBrushH = nil): QGraphicsPolygonItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_addPolygon'; function QGraphicsScene_addRect(handle: QGraphicsSceneH; rect: QRectFH; pen: QPenH = nil; brush: QBrushH = nil): QGraphicsRectItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_addRect'; function QGraphicsScene_addText(handle: QGraphicsSceneH; text: PWideString; font: QFontH = nil): QGraphicsTextItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_addText'; function QGraphicsScene_addSimpleText(handle: QGraphicsSceneH; text: PWideString; font: QFontH = nil): QGraphicsSimpleTextItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_addSimpleText'; function QGraphicsScene_addWidget(handle: QGraphicsSceneH; widget: QWidgetH; wFlags: QtWindowFlags = 0): QGraphicsProxyWidgetH; cdecl; external Qt4PasLib name 'QGraphicsScene_addWidget'; function QGraphicsScene_addEllipse(handle: QGraphicsSceneH; x: qreal; y: qreal; w: qreal; h: qreal; pen: QPenH = nil; brush: QBrushH = nil): QGraphicsEllipseItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_addEllipse2'; function QGraphicsScene_addLine(handle: QGraphicsSceneH; x1: qreal; y1: qreal; x2: qreal; y2: qreal; pen: QPenH = nil): QGraphicsLineItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_addLine2'; function QGraphicsScene_addRect(handle: QGraphicsSceneH; x: qreal; y: qreal; w: qreal; h: qreal; pen: QPenH = nil; brush: QBrushH = nil): QGraphicsRectItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_addRect2'; procedure QGraphicsScene_removeItem(handle: QGraphicsSceneH; item: QGraphicsItemH); cdecl; external Qt4PasLib name 'QGraphicsScene_removeItem'; function QGraphicsScene_focusItem(handle: QGraphicsSceneH): QGraphicsItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_focusItem'; procedure QGraphicsScene_setFocusItem(handle: QGraphicsSceneH; item: QGraphicsItemH; focusReason: QtFocusReason = QtOtherFocusReason); cdecl; external Qt4PasLib name 'QGraphicsScene_setFocusItem'; function QGraphicsScene_hasFocus(handle: QGraphicsSceneH): Boolean; cdecl; external Qt4PasLib name 'QGraphicsScene_hasFocus'; procedure QGraphicsScene_setFocus(handle: QGraphicsSceneH; focusReason: QtFocusReason = QtOtherFocusReason); cdecl; external Qt4PasLib name 'QGraphicsScene_setFocus'; procedure QGraphicsScene_clearFocus(handle: QGraphicsSceneH); cdecl; external Qt4PasLib name 'QGraphicsScene_clearFocus'; procedure QGraphicsScene_setStickyFocus(handle: QGraphicsSceneH; enabled: Boolean); cdecl; external Qt4PasLib name 'QGraphicsScene_setStickyFocus'; function QGraphicsScene_stickyFocus(handle: QGraphicsSceneH): Boolean; cdecl; external Qt4PasLib name 'QGraphicsScene_stickyFocus'; function QGraphicsScene_mouseGrabberItem(handle: QGraphicsSceneH): QGraphicsItemH; cdecl; external Qt4PasLib name 'QGraphicsScene_mouseGrabberItem'; procedure QGraphicsScene_backgroundBrush(handle: QGraphicsSceneH; retval: QBrushH); cdecl; external Qt4PasLib name 'QGraphicsScene_backgroundBrush'; procedure QGraphicsScene_setBackgroundBrush(handle: QGraphicsSceneH; brush: QBrushH); cdecl; external Qt4PasLib name 'QGraphicsScene_setBackgroundBrush'; procedure QGraphicsScene_foregroundBrush(handle: QGraphicsSceneH; retval: QBrushH); cdecl; external Qt4PasLib name 'QGraphicsScene_foregroundBrush'; procedure QGraphicsScene_setForegroundBrush(handle: QGraphicsSceneH; brush: QBrushH); cdecl; external Qt4PasLib name 'QGraphicsScene_setForegroundBrush'; procedure QGraphicsScene_inputMethodQuery(handle: QGraphicsSceneH; retval: QVariantH; query: QtInputMethodQuery); cdecl; external Qt4PasLib name 'QGraphicsScene_inputMethodQuery'; procedure QGraphicsScene_views(handle: QGraphicsSceneH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QGraphicsScene_views'; procedure QGraphicsScene_update(handle: QGraphicsSceneH; x: qreal; y: qreal; w: qreal; h: qreal); cdecl; external Qt4PasLib name 'QGraphicsScene_update'; procedure QGraphicsScene_invalidate(handle: QGraphicsSceneH; x: qreal; y: qreal; w: qreal; h: qreal; layers: QGraphicsSceneSceneLayers = QGraphicsSceneAllLayers); cdecl; external Qt4PasLib name 'QGraphicsScene_invalidate'; function QGraphicsScene_style(handle: QGraphicsSceneH): QStyleH; cdecl; external Qt4PasLib name 'QGraphicsScene_style'; procedure QGraphicsScene_setStyle(handle: QGraphicsSceneH; style: QStyleH); cdecl; external Qt4PasLib name 'QGraphicsScene_setStyle'; procedure QGraphicsScene_font(handle: QGraphicsSceneH; retval: QFontH); cdecl; external Qt4PasLib name 'QGraphicsScene_font'; procedure QGraphicsScene_setFont(handle: QGraphicsSceneH; font: QFontH); cdecl; external Qt4PasLib name 'QGraphicsScene_setFont'; procedure QGraphicsScene_palette(handle: QGraphicsSceneH; retval: QPaletteH); cdecl; external Qt4PasLib name 'QGraphicsScene_palette'; procedure QGraphicsScene_setPalette(handle: QGraphicsSceneH; palette: QPaletteH); cdecl; external Qt4PasLib name 'QGraphicsScene_setPalette'; function QGraphicsScene_activeWindow(handle: QGraphicsSceneH): QGraphicsWidgetH; cdecl; external Qt4PasLib name 'QGraphicsScene_activeWindow'; procedure QGraphicsScene_setActiveWindow(handle: QGraphicsSceneH; widget: QGraphicsWidgetH); cdecl; external Qt4PasLib name 'QGraphicsScene_setActiveWindow'; procedure QGraphicsScene_update(handle: QGraphicsSceneH; rect: QRectFH = nil); cdecl; external Qt4PasLib name 'QGraphicsScene_update2'; procedure QGraphicsScene_invalidate(handle: QGraphicsSceneH; rect: QRectFH = nil; layers: QGraphicsSceneSceneLayers = QGraphicsSceneAllLayers); cdecl; external Qt4PasLib name 'QGraphicsScene_invalidate2'; procedure QGraphicsScene_advance(handle: QGraphicsSceneH); cdecl; external Qt4PasLib name 'QGraphicsScene_advance'; procedure QGraphicsScene_clearSelection(handle: QGraphicsSceneH); cdecl; external Qt4PasLib name 'QGraphicsScene_clearSelection'; procedure QGraphicsScene_clear(handle: QGraphicsSceneH); cdecl; external Qt4PasLib name 'QGraphicsScene_clear'; type QGraphicsScene_sceneRectChanged_Event = procedure (rect: QRectFH) of object cdecl; QGraphicsScene_selectionChanged_Event = procedure () of object cdecl; type QGraphicsViewViewportAnchor = ( // QGraphicsView::ViewportAnchor (1) QGraphicsViewNoAnchor, QGraphicsViewAnchorViewCenter, QGraphicsViewAnchorUnderMouse ); QGraphicsViewDragMode = ( // QGraphicsView::DragMode (1) QGraphicsViewNoDrag, QGraphicsViewScrollHandDrag, QGraphicsViewRubberBandDrag ); QGraphicsViewViewportUpdateMode = ( // QGraphicsView::ViewportUpdateMode (1) QGraphicsViewFullViewportUpdate, QGraphicsViewMinimalViewportUpdate, QGraphicsViewSmartViewportUpdate, QGraphicsViewNoViewportUpdate, QGraphicsViewBoundingRectViewportUpdate ); type QGraphicsViewCacheModeFlag = cardinal; // QGraphicsView::CacheModeFlag QGraphicsViewCacheMode = QGraphicsViewCacheModeFlag; //QFlags<> (3) const QGraphicsViewCacheNone = $0; QGraphicsViewCacheBackground = $1; type QGraphicsViewOptimizationFlag = cardinal; // QGraphicsView::OptimizationFlag QGraphicsViewOptimizationFlags = QGraphicsViewOptimizationFlag; //QFlags<> (3) const QGraphicsViewDontClipPainter = $1; QGraphicsViewDontSavePainterState = $2; QGraphicsViewDontAdjustForAntialiasing = $4; function QGraphicsView_create(parent: QWidgetH = nil): QGraphicsViewH; cdecl; external Qt4PasLib name 'QGraphicsView_create'; procedure QGraphicsView_destroy(handle: QGraphicsViewH); cdecl; external Qt4PasLib name 'QGraphicsView_destroy'; function QGraphicsView_create(scene: QGraphicsSceneH; parent: QWidgetH = nil): QGraphicsViewH; cdecl; external Qt4PasLib name 'QGraphicsView_create2'; procedure QGraphicsView_sizeHint(handle: QGraphicsViewH; retval: PSize); cdecl; external Qt4PasLib name 'QGraphicsView_sizeHint'; function QGraphicsView_renderHints(handle: QGraphicsViewH): QPainterRenderHints; cdecl; external Qt4PasLib name 'QGraphicsView_renderHints'; procedure QGraphicsView_setRenderHint(handle: QGraphicsViewH; hint: QPainterRenderHint; enabled: Boolean = True); cdecl; external Qt4PasLib name 'QGraphicsView_setRenderHint'; procedure QGraphicsView_setRenderHints(handle: QGraphicsViewH; hints: QPainterRenderHints); cdecl; external Qt4PasLib name 'QGraphicsView_setRenderHints'; function QGraphicsView_alignment(handle: QGraphicsViewH): QtAlignment; cdecl; external Qt4PasLib name 'QGraphicsView_alignment'; procedure QGraphicsView_setAlignment(handle: QGraphicsViewH; alignment: QtAlignment); cdecl; external Qt4PasLib name 'QGraphicsView_setAlignment'; function QGraphicsView_transformationAnchor(handle: QGraphicsViewH): QGraphicsViewViewportAnchor; cdecl; external Qt4PasLib name 'QGraphicsView_transformationAnchor'; procedure QGraphicsView_setTransformationAnchor(handle: QGraphicsViewH; anchor: QGraphicsViewViewportAnchor); cdecl; external Qt4PasLib name 'QGraphicsView_setTransformationAnchor'; function QGraphicsView_resizeAnchor(handle: QGraphicsViewH): QGraphicsViewViewportAnchor; cdecl; external Qt4PasLib name 'QGraphicsView_resizeAnchor'; procedure QGraphicsView_setResizeAnchor(handle: QGraphicsViewH; anchor: QGraphicsViewViewportAnchor); cdecl; external Qt4PasLib name 'QGraphicsView_setResizeAnchor'; function QGraphicsView_viewportUpdateMode(handle: QGraphicsViewH): QGraphicsViewViewportUpdateMode; cdecl; external Qt4PasLib name 'QGraphicsView_viewportUpdateMode'; procedure QGraphicsView_setViewportUpdateMode(handle: QGraphicsViewH; mode: QGraphicsViewViewportUpdateMode); cdecl; external Qt4PasLib name 'QGraphicsView_setViewportUpdateMode'; function QGraphicsView_optimizationFlags(handle: QGraphicsViewH): QGraphicsViewOptimizationFlags; cdecl; external Qt4PasLib name 'QGraphicsView_optimizationFlags'; procedure QGraphicsView_setOptimizationFlag(handle: QGraphicsViewH; flag: QGraphicsViewOptimizationFlag; enabled: Boolean = True); cdecl; external Qt4PasLib name 'QGraphicsView_setOptimizationFlag'; procedure QGraphicsView_setOptimizationFlags(handle: QGraphicsViewH; flags: QGraphicsViewOptimizationFlags); cdecl; external Qt4PasLib name 'QGraphicsView_setOptimizationFlags'; function QGraphicsView_dragMode(handle: QGraphicsViewH): QGraphicsViewDragMode; cdecl; external Qt4PasLib name 'QGraphicsView_dragMode'; procedure QGraphicsView_setDragMode(handle: QGraphicsViewH; mode: QGraphicsViewDragMode); cdecl; external Qt4PasLib name 'QGraphicsView_setDragMode'; function QGraphicsView_rubberBandSelectionMode(handle: QGraphicsViewH): QtItemSelectionMode; cdecl; external Qt4PasLib name 'QGraphicsView_rubberBandSelectionMode'; procedure QGraphicsView_setRubberBandSelectionMode(handle: QGraphicsViewH; mode: QtItemSelectionMode); cdecl; external Qt4PasLib name 'QGraphicsView_setRubberBandSelectionMode'; function QGraphicsView_cacheMode(handle: QGraphicsViewH): QGraphicsViewCacheMode; cdecl; external Qt4PasLib name 'QGraphicsView_cacheMode'; procedure QGraphicsView_setCacheMode(handle: QGraphicsViewH; mode: QGraphicsViewCacheMode); cdecl; external Qt4PasLib name 'QGraphicsView_setCacheMode'; procedure QGraphicsView_resetCachedContent(handle: QGraphicsViewH); cdecl; external Qt4PasLib name 'QGraphicsView_resetCachedContent'; function QGraphicsView_isInteractive(handle: QGraphicsViewH): Boolean; cdecl; external Qt4PasLib name 'QGraphicsView_isInteractive'; procedure QGraphicsView_setInteractive(handle: QGraphicsViewH; allowed: Boolean); cdecl; external Qt4PasLib name 'QGraphicsView_setInteractive'; function QGraphicsView_scene(handle: QGraphicsViewH): QGraphicsSceneH; cdecl; external Qt4PasLib name 'QGraphicsView_scene'; procedure QGraphicsView_setScene(handle: QGraphicsViewH; scene: QGraphicsSceneH); cdecl; external Qt4PasLib name 'QGraphicsView_setScene'; procedure QGraphicsView_sceneRect(handle: QGraphicsViewH; retval: QRectFH); cdecl; external Qt4PasLib name 'QGraphicsView_sceneRect'; procedure QGraphicsView_setSceneRect(handle: QGraphicsViewH; rect: QRectFH); cdecl; external Qt4PasLib name 'QGraphicsView_setSceneRect'; procedure QGraphicsView_setSceneRect(handle: QGraphicsViewH; x: qreal; y: qreal; w: qreal; h: qreal); cdecl; external Qt4PasLib name 'QGraphicsView_setSceneRect2'; procedure QGraphicsView_matrix(handle: QGraphicsViewH; retval: QMatrixH); cdecl; external Qt4PasLib name 'QGraphicsView_matrix'; procedure QGraphicsView_setMatrix(handle: QGraphicsViewH; matrix: QMatrixH; combine: Boolean = False); cdecl; external Qt4PasLib name 'QGraphicsView_setMatrix'; procedure QGraphicsView_resetMatrix(handle: QGraphicsViewH); cdecl; external Qt4PasLib name 'QGraphicsView_resetMatrix'; procedure QGraphicsView_transform(handle: QGraphicsViewH; retval: QTransformH); cdecl; external Qt4PasLib name 'QGraphicsView_transform'; procedure QGraphicsView_viewportTransform(handle: QGraphicsViewH; retval: QTransformH); cdecl; external Qt4PasLib name 'QGraphicsView_viewportTransform'; procedure QGraphicsView_setTransform(handle: QGraphicsViewH; matrix: QTransformH; combine: Boolean = False); cdecl; external Qt4PasLib name 'QGraphicsView_setTransform'; procedure QGraphicsView_resetTransform(handle: QGraphicsViewH); cdecl; external Qt4PasLib name 'QGraphicsView_resetTransform'; procedure QGraphicsView_rotate(handle: QGraphicsViewH; angle: qreal); cdecl; external Qt4PasLib name 'QGraphicsView_rotate'; procedure QGraphicsView_scale(handle: QGraphicsViewH; sx: qreal; sy: qreal); cdecl; external Qt4PasLib name 'QGraphicsView_scale'; procedure QGraphicsView_shear(handle: QGraphicsViewH; sh: qreal; sv: qreal); cdecl; external Qt4PasLib name 'QGraphicsView_shear'; procedure QGraphicsView_translate(handle: QGraphicsViewH; dx: qreal; dy: qreal); cdecl; external Qt4PasLib name 'QGraphicsView_translate'; procedure QGraphicsView_centerOn(handle: QGraphicsViewH; pos: PQtPointF); cdecl; external Qt4PasLib name 'QGraphicsView_centerOn'; procedure QGraphicsView_centerOn(handle: QGraphicsViewH; x: qreal; y: qreal); cdecl; external Qt4PasLib name 'QGraphicsView_centerOn2'; procedure QGraphicsView_centerOn(handle: QGraphicsViewH; item: QGraphicsItemH); cdecl; external Qt4PasLib name 'QGraphicsView_centerOn3'; procedure QGraphicsView_ensureVisible(handle: QGraphicsViewH; rect: QRectFH; xmargin: Integer = 50; ymargin: Integer = 50); cdecl; external Qt4PasLib name 'QGraphicsView_ensureVisible'; procedure QGraphicsView_ensureVisible(handle: QGraphicsViewH; x: qreal; y: qreal; w: qreal; h: qreal; xmargin: Integer = 50; ymargin: Integer = 50); cdecl; external Qt4PasLib name 'QGraphicsView_ensureVisible2'; procedure QGraphicsView_ensureVisible(handle: QGraphicsViewH; item: QGraphicsItemH; xmargin: Integer = 50; ymargin: Integer = 50); cdecl; external Qt4PasLib name 'QGraphicsView_ensureVisible3'; procedure QGraphicsView_fitInView(handle: QGraphicsViewH; rect: QRectFH; aspectRadioMode: QtAspectRatioMode = QtIgnoreAspectRatio); cdecl; external Qt4PasLib name 'QGraphicsView_fitInView'; procedure QGraphicsView_fitInView(handle: QGraphicsViewH; x: qreal; y: qreal; w: qreal; h: qreal; aspectRadioMode: QtAspectRatioMode = QtIgnoreAspectRatio); cdecl; external Qt4PasLib name 'QGraphicsView_fitInView2'; procedure QGraphicsView_fitInView(handle: QGraphicsViewH; item: QGraphicsItemH; aspectRadioMode: QtAspectRatioMode = QtIgnoreAspectRatio); cdecl; external Qt4PasLib name 'QGraphicsView_fitInView3'; procedure QGraphicsView_render(handle: QGraphicsViewH; painter: QPainterH; target: QRectFH = nil; source: PRect = nil; aspectRatioMode: QtAspectRatioMode = QtKeepAspectRatio); cdecl; external Qt4PasLib name 'QGraphicsView_render'; procedure QGraphicsView_items(handle: QGraphicsViewH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QGraphicsView_items'; procedure QGraphicsView_items(handle: QGraphicsViewH; retval: PPtrIntArray; pos: PQtPoint); cdecl; external Qt4PasLib name 'QGraphicsView_items2'; procedure QGraphicsView_items(handle: QGraphicsViewH; retval: PPtrIntArray; x: Integer; y: Integer); cdecl; external Qt4PasLib name 'QGraphicsView_items3'; procedure QGraphicsView_items(handle: QGraphicsViewH; retval: PPtrIntArray; rect: PRect; mode: QtItemSelectionMode = QtIntersectsItemShape); cdecl; external Qt4PasLib name 'QGraphicsView_items4'; procedure QGraphicsView_items(handle: QGraphicsViewH; retval: PPtrIntArray; x: Integer; y: Integer; w: Integer; h: Integer; mode: QtItemSelectionMode = QtIntersectsItemShape); cdecl; external Qt4PasLib name 'QGraphicsView_items5'; procedure QGraphicsView_items(handle: QGraphicsViewH; retval: PPtrIntArray; polygon: QPolygonH; mode: QtItemSelectionMode = QtIntersectsItemShape); cdecl; external Qt4PasLib name 'QGraphicsView_items6'; procedure QGraphicsView_items(handle: QGraphicsViewH; retval: PPtrIntArray; path: QPainterPathH; mode: QtItemSelectionMode = QtIntersectsItemShape); cdecl; external Qt4PasLib name 'QGraphicsView_items7'; function QGraphicsView_itemAt(handle: QGraphicsViewH; pos: PQtPoint): QGraphicsItemH; cdecl; external Qt4PasLib name 'QGraphicsView_itemAt'; function QGraphicsView_itemAt(handle: QGraphicsViewH; x: Integer; y: Integer): QGraphicsItemH; cdecl; external Qt4PasLib name 'QGraphicsView_itemAt2'; procedure QGraphicsView_mapToScene(handle: QGraphicsViewH; retval: PQtPointF; point: PQtPoint); cdecl; external Qt4PasLib name 'QGraphicsView_mapToScene'; procedure QGraphicsView_mapToScene(handle: QGraphicsViewH; retval: QPolygonFH; rect: PRect); cdecl; external Qt4PasLib name 'QGraphicsView_mapToScene2'; procedure QGraphicsView_mapToScene(handle: QGraphicsViewH; retval: QPolygonFH; polygon: QPolygonH); cdecl; external Qt4PasLib name 'QGraphicsView_mapToScene3'; procedure QGraphicsView_mapToScene(handle: QGraphicsViewH; retval: QPainterPathH; path: QPainterPathH); cdecl; external Qt4PasLib name 'QGraphicsView_mapToScene4'; procedure QGraphicsView_mapFromScene(handle: QGraphicsViewH; retval: PQtPoint; point: PQtPointF); cdecl; external Qt4PasLib name 'QGraphicsView_mapFromScene'; procedure QGraphicsView_mapFromScene(handle: QGraphicsViewH; retval: QPolygonH; rect: QRectFH); cdecl; external Qt4PasLib name 'QGraphicsView_mapFromScene2'; procedure QGraphicsView_mapFromScene(handle: QGraphicsViewH; retval: QPolygonH; polygon: QPolygonFH); cdecl; external Qt4PasLib name 'QGraphicsView_mapFromScene3'; procedure QGraphicsView_mapFromScene(handle: QGraphicsViewH; retval: QPainterPathH; path: QPainterPathH); cdecl; external Qt4PasLib name 'QGraphicsView_mapFromScene4'; procedure QGraphicsView_mapToScene(handle: QGraphicsViewH; retval: PQtPointF; x: Integer; y: Integer); cdecl; external Qt4PasLib name 'QGraphicsView_mapToScene5'; procedure QGraphicsView_mapToScene(handle: QGraphicsViewH; retval: QPolygonFH; x: Integer; y: Integer; w: Integer; h: Integer); cdecl; external Qt4PasLib name 'QGraphicsView_mapToScene6'; procedure QGraphicsView_mapFromScene(handle: QGraphicsViewH; retval: PQtPoint; x: qreal; y: qreal); cdecl; external Qt4PasLib name 'QGraphicsView_mapFromScene5'; procedure QGraphicsView_mapFromScene(handle: QGraphicsViewH; retval: QPolygonH; x: qreal; y: qreal; w: qreal; h: qreal); cdecl; external Qt4PasLib name 'QGraphicsView_mapFromScene6'; procedure QGraphicsView_inputMethodQuery(handle: QGraphicsViewH; retval: QVariantH; query: QtInputMethodQuery); cdecl; external Qt4PasLib name 'QGraphicsView_inputMethodQuery'; procedure QGraphicsView_backgroundBrush(handle: QGraphicsViewH; retval: QBrushH); cdecl; external Qt4PasLib name 'QGraphicsView_backgroundBrush'; procedure QGraphicsView_setBackgroundBrush(handle: QGraphicsViewH; brush: QBrushH); cdecl; external Qt4PasLib name 'QGraphicsView_setBackgroundBrush'; procedure QGraphicsView_foregroundBrush(handle: QGraphicsViewH; retval: QBrushH); cdecl; external Qt4PasLib name 'QGraphicsView_foregroundBrush'; procedure QGraphicsView_setForegroundBrush(handle: QGraphicsViewH; brush: QBrushH); cdecl; external Qt4PasLib name 'QGraphicsView_setForegroundBrush'; procedure QGraphicsView_invalidateScene(handle: QGraphicsViewH; rect: QRectFH = nil; layers: QGraphicsSceneSceneLayers = QGraphicsSceneAllLayers); cdecl; external Qt4PasLib name 'QGraphicsView_invalidateScene'; procedure QGraphicsView_updateSceneRect(handle: QGraphicsViewH; rect: QRectFH); cdecl; external Qt4PasLib name 'QGraphicsView_updateSceneRect'; type QSslKeyType = ( // QSsl::KeyType (1) QSslPrivateKey, QSslPublicKey ); QSslEncodingFormat = ( // QSsl::EncodingFormat (1) QSslPem, QSslDer ); QSslKeyAlgorithm = ( // QSsl::KeyAlgorithm (1) QSslRsa, QSslDsa ); QSslAlternateNameEntryType = ( // QSsl::AlternateNameEntryType (1) QSslEmailEntry, QSslDnsEntry ); QSslSslProtocol = ( //QSsl::SslProtocol (2) QSslUnknownProtocol = -1, QSslSslV3, QSslSslV2, QSslTlsV1, QSslAnyProtocol ); function QSslCipher_create(): QSslCipherH; cdecl; external Qt4PasLib name 'QSslCipher_create'; procedure QSslCipher_destroy(handle: QSslCipherH); cdecl; external Qt4PasLib name 'QSslCipher_destroy'; function QSslCipher_create(name: PWideString; protocol: QSslSslProtocol): QSslCipherH; cdecl; external Qt4PasLib name 'QSslCipher_create2'; function QSslCipher_create(other: QSslCipherH): QSslCipherH; cdecl; external Qt4PasLib name 'QSslCipher_create3'; function QSslCipher_isNull(handle: QSslCipherH): Boolean; cdecl; external Qt4PasLib name 'QSslCipher_isNull'; procedure QSslCipher_name(handle: QSslCipherH; retval: PWideString); cdecl; external Qt4PasLib name 'QSslCipher_name'; function QSslCipher_supportedBits(handle: QSslCipherH): Integer; cdecl; external Qt4PasLib name 'QSslCipher_supportedBits'; function QSslCipher_usedBits(handle: QSslCipherH): Integer; cdecl; external Qt4PasLib name 'QSslCipher_usedBits'; procedure QSslCipher_keyExchangeMethod(handle: QSslCipherH; retval: PWideString); cdecl; external Qt4PasLib name 'QSslCipher_keyExchangeMethod'; procedure QSslCipher_authenticationMethod(handle: QSslCipherH; retval: PWideString); cdecl; external Qt4PasLib name 'QSslCipher_authenticationMethod'; procedure QSslCipher_encryptionMethod(handle: QSslCipherH; retval: PWideString); cdecl; external Qt4PasLib name 'QSslCipher_encryptionMethod'; procedure QSslCipher_protocolString(handle: QSslCipherH; retval: PWideString); cdecl; external Qt4PasLib name 'QSslCipher_protocolString'; function QSslCipher_protocol(handle: QSslCipherH): QSslSslProtocol; cdecl; external Qt4PasLib name 'QSslCipher_protocol'; function QSslKey_create(): QSslKeyH; cdecl; external Qt4PasLib name 'QSslKey_create'; procedure QSslKey_destroy(handle: QSslKeyH); cdecl; external Qt4PasLib name 'QSslKey_destroy'; function QSslKey_create(encoded: QByteArrayH; algorithm: QSslKeyAlgorithm; format: QSslEncodingFormat = QSslPem; _type: QSslKeyType = QSslPrivateKey; passPhrase: QByteArrayH = nil): QSslKeyH; cdecl; external Qt4PasLib name 'QSslKey_create2'; function QSslKey_create(device: QIODeviceH; algorithm: QSslKeyAlgorithm; format: QSslEncodingFormat = QSslPem; _type: QSslKeyType = QSslPrivateKey; passPhrase: QByteArrayH = nil): QSslKeyH; cdecl; external Qt4PasLib name 'QSslKey_create3'; function QSslKey_create(other: QSslKeyH): QSslKeyH; cdecl; external Qt4PasLib name 'QSslKey_create4'; function QSslKey_isNull(handle: QSslKeyH): Boolean; cdecl; external Qt4PasLib name 'QSslKey_isNull'; procedure QSslKey_clear(handle: QSslKeyH); cdecl; external Qt4PasLib name 'QSslKey_clear'; function QSslKey_length(handle: QSslKeyH): Integer; cdecl; external Qt4PasLib name 'QSslKey_length'; function QSslKey_type(handle: QSslKeyH): QSslKeyType; cdecl; external Qt4PasLib name 'QSslKey_type'; function QSslKey_algorithm(handle: QSslKeyH): QSslKeyAlgorithm; cdecl; external Qt4PasLib name 'QSslKey_algorithm'; procedure QSslKey_toPem(handle: QSslKeyH; retval: QByteArrayH; passPhrase: QByteArrayH = nil); cdecl; external Qt4PasLib name 'QSslKey_toPem'; procedure QSslKey_toDer(handle: QSslKeyH; retval: QByteArrayH; passPhrase: QByteArrayH = nil); cdecl; external Qt4PasLib name 'QSslKey_toDer'; function QSslKey_handle(handle: QSslKeyH): QtHANDLE; cdecl; external Qt4PasLib name 'QSslKey_handle'; type QSslErrorSslError = ( //QSslError::SslError (2) QSslErrorUnspecifiedError = -1, QSslErrorNoError, QSslErrorUnableToGetIssuerCertificate, QSslErrorUnableToDecryptCertificateSignature, QSslErrorUnableToDecodeIssuerPublicKey, QSslErrorCertificateSignatureFailed, QSslErrorCertificateNotYetValid, QSslErrorCertificateExpired, QSslErrorInvalidNotBeforeField, QSslErrorInvalidNotAfterField, QSslErrorSelfSignedCertificate, QSslErrorSelfSignedCertificateInChain, QSslErrorUnableToGetLocalIssuerCertificate, QSslErrorUnableToVerifyFirstCertificate, QSslErrorCertificateRevoked, QSslErrorInvalidCaCertificate, QSslErrorPathLengthExceeded, QSslErrorInvalidPurpose, QSslErrorCertificateUntrusted, QSslErrorCertificateRejected, QSslErrorSubjectIssuerMismatch, QSslErrorAuthorityIssuerSerialNumberMismatch, QSslErrorNoPeerCertificate, QSslErrorHostNameMismatch, QSslErrorNoSslSupport ); function QSslError_create(error: QSslErrorSslError = QSslErrorNoError; certificate: QSslCertificateH = nil): QSslErrorH; cdecl; external Qt4PasLib name 'QSslError_create'; procedure QSslError_destroy(handle: QSslErrorH); cdecl; external Qt4PasLib name 'QSslError_destroy'; function QSslError_create(other: QSslErrorH): QSslErrorH; cdecl; external Qt4PasLib name 'QSslError_create2'; function QSslError_error(handle: QSslErrorH): QSslErrorSslError; cdecl; external Qt4PasLib name 'QSslError_error'; procedure QSslError_errorString(handle: QSslErrorH; retval: PWideString); cdecl; external Qt4PasLib name 'QSslError_errorString'; procedure QSslError_certificate(handle: QSslErrorH; retval: QSslCertificateH); cdecl; external Qt4PasLib name 'QSslError_certificate'; type QAbstractSocketSocketState = ( // QAbstractSocket::SocketState (1) QAbstractSocketUnconnectedState, QAbstractSocketHostLookupState, QAbstractSocketConnectingState, QAbstractSocketConnectedState, QAbstractSocketBoundState, QAbstractSocketListeningState, QAbstractSocketClosingState ); QAbstractSocketSocketType = ( //QAbstractSocket::SocketType (2) QAbstractSocketUnknownSocketType = -1, QAbstractSocketTcpSocket, QAbstractSocketUdpSocket ); QAbstractSocketNetworkLayerProtocol = ( //QAbstractSocket::NetworkLayerProtocol (2) QAbstractSocketUnknownNetworkLayerProtocol = -1, QAbstractSocketIPv4Protocol, QAbstractSocketIPv6Protocol ); QAbstractSocketSocketError = ( //QAbstractSocket::SocketError (2) QAbstractSocketUnknownSocketError = -1, QAbstractSocketConnectionRefusedError, QAbstractSocketRemoteHostClosedError, QAbstractSocketHostNotFoundError, QAbstractSocketSocketAccessError, QAbstractSocketSocketResourceError, QAbstractSocketSocketTimeoutError, QAbstractSocketDatagramTooLargeError, QAbstractSocketNetworkError, QAbstractSocketAddressInUseError, QAbstractSocketSocketAddressNotAvailableError, QAbstractSocketUnsupportedSocketOperationError, QAbstractSocketUnfinishedSocketOperationError, QAbstractSocketProxyAuthenticationRequiredError, QAbstractSocketSslHandshakeFailedError, QAbstractSocketProxyConnectionRefusedError, QAbstractSocketProxyConnectionClosedError, QAbstractSocketProxyConnectionTimeoutError, QAbstractSocketProxyNotFoundError, QAbstractSocketProxyProtocolError ); function QAbstractSocket_create(socketType: QAbstractSocketSocketType; parent: QObjectH): QAbstractSocketH; cdecl; external Qt4PasLib name 'QAbstractSocket_create'; procedure QAbstractSocket_destroy(handle: QAbstractSocketH); cdecl; external Qt4PasLib name 'QAbstractSocket_destroy'; procedure QAbstractSocket_connectToHost(handle: QAbstractSocketH; hostName: PWideString; port: Word; mode: QIODeviceOpenMode); cdecl; external Qt4PasLib name 'QAbstractSocket_connectToHost'; procedure QAbstractSocket_connectToHost(handle: QAbstractSocketH; address: QHostAddressH; port: Word; mode: QIODeviceOpenMode); cdecl; external Qt4PasLib name 'QAbstractSocket_connectToHost2'; procedure QAbstractSocket_disconnectFromHost(handle: QAbstractSocketH); cdecl; external Qt4PasLib name 'QAbstractSocket_disconnectFromHost'; function QAbstractSocket_isValid(handle: QAbstractSocketH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSocket_isValid'; function QAbstractSocket_bytesAvailable(handle: QAbstractSocketH): int64; cdecl; external Qt4PasLib name 'QAbstractSocket_bytesAvailable'; function QAbstractSocket_bytesToWrite(handle: QAbstractSocketH): int64; cdecl; external Qt4PasLib name 'QAbstractSocket_bytesToWrite'; function QAbstractSocket_canReadLine(handle: QAbstractSocketH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSocket_canReadLine'; function QAbstractSocket_localPort(handle: QAbstractSocketH): Word; cdecl; external Qt4PasLib name 'QAbstractSocket_localPort'; procedure QAbstractSocket_localAddress(handle: QAbstractSocketH; retval: QHostAddressH); cdecl; external Qt4PasLib name 'QAbstractSocket_localAddress'; function QAbstractSocket_peerPort(handle: QAbstractSocketH): Word; cdecl; external Qt4PasLib name 'QAbstractSocket_peerPort'; procedure QAbstractSocket_peerAddress(handle: QAbstractSocketH; retval: QHostAddressH); cdecl; external Qt4PasLib name 'QAbstractSocket_peerAddress'; procedure QAbstractSocket_peerName(handle: QAbstractSocketH; retval: PWideString); cdecl; external Qt4PasLib name 'QAbstractSocket_peerName'; function QAbstractSocket_readBufferSize(handle: QAbstractSocketH): int64; cdecl; external Qt4PasLib name 'QAbstractSocket_readBufferSize'; procedure QAbstractSocket_setReadBufferSize(handle: QAbstractSocketH; size: int64); cdecl; external Qt4PasLib name 'QAbstractSocket_setReadBufferSize'; procedure QAbstractSocket_abort(handle: QAbstractSocketH); cdecl; external Qt4PasLib name 'QAbstractSocket_abort'; function QAbstractSocket_socketDescriptor(handle: QAbstractSocketH): Integer; cdecl; external Qt4PasLib name 'QAbstractSocket_socketDescriptor'; function QAbstractSocket_socketType(handle: QAbstractSocketH): QAbstractSocketSocketType; cdecl; external Qt4PasLib name 'QAbstractSocket_socketType'; function QAbstractSocket_error(handle: QAbstractSocketH): QAbstractSocketSocketError; cdecl; external Qt4PasLib name 'QAbstractSocket_error'; procedure QAbstractSocket_close(handle: QAbstractSocketH); cdecl; external Qt4PasLib name 'QAbstractSocket_close'; function QAbstractSocket_isSequential(handle: QAbstractSocketH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSocket_isSequential'; function QAbstractSocket_atEnd(handle: QAbstractSocketH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSocket_atEnd'; function QAbstractSocket_flush(handle: QAbstractSocketH): Boolean; cdecl; external Qt4PasLib name 'QAbstractSocket_flush'; function QAbstractSocket_waitForConnected(handle: QAbstractSocketH; msecs: Integer = 30000): Boolean; cdecl; external Qt4PasLib name 'QAbstractSocket_waitForConnected'; function QAbstractSocket_waitForReadyRead(handle: QAbstractSocketH; msecs: Integer = 30000): Boolean; cdecl; external Qt4PasLib name 'QAbstractSocket_waitForReadyRead'; function QAbstractSocket_waitForBytesWritten(handle: QAbstractSocketH; msecs: Integer = 30000): Boolean; cdecl; external Qt4PasLib name 'QAbstractSocket_waitForBytesWritten'; function QAbstractSocket_waitForDisconnected(handle: QAbstractSocketH; msecs: Integer = 30000): Boolean; cdecl; external Qt4PasLib name 'QAbstractSocket_waitForDisconnected'; procedure QAbstractSocket_setProxy(handle: QAbstractSocketH; networkProxy: QNetworkProxyH); cdecl; external Qt4PasLib name 'QAbstractSocket_setProxy'; procedure QAbstractSocket_proxy(handle: QAbstractSocketH; retval: QNetworkProxyH); cdecl; external Qt4PasLib name 'QAbstractSocket_proxy'; type QAbstractSocket_hostFound_Event = procedure () of object cdecl; QAbstractSocket_connected_Event = procedure () of object cdecl; QAbstractSocket_disconnected_Event = procedure () of object cdecl; QAbstractSocket_stateChanged_Event = procedure (AnonParam1: QAbstractSocketSocketState) of object cdecl; QAbstractSocket_error_Event = procedure (AnonParam1: QAbstractSocketSocketError) of object cdecl; QAbstractSocket_proxyAuthenticationRequired_Event = procedure (proxy: QNetworkProxyH; authenticator: QAuthenticatorH) of object cdecl; type QUdpSocketBindFlag = cardinal; // QUdpSocket::BindFlag QUdpSocketBindMode = QUdpSocketBindFlag; //QFlags<> (3) const QUdpSocketDefaultForPlatform = $0; QUdpSocketShareAddress = $1; QUdpSocketDontShareAddress = $2; QUdpSocketReuseAddressHint = $4; function QUdpSocket_create(parent: QObjectH = nil): QUdpSocketH; cdecl; external Qt4PasLib name 'QUdpSocket_create'; procedure QUdpSocket_destroy(handle: QUdpSocketH); cdecl; external Qt4PasLib name 'QUdpSocket_destroy'; function QUdpSocket_bind(handle: QUdpSocketH; address: QHostAddressH; port: Word): Boolean; cdecl; external Qt4PasLib name 'QUdpSocket_bind'; function QUdpSocket_bind(handle: QUdpSocketH; port: Word = 0): Boolean; cdecl; external Qt4PasLib name 'QUdpSocket_bind2'; function QUdpSocket_bind(handle: QUdpSocketH; address: QHostAddressH; port: Word; mode: QUdpSocketBindMode): Boolean; cdecl; external Qt4PasLib name 'QUdpSocket_bind3'; function QUdpSocket_bind(handle: QUdpSocketH; port: Word; mode: QUdpSocketBindMode): Boolean; cdecl; external Qt4PasLib name 'QUdpSocket_bind4'; function QUdpSocket_hasPendingDatagrams(handle: QUdpSocketH): Boolean; cdecl; external Qt4PasLib name 'QUdpSocket_hasPendingDatagrams'; function QUdpSocket_pendingDatagramSize(handle: QUdpSocketH): int64; cdecl; external Qt4PasLib name 'QUdpSocket_pendingDatagramSize'; function QUdpSocket_readDatagram(handle: QUdpSocketH; data: PAnsiChar; maxlen: int64; host: QHostAddressH = nil; port: PWord = nil): int64; cdecl; external Qt4PasLib name 'QUdpSocket_readDatagram'; function QUdpSocket_writeDatagram(handle: QUdpSocketH; data: PAnsiChar; len: int64; host: QHostAddressH; port: Word): int64; cdecl; external Qt4PasLib name 'QUdpSocket_writeDatagram'; function QUdpSocket_writeDatagram(handle: QUdpSocketH; datagram: QByteArrayH; host: QHostAddressH; port: Word): int64; cdecl; external Qt4PasLib name 'QUdpSocket_writeDatagram2'; function QTcpSocket_create(parent: QObjectH = nil): QTcpSocketH; cdecl; external Qt4PasLib name 'QTcpSocket_create'; procedure QTcpSocket_destroy(handle: QTcpSocketH); cdecl; external Qt4PasLib name 'QTcpSocket_destroy'; function QTcpServer_create(parent: QObjectH = nil): QTcpServerH; cdecl; external Qt4PasLib name 'QTcpServer_create'; procedure QTcpServer_destroy(handle: QTcpServerH); cdecl; external Qt4PasLib name 'QTcpServer_destroy'; function QTcpServer_listen(handle: QTcpServerH; address: QHostAddressH; port: Word = 0): Boolean; cdecl; external Qt4PasLib name 'QTcpServer_listen'; procedure QTcpServer_close(handle: QTcpServerH); cdecl; external Qt4PasLib name 'QTcpServer_close'; function QTcpServer_isListening(handle: QTcpServerH): Boolean; cdecl; external Qt4PasLib name 'QTcpServer_isListening'; procedure QTcpServer_setMaxPendingConnections(handle: QTcpServerH; numConnections: Integer); cdecl; external Qt4PasLib name 'QTcpServer_setMaxPendingConnections'; function QTcpServer_maxPendingConnections(handle: QTcpServerH): Integer; cdecl; external Qt4PasLib name 'QTcpServer_maxPendingConnections'; function QTcpServer_serverPort(handle: QTcpServerH): Word; cdecl; external Qt4PasLib name 'QTcpServer_serverPort'; procedure QTcpServer_serverAddress(handle: QTcpServerH; retval: QHostAddressH); cdecl; external Qt4PasLib name 'QTcpServer_serverAddress'; function QTcpServer_socketDescriptor(handle: QTcpServerH): Integer; cdecl; external Qt4PasLib name 'QTcpServer_socketDescriptor'; function QTcpServer_setSocketDescriptor(handle: QTcpServerH; socketDescriptor: Integer): Boolean; cdecl; external Qt4PasLib name 'QTcpServer_setSocketDescriptor'; function QTcpServer_waitForNewConnection(handle: QTcpServerH; msec: Integer = 0; timedOut: PBoolean = nil): Boolean; cdecl; external Qt4PasLib name 'QTcpServer_waitForNewConnection'; function QTcpServer_hasPendingConnections(handle: QTcpServerH): Boolean; cdecl; external Qt4PasLib name 'QTcpServer_hasPendingConnections'; function QTcpServer_nextPendingConnection(handle: QTcpServerH): QTcpSocketH; cdecl; external Qt4PasLib name 'QTcpServer_nextPendingConnection'; function QTcpServer_serverError(handle: QTcpServerH): QAbstractSocketSocketError; cdecl; external Qt4PasLib name 'QTcpServer_serverError'; procedure QTcpServer_errorString(handle: QTcpServerH; retval: PWideString); cdecl; external Qt4PasLib name 'QTcpServer_errorString'; procedure QTcpServer_setProxy(handle: QTcpServerH; networkProxy: QNetworkProxyH); cdecl; external Qt4PasLib name 'QTcpServer_setProxy'; procedure QTcpServer_proxy(handle: QTcpServerH; retval: QNetworkProxyH); cdecl; external Qt4PasLib name 'QTcpServer_proxy'; type QTcpServer_newConnection_Event = procedure () of object cdecl; type QSslSocketSslMode = ( // QSslSocket::SslMode (1) QSslSocketUnencryptedMode, QSslSocketSslClientMode, QSslSocketSslServerMode ); QSslSocketPeerVerifyMode = ( // QSslSocket::PeerVerifyMode (1) QSslSocketVerifyNone, QSslSocketQueryPeer, QSslSocketVerifyPeer, QSslSocketAutoVerifyPeer ); function QSslConfiguration_create(): QSslConfigurationH; cdecl; external Qt4PasLib name 'QSslConfiguration_create'; procedure QSslConfiguration_destroy(handle: QSslConfigurationH); cdecl; external Qt4PasLib name 'QSslConfiguration_destroy'; function QSslConfiguration_create(other: QSslConfigurationH): QSslConfigurationH; cdecl; external Qt4PasLib name 'QSslConfiguration_create2'; function QSslConfiguration_isNull(handle: QSslConfigurationH): Boolean; cdecl; external Qt4PasLib name 'QSslConfiguration_isNull'; function QSslConfiguration_protocol(handle: QSslConfigurationH): QSslSslProtocol; cdecl; external Qt4PasLib name 'QSslConfiguration_protocol'; procedure QSslConfiguration_setProtocol(handle: QSslConfigurationH; protocol: QSslSslProtocol); cdecl; external Qt4PasLib name 'QSslConfiguration_setProtocol'; function QSslConfiguration_peerVerifyMode(handle: QSslConfigurationH): QSslSocketPeerVerifyMode; cdecl; external Qt4PasLib name 'QSslConfiguration_peerVerifyMode'; procedure QSslConfiguration_setPeerVerifyMode(handle: QSslConfigurationH; mode: QSslSocketPeerVerifyMode); cdecl; external Qt4PasLib name 'QSslConfiguration_setPeerVerifyMode'; function QSslConfiguration_peerVerifyDepth(handle: QSslConfigurationH): Integer; cdecl; external Qt4PasLib name 'QSslConfiguration_peerVerifyDepth'; procedure QSslConfiguration_setPeerVerifyDepth(handle: QSslConfigurationH; depth: Integer); cdecl; external Qt4PasLib name 'QSslConfiguration_setPeerVerifyDepth'; procedure QSslConfiguration_localCertificate(handle: QSslConfigurationH; retval: QSslCertificateH); cdecl; external Qt4PasLib name 'QSslConfiguration_localCertificate'; procedure QSslConfiguration_setLocalCertificate(handle: QSslConfigurationH; certificate: QSslCertificateH); cdecl; external Qt4PasLib name 'QSslConfiguration_setLocalCertificate'; procedure QSslConfiguration_peerCertificate(handle: QSslConfigurationH; retval: QSslCertificateH); cdecl; external Qt4PasLib name 'QSslConfiguration_peerCertificate'; procedure QSslConfiguration_sessionCipher(handle: QSslConfigurationH; retval: QSslCipherH); cdecl; external Qt4PasLib name 'QSslConfiguration_sessionCipher'; procedure QSslConfiguration_privateKey(handle: QSslConfigurationH; retval: QSslKeyH); cdecl; external Qt4PasLib name 'QSslConfiguration_privateKey'; procedure QSslConfiguration_setPrivateKey(handle: QSslConfigurationH; key: QSslKeyH); cdecl; external Qt4PasLib name 'QSslConfiguration_setPrivateKey'; procedure QSslConfiguration_defaultConfiguration(retval: QSslConfigurationH); cdecl; external Qt4PasLib name 'QSslConfiguration_defaultConfiguration'; procedure QSslConfiguration_setDefaultConfiguration(configuration: QSslConfigurationH); cdecl; external Qt4PasLib name 'QSslConfiguration_setDefaultConfiguration'; function QSslSocket_create(parent: QObjectH = nil): QSslSocketH; cdecl; external Qt4PasLib name 'QSslSocket_create'; procedure QSslSocket_destroy(handle: QSslSocketH); cdecl; external Qt4PasLib name 'QSslSocket_destroy'; procedure QSslSocket_connectToHostEncrypted(handle: QSslSocketH; hostName: PWideString; port: Word; mode: QIODeviceOpenMode); cdecl; external Qt4PasLib name 'QSslSocket_connectToHostEncrypted'; function QSslSocket_mode(handle: QSslSocketH): QSslSocketSslMode; cdecl; external Qt4PasLib name 'QSslSocket_mode'; function QSslSocket_isEncrypted(handle: QSslSocketH): Boolean; cdecl; external Qt4PasLib name 'QSslSocket_isEncrypted'; function QSslSocket_protocol(handle: QSslSocketH): QSslSslProtocol; cdecl; external Qt4PasLib name 'QSslSocket_protocol'; procedure QSslSocket_setProtocol(handle: QSslSocketH; protocol: QSslSslProtocol); cdecl; external Qt4PasLib name 'QSslSocket_setProtocol'; function QSslSocket_peerVerifyMode(handle: QSslSocketH): QSslSocketPeerVerifyMode; cdecl; external Qt4PasLib name 'QSslSocket_peerVerifyMode'; procedure QSslSocket_setPeerVerifyMode(handle: QSslSocketH; mode: QSslSocketPeerVerifyMode); cdecl; external Qt4PasLib name 'QSslSocket_setPeerVerifyMode'; function QSslSocket_peerVerifyDepth(handle: QSslSocketH): Integer; cdecl; external Qt4PasLib name 'QSslSocket_peerVerifyDepth'; procedure QSslSocket_setPeerVerifyDepth(handle: QSslSocketH; depth: Integer); cdecl; external Qt4PasLib name 'QSslSocket_setPeerVerifyDepth'; function QSslSocket_bytesAvailable(handle: QSslSocketH): int64; cdecl; external Qt4PasLib name 'QSslSocket_bytesAvailable'; function QSslSocket_bytesToWrite(handle: QSslSocketH): int64; cdecl; external Qt4PasLib name 'QSslSocket_bytesToWrite'; function QSslSocket_canReadLine(handle: QSslSocketH): Boolean; cdecl; external Qt4PasLib name 'QSslSocket_canReadLine'; procedure QSslSocket_close(handle: QSslSocketH); cdecl; external Qt4PasLib name 'QSslSocket_close'; function QSslSocket_atEnd(handle: QSslSocketH): Boolean; cdecl; external Qt4PasLib name 'QSslSocket_atEnd'; function QSslSocket_flush(handle: QSslSocketH): Boolean; cdecl; external Qt4PasLib name 'QSslSocket_flush'; procedure QSslSocket_abort(handle: QSslSocketH); cdecl; external Qt4PasLib name 'QSslSocket_abort'; procedure QSslSocket_setReadBufferSize(handle: QSslSocketH; size: int64); cdecl; external Qt4PasLib name 'QSslSocket_setReadBufferSize'; function QSslSocket_encryptedBytesAvailable(handle: QSslSocketH): int64; cdecl; external Qt4PasLib name 'QSslSocket_encryptedBytesAvailable'; function QSslSocket_encryptedBytesToWrite(handle: QSslSocketH): int64; cdecl; external Qt4PasLib name 'QSslSocket_encryptedBytesToWrite'; procedure QSslSocket_sslConfiguration(handle: QSslSocketH; retval: QSslConfigurationH); cdecl; external Qt4PasLib name 'QSslSocket_sslConfiguration'; procedure QSslSocket_setSslConfiguration(handle: QSslSocketH; config: QSslConfigurationH); cdecl; external Qt4PasLib name 'QSslSocket_setSslConfiguration'; procedure QSslSocket_setLocalCertificate(handle: QSslSocketH; certificate: QSslCertificateH); cdecl; external Qt4PasLib name 'QSslSocket_setLocalCertificate'; procedure QSslSocket_setLocalCertificate(handle: QSslSocketH; fileName: PWideString; format: QSslEncodingFormat = QSslPem); cdecl; external Qt4PasLib name 'QSslSocket_setLocalCertificate2'; procedure QSslSocket_localCertificate(handle: QSslSocketH; retval: QSslCertificateH); cdecl; external Qt4PasLib name 'QSslSocket_localCertificate'; procedure QSslSocket_peerCertificate(handle: QSslSocketH; retval: QSslCertificateH); cdecl; external Qt4PasLib name 'QSslSocket_peerCertificate'; procedure QSslSocket_sessionCipher(handle: QSslSocketH; retval: QSslCipherH); cdecl; external Qt4PasLib name 'QSslSocket_sessionCipher'; procedure QSslSocket_setPrivateKey(handle: QSslSocketH; key: QSslKeyH); cdecl; external Qt4PasLib name 'QSslSocket_setPrivateKey'; procedure QSslSocket_setPrivateKey(handle: QSslSocketH; fileName: PWideString; algorithm: QSslKeyAlgorithm = QSslRsa; format: QSslEncodingFormat = QSslPem; passPhrase: QByteArrayH = nil); cdecl; external Qt4PasLib name 'QSslSocket_setPrivateKey2'; procedure QSslSocket_privateKey(handle: QSslSocketH; retval: QSslKeyH); cdecl; external Qt4PasLib name 'QSslSocket_privateKey'; procedure QSslSocket_setCiphers(handle: QSslSocketH; ciphers: PWideString); cdecl; external Qt4PasLib name 'QSslSocket_setCiphers'; procedure QSslSocket_addCaCertificate(handle: QSslSocketH; certificate: QSslCertificateH); cdecl; external Qt4PasLib name 'QSslSocket_addCaCertificate'; procedure QSslSocket_addDefaultCaCertificate(certificate: QSslCertificateH); cdecl; external Qt4PasLib name 'QSslSocket_addDefaultCaCertificate'; function QSslSocket_waitForConnected(handle: QSslSocketH; msecs: Integer = 30000): Boolean; cdecl; external Qt4PasLib name 'QSslSocket_waitForConnected'; function QSslSocket_waitForEncrypted(handle: QSslSocketH; msecs: Integer = 30000): Boolean; cdecl; external Qt4PasLib name 'QSslSocket_waitForEncrypted'; function QSslSocket_waitForReadyRead(handle: QSslSocketH; msecs: Integer = 30000): Boolean; cdecl; external Qt4PasLib name 'QSslSocket_waitForReadyRead'; function QSslSocket_waitForBytesWritten(handle: QSslSocketH; msecs: Integer = 30000): Boolean; cdecl; external Qt4PasLib name 'QSslSocket_waitForBytesWritten'; function QSslSocket_waitForDisconnected(handle: QSslSocketH; msecs: Integer = 30000): Boolean; cdecl; external Qt4PasLib name 'QSslSocket_waitForDisconnected'; function QSslSocket_supportsSsl(): Boolean; cdecl; external Qt4PasLib name 'QSslSocket_supportsSsl'; procedure QSslSocket_startClientEncryption(handle: QSslSocketH); cdecl; external Qt4PasLib name 'QSslSocket_startClientEncryption'; procedure QSslSocket_startServerEncryption(handle: QSslSocketH); cdecl; external Qt4PasLib name 'QSslSocket_startServerEncryption'; procedure QSslSocket_ignoreSslErrors(handle: QSslSocketH); cdecl; external Qt4PasLib name 'QSslSocket_ignoreSslErrors'; type QNetworkAccessManagerOperation = ( //QNetworkAccessManager::Operation (2) QNetworkAccessManagerUnknownOperation = 0, QNetworkAccessManagerHeadOperation = 1, QNetworkAccessManagerGetOperation, QNetworkAccessManagerPutOperation, QNetworkAccessManagerPostOperation ); function QNetworkAccessManager_create(parent: QObjectH = nil): QNetworkAccessManagerH; cdecl; external Qt4PasLib name 'QNetworkAccessManager_create'; procedure QNetworkAccessManager_destroy(handle: QNetworkAccessManagerH); cdecl; external Qt4PasLib name 'QNetworkAccessManager_destroy'; procedure QNetworkAccessManager_proxy(handle: QNetworkAccessManagerH; retval: QNetworkProxyH); cdecl; external Qt4PasLib name 'QNetworkAccessManager_proxy'; procedure QNetworkAccessManager_setProxy(handle: QNetworkAccessManagerH; proxy: QNetworkProxyH); cdecl; external Qt4PasLib name 'QNetworkAccessManager_setProxy'; function QNetworkAccessManager_proxyFactory(handle: QNetworkAccessManagerH): QNetworkProxyFactoryH; cdecl; external Qt4PasLib name 'QNetworkAccessManager_proxyFactory'; procedure QNetworkAccessManager_setProxyFactory(handle: QNetworkAccessManagerH; factory: QNetworkProxyFactoryH); cdecl; external Qt4PasLib name 'QNetworkAccessManager_setProxyFactory'; function QNetworkAccessManager_cache(handle: QNetworkAccessManagerH): QAbstractNetworkCacheH; cdecl; external Qt4PasLib name 'QNetworkAccessManager_cache'; procedure QNetworkAccessManager_setCache(handle: QNetworkAccessManagerH; cache: QAbstractNetworkCacheH); cdecl; external Qt4PasLib name 'QNetworkAccessManager_setCache'; function QNetworkAccessManager_cookieJar(handle: QNetworkAccessManagerH): QNetworkCookieJarH; cdecl; external Qt4PasLib name 'QNetworkAccessManager_cookieJar'; procedure QNetworkAccessManager_setCookieJar(handle: QNetworkAccessManagerH; cookieJar: QNetworkCookieJarH); cdecl; external Qt4PasLib name 'QNetworkAccessManager_setCookieJar'; function QNetworkAccessManager_head(handle: QNetworkAccessManagerH; request: QNetworkRequestH): QNetworkReplyH; cdecl; external Qt4PasLib name 'QNetworkAccessManager_head'; function QNetworkAccessManager_get(handle: QNetworkAccessManagerH; request: QNetworkRequestH): QNetworkReplyH; cdecl; external Qt4PasLib name 'QNetworkAccessManager_get'; function QNetworkAccessManager_post(handle: QNetworkAccessManagerH; request: QNetworkRequestH; data: QIODeviceH): QNetworkReplyH; cdecl; external Qt4PasLib name 'QNetworkAccessManager_post'; function QNetworkAccessManager_post(handle: QNetworkAccessManagerH; request: QNetworkRequestH; data: QByteArrayH): QNetworkReplyH; cdecl; external Qt4PasLib name 'QNetworkAccessManager_post2'; function QNetworkAccessManager_put(handle: QNetworkAccessManagerH; request: QNetworkRequestH; data: QIODeviceH): QNetworkReplyH; cdecl; external Qt4PasLib name 'QNetworkAccessManager_put'; function QNetworkAccessManager_put(handle: QNetworkAccessManagerH; request: QNetworkRequestH; data: QByteArrayH): QNetworkReplyH; cdecl; external Qt4PasLib name 'QNetworkAccessManager_put2'; type QNetworkAccessManager_proxyAuthenticationRequired_Event = procedure (proxy: QNetworkProxyH; authenticator: QAuthenticatorH) of object cdecl; QNetworkAccessManager_authenticationRequired_Event = procedure (reply: QNetworkReplyH; authenticator: QAuthenticatorH) of object cdecl; QNetworkAccessManager_finished_Event = procedure (reply: QNetworkReplyH) of object cdecl; type QNetworkRequestKnownHeaders = ( // QNetworkRequest::KnownHeaders (1) QNetworkRequestContentTypeHeader, QNetworkRequestContentLengthHeader, QNetworkRequestLocationHeader, QNetworkRequestLastModifiedHeader, QNetworkRequestCookieHeader, QNetworkRequestSetCookieHeader ); QNetworkRequestCacheLoadControl = ( // QNetworkRequest::CacheLoadControl (1) QNetworkRequestAlwaysNetwork, QNetworkRequestPreferNetwork, QNetworkRequestPreferCache, QNetworkRequestAlwaysCache ); QNetworkRequestAttribute = ( //QNetworkRequest::Attribute (2) QNetworkRequestHttpStatusCodeAttribute, QNetworkRequestHttpReasonPhraseAttribute, QNetworkRequestRedirectionTargetAttribute, QNetworkRequestConnectionEncryptedAttribute, QNetworkRequestCacheLoadControlAttribute, QNetworkRequestCacheSaveControlAttribute, QNetworkRequestSourceIsFromCacheAttribute, QNetworkRequestUser = 1000, QNetworkRequestUserMax = 32767 ); function QNetworkRequest_create(url: QUrlH = nil): QNetworkRequestH; cdecl; external Qt4PasLib name 'QNetworkRequest_create'; procedure QNetworkRequest_destroy(handle: QNetworkRequestH); cdecl; external Qt4PasLib name 'QNetworkRequest_destroy'; function QNetworkRequest_create(other: QNetworkRequestH): QNetworkRequestH; cdecl; external Qt4PasLib name 'QNetworkRequest_create2'; procedure QNetworkRequest_url(handle: QNetworkRequestH; retval: QUrlH); cdecl; external Qt4PasLib name 'QNetworkRequest_url'; procedure QNetworkRequest_setUrl(handle: QNetworkRequestH; url: QUrlH); cdecl; external Qt4PasLib name 'QNetworkRequest_setUrl'; procedure QNetworkRequest_header(handle: QNetworkRequestH; retval: QVariantH; header: QNetworkRequestKnownHeaders); cdecl; external Qt4PasLib name 'QNetworkRequest_header'; procedure QNetworkRequest_setHeader(handle: QNetworkRequestH; header: QNetworkRequestKnownHeaders; value: QVariantH); cdecl; external Qt4PasLib name 'QNetworkRequest_setHeader'; function QNetworkRequest_hasRawHeader(handle: QNetworkRequestH; headerName: QByteArrayH): Boolean; cdecl; external Qt4PasLib name 'QNetworkRequest_hasRawHeader'; procedure QNetworkRequest_rawHeader(handle: QNetworkRequestH; retval: QByteArrayH; headerName: QByteArrayH); cdecl; external Qt4PasLib name 'QNetworkRequest_rawHeader'; procedure QNetworkRequest_setRawHeader(handle: QNetworkRequestH; headerName: QByteArrayH; value: QByteArrayH); cdecl; external Qt4PasLib name 'QNetworkRequest_setRawHeader'; procedure QNetworkRequest_attribute(handle: QNetworkRequestH; retval: QVariantH; code: QNetworkRequestAttribute; defaultValue: QVariantH = nil); cdecl; external Qt4PasLib name 'QNetworkRequest_attribute'; procedure QNetworkRequest_setAttribute(handle: QNetworkRequestH; code: QNetworkRequestAttribute; value: QVariantH); cdecl; external Qt4PasLib name 'QNetworkRequest_setAttribute'; procedure QNetworkRequest_sslConfiguration(handle: QNetworkRequestH; retval: QSslConfigurationH); cdecl; external Qt4PasLib name 'QNetworkRequest_sslConfiguration'; procedure QNetworkRequest_setSslConfiguration(handle: QNetworkRequestH; configuration: QSslConfigurationH); cdecl; external Qt4PasLib name 'QNetworkRequest_setSslConfiguration'; type QNetworkReplyNetworkError = ( //QNetworkReply::NetworkError (2) QNetworkReplyNoError = 0, QNetworkReplyConnectionRefusedError = 1, QNetworkReplyRemoteHostClosedError, QNetworkReplyHostNotFoundError, QNetworkReplyTimeoutError, QNetworkReplyOperationCanceledError, QNetworkReplySslHandshakeFailedError, QNetworkReplyUnknownNetworkError = 99, QNetworkReplyProxyConnectionRefusedError = 101, QNetworkReplyProxyConnectionClosedError, QNetworkReplyProxyNotFoundError, QNetworkReplyProxyTimeoutError, QNetworkReplyProxyAuthenticationRequiredError, QNetworkReplyUnknownProxyError = 199, QNetworkReplyContentAccessDenied = 201, QNetworkReplyContentOperationNotPermittedError, QNetworkReplyContentNotFoundError, QNetworkReplyAuthenticationRequiredError, QNetworkReplyUnknownContentError = 299, QNetworkReplyProtocolUnknownError = 301, QNetworkReplyProtocolInvalidOperationError, QNetworkReplyProtocolFailure = 399 ); procedure QNetworkReply_abort(handle: QNetworkReplyH); cdecl; external Qt4PasLib name 'QNetworkReply_abort'; procedure QNetworkReply_close(handle: QNetworkReplyH); cdecl; external Qt4PasLib name 'QNetworkReply_close'; function QNetworkReply_isSequential(handle: QNetworkReplyH): Boolean; cdecl; external Qt4PasLib name 'QNetworkReply_isSequential'; function QNetworkReply_readBufferSize(handle: QNetworkReplyH): int64; cdecl; external Qt4PasLib name 'QNetworkReply_readBufferSize'; procedure QNetworkReply_setReadBufferSize(handle: QNetworkReplyH; size: int64); cdecl; external Qt4PasLib name 'QNetworkReply_setReadBufferSize'; function QNetworkReply_manager(handle: QNetworkReplyH): QNetworkAccessManagerH; cdecl; external Qt4PasLib name 'QNetworkReply_manager'; function QNetworkReply_operation(handle: QNetworkReplyH): QNetworkAccessManagerOperation; cdecl; external Qt4PasLib name 'QNetworkReply_operation'; procedure QNetworkReply_request(handle: QNetworkReplyH; retval: QNetworkRequestH); cdecl; external Qt4PasLib name 'QNetworkReply_request'; function QNetworkReply_error(handle: QNetworkReplyH): QNetworkReplyNetworkError; cdecl; external Qt4PasLib name 'QNetworkReply_error'; procedure QNetworkReply_url(handle: QNetworkReplyH; retval: QUrlH); cdecl; external Qt4PasLib name 'QNetworkReply_url'; procedure QNetworkReply_header(handle: QNetworkReplyH; retval: QVariantH; header: QNetworkRequestKnownHeaders); cdecl; external Qt4PasLib name 'QNetworkReply_header'; function QNetworkReply_hasRawHeader(handle: QNetworkReplyH; headerName: QByteArrayH): Boolean; cdecl; external Qt4PasLib name 'QNetworkReply_hasRawHeader'; procedure QNetworkReply_rawHeader(handle: QNetworkReplyH; retval: QByteArrayH; headerName: QByteArrayH); cdecl; external Qt4PasLib name 'QNetworkReply_rawHeader'; procedure QNetworkReply_attribute(handle: QNetworkReplyH; retval: QVariantH; code: QNetworkRequestAttribute); cdecl; external Qt4PasLib name 'QNetworkReply_attribute'; procedure QNetworkReply_sslConfiguration(handle: QNetworkReplyH; retval: QSslConfigurationH); cdecl; external Qt4PasLib name 'QNetworkReply_sslConfiguration'; procedure QNetworkReply_setSslConfiguration(handle: QNetworkReplyH; configuration: QSslConfigurationH); cdecl; external Qt4PasLib name 'QNetworkReply_setSslConfiguration'; procedure QNetworkReply_ignoreSslErrors(handle: QNetworkReplyH); cdecl; external Qt4PasLib name 'QNetworkReply_ignoreSslErrors'; type QNetworkReply_metaDataChanged_Event = procedure () of object cdecl; QNetworkReply_finished_Event = procedure () of object cdecl; QNetworkReply_error_Event = procedure (AnonParam1: QNetworkReplyNetworkError) of object cdecl; QNetworkReply_uploadProgress_Event = procedure (bytesSent: int64; bytesTotal: int64) of object cdecl; QNetworkReply_downloadProgress_Event = procedure (bytesReceived: int64; bytesTotal: int64) of object cdecl; type QNetworkCookieRawForm = ( // QNetworkCookie::RawForm (1) QNetworkCookieNameAndValueOnly, QNetworkCookieFull ); function QNetworkCookie_create(name: QByteArrayH = nil; value: QByteArrayH = nil): QNetworkCookieH; cdecl; external Qt4PasLib name 'QNetworkCookie_create'; procedure QNetworkCookie_destroy(handle: QNetworkCookieH); cdecl; external Qt4PasLib name 'QNetworkCookie_destroy'; function QNetworkCookie_create(other: QNetworkCookieH): QNetworkCookieH; cdecl; external Qt4PasLib name 'QNetworkCookie_create2'; function QNetworkCookie_isSecure(handle: QNetworkCookieH): Boolean; cdecl; external Qt4PasLib name 'QNetworkCookie_isSecure'; procedure QNetworkCookie_setSecure(handle: QNetworkCookieH; enable: Boolean); cdecl; external Qt4PasLib name 'QNetworkCookie_setSecure'; function QNetworkCookie_isHttpOnly(handle: QNetworkCookieH): Boolean; cdecl; external Qt4PasLib name 'QNetworkCookie_isHttpOnly'; procedure QNetworkCookie_setHttpOnly(handle: QNetworkCookieH; enable: Boolean); cdecl; external Qt4PasLib name 'QNetworkCookie_setHttpOnly'; function QNetworkCookie_isSessionCookie(handle: QNetworkCookieH): Boolean; cdecl; external Qt4PasLib name 'QNetworkCookie_isSessionCookie'; procedure QNetworkCookie_expirationDate(handle: QNetworkCookieH; retval: QDateTimeH); cdecl; external Qt4PasLib name 'QNetworkCookie_expirationDate'; procedure QNetworkCookie_setExpirationDate(handle: QNetworkCookieH; date: QDateTimeH); cdecl; external Qt4PasLib name 'QNetworkCookie_setExpirationDate'; procedure QNetworkCookie_domain(handle: QNetworkCookieH; retval: PWideString); cdecl; external Qt4PasLib name 'QNetworkCookie_domain'; procedure QNetworkCookie_setDomain(handle: QNetworkCookieH; domain: PWideString); cdecl; external Qt4PasLib name 'QNetworkCookie_setDomain'; procedure QNetworkCookie_path(handle: QNetworkCookieH; retval: PWideString); cdecl; external Qt4PasLib name 'QNetworkCookie_path'; procedure QNetworkCookie_setPath(handle: QNetworkCookieH; path: PWideString); cdecl; external Qt4PasLib name 'QNetworkCookie_setPath'; procedure QNetworkCookie_name(handle: QNetworkCookieH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QNetworkCookie_name'; procedure QNetworkCookie_setName(handle: QNetworkCookieH; cookieName: QByteArrayH); cdecl; external Qt4PasLib name 'QNetworkCookie_setName'; procedure QNetworkCookie_value(handle: QNetworkCookieH; retval: QByteArrayH); cdecl; external Qt4PasLib name 'QNetworkCookie_value'; procedure QNetworkCookie_setValue(handle: QNetworkCookieH; value: QByteArrayH); cdecl; external Qt4PasLib name 'QNetworkCookie_setValue'; procedure QNetworkCookie_toRawForm(handle: QNetworkCookieH; retval: QByteArrayH; form: QNetworkCookieRawForm = QNetworkCookieFull); cdecl; external Qt4PasLib name 'QNetworkCookie_toRawForm'; function QNetworkCookieJar_create(parent: QObjectH = nil): QNetworkCookieJarH; cdecl; external Qt4PasLib name 'QNetworkCookieJar_create'; procedure QNetworkCookieJar_destroy(handle: QNetworkCookieJarH); cdecl; external Qt4PasLib name 'QNetworkCookieJar_destroy'; function QLCLNetworkCookieJar_create(parent: QObjectH = nil): QLCLNetworkCookieJarH; cdecl; external Qt4PasLib name 'QLCLNetworkCookieJar_create'; procedure QLCLNetworkCookieJar_destroy(handle: QLCLNetworkCookieJarH); cdecl; external Qt4PasLib name 'QLCLNetworkCookieJar_destroy'; procedure QLCLNetworkCookieJar_setRawCookies(handle: QLCLNetworkCookieJarH; rawCookies: PAnsiChar); cdecl; external Qt4PasLib name 'QLCLNetworkCookieJar_setRawCookies'; procedure QLCLNetworkCookieJar_getRawCookies(handle: QLCLNetworkCookieJarH; rawCookies: QByteArrayH); cdecl; external Qt4PasLib name 'QLCLNetworkCookieJar_getRawCookies'; type QNetworkProxyQueryQueryType = ( //QNetworkProxyQuery::QueryType (2) QNetworkProxyQueryTcpSocket, QNetworkProxyQueryUdpSocket, QNetworkProxyQueryTcpServer = 100, QNetworkProxyQueryUrlRequest ); type QNetworkProxyProxyType = ( // QNetworkProxy::ProxyType (1) QNetworkProxyDefaultProxy, QNetworkProxySocks5Proxy, QNetworkProxyNoProxy, QNetworkProxyHttpProxy, QNetworkProxyHttpCachingProxy, QNetworkProxyFtpCachingProxy ); type QNetworkProxyCapability = cardinal; // QNetworkProxy::Capability QNetworkProxyCapabilities = QNetworkProxyCapability; //QFlags<> (3) const QNetworkProxyTunnelingCapability = $0001; QNetworkProxyListeningCapability = $0002; QNetworkProxyUdpTunnelingCapability = $0004; QNetworkProxyCachingCapability = $0008; QNetworkProxyHostNameLookupCapability = $0010; function QNetworkProxyQuery_create(): QNetworkProxyQueryH; cdecl; external Qt4PasLib name 'QNetworkProxyQuery_create'; procedure QNetworkProxyQuery_destroy(handle: QNetworkProxyQueryH); cdecl; external Qt4PasLib name 'QNetworkProxyQuery_destroy'; function QNetworkProxyQuery_create(requestUrl: QUrlH; queryType: QNetworkProxyQueryQueryType = QNetworkProxyQueryUrlRequest): QNetworkProxyQueryH; cdecl; external Qt4PasLib name 'QNetworkProxyQuery_create2'; function QNetworkProxyQuery_create(hostname: PWideString; port: Integer; protocolTag: PWideString = nil; queryType: QNetworkProxyQueryQueryType = QNetworkProxyQueryTcpSocket): QNetworkProxyQueryH; cdecl; external Qt4PasLib name 'QNetworkProxyQuery_create3'; function QNetworkProxyQuery_create(bindPort: Word; protocolTag: PWideString = nil; queryType: QNetworkProxyQueryQueryType = QNetworkProxyQueryTcpServer): QNetworkProxyQueryH; cdecl; external Qt4PasLib name 'QNetworkProxyQuery_create4'; function QNetworkProxyQuery_create(other: QNetworkProxyQueryH): QNetworkProxyQueryH; cdecl; external Qt4PasLib name 'QNetworkProxyQuery_create5'; function QNetworkProxyQuery_queryType(handle: QNetworkProxyQueryH): QNetworkProxyQueryQueryType; cdecl; external Qt4PasLib name 'QNetworkProxyQuery_queryType'; procedure QNetworkProxyQuery_setQueryType(handle: QNetworkProxyQueryH; _type: QNetworkProxyQueryQueryType); cdecl; external Qt4PasLib name 'QNetworkProxyQuery_setQueryType'; function QNetworkProxyQuery_peerPort(handle: QNetworkProxyQueryH): Integer; cdecl; external Qt4PasLib name 'QNetworkProxyQuery_peerPort'; procedure QNetworkProxyQuery_setPeerPort(handle: QNetworkProxyQueryH; port: Integer); cdecl; external Qt4PasLib name 'QNetworkProxyQuery_setPeerPort'; procedure QNetworkProxyQuery_peerHostName(handle: QNetworkProxyQueryH; retval: PWideString); cdecl; external Qt4PasLib name 'QNetworkProxyQuery_peerHostName'; procedure QNetworkProxyQuery_setPeerHostName(handle: QNetworkProxyQueryH; hostname: PWideString); cdecl; external Qt4PasLib name 'QNetworkProxyQuery_setPeerHostName'; function QNetworkProxyQuery_localPort(handle: QNetworkProxyQueryH): Integer; cdecl; external Qt4PasLib name 'QNetworkProxyQuery_localPort'; procedure QNetworkProxyQuery_setLocalPort(handle: QNetworkProxyQueryH; port: Integer); cdecl; external Qt4PasLib name 'QNetworkProxyQuery_setLocalPort'; procedure QNetworkProxyQuery_protocolTag(handle: QNetworkProxyQueryH; retval: PWideString); cdecl; external Qt4PasLib name 'QNetworkProxyQuery_protocolTag'; procedure QNetworkProxyQuery_setProtocolTag(handle: QNetworkProxyQueryH; protocolTag: PWideString); cdecl; external Qt4PasLib name 'QNetworkProxyQuery_setProtocolTag'; procedure QNetworkProxyQuery_url(handle: QNetworkProxyQueryH; retval: QUrlH); cdecl; external Qt4PasLib name 'QNetworkProxyQuery_url'; procedure QNetworkProxyQuery_setUrl(handle: QNetworkProxyQueryH; url: QUrlH); cdecl; external Qt4PasLib name 'QNetworkProxyQuery_setUrl'; function QNetworkProxy_create(): QNetworkProxyH; cdecl; external Qt4PasLib name 'QNetworkProxy_create'; procedure QNetworkProxy_destroy(handle: QNetworkProxyH); cdecl; external Qt4PasLib name 'QNetworkProxy_destroy'; function QNetworkProxy_create(_type: QNetworkProxyProxyType; hostName: PWideString = nil; port: Word = 0; user: PWideString = nil; password: PWideString = nil): QNetworkProxyH; cdecl; external Qt4PasLib name 'QNetworkProxy_create2'; function QNetworkProxy_create(other: QNetworkProxyH): QNetworkProxyH; cdecl; external Qt4PasLib name 'QNetworkProxy_create3'; procedure QNetworkProxy_setType(handle: QNetworkProxyH; _type: QNetworkProxyProxyType); cdecl; external Qt4PasLib name 'QNetworkProxy_setType'; function QNetworkProxy_type(handle: QNetworkProxyH): QNetworkProxyProxyType; cdecl; external Qt4PasLib name 'QNetworkProxy_type'; procedure QNetworkProxy_setCapabilities(handle: QNetworkProxyH; capab: QNetworkProxyCapabilities); cdecl; external Qt4PasLib name 'QNetworkProxy_setCapabilities'; function QNetworkProxy_capabilities(handle: QNetworkProxyH): QNetworkProxyCapabilities; cdecl; external Qt4PasLib name 'QNetworkProxy_capabilities'; function QNetworkProxy_isCachingProxy(handle: QNetworkProxyH): Boolean; cdecl; external Qt4PasLib name 'QNetworkProxy_isCachingProxy'; function QNetworkProxy_isTransparentProxy(handle: QNetworkProxyH): Boolean; cdecl; external Qt4PasLib name 'QNetworkProxy_isTransparentProxy'; procedure QNetworkProxy_setUser(handle: QNetworkProxyH; userName: PWideString); cdecl; external Qt4PasLib name 'QNetworkProxy_setUser'; procedure QNetworkProxy_user(handle: QNetworkProxyH; retval: PWideString); cdecl; external Qt4PasLib name 'QNetworkProxy_user'; procedure QNetworkProxy_setPassword(handle: QNetworkProxyH; password: PWideString); cdecl; external Qt4PasLib name 'QNetworkProxy_setPassword'; procedure QNetworkProxy_password(handle: QNetworkProxyH; retval: PWideString); cdecl; external Qt4PasLib name 'QNetworkProxy_password'; procedure QNetworkProxy_setHostName(handle: QNetworkProxyH; hostName: PWideString); cdecl; external Qt4PasLib name 'QNetworkProxy_setHostName'; procedure QNetworkProxy_hostName(handle: QNetworkProxyH; retval: PWideString); cdecl; external Qt4PasLib name 'QNetworkProxy_hostName'; procedure QNetworkProxy_setPort(handle: QNetworkProxyH; port: Word); cdecl; external Qt4PasLib name 'QNetworkProxy_setPort'; function QNetworkProxy_port(handle: QNetworkProxyH): Word; cdecl; external Qt4PasLib name 'QNetworkProxy_port'; procedure QNetworkProxy_setApplicationProxy(proxy: QNetworkProxyH); cdecl; external Qt4PasLib name 'QNetworkProxy_setApplicationProxy'; procedure QNetworkProxy_applicationProxy(retval: QNetworkProxyH); cdecl; external Qt4PasLib name 'QNetworkProxy_applicationProxy'; procedure QNetworkProxyFactory_setApplicationProxyFactory(factory: QNetworkProxyFactoryH); cdecl; external Qt4PasLib name 'QNetworkProxyFactory_setApplicationProxyFactory'; function QAuthenticator_create(): QAuthenticatorH; cdecl; external Qt4PasLib name 'QAuthenticator_create'; procedure QAuthenticator_destroy(handle: QAuthenticatorH); cdecl; external Qt4PasLib name 'QAuthenticator_destroy'; function QAuthenticator_create(other: QAuthenticatorH): QAuthenticatorH; cdecl; external Qt4PasLib name 'QAuthenticator_create2'; procedure QAuthenticator_user(handle: QAuthenticatorH; retval: PWideString); cdecl; external Qt4PasLib name 'QAuthenticator_user'; procedure QAuthenticator_setUser(handle: QAuthenticatorH; user: PWideString); cdecl; external Qt4PasLib name 'QAuthenticator_setUser'; procedure QAuthenticator_password(handle: QAuthenticatorH; retval: PWideString); cdecl; external Qt4PasLib name 'QAuthenticator_password'; procedure QAuthenticator_setPassword(handle: QAuthenticatorH; password: PWideString); cdecl; external Qt4PasLib name 'QAuthenticator_setPassword'; procedure QAuthenticator_realm(handle: QAuthenticatorH; retval: PWideString); cdecl; external Qt4PasLib name 'QAuthenticator_realm'; function QAuthenticator_isNull(handle: QAuthenticatorH): Boolean; cdecl; external Qt4PasLib name 'QAuthenticator_isNull'; procedure QAuthenticator_detach(handle: QAuthenticatorH); cdecl; external Qt4PasLib name 'QAuthenticator_detach'; function QWebHitTestResult_create(): QWebHitTestResultH; cdecl; external Qt4PasLib name 'QWebHitTestResult_create'; procedure QWebHitTestResult_destroy(handle: QWebHitTestResultH); cdecl; external Qt4PasLib name 'QWebHitTestResult_destroy'; function QWebHitTestResult_create(other: QWebHitTestResultH): QWebHitTestResultH; cdecl; external Qt4PasLib name 'QWebHitTestResult_create2'; function QWebHitTestResult_isNull(handle: QWebHitTestResultH): Boolean; cdecl; external Qt4PasLib name 'QWebHitTestResult_isNull'; procedure QWebHitTestResult_pos(handle: QWebHitTestResultH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QWebHitTestResult_pos'; procedure QWebHitTestResult_boundingRect(handle: QWebHitTestResultH; retval: PRect); cdecl; external Qt4PasLib name 'QWebHitTestResult_boundingRect'; procedure QWebHitTestResult_title(handle: QWebHitTestResultH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebHitTestResult_title'; procedure QWebHitTestResult_linkText(handle: QWebHitTestResultH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebHitTestResult_linkText'; procedure QWebHitTestResult_linkUrl(handle: QWebHitTestResultH; retval: QUrlH); cdecl; external Qt4PasLib name 'QWebHitTestResult_linkUrl'; procedure QWebHitTestResult_linkTitle(handle: QWebHitTestResultH; retval: QUrlH); cdecl; external Qt4PasLib name 'QWebHitTestResult_linkTitle'; function QWebHitTestResult_linkTargetFrame(handle: QWebHitTestResultH): QWebFrameH; cdecl; external Qt4PasLib name 'QWebHitTestResult_linkTargetFrame'; procedure QWebHitTestResult_alternateText(handle: QWebHitTestResultH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebHitTestResult_alternateText'; procedure QWebHitTestResult_imageUrl(handle: QWebHitTestResultH; retval: QUrlH); cdecl; external Qt4PasLib name 'QWebHitTestResult_imageUrl'; procedure QWebHitTestResult_pixmap(handle: QWebHitTestResultH; retval: QPixmapH); cdecl; external Qt4PasLib name 'QWebHitTestResult_pixmap'; function QWebHitTestResult_isContentEditable(handle: QWebHitTestResultH): Boolean; cdecl; external Qt4PasLib name 'QWebHitTestResult_isContentEditable'; function QWebHitTestResult_isContentSelected(handle: QWebHitTestResultH): Boolean; cdecl; external Qt4PasLib name 'QWebHitTestResult_isContentSelected'; function QWebHitTestResult_frame(handle: QWebHitTestResultH): QWebFrameH; cdecl; external Qt4PasLib name 'QWebHitTestResult_frame'; function QWebFrame_page(handle: QWebFrameH): QWebPageH; cdecl; external Qt4PasLib name 'QWebFrame_page'; procedure QWebFrame_load(handle: QWebFrameH; url: QUrlH); cdecl; external Qt4PasLib name 'QWebFrame_load'; procedure QWebFrame_load(handle: QWebFrameH; request: QNetworkRequestH; operation: QNetworkAccessManagerOperation = QNetworkAccessManagerGetOperation; body: QByteArrayH = nil); cdecl; external Qt4PasLib name 'QWebFrame_load2'; procedure QWebFrame_setHtml(handle: QWebFrameH; html: PWideString; baseUrl: QUrlH = nil); cdecl; external Qt4PasLib name 'QWebFrame_setHtml'; procedure QWebFrame_setContent(handle: QWebFrameH; data: QByteArrayH; mimeType: PWideString = nil; baseUrl: QUrlH = nil); cdecl; external Qt4PasLib name 'QWebFrame_setContent'; procedure QWebFrame_addToJavaScriptWindowObject(handle: QWebFrameH; name: PWideString; _object: QObjectH); cdecl; external Qt4PasLib name 'QWebFrame_addToJavaScriptWindowObject'; procedure QWebFrame_toHtml(handle: QWebFrameH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebFrame_toHtml'; procedure QWebFrame_toPlainText(handle: QWebFrameH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebFrame_toPlainText'; procedure QWebFrame_renderTreeDump(handle: QWebFrameH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebFrame_renderTreeDump'; procedure QWebFrame_title(handle: QWebFrameH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebFrame_title'; procedure QWebFrame_setUrl(handle: QWebFrameH; url: QUrlH); cdecl; external Qt4PasLib name 'QWebFrame_setUrl'; procedure QWebFrame_url(handle: QWebFrameH; retval: QUrlH); cdecl; external Qt4PasLib name 'QWebFrame_url'; procedure QWebFrame_icon(handle: QWebFrameH; retval: QIconH); cdecl; external Qt4PasLib name 'QWebFrame_icon'; procedure QWebFrame_frameName(handle: QWebFrameH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebFrame_frameName'; function QWebFrame_parentFrame(handle: QWebFrameH): QWebFrameH; cdecl; external Qt4PasLib name 'QWebFrame_parentFrame'; procedure QWebFrame_childFrames(handle: QWebFrameH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QWebFrame_childFrames'; function QWebFrame_scrollBarPolicy(handle: QWebFrameH; orientation: QtOrientation): QtScrollBarPolicy; cdecl; external Qt4PasLib name 'QWebFrame_scrollBarPolicy'; procedure QWebFrame_setScrollBarPolicy(handle: QWebFrameH; orientation: QtOrientation; policy: QtScrollBarPolicy); cdecl; external Qt4PasLib name 'QWebFrame_setScrollBarPolicy'; procedure QWebFrame_setScrollBarValue(handle: QWebFrameH; orientation: QtOrientation; value: Integer); cdecl; external Qt4PasLib name 'QWebFrame_setScrollBarValue'; function QWebFrame_scrollBarValue(handle: QWebFrameH; orientation: QtOrientation): Integer; cdecl; external Qt4PasLib name 'QWebFrame_scrollBarValue'; function QWebFrame_scrollBarMinimum(handle: QWebFrameH; orientation: QtOrientation): Integer; cdecl; external Qt4PasLib name 'QWebFrame_scrollBarMinimum'; function QWebFrame_scrollBarMaximum(handle: QWebFrameH; orientation: QtOrientation): Integer; cdecl; external Qt4PasLib name 'QWebFrame_scrollBarMaximum'; procedure QWebFrame_scroll(handle: QWebFrameH; AnonParam1: Integer; AnonParam2: Integer); cdecl; external Qt4PasLib name 'QWebFrame_scroll'; procedure QWebFrame_scrollPosition(handle: QWebFrameH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QWebFrame_scrollPosition'; procedure QWebFrame_setScrollPosition(handle: QWebFrameH; pos: PQtPoint); cdecl; external Qt4PasLib name 'QWebFrame_setScrollPosition'; procedure QWebFrame_render(handle: QWebFrameH; painter: QPainterH; clip: QRegionH); cdecl; external Qt4PasLib name 'QWebFrame_render'; procedure QWebFrame_render(handle: QWebFrameH; painter: QPainterH); cdecl; external Qt4PasLib name 'QWebFrame_render2'; procedure QWebFrame_setTextSizeMultiplier(handle: QWebFrameH; factor: qreal); cdecl; external Qt4PasLib name 'QWebFrame_setTextSizeMultiplier'; function QWebFrame_textSizeMultiplier(handle: QWebFrameH): qreal; cdecl; external Qt4PasLib name 'QWebFrame_textSizeMultiplier'; function QWebFrame_zoomFactor(handle: QWebFrameH): qreal; cdecl; external Qt4PasLib name 'QWebFrame_zoomFactor'; procedure QWebFrame_setZoomFactor(handle: QWebFrameH; factor: qreal); cdecl; external Qt4PasLib name 'QWebFrame_setZoomFactor'; procedure QWebFrame_pos(handle: QWebFrameH; retval: PQtPoint); cdecl; external Qt4PasLib name 'QWebFrame_pos'; procedure QWebFrame_geometry(handle: QWebFrameH; retval: PRect); cdecl; external Qt4PasLib name 'QWebFrame_geometry'; procedure QWebFrame_contentsSize(handle: QWebFrameH; retval: PSize); cdecl; external Qt4PasLib name 'QWebFrame_contentsSize'; procedure QWebFrame_hitTestContent(handle: QWebFrameH; retval: QWebHitTestResultH; pos: PQtPoint); cdecl; external Qt4PasLib name 'QWebFrame_hitTestContent'; function QWebFrame_event(handle: QWebFrameH; AnonParam1: QEventH): Boolean; cdecl; external Qt4PasLib name 'QWebFrame_event'; procedure QWebFrame_evaluateJavaScript(handle: QWebFrameH; retval: QVariantH; scriptSource: PWideString); cdecl; external Qt4PasLib name 'QWebFrame_evaluateJavaScript'; procedure QWebFrame_print(handle: QWebFrameH; printer: QPrinterH); cdecl; external Qt4PasLib name 'QWebFrame_print'; type QWebFrame_javaScriptWindowObjectCleared_Event = procedure () of object cdecl; QWebFrame_provisionalLoad_Event = procedure () of object cdecl; QWebFrame_titleChanged_Event = procedure (title: PWideString) of object cdecl; QWebFrame_urlChanged_Event = procedure (url: QUrlH) of object cdecl; QWebFrame_initialLayoutCompleted_Event = procedure () of object cdecl; QWebFrame_iconChanged_Event = procedure () of object cdecl; procedure QWebSecurityOrigin_allOrigins(retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QWebSecurityOrigin_allOrigins'; procedure QWebSecurityOrigin_scheme(handle: QWebSecurityOriginH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebSecurityOrigin_scheme'; procedure QWebSecurityOrigin_host(handle: QWebSecurityOriginH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebSecurityOrigin_host'; function QWebSecurityOrigin_port(handle: QWebSecurityOriginH): Integer; cdecl; external Qt4PasLib name 'QWebSecurityOrigin_port'; function QWebSecurityOrigin_databaseUsage(handle: QWebSecurityOriginH): int64; cdecl; external Qt4PasLib name 'QWebSecurityOrigin_databaseUsage'; function QWebSecurityOrigin_databaseQuota(handle: QWebSecurityOriginH): int64; cdecl; external Qt4PasLib name 'QWebSecurityOrigin_databaseQuota'; procedure QWebSecurityOrigin_setDatabaseQuota(handle: QWebSecurityOriginH; quota: int64); cdecl; external Qt4PasLib name 'QWebSecurityOrigin_setDatabaseQuota'; procedure QWebSecurityOrigin_databases(handle: QWebSecurityOriginH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QWebSecurityOrigin_databases'; function QWebSecurityOrigin_create(other: QWebSecurityOriginH): QWebSecurityOriginH; cdecl; external Qt4PasLib name 'QWebSecurityOrigin_create'; procedure QWebSecurityOrigin_destroy(handle: QWebSecurityOriginH); cdecl; external Qt4PasLib name 'QWebSecurityOrigin_destroy'; function QWebDatabase_create(other: QWebDatabaseH): QWebDatabaseH; cdecl; external Qt4PasLib name 'QWebDatabase_create'; procedure QWebDatabase_destroy(handle: QWebDatabaseH); cdecl; external Qt4PasLib name 'QWebDatabase_destroy'; procedure QWebDatabase_name(handle: QWebDatabaseH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebDatabase_name'; procedure QWebDatabase_displayName(handle: QWebDatabaseH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebDatabase_displayName'; function QWebDatabase_expectedSize(handle: QWebDatabaseH): int64; cdecl; external Qt4PasLib name 'QWebDatabase_expectedSize'; function QWebDatabase_size(handle: QWebDatabaseH): int64; cdecl; external Qt4PasLib name 'QWebDatabase_size'; procedure QWebDatabase_fileName(handle: QWebDatabaseH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebDatabase_fileName'; procedure QWebDatabase_origin(handle: QWebDatabaseH; retval: QWebSecurityOriginH); cdecl; external Qt4PasLib name 'QWebDatabase_origin'; procedure QWebDatabase_removeDatabase(db: QWebDatabaseH); cdecl; external Qt4PasLib name 'QWebDatabase_removeDatabase'; function QWebHistoryItem_create(other: QWebHistoryItemH): QWebHistoryItemH; cdecl; external Qt4PasLib name 'QWebHistoryItem_create'; procedure QWebHistoryItem_destroy(handle: QWebHistoryItemH); cdecl; external Qt4PasLib name 'QWebHistoryItem_destroy'; procedure QWebHistoryItem_originalUrl(handle: QWebHistoryItemH; retval: QUrlH); cdecl; external Qt4PasLib name 'QWebHistoryItem_originalUrl'; procedure QWebHistoryItem_url(handle: QWebHistoryItemH; retval: QUrlH); cdecl; external Qt4PasLib name 'QWebHistoryItem_url'; procedure QWebHistoryItem_title(handle: QWebHistoryItemH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebHistoryItem_title'; procedure QWebHistoryItem_lastVisited(handle: QWebHistoryItemH; retval: QDateTimeH); cdecl; external Qt4PasLib name 'QWebHistoryItem_lastVisited'; procedure QWebHistoryItem_icon(handle: QWebHistoryItemH; retval: QIconH); cdecl; external Qt4PasLib name 'QWebHistoryItem_icon'; procedure QWebHistoryItem_userData(handle: QWebHistoryItemH; retval: QVariantH); cdecl; external Qt4PasLib name 'QWebHistoryItem_userData'; procedure QWebHistoryItem_setUserData(handle: QWebHistoryItemH; userData: QVariantH); cdecl; external Qt4PasLib name 'QWebHistoryItem_setUserData'; function QWebHistoryItem_isValid(handle: QWebHistoryItemH): Boolean; cdecl; external Qt4PasLib name 'QWebHistoryItem_isValid'; procedure QWebHistory_clear(handle: QWebHistoryH); cdecl; external Qt4PasLib name 'QWebHistory_clear'; procedure QWebHistory_items(handle: QWebHistoryH; retval: PPtrIntArray); cdecl; external Qt4PasLib name 'QWebHistory_items'; procedure QWebHistory_backItems(handle: QWebHistoryH; retval: PPtrIntArray; maxItems: Integer); cdecl; external Qt4PasLib name 'QWebHistory_backItems'; procedure QWebHistory_forwardItems(handle: QWebHistoryH; retval: PPtrIntArray; maxItems: Integer); cdecl; external Qt4PasLib name 'QWebHistory_forwardItems'; function QWebHistory_canGoBack(handle: QWebHistoryH): Boolean; cdecl; external Qt4PasLib name 'QWebHistory_canGoBack'; function QWebHistory_canGoForward(handle: QWebHistoryH): Boolean; cdecl; external Qt4PasLib name 'QWebHistory_canGoForward'; procedure QWebHistory_back(handle: QWebHistoryH); cdecl; external Qt4PasLib name 'QWebHistory_back'; procedure QWebHistory_forward(handle: QWebHistoryH); cdecl; external Qt4PasLib name 'QWebHistory_forward'; procedure QWebHistory_goToItem(handle: QWebHistoryH; item: QWebHistoryItemH); cdecl; external Qt4PasLib name 'QWebHistory_goToItem'; procedure QWebHistory_backItem(handle: QWebHistoryH; retval: QWebHistoryItemH); cdecl; external Qt4PasLib name 'QWebHistory_backItem'; procedure QWebHistory_currentItem(handle: QWebHistoryH; retval: QWebHistoryItemH); cdecl; external Qt4PasLib name 'QWebHistory_currentItem'; procedure QWebHistory_forwardItem(handle: QWebHistoryH; retval: QWebHistoryItemH); cdecl; external Qt4PasLib name 'QWebHistory_forwardItem'; procedure QWebHistory_itemAt(handle: QWebHistoryH; retval: QWebHistoryItemH; i: Integer); cdecl; external Qt4PasLib name 'QWebHistory_itemAt'; function QWebHistory_currentItemIndex(handle: QWebHistoryH): Integer; cdecl; external Qt4PasLib name 'QWebHistory_currentItemIndex'; function QWebHistory_count(handle: QWebHistoryH): Integer; cdecl; external Qt4PasLib name 'QWebHistory_count'; function QWebHistory_maximumItemCount(handle: QWebHistoryH): Integer; cdecl; external Qt4PasLib name 'QWebHistory_maximumItemCount'; procedure QWebHistory_setMaximumItemCount(handle: QWebHistoryH; count: Integer); cdecl; external Qt4PasLib name 'QWebHistory_setMaximumItemCount'; procedure QWebHistoryInterface_setDefaultInterface(defaultInterface: QWebHistoryInterfaceH); cdecl; external Qt4PasLib name 'QWebHistoryInterface_setDefaultInterface'; function QWebHistoryInterface_defaultInterface(): QWebHistoryInterfaceH; cdecl; external Qt4PasLib name 'QWebHistoryInterface_defaultInterface'; function QWebHistoryInterface_historyContains(handle: QWebHistoryInterfaceH; url: PWideString): Boolean; cdecl; external Qt4PasLib name 'QWebHistoryInterface_historyContains'; procedure QWebHistoryInterface_addHistoryEntry(handle: QWebHistoryInterfaceH; url: PWideString); cdecl; external Qt4PasLib name 'QWebHistoryInterface_addHistoryEntry'; type QWebPageNavigationType = ( // QWebPage::NavigationType (1) QWebPageNavigationTypeLinkClicked, QWebPageNavigationTypeFormSubmitted, QWebPageNavigationTypeBackOrForward, QWebPageNavigationTypeReload, QWebPageNavigationTypeFormResubmitted, QWebPageNavigationTypeOther ); QWebPageLinkDelegationPolicy = ( // QWebPage::LinkDelegationPolicy (1) QWebPageDontDelegateLinks, QWebPageDelegateExternalLinks, QWebPageDelegateAllLinks ); QWebPageWebWindowType = ( // QWebPage::WebWindowType (1) QWebPageWebBrowserWindow, QWebPageWebModalDialog ); QWebPageExtension = ( // QWebPage::Extension (1) QWebPageChooseMultipleFilesExtension ); QWebPageWebAction = ( //QWebPage::WebAction (2) QWebPageNoWebAction = -1, QWebPageOpenLink, QWebPageOpenLinkInNewWindow, QWebPageOpenFrameInNewWindow, QWebPageDownloadLinkToDisk, QWebPageCopyLinkToClipboard, QWebPageOpenImageInNewWindow, QWebPageDownloadImageToDisk, QWebPageCopyImageToClipboard, QWebPageBack, QWebPageForward, QWebPageStop, QWebPageReload, QWebPageCut, QWebPageCopy, QWebPagePaste, QWebPageUndo, QWebPageRedo, QWebPageMoveToNextChar, QWebPageMoveToPreviousChar, QWebPageMoveToNextWord, QWebPageMoveToPreviousWord, QWebPageMoveToNextLine, QWebPageMoveToPreviousLine, QWebPageMoveToStartOfLine, QWebPageMoveToEndOfLine, QWebPageMoveToStartOfBlock, QWebPageMoveToEndOfBlock, QWebPageMoveToStartOfDocument, QWebPageMoveToEndOfDocument, QWebPageSelectNextChar, QWebPageSelectPreviousChar, QWebPageSelectNextWord, QWebPageSelectPreviousWord, QWebPageSelectNextLine, QWebPageSelectPreviousLine, QWebPageSelectStartOfLine, QWebPageSelectEndOfLine, QWebPageSelectStartOfBlock, QWebPageSelectEndOfBlock, QWebPageSelectStartOfDocument, QWebPageSelectEndOfDocument, QWebPageDeleteStartOfWord, QWebPageDeleteEndOfWord, QWebPageSetTextDirectionDefault, QWebPageSetTextDirectionLeftToRight, QWebPageSetTextDirectionRightToLeft, QWebPageToggleBold, QWebPageToggleItalic, QWebPageToggleUnderline, QWebPageInspectElement, QWebPageInsertParagraphSeparator, QWebPageInsertLineSeparator, QWebPageSelectAll, QWebPageWebActionCount ); type QWebPageFindFlag = cardinal; // QWebPage::FindFlag QWebPageFindFlags = QWebPageFindFlag; //QFlags<> (3) const QWebPageFindBackward = 1; QWebPageFindCaseSensitively = 2; QWebPageFindWrapsAroundDocument = 4; function QWebPage_create(parent: QObjectH = nil): QWebPageH; cdecl; external Qt4PasLib name 'QWebPage_create'; procedure QWebPage_destroy(handle: QWebPageH); cdecl; external Qt4PasLib name 'QWebPage_destroy'; function QWebPage_mainFrame(handle: QWebPageH): QWebFrameH; cdecl; external Qt4PasLib name 'QWebPage_mainFrame'; function QWebPage_currentFrame(handle: QWebPageH): QWebFrameH; cdecl; external Qt4PasLib name 'QWebPage_currentFrame'; function QWebPage_history(handle: QWebPageH): QWebHistoryH; cdecl; external Qt4PasLib name 'QWebPage_history'; function QWebPage_settings(handle: QWebPageH): QWebSettingsH; cdecl; external Qt4PasLib name 'QWebPage_settings'; procedure QWebPage_setView(handle: QWebPageH; view: QWidgetH); cdecl; external Qt4PasLib name 'QWebPage_setView'; function QWebPage_view(handle: QWebPageH): QWidgetH; cdecl; external Qt4PasLib name 'QWebPage_view'; function QWebPage_isModified(handle: QWebPageH): Boolean; cdecl; external Qt4PasLib name 'QWebPage_isModified'; function QWebPage_undoStack(handle: QWebPageH): QUndoStackH; cdecl; external Qt4PasLib name 'QWebPage_undoStack'; procedure QWebPage_setNetworkAccessManager(handle: QWebPageH; manager: QNetworkAccessManagerH); cdecl; external Qt4PasLib name 'QWebPage_setNetworkAccessManager'; function QWebPage_networkAccessManager(handle: QWebPageH): QNetworkAccessManagerH; cdecl; external Qt4PasLib name 'QWebPage_networkAccessManager'; procedure QWebPage_setPluginFactory(handle: QWebPageH; factory: QWebPluginFactoryH); cdecl; external Qt4PasLib name 'QWebPage_setPluginFactory'; function QWebPage_pluginFactory(handle: QWebPageH): QWebPluginFactoryH; cdecl; external Qt4PasLib name 'QWebPage_pluginFactory'; function QWebPage_totalBytes(handle: QWebPageH): qword; cdecl; external Qt4PasLib name 'QWebPage_totalBytes'; function QWebPage_bytesReceived(handle: QWebPageH): qword; cdecl; external Qt4PasLib name 'QWebPage_bytesReceived'; procedure QWebPage_selectedText(handle: QWebPageH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebPage_selectedText'; function QWebPage_action(handle: QWebPageH; action: QWebPageWebAction): QActionH; cdecl; external Qt4PasLib name 'QWebPage_action'; procedure QWebPage_triggerAction(handle: QWebPageH; action: QWebPageWebAction; checked: Boolean = False); cdecl; external Qt4PasLib name 'QWebPage_triggerAction'; procedure QWebPage_viewportSize(handle: QWebPageH; retval: PSize); cdecl; external Qt4PasLib name 'QWebPage_viewportSize'; procedure QWebPage_setViewportSize(handle: QWebPageH; size: PSize); cdecl; external Qt4PasLib name 'QWebPage_setViewportSize'; function QWebPage_event(handle: QWebPageH; AnonParam1: QEventH): Boolean; cdecl; external Qt4PasLib name 'QWebPage_event'; function QWebPage_focusNextPrevChild(handle: QWebPageH; next: Boolean): Boolean; cdecl; external Qt4PasLib name 'QWebPage_focusNextPrevChild'; procedure QWebPage_inputMethodQuery(handle: QWebPageH; retval: QVariantH; _property: QtInputMethodQuery); cdecl; external Qt4PasLib name 'QWebPage_inputMethodQuery'; function QWebPage_findText(handle: QWebPageH; subString: PWideString; options: QWebPageFindFlags = 0): Boolean; cdecl; external Qt4PasLib name 'QWebPage_findText'; procedure QWebPage_setForwardUnsupportedContent(handle: QWebPageH; forward: Boolean); cdecl; external Qt4PasLib name 'QWebPage_setForwardUnsupportedContent'; function QWebPage_forwardUnsupportedContent(handle: QWebPageH): Boolean; cdecl; external Qt4PasLib name 'QWebPage_forwardUnsupportedContent'; procedure QWebPage_setLinkDelegationPolicy(handle: QWebPageH; policy: QWebPageLinkDelegationPolicy); cdecl; external Qt4PasLib name 'QWebPage_setLinkDelegationPolicy'; function QWebPage_linkDelegationPolicy(handle: QWebPageH): QWebPageLinkDelegationPolicy; cdecl; external Qt4PasLib name 'QWebPage_linkDelegationPolicy'; procedure QWebPage_setPalette(handle: QWebPageH; palette: QPaletteH); cdecl; external Qt4PasLib name 'QWebPage_setPalette'; procedure QWebPage_palette(handle: QWebPageH; retval: QPaletteH); cdecl; external Qt4PasLib name 'QWebPage_palette'; procedure QWebPage_setContentEditable(handle: QWebPageH; editable: Boolean); cdecl; external Qt4PasLib name 'QWebPage_setContentEditable'; function QWebPage_isContentEditable(handle: QWebPageH): Boolean; cdecl; external Qt4PasLib name 'QWebPage_isContentEditable'; function QWebPage_swallowContextMenuEvent(handle: QWebPageH; event: QContextMenuEventH): Boolean; cdecl; external Qt4PasLib name 'QWebPage_swallowContextMenuEvent'; procedure QWebPage_updatePositionDependentActions(handle: QWebPageH; pos: PQtPoint); cdecl; external Qt4PasLib name 'QWebPage_updatePositionDependentActions'; function QWebPage_createStandardContextMenu(handle: QWebPageH): QMenuH; cdecl; external Qt4PasLib name 'QWebPage_createStandardContextMenu'; function QWebPage_supportsExtension(handle: QWebPageH; extension: QWebPageExtension): Boolean; cdecl; external Qt4PasLib name 'QWebPage_supportsExtension'; type QWebPage_loadStarted_Event = procedure () of object cdecl; QWebPage_loadProgress_Event = procedure (progress: Integer) of object cdecl; QWebPage_loadFinished_Event = procedure (ok: Boolean) of object cdecl; QWebPage_linkHovered_Event = procedure (link: PWideString; title: PWideString; textContent: PWideString) of object cdecl; QWebPage_statusBarMessage_Event = procedure (text: PWideString) of object cdecl; QWebPage_selectionChanged_Event = procedure () of object cdecl; QWebPage_frameCreated_Event = procedure (frame: QWebFrameH) of object cdecl; QWebPage_geometryChangeRequested_Event = procedure (geom: PRect) of object cdecl; QWebPage_repaintRequested_Event = procedure (dirtyRect: PRect) of object cdecl; QWebPage_scrollRequested_Event = procedure (dx: Integer; dy: Integer; scrollViewRect: PRect) of object cdecl; QWebPage_windowCloseRequested_Event = procedure () of object cdecl; QWebPage_printRequested_Event = procedure (frame: QWebFrameH) of object cdecl; QWebPage_linkClicked_Event = procedure (url: QUrlH) of object cdecl; QWebPage_toolBarVisibilityChangeRequested_Event = procedure (visible: Boolean) of object cdecl; QWebPage_statusBarVisibilityChangeRequested_Event = procedure (visible: Boolean) of object cdecl; QWebPage_menuBarVisibilityChangeRequested_Event = procedure (visible: Boolean) of object cdecl; QWebPage_unsupportedContent_Event = procedure (reply: QNetworkReplyH) of object cdecl; QWebPage_downloadRequested_Event = procedure (request: QNetworkRequestH) of object cdecl; QWebPage_microFocusChanged_Event = procedure () of object cdecl; QWebPage_contentsChanged_Event = procedure () of object cdecl; QWebPage_databaseQuotaExceeded_Event = procedure (frame: QWebFrameH; databaseName: PWideString) of object cdecl; QWebPage_saveFrameStateRequested_Event = procedure (frame: QWebFrameH; item: QWebHistoryItemH) of object cdecl; QWebPage_restoreFrameStateRequested_Event = procedure (frame: QWebFrameH) of object cdecl; function QLCLWebPage_create(parent: QObjectH = nil): QLCLWebPageH; cdecl; external Qt4PasLib name 'QLCLWebPage_create'; procedure QLCLWebPage_destroy(handle: QLCLWebPageH); cdecl; external Qt4PasLib name 'QLCLWebPage_destroy'; procedure QLCLWebPage_override_userAgentForUrl(handle: QLCLWebPageH; hook: QLCLWebPage_userAgentForUrl_Override); cdecl; external Qt4PasLib name 'QLCLWebPage_override_userAgentForUrl'; procedure QLCLWebPage_DefaultUserAgentForUrl(handle: QLCLWebPageH; retval: PWideString; url: QUrlH); cdecl; external Qt4PasLib name 'QLCLWebPage_DefaultUserAgentForUrl'; type QWebSettingsFontFamily = ( // QWebSettings::FontFamily (1) QWebSettingsStandardFont, QWebSettingsFixedFont, QWebSettingsSerifFont, QWebSettingsSansSerifFont, QWebSettingsCursiveFont, QWebSettingsFantasyFont ); QWebSettingsWebAttribute = ( // QWebSettings::WebAttribute (1) QWebSettingsAutoLoadImages, QWebSettingsJavascriptEnabled, QWebSettingsJavaEnabled, QWebSettingsPluginsEnabled, QWebSettingsPrivateBrowsingEnabled, QWebSettingsJavascriptCanOpenWindows, QWebSettingsJavascriptCanAccessClipboard, QWebSettingsDeveloperExtrasEnabled, QWebSettingsLinksIncludedInFocusChain, QWebSettingsZoomTextOnly, QWebSettingsPrintElementBackgrounds, QWebSettingsOfflineStorageDatabaseEnabled, QWebSettingsOfflineWebApplicationCacheEnabled, QWebSettingsLocalStorageDatabaseEnabled ); QWebSettingsWebGraphic = ( // QWebSettings::WebGraphic (1) QWebSettingsMissingImageGraphic, QWebSettingsMissingPluginGraphic, QWebSettingsDefaultFrameIconGraphic, QWebSettingsTextAreaSizeGripCornerGraphic ); QWebSettingsFontSize = ( // QWebSettings::FontSize (1) QWebSettingsMinimumFontSize, QWebSettingsMinimumLogicalFontSize, QWebSettingsDefaultFontSize, QWebSettingsDefaultFixedFontSize ); function QWebSettings_globalSettings(): QWebSettingsH; cdecl; external Qt4PasLib name 'QWebSettings_globalSettings'; procedure QWebSettings_setFontFamily(handle: QWebSettingsH; which: QWebSettingsFontFamily; family: PWideString); cdecl; external Qt4PasLib name 'QWebSettings_setFontFamily'; procedure QWebSettings_fontFamily(handle: QWebSettingsH; retval: PWideString; which: QWebSettingsFontFamily); cdecl; external Qt4PasLib name 'QWebSettings_fontFamily'; procedure QWebSettings_resetFontFamily(handle: QWebSettingsH; which: QWebSettingsFontFamily); cdecl; external Qt4PasLib name 'QWebSettings_resetFontFamily'; procedure QWebSettings_setFontSize(handle: QWebSettingsH; _type: QWebSettingsFontSize; size: Integer); cdecl; external Qt4PasLib name 'QWebSettings_setFontSize'; function QWebSettings_fontSize(handle: QWebSettingsH; _type: QWebSettingsFontSize): Integer; cdecl; external Qt4PasLib name 'QWebSettings_fontSize'; procedure QWebSettings_resetFontSize(handle: QWebSettingsH; _type: QWebSettingsFontSize); cdecl; external Qt4PasLib name 'QWebSettings_resetFontSize'; procedure QWebSettings_setAttribute(handle: QWebSettingsH; attr: QWebSettingsWebAttribute; _on: Boolean); cdecl; external Qt4PasLib name 'QWebSettings_setAttribute'; function QWebSettings_testAttribute(handle: QWebSettingsH; attr: QWebSettingsWebAttribute): Boolean; cdecl; external Qt4PasLib name 'QWebSettings_testAttribute'; procedure QWebSettings_resetAttribute(handle: QWebSettingsH; attr: QWebSettingsWebAttribute); cdecl; external Qt4PasLib name 'QWebSettings_resetAttribute'; procedure QWebSettings_setUserStyleSheetUrl(handle: QWebSettingsH; location: QUrlH); cdecl; external Qt4PasLib name 'QWebSettings_setUserStyleSheetUrl'; procedure QWebSettings_userStyleSheetUrl(handle: QWebSettingsH; retval: QUrlH); cdecl; external Qt4PasLib name 'QWebSettings_userStyleSheetUrl'; procedure QWebSettings_setIconDatabasePath(location: PWideString); cdecl; external Qt4PasLib name 'QWebSettings_setIconDatabasePath'; procedure QWebSettings_iconDatabasePath(retval: PWideString); cdecl; external Qt4PasLib name 'QWebSettings_iconDatabasePath'; procedure QWebSettings_clearIconDatabase(); cdecl; external Qt4PasLib name 'QWebSettings_clearIconDatabase'; procedure QWebSettings_iconForUrl(retval: QIconH; url: QUrlH); cdecl; external Qt4PasLib name 'QWebSettings_iconForUrl'; procedure QWebSettings_setWebGraphic(_type: QWebSettingsWebGraphic; graphic: QPixmapH); cdecl; external Qt4PasLib name 'QWebSettings_setWebGraphic'; procedure QWebSettings_webGraphic(retval: QPixmapH; _type: QWebSettingsWebGraphic); cdecl; external Qt4PasLib name 'QWebSettings_webGraphic'; procedure QWebSettings_setMaximumPagesInCache(pages: Integer); cdecl; external Qt4PasLib name 'QWebSettings_setMaximumPagesInCache'; function QWebSettings_maximumPagesInCache(): Integer; cdecl; external Qt4PasLib name 'QWebSettings_maximumPagesInCache'; procedure QWebSettings_setObjectCacheCapacities(cacheMinDeadCapacity: Integer; cacheMaxDead: Integer; totalCapacity: Integer); cdecl; external Qt4PasLib name 'QWebSettings_setObjectCacheCapacities'; procedure QWebSettings_setOfflineStoragePath(path: PWideString); cdecl; external Qt4PasLib name 'QWebSettings_setOfflineStoragePath'; procedure QWebSettings_offlineStoragePath(retval: PWideString); cdecl; external Qt4PasLib name 'QWebSettings_offlineStoragePath'; procedure QWebSettings_setOfflineStorageDefaultQuota(maximumSize: int64); cdecl; external Qt4PasLib name 'QWebSettings_setOfflineStorageDefaultQuota'; function QWebSettings_offlineStorageDefaultQuota(): int64; cdecl; external Qt4PasLib name 'QWebSettings_offlineStorageDefaultQuota'; function QWebView_create(parent: QWidgetH = nil): QWebViewH; cdecl; external Qt4PasLib name 'QWebView_create'; procedure QWebView_destroy(handle: QWebViewH); cdecl; external Qt4PasLib name 'QWebView_destroy'; function QWebView_page(handle: QWebViewH): QWebPageH; cdecl; external Qt4PasLib name 'QWebView_page'; procedure QWebView_setPage(handle: QWebViewH; page: QWebPageH); cdecl; external Qt4PasLib name 'QWebView_setPage'; procedure QWebView_load(handle: QWebViewH; url: QUrlH); cdecl; external Qt4PasLib name 'QWebView_load'; procedure QWebView_load(handle: QWebViewH; request: QNetworkRequestH; operation: QNetworkAccessManagerOperation = QNetworkAccessManagerGetOperation; body: QByteArrayH = nil); cdecl; external Qt4PasLib name 'QWebView_load2'; procedure QWebView_setHtml(handle: QWebViewH; html: PWideString; baseUrl: QUrlH = nil); cdecl; external Qt4PasLib name 'QWebView_setHtml'; procedure QWebView_setContent(handle: QWebViewH; data: QByteArrayH; mimeType: PWideString = nil; baseUrl: QUrlH = nil); cdecl; external Qt4PasLib name 'QWebView_setContent'; function QWebView_history(handle: QWebViewH): QWebHistoryH; cdecl; external Qt4PasLib name 'QWebView_history'; function QWebView_settings(handle: QWebViewH): QWebSettingsH; cdecl; external Qt4PasLib name 'QWebView_settings'; procedure QWebView_title(handle: QWebViewH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebView_title'; procedure QWebView_setUrl(handle: QWebViewH; url: QUrlH); cdecl; external Qt4PasLib name 'QWebView_setUrl'; procedure QWebView_url(handle: QWebViewH; retval: QUrlH); cdecl; external Qt4PasLib name 'QWebView_url'; procedure QWebView_icon(handle: QWebViewH; retval: QIconH); cdecl; external Qt4PasLib name 'QWebView_icon'; procedure QWebView_selectedText(handle: QWebViewH; retval: PWideString); cdecl; external Qt4PasLib name 'QWebView_selectedText'; function QWebView_pageAction(handle: QWebViewH; action: QWebPageWebAction): QActionH; cdecl; external Qt4PasLib name 'QWebView_pageAction'; procedure QWebView_triggerPageAction(handle: QWebViewH; action: QWebPageWebAction; checked: Boolean = False); cdecl; external Qt4PasLib name 'QWebView_triggerPageAction'; function QWebView_isModified(handle: QWebViewH): Boolean; cdecl; external Qt4PasLib name 'QWebView_isModified'; procedure QWebView_inputMethodQuery(handle: QWebViewH; retval: QVariantH; _property: QtInputMethodQuery); cdecl; external Qt4PasLib name 'QWebView_inputMethodQuery'; procedure QWebView_sizeHint(handle: QWebViewH; retval: PSize); cdecl; external Qt4PasLib name 'QWebView_sizeHint'; function QWebView_zoomFactor(handle: QWebViewH): qreal; cdecl; external Qt4PasLib name 'QWebView_zoomFactor'; procedure QWebView_setZoomFactor(handle: QWebViewH; factor: qreal); cdecl; external Qt4PasLib name 'QWebView_setZoomFactor'; procedure QWebView_setTextSizeMultiplier(handle: QWebViewH; factor: qreal); cdecl; external Qt4PasLib name 'QWebView_setTextSizeMultiplier'; function QWebView_textSizeMultiplier(handle: QWebViewH): qreal; cdecl; external Qt4PasLib name 'QWebView_textSizeMultiplier'; function QWebView_findText(handle: QWebViewH; subString: PWideString; options: QWebPageFindFlags = 0): Boolean; cdecl; external Qt4PasLib name 'QWebView_findText'; function QWebView_event(handle: QWebViewH; AnonParam1: QEventH): Boolean; cdecl; external Qt4PasLib name 'QWebView_event'; procedure QWebView_stop(handle: QWebViewH); cdecl; external Qt4PasLib name 'QWebView_stop'; procedure QWebView_back(handle: QWebViewH); cdecl; external Qt4PasLib name 'QWebView_back'; procedure QWebView_forward(handle: QWebViewH); cdecl; external Qt4PasLib name 'QWebView_forward'; procedure QWebView_reload(handle: QWebViewH); cdecl; external Qt4PasLib name 'QWebView_reload'; procedure QWebView_print(handle: QWebViewH; printer: QPrinterH); cdecl; external Qt4PasLib name 'QWebView_print'; type QWebView_loadStarted_Event = procedure () of object cdecl; QWebView_loadProgress_Event = procedure (progress: Integer) of object cdecl; QWebView_loadFinished_Event = procedure (AnonParam1: Boolean) of object cdecl; QWebView_titleChanged_Event = procedure (title: PWideString) of object cdecl; QWebView_statusBarMessage_Event = procedure (text: PWideString) of object cdecl; QWebView_linkClicked_Event = procedure (url: QUrlH) of object cdecl; QWebView_selectionChanged_Event = procedure () of object cdecl; QWebView_iconChanged_Event = procedure () of object cdecl; QWebView_urlChanged_Event = procedure (url: QUrlH) of object cdecl; function QLCLWebView_create(parent: QWidgetH = nil): QLCLWebViewH; cdecl; external Qt4PasLib name 'QLCLWebView_create'; procedure QLCLWebView_destroy(handle: QLCLWebViewH); cdecl; external Qt4PasLib name 'QLCLWebView_destroy'; procedure QLCLWebView_override_createWindow(handle: QLCLWebViewH; hook: QLCLWebView_createWindow_Override); cdecl; external Qt4PasLib name 'QLCLWebView_override_createWindow'; function QCoreApplication_hook_create(handle: QObjectH): QCoreApplication_hookH; cdecl; external Qt4PasLib name 'QCoreApplication_hook_create'; procedure QCoreApplication_hook_destroy(handle: QCoreApplication_hookH); cdecl; external Qt4PasLib name 'QCoreApplication_hook_destroy'; procedure QCoreApplication_hook_hook_aboutToQuit(handle: QCoreApplication_hookH; hook: QCoreApplication_aboutToQuit_Event); cdecl; external Qt4PasLib name 'QCoreApplication_hook_hook_aboutToQuit'; procedure QCoreApplication_hook_hook_unixSignal(handle: QCoreApplication_hookH; hook: QCoreApplication_unixSignal_Event); cdecl; external Qt4PasLib name 'QCoreApplication_hook_hook_unixSignal'; function QTimer_hook_create(handle: QObjectH): QTimer_hookH; cdecl; external Qt4PasLib name 'QTimer_hook_create'; procedure QTimer_hook_destroy(handle: QTimer_hookH); cdecl; external Qt4PasLib name 'QTimer_hook_destroy'; procedure QTimer_hook_hook_timeout(handle: QTimer_hookH; hook: QTimer_timeout_Event); cdecl; external Qt4PasLib name 'QTimer_hook_hook_timeout'; function QModelIndex_hook_create(handle: QObjectH): QModelIndex_hookH; cdecl; external Qt4PasLib name 'QModelIndex_hook_create'; procedure QModelIndex_hook_destroy(handle: QModelIndex_hookH); cdecl; external Qt4PasLib name 'QModelIndex_hook_destroy'; function QPersistentModelIndex_hook_create(handle: QObjectH): QPersistentModelIndex_hookH; cdecl; external Qt4PasLib name 'QPersistentModelIndex_hook_create'; procedure QPersistentModelIndex_hook_destroy(handle: QPersistentModelIndex_hookH); cdecl; external Qt4PasLib name 'QPersistentModelIndex_hook_destroy'; function QAbstractItemModel_hook_create(handle: QObjectH): QAbstractItemModel_hookH; cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_create'; procedure QAbstractItemModel_hook_destroy(handle: QAbstractItemModel_hookH); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_destroy'; procedure QAbstractItemModel_hook_hook_dataChanged(handle: QAbstractItemModel_hookH; hook: QAbstractItemModel_dataChanged_Event); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_hook_dataChanged'; procedure QAbstractItemModel_hook_hook_headerDataChanged(handle: QAbstractItemModel_hookH; hook: QAbstractItemModel_headerDataChanged_Event); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_hook_headerDataChanged'; procedure QAbstractItemModel_hook_hook_layoutChanged(handle: QAbstractItemModel_hookH; hook: QAbstractItemModel_layoutChanged_Event); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_hook_layoutChanged'; procedure QAbstractItemModel_hook_hook_layoutAboutToBeChanged(handle: QAbstractItemModel_hookH; hook: QAbstractItemModel_layoutAboutToBeChanged_Event); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_hook_layoutAboutToBeChanged'; procedure QAbstractItemModel_hook_hook_rowsAboutToBeInserted(handle: QAbstractItemModel_hookH; hook: QAbstractItemModel_rowsAboutToBeInserted_Event); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_hook_rowsAboutToBeInserted'; procedure QAbstractItemModel_hook_hook_rowsInserted(handle: QAbstractItemModel_hookH; hook: QAbstractItemModel_rowsInserted_Event); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_hook_rowsInserted'; procedure QAbstractItemModel_hook_hook_rowsAboutToBeRemoved(handle: QAbstractItemModel_hookH; hook: QAbstractItemModel_rowsAboutToBeRemoved_Event); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_hook_rowsAboutToBeRemoved'; procedure QAbstractItemModel_hook_hook_rowsRemoved(handle: QAbstractItemModel_hookH; hook: QAbstractItemModel_rowsRemoved_Event); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_hook_rowsRemoved'; procedure QAbstractItemModel_hook_hook_columnsAboutToBeInserted(handle: QAbstractItemModel_hookH; hook: QAbstractItemModel_columnsAboutToBeInserted_Event); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_hook_columnsAboutToBeInserted'; procedure QAbstractItemModel_hook_hook_columnsInserted(handle: QAbstractItemModel_hookH; hook: QAbstractItemModel_columnsInserted_Event); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_hook_columnsInserted'; procedure QAbstractItemModel_hook_hook_columnsAboutToBeRemoved(handle: QAbstractItemModel_hookH; hook: QAbstractItemModel_columnsAboutToBeRemoved_Event); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_hook_columnsAboutToBeRemoved'; procedure QAbstractItemModel_hook_hook_columnsRemoved(handle: QAbstractItemModel_hookH; hook: QAbstractItemModel_columnsRemoved_Event); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_hook_columnsRemoved'; procedure QAbstractItemModel_hook_hook_modelAboutToBeReset(handle: QAbstractItemModel_hookH; hook: QAbstractItemModel_modelAboutToBeReset_Event); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_hook_modelAboutToBeReset'; procedure QAbstractItemModel_hook_hook_modelReset(handle: QAbstractItemModel_hookH; hook: QAbstractItemModel_modelReset_Event); cdecl; external Qt4PasLib name 'QAbstractItemModel_hook_hook_modelReset'; function QAbstractTableModel_hook_create(handle: QObjectH): QAbstractTableModel_hookH; cdecl; external Qt4PasLib name 'QAbstractTableModel_hook_create'; procedure QAbstractTableModel_hook_destroy(handle: QAbstractTableModel_hookH); cdecl; external Qt4PasLib name 'QAbstractTableModel_hook_destroy'; function QAbstractListModel_hook_create(handle: QObjectH): QAbstractListModel_hookH; cdecl; external Qt4PasLib name 'QAbstractListModel_hook_create'; procedure QAbstractListModel_hook_destroy(handle: QAbstractListModel_hookH); cdecl; external Qt4PasLib name 'QAbstractListModel_hook_destroy'; function QSocketNotifier_hook_create(handle: QObjectH): QSocketNotifier_hookH; cdecl; external Qt4PasLib name 'QSocketNotifier_hook_create'; procedure QSocketNotifier_hook_destroy(handle: QSocketNotifier_hookH); cdecl; external Qt4PasLib name 'QSocketNotifier_hook_destroy'; procedure QSocketNotifier_hook_hook_activated(handle: QSocketNotifier_hookH; hook: QSocketNotifier_activated_Event); cdecl; external Qt4PasLib name 'QSocketNotifier_hook_hook_activated'; function QThread_hook_create(handle: QObjectH): QThread_hookH; cdecl; external Qt4PasLib name 'QThread_hook_create'; procedure QThread_hook_destroy(handle: QThread_hookH); cdecl; external Qt4PasLib name 'QThread_hook_destroy'; procedure QThread_hook_hook_started(handle: QThread_hookH; hook: QThread_started_Event); cdecl; external Qt4PasLib name 'QThread_hook_hook_started'; procedure QThread_hook_hook_finished(handle: QThread_hookH; hook: QThread_finished_Event); cdecl; external Qt4PasLib name 'QThread_hook_hook_finished'; procedure QThread_hook_hook_terminated(handle: QThread_hookH; hook: QThread_terminated_Event); cdecl; external Qt4PasLib name 'QThread_hook_hook_terminated'; function QIODevice_hook_create(handle: QObjectH): QIODevice_hookH; cdecl; external Qt4PasLib name 'QIODevice_hook_create'; procedure QIODevice_hook_destroy(handle: QIODevice_hookH); cdecl; external Qt4PasLib name 'QIODevice_hook_destroy'; procedure QIODevice_hook_hook_readyRead(handle: QIODevice_hookH; hook: QIODevice_readyRead_Event); cdecl; external Qt4PasLib name 'QIODevice_hook_hook_readyRead'; procedure QIODevice_hook_hook_bytesWritten(handle: QIODevice_hookH; hook: QIODevice_bytesWritten_Event); cdecl; external Qt4PasLib name 'QIODevice_hook_hook_bytesWritten'; procedure QIODevice_hook_hook_aboutToClose(handle: QIODevice_hookH; hook: QIODevice_aboutToClose_Event); cdecl; external Qt4PasLib name 'QIODevice_hook_hook_aboutToClose'; procedure QIODevice_hook_hook_readChannelFinished(handle: QIODevice_hookH; hook: QIODevice_readChannelFinished_Event); cdecl; external Qt4PasLib name 'QIODevice_hook_hook_readChannelFinished'; function QProcess_hook_create(handle: QObjectH): QProcess_hookH; cdecl; external Qt4PasLib name 'QProcess_hook_create'; procedure QProcess_hook_destroy(handle: QProcess_hookH); cdecl; external Qt4PasLib name 'QProcess_hook_destroy'; procedure QProcess_hook_hook_started(handle: QProcess_hookH; hook: QProcess_started_Event); cdecl; external Qt4PasLib name 'QProcess_hook_hook_started'; procedure QProcess_hook_hook_finished(handle: QProcess_hookH; hook: QProcess_finished_Event); cdecl; external Qt4PasLib name 'QProcess_hook_hook_finished'; procedure QProcess_hook_hook_finished2(handle: QProcess_hookH; hook: QProcess_finished2_Event); cdecl; external Qt4PasLib name 'QProcess_hook_hook_finished2'; procedure QProcess_hook_hook_error(handle: QProcess_hookH; hook: QProcess_error_Event); cdecl; external Qt4PasLib name 'QProcess_hook_hook_error'; procedure QProcess_hook_hook_stateChanged(handle: QProcess_hookH; hook: QProcess_stateChanged_Event); cdecl; external Qt4PasLib name 'QProcess_hook_hook_stateChanged'; procedure QProcess_hook_hook_readyReadStandardOutput(handle: QProcess_hookH; hook: QProcess_readyReadStandardOutput_Event); cdecl; external Qt4PasLib name 'QProcess_hook_hook_readyReadStandardOutput'; procedure QProcess_hook_hook_readyReadStandardError(handle: QProcess_hookH; hook: QProcess_readyReadStandardError_Event); cdecl; external Qt4PasLib name 'QProcess_hook_hook_readyReadStandardError'; function QFileSystemWatcher_hook_create(handle: QObjectH): QFileSystemWatcher_hookH; cdecl; external Qt4PasLib name 'QFileSystemWatcher_hook_create'; procedure QFileSystemWatcher_hook_destroy(handle: QFileSystemWatcher_hookH); cdecl; external Qt4PasLib name 'QFileSystemWatcher_hook_destroy'; procedure QFileSystemWatcher_hook_hook_fileChanged(handle: QFileSystemWatcher_hookH; hook: QFileSystemWatcher_fileChanged_Event); cdecl; external Qt4PasLib name 'QFileSystemWatcher_hook_hook_fileChanged'; procedure QFileSystemWatcher_hook_hook_directoryChanged(handle: QFileSystemWatcher_hookH; hook: QFileSystemWatcher_directoryChanged_Event); cdecl; external Qt4PasLib name 'QFileSystemWatcher_hook_hook_directoryChanged'; function QApplication_hook_create(handle: QObjectH): QApplication_hookH; cdecl; external Qt4PasLib name 'QApplication_hook_create'; procedure QApplication_hook_destroy(handle: QApplication_hookH); cdecl; external Qt4PasLib name 'QApplication_hook_destroy'; procedure QApplication_hook_hook_lastWindowClosed(handle: QApplication_hookH; hook: QApplication_lastWindowClosed_Event); cdecl; external Qt4PasLib name 'QApplication_hook_hook_lastWindowClosed'; procedure QApplication_hook_hook_focusChanged(handle: QApplication_hookH; hook: QApplication_focusChanged_Event); cdecl; external Qt4PasLib name 'QApplication_hook_hook_focusChanged'; procedure QApplication_hook_hook_fontDatabaseChanged(handle: QApplication_hookH; hook: QApplication_fontDatabaseChanged_Event); cdecl; external Qt4PasLib name 'QApplication_hook_hook_fontDatabaseChanged'; {$ifdef BINUX or MSWINDOWS or DARWIN } procedure QApplication_hook_hook_commitDataRequest(handle: QApplication_hookH; hook: QApplication_commitDataRequest_Event); cdecl; external Qt4PasLib name 'QApplication_hook_hook_commitDataRequest'; procedure QApplication_hook_hook_saveStateRequest(handle: QApplication_hookH; hook: QApplication_saveStateRequest_Event); cdecl; external Qt4PasLib name 'QApplication_hook_hook_saveStateRequest'; {$endif} function QWidget_hook_create(handle: QObjectH): QWidget_hookH; cdecl; external Qt4PasLib name 'QWidget_hook_create'; procedure QWidget_hook_destroy(handle: QWidget_hookH); cdecl; external Qt4PasLib name 'QWidget_hook_destroy'; procedure QWidget_hook_hook_customContextMenuRequested(handle: QWidget_hookH; hook: QWidget_customContextMenuRequested_Event); cdecl; external Qt4PasLib name 'QWidget_hook_hook_customContextMenuRequested'; function QLayout_hook_create(handle: QObjectH): QLayout_hookH; cdecl; external Qt4PasLib name 'QLayout_hook_create'; procedure QLayout_hook_destroy(handle: QLayout_hookH); cdecl; external Qt4PasLib name 'QLayout_hook_destroy'; function QStackedLayout_hook_create(handle: QObjectH): QStackedLayout_hookH; cdecl; external Qt4PasLib name 'QStackedLayout_hook_create'; procedure QStackedLayout_hook_destroy(handle: QStackedLayout_hookH); cdecl; external Qt4PasLib name 'QStackedLayout_hook_destroy'; procedure QStackedLayout_hook_hook_widgetRemoved(handle: QStackedLayout_hookH; hook: QStackedLayout_widgetRemoved_Event); cdecl; external Qt4PasLib name 'QStackedLayout_hook_hook_widgetRemoved'; procedure QStackedLayout_hook_hook_currentChanged(handle: QStackedLayout_hookH; hook: QStackedLayout_currentChanged_Event); cdecl; external Qt4PasLib name 'QStackedLayout_hook_hook_currentChanged'; function QAction_hook_create(handle: QObjectH): QAction_hookH; cdecl; external Qt4PasLib name 'QAction_hook_create'; procedure QAction_hook_destroy(handle: QAction_hookH); cdecl; external Qt4PasLib name 'QAction_hook_destroy'; procedure QAction_hook_hook_changed(handle: QAction_hookH; hook: QAction_changed_Event); cdecl; external Qt4PasLib name 'QAction_hook_hook_changed'; procedure QAction_hook_hook_triggered(handle: QAction_hookH; hook: QAction_triggered_Event); cdecl; external Qt4PasLib name 'QAction_hook_hook_triggered'; procedure QAction_hook_hook_triggered2(handle: QAction_hookH; hook: QAction_triggered2_Event); cdecl; external Qt4PasLib name 'QAction_hook_hook_triggered2'; procedure QAction_hook_hook_hovered(handle: QAction_hookH; hook: QAction_hovered_Event); cdecl; external Qt4PasLib name 'QAction_hook_hook_hovered'; procedure QAction_hook_hook_toggled(handle: QAction_hookH; hook: QAction_toggled_Event); cdecl; external Qt4PasLib name 'QAction_hook_hook_toggled'; function QActionGroup_hook_create(handle: QObjectH): QActionGroup_hookH; cdecl; external Qt4PasLib name 'QActionGroup_hook_create'; procedure QActionGroup_hook_destroy(handle: QActionGroup_hookH); cdecl; external Qt4PasLib name 'QActionGroup_hook_destroy'; procedure QActionGroup_hook_hook_triggered(handle: QActionGroup_hookH; hook: QActionGroup_triggered_Event); cdecl; external Qt4PasLib name 'QActionGroup_hook_hook_triggered'; procedure QActionGroup_hook_hook_selected(handle: QActionGroup_hookH; hook: QActionGroup_selected_Event); cdecl; external Qt4PasLib name 'QActionGroup_hook_hook_selected'; procedure QActionGroup_hook_hook_hovered(handle: QActionGroup_hookH; hook: QActionGroup_hovered_Event); cdecl; external Qt4PasLib name 'QActionGroup_hook_hook_hovered'; function QClipboard_hook_create(handle: QObjectH): QClipboard_hookH; cdecl; external Qt4PasLib name 'QClipboard_hook_create'; procedure QClipboard_hook_destroy(handle: QClipboard_hookH); cdecl; external Qt4PasLib name 'QClipboard_hook_destroy'; procedure QClipboard_hook_hook_changed(handle: QClipboard_hookH; hook: QClipboard_changed_Event); cdecl; external Qt4PasLib name 'QClipboard_hook_hook_changed'; procedure QClipboard_hook_hook_selectionChanged(handle: QClipboard_hookH; hook: QClipboard_selectionChanged_Event); cdecl; external Qt4PasLib name 'QClipboard_hook_hook_selectionChanged'; procedure QClipboard_hook_hook_findBufferChanged(handle: QClipboard_hookH; hook: QClipboard_findBufferChanged_Event); cdecl; external Qt4PasLib name 'QClipboard_hook_hook_findBufferChanged'; procedure QClipboard_hook_hook_dataChanged(handle: QClipboard_hookH; hook: QClipboard_dataChanged_Event); cdecl; external Qt4PasLib name 'QClipboard_hook_hook_dataChanged'; function QDesktopWidget_hook_create(handle: QObjectH): QDesktopWidget_hookH; cdecl; external Qt4PasLib name 'QDesktopWidget_hook_create'; procedure QDesktopWidget_hook_destroy(handle: QDesktopWidget_hookH); cdecl; external Qt4PasLib name 'QDesktopWidget_hook_destroy'; procedure QDesktopWidget_hook_hook_resized(handle: QDesktopWidget_hookH; hook: QDesktopWidget_resized_Event); cdecl; external Qt4PasLib name 'QDesktopWidget_hook_hook_resized'; procedure QDesktopWidget_hook_hook_workAreaResized(handle: QDesktopWidget_hookH; hook: QDesktopWidget_workAreaResized_Event); cdecl; external Qt4PasLib name 'QDesktopWidget_hook_hook_workAreaResized'; function QDrag_hook_create(handle: QObjectH): QDrag_hookH; cdecl; external Qt4PasLib name 'QDrag_hook_create'; procedure QDrag_hook_destroy(handle: QDrag_hookH); cdecl; external Qt4PasLib name 'QDrag_hook_destroy'; procedure QDrag_hook_hook_actionChanged(handle: QDrag_hookH; hook: QDrag_actionChanged_Event); cdecl; external Qt4PasLib name 'QDrag_hook_hook_actionChanged'; procedure QDrag_hook_hook_targetChanged(handle: QDrag_hookH; hook: QDrag_targetChanged_Event); cdecl; external Qt4PasLib name 'QDrag_hook_hook_targetChanged'; function QShortcut_hook_create(handle: QObjectH): QShortcut_hookH; cdecl; external Qt4PasLib name 'QShortcut_hook_create'; procedure QShortcut_hook_destroy(handle: QShortcut_hookH); cdecl; external Qt4PasLib name 'QShortcut_hook_destroy'; procedure QShortcut_hook_hook_activated(handle: QShortcut_hookH; hook: QShortcut_activated_Event); cdecl; external Qt4PasLib name 'QShortcut_hook_hook_activated'; procedure QShortcut_hook_hook_activatedAmbiguously(handle: QShortcut_hookH; hook: QShortcut_activatedAmbiguously_Event); cdecl; external Qt4PasLib name 'QShortcut_hook_hook_activatedAmbiguously'; function QAbstractTextDocumentLayout_hook_create(handle: QObjectH): QAbstractTextDocumentLayout_hookH; cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_hook_create'; procedure QAbstractTextDocumentLayout_hook_destroy(handle: QAbstractTextDocumentLayout_hookH); cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_hook_destroy'; procedure QAbstractTextDocumentLayout_hook_hook_update(handle: QAbstractTextDocumentLayout_hookH; hook: QAbstractTextDocumentLayout_update_Event); cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_hook_hook_update'; procedure QAbstractTextDocumentLayout_hook_hook_update2(handle: QAbstractTextDocumentLayout_hookH; hook: QAbstractTextDocumentLayout_update2_Event); cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_hook_hook_update2'; procedure QAbstractTextDocumentLayout_hook_hook_updateBlock(handle: QAbstractTextDocumentLayout_hookH; hook: QAbstractTextDocumentLayout_updateBlock_Event); cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_hook_hook_updateBlock'; procedure QAbstractTextDocumentLayout_hook_hook_documentSizeChanged(handle: QAbstractTextDocumentLayout_hookH; hook: QAbstractTextDocumentLayout_documentSizeChanged_Event); cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_hook_hook_documentSizeChanged'; procedure QAbstractTextDocumentLayout_hook_hook_pageCountChanged(handle: QAbstractTextDocumentLayout_hookH; hook: QAbstractTextDocumentLayout_pageCountChanged_Event); cdecl; external Qt4PasLib name 'QAbstractTextDocumentLayout_hook_hook_pageCountChanged'; function QTextObjectInterface_hook_create(handle: QObjectH): QTextObjectInterface_hookH; cdecl; external Qt4PasLib name 'QTextObjectInterface_hook_create'; procedure QTextObjectInterface_hook_destroy(handle: QTextObjectInterface_hookH); cdecl; external Qt4PasLib name 'QTextObjectInterface_hook_destroy'; function QFrame_hook_create(handle: QObjectH): QFrame_hookH; cdecl; external Qt4PasLib name 'QFrame_hook_create'; procedure QFrame_hook_destroy(handle: QFrame_hookH); cdecl; external Qt4PasLib name 'QFrame_hook_destroy'; function QStackedWidget_hook_create(handle: QObjectH): QStackedWidget_hookH; cdecl; external Qt4PasLib name 'QStackedWidget_hook_create'; procedure QStackedWidget_hook_destroy(handle: QStackedWidget_hookH); cdecl; external Qt4PasLib name 'QStackedWidget_hook_destroy'; procedure QStackedWidget_hook_hook_currentChanged(handle: QStackedWidget_hookH; hook: QStackedWidget_currentChanged_Event); cdecl; external Qt4PasLib name 'QStackedWidget_hook_hook_currentChanged'; procedure QStackedWidget_hook_hook_widgetRemoved(handle: QStackedWidget_hookH; hook: QStackedWidget_widgetRemoved_Event); cdecl; external Qt4PasLib name 'QStackedWidget_hook_hook_widgetRemoved'; function QAbstractScrollArea_hook_create(handle: QObjectH): QAbstractScrollArea_hookH; cdecl; external Qt4PasLib name 'QAbstractScrollArea_hook_create'; procedure QAbstractScrollArea_hook_destroy(handle: QAbstractScrollArea_hookH); cdecl; external Qt4PasLib name 'QAbstractScrollArea_hook_destroy'; function QAbstractSlider_hook_create(handle: QObjectH): QAbstractSlider_hookH; cdecl; external Qt4PasLib name 'QAbstractSlider_hook_create'; procedure QAbstractSlider_hook_destroy(handle: QAbstractSlider_hookH); cdecl; external Qt4PasLib name 'QAbstractSlider_hook_destroy'; procedure QAbstractSlider_hook_hook_valueChanged(handle: QAbstractSlider_hookH; hook: QAbstractSlider_valueChanged_Event); cdecl; external Qt4PasLib name 'QAbstractSlider_hook_hook_valueChanged'; procedure QAbstractSlider_hook_hook_sliderPressed(handle: QAbstractSlider_hookH; hook: QAbstractSlider_sliderPressed_Event); cdecl; external Qt4PasLib name 'QAbstractSlider_hook_hook_sliderPressed'; procedure QAbstractSlider_hook_hook_sliderMoved(handle: QAbstractSlider_hookH; hook: QAbstractSlider_sliderMoved_Event); cdecl; external Qt4PasLib name 'QAbstractSlider_hook_hook_sliderMoved'; procedure QAbstractSlider_hook_hook_sliderReleased(handle: QAbstractSlider_hookH; hook: QAbstractSlider_sliderReleased_Event); cdecl; external Qt4PasLib name 'QAbstractSlider_hook_hook_sliderReleased'; procedure QAbstractSlider_hook_hook_rangeChanged(handle: QAbstractSlider_hookH; hook: QAbstractSlider_rangeChanged_Event); cdecl; external Qt4PasLib name 'QAbstractSlider_hook_hook_rangeChanged'; procedure QAbstractSlider_hook_hook_actionTriggered(handle: QAbstractSlider_hookH; hook: QAbstractSlider_actionTriggered_Event); cdecl; external Qt4PasLib name 'QAbstractSlider_hook_hook_actionTriggered'; function QScrollBar_hook_create(handle: QObjectH): QScrollBar_hookH; cdecl; external Qt4PasLib name 'QScrollBar_hook_create'; procedure QScrollBar_hook_destroy(handle: QScrollBar_hookH); cdecl; external Qt4PasLib name 'QScrollBar_hook_destroy'; function QMenu_hook_create(handle: QObjectH): QMenu_hookH; cdecl; external Qt4PasLib name 'QMenu_hook_create'; procedure QMenu_hook_destroy(handle: QMenu_hookH); cdecl; external Qt4PasLib name 'QMenu_hook_destroy'; procedure QMenu_hook_hook_aboutToShow(handle: QMenu_hookH; hook: QMenu_aboutToShow_Event); cdecl; external Qt4PasLib name 'QMenu_hook_hook_aboutToShow'; procedure QMenu_hook_hook_aboutToHide(handle: QMenu_hookH; hook: QMenu_aboutToHide_Event); cdecl; external Qt4PasLib name 'QMenu_hook_hook_aboutToHide'; procedure QMenu_hook_hook_triggered(handle: QMenu_hookH; hook: QMenu_triggered_Event); cdecl; external Qt4PasLib name 'QMenu_hook_hook_triggered'; procedure QMenu_hook_hook_hovered(handle: QMenu_hookH; hook: QMenu_hovered_Event); cdecl; external Qt4PasLib name 'QMenu_hook_hook_hovered'; function QMenuBar_hook_create(handle: QObjectH): QMenuBar_hookH; cdecl; external Qt4PasLib name 'QMenuBar_hook_create'; procedure QMenuBar_hook_destroy(handle: QMenuBar_hookH); cdecl; external Qt4PasLib name 'QMenuBar_hook_destroy'; procedure QMenuBar_hook_hook_triggered(handle: QMenuBar_hookH; hook: QMenuBar_triggered_Event); cdecl; external Qt4PasLib name 'QMenuBar_hook_hook_triggered'; procedure QMenuBar_hook_hook_hovered(handle: QMenuBar_hookH; hook: QMenuBar_hovered_Event); cdecl; external Qt4PasLib name 'QMenuBar_hook_hook_hovered'; function QButtonGroup_hook_create(handle: QObjectH): QButtonGroup_hookH; cdecl; external Qt4PasLib name 'QButtonGroup_hook_create'; procedure QButtonGroup_hook_destroy(handle: QButtonGroup_hookH); cdecl; external Qt4PasLib name 'QButtonGroup_hook_destroy'; procedure QButtonGroup_hook_hook_buttonClicked(handle: QButtonGroup_hookH; hook: QButtonGroup_buttonClicked_Event); cdecl; external Qt4PasLib name 'QButtonGroup_hook_hook_buttonClicked'; procedure QButtonGroup_hook_hook_buttonClicked2(handle: QButtonGroup_hookH; hook: QButtonGroup_buttonClicked2_Event); cdecl; external Qt4PasLib name 'QButtonGroup_hook_hook_buttonClicked2'; procedure QButtonGroup_hook_hook_buttonPressed(handle: QButtonGroup_hookH; hook: QButtonGroup_buttonPressed_Event); cdecl; external Qt4PasLib name 'QButtonGroup_hook_hook_buttonPressed'; procedure QButtonGroup_hook_hook_buttonPressed2(handle: QButtonGroup_hookH; hook: QButtonGroup_buttonPressed2_Event); cdecl; external Qt4PasLib name 'QButtonGroup_hook_hook_buttonPressed2'; procedure QButtonGroup_hook_hook_buttonReleased(handle: QButtonGroup_hookH; hook: QButtonGroup_buttonReleased_Event); cdecl; external Qt4PasLib name 'QButtonGroup_hook_hook_buttonReleased'; procedure QButtonGroup_hook_hook_buttonReleased2(handle: QButtonGroup_hookH; hook: QButtonGroup_buttonReleased2_Event); cdecl; external Qt4PasLib name 'QButtonGroup_hook_hook_buttonReleased2'; function QAbstractButton_hook_create(handle: QObjectH): QAbstractButton_hookH; cdecl; external Qt4PasLib name 'QAbstractButton_hook_create'; procedure QAbstractButton_hook_destroy(handle: QAbstractButton_hookH); cdecl; external Qt4PasLib name 'QAbstractButton_hook_destroy'; procedure QAbstractButton_hook_hook_pressed(handle: QAbstractButton_hookH; hook: QAbstractButton_pressed_Event); cdecl; external Qt4PasLib name 'QAbstractButton_hook_hook_pressed'; procedure QAbstractButton_hook_hook_released(handle: QAbstractButton_hookH; hook: QAbstractButton_released_Event); cdecl; external Qt4PasLib name 'QAbstractButton_hook_hook_released'; procedure QAbstractButton_hook_hook_clicked(handle: QAbstractButton_hookH; hook: QAbstractButton_clicked_Event); cdecl; external Qt4PasLib name 'QAbstractButton_hook_hook_clicked'; procedure QAbstractButton_hook_hook_clicked2(handle: QAbstractButton_hookH; hook: QAbstractButton_clicked2_Event); cdecl; external Qt4PasLib name 'QAbstractButton_hook_hook_clicked2'; procedure QAbstractButton_hook_hook_toggled(handle: QAbstractButton_hookH; hook: QAbstractButton_toggled_Event); cdecl; external Qt4PasLib name 'QAbstractButton_hook_hook_toggled'; function QPushButton_hook_create(handle: QObjectH): QPushButton_hookH; cdecl; external Qt4PasLib name 'QPushButton_hook_create'; procedure QPushButton_hook_destroy(handle: QPushButton_hookH); cdecl; external Qt4PasLib name 'QPushButton_hook_destroy'; function QLineEdit_hook_create(handle: QObjectH): QLineEdit_hookH; cdecl; external Qt4PasLib name 'QLineEdit_hook_create'; procedure QLineEdit_hook_destroy(handle: QLineEdit_hookH); cdecl; external Qt4PasLib name 'QLineEdit_hook_destroy'; procedure QLineEdit_hook_hook_textChanged(handle: QLineEdit_hookH; hook: QLineEdit_textChanged_Event); cdecl; external Qt4PasLib name 'QLineEdit_hook_hook_textChanged'; procedure QLineEdit_hook_hook_textEdited(handle: QLineEdit_hookH; hook: QLineEdit_textEdited_Event); cdecl; external Qt4PasLib name 'QLineEdit_hook_hook_textEdited'; procedure QLineEdit_hook_hook_cursorPositionChanged(handle: QLineEdit_hookH; hook: QLineEdit_cursorPositionChanged_Event); cdecl; external Qt4PasLib name 'QLineEdit_hook_hook_cursorPositionChanged'; procedure QLineEdit_hook_hook_returnPressed(handle: QLineEdit_hookH; hook: QLineEdit_returnPressed_Event); cdecl; external Qt4PasLib name 'QLineEdit_hook_hook_returnPressed'; procedure QLineEdit_hook_hook_editingFinished(handle: QLineEdit_hookH; hook: QLineEdit_editingFinished_Event); cdecl; external Qt4PasLib name 'QLineEdit_hook_hook_editingFinished'; procedure QLineEdit_hook_hook_selectionChanged(handle: QLineEdit_hookH; hook: QLineEdit_selectionChanged_Event); cdecl; external Qt4PasLib name 'QLineEdit_hook_hook_selectionChanged'; function QPlainTextEdit_hook_create(handle: QObjectH): QPlainTextEdit_hookH; cdecl; external Qt4PasLib name 'QPlainTextEdit_hook_create'; procedure QPlainTextEdit_hook_destroy(handle: QPlainTextEdit_hookH); cdecl; external Qt4PasLib name 'QPlainTextEdit_hook_destroy'; procedure QPlainTextEdit_hook_hook_textChanged(handle: QPlainTextEdit_hookH; hook: QPlainTextEdit_textChanged_Event); cdecl; external Qt4PasLib name 'QPlainTextEdit_hook_hook_textChanged'; procedure QPlainTextEdit_hook_hook_undoAvailable(handle: QPlainTextEdit_hookH; hook: QPlainTextEdit_undoAvailable_Event); cdecl; external Qt4PasLib name 'QPlainTextEdit_hook_hook_undoAvailable'; procedure QPlainTextEdit_hook_hook_redoAvailable(handle: QPlainTextEdit_hookH; hook: QPlainTextEdit_redoAvailable_Event); cdecl; external Qt4PasLib name 'QPlainTextEdit_hook_hook_redoAvailable'; procedure QPlainTextEdit_hook_hook_copyAvailable(handle: QPlainTextEdit_hookH; hook: QPlainTextEdit_copyAvailable_Event); cdecl; external Qt4PasLib name 'QPlainTextEdit_hook_hook_copyAvailable'; procedure QPlainTextEdit_hook_hook_selectionChanged(handle: QPlainTextEdit_hookH; hook: QPlainTextEdit_selectionChanged_Event); cdecl; external Qt4PasLib name 'QPlainTextEdit_hook_hook_selectionChanged'; procedure QPlainTextEdit_hook_hook_cursorPositionChanged(handle: QPlainTextEdit_hookH; hook: QPlainTextEdit_cursorPositionChanged_Event); cdecl; external Qt4PasLib name 'QPlainTextEdit_hook_hook_cursorPositionChanged'; procedure QPlainTextEdit_hook_hook_updateRequest(handle: QPlainTextEdit_hookH; hook: QPlainTextEdit_updateRequest_Event); cdecl; external Qt4PasLib name 'QPlainTextEdit_hook_hook_updateRequest'; procedure QPlainTextEdit_hook_hook_blockCountChanged(handle: QPlainTextEdit_hookH; hook: QPlainTextEdit_blockCountChanged_Event); cdecl; external Qt4PasLib name 'QPlainTextEdit_hook_hook_blockCountChanged'; procedure QPlainTextEdit_hook_hook_modificationChanged(handle: QPlainTextEdit_hookH; hook: QPlainTextEdit_modificationChanged_Event); cdecl; external Qt4PasLib name 'QPlainTextEdit_hook_hook_modificationChanged'; function QPlainTextDocumentLayout_hook_create(handle: QObjectH): QPlainTextDocumentLayout_hookH; cdecl; external Qt4PasLib name 'QPlainTextDocumentLayout_hook_create'; procedure QPlainTextDocumentLayout_hook_destroy(handle: QPlainTextDocumentLayout_hookH); cdecl; external Qt4PasLib name 'QPlainTextDocumentLayout_hook_destroy'; function QTextEdit_hook_create(handle: QObjectH): QTextEdit_hookH; cdecl; external Qt4PasLib name 'QTextEdit_hook_create'; procedure QTextEdit_hook_destroy(handle: QTextEdit_hookH); cdecl; external Qt4PasLib name 'QTextEdit_hook_destroy'; procedure QTextEdit_hook_hook_textChanged(handle: QTextEdit_hookH; hook: QTextEdit_textChanged_Event); cdecl; external Qt4PasLib name 'QTextEdit_hook_hook_textChanged'; procedure QTextEdit_hook_hook_undoAvailable(handle: QTextEdit_hookH; hook: QTextEdit_undoAvailable_Event); cdecl; external Qt4PasLib name 'QTextEdit_hook_hook_undoAvailable'; procedure QTextEdit_hook_hook_redoAvailable(handle: QTextEdit_hookH; hook: QTextEdit_redoAvailable_Event); cdecl; external Qt4PasLib name 'QTextEdit_hook_hook_redoAvailable'; procedure QTextEdit_hook_hook_currentCharFormatChanged(handle: QTextEdit_hookH; hook: QTextEdit_currentCharFormatChanged_Event); cdecl; external Qt4PasLib name 'QTextEdit_hook_hook_currentCharFormatChanged'; procedure QTextEdit_hook_hook_copyAvailable(handle: QTextEdit_hookH; hook: QTextEdit_copyAvailable_Event); cdecl; external Qt4PasLib name 'QTextEdit_hook_hook_copyAvailable'; procedure QTextEdit_hook_hook_selectionChanged(handle: QTextEdit_hookH; hook: QTextEdit_selectionChanged_Event); cdecl; external Qt4PasLib name 'QTextEdit_hook_hook_selectionChanged'; procedure QTextEdit_hook_hook_cursorPositionChanged(handle: QTextEdit_hookH; hook: QTextEdit_cursorPositionChanged_Event); cdecl; external Qt4PasLib name 'QTextEdit_hook_hook_cursorPositionChanged'; function QTabWidget_hook_create(handle: QObjectH): QTabWidget_hookH; cdecl; external Qt4PasLib name 'QTabWidget_hook_create'; procedure QTabWidget_hook_destroy(handle: QTabWidget_hookH); cdecl; external Qt4PasLib name 'QTabWidget_hook_destroy'; procedure QTabWidget_hook_hook_currentChanged(handle: QTabWidget_hookH; hook: QTabWidget_currentChanged_Event); cdecl; external Qt4PasLib name 'QTabWidget_hook_hook_currentChanged'; procedure QTabWidget_hook_hook_tabCloseRequested(handle: QTabWidget_hookH; hook: QTabWidget_tabCloseRequested_Event); cdecl; external Qt4PasLib name 'QTabWidget_hook_hook_tabCloseRequested'; function QMainWindow_hook_create(handle: QObjectH): QMainWindow_hookH; cdecl; external Qt4PasLib name 'QMainWindow_hook_create'; procedure QMainWindow_hook_destroy(handle: QMainWindow_hookH); cdecl; external Qt4PasLib name 'QMainWindow_hook_destroy'; procedure QMainWindow_hook_hook_iconSizeChanged(handle: QMainWindow_hookH; hook: QMainWindow_iconSizeChanged_Event); cdecl; external Qt4PasLib name 'QMainWindow_hook_hook_iconSizeChanged'; procedure QMainWindow_hook_hook_toolButtonStyleChanged(handle: QMainWindow_hookH; hook: QMainWindow_toolButtonStyleChanged_Event); cdecl; external Qt4PasLib name 'QMainWindow_hook_hook_toolButtonStyleChanged'; function QToolBar_hook_create(handle: QObjectH): QToolBar_hookH; cdecl; external Qt4PasLib name 'QToolBar_hook_create'; procedure QToolBar_hook_destroy(handle: QToolBar_hookH); cdecl; external Qt4PasLib name 'QToolBar_hook_destroy'; procedure QToolBar_hook_hook_actionTriggered(handle: QToolBar_hookH; hook: QToolBar_actionTriggered_Event); cdecl; external Qt4PasLib name 'QToolBar_hook_hook_actionTriggered'; procedure QToolBar_hook_hook_movableChanged(handle: QToolBar_hookH; hook: QToolBar_movableChanged_Event); cdecl; external Qt4PasLib name 'QToolBar_hook_hook_movableChanged'; procedure QToolBar_hook_hook_allowedAreasChanged(handle: QToolBar_hookH; hook: QToolBar_allowedAreasChanged_Event); cdecl; external Qt4PasLib name 'QToolBar_hook_hook_allowedAreasChanged'; procedure QToolBar_hook_hook_orientationChanged(handle: QToolBar_hookH; hook: QToolBar_orientationChanged_Event); cdecl; external Qt4PasLib name 'QToolBar_hook_hook_orientationChanged'; procedure QToolBar_hook_hook_iconSizeChanged(handle: QToolBar_hookH; hook: QToolBar_iconSizeChanged_Event); cdecl; external Qt4PasLib name 'QToolBar_hook_hook_iconSizeChanged'; procedure QToolBar_hook_hook_toolButtonStyleChanged(handle: QToolBar_hookH; hook: QToolBar_toolButtonStyleChanged_Event); cdecl; external Qt4PasLib name 'QToolBar_hook_hook_toolButtonStyleChanged'; function QLCDNumber_hook_create(handle: QObjectH): QLCDNumber_hookH; cdecl; external Qt4PasLib name 'QLCDNumber_hook_create'; procedure QLCDNumber_hook_destroy(handle: QLCDNumber_hookH); cdecl; external Qt4PasLib name 'QLCDNumber_hook_destroy'; procedure QLCDNumber_hook_hook_overflow(handle: QLCDNumber_hookH; hook: QLCDNumber_overflow_Event); cdecl; external Qt4PasLib name 'QLCDNumber_hook_hook_overflow'; function QAbstractSpinBox_hook_create(handle: QObjectH): QAbstractSpinBox_hookH; cdecl; external Qt4PasLib name 'QAbstractSpinBox_hook_create'; procedure QAbstractSpinBox_hook_destroy(handle: QAbstractSpinBox_hookH); cdecl; external Qt4PasLib name 'QAbstractSpinBox_hook_destroy'; procedure QAbstractSpinBox_hook_hook_editingFinished(handle: QAbstractSpinBox_hookH; hook: QAbstractSpinBox_editingFinished_Event); cdecl; external Qt4PasLib name 'QAbstractSpinBox_hook_hook_editingFinished'; function QSpinBox_hook_create(handle: QObjectH): QSpinBox_hookH; cdecl; external Qt4PasLib name 'QSpinBox_hook_create'; procedure QSpinBox_hook_destroy(handle: QSpinBox_hookH); cdecl; external Qt4PasLib name 'QSpinBox_hook_destroy'; procedure QSpinBox_hook_hook_valueChanged(handle: QSpinBox_hookH; hook: QSpinBox_valueChanged_Event); cdecl; external Qt4PasLib name 'QSpinBox_hook_hook_valueChanged'; procedure QSpinBox_hook_hook_valueChanged2(handle: QSpinBox_hookH; hook: QSpinBox_valueChanged2_Event); cdecl; external Qt4PasLib name 'QSpinBox_hook_hook_valueChanged2'; function QDoubleSpinBox_hook_create(handle: QObjectH): QDoubleSpinBox_hookH; cdecl; external Qt4PasLib name 'QDoubleSpinBox_hook_create'; procedure QDoubleSpinBox_hook_destroy(handle: QDoubleSpinBox_hookH); cdecl; external Qt4PasLib name 'QDoubleSpinBox_hook_destroy'; procedure QDoubleSpinBox_hook_hook_valueChanged(handle: QDoubleSpinBox_hookH; hook: QDoubleSpinBox_valueChanged_Event); cdecl; external Qt4PasLib name 'QDoubleSpinBox_hook_hook_valueChanged'; procedure QDoubleSpinBox_hook_hook_valueChanged2(handle: QDoubleSpinBox_hookH; hook: QDoubleSpinBox_valueChanged2_Event); cdecl; external Qt4PasLib name 'QDoubleSpinBox_hook_hook_valueChanged2'; function QSplitter_hook_create(handle: QObjectH): QSplitter_hookH; cdecl; external Qt4PasLib name 'QSplitter_hook_create'; procedure QSplitter_hook_destroy(handle: QSplitter_hookH); cdecl; external Qt4PasLib name 'QSplitter_hook_destroy'; procedure QSplitter_hook_hook_splitterMoved(handle: QSplitter_hookH; hook: QSplitter_splitterMoved_Event); cdecl; external Qt4PasLib name 'QSplitter_hook_hook_splitterMoved'; function QSplitterHandle_hook_create(handle: QObjectH): QSplitterHandle_hookH; cdecl; external Qt4PasLib name 'QSplitterHandle_hook_create'; procedure QSplitterHandle_hook_destroy(handle: QSplitterHandle_hookH); cdecl; external Qt4PasLib name 'QSplitterHandle_hook_destroy'; function QComboBox_hook_create(handle: QObjectH): QComboBox_hookH; cdecl; external Qt4PasLib name 'QComboBox_hook_create'; procedure QComboBox_hook_destroy(handle: QComboBox_hookH); cdecl; external Qt4PasLib name 'QComboBox_hook_destroy'; procedure QComboBox_hook_hook_editTextChanged(handle: QComboBox_hookH; hook: QComboBox_editTextChanged_Event); cdecl; external Qt4PasLib name 'QComboBox_hook_hook_editTextChanged'; procedure QComboBox_hook_hook_activated(handle: QComboBox_hookH; hook: QComboBox_activated_Event); cdecl; external Qt4PasLib name 'QComboBox_hook_hook_activated'; procedure QComboBox_hook_hook_activated2(handle: QComboBox_hookH; hook: QComboBox_activated2_Event); cdecl; external Qt4PasLib name 'QComboBox_hook_hook_activated2'; procedure QComboBox_hook_hook_highlighted(handle: QComboBox_hookH; hook: QComboBox_highlighted_Event); cdecl; external Qt4PasLib name 'QComboBox_hook_hook_highlighted'; procedure QComboBox_hook_hook_highlighted2(handle: QComboBox_hookH; hook: QComboBox_highlighted2_Event); cdecl; external Qt4PasLib name 'QComboBox_hook_hook_highlighted2'; procedure QComboBox_hook_hook_currentIndexChanged(handle: QComboBox_hookH; hook: QComboBox_currentIndexChanged_Event); cdecl; external Qt4PasLib name 'QComboBox_hook_hook_currentIndexChanged'; procedure QComboBox_hook_hook_currentIndexChanged2(handle: QComboBox_hookH; hook: QComboBox_currentIndexChanged2_Event); cdecl; external Qt4PasLib name 'QComboBox_hook_hook_currentIndexChanged2'; function QCheckBox_hook_create(handle: QObjectH): QCheckBox_hookH; cdecl; external Qt4PasLib name 'QCheckBox_hook_create'; procedure QCheckBox_hook_destroy(handle: QCheckBox_hookH); cdecl; external Qt4PasLib name 'QCheckBox_hook_destroy'; procedure QCheckBox_hook_hook_stateChanged(handle: QCheckBox_hookH; hook: QCheckBox_stateChanged_Event); cdecl; external Qt4PasLib name 'QCheckBox_hook_hook_stateChanged'; function QSlider_hook_create(handle: QObjectH): QSlider_hookH; cdecl; external Qt4PasLib name 'QSlider_hook_create'; procedure QSlider_hook_destroy(handle: QSlider_hookH); cdecl; external Qt4PasLib name 'QSlider_hook_destroy'; function QTextBrowser_hook_create(handle: QObjectH): QTextBrowser_hookH; cdecl; external Qt4PasLib name 'QTextBrowser_hook_create'; procedure QTextBrowser_hook_destroy(handle: QTextBrowser_hookH); cdecl; external Qt4PasLib name 'QTextBrowser_hook_destroy'; procedure QTextBrowser_hook_hook_backwardAvailable(handle: QTextBrowser_hookH; hook: QTextBrowser_backwardAvailable_Event); cdecl; external Qt4PasLib name 'QTextBrowser_hook_hook_backwardAvailable'; procedure QTextBrowser_hook_hook_forwardAvailable(handle: QTextBrowser_hookH; hook: QTextBrowser_forwardAvailable_Event); cdecl; external Qt4PasLib name 'QTextBrowser_hook_hook_forwardAvailable'; procedure QTextBrowser_hook_hook_historyChanged(handle: QTextBrowser_hookH; hook: QTextBrowser_historyChanged_Event); cdecl; external Qt4PasLib name 'QTextBrowser_hook_hook_historyChanged'; procedure QTextBrowser_hook_hook_sourceChanged(handle: QTextBrowser_hookH; hook: QTextBrowser_sourceChanged_Event); cdecl; external Qt4PasLib name 'QTextBrowser_hook_hook_sourceChanged'; procedure QTextBrowser_hook_hook_highlighted(handle: QTextBrowser_hookH; hook: QTextBrowser_highlighted_Event); cdecl; external Qt4PasLib name 'QTextBrowser_hook_hook_highlighted'; procedure QTextBrowser_hook_hook_highlighted2(handle: QTextBrowser_hookH; hook: QTextBrowser_highlighted2_Event); cdecl; external Qt4PasLib name 'QTextBrowser_hook_hook_highlighted2'; procedure QTextBrowser_hook_hook_anchorClicked(handle: QTextBrowser_hookH; hook: QTextBrowser_anchorClicked_Event); cdecl; external Qt4PasLib name 'QTextBrowser_hook_hook_anchorClicked'; function QLabel_hook_create(handle: QObjectH): QLabel_hookH; cdecl; external Qt4PasLib name 'QLabel_hook_create'; procedure QLabel_hook_destroy(handle: QLabel_hookH); cdecl; external Qt4PasLib name 'QLabel_hook_destroy'; procedure QLabel_hook_hook_linkActivated(handle: QLabel_hookH; hook: QLabel_linkActivated_Event); cdecl; external Qt4PasLib name 'QLabel_hook_hook_linkActivated'; procedure QLabel_hook_hook_linkHovered(handle: QLabel_hookH; hook: QLabel_linkHovered_Event); cdecl; external Qt4PasLib name 'QLabel_hook_hook_linkHovered'; function QGroupBox_hook_create(handle: QObjectH): QGroupBox_hookH; cdecl; external Qt4PasLib name 'QGroupBox_hook_create'; procedure QGroupBox_hook_destroy(handle: QGroupBox_hookH); cdecl; external Qt4PasLib name 'QGroupBox_hook_destroy'; procedure QGroupBox_hook_hook_clicked(handle: QGroupBox_hookH; hook: QGroupBox_clicked_Event); cdecl; external Qt4PasLib name 'QGroupBox_hook_hook_clicked'; procedure QGroupBox_hook_hook_clicked2(handle: QGroupBox_hookH; hook: QGroupBox_clicked2_Event); cdecl; external Qt4PasLib name 'QGroupBox_hook_hook_clicked2'; procedure QGroupBox_hook_hook_toggled(handle: QGroupBox_hookH; hook: QGroupBox_toggled_Event); cdecl; external Qt4PasLib name 'QGroupBox_hook_hook_toggled'; function QDockWidget_hook_create(handle: QObjectH): QDockWidget_hookH; cdecl; external Qt4PasLib name 'QDockWidget_hook_create'; procedure QDockWidget_hook_destroy(handle: QDockWidget_hookH); cdecl; external Qt4PasLib name 'QDockWidget_hook_destroy'; procedure QDockWidget_hook_hook_featuresChanged(handle: QDockWidget_hookH; hook: QDockWidget_featuresChanged_Event); cdecl; external Qt4PasLib name 'QDockWidget_hook_hook_featuresChanged'; procedure QDockWidget_hook_hook_topLevelChanged(handle: QDockWidget_hookH; hook: QDockWidget_topLevelChanged_Event); cdecl; external Qt4PasLib name 'QDockWidget_hook_hook_topLevelChanged'; procedure QDockWidget_hook_hook_allowedAreasChanged(handle: QDockWidget_hookH; hook: QDockWidget_allowedAreasChanged_Event); cdecl; external Qt4PasLib name 'QDockWidget_hook_hook_allowedAreasChanged'; procedure QDockWidget_hook_hook_visibilityChanged(handle: QDockWidget_hookH; hook: QDockWidget_visibilityChanged_Event); cdecl; external Qt4PasLib name 'QDockWidget_hook_hook_visibilityChanged'; procedure QDockWidget_hook_hook_dockLocationChanged(handle: QDockWidget_hookH; hook: QDockWidget_dockLocationChanged_Event); cdecl; external Qt4PasLib name 'QDockWidget_hook_hook_dockLocationChanged'; function QTabBar_hook_create(handle: QObjectH): QTabBar_hookH; cdecl; external Qt4PasLib name 'QTabBar_hook_create'; procedure QTabBar_hook_destroy(handle: QTabBar_hookH); cdecl; external Qt4PasLib name 'QTabBar_hook_destroy'; procedure QTabBar_hook_hook_currentChanged(handle: QTabBar_hookH; hook: QTabBar_currentChanged_Event); cdecl; external Qt4PasLib name 'QTabBar_hook_hook_currentChanged'; procedure QTabBar_hook_hook_tabCloseRequested(handle: QTabBar_hookH; hook: QTabBar_tabCloseRequested_Event); cdecl; external Qt4PasLib name 'QTabBar_hook_hook_tabCloseRequested'; procedure QTabBar_hook_hook_tabMoved(handle: QTabBar_hookH; hook: QTabBar_tabMoved_Event); cdecl; external Qt4PasLib name 'QTabBar_hook_hook_tabMoved'; function QProgressBar_hook_create(handle: QObjectH): QProgressBar_hookH; cdecl; external Qt4PasLib name 'QProgressBar_hook_create'; procedure QProgressBar_hook_destroy(handle: QProgressBar_hookH); cdecl; external Qt4PasLib name 'QProgressBar_hook_destroy'; procedure QProgressBar_hook_hook_valueChanged(handle: QProgressBar_hookH; hook: QProgressBar_valueChanged_Event); cdecl; external Qt4PasLib name 'QProgressBar_hook_hook_valueChanged'; function QStatusBar_hook_create(handle: QObjectH): QStatusBar_hookH; cdecl; external Qt4PasLib name 'QStatusBar_hook_create'; procedure QStatusBar_hook_destroy(handle: QStatusBar_hookH); cdecl; external Qt4PasLib name 'QStatusBar_hook_destroy'; procedure QStatusBar_hook_hook_messageChanged(handle: QStatusBar_hookH; hook: QStatusBar_messageChanged_Event); cdecl; external Qt4PasLib name 'QStatusBar_hook_hook_messageChanged'; function QToolBox_hook_create(handle: QObjectH): QToolBox_hookH; cdecl; external Qt4PasLib name 'QToolBox_hook_create'; procedure QToolBox_hook_destroy(handle: QToolBox_hookH); cdecl; external Qt4PasLib name 'QToolBox_hook_destroy'; procedure QToolBox_hook_hook_currentChanged(handle: QToolBox_hookH; hook: QToolBox_currentChanged_Event); cdecl; external Qt4PasLib name 'QToolBox_hook_hook_currentChanged'; function QToolButton_hook_create(handle: QObjectH): QToolButton_hookH; cdecl; external Qt4PasLib name 'QToolButton_hook_create'; procedure QToolButton_hook_destroy(handle: QToolButton_hookH); cdecl; external Qt4PasLib name 'QToolButton_hook_destroy'; procedure QToolButton_hook_hook_triggered(handle: QToolButton_hookH; hook: QToolButton_triggered_Event); cdecl; external Qt4PasLib name 'QToolButton_hook_hook_triggered'; function QMdiArea_hook_create(handle: QObjectH): QMdiArea_hookH; cdecl; external Qt4PasLib name 'QMdiArea_hook_create'; procedure QMdiArea_hook_destroy(handle: QMdiArea_hookH); cdecl; external Qt4PasLib name 'QMdiArea_hook_destroy'; procedure QMdiArea_hook_hook_subWindowActivated(handle: QMdiArea_hookH; hook: QMdiArea_subWindowActivated_Event); cdecl; external Qt4PasLib name 'QMdiArea_hook_hook_subWindowActivated'; function QMdiSubWindow_hook_create(handle: QObjectH): QMdiSubWindow_hookH; cdecl; external Qt4PasLib name 'QMdiSubWindow_hook_create'; procedure QMdiSubWindow_hook_destroy(handle: QMdiSubWindow_hookH); cdecl; external Qt4PasLib name 'QMdiSubWindow_hook_destroy'; procedure QMdiSubWindow_hook_hook_windowStateChanged(handle: QMdiSubWindow_hookH; hook: QMdiSubWindow_windowStateChanged_Event); cdecl; external Qt4PasLib name 'QMdiSubWindow_hook_hook_windowStateChanged'; procedure QMdiSubWindow_hook_hook_aboutToActivate(handle: QMdiSubWindow_hookH; hook: QMdiSubWindow_aboutToActivate_Event); cdecl; external Qt4PasLib name 'QMdiSubWindow_hook_hook_aboutToActivate'; function QCalendarWidget_hook_create(handle: QObjectH): QCalendarWidget_hookH; cdecl; external Qt4PasLib name 'QCalendarWidget_hook_create'; procedure QCalendarWidget_hook_destroy(handle: QCalendarWidget_hookH); cdecl; external Qt4PasLib name 'QCalendarWidget_hook_destroy'; procedure QCalendarWidget_hook_hook_selectionChanged(handle: QCalendarWidget_hookH; hook: QCalendarWidget_selectionChanged_Event); cdecl; external Qt4PasLib name 'QCalendarWidget_hook_hook_selectionChanged'; procedure QCalendarWidget_hook_hook_clicked(handle: QCalendarWidget_hookH; hook: QCalendarWidget_clicked_Event); cdecl; external Qt4PasLib name 'QCalendarWidget_hook_hook_clicked'; procedure QCalendarWidget_hook_hook_activated(handle: QCalendarWidget_hookH; hook: QCalendarWidget_activated_Event); cdecl; external Qt4PasLib name 'QCalendarWidget_hook_hook_activated'; procedure QCalendarWidget_hook_hook_currentPageChanged(handle: QCalendarWidget_hookH; hook: QCalendarWidget_currentPageChanged_Event); cdecl; external Qt4PasLib name 'QCalendarWidget_hook_hook_currentPageChanged'; function QPrintPreviewWidget_hook_create(handle: QObjectH): QPrintPreviewWidget_hookH; cdecl; external Qt4PasLib name 'QPrintPreviewWidget_hook_create'; procedure QPrintPreviewWidget_hook_destroy(handle: QPrintPreviewWidget_hookH); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_hook_destroy'; procedure QPrintPreviewWidget_hook_hook_paintRequested(handle: QPrintPreviewWidget_hookH; hook: QPrintPreviewWidget_paintRequested_Event); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_hook_hook_paintRequested'; procedure QPrintPreviewWidget_hook_hook_previewChanged(handle: QPrintPreviewWidget_hookH; hook: QPrintPreviewWidget_previewChanged_Event); cdecl; external Qt4PasLib name 'QPrintPreviewWidget_hook_hook_previewChanged'; function QAbstractItemView_hook_create(handle: QObjectH): QAbstractItemView_hookH; cdecl; external Qt4PasLib name 'QAbstractItemView_hook_create'; procedure QAbstractItemView_hook_destroy(handle: QAbstractItemView_hookH); cdecl; external Qt4PasLib name 'QAbstractItemView_hook_destroy'; procedure QAbstractItemView_hook_hook_pressed(handle: QAbstractItemView_hookH; hook: QAbstractItemView_pressed_Event); cdecl; external Qt4PasLib name 'QAbstractItemView_hook_hook_pressed'; procedure QAbstractItemView_hook_hook_clicked(handle: QAbstractItemView_hookH; hook: QAbstractItemView_clicked_Event); cdecl; external Qt4PasLib name 'QAbstractItemView_hook_hook_clicked'; procedure QAbstractItemView_hook_hook_doubleClicked(handle: QAbstractItemView_hookH; hook: QAbstractItemView_doubleClicked_Event); cdecl; external Qt4PasLib name 'QAbstractItemView_hook_hook_doubleClicked'; procedure QAbstractItemView_hook_hook_activated(handle: QAbstractItemView_hookH; hook: QAbstractItemView_activated_Event); cdecl; external Qt4PasLib name 'QAbstractItemView_hook_hook_activated'; procedure QAbstractItemView_hook_hook_entered(handle: QAbstractItemView_hookH; hook: QAbstractItemView_entered_Event); cdecl; external Qt4PasLib name 'QAbstractItemView_hook_hook_entered'; procedure QAbstractItemView_hook_hook_viewportEntered(handle: QAbstractItemView_hookH; hook: QAbstractItemView_viewportEntered_Event); cdecl; external Qt4PasLib name 'QAbstractItemView_hook_hook_viewportEntered'; function QListView_hook_create(handle: QObjectH): QListView_hookH; cdecl; external Qt4PasLib name 'QListView_hook_create'; procedure QListView_hook_destroy(handle: QListView_hookH); cdecl; external Qt4PasLib name 'QListView_hook_destroy'; function QItemSelectionRange_hook_create(handle: QObjectH): QItemSelectionRange_hookH; cdecl; external Qt4PasLib name 'QItemSelectionRange_hook_create'; procedure QItemSelectionRange_hook_destroy(handle: QItemSelectionRange_hookH); cdecl; external Qt4PasLib name 'QItemSelectionRange_hook_destroy'; function QItemSelectionModel_hook_create(handle: QObjectH): QItemSelectionModel_hookH; cdecl; external Qt4PasLib name 'QItemSelectionModel_hook_create'; procedure QItemSelectionModel_hook_destroy(handle: QItemSelectionModel_hookH); cdecl; external Qt4PasLib name 'QItemSelectionModel_hook_destroy'; procedure QItemSelectionModel_hook_hook_currentChanged(handle: QItemSelectionModel_hookH; hook: QItemSelectionModel_currentChanged_Event); cdecl; external Qt4PasLib name 'QItemSelectionModel_hook_hook_currentChanged'; procedure QItemSelectionModel_hook_hook_currentRowChanged(handle: QItemSelectionModel_hookH; hook: QItemSelectionModel_currentRowChanged_Event); cdecl; external Qt4PasLib name 'QItemSelectionModel_hook_hook_currentRowChanged'; procedure QItemSelectionModel_hook_hook_currentColumnChanged(handle: QItemSelectionModel_hookH; hook: QItemSelectionModel_currentColumnChanged_Event); cdecl; external Qt4PasLib name 'QItemSelectionModel_hook_hook_currentColumnChanged'; function QListWidgetItem_hook_create(handle: QObjectH): QListWidgetItem_hookH; cdecl; external Qt4PasLib name 'QListWidgetItem_hook_create'; procedure QListWidgetItem_hook_destroy(handle: QListWidgetItem_hookH); cdecl; external Qt4PasLib name 'QListWidgetItem_hook_destroy'; function QListWidget_hook_create(handle: QObjectH): QListWidget_hookH; cdecl; external Qt4PasLib name 'QListWidget_hook_create'; procedure QListWidget_hook_destroy(handle: QListWidget_hookH); cdecl; external Qt4PasLib name 'QListWidget_hook_destroy'; procedure QListWidget_hook_hook_itemPressed(handle: QListWidget_hookH; hook: QListWidget_itemPressed_Event); cdecl; external Qt4PasLib name 'QListWidget_hook_hook_itemPressed'; procedure QListWidget_hook_hook_itemClicked(handle: QListWidget_hookH; hook: QListWidget_itemClicked_Event); cdecl; external Qt4PasLib name 'QListWidget_hook_hook_itemClicked'; procedure QListWidget_hook_hook_itemDoubleClicked(handle: QListWidget_hookH; hook: QListWidget_itemDoubleClicked_Event); cdecl; external Qt4PasLib name 'QListWidget_hook_hook_itemDoubleClicked'; procedure QListWidget_hook_hook_itemActivated(handle: QListWidget_hookH; hook: QListWidget_itemActivated_Event); cdecl; external Qt4PasLib name 'QListWidget_hook_hook_itemActivated'; procedure QListWidget_hook_hook_itemEntered(handle: QListWidget_hookH; hook: QListWidget_itemEntered_Event); cdecl; external Qt4PasLib name 'QListWidget_hook_hook_itemEntered'; procedure QListWidget_hook_hook_itemChanged(handle: QListWidget_hookH; hook: QListWidget_itemChanged_Event); cdecl; external Qt4PasLib name 'QListWidget_hook_hook_itemChanged'; procedure QListWidget_hook_hook_currentItemChanged(handle: QListWidget_hookH; hook: QListWidget_currentItemChanged_Event); cdecl; external Qt4PasLib name 'QListWidget_hook_hook_currentItemChanged'; procedure QListWidget_hook_hook_currentTextChanged(handle: QListWidget_hookH; hook: QListWidget_currentTextChanged_Event); cdecl; external Qt4PasLib name 'QListWidget_hook_hook_currentTextChanged'; procedure QListWidget_hook_hook_currentRowChanged(handle: QListWidget_hookH; hook: QListWidget_currentRowChanged_Event); cdecl; external Qt4PasLib name 'QListWidget_hook_hook_currentRowChanged'; procedure QListWidget_hook_hook_itemSelectionChanged(handle: QListWidget_hookH; hook: QListWidget_itemSelectionChanged_Event); cdecl; external Qt4PasLib name 'QListWidget_hook_hook_itemSelectionChanged'; function QTreeView_hook_create(handle: QObjectH): QTreeView_hookH; cdecl; external Qt4PasLib name 'QTreeView_hook_create'; procedure QTreeView_hook_destroy(handle: QTreeView_hookH); cdecl; external Qt4PasLib name 'QTreeView_hook_destroy'; procedure QTreeView_hook_hook_expanded(handle: QTreeView_hookH; hook: QTreeView_expanded_Event); cdecl; external Qt4PasLib name 'QTreeView_hook_hook_expanded'; procedure QTreeView_hook_hook_collapsed(handle: QTreeView_hookH; hook: QTreeView_collapsed_Event); cdecl; external Qt4PasLib name 'QTreeView_hook_hook_collapsed'; function QTreeWidgetItem_hook_create(handle: QObjectH): QTreeWidgetItem_hookH; cdecl; external Qt4PasLib name 'QTreeWidgetItem_hook_create'; procedure QTreeWidgetItem_hook_destroy(handle: QTreeWidgetItem_hookH); cdecl; external Qt4PasLib name 'QTreeWidgetItem_hook_destroy'; function QTreeWidget_hook_create(handle: QObjectH): QTreeWidget_hookH; cdecl; external Qt4PasLib name 'QTreeWidget_hook_create'; procedure QTreeWidget_hook_destroy(handle: QTreeWidget_hookH); cdecl; external Qt4PasLib name 'QTreeWidget_hook_destroy'; procedure QTreeWidget_hook_hook_itemPressed(handle: QTreeWidget_hookH; hook: QTreeWidget_itemPressed_Event); cdecl; external Qt4PasLib name 'QTreeWidget_hook_hook_itemPressed'; procedure QTreeWidget_hook_hook_itemClicked(handle: QTreeWidget_hookH; hook: QTreeWidget_itemClicked_Event); cdecl; external Qt4PasLib name 'QTreeWidget_hook_hook_itemClicked'; procedure QTreeWidget_hook_hook_itemDoubleClicked(handle: QTreeWidget_hookH; hook: QTreeWidget_itemDoubleClicked_Event); cdecl; external Qt4PasLib name 'QTreeWidget_hook_hook_itemDoubleClicked'; procedure QTreeWidget_hook_hook_itemActivated(handle: QTreeWidget_hookH; hook: QTreeWidget_itemActivated_Event); cdecl; external Qt4PasLib name 'QTreeWidget_hook_hook_itemActivated'; procedure QTreeWidget_hook_hook_itemEntered(handle: QTreeWidget_hookH; hook: QTreeWidget_itemEntered_Event); cdecl; external Qt4PasLib name 'QTreeWidget_hook_hook_itemEntered'; procedure QTreeWidget_hook_hook_itemChanged(handle: QTreeWidget_hookH; hook: QTreeWidget_itemChanged_Event); cdecl; external Qt4PasLib name 'QTreeWidget_hook_hook_itemChanged'; procedure QTreeWidget_hook_hook_itemExpanded(handle: QTreeWidget_hookH; hook: QTreeWidget_itemExpanded_Event); cdecl; external Qt4PasLib name 'QTreeWidget_hook_hook_itemExpanded'; procedure QTreeWidget_hook_hook_itemCollapsed(handle: QTreeWidget_hookH; hook: QTreeWidget_itemCollapsed_Event); cdecl; external Qt4PasLib name 'QTreeWidget_hook_hook_itemCollapsed'; procedure QTreeWidget_hook_hook_currentItemChanged(handle: QTreeWidget_hookH; hook: QTreeWidget_currentItemChanged_Event); cdecl; external Qt4PasLib name 'QTreeWidget_hook_hook_currentItemChanged'; procedure QTreeWidget_hook_hook_itemSelectionChanged(handle: QTreeWidget_hookH; hook: QTreeWidget_itemSelectionChanged_Event); cdecl; external Qt4PasLib name 'QTreeWidget_hook_hook_itemSelectionChanged'; function QHeaderView_hook_create(handle: QObjectH): QHeaderView_hookH; cdecl; external Qt4PasLib name 'QHeaderView_hook_create'; procedure QHeaderView_hook_destroy(handle: QHeaderView_hookH); cdecl; external Qt4PasLib name 'QHeaderView_hook_destroy'; procedure QHeaderView_hook_hook_sectionMoved(handle: QHeaderView_hookH; hook: QHeaderView_sectionMoved_Event); cdecl; external Qt4PasLib name 'QHeaderView_hook_hook_sectionMoved'; procedure QHeaderView_hook_hook_sectionResized(handle: QHeaderView_hookH; hook: QHeaderView_sectionResized_Event); cdecl; external Qt4PasLib name 'QHeaderView_hook_hook_sectionResized'; procedure QHeaderView_hook_hook_sectionPressed(handle: QHeaderView_hookH; hook: QHeaderView_sectionPressed_Event); cdecl; external Qt4PasLib name 'QHeaderView_hook_hook_sectionPressed'; procedure QHeaderView_hook_hook_sectionClicked(handle: QHeaderView_hookH; hook: QHeaderView_sectionClicked_Event); cdecl; external Qt4PasLib name 'QHeaderView_hook_hook_sectionClicked'; procedure QHeaderView_hook_hook_sectionEntered(handle: QHeaderView_hookH; hook: QHeaderView_sectionEntered_Event); cdecl; external Qt4PasLib name 'QHeaderView_hook_hook_sectionEntered'; procedure QHeaderView_hook_hook_sectionDoubleClicked(handle: QHeaderView_hookH; hook: QHeaderView_sectionDoubleClicked_Event); cdecl; external Qt4PasLib name 'QHeaderView_hook_hook_sectionDoubleClicked'; procedure QHeaderView_hook_hook_sectionCountChanged(handle: QHeaderView_hookH; hook: QHeaderView_sectionCountChanged_Event); cdecl; external Qt4PasLib name 'QHeaderView_hook_hook_sectionCountChanged'; procedure QHeaderView_hook_hook_sectionHandleDoubleClicked(handle: QHeaderView_hookH; hook: QHeaderView_sectionHandleDoubleClicked_Event); cdecl; external Qt4PasLib name 'QHeaderView_hook_hook_sectionHandleDoubleClicked'; procedure QHeaderView_hook_hook_sectionAutoResize(handle: QHeaderView_hookH; hook: QHeaderView_sectionAutoResize_Event); cdecl; external Qt4PasLib name 'QHeaderView_hook_hook_sectionAutoResize'; procedure QHeaderView_hook_hook_geometriesChanged(handle: QHeaderView_hookH; hook: QHeaderView_geometriesChanged_Event); cdecl; external Qt4PasLib name 'QHeaderView_hook_hook_geometriesChanged'; procedure QHeaderView_hook_hook_sortIndicatorChanged(handle: QHeaderView_hookH; hook: QHeaderView_sortIndicatorChanged_Event); cdecl; external Qt4PasLib name 'QHeaderView_hook_hook_sortIndicatorChanged'; function QStandardItem_hook_create(handle: QObjectH): QStandardItem_hookH; cdecl; external Qt4PasLib name 'QStandardItem_hook_create'; procedure QStandardItem_hook_destroy(handle: QStandardItem_hookH); cdecl; external Qt4PasLib name 'QStandardItem_hook_destroy'; function QStandardItemModel_hook_create(handle: QObjectH): QStandardItemModel_hookH; cdecl; external Qt4PasLib name 'QStandardItemModel_hook_create'; procedure QStandardItemModel_hook_destroy(handle: QStandardItemModel_hookH); cdecl; external Qt4PasLib name 'QStandardItemModel_hook_destroy'; procedure QStandardItemModel_hook_hook_itemChanged(handle: QStandardItemModel_hookH; hook: QStandardItemModel_itemChanged_Event); cdecl; external Qt4PasLib name 'QStandardItemModel_hook_hook_itemChanged'; function QAbstractItemDelegate_hook_create(handle: QObjectH): QAbstractItemDelegate_hookH; cdecl; external Qt4PasLib name 'QAbstractItemDelegate_hook_create'; procedure QAbstractItemDelegate_hook_destroy(handle: QAbstractItemDelegate_hookH); cdecl; external Qt4PasLib name 'QAbstractItemDelegate_hook_destroy'; procedure QAbstractItemDelegate_hook_hook_commitData(handle: QAbstractItemDelegate_hookH; hook: QAbstractItemDelegate_commitData_Event); cdecl; external Qt4PasLib name 'QAbstractItemDelegate_hook_hook_commitData'; procedure QAbstractItemDelegate_hook_hook_closeEditor(handle: QAbstractItemDelegate_hookH; hook: QAbstractItemDelegate_closeEditor_Event); cdecl; external Qt4PasLib name 'QAbstractItemDelegate_hook_hook_closeEditor'; procedure QAbstractItemDelegate_hook_hook_closeEditor2(handle: QAbstractItemDelegate_hookH; hook: QAbstractItemDelegate_closeEditor2_Event); cdecl; external Qt4PasLib name 'QAbstractItemDelegate_hook_hook_closeEditor2'; procedure QAbstractItemDelegate_hook_hook_sizeHintChanged(handle: QAbstractItemDelegate_hookH; hook: QAbstractItemDelegate_sizeHintChanged_Event); cdecl; external Qt4PasLib name 'QAbstractItemDelegate_hook_hook_sizeHintChanged'; function QTableView_hook_create(handle: QObjectH): QTableView_hookH; cdecl; external Qt4PasLib name 'QTableView_hook_create'; procedure QTableView_hook_destroy(handle: QTableView_hookH); cdecl; external Qt4PasLib name 'QTableView_hook_destroy'; function QTableWidgetSelectionRange_hook_create(handle: QObjectH): QTableWidgetSelectionRange_hookH; cdecl; external Qt4PasLib name 'QTableWidgetSelectionRange_hook_create'; procedure QTableWidgetSelectionRange_hook_destroy(handle: QTableWidgetSelectionRange_hookH); cdecl; external Qt4PasLib name 'QTableWidgetSelectionRange_hook_destroy'; function QTableWidgetItem_hook_create(handle: QObjectH): QTableWidgetItem_hookH; cdecl; external Qt4PasLib name 'QTableWidgetItem_hook_create'; procedure QTableWidgetItem_hook_destroy(handle: QTableWidgetItem_hookH); cdecl; external Qt4PasLib name 'QTableWidgetItem_hook_destroy'; function QTableWidget_hook_create(handle: QObjectH): QTableWidget_hookH; cdecl; external Qt4PasLib name 'QTableWidget_hook_create'; procedure QTableWidget_hook_destroy(handle: QTableWidget_hookH); cdecl; external Qt4PasLib name 'QTableWidget_hook_destroy'; procedure QTableWidget_hook_hook_itemPressed(handle: QTableWidget_hookH; hook: QTableWidget_itemPressed_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_itemPressed'; procedure QTableWidget_hook_hook_itemClicked(handle: QTableWidget_hookH; hook: QTableWidget_itemClicked_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_itemClicked'; procedure QTableWidget_hook_hook_itemDoubleClicked(handle: QTableWidget_hookH; hook: QTableWidget_itemDoubleClicked_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_itemDoubleClicked'; procedure QTableWidget_hook_hook_itemActivated(handle: QTableWidget_hookH; hook: QTableWidget_itemActivated_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_itemActivated'; procedure QTableWidget_hook_hook_itemEntered(handle: QTableWidget_hookH; hook: QTableWidget_itemEntered_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_itemEntered'; procedure QTableWidget_hook_hook_itemChanged(handle: QTableWidget_hookH; hook: QTableWidget_itemChanged_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_itemChanged'; procedure QTableWidget_hook_hook_currentItemChanged(handle: QTableWidget_hookH; hook: QTableWidget_currentItemChanged_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_currentItemChanged'; procedure QTableWidget_hook_hook_itemSelectionChanged(handle: QTableWidget_hookH; hook: QTableWidget_itemSelectionChanged_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_itemSelectionChanged'; procedure QTableWidget_hook_hook_cellPressed(handle: QTableWidget_hookH; hook: QTableWidget_cellPressed_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_cellPressed'; procedure QTableWidget_hook_hook_cellClicked(handle: QTableWidget_hookH; hook: QTableWidget_cellClicked_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_cellClicked'; procedure QTableWidget_hook_hook_cellDoubleClicked(handle: QTableWidget_hookH; hook: QTableWidget_cellDoubleClicked_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_cellDoubleClicked'; procedure QTableWidget_hook_hook_cellActivated(handle: QTableWidget_hookH; hook: QTableWidget_cellActivated_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_cellActivated'; procedure QTableWidget_hook_hook_cellEntered(handle: QTableWidget_hookH; hook: QTableWidget_cellEntered_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_cellEntered'; procedure QTableWidget_hook_hook_cellChanged(handle: QTableWidget_hookH; hook: QTableWidget_cellChanged_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_cellChanged'; procedure QTableWidget_hook_hook_currentCellChanged(handle: QTableWidget_hookH; hook: QTableWidget_currentCellChanged_Event); cdecl; external Qt4PasLib name 'QTableWidget_hook_hook_currentCellChanged'; function QDialog_hook_create(handle: QObjectH): QDialog_hookH; cdecl; external Qt4PasLib name 'QDialog_hook_create'; procedure QDialog_hook_destroy(handle: QDialog_hookH); cdecl; external Qt4PasLib name 'QDialog_hook_destroy'; procedure QDialog_hook_hook_finished(handle: QDialog_hookH; hook: QDialog_finished_Event); cdecl; external Qt4PasLib name 'QDialog_hook_hook_finished'; procedure QDialog_hook_hook_accepted(handle: QDialog_hookH; hook: QDialog_accepted_Event); cdecl; external Qt4PasLib name 'QDialog_hook_hook_accepted'; procedure QDialog_hook_hook_rejected(handle: QDialog_hookH; hook: QDialog_rejected_Event); cdecl; external Qt4PasLib name 'QDialog_hook_hook_rejected'; function QFileDialog_hook_create(handle: QObjectH): QFileDialog_hookH; cdecl; external Qt4PasLib name 'QFileDialog_hook_create'; procedure QFileDialog_hook_destroy(handle: QFileDialog_hookH); cdecl; external Qt4PasLib name 'QFileDialog_hook_destroy'; procedure QFileDialog_hook_hook_fileSelected(handle: QFileDialog_hookH; hook: QFileDialog_fileSelected_Event); cdecl; external Qt4PasLib name 'QFileDialog_hook_hook_fileSelected'; procedure QFileDialog_hook_hook_filesSelected(handle: QFileDialog_hookH; hook: QFileDialog_filesSelected_Event); cdecl; external Qt4PasLib name 'QFileDialog_hook_hook_filesSelected'; procedure QFileDialog_hook_hook_currentChanged(handle: QFileDialog_hookH; hook: QFileDialog_currentChanged_Event); cdecl; external Qt4PasLib name 'QFileDialog_hook_hook_currentChanged'; procedure QFileDialog_hook_hook_directoryEntered(handle: QFileDialog_hookH; hook: QFileDialog_directoryEntered_Event); cdecl; external Qt4PasLib name 'QFileDialog_hook_hook_directoryEntered'; procedure QFileDialog_hook_hook_filterSelected(handle: QFileDialog_hookH; hook: QFileDialog_filterSelected_Event); cdecl; external Qt4PasLib name 'QFileDialog_hook_hook_filterSelected'; function QProgressDialog_hook_create(handle: QObjectH): QProgressDialog_hookH; cdecl; external Qt4PasLib name 'QProgressDialog_hook_create'; procedure QProgressDialog_hook_destroy(handle: QProgressDialog_hookH); cdecl; external Qt4PasLib name 'QProgressDialog_hook_destroy'; procedure QProgressDialog_hook_hook_canceled(handle: QProgressDialog_hookH; hook: QProgressDialog_canceled_Event); cdecl; external Qt4PasLib name 'QProgressDialog_hook_hook_canceled'; function QAbstractPrintDialog_hook_create(handle: QObjectH): QAbstractPrintDialog_hookH; cdecl; external Qt4PasLib name 'QAbstractPrintDialog_hook_create'; procedure QAbstractPrintDialog_hook_destroy(handle: QAbstractPrintDialog_hookH); cdecl; external Qt4PasLib name 'QAbstractPrintDialog_hook_destroy'; function QPrintDialog_hook_create(handle: QObjectH): QPrintDialog_hookH; cdecl; external Qt4PasLib name 'QPrintDialog_hook_create'; procedure QPrintDialog_hook_destroy(handle: QPrintDialog_hookH); cdecl; external Qt4PasLib name 'QPrintDialog_hook_destroy'; procedure QPrintDialog_hook_hook_accepted(handle: QPrintDialog_hookH; hook: QPrintDialog_accepted_Event); cdecl; external Qt4PasLib name 'QPrintDialog_hook_hook_accepted'; function QPrintPreviewDialog_hook_create(handle: QObjectH): QPrintPreviewDialog_hookH; cdecl; external Qt4PasLib name 'QPrintPreviewDialog_hook_create'; procedure QPrintPreviewDialog_hook_destroy(handle: QPrintPreviewDialog_hookH); cdecl; external Qt4PasLib name 'QPrintPreviewDialog_hook_destroy'; procedure QPrintPreviewDialog_hook_hook_paintRequested(handle: QPrintPreviewDialog_hookH; hook: QPrintPreviewDialog_paintRequested_Event); cdecl; external Qt4PasLib name 'QPrintPreviewDialog_hook_hook_paintRequested'; function QSystemTrayIcon_hook_create(handle: QObjectH): QSystemTrayIcon_hookH; cdecl; external Qt4PasLib name 'QSystemTrayIcon_hook_create'; procedure QSystemTrayIcon_hook_destroy(handle: QSystemTrayIcon_hookH); cdecl; external Qt4PasLib name 'QSystemTrayIcon_hook_destroy'; procedure QSystemTrayIcon_hook_hook_activated(handle: QSystemTrayIcon_hookH; hook: QSystemTrayIcon_activated_Event); cdecl; external Qt4PasLib name 'QSystemTrayIcon_hook_hook_activated'; procedure QSystemTrayIcon_hook_hook_messageClicked(handle: QSystemTrayIcon_hookH; hook: QSystemTrayIcon_messageClicked_Event); cdecl; external Qt4PasLib name 'QSystemTrayIcon_hook_hook_messageClicked'; function QGraphicsScene_hook_create(handle: QObjectH): QGraphicsScene_hookH; cdecl; external Qt4PasLib name 'QGraphicsScene_hook_create'; procedure QGraphicsScene_hook_destroy(handle: QGraphicsScene_hookH); cdecl; external Qt4PasLib name 'QGraphicsScene_hook_destroy'; procedure QGraphicsScene_hook_hook_sceneRectChanged(handle: QGraphicsScene_hookH; hook: QGraphicsScene_sceneRectChanged_Event); cdecl; external Qt4PasLib name 'QGraphicsScene_hook_hook_sceneRectChanged'; procedure QGraphicsScene_hook_hook_selectionChanged(handle: QGraphicsScene_hookH; hook: QGraphicsScene_selectionChanged_Event); cdecl; external Qt4PasLib name 'QGraphicsScene_hook_hook_selectionChanged'; function QAbstractSocket_hook_create(handle: QObjectH): QAbstractSocket_hookH; cdecl; external Qt4PasLib name 'QAbstractSocket_hook_create'; procedure QAbstractSocket_hook_destroy(handle: QAbstractSocket_hookH); cdecl; external Qt4PasLib name 'QAbstractSocket_hook_destroy'; procedure QAbstractSocket_hook_hook_hostFound(handle: QAbstractSocket_hookH; hook: QAbstractSocket_hostFound_Event); cdecl; external Qt4PasLib name 'QAbstractSocket_hook_hook_hostFound'; procedure QAbstractSocket_hook_hook_connected(handle: QAbstractSocket_hookH; hook: QAbstractSocket_connected_Event); cdecl; external Qt4PasLib name 'QAbstractSocket_hook_hook_connected'; procedure QAbstractSocket_hook_hook_disconnected(handle: QAbstractSocket_hookH; hook: QAbstractSocket_disconnected_Event); cdecl; external Qt4PasLib name 'QAbstractSocket_hook_hook_disconnected'; procedure QAbstractSocket_hook_hook_stateChanged(handle: QAbstractSocket_hookH; hook: QAbstractSocket_stateChanged_Event); cdecl; external Qt4PasLib name 'QAbstractSocket_hook_hook_stateChanged'; procedure QAbstractSocket_hook_hook_error(handle: QAbstractSocket_hookH; hook: QAbstractSocket_error_Event); cdecl; external Qt4PasLib name 'QAbstractSocket_hook_hook_error'; procedure QAbstractSocket_hook_hook_proxyAuthenticationRequired(handle: QAbstractSocket_hookH; hook: QAbstractSocket_proxyAuthenticationRequired_Event); cdecl; external Qt4PasLib name 'QAbstractSocket_hook_hook_proxyAuthenticationRequired'; function QUdpSocket_hook_create(handle: QObjectH): QUdpSocket_hookH; cdecl; external Qt4PasLib name 'QUdpSocket_hook_create'; procedure QUdpSocket_hook_destroy(handle: QUdpSocket_hookH); cdecl; external Qt4PasLib name 'QUdpSocket_hook_destroy'; function QTcpSocket_hook_create(handle: QObjectH): QTcpSocket_hookH; cdecl; external Qt4PasLib name 'QTcpSocket_hook_create'; procedure QTcpSocket_hook_destroy(handle: QTcpSocket_hookH); cdecl; external Qt4PasLib name 'QTcpSocket_hook_destroy'; function QTcpServer_hook_create(handle: QObjectH): QTcpServer_hookH; cdecl; external Qt4PasLib name 'QTcpServer_hook_create'; procedure QTcpServer_hook_destroy(handle: QTcpServer_hookH); cdecl; external Qt4PasLib name 'QTcpServer_hook_destroy'; procedure QTcpServer_hook_hook_newConnection(handle: QTcpServer_hookH; hook: QTcpServer_newConnection_Event); cdecl; external Qt4PasLib name 'QTcpServer_hook_hook_newConnection'; function QNetworkAccessManager_hook_create(handle: QObjectH): QNetworkAccessManager_hookH; cdecl; external Qt4PasLib name 'QNetworkAccessManager_hook_create'; procedure QNetworkAccessManager_hook_destroy(handle: QNetworkAccessManager_hookH); cdecl; external Qt4PasLib name 'QNetworkAccessManager_hook_destroy'; procedure QNetworkAccessManager_hook_hook_proxyAuthenticationRequired(handle: QNetworkAccessManager_hookH; hook: QNetworkAccessManager_proxyAuthenticationRequired_Event); cdecl; external Qt4PasLib name 'QNetworkAccessManager_hook_hook_proxyAuthenticationRequired'; procedure QNetworkAccessManager_hook_hook_authenticationRequired(handle: QNetworkAccessManager_hookH; hook: QNetworkAccessManager_authenticationRequired_Event); cdecl; external Qt4PasLib name 'QNetworkAccessManager_hook_hook_authenticationRequired'; procedure QNetworkAccessManager_hook_hook_finished(handle: QNetworkAccessManager_hookH; hook: QNetworkAccessManager_finished_Event); cdecl; external Qt4PasLib name 'QNetworkAccessManager_hook_hook_finished'; function QNetworkReply_hook_create(handle: QObjectH): QNetworkReply_hookH; cdecl; external Qt4PasLib name 'QNetworkReply_hook_create'; procedure QNetworkReply_hook_destroy(handle: QNetworkReply_hookH); cdecl; external Qt4PasLib name 'QNetworkReply_hook_destroy'; procedure QNetworkReply_hook_hook_metaDataChanged(handle: QNetworkReply_hookH; hook: QNetworkReply_metaDataChanged_Event); cdecl; external Qt4PasLib name 'QNetworkReply_hook_hook_metaDataChanged'; procedure QNetworkReply_hook_hook_finished(handle: QNetworkReply_hookH; hook: QNetworkReply_finished_Event); cdecl; external Qt4PasLib name 'QNetworkReply_hook_hook_finished'; procedure QNetworkReply_hook_hook_error(handle: QNetworkReply_hookH; hook: QNetworkReply_error_Event); cdecl; external Qt4PasLib name 'QNetworkReply_hook_hook_error'; procedure QNetworkReply_hook_hook_uploadProgress(handle: QNetworkReply_hookH; hook: QNetworkReply_uploadProgress_Event); cdecl; external Qt4PasLib name 'QNetworkReply_hook_hook_uploadProgress'; procedure QNetworkReply_hook_hook_downloadProgress(handle: QNetworkReply_hookH; hook: QNetworkReply_downloadProgress_Event); cdecl; external Qt4PasLib name 'QNetworkReply_hook_hook_downloadProgress'; function QWebHitTestResult_hook_create(handle: QObjectH): QWebHitTestResult_hookH; cdecl; external Qt4PasLib name 'QWebHitTestResult_hook_create'; procedure QWebHitTestResult_hook_destroy(handle: QWebHitTestResult_hookH); cdecl; external Qt4PasLib name 'QWebHitTestResult_hook_destroy'; function QWebFrame_hook_create(handle: QObjectH): QWebFrame_hookH; cdecl; external Qt4PasLib name 'QWebFrame_hook_create'; procedure QWebFrame_hook_destroy(handle: QWebFrame_hookH); cdecl; external Qt4PasLib name 'QWebFrame_hook_destroy'; procedure QWebFrame_hook_hook_javaScriptWindowObjectCleared(handle: QWebFrame_hookH; hook: QWebFrame_javaScriptWindowObjectCleared_Event); cdecl; external Qt4PasLib name 'QWebFrame_hook_hook_javaScriptWindowObjectCleared'; procedure QWebFrame_hook_hook_provisionalLoad(handle: QWebFrame_hookH; hook: QWebFrame_provisionalLoad_Event); cdecl; external Qt4PasLib name 'QWebFrame_hook_hook_provisionalLoad'; procedure QWebFrame_hook_hook_titleChanged(handle: QWebFrame_hookH; hook: QWebFrame_titleChanged_Event); cdecl; external Qt4PasLib name 'QWebFrame_hook_hook_titleChanged'; procedure QWebFrame_hook_hook_urlChanged(handle: QWebFrame_hookH; hook: QWebFrame_urlChanged_Event); cdecl; external Qt4PasLib name 'QWebFrame_hook_hook_urlChanged'; procedure QWebFrame_hook_hook_initialLayoutCompleted(handle: QWebFrame_hookH; hook: QWebFrame_initialLayoutCompleted_Event); cdecl; external Qt4PasLib name 'QWebFrame_hook_hook_initialLayoutCompleted'; procedure QWebFrame_hook_hook_iconChanged(handle: QWebFrame_hookH; hook: QWebFrame_iconChanged_Event); cdecl; external Qt4PasLib name 'QWebFrame_hook_hook_iconChanged'; function QWebSecurityOrigin_hook_create(handle: QObjectH): QWebSecurityOrigin_hookH; cdecl; external Qt4PasLib name 'QWebSecurityOrigin_hook_create'; procedure QWebSecurityOrigin_hook_destroy(handle: QWebSecurityOrigin_hookH); cdecl; external Qt4PasLib name 'QWebSecurityOrigin_hook_destroy'; function QWebDatabase_hook_create(handle: QObjectH): QWebDatabase_hookH; cdecl; external Qt4PasLib name 'QWebDatabase_hook_create'; procedure QWebDatabase_hook_destroy(handle: QWebDatabase_hookH); cdecl; external Qt4PasLib name 'QWebDatabase_hook_destroy'; function QWebHistoryItem_hook_create(handle: QObjectH): QWebHistoryItem_hookH; cdecl; external Qt4PasLib name 'QWebHistoryItem_hook_create'; procedure QWebHistoryItem_hook_destroy(handle: QWebHistoryItem_hookH); cdecl; external Qt4PasLib name 'QWebHistoryItem_hook_destroy'; function QWebHistory_hook_create(handle: QObjectH): QWebHistory_hookH; cdecl; external Qt4PasLib name 'QWebHistory_hook_create'; procedure QWebHistory_hook_destroy(handle: QWebHistory_hookH); cdecl; external Qt4PasLib name 'QWebHistory_hook_destroy'; function QWebHistoryInterface_hook_create(handle: QObjectH): QWebHistoryInterface_hookH; cdecl; external Qt4PasLib name 'QWebHistoryInterface_hook_create'; procedure QWebHistoryInterface_hook_destroy(handle: QWebHistoryInterface_hookH); cdecl; external Qt4PasLib name 'QWebHistoryInterface_hook_destroy'; function QWebPage_hook_create(handle: QObjectH): QWebPage_hookH; cdecl; external Qt4PasLib name 'QWebPage_hook_create'; procedure QWebPage_hook_destroy(handle: QWebPage_hookH); cdecl; external Qt4PasLib name 'QWebPage_hook_destroy'; procedure QWebPage_hook_hook_loadStarted(handle: QWebPage_hookH; hook: QWebPage_loadStarted_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_loadStarted'; procedure QWebPage_hook_hook_loadProgress(handle: QWebPage_hookH; hook: QWebPage_loadProgress_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_loadProgress'; procedure QWebPage_hook_hook_loadFinished(handle: QWebPage_hookH; hook: QWebPage_loadFinished_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_loadFinished'; procedure QWebPage_hook_hook_linkHovered(handle: QWebPage_hookH; hook: QWebPage_linkHovered_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_linkHovered'; procedure QWebPage_hook_hook_statusBarMessage(handle: QWebPage_hookH; hook: QWebPage_statusBarMessage_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_statusBarMessage'; procedure QWebPage_hook_hook_selectionChanged(handle: QWebPage_hookH; hook: QWebPage_selectionChanged_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_selectionChanged'; procedure QWebPage_hook_hook_frameCreated(handle: QWebPage_hookH; hook: QWebPage_frameCreated_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_frameCreated'; procedure QWebPage_hook_hook_geometryChangeRequested(handle: QWebPage_hookH; hook: QWebPage_geometryChangeRequested_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_geometryChangeRequested'; procedure QWebPage_hook_hook_repaintRequested(handle: QWebPage_hookH; hook: QWebPage_repaintRequested_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_repaintRequested'; procedure QWebPage_hook_hook_scrollRequested(handle: QWebPage_hookH; hook: QWebPage_scrollRequested_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_scrollRequested'; procedure QWebPage_hook_hook_windowCloseRequested(handle: QWebPage_hookH; hook: QWebPage_windowCloseRequested_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_windowCloseRequested'; procedure QWebPage_hook_hook_printRequested(handle: QWebPage_hookH; hook: QWebPage_printRequested_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_printRequested'; procedure QWebPage_hook_hook_linkClicked(handle: QWebPage_hookH; hook: QWebPage_linkClicked_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_linkClicked'; procedure QWebPage_hook_hook_toolBarVisibilityChangeRequested(handle: QWebPage_hookH; hook: QWebPage_toolBarVisibilityChangeRequested_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_toolBarVisibilityChangeRequested'; procedure QWebPage_hook_hook_statusBarVisibilityChangeRequested(handle: QWebPage_hookH; hook: QWebPage_statusBarVisibilityChangeRequested_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_statusBarVisibilityChangeRequested'; procedure QWebPage_hook_hook_menuBarVisibilityChangeRequested(handle: QWebPage_hookH; hook: QWebPage_menuBarVisibilityChangeRequested_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_menuBarVisibilityChangeRequested'; procedure QWebPage_hook_hook_unsupportedContent(handle: QWebPage_hookH; hook: QWebPage_unsupportedContent_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_unsupportedContent'; procedure QWebPage_hook_hook_downloadRequested(handle: QWebPage_hookH; hook: QWebPage_downloadRequested_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_downloadRequested'; procedure QWebPage_hook_hook_microFocusChanged(handle: QWebPage_hookH; hook: QWebPage_microFocusChanged_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_microFocusChanged'; procedure QWebPage_hook_hook_contentsChanged(handle: QWebPage_hookH; hook: QWebPage_contentsChanged_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_contentsChanged'; procedure QWebPage_hook_hook_databaseQuotaExceeded(handle: QWebPage_hookH; hook: QWebPage_databaseQuotaExceeded_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_databaseQuotaExceeded'; procedure QWebPage_hook_hook_saveFrameStateRequested(handle: QWebPage_hookH; hook: QWebPage_saveFrameStateRequested_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_saveFrameStateRequested'; procedure QWebPage_hook_hook_restoreFrameStateRequested(handle: QWebPage_hookH; hook: QWebPage_restoreFrameStateRequested_Event); cdecl; external Qt4PasLib name 'QWebPage_hook_hook_restoreFrameStateRequested'; function QWebSettings_hook_create(handle: QObjectH): QWebSettings_hookH; cdecl; external Qt4PasLib name 'QWebSettings_hook_create'; procedure QWebSettings_hook_destroy(handle: QWebSettings_hookH); cdecl; external Qt4PasLib name 'QWebSettings_hook_destroy'; function QWebView_hook_create(handle: QObjectH): QWebView_hookH; cdecl; external Qt4PasLib name 'QWebView_hook_create'; procedure QWebView_hook_destroy(handle: QWebView_hookH); cdecl; external Qt4PasLib name 'QWebView_hook_destroy'; procedure QWebView_hook_hook_loadStarted(handle: QWebView_hookH; hook: QWebView_loadStarted_Event); cdecl; external Qt4PasLib name 'QWebView_hook_hook_loadStarted'; procedure QWebView_hook_hook_loadProgress(handle: QWebView_hookH; hook: QWebView_loadProgress_Event); cdecl; external Qt4PasLib name 'QWebView_hook_hook_loadProgress'; procedure QWebView_hook_hook_loadFinished(handle: QWebView_hookH; hook: QWebView_loadFinished_Event); cdecl; external Qt4PasLib name 'QWebView_hook_hook_loadFinished'; procedure QWebView_hook_hook_titleChanged(handle: QWebView_hookH; hook: QWebView_titleChanged_Event); cdecl; external Qt4PasLib name 'QWebView_hook_hook_titleChanged'; procedure QWebView_hook_hook_statusBarMessage(handle: QWebView_hookH; hook: QWebView_statusBarMessage_Event); cdecl; external Qt4PasLib name 'QWebView_hook_hook_statusBarMessage'; procedure QWebView_hook_hook_linkClicked(handle: QWebView_hookH; hook: QWebView_linkClicked_Event); cdecl; external Qt4PasLib name 'QWebView_hook_hook_linkClicked'; procedure QWebView_hook_hook_selectionChanged(handle: QWebView_hookH; hook: QWebView_selectionChanged_Event); cdecl; external Qt4PasLib name 'QWebView_hook_hook_selectionChanged'; procedure QWebView_hook_hook_iconChanged(handle: QWebView_hookH; hook: QWebView_iconChanged_Event); cdecl; external Qt4PasLib name 'QWebView_hook_hook_iconChanged'; procedure QWebView_hook_hook_urlChanged(handle: QWebView_hookH; hook: QWebView_urlChanged_Event); cdecl; external Qt4PasLib name 'QWebView_hook_hook_urlChanged'; //======================================================= // Dynamic Qt Version //======================================================= function QtVersion : PChar; cdecl; external Qt4PasLib name 'QtVersion'; //======================================================= // Special-Purpose Global Functions Exported by Qt //======================================================= {$IFDEF BINUX} procedure QtX11WaitForWindowManager(handle : QWidgetH); cdecl; external Qt4PasLib name 'qtx11waitforwindowmanager'; {$ENDIF} {$IFDEF DARWIN} procedure QtMacSetDockMenu(handle : QMenuH); cdecl; external Qt4PasLib name 'qtmacsetdockmenu'; {$ENDIF} //======================================================= // Drawing Utility Functions (qdrawutil.h) //======================================================= procedure q_DrawShadeRect(p: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; pal: QPaletteH; sunken: Boolean = False; lineWidth: Integer = 1; midLineWidth: Integer = 0; fill: QBrushH = nil); overload; cdecl; external Qt4PasLib name 'q_DrawShadeRect'; procedure q_DrawShadeRect(p: QPainterH; r: PRect; pal: QPaletteH; sunken: Boolean = False; lineWidth: Integer = 1; midLineWidth: Integer = 0; fill: QBrushH = nil); overload; cdecl; external Qt4PasLib name 'q_DrawShadeRect2'; procedure q_DrawPlainRect(p: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; p6: PQColor; lineWidth: Integer = 1; fill: QBrushH = nil); overload; cdecl; external Qt4PasLib name 'q_DrawPlainRect'; procedure q_DrawPlainRect(p: QPainterH; r: PRect; p3: PQColor; lineWidth: Integer = 1; fill: QBrushH = nil); overload; cdecl; external Qt4PasLib name 'q_DrawPlainRect2'; procedure q_DrawWinPanel(p: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; pal: QPaletteH; sunken: Boolean = False; fill: QBrushH = nil); overload; cdecl; external Qt4PasLib name 'q_DrawWinPanel'; procedure q_DrawWinPanel(p: QPainterH; r: PRect; pal: QPaletteH; sunken: Boolean = False; fill: QBrushH = nil); overload; cdecl; external Qt4PasLib name 'q_DrawWinPanel2'; procedure q_DrawShadeLine(p: QPainterH; x1: Integer; y1: Integer; x2: Integer; y2: Integer; pal: QPaletteH; sunken: Boolean = False; lineWidth: Integer = 1; midLineWidth: Integer = 0); overload; cdecl; external Qt4PasLib name 'q_DrawShadeLine'; procedure q_DrawShadePanel(p: QPainterH; x: Integer; y: Integer; w: Integer; h: Integer; pal: QPaletteH; sunken: Boolean = False; lineWidth: Integer = 1; fill: QBrushH = nil); overload; cdecl; external Qt4PasLib name 'q_DrawShadePanel'; procedure q_DrawShadePanel(p: QPainterH; r: PRect; pal: QPaletteH; sunken: Boolean = False; lineWidth: Integer = 1; fill: QBrushH = nil); overload; cdecl; external Qt4PasLib name 'q_DrawShadePanel2'; //======================================================= // Pascal Bind Functions //======================================================= procedure initPWideStrings(CUPS, UOPS, LOPS, IPS, FPS: Pointer); cdecl; external Qt4PasLib name 'initPWideStrings'; procedure InitializePPtrIntArray(GPP, GPL, SPL: Pointer); cdecl; external Qt4PasLib name 'initializePPtrIntArray'; procedure InitializeQRealArray(GPP, GPL, SPL: Pointer); cdecl; external Qt4PasLib name 'initializeQRealArray'; implementation uses SysUtils,Math; function QtPoint(X,Y:integer): TQtPoint; begin Result.X:=X; Result.Y:=Y; end; function QtPointF(X,Y:QReal): TQtPointF; begin Result.X:=X; Result.Y:=Y; end; // AnsiString Access from c-code procedure CopyCharsToPAnsiString(Chars: PAnsiChar; var S: AnsiString); cdecl; export; begin S := Chars; end; function CharsOfPAnsiString(var S: AnsiString): PAnsiChar; cdecl; export; begin Result := PAnsiChar(Pointer(S)); end; procedure InitPAnsiString(var S: PAnsiString); cdecl; export; begin New(S); end; procedure FinalPAnsiString(var S: PAnsiString); cdecl; export; begin Dispose(S); end; // WideString Access from c-code procedure CopyUnicodeToPWideString(Unicode: PWideChar; var S: WideString; Len: Integer); cdecl; export; begin SetString(S, Unicode, Len); end; function UnicodeOfPWideString(var S: WideString): PWideChar; cdecl; export; const cEmptyStr = ''; begin if @S = nil then Result := cEmptyStr else Result := PWideChar(Pointer(S)); end; function LengthOfPWideString(var S: WideString): Integer; cdecl; export; begin if @S <> nil then Result := Length(S) else Result := 0; end; procedure InitPWideString(var S: PWideString); cdecl; export; begin New(S); end; procedure FinalPWideString(var S: PWideString); cdecl; export; begin Dispose(S); end; // PtrInt Array Access from c-code function GetPtrIntArrayAddr(var PArr : TPtrIntArray): PPtrInt; cdecl; export; begin Result:=@PArr[0]; end; function GetPtrIntArrayLength(var PArr: TPtrIntArray): Integer; cdecl; export; begin Result := Length(PArr); end; procedure SetPtrIntArrayLength(var PArr: TPtrIntArray; Len: Integer); cdecl; export; begin SetLength(PArr, Len); end; // QReal Array Access from c-code function GetQRealArrayAddr(var PArr : TQRealArray): PPtrInt; cdecl; export; begin Result := @PArr[0]; end; function GetQRealArrayLength(var PArr: TQRealArray): Integer; cdecl; export; begin Result := Length(PArr); end; procedure SetQRealArrayLength(var PArr: TQRealArray; Len: Integer); cdecl; export; begin SetLength(PArr, Len); end; initialization initPWideStrings(@CopyUnicodeToPWideString, @UnicodeOfPWideString, @LengthOfPWideString, @InitPWideString, @FinalPWideString); InitializePPtrIntArray(@GetPtrIntArrayAddr, @GetPtrIntArrayLength, @SetPtrIntArrayLength); InitializeQRealArray(@GetQRealArrayAddr, @GetQRealArrayLength, @SetQRealArrayLength); SetExceptionMask([exDenormalized,exInvalidOp,exOverflow,exPrecision,exUnderflow,exZeroDivide]); end. splitbuild-qt4pas-V2.5_Qt4.5.3/Qt4Pas.pro0000664000212600021260000005436111677135472016113 0ustar janjan#****************************************************************************** # Copyright (c) 2005-2011 by Jan Van hijfte # # See the included file COPYING.TXT for details about the copyright. # # 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. #****************************************************************************** VERSION = 5.2.5 QT += network webkit TARGET = Qt4Pas TEMPLATE = lib DEPENDPATH += src MOC_DIR = tmp OBJECTS_DIR = tmp # Match Intel x86_64 i686 i586 i386 x86 ... is86 = $$find(QMAKE_HOST.arch, ".*86") # Match 64 bit is64 = $$find(QMAKE_HOST.arch, ".*64") !mac:!isEmpty(is86):isEmpty(is64) { greaterThan(QT_MINOR_VERSION,6) { message("Added stack alignment options to CXXFLAGS in support of SSE on arch:" $$QMAKE_HOST.arch) QMAKE_CXXFLAGS += -mstackrealign -mincoming-stack-boundary=2 } } !equals(QT_MAJOR_VERSION,4)|!equals(QT_MINOR_VERSION,5) { message("Note: This binding version was generated for Qt 4.5.3. Current Qt is" $$QT_VERSION) message("Qt documents binary compatibility in each Version Change Note: http://qt.nokia.com/developer/changes") } # Available Qt4 Pascal Binding Platforms: see http://wiki.freepascal.org/Qt4_binding#Supported_Platforms target.path = $$[QT_INSTALL_LIBS] win32 : { PLATFORM = MSWINDOWS target.path = $$[QT_INSTALL_BINS] } embedded:PLATFORM = QTOPIA unix:!embedded:!mac:!haiku:PLATFORM = BINUX mac { PLATFORM = DARWIN CONFIG += lib_bundle } contains(CONFIG, maemo5): { message("Detected Maemo5") PLATFORM = MAEMO5 QT += maemo5 } CONFIG -= debug_and_release CONFIG -= debug_and_release_target CONFIG -= debug CONFIG -= warn_on CONFIG -= create_prl CONFIG -= link_prl CONFIG += release CONFIG += dll CONFIG += warn_off message("Pascal Qt Interface for binding platform:" $$PLATFORM) DEFINES += $$PLATFORM message("Install location:" $$target.path) INSTALLS += target HEADERS += \ chandles.h \ qobject_hook.h \ qobject_hook_c.h \ pascalbind.h \ flatfuncs.h \ qobject_c.h \ qcoreevent_c.h \ qeventloop_c.h \ qcoreapplication_c.h \ qcoreapplication_hook.h \ qtranslator_c.h \ qtimer_c.h \ qtimer_hook.h \ qvariant_c.h \ qmetaobject_c.h \ qabstractitemmodel_c.h \ qabstractitemmodel_hook.h \ qabstracteventdispatcher_c.h \ qmimedata_c.h \ qsocketnotifier_c.h \ qsocketnotifier_hook.h \ qthread_c.h \ qthread_hook.h \ qlclthread_c.h \ qchar_c.h \ qsize_c.h \ qstring_c.h \ qstringlist_c.h \ qrect_c.h \ qdatetime_c.h \ qbytearray_c.h \ qlocale_c.h \ qiodevice_c.h \ qiodevice_hook.h \ qprocess_c.h \ qprocess_hook.h \ qfile_c.h \ qfileinfo_c.h \ qdir_c.h \ qurl_c.h \ qfilesystemwatcher_c.h \ qfilesystemwatcher_hook.h \ qapplication_c.h \ qapplication_hook.h \ qwhatsthis_c.h \ qpalette_c.h \ qsizepolicy_c.h \ qkeysequence_c.h \ qwidget_c.h \ qwidget_hook.h \ qlayoutitem_c.h \ qlayout_c.h \ qlayout_hook.h \ qboxlayout_c.h \ qstackedlayout_c.h \ qstackedlayout_hook.h \ qaction_c.h \ qaction_hook.h \ qactiongroup_c.h \ qactiongroup_hook.h \ qevent_c.h \ qlclmessageevent_c.h \ qcursor_c.h \ qgridlayout_c.h \ qclipboard_c.h \ qclipboard_hook.h \ qdesktopwidget_c.h \ qdesktopwidget_hook.h \ qtooltip_c.h \ qx11info_x11_c.h \ qdrag_c.h \ qdrag_hook.h \ qshortcut_c.h \ qshortcut_hook.h \ qsessionmanager_c.h \ qcolor_c.h \ qmatrix_c.h \ qbrush_c.h \ qpen_c.h \ qpolygon_c.h \ qpainter_c.h \ qpaintengine_c.h \ qpaintdevice_c.h \ qregion_c.h \ qprinter_c.h \ qpainterpath_c.h \ qtransform_c.h \ qprinterinfo_c.h \ qfont_c.h \ qfontdatabase_c.h \ qtextcursor_c.h \ qtextoption_c.h \ qfontmetrics_c.h \ qfontinfo_c.h \ qtextdocument_c.h \ qabstracttextdocumentlayout_c.h \ qabstracttextdocumentlayout_hook.h \ qtextlayout_c.h \ qtextobject_c.h \ qicon_c.h \ qpixmap_c.h \ qimage_c.h \ qbitmap_c.h \ qpicture_c.h \ qimageiohandler_c.h \ qimagereader_c.h \ qimagewriter_c.h \ qvalidator_c.h \ qframe_c.h \ qframe_hook.h \ qstackedwidget_c.h \ qstackedwidget_hook.h \ qabstractscrollarea_c.h \ qabstractscrollarea_hook.h \ qlclabstractscrollarea_c.h \ qabstractslider_c.h \ qabstractslider_hook.h \ qscrollbar_c.h \ qscrollbar_hook.h \ qmenu_c.h \ qmenu_hook.h \ qmenubar_c.h \ qmenubar_hook.h \ qbuttongroup_c.h \ qbuttongroup_hook.h \ qabstractbutton_c.h \ qabstractbutton_hook.h \ qpushbutton_c.h \ qpushbutton_hook.h \ qradiobutton_c.h \ qlineedit_c.h \ qlineedit_hook.h \ qplaintextedit_c.h \ qplaintextedit_hook.h \ qtextedit_c.h \ qtextedit_hook.h \ qtabwidget_c.h \ qtabwidget_hook.h \ qlcltabwidget_c.h \ qmainwindow_c.h \ qmainwindow_hook.h \ qtoolbar_c.h \ qtoolbar_hook.h \ qsizegrip_c.h \ qlcdnumber_c.h \ qlcdnumber_hook.h \ qabstractspinbox_c.h \ qabstractspinbox_hook.h \ qlclabstractspinbox_c.h \ qspinbox_c.h \ qspinbox_hook.h \ qsplitter_c.h \ qsplitter_hook.h \ qcombobox_c.h \ qcombobox_hook.h \ qcheckbox_c.h \ qcheckbox_hook.h \ qslider_c.h \ qslider_hook.h \ qtextbrowser_c.h \ qtextbrowser_hook.h \ qlabel_c.h \ qlabel_hook.h \ qgroupbox_c.h \ qgroupbox_hook.h \ qdockwidget_c.h \ qdockwidget_hook.h \ qtabbar_c.h \ qtabbar_hook.h \ qprogressbar_c.h \ qprogressbar_hook.h \ qstatusbar_c.h \ qstatusbar_hook.h \ qtoolbox_c.h \ qtoolbox_hook.h \ qtoolbutton_c.h \ qtoolbutton_hook.h \ qscrollarea_c.h \ qmdiarea_c.h \ qmdiarea_hook.h \ qmdisubwindow_c.h \ qmdisubwindow_hook.h \ qcalendarwidget_c.h \ qcalendarwidget_hook.h \ qrubberband_c.h \ qprintpreviewwidget_c.h \ qprintpreviewwidget_hook.h \ qabstractitemview_c.h \ qabstractitemview_hook.h \ qlistview_c.h \ qlistview_hook.h \ qitemselectionmodel_c.h \ qitemselectionmodel_hook.h \ qlistwidget_c.h \ qlistwidget_hook.h \ qtreeview_c.h \ qtreeview_hook.h \ qtreewidget_c.h \ qtreewidget_hook.h \ qheaderview_c.h \ qheaderview_hook.h \ qstandarditemmodel_c.h \ qstandarditemmodel_hook.h \ qabstractitemdelegate_c.h \ qabstractitemdelegate_hook.h \ qitemdelegate_c.h \ qlclitemdelegate_c.h \ qtableview_c.h \ qtableview_hook.h \ qtablewidget_c.h \ qtablewidget_hook.h \ qitemeditorfactory_c.h \ qstyleditemdelegate_c.h \ qdialog_c.h \ qdialog_hook.h \ qfontdialog_c.h \ qmessagebox_c.h \ qinputdialog_c.h \ qcolordialog_c.h \ qfiledialog_c.h \ qfiledialog_hook.h \ qprogressdialog_c.h \ qprogressdialog_hook.h \ qabstractprintdialog_c.h \ qabstractprintdialog_hook.h \ qprintdialog_c.h \ qprintdialog_hook.h \ qpagesetupdialog_c.h \ qprintpreviewdialog_c.h \ qprintpreviewdialog_hook.h \ qsystemtrayicon_c.h \ qsystemtrayicon_hook.h \ qdesktopservices_c.h \ qstyle_c.h \ qstyleoption_c.h \ qstylefactory_c.h \ qgraphicsscene_c.h \ qgraphicsscene_hook.h \ qgraphicsview_c.h \ qsslcipher_c.h \ qsslkey_c.h \ qsslerror_c.h \ qabstractsocket_c.h \ qabstractsocket_hook.h \ qudpsocket_c.h \ qudpsocket_hook.h \ qtcpsocket_c.h \ qtcpsocket_hook.h \ qtcpserver_c.h \ qtcpserver_hook.h \ qsslconfiguration_c.h \ qsslsocket_c.h \ qnetworkaccessmanager_c.h \ qnetworkaccessmanager_hook.h \ qnetworkrequest_c.h \ qnetworkreply_c.h \ qnetworkreply_hook.h \ qnetworkcookie_c.h \ qlclnetworkcookie_c.h \ qnetworkproxy_c.h \ qauthenticator_c.h \ qwebframe_c.h \ qwebframe_hook.h \ qwebsecurityorigin_c.h \ qwebsecurityorigin_hook.h \ qwebdatabase_c.h \ qwebdatabase_hook.h \ qwebhistory_c.h \ qwebhistory_hook.h \ qwebhistoryinterface_c.h \ qwebhistoryinterface_hook.h \ qwebpage_c.h \ qwebpage_hook.h \ qlclwebpage_c.h \ qwebsettings_c.h \ qwebsettings_hook.h \ qwebview_c.h \ qwebview_hook.h \ qlclwebview_c.h \ qcoreapplication_hook_c.h \ qtimer_hook_c.h \ qabstractitemmodel_hook_c.h \ qsocketnotifier_hook_c.h \ qthread_hook_c.h \ qiodevice_hook_c.h \ qprocess_hook_c.h \ qfilesystemwatcher_hook_c.h \ qapplication_hook_c.h \ qwidget_hook_c.h \ qlayout_hook_c.h \ qstackedlayout_hook_c.h \ qaction_hook_c.h \ qactiongroup_hook_c.h \ qclipboard_hook_c.h \ qdesktopwidget_hook_c.h \ qdrag_hook_c.h \ qshortcut_hook_c.h \ qabstracttextdocumentlayout_hook_c.h \ qframe_hook_c.h \ qstackedwidget_hook_c.h \ qabstractscrollarea_hook_c.h \ qabstractslider_hook_c.h \ qscrollbar_hook_c.h \ qmenu_hook_c.h \ qmenubar_hook_c.h \ qbuttongroup_hook_c.h \ qabstractbutton_hook_c.h \ qpushbutton_hook_c.h \ qlineedit_hook_c.h \ qplaintextedit_hook_c.h \ qtextedit_hook_c.h \ qtabwidget_hook_c.h \ qmainwindow_hook_c.h \ qtoolbar_hook_c.h \ qlcdnumber_hook_c.h \ qabstractspinbox_hook_c.h \ qspinbox_hook_c.h \ qsplitter_hook_c.h \ qcombobox_hook_c.h \ qcheckbox_hook_c.h \ qslider_hook_c.h \ qtextbrowser_hook_c.h \ qlabel_hook_c.h \ qgroupbox_hook_c.h \ qdockwidget_hook_c.h \ qtabbar_hook_c.h \ qprogressbar_hook_c.h \ qstatusbar_hook_c.h \ qtoolbox_hook_c.h \ qtoolbutton_hook_c.h \ qmdiarea_hook_c.h \ qmdisubwindow_hook_c.h \ qcalendarwidget_hook_c.h \ qprintpreviewwidget_hook_c.h \ qabstractitemview_hook_c.h \ qlistview_hook_c.h \ qitemselectionmodel_hook_c.h \ qlistwidget_hook_c.h \ qtreeview_hook_c.h \ qtreewidget_hook_c.h \ qheaderview_hook_c.h \ qstandarditemmodel_hook_c.h \ qabstractitemdelegate_hook_c.h \ qtableview_hook_c.h \ qtablewidget_hook_c.h \ qdialog_hook_c.h \ qfiledialog_hook_c.h \ qprogressdialog_hook_c.h \ qabstractprintdialog_hook_c.h \ qprintdialog_hook_c.h \ qprintpreviewdialog_hook_c.h \ qsystemtrayicon_hook_c.h \ qgraphicsscene_hook_c.h \ qabstractsocket_hook_c.h \ qudpsocket_hook_c.h \ qtcpsocket_hook_c.h \ qtcpserver_hook_c.h \ qnetworkaccessmanager_hook_c.h \ qnetworkreply_hook_c.h \ qwebframe_hook_c.h \ qwebsecurityorigin_hook_c.h \ qwebdatabase_hook_c.h \ qwebhistory_hook_c.h \ qwebhistoryinterface_hook_c.h \ qwebpage_hook_c.h \ qwebsettings_hook_c.h \ qwebview_hook_c.h SOURCES += \ qobject_hook_c.cpp \ pascalbind.cpp \ flatfuncs.cpp \ qobject_c.cpp \ qcoreevent_c.cpp \ qeventloop_c.cpp \ qcoreapplication_c.cpp \ qtranslator_c.cpp \ qtimer_c.cpp \ qvariant_c.cpp \ qmetaobject_c.cpp \ qabstractitemmodel_c.cpp \ qabstracteventdispatcher_c.cpp \ qmimedata_c.cpp \ qsocketnotifier_c.cpp \ qthread_c.cpp \ qlclthread_c.cpp \ qchar_c.cpp \ qsize_c.cpp \ qstring_c.cpp \ qstringlist_c.cpp \ qrect_c.cpp \ qdatetime_c.cpp \ qbytearray_c.cpp \ qlocale_c.cpp \ qiodevice_c.cpp \ qprocess_c.cpp \ qfile_c.cpp \ qfileinfo_c.cpp \ qdir_c.cpp \ qurl_c.cpp \ qfilesystemwatcher_c.cpp \ qapplication_c.cpp \ qwhatsthis_c.cpp \ qpalette_c.cpp \ qsizepolicy_c.cpp \ qkeysequence_c.cpp \ qwidget_c.cpp \ qlayoutitem_c.cpp \ qlayout_c.cpp \ qboxlayout_c.cpp \ qstackedlayout_c.cpp \ qaction_c.cpp \ qactiongroup_c.cpp \ qevent_c.cpp \ qlclmessageevent_c.cpp \ qcursor_c.cpp \ qgridlayout_c.cpp \ qclipboard_c.cpp \ qdesktopwidget_c.cpp \ qtooltip_c.cpp \ qx11info_x11_c.cpp \ qdrag_c.cpp \ qshortcut_c.cpp \ qsessionmanager_c.cpp \ qcolor_c.cpp \ qmatrix_c.cpp \ qbrush_c.cpp \ qpen_c.cpp \ qpolygon_c.cpp \ qpainter_c.cpp \ qpaintengine_c.cpp \ qpaintdevice_c.cpp \ qregion_c.cpp \ qprinter_c.cpp \ qpainterpath_c.cpp \ qtransform_c.cpp \ qprinterinfo_c.cpp \ qfont_c.cpp \ qfontdatabase_c.cpp \ qtextcursor_c.cpp \ qtextoption_c.cpp \ qfontmetrics_c.cpp \ qfontinfo_c.cpp \ qtextdocument_c.cpp \ qabstracttextdocumentlayout_c.cpp \ qtextlayout_c.cpp \ qtextobject_c.cpp \ qicon_c.cpp \ qpixmap_c.cpp \ qimage_c.cpp \ qbitmap_c.cpp \ qpicture_c.cpp \ qimageiohandler_c.cpp \ qimagereader_c.cpp \ qimagewriter_c.cpp \ qvalidator_c.cpp \ qframe_c.cpp \ qstackedwidget_c.cpp \ qabstractscrollarea_c.cpp \ qlclabstractscrollarea_c.cpp \ qabstractslider_c.cpp \ qscrollbar_c.cpp \ qmenu_c.cpp \ qmenubar_c.cpp \ qbuttongroup_c.cpp \ qabstractbutton_c.cpp \ qpushbutton_c.cpp \ qradiobutton_c.cpp \ qlineedit_c.cpp \ qplaintextedit_c.cpp \ qtextedit_c.cpp \ qtabwidget_c.cpp \ qlcltabwidget_c.cpp \ qmainwindow_c.cpp \ qtoolbar_c.cpp \ qsizegrip_c.cpp \ qlcdnumber_c.cpp \ qabstractspinbox_c.cpp \ qlclabstractspinbox_c.cpp \ qspinbox_c.cpp \ qsplitter_c.cpp \ qcombobox_c.cpp \ qcheckbox_c.cpp \ qslider_c.cpp \ qtextbrowser_c.cpp \ qlabel_c.cpp \ qgroupbox_c.cpp \ qdockwidget_c.cpp \ qtabbar_c.cpp \ qprogressbar_c.cpp \ qstatusbar_c.cpp \ qtoolbox_c.cpp \ qtoolbutton_c.cpp \ qscrollarea_c.cpp \ qmdiarea_c.cpp \ qmdisubwindow_c.cpp \ qcalendarwidget_c.cpp \ qrubberband_c.cpp \ qprintpreviewwidget_c.cpp \ qabstractitemview_c.cpp \ qlistview_c.cpp \ qitemselectionmodel_c.cpp \ qlistwidget_c.cpp \ qtreeview_c.cpp \ qtreewidget_c.cpp \ qheaderview_c.cpp \ qstandarditemmodel_c.cpp \ qabstractitemdelegate_c.cpp \ qitemdelegate_c.cpp \ qlclitemdelegate_c.cpp \ qtableview_c.cpp \ qtablewidget_c.cpp \ qitemeditorfactory_c.cpp \ qstyleditemdelegate_c.cpp \ qdialog_c.cpp \ qfontdialog_c.cpp \ qmessagebox_c.cpp \ qinputdialog_c.cpp \ qcolordialog_c.cpp \ qfiledialog_c.cpp \ qprogressdialog_c.cpp \ qabstractprintdialog_c.cpp \ qprintdialog_c.cpp \ qpagesetupdialog_c.cpp \ qprintpreviewdialog_c.cpp \ qsystemtrayicon_c.cpp \ qdesktopservices_c.cpp \ qstyle_c.cpp \ qstyleoption_c.cpp \ qstylefactory_c.cpp \ qgraphicsscene_c.cpp \ qgraphicsview_c.cpp \ qsslcipher_c.cpp \ qsslkey_c.cpp \ qsslerror_c.cpp \ qabstractsocket_c.cpp \ qudpsocket_c.cpp \ qtcpsocket_c.cpp \ qtcpserver_c.cpp \ qsslconfiguration_c.cpp \ qsslsocket_c.cpp \ qnetworkaccessmanager_c.cpp \ qnetworkrequest_c.cpp \ qnetworkreply_c.cpp \ qnetworkcookie_c.cpp \ qlclnetworkcookie_c.cpp \ qnetworkproxy_c.cpp \ qauthenticator_c.cpp \ qwebframe_c.cpp \ qwebsecurityorigin_c.cpp \ qwebdatabase_c.cpp \ qwebhistory_c.cpp \ qwebhistoryinterface_c.cpp \ qwebpage_c.cpp \ qlclwebpage_c.cpp \ qwebsettings_c.cpp \ qwebview_c.cpp \ qlclwebview_c.cpp \ qcoreapplication_hook_c.cpp \ qtimer_hook_c.cpp \ qabstractitemmodel_hook_c.cpp \ qsocketnotifier_hook_c.cpp \ qthread_hook_c.cpp \ qiodevice_hook_c.cpp \ qprocess_hook_c.cpp \ qfilesystemwatcher_hook_c.cpp \ qapplication_hook_c.cpp \ qwidget_hook_c.cpp \ qlayout_hook_c.cpp \ qstackedlayout_hook_c.cpp \ qaction_hook_c.cpp \ qactiongroup_hook_c.cpp \ qclipboard_hook_c.cpp \ qdesktopwidget_hook_c.cpp \ qdrag_hook_c.cpp \ qshortcut_hook_c.cpp \ qabstracttextdocumentlayout_hook_c.cpp \ qframe_hook_c.cpp \ qstackedwidget_hook_c.cpp \ qabstractscrollarea_hook_c.cpp \ qabstractslider_hook_c.cpp \ qscrollbar_hook_c.cpp \ qmenu_hook_c.cpp \ qmenubar_hook_c.cpp \ qbuttongroup_hook_c.cpp \ qabstractbutton_hook_c.cpp \ qpushbutton_hook_c.cpp \ qlineedit_hook_c.cpp \ qplaintextedit_hook_c.cpp \ qtextedit_hook_c.cpp \ qtabwidget_hook_c.cpp \ qmainwindow_hook_c.cpp \ qtoolbar_hook_c.cpp \ qlcdnumber_hook_c.cpp \ qabstractspinbox_hook_c.cpp \ qspinbox_hook_c.cpp \ qsplitter_hook_c.cpp \ qcombobox_hook_c.cpp \ qcheckbox_hook_c.cpp \ qslider_hook_c.cpp \ qtextbrowser_hook_c.cpp \ qlabel_hook_c.cpp \ qgroupbox_hook_c.cpp \ qdockwidget_hook_c.cpp \ qtabbar_hook_c.cpp \ qprogressbar_hook_c.cpp \ qstatusbar_hook_c.cpp \ qtoolbox_hook_c.cpp \ qtoolbutton_hook_c.cpp \ qmdiarea_hook_c.cpp \ qmdisubwindow_hook_c.cpp \ qcalendarwidget_hook_c.cpp \ qprintpreviewwidget_hook_c.cpp \ qabstractitemview_hook_c.cpp \ qlistview_hook_c.cpp \ qitemselectionmodel_hook_c.cpp \ qlistwidget_hook_c.cpp \ qtreeview_hook_c.cpp \ qtreewidget_hook_c.cpp \ qheaderview_hook_c.cpp \ qstandarditemmodel_hook_c.cpp \ qabstractitemdelegate_hook_c.cpp \ qtableview_hook_c.cpp \ qtablewidget_hook_c.cpp \ qdialog_hook_c.cpp \ qfiledialog_hook_c.cpp \ qprogressdialog_hook_c.cpp \ qabstractprintdialog_hook_c.cpp \ qprintdialog_hook_c.cpp \ qprintpreviewdialog_hook_c.cpp \ qsystemtrayicon_hook_c.cpp \ qgraphicsscene_hook_c.cpp \ qabstractsocket_hook_c.cpp \ qudpsocket_hook_c.cpp \ qtcpsocket_hook_c.cpp \ qtcpserver_hook_c.cpp \ qnetworkaccessmanager_hook_c.cpp \ qnetworkreply_hook_c.cpp \ qwebframe_hook_c.cpp \ qwebsecurityorigin_hook_c.cpp \ qwebdatabase_hook_c.cpp \ qwebhistory_hook_c.cpp \ qwebhistoryinterface_hook_c.cpp \ qwebpage_hook_c.cpp \ qwebsettings_hook_c.cpp \ qwebview_hook_c.cpp # end of filesplitbuild-qt4pas-V2.5_Qt4.5.3/src/0000775000212600021260000000000011677135472015033 5ustar janjansplitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintpreviewdialog_c.h0000664000212600021260000000231711677135472021610 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPRINTPREVIEWDIALOG_C_H #define QPRINTPREVIEWDIALOG_C_H #include #include "pascalbind.h" C_EXPORT QPrintPreviewDialogH QPrintPreviewDialog_create(QWidgetH parent, unsigned int flags); C_EXPORT void QPrintPreviewDialog_destroy(QPrintPreviewDialogH handle); C_EXPORT QPrintPreviewDialogH QPrintPreviewDialog_create2(QPrinterH printer, QWidgetH parent, unsigned int flags); C_EXPORT void QPrintPreviewDialog_open(QPrintPreviewDialogH handle, QObjectH receiver, const char* member); C_EXPORT QPrinterH QPrintPreviewDialog_printer(QPrintPreviewDialogH handle); C_EXPORT void QPrintPreviewDialog_setVisible(QPrintPreviewDialogH handle, bool visible); C_EXPORT void QPrintPreviewDialog_done(QPrintPreviewDialogH handle, int result); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstyleoption_c.cpp0000664000212600021260000020266211677135472020623 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qstyleoption_c.h" int QStyleOption_version(QStyleOptionH handle) { return (int) ((QStyleOption *)handle)->version; } void QStyleOption_setVersion(QStyleOptionH handle, int version) { ((QStyleOption *)handle)->version = version; } int QStyleOption_type(QStyleOptionH handle) { return (int) ((QStyleOption *)handle)->type; } void QStyleOption_setType(QStyleOptionH handle, int type) { ((QStyleOption *)handle)->type = type; } unsigned int QStyleOption_state(QStyleOptionH handle) { return (unsigned int) ((QStyleOption *)handle)->state; } void QStyleOption_setState(QStyleOptionH handle, unsigned int state) { ((QStyleOption *)handle)->state =(QStyle::State)state; } Qt::LayoutDirection QStyleOption_direction(QStyleOptionH handle) { return (Qt::LayoutDirection) ((QStyleOption *)handle)->direction; } void QStyleOption_setDirection(QStyleOptionH handle, Qt::LayoutDirection direction) { ((QStyleOption *)handle)->direction = direction; } void QStyleOption_rect(QStyleOptionH handle, PRect retval) { copyQRectToPRect(((QStyleOption *)handle)->rect,retval); } void QStyleOption_setRect(QStyleOptionH handle, PRect rect) { copyPRectToQRect(rect,((QStyleOption *)handle)->rect); } void QStyleOption_fontMetrics(QStyleOptionH handle, QFontMetricsH retval) { *(QFontMetrics *)retval = ((QStyleOption *)handle)->fontMetrics; } void QStyleOption_setFontMetrics(QStyleOptionH handle, QFontMetricsH fontMetrics) { ((QStyleOption *)handle)->fontMetrics = *(QFontMetrics *)fontMetrics; } void QStyleOption_palette(QStyleOptionH handle, QPaletteH retval) { *(QPalette *)retval = ((QStyleOption *)handle)->palette; } void QStyleOption_setPalette(QStyleOptionH handle, QPaletteH palette) { ((QStyleOption *)handle)->palette = *(QPalette *)palette; } QStyleOptionH QStyleOption_create(int version, int type) { return (QStyleOptionH) new QStyleOption(version, type); } void QStyleOption_destroy(QStyleOptionH handle) { delete (QStyleOption *)handle; } QStyleOptionH QStyleOption_create2(const QStyleOptionH other) { return (QStyleOptionH) new QStyleOption(*(const QStyleOption*)other); } void QStyleOption_init(QStyleOptionH handle, const QWidgetH w) { ((QStyleOption *)handle)->init((const QWidget*)w); } void QStyleOption_initFrom(QStyleOptionH handle, const QWidgetH w) { ((QStyleOption *)handle)->initFrom((const QWidget*)w); } void QStyleOptionFocusRect_backgroundColor(QStyleOptionFocusRectH handle, PQColor retval) { *(QColor *)retval = ((QStyleOptionFocusRect *)handle)->backgroundColor; } void QStyleOptionFocusRect_setBackgroundColor(QStyleOptionFocusRectH handle, PQColor backgroundColor) { ((QStyleOptionFocusRect *)handle)->backgroundColor = *(QColor *)backgroundColor; } QStyleOptionFocusRectH QStyleOptionFocusRect_create() { return (QStyleOptionFocusRectH) new QStyleOptionFocusRect(); } void QStyleOptionFocusRect_destroy(QStyleOptionFocusRectH handle) { delete (QStyleOptionFocusRect *)handle; } QStyleOptionFocusRectH QStyleOptionFocusRect_create2(const QStyleOptionFocusRectH other) { return (QStyleOptionFocusRectH) new QStyleOptionFocusRect(*(const QStyleOptionFocusRect*)other); } int QStyleOptionFrame_lineWidth(QStyleOptionFrameH handle) { return (int) ((QStyleOptionFrame *)handle)->lineWidth; } void QStyleOptionFrame_setLineWidth(QStyleOptionFrameH handle, int lineWidth) { ((QStyleOptionFrame *)handle)->lineWidth = lineWidth; } int QStyleOptionFrame_midLineWidth(QStyleOptionFrameH handle) { return (int) ((QStyleOptionFrame *)handle)->midLineWidth; } void QStyleOptionFrame_setMidLineWidth(QStyleOptionFrameH handle, int midLineWidth) { ((QStyleOptionFrame *)handle)->midLineWidth = midLineWidth; } QStyleOptionFrameH QStyleOptionFrame_create() { return (QStyleOptionFrameH) new QStyleOptionFrame(); } void QStyleOptionFrame_destroy(QStyleOptionFrameH handle) { delete (QStyleOptionFrame *)handle; } QStyleOptionFrameH QStyleOptionFrame_create2(const QStyleOptionFrameH other) { return (QStyleOptionFrameH) new QStyleOptionFrame(*(const QStyleOptionFrame*)other); } unsigned int QStyleOptionFrameV2_features(QStyleOptionFrameV2H handle) { return (unsigned int) ((QStyleOptionFrameV2 *)handle)->features; } void QStyleOptionFrameV2_setFeatures(QStyleOptionFrameV2H handle, unsigned int features) { ((QStyleOptionFrameV2 *)handle)->features =(QStyleOptionFrameV2::FrameFeatures)features; } QStyleOptionFrameV2H QStyleOptionFrameV2_create() { return (QStyleOptionFrameV2H) new QStyleOptionFrameV2(); } void QStyleOptionFrameV2_destroy(QStyleOptionFrameV2H handle) { delete (QStyleOptionFrameV2 *)handle; } QStyleOptionFrameV2H QStyleOptionFrameV2_create2(const QStyleOptionFrameV2H other) { return (QStyleOptionFrameV2H) new QStyleOptionFrameV2(*(const QStyleOptionFrameV2*)other); } QStyleOptionFrameV2H QStyleOptionFrameV2_create3(const QStyleOptionFrameH other) { return (QStyleOptionFrameV2H) new QStyleOptionFrameV2(*(const QStyleOptionFrame*)other); } QFrame::Shape QStyleOptionFrameV3_frameShape(QStyleOptionFrameV3H handle) { return (QFrame::Shape) ((QStyleOptionFrameV3 *)handle)->frameShape; } void QStyleOptionFrameV3_setFrameShape(QStyleOptionFrameV3H handle, QFrame::Shape frameShape) { ((QStyleOptionFrameV3 *)handle)->frameShape = frameShape; } uint QStyleOptionFrameV3_unused(QStyleOptionFrameV3H handle) { return (uint) ((QStyleOptionFrameV3 *)handle)->unused; } void QStyleOptionFrameV3_setUnused(QStyleOptionFrameV3H handle, uint unused) { ((QStyleOptionFrameV3 *)handle)->unused = unused; } QStyleOptionFrameV3H QStyleOptionFrameV3_create() { return (QStyleOptionFrameV3H) new QStyleOptionFrameV3(); } void QStyleOptionFrameV3_destroy(QStyleOptionFrameV3H handle) { delete (QStyleOptionFrameV3 *)handle; } QStyleOptionFrameV3H QStyleOptionFrameV3_create2(const QStyleOptionFrameV3H other) { return (QStyleOptionFrameV3H) new QStyleOptionFrameV3(*(const QStyleOptionFrameV3*)other); } QStyleOptionFrameV3H QStyleOptionFrameV3_create3(const QStyleOptionFrameH other) { return (QStyleOptionFrameV3H) new QStyleOptionFrameV3(*(const QStyleOptionFrame*)other); } int QStyleOptionTabWidgetFrame_lineWidth(QStyleOptionTabWidgetFrameH handle) { return (int) ((QStyleOptionTabWidgetFrame *)handle)->lineWidth; } void QStyleOptionTabWidgetFrame_setLineWidth(QStyleOptionTabWidgetFrameH handle, int lineWidth) { ((QStyleOptionTabWidgetFrame *)handle)->lineWidth = lineWidth; } int QStyleOptionTabWidgetFrame_midLineWidth(QStyleOptionTabWidgetFrameH handle) { return (int) ((QStyleOptionTabWidgetFrame *)handle)->midLineWidth; } void QStyleOptionTabWidgetFrame_setMidLineWidth(QStyleOptionTabWidgetFrameH handle, int midLineWidth) { ((QStyleOptionTabWidgetFrame *)handle)->midLineWidth = midLineWidth; } QTabBar::Shape QStyleOptionTabWidgetFrame_shape(QStyleOptionTabWidgetFrameH handle) { return (QTabBar::Shape) ((QStyleOptionTabWidgetFrame *)handle)->shape; } void QStyleOptionTabWidgetFrame_setShape(QStyleOptionTabWidgetFrameH handle, QTabBar::Shape shape) { ((QStyleOptionTabWidgetFrame *)handle)->shape = shape; } void QStyleOptionTabWidgetFrame_tabBarSize(QStyleOptionTabWidgetFrameH handle, PSize retval) { *(QSize *)retval = ((QStyleOptionTabWidgetFrame *)handle)->tabBarSize; } void QStyleOptionTabWidgetFrame_setTabBarSize(QStyleOptionTabWidgetFrameH handle, PSize tabBarSize) { ((QStyleOptionTabWidgetFrame *)handle)->tabBarSize = *(QSize *)tabBarSize; } void QStyleOptionTabWidgetFrame_rightCornerWidgetSize(QStyleOptionTabWidgetFrameH handle, PSize retval) { *(QSize *)retval = ((QStyleOptionTabWidgetFrame *)handle)->rightCornerWidgetSize; } void QStyleOptionTabWidgetFrame_setRightCornerWidgetSize(QStyleOptionTabWidgetFrameH handle, PSize rightCornerWidgetSize) { ((QStyleOptionTabWidgetFrame *)handle)->rightCornerWidgetSize = *(QSize *)rightCornerWidgetSize; } void QStyleOptionTabWidgetFrame_leftCornerWidgetSize(QStyleOptionTabWidgetFrameH handle, PSize retval) { *(QSize *)retval = ((QStyleOptionTabWidgetFrame *)handle)->leftCornerWidgetSize; } void QStyleOptionTabWidgetFrame_setLeftCornerWidgetSize(QStyleOptionTabWidgetFrameH handle, PSize leftCornerWidgetSize) { ((QStyleOptionTabWidgetFrame *)handle)->leftCornerWidgetSize = *(QSize *)leftCornerWidgetSize; } QStyleOptionTabWidgetFrameH QStyleOptionTabWidgetFrame_create() { return (QStyleOptionTabWidgetFrameH) new QStyleOptionTabWidgetFrame(); } void QStyleOptionTabWidgetFrame_destroy(QStyleOptionTabWidgetFrameH handle) { delete (QStyleOptionTabWidgetFrame *)handle; } QStyleOptionTabWidgetFrameH QStyleOptionTabWidgetFrame_create2(const QStyleOptionTabWidgetFrameH other) { return (QStyleOptionTabWidgetFrameH) new QStyleOptionTabWidgetFrame(*(const QStyleOptionTabWidgetFrame*)other); } QTabBar::Shape QStyleOptionTabBarBase_shape(QStyleOptionTabBarBaseH handle) { return (QTabBar::Shape) ((QStyleOptionTabBarBase *)handle)->shape; } void QStyleOptionTabBarBase_setShape(QStyleOptionTabBarBaseH handle, QTabBar::Shape shape) { ((QStyleOptionTabBarBase *)handle)->shape = shape; } void QStyleOptionTabBarBase_tabBarRect(QStyleOptionTabBarBaseH handle, PRect retval) { copyQRectToPRect(((QStyleOptionTabBarBase *)handle)->tabBarRect,retval); } void QStyleOptionTabBarBase_setTabBarRect(QStyleOptionTabBarBaseH handle, PRect tabBarRect) { copyPRectToQRect(tabBarRect,((QStyleOptionTabBarBase *)handle)->tabBarRect); } void QStyleOptionTabBarBase_selectedTabRect(QStyleOptionTabBarBaseH handle, PRect retval) { copyQRectToPRect(((QStyleOptionTabBarBase *)handle)->selectedTabRect,retval); } void QStyleOptionTabBarBase_setSelectedTabRect(QStyleOptionTabBarBaseH handle, PRect selectedTabRect) { copyPRectToQRect(selectedTabRect,((QStyleOptionTabBarBase *)handle)->selectedTabRect); } QStyleOptionTabBarBaseH QStyleOptionTabBarBase_create() { return (QStyleOptionTabBarBaseH) new QStyleOptionTabBarBase(); } void QStyleOptionTabBarBase_destroy(QStyleOptionTabBarBaseH handle) { delete (QStyleOptionTabBarBase *)handle; } QStyleOptionTabBarBaseH QStyleOptionTabBarBase_create2(const QStyleOptionTabBarBaseH other) { return (QStyleOptionTabBarBaseH) new QStyleOptionTabBarBase(*(const QStyleOptionTabBarBase*)other); } bool QStyleOptionTabBarBaseV2_documentMode(QStyleOptionTabBarBaseV2H handle) { return (bool) ((QStyleOptionTabBarBaseV2 *)handle)->documentMode; } void QStyleOptionTabBarBaseV2_setDocumentMode(QStyleOptionTabBarBaseV2H handle, bool documentMode) { ((QStyleOptionTabBarBaseV2 *)handle)->documentMode = documentMode; } QStyleOptionTabBarBaseV2H QStyleOptionTabBarBaseV2_create() { return (QStyleOptionTabBarBaseV2H) new QStyleOptionTabBarBaseV2(); } void QStyleOptionTabBarBaseV2_destroy(QStyleOptionTabBarBaseV2H handle) { delete (QStyleOptionTabBarBaseV2 *)handle; } QStyleOptionTabBarBaseV2H QStyleOptionTabBarBaseV2_create2(const QStyleOptionTabBarBaseV2H other) { return (QStyleOptionTabBarBaseV2H) new QStyleOptionTabBarBaseV2(*(const QStyleOptionTabBarBaseV2*)other); } QStyleOptionTabBarBaseV2H QStyleOptionTabBarBaseV2_create3(const QStyleOptionTabBarBaseH other) { return (QStyleOptionTabBarBaseV2H) new QStyleOptionTabBarBaseV2(*(const QStyleOptionTabBarBase*)other); } int QStyleOptionHeader_section(QStyleOptionHeaderH handle) { return (int) ((QStyleOptionHeader *)handle)->section; } void QStyleOptionHeader_setSection(QStyleOptionHeaderH handle, int section) { ((QStyleOptionHeader *)handle)->section = section; } void QStyleOptionHeader_text(QStyleOptionHeaderH handle, PWideString retval) { copyQStringToPWideString(((QStyleOptionHeader *)handle)->text,retval); } void QStyleOptionHeader_setText(QStyleOptionHeaderH handle, PWideString text) { copyPWideStringToQString(text,((QStyleOptionHeader *)handle)->text); } unsigned int QStyleOptionHeader_textAlignment(QStyleOptionHeaderH handle) { return (unsigned int) ((QStyleOptionHeader *)handle)->textAlignment; } void QStyleOptionHeader_setTextAlignment(QStyleOptionHeaderH handle, unsigned int textAlignment) { ((QStyleOptionHeader *)handle)->textAlignment =(Qt::Alignment)textAlignment; } void QStyleOptionHeader_icon(QStyleOptionHeaderH handle, QIconH retval) { *(QIcon *)retval = ((QStyleOptionHeader *)handle)->icon; } void QStyleOptionHeader_setIcon(QStyleOptionHeaderH handle, QIconH icon) { ((QStyleOptionHeader *)handle)->icon = *(QIcon *)icon; } unsigned int QStyleOptionHeader_iconAlignment(QStyleOptionHeaderH handle) { return (unsigned int) ((QStyleOptionHeader *)handle)->iconAlignment; } void QStyleOptionHeader_setIconAlignment(QStyleOptionHeaderH handle, unsigned int iconAlignment) { ((QStyleOptionHeader *)handle)->iconAlignment =(Qt::Alignment)iconAlignment; } QStyleOptionHeader::SectionPosition QStyleOptionHeader_position(QStyleOptionHeaderH handle) { return (QStyleOptionHeader::SectionPosition) ((QStyleOptionHeader *)handle)->position; } void QStyleOptionHeader_setPosition(QStyleOptionHeaderH handle, QStyleOptionHeader::SectionPosition position) { ((QStyleOptionHeader *)handle)->position = position; } QStyleOptionHeader::SelectedPosition QStyleOptionHeader_selectedPosition(QStyleOptionHeaderH handle) { return (QStyleOptionHeader::SelectedPosition) ((QStyleOptionHeader *)handle)->selectedPosition; } void QStyleOptionHeader_setSelectedPosition(QStyleOptionHeaderH handle, QStyleOptionHeader::SelectedPosition selectedPosition) { ((QStyleOptionHeader *)handle)->selectedPosition = selectedPosition; } QStyleOptionHeader::SortIndicator QStyleOptionHeader_sortIndicator(QStyleOptionHeaderH handle) { return (QStyleOptionHeader::SortIndicator) ((QStyleOptionHeader *)handle)->sortIndicator; } void QStyleOptionHeader_setSortIndicator(QStyleOptionHeaderH handle, QStyleOptionHeader::SortIndicator sortIndicator) { ((QStyleOptionHeader *)handle)->sortIndicator = sortIndicator; } Qt::Orientation QStyleOptionHeader_orientation(QStyleOptionHeaderH handle) { return (Qt::Orientation) ((QStyleOptionHeader *)handle)->orientation; } void QStyleOptionHeader_setOrientation(QStyleOptionHeaderH handle, Qt::Orientation orientation) { ((QStyleOptionHeader *)handle)->orientation = orientation; } QStyleOptionHeaderH QStyleOptionHeader_create() { return (QStyleOptionHeaderH) new QStyleOptionHeader(); } void QStyleOptionHeader_destroy(QStyleOptionHeaderH handle) { delete (QStyleOptionHeader *)handle; } QStyleOptionHeaderH QStyleOptionHeader_create2(const QStyleOptionHeaderH other) { return (QStyleOptionHeaderH) new QStyleOptionHeader(*(const QStyleOptionHeader*)other); } unsigned int QStyleOptionButton_features(QStyleOptionButtonH handle) { return (unsigned int) ((QStyleOptionButton *)handle)->features; } void QStyleOptionButton_setFeatures(QStyleOptionButtonH handle, unsigned int features) { ((QStyleOptionButton *)handle)->features =(QStyleOptionButton::ButtonFeatures)features; } void QStyleOptionButton_text(QStyleOptionButtonH handle, PWideString retval) { copyQStringToPWideString(((QStyleOptionButton *)handle)->text,retval); } void QStyleOptionButton_setText(QStyleOptionButtonH handle, PWideString text) { copyPWideStringToQString(text,((QStyleOptionButton *)handle)->text); } void QStyleOptionButton_icon(QStyleOptionButtonH handle, QIconH retval) { *(QIcon *)retval = ((QStyleOptionButton *)handle)->icon; } void QStyleOptionButton_setIcon(QStyleOptionButtonH handle, QIconH icon) { ((QStyleOptionButton *)handle)->icon = *(QIcon *)icon; } void QStyleOptionButton_iconSize(QStyleOptionButtonH handle, PSize retval) { *(QSize *)retval = ((QStyleOptionButton *)handle)->iconSize; } void QStyleOptionButton_setIconSize(QStyleOptionButtonH handle, PSize iconSize) { ((QStyleOptionButton *)handle)->iconSize = *(QSize *)iconSize; } QStyleOptionButtonH QStyleOptionButton_create() { return (QStyleOptionButtonH) new QStyleOptionButton(); } void QStyleOptionButton_destroy(QStyleOptionButtonH handle) { delete (QStyleOptionButton *)handle; } QStyleOptionButtonH QStyleOptionButton_create2(const QStyleOptionButtonH other) { return (QStyleOptionButtonH) new QStyleOptionButton(*(const QStyleOptionButton*)other); } QTabBar::Shape QStyleOptionTab_shape(QStyleOptionTabH handle) { return (QTabBar::Shape) ((QStyleOptionTab *)handle)->shape; } void QStyleOptionTab_setShape(QStyleOptionTabH handle, QTabBar::Shape shape) { ((QStyleOptionTab *)handle)->shape = shape; } void QStyleOptionTab_text(QStyleOptionTabH handle, PWideString retval) { copyQStringToPWideString(((QStyleOptionTab *)handle)->text,retval); } void QStyleOptionTab_setText(QStyleOptionTabH handle, PWideString text) { copyPWideStringToQString(text,((QStyleOptionTab *)handle)->text); } void QStyleOptionTab_icon(QStyleOptionTabH handle, QIconH retval) { *(QIcon *)retval = ((QStyleOptionTab *)handle)->icon; } void QStyleOptionTab_setIcon(QStyleOptionTabH handle, QIconH icon) { ((QStyleOptionTab *)handle)->icon = *(QIcon *)icon; } int QStyleOptionTab_row(QStyleOptionTabH handle) { return (int) ((QStyleOptionTab *)handle)->row; } void QStyleOptionTab_setRow(QStyleOptionTabH handle, int row) { ((QStyleOptionTab *)handle)->row = row; } QStyleOptionTab::TabPosition QStyleOptionTab_position(QStyleOptionTabH handle) { return (QStyleOptionTab::TabPosition) ((QStyleOptionTab *)handle)->position; } void QStyleOptionTab_setPosition(QStyleOptionTabH handle, QStyleOptionTab::TabPosition position) { ((QStyleOptionTab *)handle)->position = position; } QStyleOptionTab::SelectedPosition QStyleOptionTab_selectedPosition(QStyleOptionTabH handle) { return (QStyleOptionTab::SelectedPosition) ((QStyleOptionTab *)handle)->selectedPosition; } void QStyleOptionTab_setSelectedPosition(QStyleOptionTabH handle, QStyleOptionTab::SelectedPosition selectedPosition) { ((QStyleOptionTab *)handle)->selectedPosition = selectedPosition; } unsigned int QStyleOptionTab_cornerWidgets(QStyleOptionTabH handle) { return (unsigned int) ((QStyleOptionTab *)handle)->cornerWidgets; } void QStyleOptionTab_setCornerWidgets(QStyleOptionTabH handle, unsigned int cornerWidgets) { ((QStyleOptionTab *)handle)->cornerWidgets =(QStyleOptionTab::CornerWidgets)cornerWidgets; } QStyleOptionTabH QStyleOptionTab_create() { return (QStyleOptionTabH) new QStyleOptionTab(); } void QStyleOptionTab_destroy(QStyleOptionTabH handle) { delete (QStyleOptionTab *)handle; } QStyleOptionTabH QStyleOptionTab_create2(const QStyleOptionTabH other) { return (QStyleOptionTabH) new QStyleOptionTab(*(const QStyleOptionTab*)other); } void QStyleOptionTabV2_iconSize(QStyleOptionTabV2H handle, PSize retval) { *(QSize *)retval = ((QStyleOptionTabV2 *)handle)->iconSize; } void QStyleOptionTabV2_setIconSize(QStyleOptionTabV2H handle, PSize iconSize) { ((QStyleOptionTabV2 *)handle)->iconSize = *(QSize *)iconSize; } QStyleOptionTabV2H QStyleOptionTabV2_create() { return (QStyleOptionTabV2H) new QStyleOptionTabV2(); } void QStyleOptionTabV2_destroy(QStyleOptionTabV2H handle) { delete (QStyleOptionTabV2 *)handle; } QStyleOptionTabV2H QStyleOptionTabV2_create2(const QStyleOptionTabV2H other) { return (QStyleOptionTabV2H) new QStyleOptionTabV2(*(const QStyleOptionTabV2*)other); } QStyleOptionTabV2H QStyleOptionTabV2_create3(const QStyleOptionTabH other) { return (QStyleOptionTabV2H) new QStyleOptionTabV2(*(const QStyleOptionTab*)other); } bool QStyleOptionTabV3_documentMode(QStyleOptionTabV3H handle) { return (bool) ((QStyleOptionTabV3 *)handle)->documentMode; } void QStyleOptionTabV3_setDocumentMode(QStyleOptionTabV3H handle, bool documentMode) { ((QStyleOptionTabV3 *)handle)->documentMode = documentMode; } void QStyleOptionTabV3_leftButtonSize(QStyleOptionTabV3H handle, PSize retval) { *(QSize *)retval = ((QStyleOptionTabV3 *)handle)->leftButtonSize; } void QStyleOptionTabV3_setLeftButtonSize(QStyleOptionTabV3H handle, PSize leftButtonSize) { ((QStyleOptionTabV3 *)handle)->leftButtonSize = *(QSize *)leftButtonSize; } void QStyleOptionTabV3_rightButtonSize(QStyleOptionTabV3H handle, PSize retval) { *(QSize *)retval = ((QStyleOptionTabV3 *)handle)->rightButtonSize; } void QStyleOptionTabV3_setRightButtonSize(QStyleOptionTabV3H handle, PSize rightButtonSize) { ((QStyleOptionTabV3 *)handle)->rightButtonSize = *(QSize *)rightButtonSize; } QStyleOptionTabV3H QStyleOptionTabV3_create() { return (QStyleOptionTabV3H) new QStyleOptionTabV3(); } void QStyleOptionTabV3_destroy(QStyleOptionTabV3H handle) { delete (QStyleOptionTabV3 *)handle; } QStyleOptionTabV3H QStyleOptionTabV3_create2(const QStyleOptionTabV3H other) { return (QStyleOptionTabV3H) new QStyleOptionTabV3(*(const QStyleOptionTabV3*)other); } QStyleOptionTabV3H QStyleOptionTabV3_create3(const QStyleOptionTabV2H other) { return (QStyleOptionTabV3H) new QStyleOptionTabV3(*(const QStyleOptionTabV2*)other); } QStyleOptionTabV3H QStyleOptionTabV3_create4(const QStyleOptionTabH other) { return (QStyleOptionTabV3H) new QStyleOptionTabV3(*(const QStyleOptionTab*)other); } QStyleOptionToolBar::ToolBarPosition QStyleOptionToolBar_positionOfLine(QStyleOptionToolBarH handle) { return (QStyleOptionToolBar::ToolBarPosition) ((QStyleOptionToolBar *)handle)->positionOfLine; } void QStyleOptionToolBar_setPositionOfLine(QStyleOptionToolBarH handle, QStyleOptionToolBar::ToolBarPosition positionOfLine) { ((QStyleOptionToolBar *)handle)->positionOfLine = positionOfLine; } QStyleOptionToolBar::ToolBarPosition QStyleOptionToolBar_positionWithinLine(QStyleOptionToolBarH handle) { return (QStyleOptionToolBar::ToolBarPosition) ((QStyleOptionToolBar *)handle)->positionWithinLine; } void QStyleOptionToolBar_setPositionWithinLine(QStyleOptionToolBarH handle, QStyleOptionToolBar::ToolBarPosition positionWithinLine) { ((QStyleOptionToolBar *)handle)->positionWithinLine = positionWithinLine; } Qt::ToolBarArea QStyleOptionToolBar_toolBarArea(QStyleOptionToolBarH handle) { return (Qt::ToolBarArea) ((QStyleOptionToolBar *)handle)->toolBarArea; } void QStyleOptionToolBar_setToolBarArea(QStyleOptionToolBarH handle, Qt::ToolBarArea toolBarArea) { ((QStyleOptionToolBar *)handle)->toolBarArea = toolBarArea; } unsigned int QStyleOptionToolBar_features(QStyleOptionToolBarH handle) { return (unsigned int) ((QStyleOptionToolBar *)handle)->features; } void QStyleOptionToolBar_setFeatures(QStyleOptionToolBarH handle, unsigned int features) { ((QStyleOptionToolBar *)handle)->features =(QStyleOptionToolBar::ToolBarFeatures)features; } int QStyleOptionToolBar_lineWidth(QStyleOptionToolBarH handle) { return (int) ((QStyleOptionToolBar *)handle)->lineWidth; } void QStyleOptionToolBar_setLineWidth(QStyleOptionToolBarH handle, int lineWidth) { ((QStyleOptionToolBar *)handle)->lineWidth = lineWidth; } int QStyleOptionToolBar_midLineWidth(QStyleOptionToolBarH handle) { return (int) ((QStyleOptionToolBar *)handle)->midLineWidth; } void QStyleOptionToolBar_setMidLineWidth(QStyleOptionToolBarH handle, int midLineWidth) { ((QStyleOptionToolBar *)handle)->midLineWidth = midLineWidth; } QStyleOptionToolBarH QStyleOptionToolBar_create() { return (QStyleOptionToolBarH) new QStyleOptionToolBar(); } void QStyleOptionToolBar_destroy(QStyleOptionToolBarH handle) { delete (QStyleOptionToolBar *)handle; } QStyleOptionToolBarH QStyleOptionToolBar_create2(const QStyleOptionToolBarH other) { return (QStyleOptionToolBarH) new QStyleOptionToolBar(*(const QStyleOptionToolBar*)other); } int QStyleOptionProgressBar_minimum(QStyleOptionProgressBarH handle) { return (int) ((QStyleOptionProgressBar *)handle)->minimum; } void QStyleOptionProgressBar_setMinimum(QStyleOptionProgressBarH handle, int minimum) { ((QStyleOptionProgressBar *)handle)->minimum = minimum; } int QStyleOptionProgressBar_maximum(QStyleOptionProgressBarH handle) { return (int) ((QStyleOptionProgressBar *)handle)->maximum; } void QStyleOptionProgressBar_setMaximum(QStyleOptionProgressBarH handle, int maximum) { ((QStyleOptionProgressBar *)handle)->maximum = maximum; } int QStyleOptionProgressBar_progress(QStyleOptionProgressBarH handle) { return (int) ((QStyleOptionProgressBar *)handle)->progress; } void QStyleOptionProgressBar_setProgress(QStyleOptionProgressBarH handle, int progress) { ((QStyleOptionProgressBar *)handle)->progress = progress; } void QStyleOptionProgressBar_text(QStyleOptionProgressBarH handle, PWideString retval) { copyQStringToPWideString(((QStyleOptionProgressBar *)handle)->text,retval); } void QStyleOptionProgressBar_setText(QStyleOptionProgressBarH handle, PWideString text) { copyPWideStringToQString(text,((QStyleOptionProgressBar *)handle)->text); } unsigned int QStyleOptionProgressBar_textAlignment(QStyleOptionProgressBarH handle) { return (unsigned int) ((QStyleOptionProgressBar *)handle)->textAlignment; } void QStyleOptionProgressBar_setTextAlignment(QStyleOptionProgressBarH handle, unsigned int textAlignment) { ((QStyleOptionProgressBar *)handle)->textAlignment =(Qt::Alignment)textAlignment; } bool QStyleOptionProgressBar_textVisible(QStyleOptionProgressBarH handle) { return (bool) ((QStyleOptionProgressBar *)handle)->textVisible; } void QStyleOptionProgressBar_setTextVisible(QStyleOptionProgressBarH handle, bool textVisible) { ((QStyleOptionProgressBar *)handle)->textVisible = textVisible; } QStyleOptionProgressBarH QStyleOptionProgressBar_create() { return (QStyleOptionProgressBarH) new QStyleOptionProgressBar(); } void QStyleOptionProgressBar_destroy(QStyleOptionProgressBarH handle) { delete (QStyleOptionProgressBar *)handle; } QStyleOptionProgressBarH QStyleOptionProgressBar_create2(const QStyleOptionProgressBarH other) { return (QStyleOptionProgressBarH) new QStyleOptionProgressBar(*(const QStyleOptionProgressBar*)other); } Qt::Orientation QStyleOptionProgressBarV2_orientation(QStyleOptionProgressBarV2H handle) { return (Qt::Orientation) ((QStyleOptionProgressBarV2 *)handle)->orientation; } void QStyleOptionProgressBarV2_setOrientation(QStyleOptionProgressBarV2H handle, Qt::Orientation orientation) { ((QStyleOptionProgressBarV2 *)handle)->orientation = orientation; } bool QStyleOptionProgressBarV2_invertedAppearance(QStyleOptionProgressBarV2H handle) { return (bool) ((QStyleOptionProgressBarV2 *)handle)->invertedAppearance; } void QStyleOptionProgressBarV2_setInvertedAppearance(QStyleOptionProgressBarV2H handle, bool invertedAppearance) { ((QStyleOptionProgressBarV2 *)handle)->invertedAppearance = invertedAppearance; } bool QStyleOptionProgressBarV2_bottomToTop(QStyleOptionProgressBarV2H handle) { return (bool) ((QStyleOptionProgressBarV2 *)handle)->bottomToTop; } void QStyleOptionProgressBarV2_setBottomToTop(QStyleOptionProgressBarV2H handle, bool bottomToTop) { ((QStyleOptionProgressBarV2 *)handle)->bottomToTop = bottomToTop; } QStyleOptionProgressBarV2H QStyleOptionProgressBarV2_create() { return (QStyleOptionProgressBarV2H) new QStyleOptionProgressBarV2(); } void QStyleOptionProgressBarV2_destroy(QStyleOptionProgressBarV2H handle) { delete (QStyleOptionProgressBarV2 *)handle; } QStyleOptionProgressBarV2H QStyleOptionProgressBarV2_create2(const QStyleOptionProgressBarH other) { return (QStyleOptionProgressBarV2H) new QStyleOptionProgressBarV2(*(const QStyleOptionProgressBar*)other); } QStyleOptionProgressBarV2H QStyleOptionProgressBarV2_create3(const QStyleOptionProgressBarV2H other) { return (QStyleOptionProgressBarV2H) new QStyleOptionProgressBarV2(*(const QStyleOptionProgressBarV2*)other); } QStyleOptionMenuItem::MenuItemType QStyleOptionMenuItem_menuItemType(QStyleOptionMenuItemH handle) { return (QStyleOptionMenuItem::MenuItemType) ((QStyleOptionMenuItem *)handle)->menuItemType; } void QStyleOptionMenuItem_setMenuItemType(QStyleOptionMenuItemH handle, QStyleOptionMenuItem::MenuItemType menuItemType) { ((QStyleOptionMenuItem *)handle)->menuItemType = menuItemType; } QStyleOptionMenuItem::CheckType QStyleOptionMenuItem_checkType(QStyleOptionMenuItemH handle) { return (QStyleOptionMenuItem::CheckType) ((QStyleOptionMenuItem *)handle)->checkType; } void QStyleOptionMenuItem_setCheckType(QStyleOptionMenuItemH handle, QStyleOptionMenuItem::CheckType checkType) { ((QStyleOptionMenuItem *)handle)->checkType = checkType; } bool QStyleOptionMenuItem_checked(QStyleOptionMenuItemH handle) { return (bool) ((QStyleOptionMenuItem *)handle)->checked; } void QStyleOptionMenuItem_setChecked(QStyleOptionMenuItemH handle, bool checked) { ((QStyleOptionMenuItem *)handle)->checked = checked; } bool QStyleOptionMenuItem_menuHasCheckableItems(QStyleOptionMenuItemH handle) { return (bool) ((QStyleOptionMenuItem *)handle)->menuHasCheckableItems; } void QStyleOptionMenuItem_setMenuHasCheckableItems(QStyleOptionMenuItemH handle, bool menuHasCheckableItems) { ((QStyleOptionMenuItem *)handle)->menuHasCheckableItems = menuHasCheckableItems; } void QStyleOptionMenuItem_menuRect(QStyleOptionMenuItemH handle, PRect retval) { copyQRectToPRect(((QStyleOptionMenuItem *)handle)->menuRect,retval); } void QStyleOptionMenuItem_setMenuRect(QStyleOptionMenuItemH handle, PRect menuRect) { copyPRectToQRect(menuRect,((QStyleOptionMenuItem *)handle)->menuRect); } void QStyleOptionMenuItem_text(QStyleOptionMenuItemH handle, PWideString retval) { copyQStringToPWideString(((QStyleOptionMenuItem *)handle)->text,retval); } void QStyleOptionMenuItem_setText(QStyleOptionMenuItemH handle, PWideString text) { copyPWideStringToQString(text,((QStyleOptionMenuItem *)handle)->text); } void QStyleOptionMenuItem_icon(QStyleOptionMenuItemH handle, QIconH retval) { *(QIcon *)retval = ((QStyleOptionMenuItem *)handle)->icon; } void QStyleOptionMenuItem_setIcon(QStyleOptionMenuItemH handle, QIconH icon) { ((QStyleOptionMenuItem *)handle)->icon = *(QIcon *)icon; } int QStyleOptionMenuItem_maxIconWidth(QStyleOptionMenuItemH handle) { return (int) ((QStyleOptionMenuItem *)handle)->maxIconWidth; } void QStyleOptionMenuItem_setMaxIconWidth(QStyleOptionMenuItemH handle, int maxIconWidth) { ((QStyleOptionMenuItem *)handle)->maxIconWidth = maxIconWidth; } int QStyleOptionMenuItem_tabWidth(QStyleOptionMenuItemH handle) { return (int) ((QStyleOptionMenuItem *)handle)->tabWidth; } void QStyleOptionMenuItem_setTabWidth(QStyleOptionMenuItemH handle, int tabWidth) { ((QStyleOptionMenuItem *)handle)->tabWidth = tabWidth; } void QStyleOptionMenuItem_font(QStyleOptionMenuItemH handle, QFontH retval) { *(QFont *)retval = ((QStyleOptionMenuItem *)handle)->font; } void QStyleOptionMenuItem_setFont(QStyleOptionMenuItemH handle, QFontH font) { ((QStyleOptionMenuItem *)handle)->font = *(QFont *)font; } QStyleOptionMenuItemH QStyleOptionMenuItem_create() { return (QStyleOptionMenuItemH) new QStyleOptionMenuItem(); } void QStyleOptionMenuItem_destroy(QStyleOptionMenuItemH handle) { delete (QStyleOptionMenuItem *)handle; } QStyleOptionMenuItemH QStyleOptionMenuItem_create2(const QStyleOptionMenuItemH other) { return (QStyleOptionMenuItemH) new QStyleOptionMenuItem(*(const QStyleOptionMenuItem*)other); } unsigned int QStyleOptionQ3ListViewItem_features(QStyleOptionQ3ListViewItemH handle) { return (unsigned int) ((QStyleOptionQ3ListViewItem *)handle)->features; } void QStyleOptionQ3ListViewItem_setFeatures(QStyleOptionQ3ListViewItemH handle, unsigned int features) { ((QStyleOptionQ3ListViewItem *)handle)->features =(QStyleOptionQ3ListViewItem::Q3ListViewItemFeatures)features; } int QStyleOptionQ3ListViewItem_height(QStyleOptionQ3ListViewItemH handle) { return (int) ((QStyleOptionQ3ListViewItem *)handle)->height; } void QStyleOptionQ3ListViewItem_setHeight(QStyleOptionQ3ListViewItemH handle, int height) { ((QStyleOptionQ3ListViewItem *)handle)->height = height; } int QStyleOptionQ3ListViewItem_totalHeight(QStyleOptionQ3ListViewItemH handle) { return (int) ((QStyleOptionQ3ListViewItem *)handle)->totalHeight; } void QStyleOptionQ3ListViewItem_setTotalHeight(QStyleOptionQ3ListViewItemH handle, int totalHeight) { ((QStyleOptionQ3ListViewItem *)handle)->totalHeight = totalHeight; } int QStyleOptionQ3ListViewItem_itemY(QStyleOptionQ3ListViewItemH handle) { return (int) ((QStyleOptionQ3ListViewItem *)handle)->itemY; } void QStyleOptionQ3ListViewItem_setItemY(QStyleOptionQ3ListViewItemH handle, int itemY) { ((QStyleOptionQ3ListViewItem *)handle)->itemY = itemY; } int QStyleOptionQ3ListViewItem_childCount(QStyleOptionQ3ListViewItemH handle) { return (int) ((QStyleOptionQ3ListViewItem *)handle)->childCount; } void QStyleOptionQ3ListViewItem_setChildCount(QStyleOptionQ3ListViewItemH handle, int childCount) { ((QStyleOptionQ3ListViewItem *)handle)->childCount = childCount; } QStyleOptionQ3ListViewItemH QStyleOptionQ3ListViewItem_create() { return (QStyleOptionQ3ListViewItemH) new QStyleOptionQ3ListViewItem(); } void QStyleOptionQ3ListViewItem_destroy(QStyleOptionQ3ListViewItemH handle) { delete (QStyleOptionQ3ListViewItem *)handle; } QStyleOptionQ3ListViewItemH QStyleOptionQ3ListViewItem_create2(const QStyleOptionQ3ListViewItemH other) { return (QStyleOptionQ3ListViewItemH) new QStyleOptionQ3ListViewItem(*(const QStyleOptionQ3ListViewItem*)other); } bool QStyleOptionQ3DockWindow_docked(QStyleOptionQ3DockWindowH handle) { return (bool) ((QStyleOptionQ3DockWindow *)handle)->docked; } void QStyleOptionQ3DockWindow_setDocked(QStyleOptionQ3DockWindowH handle, bool docked) { ((QStyleOptionQ3DockWindow *)handle)->docked = docked; } bool QStyleOptionQ3DockWindow_closeEnabled(QStyleOptionQ3DockWindowH handle) { return (bool) ((QStyleOptionQ3DockWindow *)handle)->closeEnabled; } void QStyleOptionQ3DockWindow_setCloseEnabled(QStyleOptionQ3DockWindowH handle, bool closeEnabled) { ((QStyleOptionQ3DockWindow *)handle)->closeEnabled = closeEnabled; } QStyleOptionQ3DockWindowH QStyleOptionQ3DockWindow_create() { return (QStyleOptionQ3DockWindowH) new QStyleOptionQ3DockWindow(); } void QStyleOptionQ3DockWindow_destroy(QStyleOptionQ3DockWindowH handle) { delete (QStyleOptionQ3DockWindow *)handle; } QStyleOptionQ3DockWindowH QStyleOptionQ3DockWindow_create2(const QStyleOptionQ3DockWindowH other) { return (QStyleOptionQ3DockWindowH) new QStyleOptionQ3DockWindow(*(const QStyleOptionQ3DockWindow*)other); } void QStyleOptionDockWidget_title(QStyleOptionDockWidgetH handle, PWideString retval) { copyQStringToPWideString(((QStyleOptionDockWidget *)handle)->title,retval); } void QStyleOptionDockWidget_setTitle(QStyleOptionDockWidgetH handle, PWideString title) { copyPWideStringToQString(title,((QStyleOptionDockWidget *)handle)->title); } bool QStyleOptionDockWidget_closable(QStyleOptionDockWidgetH handle) { return (bool) ((QStyleOptionDockWidget *)handle)->closable; } void QStyleOptionDockWidget_setClosable(QStyleOptionDockWidgetH handle, bool closable) { ((QStyleOptionDockWidget *)handle)->closable = closable; } bool QStyleOptionDockWidget_movable(QStyleOptionDockWidgetH handle) { return (bool) ((QStyleOptionDockWidget *)handle)->movable; } void QStyleOptionDockWidget_setMovable(QStyleOptionDockWidgetH handle, bool movable) { ((QStyleOptionDockWidget *)handle)->movable = movable; } bool QStyleOptionDockWidget_floatable(QStyleOptionDockWidgetH handle) { return (bool) ((QStyleOptionDockWidget *)handle)->floatable; } void QStyleOptionDockWidget_setFloatable(QStyleOptionDockWidgetH handle, bool floatable) { ((QStyleOptionDockWidget *)handle)->floatable = floatable; } QStyleOptionDockWidgetH QStyleOptionDockWidget_create() { return (QStyleOptionDockWidgetH) new QStyleOptionDockWidget(); } void QStyleOptionDockWidget_destroy(QStyleOptionDockWidgetH handle) { delete (QStyleOptionDockWidget *)handle; } QStyleOptionDockWidgetH QStyleOptionDockWidget_create2(const QStyleOptionDockWidgetH other) { return (QStyleOptionDockWidgetH) new QStyleOptionDockWidget(*(const QStyleOptionDockWidget*)other); } unsigned int QStyleOptionViewItem_displayAlignment(QStyleOptionViewItemH handle) { return (unsigned int) ((QStyleOptionViewItem *)handle)->displayAlignment; } void QStyleOptionViewItem_setDisplayAlignment(QStyleOptionViewItemH handle, unsigned int displayAlignment) { ((QStyleOptionViewItem *)handle)->displayAlignment =(Qt::Alignment)displayAlignment; } unsigned int QStyleOptionViewItem_decorationAlignment(QStyleOptionViewItemH handle) { return (unsigned int) ((QStyleOptionViewItem *)handle)->decorationAlignment; } void QStyleOptionViewItem_setDecorationAlignment(QStyleOptionViewItemH handle, unsigned int decorationAlignment) { ((QStyleOptionViewItem *)handle)->decorationAlignment =(Qt::Alignment)decorationAlignment; } Qt::TextElideMode QStyleOptionViewItem_textElideMode(QStyleOptionViewItemH handle) { return (Qt::TextElideMode) ((QStyleOptionViewItem *)handle)->textElideMode; } void QStyleOptionViewItem_setTextElideMode(QStyleOptionViewItemH handle, Qt::TextElideMode textElideMode) { ((QStyleOptionViewItem *)handle)->textElideMode = textElideMode; } QStyleOptionViewItem::Position QStyleOptionViewItem_decorationPosition(QStyleOptionViewItemH handle) { return (QStyleOptionViewItem::Position) ((QStyleOptionViewItem *)handle)->decorationPosition; } void QStyleOptionViewItem_setDecorationPosition(QStyleOptionViewItemH handle, QStyleOptionViewItem::Position decorationPosition) { ((QStyleOptionViewItem *)handle)->decorationPosition = decorationPosition; } void QStyleOptionViewItem_decorationSize(QStyleOptionViewItemH handle, PSize retval) { *(QSize *)retval = ((QStyleOptionViewItem *)handle)->decorationSize; } void QStyleOptionViewItem_setDecorationSize(QStyleOptionViewItemH handle, PSize decorationSize) { ((QStyleOptionViewItem *)handle)->decorationSize = *(QSize *)decorationSize; } void QStyleOptionViewItem_font(QStyleOptionViewItemH handle, QFontH retval) { *(QFont *)retval = ((QStyleOptionViewItem *)handle)->font; } void QStyleOptionViewItem_setFont(QStyleOptionViewItemH handle, QFontH font) { ((QStyleOptionViewItem *)handle)->font = *(QFont *)font; } bool QStyleOptionViewItem_showDecorationSelected(QStyleOptionViewItemH handle) { return (bool) ((QStyleOptionViewItem *)handle)->showDecorationSelected; } void QStyleOptionViewItem_setShowDecorationSelected(QStyleOptionViewItemH handle, bool showDecorationSelected) { ((QStyleOptionViewItem *)handle)->showDecorationSelected = showDecorationSelected; } QStyleOptionViewItemH QStyleOptionViewItem_create() { return (QStyleOptionViewItemH) new QStyleOptionViewItem(); } void QStyleOptionViewItem_destroy(QStyleOptionViewItemH handle) { delete (QStyleOptionViewItem *)handle; } QStyleOptionViewItemH QStyleOptionViewItem_create2(const QStyleOptionViewItemH other) { return (QStyleOptionViewItemH) new QStyleOptionViewItem(*(const QStyleOptionViewItem*)other); } void QStyleOptionViewItemV4_index(QStyleOptionViewItemV4H handle, QModelIndexH retval) { *(QModelIndex *)retval = ((QStyleOptionViewItemV4 *)handle)->index; } void QStyleOptionViewItemV4_setIndex(QStyleOptionViewItemV4H handle, QModelIndexH index) { ((QStyleOptionViewItemV4 *)handle)->index = *(QModelIndex *)index; } Qt::CheckState QStyleOptionViewItemV4_checkState(QStyleOptionViewItemV4H handle) { return (Qt::CheckState) ((QStyleOptionViewItemV4 *)handle)->checkState; } void QStyleOptionViewItemV4_setCheckState(QStyleOptionViewItemV4H handle, Qt::CheckState checkState) { ((QStyleOptionViewItemV4 *)handle)->checkState = checkState; } void QStyleOptionViewItemV4_icon(QStyleOptionViewItemV4H handle, QIconH retval) { *(QIcon *)retval = ((QStyleOptionViewItemV4 *)handle)->icon; } void QStyleOptionViewItemV4_setIcon(QStyleOptionViewItemV4H handle, QIconH icon) { ((QStyleOptionViewItemV4 *)handle)->icon = *(QIcon *)icon; } void QStyleOptionViewItemV4_text(QStyleOptionViewItemV4H handle, PWideString retval) { copyQStringToPWideString(((QStyleOptionViewItemV4 *)handle)->text,retval); } void QStyleOptionViewItemV4_setText(QStyleOptionViewItemV4H handle, PWideString text) { copyPWideStringToQString(text,((QStyleOptionViewItemV4 *)handle)->text); } QStyleOptionViewItemV4::ViewItemPosition QStyleOptionViewItemV4_viewItemPosition(QStyleOptionViewItemV4H handle) { return (QStyleOptionViewItemV4::ViewItemPosition) ((QStyleOptionViewItemV4 *)handle)->viewItemPosition; } void QStyleOptionViewItemV4_setViewItemPosition(QStyleOptionViewItemV4H handle, QStyleOptionViewItemV4::ViewItemPosition viewItemPosition) { ((QStyleOptionViewItemV4 *)handle)->viewItemPosition = viewItemPosition; } void QStyleOptionViewItemV4_backgroundBrush(QStyleOptionViewItemV4H handle, QBrushH retval) { *(QBrush *)retval = ((QStyleOptionViewItemV4 *)handle)->backgroundBrush; } void QStyleOptionViewItemV4_setBackgroundBrush(QStyleOptionViewItemV4H handle, QBrushH backgroundBrush) { ((QStyleOptionViewItemV4 *)handle)->backgroundBrush = *(QBrush *)backgroundBrush; } QStyleOptionViewItemV4H QStyleOptionViewItemV4_create() { return (QStyleOptionViewItemV4H) new QStyleOptionViewItemV4(); } void QStyleOptionViewItemV4_destroy(QStyleOptionViewItemV4H handle) { delete (QStyleOptionViewItemV4 *)handle; } QStyleOptionViewItemV4H QStyleOptionViewItemV4_create2(const QStyleOptionViewItemV4H other) { return (QStyleOptionViewItemV4H) new QStyleOptionViewItemV4(*(const QStyleOptionViewItemV4*)other); } QStyleOptionViewItemV4H QStyleOptionViewItemV4_create3(const QStyleOptionViewItemH other) { return (QStyleOptionViewItemV4H) new QStyleOptionViewItemV4(*(const QStyleOptionViewItem*)other); } void QStyleOptionToolBox_text(QStyleOptionToolBoxH handle, PWideString retval) { copyQStringToPWideString(((QStyleOptionToolBox *)handle)->text,retval); } void QStyleOptionToolBox_setText(QStyleOptionToolBoxH handle, PWideString text) { copyPWideStringToQString(text,((QStyleOptionToolBox *)handle)->text); } void QStyleOptionToolBox_icon(QStyleOptionToolBoxH handle, QIconH retval) { *(QIcon *)retval = ((QStyleOptionToolBox *)handle)->icon; } void QStyleOptionToolBox_setIcon(QStyleOptionToolBoxH handle, QIconH icon) { ((QStyleOptionToolBox *)handle)->icon = *(QIcon *)icon; } QStyleOptionToolBoxH QStyleOptionToolBox_create() { return (QStyleOptionToolBoxH) new QStyleOptionToolBox(); } void QStyleOptionToolBox_destroy(QStyleOptionToolBoxH handle) { delete (QStyleOptionToolBox *)handle; } QStyleOptionToolBoxH QStyleOptionToolBox_create2(const QStyleOptionToolBoxH other) { return (QStyleOptionToolBoxH) new QStyleOptionToolBox(*(const QStyleOptionToolBox*)other); } QStyleOptionToolBoxV2::TabPosition QStyleOptionToolBoxV2_position(QStyleOptionToolBoxV2H handle) { return (QStyleOptionToolBoxV2::TabPosition) ((QStyleOptionToolBoxV2 *)handle)->position; } void QStyleOptionToolBoxV2_setPosition(QStyleOptionToolBoxV2H handle, QStyleOptionToolBoxV2::TabPosition position) { ((QStyleOptionToolBoxV2 *)handle)->position = position; } QStyleOptionToolBoxV2::SelectedPosition QStyleOptionToolBoxV2_selectedPosition(QStyleOptionToolBoxV2H handle) { return (QStyleOptionToolBoxV2::SelectedPosition) ((QStyleOptionToolBoxV2 *)handle)->selectedPosition; } void QStyleOptionToolBoxV2_setSelectedPosition(QStyleOptionToolBoxV2H handle, QStyleOptionToolBoxV2::SelectedPosition selectedPosition) { ((QStyleOptionToolBoxV2 *)handle)->selectedPosition = selectedPosition; } QStyleOptionToolBoxV2H QStyleOptionToolBoxV2_create() { return (QStyleOptionToolBoxV2H) new QStyleOptionToolBoxV2(); } void QStyleOptionToolBoxV2_destroy(QStyleOptionToolBoxV2H handle) { delete (QStyleOptionToolBoxV2 *)handle; } QStyleOptionToolBoxV2H QStyleOptionToolBoxV2_create2(const QStyleOptionToolBoxV2H other) { return (QStyleOptionToolBoxV2H) new QStyleOptionToolBoxV2(*(const QStyleOptionToolBoxV2*)other); } QStyleOptionToolBoxV2H QStyleOptionToolBoxV2_create3(const QStyleOptionToolBoxH other) { return (QStyleOptionToolBoxV2H) new QStyleOptionToolBoxV2(*(const QStyleOptionToolBox*)other); } QRubberBand::Shape QStyleOptionRubberBand_shape(QStyleOptionRubberBandH handle) { return (QRubberBand::Shape) ((QStyleOptionRubberBand *)handle)->shape; } void QStyleOptionRubberBand_setShape(QStyleOptionRubberBandH handle, QRubberBand::Shape shape) { ((QStyleOptionRubberBand *)handle)->shape = shape; } bool QStyleOptionRubberBand_opaque(QStyleOptionRubberBandH handle) { return (bool) ((QStyleOptionRubberBand *)handle)->opaque; } void QStyleOptionRubberBand_setOpaque(QStyleOptionRubberBandH handle, bool opaque) { ((QStyleOptionRubberBand *)handle)->opaque = opaque; } QStyleOptionRubberBandH QStyleOptionRubberBand_create() { return (QStyleOptionRubberBandH) new QStyleOptionRubberBand(); } void QStyleOptionRubberBand_destroy(QStyleOptionRubberBandH handle) { delete (QStyleOptionRubberBand *)handle; } QStyleOptionRubberBandH QStyleOptionRubberBand_create2(const QStyleOptionRubberBandH other) { return (QStyleOptionRubberBandH) new QStyleOptionRubberBand(*(const QStyleOptionRubberBand*)other); } unsigned int QStyleOptionComplex_subControls(QStyleOptionComplexH handle) { return (unsigned int) ((QStyleOptionComplex *)handle)->subControls; } void QStyleOptionComplex_setSubControls(QStyleOptionComplexH handle, unsigned int subControls) { ((QStyleOptionComplex *)handle)->subControls =(QStyle::SubControls)subControls; } unsigned int QStyleOptionComplex_activeSubControls(QStyleOptionComplexH handle) { return (unsigned int) ((QStyleOptionComplex *)handle)->activeSubControls; } void QStyleOptionComplex_setActiveSubControls(QStyleOptionComplexH handle, unsigned int activeSubControls) { ((QStyleOptionComplex *)handle)->activeSubControls =(QStyle::SubControls)activeSubControls; } QStyleOptionComplexH QStyleOptionComplex_create(int version, int type) { return (QStyleOptionComplexH) new QStyleOptionComplex(version, type); } void QStyleOptionComplex_destroy(QStyleOptionComplexH handle) { delete (QStyleOptionComplex *)handle; } QStyleOptionComplexH QStyleOptionComplex_create2(const QStyleOptionComplexH other) { return (QStyleOptionComplexH) new QStyleOptionComplex(*(const QStyleOptionComplex*)other); } Qt::Orientation QStyleOptionSlider_orientation(QStyleOptionSliderH handle) { return (Qt::Orientation) ((QStyleOptionSlider *)handle)->orientation; } void QStyleOptionSlider_setOrientation(QStyleOptionSliderH handle, Qt::Orientation orientation) { ((QStyleOptionSlider *)handle)->orientation = orientation; } int QStyleOptionSlider_minimum(QStyleOptionSliderH handle) { return (int) ((QStyleOptionSlider *)handle)->minimum; } void QStyleOptionSlider_setMinimum(QStyleOptionSliderH handle, int minimum) { ((QStyleOptionSlider *)handle)->minimum = minimum; } int QStyleOptionSlider_maximum(QStyleOptionSliderH handle) { return (int) ((QStyleOptionSlider *)handle)->maximum; } void QStyleOptionSlider_setMaximum(QStyleOptionSliderH handle, int maximum) { ((QStyleOptionSlider *)handle)->maximum = maximum; } QSlider::TickPosition QStyleOptionSlider_tickPosition(QStyleOptionSliderH handle) { return (QSlider::TickPosition) ((QStyleOptionSlider *)handle)->tickPosition; } void QStyleOptionSlider_setTickPosition(QStyleOptionSliderH handle, QSlider::TickPosition tickPosition) { ((QStyleOptionSlider *)handle)->tickPosition = tickPosition; } int QStyleOptionSlider_tickInterval(QStyleOptionSliderH handle) { return (int) ((QStyleOptionSlider *)handle)->tickInterval; } void QStyleOptionSlider_setTickInterval(QStyleOptionSliderH handle, int tickInterval) { ((QStyleOptionSlider *)handle)->tickInterval = tickInterval; } bool QStyleOptionSlider_upsideDown(QStyleOptionSliderH handle) { return (bool) ((QStyleOptionSlider *)handle)->upsideDown; } void QStyleOptionSlider_setUpsideDown(QStyleOptionSliderH handle, bool upsideDown) { ((QStyleOptionSlider *)handle)->upsideDown = upsideDown; } int QStyleOptionSlider_sliderPosition(QStyleOptionSliderH handle) { return (int) ((QStyleOptionSlider *)handle)->sliderPosition; } void QStyleOptionSlider_setSliderPosition(QStyleOptionSliderH handle, int sliderPosition) { ((QStyleOptionSlider *)handle)->sliderPosition = sliderPosition; } int QStyleOptionSlider_sliderValue(QStyleOptionSliderH handle) { return (int) ((QStyleOptionSlider *)handle)->sliderValue; } void QStyleOptionSlider_setSliderValue(QStyleOptionSliderH handle, int sliderValue) { ((QStyleOptionSlider *)handle)->sliderValue = sliderValue; } int QStyleOptionSlider_singleStep(QStyleOptionSliderH handle) { return (int) ((QStyleOptionSlider *)handle)->singleStep; } void QStyleOptionSlider_setSingleStep(QStyleOptionSliderH handle, int singleStep) { ((QStyleOptionSlider *)handle)->singleStep = singleStep; } int QStyleOptionSlider_pageStep(QStyleOptionSliderH handle) { return (int) ((QStyleOptionSlider *)handle)->pageStep; } void QStyleOptionSlider_setPageStep(QStyleOptionSliderH handle, int pageStep) { ((QStyleOptionSlider *)handle)->pageStep = pageStep; } qreal QStyleOptionSlider_notchTarget(QStyleOptionSliderH handle) { return (qreal) ((QStyleOptionSlider *)handle)->notchTarget; } void QStyleOptionSlider_setNotchTarget(QStyleOptionSliderH handle, qreal notchTarget) { ((QStyleOptionSlider *)handle)->notchTarget = notchTarget; } bool QStyleOptionSlider_dialWrapping(QStyleOptionSliderH handle) { return (bool) ((QStyleOptionSlider *)handle)->dialWrapping; } void QStyleOptionSlider_setDialWrapping(QStyleOptionSliderH handle, bool dialWrapping) { ((QStyleOptionSlider *)handle)->dialWrapping = dialWrapping; } QStyleOptionSliderH QStyleOptionSlider_create() { return (QStyleOptionSliderH) new QStyleOptionSlider(); } void QStyleOptionSlider_destroy(QStyleOptionSliderH handle) { delete (QStyleOptionSlider *)handle; } QStyleOptionSliderH QStyleOptionSlider_create2(const QStyleOptionSliderH other) { return (QStyleOptionSliderH) new QStyleOptionSlider(*(const QStyleOptionSlider*)other); } QAbstractSpinBox::ButtonSymbols QStyleOptionSpinBox_buttonSymbols(QStyleOptionSpinBoxH handle) { return (QAbstractSpinBox::ButtonSymbols) ((QStyleOptionSpinBox *)handle)->buttonSymbols; } void QStyleOptionSpinBox_setButtonSymbols(QStyleOptionSpinBoxH handle, QAbstractSpinBox::ButtonSymbols buttonSymbols) { ((QStyleOptionSpinBox *)handle)->buttonSymbols = buttonSymbols; } unsigned int QStyleOptionSpinBox_stepEnabled(QStyleOptionSpinBoxH handle) { return (unsigned int) ((QStyleOptionSpinBox *)handle)->stepEnabled; } void QStyleOptionSpinBox_setStepEnabled(QStyleOptionSpinBoxH handle, unsigned int stepEnabled) { ((QStyleOptionSpinBox *)handle)->stepEnabled =(QAbstractSpinBox::StepEnabled)stepEnabled; } bool QStyleOptionSpinBox_frame(QStyleOptionSpinBoxH handle) { return (bool) ((QStyleOptionSpinBox *)handle)->frame; } void QStyleOptionSpinBox_setFrame(QStyleOptionSpinBoxH handle, bool frame) { ((QStyleOptionSpinBox *)handle)->frame = frame; } QStyleOptionSpinBoxH QStyleOptionSpinBox_create() { return (QStyleOptionSpinBoxH) new QStyleOptionSpinBox(); } void QStyleOptionSpinBox_destroy(QStyleOptionSpinBoxH handle) { delete (QStyleOptionSpinBox *)handle; } QStyleOptionSpinBoxH QStyleOptionSpinBox_create2(const QStyleOptionSpinBoxH other) { return (QStyleOptionSpinBoxH) new QStyleOptionSpinBox(*(const QStyleOptionSpinBox*)other); } void QStyleOptionQ3ListView_viewportPalette(QStyleOptionQ3ListViewH handle, QPaletteH retval) { *(QPalette *)retval = ((QStyleOptionQ3ListView *)handle)->viewportPalette; } void QStyleOptionQ3ListView_setViewportPalette(QStyleOptionQ3ListViewH handle, QPaletteH viewportPalette) { ((QStyleOptionQ3ListView *)handle)->viewportPalette = *(QPalette *)viewportPalette; } QPalette::ColorRole QStyleOptionQ3ListView_viewportBGRole(QStyleOptionQ3ListViewH handle) { return (QPalette::ColorRole) ((QStyleOptionQ3ListView *)handle)->viewportBGRole; } void QStyleOptionQ3ListView_setViewportBGRole(QStyleOptionQ3ListViewH handle, QPalette::ColorRole viewportBGRole) { ((QStyleOptionQ3ListView *)handle)->viewportBGRole = viewportBGRole; } int QStyleOptionQ3ListView_sortColumn(QStyleOptionQ3ListViewH handle) { return (int) ((QStyleOptionQ3ListView *)handle)->sortColumn; } void QStyleOptionQ3ListView_setSortColumn(QStyleOptionQ3ListViewH handle, int sortColumn) { ((QStyleOptionQ3ListView *)handle)->sortColumn = sortColumn; } int QStyleOptionQ3ListView_itemMargin(QStyleOptionQ3ListViewH handle) { return (int) ((QStyleOptionQ3ListView *)handle)->itemMargin; } void QStyleOptionQ3ListView_setItemMargin(QStyleOptionQ3ListViewH handle, int itemMargin) { ((QStyleOptionQ3ListView *)handle)->itemMargin = itemMargin; } int QStyleOptionQ3ListView_treeStepSize(QStyleOptionQ3ListViewH handle) { return (int) ((QStyleOptionQ3ListView *)handle)->treeStepSize; } void QStyleOptionQ3ListView_setTreeStepSize(QStyleOptionQ3ListViewH handle, int treeStepSize) { ((QStyleOptionQ3ListView *)handle)->treeStepSize = treeStepSize; } bool QStyleOptionQ3ListView_rootIsDecorated(QStyleOptionQ3ListViewH handle) { return (bool) ((QStyleOptionQ3ListView *)handle)->rootIsDecorated; } void QStyleOptionQ3ListView_setRootIsDecorated(QStyleOptionQ3ListViewH handle, bool rootIsDecorated) { ((QStyleOptionQ3ListView *)handle)->rootIsDecorated = rootIsDecorated; } QStyleOptionQ3ListViewH QStyleOptionQ3ListView_create() { return (QStyleOptionQ3ListViewH) new QStyleOptionQ3ListView(); } void QStyleOptionQ3ListView_destroy(QStyleOptionQ3ListViewH handle) { delete (QStyleOptionQ3ListView *)handle; } QStyleOptionQ3ListViewH QStyleOptionQ3ListView_create2(const QStyleOptionQ3ListViewH other) { return (QStyleOptionQ3ListViewH) new QStyleOptionQ3ListView(*(const QStyleOptionQ3ListView*)other); } unsigned int QStyleOptionToolButton_features(QStyleOptionToolButtonH handle) { return (unsigned int) ((QStyleOptionToolButton *)handle)->features; } void QStyleOptionToolButton_setFeatures(QStyleOptionToolButtonH handle, unsigned int features) { ((QStyleOptionToolButton *)handle)->features =(QStyleOptionToolButton::ToolButtonFeatures)features; } void QStyleOptionToolButton_icon(QStyleOptionToolButtonH handle, QIconH retval) { *(QIcon *)retval = ((QStyleOptionToolButton *)handle)->icon; } void QStyleOptionToolButton_setIcon(QStyleOptionToolButtonH handle, QIconH icon) { ((QStyleOptionToolButton *)handle)->icon = *(QIcon *)icon; } void QStyleOptionToolButton_iconSize(QStyleOptionToolButtonH handle, PSize retval) { *(QSize *)retval = ((QStyleOptionToolButton *)handle)->iconSize; } void QStyleOptionToolButton_setIconSize(QStyleOptionToolButtonH handle, PSize iconSize) { ((QStyleOptionToolButton *)handle)->iconSize = *(QSize *)iconSize; } void QStyleOptionToolButton_text(QStyleOptionToolButtonH handle, PWideString retval) { copyQStringToPWideString(((QStyleOptionToolButton *)handle)->text,retval); } void QStyleOptionToolButton_setText(QStyleOptionToolButtonH handle, PWideString text) { copyPWideStringToQString(text,((QStyleOptionToolButton *)handle)->text); } Qt::ArrowType QStyleOptionToolButton_arrowType(QStyleOptionToolButtonH handle) { return (Qt::ArrowType) ((QStyleOptionToolButton *)handle)->arrowType; } void QStyleOptionToolButton_setArrowType(QStyleOptionToolButtonH handle, Qt::ArrowType arrowType) { ((QStyleOptionToolButton *)handle)->arrowType = arrowType; } Qt::ToolButtonStyle QStyleOptionToolButton_toolButtonStyle(QStyleOptionToolButtonH handle) { return (Qt::ToolButtonStyle) ((QStyleOptionToolButton *)handle)->toolButtonStyle; } void QStyleOptionToolButton_setToolButtonStyle(QStyleOptionToolButtonH handle, Qt::ToolButtonStyle toolButtonStyle) { ((QStyleOptionToolButton *)handle)->toolButtonStyle = toolButtonStyle; } void QStyleOptionToolButton_pos(QStyleOptionToolButtonH handle, PQtPoint retval) { *(QPoint *)retval = ((QStyleOptionToolButton *)handle)->pos; } void QStyleOptionToolButton_setPos(QStyleOptionToolButtonH handle, PQtPoint pos) { ((QStyleOptionToolButton *)handle)->pos = *(QPoint *)pos; } void QStyleOptionToolButton_font(QStyleOptionToolButtonH handle, QFontH retval) { *(QFont *)retval = ((QStyleOptionToolButton *)handle)->font; } void QStyleOptionToolButton_setFont(QStyleOptionToolButtonH handle, QFontH font) { ((QStyleOptionToolButton *)handle)->font = *(QFont *)font; } QStyleOptionToolButtonH QStyleOptionToolButton_create() { return (QStyleOptionToolButtonH) new QStyleOptionToolButton(); } void QStyleOptionToolButton_destroy(QStyleOptionToolButtonH handle) { delete (QStyleOptionToolButton *)handle; } QStyleOptionToolButtonH QStyleOptionToolButton_create2(const QStyleOptionToolButtonH other) { return (QStyleOptionToolButtonH) new QStyleOptionToolButton(*(const QStyleOptionToolButton*)other); } bool QStyleOptionComboBox_editable(QStyleOptionComboBoxH handle) { return (bool) ((QStyleOptionComboBox *)handle)->editable; } void QStyleOptionComboBox_setEditable(QStyleOptionComboBoxH handle, bool editable) { ((QStyleOptionComboBox *)handle)->editable = editable; } void QStyleOptionComboBox_popupRect(QStyleOptionComboBoxH handle, PRect retval) { copyQRectToPRect(((QStyleOptionComboBox *)handle)->popupRect,retval); } void QStyleOptionComboBox_setPopupRect(QStyleOptionComboBoxH handle, PRect popupRect) { copyPRectToQRect(popupRect,((QStyleOptionComboBox *)handle)->popupRect); } bool QStyleOptionComboBox_frame(QStyleOptionComboBoxH handle) { return (bool) ((QStyleOptionComboBox *)handle)->frame; } void QStyleOptionComboBox_setFrame(QStyleOptionComboBoxH handle, bool frame) { ((QStyleOptionComboBox *)handle)->frame = frame; } void QStyleOptionComboBox_currentText(QStyleOptionComboBoxH handle, PWideString retval) { copyQStringToPWideString(((QStyleOptionComboBox *)handle)->currentText,retval); } void QStyleOptionComboBox_setCurrentText(QStyleOptionComboBoxH handle, PWideString currentText) { copyPWideStringToQString(currentText,((QStyleOptionComboBox *)handle)->currentText); } void QStyleOptionComboBox_currentIcon(QStyleOptionComboBoxH handle, QIconH retval) { *(QIcon *)retval = ((QStyleOptionComboBox *)handle)->currentIcon; } void QStyleOptionComboBox_setCurrentIcon(QStyleOptionComboBoxH handle, QIconH currentIcon) { ((QStyleOptionComboBox *)handle)->currentIcon = *(QIcon *)currentIcon; } void QStyleOptionComboBox_iconSize(QStyleOptionComboBoxH handle, PSize retval) { *(QSize *)retval = ((QStyleOptionComboBox *)handle)->iconSize; } void QStyleOptionComboBox_setIconSize(QStyleOptionComboBoxH handle, PSize iconSize) { ((QStyleOptionComboBox *)handle)->iconSize = *(QSize *)iconSize; } QStyleOptionComboBoxH QStyleOptionComboBox_create() { return (QStyleOptionComboBoxH) new QStyleOptionComboBox(); } void QStyleOptionComboBox_destroy(QStyleOptionComboBoxH handle) { delete (QStyleOptionComboBox *)handle; } QStyleOptionComboBoxH QStyleOptionComboBox_create2(const QStyleOptionComboBoxH other) { return (QStyleOptionComboBoxH) new QStyleOptionComboBox(*(const QStyleOptionComboBox*)other); } void QStyleOptionTitleBar_text(QStyleOptionTitleBarH handle, PWideString retval) { copyQStringToPWideString(((QStyleOptionTitleBar *)handle)->text,retval); } void QStyleOptionTitleBar_setText(QStyleOptionTitleBarH handle, PWideString text) { copyPWideStringToQString(text,((QStyleOptionTitleBar *)handle)->text); } void QStyleOptionTitleBar_icon(QStyleOptionTitleBarH handle, QIconH retval) { *(QIcon *)retval = ((QStyleOptionTitleBar *)handle)->icon; } void QStyleOptionTitleBar_setIcon(QStyleOptionTitleBarH handle, QIconH icon) { ((QStyleOptionTitleBar *)handle)->icon = *(QIcon *)icon; } int QStyleOptionTitleBar_titleBarState(QStyleOptionTitleBarH handle) { return (int) ((QStyleOptionTitleBar *)handle)->titleBarState; } void QStyleOptionTitleBar_setTitleBarState(QStyleOptionTitleBarH handle, int titleBarState) { ((QStyleOptionTitleBar *)handle)->titleBarState = titleBarState; } unsigned int QStyleOptionTitleBar_titleBarFlags(QStyleOptionTitleBarH handle) { return (unsigned int) ((QStyleOptionTitleBar *)handle)->titleBarFlags; } void QStyleOptionTitleBar_setTitleBarFlags(QStyleOptionTitleBarH handle, unsigned int titleBarFlags) { ((QStyleOptionTitleBar *)handle)->titleBarFlags =(Qt::WindowFlags)titleBarFlags; } QStyleOptionTitleBarH QStyleOptionTitleBar_create() { return (QStyleOptionTitleBarH) new QStyleOptionTitleBar(); } void QStyleOptionTitleBar_destroy(QStyleOptionTitleBarH handle) { delete (QStyleOptionTitleBar *)handle; } QStyleOptionTitleBarH QStyleOptionTitleBar_create2(const QStyleOptionTitleBarH other) { return (QStyleOptionTitleBarH) new QStyleOptionTitleBar(*(const QStyleOptionTitleBar*)other); } unsigned int QStyleOptionGroupBox_features(QStyleOptionGroupBoxH handle) { return (unsigned int) ((QStyleOptionGroupBox *)handle)->features; } void QStyleOptionGroupBox_setFeatures(QStyleOptionGroupBoxH handle, unsigned int features) { ((QStyleOptionGroupBox *)handle)->features =(QStyleOptionFrameV2::FrameFeatures)features; } void QStyleOptionGroupBox_text(QStyleOptionGroupBoxH handle, PWideString retval) { copyQStringToPWideString(((QStyleOptionGroupBox *)handle)->text,retval); } void QStyleOptionGroupBox_setText(QStyleOptionGroupBoxH handle, PWideString text) { copyPWideStringToQString(text,((QStyleOptionGroupBox *)handle)->text); } unsigned int QStyleOptionGroupBox_textAlignment(QStyleOptionGroupBoxH handle) { return (unsigned int) ((QStyleOptionGroupBox *)handle)->textAlignment; } void QStyleOptionGroupBox_setTextAlignment(QStyleOptionGroupBoxH handle, unsigned int textAlignment) { ((QStyleOptionGroupBox *)handle)->textAlignment =(Qt::Alignment)textAlignment; } void QStyleOptionGroupBox_textColor(QStyleOptionGroupBoxH handle, PQColor retval) { *(QColor *)retval = ((QStyleOptionGroupBox *)handle)->textColor; } void QStyleOptionGroupBox_setTextColor(QStyleOptionGroupBoxH handle, PQColor textColor) { ((QStyleOptionGroupBox *)handle)->textColor = *(QColor *)textColor; } int QStyleOptionGroupBox_lineWidth(QStyleOptionGroupBoxH handle) { return (int) ((QStyleOptionGroupBox *)handle)->lineWidth; } void QStyleOptionGroupBox_setLineWidth(QStyleOptionGroupBoxH handle, int lineWidth) { ((QStyleOptionGroupBox *)handle)->lineWidth = lineWidth; } int QStyleOptionGroupBox_midLineWidth(QStyleOptionGroupBoxH handle) { return (int) ((QStyleOptionGroupBox *)handle)->midLineWidth; } void QStyleOptionGroupBox_setMidLineWidth(QStyleOptionGroupBoxH handle, int midLineWidth) { ((QStyleOptionGroupBox *)handle)->midLineWidth = midLineWidth; } QStyleOptionGroupBoxH QStyleOptionGroupBox_create() { return (QStyleOptionGroupBoxH) new QStyleOptionGroupBox(); } void QStyleOptionGroupBox_destroy(QStyleOptionGroupBoxH handle) { delete (QStyleOptionGroupBox *)handle; } QStyleOptionGroupBoxH QStyleOptionGroupBox_create2(const QStyleOptionGroupBoxH other) { return (QStyleOptionGroupBoxH) new QStyleOptionGroupBox(*(const QStyleOptionGroupBox*)other); } Qt::Corner QStyleOptionSizeGrip_corner(QStyleOptionSizeGripH handle) { return (Qt::Corner) ((QStyleOptionSizeGrip *)handle)->corner; } void QStyleOptionSizeGrip_setCorner(QStyleOptionSizeGripH handle, Qt::Corner corner) { ((QStyleOptionSizeGrip *)handle)->corner = corner; } QStyleOptionSizeGripH QStyleOptionSizeGrip_create() { return (QStyleOptionSizeGripH) new QStyleOptionSizeGrip(); } void QStyleOptionSizeGrip_destroy(QStyleOptionSizeGripH handle) { delete (QStyleOptionSizeGrip *)handle; } QStyleOptionSizeGripH QStyleOptionSizeGrip_create2(const QStyleOptionSizeGripH other) { return (QStyleOptionSizeGripH) new QStyleOptionSizeGrip(*(const QStyleOptionSizeGrip*)other); } void QStyleOptionGraphicsItem_exposedRect(QStyleOptionGraphicsItemH handle, QRectFH retval) { *(QRectF *)retval = ((QStyleOptionGraphicsItem *)handle)->exposedRect; } void QStyleOptionGraphicsItem_setExposedRect(QStyleOptionGraphicsItemH handle, QRectFH exposedRect) { ((QStyleOptionGraphicsItem *)handle)->exposedRect = *(QRectF *)exposedRect; } void QStyleOptionGraphicsItem_matrix(QStyleOptionGraphicsItemH handle, QMatrixH retval) { *(QMatrix *)retval = ((QStyleOptionGraphicsItem *)handle)->matrix; } void QStyleOptionGraphicsItem_setMatrix(QStyleOptionGraphicsItemH handle, QMatrixH matrix) { ((QStyleOptionGraphicsItem *)handle)->matrix = *(QMatrix *)matrix; } qreal QStyleOptionGraphicsItem_levelOfDetail(QStyleOptionGraphicsItemH handle) { return (qreal) ((QStyleOptionGraphicsItem *)handle)->levelOfDetail; } void QStyleOptionGraphicsItem_setLevelOfDetail(QStyleOptionGraphicsItemH handle, qreal levelOfDetail) { ((QStyleOptionGraphicsItem *)handle)->levelOfDetail = levelOfDetail; } QStyleOptionGraphicsItemH QStyleOptionGraphicsItem_create() { return (QStyleOptionGraphicsItemH) new QStyleOptionGraphicsItem(); } void QStyleOptionGraphicsItem_destroy(QStyleOptionGraphicsItemH handle) { delete (QStyleOptionGraphicsItem *)handle; } QStyleOptionGraphicsItemH QStyleOptionGraphicsItem_create2(const QStyleOptionGraphicsItemH other) { return (QStyleOptionGraphicsItemH) new QStyleOptionGraphicsItem(*(const QStyleOptionGraphicsItem*)other); } int QStyleHintReturn_version(QStyleHintReturnH handle) { return (int) ((QStyleHintReturn *)handle)->version; } void QStyleHintReturn_setVersion(QStyleHintReturnH handle, int version) { ((QStyleHintReturn *)handle)->version = version; } int QStyleHintReturn_type(QStyleHintReturnH handle) { return (int) ((QStyleHintReturn *)handle)->type; } void QStyleHintReturn_setType(QStyleHintReturnH handle, int type) { ((QStyleHintReturn *)handle)->type = type; } QStyleHintReturnH QStyleHintReturn_create(int version, int type) { return (QStyleHintReturnH) new QStyleHintReturn(version, type); } void QStyleHintReturn_destroy(QStyleHintReturnH handle) { delete (QStyleHintReturn *)handle; } void QStyleHintReturnMask_region(QStyleHintReturnMaskH handle, QRegionH retval) { *(QRegion *)retval = ((QStyleHintReturnMask *)handle)->region; } void QStyleHintReturnMask_setRegion(QStyleHintReturnMaskH handle, QRegionH region) { ((QStyleHintReturnMask *)handle)->region = *(QRegion *)region; } QStyleHintReturnMaskH QStyleHintReturnMask_create() { return (QStyleHintReturnMaskH) new QStyleHintReturnMask(); } void QStyleHintReturnMask_destroy(QStyleHintReturnMaskH handle) { delete (QStyleHintReturnMask *)handle; } void QStyleHintReturnVariant_variant(QStyleHintReturnVariantH handle, QVariantH retval) { *(QVariant *)retval = ((QStyleHintReturnVariant *)handle)->variant; } void QStyleHintReturnVariant_setVariant(QStyleHintReturnVariantH handle, QVariantH variant) { ((QStyleHintReturnVariant *)handle)->variant = *(QVariant *)variant; } QStyleHintReturnVariantH QStyleHintReturnVariant_create() { return (QStyleHintReturnVariantH) new QStyleHintReturnVariant(); } void QStyleHintReturnVariant_destroy(QStyleHintReturnVariantH handle) { delete (QStyleHintReturnVariant *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qframe_hook_c.h0000664000212600021260000000124511677135472020003 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFRAME_HOOK_C_H #define QFRAME_HOOK_C_H #include "qframe_hook.h" C_EXPORT QFrame_hookH QFrame_hook_create(QObjectH handle); C_EXPORT void QFrame_hook_destroy(QFrame_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcalendarwidget_c.cpp0000664000212600021260000001600311677135472021177 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qcalendarwidget_c.h" QCalendarWidgetH QCalendarWidget_create(QWidgetH parent) { return (QCalendarWidgetH) new QCalendarWidget((QWidget*)parent); } void QCalendarWidget_destroy(QCalendarWidgetH handle) { delete (QCalendarWidget *)handle; } void QCalendarWidget_sizeHint(QCalendarWidgetH handle, PSize retval) { *(QSize *)retval = ((QCalendarWidget *)handle)->sizeHint(); } void QCalendarWidget_minimumSizeHint(QCalendarWidgetH handle, PSize retval) { *(QSize *)retval = ((QCalendarWidget *)handle)->minimumSizeHint(); } void QCalendarWidget_selectedDate(QCalendarWidgetH handle, QDateH retval) { *(QDate *)retval = ((QCalendarWidget *)handle)->selectedDate(); } int QCalendarWidget_yearShown(QCalendarWidgetH handle) { return (int) ((QCalendarWidget *)handle)->yearShown(); } int QCalendarWidget_monthShown(QCalendarWidgetH handle) { return (int) ((QCalendarWidget *)handle)->monthShown(); } void QCalendarWidget_minimumDate(QCalendarWidgetH handle, QDateH retval) { *(QDate *)retval = ((QCalendarWidget *)handle)->minimumDate(); } void QCalendarWidget_setMinimumDate(QCalendarWidgetH handle, const QDateH date) { ((QCalendarWidget *)handle)->setMinimumDate(*(const QDate*)date); } void QCalendarWidget_maximumDate(QCalendarWidgetH handle, QDateH retval) { *(QDate *)retval = ((QCalendarWidget *)handle)->maximumDate(); } void QCalendarWidget_setMaximumDate(QCalendarWidgetH handle, const QDateH date) { ((QCalendarWidget *)handle)->setMaximumDate(*(const QDate*)date); } Qt::DayOfWeek QCalendarWidget_firstDayOfWeek(QCalendarWidgetH handle) { return (Qt::DayOfWeek) ((QCalendarWidget *)handle)->firstDayOfWeek(); } void QCalendarWidget_setFirstDayOfWeek(QCalendarWidgetH handle, Qt::DayOfWeek dayOfWeek) { ((QCalendarWidget *)handle)->setFirstDayOfWeek(dayOfWeek); } bool QCalendarWidget_isHeaderVisible(QCalendarWidgetH handle) { return (bool) ((QCalendarWidget *)handle)->isHeaderVisible(); } void QCalendarWidget_setHeaderVisible(QCalendarWidgetH handle, bool show) { ((QCalendarWidget *)handle)->setHeaderVisible(show); } bool QCalendarWidget_isNavigationBarVisible(QCalendarWidgetH handle) { return (bool) ((QCalendarWidget *)handle)->isNavigationBarVisible(); } bool QCalendarWidget_isGridVisible(QCalendarWidgetH handle) { return (bool) ((QCalendarWidget *)handle)->isGridVisible(); } QCalendarWidget::SelectionMode QCalendarWidget_selectionMode(QCalendarWidgetH handle) { return (QCalendarWidget::SelectionMode) ((QCalendarWidget *)handle)->selectionMode(); } void QCalendarWidget_setSelectionMode(QCalendarWidgetH handle, QCalendarWidget::SelectionMode mode) { ((QCalendarWidget *)handle)->setSelectionMode(mode); } QCalendarWidget::HorizontalHeaderFormat QCalendarWidget_horizontalHeaderFormat(QCalendarWidgetH handle) { return (QCalendarWidget::HorizontalHeaderFormat) ((QCalendarWidget *)handle)->horizontalHeaderFormat(); } void QCalendarWidget_setHorizontalHeaderFormat(QCalendarWidgetH handle, QCalendarWidget::HorizontalHeaderFormat format) { ((QCalendarWidget *)handle)->setHorizontalHeaderFormat(format); } QCalendarWidget::VerticalHeaderFormat QCalendarWidget_verticalHeaderFormat(QCalendarWidgetH handle) { return (QCalendarWidget::VerticalHeaderFormat) ((QCalendarWidget *)handle)->verticalHeaderFormat(); } void QCalendarWidget_setVerticalHeaderFormat(QCalendarWidgetH handle, QCalendarWidget::VerticalHeaderFormat format) { ((QCalendarWidget *)handle)->setVerticalHeaderFormat(format); } void QCalendarWidget_headerTextFormat(QCalendarWidgetH handle, QTextCharFormatH retval) { *(QTextCharFormat *)retval = ((QCalendarWidget *)handle)->headerTextFormat(); } void QCalendarWidget_setHeaderTextFormat(QCalendarWidgetH handle, const QTextCharFormatH format) { ((QCalendarWidget *)handle)->setHeaderTextFormat(*(const QTextCharFormat*)format); } void QCalendarWidget_weekdayTextFormat(QCalendarWidgetH handle, QTextCharFormatH retval, Qt::DayOfWeek dayOfWeek) { *(QTextCharFormat *)retval = ((QCalendarWidget *)handle)->weekdayTextFormat(dayOfWeek); } void QCalendarWidget_setWeekdayTextFormat(QCalendarWidgetH handle, Qt::DayOfWeek dayOfWeek, const QTextCharFormatH format) { ((QCalendarWidget *)handle)->setWeekdayTextFormat(dayOfWeek, *(const QTextCharFormat*)format); } void QCalendarWidget_dateTextFormat2(QCalendarWidgetH handle, QTextCharFormatH retval, const QDateH date) { *(QTextCharFormat *)retval = ((QCalendarWidget *)handle)->dateTextFormat(*(const QDate*)date); } void QCalendarWidget_setDateTextFormat(QCalendarWidgetH handle, const QDateH date, const QTextCharFormatH format) { ((QCalendarWidget *)handle)->setDateTextFormat(*(const QDate*)date, *(const QTextCharFormat*)format); } bool QCalendarWidget_isDateEditEnabled(QCalendarWidgetH handle) { return (bool) ((QCalendarWidget *)handle)->isDateEditEnabled(); } void QCalendarWidget_setDateEditEnabled(QCalendarWidgetH handle, bool enable) { ((QCalendarWidget *)handle)->setDateEditEnabled(enable); } int QCalendarWidget_dateEditAcceptDelay(QCalendarWidgetH handle) { return (int) ((QCalendarWidget *)handle)->dateEditAcceptDelay(); } void QCalendarWidget_setDateEditAcceptDelay(QCalendarWidgetH handle, int delay) { ((QCalendarWidget *)handle)->setDateEditAcceptDelay(delay); } void QCalendarWidget_setSelectedDate(QCalendarWidgetH handle, const QDateH date) { ((QCalendarWidget *)handle)->setSelectedDate(*(const QDate*)date); } void QCalendarWidget_setDateRange(QCalendarWidgetH handle, const QDateH min, const QDateH max) { ((QCalendarWidget *)handle)->setDateRange(*(const QDate*)min, *(const QDate*)max); } void QCalendarWidget_setCurrentPage(QCalendarWidgetH handle, int year, int month) { ((QCalendarWidget *)handle)->setCurrentPage(year, month); } void QCalendarWidget_setGridVisible(QCalendarWidgetH handle, bool show) { ((QCalendarWidget *)handle)->setGridVisible(show); } void QCalendarWidget_setNavigationBarVisible(QCalendarWidgetH handle, bool visible) { ((QCalendarWidget *)handle)->setNavigationBarVisible(visible); } void QCalendarWidget_showNextMonth(QCalendarWidgetH handle) { ((QCalendarWidget *)handle)->showNextMonth(); } void QCalendarWidget_showPreviousMonth(QCalendarWidgetH handle) { ((QCalendarWidget *)handle)->showPreviousMonth(); } void QCalendarWidget_showNextYear(QCalendarWidgetH handle) { ((QCalendarWidget *)handle)->showNextYear(); } void QCalendarWidget_showPreviousYear(QCalendarWidgetH handle) { ((QCalendarWidget *)handle)->showPreviousYear(); } void QCalendarWidget_showSelectedDate(QCalendarWidgetH handle) { ((QCalendarWidget *)handle)->showSelectedDate(); } void QCalendarWidget_showToday(QCalendarWidgetH handle) { ((QCalendarWidget *)handle)->showToday(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractsocket_c.h0000664000212600021260000000572111677135472020710 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTSOCKET_C_H #define QABSTRACTSOCKET_C_H #include #include "pascalbind.h" C_EXPORT QAbstractSocketH QAbstractSocket_create(QAbstractSocket::SocketType socketType, QObjectH parent); C_EXPORT void QAbstractSocket_destroy(QAbstractSocketH handle); C_EXPORT void QAbstractSocket_connectToHost(QAbstractSocketH handle, PWideString hostName, quint16 port, unsigned int mode); C_EXPORT void QAbstractSocket_connectToHost2(QAbstractSocketH handle, const QHostAddressH address, quint16 port, unsigned int mode); C_EXPORT void QAbstractSocket_disconnectFromHost(QAbstractSocketH handle); C_EXPORT bool QAbstractSocket_isValid(QAbstractSocketH handle); C_EXPORT qint64 QAbstractSocket_bytesAvailable(QAbstractSocketH handle); C_EXPORT qint64 QAbstractSocket_bytesToWrite(QAbstractSocketH handle); C_EXPORT bool QAbstractSocket_canReadLine(QAbstractSocketH handle); C_EXPORT quint16 QAbstractSocket_localPort(QAbstractSocketH handle); C_EXPORT void QAbstractSocket_localAddress(QAbstractSocketH handle, QHostAddressH retval); C_EXPORT quint16 QAbstractSocket_peerPort(QAbstractSocketH handle); C_EXPORT void QAbstractSocket_peerAddress(QAbstractSocketH handle, QHostAddressH retval); C_EXPORT void QAbstractSocket_peerName(QAbstractSocketH handle, PWideString retval); C_EXPORT qint64 QAbstractSocket_readBufferSize(QAbstractSocketH handle); C_EXPORT void QAbstractSocket_setReadBufferSize(QAbstractSocketH handle, qint64 size); C_EXPORT void QAbstractSocket_abort(QAbstractSocketH handle); C_EXPORT int QAbstractSocket_socketDescriptor(QAbstractSocketH handle); C_EXPORT QAbstractSocket::SocketType QAbstractSocket_socketType(QAbstractSocketH handle); C_EXPORT QAbstractSocket::SocketError QAbstractSocket_error(QAbstractSocketH handle); C_EXPORT void QAbstractSocket_close(QAbstractSocketH handle); C_EXPORT bool QAbstractSocket_isSequential(QAbstractSocketH handle); C_EXPORT bool QAbstractSocket_atEnd(QAbstractSocketH handle); C_EXPORT bool QAbstractSocket_flush(QAbstractSocketH handle); C_EXPORT bool QAbstractSocket_waitForConnected(QAbstractSocketH handle, int msecs); C_EXPORT bool QAbstractSocket_waitForReadyRead(QAbstractSocketH handle, int msecs); C_EXPORT bool QAbstractSocket_waitForBytesWritten(QAbstractSocketH handle, int msecs); C_EXPORT bool QAbstractSocket_waitForDisconnected(QAbstractSocketH handle, int msecs); C_EXPORT void QAbstractSocket_setProxy(QAbstractSocketH handle, const QNetworkProxyH networkProxy); C_EXPORT void QAbstractSocket_proxy(QAbstractSocketH handle, QNetworkProxyH retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcalendarwidget_hook_c.h0000664000212600021260000000215211677135472021664 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCALENDARWIDGET_HOOK_C_H #define QCALENDARWIDGET_HOOK_C_H #include "qcalendarwidget_hook.h" C_EXPORT QCalendarWidget_hookH QCalendarWidget_hook_create(QObjectH handle); C_EXPORT void QCalendarWidget_hook_destroy(QCalendarWidget_hookH handle); C_EXPORT void QCalendarWidget_hook_hook_selectionChanged(QCalendarWidget_hookH handle, QHookH hook); C_EXPORT void QCalendarWidget_hook_hook_clicked(QCalendarWidget_hookH handle, QHookH hook); C_EXPORT void QCalendarWidget_hook_hook_activated(QCalendarWidget_hookH handle, QHookH hook); C_EXPORT void QCalendarWidget_hook_hook_currentPageChanged(QCalendarWidget_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkaccessmanager_hook.h0000664000212600021260000000672711677135472022627 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QNETWORKACCESSMANAGER_HOOK_H #define QNETWORKACCESSMANAGER_HOOK_H #include #include "qobject_hook.h" class QNetworkAccessManager_hook : public QObject_hook { Q_OBJECT public: QNetworkAccessManager_hook(QObject *handle) : QObject_hook(handle) { proxyAuthenticationRequired_event.func = NULL; authenticationRequired_event.func = NULL; finished_event.func = NULL; } void hook_proxyAuthenticationRequired(QHook &hook) { if ( !proxyAuthenticationRequired_event.func ) connect(handle, SIGNAL(proxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*)), this, SLOT(proxyAuthenticationRequired_hook(const QNetworkProxy&, QAuthenticator*))); proxyAuthenticationRequired_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(proxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*)), this, SLOT(proxyAuthenticationRequired_hook(const QNetworkProxy&, QAuthenticator*))); } void hook_authenticationRequired(QHook &hook) { if ( !authenticationRequired_event.func ) connect(handle, SIGNAL(authenticationRequired(QNetworkReply*, QAuthenticator*)), this, SLOT(authenticationRequired_hook(QNetworkReply*, QAuthenticator*))); authenticationRequired_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(authenticationRequired(QNetworkReply*, QAuthenticator*)), this, SLOT(authenticationRequired_hook(QNetworkReply*, QAuthenticator*))); } void hook_finished(QHook &hook) { if ( !finished_event.func ) connect(handle, SIGNAL(finished(QNetworkReply*)), this, SLOT(finished_hook(QNetworkReply*))); finished_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(finished(QNetworkReply*)), this, SLOT(finished_hook(QNetworkReply*))); } private slots: void proxyAuthenticationRequired_hook(const QNetworkProxy& proxy, QAuthenticator* authenticator) { if ( proxyAuthenticationRequired_event.func ) { typedef void (*func_type)(void *data, const QNetworkProxyH proxy, QAuthenticatorH authenticator); (*(func_type)proxyAuthenticationRequired_event.func)(proxyAuthenticationRequired_event.data, (const QNetworkProxyH)&proxy, (QAuthenticatorH)authenticator); } } void authenticationRequired_hook(QNetworkReply* reply, QAuthenticator* authenticator) { if ( authenticationRequired_event.func ) { typedef void (*func_type)(void *data, QNetworkReplyH reply, QAuthenticatorH authenticator); (*(func_type)authenticationRequired_event.func)(authenticationRequired_event.data, (QNetworkReplyH)reply, (QAuthenticatorH)authenticator); } } void finished_hook(QNetworkReply* reply) { if ( finished_event.func ) { typedef void (*func_type)(void *data, QNetworkReplyH reply); (*(func_type)finished_event.func)(finished_event.data, (QNetworkReplyH)reply); } } private: QHook proxyAuthenticationRequired_event; QHook authenticationRequired_event; QHook finished_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcolordialog_c.cpp0000664000212600021260000000616711677135472020532 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qcolordialog_c.h" QColorDialogH QColorDialog_create(QWidgetH parent) { return (QColorDialogH) new QColorDialog((QWidget*)parent); } void QColorDialog_destroy(QColorDialogH handle) { delete (QColorDialog *)handle; } QColorDialogH QColorDialog_create2(const QColorH initial, QWidgetH parent) { return (QColorDialogH) new QColorDialog(*(const QColor*)initial, (QWidget*)parent); } void QColorDialog_setCurrentColor(QColorDialogH handle, const QColorH color) { ((QColorDialog *)handle)->setCurrentColor(*(const QColor*)color); } void QColorDialog_currentColor(QColorDialogH handle, PQColor retval) { *(QColor *)retval = ((QColorDialog *)handle)->currentColor(); } void QColorDialog_selectedColor(QColorDialogH handle, PQColor retval) { *(QColor *)retval = ((QColorDialog *)handle)->selectedColor(); } void QColorDialog_setOption(QColorDialogH handle, QColorDialog::ColorDialogOption option, bool on) { ((QColorDialog *)handle)->setOption(option, on); } bool QColorDialog_testOption(QColorDialogH handle, QColorDialog::ColorDialogOption option) { return (bool) ((QColorDialog *)handle)->testOption(option); } void QColorDialog_setOptions(QColorDialogH handle, unsigned int options) { ((QColorDialog *)handle)->setOptions((QColorDialog::ColorDialogOptions)options); } unsigned int QColorDialog_options(QColorDialogH handle) { return (unsigned int) ((QColorDialog *)handle)->options(); } void QColorDialog_open(QColorDialogH handle, QObjectH receiver, const char* member) { ((QColorDialog *)handle)->open((QObject*)receiver, member); } void QColorDialog_setVisible(QColorDialogH handle, bool visible) { ((QColorDialog *)handle)->setVisible(visible); } void QColorDialog_getColor(PQColor retval, const QColorH initial, QWidgetH parent, PWideString title, unsigned int options) { QString t_title; copyPWideStringToQString(title, t_title); *(QColor *)retval = QColorDialog::getColor(*(const QColor*)initial, (QWidget*)parent, t_title, (QColorDialog::ColorDialogOptions)options); } void QColorDialog_getColor2(PQColor retval, const QColorH initial, QWidgetH parent) { *(QColor *)retval = QColorDialog::getColor(*(const QColor*)initial, (QWidget*)parent); } QRgb QColorDialog_getRgba(QRgb rgba, bool* ok, QWidgetH parent) { return (QRgb) QColorDialog::getRgba(rgba, ok, (QWidget*)parent); } int QColorDialog_customCount() { return (int) QColorDialog::customCount(); } QRgb QColorDialog_customColor(int index) { return (QRgb) QColorDialog::customColor(index); } void QColorDialog_setCustomColor(int index, QRgb color) { QColorDialog::setCustomColor(index, color); } void QColorDialog_setStandardColor(int index, QRgb color) { QColorDialog::setStandardColor(index, color); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qevent_c.cpp0000664000212600021260000005632311677135472017354 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qevent_c.h" QInputEventH QInputEvent_create(QEvent::Type type, unsigned int modifiers) { return (QInputEventH) new QInputEvent(type, (Qt::KeyboardModifiers)modifiers); } void QInputEvent_destroy(QInputEventH handle) { delete (QInputEvent *)handle; } unsigned int QInputEvent_modifiers(QInputEventH handle) { return (unsigned int) ((QInputEvent *)handle)->modifiers(); } QMouseEventH QMouseEvent_create(QEvent::Type type, const QPointH pos, Qt::MouseButton button, unsigned int buttons, unsigned int modifiers) { return (QMouseEventH) new QMouseEvent(type, *(const QPoint*)pos, button, (Qt::MouseButtons)buttons, (Qt::KeyboardModifiers)modifiers); } void QMouseEvent_destroy(QMouseEventH handle) { delete (QMouseEvent *)handle; } QMouseEventH QMouseEvent_create2(QEvent::Type type, const QPointH pos, const QPointH globalPos, Qt::MouseButton button, unsigned int buttons, unsigned int modifiers) { return (QMouseEventH) new QMouseEvent(type, *(const QPoint*)pos, *(const QPoint*)globalPos, button, (Qt::MouseButtons)buttons, (Qt::KeyboardModifiers)modifiers); } const QPointH QMouseEvent_pos(QMouseEventH handle) { return (const QPointH) &((QMouseEvent *)handle)->pos(); } const QPointH QMouseEvent_globalPos(QMouseEventH handle) { return (const QPointH) &((QMouseEvent *)handle)->globalPos(); } int QMouseEvent_x(QMouseEventH handle) { return (int) ((QMouseEvent *)handle)->x(); } int QMouseEvent_y(QMouseEventH handle) { return (int) ((QMouseEvent *)handle)->y(); } int QMouseEvent_globalX(QMouseEventH handle) { return (int) ((QMouseEvent *)handle)->globalX(); } int QMouseEvent_globalY(QMouseEventH handle) { return (int) ((QMouseEvent *)handle)->globalY(); } Qt::MouseButton QMouseEvent_button(QMouseEventH handle) { return (Qt::MouseButton) ((QMouseEvent *)handle)->button(); } unsigned int QMouseEvent_buttons(QMouseEventH handle) { return (unsigned int) ((QMouseEvent *)handle)->buttons(); } QMouseEventH QMouseEvent_createExtendedMouseEvent(QEvent::Type type, const QPointFH pos, const QPointH globalPos, Qt::MouseButton button, unsigned int buttons, unsigned int modifiers) { return (QMouseEventH) QMouseEvent::createExtendedMouseEvent(type, *(const QPointF*)pos, *(const QPoint*)globalPos, button, (Qt::MouseButtons)buttons, (Qt::KeyboardModifiers)modifiers); } bool QMouseEvent_hasExtendedInfo(QMouseEventH handle) { return (bool) ((QMouseEvent *)handle)->hasExtendedInfo(); } void QMouseEvent_posF(QMouseEventH handle, PQtPointF retval) { *(QPointF *)retval = ((QMouseEvent *)handle)->posF(); } QHoverEventH QHoverEvent_create(QEvent::Type type, const QPointH pos, const QPointH oldPos) { return (QHoverEventH) new QHoverEvent(type, *(const QPoint*)pos, *(const QPoint*)oldPos); } void QHoverEvent_destroy(QHoverEventH handle) { delete (QHoverEvent *)handle; } const QPointH QHoverEvent_pos(QHoverEventH handle) { return (const QPointH) &((QHoverEvent *)handle)->pos(); } const QPointH QHoverEvent_oldPos(QHoverEventH handle) { return (const QPointH) &((QHoverEvent *)handle)->oldPos(); } QWheelEventH QWheelEvent_create(const QPointH pos, int delta, unsigned int buttons, unsigned int modifiers, Qt::Orientation orient) { return (QWheelEventH) new QWheelEvent(*(const QPoint*)pos, delta, (Qt::MouseButtons)buttons, (Qt::KeyboardModifiers)modifiers, orient); } void QWheelEvent_destroy(QWheelEventH handle) { delete (QWheelEvent *)handle; } QWheelEventH QWheelEvent_create2(const QPointH pos, const QPointH globalPos, int delta, unsigned int buttons, unsigned int modifiers, Qt::Orientation orient) { return (QWheelEventH) new QWheelEvent(*(const QPoint*)pos, *(const QPoint*)globalPos, delta, (Qt::MouseButtons)buttons, (Qt::KeyboardModifiers)modifiers, orient); } int QWheelEvent_delta(QWheelEventH handle) { return (int) ((QWheelEvent *)handle)->delta(); } const QPointH QWheelEvent_pos(QWheelEventH handle) { return (const QPointH) &((QWheelEvent *)handle)->pos(); } const QPointH QWheelEvent_globalPos(QWheelEventH handle) { return (const QPointH) &((QWheelEvent *)handle)->globalPos(); } int QWheelEvent_x(QWheelEventH handle) { return (int) ((QWheelEvent *)handle)->x(); } int QWheelEvent_y(QWheelEventH handle) { return (int) ((QWheelEvent *)handle)->y(); } int QWheelEvent_globalX(QWheelEventH handle) { return (int) ((QWheelEvent *)handle)->globalX(); } int QWheelEvent_globalY(QWheelEventH handle) { return (int) ((QWheelEvent *)handle)->globalY(); } unsigned int QWheelEvent_buttons(QWheelEventH handle) { return (unsigned int) ((QWheelEvent *)handle)->buttons(); } Qt::Orientation QWheelEvent_orientation(QWheelEventH handle) { return (Qt::Orientation) ((QWheelEvent *)handle)->orientation(); } QTabletEventH QTabletEvent_create(QEvent::Type t, const QPointH pos, const QPointH globalPos, const QPointFH hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, unsigned int keyState, qint64 uniqueID) { return (QTabletEventH) new QTabletEvent(t, *(const QPoint*)pos, *(const QPoint*)globalPos, *(const QPointF*)hiResGlobalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, (Qt::KeyboardModifiers)keyState, uniqueID); } void QTabletEvent_destroy(QTabletEventH handle) { delete (QTabletEvent *)handle; } const QPointH QTabletEvent_pos(QTabletEventH handle) { return (const QPointH) &((QTabletEvent *)handle)->pos(); } const QPointH QTabletEvent_globalPos(QTabletEventH handle) { return (const QPointH) &((QTabletEvent *)handle)->globalPos(); } const QPointFH QTabletEvent_hiResGlobalPos(QTabletEventH handle) { return (const QPointFH) &((QTabletEvent *)handle)->hiResGlobalPos(); } int QTabletEvent_x(QTabletEventH handle) { return (int) ((QTabletEvent *)handle)->x(); } int QTabletEvent_y(QTabletEventH handle) { return (int) ((QTabletEvent *)handle)->y(); } int QTabletEvent_globalX(QTabletEventH handle) { return (int) ((QTabletEvent *)handle)->globalX(); } int QTabletEvent_globalY(QTabletEventH handle) { return (int) ((QTabletEvent *)handle)->globalY(); } qreal QTabletEvent_hiResGlobalX(QTabletEventH handle) { return (qreal) ((QTabletEvent *)handle)->hiResGlobalX(); } qreal QTabletEvent_hiResGlobalY(QTabletEventH handle) { return (qreal) ((QTabletEvent *)handle)->hiResGlobalY(); } QTabletEvent::TabletDevice QTabletEvent_device(QTabletEventH handle) { return (QTabletEvent::TabletDevice) ((QTabletEvent *)handle)->device(); } QTabletEvent::PointerType QTabletEvent_pointerType(QTabletEventH handle) { return (QTabletEvent::PointerType) ((QTabletEvent *)handle)->pointerType(); } qint64 QTabletEvent_uniqueId(QTabletEventH handle) { return (qint64) ((QTabletEvent *)handle)->uniqueId(); } qreal QTabletEvent_pressure(QTabletEventH handle) { return (qreal) ((QTabletEvent *)handle)->pressure(); } int QTabletEvent_z(QTabletEventH handle) { return (int) ((QTabletEvent *)handle)->z(); } qreal QTabletEvent_tangentialPressure(QTabletEventH handle) { return (qreal) ((QTabletEvent *)handle)->tangentialPressure(); } qreal QTabletEvent_rotation(QTabletEventH handle) { return (qreal) ((QTabletEvent *)handle)->rotation(); } int QTabletEvent_xTilt(QTabletEventH handle) { return (int) ((QTabletEvent *)handle)->xTilt(); } int QTabletEvent_yTilt(QTabletEventH handle) { return (int) ((QTabletEvent *)handle)->yTilt(); } QKeyEventH QKeyEvent_create(QEvent::Type type, int key, unsigned int modifiers, PWideString text, bool autorep, ushort count) { QString t_text; copyPWideStringToQString(text, t_text); return (QKeyEventH) new QKeyEvent(type, key, (Qt::KeyboardModifiers)modifiers, t_text, autorep, count); } void QKeyEvent_destroy(QKeyEventH handle) { delete (QKeyEvent *)handle; } int QKeyEvent_key(QKeyEventH handle) { return (int) ((QKeyEvent *)handle)->key(); } bool QKeyEvent_matches(QKeyEventH handle, QKeySequence::StandardKey key) { return (bool) ((QKeyEvent *)handle)->matches(key); } unsigned int QKeyEvent_modifiers(QKeyEventH handle) { return (unsigned int) ((QKeyEvent *)handle)->modifiers(); } void QKeyEvent_text(QKeyEventH handle, PWideString retval) { QString t_retval; t_retval = ((QKeyEvent *)handle)->text(); copyQStringToPWideString(t_retval, retval); } bool QKeyEvent_isAutoRepeat(QKeyEventH handle) { return (bool) ((QKeyEvent *)handle)->isAutoRepeat(); } int QKeyEvent_count(QKeyEventH handle) { return (int) ((QKeyEvent *)handle)->count(); } QKeyEventH QKeyEvent_createExtendedKeyEvent(QEvent::Type type, int key, unsigned int modifiers, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers, PWideString text, bool autorep, ushort count) { QString t_text; copyPWideStringToQString(text, t_text); return (QKeyEventH) QKeyEvent::createExtendedKeyEvent(type, key, (Qt::KeyboardModifiers)modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, t_text, autorep, count); } bool QKeyEvent_hasExtendedInfo(QKeyEventH handle) { return (bool) ((QKeyEvent *)handle)->hasExtendedInfo(); } quint32 QKeyEvent_nativeScanCode(QKeyEventH handle) { return (quint32) ((QKeyEvent *)handle)->nativeScanCode(); } quint32 QKeyEvent_nativeVirtualKey(QKeyEventH handle) { return (quint32) ((QKeyEvent *)handle)->nativeVirtualKey(); } quint32 QKeyEvent_nativeModifiers(QKeyEventH handle) { return (quint32) ((QKeyEvent *)handle)->nativeModifiers(); } QFocusEventH QFocusEvent_create(QEvent::Type type, Qt::FocusReason reason) { return (QFocusEventH) new QFocusEvent(type, reason); } void QFocusEvent_destroy(QFocusEventH handle) { delete (QFocusEvent *)handle; } bool QFocusEvent_gotFocus(QFocusEventH handle) { return (bool) ((QFocusEvent *)handle)->gotFocus(); } bool QFocusEvent_lostFocus(QFocusEventH handle) { return (bool) ((QFocusEvent *)handle)->lostFocus(); } Qt::FocusReason QFocusEvent_reason(QFocusEventH handle) { return (Qt::FocusReason) ((QFocusEvent *)handle)->reason(); } QPaintEventH QPaintEvent_create(const QRegionH paintRegion) { return (QPaintEventH) new QPaintEvent(*(const QRegion*)paintRegion); } void QPaintEvent_destroy(QPaintEventH handle) { delete (QPaintEvent *)handle; } QPaintEventH QPaintEvent_create2(PRect paintRect) { QRect t_paintRect; copyPRectToQRect(paintRect, t_paintRect); return (QPaintEventH) new QPaintEvent(t_paintRect); } void QPaintEvent_rect(QPaintEventH handle, PRect retval) { QRect t_retval; t_retval = ((QPaintEvent *)handle)->rect(); copyQRectToPRect(t_retval, retval); } const QRegionH QPaintEvent_region(QPaintEventH handle) { return (const QRegionH) &((QPaintEvent *)handle)->region(); } QMoveEventH QMoveEvent_create(const QPointH pos, const QPointH oldPos) { return (QMoveEventH) new QMoveEvent(*(const QPoint*)pos, *(const QPoint*)oldPos); } void QMoveEvent_destroy(QMoveEventH handle) { delete (QMoveEvent *)handle; } const QPointH QMoveEvent_pos(QMoveEventH handle) { return (const QPointH) &((QMoveEvent *)handle)->pos(); } const QPointH QMoveEvent_oldPos(QMoveEventH handle) { return (const QPointH) &((QMoveEvent *)handle)->oldPos(); } QResizeEventH QResizeEvent_create(const QSizeH size, const QSizeH oldSize) { return (QResizeEventH) new QResizeEvent(*(const QSize*)size, *(const QSize*)oldSize); } void QResizeEvent_destroy(QResizeEventH handle) { delete (QResizeEvent *)handle; } const QSizeH QResizeEvent_size(QResizeEventH handle) { return (const QSizeH) &((QResizeEvent *)handle)->size(); } const QSizeH QResizeEvent_oldSize(QResizeEventH handle) { return (const QSizeH) &((QResizeEvent *)handle)->oldSize(); } QCloseEventH QCloseEvent_create() { return (QCloseEventH) new QCloseEvent(); } void QCloseEvent_destroy(QCloseEventH handle) { delete (QCloseEvent *)handle; } QIconDragEventH QIconDragEvent_create() { return (QIconDragEventH) new QIconDragEvent(); } void QIconDragEvent_destroy(QIconDragEventH handle) { delete (QIconDragEvent *)handle; } QShowEventH QShowEvent_create() { return (QShowEventH) new QShowEvent(); } void QShowEvent_destroy(QShowEventH handle) { delete (QShowEvent *)handle; } QHideEventH QHideEvent_create() { return (QHideEventH) new QHideEvent(); } void QHideEvent_destroy(QHideEventH handle) { delete (QHideEvent *)handle; } QContextMenuEventH QContextMenuEvent_create(QContextMenuEvent::Reason reason, const QPointH pos, const QPointH globalPos, unsigned int modifiers) { return (QContextMenuEventH) new QContextMenuEvent(reason, *(const QPoint*)pos, *(const QPoint*)globalPos, (Qt::KeyboardModifiers)modifiers); } void QContextMenuEvent_destroy(QContextMenuEventH handle) { delete (QContextMenuEvent *)handle; } QContextMenuEventH QContextMenuEvent_create2(QContextMenuEvent::Reason reason, const QPointH pos, const QPointH globalPos) { return (QContextMenuEventH) new QContextMenuEvent(reason, *(const QPoint*)pos, *(const QPoint*)globalPos); } QContextMenuEventH QContextMenuEvent_create3(QContextMenuEvent::Reason reason, const QPointH pos) { return (QContextMenuEventH) new QContextMenuEvent(reason, *(const QPoint*)pos); } int QContextMenuEvent_x(QContextMenuEventH handle) { return (int) ((QContextMenuEvent *)handle)->x(); } int QContextMenuEvent_y(QContextMenuEventH handle) { return (int) ((QContextMenuEvent *)handle)->y(); } int QContextMenuEvent_globalX(QContextMenuEventH handle) { return (int) ((QContextMenuEvent *)handle)->globalX(); } int QContextMenuEvent_globalY(QContextMenuEventH handle) { return (int) ((QContextMenuEvent *)handle)->globalY(); } const QPointH QContextMenuEvent_pos(QContextMenuEventH handle) { return (const QPointH) &((QContextMenuEvent *)handle)->pos(); } const QPointH QContextMenuEvent_globalPos(QContextMenuEventH handle) { return (const QPointH) &((QContextMenuEvent *)handle)->globalPos(); } QContextMenuEvent::Reason QContextMenuEvent_reason(QContextMenuEventH handle) { return (QContextMenuEvent::Reason) ((QContextMenuEvent *)handle)->reason(); } QInputMethodEventH QInputMethodEvent_create() { return (QInputMethodEventH) new QInputMethodEvent(); } void QInputMethodEvent_destroy(QInputMethodEventH handle) { delete (QInputMethodEvent *)handle; } void QInputMethodEvent_setCommitString(QInputMethodEventH handle, PWideString commitString, int replaceFrom, int replaceLength) { QString t_commitString; copyPWideStringToQString(commitString, t_commitString); ((QInputMethodEvent *)handle)->setCommitString(t_commitString, replaceFrom, replaceLength); } void QInputMethodEvent_preeditString(QInputMethodEventH handle, PWideString retval) { QString t_retval; t_retval = ((QInputMethodEvent *)handle)->preeditString(); copyQStringToPWideString(t_retval, retval); } void QInputMethodEvent_commitString(QInputMethodEventH handle, PWideString retval) { QString t_retval; t_retval = ((QInputMethodEvent *)handle)->commitString(); copyQStringToPWideString(t_retval, retval); } int QInputMethodEvent_replacementStart(QInputMethodEventH handle) { return (int) ((QInputMethodEvent *)handle)->replacementStart(); } int QInputMethodEvent_replacementLength(QInputMethodEventH handle) { return (int) ((QInputMethodEvent *)handle)->replacementLength(); } QInputMethodEventH QInputMethodEvent_create3(const QInputMethodEventH other) { return (QInputMethodEventH) new QInputMethodEvent(*(const QInputMethodEvent*)other); } QDropEventH QDropEvent_create(const QPointH pos, unsigned int actions, const QMimeDataH data, unsigned int buttons, unsigned int modifiers, QEvent::Type type) { return (QDropEventH) new QDropEvent(*(const QPoint*)pos, (Qt::DropActions)actions, (const QMimeData*)data, (Qt::MouseButtons)buttons, (Qt::KeyboardModifiers)modifiers, type); } void QDropEvent_destroy(QDropEventH handle) { delete (QDropEvent *)handle; } const QPointH QDropEvent_pos(QDropEventH handle) { return (const QPointH) &((QDropEvent *)handle)->pos(); } unsigned int QDropEvent_mouseButtons(QDropEventH handle) { return (unsigned int) ((QDropEvent *)handle)->mouseButtons(); } unsigned int QDropEvent_keyboardModifiers(QDropEventH handle) { return (unsigned int) ((QDropEvent *)handle)->keyboardModifiers(); } unsigned int QDropEvent_possibleActions(QDropEventH handle) { return (unsigned int) ((QDropEvent *)handle)->possibleActions(); } Qt::DropAction QDropEvent_proposedAction(QDropEventH handle) { return (Qt::DropAction) ((QDropEvent *)handle)->proposedAction(); } void QDropEvent_acceptProposedAction(QDropEventH handle) { ((QDropEvent *)handle)->acceptProposedAction(); } Qt::DropAction QDropEvent_dropAction(QDropEventH handle) { return (Qt::DropAction) ((QDropEvent *)handle)->dropAction(); } void QDropEvent_setDropAction(QDropEventH handle, Qt::DropAction action) { ((QDropEvent *)handle)->setDropAction(action); } QWidgetH QDropEvent_source(QDropEventH handle) { return (QWidgetH) ((QDropEvent *)handle)->source(); } const QMimeDataH QDropEvent_mimeData(QDropEventH handle) { return (const QMimeDataH) ((QDropEvent *)handle)->mimeData(); } const char* QDropEvent_format(QDropEventH handle, int n) { return (const char*) ((QDropEvent *)handle)->format(n); } void QDropEvent_encodedData(QDropEventH handle, QByteArrayH retval, const char* AnonParam1) { *(QByteArray *)retval = ((QDropEvent *)handle)->encodedData(AnonParam1); } bool QDropEvent_provides(QDropEventH handle, const char* AnonParam1) { return (bool) ((QDropEvent *)handle)->provides(AnonParam1); } QDragMoveEventH QDragMoveEvent_create(const QPointH pos, unsigned int actions, const QMimeDataH data, unsigned int buttons, unsigned int modifiers, QEvent::Type type) { return (QDragMoveEventH) new QDragMoveEvent(*(const QPoint*)pos, (Qt::DropActions)actions, (const QMimeData*)data, (Qt::MouseButtons)buttons, (Qt::KeyboardModifiers)modifiers, type); } void QDragMoveEvent_destroy(QDragMoveEventH handle) { delete (QDragMoveEvent *)handle; } void QDragMoveEvent_answerRect(QDragMoveEventH handle, PRect retval) { QRect t_retval; t_retval = ((QDragMoveEvent *)handle)->answerRect(); copyQRectToPRect(t_retval, retval); } void QDragMoveEvent_accept(QDragMoveEventH handle) { ((QDragMoveEvent *)handle)->accept(); } void QDragMoveEvent_ignore(QDragMoveEventH handle) { ((QDragMoveEvent *)handle)->ignore(); } void QDragMoveEvent_accept2(QDragMoveEventH handle, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); ((QDragMoveEvent *)handle)->accept(t_r); } void QDragMoveEvent_ignore2(QDragMoveEventH handle, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); ((QDragMoveEvent *)handle)->ignore(t_r); } QDragEnterEventH QDragEnterEvent_create(const QPointH pos, unsigned int actions, const QMimeDataH data, unsigned int buttons, unsigned int modifiers) { return (QDragEnterEventH) new QDragEnterEvent(*(const QPoint*)pos, (Qt::DropActions)actions, (const QMimeData*)data, (Qt::MouseButtons)buttons, (Qt::KeyboardModifiers)modifiers); } void QDragEnterEvent_destroy(QDragEnterEventH handle) { delete (QDragEnterEvent *)handle; } QDragLeaveEventH QDragLeaveEvent_create() { return (QDragLeaveEventH) new QDragLeaveEvent(); } void QDragLeaveEvent_destroy(QDragLeaveEventH handle) { delete (QDragLeaveEvent *)handle; } QHelpEventH QHelpEvent_create(QEvent::Type type, const QPointH pos, const QPointH globalPos) { return (QHelpEventH) new QHelpEvent(type, *(const QPoint*)pos, *(const QPoint*)globalPos); } void QHelpEvent_destroy(QHelpEventH handle) { delete (QHelpEvent *)handle; } int QHelpEvent_x(QHelpEventH handle) { return (int) ((QHelpEvent *)handle)->x(); } int QHelpEvent_y(QHelpEventH handle) { return (int) ((QHelpEvent *)handle)->y(); } int QHelpEvent_globalX(QHelpEventH handle) { return (int) ((QHelpEvent *)handle)->globalX(); } int QHelpEvent_globalY(QHelpEventH handle) { return (int) ((QHelpEvent *)handle)->globalY(); } const QPointH QHelpEvent_pos(QHelpEventH handle) { return (const QPointH) &((QHelpEvent *)handle)->pos(); } const QPointH QHelpEvent_globalPos(QHelpEventH handle) { return (const QPointH) &((QHelpEvent *)handle)->globalPos(); } QStatusTipEventH QStatusTipEvent_create(PWideString tip) { QString t_tip; copyPWideStringToQString(tip, t_tip); return (QStatusTipEventH) new QStatusTipEvent(t_tip); } void QStatusTipEvent_destroy(QStatusTipEventH handle) { delete (QStatusTipEvent *)handle; } void QStatusTipEvent_tip(QStatusTipEventH handle, PWideString retval) { QString t_retval; t_retval = ((QStatusTipEvent *)handle)->tip(); copyQStringToPWideString(t_retval, retval); } QWhatsThisClickedEventH QWhatsThisClickedEvent_create(PWideString href) { QString t_href; copyPWideStringToQString(href, t_href); return (QWhatsThisClickedEventH) new QWhatsThisClickedEvent(t_href); } void QWhatsThisClickedEvent_destroy(QWhatsThisClickedEventH handle) { delete (QWhatsThisClickedEvent *)handle; } void QWhatsThisClickedEvent_href(QWhatsThisClickedEventH handle, PWideString retval) { QString t_retval; t_retval = ((QWhatsThisClickedEvent *)handle)->href(); copyQStringToPWideString(t_retval, retval); } QActionEventH QActionEvent_create(int type, QActionH action, QActionH before) { return (QActionEventH) new QActionEvent(type, (QAction*)action, (QAction*)before); } void QActionEvent_destroy(QActionEventH handle) { delete (QActionEvent *)handle; } QActionH QActionEvent_action(QActionEventH handle) { return (QActionH) ((QActionEvent *)handle)->action(); } QActionH QActionEvent_before(QActionEventH handle) { return (QActionH) ((QActionEvent *)handle)->before(); } QFileOpenEventH QFileOpenEvent_create(PWideString file) { QString t_file; copyPWideStringToQString(file, t_file); return (QFileOpenEventH) new QFileOpenEvent(t_file); } void QFileOpenEvent_destroy(QFileOpenEventH handle) { delete (QFileOpenEvent *)handle; } void QFileOpenEvent_file(QFileOpenEventH handle, PWideString retval) { QString t_retval; t_retval = ((QFileOpenEvent *)handle)->file(); copyQStringToPWideString(t_retval, retval); } QShortcutEventH QShortcutEvent_create(const QKeySequenceH key, int id, bool ambiguous) { return (QShortcutEventH) new QShortcutEvent(*(const QKeySequence*)key, id, ambiguous); } void QShortcutEvent_destroy(QShortcutEventH handle) { delete (QShortcutEvent *)handle; } const QKeySequenceH QShortcutEvent_key(QShortcutEventH handle) { return (const QKeySequenceH) &((QShortcutEvent *)handle)->key(); } int QShortcutEvent_shortcutId(QShortcutEventH handle) { return (int) ((QShortcutEvent *)handle)->shortcutId(); } bool QShortcutEvent_isAmbiguous(QShortcutEventH handle) { return (bool) ((QShortcutEvent *)handle)->isAmbiguous(); } QWindowStateChangeEventH QWindowStateChangeEvent_create(unsigned int aOldState) { return (QWindowStateChangeEventH) new QWindowStateChangeEvent((Qt::WindowStates)aOldState); } void QWindowStateChangeEvent_destroy(QWindowStateChangeEventH handle) { delete (QWindowStateChangeEvent *)handle; } QWindowStateChangeEventH QWindowStateChangeEvent_create2(unsigned int aOldState, bool isOverride) { return (QWindowStateChangeEventH) new QWindowStateChangeEvent((Qt::WindowStates)aOldState, isOverride); } unsigned int QWindowStateChangeEvent_oldState(QWindowStateChangeEventH handle) { return (unsigned int) ((QWindowStateChangeEvent *)handle)->oldState(); } bool QWindowStateChangeEvent_isOverride(QWindowStateChangeEventH handle) { return (bool) ((QWindowStateChangeEvent *)handle)->isOverride(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlayout_c.cpp0000664000212600021260000001237711677135472017551 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlayout_c.h" int QLayout_margin(QLayoutH handle) { return (int) ((QLayout *)handle)->margin(); } int QLayout_spacing(QLayoutH handle) { return (int) ((QLayout *)handle)->spacing(); } void QLayout_setMargin(QLayoutH handle, int AnonParam1) { ((QLayout *)handle)->setMargin(AnonParam1); } void QLayout_setSpacing(QLayoutH handle, int AnonParam1) { ((QLayout *)handle)->setSpacing(AnonParam1); } void QLayout_setContentsMargins(QLayoutH handle, int left, int top, int right, int bottom) { ((QLayout *)handle)->setContentsMargins(left, top, right, bottom); } void QLayout_getContentsMargins(QLayoutH handle, int* left, int* top, int* right, int* bottom) { ((QLayout *)handle)->getContentsMargins(left, top, right, bottom); } void QLayout_contentsRect(QLayoutH handle, PRect retval) { QRect t_retval; t_retval = ((QLayout *)handle)->contentsRect(); copyQRectToPRect(t_retval, retval); } bool QLayout_setAlignment(QLayoutH handle, QWidgetH w, unsigned int alignment) { return (bool) ((QLayout *)handle)->setAlignment((QWidget*)w, (Qt::Alignment)alignment); } bool QLayout_setAlignment2(QLayoutH handle, QLayoutH l, unsigned int alignment) { return (bool) ((QLayout *)handle)->setAlignment((QLayout*)l, (Qt::Alignment)alignment); } void QLayout_setSizeConstraint(QLayoutH handle, QLayout::SizeConstraint AnonParam1) { ((QLayout *)handle)->setSizeConstraint(AnonParam1); } QLayout::SizeConstraint QLayout_sizeConstraint(QLayoutH handle) { return (QLayout::SizeConstraint) ((QLayout *)handle)->sizeConstraint(); } void QLayout_setMenuBar(QLayoutH handle, QWidgetH w) { ((QLayout *)handle)->setMenuBar((QWidget*)w); } QWidgetH QLayout_menuBar(QLayoutH handle) { return (QWidgetH) ((QLayout *)handle)->menuBar(); } QWidgetH QLayout_parentWidget(QLayoutH handle) { return (QWidgetH) ((QLayout *)handle)->parentWidget(); } void QLayout_invalidate(QLayoutH handle) { ((QLayout *)handle)->invalidate(); } void QLayout_geometry(QLayoutH handle, PRect retval) { QRect t_retval; t_retval = ((QLayout *)handle)->geometry(); copyQRectToPRect(t_retval, retval); } bool QLayout_activate(QLayoutH handle) { return (bool) ((QLayout *)handle)->activate(); } void QLayout_update(QLayoutH handle) { ((QLayout *)handle)->update(); } void QLayout_addWidget(QLayoutH handle, QWidgetH w) { ((QLayout *)handle)->addWidget((QWidget*)w); } void QLayout_addItem(QLayoutH handle, QLayoutItemH AnonParam1) { ((QLayout *)handle)->addItem((QLayoutItem*)AnonParam1); } void QLayout_removeWidget(QLayoutH handle, QWidgetH w) { ((QLayout *)handle)->removeWidget((QWidget*)w); } void QLayout_removeItem(QLayoutH handle, QLayoutItemH AnonParam1) { ((QLayout *)handle)->removeItem((QLayoutItem*)AnonParam1); } unsigned int QLayout_expandingDirections(QLayoutH handle) { return (unsigned int) ((QLayout *)handle)->expandingDirections(); } void QLayout_minimumSize(QLayoutH handle, PSize retval) { *(QSize *)retval = ((QLayout *)handle)->minimumSize(); } void QLayout_maximumSize(QLayoutH handle, PSize retval) { *(QSize *)retval = ((QLayout *)handle)->maximumSize(); } void QLayout_setGeometry(QLayoutH handle, PRect AnonParam1) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QLayout *)handle)->setGeometry(t_AnonParam1); } QLayoutItemH QLayout_itemAt(QLayoutH handle, int index) { return (QLayoutItemH) ((QLayout *)handle)->itemAt(index); } QLayoutItemH QLayout_takeAt(QLayoutH handle, int index) { return (QLayoutItemH) ((QLayout *)handle)->takeAt(index); } int QLayout_indexOf(QLayoutH handle, QWidgetH AnonParam1) { return (int) ((QLayout *)handle)->indexOf((QWidget*)AnonParam1); } int QLayout_count(QLayoutH handle) { return (int) ((QLayout *)handle)->count(); } bool QLayout_isEmpty(QLayoutH handle) { return (bool) ((QLayout *)handle)->isEmpty(); } int QLayout_totalHeightForWidth(QLayoutH handle, int w) { return (int) ((QLayout *)handle)->totalHeightForWidth(w); } void QLayout_totalMinimumSize(QLayoutH handle, PSize retval) { *(QSize *)retval = ((QLayout *)handle)->totalMinimumSize(); } void QLayout_totalMaximumSize(QLayoutH handle, PSize retval) { *(QSize *)retval = ((QLayout *)handle)->totalMaximumSize(); } void QLayout_totalSizeHint(QLayoutH handle, PSize retval) { *(QSize *)retval = ((QLayout *)handle)->totalSizeHint(); } QLayoutH QLayout_layout(QLayoutH handle) { return (QLayoutH) ((QLayout *)handle)->layout(); } void QLayout_setEnabled(QLayoutH handle, bool AnonParam1) { ((QLayout *)handle)->setEnabled(AnonParam1); } bool QLayout_isEnabled(QLayoutH handle) { return (bool) ((QLayout *)handle)->isEnabled(); } void QLayout_closestAcceptableSize(PSize retval, const QWidgetH w, const QSizeH s) { *(QSize *)retval = QLayout::closestAcceptableSize((const QWidget*)w, *(const QSize*)s); } QLayoutItemH QLayout_to_QLayoutItem(QLayoutH handle) { return (QLayoutItemH)(QLayoutItem *)(QLayout *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstyleoption_c.h0000664000212600021260000011564311677135472020272 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTYLEOPTION_C_H #define QSTYLEOPTION_C_H #include #include "pascalbind.h" C_EXPORT int QStyleOption_version(QStyleOptionH handle); C_EXPORT void QStyleOption_setVersion(QStyleOptionH handle, int version); C_EXPORT int QStyleOption_type(QStyleOptionH handle); C_EXPORT void QStyleOption_setType(QStyleOptionH handle, int type); C_EXPORT unsigned int QStyleOption_state(QStyleOptionH handle); C_EXPORT void QStyleOption_setState(QStyleOptionH handle, unsigned int state); C_EXPORT Qt::LayoutDirection QStyleOption_direction(QStyleOptionH handle); C_EXPORT void QStyleOption_setDirection(QStyleOptionH handle, Qt::LayoutDirection direction); C_EXPORT void QStyleOption_rect(QStyleOptionH handle, PRect retval); C_EXPORT void QStyleOption_setRect(QStyleOptionH handle, PRect rect); C_EXPORT void QStyleOption_fontMetrics(QStyleOptionH handle, QFontMetricsH retval); C_EXPORT void QStyleOption_setFontMetrics(QStyleOptionH handle, QFontMetricsH fontMetrics); C_EXPORT void QStyleOption_palette(QStyleOptionH handle, QPaletteH retval); C_EXPORT void QStyleOption_setPalette(QStyleOptionH handle, QPaletteH palette); C_EXPORT QStyleOptionH QStyleOption_create(int version, int type); C_EXPORT void QStyleOption_destroy(QStyleOptionH handle); C_EXPORT QStyleOptionH QStyleOption_create2(const QStyleOptionH other); C_EXPORT void QStyleOption_init(QStyleOptionH handle, const QWidgetH w); C_EXPORT void QStyleOption_initFrom(QStyleOptionH handle, const QWidgetH w); C_EXPORT void QStyleOptionFocusRect_backgroundColor(QStyleOptionFocusRectH handle, PQColor retval); C_EXPORT void QStyleOptionFocusRect_setBackgroundColor(QStyleOptionFocusRectH handle, PQColor backgroundColor); C_EXPORT QStyleOptionFocusRectH QStyleOptionFocusRect_create(); C_EXPORT void QStyleOptionFocusRect_destroy(QStyleOptionFocusRectH handle); C_EXPORT QStyleOptionFocusRectH QStyleOptionFocusRect_create2(const QStyleOptionFocusRectH other); C_EXPORT int QStyleOptionFrame_lineWidth(QStyleOptionFrameH handle); C_EXPORT void QStyleOptionFrame_setLineWidth(QStyleOptionFrameH handle, int lineWidth); C_EXPORT int QStyleOptionFrame_midLineWidth(QStyleOptionFrameH handle); C_EXPORT void QStyleOptionFrame_setMidLineWidth(QStyleOptionFrameH handle, int midLineWidth); C_EXPORT QStyleOptionFrameH QStyleOptionFrame_create(); C_EXPORT void QStyleOptionFrame_destroy(QStyleOptionFrameH handle); C_EXPORT QStyleOptionFrameH QStyleOptionFrame_create2(const QStyleOptionFrameH other); C_EXPORT unsigned int QStyleOptionFrameV2_features(QStyleOptionFrameV2H handle); C_EXPORT void QStyleOptionFrameV2_setFeatures(QStyleOptionFrameV2H handle, unsigned int features); C_EXPORT QStyleOptionFrameV2H QStyleOptionFrameV2_create(); C_EXPORT void QStyleOptionFrameV2_destroy(QStyleOptionFrameV2H handle); C_EXPORT QStyleOptionFrameV2H QStyleOptionFrameV2_create2(const QStyleOptionFrameV2H other); C_EXPORT QStyleOptionFrameV2H QStyleOptionFrameV2_create3(const QStyleOptionFrameH other); C_EXPORT QFrame::Shape QStyleOptionFrameV3_frameShape(QStyleOptionFrameV3H handle); C_EXPORT void QStyleOptionFrameV3_setFrameShape(QStyleOptionFrameV3H handle, QFrame::Shape frameShape); C_EXPORT uint QStyleOptionFrameV3_unused(QStyleOptionFrameV3H handle); C_EXPORT void QStyleOptionFrameV3_setUnused(QStyleOptionFrameV3H handle, uint unused); C_EXPORT QStyleOptionFrameV3H QStyleOptionFrameV3_create(); C_EXPORT void QStyleOptionFrameV3_destroy(QStyleOptionFrameV3H handle); C_EXPORT QStyleOptionFrameV3H QStyleOptionFrameV3_create2(const QStyleOptionFrameV3H other); C_EXPORT QStyleOptionFrameV3H QStyleOptionFrameV3_create3(const QStyleOptionFrameH other); C_EXPORT int QStyleOptionTabWidgetFrame_lineWidth(QStyleOptionTabWidgetFrameH handle); C_EXPORT void QStyleOptionTabWidgetFrame_setLineWidth(QStyleOptionTabWidgetFrameH handle, int lineWidth); C_EXPORT int QStyleOptionTabWidgetFrame_midLineWidth(QStyleOptionTabWidgetFrameH handle); C_EXPORT void QStyleOptionTabWidgetFrame_setMidLineWidth(QStyleOptionTabWidgetFrameH handle, int midLineWidth); C_EXPORT QTabBar::Shape QStyleOptionTabWidgetFrame_shape(QStyleOptionTabWidgetFrameH handle); C_EXPORT void QStyleOptionTabWidgetFrame_setShape(QStyleOptionTabWidgetFrameH handle, QTabBar::Shape shape); C_EXPORT void QStyleOptionTabWidgetFrame_tabBarSize(QStyleOptionTabWidgetFrameH handle, PSize retval); C_EXPORT void QStyleOptionTabWidgetFrame_setTabBarSize(QStyleOptionTabWidgetFrameH handle, PSize tabBarSize); C_EXPORT void QStyleOptionTabWidgetFrame_rightCornerWidgetSize(QStyleOptionTabWidgetFrameH handle, PSize retval); C_EXPORT void QStyleOptionTabWidgetFrame_setRightCornerWidgetSize(QStyleOptionTabWidgetFrameH handle, PSize rightCornerWidgetSize); C_EXPORT void QStyleOptionTabWidgetFrame_leftCornerWidgetSize(QStyleOptionTabWidgetFrameH handle, PSize retval); C_EXPORT void QStyleOptionTabWidgetFrame_setLeftCornerWidgetSize(QStyleOptionTabWidgetFrameH handle, PSize leftCornerWidgetSize); C_EXPORT QStyleOptionTabWidgetFrameH QStyleOptionTabWidgetFrame_create(); C_EXPORT void QStyleOptionTabWidgetFrame_destroy(QStyleOptionTabWidgetFrameH handle); C_EXPORT QStyleOptionTabWidgetFrameH QStyleOptionTabWidgetFrame_create2(const QStyleOptionTabWidgetFrameH other); C_EXPORT QTabBar::Shape QStyleOptionTabBarBase_shape(QStyleOptionTabBarBaseH handle); C_EXPORT void QStyleOptionTabBarBase_setShape(QStyleOptionTabBarBaseH handle, QTabBar::Shape shape); C_EXPORT void QStyleOptionTabBarBase_tabBarRect(QStyleOptionTabBarBaseH handle, PRect retval); C_EXPORT void QStyleOptionTabBarBase_setTabBarRect(QStyleOptionTabBarBaseH handle, PRect tabBarRect); C_EXPORT void QStyleOptionTabBarBase_selectedTabRect(QStyleOptionTabBarBaseH handle, PRect retval); C_EXPORT void QStyleOptionTabBarBase_setSelectedTabRect(QStyleOptionTabBarBaseH handle, PRect selectedTabRect); C_EXPORT QStyleOptionTabBarBaseH QStyleOptionTabBarBase_create(); C_EXPORT void QStyleOptionTabBarBase_destroy(QStyleOptionTabBarBaseH handle); C_EXPORT QStyleOptionTabBarBaseH QStyleOptionTabBarBase_create2(const QStyleOptionTabBarBaseH other); C_EXPORT bool QStyleOptionTabBarBaseV2_documentMode(QStyleOptionTabBarBaseV2H handle); C_EXPORT void QStyleOptionTabBarBaseV2_setDocumentMode(QStyleOptionTabBarBaseV2H handle, bool documentMode); C_EXPORT QStyleOptionTabBarBaseV2H QStyleOptionTabBarBaseV2_create(); C_EXPORT void QStyleOptionTabBarBaseV2_destroy(QStyleOptionTabBarBaseV2H handle); C_EXPORT QStyleOptionTabBarBaseV2H QStyleOptionTabBarBaseV2_create2(const QStyleOptionTabBarBaseV2H other); C_EXPORT QStyleOptionTabBarBaseV2H QStyleOptionTabBarBaseV2_create3(const QStyleOptionTabBarBaseH other); C_EXPORT int QStyleOptionHeader_section(QStyleOptionHeaderH handle); C_EXPORT void QStyleOptionHeader_setSection(QStyleOptionHeaderH handle, int section); C_EXPORT void QStyleOptionHeader_text(QStyleOptionHeaderH handle, PWideString retval); C_EXPORT void QStyleOptionHeader_setText(QStyleOptionHeaderH handle, PWideString text); C_EXPORT unsigned int QStyleOptionHeader_textAlignment(QStyleOptionHeaderH handle); C_EXPORT void QStyleOptionHeader_setTextAlignment(QStyleOptionHeaderH handle, unsigned int textAlignment); C_EXPORT void QStyleOptionHeader_icon(QStyleOptionHeaderH handle, QIconH retval); C_EXPORT void QStyleOptionHeader_setIcon(QStyleOptionHeaderH handle, QIconH icon); C_EXPORT unsigned int QStyleOptionHeader_iconAlignment(QStyleOptionHeaderH handle); C_EXPORT void QStyleOptionHeader_setIconAlignment(QStyleOptionHeaderH handle, unsigned int iconAlignment); C_EXPORT QStyleOptionHeader::SectionPosition QStyleOptionHeader_position(QStyleOptionHeaderH handle); C_EXPORT void QStyleOptionHeader_setPosition(QStyleOptionHeaderH handle, QStyleOptionHeader::SectionPosition position); C_EXPORT QStyleOptionHeader::SelectedPosition QStyleOptionHeader_selectedPosition(QStyleOptionHeaderH handle); C_EXPORT void QStyleOptionHeader_setSelectedPosition(QStyleOptionHeaderH handle, QStyleOptionHeader::SelectedPosition selectedPosition); C_EXPORT QStyleOptionHeader::SortIndicator QStyleOptionHeader_sortIndicator(QStyleOptionHeaderH handle); C_EXPORT void QStyleOptionHeader_setSortIndicator(QStyleOptionHeaderH handle, QStyleOptionHeader::SortIndicator sortIndicator); C_EXPORT Qt::Orientation QStyleOptionHeader_orientation(QStyleOptionHeaderH handle); C_EXPORT void QStyleOptionHeader_setOrientation(QStyleOptionHeaderH handle, Qt::Orientation orientation); C_EXPORT QStyleOptionHeaderH QStyleOptionHeader_create(); C_EXPORT void QStyleOptionHeader_destroy(QStyleOptionHeaderH handle); C_EXPORT QStyleOptionHeaderH QStyleOptionHeader_create2(const QStyleOptionHeaderH other); C_EXPORT unsigned int QStyleOptionButton_features(QStyleOptionButtonH handle); C_EXPORT void QStyleOptionButton_setFeatures(QStyleOptionButtonH handle, unsigned int features); C_EXPORT void QStyleOptionButton_text(QStyleOptionButtonH handle, PWideString retval); C_EXPORT void QStyleOptionButton_setText(QStyleOptionButtonH handle, PWideString text); C_EXPORT void QStyleOptionButton_icon(QStyleOptionButtonH handle, QIconH retval); C_EXPORT void QStyleOptionButton_setIcon(QStyleOptionButtonH handle, QIconH icon); C_EXPORT void QStyleOptionButton_iconSize(QStyleOptionButtonH handle, PSize retval); C_EXPORT void QStyleOptionButton_setIconSize(QStyleOptionButtonH handle, PSize iconSize); C_EXPORT QStyleOptionButtonH QStyleOptionButton_create(); C_EXPORT void QStyleOptionButton_destroy(QStyleOptionButtonH handle); C_EXPORT QStyleOptionButtonH QStyleOptionButton_create2(const QStyleOptionButtonH other); C_EXPORT QTabBar::Shape QStyleOptionTab_shape(QStyleOptionTabH handle); C_EXPORT void QStyleOptionTab_setShape(QStyleOptionTabH handle, QTabBar::Shape shape); C_EXPORT void QStyleOptionTab_text(QStyleOptionTabH handle, PWideString retval); C_EXPORT void QStyleOptionTab_setText(QStyleOptionTabH handle, PWideString text); C_EXPORT void QStyleOptionTab_icon(QStyleOptionTabH handle, QIconH retval); C_EXPORT void QStyleOptionTab_setIcon(QStyleOptionTabH handle, QIconH icon); C_EXPORT int QStyleOptionTab_row(QStyleOptionTabH handle); C_EXPORT void QStyleOptionTab_setRow(QStyleOptionTabH handle, int row); C_EXPORT QStyleOptionTab::TabPosition QStyleOptionTab_position(QStyleOptionTabH handle); C_EXPORT void QStyleOptionTab_setPosition(QStyleOptionTabH handle, QStyleOptionTab::TabPosition position); C_EXPORT QStyleOptionTab::SelectedPosition QStyleOptionTab_selectedPosition(QStyleOptionTabH handle); C_EXPORT void QStyleOptionTab_setSelectedPosition(QStyleOptionTabH handle, QStyleOptionTab::SelectedPosition selectedPosition); C_EXPORT unsigned int QStyleOptionTab_cornerWidgets(QStyleOptionTabH handle); C_EXPORT void QStyleOptionTab_setCornerWidgets(QStyleOptionTabH handle, unsigned int cornerWidgets); C_EXPORT QStyleOptionTabH QStyleOptionTab_create(); C_EXPORT void QStyleOptionTab_destroy(QStyleOptionTabH handle); C_EXPORT QStyleOptionTabH QStyleOptionTab_create2(const QStyleOptionTabH other); C_EXPORT void QStyleOptionTabV2_iconSize(QStyleOptionTabV2H handle, PSize retval); C_EXPORT void QStyleOptionTabV2_setIconSize(QStyleOptionTabV2H handle, PSize iconSize); C_EXPORT QStyleOptionTabV2H QStyleOptionTabV2_create(); C_EXPORT void QStyleOptionTabV2_destroy(QStyleOptionTabV2H handle); C_EXPORT QStyleOptionTabV2H QStyleOptionTabV2_create2(const QStyleOptionTabV2H other); C_EXPORT QStyleOptionTabV2H QStyleOptionTabV2_create3(const QStyleOptionTabH other); C_EXPORT bool QStyleOptionTabV3_documentMode(QStyleOptionTabV3H handle); C_EXPORT void QStyleOptionTabV3_setDocumentMode(QStyleOptionTabV3H handle, bool documentMode); C_EXPORT void QStyleOptionTabV3_leftButtonSize(QStyleOptionTabV3H handle, PSize retval); C_EXPORT void QStyleOptionTabV3_setLeftButtonSize(QStyleOptionTabV3H handle, PSize leftButtonSize); C_EXPORT void QStyleOptionTabV3_rightButtonSize(QStyleOptionTabV3H handle, PSize retval); C_EXPORT void QStyleOptionTabV3_setRightButtonSize(QStyleOptionTabV3H handle, PSize rightButtonSize); C_EXPORT QStyleOptionTabV3H QStyleOptionTabV3_create(); C_EXPORT void QStyleOptionTabV3_destroy(QStyleOptionTabV3H handle); C_EXPORT QStyleOptionTabV3H QStyleOptionTabV3_create2(const QStyleOptionTabV3H other); C_EXPORT QStyleOptionTabV3H QStyleOptionTabV3_create3(const QStyleOptionTabV2H other); C_EXPORT QStyleOptionTabV3H QStyleOptionTabV3_create4(const QStyleOptionTabH other); C_EXPORT QStyleOptionToolBar::ToolBarPosition QStyleOptionToolBar_positionOfLine(QStyleOptionToolBarH handle); C_EXPORT void QStyleOptionToolBar_setPositionOfLine(QStyleOptionToolBarH handle, QStyleOptionToolBar::ToolBarPosition positionOfLine); C_EXPORT QStyleOptionToolBar::ToolBarPosition QStyleOptionToolBar_positionWithinLine(QStyleOptionToolBarH handle); C_EXPORT void QStyleOptionToolBar_setPositionWithinLine(QStyleOptionToolBarH handle, QStyleOptionToolBar::ToolBarPosition positionWithinLine); C_EXPORT Qt::ToolBarArea QStyleOptionToolBar_toolBarArea(QStyleOptionToolBarH handle); C_EXPORT void QStyleOptionToolBar_setToolBarArea(QStyleOptionToolBarH handle, Qt::ToolBarArea toolBarArea); C_EXPORT unsigned int QStyleOptionToolBar_features(QStyleOptionToolBarH handle); C_EXPORT void QStyleOptionToolBar_setFeatures(QStyleOptionToolBarH handle, unsigned int features); C_EXPORT int QStyleOptionToolBar_lineWidth(QStyleOptionToolBarH handle); C_EXPORT void QStyleOptionToolBar_setLineWidth(QStyleOptionToolBarH handle, int lineWidth); C_EXPORT int QStyleOptionToolBar_midLineWidth(QStyleOptionToolBarH handle); C_EXPORT void QStyleOptionToolBar_setMidLineWidth(QStyleOptionToolBarH handle, int midLineWidth); C_EXPORT QStyleOptionToolBarH QStyleOptionToolBar_create(); C_EXPORT void QStyleOptionToolBar_destroy(QStyleOptionToolBarH handle); C_EXPORT QStyleOptionToolBarH QStyleOptionToolBar_create2(const QStyleOptionToolBarH other); C_EXPORT int QStyleOptionProgressBar_minimum(QStyleOptionProgressBarH handle); C_EXPORT void QStyleOptionProgressBar_setMinimum(QStyleOptionProgressBarH handle, int minimum); C_EXPORT int QStyleOptionProgressBar_maximum(QStyleOptionProgressBarH handle); C_EXPORT void QStyleOptionProgressBar_setMaximum(QStyleOptionProgressBarH handle, int maximum); C_EXPORT int QStyleOptionProgressBar_progress(QStyleOptionProgressBarH handle); C_EXPORT void QStyleOptionProgressBar_setProgress(QStyleOptionProgressBarH handle, int progress); C_EXPORT void QStyleOptionProgressBar_text(QStyleOptionProgressBarH handle, PWideString retval); C_EXPORT void QStyleOptionProgressBar_setText(QStyleOptionProgressBarH handle, PWideString text); C_EXPORT unsigned int QStyleOptionProgressBar_textAlignment(QStyleOptionProgressBarH handle); C_EXPORT void QStyleOptionProgressBar_setTextAlignment(QStyleOptionProgressBarH handle, unsigned int textAlignment); C_EXPORT bool QStyleOptionProgressBar_textVisible(QStyleOptionProgressBarH handle); C_EXPORT void QStyleOptionProgressBar_setTextVisible(QStyleOptionProgressBarH handle, bool textVisible); C_EXPORT QStyleOptionProgressBarH QStyleOptionProgressBar_create(); C_EXPORT void QStyleOptionProgressBar_destroy(QStyleOptionProgressBarH handle); C_EXPORT QStyleOptionProgressBarH QStyleOptionProgressBar_create2(const QStyleOptionProgressBarH other); C_EXPORT Qt::Orientation QStyleOptionProgressBarV2_orientation(QStyleOptionProgressBarV2H handle); C_EXPORT void QStyleOptionProgressBarV2_setOrientation(QStyleOptionProgressBarV2H handle, Qt::Orientation orientation); C_EXPORT bool QStyleOptionProgressBarV2_invertedAppearance(QStyleOptionProgressBarV2H handle); C_EXPORT void QStyleOptionProgressBarV2_setInvertedAppearance(QStyleOptionProgressBarV2H handle, bool invertedAppearance); C_EXPORT bool QStyleOptionProgressBarV2_bottomToTop(QStyleOptionProgressBarV2H handle); C_EXPORT void QStyleOptionProgressBarV2_setBottomToTop(QStyleOptionProgressBarV2H handle, bool bottomToTop); C_EXPORT QStyleOptionProgressBarV2H QStyleOptionProgressBarV2_create(); C_EXPORT void QStyleOptionProgressBarV2_destroy(QStyleOptionProgressBarV2H handle); C_EXPORT QStyleOptionProgressBarV2H QStyleOptionProgressBarV2_create2(const QStyleOptionProgressBarH other); C_EXPORT QStyleOptionProgressBarV2H QStyleOptionProgressBarV2_create3(const QStyleOptionProgressBarV2H other); C_EXPORT QStyleOptionMenuItem::MenuItemType QStyleOptionMenuItem_menuItemType(QStyleOptionMenuItemH handle); C_EXPORT void QStyleOptionMenuItem_setMenuItemType(QStyleOptionMenuItemH handle, QStyleOptionMenuItem::MenuItemType menuItemType); C_EXPORT QStyleOptionMenuItem::CheckType QStyleOptionMenuItem_checkType(QStyleOptionMenuItemH handle); C_EXPORT void QStyleOptionMenuItem_setCheckType(QStyleOptionMenuItemH handle, QStyleOptionMenuItem::CheckType checkType); C_EXPORT bool QStyleOptionMenuItem_checked(QStyleOptionMenuItemH handle); C_EXPORT void QStyleOptionMenuItem_setChecked(QStyleOptionMenuItemH handle, bool checked); C_EXPORT bool QStyleOptionMenuItem_menuHasCheckableItems(QStyleOptionMenuItemH handle); C_EXPORT void QStyleOptionMenuItem_setMenuHasCheckableItems(QStyleOptionMenuItemH handle, bool menuHasCheckableItems); C_EXPORT void QStyleOptionMenuItem_menuRect(QStyleOptionMenuItemH handle, PRect retval); C_EXPORT void QStyleOptionMenuItem_setMenuRect(QStyleOptionMenuItemH handle, PRect menuRect); C_EXPORT void QStyleOptionMenuItem_text(QStyleOptionMenuItemH handle, PWideString retval); C_EXPORT void QStyleOptionMenuItem_setText(QStyleOptionMenuItemH handle, PWideString text); C_EXPORT void QStyleOptionMenuItem_icon(QStyleOptionMenuItemH handle, QIconH retval); C_EXPORT void QStyleOptionMenuItem_setIcon(QStyleOptionMenuItemH handle, QIconH icon); C_EXPORT int QStyleOptionMenuItem_maxIconWidth(QStyleOptionMenuItemH handle); C_EXPORT void QStyleOptionMenuItem_setMaxIconWidth(QStyleOptionMenuItemH handle, int maxIconWidth); C_EXPORT int QStyleOptionMenuItem_tabWidth(QStyleOptionMenuItemH handle); C_EXPORT void QStyleOptionMenuItem_setTabWidth(QStyleOptionMenuItemH handle, int tabWidth); C_EXPORT void QStyleOptionMenuItem_font(QStyleOptionMenuItemH handle, QFontH retval); C_EXPORT void QStyleOptionMenuItem_setFont(QStyleOptionMenuItemH handle, QFontH font); C_EXPORT QStyleOptionMenuItemH QStyleOptionMenuItem_create(); C_EXPORT void QStyleOptionMenuItem_destroy(QStyleOptionMenuItemH handle); C_EXPORT QStyleOptionMenuItemH QStyleOptionMenuItem_create2(const QStyleOptionMenuItemH other); C_EXPORT unsigned int QStyleOptionQ3ListViewItem_features(QStyleOptionQ3ListViewItemH handle); C_EXPORT void QStyleOptionQ3ListViewItem_setFeatures(QStyleOptionQ3ListViewItemH handle, unsigned int features); C_EXPORT int QStyleOptionQ3ListViewItem_height(QStyleOptionQ3ListViewItemH handle); C_EXPORT void QStyleOptionQ3ListViewItem_setHeight(QStyleOptionQ3ListViewItemH handle, int height); C_EXPORT int QStyleOptionQ3ListViewItem_totalHeight(QStyleOptionQ3ListViewItemH handle); C_EXPORT void QStyleOptionQ3ListViewItem_setTotalHeight(QStyleOptionQ3ListViewItemH handle, int totalHeight); C_EXPORT int QStyleOptionQ3ListViewItem_itemY(QStyleOptionQ3ListViewItemH handle); C_EXPORT void QStyleOptionQ3ListViewItem_setItemY(QStyleOptionQ3ListViewItemH handle, int itemY); C_EXPORT int QStyleOptionQ3ListViewItem_childCount(QStyleOptionQ3ListViewItemH handle); C_EXPORT void QStyleOptionQ3ListViewItem_setChildCount(QStyleOptionQ3ListViewItemH handle, int childCount); C_EXPORT QStyleOptionQ3ListViewItemH QStyleOptionQ3ListViewItem_create(); C_EXPORT void QStyleOptionQ3ListViewItem_destroy(QStyleOptionQ3ListViewItemH handle); C_EXPORT QStyleOptionQ3ListViewItemH QStyleOptionQ3ListViewItem_create2(const QStyleOptionQ3ListViewItemH other); C_EXPORT bool QStyleOptionQ3DockWindow_docked(QStyleOptionQ3DockWindowH handle); C_EXPORT void QStyleOptionQ3DockWindow_setDocked(QStyleOptionQ3DockWindowH handle, bool docked); C_EXPORT bool QStyleOptionQ3DockWindow_closeEnabled(QStyleOptionQ3DockWindowH handle); C_EXPORT void QStyleOptionQ3DockWindow_setCloseEnabled(QStyleOptionQ3DockWindowH handle, bool closeEnabled); C_EXPORT QStyleOptionQ3DockWindowH QStyleOptionQ3DockWindow_create(); C_EXPORT void QStyleOptionQ3DockWindow_destroy(QStyleOptionQ3DockWindowH handle); C_EXPORT QStyleOptionQ3DockWindowH QStyleOptionQ3DockWindow_create2(const QStyleOptionQ3DockWindowH other); C_EXPORT void QStyleOptionDockWidget_title(QStyleOptionDockWidgetH handle, PWideString retval); C_EXPORT void QStyleOptionDockWidget_setTitle(QStyleOptionDockWidgetH handle, PWideString title); C_EXPORT bool QStyleOptionDockWidget_closable(QStyleOptionDockWidgetH handle); C_EXPORT void QStyleOptionDockWidget_setClosable(QStyleOptionDockWidgetH handle, bool closable); C_EXPORT bool QStyleOptionDockWidget_movable(QStyleOptionDockWidgetH handle); C_EXPORT void QStyleOptionDockWidget_setMovable(QStyleOptionDockWidgetH handle, bool movable); C_EXPORT bool QStyleOptionDockWidget_floatable(QStyleOptionDockWidgetH handle); C_EXPORT void QStyleOptionDockWidget_setFloatable(QStyleOptionDockWidgetH handle, bool floatable); C_EXPORT QStyleOptionDockWidgetH QStyleOptionDockWidget_create(); C_EXPORT void QStyleOptionDockWidget_destroy(QStyleOptionDockWidgetH handle); C_EXPORT QStyleOptionDockWidgetH QStyleOptionDockWidget_create2(const QStyleOptionDockWidgetH other); C_EXPORT unsigned int QStyleOptionViewItem_displayAlignment(QStyleOptionViewItemH handle); C_EXPORT void QStyleOptionViewItem_setDisplayAlignment(QStyleOptionViewItemH handle, unsigned int displayAlignment); C_EXPORT unsigned int QStyleOptionViewItem_decorationAlignment(QStyleOptionViewItemH handle); C_EXPORT void QStyleOptionViewItem_setDecorationAlignment(QStyleOptionViewItemH handle, unsigned int decorationAlignment); C_EXPORT Qt::TextElideMode QStyleOptionViewItem_textElideMode(QStyleOptionViewItemH handle); C_EXPORT void QStyleOptionViewItem_setTextElideMode(QStyleOptionViewItemH handle, Qt::TextElideMode textElideMode); C_EXPORT QStyleOptionViewItem::Position QStyleOptionViewItem_decorationPosition(QStyleOptionViewItemH handle); C_EXPORT void QStyleOptionViewItem_setDecorationPosition(QStyleOptionViewItemH handle, QStyleOptionViewItem::Position decorationPosition); C_EXPORT void QStyleOptionViewItem_decorationSize(QStyleOptionViewItemH handle, PSize retval); C_EXPORT void QStyleOptionViewItem_setDecorationSize(QStyleOptionViewItemH handle, PSize decorationSize); C_EXPORT void QStyleOptionViewItem_font(QStyleOptionViewItemH handle, QFontH retval); C_EXPORT void QStyleOptionViewItem_setFont(QStyleOptionViewItemH handle, QFontH font); C_EXPORT bool QStyleOptionViewItem_showDecorationSelected(QStyleOptionViewItemH handle); C_EXPORT void QStyleOptionViewItem_setShowDecorationSelected(QStyleOptionViewItemH handle, bool showDecorationSelected); C_EXPORT QStyleOptionViewItemH QStyleOptionViewItem_create(); C_EXPORT void QStyleOptionViewItem_destroy(QStyleOptionViewItemH handle); C_EXPORT QStyleOptionViewItemH QStyleOptionViewItem_create2(const QStyleOptionViewItemH other); C_EXPORT void QStyleOptionViewItemV4_index(QStyleOptionViewItemV4H handle, QModelIndexH retval); C_EXPORT void QStyleOptionViewItemV4_setIndex(QStyleOptionViewItemV4H handle, QModelIndexH index); C_EXPORT Qt::CheckState QStyleOptionViewItemV4_checkState(QStyleOptionViewItemV4H handle); C_EXPORT void QStyleOptionViewItemV4_setCheckState(QStyleOptionViewItemV4H handle, Qt::CheckState checkState); C_EXPORT void QStyleOptionViewItemV4_icon(QStyleOptionViewItemV4H handle, QIconH retval); C_EXPORT void QStyleOptionViewItemV4_setIcon(QStyleOptionViewItemV4H handle, QIconH icon); C_EXPORT void QStyleOptionViewItemV4_text(QStyleOptionViewItemV4H handle, PWideString retval); C_EXPORT void QStyleOptionViewItemV4_setText(QStyleOptionViewItemV4H handle, PWideString text); C_EXPORT QStyleOptionViewItemV4::ViewItemPosition QStyleOptionViewItemV4_viewItemPosition(QStyleOptionViewItemV4H handle); C_EXPORT void QStyleOptionViewItemV4_setViewItemPosition(QStyleOptionViewItemV4H handle, QStyleOptionViewItemV4::ViewItemPosition viewItemPosition); C_EXPORT void QStyleOptionViewItemV4_backgroundBrush(QStyleOptionViewItemV4H handle, QBrushH retval); C_EXPORT void QStyleOptionViewItemV4_setBackgroundBrush(QStyleOptionViewItemV4H handle, QBrushH backgroundBrush); C_EXPORT QStyleOptionViewItemV4H QStyleOptionViewItemV4_create(); C_EXPORT void QStyleOptionViewItemV4_destroy(QStyleOptionViewItemV4H handle); C_EXPORT QStyleOptionViewItemV4H QStyleOptionViewItemV4_create2(const QStyleOptionViewItemV4H other); C_EXPORT QStyleOptionViewItemV4H QStyleOptionViewItemV4_create3(const QStyleOptionViewItemH other); C_EXPORT void QStyleOptionToolBox_text(QStyleOptionToolBoxH handle, PWideString retval); C_EXPORT void QStyleOptionToolBox_setText(QStyleOptionToolBoxH handle, PWideString text); C_EXPORT void QStyleOptionToolBox_icon(QStyleOptionToolBoxH handle, QIconH retval); C_EXPORT void QStyleOptionToolBox_setIcon(QStyleOptionToolBoxH handle, QIconH icon); C_EXPORT QStyleOptionToolBoxH QStyleOptionToolBox_create(); C_EXPORT void QStyleOptionToolBox_destroy(QStyleOptionToolBoxH handle); C_EXPORT QStyleOptionToolBoxH QStyleOptionToolBox_create2(const QStyleOptionToolBoxH other); C_EXPORT QStyleOptionToolBoxV2::TabPosition QStyleOptionToolBoxV2_position(QStyleOptionToolBoxV2H handle); C_EXPORT void QStyleOptionToolBoxV2_setPosition(QStyleOptionToolBoxV2H handle, QStyleOptionToolBoxV2::TabPosition position); C_EXPORT QStyleOptionToolBoxV2::SelectedPosition QStyleOptionToolBoxV2_selectedPosition(QStyleOptionToolBoxV2H handle); C_EXPORT void QStyleOptionToolBoxV2_setSelectedPosition(QStyleOptionToolBoxV2H handle, QStyleOptionToolBoxV2::SelectedPosition selectedPosition); C_EXPORT QStyleOptionToolBoxV2H QStyleOptionToolBoxV2_create(); C_EXPORT void QStyleOptionToolBoxV2_destroy(QStyleOptionToolBoxV2H handle); C_EXPORT QStyleOptionToolBoxV2H QStyleOptionToolBoxV2_create2(const QStyleOptionToolBoxV2H other); C_EXPORT QStyleOptionToolBoxV2H QStyleOptionToolBoxV2_create3(const QStyleOptionToolBoxH other); C_EXPORT QRubberBand::Shape QStyleOptionRubberBand_shape(QStyleOptionRubberBandH handle); C_EXPORT void QStyleOptionRubberBand_setShape(QStyleOptionRubberBandH handle, QRubberBand::Shape shape); C_EXPORT bool QStyleOptionRubberBand_opaque(QStyleOptionRubberBandH handle); C_EXPORT void QStyleOptionRubberBand_setOpaque(QStyleOptionRubberBandH handle, bool opaque); C_EXPORT QStyleOptionRubberBandH QStyleOptionRubberBand_create(); C_EXPORT void QStyleOptionRubberBand_destroy(QStyleOptionRubberBandH handle); C_EXPORT QStyleOptionRubberBandH QStyleOptionRubberBand_create2(const QStyleOptionRubberBandH other); C_EXPORT unsigned int QStyleOptionComplex_subControls(QStyleOptionComplexH handle); C_EXPORT void QStyleOptionComplex_setSubControls(QStyleOptionComplexH handle, unsigned int subControls); C_EXPORT unsigned int QStyleOptionComplex_activeSubControls(QStyleOptionComplexH handle); C_EXPORT void QStyleOptionComplex_setActiveSubControls(QStyleOptionComplexH handle, unsigned int activeSubControls); C_EXPORT QStyleOptionComplexH QStyleOptionComplex_create(int version, int type); C_EXPORT void QStyleOptionComplex_destroy(QStyleOptionComplexH handle); C_EXPORT QStyleOptionComplexH QStyleOptionComplex_create2(const QStyleOptionComplexH other); C_EXPORT Qt::Orientation QStyleOptionSlider_orientation(QStyleOptionSliderH handle); C_EXPORT void QStyleOptionSlider_setOrientation(QStyleOptionSliderH handle, Qt::Orientation orientation); C_EXPORT int QStyleOptionSlider_minimum(QStyleOptionSliderH handle); C_EXPORT void QStyleOptionSlider_setMinimum(QStyleOptionSliderH handle, int minimum); C_EXPORT int QStyleOptionSlider_maximum(QStyleOptionSliderH handle); C_EXPORT void QStyleOptionSlider_setMaximum(QStyleOptionSliderH handle, int maximum); C_EXPORT QSlider::TickPosition QStyleOptionSlider_tickPosition(QStyleOptionSliderH handle); C_EXPORT void QStyleOptionSlider_setTickPosition(QStyleOptionSliderH handle, QSlider::TickPosition tickPosition); C_EXPORT int QStyleOptionSlider_tickInterval(QStyleOptionSliderH handle); C_EXPORT void QStyleOptionSlider_setTickInterval(QStyleOptionSliderH handle, int tickInterval); C_EXPORT bool QStyleOptionSlider_upsideDown(QStyleOptionSliderH handle); C_EXPORT void QStyleOptionSlider_setUpsideDown(QStyleOptionSliderH handle, bool upsideDown); C_EXPORT int QStyleOptionSlider_sliderPosition(QStyleOptionSliderH handle); C_EXPORT void QStyleOptionSlider_setSliderPosition(QStyleOptionSliderH handle, int sliderPosition); C_EXPORT int QStyleOptionSlider_sliderValue(QStyleOptionSliderH handle); C_EXPORT void QStyleOptionSlider_setSliderValue(QStyleOptionSliderH handle, int sliderValue); C_EXPORT int QStyleOptionSlider_singleStep(QStyleOptionSliderH handle); C_EXPORT void QStyleOptionSlider_setSingleStep(QStyleOptionSliderH handle, int singleStep); C_EXPORT int QStyleOptionSlider_pageStep(QStyleOptionSliderH handle); C_EXPORT void QStyleOptionSlider_setPageStep(QStyleOptionSliderH handle, int pageStep); C_EXPORT qreal QStyleOptionSlider_notchTarget(QStyleOptionSliderH handle); C_EXPORT void QStyleOptionSlider_setNotchTarget(QStyleOptionSliderH handle, qreal notchTarget); C_EXPORT bool QStyleOptionSlider_dialWrapping(QStyleOptionSliderH handle); C_EXPORT void QStyleOptionSlider_setDialWrapping(QStyleOptionSliderH handle, bool dialWrapping); C_EXPORT QStyleOptionSliderH QStyleOptionSlider_create(); C_EXPORT void QStyleOptionSlider_destroy(QStyleOptionSliderH handle); C_EXPORT QStyleOptionSliderH QStyleOptionSlider_create2(const QStyleOptionSliderH other); C_EXPORT QAbstractSpinBox::ButtonSymbols QStyleOptionSpinBox_buttonSymbols(QStyleOptionSpinBoxH handle); C_EXPORT void QStyleOptionSpinBox_setButtonSymbols(QStyleOptionSpinBoxH handle, QAbstractSpinBox::ButtonSymbols buttonSymbols); C_EXPORT unsigned int QStyleOptionSpinBox_stepEnabled(QStyleOptionSpinBoxH handle); C_EXPORT void QStyleOptionSpinBox_setStepEnabled(QStyleOptionSpinBoxH handle, unsigned int stepEnabled); C_EXPORT bool QStyleOptionSpinBox_frame(QStyleOptionSpinBoxH handle); C_EXPORT void QStyleOptionSpinBox_setFrame(QStyleOptionSpinBoxH handle, bool frame); C_EXPORT QStyleOptionSpinBoxH QStyleOptionSpinBox_create(); C_EXPORT void QStyleOptionSpinBox_destroy(QStyleOptionSpinBoxH handle); C_EXPORT QStyleOptionSpinBoxH QStyleOptionSpinBox_create2(const QStyleOptionSpinBoxH other); C_EXPORT void QStyleOptionQ3ListView_viewportPalette(QStyleOptionQ3ListViewH handle, QPaletteH retval); C_EXPORT void QStyleOptionQ3ListView_setViewportPalette(QStyleOptionQ3ListViewH handle, QPaletteH viewportPalette); C_EXPORT QPalette::ColorRole QStyleOptionQ3ListView_viewportBGRole(QStyleOptionQ3ListViewH handle); C_EXPORT void QStyleOptionQ3ListView_setViewportBGRole(QStyleOptionQ3ListViewH handle, QPalette::ColorRole viewportBGRole); C_EXPORT int QStyleOptionQ3ListView_sortColumn(QStyleOptionQ3ListViewH handle); C_EXPORT void QStyleOptionQ3ListView_setSortColumn(QStyleOptionQ3ListViewH handle, int sortColumn); C_EXPORT int QStyleOptionQ3ListView_itemMargin(QStyleOptionQ3ListViewH handle); C_EXPORT void QStyleOptionQ3ListView_setItemMargin(QStyleOptionQ3ListViewH handle, int itemMargin); C_EXPORT int QStyleOptionQ3ListView_treeStepSize(QStyleOptionQ3ListViewH handle); C_EXPORT void QStyleOptionQ3ListView_setTreeStepSize(QStyleOptionQ3ListViewH handle, int treeStepSize); C_EXPORT bool QStyleOptionQ3ListView_rootIsDecorated(QStyleOptionQ3ListViewH handle); C_EXPORT void QStyleOptionQ3ListView_setRootIsDecorated(QStyleOptionQ3ListViewH handle, bool rootIsDecorated); C_EXPORT QStyleOptionQ3ListViewH QStyleOptionQ3ListView_create(); C_EXPORT void QStyleOptionQ3ListView_destroy(QStyleOptionQ3ListViewH handle); C_EXPORT QStyleOptionQ3ListViewH QStyleOptionQ3ListView_create2(const QStyleOptionQ3ListViewH other); C_EXPORT unsigned int QStyleOptionToolButton_features(QStyleOptionToolButtonH handle); C_EXPORT void QStyleOptionToolButton_setFeatures(QStyleOptionToolButtonH handle, unsigned int features); C_EXPORT void QStyleOptionToolButton_icon(QStyleOptionToolButtonH handle, QIconH retval); C_EXPORT void QStyleOptionToolButton_setIcon(QStyleOptionToolButtonH handle, QIconH icon); C_EXPORT void QStyleOptionToolButton_iconSize(QStyleOptionToolButtonH handle, PSize retval); C_EXPORT void QStyleOptionToolButton_setIconSize(QStyleOptionToolButtonH handle, PSize iconSize); C_EXPORT void QStyleOptionToolButton_text(QStyleOptionToolButtonH handle, PWideString retval); C_EXPORT void QStyleOptionToolButton_setText(QStyleOptionToolButtonH handle, PWideString text); C_EXPORT Qt::ArrowType QStyleOptionToolButton_arrowType(QStyleOptionToolButtonH handle); C_EXPORT void QStyleOptionToolButton_setArrowType(QStyleOptionToolButtonH handle, Qt::ArrowType arrowType); C_EXPORT Qt::ToolButtonStyle QStyleOptionToolButton_toolButtonStyle(QStyleOptionToolButtonH handle); C_EXPORT void QStyleOptionToolButton_setToolButtonStyle(QStyleOptionToolButtonH handle, Qt::ToolButtonStyle toolButtonStyle); C_EXPORT void QStyleOptionToolButton_pos(QStyleOptionToolButtonH handle, PQtPoint retval); C_EXPORT void QStyleOptionToolButton_setPos(QStyleOptionToolButtonH handle, PQtPoint pos); C_EXPORT void QStyleOptionToolButton_font(QStyleOptionToolButtonH handle, QFontH retval); C_EXPORT void QStyleOptionToolButton_setFont(QStyleOptionToolButtonH handle, QFontH font); C_EXPORT QStyleOptionToolButtonH QStyleOptionToolButton_create(); C_EXPORT void QStyleOptionToolButton_destroy(QStyleOptionToolButtonH handle); C_EXPORT QStyleOptionToolButtonH QStyleOptionToolButton_create2(const QStyleOptionToolButtonH other); C_EXPORT bool QStyleOptionComboBox_editable(QStyleOptionComboBoxH handle); C_EXPORT void QStyleOptionComboBox_setEditable(QStyleOptionComboBoxH handle, bool editable); C_EXPORT void QStyleOptionComboBox_popupRect(QStyleOptionComboBoxH handle, PRect retval); C_EXPORT void QStyleOptionComboBox_setPopupRect(QStyleOptionComboBoxH handle, PRect popupRect); C_EXPORT bool QStyleOptionComboBox_frame(QStyleOptionComboBoxH handle); C_EXPORT void QStyleOptionComboBox_setFrame(QStyleOptionComboBoxH handle, bool frame); C_EXPORT void QStyleOptionComboBox_currentText(QStyleOptionComboBoxH handle, PWideString retval); C_EXPORT void QStyleOptionComboBox_setCurrentText(QStyleOptionComboBoxH handle, PWideString currentText); C_EXPORT void QStyleOptionComboBox_currentIcon(QStyleOptionComboBoxH handle, QIconH retval); C_EXPORT void QStyleOptionComboBox_setCurrentIcon(QStyleOptionComboBoxH handle, QIconH currentIcon); C_EXPORT void QStyleOptionComboBox_iconSize(QStyleOptionComboBoxH handle, PSize retval); C_EXPORT void QStyleOptionComboBox_setIconSize(QStyleOptionComboBoxH handle, PSize iconSize); C_EXPORT QStyleOptionComboBoxH QStyleOptionComboBox_create(); C_EXPORT void QStyleOptionComboBox_destroy(QStyleOptionComboBoxH handle); C_EXPORT QStyleOptionComboBoxH QStyleOptionComboBox_create2(const QStyleOptionComboBoxH other); C_EXPORT void QStyleOptionTitleBar_text(QStyleOptionTitleBarH handle, PWideString retval); C_EXPORT void QStyleOptionTitleBar_setText(QStyleOptionTitleBarH handle, PWideString text); C_EXPORT void QStyleOptionTitleBar_icon(QStyleOptionTitleBarH handle, QIconH retval); C_EXPORT void QStyleOptionTitleBar_setIcon(QStyleOptionTitleBarH handle, QIconH icon); C_EXPORT int QStyleOptionTitleBar_titleBarState(QStyleOptionTitleBarH handle); C_EXPORT void QStyleOptionTitleBar_setTitleBarState(QStyleOptionTitleBarH handle, int titleBarState); C_EXPORT unsigned int QStyleOptionTitleBar_titleBarFlags(QStyleOptionTitleBarH handle); C_EXPORT void QStyleOptionTitleBar_setTitleBarFlags(QStyleOptionTitleBarH handle, unsigned int titleBarFlags); C_EXPORT QStyleOptionTitleBarH QStyleOptionTitleBar_create(); C_EXPORT void QStyleOptionTitleBar_destroy(QStyleOptionTitleBarH handle); C_EXPORT QStyleOptionTitleBarH QStyleOptionTitleBar_create2(const QStyleOptionTitleBarH other); C_EXPORT unsigned int QStyleOptionGroupBox_features(QStyleOptionGroupBoxH handle); C_EXPORT void QStyleOptionGroupBox_setFeatures(QStyleOptionGroupBoxH handle, unsigned int features); C_EXPORT void QStyleOptionGroupBox_text(QStyleOptionGroupBoxH handle, PWideString retval); C_EXPORT void QStyleOptionGroupBox_setText(QStyleOptionGroupBoxH handle, PWideString text); C_EXPORT unsigned int QStyleOptionGroupBox_textAlignment(QStyleOptionGroupBoxH handle); C_EXPORT void QStyleOptionGroupBox_setTextAlignment(QStyleOptionGroupBoxH handle, unsigned int textAlignment); C_EXPORT void QStyleOptionGroupBox_textColor(QStyleOptionGroupBoxH handle, PQColor retval); C_EXPORT void QStyleOptionGroupBox_setTextColor(QStyleOptionGroupBoxH handle, PQColor textColor); C_EXPORT int QStyleOptionGroupBox_lineWidth(QStyleOptionGroupBoxH handle); C_EXPORT void QStyleOptionGroupBox_setLineWidth(QStyleOptionGroupBoxH handle, int lineWidth); C_EXPORT int QStyleOptionGroupBox_midLineWidth(QStyleOptionGroupBoxH handle); C_EXPORT void QStyleOptionGroupBox_setMidLineWidth(QStyleOptionGroupBoxH handle, int midLineWidth); C_EXPORT QStyleOptionGroupBoxH QStyleOptionGroupBox_create(); C_EXPORT void QStyleOptionGroupBox_destroy(QStyleOptionGroupBoxH handle); C_EXPORT QStyleOptionGroupBoxH QStyleOptionGroupBox_create2(const QStyleOptionGroupBoxH other); C_EXPORT Qt::Corner QStyleOptionSizeGrip_corner(QStyleOptionSizeGripH handle); C_EXPORT void QStyleOptionSizeGrip_setCorner(QStyleOptionSizeGripH handle, Qt::Corner corner); C_EXPORT QStyleOptionSizeGripH QStyleOptionSizeGrip_create(); C_EXPORT void QStyleOptionSizeGrip_destroy(QStyleOptionSizeGripH handle); C_EXPORT QStyleOptionSizeGripH QStyleOptionSizeGrip_create2(const QStyleOptionSizeGripH other); C_EXPORT void QStyleOptionGraphicsItem_exposedRect(QStyleOptionGraphicsItemH handle, QRectFH retval); C_EXPORT void QStyleOptionGraphicsItem_setExposedRect(QStyleOptionGraphicsItemH handle, QRectFH exposedRect); C_EXPORT void QStyleOptionGraphicsItem_matrix(QStyleOptionGraphicsItemH handle, QMatrixH retval); C_EXPORT void QStyleOptionGraphicsItem_setMatrix(QStyleOptionGraphicsItemH handle, QMatrixH matrix); C_EXPORT qreal QStyleOptionGraphicsItem_levelOfDetail(QStyleOptionGraphicsItemH handle); C_EXPORT void QStyleOptionGraphicsItem_setLevelOfDetail(QStyleOptionGraphicsItemH handle, qreal levelOfDetail); C_EXPORT QStyleOptionGraphicsItemH QStyleOptionGraphicsItem_create(); C_EXPORT void QStyleOptionGraphicsItem_destroy(QStyleOptionGraphicsItemH handle); C_EXPORT QStyleOptionGraphicsItemH QStyleOptionGraphicsItem_create2(const QStyleOptionGraphicsItemH other); C_EXPORT int QStyleHintReturn_version(QStyleHintReturnH handle); C_EXPORT void QStyleHintReturn_setVersion(QStyleHintReturnH handle, int version); C_EXPORT int QStyleHintReturn_type(QStyleHintReturnH handle); C_EXPORT void QStyleHintReturn_setType(QStyleHintReturnH handle, int type); C_EXPORT QStyleHintReturnH QStyleHintReturn_create(int version, int type); C_EXPORT void QStyleHintReturn_destroy(QStyleHintReturnH handle); C_EXPORT void QStyleHintReturnMask_region(QStyleHintReturnMaskH handle, QRegionH retval); C_EXPORT void QStyleHintReturnMask_setRegion(QStyleHintReturnMaskH handle, QRegionH region); C_EXPORT QStyleHintReturnMaskH QStyleHintReturnMask_create(); C_EXPORT void QStyleHintReturnMask_destroy(QStyleHintReturnMaskH handle); C_EXPORT void QStyleHintReturnVariant_variant(QStyleHintReturnVariantH handle, QVariantH retval); C_EXPORT void QStyleHintReturnVariant_setVariant(QStyleHintReturnVariantH handle, QVariantH variant); C_EXPORT QStyleHintReturnVariantH QStyleHintReturnVariant_create(); C_EXPORT void QStyleHintReturnVariant_destroy(QStyleHintReturnVariantH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmdiarea_c.h0000664000212600021260000000531011677135472017270 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMDIAREA_C_H #define QMDIAREA_C_H #include #include "pascalbind.h" C_EXPORT QMdiAreaH QMdiArea_create(QWidgetH parent); C_EXPORT void QMdiArea_destroy(QMdiAreaH handle); C_EXPORT void QMdiArea_sizeHint(QMdiAreaH handle, PSize retval); C_EXPORT void QMdiArea_minimumSizeHint(QMdiAreaH handle, PSize retval); C_EXPORT QMdiSubWindowH QMdiArea_currentSubWindow(QMdiAreaH handle); C_EXPORT QMdiSubWindowH QMdiArea_activeSubWindow(QMdiAreaH handle); C_EXPORT void QMdiArea_subWindowList(QMdiAreaH handle, PPtrIntArray retval, QMdiArea::WindowOrder order); C_EXPORT QMdiSubWindowH QMdiArea_addSubWindow(QMdiAreaH handle, QWidgetH widget, unsigned int flags); C_EXPORT void QMdiArea_removeSubWindow(QMdiAreaH handle, QWidgetH widget); C_EXPORT void QMdiArea_background(QMdiAreaH handle, QBrushH retval); C_EXPORT void QMdiArea_setBackground(QMdiAreaH handle, const QBrushH background); C_EXPORT QMdiArea::WindowOrder QMdiArea_activationOrder(QMdiAreaH handle); C_EXPORT void QMdiArea_setActivationOrder(QMdiAreaH handle, QMdiArea::WindowOrder order); C_EXPORT void QMdiArea_setOption(QMdiAreaH handle, QMdiArea::AreaOption option, bool on); C_EXPORT bool QMdiArea_testOption(QMdiAreaH handle, QMdiArea::AreaOption opton); C_EXPORT void QMdiArea_setViewMode(QMdiAreaH handle, QMdiArea::ViewMode mode); C_EXPORT QMdiArea::ViewMode QMdiArea_viewMode(QMdiAreaH handle); C_EXPORT bool QMdiArea_documentMode(QMdiAreaH handle); C_EXPORT void QMdiArea_setDocumentMode(QMdiAreaH handle, bool enabled); C_EXPORT void QMdiArea_setTabShape(QMdiAreaH handle, QTabWidget::TabShape shape); C_EXPORT QTabWidget::TabShape QMdiArea_tabShape(QMdiAreaH handle); C_EXPORT void QMdiArea_setTabPosition(QMdiAreaH handle, QTabWidget::TabPosition position); C_EXPORT QTabWidget::TabPosition QMdiArea_tabPosition(QMdiAreaH handle); C_EXPORT void QMdiArea_setActiveSubWindow(QMdiAreaH handle, QMdiSubWindowH window); C_EXPORT void QMdiArea_tileSubWindows(QMdiAreaH handle); C_EXPORT void QMdiArea_cascadeSubWindows(QMdiAreaH handle); C_EXPORT void QMdiArea_closeActiveSubWindow(QMdiAreaH handle); C_EXPORT void QMdiArea_closeAllSubWindows(QMdiAreaH handle); C_EXPORT void QMdiArea_activateNextSubWindow(QMdiAreaH handle); C_EXPORT void QMdiArea_activatePreviousSubWindow(QMdiAreaH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpaintdevice_c.cpp0000664000212600021260000000415611677135472020523 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qpaintdevice_c.h" int QPaintDevice_devType(QPaintDeviceH handle) { return (int) ((QPaintDevice *)handle)->devType(); } bool QPaintDevice_paintingActive(QPaintDeviceH handle) { return (bool) ((QPaintDevice *)handle)->paintingActive(); } QPaintEngineH QPaintDevice_paintEngine(QPaintDeviceH handle) { return (QPaintEngineH) ((QPaintDevice *)handle)->paintEngine(); } int QPaintDevice_width(QPaintDeviceH handle) { return (int) ((QPaintDevice *)handle)->width(); } int QPaintDevice_height(QPaintDeviceH handle) { return (int) ((QPaintDevice *)handle)->height(); } int QPaintDevice_widthMM(QPaintDeviceH handle) { return (int) ((QPaintDevice *)handle)->widthMM(); } int QPaintDevice_heightMM(QPaintDeviceH handle) { return (int) ((QPaintDevice *)handle)->heightMM(); } int QPaintDevice_logicalDpiX(QPaintDeviceH handle) { return (int) ((QPaintDevice *)handle)->logicalDpiX(); } int QPaintDevice_logicalDpiY(QPaintDeviceH handle) { return (int) ((QPaintDevice *)handle)->logicalDpiY(); } int QPaintDevice_physicalDpiX(QPaintDeviceH handle) { return (int) ((QPaintDevice *)handle)->physicalDpiX(); } int QPaintDevice_physicalDpiY(QPaintDeviceH handle) { return (int) ((QPaintDevice *)handle)->physicalDpiY(); } int QPaintDevice_numColors(QPaintDeviceH handle) { return (int) ((QPaintDevice *)handle)->numColors(); } int QPaintDevice_depth(QPaintDeviceH handle) { return (int) ((QPaintDevice *)handle)->depth(); } #if defined MSWINDOWS HDC QPaintDevice_getDC(QPaintDeviceH handle) { return (HDC) ((QPaintDevice *)handle)->getDC(); } void QPaintDevice_releaseDC(QPaintDeviceH handle, HDC hdc) { ((QPaintDevice *)handle)->releaseDC(hdc); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemview_hook.h0000664000212600021260000001136111677135472021764 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTITEMVIEW_HOOK_H #define QABSTRACTITEMVIEW_HOOK_H #include #include "qabstractscrollarea_hook.h" class QAbstractItemView_hook : public QAbstractScrollArea_hook { Q_OBJECT public: QAbstractItemView_hook(QObject *handle) : QAbstractScrollArea_hook(handle) { pressed_event.func = NULL; clicked_event.func = NULL; doubleClicked_event.func = NULL; activated_event.func = NULL; entered_event.func = NULL; viewportEntered_event.func = NULL; } void hook_pressed(QHook &hook) { if ( !pressed_event.func ) connect(handle, SIGNAL(pressed(const QModelIndex&)), this, SLOT(pressed_hook(const QModelIndex&))); pressed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(pressed(const QModelIndex&)), this, SLOT(pressed_hook(const QModelIndex&))); } void hook_clicked(QHook &hook) { if ( !clicked_event.func ) connect(handle, SIGNAL(clicked(const QModelIndex&)), this, SLOT(clicked_hook(const QModelIndex&))); clicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(clicked(const QModelIndex&)), this, SLOT(clicked_hook(const QModelIndex&))); } void hook_doubleClicked(QHook &hook) { if ( !doubleClicked_event.func ) connect(handle, SIGNAL(doubleClicked(const QModelIndex&)), this, SLOT(doubleClicked_hook(const QModelIndex&))); doubleClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(doubleClicked(const QModelIndex&)), this, SLOT(doubleClicked_hook(const QModelIndex&))); } void hook_activated(QHook &hook) { if ( !activated_event.func ) connect(handle, SIGNAL(activated(const QModelIndex&)), this, SLOT(activated_hook(const QModelIndex&))); activated_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(activated(const QModelIndex&)), this, SLOT(activated_hook(const QModelIndex&))); } void hook_entered(QHook &hook) { if ( !entered_event.func ) connect(handle, SIGNAL(entered(const QModelIndex&)), this, SLOT(entered_hook(const QModelIndex&))); entered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(entered(const QModelIndex&)), this, SLOT(entered_hook(const QModelIndex&))); } void hook_viewportEntered(QHook &hook) { if ( !viewportEntered_event.func ) connect(handle, SIGNAL(viewportEntered()), this, SLOT(viewportEntered_hook())); viewportEntered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(viewportEntered()), this, SLOT(viewportEntered_hook())); } private slots: void pressed_hook(const QModelIndex& index) { if ( pressed_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH index); (*(func_type)pressed_event.func)(pressed_event.data, (const QModelIndexH)&index); } } void clicked_hook(const QModelIndex& index) { if ( clicked_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH index); (*(func_type)clicked_event.func)(clicked_event.data, (const QModelIndexH)&index); } } void doubleClicked_hook(const QModelIndex& index) { if ( doubleClicked_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH index); (*(func_type)doubleClicked_event.func)(doubleClicked_event.data, (const QModelIndexH)&index); } } void activated_hook(const QModelIndex& index) { if ( activated_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH index); (*(func_type)activated_event.func)(activated_event.data, (const QModelIndexH)&index); } } void entered_hook(const QModelIndex& index) { if ( entered_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH index); (*(func_type)entered_event.func)(entered_event.data, (const QModelIndexH)&index); } } void viewportEntered_hook() { if ( viewportEntered_event.func ) { typedef void (*func_type)(void *data); (*(func_type)viewportEntered_event.func)(viewportEntered_event.data); } } private: QHook pressed_event; QHook clicked_event; QHook doubleClicked_event; QHook activated_event; QHook entered_event; QHook viewportEntered_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbar_hook.h0000664000212600021260000001225711677135472020056 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTOOLBAR_HOOK_H #define QTOOLBAR_HOOK_H #include #include "qwidget_hook.h" class QToolBar_hook : public QWidget_hook { Q_OBJECT public: QToolBar_hook(QObject *handle) : QWidget_hook(handle) { actionTriggered_event.func = NULL; movableChanged_event.func = NULL; allowedAreasChanged_event.func = NULL; orientationChanged_event.func = NULL; iconSizeChanged_event.func = NULL; toolButtonStyleChanged_event.func = NULL; } void hook_actionTriggered(QHook &hook) { if ( !actionTriggered_event.func ) connect(handle, SIGNAL(actionTriggered(QAction*)), this, SLOT(actionTriggered_hook(QAction*))); actionTriggered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(actionTriggered(QAction*)), this, SLOT(actionTriggered_hook(QAction*))); } void hook_movableChanged(QHook &hook) { if ( !movableChanged_event.func ) connect(handle, SIGNAL(movableChanged(bool)), this, SLOT(movableChanged_hook(bool))); movableChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(movableChanged(bool)), this, SLOT(movableChanged_hook(bool))); } void hook_allowedAreasChanged(QHook &hook) { if ( !allowedAreasChanged_event.func ) connect(handle, SIGNAL(allowedAreasChanged(Qt::ToolBarAreas)), this, SLOT(allowedAreasChanged_hook(Qt::ToolBarAreas))); allowedAreasChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(allowedAreasChanged(Qt::ToolBarAreas)), this, SLOT(allowedAreasChanged_hook(Qt::ToolBarAreas))); } void hook_orientationChanged(QHook &hook) { if ( !orientationChanged_event.func ) connect(handle, SIGNAL(orientationChanged(Qt::Orientation)), this, SLOT(orientationChanged_hook(Qt::Orientation))); orientationChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(orientationChanged(Qt::Orientation)), this, SLOT(orientationChanged_hook(Qt::Orientation))); } void hook_iconSizeChanged(QHook &hook) { if ( !iconSizeChanged_event.func ) connect(handle, SIGNAL(iconSizeChanged(const QSize&)), this, SLOT(iconSizeChanged_hook(const QSize&))); iconSizeChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(iconSizeChanged(const QSize&)), this, SLOT(iconSizeChanged_hook(const QSize&))); } void hook_toolButtonStyleChanged(QHook &hook) { if ( !toolButtonStyleChanged_event.func ) connect(handle, SIGNAL(toolButtonStyleChanged(Qt::ToolButtonStyle)), this, SLOT(toolButtonStyleChanged_hook(Qt::ToolButtonStyle))); toolButtonStyleChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(toolButtonStyleChanged(Qt::ToolButtonStyle)), this, SLOT(toolButtonStyleChanged_hook(Qt::ToolButtonStyle))); } private slots: void actionTriggered_hook(QAction* action) { if ( actionTriggered_event.func ) { typedef void (*func_type)(void *data, QActionH action); (*(func_type)actionTriggered_event.func)(actionTriggered_event.data, (QActionH)action); } } void movableChanged_hook(bool movable) { if ( movableChanged_event.func ) { typedef void (*func_type)(void *data, bool movable); (*(func_type)movableChanged_event.func)(movableChanged_event.data, movable); } } void allowedAreasChanged_hook(Qt::ToolBarAreas allowedAreas) { if ( allowedAreasChanged_event.func ) { typedef void (*func_type)(void *data, unsigned int allowedAreas); (*(func_type)allowedAreasChanged_event.func)(allowedAreasChanged_event.data, (unsigned int)allowedAreas); } } void orientationChanged_hook(Qt::Orientation orientation) { if ( orientationChanged_event.func ) { typedef void (*func_type)(void *data, Qt::Orientation orientation); (*(func_type)orientationChanged_event.func)(orientationChanged_event.data, orientation); } } void iconSizeChanged_hook(const QSize& iconSize) { if ( iconSizeChanged_event.func ) { typedef void (*func_type)(void *data, const QSizeH iconSize); (*(func_type)iconSizeChanged_event.func)(iconSizeChanged_event.data, (const QSizeH)&iconSize); } } void toolButtonStyleChanged_hook(Qt::ToolButtonStyle toolButtonStyle) { if ( toolButtonStyleChanged_event.func ) { typedef void (*func_type)(void *data, Qt::ToolButtonStyle toolButtonStyle); (*(func_type)toolButtonStyleChanged_event.func)(toolButtonStyleChanged_event.data, toolButtonStyle); } } private: QHook actionTriggered_event; QHook movableChanged_event; QHook allowedAreasChanged_event; QHook orientationChanged_event; QHook iconSizeChanged_event; QHook toolButtonStyleChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprocess_hook_c.h0000664000212600021260000000237211677135472020371 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPROCESS_HOOK_C_H #define QPROCESS_HOOK_C_H #include "qprocess_hook.h" C_EXPORT QProcess_hookH QProcess_hook_create(QObjectH handle); C_EXPORT void QProcess_hook_destroy(QProcess_hookH handle); C_EXPORT void QProcess_hook_hook_started(QProcess_hookH handle, QHookH hook); C_EXPORT void QProcess_hook_hook_finished(QProcess_hookH handle, QHookH hook); C_EXPORT void QProcess_hook_hook_finished2(QProcess_hookH handle, QHookH hook); C_EXPORT void QProcess_hook_hook_error(QProcess_hookH handle, QHookH hook); C_EXPORT void QProcess_hook_hook_stateChanged(QProcess_hookH handle, QHookH hook); C_EXPORT void QProcess_hook_hook_readyReadStandardOutput(QProcess_hookH handle, QHookH hook); C_EXPORT void QProcess_hook_hook_readyReadStandardError(QProcess_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qaction_c.h0000664000212600021260000001002511677135472017142 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QACTION_C_H #define QACTION_C_H #include #include "pascalbind.h" C_EXPORT QActionH QAction_create(QObjectH parent); C_EXPORT void QAction_destroy(QActionH handle); C_EXPORT QActionH QAction_create2(PWideString text, QObjectH parent); C_EXPORT QActionH QAction_create3(const QIconH icon, PWideString text, QObjectH parent); C_EXPORT void QAction_setActionGroup(QActionH handle, QActionGroupH group); C_EXPORT QActionGroupH QAction_actionGroup(QActionH handle); C_EXPORT void QAction_setIcon(QActionH handle, const QIconH icon); C_EXPORT void QAction_icon(QActionH handle, QIconH retval); C_EXPORT void QAction_setText(QActionH handle, PWideString text); C_EXPORT void QAction_text(QActionH handle, PWideString retval); C_EXPORT void QAction_setIconText(QActionH handle, PWideString text); C_EXPORT void QAction_iconText(QActionH handle, PWideString retval); C_EXPORT void QAction_setToolTip(QActionH handle, PWideString tip); C_EXPORT void QAction_toolTip(QActionH handle, PWideString retval); C_EXPORT void QAction_setStatusTip(QActionH handle, PWideString statusTip); C_EXPORT void QAction_statusTip(QActionH handle, PWideString retval); C_EXPORT void QAction_setWhatsThis(QActionH handle, PWideString what); C_EXPORT void QAction_whatsThis(QActionH handle, PWideString retval); C_EXPORT QMenuH QAction_menu(QActionH handle); C_EXPORT void QAction_setMenu(QActionH handle, QMenuH menu); C_EXPORT void QAction_setSeparator(QActionH handle, bool b); C_EXPORT bool QAction_isSeparator(QActionH handle); C_EXPORT void QAction_setShortcut(QActionH handle, const QKeySequenceH shortcut); C_EXPORT void QAction_shortcut(QActionH handle, QKeySequenceH retval); C_EXPORT void QAction_setShortcuts2(QActionH handle, QKeySequence::StandardKey AnonParam1); C_EXPORT void QAction_setShortcutContext(QActionH handle, Qt::ShortcutContext context); C_EXPORT Qt::ShortcutContext QAction_shortcutContext(QActionH handle); C_EXPORT void QAction_setAutoRepeat(QActionH handle, bool AnonParam1); C_EXPORT bool QAction_autoRepeat(QActionH handle); C_EXPORT void QAction_setFont(QActionH handle, const QFontH font); C_EXPORT void QAction_font(QActionH handle, QFontH retval); C_EXPORT void QAction_setCheckable(QActionH handle, bool AnonParam1); C_EXPORT bool QAction_isCheckable(QActionH handle); C_EXPORT void QAction_data(QActionH handle, QVariantH retval); C_EXPORT void QAction_setData(QActionH handle, const QVariantH var); C_EXPORT bool QAction_isChecked(QActionH handle); C_EXPORT bool QAction_isEnabled(QActionH handle); C_EXPORT bool QAction_isVisible(QActionH handle); C_EXPORT void QAction_activate(QActionH handle, QAction::ActionEvent event); C_EXPORT bool QAction_showStatusText(QActionH handle, QWidgetH widget); C_EXPORT void QAction_setMenuRole(QActionH handle, QAction::MenuRole menuRole); C_EXPORT QAction::MenuRole QAction_menuRole(QActionH handle); C_EXPORT void QAction_setIconVisibleInMenu(QActionH handle, bool visible); C_EXPORT bool QAction_isIconVisibleInMenu(QActionH handle); C_EXPORT QWidgetH QAction_parentWidget(QActionH handle); C_EXPORT void QAction_associatedWidgets(QActionH handle, PPtrIntArray retval); C_EXPORT void QAction_associatedGraphicsWidgets(QActionH handle, PPtrIntArray retval); C_EXPORT void QAction_trigger(QActionH handle); C_EXPORT void QAction_hover(QActionH handle); C_EXPORT void QAction_setChecked(QActionH handle, bool AnonParam1); C_EXPORT void QAction_toggle(QActionH handle); C_EXPORT void QAction_setEnabled(QActionH handle, bool AnonParam1); C_EXPORT void QAction_setDisabled(QActionH handle, bool b); C_EXPORT void QAction_setVisible(QActionH handle, bool AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwhatsthis_c.h0000664000212600021260000000157711677135472017717 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWHATSTHIS_C_H #define QWHATSTHIS_C_H #include #include "pascalbind.h" C_EXPORT void QWhatsThis_enterWhatsThisMode(); C_EXPORT bool QWhatsThis_inWhatsThisMode(); C_EXPORT void QWhatsThis_leaveWhatsThisMode(); C_EXPORT void QWhatsThis_showText(const QPointH pos, PWideString text, QWidgetH w); C_EXPORT void QWhatsThis_hideText(); C_EXPORT QActionH QWhatsThis_createAction(QObjectH parent); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtransform_c.cpp0000664000212600021260000001673211677135472020246 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtransform_c.h" QTransformH QTransform_create() { return (QTransformH) new QTransform(); } void QTransform_destroy(QTransformH handle) { delete (QTransform *)handle; } QTransformH QTransform_create2(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33) { return (QTransformH) new QTransform(h11, h12, h13, h21, h22, h23, h31, h32, h33); } QTransformH QTransform_create3(qreal h11, qreal h12, qreal h21, qreal h22, qreal dx, qreal dy) { return (QTransformH) new QTransform(h11, h12, h21, h22, dx, dy); } QTransformH QTransform_create4(const QMatrixH mtx) { return (QTransformH) new QTransform(*(const QMatrix*)mtx); } bool QTransform_isAffine(QTransformH handle) { return (bool) ((QTransform *)handle)->isAffine(); } bool QTransform_isIdentity(QTransformH handle) { return (bool) ((QTransform *)handle)->isIdentity(); } bool QTransform_isInvertible(QTransformH handle) { return (bool) ((QTransform *)handle)->isInvertible(); } bool QTransform_isScaling(QTransformH handle) { return (bool) ((QTransform *)handle)->isScaling(); } bool QTransform_isRotating(QTransformH handle) { return (bool) ((QTransform *)handle)->isRotating(); } bool QTransform_isTranslating(QTransformH handle) { return (bool) ((QTransform *)handle)->isTranslating(); } QTransform::TransformationType QTransform_type(QTransformH handle) { return (QTransform::TransformationType) ((QTransform *)handle)->type(); } qreal QTransform_determinant(QTransformH handle) { return (qreal) ((QTransform *)handle)->determinant(); } qreal QTransform_det(QTransformH handle) { return (qreal) ((QTransform *)handle)->det(); } qreal QTransform_m11(QTransformH handle) { return (qreal) ((QTransform *)handle)->m11(); } qreal QTransform_m12(QTransformH handle) { return (qreal) ((QTransform *)handle)->m12(); } qreal QTransform_m13(QTransformH handle) { return (qreal) ((QTransform *)handle)->m13(); } qreal QTransform_m21(QTransformH handle) { return (qreal) ((QTransform *)handle)->m21(); } qreal QTransform_m22(QTransformH handle) { return (qreal) ((QTransform *)handle)->m22(); } qreal QTransform_m23(QTransformH handle) { return (qreal) ((QTransform *)handle)->m23(); } qreal QTransform_m31(QTransformH handle) { return (qreal) ((QTransform *)handle)->m31(); } qreal QTransform_m32(QTransformH handle) { return (qreal) ((QTransform *)handle)->m32(); } qreal QTransform_m33(QTransformH handle) { return (qreal) ((QTransform *)handle)->m33(); } qreal QTransform_dx(QTransformH handle) { return (qreal) ((QTransform *)handle)->dx(); } qreal QTransform_dy(QTransformH handle) { return (qreal) ((QTransform *)handle)->dy(); } void QTransform_setMatrix(QTransformH handle, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33) { ((QTransform *)handle)->setMatrix(m11, m12, m13, m21, m22, m23, m31, m32, m33); } void QTransform_inverted(QTransformH handle, QTransformH retval, bool* invertible) { *(QTransform *)retval = ((QTransform *)handle)->inverted(invertible); } void QTransform_adjoint(QTransformH handle, QTransformH retval) { *(QTransform *)retval = ((QTransform *)handle)->adjoint(); } void QTransform_transposed(QTransformH handle, QTransformH retval) { *(QTransform *)retval = ((QTransform *)handle)->transposed(); } QTransformH QTransform_translate(QTransformH handle, qreal dx, qreal dy) { return (QTransformH) &((QTransform *)handle)->translate(dx, dy); } QTransformH QTransform_scale(QTransformH handle, qreal sx, qreal sy) { return (QTransformH) &((QTransform *)handle)->scale(sx, sy); } QTransformH QTransform_shear(QTransformH handle, qreal sh, qreal sv) { return (QTransformH) &((QTransform *)handle)->shear(sh, sv); } QTransformH QTransform_rotate(QTransformH handle, qreal a, Qt::Axis axis) { return (QTransformH) &((QTransform *)handle)->rotate(a, axis); } QTransformH QTransform_rotateRadians(QTransformH handle, qreal a, Qt::Axis axis) { return (QTransformH) &((QTransform *)handle)->rotateRadians(a, axis); } bool QTransform_squareToQuad(const QPolygonFH square, QTransformH result) { return (bool) QTransform::squareToQuad(*(const QPolygonF*)square, *(QTransform*)result); } bool QTransform_quadToSquare(const QPolygonFH quad, QTransformH result) { return (bool) QTransform::quadToSquare(*(const QPolygonF*)quad, *(QTransform*)result); } bool QTransform_quadToQuad(const QPolygonFH one, const QPolygonFH two, QTransformH result) { return (bool) QTransform::quadToQuad(*(const QPolygonF*)one, *(const QPolygonF*)two, *(QTransform*)result); } void QTransform_reset(QTransformH handle) { ((QTransform *)handle)->reset(); } void QTransform_map(QTransformH handle, PQtPoint retval, const QPointH p) { *(QPoint *)retval = ((QTransform *)handle)->map(*(const QPoint*)p); } void QTransform_map2(QTransformH handle, PQtPointF retval, const QPointFH p) { *(QPointF *)retval = ((QTransform *)handle)->map(*(const QPointF*)p); } void QTransform_map3(QTransformH handle, QLineH retval, const QLineH l) { *(QLine *)retval = ((QTransform *)handle)->map(*(const QLine*)l); } void QTransform_map4(QTransformH handle, QLineFH retval, const QLineFH l) { *(QLineF *)retval = ((QTransform *)handle)->map(*(const QLineF*)l); } void QTransform_map5(QTransformH handle, QPolygonFH retval, const QPolygonFH a) { *(QPolygonF *)retval = ((QTransform *)handle)->map(*(const QPolygonF*)a); } void QTransform_map6(QTransformH handle, QPolygonH retval, const QPolygonH a) { *(QPolygon *)retval = ((QTransform *)handle)->map(*(const QPolygon*)a); } void QTransform_map7(QTransformH handle, QRegionH retval, const QRegionH r) { *(QRegion *)retval = ((QTransform *)handle)->map(*(const QRegion*)r); } void QTransform_map8(QTransformH handle, QPainterPathH retval, const QPainterPathH p) { *(QPainterPath *)retval = ((QTransform *)handle)->map(*(const QPainterPath*)p); } void QTransform_mapToPolygon(QTransformH handle, QPolygonH retval, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); *(QPolygon *)retval = ((QTransform *)handle)->mapToPolygon(t_r); } void QTransform_mapRect(QTransformH handle, PRect retval, PRect AnonParam1) { QRect t_retval; QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); t_retval = ((QTransform *)handle)->mapRect(t_AnonParam1); copyQRectToPRect(t_retval, retval); } void QTransform_mapRect2(QTransformH handle, QRectFH retval, const QRectFH AnonParam1) { *(QRectF *)retval = ((QTransform *)handle)->mapRect(*(const QRectF*)AnonParam1); } void QTransform_map9(QTransformH handle, int x, int y, int* tx, int* ty) { ((QTransform *)handle)->map(x, y, tx, ty); } void QTransform_map10(QTransformH handle, qreal x, qreal y, qreal* tx, qreal* ty) { ((QTransform *)handle)->map(x, y, tx, ty); } const QMatrixH QTransform_toAffine(QTransformH handle) { return (const QMatrixH) &((QTransform *)handle)->toAffine(); } void QTransform_fromTranslate(QTransformH retval, qreal dx, qreal dy) { *(QTransform *)retval = QTransform::fromTranslate(dx, dy); } void QTransform_fromScale(QTransformH retval, qreal dx, qreal dy) { *(QTransform *)retval = QTransform::fromScale(dx, dy); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtreewidget_hook_c.cpp0000664000212600021260000000460011677135472021405 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtreewidget_hook_c.h" QTreeWidgetItem_hookH QTreeWidgetItem_hook_create(QObjectH handle) { return (QTreeWidgetItem_hookH) new QTreeWidgetItem_hook((QObject*)handle); } void QTreeWidgetItem_hook_destroy(QTreeWidgetItem_hookH handle) { delete (QTreeWidgetItem_hook *)handle; } QTreeWidget_hookH QTreeWidget_hook_create(QObjectH handle) { return (QTreeWidget_hookH) new QTreeWidget_hook((QObject*)handle); } void QTreeWidget_hook_destroy(QTreeWidget_hookH handle) { delete (QTreeWidget_hook *)handle; } void QTreeWidget_hook_hook_itemPressed(QTreeWidget_hookH handle, QHookH hook) { ((QTreeWidget_hook *)handle)->hook_itemPressed(hook); } void QTreeWidget_hook_hook_itemClicked(QTreeWidget_hookH handle, QHookH hook) { ((QTreeWidget_hook *)handle)->hook_itemClicked(hook); } void QTreeWidget_hook_hook_itemDoubleClicked(QTreeWidget_hookH handle, QHookH hook) { ((QTreeWidget_hook *)handle)->hook_itemDoubleClicked(hook); } void QTreeWidget_hook_hook_itemActivated(QTreeWidget_hookH handle, QHookH hook) { ((QTreeWidget_hook *)handle)->hook_itemActivated(hook); } void QTreeWidget_hook_hook_itemEntered(QTreeWidget_hookH handle, QHookH hook) { ((QTreeWidget_hook *)handle)->hook_itemEntered(hook); } void QTreeWidget_hook_hook_itemChanged(QTreeWidget_hookH handle, QHookH hook) { ((QTreeWidget_hook *)handle)->hook_itemChanged(hook); } void QTreeWidget_hook_hook_itemExpanded(QTreeWidget_hookH handle, QHookH hook) { ((QTreeWidget_hook *)handle)->hook_itemExpanded(hook); } void QTreeWidget_hook_hook_itemCollapsed(QTreeWidget_hookH handle, QHookH hook) { ((QTreeWidget_hook *)handle)->hook_itemCollapsed(hook); } void QTreeWidget_hook_hook_currentItemChanged(QTreeWidget_hookH handle, QHookH hook) { ((QTreeWidget_hook *)handle)->hook_currentItemChanged(hook); } void QTreeWidget_hook_hook_itemSelectionChanged(QTreeWidget_hookH handle, QHookH hook) { ((QTreeWidget_hook *)handle)->hook_itemSelectionChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfontinfo_c.cpp0000664000212600021260000000455511677135472020055 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qfontinfo_c.h" QFontInfoH QFontInfo_create(const QFontH AnonParam1) { return (QFontInfoH) new QFontInfo(*(const QFont*)AnonParam1); } void QFontInfo_destroy(QFontInfoH handle) { delete (QFontInfo *)handle; } QFontInfoH QFontInfo_create2(const QFontInfoH AnonParam1) { return (QFontInfoH) new QFontInfo(*(const QFontInfo*)AnonParam1); } void QFontInfo_family(QFontInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFontInfo *)handle)->family(); copyQStringToPWideString(t_retval, retval); } int QFontInfo_pixelSize(QFontInfoH handle) { return (int) ((QFontInfo *)handle)->pixelSize(); } int QFontInfo_pointSize(QFontInfoH handle) { return (int) ((QFontInfo *)handle)->pointSize(); } qreal QFontInfo_pointSizeF(QFontInfoH handle) { return (qreal) ((QFontInfo *)handle)->pointSizeF(); } bool QFontInfo_italic(QFontInfoH handle) { return (bool) ((QFontInfo *)handle)->italic(); } QFont::Style QFontInfo_style(QFontInfoH handle) { return (QFont::Style) ((QFontInfo *)handle)->style(); } int QFontInfo_weight(QFontInfoH handle) { return (int) ((QFontInfo *)handle)->weight(); } bool QFontInfo_bold(QFontInfoH handle) { return (bool) ((QFontInfo *)handle)->bold(); } bool QFontInfo_underline(QFontInfoH handle) { return (bool) ((QFontInfo *)handle)->underline(); } bool QFontInfo_overline(QFontInfoH handle) { return (bool) ((QFontInfo *)handle)->overline(); } bool QFontInfo_strikeOut(QFontInfoH handle) { return (bool) ((QFontInfo *)handle)->strikeOut(); } bool QFontInfo_fixedPitch(QFontInfoH handle) { return (bool) ((QFontInfo *)handle)->fixedPitch(); } QFont::StyleHint QFontInfo_styleHint(QFontInfoH handle) { return (QFont::StyleHint) ((QFontInfo *)handle)->styleHint(); } bool QFontInfo_rawMode(QFontInfoH handle) { return (bool) ((QFontInfo *)handle)->rawMode(); } bool QFontInfo_exactMatch(QFontInfoH handle) { return (bool) ((QFontInfo *)handle)->exactMatch(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdockwidget_hook_c.cpp0000664000212600021260000000272311677135472021372 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qdockwidget_hook_c.h" QDockWidget_hookH QDockWidget_hook_create(QObjectH handle) { return (QDockWidget_hookH) new QDockWidget_hook((QObject*)handle); } void QDockWidget_hook_destroy(QDockWidget_hookH handle) { delete (QDockWidget_hook *)handle; } void QDockWidget_hook_hook_featuresChanged(QDockWidget_hookH handle, QHookH hook) { ((QDockWidget_hook *)handle)->hook_featuresChanged(hook); } void QDockWidget_hook_hook_topLevelChanged(QDockWidget_hookH handle, QHookH hook) { ((QDockWidget_hook *)handle)->hook_topLevelChanged(hook); } void QDockWidget_hook_hook_allowedAreasChanged(QDockWidget_hookH handle, QHookH hook) { ((QDockWidget_hook *)handle)->hook_allowedAreasChanged(hook); } void QDockWidget_hook_hook_visibilityChanged(QDockWidget_hookH handle, QHookH hook) { ((QDockWidget_hook *)handle)->hook_visibilityChanged(hook); } void QDockWidget_hook_hook_dockLocationChanged(QDockWidget_hookH handle, QHookH hook) { ((QDockWidget_hook *)handle)->hook_dockLocationChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qgraphicsscene_hook_c.h0000664000212600021260000000164311677135472021531 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QGRAPHICSSCENE_HOOK_C_H #define QGRAPHICSSCENE_HOOK_C_H #include "qgraphicsscene_hook.h" C_EXPORT QGraphicsScene_hookH QGraphicsScene_hook_create(QObjectH handle); C_EXPORT void QGraphicsScene_hook_destroy(QGraphicsScene_hookH handle); C_EXPORT void QGraphicsScene_hook_hook_sceneRectChanged(QGraphicsScene_hookH handle, QHookH hook); C_EXPORT void QGraphicsScene_hook_hook_selectionChanged(QGraphicsScene_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstracttextdocumentlayout_c.h0000664000212600021260000000433711677135472023403 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTTEXTDOCUMENTLAYOUT_C_H #define QABSTRACTTEXTDOCUMENTLAYOUT_C_H #include #include "pascalbind.h" C_EXPORT int QAbstractTextDocumentLayout_hitTest(QAbstractTextDocumentLayoutH handle, const QPointFH point, Qt::HitTestAccuracy accuracy); C_EXPORT void QAbstractTextDocumentLayout_anchorAt(QAbstractTextDocumentLayoutH handle, PWideString retval, const QPointFH pos); C_EXPORT int QAbstractTextDocumentLayout_pageCount(QAbstractTextDocumentLayoutH handle); C_EXPORT void QAbstractTextDocumentLayout_documentSize(QAbstractTextDocumentLayoutH handle, QSizeFH retval); C_EXPORT void QAbstractTextDocumentLayout_frameBoundingRect(QAbstractTextDocumentLayoutH handle, QRectFH retval, QTextFrameH frame); C_EXPORT void QAbstractTextDocumentLayout_blockBoundingRect(QAbstractTextDocumentLayoutH handle, QRectFH retval, const QTextBlockH block); C_EXPORT void QAbstractTextDocumentLayout_setPaintDevice(QAbstractTextDocumentLayoutH handle, QPaintDeviceH device); C_EXPORT QPaintDeviceH QAbstractTextDocumentLayout_paintDevice(QAbstractTextDocumentLayoutH handle); C_EXPORT QTextDocumentH QAbstractTextDocumentLayout_document(QAbstractTextDocumentLayoutH handle); C_EXPORT void QAbstractTextDocumentLayout_registerHandler(QAbstractTextDocumentLayoutH handle, int objectType, QObjectH component); C_EXPORT QTextObjectInterfaceH QAbstractTextDocumentLayout_handlerForObject(QAbstractTextDocumentLayoutH handle, int objectType); C_EXPORT void QTextObjectInterface_intrinsicSize(QTextObjectInterfaceH handle, QSizeFH retval, QTextDocumentH doc, int posInDocument, const QTextFormatH format); C_EXPORT void QTextObjectInterface_drawObject(QTextObjectInterfaceH handle, QPainterH painter, const QRectFH rect, QTextDocumentH doc, int posInDocument, const QTextFormatH format); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmenu_hook.h0000664000212600021260000000577511677135472017367 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMENU_HOOK_H #define QMENU_HOOK_H #include #include "qwidget_hook.h" class QMenu_hook : public QWidget_hook { Q_OBJECT public: QMenu_hook(QObject *handle) : QWidget_hook(handle) { aboutToShow_event.func = NULL; aboutToHide_event.func = NULL; triggered_event.func = NULL; hovered_event.func = NULL; } void hook_aboutToShow(QHook &hook) { if ( !aboutToShow_event.func ) connect(handle, SIGNAL(aboutToShow()), this, SLOT(aboutToShow_hook())); aboutToShow_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(aboutToShow()), this, SLOT(aboutToShow_hook())); } void hook_aboutToHide(QHook &hook) { if ( !aboutToHide_event.func ) connect(handle, SIGNAL(aboutToHide()), this, SLOT(aboutToHide_hook())); aboutToHide_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(aboutToHide()), this, SLOT(aboutToHide_hook())); } void hook_triggered(QHook &hook) { if ( !triggered_event.func ) connect(handle, SIGNAL(triggered(QAction*)), this, SLOT(triggered_hook(QAction*))); triggered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(triggered(QAction*)), this, SLOT(triggered_hook(QAction*))); } void hook_hovered(QHook &hook) { if ( !hovered_event.func ) connect(handle, SIGNAL(hovered(QAction*)), this, SLOT(hovered_hook(QAction*))); hovered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(hovered(QAction*)), this, SLOT(hovered_hook(QAction*))); } private slots: void aboutToShow_hook() { if ( aboutToShow_event.func ) { typedef void (*func_type)(void *data); (*(func_type)aboutToShow_event.func)(aboutToShow_event.data); } } void aboutToHide_hook() { if ( aboutToHide_event.func ) { typedef void (*func_type)(void *data); (*(func_type)aboutToHide_event.func)(aboutToHide_event.data); } } void triggered_hook(QAction* action) { if ( triggered_event.func ) { typedef void (*func_type)(void *data, QActionH action); (*(func_type)triggered_event.func)(triggered_event.data, (QActionH)action); } } void hovered_hook(QAction* action) { if ( hovered_event.func ) { typedef void (*func_type)(void *data, QActionH action); (*(func_type)hovered_event.func)(hovered_event.data, (QActionH)action); } } private: QHook aboutToShow_event; QHook aboutToHide_event; QHook triggered_event; QHook hovered_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstatusbar_c.h0000664000212600021260000000276611677135472017712 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTATUSBAR_C_H #define QSTATUSBAR_C_H #include #include "pascalbind.h" C_EXPORT QStatusBarH QStatusBar_create(QWidgetH parent); C_EXPORT void QStatusBar_destroy(QStatusBarH handle); C_EXPORT void QStatusBar_addWidget(QStatusBarH handle, QWidgetH widget, int stretch); C_EXPORT int QStatusBar_insertWidget(QStatusBarH handle, int index, QWidgetH widget, int stretch); C_EXPORT void QStatusBar_addPermanentWidget(QStatusBarH handle, QWidgetH widget, int stretch); C_EXPORT int QStatusBar_insertPermanentWidget(QStatusBarH handle, int index, QWidgetH widget, int stretch); C_EXPORT void QStatusBar_removeWidget(QStatusBarH handle, QWidgetH widget); C_EXPORT void QStatusBar_setSizeGripEnabled(QStatusBarH handle, bool AnonParam1); C_EXPORT bool QStatusBar_isSizeGripEnabled(QStatusBarH handle); C_EXPORT void QStatusBar_currentMessage(QStatusBarH handle, PWideString retval); C_EXPORT void QStatusBar_showMessage(QStatusBarH handle, PWideString text, int timeout); C_EXPORT void QStatusBar_clearMessage(QStatusBarH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebhistoryinterface_c.cpp0000664000212600021260000000235711677135472022311 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebhistoryinterface_c.h" void QWebHistoryInterface_setDefaultInterface(QWebHistoryInterfaceH defaultInterface) { QWebHistoryInterface::setDefaultInterface((QWebHistoryInterface*)defaultInterface); } QWebHistoryInterfaceH QWebHistoryInterface_defaultInterface() { return (QWebHistoryInterfaceH) QWebHistoryInterface::defaultInterface(); } bool QWebHistoryInterface_historyContains(QWebHistoryInterfaceH handle, PWideString url) { QString t_url; copyPWideStringToQString(url, t_url); return (bool) ((QWebHistoryInterface *)handle)->historyContains(t_url); } void QWebHistoryInterface_addHistoryEntry(QWebHistoryInterfaceH handle, PWideString url) { QString t_url; copyPWideStringToQString(url, t_url); ((QWebHistoryInterface *)handle)->addHistoryEntry(t_url); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlayout_hook.h0000664000212600021260000000131411677135472017721 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLAYOUT_HOOK_H #define QLAYOUT_HOOK_H #include #include "qobject_hook.h" class QLayout_hook : public QObject_hook { Q_OBJECT public: QLayout_hook(QObject *handle) : QObject_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdatetime_c.cpp0000664000212600021260000003033111677135472020016 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qdatetime_c.h" QDateH QDate_create() { return (QDateH) new QDate(); } void QDate_destroy(QDateH handle) { delete (QDate *)handle; } QDateH QDate_create2(int y, int m, int d) { return (QDateH) new QDate(y, m, d); } bool QDate_isNull(QDateH handle) { return (bool) ((QDate *)handle)->isNull(); } bool QDate_isValid(QDateH handle) { return (bool) ((QDate *)handle)->isValid(); } int QDate_year(QDateH handle) { return (int) ((QDate *)handle)->year(); } int QDate_month(QDateH handle) { return (int) ((QDate *)handle)->month(); } int QDate_day(QDateH handle) { return (int) ((QDate *)handle)->day(); } int QDate_dayOfWeek(QDateH handle) { return (int) ((QDate *)handle)->dayOfWeek(); } int QDate_dayOfYear(QDateH handle) { return (int) ((QDate *)handle)->dayOfYear(); } int QDate_daysInMonth(QDateH handle) { return (int) ((QDate *)handle)->daysInMonth(); } int QDate_daysInYear(QDateH handle) { return (int) ((QDate *)handle)->daysInYear(); } int QDate_weekNumber(QDateH handle, int* yearNum) { return (int) ((QDate *)handle)->weekNumber(yearNum); } void QDate_shortMonthName(PWideString retval, int month) { QString t_retval; t_retval = QDate::shortMonthName(month); copyQStringToPWideString(t_retval, retval); } void QDate_shortMonthName2(PWideString retval, int month, QDate::MonthNameType type) { QString t_retval; t_retval = QDate::shortMonthName(month, type); copyQStringToPWideString(t_retval, retval); } void QDate_shortDayName(PWideString retval, int weekday) { QString t_retval; t_retval = QDate::shortDayName(weekday); copyQStringToPWideString(t_retval, retval); } void QDate_shortDayName2(PWideString retval, int weekday, QDate::MonthNameType type) { QString t_retval; t_retval = QDate::shortDayName(weekday, type); copyQStringToPWideString(t_retval, retval); } void QDate_longMonthName(PWideString retval, int month) { QString t_retval; t_retval = QDate::longMonthName(month); copyQStringToPWideString(t_retval, retval); } void QDate_longMonthName2(PWideString retval, int month, QDate::MonthNameType type) { QString t_retval; t_retval = QDate::longMonthName(month, type); copyQStringToPWideString(t_retval, retval); } void QDate_longDayName(PWideString retval, int weekday) { QString t_retval; t_retval = QDate::longDayName(weekday); copyQStringToPWideString(t_retval, retval); } void QDate_longDayName2(PWideString retval, int weekday, QDate::MonthNameType type) { QString t_retval; t_retval = QDate::longDayName(weekday, type); copyQStringToPWideString(t_retval, retval); } void QDate_toString(QDateH handle, PWideString retval, Qt::DateFormat f) { QString t_retval; t_retval = ((QDate *)handle)->toString(f); copyQStringToPWideString(t_retval, retval); } void QDate_toString2(QDateH handle, PWideString retval, PWideString format) { QString t_retval; QString t_format; copyPWideStringToQString(format, t_format); t_retval = ((QDate *)handle)->toString(t_format); copyQStringToPWideString(t_retval, retval); } bool QDate_setYMD(QDateH handle, int y, int m, int d) { return (bool) ((QDate *)handle)->setYMD(y, m, d); } bool QDate_setDate(QDateH handle, int year, int month, int day) { return (bool) ((QDate *)handle)->setDate(year, month, day); } void QDate_getDate(QDateH handle, int* year, int* month, int* day) { ((QDate *)handle)->getDate(year, month, day); } void QDate_addDays(QDateH handle, QDateH retval, int days) { *(QDate *)retval = ((QDate *)handle)->addDays(days); } void QDate_addMonths(QDateH handle, QDateH retval, int months) { *(QDate *)retval = ((QDate *)handle)->addMonths(months); } void QDate_addYears(QDateH handle, QDateH retval, int years) { *(QDate *)retval = ((QDate *)handle)->addYears(years); } int QDate_daysTo(QDateH handle, const QDateH AnonParam1) { return (int) ((QDate *)handle)->daysTo(*(const QDate*)AnonParam1); } void QDate_currentDate(QDateH retval) { *(QDate *)retval = QDate::currentDate(); } void QDate_fromString(QDateH retval, PWideString s, Qt::DateFormat f) { QString t_s; copyPWideStringToQString(s, t_s); *(QDate *)retval = QDate::fromString(t_s, f); } void QDate_fromString2(QDateH retval, PWideString s, PWideString format) { QString t_s; QString t_format; copyPWideStringToQString(s, t_s); copyPWideStringToQString(format, t_format); *(QDate *)retval = QDate::fromString(t_s, t_format); } bool QDate_isValid2(int y, int m, int d) { return (bool) QDate::isValid(y, m, d); } bool QDate_isLeapYear(int year) { return (bool) QDate::isLeapYear(year); } uint QDate_gregorianToJulian(int y, int m, int d) { return (uint) QDate::gregorianToJulian(y, m, d); } void QDate_julianToGregorian(uint jd, int* y, int* m, int* d) { QDate::julianToGregorian(jd, *(int*)y, *(int*)m, *(int*)d); } void QDate_fromJulianDay(QDateH retval, int jd) { *(QDate *)retval = QDate::fromJulianDay(jd); } int QDate_toJulianDay(QDateH handle) { return (int) ((QDate *)handle)->toJulianDay(); } QTimeH QTime_create() { return (QTimeH) new QTime(); } void QTime_destroy(QTimeH handle) { delete (QTime *)handle; } QTimeH QTime_create2(int h, int m, int s, int ms) { return (QTimeH) new QTime(h, m, s, ms); } bool QTime_isNull(QTimeH handle) { return (bool) ((QTime *)handle)->isNull(); } bool QTime_isValid(QTimeH handle) { return (bool) ((QTime *)handle)->isValid(); } int QTime_hour(QTimeH handle) { return (int) ((QTime *)handle)->hour(); } int QTime_minute(QTimeH handle) { return (int) ((QTime *)handle)->minute(); } int QTime_second(QTimeH handle) { return (int) ((QTime *)handle)->second(); } int QTime_msec(QTimeH handle) { return (int) ((QTime *)handle)->msec(); } void QTime_toString(QTimeH handle, PWideString retval, Qt::DateFormat f) { QString t_retval; t_retval = ((QTime *)handle)->toString(f); copyQStringToPWideString(t_retval, retval); } void QTime_toString2(QTimeH handle, PWideString retval, PWideString format) { QString t_retval; QString t_format; copyPWideStringToQString(format, t_format); t_retval = ((QTime *)handle)->toString(t_format); copyQStringToPWideString(t_retval, retval); } bool QTime_setHMS(QTimeH handle, int h, int m, int s, int ms) { return (bool) ((QTime *)handle)->setHMS(h, m, s, ms); } void QTime_addSecs(QTimeH handle, QTimeH retval, int secs) { *(QTime *)retval = ((QTime *)handle)->addSecs(secs); } int QTime_secsTo(QTimeH handle, const QTimeH AnonParam1) { return (int) ((QTime *)handle)->secsTo(*(const QTime*)AnonParam1); } void QTime_addMSecs(QTimeH handle, QTimeH retval, int ms) { *(QTime *)retval = ((QTime *)handle)->addMSecs(ms); } int QTime_msecsTo(QTimeH handle, const QTimeH AnonParam1) { return (int) ((QTime *)handle)->msecsTo(*(const QTime*)AnonParam1); } void QTime_currentTime(QTimeH retval) { *(QTime *)retval = QTime::currentTime(); } void QTime_fromString(QTimeH retval, PWideString s, Qt::DateFormat f) { QString t_s; copyPWideStringToQString(s, t_s); *(QTime *)retval = QTime::fromString(t_s, f); } void QTime_fromString2(QTimeH retval, PWideString s, PWideString format) { QString t_s; QString t_format; copyPWideStringToQString(s, t_s); copyPWideStringToQString(format, t_format); *(QTime *)retval = QTime::fromString(t_s, t_format); } bool QTime_isValid2(int h, int m, int s, int ms) { return (bool) QTime::isValid(h, m, s, ms); } void QTime_start(QTimeH handle) { ((QTime *)handle)->start(); } int QTime_restart(QTimeH handle) { return (int) ((QTime *)handle)->restart(); } int QTime_elapsed(QTimeH handle) { return (int) ((QTime *)handle)->elapsed(); } QDateTimeH QDateTime_create() { return (QDateTimeH) new QDateTime(); } void QDateTime_destroy(QDateTimeH handle) { delete (QDateTime *)handle; } QDateTimeH QDateTime_create2(const QDateH AnonParam1) { return (QDateTimeH) new QDateTime(*(const QDate*)AnonParam1); } QDateTimeH QDateTime_create3(const QDateH AnonParam1, const QTimeH AnonParam2, Qt::TimeSpec spec) { return (QDateTimeH) new QDateTime(*(const QDate*)AnonParam1, *(const QTime*)AnonParam2, spec); } QDateTimeH QDateTime_create4(const QDateTimeH other) { return (QDateTimeH) new QDateTime(*(const QDateTime*)other); } bool QDateTime_isNull(QDateTimeH handle) { return (bool) ((QDateTime *)handle)->isNull(); } bool QDateTime_isValid(QDateTimeH handle) { return (bool) ((QDateTime *)handle)->isValid(); } void QDateTime_date(QDateTimeH handle, QDateH retval) { *(QDate *)retval = ((QDateTime *)handle)->date(); } void QDateTime_time(QDateTimeH handle, QTimeH retval) { *(QTime *)retval = ((QDateTime *)handle)->time(); } Qt::TimeSpec QDateTime_timeSpec(QDateTimeH handle) { return (Qt::TimeSpec) ((QDateTime *)handle)->timeSpec(); } uint QDateTime_toTime_t(QDateTimeH handle) { return (uint) ((QDateTime *)handle)->toTime_t(); } void QDateTime_setDate(QDateTimeH handle, const QDateH date) { ((QDateTime *)handle)->setDate(*(const QDate*)date); } void QDateTime_setTime(QDateTimeH handle, const QTimeH time) { ((QDateTime *)handle)->setTime(*(const QTime*)time); } void QDateTime_setTimeSpec(QDateTimeH handle, Qt::TimeSpec spec) { ((QDateTime *)handle)->setTimeSpec(spec); } void QDateTime_setTime_t(QDateTimeH handle, uint secsSince1Jan1970UTC) { ((QDateTime *)handle)->setTime_t(secsSince1Jan1970UTC); } void QDateTime_toString(QDateTimeH handle, PWideString retval, Qt::DateFormat f) { QString t_retval; t_retval = ((QDateTime *)handle)->toString(f); copyQStringToPWideString(t_retval, retval); } void QDateTime_toString2(QDateTimeH handle, PWideString retval, PWideString format) { QString t_retval; QString t_format; copyPWideStringToQString(format, t_format); t_retval = ((QDateTime *)handle)->toString(t_format); copyQStringToPWideString(t_retval, retval); } void QDateTime_addDays(QDateTimeH handle, QDateTimeH retval, int days) { *(QDateTime *)retval = ((QDateTime *)handle)->addDays(days); } void QDateTime_addMonths(QDateTimeH handle, QDateTimeH retval, int months) { *(QDateTime *)retval = ((QDateTime *)handle)->addMonths(months); } void QDateTime_addYears(QDateTimeH handle, QDateTimeH retval, int years) { *(QDateTime *)retval = ((QDateTime *)handle)->addYears(years); } void QDateTime_addSecs(QDateTimeH handle, QDateTimeH retval, int secs) { *(QDateTime *)retval = ((QDateTime *)handle)->addSecs(secs); } void QDateTime_addMSecs(QDateTimeH handle, QDateTimeH retval, qint64 msecs) { *(QDateTime *)retval = ((QDateTime *)handle)->addMSecs(msecs); } void QDateTime_toTimeSpec(QDateTimeH handle, QDateTimeH retval, Qt::TimeSpec spec) { *(QDateTime *)retval = ((QDateTime *)handle)->toTimeSpec(spec); } void QDateTime_toLocalTime(QDateTimeH handle, QDateTimeH retval) { *(QDateTime *)retval = ((QDateTime *)handle)->toLocalTime(); } void QDateTime_toUTC(QDateTimeH handle, QDateTimeH retval) { *(QDateTime *)retval = ((QDateTime *)handle)->toUTC(); } int QDateTime_daysTo(QDateTimeH handle, const QDateTimeH AnonParam1) { return (int) ((QDateTime *)handle)->daysTo(*(const QDateTime*)AnonParam1); } int QDateTime_secsTo(QDateTimeH handle, const QDateTimeH AnonParam1) { return (int) ((QDateTime *)handle)->secsTo(*(const QDateTime*)AnonParam1); } void QDateTime_setUtcOffset(QDateTimeH handle, int seconds) { ((QDateTime *)handle)->setUtcOffset(seconds); } int QDateTime_utcOffset(QDateTimeH handle) { return (int) ((QDateTime *)handle)->utcOffset(); } void QDateTime_currentDateTime(QDateTimeH retval) { *(QDateTime *)retval = QDateTime::currentDateTime(); } void QDateTime_fromString(QDateTimeH retval, PWideString s, Qt::DateFormat f) { QString t_s; copyPWideStringToQString(s, t_s); *(QDateTime *)retval = QDateTime::fromString(t_s, f); } void QDateTime_fromString2(QDateTimeH retval, PWideString s, PWideString format) { QString t_s; QString t_format; copyPWideStringToQString(s, t_s); copyPWideStringToQString(format, t_format); *(QDateTime *)retval = QDateTime::fromString(t_s, t_format); } void QDateTime_fromTime_t(QDateTimeH retval, uint secsSince1Jan1970UTC) { *(QDateTime *)retval = QDateTime::fromTime_t(secsSince1Jan1970UTC); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlistwidget_hook_c.h0000664000212600021260000000336411677135472021074 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLISTWIDGET_HOOK_C_H #define QLISTWIDGET_HOOK_C_H #include "qlistwidget_hook.h" C_EXPORT QListWidgetItem_hookH QListWidgetItem_hook_create(QObjectH handle); C_EXPORT void QListWidgetItem_hook_destroy(QListWidgetItem_hookH handle); C_EXPORT QListWidget_hookH QListWidget_hook_create(QObjectH handle); C_EXPORT void QListWidget_hook_destroy(QListWidget_hookH handle); C_EXPORT void QListWidget_hook_hook_itemPressed(QListWidget_hookH handle, QHookH hook); C_EXPORT void QListWidget_hook_hook_itemClicked(QListWidget_hookH handle, QHookH hook); C_EXPORT void QListWidget_hook_hook_itemDoubleClicked(QListWidget_hookH handle, QHookH hook); C_EXPORT void QListWidget_hook_hook_itemActivated(QListWidget_hookH handle, QHookH hook); C_EXPORT void QListWidget_hook_hook_itemEntered(QListWidget_hookH handle, QHookH hook); C_EXPORT void QListWidget_hook_hook_itemChanged(QListWidget_hookH handle, QHookH hook); C_EXPORT void QListWidget_hook_hook_currentItemChanged(QListWidget_hookH handle, QHookH hook); C_EXPORT void QListWidget_hook_hook_currentTextChanged(QListWidget_hookH handle, QHookH hook); C_EXPORT void QListWidget_hook_hook_currentRowChanged(QListWidget_hookH handle, QHookH hook); C_EXPORT void QListWidget_hook_hook_itemSelectionChanged(QListWidget_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmimedata_c.h0000664000212600021260000000367211677135472017460 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMIMEDATA_C_H #define QMIMEDATA_C_H #include #include "pascalbind.h" C_EXPORT QMimeDataH QMimeData_create(); C_EXPORT void QMimeData_destroy(QMimeDataH handle); C_EXPORT bool QMimeData_hasUrls(QMimeDataH handle); C_EXPORT void QMimeData_text(QMimeDataH handle, PWideString retval); C_EXPORT void QMimeData_setText(QMimeDataH handle, PWideString text); C_EXPORT bool QMimeData_hasText(QMimeDataH handle); C_EXPORT void QMimeData_html(QMimeDataH handle, PWideString retval); C_EXPORT void QMimeData_setHtml(QMimeDataH handle, PWideString html); C_EXPORT bool QMimeData_hasHtml(QMimeDataH handle); C_EXPORT void QMimeData_imageData(QMimeDataH handle, QVariantH retval); C_EXPORT void QMimeData_setImageData(QMimeDataH handle, const QVariantH image); C_EXPORT bool QMimeData_hasImage(QMimeDataH handle); C_EXPORT void QMimeData_colorData(QMimeDataH handle, QVariantH retval); C_EXPORT void QMimeData_setColorData(QMimeDataH handle, const QVariantH color); C_EXPORT bool QMimeData_hasColor(QMimeDataH handle); C_EXPORT void QMimeData_data(QMimeDataH handle, QByteArrayH retval, PWideString mimetype); C_EXPORT void QMimeData_setData(QMimeDataH handle, PWideString mimetype, const QByteArrayH data); C_EXPORT void QMimeData_removeFormat(QMimeDataH handle, PWideString mimetype); C_EXPORT bool QMimeData_hasFormat(QMimeDataH handle, PWideString mimetype); C_EXPORT void QMimeData_formats(QMimeDataH handle, QStringListH retval); C_EXPORT void QMimeData_clear(QMimeDataH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfiledialog_c.cpp0000664000212600021260000002513511677135472020327 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qfiledialog_c.h" QFileDialogH QFileDialog_create(QWidgetH parent, unsigned int f) { return (QFileDialogH) new QFileDialog((QWidget*)parent, (Qt::WindowFlags)f); } void QFileDialog_destroy(QFileDialogH handle) { delete (QFileDialog *)handle; } QFileDialogH QFileDialog_create2(QWidgetH parent, PWideString caption, PWideString directory, PWideString filter) { QString t_caption; QString t_directory; QString t_filter; copyPWideStringToQString(caption, t_caption); copyPWideStringToQString(directory, t_directory); copyPWideStringToQString(filter, t_filter); return (QFileDialogH) new QFileDialog((QWidget*)parent, t_caption, t_directory, t_filter); } void QFileDialog_setDirectory(QFileDialogH handle, PWideString directory) { QString t_directory; copyPWideStringToQString(directory, t_directory); ((QFileDialog *)handle)->setDirectory(t_directory); } void QFileDialog_setDirectory2(QFileDialogH handle, const QDirH directory) { ((QFileDialog *)handle)->setDirectory(*(const QDir*)directory); } void QFileDialog_directory(QFileDialogH handle, QDirH retval) { *(QDir *)retval = ((QFileDialog *)handle)->directory(); } void QFileDialog_selectFile(QFileDialogH handle, PWideString filename) { QString t_filename; copyPWideStringToQString(filename, t_filename); ((QFileDialog *)handle)->selectFile(t_filename); } void QFileDialog_selectedFiles(QFileDialogH handle, QStringListH retval) { *(QStringList *)retval = ((QFileDialog *)handle)->selectedFiles(); } void QFileDialog_setNameFilterDetailsVisible(QFileDialogH handle, bool enabled) { ((QFileDialog *)handle)->setNameFilterDetailsVisible(enabled); } bool QFileDialog_isNameFilterDetailsVisible(QFileDialogH handle) { return (bool) ((QFileDialog *)handle)->isNameFilterDetailsVisible(); } void QFileDialog_setNameFilter(QFileDialogH handle, PWideString filter) { QString t_filter; copyPWideStringToQString(filter, t_filter); ((QFileDialog *)handle)->setNameFilter(t_filter); } void QFileDialog_setNameFilters(QFileDialogH handle, const QStringListH filters) { ((QFileDialog *)handle)->setNameFilters(*(const QStringList*)filters); } void QFileDialog_nameFilters(QFileDialogH handle, QStringListH retval) { *(QStringList *)retval = ((QFileDialog *)handle)->nameFilters(); } void QFileDialog_selectNameFilter(QFileDialogH handle, PWideString filter) { QString t_filter; copyPWideStringToQString(filter, t_filter); ((QFileDialog *)handle)->selectNameFilter(t_filter); } void QFileDialog_selectedNameFilter(QFileDialogH handle, PWideString retval) { QString t_retval; t_retval = ((QFileDialog *)handle)->selectedNameFilter(); copyQStringToPWideString(t_retval, retval); } unsigned int QFileDialog_filter(QFileDialogH handle) { return (unsigned int) ((QFileDialog *)handle)->filter(); } void QFileDialog_setFilter(QFileDialogH handle, unsigned int filters) { ((QFileDialog *)handle)->setFilter((QDir::Filters)filters); } void QFileDialog_setViewMode(QFileDialogH handle, QFileDialog::ViewMode mode) { ((QFileDialog *)handle)->setViewMode(mode); } QFileDialog::ViewMode QFileDialog_viewMode(QFileDialogH handle) { return (QFileDialog::ViewMode) ((QFileDialog *)handle)->viewMode(); } void QFileDialog_setFileMode(QFileDialogH handle, QFileDialog::FileMode mode) { ((QFileDialog *)handle)->setFileMode(mode); } QFileDialog::FileMode QFileDialog_fileMode(QFileDialogH handle) { return (QFileDialog::FileMode) ((QFileDialog *)handle)->fileMode(); } void QFileDialog_setAcceptMode(QFileDialogH handle, QFileDialog::AcceptMode mode) { ((QFileDialog *)handle)->setAcceptMode(mode); } QFileDialog::AcceptMode QFileDialog_acceptMode(QFileDialogH handle) { return (QFileDialog::AcceptMode) ((QFileDialog *)handle)->acceptMode(); } void QFileDialog_setReadOnly(QFileDialogH handle, bool enabled) { ((QFileDialog *)handle)->setReadOnly(enabled); } bool QFileDialog_isReadOnly(QFileDialogH handle) { return (bool) ((QFileDialog *)handle)->isReadOnly(); } void QFileDialog_setResolveSymlinks(QFileDialogH handle, bool enabled) { ((QFileDialog *)handle)->setResolveSymlinks(enabled); } bool QFileDialog_resolveSymlinks(QFileDialogH handle) { return (bool) ((QFileDialog *)handle)->resolveSymlinks(); } void QFileDialog_saveState(QFileDialogH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QFileDialog *)handle)->saveState(); } bool QFileDialog_restoreState(QFileDialogH handle, const QByteArrayH state) { return (bool) ((QFileDialog *)handle)->restoreState(*(const QByteArray*)state); } void QFileDialog_setConfirmOverwrite(QFileDialogH handle, bool enabled) { ((QFileDialog *)handle)->setConfirmOverwrite(enabled); } bool QFileDialog_confirmOverwrite(QFileDialogH handle) { return (bool) ((QFileDialog *)handle)->confirmOverwrite(); } void QFileDialog_setDefaultSuffix(QFileDialogH handle, PWideString suffix) { QString t_suffix; copyPWideStringToQString(suffix, t_suffix); ((QFileDialog *)handle)->setDefaultSuffix(t_suffix); } void QFileDialog_defaultSuffix(QFileDialogH handle, PWideString retval) { QString t_retval; t_retval = ((QFileDialog *)handle)->defaultSuffix(); copyQStringToPWideString(t_retval, retval); } void QFileDialog_setHistory(QFileDialogH handle, const QStringListH paths) { ((QFileDialog *)handle)->setHistory(*(const QStringList*)paths); } void QFileDialog_history(QFileDialogH handle, QStringListH retval) { *(QStringList *)retval = ((QFileDialog *)handle)->history(); } void QFileDialog_setItemDelegate(QFileDialogH handle, QAbstractItemDelegateH delegate) { ((QFileDialog *)handle)->setItemDelegate((QAbstractItemDelegate*)delegate); } QAbstractItemDelegateH QFileDialog_itemDelegate(QFileDialogH handle) { return (QAbstractItemDelegateH) ((QFileDialog *)handle)->itemDelegate(); } void QFileDialog_setIconProvider(QFileDialogH handle, QFileIconProviderH provider) { ((QFileDialog *)handle)->setIconProvider((QFileIconProvider*)provider); } QFileIconProviderH QFileDialog_iconProvider(QFileDialogH handle) { return (QFileIconProviderH) ((QFileDialog *)handle)->iconProvider(); } void QFileDialog_setLabelText(QFileDialogH handle, QFileDialog::DialogLabel label, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QFileDialog *)handle)->setLabelText(label, t_text); } void QFileDialog_labelText(QFileDialogH handle, PWideString retval, QFileDialog::DialogLabel label) { QString t_retval; t_retval = ((QFileDialog *)handle)->labelText(label); copyQStringToPWideString(t_retval, retval); } void QFileDialog_setProxyModel(QFileDialogH handle, QAbstractProxyModelH model) { ((QFileDialog *)handle)->setProxyModel((QAbstractProxyModel*)model); } QAbstractProxyModelH QFileDialog_proxyModel(QFileDialogH handle) { return (QAbstractProxyModelH) ((QFileDialog *)handle)->proxyModel(); } void QFileDialog_setOption(QFileDialogH handle, QFileDialog::Option option, bool on) { ((QFileDialog *)handle)->setOption(option, on); } bool QFileDialog_testOption(QFileDialogH handle, QFileDialog::Option option) { return (bool) ((QFileDialog *)handle)->testOption(option); } void QFileDialog_setOptions(QFileDialogH handle, unsigned int options) { ((QFileDialog *)handle)->setOptions((QFileDialog::Options)options); } unsigned int QFileDialog_options(QFileDialogH handle) { return (unsigned int) ((QFileDialog *)handle)->options(); } void QFileDialog_open(QFileDialogH handle, QObjectH receiver, const char* member) { ((QFileDialog *)handle)->open((QObject*)receiver, member); } void QFileDialog_setVisible(QFileDialogH handle, bool visible) { ((QFileDialog *)handle)->setVisible(visible); } void QFileDialog_getOpenFileName(PWideString retval, QWidgetH parent, PWideString caption, PWideString dir, PWideString filter, PWideString selectedFilter, unsigned int options) { QString t_retval; QString t_caption; QString t_dir; QString t_filter; QString t_selectedFilter; copyPWideStringToQString(caption, t_caption); copyPWideStringToQString(dir, t_dir); copyPWideStringToQString(filter, t_filter); if ( selectedFilter ) copyPWideStringToQString(selectedFilter, t_selectedFilter); t_retval = QFileDialog::getOpenFileName((QWidget*)parent, t_caption, t_dir, t_filter, selectedFilter ? &t_selectedFilter : NULL, (QFileDialog::Options)options); copyQStringToPWideString(t_retval, retval); if ( selectedFilter ) copyQStringToPWideString(t_selectedFilter, selectedFilter); } void QFileDialog_getSaveFileName(PWideString retval, QWidgetH parent, PWideString caption, PWideString dir, PWideString filter, PWideString selectedFilter, unsigned int options) { QString t_retval; QString t_caption; QString t_dir; QString t_filter; QString t_selectedFilter; copyPWideStringToQString(caption, t_caption); copyPWideStringToQString(dir, t_dir); copyPWideStringToQString(filter, t_filter); if ( selectedFilter ) copyPWideStringToQString(selectedFilter, t_selectedFilter); t_retval = QFileDialog::getSaveFileName((QWidget*)parent, t_caption, t_dir, t_filter, selectedFilter ? &t_selectedFilter : NULL, (QFileDialog::Options)options); copyQStringToPWideString(t_retval, retval); if ( selectedFilter ) copyQStringToPWideString(t_selectedFilter, selectedFilter); } void QFileDialog_getExistingDirectory(PWideString retval, QWidgetH parent, PWideString caption, PWideString dir, unsigned int options) { QString t_retval; QString t_caption; QString t_dir; copyPWideStringToQString(caption, t_caption); copyPWideStringToQString(dir, t_dir); t_retval = QFileDialog::getExistingDirectory((QWidget*)parent, t_caption, t_dir, (QFileDialog::Options)options); copyQStringToPWideString(t_retval, retval); } void QFileDialog_getOpenFileNames(QStringListH retval, QWidgetH parent, PWideString caption, PWideString dir, PWideString filter, PWideString selectedFilter, unsigned int options) { QString t_caption; QString t_dir; QString t_filter; QString t_selectedFilter; copyPWideStringToQString(caption, t_caption); copyPWideStringToQString(dir, t_dir); copyPWideStringToQString(filter, t_filter); if ( selectedFilter ) copyPWideStringToQString(selectedFilter, t_selectedFilter); *(QStringList *)retval = QFileDialog::getOpenFileNames((QWidget*)parent, t_caption, t_dir, t_filter, selectedFilter ? &t_selectedFilter : NULL, (QFileDialog::Options)options); if ( selectedFilter ) copyQStringToPWideString(t_selectedFilter, selectedFilter); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstatusbar_hook.h0000664000212600021260000000306211677135472020416 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTATUSBAR_HOOK_H #define QSTATUSBAR_HOOK_H #include #include "qwidget_hook.h" class QStatusBar_hook : public QWidget_hook { Q_OBJECT public: QStatusBar_hook(QObject *handle) : QWidget_hook(handle) { messageChanged_event.func = NULL; } void hook_messageChanged(QHook &hook) { if ( !messageChanged_event.func ) connect(handle, SIGNAL(messageChanged(const QString&)), this, SLOT(messageChanged_hook(const QString&))); messageChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(messageChanged(const QString&)), this, SLOT(messageChanged_hook(const QString&))); } private slots: void messageChanged_hook(const QString& text) { if ( messageChanged_event.func ) { typedef void (*func_type)(void *data, PWideString text); PWideString t_text; initializePWideString(t_text); copyQStringToPWideString(text, t_text); (*(func_type)messageChanged_event.func)(messageChanged_event.data, t_text); finalizePWideString(t_text); } } private: QHook messageChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qbytearray_c.cpp0000664000212600021260000004045311677135472020232 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qbytearray_c.h" QByteArrayH QByteArray_create() { return (QByteArrayH) new QByteArray(); } void QByteArray_destroy(QByteArrayH handle) { delete (QByteArray *)handle; } QByteArrayH QByteArray_create2(const char* AnonParam1) { return (QByteArrayH) new QByteArray(AnonParam1); } QByteArrayH QByteArray_create3(const char* AnonParam1, int size) { return (QByteArrayH) new QByteArray(AnonParam1, size); } QByteArrayH QByteArray_create4(int size, char c) { return (QByteArrayH) new QByteArray(size, c); } QByteArrayH QByteArray_create5(const QByteArrayH AnonParam1) { return (QByteArrayH) new QByteArray(*(const QByteArray*)AnonParam1); } int QByteArray_size(QByteArrayH handle) { return (int) ((QByteArray *)handle)->size(); } bool QByteArray_isEmpty(QByteArrayH handle) { return (bool) ((QByteArray *)handle)->isEmpty(); } void QByteArray_resize(QByteArrayH handle, int size) { ((QByteArray *)handle)->resize(size); } QByteArrayH QByteArray_fill(QByteArrayH handle, char c, int size) { return (QByteArrayH) &((QByteArray *)handle)->fill(c, size); } int QByteArray_capacity(QByteArrayH handle) { return (int) ((QByteArray *)handle)->capacity(); } void QByteArray_reserve(QByteArrayH handle, int size) { ((QByteArray *)handle)->reserve(size); } void QByteArray_squeeze(QByteArrayH handle) { ((QByteArray *)handle)->squeeze(); } char* QByteArray_data(QByteArrayH handle) { return (char*) ((QByteArray *)handle)->data(); } const char* QByteArray_constData(QByteArrayH handle) { return (const char*) ((QByteArray *)handle)->constData(); } void QByteArray_detach(QByteArrayH handle) { ((QByteArray *)handle)->detach(); } bool QByteArray_isDetached(QByteArrayH handle) { return (bool) ((QByteArray *)handle)->isDetached(); } void QByteArray_clear(QByteArrayH handle) { ((QByteArray *)handle)->clear(); } char QByteArray_at(QByteArrayH handle, int i) { return (char) ((QByteArray *)handle)->at(i); } int QByteArray_indexOf(QByteArrayH handle, char c, int from) { return (int) ((QByteArray *)handle)->indexOf(c, from); } int QByteArray_indexOf2(QByteArrayH handle, const char* c, int from) { return (int) ((QByteArray *)handle)->indexOf(c, from); } int QByteArray_indexOf3(QByteArrayH handle, const QByteArrayH a, int from) { return (int) ((QByteArray *)handle)->indexOf(*(const QByteArray*)a, from); } int QByteArray_lastIndexOf(QByteArrayH handle, char c, int from) { return (int) ((QByteArray *)handle)->lastIndexOf(c, from); } int QByteArray_lastIndexOf2(QByteArrayH handle, const char* c, int from) { return (int) ((QByteArray *)handle)->lastIndexOf(c, from); } int QByteArray_lastIndexOf3(QByteArrayH handle, const QByteArrayH a, int from) { return (int) ((QByteArray *)handle)->lastIndexOf(*(const QByteArray*)a, from); } QBool QByteArray_contains(QByteArrayH handle, char c) { return (QBool) ((QByteArray *)handle)->contains(c); } QBool QByteArray_contains2(QByteArrayH handle, const char* a) { return (QBool) ((QByteArray *)handle)->contains(a); } QBool QByteArray_contains3(QByteArrayH handle, const QByteArrayH a) { return (QBool) ((QByteArray *)handle)->contains(*(const QByteArray*)a); } int QByteArray_count(QByteArrayH handle, char c) { return (int) ((QByteArray *)handle)->count(c); } int QByteArray_count2(QByteArrayH handle, const char* a) { return (int) ((QByteArray *)handle)->count(a); } int QByteArray_count3(QByteArrayH handle, const QByteArrayH a) { return (int) ((QByteArray *)handle)->count(*(const QByteArray*)a); } void QByteArray_left(QByteArrayH handle, QByteArrayH retval, int len) { *(QByteArray *)retval = ((QByteArray *)handle)->left(len); } void QByteArray_right(QByteArrayH handle, QByteArrayH retval, int len) { *(QByteArray *)retval = ((QByteArray *)handle)->right(len); } void QByteArray_mid(QByteArrayH handle, QByteArrayH retval, int index, int len) { *(QByteArray *)retval = ((QByteArray *)handle)->mid(index, len); } bool QByteArray_startsWith(QByteArrayH handle, const QByteArrayH a) { return (bool) ((QByteArray *)handle)->startsWith(*(const QByteArray*)a); } bool QByteArray_startsWith2(QByteArrayH handle, char c) { return (bool) ((QByteArray *)handle)->startsWith(c); } bool QByteArray_startsWith3(QByteArrayH handle, const char* c) { return (bool) ((QByteArray *)handle)->startsWith(c); } bool QByteArray_endsWith(QByteArrayH handle, const QByteArrayH a) { return (bool) ((QByteArray *)handle)->endsWith(*(const QByteArray*)a); } bool QByteArray_endsWith2(QByteArrayH handle, char c) { return (bool) ((QByteArray *)handle)->endsWith(c); } bool QByteArray_endsWith3(QByteArrayH handle, const char* c) { return (bool) ((QByteArray *)handle)->endsWith(c); } void QByteArray_truncate(QByteArrayH handle, int pos) { ((QByteArray *)handle)->truncate(pos); } void QByteArray_chop(QByteArrayH handle, int n) { ((QByteArray *)handle)->chop(n); } void QByteArray_toLower(QByteArrayH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QByteArray *)handle)->toLower(); } void QByteArray_toUpper(QByteArrayH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QByteArray *)handle)->toUpper(); } void QByteArray_trimmed(QByteArrayH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QByteArray *)handle)->trimmed(); } void QByteArray_simplified(QByteArrayH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QByteArray *)handle)->simplified(); } void QByteArray_leftJustified(QByteArrayH handle, QByteArrayH retval, int width, char fill, bool truncate) { *(QByteArray *)retval = ((QByteArray *)handle)->leftJustified(width, fill, truncate); } void QByteArray_rightJustified(QByteArrayH handle, QByteArrayH retval, int width, char fill, bool truncate) { *(QByteArray *)retval = ((QByteArray *)handle)->rightJustified(width, fill, truncate); } QByteArrayH QByteArray_prepend(QByteArrayH handle, char c) { return (QByteArrayH) &((QByteArray *)handle)->prepend(c); } QByteArrayH QByteArray_prepend2(QByteArrayH handle, const char* s) { return (QByteArrayH) &((QByteArray *)handle)->prepend(s); } QByteArrayH QByteArray_prepend3(QByteArrayH handle, const QByteArrayH a) { return (QByteArrayH) &((QByteArray *)handle)->prepend(*(const QByteArray*)a); } QByteArrayH QByteArray_append(QByteArrayH handle, char c) { return (QByteArrayH) &((QByteArray *)handle)->append(c); } QByteArrayH QByteArray_append2(QByteArrayH handle, const char* s) { return (QByteArrayH) &((QByteArray *)handle)->append(s); } QByteArrayH QByteArray_append3(QByteArrayH handle, const char* s, int len) { return (QByteArrayH) &((QByteArray *)handle)->append(s, len); } QByteArrayH QByteArray_append4(QByteArrayH handle, const QByteArrayH a) { return (QByteArrayH) &((QByteArray *)handle)->append(*(const QByteArray*)a); } QByteArrayH QByteArray_insert(QByteArrayH handle, int i, char c) { return (QByteArrayH) &((QByteArray *)handle)->insert(i, c); } QByteArrayH QByteArray_insert2(QByteArrayH handle, int i, const char* s) { return (QByteArrayH) &((QByteArray *)handle)->insert(i, s); } QByteArrayH QByteArray_insert3(QByteArrayH handle, int i, const QByteArrayH a) { return (QByteArrayH) &((QByteArray *)handle)->insert(i, *(const QByteArray*)a); } QByteArrayH QByteArray_remove(QByteArrayH handle, int index, int len) { return (QByteArrayH) &((QByteArray *)handle)->remove(index, len); } QByteArrayH QByteArray_replace(QByteArrayH handle, int index, int len, const char* s) { return (QByteArrayH) &((QByteArray *)handle)->replace(index, len, s); } QByteArrayH QByteArray_replace2(QByteArrayH handle, int index, int len, const QByteArrayH s) { return (QByteArrayH) &((QByteArray *)handle)->replace(index, len, *(const QByteArray*)s); } QByteArrayH QByteArray_replace3(QByteArrayH handle, char before, const char* after) { return (QByteArrayH) &((QByteArray *)handle)->replace(before, after); } QByteArrayH QByteArray_replace4(QByteArrayH handle, char before, const QByteArrayH after) { return (QByteArrayH) &((QByteArray *)handle)->replace(before, *(const QByteArray*)after); } QByteArrayH QByteArray_replace5(QByteArrayH handle, const char* before, const char* after) { return (QByteArrayH) &((QByteArray *)handle)->replace(before, after); } QByteArrayH QByteArray_replace6(QByteArrayH handle, const char* before, int bsize, const char* after, int asize) { return (QByteArrayH) &((QByteArray *)handle)->replace(before, bsize, after, asize); } QByteArrayH QByteArray_replace7(QByteArrayH handle, const QByteArrayH before, const QByteArrayH after) { return (QByteArrayH) &((QByteArray *)handle)->replace(*(const QByteArray*)before, *(const QByteArray*)after); } QByteArrayH QByteArray_replace8(QByteArrayH handle, const QByteArrayH before, const char* after) { return (QByteArrayH) &((QByteArray *)handle)->replace(*(const QByteArray*)before, after); } QByteArrayH QByteArray_replace9(QByteArrayH handle, const char* before, const QByteArrayH after) { return (QByteArrayH) &((QByteArray *)handle)->replace(before, *(const QByteArray*)after); } QByteArrayH QByteArray_replace10(QByteArrayH handle, char before, char after) { return (QByteArrayH) &((QByteArray *)handle)->replace(before, after); } void QByteArray_repeated(QByteArrayH handle, QByteArrayH retval, int times) { *(QByteArray *)retval = ((QByteArray *)handle)->repeated(times); } QByteArrayH QByteArray_append5(QByteArrayH handle, PWideString s) { QString t_s; copyPWideStringToQString(s, t_s); return (QByteArrayH) &((QByteArray *)handle)->append(t_s); } QByteArrayH QByteArray_insert4(QByteArrayH handle, int i, PWideString s) { QString t_s; copyPWideStringToQString(s, t_s); return (QByteArrayH) &((QByteArray *)handle)->insert(i, t_s); } QByteArrayH QByteArray_replace11(QByteArrayH handle, PWideString before, const char* after) { QString t_before; copyPWideStringToQString(before, t_before); return (QByteArrayH) &((QByteArray *)handle)->replace(t_before, after); } QByteArrayH QByteArray_replace12(QByteArrayH handle, char c, PWideString after) { QString t_after; copyPWideStringToQString(after, t_after); return (QByteArrayH) &((QByteArray *)handle)->replace(c, t_after); } QByteArrayH QByteArray_replace13(QByteArrayH handle, PWideString before, const QByteArrayH after) { QString t_before; copyPWideStringToQString(before, t_before); return (QByteArrayH) &((QByteArray *)handle)->replace(t_before, *(const QByteArray*)after); } int QByteArray_indexOf4(QByteArrayH handle, PWideString s, int from) { QString t_s; copyPWideStringToQString(s, t_s); return (int) ((QByteArray *)handle)->indexOf(t_s, from); } int QByteArray_lastIndexOf4(QByteArrayH handle, PWideString s, int from) { QString t_s; copyPWideStringToQString(s, t_s); return (int) ((QByteArray *)handle)->lastIndexOf(t_s, from); } short QByteArray_toShort(QByteArrayH handle, bool* ok, int base) { return (short) ((QByteArray *)handle)->toShort(ok, base); } ushort QByteArray_toUShort(QByteArrayH handle, bool* ok, int base) { return (ushort) ((QByteArray *)handle)->toUShort(ok, base); } int QByteArray_toInt(QByteArrayH handle, bool* ok, int base) { return (int) ((QByteArray *)handle)->toInt(ok, base); } uint QByteArray_toUInt(QByteArrayH handle, bool* ok, int base) { return (uint) ((QByteArray *)handle)->toUInt(ok, base); } long QByteArray_toLong(QByteArrayH handle, bool* ok, int base) { return (long) ((QByteArray *)handle)->toLong(ok, base); } ulong QByteArray_toULong(QByteArrayH handle, bool* ok, int base) { return (ulong) ((QByteArray *)handle)->toULong(ok, base); } qlonglong QByteArray_toLongLong(QByteArrayH handle, bool* ok, int base) { return (qlonglong) ((QByteArray *)handle)->toLongLong(ok, base); } qulonglong QByteArray_toULongLong(QByteArrayH handle, bool* ok, int base) { return (qulonglong) ((QByteArray *)handle)->toULongLong(ok, base); } float QByteArray_toFloat(QByteArrayH handle, bool* ok) { return (float) ((QByteArray *)handle)->toFloat(ok); } double QByteArray_toDouble(QByteArrayH handle, bool* ok) { return (double) ((QByteArray *)handle)->toDouble(ok); } void QByteArray_toBase64(QByteArrayH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QByteArray *)handle)->toBase64(); } void QByteArray_toHex(QByteArrayH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QByteArray *)handle)->toHex(); } void QByteArray_toPercentEncoding(QByteArrayH handle, QByteArrayH retval, const QByteArrayH exclude, const QByteArrayH include, char percent) { *(QByteArray *)retval = ((QByteArray *)handle)->toPercentEncoding(*(const QByteArray*)exclude, *(const QByteArray*)include, percent); } QByteArrayH QByteArray_setNum(QByteArrayH handle, short AnonParam1, int base) { return (QByteArrayH) &((QByteArray *)handle)->setNum(AnonParam1, base); } QByteArrayH QByteArray_setNum2(QByteArrayH handle, ushort AnonParam1, int base) { return (QByteArrayH) &((QByteArray *)handle)->setNum(AnonParam1, base); } QByteArrayH QByteArray_setNum3(QByteArrayH handle, int AnonParam1, int base) { return (QByteArrayH) &((QByteArray *)handle)->setNum(AnonParam1, base); } QByteArrayH QByteArray_setNum4(QByteArrayH handle, uint AnonParam1, int base) { return (QByteArrayH) &((QByteArray *)handle)->setNum(AnonParam1, base); } QByteArrayH QByteArray_setNum5(QByteArrayH handle, qlonglong AnonParam1, int base) { return (QByteArrayH) &((QByteArray *)handle)->setNum(AnonParam1, base); } QByteArrayH QByteArray_setNum6(QByteArrayH handle, qulonglong AnonParam1, int base) { return (QByteArrayH) &((QByteArray *)handle)->setNum(AnonParam1, base); } QByteArrayH QByteArray_setNum7(QByteArrayH handle, float AnonParam1, char f, int prec) { return (QByteArrayH) &((QByteArray *)handle)->setNum(AnonParam1, f, prec); } QByteArrayH QByteArray_setNum8(QByteArrayH handle, double AnonParam1, char f, int prec) { return (QByteArrayH) &((QByteArray *)handle)->setNum(AnonParam1, f, prec); } void QByteArray_number(QByteArrayH retval, int AnonParam1, int base) { *(QByteArray *)retval = QByteArray::number(AnonParam1, base); } void QByteArray_number2(QByteArrayH retval, uint AnonParam1, int base) { *(QByteArray *)retval = QByteArray::number(AnonParam1, base); } void QByteArray_number3(QByteArrayH retval, qlonglong AnonParam1, int base) { *(QByteArray *)retval = QByteArray::number(AnonParam1, base); } void QByteArray_number4(QByteArrayH retval, qulonglong AnonParam1, int base) { *(QByteArray *)retval = QByteArray::number(AnonParam1, base); } void QByteArray_number5(QByteArrayH retval, double AnonParam1, char f, int prec) { *(QByteArray *)retval = QByteArray::number(AnonParam1, f, prec); } void QByteArray_fromRawData(QByteArrayH retval, const char* AnonParam1, int size) { *(QByteArray *)retval = QByteArray::fromRawData(AnonParam1, size); } void QByteArray_fromBase64(QByteArrayH retval, const QByteArrayH base64) { *(QByteArray *)retval = QByteArray::fromBase64(*(const QByteArray*)base64); } void QByteArray_fromHex(QByteArrayH retval, const QByteArrayH hexEncoded) { *(QByteArray *)retval = QByteArray::fromHex(*(const QByteArray*)hexEncoded); } void QByteArray_fromPercentEncoding(QByteArrayH retval, const QByteArrayH pctEncoded, char percent) { *(QByteArray *)retval = QByteArray::fromPercentEncoding(*(const QByteArray*)pctEncoded, percent); } void QByteArray_push_back(QByteArrayH handle, char c) { ((QByteArray *)handle)->push_back(c); } void QByteArray_push_back2(QByteArrayH handle, const char* c) { ((QByteArray *)handle)->push_back(c); } void QByteArray_push_back3(QByteArrayH handle, const QByteArrayH a) { ((QByteArray *)handle)->push_back(*(const QByteArray*)a); } void QByteArray_push_front(QByteArrayH handle, char c) { ((QByteArray *)handle)->push_front(c); } void QByteArray_push_front2(QByteArrayH handle, const char* c) { ((QByteArray *)handle)->push_front(c); } void QByteArray_push_front3(QByteArrayH handle, const QByteArrayH a) { ((QByteArray *)handle)->push_front(*(const QByteArray*)a); } int QByteArray_count4(QByteArrayH handle) { return (int) ((QByteArray *)handle)->count(); } int QByteArray_length(QByteArrayH handle) { return (int) ((QByteArray *)handle)->length(); } bool QByteArray_isNull(QByteArrayH handle) { return (bool) ((QByteArray *)handle)->isNull(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbox_c.h0000664000212600021260000000430411677135472017356 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTOOLBOX_C_H #define QTOOLBOX_C_H #include #include "pascalbind.h" C_EXPORT QToolBoxH QToolBox_create(QWidgetH parent, unsigned int f); C_EXPORT void QToolBox_destroy(QToolBoxH handle); C_EXPORT int QToolBox_addItem(QToolBoxH handle, QWidgetH widget, PWideString text); C_EXPORT int QToolBox_addItem2(QToolBoxH handle, QWidgetH widget, const QIconH icon, PWideString text); C_EXPORT int QToolBox_insertItem(QToolBoxH handle, int index, QWidgetH widget, PWideString text); C_EXPORT int QToolBox_insertItem2(QToolBoxH handle, int index, QWidgetH widget, const QIconH icon, PWideString text); C_EXPORT void QToolBox_removeItem(QToolBoxH handle, int index); C_EXPORT void QToolBox_setItemEnabled(QToolBoxH handle, int index, bool enabled); C_EXPORT bool QToolBox_isItemEnabled(QToolBoxH handle, int index); C_EXPORT void QToolBox_setItemText(QToolBoxH handle, int index, PWideString text); C_EXPORT void QToolBox_itemText(QToolBoxH handle, PWideString retval, int index); C_EXPORT void QToolBox_setItemIcon(QToolBoxH handle, int index, const QIconH icon); C_EXPORT void QToolBox_itemIcon(QToolBoxH handle, QIconH retval, int index); C_EXPORT void QToolBox_setItemToolTip(QToolBoxH handle, int index, PWideString toolTip); C_EXPORT void QToolBox_itemToolTip(QToolBoxH handle, PWideString retval, int index); C_EXPORT int QToolBox_currentIndex(QToolBoxH handle); C_EXPORT QWidgetH QToolBox_currentWidget(QToolBoxH handle); C_EXPORT QWidgetH QToolBox_widget(QToolBoxH handle, int index); C_EXPORT int QToolBox_indexOf(QToolBoxH handle, QWidgetH widget); C_EXPORT int QToolBox_count(QToolBoxH handle); C_EXPORT void QToolBox_setCurrentIndex(QToolBoxH handle, int index); C_EXPORT void QToolBox_setCurrentWidget(QToolBoxH handle, QWidgetH widget); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qframe_c.h0000664000212600021260000000301111677135472016754 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFRAME_C_H #define QFRAME_C_H #include #include "pascalbind.h" C_EXPORT QFrameH QFrame_create(QWidgetH parent, unsigned int f); C_EXPORT void QFrame_destroy(QFrameH handle); C_EXPORT int QFrame_frameStyle(QFrameH handle); C_EXPORT void QFrame_setFrameStyle(QFrameH handle, int AnonParam1); C_EXPORT int QFrame_frameWidth(QFrameH handle); C_EXPORT void QFrame_sizeHint(QFrameH handle, PSize retval); C_EXPORT QFrame::Shape QFrame_frameShape(QFrameH handle); C_EXPORT void QFrame_setFrameShape(QFrameH handle, QFrame::Shape AnonParam1); C_EXPORT QFrame::Shadow QFrame_frameShadow(QFrameH handle); C_EXPORT void QFrame_setFrameShadow(QFrameH handle, QFrame::Shadow AnonParam1); C_EXPORT int QFrame_lineWidth(QFrameH handle); C_EXPORT void QFrame_setLineWidth(QFrameH handle, int AnonParam1); C_EXPORT int QFrame_midLineWidth(QFrameH handle); C_EXPORT void QFrame_setMidLineWidth(QFrameH handle, int AnonParam1); C_EXPORT void QFrame_frameRect(QFrameH handle, PRect retval); C_EXPORT void QFrame_setFrameRect(QFrameH handle, PRect AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qeventloop_c.h0000664000212600021260000000221311677135472017700 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QEVENTLOOP_C_H #define QEVENTLOOP_C_H #include #include "pascalbind.h" C_EXPORT QEventLoopH QEventLoop_create(QObjectH parent); C_EXPORT void QEventLoop_destroy(QEventLoopH handle); C_EXPORT bool QEventLoop_processEvents(QEventLoopH handle, unsigned int flags); C_EXPORT void QEventLoop_processEvents2(QEventLoopH handle, unsigned int flags, int maximumTime); C_EXPORT int QEventLoop_exec(QEventLoopH handle, unsigned int flags); C_EXPORT void QEventLoop_exit(QEventLoopH handle, int returnCode); C_EXPORT bool QEventLoop_isRunning(QEventLoopH handle); C_EXPORT void QEventLoop_wakeUp(QEventLoopH handle); C_EXPORT void QEventLoop_quit(QEventLoopH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkaccessmanager_hook_c.h0000664000212600021260000000215211677135472023115 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QNETWORKACCESSMANAGER_HOOK_C_H #define QNETWORKACCESSMANAGER_HOOK_C_H #include "qnetworkaccessmanager_hook.h" C_EXPORT QNetworkAccessManager_hookH QNetworkAccessManager_hook_create(QObjectH handle); C_EXPORT void QNetworkAccessManager_hook_destroy(QNetworkAccessManager_hookH handle); C_EXPORT void QNetworkAccessManager_hook_hook_proxyAuthenticationRequired(QNetworkAccessManager_hookH handle, QHookH hook); C_EXPORT void QNetworkAccessManager_hook_hook_authenticationRequired(QNetworkAccessManager_hookH handle, QHookH hook); C_EXPORT void QNetworkAccessManager_hook_hook_finished(QNetworkAccessManager_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkaccessmanager_c.cpp0000664000212600021260000000703411677135472022434 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qnetworkaccessmanager_c.h" QNetworkAccessManagerH QNetworkAccessManager_create(QObjectH parent) { return (QNetworkAccessManagerH) new QNetworkAccessManager((QObject*)parent); } void QNetworkAccessManager_destroy(QNetworkAccessManagerH handle) { delete (QNetworkAccessManager *)handle; } void QNetworkAccessManager_proxy(QNetworkAccessManagerH handle, QNetworkProxyH retval) { *(QNetworkProxy *)retval = ((QNetworkAccessManager *)handle)->proxy(); } void QNetworkAccessManager_setProxy(QNetworkAccessManagerH handle, const QNetworkProxyH proxy) { ((QNetworkAccessManager *)handle)->setProxy(*(const QNetworkProxy*)proxy); } QNetworkProxyFactoryH QNetworkAccessManager_proxyFactory(QNetworkAccessManagerH handle) { return (QNetworkProxyFactoryH) ((QNetworkAccessManager *)handle)->proxyFactory(); } void QNetworkAccessManager_setProxyFactory(QNetworkAccessManagerH handle, QNetworkProxyFactoryH factory) { ((QNetworkAccessManager *)handle)->setProxyFactory((QNetworkProxyFactory*)factory); } QAbstractNetworkCacheH QNetworkAccessManager_cache(QNetworkAccessManagerH handle) { return (QAbstractNetworkCacheH) ((QNetworkAccessManager *)handle)->cache(); } void QNetworkAccessManager_setCache(QNetworkAccessManagerH handle, QAbstractNetworkCacheH cache) { ((QNetworkAccessManager *)handle)->setCache((QAbstractNetworkCache*)cache); } QNetworkCookieJarH QNetworkAccessManager_cookieJar(QNetworkAccessManagerH handle) { return (QNetworkCookieJarH) ((QNetworkAccessManager *)handle)->cookieJar(); } void QNetworkAccessManager_setCookieJar(QNetworkAccessManagerH handle, QNetworkCookieJarH cookieJar) { ((QNetworkAccessManager *)handle)->setCookieJar((QNetworkCookieJar*)cookieJar); } QNetworkReplyH QNetworkAccessManager_head(QNetworkAccessManagerH handle, const QNetworkRequestH request) { return (QNetworkReplyH) ((QNetworkAccessManager *)handle)->head(*(const QNetworkRequest*)request); } QNetworkReplyH QNetworkAccessManager_get(QNetworkAccessManagerH handle, const QNetworkRequestH request) { return (QNetworkReplyH) ((QNetworkAccessManager *)handle)->get(*(const QNetworkRequest*)request); } QNetworkReplyH QNetworkAccessManager_post(QNetworkAccessManagerH handle, const QNetworkRequestH request, QIODeviceH data) { return (QNetworkReplyH) ((QNetworkAccessManager *)handle)->post(*(const QNetworkRequest*)request, (QIODevice*)data); } QNetworkReplyH QNetworkAccessManager_post2(QNetworkAccessManagerH handle, const QNetworkRequestH request, const QByteArrayH data) { return (QNetworkReplyH) ((QNetworkAccessManager *)handle)->post(*(const QNetworkRequest*)request, *(const QByteArray*)data); } QNetworkReplyH QNetworkAccessManager_put(QNetworkAccessManagerH handle, const QNetworkRequestH request, QIODeviceH data) { return (QNetworkReplyH) ((QNetworkAccessManager *)handle)->put(*(const QNetworkRequest*)request, (QIODevice*)data); } QNetworkReplyH QNetworkAccessManager_put2(QNetworkAccessManagerH handle, const QNetworkRequestH request, const QByteArrayH data) { return (QNetworkReplyH) ((QNetworkAccessManager *)handle)->put(*(const QNetworkRequest*)request, *(const QByteArray*)data); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdesktopwidget_c.cpp0000664000212600021260000000552611677135472021107 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qdesktopwidget_c.h" QDesktopWidgetH QDesktopWidget_create() { return (QDesktopWidgetH) new QDesktopWidget(); } void QDesktopWidget_destroy(QDesktopWidgetH handle) { delete (QDesktopWidget *)handle; } bool QDesktopWidget_isVirtualDesktop(QDesktopWidgetH handle) { return (bool) ((QDesktopWidget *)handle)->isVirtualDesktop(); } int QDesktopWidget_numScreens(QDesktopWidgetH handle) { return (int) ((QDesktopWidget *)handle)->numScreens(); } int QDesktopWidget_primaryScreen(QDesktopWidgetH handle) { return (int) ((QDesktopWidget *)handle)->primaryScreen(); } int QDesktopWidget_screenNumber(QDesktopWidgetH handle, const QWidgetH widget) { return (int) ((QDesktopWidget *)handle)->screenNumber((const QWidget*)widget); } int QDesktopWidget_screenNumber2(QDesktopWidgetH handle, const QPointH AnonParam1) { return (int) ((QDesktopWidget *)handle)->screenNumber(*(const QPoint*)AnonParam1); } QWidgetH QDesktopWidget_screen(QDesktopWidgetH handle, int screen) { return (QWidgetH) ((QDesktopWidget *)handle)->screen(screen); } void QDesktopWidget_screenGeometry(QDesktopWidgetH handle, PRect retval, int screen) { QRect t_retval; t_retval = ((QDesktopWidget *)handle)->screenGeometry(screen); copyQRectToPRect(t_retval, retval); } void QDesktopWidget_screenGeometry2(QDesktopWidgetH handle, PRect retval, const QWidgetH widget) { QRect t_retval; t_retval = ((QDesktopWidget *)handle)->screenGeometry((const QWidget*)widget); copyQRectToPRect(t_retval, retval); } void QDesktopWidget_screenGeometry3(QDesktopWidgetH handle, PRect retval, const QPointH point) { QRect t_retval; t_retval = ((QDesktopWidget *)handle)->screenGeometry(*(const QPoint*)point); copyQRectToPRect(t_retval, retval); } void QDesktopWidget_availableGeometry(QDesktopWidgetH handle, PRect retval, int screen) { QRect t_retval; t_retval = ((QDesktopWidget *)handle)->availableGeometry(screen); copyQRectToPRect(t_retval, retval); } void QDesktopWidget_availableGeometry2(QDesktopWidgetH handle, PRect retval, const QWidgetH widget) { QRect t_retval; t_retval = ((QDesktopWidget *)handle)->availableGeometry((const QWidget*)widget); copyQRectToPRect(t_retval, retval); } void QDesktopWidget_availableGeometry3(QDesktopWidgetH handle, PRect retval, const QPointH point) { QRect t_retval; t_retval = ((QDesktopWidget *)handle)->availableGeometry(*(const QPoint*)point); copyQRectToPRect(t_retval, retval); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qactiongroup_c.cpp0000664000212600021260000000477211677135472020566 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qactiongroup_c.h" QActionGroupH QActionGroup_create(QObjectH parent) { return (QActionGroupH) new QActionGroup((QObject*)parent); } void QActionGroup_destroy(QActionGroupH handle) { delete (QActionGroup *)handle; } QActionH QActionGroup_addAction(QActionGroupH handle, QActionH a) { return (QActionH) ((QActionGroup *)handle)->addAction((QAction*)a); } QActionH QActionGroup_addAction2(QActionGroupH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (QActionH) ((QActionGroup *)handle)->addAction(t_text); } QActionH QActionGroup_addAction3(QActionGroupH handle, const QIconH icon, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (QActionH) ((QActionGroup *)handle)->addAction(*(const QIcon*)icon, t_text); } void QActionGroup_removeAction(QActionGroupH handle, QActionH a) { ((QActionGroup *)handle)->removeAction((QAction*)a); } void QActionGroup_actions(QActionGroupH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QActionGroup *)handle)->actions(); copyQListTemplateToPtrIntArray(t_retval, retval); } QActionH QActionGroup_checkedAction(QActionGroupH handle) { return (QActionH) ((QActionGroup *)handle)->checkedAction(); } bool QActionGroup_isExclusive(QActionGroupH handle) { return (bool) ((QActionGroup *)handle)->isExclusive(); } bool QActionGroup_isEnabled(QActionGroupH handle) { return (bool) ((QActionGroup *)handle)->isEnabled(); } bool QActionGroup_isVisible(QActionGroupH handle) { return (bool) ((QActionGroup *)handle)->isVisible(); } void QActionGroup_setEnabled(QActionGroupH handle, bool AnonParam1) { ((QActionGroup *)handle)->setEnabled(AnonParam1); } void QActionGroup_setDisabled(QActionGroupH handle, bool b) { ((QActionGroup *)handle)->setDisabled(b); } void QActionGroup_setVisible(QActionGroupH handle, bool AnonParam1) { ((QActionGroup *)handle)->setVisible(AnonParam1); } void QActionGroup_setExclusive(QActionGroupH handle, bool AnonParam1) { ((QActionGroup *)handle)->setExclusive(AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qimage_c.cpp0000664000212600021260000002630711677135472017314 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qimage_c.h" QImageH QImage_create() { return (QImageH) new QImage(); } void QImage_destroy(QImageH handle) { delete (QImage *)handle; } QImageH QImage_create2(const QSizeH size, QImage::Format format) { return (QImageH) new QImage(*(const QSize*)size, format); } QImageH QImage_create3(int width, int height, QImage::Format format) { return (QImageH) new QImage(width, height, format); } QImageH QImage_create4(uchar* data, int width, int height, QImage::Format format) { return (QImageH) new QImage(data, width, height, format); } QImageH QImage_create6(uchar* data, int width, int height, int bytesPerLine, QImage::Format format) { return (QImageH) new QImage(data, width, height, bytesPerLine, format); } QImageH QImage_create8(const char* const xpm) { return (QImageH) new QImage(xpm); } QImageH QImage_create9(PWideString fileName, const char* format) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (QImageH) new QImage(t_fileName, format); } QImageH QImage_create10(const char* fileName, const char* format) { return (QImageH) new QImage(fileName, format); } QImageH QImage_create11(const QImageH AnonParam1) { return (QImageH) new QImage(*(const QImage*)AnonParam1); } bool QImage_isNull(QImageH handle) { return (bool) ((QImage *)handle)->isNull(); } int QImage_devType(QImageH handle) { return (int) ((QImage *)handle)->devType(); } void QImage_detach(QImageH handle) { ((QImage *)handle)->detach(); } bool QImage_isDetached(QImageH handle) { return (bool) ((QImage *)handle)->isDetached(); } void QImage_copy(QImageH handle, QImageH retval, PRect rect) { QRect t_rect; copyPRectToQRect(rect, t_rect); *(QImage *)retval = ((QImage *)handle)->copy(t_rect); } void QImage_copy2(QImageH handle, QImageH retval, int x, int y, int w, int h) { *(QImage *)retval = ((QImage *)handle)->copy(x, y, w, h); } QImage::Format QImage_format(QImageH handle) { return (QImage::Format) ((QImage *)handle)->format(); } void QImage_convertToFormat(QImageH handle, QImageH retval, QImage::Format f, unsigned int flags) { *(QImage *)retval = ((QImage *)handle)->convertToFormat(f, (Qt::ImageConversionFlags)flags); } int QImage_width(QImageH handle) { return (int) ((QImage *)handle)->width(); } int QImage_height(QImageH handle) { return (int) ((QImage *)handle)->height(); } void QImage_size(QImageH handle, PSize retval) { *(QSize *)retval = ((QImage *)handle)->size(); } void QImage_rect(QImageH handle, PRect retval) { QRect t_retval; t_retval = ((QImage *)handle)->rect(); copyQRectToPRect(t_retval, retval); } int QImage_depth(QImageH handle) { return (int) ((QImage *)handle)->depth(); } int QImage_numColors(QImageH handle) { return (int) ((QImage *)handle)->numColors(); } QRgb QImage_color(QImageH handle, int i) { return (QRgb) ((QImage *)handle)->color(i); } void QImage_setColor(QImageH handle, int i, QRgb c) { ((QImage *)handle)->setColor(i, c); } void QImage_setNumColors(QImageH handle, int AnonParam1) { ((QImage *)handle)->setNumColors(AnonParam1); } bool QImage_allGray(QImageH handle) { return (bool) ((QImage *)handle)->allGray(); } bool QImage_isGrayscale(QImageH handle) { return (bool) ((QImage *)handle)->isGrayscale(); } uchar* QImage_bits(QImageH handle) { return (uchar*) ((QImage *)handle)->bits(); } int QImage_numBytes(QImageH handle) { return (int) ((QImage *)handle)->numBytes(); } uchar* QImage_scanLine(QImageH handle, int AnonParam1) { return (uchar*) ((QImage *)handle)->scanLine(AnonParam1); } int QImage_bytesPerLine(QImageH handle) { return (int) ((QImage *)handle)->bytesPerLine(); } bool QImage_valid(QImageH handle, int x, int y) { return (bool) ((QImage *)handle)->valid(x, y); } bool QImage_valid2(QImageH handle, const QPointH pt) { return (bool) ((QImage *)handle)->valid(*(const QPoint*)pt); } int QImage_pixelIndex(QImageH handle, int x, int y) { return (int) ((QImage *)handle)->pixelIndex(x, y); } int QImage_pixelIndex2(QImageH handle, const QPointH pt) { return (int) ((QImage *)handle)->pixelIndex(*(const QPoint*)pt); } QRgb QImage_pixel(QImageH handle, int x, int y) { return (QRgb) ((QImage *)handle)->pixel(x, y); } QRgb QImage_pixel2(QImageH handle, const QPointH pt) { return (QRgb) ((QImage *)handle)->pixel(*(const QPoint*)pt); } void QImage_setPixel(QImageH handle, int x, int y, uint index_or_rgb) { ((QImage *)handle)->setPixel(x, y, index_or_rgb); } void QImage_setPixel2(QImageH handle, const QPointH pt, uint index_or_rgb) { ((QImage *)handle)->setPixel(*(const QPoint*)pt, index_or_rgb); } void QImage_fill(QImageH handle, uint pixel) { ((QImage *)handle)->fill(pixel); } bool QImage_hasAlphaChannel(QImageH handle) { return (bool) ((QImage *)handle)->hasAlphaChannel(); } void QImage_setAlphaChannel(QImageH handle, const QImageH alphaChannel) { ((QImage *)handle)->setAlphaChannel(*(const QImage*)alphaChannel); } void QImage_alphaChannel(QImageH handle, QImageH retval) { *(QImage *)retval = ((QImage *)handle)->alphaChannel(); } void QImage_createAlphaMask(QImageH handle, QImageH retval, unsigned int flags) { *(QImage *)retval = ((QImage *)handle)->createAlphaMask((Qt::ImageConversionFlags)flags); } void QImage_createHeuristicMask(QImageH handle, QImageH retval, bool clipTight) { *(QImage *)retval = ((QImage *)handle)->createHeuristicMask(clipTight); } void QImage_createMaskFromColor(QImageH handle, QImageH retval, QRgb color, Qt::MaskMode mode) { *(QImage *)retval = ((QImage *)handle)->createMaskFromColor(color, mode); } void QImage_scaled(QImageH handle, QImageH retval, int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) { *(QImage *)retval = ((QImage *)handle)->scaled(w, h, aspectMode, mode); } void QImage_scaled2(QImageH handle, QImageH retval, const QSizeH s, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) { *(QImage *)retval = ((QImage *)handle)->scaled(*(const QSize*)s, aspectMode, mode); } void QImage_scaledToWidth(QImageH handle, QImageH retval, int w, Qt::TransformationMode mode) { *(QImage *)retval = ((QImage *)handle)->scaledToWidth(w, mode); } void QImage_scaledToHeight(QImageH handle, QImageH retval, int h, Qt::TransformationMode mode) { *(QImage *)retval = ((QImage *)handle)->scaledToHeight(h, mode); } void QImage_transformed(QImageH handle, QImageH retval, const QMatrixH matrix, Qt::TransformationMode mode) { *(QImage *)retval = ((QImage *)handle)->transformed(*(const QMatrix*)matrix, mode); } void QImage_trueMatrix(QMatrixH retval, const QMatrixH AnonParam1, int w, int h) { *(QMatrix *)retval = QImage::trueMatrix(*(const QMatrix*)AnonParam1, w, h); } void QImage_transformed2(QImageH handle, QImageH retval, const QTransformH matrix, Qt::TransformationMode mode) { *(QImage *)retval = ((QImage *)handle)->transformed(*(const QTransform*)matrix, mode); } void QImage_trueMatrix2(QTransformH retval, const QTransformH AnonParam1, int w, int h) { *(QTransform *)retval = QImage::trueMatrix(*(const QTransform*)AnonParam1, w, h); } void QImage_mirrored(QImageH handle, QImageH retval, bool horizontally, bool vertically) { *(QImage *)retval = ((QImage *)handle)->mirrored(horizontally, vertically); } void QImage_rgbSwapped(QImageH handle, QImageH retval) { *(QImage *)retval = ((QImage *)handle)->rgbSwapped(); } void QImage_invertPixels(QImageH handle, QImage::InvertMode AnonParam1) { ((QImage *)handle)->invertPixels(AnonParam1); } bool QImage_load(QImageH handle, QIODeviceH device, const char* format) { return (bool) ((QImage *)handle)->load((QIODevice*)device, format); } bool QImage_load2(QImageH handle, PWideString fileName, const char* format) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (bool) ((QImage *)handle)->load(t_fileName, format); } bool QImage_loadFromData(QImageH handle, const uchar* buf, int len, const char* format) { return (bool) ((QImage *)handle)->loadFromData(buf, len, format); } bool QImage_loadFromData2(QImageH handle, const QByteArrayH data, const char* aformat) { return (bool) ((QImage *)handle)->loadFromData(*(const QByteArray*)data, aformat); } bool QImage_save(QImageH handle, PWideString fileName, const char* format, int quality) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (bool) ((QImage *)handle)->save(t_fileName, format, quality); } bool QImage_save2(QImageH handle, QIODeviceH device, const char* format, int quality) { return (bool) ((QImage *)handle)->save((QIODevice*)device, format, quality); } void QImage_fromData(QImageH retval, const uchar* data, int size, const char* format) { *(QImage *)retval = QImage::fromData(data, size, format); } void QImage_fromData2(QImageH retval, const QByteArrayH data, const char* format) { *(QImage *)retval = QImage::fromData(*(const QByteArray*)data, format); } int QImage_serialNumber(QImageH handle) { return (int) ((QImage *)handle)->serialNumber(); } qint64 QImage_cacheKey(QImageH handle) { return (qint64) ((QImage *)handle)->cacheKey(); } QPaintEngineH QImage_paintEngine(QImageH handle) { return (QPaintEngineH) ((QImage *)handle)->paintEngine(); } int QImage_dotsPerMeterX(QImageH handle) { return (int) ((QImage *)handle)->dotsPerMeterX(); } int QImage_dotsPerMeterY(QImageH handle) { return (int) ((QImage *)handle)->dotsPerMeterY(); } void QImage_setDotsPerMeterX(QImageH handle, int AnonParam1) { ((QImage *)handle)->setDotsPerMeterX(AnonParam1); } void QImage_setDotsPerMeterY(QImageH handle, int AnonParam1) { ((QImage *)handle)->setDotsPerMeterY(AnonParam1); } void QImage_offset(QImageH handle, PQtPoint retval) { *(QPoint *)retval = ((QImage *)handle)->offset(); } void QImage_setOffset(QImageH handle, const QPointH AnonParam1) { ((QImage *)handle)->setOffset(*(const QPoint*)AnonParam1); } void QImage_textKeys(QImageH handle, QStringListH retval) { *(QStringList *)retval = ((QImage *)handle)->textKeys(); } void QImage_text(QImageH handle, PWideString retval, PWideString key) { QString t_retval; QString t_key; copyPWideStringToQString(key, t_key); t_retval = ((QImage *)handle)->text(t_key); copyQStringToPWideString(t_retval, retval); } void QImage_setText(QImageH handle, PWideString key, PWideString value) { QString t_key; QString t_value; copyPWideStringToQString(key, t_key); copyPWideStringToQString(value, t_value); ((QImage *)handle)->setText(t_key, t_value); } void QImage_text2(QImageH handle, PWideString retval, const char* key, const char* lang) { QString t_retval; t_retval = ((QImage *)handle)->text(key, lang); copyQStringToPWideString(t_retval, retval); } void QImage_textLanguages(QImageH handle, QStringListH retval) { *(QStringList *)retval = ((QImage *)handle)->textLanguages(); } void QImage_setText2(QImageH handle, const char* key, const char* lang, PWideString AnonParam3) { QString t_AnonParam3; copyPWideStringToQString(AnonParam3, t_AnonParam3); ((QImage *)handle)->setText(key, lang, t_AnonParam3); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintpreviewdialog_hook.h0000664000212600021260000000273211677135472022327 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPRINTPREVIEWDIALOG_HOOK_H #define QPRINTPREVIEWDIALOG_HOOK_H #include #include "qdialog_hook.h" class QPrintPreviewDialog_hook : public QDialog_hook { Q_OBJECT public: QPrintPreviewDialog_hook(QObject *handle) : QDialog_hook(handle) { paintRequested_event.func = NULL; } void hook_paintRequested(QHook &hook) { if ( !paintRequested_event.func ) connect(handle, SIGNAL(paintRequested(QPrinter*)), this, SLOT(paintRequested_hook(QPrinter*))); paintRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(paintRequested(QPrinter*)), this, SLOT(paintRequested_hook(QPrinter*))); } private slots: void paintRequested_hook(QPrinter* printer) { if ( paintRequested_event.func ) { typedef void (*func_type)(void *data, QPrinterH printer); (*(func_type)paintRequested_event.func)(paintRequested_event.data, (QPrinterH)printer); } } private: QHook paintRequested_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcursor_c.h0000664000212600021260000000350511677135472017207 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCURSOR_C_H #define QCURSOR_C_H #include #include "pascalbind.h" C_EXPORT QCursorH QCursor_create(); C_EXPORT void QCursor_destroy(QCursorH handle); C_EXPORT QCursorH QCursor_create2(Qt::CursorShape shape); C_EXPORT QCursorH QCursor_create3(const QBitmapH bitmap, const QBitmapH mask, int hotX, int hotY); C_EXPORT QCursorH QCursor_create4(const QPixmapH pixmap, int hotX, int hotY); C_EXPORT QCursorH QCursor_create5(const QCursorH cursor); C_EXPORT Qt::CursorShape QCursor_shape(QCursorH handle); C_EXPORT void QCursor_setShape(QCursorH handle, Qt::CursorShape newShape); C_EXPORT const QBitmapH QCursor_bitmap(QCursorH handle); C_EXPORT const QBitmapH QCursor_mask(QCursorH handle); C_EXPORT void QCursor_pixmap(QCursorH handle, QPixmapH retval); C_EXPORT void QCursor_hotSpot(QCursorH handle, PQtPoint retval); C_EXPORT void QCursor_pos(PQtPoint retval); C_EXPORT void QCursor_setPos(int x, int y); C_EXPORT void QCursor_setPos2(const QPointH p); #if defined BINUX || DARWIN C_EXPORT Qt::HANDLE QCursor_handle(QCursorH handle); #endif #if defined BINUX C_EXPORT QCursorH QCursor_create6(Qt::HANDLE cursor); C_EXPORT int QCursor_x11Screen(); #endif #if defined MSWINDOWS C_EXPORT HCURSOR QCursor_handle2(QCursorH handle); C_EXPORT QCursorH QCursor_create7(HCURSOR cursor); #endif #if defined QTOPIA C_EXPORT int QCursor_handle3(QCursorH handle); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebsecurityorigin_c.h0000664000212600021260000000257411677135472021454 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBSECURITYORIGIN_C_H #define QWEBSECURITYORIGIN_C_H #include #include "pascalbind.h" C_EXPORT void QWebSecurityOrigin_allOrigins(PPtrIntArray retval); C_EXPORT void QWebSecurityOrigin_scheme(QWebSecurityOriginH handle, PWideString retval); C_EXPORT void QWebSecurityOrigin_host(QWebSecurityOriginH handle, PWideString retval); C_EXPORT int QWebSecurityOrigin_port(QWebSecurityOriginH handle); C_EXPORT qint64 QWebSecurityOrigin_databaseUsage(QWebSecurityOriginH handle); C_EXPORT qint64 QWebSecurityOrigin_databaseQuota(QWebSecurityOriginH handle); C_EXPORT void QWebSecurityOrigin_setDatabaseQuota(QWebSecurityOriginH handle, qint64 quota); C_EXPORT void QWebSecurityOrigin_databases(QWebSecurityOriginH handle, PPtrIntArray retval); C_EXPORT QWebSecurityOriginH QWebSecurityOrigin_create(const QWebSecurityOriginH other); C_EXPORT void QWebSecurityOrigin_destroy(QWebSecurityOriginH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qaction_hook.h0000664000212600021260000000661511677135472017672 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QACTION_HOOK_H #define QACTION_HOOK_H #include #include "qobject_hook.h" class QAction_hook : public QObject_hook { Q_OBJECT public: QAction_hook(QObject *handle) : QObject_hook(handle) { changed_event.func = NULL; triggered_event.func = NULL; triggered2_event.func = NULL; hovered_event.func = NULL; toggled_event.func = NULL; } void hook_changed(QHook &hook) { if ( !changed_event.func ) connect(handle, SIGNAL(changed()), this, SLOT(changed_hook())); changed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(changed()), this, SLOT(changed_hook())); } void hook_triggered(QHook &hook) { if ( !triggered_event.func ) connect(handle, SIGNAL(triggered(bool)), this, SLOT(triggered_hook(bool))); triggered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(triggered(bool)), this, SLOT(triggered_hook(bool))); } void hook_triggered2(QHook &hook) { if ( !triggered2_event.func ) connect(handle, SIGNAL(triggered()), this, SLOT(triggered2_hook())); triggered2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(triggered()), this, SLOT(triggered2_hook())); } void hook_hovered(QHook &hook) { if ( !hovered_event.func ) connect(handle, SIGNAL(hovered()), this, SLOT(hovered_hook())); hovered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(hovered()), this, SLOT(hovered_hook())); } void hook_toggled(QHook &hook) { if ( !toggled_event.func ) connect(handle, SIGNAL(toggled(bool)), this, SLOT(toggled_hook(bool))); toggled_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(toggled(bool)), this, SLOT(toggled_hook(bool))); } private slots: void changed_hook() { if ( changed_event.func ) { typedef void (*func_type)(void *data); (*(func_type)changed_event.func)(changed_event.data); } } void triggered_hook(bool checked) { if ( triggered_event.func ) { typedef void (*func_type)(void *data, bool checked); (*(func_type)triggered_event.func)(triggered_event.data, checked); } } void triggered2_hook() { if ( triggered2_event.func ) { typedef void (*func_type)(void *data); (*(func_type)triggered2_event.func)(triggered2_event.data); } } void hovered_hook() { if ( hovered_event.func ) { typedef void (*func_type)(void *data); (*(func_type)hovered_event.func)(hovered_event.data); } } void toggled_hook(bool AnonParam1) { if ( toggled_event.func ) { typedef void (*func_type)(void *data, bool AnonParam1); (*(func_type)toggled_event.func)(toggled_event.data, AnonParam1); } } private: QHook changed_event; QHook triggered_event; QHook triggered2_event; QHook hovered_event; QHook toggled_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsplitter_c.cpp0000664000212600021260000001154611677135472020077 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsplitter_c.h" QSplitterH QSplitter_create(QWidgetH parent) { return (QSplitterH) new QSplitter((QWidget*)parent); } void QSplitter_destroy(QSplitterH handle) { delete (QSplitter *)handle; } QSplitterH QSplitter_create2(Qt::Orientation AnonParam1, QWidgetH parent) { return (QSplitterH) new QSplitter(AnonParam1, (QWidget*)parent); } void QSplitter_addWidget(QSplitterH handle, QWidgetH widget) { ((QSplitter *)handle)->addWidget((QWidget*)widget); } void QSplitter_insertWidget(QSplitterH handle, int index, QWidgetH widget) { ((QSplitter *)handle)->insertWidget(index, (QWidget*)widget); } void QSplitter_setOrientation(QSplitterH handle, Qt::Orientation AnonParam1) { ((QSplitter *)handle)->setOrientation(AnonParam1); } Qt::Orientation QSplitter_orientation(QSplitterH handle) { return (Qt::Orientation) ((QSplitter *)handle)->orientation(); } void QSplitter_setChildrenCollapsible(QSplitterH handle, bool AnonParam1) { ((QSplitter *)handle)->setChildrenCollapsible(AnonParam1); } bool QSplitter_childrenCollapsible(QSplitterH handle) { return (bool) ((QSplitter *)handle)->childrenCollapsible(); } void QSplitter_setCollapsible(QSplitterH handle, int index, bool AnonParam2) { ((QSplitter *)handle)->setCollapsible(index, AnonParam2); } bool QSplitter_isCollapsible(QSplitterH handle, int index) { return (bool) ((QSplitter *)handle)->isCollapsible(index); } void QSplitter_setOpaqueResize(QSplitterH handle, bool opaque) { ((QSplitter *)handle)->setOpaqueResize(opaque); } bool QSplitter_opaqueResize(QSplitterH handle) { return (bool) ((QSplitter *)handle)->opaqueResize(); } void QSplitter_refresh(QSplitterH handle) { ((QSplitter *)handle)->refresh(); } void QSplitter_sizeHint(QSplitterH handle, PSize retval) { *(QSize *)retval = ((QSplitter *)handle)->sizeHint(); } void QSplitter_minimumSizeHint(QSplitterH handle, PSize retval) { *(QSize *)retval = ((QSplitter *)handle)->minimumSizeHint(); } void QSplitter_sizes(QSplitterH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QSplitter *)handle)->sizes(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QSplitter_setSizes(QSplitterH handle, PPtrIntArray list) { QList t_list; copyPtrIntArrayToQListTemplate(list, t_list); ((QSplitter *)handle)->setSizes(t_list); } void QSplitter_saveState(QSplitterH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QSplitter *)handle)->saveState(); } bool QSplitter_restoreState(QSplitterH handle, const QByteArrayH state) { return (bool) ((QSplitter *)handle)->restoreState(*(const QByteArray*)state); } int QSplitter_handleWidth(QSplitterH handle) { return (int) ((QSplitter *)handle)->handleWidth(); } void QSplitter_setHandleWidth(QSplitterH handle, int AnonParam1) { ((QSplitter *)handle)->setHandleWidth(AnonParam1); } int QSplitter_indexOf(QSplitterH handle, QWidgetH w) { return (int) ((QSplitter *)handle)->indexOf((QWidget*)w); } QWidgetH QSplitter_widget(QSplitterH handle, int index) { return (QWidgetH) ((QSplitter *)handle)->widget(index); } int QSplitter_count(QSplitterH handle) { return (int) ((QSplitter *)handle)->count(); } void QSplitter_getRange(QSplitterH handle, int index, int* AnonParam2, int* AnonParam3) { ((QSplitter *)handle)->getRange(index, AnonParam2, AnonParam3); } QSplitterHandleH QSplitter_handle(QSplitterH handle, int index) { return (QSplitterHandleH) ((QSplitter *)handle)->handle(index); } void QSplitter_setStretchFactor(QSplitterH handle, int index, int stretch) { ((QSplitter *)handle)->setStretchFactor(index, stretch); } QSplitterHandleH QSplitterHandle_create(Qt::Orientation o, QSplitterH parent) { return (QSplitterHandleH) new QSplitterHandle(o, (QSplitter*)parent); } void QSplitterHandle_destroy(QSplitterHandleH handle) { delete (QSplitterHandle *)handle; } void QSplitterHandle_setOrientation(QSplitterHandleH handle, Qt::Orientation o) { ((QSplitterHandle *)handle)->setOrientation(o); } Qt::Orientation QSplitterHandle_orientation(QSplitterHandleH handle) { return (Qt::Orientation) ((QSplitterHandle *)handle)->orientation(); } bool QSplitterHandle_opaqueResize(QSplitterHandleH handle) { return (bool) ((QSplitterHandle *)handle)->opaqueResize(); } QSplitterH QSplitterHandle_splitter(QSplitterHandleH handle) { return (QSplitterH) ((QSplitterHandle *)handle)->splitter(); } void QSplitterHandle_sizeHint(QSplitterHandleH handle, PSize retval) { *(QSize *)retval = ((QSplitterHandle *)handle)->sizeHint(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclthread.h0000644000212600021260000000167211677135472017333 0ustar janjan#ifndef QLCLTHREAD_H #define QLCLTHREAD_H #include #include "pascalbind.h" class QLCLThread : public QThread { public: //==================================================================================== QLCLThread(QObject * parent = 0) : QThread(parent) { runOverride.func = NULL; }; //==================================================================================== void override_run(const QOverrideHook hook) { runOverride = hook; }; //==================================================================================== int exec() { return QThread::exec(); }; protected: void run () { if (runOverride.func) { typedef void (*func_type)(void *data); (*(func_type)runOverride.func)(runOverride.data); } else QThread::run(); }; private: //==================================================================================== QOverrideHook runOverride; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qkeysequence_c.cpp0000664000212600021260000000452611677135472020552 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qkeysequence_c.h" QKeySequenceH QKeySequence_create() { return (QKeySequenceH) new QKeySequence(); } void QKeySequence_destroy(QKeySequenceH handle) { delete (QKeySequence *)handle; } QKeySequenceH QKeySequence_create2(PWideString key) { QString t_key; copyPWideStringToQString(key, t_key); return (QKeySequenceH) new QKeySequence(t_key); } QKeySequenceH QKeySequence_create3(int k1, int k2, int k3, int k4) { return (QKeySequenceH) new QKeySequence(k1, k2, k3, k4); } QKeySequenceH QKeySequence_create4(const QKeySequenceH ks) { return (QKeySequenceH) new QKeySequence(*(const QKeySequence*)ks); } QKeySequenceH QKeySequence_create5(QKeySequence::StandardKey key) { return (QKeySequenceH) new QKeySequence(key); } uint QKeySequence_count(QKeySequenceH handle) { return (uint) ((QKeySequence *)handle)->count(); } bool QKeySequence_isEmpty(QKeySequenceH handle) { return (bool) ((QKeySequence *)handle)->isEmpty(); } void QKeySequence_toString(QKeySequenceH handle, PWideString retval, QKeySequence::SequenceFormat format) { QString t_retval; t_retval = ((QKeySequence *)handle)->toString(format); copyQStringToPWideString(t_retval, retval); } void QKeySequence_fromString(QKeySequenceH retval, PWideString str, QKeySequence::SequenceFormat format) { QString t_str; copyPWideStringToQString(str, t_str); *(QKeySequence *)retval = QKeySequence::fromString(t_str, format); } QKeySequence::SequenceMatch QKeySequence_matches(QKeySequenceH handle, const QKeySequenceH seq) { return (QKeySequence::SequenceMatch) ((QKeySequence *)handle)->matches(*(const QKeySequence*)seq); } void QKeySequence_mnemonic(QKeySequenceH retval, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); *(QKeySequence *)retval = QKeySequence::mnemonic(t_text); } bool QKeySequence_isDetached(QKeySequenceH handle) { return (bool) ((QKeySequence *)handle)->isDetached(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlcdnumber_hook.h0000664000212600021260000000240011677135472020354 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLCDNUMBER_HOOK_H #define QLCDNUMBER_HOOK_H #include #include "qframe_hook.h" class QLCDNumber_hook : public QFrame_hook { Q_OBJECT public: QLCDNumber_hook(QObject *handle) : QFrame_hook(handle) { overflow_event.func = NULL; } void hook_overflow(QHook &hook) { if ( !overflow_event.func ) connect(handle, SIGNAL(overflow()), this, SLOT(overflow_hook())); overflow_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(overflow()), this, SLOT(overflow_hook())); } private slots: void overflow_hook() { if ( overflow_event.func ) { typedef void (*func_type)(void *data); (*(func_type)overflow_event.func)(overflow_event.data); } } private: QHook overflow_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlistwidget_c.cpp0000664000212600021260000003204711677135472020407 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlistwidget_c.h" QListWidgetItemH QListWidgetItem_create(QListWidgetH view, int type) { return (QListWidgetItemH) new QListWidgetItem((QListWidget*)view, type); } void QListWidgetItem_destroy(QListWidgetItemH handle) { delete (QListWidgetItem *)handle; } QListWidgetItemH QListWidgetItem_create2(PWideString text, QListWidgetH view, int type) { QString t_text; copyPWideStringToQString(text, t_text); return (QListWidgetItemH) new QListWidgetItem(t_text, (QListWidget*)view, type); } QListWidgetItemH QListWidgetItem_create3(const QIconH icon, PWideString text, QListWidgetH view, int type) { QString t_text; copyPWideStringToQString(text, t_text); return (QListWidgetItemH) new QListWidgetItem(*(const QIcon*)icon, t_text, (QListWidget*)view, type); } QListWidgetItemH QListWidgetItem_create4(const QListWidgetItemH other) { return (QListWidgetItemH) new QListWidgetItem(*(const QListWidgetItem*)other); } QListWidgetItemH QListWidgetItem_clone(QListWidgetItemH handle) { return (QListWidgetItemH) ((QListWidgetItem *)handle)->clone(); } QListWidgetH QListWidgetItem_listWidget(QListWidgetItemH handle) { return (QListWidgetH) ((QListWidgetItem *)handle)->listWidget(); } void QListWidgetItem_setSelected(QListWidgetItemH handle, bool select) { ((QListWidgetItem *)handle)->setSelected(select); } bool QListWidgetItem_isSelected(QListWidgetItemH handle) { return (bool) ((QListWidgetItem *)handle)->isSelected(); } void QListWidgetItem_setHidden(QListWidgetItemH handle, bool hide) { ((QListWidgetItem *)handle)->setHidden(hide); } bool QListWidgetItem_isHidden(QListWidgetItemH handle) { return (bool) ((QListWidgetItem *)handle)->isHidden(); } unsigned int QListWidgetItem_flags(QListWidgetItemH handle) { return (unsigned int) ((QListWidgetItem *)handle)->flags(); } void QListWidgetItem_setFlags(QListWidgetItemH handle, unsigned int flags) { ((QListWidgetItem *)handle)->setFlags((Qt::ItemFlags)flags); } void QListWidgetItem_text(QListWidgetItemH handle, PWideString retval) { QString t_retval; t_retval = ((QListWidgetItem *)handle)->text(); copyQStringToPWideString(t_retval, retval); } void QListWidgetItem_setText(QListWidgetItemH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QListWidgetItem *)handle)->setText(t_text); } void QListWidgetItem_icon(QListWidgetItemH handle, QIconH retval) { *(QIcon *)retval = ((QListWidgetItem *)handle)->icon(); } void QListWidgetItem_setIcon(QListWidgetItemH handle, const QIconH icon) { ((QListWidgetItem *)handle)->setIcon(*(const QIcon*)icon); } void QListWidgetItem_statusTip(QListWidgetItemH handle, PWideString retval) { QString t_retval; t_retval = ((QListWidgetItem *)handle)->statusTip(); copyQStringToPWideString(t_retval, retval); } void QListWidgetItem_setStatusTip(QListWidgetItemH handle, PWideString statusTip) { QString t_statusTip; copyPWideStringToQString(statusTip, t_statusTip); ((QListWidgetItem *)handle)->setStatusTip(t_statusTip); } void QListWidgetItem_toolTip(QListWidgetItemH handle, PWideString retval) { QString t_retval; t_retval = ((QListWidgetItem *)handle)->toolTip(); copyQStringToPWideString(t_retval, retval); } void QListWidgetItem_setToolTip(QListWidgetItemH handle, PWideString toolTip) { QString t_toolTip; copyPWideStringToQString(toolTip, t_toolTip); ((QListWidgetItem *)handle)->setToolTip(t_toolTip); } void QListWidgetItem_whatsThis(QListWidgetItemH handle, PWideString retval) { QString t_retval; t_retval = ((QListWidgetItem *)handle)->whatsThis(); copyQStringToPWideString(t_retval, retval); } void QListWidgetItem_setWhatsThis(QListWidgetItemH handle, PWideString whatsThis) { QString t_whatsThis; copyPWideStringToQString(whatsThis, t_whatsThis); ((QListWidgetItem *)handle)->setWhatsThis(t_whatsThis); } void QListWidgetItem_font(QListWidgetItemH handle, QFontH retval) { *(QFont *)retval = ((QListWidgetItem *)handle)->font(); } void QListWidgetItem_setFont(QListWidgetItemH handle, const QFontH font) { ((QListWidgetItem *)handle)->setFont(*(const QFont*)font); } int QListWidgetItem_textAlignment(QListWidgetItemH handle) { return (int) ((QListWidgetItem *)handle)->textAlignment(); } void QListWidgetItem_setTextAlignment(QListWidgetItemH handle, int alignment) { ((QListWidgetItem *)handle)->setTextAlignment(alignment); } void QListWidgetItem_backgroundColor(QListWidgetItemH handle, PQColor retval) { *(QColor *)retval = ((QListWidgetItem *)handle)->backgroundColor(); } void QListWidgetItem_setBackgroundColor(QListWidgetItemH handle, const QColorH color) { ((QListWidgetItem *)handle)->setBackgroundColor(*(const QColor*)color); } void QListWidgetItem_background(QListWidgetItemH handle, QBrushH retval) { *(QBrush *)retval = ((QListWidgetItem *)handle)->background(); } void QListWidgetItem_setBackground(QListWidgetItemH handle, const QBrushH brush) { ((QListWidgetItem *)handle)->setBackground(*(const QBrush*)brush); } void QListWidgetItem_textColor(QListWidgetItemH handle, PQColor retval) { *(QColor *)retval = ((QListWidgetItem *)handle)->textColor(); } void QListWidgetItem_setTextColor(QListWidgetItemH handle, const QColorH color) { ((QListWidgetItem *)handle)->setTextColor(*(const QColor*)color); } void QListWidgetItem_foreground(QListWidgetItemH handle, QBrushH retval) { *(QBrush *)retval = ((QListWidgetItem *)handle)->foreground(); } void QListWidgetItem_setForeground(QListWidgetItemH handle, const QBrushH brush) { ((QListWidgetItem *)handle)->setForeground(*(const QBrush*)brush); } Qt::CheckState QListWidgetItem_checkState(QListWidgetItemH handle) { return (Qt::CheckState) ((QListWidgetItem *)handle)->checkState(); } void QListWidgetItem_setCheckState(QListWidgetItemH handle, Qt::CheckState state) { ((QListWidgetItem *)handle)->setCheckState(state); } void QListWidgetItem_sizeHint(QListWidgetItemH handle, PSize retval) { *(QSize *)retval = ((QListWidgetItem *)handle)->sizeHint(); } void QListWidgetItem_setSizeHint(QListWidgetItemH handle, const QSizeH size) { ((QListWidgetItem *)handle)->setSizeHint(*(const QSize*)size); } void QListWidgetItem_data(QListWidgetItemH handle, QVariantH retval, int role) { *(QVariant *)retval = ((QListWidgetItem *)handle)->data(role); } void QListWidgetItem_setData(QListWidgetItemH handle, int role, const QVariantH value) { ((QListWidgetItem *)handle)->setData(role, *(const QVariant*)value); } void QListWidgetItem_read(QListWidgetItemH handle, QDataStreamH in) { ((QListWidgetItem *)handle)->read(*(QDataStream*)in); } void QListWidgetItem_write(QListWidgetItemH handle, QDataStreamH out) { ((QListWidgetItem *)handle)->write(*(QDataStream*)out); } int QListWidgetItem_type(QListWidgetItemH handle) { return (int) ((QListWidgetItem *)handle)->type(); } QListWidgetH QListWidget_create(QWidgetH parent) { return (QListWidgetH) new QListWidget((QWidget*)parent); } void QListWidget_destroy(QListWidgetH handle) { delete (QListWidget *)handle; } QListWidgetItemH QListWidget_item(QListWidgetH handle, int row) { return (QListWidgetItemH) ((QListWidget *)handle)->item(row); } int QListWidget_row(QListWidgetH handle, const QListWidgetItemH item) { return (int) ((QListWidget *)handle)->row((const QListWidgetItem*)item); } void QListWidget_insertItem(QListWidgetH handle, int row, QListWidgetItemH item) { ((QListWidget *)handle)->insertItem(row, (QListWidgetItem*)item); } void QListWidget_insertItem2(QListWidgetH handle, int row, PWideString label) { QString t_label; copyPWideStringToQString(label, t_label); ((QListWidget *)handle)->insertItem(row, t_label); } void QListWidget_insertItems(QListWidgetH handle, int row, const QStringListH labels) { ((QListWidget *)handle)->insertItems(row, *(const QStringList*)labels); } void QListWidget_addItem(QListWidgetH handle, PWideString label) { QString t_label; copyPWideStringToQString(label, t_label); ((QListWidget *)handle)->addItem(t_label); } void QListWidget_addItem2(QListWidgetH handle, QListWidgetItemH item) { ((QListWidget *)handle)->addItem((QListWidgetItem*)item); } void QListWidget_addItems(QListWidgetH handle, const QStringListH labels) { ((QListWidget *)handle)->addItems(*(const QStringList*)labels); } QListWidgetItemH QListWidget_takeItem(QListWidgetH handle, int row) { return (QListWidgetItemH) ((QListWidget *)handle)->takeItem(row); } int QListWidget_count(QListWidgetH handle) { return (int) ((QListWidget *)handle)->count(); } QListWidgetItemH QListWidget_currentItem(QListWidgetH handle) { return (QListWidgetItemH) ((QListWidget *)handle)->currentItem(); } void QListWidget_setCurrentItem(QListWidgetH handle, QListWidgetItemH item) { ((QListWidget *)handle)->setCurrentItem((QListWidgetItem*)item); } void QListWidget_setCurrentItem2(QListWidgetH handle, QListWidgetItemH item, unsigned int command) { ((QListWidget *)handle)->setCurrentItem((QListWidgetItem*)item, (QItemSelectionModel::SelectionFlags)command); } int QListWidget_currentRow(QListWidgetH handle) { return (int) ((QListWidget *)handle)->currentRow(); } void QListWidget_setCurrentRow(QListWidgetH handle, int row) { ((QListWidget *)handle)->setCurrentRow(row); } void QListWidget_setCurrentRow2(QListWidgetH handle, int row, unsigned int command) { ((QListWidget *)handle)->setCurrentRow(row, (QItemSelectionModel::SelectionFlags)command); } QListWidgetItemH QListWidget_itemAt(QListWidgetH handle, const QPointH p) { return (QListWidgetItemH) ((QListWidget *)handle)->itemAt(*(const QPoint*)p); } QListWidgetItemH QListWidget_itemAt2(QListWidgetH handle, int x, int y) { return (QListWidgetItemH) ((QListWidget *)handle)->itemAt(x, y); } void QListWidget_visualItemRect(QListWidgetH handle, PRect retval, const QListWidgetItemH item) { QRect t_retval; t_retval = ((QListWidget *)handle)->visualItemRect((const QListWidgetItem*)item); copyQRectToPRect(t_retval, retval); } void QListWidget_sortItems(QListWidgetH handle, Qt::SortOrder order) { ((QListWidget *)handle)->sortItems(order); } void QListWidget_setSortingEnabled(QListWidgetH handle, bool enable) { ((QListWidget *)handle)->setSortingEnabled(enable); } bool QListWidget_isSortingEnabled(QListWidgetH handle) { return (bool) ((QListWidget *)handle)->isSortingEnabled(); } void QListWidget_editItem(QListWidgetH handle, QListWidgetItemH item) { ((QListWidget *)handle)->editItem((QListWidgetItem*)item); } void QListWidget_openPersistentEditor(QListWidgetH handle, QListWidgetItemH item) { ((QListWidget *)handle)->openPersistentEditor((QListWidgetItem*)item); } void QListWidget_closePersistentEditor(QListWidgetH handle, QListWidgetItemH item) { ((QListWidget *)handle)->closePersistentEditor((QListWidgetItem*)item); } QWidgetH QListWidget_itemWidget(QListWidgetH handle, QListWidgetItemH item) { return (QWidgetH) ((QListWidget *)handle)->itemWidget((QListWidgetItem*)item); } void QListWidget_setItemWidget(QListWidgetH handle, QListWidgetItemH item, QWidgetH widget) { ((QListWidget *)handle)->setItemWidget((QListWidgetItem*)item, (QWidget*)widget); } void QListWidget_removeItemWidget(QListWidgetH handle, QListWidgetItemH item) { ((QListWidget *)handle)->removeItemWidget((QListWidgetItem*)item); } bool QListWidget_isItemSelected(QListWidgetH handle, const QListWidgetItemH item) { return (bool) ((QListWidget *)handle)->isItemSelected((const QListWidgetItem*)item); } void QListWidget_setItemSelected(QListWidgetH handle, const QListWidgetItemH item, bool select) { ((QListWidget *)handle)->setItemSelected((const QListWidgetItem*)item, select); } void QListWidget_selectedItems(QListWidgetH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QListWidget *)handle)->selectedItems(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QListWidget_findItems(QListWidgetH handle, PPtrIntArray retval, PWideString text, unsigned int flags) { QList t_retval; QString t_text; copyPWideStringToQString(text, t_text); t_retval = ((QListWidget *)handle)->findItems(t_text, (Qt::MatchFlags)flags); copyQListTemplateToPtrIntArray(t_retval, retval); } bool QListWidget_isItemHidden(QListWidgetH handle, const QListWidgetItemH item) { return (bool) ((QListWidget *)handle)->isItemHidden((const QListWidgetItem*)item); } void QListWidget_setItemHidden(QListWidgetH handle, const QListWidgetItemH item, bool hide) { ((QListWidget *)handle)->setItemHidden((const QListWidgetItem*)item, hide); } void QListWidget_dropEvent(QListWidgetH handle, QDropEventH event) { ((QListWidget *)handle)->dropEvent((QDropEvent*)event); } void QListWidget_scrollToItem(QListWidgetH handle, const QListWidgetItemH item, QAbstractItemView::ScrollHint hint) { ((QListWidget *)handle)->scrollToItem((const QListWidgetItem*)item, hint); } void QListWidget_clear(QListWidgetH handle) { ((QListWidget *)handle)->clear(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtabwidget_hook_c.cpp0000664000212600021260000000177511677135472021226 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtabwidget_hook_c.h" QTabWidget_hookH QTabWidget_hook_create(QObjectH handle) { return (QTabWidget_hookH) new QTabWidget_hook((QObject*)handle); } void QTabWidget_hook_destroy(QTabWidget_hookH handle) { delete (QTabWidget_hook *)handle; } void QTabWidget_hook_hook_currentChanged(QTabWidget_hookH handle, QHookH hook) { ((QTabWidget_hook *)handle)->hook_currentChanged(hook); } void QTabWidget_hook_hook_tabCloseRequested(QTabWidget_hookH handle, QHookH hook) { ((QTabWidget_hook *)handle)->hook_tabCloseRequested(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qplaintextedit_hook.h0000664000212600021260000001553511677135472021274 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPLAINTEXTEDIT_HOOK_H #define QPLAINTEXTEDIT_HOOK_H #include #include "qabstractscrollarea_hook.h" class QPlainTextEdit_hook : public QAbstractScrollArea_hook { Q_OBJECT public: QPlainTextEdit_hook(QObject *handle) : QAbstractScrollArea_hook(handle) { textChanged_event.func = NULL; undoAvailable_event.func = NULL; redoAvailable_event.func = NULL; copyAvailable_event.func = NULL; selectionChanged_event.func = NULL; cursorPositionChanged_event.func = NULL; updateRequest_event.func = NULL; blockCountChanged_event.func = NULL; modificationChanged_event.func = NULL; } void hook_textChanged(QHook &hook) { if ( !textChanged_event.func ) connect(handle, SIGNAL(textChanged()), this, SLOT(textChanged_hook())); textChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(textChanged()), this, SLOT(textChanged_hook())); } void hook_undoAvailable(QHook &hook) { if ( !undoAvailable_event.func ) connect(handle, SIGNAL(undoAvailable(bool)), this, SLOT(undoAvailable_hook(bool))); undoAvailable_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(undoAvailable(bool)), this, SLOT(undoAvailable_hook(bool))); } void hook_redoAvailable(QHook &hook) { if ( !redoAvailable_event.func ) connect(handle, SIGNAL(redoAvailable(bool)), this, SLOT(redoAvailable_hook(bool))); redoAvailable_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(redoAvailable(bool)), this, SLOT(redoAvailable_hook(bool))); } void hook_copyAvailable(QHook &hook) { if ( !copyAvailable_event.func ) connect(handle, SIGNAL(copyAvailable(bool)), this, SLOT(copyAvailable_hook(bool))); copyAvailable_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(copyAvailable(bool)), this, SLOT(copyAvailable_hook(bool))); } void hook_selectionChanged(QHook &hook) { if ( !selectionChanged_event.func ) connect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); selectionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); } void hook_cursorPositionChanged(QHook &hook) { if ( !cursorPositionChanged_event.func ) connect(handle, SIGNAL(cursorPositionChanged()), this, SLOT(cursorPositionChanged_hook())); cursorPositionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(cursorPositionChanged()), this, SLOT(cursorPositionChanged_hook())); } void hook_updateRequest(QHook &hook) { if ( !updateRequest_event.func ) connect(handle, SIGNAL(updateRequest(const QRect&, int)), this, SLOT(updateRequest_hook(const QRect&, int))); updateRequest_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(updateRequest(const QRect&, int)), this, SLOT(updateRequest_hook(const QRect&, int))); } void hook_blockCountChanged(QHook &hook) { if ( !blockCountChanged_event.func ) connect(handle, SIGNAL(blockCountChanged(int)), this, SLOT(blockCountChanged_hook(int))); blockCountChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(blockCountChanged(int)), this, SLOT(blockCountChanged_hook(int))); } void hook_modificationChanged(QHook &hook) { if ( !modificationChanged_event.func ) connect(handle, SIGNAL(modificationChanged(bool)), this, SLOT(modificationChanged_hook(bool))); modificationChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(modificationChanged(bool)), this, SLOT(modificationChanged_hook(bool))); } private slots: void textChanged_hook() { if ( textChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)textChanged_event.func)(textChanged_event.data); } } void undoAvailable_hook(bool b) { if ( undoAvailable_event.func ) { typedef void (*func_type)(void *data, bool b); (*(func_type)undoAvailable_event.func)(undoAvailable_event.data, b); } } void redoAvailable_hook(bool b) { if ( redoAvailable_event.func ) { typedef void (*func_type)(void *data, bool b); (*(func_type)redoAvailable_event.func)(redoAvailable_event.data, b); } } void copyAvailable_hook(bool b) { if ( copyAvailable_event.func ) { typedef void (*func_type)(void *data, bool b); (*(func_type)copyAvailable_event.func)(copyAvailable_event.data, b); } } void selectionChanged_hook() { if ( selectionChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)selectionChanged_event.func)(selectionChanged_event.data); } } void cursorPositionChanged_hook() { if ( cursorPositionChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)cursorPositionChanged_event.func)(cursorPositionChanged_event.data); } } void updateRequest_hook(const QRect& rect, int dy) { if ( updateRequest_event.func ) { typedef void (*func_type)(void *data, PRect rect, int dy); PRect t_rect; copyQRectToPRect(rect, t_rect); (*(func_type)updateRequest_event.func)(updateRequest_event.data, t_rect, dy); } } void blockCountChanged_hook(int newBlockCount) { if ( blockCountChanged_event.func ) { typedef void (*func_type)(void *data, int newBlockCount); (*(func_type)blockCountChanged_event.func)(blockCountChanged_event.data, newBlockCount); } } void modificationChanged_hook(bool AnonParam1) { if ( modificationChanged_event.func ) { typedef void (*func_type)(void *data, bool AnonParam1); (*(func_type)modificationChanged_event.func)(modificationChanged_event.data, AnonParam1); } } private: QHook textChanged_event; QHook undoAvailable_event; QHook redoAvailable_event; QHook copyAvailable_event; QHook selectionChanged_event; QHook cursorPositionChanged_event; QHook updateRequest_event; QHook blockCountChanged_event; QHook modificationChanged_event; }; #include "qabstracttextdocumentlayout_hook.h" class QPlainTextDocumentLayout_hook : public QAbstractTextDocumentLayout_hook { Q_OBJECT public: QPlainTextDocumentLayout_hook(QObject *handle) : QAbstractTextDocumentLayout_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprogressbar_hook_c.h0000664000212600021260000000145211677135472021242 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPROGRESSBAR_HOOK_C_H #define QPROGRESSBAR_HOOK_C_H #include "qprogressbar_hook.h" C_EXPORT QProgressBar_hookH QProgressBar_hook_create(QObjectH handle); C_EXPORT void QProgressBar_hook_destroy(QProgressBar_hookH handle); C_EXPORT void QProgressBar_hook_hook_valueChanged(QProgressBar_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclthread_c.cpp0000664000212600021260000000161511677135472020167 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlclthread_c.h" QLCLThreadH QLCLThread_create(QObjectH parent) { return (QLCLThreadH) new QLCLThread((QObject*)parent); } void QLCLThread_destroy(QLCLThreadH handle) { delete (QLCLThread *)handle; } void QLCLThread_override_run(QLCLThreadH handle, const QOverrideHook hook) { ((QLCLThread *)handle)->override_run(hook); } int QLCLThread_exec(QLCLThreadH handle) { return (int) ((QLCLThread *)handle)->exec(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtranslator_c.h0000664000212600021260000000241311677135472020060 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTRANSLATOR_C_H #define QTRANSLATOR_C_H #include #include "pascalbind.h" C_EXPORT QTranslatorH QTranslator_create(QObjectH parent); C_EXPORT void QTranslator_destroy(QTranslatorH handle); C_EXPORT void QTranslator_translate(QTranslatorH handle, PWideString retval, const char* context, const char* sourceText, const char* disambiguation); C_EXPORT void QTranslator_translate2(QTranslatorH handle, PWideString retval, const char* context, const char* sourceText, const char* disambiguation, int n); C_EXPORT bool QTranslator_isEmpty(QTranslatorH handle); C_EXPORT bool QTranslator_load(QTranslatorH handle, PWideString filename, PWideString directory, PWideString search_delimiters, PWideString suffix); C_EXPORT bool QTranslator_load2(QTranslatorH handle, const uchar* data, int len); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qregion_c.h0000664000212600021260000000630611677135472017157 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QREGION_C_H #define QREGION_C_H #include #include "pascalbind.h" C_EXPORT QRegionH QRegion_create(); C_EXPORT void QRegion_destroy(QRegionH handle); C_EXPORT QRegionH QRegion_create2(int x, int y, int w, int h, QRegion::RegionType t); C_EXPORT QRegionH QRegion_create3(PRect r, QRegion::RegionType t); C_EXPORT QRegionH QRegion_create4(const QPolygonH pa, Qt::FillRule fillRule); C_EXPORT QRegionH QRegion_create5(const QRegionH region); C_EXPORT QRegionH QRegion_create6(const QBitmapH bitmap); C_EXPORT bool QRegion_isEmpty(QRegionH handle); C_EXPORT bool QRegion_contains(QRegionH handle, const QPointH p); C_EXPORT bool QRegion_contains2(QRegionH handle, PRect r); C_EXPORT void QRegion_translate(QRegionH handle, int dx, int dy); C_EXPORT void QRegion_translate2(QRegionH handle, const QPointH p); C_EXPORT void QRegion_translated(QRegionH handle, QRegionH retval, int dx, int dy); C_EXPORT void QRegion_translated2(QRegionH handle, QRegionH retval, const QPointH p); C_EXPORT void QRegion_unite(QRegionH handle, QRegionH retval, const QRegionH r); C_EXPORT void QRegion_unite2(QRegionH handle, QRegionH retval, PRect r); C_EXPORT void QRegion_intersect(QRegionH handle, QRegionH retval, const QRegionH r); C_EXPORT void QRegion_intersect2(QRegionH handle, QRegionH retval, PRect r); C_EXPORT void QRegion_subtract(QRegionH handle, QRegionH retval, const QRegionH r); C_EXPORT void QRegion_eor(QRegionH handle, QRegionH retval, const QRegionH r); C_EXPORT void QRegion_united(QRegionH handle, QRegionH retval, const QRegionH r); C_EXPORT void QRegion_united2(QRegionH handle, QRegionH retval, PRect r); C_EXPORT void QRegion_intersected(QRegionH handle, QRegionH retval, const QRegionH r); C_EXPORT void QRegion_intersected2(QRegionH handle, QRegionH retval, PRect r); C_EXPORT void QRegion_subtracted(QRegionH handle, QRegionH retval, const QRegionH r); C_EXPORT void QRegion_xored(QRegionH handle, QRegionH retval, const QRegionH r); C_EXPORT bool QRegion_intersects(QRegionH handle, const QRegionH r); C_EXPORT bool QRegion_intersects2(QRegionH handle, PRect r); C_EXPORT void QRegion_boundingRect(QRegionH handle, PRect retval); C_EXPORT void QRegion_setRects(QRegionH handle, PRect rect, int num); C_EXPORT int QRegion_numRects(QRegionH handle); #if defined BINUX C_EXPORT Region QRegion_handle(QRegionH handle); #endif #if defined MSWINDOWS C_EXPORT HRGN QRegion_handle2(QRegionH handle); #endif #if defined DARWIN C_EXPORT RgnHandle QRegion_handle3(QRegionH handle); C_EXPORT RgnHandle QRegion_handle4(QRegionH handle, bool AnonParam1); C_EXPORT void * QRegion_toHIMutableShape(QRegionH handle); C_EXPORT void QRegion_fromHIShapeRef(QRegionH retval, const void * shape); #endif #if defined QTOPIA C_EXPORT void* QRegion_handle5(QRegionH handle); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qbitmap_c.h0000664000212600021260000000250111677135472017141 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QBITMAP_C_H #define QBITMAP_C_H #include #include "pascalbind.h" C_EXPORT QBitmapH QBitmap_create(); C_EXPORT void QBitmap_destroy(QBitmapH handle); C_EXPORT QBitmapH QBitmap_create2(const QPixmapH AnonParam1); C_EXPORT QBitmapH QBitmap_create3(int w, int h); C_EXPORT QBitmapH QBitmap_create4(const QSizeH AnonParam1); C_EXPORT QBitmapH QBitmap_create5(PWideString fileName, const char* format); C_EXPORT void QBitmap_clear(QBitmapH handle); C_EXPORT void QBitmap_fromImage(QBitmapH retval, const QImageH image, unsigned int flags); C_EXPORT void QBitmap_fromData(QBitmapH retval, const QSizeH size, const uchar* bits, QImage::Format monoFormat); C_EXPORT void QBitmap_transformed(QBitmapH handle, QBitmapH retval, const QMatrixH AnonParam1); C_EXPORT void QBitmap_transformed2(QBitmapH handle, QBitmapH retval, const QTransformH matrix); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qudpsocket_hook_c.h0000664000212600021260000000130111677135472020703 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QUDPSOCKET_HOOK_C_H #define QUDPSOCKET_HOOK_C_H #include "qudpsocket_hook.h" C_EXPORT QUdpSocket_hookH QUdpSocket_hook_create(QObjectH handle); C_EXPORT void QUdpSocket_hook_destroy(QUdpSocket_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcoreevent_c.cpp0000664000212600021260000000521011677135472020212 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qcoreevent_c.h" QEventH QEvent_create(QEvent::Type type) { return (QEventH) new QEvent(type); } void QEvent_destroy(QEventH handle) { delete (QEvent *)handle; } QEvent::Type QEvent_type(QEventH handle) { return (QEvent::Type) ((QEvent *)handle)->type(); } bool QEvent_spontaneous(QEventH handle) { return (bool) ((QEvent *)handle)->spontaneous(); } void QEvent_setAccepted(QEventH handle, bool accepted) { ((QEvent *)handle)->setAccepted(accepted); } bool QEvent_isAccepted(QEventH handle) { return (bool) ((QEvent *)handle)->isAccepted(); } void QEvent_accept(QEventH handle) { ((QEvent *)handle)->accept(); } void QEvent_ignore(QEventH handle) { ((QEvent *)handle)->ignore(); } int QEvent_registerEventType(int hint) { return (int) QEvent::registerEventType(hint); } QTimerEventH QTimerEvent_create(int timerId) { return (QTimerEventH) new QTimerEvent(timerId); } void QTimerEvent_destroy(QTimerEventH handle) { delete (QTimerEvent *)handle; } int QTimerEvent_timerId(QTimerEventH handle) { return (int) ((QTimerEvent *)handle)->timerId(); } QChildEventH QChildEvent_create(QEvent::Type type, QObjectH child) { return (QChildEventH) new QChildEvent(type, (QObject*)child); } void QChildEvent_destroy(QChildEventH handle) { delete (QChildEvent *)handle; } QObjectH QChildEvent_child(QChildEventH handle) { return (QObjectH) ((QChildEvent *)handle)->child(); } bool QChildEvent_added(QChildEventH handle) { return (bool) ((QChildEvent *)handle)->added(); } bool QChildEvent_polished(QChildEventH handle) { return (bool) ((QChildEvent *)handle)->polished(); } bool QChildEvent_removed(QChildEventH handle) { return (bool) ((QChildEvent *)handle)->removed(); } QDynamicPropertyChangeEventH QDynamicPropertyChangeEvent_create(const QByteArrayH name) { return (QDynamicPropertyChangeEventH) new QDynamicPropertyChangeEvent(*(const QByteArray*)name); } void QDynamicPropertyChangeEvent_destroy(QDynamicPropertyChangeEventH handle) { delete (QDynamicPropertyChangeEvent *)handle; } void QDynamicPropertyChangeEvent_propertyName(QDynamicPropertyChangeEventH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QDynamicPropertyChangeEvent *)handle)->propertyName(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlineedit_c.h0000664000212600021260000001104211677135472017462 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLINEEDIT_C_H #define QLINEEDIT_C_H #include #include "pascalbind.h" C_EXPORT QLineEditH QLineEdit_create(QWidgetH parent); C_EXPORT void QLineEdit_destroy(QLineEditH handle); C_EXPORT QLineEditH QLineEdit_create2(PWideString AnonParam1, QWidgetH parent); C_EXPORT void QLineEdit_text(QLineEditH handle, PWideString retval); C_EXPORT void QLineEdit_displayText(QLineEditH handle, PWideString retval); C_EXPORT int QLineEdit_maxLength(QLineEditH handle); C_EXPORT void QLineEdit_setMaxLength(QLineEditH handle, int AnonParam1); C_EXPORT void QLineEdit_setFrame(QLineEditH handle, bool AnonParam1); C_EXPORT bool QLineEdit_hasFrame(QLineEditH handle); C_EXPORT QLineEdit::EchoMode QLineEdit_echoMode(QLineEditH handle); C_EXPORT void QLineEdit_setEchoMode(QLineEditH handle, QLineEdit::EchoMode AnonParam1); C_EXPORT bool QLineEdit_isReadOnly(QLineEditH handle); C_EXPORT void QLineEdit_setReadOnly(QLineEditH handle, bool AnonParam1); C_EXPORT void QLineEdit_setValidator(QLineEditH handle, const QValidatorH AnonParam1); C_EXPORT const QValidatorH QLineEdit_validator(QLineEditH handle); C_EXPORT void QLineEdit_setCompleter(QLineEditH handle, QCompleterH completer); C_EXPORT QCompleterH QLineEdit_completer(QLineEditH handle); C_EXPORT void QLineEdit_sizeHint(QLineEditH handle, PSize retval); C_EXPORT void QLineEdit_minimumSizeHint(QLineEditH handle, PSize retval); C_EXPORT int QLineEdit_cursorPosition(QLineEditH handle); C_EXPORT void QLineEdit_setCursorPosition(QLineEditH handle, int AnonParam1); C_EXPORT int QLineEdit_cursorPositionAt(QLineEditH handle, const QPointH pos); C_EXPORT void QLineEdit_setAlignment(QLineEditH handle, unsigned int flag); C_EXPORT unsigned int QLineEdit_alignment(QLineEditH handle); C_EXPORT void QLineEdit_cursorForward(QLineEditH handle, bool mark, int steps); C_EXPORT void QLineEdit_cursorBackward(QLineEditH handle, bool mark, int steps); C_EXPORT void QLineEdit_cursorWordForward(QLineEditH handle, bool mark); C_EXPORT void QLineEdit_cursorWordBackward(QLineEditH handle, bool mark); C_EXPORT void QLineEdit_backspace(QLineEditH handle); C_EXPORT void QLineEdit_del(QLineEditH handle); C_EXPORT void QLineEdit_home(QLineEditH handle, bool mark); C_EXPORT void QLineEdit_end(QLineEditH handle, bool mark); C_EXPORT bool QLineEdit_isModified(QLineEditH handle); C_EXPORT void QLineEdit_setModified(QLineEditH handle, bool AnonParam1); C_EXPORT void QLineEdit_setSelection(QLineEditH handle, int AnonParam1, int AnonParam2); C_EXPORT bool QLineEdit_hasSelectedText(QLineEditH handle); C_EXPORT void QLineEdit_selectedText(QLineEditH handle, PWideString retval); C_EXPORT int QLineEdit_selectionStart(QLineEditH handle); C_EXPORT bool QLineEdit_isUndoAvailable(QLineEditH handle); C_EXPORT bool QLineEdit_isRedoAvailable(QLineEditH handle); C_EXPORT void QLineEdit_setDragEnabled(QLineEditH handle, bool b); C_EXPORT bool QLineEdit_dragEnabled(QLineEditH handle); C_EXPORT void QLineEdit_inputMask(QLineEditH handle, PWideString retval); C_EXPORT void QLineEdit_setInputMask(QLineEditH handle, PWideString inputMask); C_EXPORT bool QLineEdit_hasAcceptableInput(QLineEditH handle); C_EXPORT void QLineEdit_setTextMargins(QLineEditH handle, int left, int top, int right, int bottom); C_EXPORT void QLineEdit_getTextMargins(QLineEditH handle, int* left, int* top, int* right, int* bottom); C_EXPORT void QLineEdit_setText(QLineEditH handle, PWideString AnonParam1); C_EXPORT void QLineEdit_clear(QLineEditH handle); C_EXPORT void QLineEdit_selectAll(QLineEditH handle); C_EXPORT void QLineEdit_undo(QLineEditH handle); C_EXPORT void QLineEdit_redo(QLineEditH handle); C_EXPORT void QLineEdit_cut(QLineEditH handle); C_EXPORT void QLineEdit_copy(QLineEditH handle); C_EXPORT void QLineEdit_paste(QLineEditH handle); C_EXPORT void QLineEdit_deselect(QLineEditH handle); C_EXPORT void QLineEdit_insert(QLineEditH handle, PWideString AnonParam1); C_EXPORT QMenuH QLineEdit_createStandardContextMenu(QLineEditH handle); C_EXPORT void QLineEdit_inputMethodQuery(QLineEditH handle, QVariantH retval, Qt::InputMethodQuery AnonParam1); C_EXPORT bool QLineEdit_event(QLineEditH handle, QEventH AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qregion_c.cpp0000664000212600021260000001271711677135472017515 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qregion_c.h" QRegionH QRegion_create() { return (QRegionH) new QRegion(); } void QRegion_destroy(QRegionH handle) { delete (QRegion *)handle; } QRegionH QRegion_create2(int x, int y, int w, int h, QRegion::RegionType t) { return (QRegionH) new QRegion(x, y, w, h, t); } QRegionH QRegion_create3(PRect r, QRegion::RegionType t) { QRect t_r; copyPRectToQRect(r, t_r); return (QRegionH) new QRegion(t_r, t); } QRegionH QRegion_create4(const QPolygonH pa, Qt::FillRule fillRule) { return (QRegionH) new QRegion(*(const QPolygon*)pa, fillRule); } QRegionH QRegion_create5(const QRegionH region) { return (QRegionH) new QRegion(*(const QRegion*)region); } QRegionH QRegion_create6(const QBitmapH bitmap) { return (QRegionH) new QRegion(*(const QBitmap*)bitmap); } bool QRegion_isEmpty(QRegionH handle) { return (bool) ((QRegion *)handle)->isEmpty(); } bool QRegion_contains(QRegionH handle, const QPointH p) { return (bool) ((QRegion *)handle)->contains(*(const QPoint*)p); } bool QRegion_contains2(QRegionH handle, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); return (bool) ((QRegion *)handle)->contains(t_r); } void QRegion_translate(QRegionH handle, int dx, int dy) { ((QRegion *)handle)->translate(dx, dy); } void QRegion_translate2(QRegionH handle, const QPointH p) { ((QRegion *)handle)->translate(*(const QPoint*)p); } void QRegion_translated(QRegionH handle, QRegionH retval, int dx, int dy) { *(QRegion *)retval = ((QRegion *)handle)->translated(dx, dy); } void QRegion_translated2(QRegionH handle, QRegionH retval, const QPointH p) { *(QRegion *)retval = ((QRegion *)handle)->translated(*(const QPoint*)p); } void QRegion_unite(QRegionH handle, QRegionH retval, const QRegionH r) { *(QRegion *)retval = ((QRegion *)handle)->unite(*(const QRegion*)r); } void QRegion_unite2(QRegionH handle, QRegionH retval, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); *(QRegion *)retval = ((QRegion *)handle)->unite(t_r); } void QRegion_intersect(QRegionH handle, QRegionH retval, const QRegionH r) { *(QRegion *)retval = ((QRegion *)handle)->intersect(*(const QRegion*)r); } void QRegion_intersect2(QRegionH handle, QRegionH retval, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); *(QRegion *)retval = ((QRegion *)handle)->intersect(t_r); } void QRegion_subtract(QRegionH handle, QRegionH retval, const QRegionH r) { *(QRegion *)retval = ((QRegion *)handle)->subtract(*(const QRegion*)r); } void QRegion_eor(QRegionH handle, QRegionH retval, const QRegionH r) { *(QRegion *)retval = ((QRegion *)handle)->eor(*(const QRegion*)r); } void QRegion_united(QRegionH handle, QRegionH retval, const QRegionH r) { *(QRegion *)retval = ((QRegion *)handle)->united(*(const QRegion*)r); } void QRegion_united2(QRegionH handle, QRegionH retval, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); *(QRegion *)retval = ((QRegion *)handle)->united(t_r); } void QRegion_intersected(QRegionH handle, QRegionH retval, const QRegionH r) { *(QRegion *)retval = ((QRegion *)handle)->intersected(*(const QRegion*)r); } void QRegion_intersected2(QRegionH handle, QRegionH retval, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); *(QRegion *)retval = ((QRegion *)handle)->intersected(t_r); } void QRegion_subtracted(QRegionH handle, QRegionH retval, const QRegionH r) { *(QRegion *)retval = ((QRegion *)handle)->subtracted(*(const QRegion*)r); } void QRegion_xored(QRegionH handle, QRegionH retval, const QRegionH r) { *(QRegion *)retval = ((QRegion *)handle)->xored(*(const QRegion*)r); } bool QRegion_intersects(QRegionH handle, const QRegionH r) { return (bool) ((QRegion *)handle)->intersects(*(const QRegion*)r); } bool QRegion_intersects2(QRegionH handle, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); return (bool) ((QRegion *)handle)->intersects(t_r); } void QRegion_boundingRect(QRegionH handle, PRect retval) { QRect t_retval; t_retval = ((QRegion *)handle)->boundingRect(); copyQRectToPRect(t_retval, retval); } void QRegion_setRects(QRegionH handle, PRect rect, int num) { QRect t_rect; if ( rect ) copyPRectToQRect(rect, t_rect); ((QRegion *)handle)->setRects(rect ? &t_rect : NULL, num); } int QRegion_numRects(QRegionH handle) { return (int) ((QRegion *)handle)->numRects(); } #if defined BINUX Region QRegion_handle(QRegionH handle) { return (Region) ((QRegion *)handle)->handle(); } #endif #if defined MSWINDOWS HRGN QRegion_handle2(QRegionH handle) { return (HRGN) ((QRegion *)handle)->handle(); } #endif #if defined DARWIN RgnHandle QRegion_handle3(QRegionH handle) { return (RgnHandle) ((QRegion *)handle)->handle(); } RgnHandle QRegion_handle4(QRegionH handle, bool AnonParam1) { return (RgnHandle) ((QRegion *)handle)->handle(AnonParam1); } void * QRegion_toHIMutableShape(QRegionH handle) { return (void *) ((QRegion *)handle)->toHIMutableShape(); } void QRegion_fromHIShapeRef(QRegionH retval, const void * shape) { *(QRegion *)retval = QRegion::fromHIShapeRef((HIShapeRef)shape); } #endif #if defined QTOPIA void* QRegion_handle5(QRegionH handle) { return (void*) ((QRegion *)handle)->handle(); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtooltip_c.cpp0000664000212600021260000000310511677135472017713 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtooltip_c.h" void QToolTip_showText(const QPointH pos, PWideString text, QWidgetH w) { QString t_text; copyPWideStringToQString(text, t_text); QToolTip::showText(*(const QPoint*)pos, t_text, (QWidget*)w); } void QToolTip_showText2(const QPointH pos, PWideString text, QWidgetH w, PRect rect) { QString t_text; QRect t_rect; copyPWideStringToQString(text, t_text); copyPRectToQRect(rect, t_rect); QToolTip::showText(*(const QPoint*)pos, t_text, (QWidget*)w, t_rect); } void QToolTip_hideText() { QToolTip::hideText(); } bool QToolTip_isVisible() { return (bool) QToolTip::isVisible(); } void QToolTip_text(PWideString retval) { QString t_retval; t_retval = QToolTip::text(); copyQStringToPWideString(t_retval, retval); } void QToolTip_palette(QPaletteH retval) { *(QPalette *)retval = QToolTip::palette(); } void QToolTip_setPalette(const QPaletteH AnonParam1) { QToolTip::setPalette(*(const QPalette*)AnonParam1); } void QToolTip_font(QFontH retval) { *(QFont *)retval = QToolTip::font(); } void QToolTip_setFont(const QFontH AnonParam1) { QToolTip::setFont(*(const QFont*)AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qgraphicsscene_hook_c.cpp0000664000212600021260000000206711677135472022065 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qgraphicsscene_hook_c.h" QGraphicsScene_hookH QGraphicsScene_hook_create(QObjectH handle) { return (QGraphicsScene_hookH) new QGraphicsScene_hook((QObject*)handle); } void QGraphicsScene_hook_destroy(QGraphicsScene_hookH handle) { delete (QGraphicsScene_hook *)handle; } void QGraphicsScene_hook_hook_sceneRectChanged(QGraphicsScene_hookH handle, QHookH hook) { ((QGraphicsScene_hook *)handle)->hook_sceneRectChanged(hook); } void QGraphicsScene_hook_hook_selectionChanged(QGraphicsScene_hookH handle, QHookH hook) { ((QGraphicsScene_hook *)handle)->hook_selectionChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfiledialog_hook_c.h0000664000212600021260000000221611677135472021007 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFILEDIALOG_HOOK_C_H #define QFILEDIALOG_HOOK_C_H #include "qfiledialog_hook.h" C_EXPORT QFileDialog_hookH QFileDialog_hook_create(QObjectH handle); C_EXPORT void QFileDialog_hook_destroy(QFileDialog_hookH handle); C_EXPORT void QFileDialog_hook_hook_fileSelected(QFileDialog_hookH handle, QHookH hook); C_EXPORT void QFileDialog_hook_hook_filesSelected(QFileDialog_hookH handle, QHookH hook); C_EXPORT void QFileDialog_hook_hook_currentChanged(QFileDialog_hookH handle, QHookH hook); C_EXPORT void QFileDialog_hook_hook_directoryEntered(QFileDialog_hookH handle, QHookH hook); C_EXPORT void QFileDialog_hook_hook_filterSelected(QFileDialog_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemdelegate_hook.h0000664000212600021260000000725411677135472022572 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTITEMDELEGATE_HOOK_H #define QABSTRACTITEMDELEGATE_HOOK_H #include #include "qobject_hook.h" class QAbstractItemDelegate_hook : public QObject_hook { Q_OBJECT public: QAbstractItemDelegate_hook(QObject *handle) : QObject_hook(handle) { commitData_event.func = NULL; closeEditor_event.func = NULL; closeEditor2_event.func = NULL; sizeHintChanged_event.func = NULL; } void hook_commitData(QHook &hook) { if ( !commitData_event.func ) connect(handle, SIGNAL(commitData(QWidget*)), this, SLOT(commitData_hook(QWidget*))); commitData_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(commitData(QWidget*)), this, SLOT(commitData_hook(QWidget*))); } void hook_closeEditor(QHook &hook) { if ( !closeEditor_event.func ) connect(handle, SIGNAL(closeEditor(QWidget*, QAbstractItemDelegate::EndEditHint)), this, SLOT(closeEditor_hook(QWidget*, QAbstractItemDelegate::EndEditHint))); closeEditor_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(closeEditor(QWidget*, QAbstractItemDelegate::EndEditHint)), this, SLOT(closeEditor_hook(QWidget*, QAbstractItemDelegate::EndEditHint))); } void hook_closeEditor2(QHook &hook) { if ( !closeEditor2_event.func ) connect(handle, SIGNAL(closeEditor(QWidget*)), this, SLOT(closeEditor2_hook(QWidget*))); closeEditor2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(closeEditor(QWidget*)), this, SLOT(closeEditor2_hook(QWidget*))); } void hook_sizeHintChanged(QHook &hook) { if ( !sizeHintChanged_event.func ) connect(handle, SIGNAL(sizeHintChanged(const QModelIndex&)), this, SLOT(sizeHintChanged_hook(const QModelIndex&))); sizeHintChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sizeHintChanged(const QModelIndex&)), this, SLOT(sizeHintChanged_hook(const QModelIndex&))); } private slots: void commitData_hook(QWidget* editor) { if ( commitData_event.func ) { typedef void (*func_type)(void *data, QWidgetH editor); (*(func_type)commitData_event.func)(commitData_event.data, (QWidgetH)editor); } } void closeEditor_hook(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) { if ( closeEditor_event.func ) { typedef void (*func_type)(void *data, QWidgetH editor, QAbstractItemDelegate::EndEditHint hint); (*(func_type)closeEditor_event.func)(closeEditor_event.data, (QWidgetH)editor, hint); } } void closeEditor2_hook(QWidget* editor) { if ( closeEditor2_event.func ) { typedef void (*func_type)(void *data, QWidgetH editor); (*(func_type)closeEditor2_event.func)(closeEditor2_event.data, (QWidgetH)editor); } } void sizeHintChanged_hook(const QModelIndex& AnonParam1) { if ( sizeHintChanged_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH AnonParam1); (*(func_type)sizeHintChanged_event.func)(sizeHintChanged_event.data, (const QModelIndexH)&AnonParam1); } } private: QHook commitData_event; QHook closeEditor_event; QHook closeEditor2_event; QHook sizeHintChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfontmetrics_c.h0000664000212600021260000001250711677135472020231 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFONTMETRICS_C_H #define QFONTMETRICS_C_H #include #include "pascalbind.h" C_EXPORT QFontMetricsH QFontMetrics_create(const QFontH AnonParam1); C_EXPORT void QFontMetrics_destroy(QFontMetricsH handle); C_EXPORT QFontMetricsH QFontMetrics_create2(const QFontH AnonParam1, QPaintDeviceH pd); C_EXPORT QFontMetricsH QFontMetrics_create3(const QFontMetricsH AnonParam1); C_EXPORT int QFontMetrics_ascent(QFontMetricsH handle); C_EXPORT int QFontMetrics_descent(QFontMetricsH handle); C_EXPORT int QFontMetrics_height(QFontMetricsH handle); C_EXPORT int QFontMetrics_leading(QFontMetricsH handle); C_EXPORT int QFontMetrics_lineSpacing(QFontMetricsH handle); C_EXPORT int QFontMetrics_minLeftBearing(QFontMetricsH handle); C_EXPORT int QFontMetrics_minRightBearing(QFontMetricsH handle); C_EXPORT int QFontMetrics_maxWidth(QFontMetricsH handle); C_EXPORT int QFontMetrics_xHeight(QFontMetricsH handle); C_EXPORT int QFontMetrics_averageCharWidth(QFontMetricsH handle); C_EXPORT bool QFontMetrics_inFont(QFontMetricsH handle, PWideChar AnonParam1); C_EXPORT int QFontMetrics_leftBearing(QFontMetricsH handle, PWideChar AnonParam1); C_EXPORT int QFontMetrics_rightBearing(QFontMetricsH handle, PWideChar AnonParam1); C_EXPORT int QFontMetrics_width(QFontMetricsH handle, PWideString AnonParam1, int len); C_EXPORT int QFontMetrics_width2(QFontMetricsH handle, PWideChar AnonParam1); C_EXPORT int QFontMetrics_charWidth(QFontMetricsH handle, PWideString str, int pos); C_EXPORT void QFontMetrics_boundingRect(QFontMetricsH handle, PRect retval, PWideChar AnonParam1); C_EXPORT void QFontMetrics_boundingRect2(QFontMetricsH handle, PRect retval, PWideString text); C_EXPORT void QFontMetrics_boundingRect3(QFontMetricsH handle, PRect retval, PRect r, int flags, PWideString text, int tabstops, int* tabarray); C_EXPORT void QFontMetrics_boundingRect4(QFontMetricsH handle, PRect retval, int x, int y, int w, int h, int flags, PWideString text, int tabstops, int* tabarray); C_EXPORT void QFontMetrics_size(QFontMetricsH handle, PSize retval, int flags, PWideString str, int tabstops, int* tabarray); C_EXPORT void QFontMetrics_tightBoundingRect(QFontMetricsH handle, PRect retval, PWideString text); C_EXPORT void QFontMetrics_elidedText(QFontMetricsH handle, PWideString retval, PWideString text, Qt::TextElideMode mode, int width, int flags); C_EXPORT int QFontMetrics_underlinePos(QFontMetricsH handle); C_EXPORT int QFontMetrics_overlinePos(QFontMetricsH handle); C_EXPORT int QFontMetrics_strikeOutPos(QFontMetricsH handle); C_EXPORT int QFontMetrics_lineWidth(QFontMetricsH handle); C_EXPORT QFontMetricsFH QFontMetricsF_create(const QFontH AnonParam1); C_EXPORT void QFontMetricsF_destroy(QFontMetricsFH handle); C_EXPORT QFontMetricsFH QFontMetricsF_create2(const QFontH AnonParam1, QPaintDeviceH pd); C_EXPORT QFontMetricsFH QFontMetricsF_create4(const QFontMetricsFH AnonParam1); C_EXPORT qreal QFontMetricsF_ascent(QFontMetricsFH handle); C_EXPORT qreal QFontMetricsF_descent(QFontMetricsFH handle); C_EXPORT qreal QFontMetricsF_height(QFontMetricsFH handle); C_EXPORT qreal QFontMetricsF_leading(QFontMetricsFH handle); C_EXPORT qreal QFontMetricsF_lineSpacing(QFontMetricsFH handle); C_EXPORT qreal QFontMetricsF_minLeftBearing(QFontMetricsFH handle); C_EXPORT qreal QFontMetricsF_minRightBearing(QFontMetricsFH handle); C_EXPORT qreal QFontMetricsF_maxWidth(QFontMetricsFH handle); C_EXPORT qreal QFontMetricsF_xHeight(QFontMetricsFH handle); C_EXPORT qreal QFontMetricsF_averageCharWidth(QFontMetricsFH handle); C_EXPORT bool QFontMetricsF_inFont(QFontMetricsFH handle, PWideChar AnonParam1); C_EXPORT qreal QFontMetricsF_leftBearing(QFontMetricsFH handle, PWideChar AnonParam1); C_EXPORT qreal QFontMetricsF_rightBearing(QFontMetricsFH handle, PWideChar AnonParam1); C_EXPORT qreal QFontMetricsF_width(QFontMetricsFH handle, PWideString string); C_EXPORT qreal QFontMetricsF_width2(QFontMetricsFH handle, PWideChar AnonParam1); C_EXPORT void QFontMetricsF_boundingRect(QFontMetricsFH handle, QRectFH retval, PWideString string); C_EXPORT void QFontMetricsF_boundingRect2(QFontMetricsFH handle, QRectFH retval, PWideChar AnonParam1); C_EXPORT void QFontMetricsF_boundingRect3(QFontMetricsFH handle, QRectFH retval, const QRectFH r, int flags, PWideString string, int tabstops, int* tabarray); C_EXPORT void QFontMetricsF_size(QFontMetricsFH handle, QSizeFH retval, int flags, PWideString str, int tabstops, int* tabarray); C_EXPORT void QFontMetricsF_tightBoundingRect(QFontMetricsFH handle, QRectFH retval, PWideString text); C_EXPORT void QFontMetricsF_elidedText(QFontMetricsFH handle, PWideString retval, PWideString text, Qt::TextElideMode mode, qreal width, int flags); C_EXPORT qreal QFontMetricsF_underlinePos(QFontMetricsFH handle); C_EXPORT qreal QFontMetricsF_overlinePos(QFontMetricsFH handle); C_EXPORT qreal QFontMetricsF_strikeOutPos(QFontMetricsFH handle); C_EXPORT qreal QFontMetricsF_lineWidth(QFontMetricsFH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextdocument_c.cpp0000664000212600021260000002634211677135472020754 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtextdocument_c.h" QTextDocumentH QTextDocument_create(QObjectH parent) { return (QTextDocumentH) new QTextDocument((QObject*)parent); } void QTextDocument_destroy(QTextDocumentH handle) { delete (QTextDocument *)handle; } QTextDocumentH QTextDocument_create2(PWideString text, QObjectH parent) { QString t_text; copyPWideStringToQString(text, t_text); return (QTextDocumentH) new QTextDocument(t_text, (QObject*)parent); } QTextDocumentH QTextDocument_clone(QTextDocumentH handle, QObjectH parent) { return (QTextDocumentH) ((QTextDocument *)handle)->clone((QObject*)parent); } bool QTextDocument_isEmpty(QTextDocumentH handle) { return (bool) ((QTextDocument *)handle)->isEmpty(); } void QTextDocument_clear(QTextDocumentH handle) { ((QTextDocument *)handle)->clear(); } void QTextDocument_setUndoRedoEnabled(QTextDocumentH handle, bool enable) { ((QTextDocument *)handle)->setUndoRedoEnabled(enable); } bool QTextDocument_isUndoRedoEnabled(QTextDocumentH handle) { return (bool) ((QTextDocument *)handle)->isUndoRedoEnabled(); } bool QTextDocument_isUndoAvailable(QTextDocumentH handle) { return (bool) ((QTextDocument *)handle)->isUndoAvailable(); } bool QTextDocument_isRedoAvailable(QTextDocumentH handle) { return (bool) ((QTextDocument *)handle)->isRedoAvailable(); } int QTextDocument_revision(QTextDocumentH handle) { return (int) ((QTextDocument *)handle)->revision(); } void QTextDocument_setDocumentLayout(QTextDocumentH handle, QAbstractTextDocumentLayoutH layout) { ((QTextDocument *)handle)->setDocumentLayout((QAbstractTextDocumentLayout*)layout); } QAbstractTextDocumentLayoutH QTextDocument_documentLayout(QTextDocumentH handle) { return (QAbstractTextDocumentLayoutH) ((QTextDocument *)handle)->documentLayout(); } void QTextDocument_setMetaInformation(QTextDocumentH handle, QTextDocument::MetaInformation info, PWideString AnonParam2) { QString t_AnonParam2; copyPWideStringToQString(AnonParam2, t_AnonParam2); ((QTextDocument *)handle)->setMetaInformation(info, t_AnonParam2); } void QTextDocument_metaInformation(QTextDocumentH handle, PWideString retval, QTextDocument::MetaInformation info) { QString t_retval; t_retval = ((QTextDocument *)handle)->metaInformation(info); copyQStringToPWideString(t_retval, retval); } void QTextDocument_toHtml(QTextDocumentH handle, PWideString retval, const QByteArrayH encoding) { QString t_retval; t_retval = ((QTextDocument *)handle)->toHtml(*(const QByteArray*)encoding); copyQStringToPWideString(t_retval, retval); } void QTextDocument_setHtml(QTextDocumentH handle, PWideString html) { QString t_html; copyPWideStringToQString(html, t_html); ((QTextDocument *)handle)->setHtml(t_html); } void QTextDocument_toPlainText(QTextDocumentH handle, PWideString retval) { QString t_retval; t_retval = ((QTextDocument *)handle)->toPlainText(); copyQStringToPWideString(t_retval, retval); } void QTextDocument_setPlainText(QTextDocumentH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QTextDocument *)handle)->setPlainText(t_text); } void QTextDocument_characterAt(QTextDocumentH handle, PWideChar retval, int pos) { *(QChar *)retval = ((QTextDocument *)handle)->characterAt(pos); } void QTextDocument_find(QTextDocumentH handle, QTextCursorH retval, PWideString subString, int from, unsigned int options) { QString t_subString; copyPWideStringToQString(subString, t_subString); *(QTextCursor *)retval = ((QTextDocument *)handle)->find(t_subString, from, (QTextDocument::FindFlags)options); } void QTextDocument_find2(QTextDocumentH handle, QTextCursorH retval, PWideString subString, const QTextCursorH from, unsigned int options) { QString t_subString; copyPWideStringToQString(subString, t_subString); *(QTextCursor *)retval = ((QTextDocument *)handle)->find(t_subString, *(const QTextCursor*)from, (QTextDocument::FindFlags)options); } void QTextDocument_find3(QTextDocumentH handle, QTextCursorH retval, const QRegExpH expr, int from, unsigned int options) { *(QTextCursor *)retval = ((QTextDocument *)handle)->find(*(const QRegExp*)expr, from, (QTextDocument::FindFlags)options); } void QTextDocument_find4(QTextDocumentH handle, QTextCursorH retval, const QRegExpH expr, const QTextCursorH from, unsigned int options) { *(QTextCursor *)retval = ((QTextDocument *)handle)->find(*(const QRegExp*)expr, *(const QTextCursor*)from, (QTextDocument::FindFlags)options); } QTextFrameH QTextDocument_frameAt(QTextDocumentH handle, int pos) { return (QTextFrameH) ((QTextDocument *)handle)->frameAt(pos); } QTextFrameH QTextDocument_rootFrame(QTextDocumentH handle) { return (QTextFrameH) ((QTextDocument *)handle)->rootFrame(); } QTextObjectH QTextDocument_object(QTextDocumentH handle, int objectIndex) { return (QTextObjectH) ((QTextDocument *)handle)->object(objectIndex); } QTextObjectH QTextDocument_objectForFormat(QTextDocumentH handle, const QTextFormatH AnonParam1) { return (QTextObjectH) ((QTextDocument *)handle)->objectForFormat(*(const QTextFormat*)AnonParam1); } void QTextDocument_findBlock(QTextDocumentH handle, QTextBlockH retval, int pos) { *(QTextBlock *)retval = ((QTextDocument *)handle)->findBlock(pos); } void QTextDocument_findBlockByNumber(QTextDocumentH handle, QTextBlockH retval, int blockNumber) { *(QTextBlock *)retval = ((QTextDocument *)handle)->findBlockByNumber(blockNumber); } void QTextDocument_findBlockByLineNumber(QTextDocumentH handle, QTextBlockH retval, int blockNumber) { *(QTextBlock *)retval = ((QTextDocument *)handle)->findBlockByLineNumber(blockNumber); } void QTextDocument_begin(QTextDocumentH handle, QTextBlockH retval) { *(QTextBlock *)retval = ((QTextDocument *)handle)->begin(); } void QTextDocument_end(QTextDocumentH handle, QTextBlockH retval) { *(QTextBlock *)retval = ((QTextDocument *)handle)->end(); } void QTextDocument_firstBlock(QTextDocumentH handle, QTextBlockH retval) { *(QTextBlock *)retval = ((QTextDocument *)handle)->firstBlock(); } void QTextDocument_lastBlock(QTextDocumentH handle, QTextBlockH retval) { *(QTextBlock *)retval = ((QTextDocument *)handle)->lastBlock(); } void QTextDocument_setPageSize(QTextDocumentH handle, const QSizeFH size) { ((QTextDocument *)handle)->setPageSize(*(const QSizeF*)size); } void QTextDocument_pageSize(QTextDocumentH handle, QSizeFH retval) { *(QSizeF *)retval = ((QTextDocument *)handle)->pageSize(); } void QTextDocument_setDefaultFont(QTextDocumentH handle, const QFontH font) { ((QTextDocument *)handle)->setDefaultFont(*(const QFont*)font); } void QTextDocument_defaultFont(QTextDocumentH handle, QFontH retval) { *(QFont *)retval = ((QTextDocument *)handle)->defaultFont(); } int QTextDocument_pageCount(QTextDocumentH handle) { return (int) ((QTextDocument *)handle)->pageCount(); } bool QTextDocument_isModified(QTextDocumentH handle) { return (bool) ((QTextDocument *)handle)->isModified(); } void QTextDocument_print(QTextDocumentH handle, QPrinterH printer) { ((QTextDocument *)handle)->print((QPrinter*)printer); } void QTextDocument_resource(QTextDocumentH handle, QVariantH retval, int type, const QUrlH name) { *(QVariant *)retval = ((QTextDocument *)handle)->resource(type, *(const QUrl*)name); } void QTextDocument_addResource(QTextDocumentH handle, int type, const QUrlH name, const QVariantH resource) { ((QTextDocument *)handle)->addResource(type, *(const QUrl*)name, *(const QVariant*)resource); } void QTextDocument_markContentsDirty(QTextDocumentH handle, int from, int length) { ((QTextDocument *)handle)->markContentsDirty(from, length); } void QTextDocument_setUseDesignMetrics(QTextDocumentH handle, bool b) { ((QTextDocument *)handle)->setUseDesignMetrics(b); } bool QTextDocument_useDesignMetrics(QTextDocumentH handle) { return (bool) ((QTextDocument *)handle)->useDesignMetrics(); } void QTextDocument_drawContents(QTextDocumentH handle, QPainterH painter, const QRectFH rect) { ((QTextDocument *)handle)->drawContents((QPainter*)painter, *(const QRectF*)rect); } void QTextDocument_setTextWidth(QTextDocumentH handle, qreal width) { ((QTextDocument *)handle)->setTextWidth(width); } qreal QTextDocument_textWidth(QTextDocumentH handle) { return (qreal) ((QTextDocument *)handle)->textWidth(); } qreal QTextDocument_idealWidth(QTextDocumentH handle) { return (qreal) ((QTextDocument *)handle)->idealWidth(); } qreal QTextDocument_indentWidth(QTextDocumentH handle) { return (qreal) ((QTextDocument *)handle)->indentWidth(); } void QTextDocument_setIndentWidth(QTextDocumentH handle, qreal width) { ((QTextDocument *)handle)->setIndentWidth(width); } qreal QTextDocument_documentMargin(QTextDocumentH handle) { return (qreal) ((QTextDocument *)handle)->documentMargin(); } void QTextDocument_setDocumentMargin(QTextDocumentH handle, qreal margin) { ((QTextDocument *)handle)->setDocumentMargin(margin); } void QTextDocument_adjustSize(QTextDocumentH handle) { ((QTextDocument *)handle)->adjustSize(); } void QTextDocument_size(QTextDocumentH handle, QSizeFH retval) { *(QSizeF *)retval = ((QTextDocument *)handle)->size(); } int QTextDocument_blockCount(QTextDocumentH handle) { return (int) ((QTextDocument *)handle)->blockCount(); } int QTextDocument_lineCount(QTextDocumentH handle) { return (int) ((QTextDocument *)handle)->lineCount(); } int QTextDocument_characterCount(QTextDocumentH handle) { return (int) ((QTextDocument *)handle)->characterCount(); } void QTextDocument_setDefaultStyleSheet(QTextDocumentH handle, PWideString sheet) { QString t_sheet; copyPWideStringToQString(sheet, t_sheet); ((QTextDocument *)handle)->setDefaultStyleSheet(t_sheet); } void QTextDocument_defaultStyleSheet(QTextDocumentH handle, PWideString retval) { QString t_retval; t_retval = ((QTextDocument *)handle)->defaultStyleSheet(); copyQStringToPWideString(t_retval, retval); } void QTextDocument_undo(QTextDocumentH handle, QTextCursorH cursor) { ((QTextDocument *)handle)->undo((QTextCursor*)cursor); } void QTextDocument_redo(QTextDocumentH handle, QTextCursorH cursor) { ((QTextDocument *)handle)->redo((QTextCursor*)cursor); } int QTextDocument_maximumBlockCount(QTextDocumentH handle) { return (int) ((QTextDocument *)handle)->maximumBlockCount(); } void QTextDocument_setMaximumBlockCount(QTextDocumentH handle, int maximum) { ((QTextDocument *)handle)->setMaximumBlockCount(maximum); } void QTextDocument_defaultTextOption(QTextDocumentH handle, QTextOptionH retval) { *(QTextOption *)retval = ((QTextDocument *)handle)->defaultTextOption(); } void QTextDocument_setDefaultTextOption(QTextDocumentH handle, const QTextOptionH option) { ((QTextDocument *)handle)->setDefaultTextOption(*(const QTextOption*)option); } void QTextDocument_undo2(QTextDocumentH handle) { ((QTextDocument *)handle)->undo(); } void QTextDocument_redo2(QTextDocumentH handle) { ((QTextDocument *)handle)->redo(); } void QTextDocument_setModified(QTextDocumentH handle, bool m) { ((QTextDocument *)handle)->setModified(m); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmatrix_c.cpp0000664000212600021260000001066711677135472017540 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qmatrix_c.h" QMatrixH QMatrix_create() { return (QMatrixH) new QMatrix(); } void QMatrix_destroy(QMatrixH handle) { delete (QMatrix *)handle; } QMatrixH QMatrix_create2(qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy) { return (QMatrixH) new QMatrix(m11, m12, m21, m22, dx, dy); } QMatrixH QMatrix_create3(const QMatrixH matrix) { return (QMatrixH) new QMatrix(*(const QMatrix*)matrix); } void QMatrix_setMatrix(QMatrixH handle, qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy) { ((QMatrix *)handle)->setMatrix(m11, m12, m21, m22, dx, dy); } qreal QMatrix_m11(QMatrixH handle) { return (qreal) ((QMatrix *)handle)->m11(); } qreal QMatrix_m12(QMatrixH handle) { return (qreal) ((QMatrix *)handle)->m12(); } qreal QMatrix_m21(QMatrixH handle) { return (qreal) ((QMatrix *)handle)->m21(); } qreal QMatrix_m22(QMatrixH handle) { return (qreal) ((QMatrix *)handle)->m22(); } qreal QMatrix_dx(QMatrixH handle) { return (qreal) ((QMatrix *)handle)->dx(); } qreal QMatrix_dy(QMatrixH handle) { return (qreal) ((QMatrix *)handle)->dy(); } void QMatrix_map(QMatrixH handle, int x, int y, int* tx, int* ty) { ((QMatrix *)handle)->map(x, y, tx, ty); } void QMatrix_map2(QMatrixH handle, qreal x, qreal y, qreal* tx, qreal* ty) { ((QMatrix *)handle)->map(x, y, tx, ty); } void QMatrix_mapRect(QMatrixH handle, PRect retval, PRect AnonParam1) { QRect t_retval; QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); t_retval = ((QMatrix *)handle)->mapRect(t_AnonParam1); copyQRectToPRect(t_retval, retval); } void QMatrix_mapRect2(QMatrixH handle, QRectFH retval, const QRectFH AnonParam1) { *(QRectF *)retval = ((QMatrix *)handle)->mapRect(*(const QRectF*)AnonParam1); } void QMatrix_map3(QMatrixH handle, PQtPoint retval, const QPointH p) { *(QPoint *)retval = ((QMatrix *)handle)->map(*(const QPoint*)p); } void QMatrix_map4(QMatrixH handle, PQtPointF retval, const QPointFH p) { *(QPointF *)retval = ((QMatrix *)handle)->map(*(const QPointF*)p); } void QMatrix_map5(QMatrixH handle, QLineH retval, const QLineH l) { *(QLine *)retval = ((QMatrix *)handle)->map(*(const QLine*)l); } void QMatrix_map6(QMatrixH handle, QLineFH retval, const QLineFH l) { *(QLineF *)retval = ((QMatrix *)handle)->map(*(const QLineF*)l); } void QMatrix_map7(QMatrixH handle, QPolygonFH retval, const QPolygonFH a) { *(QPolygonF *)retval = ((QMatrix *)handle)->map(*(const QPolygonF*)a); } void QMatrix_map8(QMatrixH handle, QPolygonH retval, const QPolygonH a) { *(QPolygon *)retval = ((QMatrix *)handle)->map(*(const QPolygon*)a); } void QMatrix_map9(QMatrixH handle, QRegionH retval, const QRegionH r) { *(QRegion *)retval = ((QMatrix *)handle)->map(*(const QRegion*)r); } void QMatrix_map10(QMatrixH handle, QPainterPathH retval, const QPainterPathH p) { *(QPainterPath *)retval = ((QMatrix *)handle)->map(*(const QPainterPath*)p); } void QMatrix_mapToPolygon(QMatrixH handle, QPolygonH retval, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); *(QPolygon *)retval = ((QMatrix *)handle)->mapToPolygon(t_r); } void QMatrix_reset(QMatrixH handle) { ((QMatrix *)handle)->reset(); } bool QMatrix_isIdentity(QMatrixH handle) { return (bool) ((QMatrix *)handle)->isIdentity(); } QMatrixH QMatrix_translate(QMatrixH handle, qreal dx, qreal dy) { return (QMatrixH) &((QMatrix *)handle)->translate(dx, dy); } QMatrixH QMatrix_scale(QMatrixH handle, qreal sx, qreal sy) { return (QMatrixH) &((QMatrix *)handle)->scale(sx, sy); } QMatrixH QMatrix_shear(QMatrixH handle, qreal sh, qreal sv) { return (QMatrixH) &((QMatrix *)handle)->shear(sh, sv); } QMatrixH QMatrix_rotate(QMatrixH handle, qreal a) { return (QMatrixH) &((QMatrix *)handle)->rotate(a); } bool QMatrix_isInvertible(QMatrixH handle) { return (bool) ((QMatrix *)handle)->isInvertible(); } qreal QMatrix_det(QMatrixH handle) { return (qreal) ((QMatrix *)handle)->det(); } void QMatrix_inverted(QMatrixH handle, QMatrixH retval, bool* invertible) { *(QMatrix *)retval = ((QMatrix *)handle)->inverted(invertible); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsocketnotifier_c.cpp0000664000212600021260000000242611677135472021256 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsocketnotifier_c.h" QSocketNotifierH QSocketNotifier_create(int socket, QSocketNotifier::Type AnonParam2, QObjectH parent) { return (QSocketNotifierH) new QSocketNotifier(socket, AnonParam2, (QObject*)parent); } void QSocketNotifier_destroy(QSocketNotifierH handle) { delete (QSocketNotifier *)handle; } int QSocketNotifier_socket(QSocketNotifierH handle) { return (int) ((QSocketNotifier *)handle)->socket(); } QSocketNotifier::Type QSocketNotifier_type(QSocketNotifierH handle) { return (QSocketNotifier::Type) ((QSocketNotifier *)handle)->type(); } bool QSocketNotifier_isEnabled(QSocketNotifierH handle) { return (bool) ((QSocketNotifier *)handle)->isEnabled(); } void QSocketNotifier_setEnabled(QSocketNotifierH handle, bool AnonParam1) { ((QSocketNotifier *)handle)->setEnabled(AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfile_c.h0000664000212600021260000000627611677135472016621 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFILE_C_H #define QFILE_C_H #include #include "pascalbind.h" C_EXPORT QFileH QFile_create(); C_EXPORT void QFile_destroy(QFileH handle); C_EXPORT QFileH QFile_create2(PWideString name); C_EXPORT QFileH QFile_create3(QObjectH parent); C_EXPORT QFileH QFile_create4(PWideString name, QObjectH parent); C_EXPORT QFile::FileError QFile_error(QFileH handle); C_EXPORT void QFile_unsetError(QFileH handle); C_EXPORT void QFile_fileName(QFileH handle, PWideString retval); C_EXPORT void QFile_setFileName(QFileH handle, PWideString name); C_EXPORT void QFile_encodeName(QByteArrayH retval, PWideString fileName); C_EXPORT void QFile_decodeName(PWideString retval, const QByteArrayH localFileName); C_EXPORT void QFile_decodeName2(PWideString retval, const char* localFileName); C_EXPORT bool QFile_exists(QFileH handle); C_EXPORT bool QFile_exists2(PWideString fileName); C_EXPORT void QFile_readLink(QFileH handle, PWideString retval); C_EXPORT void QFile_readLink2(PWideString retval, PWideString fileName); C_EXPORT void QFile_symLinkTarget(QFileH handle, PWideString retval); C_EXPORT void QFile_symLinkTarget2(PWideString retval, PWideString fileName); C_EXPORT bool QFile_remove(QFileH handle); C_EXPORT bool QFile_remove2(PWideString fileName); C_EXPORT bool QFile_rename(QFileH handle, PWideString newName); C_EXPORT bool QFile_rename2(PWideString oldName, PWideString newName); C_EXPORT bool QFile_link(QFileH handle, PWideString newName); C_EXPORT bool QFile_link2(PWideString oldname, PWideString newName); C_EXPORT bool QFile_copy(QFileH handle, PWideString newName); C_EXPORT bool QFile_copy2(PWideString fileName, PWideString newName); C_EXPORT bool QFile_isSequential(QFileH handle); C_EXPORT bool QFile_open(QFileH handle, unsigned int flags); C_EXPORT bool QFile_open2(QFileH handle, int fd, unsigned int flags); C_EXPORT void QFile_close(QFileH handle); C_EXPORT qint64 QFile_size(QFileH handle); C_EXPORT qint64 QFile_pos(QFileH handle); C_EXPORT bool QFile_seek(QFileH handle, qint64 offset); C_EXPORT bool QFile_atEnd(QFileH handle); C_EXPORT bool QFile_flush(QFileH handle); C_EXPORT bool QFile_resize(QFileH handle, qint64 sz); C_EXPORT bool QFile_resize2(PWideString filename, qint64 sz); C_EXPORT unsigned int QFile_permissions(QFileH handle); C_EXPORT unsigned int QFile_permissions2(PWideString filename); C_EXPORT bool QFile_setPermissions(QFileH handle, unsigned int permissionSpec); C_EXPORT bool QFile_setPermissions2(PWideString filename, unsigned int permissionSpec); C_EXPORT int QFile_handle(QFileH handle); C_EXPORT uchar* QFile_map(QFileH handle, qint64 offset, qint64 size, QFile::MemoryMapFlags flags); C_EXPORT bool QFile_unmap(QFileH handle, uchar* address); C_EXPORT QAbstractFileEngineH QFile_fileEngine(QFileH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdesktopservices_c.h0000664000212600021260000000201011677135472021075 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDESKTOPSERVICES_C_H #define QDESKTOPSERVICES_C_H #include #include "pascalbind.h" C_EXPORT bool QDesktopServices_openUrl(const QUrlH url); C_EXPORT void QDesktopServices_setUrlHandler(PWideString scheme, QObjectH receiver, const char* method); C_EXPORT void QDesktopServices_unsetUrlHandler(PWideString scheme); C_EXPORT void QDesktopServices_storageLocation(PWideString retval, QDesktopServices::StandardLocation type); C_EXPORT void QDesktopServices_displayName(PWideString retval, QDesktopServices::StandardLocation type); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qheaderview_hook_c.h0000664000212600021260000000332211677135472021032 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QHEADERVIEW_HOOK_C_H #define QHEADERVIEW_HOOK_C_H #include "qheaderview_hook.h" C_EXPORT QHeaderView_hookH QHeaderView_hook_create(QObjectH handle); C_EXPORT void QHeaderView_hook_destroy(QHeaderView_hookH handle); C_EXPORT void QHeaderView_hook_hook_sectionMoved(QHeaderView_hookH handle, QHookH hook); C_EXPORT void QHeaderView_hook_hook_sectionResized(QHeaderView_hookH handle, QHookH hook); C_EXPORT void QHeaderView_hook_hook_sectionPressed(QHeaderView_hookH handle, QHookH hook); C_EXPORT void QHeaderView_hook_hook_sectionClicked(QHeaderView_hookH handle, QHookH hook); C_EXPORT void QHeaderView_hook_hook_sectionEntered(QHeaderView_hookH handle, QHookH hook); C_EXPORT void QHeaderView_hook_hook_sectionDoubleClicked(QHeaderView_hookH handle, QHookH hook); C_EXPORT void QHeaderView_hook_hook_sectionCountChanged(QHeaderView_hookH handle, QHookH hook); C_EXPORT void QHeaderView_hook_hook_sectionHandleDoubleClicked(QHeaderView_hookH handle, QHookH hook); C_EXPORT void QHeaderView_hook_hook_sectionAutoResize(QHeaderView_hookH handle, QHookH hook); C_EXPORT void QHeaderView_hook_hook_geometriesChanged(QHeaderView_hookH handle, QHookH hook); C_EXPORT void QHeaderView_hook_hook_sortIndicatorChanged(QHeaderView_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclwebview_c.h0000664000212600021260000000143511677135472020035 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLCLWEBVIEW_C_H #define QLCLWEBVIEW_C_H #include "qlclwebview.h" #include "pascalbind.h" C_EXPORT QLCLWebViewH QLCLWebView_create(QWidgetH parent); C_EXPORT void QLCLWebView_destroy(QLCLWebViewH handle); C_EXPORT void QLCLWebView_override_createWindow(QLCLWebViewH handle, const QOverrideHook hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qboxlayout_c.h0000664000212600021260000000675011677135472017725 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QBOXLAYOUT_C_H #define QBOXLAYOUT_C_H #include #include "pascalbind.h" C_EXPORT QBoxLayoutH QBoxLayout_create(QBoxLayout::Direction AnonParam1, QWidgetH parent); C_EXPORT void QBoxLayout_destroy(QBoxLayoutH handle); C_EXPORT QBoxLayout::Direction QBoxLayout_direction(QBoxLayoutH handle); C_EXPORT void QBoxLayout_setDirection(QBoxLayoutH handle, QBoxLayout::Direction AnonParam1); C_EXPORT void QBoxLayout_addSpacing(QBoxLayoutH handle, int size); C_EXPORT void QBoxLayout_addStretch(QBoxLayoutH handle, int stretch); C_EXPORT void QBoxLayout_addSpacerItem(QBoxLayoutH handle, QSpacerItemH spacerItem); C_EXPORT void QBoxLayout_addWidget(QBoxLayoutH handle, QWidgetH AnonParam1, int stretch, unsigned int alignment); C_EXPORT void QBoxLayout_addLayout(QBoxLayoutH handle, QLayoutH layout, int stretch); C_EXPORT void QBoxLayout_addStrut(QBoxLayoutH handle, int AnonParam1); C_EXPORT void QBoxLayout_addItem(QBoxLayoutH handle, QLayoutItemH AnonParam1); C_EXPORT void QBoxLayout_insertSpacing(QBoxLayoutH handle, int index, int size); C_EXPORT void QBoxLayout_insertStretch(QBoxLayoutH handle, int index, int stretch); C_EXPORT void QBoxLayout_insertSpacerItem(QBoxLayoutH handle, int index, QSpacerItemH spacerItem); C_EXPORT void QBoxLayout_insertWidget(QBoxLayoutH handle, int index, QWidgetH widget, int stretch, unsigned int alignment); C_EXPORT void QBoxLayout_insertLayout(QBoxLayoutH handle, int index, QLayoutH layout, int stretch); C_EXPORT int QBoxLayout_spacing(QBoxLayoutH handle); C_EXPORT void QBoxLayout_setSpacing(QBoxLayoutH handle, int spacing); C_EXPORT bool QBoxLayout_setStretchFactor(QBoxLayoutH handle, QWidgetH w, int stretch); C_EXPORT bool QBoxLayout_setStretchFactor2(QBoxLayoutH handle, QLayoutH l, int stretch); C_EXPORT void QBoxLayout_setStretch(QBoxLayoutH handle, int index, int stretch); C_EXPORT int QBoxLayout_stretch(QBoxLayoutH handle, int index); C_EXPORT void QBoxLayout_sizeHint(QBoxLayoutH handle, PSize retval); C_EXPORT void QBoxLayout_minimumSize(QBoxLayoutH handle, PSize retval); C_EXPORT void QBoxLayout_maximumSize(QBoxLayoutH handle, PSize retval); C_EXPORT bool QBoxLayout_hasHeightForWidth(QBoxLayoutH handle); C_EXPORT int QBoxLayout_heightForWidth(QBoxLayoutH handle, int AnonParam1); C_EXPORT int QBoxLayout_minimumHeightForWidth(QBoxLayoutH handle, int AnonParam1); C_EXPORT unsigned int QBoxLayout_expandingDirections(QBoxLayoutH handle); C_EXPORT void QBoxLayout_invalidate(QBoxLayoutH handle); C_EXPORT QLayoutItemH QBoxLayout_itemAt(QBoxLayoutH handle, int AnonParam1); C_EXPORT QLayoutItemH QBoxLayout_takeAt(QBoxLayoutH handle, int AnonParam1); C_EXPORT int QBoxLayout_count(QBoxLayoutH handle); C_EXPORT void QBoxLayout_setGeometry(QBoxLayoutH handle, PRect AnonParam1); C_EXPORT QHBoxLayoutH QHBoxLayout_create(); C_EXPORT void QHBoxLayout_destroy(QHBoxLayoutH handle); C_EXPORT QHBoxLayoutH QHBoxLayout_create2(QWidgetH parent); C_EXPORT QVBoxLayoutH QVBoxLayout_create(); C_EXPORT void QVBoxLayout_destroy(QVBoxLayoutH handle); C_EXPORT QVBoxLayoutH QVBoxLayout_create2(QWidgetH parent); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtabwidget_hook.h0000664000212600021260000000403711677135472020363 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTABWIDGET_HOOK_H #define QTABWIDGET_HOOK_H #include #include "qwidget_hook.h" class QTabWidget_hook : public QWidget_hook { Q_OBJECT public: QTabWidget_hook(QObject *handle) : QWidget_hook(handle) { currentChanged_event.func = NULL; tabCloseRequested_event.func = NULL; } void hook_currentChanged(QHook &hook) { if ( !currentChanged_event.func ) connect(handle, SIGNAL(currentChanged(int)), this, SLOT(currentChanged_hook(int))); currentChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentChanged(int)), this, SLOT(currentChanged_hook(int))); } void hook_tabCloseRequested(QHook &hook) { if ( !tabCloseRequested_event.func ) connect(handle, SIGNAL(tabCloseRequested(int)), this, SLOT(tabCloseRequested_hook(int))); tabCloseRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(tabCloseRequested(int)), this, SLOT(tabCloseRequested_hook(int))); } private slots: void currentChanged_hook(int index) { if ( currentChanged_event.func ) { typedef void (*func_type)(void *data, int index); (*(func_type)currentChanged_event.func)(currentChanged_event.data, index); } } void tabCloseRequested_hook(int index) { if ( tabCloseRequested_event.func ) { typedef void (*func_type)(void *data, int index); (*(func_type)tabCloseRequested_event.func)(tabCloseRequested_event.data, index); } } private: QHook currentChanged_event; QHook tabCloseRequested_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmenubar_hook_c.h0000664000212600021260000000152111677135472020337 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMENUBAR_HOOK_C_H #define QMENUBAR_HOOK_C_H #include "qmenubar_hook.h" C_EXPORT QMenuBar_hookH QMenuBar_hook_create(QObjectH handle); C_EXPORT void QMenuBar_hook_destroy(QMenuBar_hookH handle); C_EXPORT void QMenuBar_hook_hook_triggered(QMenuBar_hookH handle, QHookH hook); C_EXPORT void QMenuBar_hook_hook_hovered(QMenuBar_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qitemselectionmodel_hook.h0000664000212600021260000000745511677135472022305 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QITEMSELECTIONMODEL_HOOK_H #define QITEMSELECTIONMODEL_HOOK_H #include #include "qobject_hook.h" class QItemSelectionRange_hook : public QObject_hook { Q_OBJECT public: QItemSelectionRange_hook(QObject *handle) : QObject_hook(handle) { } }; #include "qobject_hook.h" class QItemSelectionModel_hook : public QObject_hook { Q_OBJECT public: QItemSelectionModel_hook(QObject *handle) : QObject_hook(handle) { currentChanged_event.func = NULL; currentRowChanged_event.func = NULL; currentColumnChanged_event.func = NULL; } void hook_currentChanged(QHook &hook) { if ( !currentChanged_event.func ) connect(handle, SIGNAL(currentChanged(const QModelIndex&, const QModelIndex&)), this, SLOT(currentChanged_hook(const QModelIndex&, const QModelIndex&))); currentChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentChanged(const QModelIndex&, const QModelIndex&)), this, SLOT(currentChanged_hook(const QModelIndex&, const QModelIndex&))); } void hook_currentRowChanged(QHook &hook) { if ( !currentRowChanged_event.func ) connect(handle, SIGNAL(currentRowChanged(const QModelIndex&, const QModelIndex&)), this, SLOT(currentRowChanged_hook(const QModelIndex&, const QModelIndex&))); currentRowChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentRowChanged(const QModelIndex&, const QModelIndex&)), this, SLOT(currentRowChanged_hook(const QModelIndex&, const QModelIndex&))); } void hook_currentColumnChanged(QHook &hook) { if ( !currentColumnChanged_event.func ) connect(handle, SIGNAL(currentColumnChanged(const QModelIndex&, const QModelIndex&)), this, SLOT(currentColumnChanged_hook(const QModelIndex&, const QModelIndex&))); currentColumnChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentColumnChanged(const QModelIndex&, const QModelIndex&)), this, SLOT(currentColumnChanged_hook(const QModelIndex&, const QModelIndex&))); } private slots: void currentChanged_hook(const QModelIndex& current, const QModelIndex& previous) { if ( currentChanged_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH current, const QModelIndexH previous); (*(func_type)currentChanged_event.func)(currentChanged_event.data, (const QModelIndexH)¤t, (const QModelIndexH)&previous); } } void currentRowChanged_hook(const QModelIndex& current, const QModelIndex& previous) { if ( currentRowChanged_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH current, const QModelIndexH previous); (*(func_type)currentRowChanged_event.func)(currentRowChanged_event.data, (const QModelIndexH)¤t, (const QModelIndexH)&previous); } } void currentColumnChanged_hook(const QModelIndex& current, const QModelIndex& previous) { if ( currentColumnChanged_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH current, const QModelIndexH previous); (*(func_type)currentColumnChanged_event.func)(currentColumnChanged_event.data, (const QModelIndexH)¤t, (const QModelIndexH)&previous); } } private: QHook currentChanged_event; QHook currentRowChanged_event; QHook currentColumnChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintdialog_c.h0000664000212600021260000000305611677135472020207 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPRINTDIALOG_C_H #define QPRINTDIALOG_C_H #include #include "pascalbind.h" C_EXPORT QPrintDialogH QPrintDialog_create(QPrinterH printer, QWidgetH parent); C_EXPORT void QPrintDialog_destroy(QPrintDialogH handle); C_EXPORT QPrintDialogH QPrintDialog_create2(QWidgetH parent); C_EXPORT int QPrintDialog_exec(QPrintDialogH handle); #if defined BINUX || QTOPIA C_EXPORT void QPrintDialog_accept(QPrintDialogH handle); #endif C_EXPORT void QPrintDialog_done(QPrintDialogH handle, int result); C_EXPORT void QPrintDialog_setOption(QPrintDialogH handle, QAbstractPrintDialog::PrintDialogOption option, bool on); C_EXPORT bool QPrintDialog_testOption(QPrintDialogH handle, QAbstractPrintDialog::PrintDialogOption option); C_EXPORT void QPrintDialog_setOptions(QPrintDialogH handle, unsigned int options); C_EXPORT unsigned int QPrintDialog_options(QPrintDialogH handle); #if defined BINUX || DARWIN || QTOPIA C_EXPORT void QPrintDialog_setVisible(QPrintDialogH handle, bool visible); #endif C_EXPORT void QPrintDialog_open(QPrintDialogH handle, QObjectH receiver, const char* member); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtimer_c.h0000664000212600021260000000226611677135472017015 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTIMER_C_H #define QTIMER_C_H #include #include "pascalbind.h" C_EXPORT QTimerH QTimer_create(QObjectH parent); C_EXPORT void QTimer_destroy(QTimerH handle); C_EXPORT bool QTimer_isActive(QTimerH handle); C_EXPORT int QTimer_timerId(QTimerH handle); C_EXPORT void QTimer_setInterval(QTimerH handle, int msec); C_EXPORT int QTimer_interval(QTimerH handle); C_EXPORT void QTimer_setSingleShot(QTimerH handle, bool singleShot); C_EXPORT bool QTimer_isSingleShot(QTimerH handle); C_EXPORT void QTimer_singleShot(int msec, QObjectH receiver, const char* member); C_EXPORT void QTimer_start(QTimerH handle, int msec); C_EXPORT void QTimer_start2(QTimerH handle); C_EXPORT void QTimer_stop(QTimerH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qitemselectionmodel_c.cpp0000664000212600021260000001706111677135472022114 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qitemselectionmodel_c.h" QItemSelectionRangeH QItemSelectionRange_create() { return (QItemSelectionRangeH) new QItemSelectionRange(); } void QItemSelectionRange_destroy(QItemSelectionRangeH handle) { delete (QItemSelectionRange *)handle; } QItemSelectionRangeH QItemSelectionRange_create2(const QItemSelectionRangeH other) { return (QItemSelectionRangeH) new QItemSelectionRange(*(const QItemSelectionRange*)other); } QItemSelectionRangeH QItemSelectionRange_create3(const QModelIndexH topLeft, const QModelIndexH bottomRight) { return (QItemSelectionRangeH) new QItemSelectionRange(*(const QModelIndex*)topLeft, *(const QModelIndex*)bottomRight); } QItemSelectionRangeH QItemSelectionRange_create4(const QModelIndexH index) { return (QItemSelectionRangeH) new QItemSelectionRange(*(const QModelIndex*)index); } int QItemSelectionRange_top(QItemSelectionRangeH handle) { return (int) ((QItemSelectionRange *)handle)->top(); } int QItemSelectionRange_left(QItemSelectionRangeH handle) { return (int) ((QItemSelectionRange *)handle)->left(); } int QItemSelectionRange_bottom(QItemSelectionRangeH handle) { return (int) ((QItemSelectionRange *)handle)->bottom(); } int QItemSelectionRange_right(QItemSelectionRangeH handle) { return (int) ((QItemSelectionRange *)handle)->right(); } int QItemSelectionRange_width(QItemSelectionRangeH handle) { return (int) ((QItemSelectionRange *)handle)->width(); } int QItemSelectionRange_height(QItemSelectionRangeH handle) { return (int) ((QItemSelectionRange *)handle)->height(); } void QItemSelectionRange_topLeft(QItemSelectionRangeH handle, QModelIndexH retval) { *(QModelIndex *)retval = ((QItemSelectionRange *)handle)->topLeft(); } void QItemSelectionRange_bottomRight(QItemSelectionRangeH handle, QModelIndexH retval) { *(QModelIndex *)retval = ((QItemSelectionRange *)handle)->bottomRight(); } void QItemSelectionRange_parent(QItemSelectionRangeH handle, QModelIndexH retval) { *(QModelIndex *)retval = ((QItemSelectionRange *)handle)->parent(); } const QAbstractItemModelH QItemSelectionRange_model(QItemSelectionRangeH handle) { return (const QAbstractItemModelH) ((QItemSelectionRange *)handle)->model(); } bool QItemSelectionRange_contains(QItemSelectionRangeH handle, const QModelIndexH index) { return (bool) ((QItemSelectionRange *)handle)->contains(*(const QModelIndex*)index); } bool QItemSelectionRange_contains2(QItemSelectionRangeH handle, int row, int column, const QModelIndexH parentIndex) { return (bool) ((QItemSelectionRange *)handle)->contains(row, column, *(const QModelIndex*)parentIndex); } bool QItemSelectionRange_intersects(QItemSelectionRangeH handle, const QItemSelectionRangeH other) { return (bool) ((QItemSelectionRange *)handle)->intersects(*(const QItemSelectionRange*)other); } void QItemSelectionRange_intersect(QItemSelectionRangeH handle, QItemSelectionRangeH retval, const QItemSelectionRangeH other) { *(QItemSelectionRange *)retval = ((QItemSelectionRange *)handle)->intersect(*(const QItemSelectionRange*)other); } void QItemSelectionRange_intersected(QItemSelectionRangeH handle, QItemSelectionRangeH retval, const QItemSelectionRangeH other) { *(QItemSelectionRange *)retval = ((QItemSelectionRange *)handle)->intersected(*(const QItemSelectionRange*)other); } bool QItemSelectionRange_isValid(QItemSelectionRangeH handle) { return (bool) ((QItemSelectionRange *)handle)->isValid(); } void QItemSelectionRange_indexes(QItemSelectionRangeH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QItemSelectionRange *)handle)->indexes(); copyQListTemplateToPtrIntArrayWithNew(t_retval, retval); } QItemSelectionModelH QItemSelectionModel_create(QAbstractItemModelH model) { return (QItemSelectionModelH) new QItemSelectionModel((QAbstractItemModel*)model); } void QItemSelectionModel_destroy(QItemSelectionModelH handle) { delete (QItemSelectionModel *)handle; } QItemSelectionModelH QItemSelectionModel_create2(QAbstractItemModelH model, QObjectH parent) { return (QItemSelectionModelH) new QItemSelectionModel((QAbstractItemModel*)model, (QObject*)parent); } void QItemSelectionModel_currentIndex(QItemSelectionModelH handle, QModelIndexH retval) { *(QModelIndex *)retval = ((QItemSelectionModel *)handle)->currentIndex(); } bool QItemSelectionModel_isSelected(QItemSelectionModelH handle, const QModelIndexH index) { return (bool) ((QItemSelectionModel *)handle)->isSelected(*(const QModelIndex*)index); } bool QItemSelectionModel_isRowSelected(QItemSelectionModelH handle, int row, const QModelIndexH parent) { return (bool) ((QItemSelectionModel *)handle)->isRowSelected(row, *(const QModelIndex*)parent); } bool QItemSelectionModel_isColumnSelected(QItemSelectionModelH handle, int column, const QModelIndexH parent) { return (bool) ((QItemSelectionModel *)handle)->isColumnSelected(column, *(const QModelIndex*)parent); } bool QItemSelectionModel_rowIntersectsSelection(QItemSelectionModelH handle, int row, const QModelIndexH parent) { return (bool) ((QItemSelectionModel *)handle)->rowIntersectsSelection(row, *(const QModelIndex*)parent); } bool QItemSelectionModel_columnIntersectsSelection(QItemSelectionModelH handle, int column, const QModelIndexH parent) { return (bool) ((QItemSelectionModel *)handle)->columnIntersectsSelection(column, *(const QModelIndex*)parent); } bool QItemSelectionModel_hasSelection(QItemSelectionModelH handle) { return (bool) ((QItemSelectionModel *)handle)->hasSelection(); } void QItemSelectionModel_selectedIndexes(QItemSelectionModelH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QItemSelectionModel *)handle)->selectedIndexes(); copyQListTemplateToPtrIntArrayWithNew(t_retval, retval); } void QItemSelectionModel_selectedRows(QItemSelectionModelH handle, PPtrIntArray retval, int column) { QList t_retval; t_retval = ((QItemSelectionModel *)handle)->selectedRows(column); copyQListTemplateToPtrIntArrayWithNew(t_retval, retval); } void QItemSelectionModel_selectedColumns(QItemSelectionModelH handle, PPtrIntArray retval, int row) { QList t_retval; t_retval = ((QItemSelectionModel *)handle)->selectedColumns(row); copyQListTemplateToPtrIntArrayWithNew(t_retval, retval); } const QAbstractItemModelH QItemSelectionModel_model(QItemSelectionModelH handle) { return (const QAbstractItemModelH) ((QItemSelectionModel *)handle)->model(); } void QItemSelectionModel_setCurrentIndex(QItemSelectionModelH handle, const QModelIndexH index, unsigned int command) { ((QItemSelectionModel *)handle)->setCurrentIndex(*(const QModelIndex*)index, (QItemSelectionModel::SelectionFlags)command); } void QItemSelectionModel_select(QItemSelectionModelH handle, const QModelIndexH index, unsigned int command) { ((QItemSelectionModel *)handle)->select(*(const QModelIndex*)index, (QItemSelectionModel::SelectionFlags)command); } void QItemSelectionModel_clear(QItemSelectionModelH handle) { ((QItemSelectionModel *)handle)->clear(); } void QItemSelectionModel_reset(QItemSelectionModelH handle) { ((QItemSelectionModel *)handle)->reset(); } void QItemSelectionModel_clearSelection(QItemSelectionModelH handle) { ((QItemSelectionModel *)handle)->clearSelection(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qgraphicsview_c.h0000664000212600021260000002017611677135472020370 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QGRAPHICSVIEW_C_H #define QGRAPHICSVIEW_C_H #include #include "pascalbind.h" C_EXPORT QGraphicsViewH QGraphicsView_create(QWidgetH parent); C_EXPORT void QGraphicsView_destroy(QGraphicsViewH handle); C_EXPORT QGraphicsViewH QGraphicsView_create2(QGraphicsSceneH scene, QWidgetH parent); C_EXPORT void QGraphicsView_sizeHint(QGraphicsViewH handle, PSize retval); C_EXPORT unsigned int QGraphicsView_renderHints(QGraphicsViewH handle); C_EXPORT void QGraphicsView_setRenderHint(QGraphicsViewH handle, QPainter::RenderHint hint, bool enabled); C_EXPORT void QGraphicsView_setRenderHints(QGraphicsViewH handle, unsigned int hints); C_EXPORT unsigned int QGraphicsView_alignment(QGraphicsViewH handle); C_EXPORT void QGraphicsView_setAlignment(QGraphicsViewH handle, unsigned int alignment); C_EXPORT QGraphicsView::ViewportAnchor QGraphicsView_transformationAnchor(QGraphicsViewH handle); C_EXPORT void QGraphicsView_setTransformationAnchor(QGraphicsViewH handle, QGraphicsView::ViewportAnchor anchor); C_EXPORT QGraphicsView::ViewportAnchor QGraphicsView_resizeAnchor(QGraphicsViewH handle); C_EXPORT void QGraphicsView_setResizeAnchor(QGraphicsViewH handle, QGraphicsView::ViewportAnchor anchor); C_EXPORT QGraphicsView::ViewportUpdateMode QGraphicsView_viewportUpdateMode(QGraphicsViewH handle); C_EXPORT void QGraphicsView_setViewportUpdateMode(QGraphicsViewH handle, QGraphicsView::ViewportUpdateMode mode); C_EXPORT unsigned int QGraphicsView_optimizationFlags(QGraphicsViewH handle); C_EXPORT void QGraphicsView_setOptimizationFlag(QGraphicsViewH handle, QGraphicsView::OptimizationFlag flag, bool enabled); C_EXPORT void QGraphicsView_setOptimizationFlags(QGraphicsViewH handle, unsigned int flags); C_EXPORT QGraphicsView::DragMode QGraphicsView_dragMode(QGraphicsViewH handle); C_EXPORT void QGraphicsView_setDragMode(QGraphicsViewH handle, QGraphicsView::DragMode mode); C_EXPORT Qt::ItemSelectionMode QGraphicsView_rubberBandSelectionMode(QGraphicsViewH handle); C_EXPORT void QGraphicsView_setRubberBandSelectionMode(QGraphicsViewH handle, Qt::ItemSelectionMode mode); C_EXPORT unsigned int QGraphicsView_cacheMode(QGraphicsViewH handle); C_EXPORT void QGraphicsView_setCacheMode(QGraphicsViewH handle, unsigned int mode); C_EXPORT void QGraphicsView_resetCachedContent(QGraphicsViewH handle); C_EXPORT bool QGraphicsView_isInteractive(QGraphicsViewH handle); C_EXPORT void QGraphicsView_setInteractive(QGraphicsViewH handle, bool allowed); C_EXPORT QGraphicsSceneH QGraphicsView_scene(QGraphicsViewH handle); C_EXPORT void QGraphicsView_setScene(QGraphicsViewH handle, QGraphicsSceneH scene); C_EXPORT void QGraphicsView_sceneRect(QGraphicsViewH handle, QRectFH retval); C_EXPORT void QGraphicsView_setSceneRect(QGraphicsViewH handle, const QRectFH rect); C_EXPORT void QGraphicsView_setSceneRect2(QGraphicsViewH handle, qreal x, qreal y, qreal w, qreal h); C_EXPORT void QGraphicsView_matrix(QGraphicsViewH handle, QMatrixH retval); C_EXPORT void QGraphicsView_setMatrix(QGraphicsViewH handle, const QMatrixH matrix, bool combine); C_EXPORT void QGraphicsView_resetMatrix(QGraphicsViewH handle); C_EXPORT void QGraphicsView_transform(QGraphicsViewH handle, QTransformH retval); C_EXPORT void QGraphicsView_viewportTransform(QGraphicsViewH handle, QTransformH retval); C_EXPORT void QGraphicsView_setTransform(QGraphicsViewH handle, const QTransformH matrix, bool combine); C_EXPORT void QGraphicsView_resetTransform(QGraphicsViewH handle); C_EXPORT void QGraphicsView_rotate(QGraphicsViewH handle, qreal angle); C_EXPORT void QGraphicsView_scale(QGraphicsViewH handle, qreal sx, qreal sy); C_EXPORT void QGraphicsView_shear(QGraphicsViewH handle, qreal sh, qreal sv); C_EXPORT void QGraphicsView_translate(QGraphicsViewH handle, qreal dx, qreal dy); C_EXPORT void QGraphicsView_centerOn(QGraphicsViewH handle, const QPointFH pos); C_EXPORT void QGraphicsView_centerOn2(QGraphicsViewH handle, qreal x, qreal y); C_EXPORT void QGraphicsView_centerOn3(QGraphicsViewH handle, const QGraphicsItemH item); C_EXPORT void QGraphicsView_ensureVisible(QGraphicsViewH handle, const QRectFH rect, int xmargin, int ymargin); C_EXPORT void QGraphicsView_ensureVisible2(QGraphicsViewH handle, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin); C_EXPORT void QGraphicsView_ensureVisible3(QGraphicsViewH handle, const QGraphicsItemH item, int xmargin, int ymargin); C_EXPORT void QGraphicsView_fitInView(QGraphicsViewH handle, const QRectFH rect, Qt::AspectRatioMode aspectRadioMode); C_EXPORT void QGraphicsView_fitInView2(QGraphicsViewH handle, qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode); C_EXPORT void QGraphicsView_fitInView3(QGraphicsViewH handle, const QGraphicsItemH item, Qt::AspectRatioMode aspectRadioMode); C_EXPORT void QGraphicsView_render(QGraphicsViewH handle, QPainterH painter, const QRectFH target, PRect source, Qt::AspectRatioMode aspectRatioMode); C_EXPORT void QGraphicsView_items(QGraphicsViewH handle, PPtrIntArray retval); C_EXPORT void QGraphicsView_items2(QGraphicsViewH handle, PPtrIntArray retval, const QPointH pos); C_EXPORT void QGraphicsView_items3(QGraphicsViewH handle, PPtrIntArray retval, int x, int y); C_EXPORT void QGraphicsView_items4(QGraphicsViewH handle, PPtrIntArray retval, PRect rect, Qt::ItemSelectionMode mode); C_EXPORT void QGraphicsView_items5(QGraphicsViewH handle, PPtrIntArray retval, int x, int y, int w, int h, Qt::ItemSelectionMode mode); C_EXPORT void QGraphicsView_items6(QGraphicsViewH handle, PPtrIntArray retval, const QPolygonH polygon, Qt::ItemSelectionMode mode); C_EXPORT void QGraphicsView_items7(QGraphicsViewH handle, PPtrIntArray retval, const QPainterPathH path, Qt::ItemSelectionMode mode); C_EXPORT QGraphicsItemH QGraphicsView_itemAt(QGraphicsViewH handle, const QPointH pos); C_EXPORT QGraphicsItemH QGraphicsView_itemAt2(QGraphicsViewH handle, int x, int y); C_EXPORT void QGraphicsView_mapToScene(QGraphicsViewH handle, PQtPointF retval, const QPointH point); C_EXPORT void QGraphicsView_mapToScene2(QGraphicsViewH handle, QPolygonFH retval, PRect rect); C_EXPORT void QGraphicsView_mapToScene3(QGraphicsViewH handle, QPolygonFH retval, const QPolygonH polygon); C_EXPORT void QGraphicsView_mapToScene4(QGraphicsViewH handle, QPainterPathH retval, const QPainterPathH path); C_EXPORT void QGraphicsView_mapFromScene(QGraphicsViewH handle, PQtPoint retval, const QPointFH point); C_EXPORT void QGraphicsView_mapFromScene2(QGraphicsViewH handle, QPolygonH retval, const QRectFH rect); C_EXPORT void QGraphicsView_mapFromScene3(QGraphicsViewH handle, QPolygonH retval, const QPolygonFH polygon); C_EXPORT void QGraphicsView_mapFromScene4(QGraphicsViewH handle, QPainterPathH retval, const QPainterPathH path); C_EXPORT void QGraphicsView_mapToScene5(QGraphicsViewH handle, PQtPointF retval, int x, int y); C_EXPORT void QGraphicsView_mapToScene6(QGraphicsViewH handle, QPolygonFH retval, int x, int y, int w, int h); C_EXPORT void QGraphicsView_mapFromScene5(QGraphicsViewH handle, PQtPoint retval, qreal x, qreal y); C_EXPORT void QGraphicsView_mapFromScene6(QGraphicsViewH handle, QPolygonH retval, qreal x, qreal y, qreal w, qreal h); C_EXPORT void QGraphicsView_inputMethodQuery(QGraphicsViewH handle, QVariantH retval, Qt::InputMethodQuery query); C_EXPORT void QGraphicsView_backgroundBrush(QGraphicsViewH handle, QBrushH retval); C_EXPORT void QGraphicsView_setBackgroundBrush(QGraphicsViewH handle, const QBrushH brush); C_EXPORT void QGraphicsView_foregroundBrush(QGraphicsViewH handle, QBrushH retval); C_EXPORT void QGraphicsView_setForegroundBrush(QGraphicsViewH handle, const QBrushH brush); C_EXPORT void QGraphicsView_invalidateScene(QGraphicsViewH handle, const QRectFH rect, unsigned int layers); C_EXPORT void QGraphicsView_updateSceneRect(QGraphicsViewH handle, const QRectFH rect); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkcookie_c.h0000664000212600021260000000434611677135472020561 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QNETWORKCOOKIE_C_H #define QNETWORKCOOKIE_C_H #include #include "pascalbind.h" C_EXPORT QNetworkCookieH QNetworkCookie_create(const QByteArrayH name, const QByteArrayH value); C_EXPORT void QNetworkCookie_destroy(QNetworkCookieH handle); C_EXPORT QNetworkCookieH QNetworkCookie_create2(const QNetworkCookieH other); C_EXPORT bool QNetworkCookie_isSecure(QNetworkCookieH handle); C_EXPORT void QNetworkCookie_setSecure(QNetworkCookieH handle, bool enable); C_EXPORT bool QNetworkCookie_isHttpOnly(QNetworkCookieH handle); C_EXPORT void QNetworkCookie_setHttpOnly(QNetworkCookieH handle, bool enable); C_EXPORT bool QNetworkCookie_isSessionCookie(QNetworkCookieH handle); C_EXPORT void QNetworkCookie_expirationDate(QNetworkCookieH handle, QDateTimeH retval); C_EXPORT void QNetworkCookie_setExpirationDate(QNetworkCookieH handle, const QDateTimeH date); C_EXPORT void QNetworkCookie_domain(QNetworkCookieH handle, PWideString retval); C_EXPORT void QNetworkCookie_setDomain(QNetworkCookieH handle, PWideString domain); C_EXPORT void QNetworkCookie_path(QNetworkCookieH handle, PWideString retval); C_EXPORT void QNetworkCookie_setPath(QNetworkCookieH handle, PWideString path); C_EXPORT void QNetworkCookie_name(QNetworkCookieH handle, QByteArrayH retval); C_EXPORT void QNetworkCookie_setName(QNetworkCookieH handle, const QByteArrayH cookieName); C_EXPORT void QNetworkCookie_value(QNetworkCookieH handle, QByteArrayH retval); C_EXPORT void QNetworkCookie_setValue(QNetworkCookieH handle, const QByteArrayH value); C_EXPORT void QNetworkCookie_toRawForm(QNetworkCookieH handle, QByteArrayH retval, QNetworkCookie::RawForm form); C_EXPORT QNetworkCookieJarH QNetworkCookieJar_create(QObjectH parent); C_EXPORT void QNetworkCookieJar_destroy(QNetworkCookieJarH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebhistory_c.h0000664000212600021260000000504611677135472020073 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBHISTORY_C_H #define QWEBHISTORY_C_H #include #include "pascalbind.h" C_EXPORT QWebHistoryItemH QWebHistoryItem_create(const QWebHistoryItemH other); C_EXPORT void QWebHistoryItem_destroy(QWebHistoryItemH handle); C_EXPORT void QWebHistoryItem_originalUrl(QWebHistoryItemH handle, QUrlH retval); C_EXPORT void QWebHistoryItem_url(QWebHistoryItemH handle, QUrlH retval); C_EXPORT void QWebHistoryItem_title(QWebHistoryItemH handle, PWideString retval); C_EXPORT void QWebHistoryItem_lastVisited(QWebHistoryItemH handle, QDateTimeH retval); C_EXPORT void QWebHistoryItem_icon(QWebHistoryItemH handle, QIconH retval); C_EXPORT void QWebHistoryItem_userData(QWebHistoryItemH handle, QVariantH retval); C_EXPORT void QWebHistoryItem_setUserData(QWebHistoryItemH handle, const QVariantH userData); C_EXPORT bool QWebHistoryItem_isValid(QWebHistoryItemH handle); C_EXPORT void QWebHistory_clear(QWebHistoryH handle); C_EXPORT void QWebHistory_items(QWebHistoryH handle, PPtrIntArray retval); C_EXPORT void QWebHistory_backItems(QWebHistoryH handle, PPtrIntArray retval, int maxItems); C_EXPORT void QWebHistory_forwardItems(QWebHistoryH handle, PPtrIntArray retval, int maxItems); C_EXPORT bool QWebHistory_canGoBack(QWebHistoryH handle); C_EXPORT bool QWebHistory_canGoForward(QWebHistoryH handle); C_EXPORT void QWebHistory_back(QWebHistoryH handle); C_EXPORT void QWebHistory_forward(QWebHistoryH handle); C_EXPORT void QWebHistory_goToItem(QWebHistoryH handle, const QWebHistoryItemH item); C_EXPORT void QWebHistory_backItem(QWebHistoryH handle, QWebHistoryItemH retval); C_EXPORT void QWebHistory_currentItem(QWebHistoryH handle, QWebHistoryItemH retval); C_EXPORT void QWebHistory_forwardItem(QWebHistoryH handle, QWebHistoryItemH retval); C_EXPORT void QWebHistory_itemAt(QWebHistoryH handle, QWebHistoryItemH retval, int i); C_EXPORT int QWebHistory_currentItemIndex(QWebHistoryH handle); C_EXPORT int QWebHistory_count(QWebHistoryH handle); C_EXPORT int QWebHistory_maximumItemCount(QWebHistoryH handle); C_EXPORT void QWebHistory_setMaximumItemCount(QWebHistoryH handle, int count); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qspinbox_hook_c.cpp0000664000212600021260000000277311677135472020735 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qspinbox_hook_c.h" QSpinBox_hookH QSpinBox_hook_create(QObjectH handle) { return (QSpinBox_hookH) new QSpinBox_hook((QObject*)handle); } void QSpinBox_hook_destroy(QSpinBox_hookH handle) { delete (QSpinBox_hook *)handle; } void QSpinBox_hook_hook_valueChanged(QSpinBox_hookH handle, QHookH hook) { ((QSpinBox_hook *)handle)->hook_valueChanged(hook); } void QSpinBox_hook_hook_valueChanged2(QSpinBox_hookH handle, QHookH hook) { ((QSpinBox_hook *)handle)->hook_valueChanged2(hook); } QDoubleSpinBox_hookH QDoubleSpinBox_hook_create(QObjectH handle) { return (QDoubleSpinBox_hookH) new QDoubleSpinBox_hook((QObject*)handle); } void QDoubleSpinBox_hook_destroy(QDoubleSpinBox_hookH handle) { delete (QDoubleSpinBox_hook *)handle; } void QDoubleSpinBox_hook_hook_valueChanged(QDoubleSpinBox_hookH handle, QHookH hook) { ((QDoubleSpinBox_hook *)handle)->hook_valueChanged(hook); } void QDoubleSpinBox_hook_hook_valueChanged2(QDoubleSpinBox_hookH handle, QHookH hook) { ((QDoubleSpinBox_hook *)handle)->hook_valueChanged2(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsocketnotifier_hook_c.cpp0000664000212600021260000000162711677135472022300 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsocketnotifier_hook_c.h" QSocketNotifier_hookH QSocketNotifier_hook_create(QObjectH handle) { return (QSocketNotifier_hookH) new QSocketNotifier_hook((QObject*)handle); } void QSocketNotifier_hook_destroy(QSocketNotifier_hookH handle) { delete (QSocketNotifier_hook *)handle; } void QSocketNotifier_hook_hook_activated(QSocketNotifier_hookH handle, QHookH hook) { ((QSocketNotifier_hook *)handle)->hook_activated(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmessagebox_c.h0000664000212600021260000001337411677135472020034 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMESSAGEBOX_C_H #define QMESSAGEBOX_C_H #include #include "pascalbind.h" C_EXPORT QMessageBoxH QMessageBox_create(QWidgetH parent); C_EXPORT void QMessageBox_destroy(QMessageBoxH handle); C_EXPORT QMessageBoxH QMessageBox_create2(QMessageBox::Icon icon, PWideString title, PWideString text, unsigned int buttons, QWidgetH parent, unsigned int flags); C_EXPORT void QMessageBox_addButton(QMessageBoxH handle, QAbstractButtonH button, QMessageBox::ButtonRole role); C_EXPORT QPushButtonH QMessageBox_addButton2(QMessageBoxH handle, PWideString text, QMessageBox::ButtonRole role); C_EXPORT QPushButtonH QMessageBox_addButton3(QMessageBoxH handle, QMessageBox::StandardButton button); C_EXPORT void QMessageBox_removeButton(QMessageBoxH handle, QAbstractButtonH button); C_EXPORT void QMessageBox_open(QMessageBoxH handle, QObjectH receiver, const char* member); C_EXPORT void QMessageBox_buttons(QMessageBoxH handle, PPtrIntArray retval); C_EXPORT QMessageBox::ButtonRole QMessageBox_buttonRole(QMessageBoxH handle, QAbstractButtonH button); C_EXPORT void QMessageBox_setStandardButtons(QMessageBoxH handle, unsigned int buttons); C_EXPORT unsigned int QMessageBox_standardButtons(QMessageBoxH handle); C_EXPORT QMessageBox::StandardButton QMessageBox_standardButton(QMessageBoxH handle, QAbstractButtonH button); C_EXPORT QAbstractButtonH QMessageBox_button(QMessageBoxH handle, QMessageBox::StandardButton which); C_EXPORT QPushButtonH QMessageBox_defaultButton(QMessageBoxH handle); C_EXPORT void QMessageBox_setDefaultButton(QMessageBoxH handle, QPushButtonH button); C_EXPORT void QMessageBox_setDefaultButton2(QMessageBoxH handle, QMessageBox::StandardButton button); C_EXPORT QAbstractButtonH QMessageBox_escapeButton(QMessageBoxH handle); C_EXPORT void QMessageBox_setEscapeButton(QMessageBoxH handle, QAbstractButtonH button); C_EXPORT void QMessageBox_setEscapeButton2(QMessageBoxH handle, QMessageBox::StandardButton button); C_EXPORT QAbstractButtonH QMessageBox_clickedButton(QMessageBoxH handle); C_EXPORT void QMessageBox_text(QMessageBoxH handle, PWideString retval); C_EXPORT void QMessageBox_setText(QMessageBoxH handle, PWideString text); C_EXPORT QMessageBox::Icon QMessageBox_icon(QMessageBoxH handle); C_EXPORT void QMessageBox_setIcon(QMessageBoxH handle, QMessageBox::Icon AnonParam1); C_EXPORT void QMessageBox_iconPixmap(QMessageBoxH handle, QPixmapH retval); C_EXPORT void QMessageBox_setIconPixmap(QMessageBoxH handle, const QPixmapH pixmap); C_EXPORT Qt::TextFormat QMessageBox_textFormat(QMessageBoxH handle); C_EXPORT void QMessageBox_setTextFormat(QMessageBoxH handle, Qt::TextFormat format); C_EXPORT QMessageBox::StandardButton QMessageBox_information(QWidgetH parent, PWideString title, PWideString text, unsigned int buttons, QMessageBox::StandardButton defaultButton); C_EXPORT QMessageBox::StandardButton QMessageBox_question(QWidgetH parent, PWideString title, PWideString text, unsigned int buttons, QMessageBox::StandardButton defaultButton); C_EXPORT QMessageBox::StandardButton QMessageBox_warning(QWidgetH parent, PWideString title, PWideString text, unsigned int buttons, QMessageBox::StandardButton defaultButton); C_EXPORT QMessageBox::StandardButton QMessageBox_critical(QWidgetH parent, PWideString title, PWideString text, unsigned int buttons, QMessageBox::StandardButton defaultButton); C_EXPORT void QMessageBox_about(QWidgetH parent, PWideString title, PWideString text); C_EXPORT void QMessageBox_aboutQt(QWidgetH parent, PWideString title); C_EXPORT void QMessageBox_sizeHint(QMessageBoxH handle, PSize retval); C_EXPORT QMessageBoxH QMessageBox_create3(PWideString title, PWideString text, QMessageBox::Icon icon, int button0, int button1, int button2, QWidgetH parent, unsigned int f); C_EXPORT int QMessageBox_information3(QWidgetH parent, PWideString title, PWideString text, PWideString button0Text, PWideString button1Text, PWideString button2Text, int defaultButtonNumber, int escapeButtonNumber); C_EXPORT int QMessageBox_question3(QWidgetH parent, PWideString title, PWideString text, PWideString button0Text, PWideString button1Text, PWideString button2Text, int defaultButtonNumber, int escapeButtonNumber); C_EXPORT int QMessageBox_warning3(QWidgetH parent, PWideString title, PWideString text, PWideString button0Text, PWideString button1Text, PWideString button2Text, int defaultButtonNumber, int escapeButtonNumber); C_EXPORT int QMessageBox_critical3(QWidgetH parent, PWideString title, PWideString text, PWideString button0Text, PWideString button1Text, PWideString button2Text, int defaultButtonNumber, int escapeButtonNumber); C_EXPORT void QMessageBox_buttonText(QMessageBoxH handle, PWideString retval, int button); C_EXPORT void QMessageBox_setButtonText(QMessageBoxH handle, int button, PWideString text); C_EXPORT void QMessageBox_informativeText(QMessageBoxH handle, PWideString retval); C_EXPORT void QMessageBox_setInformativeText(QMessageBoxH handle, PWideString text); C_EXPORT void QMessageBox_detailedText(QMessageBoxH handle, PWideString retval); C_EXPORT void QMessageBox_setDetailedText(QMessageBoxH handle, PWideString text); C_EXPORT void QMessageBox_setWindowTitle(QMessageBoxH handle, PWideString title); C_EXPORT void QMessageBox_setWindowModality(QMessageBoxH handle, Qt::WindowModality windowModality); C_EXPORT void QMessageBox_standardIcon(QPixmapH retval, QMessageBox::Icon icon); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdialog_c.h0000664000212600021260000000335211677135472017131 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDIALOG_C_H #define QDIALOG_C_H #include #include "pascalbind.h" C_EXPORT QDialogH QDialog_create(QWidgetH parent, unsigned int f); C_EXPORT void QDialog_destroy(QDialogH handle); C_EXPORT int QDialog_result(QDialogH handle); C_EXPORT void QDialog_setVisible(QDialogH handle, bool visible); C_EXPORT void QDialog_setOrientation(QDialogH handle, Qt::Orientation orientation); C_EXPORT Qt::Orientation QDialog_orientation(QDialogH handle); C_EXPORT void QDialog_setExtension(QDialogH handle, QWidgetH extension); C_EXPORT QWidgetH QDialog_extension(QDialogH handle); C_EXPORT void QDialog_sizeHint(QDialogH handle, PSize retval); C_EXPORT void QDialog_minimumSizeHint(QDialogH handle, PSize retval); C_EXPORT void QDialog_setSizeGripEnabled(QDialogH handle, bool AnonParam1); C_EXPORT bool QDialog_isSizeGripEnabled(QDialogH handle); C_EXPORT void QDialog_setModal(QDialogH handle, bool modal); C_EXPORT void QDialog_setResult(QDialogH handle, int r); C_EXPORT void QDialog_open(QDialogH handle); C_EXPORT int QDialog_exec(QDialogH handle); C_EXPORT void QDialog_done(QDialogH handle, int AnonParam1); C_EXPORT void QDialog_accept(QDialogH handle); C_EXPORT void QDialog_reject(QDialogH handle); C_EXPORT void QDialog_showExtension(QDialogH handle, bool AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtimer_hook_c.h0000664000212600021260000000135711677135472020035 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTIMER_HOOK_C_H #define QTIMER_HOOK_C_H #include "qtimer_hook.h" C_EXPORT QTimer_hookH QTimer_hook_create(QObjectH handle); C_EXPORT void QTimer_hook_destroy(QTimer_hookH handle); C_EXPORT void QTimer_hook_hook_timeout(QTimer_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclmessageevent.h0000664000212600021260000000176611677135472020560 0ustar janjan#ifndef QLCLMESSAGEEVENT_H #define QLCLMESSAGEEVENT_H #include #include "pascalbind.h" class QLCLMessageEvent : public QEvent { public: PTRUINT Msg; PTRUINT WParam; PTRUINT LParam; PTRUINT MsgResult; QLCLMessageEvent(Type aType) : QEvent(aType),Msg(0),WParam(0),LParam(0),MsgResult(0) {}; QLCLMessageEvent(Type aType, PTRUINT aMsg, PTRUINT aWParam, PTRUINT aLParam, PTRUINT aMsgResult) : QEvent(aType),Msg(aMsg),WParam(aWParam),LParam(aLParam),MsgResult(aMsgResult) {}; // Destroy Test: uncomment following line and recompile binding library //~QLCLMessageEvent() { printf("LCLMessage got destroyed\n"); }; PTRUINT getMsg() { return Msg;} PTRUINT getWParam() { return WParam;} PTRUINT getLParam() { return LParam;} PTRUINT getMsgResult() { return MsgResult;} void setMsg(PTRUINT Value) {Msg = Value;} void setWParam(PTRUINT Value) {WParam = Value;} void setLParam(PTRUINT Value) {LParam = Value;} void setMsgResult(PTRUINT Value) {MsgResult = Value;} }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmenu_hook_c.h0000664000212600021260000000171011677135472017652 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMENU_HOOK_C_H #define QMENU_HOOK_C_H #include "qmenu_hook.h" C_EXPORT QMenu_hookH QMenu_hook_create(QObjectH handle); C_EXPORT void QMenu_hook_destroy(QMenu_hookH handle); C_EXPORT void QMenu_hook_hook_aboutToShow(QMenu_hookH handle, QHookH hook); C_EXPORT void QMenu_hook_hook_aboutToHide(QMenu_hookH handle, QHookH hook); C_EXPORT void QMenu_hook_hook_triggered(QMenu_hookH handle, QHookH hook); C_EXPORT void QMenu_hook_hook_hovered(QMenu_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdockwidget_hook_c.h0000664000212600021260000000223611677135472021036 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDOCKWIDGET_HOOK_C_H #define QDOCKWIDGET_HOOK_C_H #include "qdockwidget_hook.h" C_EXPORT QDockWidget_hookH QDockWidget_hook_create(QObjectH handle); C_EXPORT void QDockWidget_hook_destroy(QDockWidget_hookH handle); C_EXPORT void QDockWidget_hook_hook_featuresChanged(QDockWidget_hookH handle, QHookH hook); C_EXPORT void QDockWidget_hook_hook_topLevelChanged(QDockWidget_hookH handle, QHookH hook); C_EXPORT void QDockWidget_hook_hook_allowedAreasChanged(QDockWidget_hookH handle, QHookH hook); C_EXPORT void QDockWidget_hook_hook_visibilityChanged(QDockWidget_hookH handle, QHookH hook); C_EXPORT void QDockWidget_hook_hook_dockLocationChanged(QDockWidget_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextedit_hook_c.cpp0000664000212600021260000000326511677135472021102 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtextedit_hook_c.h" QTextEdit_hookH QTextEdit_hook_create(QObjectH handle) { return (QTextEdit_hookH) new QTextEdit_hook((QObject*)handle); } void QTextEdit_hook_destroy(QTextEdit_hookH handle) { delete (QTextEdit_hook *)handle; } void QTextEdit_hook_hook_textChanged(QTextEdit_hookH handle, QHookH hook) { ((QTextEdit_hook *)handle)->hook_textChanged(hook); } void QTextEdit_hook_hook_undoAvailable(QTextEdit_hookH handle, QHookH hook) { ((QTextEdit_hook *)handle)->hook_undoAvailable(hook); } void QTextEdit_hook_hook_redoAvailable(QTextEdit_hookH handle, QHookH hook) { ((QTextEdit_hook *)handle)->hook_redoAvailable(hook); } void QTextEdit_hook_hook_currentCharFormatChanged(QTextEdit_hookH handle, QHookH hook) { ((QTextEdit_hook *)handle)->hook_currentCharFormatChanged(hook); } void QTextEdit_hook_hook_copyAvailable(QTextEdit_hookH handle, QHookH hook) { ((QTextEdit_hook *)handle)->hook_copyAvailable(hook); } void QTextEdit_hook_hook_selectionChanged(QTextEdit_hookH handle, QHookH hook) { ((QTextEdit_hook *)handle)->hook_selectionChanged(hook); } void QTextEdit_hook_hook_cursorPositionChanged(QTextEdit_hookH handle, QHookH hook) { ((QTextEdit_hook *)handle)->hook_cursorPositionChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmdiarea_hook_c.h0000664000212600021260000000141411677135472020311 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMDIAREA_HOOK_C_H #define QMDIAREA_HOOK_C_H #include "qmdiarea_hook.h" C_EXPORT QMdiArea_hookH QMdiArea_hook_create(QObjectH handle); C_EXPORT void QMdiArea_hook_destroy(QMdiArea_hookH handle); C_EXPORT void QMdiArea_hook_hook_subWindowActivated(QMdiArea_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintdialog_hook_c.h0000664000212600021260000000144611677135472021230 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPRINTDIALOG_HOOK_C_H #define QPRINTDIALOG_HOOK_C_H #include "qprintdialog_hook.h" C_EXPORT QPrintDialog_hookH QPrintDialog_hook_create(QObjectH handle); C_EXPORT void QPrintDialog_hook_destroy(QPrintDialog_hookH handle); C_EXPORT void QPrintDialog_hook_hook_accepted(QPrintDialog_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextdocument_c.h0000664000212600021260000001463711677135472020425 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTEXTDOCUMENT_C_H #define QTEXTDOCUMENT_C_H #include #include "pascalbind.h" C_EXPORT QTextDocumentH QTextDocument_create(QObjectH parent); C_EXPORT void QTextDocument_destroy(QTextDocumentH handle); C_EXPORT QTextDocumentH QTextDocument_create2(PWideString text, QObjectH parent); C_EXPORT QTextDocumentH QTextDocument_clone(QTextDocumentH handle, QObjectH parent); C_EXPORT bool QTextDocument_isEmpty(QTextDocumentH handle); C_EXPORT void QTextDocument_clear(QTextDocumentH handle); C_EXPORT void QTextDocument_setUndoRedoEnabled(QTextDocumentH handle, bool enable); C_EXPORT bool QTextDocument_isUndoRedoEnabled(QTextDocumentH handle); C_EXPORT bool QTextDocument_isUndoAvailable(QTextDocumentH handle); C_EXPORT bool QTextDocument_isRedoAvailable(QTextDocumentH handle); C_EXPORT int QTextDocument_revision(QTextDocumentH handle); C_EXPORT void QTextDocument_setDocumentLayout(QTextDocumentH handle, QAbstractTextDocumentLayoutH layout); C_EXPORT QAbstractTextDocumentLayoutH QTextDocument_documentLayout(QTextDocumentH handle); C_EXPORT void QTextDocument_setMetaInformation(QTextDocumentH handle, QTextDocument::MetaInformation info, PWideString AnonParam2); C_EXPORT void QTextDocument_metaInformation(QTextDocumentH handle, PWideString retval, QTextDocument::MetaInformation info); C_EXPORT void QTextDocument_toHtml(QTextDocumentH handle, PWideString retval, const QByteArrayH encoding); C_EXPORT void QTextDocument_setHtml(QTextDocumentH handle, PWideString html); C_EXPORT void QTextDocument_toPlainText(QTextDocumentH handle, PWideString retval); C_EXPORT void QTextDocument_setPlainText(QTextDocumentH handle, PWideString text); C_EXPORT void QTextDocument_characterAt(QTextDocumentH handle, PWideChar retval, int pos); C_EXPORT void QTextDocument_find(QTextDocumentH handle, QTextCursorH retval, PWideString subString, int from, unsigned int options); C_EXPORT void QTextDocument_find2(QTextDocumentH handle, QTextCursorH retval, PWideString subString, const QTextCursorH from, unsigned int options); C_EXPORT void QTextDocument_find3(QTextDocumentH handle, QTextCursorH retval, const QRegExpH expr, int from, unsigned int options); C_EXPORT void QTextDocument_find4(QTextDocumentH handle, QTextCursorH retval, const QRegExpH expr, const QTextCursorH from, unsigned int options); C_EXPORT QTextFrameH QTextDocument_frameAt(QTextDocumentH handle, int pos); C_EXPORT QTextFrameH QTextDocument_rootFrame(QTextDocumentH handle); C_EXPORT QTextObjectH QTextDocument_object(QTextDocumentH handle, int objectIndex); C_EXPORT QTextObjectH QTextDocument_objectForFormat(QTextDocumentH handle, const QTextFormatH AnonParam1); C_EXPORT void QTextDocument_findBlock(QTextDocumentH handle, QTextBlockH retval, int pos); C_EXPORT void QTextDocument_findBlockByNumber(QTextDocumentH handle, QTextBlockH retval, int blockNumber); C_EXPORT void QTextDocument_findBlockByLineNumber(QTextDocumentH handle, QTextBlockH retval, int blockNumber); C_EXPORT void QTextDocument_begin(QTextDocumentH handle, QTextBlockH retval); C_EXPORT void QTextDocument_end(QTextDocumentH handle, QTextBlockH retval); C_EXPORT void QTextDocument_firstBlock(QTextDocumentH handle, QTextBlockH retval); C_EXPORT void QTextDocument_lastBlock(QTextDocumentH handle, QTextBlockH retval); C_EXPORT void QTextDocument_setPageSize(QTextDocumentH handle, const QSizeFH size); C_EXPORT void QTextDocument_pageSize(QTextDocumentH handle, QSizeFH retval); C_EXPORT void QTextDocument_setDefaultFont(QTextDocumentH handle, const QFontH font); C_EXPORT void QTextDocument_defaultFont(QTextDocumentH handle, QFontH retval); C_EXPORT int QTextDocument_pageCount(QTextDocumentH handle); C_EXPORT bool QTextDocument_isModified(QTextDocumentH handle); C_EXPORT void QTextDocument_print(QTextDocumentH handle, QPrinterH printer); C_EXPORT void QTextDocument_resource(QTextDocumentH handle, QVariantH retval, int type, const QUrlH name); C_EXPORT void QTextDocument_addResource(QTextDocumentH handle, int type, const QUrlH name, const QVariantH resource); C_EXPORT void QTextDocument_markContentsDirty(QTextDocumentH handle, int from, int length); C_EXPORT void QTextDocument_setUseDesignMetrics(QTextDocumentH handle, bool b); C_EXPORT bool QTextDocument_useDesignMetrics(QTextDocumentH handle); C_EXPORT void QTextDocument_drawContents(QTextDocumentH handle, QPainterH painter, const QRectFH rect); C_EXPORT void QTextDocument_setTextWidth(QTextDocumentH handle, qreal width); C_EXPORT qreal QTextDocument_textWidth(QTextDocumentH handle); C_EXPORT qreal QTextDocument_idealWidth(QTextDocumentH handle); C_EXPORT qreal QTextDocument_indentWidth(QTextDocumentH handle); C_EXPORT void QTextDocument_setIndentWidth(QTextDocumentH handle, qreal width); C_EXPORT qreal QTextDocument_documentMargin(QTextDocumentH handle); C_EXPORT void QTextDocument_setDocumentMargin(QTextDocumentH handle, qreal margin); C_EXPORT void QTextDocument_adjustSize(QTextDocumentH handle); C_EXPORT void QTextDocument_size(QTextDocumentH handle, QSizeFH retval); C_EXPORT int QTextDocument_blockCount(QTextDocumentH handle); C_EXPORT int QTextDocument_lineCount(QTextDocumentH handle); C_EXPORT int QTextDocument_characterCount(QTextDocumentH handle); C_EXPORT void QTextDocument_setDefaultStyleSheet(QTextDocumentH handle, PWideString sheet); C_EXPORT void QTextDocument_defaultStyleSheet(QTextDocumentH handle, PWideString retval); C_EXPORT void QTextDocument_undo(QTextDocumentH handle, QTextCursorH cursor); C_EXPORT void QTextDocument_redo(QTextDocumentH handle, QTextCursorH cursor); C_EXPORT int QTextDocument_maximumBlockCount(QTextDocumentH handle); C_EXPORT void QTextDocument_setMaximumBlockCount(QTextDocumentH handle, int maximum); C_EXPORT void QTextDocument_defaultTextOption(QTextDocumentH handle, QTextOptionH retval); C_EXPORT void QTextDocument_setDefaultTextOption(QTextDocumentH handle, const QTextOptionH option); C_EXPORT void QTextDocument_undo2(QTextDocumentH handle); C_EXPORT void QTextDocument_redo2(QTextDocumentH handle); C_EXPORT void QTextDocument_setModified(QTextDocumentH handle, bool m); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprocess_hook_c.cpp0000664000212600021260000000314611677135472020724 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qprocess_hook_c.h" QProcess_hookH QProcess_hook_create(QObjectH handle) { return (QProcess_hookH) new QProcess_hook((QObject*)handle); } void QProcess_hook_destroy(QProcess_hookH handle) { delete (QProcess_hook *)handle; } void QProcess_hook_hook_started(QProcess_hookH handle, QHookH hook) { ((QProcess_hook *)handle)->hook_started(hook); } void QProcess_hook_hook_finished(QProcess_hookH handle, QHookH hook) { ((QProcess_hook *)handle)->hook_finished(hook); } void QProcess_hook_hook_finished2(QProcess_hookH handle, QHookH hook) { ((QProcess_hook *)handle)->hook_finished2(hook); } void QProcess_hook_hook_error(QProcess_hookH handle, QHookH hook) { ((QProcess_hook *)handle)->hook_error(hook); } void QProcess_hook_hook_stateChanged(QProcess_hookH handle, QHookH hook) { ((QProcess_hook *)handle)->hook_stateChanged(hook); } void QProcess_hook_hook_readyReadStandardOutput(QProcess_hookH handle, QHookH hook) { ((QProcess_hook *)handle)->hook_readyReadStandardOutput(hook); } void QProcess_hook_hook_readyReadStandardError(QProcess_hookH handle, QHookH hook) { ((QProcess_hook *)handle)->hook_readyReadStandardError(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfontmetrics_c.cpp0000664000212600021260000002407011677135472020562 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qfontmetrics_c.h" QFontMetricsH QFontMetrics_create(const QFontH AnonParam1) { return (QFontMetricsH) new QFontMetrics(*(const QFont*)AnonParam1); } void QFontMetrics_destroy(QFontMetricsH handle) { delete (QFontMetrics *)handle; } QFontMetricsH QFontMetrics_create2(const QFontH AnonParam1, QPaintDeviceH pd) { return (QFontMetricsH) new QFontMetrics(*(const QFont*)AnonParam1, (QPaintDevice*)pd); } QFontMetricsH QFontMetrics_create3(const QFontMetricsH AnonParam1) { return (QFontMetricsH) new QFontMetrics(*(const QFontMetrics*)AnonParam1); } int QFontMetrics_ascent(QFontMetricsH handle) { return (int) ((QFontMetrics *)handle)->ascent(); } int QFontMetrics_descent(QFontMetricsH handle) { return (int) ((QFontMetrics *)handle)->descent(); } int QFontMetrics_height(QFontMetricsH handle) { return (int) ((QFontMetrics *)handle)->height(); } int QFontMetrics_leading(QFontMetricsH handle) { return (int) ((QFontMetrics *)handle)->leading(); } int QFontMetrics_lineSpacing(QFontMetricsH handle) { return (int) ((QFontMetrics *)handle)->lineSpacing(); } int QFontMetrics_minLeftBearing(QFontMetricsH handle) { return (int) ((QFontMetrics *)handle)->minLeftBearing(); } int QFontMetrics_minRightBearing(QFontMetricsH handle) { return (int) ((QFontMetrics *)handle)->minRightBearing(); } int QFontMetrics_maxWidth(QFontMetricsH handle) { return (int) ((QFontMetrics *)handle)->maxWidth(); } int QFontMetrics_xHeight(QFontMetricsH handle) { return (int) ((QFontMetrics *)handle)->xHeight(); } int QFontMetrics_averageCharWidth(QFontMetricsH handle) { return (int) ((QFontMetrics *)handle)->averageCharWidth(); } bool QFontMetrics_inFont(QFontMetricsH handle, PWideChar AnonParam1) { return (bool) ((QFontMetrics *)handle)->inFont(*(QChar *)AnonParam1); } int QFontMetrics_leftBearing(QFontMetricsH handle, PWideChar AnonParam1) { return (int) ((QFontMetrics *)handle)->leftBearing(*(QChar *)AnonParam1); } int QFontMetrics_rightBearing(QFontMetricsH handle, PWideChar AnonParam1) { return (int) ((QFontMetrics *)handle)->rightBearing(*(QChar *)AnonParam1); } int QFontMetrics_width(QFontMetricsH handle, PWideString AnonParam1, int len) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); return (int) ((QFontMetrics *)handle)->width(t_AnonParam1, len); } int QFontMetrics_width2(QFontMetricsH handle, PWideChar AnonParam1) { return (int) ((QFontMetrics *)handle)->width(*(QChar *)AnonParam1); } int QFontMetrics_charWidth(QFontMetricsH handle, PWideString str, int pos) { QString t_str; copyPWideStringToQString(str, t_str); return (int) ((QFontMetrics *)handle)->charWidth(t_str, pos); } void QFontMetrics_boundingRect(QFontMetricsH handle, PRect retval, PWideChar AnonParam1) { QRect t_retval; t_retval = ((QFontMetrics *)handle)->boundingRect(*(QChar *)AnonParam1); copyQRectToPRect(t_retval, retval); } void QFontMetrics_boundingRect2(QFontMetricsH handle, PRect retval, PWideString text) { QRect t_retval; QString t_text; copyPWideStringToQString(text, t_text); t_retval = ((QFontMetrics *)handle)->boundingRect(t_text); copyQRectToPRect(t_retval, retval); } void QFontMetrics_boundingRect3(QFontMetricsH handle, PRect retval, PRect r, int flags, PWideString text, int tabstops, int* tabarray) { QRect t_retval; QRect t_r; QString t_text; copyPRectToQRect(r, t_r); copyPWideStringToQString(text, t_text); t_retval = ((QFontMetrics *)handle)->boundingRect(t_r, flags, t_text, tabstops, tabarray); copyQRectToPRect(t_retval, retval); } void QFontMetrics_boundingRect4(QFontMetricsH handle, PRect retval, int x, int y, int w, int h, int flags, PWideString text, int tabstops, int* tabarray) { QRect t_retval; QString t_text; copyPWideStringToQString(text, t_text); t_retval = ((QFontMetrics *)handle)->boundingRect(x, y, w, h, flags, t_text, tabstops, tabarray); copyQRectToPRect(t_retval, retval); } void QFontMetrics_size(QFontMetricsH handle, PSize retval, int flags, PWideString str, int tabstops, int* tabarray) { QString t_str; copyPWideStringToQString(str, t_str); *(QSize *)retval = ((QFontMetrics *)handle)->size(flags, t_str, tabstops, tabarray); } void QFontMetrics_tightBoundingRect(QFontMetricsH handle, PRect retval, PWideString text) { QRect t_retval; QString t_text; copyPWideStringToQString(text, t_text); t_retval = ((QFontMetrics *)handle)->tightBoundingRect(t_text); copyQRectToPRect(t_retval, retval); } void QFontMetrics_elidedText(QFontMetricsH handle, PWideString retval, PWideString text, Qt::TextElideMode mode, int width, int flags) { QString t_retval; QString t_text; copyPWideStringToQString(text, t_text); t_retval = ((QFontMetrics *)handle)->elidedText(t_text, mode, width, flags); copyQStringToPWideString(t_retval, retval); } int QFontMetrics_underlinePos(QFontMetricsH handle) { return (int) ((QFontMetrics *)handle)->underlinePos(); } int QFontMetrics_overlinePos(QFontMetricsH handle) { return (int) ((QFontMetrics *)handle)->overlinePos(); } int QFontMetrics_strikeOutPos(QFontMetricsH handle) { return (int) ((QFontMetrics *)handle)->strikeOutPos(); } int QFontMetrics_lineWidth(QFontMetricsH handle) { return (int) ((QFontMetrics *)handle)->lineWidth(); } QFontMetricsFH QFontMetricsF_create(const QFontH AnonParam1) { return (QFontMetricsFH) new QFontMetricsF(*(const QFont*)AnonParam1); } void QFontMetricsF_destroy(QFontMetricsFH handle) { delete (QFontMetricsF *)handle; } QFontMetricsFH QFontMetricsF_create2(const QFontH AnonParam1, QPaintDeviceH pd) { return (QFontMetricsFH) new QFontMetricsF(*(const QFont*)AnonParam1, (QPaintDevice*)pd); } QFontMetricsFH QFontMetricsF_create4(const QFontMetricsFH AnonParam1) { return (QFontMetricsFH) new QFontMetricsF(*(const QFontMetricsF*)AnonParam1); } qreal QFontMetricsF_ascent(QFontMetricsFH handle) { return (qreal) ((QFontMetricsF *)handle)->ascent(); } qreal QFontMetricsF_descent(QFontMetricsFH handle) { return (qreal) ((QFontMetricsF *)handle)->descent(); } qreal QFontMetricsF_height(QFontMetricsFH handle) { return (qreal) ((QFontMetricsF *)handle)->height(); } qreal QFontMetricsF_leading(QFontMetricsFH handle) { return (qreal) ((QFontMetricsF *)handle)->leading(); } qreal QFontMetricsF_lineSpacing(QFontMetricsFH handle) { return (qreal) ((QFontMetricsF *)handle)->lineSpacing(); } qreal QFontMetricsF_minLeftBearing(QFontMetricsFH handle) { return (qreal) ((QFontMetricsF *)handle)->minLeftBearing(); } qreal QFontMetricsF_minRightBearing(QFontMetricsFH handle) { return (qreal) ((QFontMetricsF *)handle)->minRightBearing(); } qreal QFontMetricsF_maxWidth(QFontMetricsFH handle) { return (qreal) ((QFontMetricsF *)handle)->maxWidth(); } qreal QFontMetricsF_xHeight(QFontMetricsFH handle) { return (qreal) ((QFontMetricsF *)handle)->xHeight(); } qreal QFontMetricsF_averageCharWidth(QFontMetricsFH handle) { return (qreal) ((QFontMetricsF *)handle)->averageCharWidth(); } bool QFontMetricsF_inFont(QFontMetricsFH handle, PWideChar AnonParam1) { return (bool) ((QFontMetricsF *)handle)->inFont(*(QChar *)AnonParam1); } qreal QFontMetricsF_leftBearing(QFontMetricsFH handle, PWideChar AnonParam1) { return (qreal) ((QFontMetricsF *)handle)->leftBearing(*(QChar *)AnonParam1); } qreal QFontMetricsF_rightBearing(QFontMetricsFH handle, PWideChar AnonParam1) { return (qreal) ((QFontMetricsF *)handle)->rightBearing(*(QChar *)AnonParam1); } qreal QFontMetricsF_width(QFontMetricsFH handle, PWideString string) { QString t_string; copyPWideStringToQString(string, t_string); return (qreal) ((QFontMetricsF *)handle)->width(t_string); } qreal QFontMetricsF_width2(QFontMetricsFH handle, PWideChar AnonParam1) { return (qreal) ((QFontMetricsF *)handle)->width(*(QChar *)AnonParam1); } void QFontMetricsF_boundingRect(QFontMetricsFH handle, QRectFH retval, PWideString string) { QString t_string; copyPWideStringToQString(string, t_string); *(QRectF *)retval = ((QFontMetricsF *)handle)->boundingRect(t_string); } void QFontMetricsF_boundingRect2(QFontMetricsFH handle, QRectFH retval, PWideChar AnonParam1) { *(QRectF *)retval = ((QFontMetricsF *)handle)->boundingRect(*(QChar *)AnonParam1); } void QFontMetricsF_boundingRect3(QFontMetricsFH handle, QRectFH retval, const QRectFH r, int flags, PWideString string, int tabstops, int* tabarray) { QString t_string; copyPWideStringToQString(string, t_string); *(QRectF *)retval = ((QFontMetricsF *)handle)->boundingRect(*(const QRectF*)r, flags, t_string, tabstops, tabarray); } void QFontMetricsF_size(QFontMetricsFH handle, QSizeFH retval, int flags, PWideString str, int tabstops, int* tabarray) { QString t_str; copyPWideStringToQString(str, t_str); *(QSizeF *)retval = ((QFontMetricsF *)handle)->size(flags, t_str, tabstops, tabarray); } void QFontMetricsF_tightBoundingRect(QFontMetricsFH handle, QRectFH retval, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); *(QRectF *)retval = ((QFontMetricsF *)handle)->tightBoundingRect(t_text); } void QFontMetricsF_elidedText(QFontMetricsFH handle, PWideString retval, PWideString text, Qt::TextElideMode mode, qreal width, int flags) { QString t_retval; QString t_text; copyPWideStringToQString(text, t_text); t_retval = ((QFontMetricsF *)handle)->elidedText(t_text, mode, width, flags); copyQStringToPWideString(t_retval, retval); } qreal QFontMetricsF_underlinePos(QFontMetricsFH handle) { return (qreal) ((QFontMetricsF *)handle)->underlinePos(); } qreal QFontMetricsF_overlinePos(QFontMetricsFH handle) { return (qreal) ((QFontMetricsF *)handle)->overlinePos(); } qreal QFontMetricsF_strikeOutPos(QFontMetricsFH handle) { return (qreal) ((QFontMetricsF *)handle)->strikeOutPos(); } qreal QFontMetricsF_lineWidth(QFontMetricsFH handle) { return (qreal) ((QFontMetricsF *)handle)->lineWidth(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qgraphicsview_c.cpp0000664000212600021260000003350611677135472020724 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qgraphicsview_c.h" QGraphicsViewH QGraphicsView_create(QWidgetH parent) { return (QGraphicsViewH) new QGraphicsView((QWidget*)parent); } void QGraphicsView_destroy(QGraphicsViewH handle) { delete (QGraphicsView *)handle; } QGraphicsViewH QGraphicsView_create2(QGraphicsSceneH scene, QWidgetH parent) { return (QGraphicsViewH) new QGraphicsView((QGraphicsScene*)scene, (QWidget*)parent); } void QGraphicsView_sizeHint(QGraphicsViewH handle, PSize retval) { *(QSize *)retval = ((QGraphicsView *)handle)->sizeHint(); } unsigned int QGraphicsView_renderHints(QGraphicsViewH handle) { return (unsigned int) ((QGraphicsView *)handle)->renderHints(); } void QGraphicsView_setRenderHint(QGraphicsViewH handle, QPainter::RenderHint hint, bool enabled) { ((QGraphicsView *)handle)->setRenderHint(hint, enabled); } void QGraphicsView_setRenderHints(QGraphicsViewH handle, unsigned int hints) { ((QGraphicsView *)handle)->setRenderHints((QPainter::RenderHints)hints); } unsigned int QGraphicsView_alignment(QGraphicsViewH handle) { return (unsigned int) ((QGraphicsView *)handle)->alignment(); } void QGraphicsView_setAlignment(QGraphicsViewH handle, unsigned int alignment) { ((QGraphicsView *)handle)->setAlignment((Qt::Alignment)alignment); } QGraphicsView::ViewportAnchor QGraphicsView_transformationAnchor(QGraphicsViewH handle) { return (QGraphicsView::ViewportAnchor) ((QGraphicsView *)handle)->transformationAnchor(); } void QGraphicsView_setTransformationAnchor(QGraphicsViewH handle, QGraphicsView::ViewportAnchor anchor) { ((QGraphicsView *)handle)->setTransformationAnchor(anchor); } QGraphicsView::ViewportAnchor QGraphicsView_resizeAnchor(QGraphicsViewH handle) { return (QGraphicsView::ViewportAnchor) ((QGraphicsView *)handle)->resizeAnchor(); } void QGraphicsView_setResizeAnchor(QGraphicsViewH handle, QGraphicsView::ViewportAnchor anchor) { ((QGraphicsView *)handle)->setResizeAnchor(anchor); } QGraphicsView::ViewportUpdateMode QGraphicsView_viewportUpdateMode(QGraphicsViewH handle) { return (QGraphicsView::ViewportUpdateMode) ((QGraphicsView *)handle)->viewportUpdateMode(); } void QGraphicsView_setViewportUpdateMode(QGraphicsViewH handle, QGraphicsView::ViewportUpdateMode mode) { ((QGraphicsView *)handle)->setViewportUpdateMode(mode); } unsigned int QGraphicsView_optimizationFlags(QGraphicsViewH handle) { return (unsigned int) ((QGraphicsView *)handle)->optimizationFlags(); } void QGraphicsView_setOptimizationFlag(QGraphicsViewH handle, QGraphicsView::OptimizationFlag flag, bool enabled) { ((QGraphicsView *)handle)->setOptimizationFlag(flag, enabled); } void QGraphicsView_setOptimizationFlags(QGraphicsViewH handle, unsigned int flags) { ((QGraphicsView *)handle)->setOptimizationFlags((QGraphicsView::OptimizationFlags)flags); } QGraphicsView::DragMode QGraphicsView_dragMode(QGraphicsViewH handle) { return (QGraphicsView::DragMode) ((QGraphicsView *)handle)->dragMode(); } void QGraphicsView_setDragMode(QGraphicsViewH handle, QGraphicsView::DragMode mode) { ((QGraphicsView *)handle)->setDragMode(mode); } Qt::ItemSelectionMode QGraphicsView_rubberBandSelectionMode(QGraphicsViewH handle) { return (Qt::ItemSelectionMode) ((QGraphicsView *)handle)->rubberBandSelectionMode(); } void QGraphicsView_setRubberBandSelectionMode(QGraphicsViewH handle, Qt::ItemSelectionMode mode) { ((QGraphicsView *)handle)->setRubberBandSelectionMode(mode); } unsigned int QGraphicsView_cacheMode(QGraphicsViewH handle) { return (unsigned int) ((QGraphicsView *)handle)->cacheMode(); } void QGraphicsView_setCacheMode(QGraphicsViewH handle, unsigned int mode) { ((QGraphicsView *)handle)->setCacheMode((QGraphicsView::CacheMode)mode); } void QGraphicsView_resetCachedContent(QGraphicsViewH handle) { ((QGraphicsView *)handle)->resetCachedContent(); } bool QGraphicsView_isInteractive(QGraphicsViewH handle) { return (bool) ((QGraphicsView *)handle)->isInteractive(); } void QGraphicsView_setInteractive(QGraphicsViewH handle, bool allowed) { ((QGraphicsView *)handle)->setInteractive(allowed); } QGraphicsSceneH QGraphicsView_scene(QGraphicsViewH handle) { return (QGraphicsSceneH) ((QGraphicsView *)handle)->scene(); } void QGraphicsView_setScene(QGraphicsViewH handle, QGraphicsSceneH scene) { ((QGraphicsView *)handle)->setScene((QGraphicsScene*)scene); } void QGraphicsView_sceneRect(QGraphicsViewH handle, QRectFH retval) { *(QRectF *)retval = ((QGraphicsView *)handle)->sceneRect(); } void QGraphicsView_setSceneRect(QGraphicsViewH handle, const QRectFH rect) { ((QGraphicsView *)handle)->setSceneRect(*(const QRectF*)rect); } void QGraphicsView_setSceneRect2(QGraphicsViewH handle, qreal x, qreal y, qreal w, qreal h) { ((QGraphicsView *)handle)->setSceneRect(x, y, w, h); } void QGraphicsView_matrix(QGraphicsViewH handle, QMatrixH retval) { *(QMatrix *)retval = ((QGraphicsView *)handle)->matrix(); } void QGraphicsView_setMatrix(QGraphicsViewH handle, const QMatrixH matrix, bool combine) { ((QGraphicsView *)handle)->setMatrix(*(const QMatrix*)matrix, combine); } void QGraphicsView_resetMatrix(QGraphicsViewH handle) { ((QGraphicsView *)handle)->resetMatrix(); } void QGraphicsView_transform(QGraphicsViewH handle, QTransformH retval) { *(QTransform *)retval = ((QGraphicsView *)handle)->transform(); } void QGraphicsView_viewportTransform(QGraphicsViewH handle, QTransformH retval) { *(QTransform *)retval = ((QGraphicsView *)handle)->viewportTransform(); } void QGraphicsView_setTransform(QGraphicsViewH handle, const QTransformH matrix, bool combine) { ((QGraphicsView *)handle)->setTransform(*(const QTransform*)matrix, combine); } void QGraphicsView_resetTransform(QGraphicsViewH handle) { ((QGraphicsView *)handle)->resetTransform(); } void QGraphicsView_rotate(QGraphicsViewH handle, qreal angle) { ((QGraphicsView *)handle)->rotate(angle); } void QGraphicsView_scale(QGraphicsViewH handle, qreal sx, qreal sy) { ((QGraphicsView *)handle)->scale(sx, sy); } void QGraphicsView_shear(QGraphicsViewH handle, qreal sh, qreal sv) { ((QGraphicsView *)handle)->shear(sh, sv); } void QGraphicsView_translate(QGraphicsViewH handle, qreal dx, qreal dy) { ((QGraphicsView *)handle)->translate(dx, dy); } void QGraphicsView_centerOn(QGraphicsViewH handle, const QPointFH pos) { ((QGraphicsView *)handle)->centerOn(*(const QPointF*)pos); } void QGraphicsView_centerOn2(QGraphicsViewH handle, qreal x, qreal y) { ((QGraphicsView *)handle)->centerOn(x, y); } void QGraphicsView_centerOn3(QGraphicsViewH handle, const QGraphicsItemH item) { ((QGraphicsView *)handle)->centerOn((const QGraphicsItem*)item); } void QGraphicsView_ensureVisible(QGraphicsViewH handle, const QRectFH rect, int xmargin, int ymargin) { ((QGraphicsView *)handle)->ensureVisible(*(const QRectF*)rect, xmargin, ymargin); } void QGraphicsView_ensureVisible2(QGraphicsViewH handle, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin) { ((QGraphicsView *)handle)->ensureVisible(x, y, w, h, xmargin, ymargin); } void QGraphicsView_ensureVisible3(QGraphicsViewH handle, const QGraphicsItemH item, int xmargin, int ymargin) { ((QGraphicsView *)handle)->ensureVisible((const QGraphicsItem*)item, xmargin, ymargin); } void QGraphicsView_fitInView(QGraphicsViewH handle, const QRectFH rect, Qt::AspectRatioMode aspectRadioMode) { ((QGraphicsView *)handle)->fitInView(*(const QRectF*)rect, aspectRadioMode); } void QGraphicsView_fitInView2(QGraphicsViewH handle, qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode) { ((QGraphicsView *)handle)->fitInView(x, y, w, h, aspectRadioMode); } void QGraphicsView_fitInView3(QGraphicsViewH handle, const QGraphicsItemH item, Qt::AspectRatioMode aspectRadioMode) { ((QGraphicsView *)handle)->fitInView((const QGraphicsItem*)item, aspectRadioMode); } void QGraphicsView_render(QGraphicsViewH handle, QPainterH painter, const QRectFH target, PRect source, Qt::AspectRatioMode aspectRatioMode) { QRect t_source; copyPRectToQRect(source, t_source); ((QGraphicsView *)handle)->render((QPainter*)painter, *(const QRectF*)target, t_source, aspectRatioMode); } void QGraphicsView_items(QGraphicsViewH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QGraphicsView *)handle)->items(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QGraphicsView_items2(QGraphicsViewH handle, PPtrIntArray retval, const QPointH pos) { QList t_retval; t_retval = ((QGraphicsView *)handle)->items(*(const QPoint*)pos); copyQListTemplateToPtrIntArray(t_retval, retval); } void QGraphicsView_items3(QGraphicsViewH handle, PPtrIntArray retval, int x, int y) { QList t_retval; t_retval = ((QGraphicsView *)handle)->items(x, y); copyQListTemplateToPtrIntArray(t_retval, retval); } void QGraphicsView_items4(QGraphicsViewH handle, PPtrIntArray retval, PRect rect, Qt::ItemSelectionMode mode) { QList t_retval; QRect t_rect; copyPRectToQRect(rect, t_rect); t_retval = ((QGraphicsView *)handle)->items(t_rect, mode); copyQListTemplateToPtrIntArray(t_retval, retval); } void QGraphicsView_items5(QGraphicsViewH handle, PPtrIntArray retval, int x, int y, int w, int h, Qt::ItemSelectionMode mode) { QList t_retval; t_retval = ((QGraphicsView *)handle)->items(x, y, w, h, mode); copyQListTemplateToPtrIntArray(t_retval, retval); } void QGraphicsView_items6(QGraphicsViewH handle, PPtrIntArray retval, const QPolygonH polygon, Qt::ItemSelectionMode mode) { QList t_retval; t_retval = ((QGraphicsView *)handle)->items(*(const QPolygon*)polygon, mode); copyQListTemplateToPtrIntArray(t_retval, retval); } void QGraphicsView_items7(QGraphicsViewH handle, PPtrIntArray retval, const QPainterPathH path, Qt::ItemSelectionMode mode) { QList t_retval; t_retval = ((QGraphicsView *)handle)->items(*(const QPainterPath*)path, mode); copyQListTemplateToPtrIntArray(t_retval, retval); } QGraphicsItemH QGraphicsView_itemAt(QGraphicsViewH handle, const QPointH pos) { return (QGraphicsItemH) ((QGraphicsView *)handle)->itemAt(*(const QPoint*)pos); } QGraphicsItemH QGraphicsView_itemAt2(QGraphicsViewH handle, int x, int y) { return (QGraphicsItemH) ((QGraphicsView *)handle)->itemAt(x, y); } void QGraphicsView_mapToScene(QGraphicsViewH handle, PQtPointF retval, const QPointH point) { *(QPointF *)retval = ((QGraphicsView *)handle)->mapToScene(*(const QPoint*)point); } void QGraphicsView_mapToScene2(QGraphicsViewH handle, QPolygonFH retval, PRect rect) { QRect t_rect; copyPRectToQRect(rect, t_rect); *(QPolygonF *)retval = ((QGraphicsView *)handle)->mapToScene(t_rect); } void QGraphicsView_mapToScene3(QGraphicsViewH handle, QPolygonFH retval, const QPolygonH polygon) { *(QPolygonF *)retval = ((QGraphicsView *)handle)->mapToScene(*(const QPolygon*)polygon); } void QGraphicsView_mapToScene4(QGraphicsViewH handle, QPainterPathH retval, const QPainterPathH path) { *(QPainterPath *)retval = ((QGraphicsView *)handle)->mapToScene(*(const QPainterPath*)path); } void QGraphicsView_mapFromScene(QGraphicsViewH handle, PQtPoint retval, const QPointFH point) { *(QPoint *)retval = ((QGraphicsView *)handle)->mapFromScene(*(const QPointF*)point); } void QGraphicsView_mapFromScene2(QGraphicsViewH handle, QPolygonH retval, const QRectFH rect) { *(QPolygon *)retval = ((QGraphicsView *)handle)->mapFromScene(*(const QRectF*)rect); } void QGraphicsView_mapFromScene3(QGraphicsViewH handle, QPolygonH retval, const QPolygonFH polygon) { *(QPolygon *)retval = ((QGraphicsView *)handle)->mapFromScene(*(const QPolygonF*)polygon); } void QGraphicsView_mapFromScene4(QGraphicsViewH handle, QPainterPathH retval, const QPainterPathH path) { *(QPainterPath *)retval = ((QGraphicsView *)handle)->mapFromScene(*(const QPainterPath*)path); } void QGraphicsView_mapToScene5(QGraphicsViewH handle, PQtPointF retval, int x, int y) { *(QPointF *)retval = ((QGraphicsView *)handle)->mapToScene(x, y); } void QGraphicsView_mapToScene6(QGraphicsViewH handle, QPolygonFH retval, int x, int y, int w, int h) { *(QPolygonF *)retval = ((QGraphicsView *)handle)->mapToScene(x, y, w, h); } void QGraphicsView_mapFromScene5(QGraphicsViewH handle, PQtPoint retval, qreal x, qreal y) { *(QPoint *)retval = ((QGraphicsView *)handle)->mapFromScene(x, y); } void QGraphicsView_mapFromScene6(QGraphicsViewH handle, QPolygonH retval, qreal x, qreal y, qreal w, qreal h) { *(QPolygon *)retval = ((QGraphicsView *)handle)->mapFromScene(x, y, w, h); } void QGraphicsView_inputMethodQuery(QGraphicsViewH handle, QVariantH retval, Qt::InputMethodQuery query) { *(QVariant *)retval = ((QGraphicsView *)handle)->inputMethodQuery(query); } void QGraphicsView_backgroundBrush(QGraphicsViewH handle, QBrushH retval) { *(QBrush *)retval = ((QGraphicsView *)handle)->backgroundBrush(); } void QGraphicsView_setBackgroundBrush(QGraphicsViewH handle, const QBrushH brush) { ((QGraphicsView *)handle)->setBackgroundBrush(*(const QBrush*)brush); } void QGraphicsView_foregroundBrush(QGraphicsViewH handle, QBrushH retval) { *(QBrush *)retval = ((QGraphicsView *)handle)->foregroundBrush(); } void QGraphicsView_setForegroundBrush(QGraphicsViewH handle, const QBrushH brush) { ((QGraphicsView *)handle)->setForegroundBrush(*(const QBrush*)brush); } void QGraphicsView_invalidateScene(QGraphicsViewH handle, const QRectFH rect, unsigned int layers) { ((QGraphicsView *)handle)->invalidateScene(*(const QRectF*)rect, (QGraphicsScene::SceneLayers)layers); } void QGraphicsView_updateSceneRect(QGraphicsViewH handle, const QRectFH rect) { ((QGraphicsView *)handle)->updateSceneRect(*(const QRectF*)rect); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstackedwidget_hook.h0000664000212600021260000000401311677135472021225 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTACKEDWIDGET_HOOK_H #define QSTACKEDWIDGET_HOOK_H #include #include "qframe_hook.h" class QStackedWidget_hook : public QFrame_hook { Q_OBJECT public: QStackedWidget_hook(QObject *handle) : QFrame_hook(handle) { currentChanged_event.func = NULL; widgetRemoved_event.func = NULL; } void hook_currentChanged(QHook &hook) { if ( !currentChanged_event.func ) connect(handle, SIGNAL(currentChanged(int)), this, SLOT(currentChanged_hook(int))); currentChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentChanged(int)), this, SLOT(currentChanged_hook(int))); } void hook_widgetRemoved(QHook &hook) { if ( !widgetRemoved_event.func ) connect(handle, SIGNAL(widgetRemoved(int)), this, SLOT(widgetRemoved_hook(int))); widgetRemoved_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(widgetRemoved(int)), this, SLOT(widgetRemoved_hook(int))); } private slots: void currentChanged_hook(int AnonParam1) { if ( currentChanged_event.func ) { typedef void (*func_type)(void *data, int AnonParam1); (*(func_type)currentChanged_event.func)(currentChanged_event.data, AnonParam1); } } void widgetRemoved_hook(int index) { if ( widgetRemoved_event.func ) { typedef void (*func_type)(void *data, int index); (*(func_type)widgetRemoved_event.func)(widgetRemoved_event.data, index); } } private: QHook currentChanged_event; QHook widgetRemoved_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmdiarea_hook_c.cpp0000664000212600021260000000153411677135472020647 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qmdiarea_hook_c.h" QMdiArea_hookH QMdiArea_hook_create(QObjectH handle) { return (QMdiArea_hookH) new QMdiArea_hook((QObject*)handle); } void QMdiArea_hook_destroy(QMdiArea_hookH handle) { delete (QMdiArea_hook *)handle; } void QMdiArea_hook_hook_subWindowActivated(QMdiArea_hookH handle, QHookH hook) { ((QMdiArea_hook *)handle)->hook_subWindowActivated(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qgroupbox_c.cpp0000664000212600021260000000423711677135472020075 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qgroupbox_c.h" QGroupBoxH QGroupBox_create(QWidgetH parent) { return (QGroupBoxH) new QGroupBox((QWidget*)parent); } void QGroupBox_destroy(QGroupBoxH handle) { delete (QGroupBox *)handle; } QGroupBoxH QGroupBox_create2(PWideString title, QWidgetH parent) { QString t_title; copyPWideStringToQString(title, t_title); return (QGroupBoxH) new QGroupBox(t_title, (QWidget*)parent); } void QGroupBox_title(QGroupBoxH handle, PWideString retval) { QString t_retval; t_retval = ((QGroupBox *)handle)->title(); copyQStringToPWideString(t_retval, retval); } void QGroupBox_setTitle(QGroupBoxH handle, PWideString title) { QString t_title; copyPWideStringToQString(title, t_title); ((QGroupBox *)handle)->setTitle(t_title); } unsigned int QGroupBox_alignment(QGroupBoxH handle) { return (unsigned int) ((QGroupBox *)handle)->alignment(); } void QGroupBox_setAlignment(QGroupBoxH handle, int alignment) { ((QGroupBox *)handle)->setAlignment(alignment); } void QGroupBox_minimumSizeHint(QGroupBoxH handle, PSize retval) { *(QSize *)retval = ((QGroupBox *)handle)->minimumSizeHint(); } bool QGroupBox_isFlat(QGroupBoxH handle) { return (bool) ((QGroupBox *)handle)->isFlat(); } void QGroupBox_setFlat(QGroupBoxH handle, bool flat) { ((QGroupBox *)handle)->setFlat(flat); } bool QGroupBox_isCheckable(QGroupBoxH handle) { return (bool) ((QGroupBox *)handle)->isCheckable(); } void QGroupBox_setCheckable(QGroupBoxH handle, bool checkable) { ((QGroupBox *)handle)->setCheckable(checkable); } bool QGroupBox_isChecked(QGroupBoxH handle) { return (bool) ((QGroupBox *)handle)->isChecked(); } void QGroupBox_setChecked(QGroupBoxH handle, bool checked) { ((QGroupBox *)handle)->setChecked(checked); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemmodel_c.h0000664000212600021260000001625011677135472021376 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTITEMMODEL_C_H #define QABSTRACTITEMMODEL_C_H #include #include "pascalbind.h" C_EXPORT QModelIndexH QModelIndex_create(); C_EXPORT void QModelIndex_destroy(QModelIndexH handle); C_EXPORT QModelIndexH QModelIndex_create2(const QModelIndexH other); C_EXPORT int QModelIndex_row(QModelIndexH handle); C_EXPORT int QModelIndex_column(QModelIndexH handle); C_EXPORT void* QModelIndex_internalPointer(QModelIndexH handle); C_EXPORT qint64 QModelIndex_internalId(QModelIndexH handle); C_EXPORT void QModelIndex_parent(QModelIndexH handle, QModelIndexH retval); C_EXPORT void QModelIndex_sibling(QModelIndexH handle, QModelIndexH retval, int row, int column); C_EXPORT void QModelIndex_child(QModelIndexH handle, QModelIndexH retval, int row, int column); C_EXPORT void QModelIndex_data(QModelIndexH handle, QVariantH retval, Qt::ItemDataRole role); C_EXPORT unsigned int QModelIndex_flags(QModelIndexH handle); C_EXPORT const QAbstractItemModelH QModelIndex_model(QModelIndexH handle); C_EXPORT bool QModelIndex_isValid(QModelIndexH handle); C_EXPORT QPersistentModelIndexH QPersistentModelIndex_create(); C_EXPORT void QPersistentModelIndex_destroy(QPersistentModelIndexH handle); C_EXPORT QPersistentModelIndexH QPersistentModelIndex_create2(const QModelIndexH index); C_EXPORT QPersistentModelIndexH QPersistentModelIndex_create3(const QPersistentModelIndexH other); C_EXPORT int QPersistentModelIndex_row(QPersistentModelIndexH handle); C_EXPORT int QPersistentModelIndex_column(QPersistentModelIndexH handle); C_EXPORT void* QPersistentModelIndex_internalPointer(QPersistentModelIndexH handle); C_EXPORT qint64 QPersistentModelIndex_internalId(QPersistentModelIndexH handle); C_EXPORT void QPersistentModelIndex_parent(QPersistentModelIndexH handle, QModelIndexH retval); C_EXPORT void QPersistentModelIndex_sibling(QPersistentModelIndexH handle, QModelIndexH retval, int row, int column); C_EXPORT void QPersistentModelIndex_child(QPersistentModelIndexH handle, QModelIndexH retval, int row, int column); C_EXPORT void QPersistentModelIndex_data(QPersistentModelIndexH handle, QVariantH retval, Qt::ItemDataRole role); C_EXPORT unsigned int QPersistentModelIndex_flags(QPersistentModelIndexH handle); C_EXPORT const QAbstractItemModelH QPersistentModelIndex_model(QPersistentModelIndexH handle); C_EXPORT bool QPersistentModelIndex_isValid(QPersistentModelIndexH handle); C_EXPORT bool QAbstractItemModel_hasIndex(QAbstractItemModelH handle, int row, int column, const QModelIndexH parent); C_EXPORT void QAbstractItemModel_index(QAbstractItemModelH handle, QModelIndexH retval, int row, int column, const QModelIndexH parent); C_EXPORT void QAbstractItemModel_parent(QAbstractItemModelH handle, QModelIndexH retval, const QModelIndexH child); C_EXPORT void QAbstractItemModel_sibling(QAbstractItemModelH handle, QModelIndexH retval, int row, int column, const QModelIndexH idx); C_EXPORT int QAbstractItemModel_rowCount(QAbstractItemModelH handle, const QModelIndexH parent); C_EXPORT int QAbstractItemModel_columnCount(QAbstractItemModelH handle, const QModelIndexH parent); C_EXPORT bool QAbstractItemModel_hasChildren(QAbstractItemModelH handle, const QModelIndexH parent); C_EXPORT void QAbstractItemModel_data(QAbstractItemModelH handle, QVariantH retval, const QModelIndexH index, Qt::ItemDataRole role); C_EXPORT bool QAbstractItemModel_setData(QAbstractItemModelH handle, const QModelIndexH index, const QVariantH value, Qt::ItemDataRole role); C_EXPORT void QAbstractItemModel_headerData(QAbstractItemModelH handle, QVariantH retval, int section, Qt::Orientation orientation, Qt::ItemDataRole role); C_EXPORT bool QAbstractItemModel_setHeaderData(QAbstractItemModelH handle, int section, Qt::Orientation orientation, const QVariantH value, Qt::ItemDataRole role); C_EXPORT void QAbstractItemModel_mimeTypes(QAbstractItemModelH handle, QStringListH retval); C_EXPORT bool QAbstractItemModel_dropMimeData(QAbstractItemModelH handle, const QMimeDataH data, Qt::DropAction action, int row, int column, const QModelIndexH parent); C_EXPORT unsigned int QAbstractItemModel_supportedDropActions(QAbstractItemModelH handle); C_EXPORT unsigned int QAbstractItemModel_supportedDragActions(QAbstractItemModelH handle); C_EXPORT void QAbstractItemModel_setSupportedDragActions(QAbstractItemModelH handle, unsigned int AnonParam1); C_EXPORT bool QAbstractItemModel_insertRows(QAbstractItemModelH handle, int row, int count, const QModelIndexH parent); C_EXPORT bool QAbstractItemModel_insertColumns(QAbstractItemModelH handle, int column, int count, const QModelIndexH parent); C_EXPORT bool QAbstractItemModel_removeRows(QAbstractItemModelH handle, int row, int count, const QModelIndexH parent); C_EXPORT bool QAbstractItemModel_removeColumns(QAbstractItemModelH handle, int column, int count, const QModelIndexH parent); C_EXPORT bool QAbstractItemModel_insertRow(QAbstractItemModelH handle, int row, const QModelIndexH parent); C_EXPORT bool QAbstractItemModel_insertColumn(QAbstractItemModelH handle, int column, const QModelIndexH parent); C_EXPORT bool QAbstractItemModel_removeRow(QAbstractItemModelH handle, int row, const QModelIndexH parent); C_EXPORT bool QAbstractItemModel_removeColumn(QAbstractItemModelH handle, int column, const QModelIndexH parent); C_EXPORT void QAbstractItemModel_fetchMore(QAbstractItemModelH handle, const QModelIndexH parent); C_EXPORT bool QAbstractItemModel_canFetchMore(QAbstractItemModelH handle, const QModelIndexH parent); C_EXPORT unsigned int QAbstractItemModel_flags(QAbstractItemModelH handle, const QModelIndexH index); C_EXPORT void QAbstractItemModel_sort(QAbstractItemModelH handle, int column, Qt::SortOrder order); C_EXPORT void QAbstractItemModel_buddy(QAbstractItemModelH handle, QModelIndexH retval, const QModelIndexH index); C_EXPORT void QAbstractItemModel_match(QAbstractItemModelH handle, PPtrIntArray retval, const QModelIndexH start, int role, const QVariantH value, int hits, unsigned int flags); C_EXPORT void QAbstractItemModel_span(QAbstractItemModelH handle, PSize retval, const QModelIndexH index); C_EXPORT bool QAbstractItemModel_submit(QAbstractItemModelH handle); C_EXPORT void QAbstractItemModel_revert(QAbstractItemModelH handle); C_EXPORT void QAbstractTableModel_index(QAbstractTableModelH handle, QModelIndexH retval, int row, int column, const QModelIndexH parent); C_EXPORT bool QAbstractTableModel_dropMimeData(QAbstractTableModelH handle, const QMimeDataH data, Qt::DropAction action, int row, int column, const QModelIndexH parent); C_EXPORT void QAbstractListModel_index(QAbstractListModelH handle, QModelIndexH retval, int row, int column, const QModelIndexH parent); C_EXPORT bool QAbstractListModel_dropMimeData(QAbstractListModelH handle, const QMimeDataH data, Qt::DropAction action, int row, int column, const QModelIndexH parent); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtcpserver_c.cpp0000664000212600021260000000556211677135472020247 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtcpserver_c.h" QTcpServerH QTcpServer_create(QObjectH parent) { return (QTcpServerH) new QTcpServer((QObject*)parent); } void QTcpServer_destroy(QTcpServerH handle) { delete (QTcpServer *)handle; } bool QTcpServer_listen(QTcpServerH handle, const QHostAddressH address, quint16 port) { return (bool) ((QTcpServer *)handle)->listen(*(const QHostAddress*)address, port); } void QTcpServer_close(QTcpServerH handle) { ((QTcpServer *)handle)->close(); } bool QTcpServer_isListening(QTcpServerH handle) { return (bool) ((QTcpServer *)handle)->isListening(); } void QTcpServer_setMaxPendingConnections(QTcpServerH handle, int numConnections) { ((QTcpServer *)handle)->setMaxPendingConnections(numConnections); } int QTcpServer_maxPendingConnections(QTcpServerH handle) { return (int) ((QTcpServer *)handle)->maxPendingConnections(); } quint16 QTcpServer_serverPort(QTcpServerH handle) { return (quint16) ((QTcpServer *)handle)->serverPort(); } void QTcpServer_serverAddress(QTcpServerH handle, QHostAddressH retval) { *(QHostAddress *)retval = ((QTcpServer *)handle)->serverAddress(); } int QTcpServer_socketDescriptor(QTcpServerH handle) { return (int) ((QTcpServer *)handle)->socketDescriptor(); } bool QTcpServer_setSocketDescriptor(QTcpServerH handle, int socketDescriptor) { return (bool) ((QTcpServer *)handle)->setSocketDescriptor(socketDescriptor); } bool QTcpServer_waitForNewConnection(QTcpServerH handle, int msec, bool* timedOut) { return (bool) ((QTcpServer *)handle)->waitForNewConnection(msec, timedOut); } bool QTcpServer_hasPendingConnections(QTcpServerH handle) { return (bool) ((QTcpServer *)handle)->hasPendingConnections(); } QTcpSocketH QTcpServer_nextPendingConnection(QTcpServerH handle) { return (QTcpSocketH) ((QTcpServer *)handle)->nextPendingConnection(); } QAbstractSocket::SocketError QTcpServer_serverError(QTcpServerH handle) { return (QAbstractSocket::SocketError) ((QTcpServer *)handle)->serverError(); } void QTcpServer_errorString(QTcpServerH handle, PWideString retval) { QString t_retval; t_retval = ((QTcpServer *)handle)->errorString(); copyQStringToPWideString(t_retval, retval); } void QTcpServer_setProxy(QTcpServerH handle, const QNetworkProxyH networkProxy) { ((QTcpServer *)handle)->setProxy(*(const QNetworkProxy*)networkProxy); } void QTcpServer_proxy(QTcpServerH handle, QNetworkProxyH retval) { *(QNetworkProxy *)retval = ((QTcpServer *)handle)->proxy(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkreply_c.cpp0000664000212600021260000000567111677135472021000 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qnetworkreply_c.h" void QNetworkReply_abort(QNetworkReplyH handle) { ((QNetworkReply *)handle)->abort(); } void QNetworkReply_close(QNetworkReplyH handle) { ((QNetworkReply *)handle)->close(); } bool QNetworkReply_isSequential(QNetworkReplyH handle) { return (bool) ((QNetworkReply *)handle)->isSequential(); } qint64 QNetworkReply_readBufferSize(QNetworkReplyH handle) { return (qint64) ((QNetworkReply *)handle)->readBufferSize(); } void QNetworkReply_setReadBufferSize(QNetworkReplyH handle, qint64 size) { ((QNetworkReply *)handle)->setReadBufferSize(size); } QNetworkAccessManagerH QNetworkReply_manager(QNetworkReplyH handle) { return (QNetworkAccessManagerH) ((QNetworkReply *)handle)->manager(); } QNetworkAccessManager::Operation QNetworkReply_operation(QNetworkReplyH handle) { return (QNetworkAccessManager::Operation) ((QNetworkReply *)handle)->operation(); } void QNetworkReply_request(QNetworkReplyH handle, QNetworkRequestH retval) { *(QNetworkRequest *)retval = ((QNetworkReply *)handle)->request(); } QNetworkReply::NetworkError QNetworkReply_error(QNetworkReplyH handle) { return (QNetworkReply::NetworkError) ((QNetworkReply *)handle)->error(); } void QNetworkReply_url(QNetworkReplyH handle, QUrlH retval) { *(QUrl *)retval = ((QNetworkReply *)handle)->url(); } void QNetworkReply_header(QNetworkReplyH handle, QVariantH retval, QNetworkRequest::KnownHeaders header) { *(QVariant *)retval = ((QNetworkReply *)handle)->header(header); } bool QNetworkReply_hasRawHeader(QNetworkReplyH handle, const QByteArrayH headerName) { return (bool) ((QNetworkReply *)handle)->hasRawHeader(*(const QByteArray*)headerName); } void QNetworkReply_rawHeader(QNetworkReplyH handle, QByteArrayH retval, const QByteArrayH headerName) { *(QByteArray *)retval = ((QNetworkReply *)handle)->rawHeader(*(const QByteArray*)headerName); } void QNetworkReply_attribute(QNetworkReplyH handle, QVariantH retval, QNetworkRequest::Attribute code) { *(QVariant *)retval = ((QNetworkReply *)handle)->attribute(code); } void QNetworkReply_sslConfiguration(QNetworkReplyH handle, QSslConfigurationH retval) { *(QSslConfiguration *)retval = ((QNetworkReply *)handle)->sslConfiguration(); } void QNetworkReply_setSslConfiguration(QNetworkReplyH handle, const QSslConfigurationH configuration) { ((QNetworkReply *)handle)->setSslConfiguration(*(const QSslConfiguration*)configuration); } void QNetworkReply_ignoreSslErrors(QNetworkReplyH handle) { ((QNetworkReply *)handle)->ignoreSslErrors(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtabbar_c.h0000664000212600021260000001017511677135472017126 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTABBAR_C_H #define QTABBAR_C_H #include #include "pascalbind.h" C_EXPORT QTabBarH QTabBar_create(QWidgetH parent); C_EXPORT void QTabBar_destroy(QTabBarH handle); C_EXPORT QTabBar::Shape QTabBar_shape(QTabBarH handle); C_EXPORT void QTabBar_setShape(QTabBarH handle, QTabBar::Shape shape); C_EXPORT int QTabBar_addTab(QTabBarH handle, PWideString text); C_EXPORT int QTabBar_addTab2(QTabBarH handle, const QIconH icon, PWideString text); C_EXPORT int QTabBar_insertTab(QTabBarH handle, int index, PWideString text); C_EXPORT int QTabBar_insertTab2(QTabBarH handle, int index, const QIconH icon, PWideString text); C_EXPORT void QTabBar_removeTab(QTabBarH handle, int index); C_EXPORT void QTabBar_moveTab(QTabBarH handle, int from, int to); C_EXPORT bool QTabBar_isTabEnabled(QTabBarH handle, int index); C_EXPORT void QTabBar_setTabEnabled(QTabBarH handle, int index, bool AnonParam2); C_EXPORT void QTabBar_tabText(QTabBarH handle, PWideString retval, int index); C_EXPORT void QTabBar_setTabText(QTabBarH handle, int index, PWideString text); C_EXPORT void QTabBar_tabTextColor(QTabBarH handle, PQColor retval, int index); C_EXPORT void QTabBar_setTabTextColor(QTabBarH handle, int index, const QColorH color); C_EXPORT void QTabBar_tabIcon(QTabBarH handle, QIconH retval, int index); C_EXPORT void QTabBar_setTabIcon(QTabBarH handle, int index, const QIconH icon); C_EXPORT Qt::TextElideMode QTabBar_elideMode(QTabBarH handle); C_EXPORT void QTabBar_setElideMode(QTabBarH handle, Qt::TextElideMode AnonParam1); C_EXPORT void QTabBar_setTabToolTip(QTabBarH handle, int index, PWideString tip); C_EXPORT void QTabBar_tabToolTip(QTabBarH handle, PWideString retval, int index); C_EXPORT void QTabBar_setTabWhatsThis(QTabBarH handle, int index, PWideString text); C_EXPORT void QTabBar_tabWhatsThis(QTabBarH handle, PWideString retval, int index); C_EXPORT void QTabBar_setTabData(QTabBarH handle, int index, const QVariantH data); C_EXPORT void QTabBar_tabData(QTabBarH handle, QVariantH retval, int index); C_EXPORT void QTabBar_tabRect(QTabBarH handle, PRect retval, int index); C_EXPORT int QTabBar_tabAt(QTabBarH handle, const QPointH pos); C_EXPORT int QTabBar_currentIndex(QTabBarH handle); C_EXPORT int QTabBar_count(QTabBarH handle); C_EXPORT void QTabBar_sizeHint(QTabBarH handle, PSize retval); C_EXPORT void QTabBar_minimumSizeHint(QTabBarH handle, PSize retval); C_EXPORT void QTabBar_setDrawBase(QTabBarH handle, bool drawTheBase); C_EXPORT bool QTabBar_drawBase(QTabBarH handle); C_EXPORT void QTabBar_iconSize(QTabBarH handle, PSize retval); C_EXPORT void QTabBar_setIconSize(QTabBarH handle, const QSizeH size); C_EXPORT bool QTabBar_usesScrollButtons(QTabBarH handle); C_EXPORT void QTabBar_setUsesScrollButtons(QTabBarH handle, bool useButtons); C_EXPORT bool QTabBar_tabsClosable(QTabBarH handle); C_EXPORT void QTabBar_setTabsClosable(QTabBarH handle, bool closable); C_EXPORT void QTabBar_setTabButton(QTabBarH handle, int index, QTabBar::ButtonPosition position, QWidgetH widget); C_EXPORT QWidgetH QTabBar_tabButton(QTabBarH handle, int index, QTabBar::ButtonPosition position); C_EXPORT QTabBar::SelectionBehavior QTabBar_selectionBehaviorOnRemove(QTabBarH handle); C_EXPORT void QTabBar_setSelectionBehaviorOnRemove(QTabBarH handle, QTabBar::SelectionBehavior behavior); C_EXPORT bool QTabBar_expanding(QTabBarH handle); C_EXPORT void QTabBar_setExpanding(QTabBarH handle, bool enabled); C_EXPORT bool QTabBar_isMovable(QTabBarH handle); C_EXPORT void QTabBar_setMovable(QTabBarH handle, bool movable); C_EXPORT bool QTabBar_documentMode(QTabBarH handle); C_EXPORT void QTabBar_setDocumentMode(QTabBarH handle, bool set); C_EXPORT void QTabBar_setCurrentIndex(QTabBarH handle, int index); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlocale_c.h0000664000212600021260000001336611677135472017137 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLOCALE_C_H #define QLOCALE_C_H #include #include "pascalbind.h" C_EXPORT QSystemLocaleH QSystemLocale_create(); C_EXPORT void QSystemLocale_destroy(QSystemLocaleH handle); C_EXPORT void QSystemLocale_fallbackLocale(QSystemLocaleH handle, QLocaleH retval); C_EXPORT QLocaleH QLocale_create(); C_EXPORT void QLocale_destroy(QLocaleH handle); C_EXPORT QLocaleH QLocale_create2(PWideString name); C_EXPORT QLocaleH QLocale_create3(QLocale::Language language, QLocale::Country country); C_EXPORT QLocaleH QLocale_create4(const QLocaleH other); C_EXPORT QLocale::Language QLocale_language(QLocaleH handle); C_EXPORT QLocale::Country QLocale_country(QLocaleH handle); C_EXPORT void QLocale_name(QLocaleH handle, PWideString retval); C_EXPORT short QLocale_toShort(QLocaleH handle, PWideString s, bool* ok, int base); C_EXPORT ushort QLocale_toUShort(QLocaleH handle, PWideString s, bool* ok, int base); C_EXPORT int QLocale_toInt(QLocaleH handle, PWideString s, bool* ok, int base); C_EXPORT uint QLocale_toUInt(QLocaleH handle, PWideString s, bool* ok, int base); C_EXPORT qlonglong QLocale_toLongLong(QLocaleH handle, PWideString s, bool* ok, int base); C_EXPORT qlonglong QLocale_toULongLong(QLocaleH handle, PWideString s, bool* ok, int base); C_EXPORT float QLocale_toFloat(QLocaleH handle, PWideString s, bool* ok); C_EXPORT double QLocale_toDouble(QLocaleH handle, PWideString s, bool* ok); C_EXPORT void QLocale_toString(QLocaleH handle, PWideString retval, qlonglong i); C_EXPORT void QLocale_toString2(QLocaleH handle, PWideString retval, qulonglong i); C_EXPORT void QLocale_toString3(QLocaleH handle, PWideString retval, short i); C_EXPORT void QLocale_toString4(QLocaleH handle, PWideString retval, ushort i); C_EXPORT void QLocale_toString5(QLocaleH handle, PWideString retval, int i); C_EXPORT void QLocale_toString6(QLocaleH handle, PWideString retval, uint i); C_EXPORT void QLocale_toString7(QLocaleH handle, PWideString retval, double i, char f, int prec); C_EXPORT void QLocale_toString8(QLocaleH handle, PWideString retval, float i, char f, int prec); C_EXPORT void QLocale_toString9(QLocaleH handle, PWideString retval, const QDateH date, PWideString formatStr); C_EXPORT void QLocale_toString10(QLocaleH handle, PWideString retval, const QDateH date, QLocale::FormatType format); C_EXPORT void QLocale_toString11(QLocaleH handle, PWideString retval, const QTimeH time, PWideString formatStr); C_EXPORT void QLocale_toString12(QLocaleH handle, PWideString retval, const QTimeH time, QLocale::FormatType format); C_EXPORT void QLocale_toString13(QLocaleH handle, PWideString retval, const QDateTimeH dateTime, QLocale::FormatType format); C_EXPORT void QLocale_toString14(QLocaleH handle, PWideString retval, const QDateTimeH dateTime, PWideString format); C_EXPORT void QLocale_dateFormat(QLocaleH handle, PWideString retval, QLocale::FormatType format); C_EXPORT void QLocale_timeFormat(QLocaleH handle, PWideString retval, QLocale::FormatType format); C_EXPORT void QLocale_dateTimeFormat(QLocaleH handle, PWideString retval, QLocale::FormatType format); C_EXPORT void QLocale_toDate(QLocaleH handle, QDateH retval, PWideString string, QLocale::FormatType AnonParam2); C_EXPORT void QLocale_toTime(QLocaleH handle, QTimeH retval, PWideString string, QLocale::FormatType AnonParam2); C_EXPORT void QLocale_toDateTime(QLocaleH handle, QDateTimeH retval, PWideString string, QLocale::FormatType format); C_EXPORT void QLocale_toDate2(QLocaleH handle, QDateH retval, PWideString string, PWideString format); C_EXPORT void QLocale_toTime2(QLocaleH handle, QTimeH retval, PWideString string, PWideString format); C_EXPORT void QLocale_toDateTime2(QLocaleH handle, QDateTimeH retval, PWideString string, PWideString format); C_EXPORT void QLocale_decimalPoint(QLocaleH handle, PWideChar retval); C_EXPORT void QLocale_groupSeparator(QLocaleH handle, PWideChar retval); C_EXPORT void QLocale_percent(QLocaleH handle, PWideChar retval); C_EXPORT void QLocale_zeroDigit(QLocaleH handle, PWideChar retval); C_EXPORT void QLocale_negativeSign(QLocaleH handle, PWideChar retval); C_EXPORT void QLocale_positiveSign(QLocaleH handle, PWideChar retval); C_EXPORT void QLocale_exponential(QLocaleH handle, PWideChar retval); C_EXPORT void QLocale_monthName(QLocaleH handle, PWideString retval, int AnonParam1, QLocale::FormatType format); C_EXPORT void QLocale_standaloneMonthName(QLocaleH handle, PWideString retval, int AnonParam1, QLocale::FormatType format); C_EXPORT void QLocale_dayName(QLocaleH handle, PWideString retval, int AnonParam1, QLocale::FormatType format); C_EXPORT void QLocale_standaloneDayName(QLocaleH handle, PWideString retval, int AnonParam1, QLocale::FormatType format); C_EXPORT void QLocale_amText(QLocaleH handle, PWideString retval); C_EXPORT void QLocale_pmText(QLocaleH handle, PWideString retval); C_EXPORT QLocale::MeasurementSystem QLocale_measurementSystem(QLocaleH handle); C_EXPORT void QLocale_languageToString(PWideString retval, QLocale::Language language); C_EXPORT void QLocale_countryToString(PWideString retval, QLocale::Country country); C_EXPORT void QLocale_setDefault(const QLocaleH locale); C_EXPORT void QLocale_c(QLocaleH retval); C_EXPORT void QLocale_system(QLocaleH retval); C_EXPORT void QLocale_setNumberOptions(QLocaleH handle, unsigned int options); C_EXPORT unsigned int QLocale_numberOptions(QLocaleH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintdialog_hook.h0000664000212600021260000000262011677135472020721 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPRINTDIALOG_HOOK_H #define QPRINTDIALOG_HOOK_H #include #include "qabstractprintdialog_hook.h" class QPrintDialog_hook : public QAbstractPrintDialog_hook { Q_OBJECT public: QPrintDialog_hook(QObject *handle) : QAbstractPrintDialog_hook(handle) { accepted_event.func = NULL; } void hook_accepted(QHook &hook) { if ( !accepted_event.func ) connect(handle, SIGNAL(accepted(QPrinter*)), this, SLOT(accepted_hook(QPrinter*))); accepted_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(accepted(QPrinter*)), this, SLOT(accepted_hook(QPrinter*))); } private slots: void accepted_hook(QPrinter* printer) { if ( accepted_event.func ) { typedef void (*func_type)(void *data, QPrinterH printer); (*(func_type)accepted_event.func)(accepted_event.data, (QPrinterH)printer); } } private: QHook accepted_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdrag_hook_c.h0000664000212600021260000000147211677135472017630 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDRAG_HOOK_C_H #define QDRAG_HOOK_C_H #include "qdrag_hook.h" C_EXPORT QDrag_hookH QDrag_hook_create(QObjectH handle); C_EXPORT void QDrag_hook_destroy(QDrag_hookH handle); C_EXPORT void QDrag_hook_hook_actionChanged(QDrag_hookH handle, QHookH hook); C_EXPORT void QDrag_hook_hook_targetChanged(QDrag_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebframe_hook.h0000664000212600021260000001171111677135472020176 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBFRAME_HOOK_H #define QWEBFRAME_HOOK_H #include #include "qobject_hook.h" class QWebHitTestResult_hook : public QObject_hook { Q_OBJECT public: QWebHitTestResult_hook(QObject *handle) : QObject_hook(handle) { } }; #include "qobject_hook.h" class QWebFrame_hook : public QObject_hook { Q_OBJECT public: QWebFrame_hook(QObject *handle) : QObject_hook(handle) { javaScriptWindowObjectCleared_event.func = NULL; provisionalLoad_event.func = NULL; titleChanged_event.func = NULL; urlChanged_event.func = NULL; initialLayoutCompleted_event.func = NULL; iconChanged_event.func = NULL; } void hook_javaScriptWindowObjectCleared(QHook &hook) { if ( !javaScriptWindowObjectCleared_event.func ) connect(handle, SIGNAL(javaScriptWindowObjectCleared()), this, SLOT(javaScriptWindowObjectCleared_hook())); javaScriptWindowObjectCleared_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(javaScriptWindowObjectCleared()), this, SLOT(javaScriptWindowObjectCleared_hook())); } void hook_provisionalLoad(QHook &hook) { if ( !provisionalLoad_event.func ) connect(handle, SIGNAL(provisionalLoad()), this, SLOT(provisionalLoad_hook())); provisionalLoad_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(provisionalLoad()), this, SLOT(provisionalLoad_hook())); } void hook_titleChanged(QHook &hook) { if ( !titleChanged_event.func ) connect(handle, SIGNAL(titleChanged(const QString&)), this, SLOT(titleChanged_hook(const QString&))); titleChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(titleChanged(const QString&)), this, SLOT(titleChanged_hook(const QString&))); } void hook_urlChanged(QHook &hook) { if ( !urlChanged_event.func ) connect(handle, SIGNAL(urlChanged(const QUrl&)), this, SLOT(urlChanged_hook(const QUrl&))); urlChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(urlChanged(const QUrl&)), this, SLOT(urlChanged_hook(const QUrl&))); } void hook_initialLayoutCompleted(QHook &hook) { if ( !initialLayoutCompleted_event.func ) connect(handle, SIGNAL(initialLayoutCompleted()), this, SLOT(initialLayoutCompleted_hook())); initialLayoutCompleted_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(initialLayoutCompleted()), this, SLOT(initialLayoutCompleted_hook())); } void hook_iconChanged(QHook &hook) { if ( !iconChanged_event.func ) connect(handle, SIGNAL(iconChanged()), this, SLOT(iconChanged_hook())); iconChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(iconChanged()), this, SLOT(iconChanged_hook())); } private slots: void javaScriptWindowObjectCleared_hook() { if ( javaScriptWindowObjectCleared_event.func ) { typedef void (*func_type)(void *data); (*(func_type)javaScriptWindowObjectCleared_event.func)(javaScriptWindowObjectCleared_event.data); } } void provisionalLoad_hook() { if ( provisionalLoad_event.func ) { typedef void (*func_type)(void *data); (*(func_type)provisionalLoad_event.func)(provisionalLoad_event.data); } } void titleChanged_hook(const QString& title) { if ( titleChanged_event.func ) { typedef void (*func_type)(void *data, PWideString title); PWideString t_title; initializePWideString(t_title); copyQStringToPWideString(title, t_title); (*(func_type)titleChanged_event.func)(titleChanged_event.data, t_title); finalizePWideString(t_title); } } void urlChanged_hook(const QUrl& url) { if ( urlChanged_event.func ) { typedef void (*func_type)(void *data, const QUrlH url); (*(func_type)urlChanged_event.func)(urlChanged_event.data, (const QUrlH)&url); } } void initialLayoutCompleted_hook() { if ( initialLayoutCompleted_event.func ) { typedef void (*func_type)(void *data); (*(func_type)initialLayoutCompleted_event.func)(initialLayoutCompleted_event.data); } } void iconChanged_hook() { if ( iconChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)iconChanged_event.func)(iconChanged_event.data); } } private: QHook javaScriptWindowObjectCleared_event; QHook provisionalLoad_event; QHook titleChanged_event; QHook urlChanged_event; QHook initialLayoutCompleted_event; QHook iconChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmenubar_c.h0000664000212600021260000000450111677135472017320 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMENUBAR_C_H #define QMENUBAR_C_H #include #include "pascalbind.h" C_EXPORT QMenuBarH QMenuBar_create(QWidgetH parent); C_EXPORT void QMenuBar_destroy(QMenuBarH handle); C_EXPORT QActionH QMenuBar_addAction(QMenuBarH handle, PWideString text); C_EXPORT QActionH QMenuBar_addAction2(QMenuBarH handle, PWideString text, const QObjectH receiver, const char* member); C_EXPORT QActionH QMenuBar_addMenu(QMenuBarH handle, QMenuH menu); C_EXPORT QMenuH QMenuBar_addMenu2(QMenuBarH handle, PWideString title); C_EXPORT QMenuH QMenuBar_addMenu3(QMenuBarH handle, const QIconH icon, PWideString title); C_EXPORT QActionH QMenuBar_addSeparator(QMenuBarH handle); C_EXPORT QActionH QMenuBar_insertSeparator(QMenuBarH handle, QActionH before); C_EXPORT QActionH QMenuBar_insertMenu(QMenuBarH handle, QActionH before, QMenuH menu); C_EXPORT void QMenuBar_clear(QMenuBarH handle); C_EXPORT QActionH QMenuBar_activeAction(QMenuBarH handle); C_EXPORT void QMenuBar_setActiveAction(QMenuBarH handle, QActionH action); C_EXPORT void QMenuBar_setDefaultUp(QMenuBarH handle, bool AnonParam1); C_EXPORT bool QMenuBar_isDefaultUp(QMenuBarH handle); C_EXPORT void QMenuBar_sizeHint(QMenuBarH handle, PSize retval); C_EXPORT void QMenuBar_minimumSizeHint(QMenuBarH handle, PSize retval); C_EXPORT int QMenuBar_heightForWidth(QMenuBarH handle, int AnonParam1); C_EXPORT void QMenuBar_actionGeometry(QMenuBarH handle, PRect retval, QActionH AnonParam1); C_EXPORT QActionH QMenuBar_actionAt(QMenuBarH handle, const QPointH AnonParam1); C_EXPORT void QMenuBar_setCornerWidget(QMenuBarH handle, QWidgetH w, Qt::Corner corner); C_EXPORT QWidgetH QMenuBar_cornerWidget(QMenuBarH handle, Qt::Corner corner); C_EXPORT void QMenuBar_setVisible(QMenuBarH handle, bool visible); #if defined DARWIN C_EXPORT void * QMenuBar_macMenu(QMenuBarH handle); C_EXPORT bool QMenuBar_macUpdateMenuBar(); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdrag_hook_c.cpp0000664000212600021260000000165511677135472020166 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qdrag_hook_c.h" QDrag_hookH QDrag_hook_create(QObjectH handle) { return (QDrag_hookH) new QDrag_hook((QObject*)handle); } void QDrag_hook_destroy(QDrag_hookH handle) { delete (QDrag_hook *)handle; } void QDrag_hook_hook_actionChanged(QDrag_hookH handle, QHookH hook) { ((QDrag_hook *)handle)->hook_actionChanged(hook); } void QDrag_hook_hook_targetChanged(QDrag_hookH handle, QHookH hook) { ((QDrag_hook *)handle)->hook_targetChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebpage_c.cpp0000664000212600021260000001256011677135472017640 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebpage_c.h" QWebPageH QWebPage_create(QObjectH parent) { return (QWebPageH) new QWebPage((QObject*)parent); } void QWebPage_destroy(QWebPageH handle) { delete (QWebPage *)handle; } QWebFrameH QWebPage_mainFrame(QWebPageH handle) { return (QWebFrameH) ((QWebPage *)handle)->mainFrame(); } QWebFrameH QWebPage_currentFrame(QWebPageH handle) { return (QWebFrameH) ((QWebPage *)handle)->currentFrame(); } QWebHistoryH QWebPage_history(QWebPageH handle) { return (QWebHistoryH) ((QWebPage *)handle)->history(); } QWebSettingsH QWebPage_settings(QWebPageH handle) { return (QWebSettingsH) ((QWebPage *)handle)->settings(); } void QWebPage_setView(QWebPageH handle, QWidgetH view) { ((QWebPage *)handle)->setView((QWidget*)view); } QWidgetH QWebPage_view(QWebPageH handle) { return (QWidgetH) ((QWebPage *)handle)->view(); } bool QWebPage_isModified(QWebPageH handle) { return (bool) ((QWebPage *)handle)->isModified(); } QUndoStackH QWebPage_undoStack(QWebPageH handle) { return (QUndoStackH) ((QWebPage *)handle)->undoStack(); } void QWebPage_setNetworkAccessManager(QWebPageH handle, QNetworkAccessManagerH manager) { ((QWebPage *)handle)->setNetworkAccessManager((QNetworkAccessManager*)manager); } QNetworkAccessManagerH QWebPage_networkAccessManager(QWebPageH handle) { return (QNetworkAccessManagerH) ((QWebPage *)handle)->networkAccessManager(); } void QWebPage_setPluginFactory(QWebPageH handle, QWebPluginFactoryH factory) { ((QWebPage *)handle)->setPluginFactory((QWebPluginFactory*)factory); } QWebPluginFactoryH QWebPage_pluginFactory(QWebPageH handle) { return (QWebPluginFactoryH) ((QWebPage *)handle)->pluginFactory(); } quint64 QWebPage_totalBytes(QWebPageH handle) { return (quint64) ((QWebPage *)handle)->totalBytes(); } quint64 QWebPage_bytesReceived(QWebPageH handle) { return (quint64) ((QWebPage *)handle)->bytesReceived(); } void QWebPage_selectedText(QWebPageH handle, PWideString retval) { QString t_retval; t_retval = ((QWebPage *)handle)->selectedText(); copyQStringToPWideString(t_retval, retval); } QActionH QWebPage_action(QWebPageH handle, QWebPage::WebAction action) { return (QActionH) ((QWebPage *)handle)->action(action); } void QWebPage_triggerAction(QWebPageH handle, QWebPage::WebAction action, bool checked) { ((QWebPage *)handle)->triggerAction(action, checked); } void QWebPage_viewportSize(QWebPageH handle, PSize retval) { *(QSize *)retval = ((QWebPage *)handle)->viewportSize(); } void QWebPage_setViewportSize(QWebPageH handle, const QSizeH size) { ((QWebPage *)handle)->setViewportSize(*(const QSize*)size); } bool QWebPage_event(QWebPageH handle, QEventH AnonParam1) { return (bool) ((QWebPage *)handle)->event((QEvent*)AnonParam1); } bool QWebPage_focusNextPrevChild(QWebPageH handle, bool next) { return (bool) ((QWebPage *)handle)->focusNextPrevChild(next); } void QWebPage_inputMethodQuery(QWebPageH handle, QVariantH retval, Qt::InputMethodQuery property) { *(QVariant *)retval = ((QWebPage *)handle)->inputMethodQuery(property); } bool QWebPage_findText(QWebPageH handle, PWideString subString, unsigned int options) { QString t_subString; copyPWideStringToQString(subString, t_subString); return (bool) ((QWebPage *)handle)->findText(t_subString, (QWebPage::FindFlags)options); } void QWebPage_setForwardUnsupportedContent(QWebPageH handle, bool forward) { ((QWebPage *)handle)->setForwardUnsupportedContent(forward); } bool QWebPage_forwardUnsupportedContent(QWebPageH handle) { return (bool) ((QWebPage *)handle)->forwardUnsupportedContent(); } void QWebPage_setLinkDelegationPolicy(QWebPageH handle, QWebPage::LinkDelegationPolicy policy) { ((QWebPage *)handle)->setLinkDelegationPolicy(policy); } QWebPage::LinkDelegationPolicy QWebPage_linkDelegationPolicy(QWebPageH handle) { return (QWebPage::LinkDelegationPolicy) ((QWebPage *)handle)->linkDelegationPolicy(); } void QWebPage_setPalette(QWebPageH handle, const QPaletteH palette) { ((QWebPage *)handle)->setPalette(*(const QPalette*)palette); } void QWebPage_palette(QWebPageH handle, QPaletteH retval) { *(QPalette *)retval = ((QWebPage *)handle)->palette(); } void QWebPage_setContentEditable(QWebPageH handle, bool editable) { ((QWebPage *)handle)->setContentEditable(editable); } bool QWebPage_isContentEditable(QWebPageH handle) { return (bool) ((QWebPage *)handle)->isContentEditable(); } bool QWebPage_swallowContextMenuEvent(QWebPageH handle, QContextMenuEventH event) { return (bool) ((QWebPage *)handle)->swallowContextMenuEvent((QContextMenuEvent*)event); } void QWebPage_updatePositionDependentActions(QWebPageH handle, const QPointH pos) { ((QWebPage *)handle)->updatePositionDependentActions(*(const QPoint*)pos); } QMenuH QWebPage_createStandardContextMenu(QWebPageH handle) { return (QMenuH) ((QWebPage *)handle)->createStandardContextMenu(); } bool QWebPage_supportsExtension(QWebPageH handle, QWebPage::Extension extension) { return (bool) ((QWebPage *)handle)->supportsExtension(extension); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebhistoryinterface_c.h0000664000212600021260000000170511677135472021752 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBHISTORYINTERFACE_C_H #define QWEBHISTORYINTERFACE_C_H #include #include "pascalbind.h" C_EXPORT void QWebHistoryInterface_setDefaultInterface(QWebHistoryInterfaceH defaultInterface); C_EXPORT QWebHistoryInterfaceH QWebHistoryInterface_defaultInterface(); C_EXPORT bool QWebHistoryInterface_historyContains(QWebHistoryInterfaceH handle, PWideString url); C_EXPORT void QWebHistoryInterface_addHistoryEntry(QWebHistoryInterfaceH handle, PWideString url); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qclipboard_c.cpp0000664000212600021260000000552711677135472020172 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qclipboard_c.h" void QClipboard_clear(QClipboardH handle, QClipboard::Mode mode) { ((QClipboard *)handle)->clear(mode); } bool QClipboard_supportsSelection(QClipboardH handle) { return (bool) ((QClipboard *)handle)->supportsSelection(); } bool QClipboard_supportsFindBuffer(QClipboardH handle) { return (bool) ((QClipboard *)handle)->supportsFindBuffer(); } bool QClipboard_ownsSelection(QClipboardH handle) { return (bool) ((QClipboard *)handle)->ownsSelection(); } bool QClipboard_ownsClipboard(QClipboardH handle) { return (bool) ((QClipboard *)handle)->ownsClipboard(); } bool QClipboard_ownsFindBuffer(QClipboardH handle) { return (bool) ((QClipboard *)handle)->ownsFindBuffer(); } void QClipboard_text(QClipboardH handle, PWideString retval, QClipboard::Mode mode) { QString t_retval; t_retval = ((QClipboard *)handle)->text(mode); copyQStringToPWideString(t_retval, retval); } void QClipboard_text2(QClipboardH handle, PWideString retval, PWideString subtype, QClipboard::Mode mode) { QString t_retval; QString t_subtype; copyPWideStringToQString(subtype, t_subtype); t_retval = ((QClipboard *)handle)->text(t_subtype, mode); copyQStringToPWideString(t_retval, retval); copyQStringToPWideString(t_subtype, subtype); } void QClipboard_setText(QClipboardH handle, PWideString AnonParam1, QClipboard::Mode mode) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QClipboard *)handle)->setText(t_AnonParam1, mode); } const QMimeDataH QClipboard_mimeData(QClipboardH handle, QClipboard::Mode mode) { return (const QMimeDataH) ((QClipboard *)handle)->mimeData(mode); } void QClipboard_setMimeData(QClipboardH handle, QMimeDataH data, QClipboard::Mode mode) { ((QClipboard *)handle)->setMimeData((QMimeData*)data, mode); } void QClipboard_image(QClipboardH handle, QImageH retval, QClipboard::Mode mode) { *(QImage *)retval = ((QClipboard *)handle)->image(mode); } void QClipboard_pixmap(QClipboardH handle, QPixmapH retval, QClipboard::Mode mode) { *(QPixmap *)retval = ((QClipboard *)handle)->pixmap(mode); } void QClipboard_setImage(QClipboardH handle, const QImageH AnonParam1, QClipboard::Mode mode) { ((QClipboard *)handle)->setImage(*(const QImage*)AnonParam1, mode); } void QClipboard_setPixmap(QClipboardH handle, const QPixmapH AnonParam1, QClipboard::Mode mode) { ((QClipboard *)handle)->setPixmap(*(const QPixmap*)AnonParam1, mode); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmenubar_hook_c.cpp0000664000212600021260000000170311677135472020674 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qmenubar_hook_c.h" QMenuBar_hookH QMenuBar_hook_create(QObjectH handle) { return (QMenuBar_hookH) new QMenuBar_hook((QObject*)handle); } void QMenuBar_hook_destroy(QMenuBar_hookH handle) { delete (QMenuBar_hook *)handle; } void QMenuBar_hook_hook_triggered(QMenuBar_hookH handle, QHookH hook) { ((QMenuBar_hook *)handle)->hook_triggered(hook); } void QMenuBar_hook_hook_hovered(QMenuBar_hookH handle, QHookH hook) { ((QMenuBar_hook *)handle)->hook_hovered(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtransform_c.h0000664000212600021260000001072411677135472017706 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTRANSFORM_C_H #define QTRANSFORM_C_H #include #include "pascalbind.h" C_EXPORT QTransformH QTransform_create(); C_EXPORT void QTransform_destroy(QTransformH handle); C_EXPORT QTransformH QTransform_create2(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33); C_EXPORT QTransformH QTransform_create3(qreal h11, qreal h12, qreal h21, qreal h22, qreal dx, qreal dy); C_EXPORT QTransformH QTransform_create4(const QMatrixH mtx); C_EXPORT bool QTransform_isAffine(QTransformH handle); C_EXPORT bool QTransform_isIdentity(QTransformH handle); C_EXPORT bool QTransform_isInvertible(QTransformH handle); C_EXPORT bool QTransform_isScaling(QTransformH handle); C_EXPORT bool QTransform_isRotating(QTransformH handle); C_EXPORT bool QTransform_isTranslating(QTransformH handle); C_EXPORT QTransform::TransformationType QTransform_type(QTransformH handle); C_EXPORT qreal QTransform_determinant(QTransformH handle); C_EXPORT qreal QTransform_det(QTransformH handle); C_EXPORT qreal QTransform_m11(QTransformH handle); C_EXPORT qreal QTransform_m12(QTransformH handle); C_EXPORT qreal QTransform_m13(QTransformH handle); C_EXPORT qreal QTransform_m21(QTransformH handle); C_EXPORT qreal QTransform_m22(QTransformH handle); C_EXPORT qreal QTransform_m23(QTransformH handle); C_EXPORT qreal QTransform_m31(QTransformH handle); C_EXPORT qreal QTransform_m32(QTransformH handle); C_EXPORT qreal QTransform_m33(QTransformH handle); C_EXPORT qreal QTransform_dx(QTransformH handle); C_EXPORT qreal QTransform_dy(QTransformH handle); C_EXPORT void QTransform_setMatrix(QTransformH handle, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33); C_EXPORT void QTransform_inverted(QTransformH handle, QTransformH retval, bool* invertible); C_EXPORT void QTransform_adjoint(QTransformH handle, QTransformH retval); C_EXPORT void QTransform_transposed(QTransformH handle, QTransformH retval); C_EXPORT QTransformH QTransform_translate(QTransformH handle, qreal dx, qreal dy); C_EXPORT QTransformH QTransform_scale(QTransformH handle, qreal sx, qreal sy); C_EXPORT QTransformH QTransform_shear(QTransformH handle, qreal sh, qreal sv); C_EXPORT QTransformH QTransform_rotate(QTransformH handle, qreal a, Qt::Axis axis); C_EXPORT QTransformH QTransform_rotateRadians(QTransformH handle, qreal a, Qt::Axis axis); C_EXPORT bool QTransform_squareToQuad(const QPolygonFH square, QTransformH result); C_EXPORT bool QTransform_quadToSquare(const QPolygonFH quad, QTransformH result); C_EXPORT bool QTransform_quadToQuad(const QPolygonFH one, const QPolygonFH two, QTransformH result); C_EXPORT void QTransform_reset(QTransformH handle); C_EXPORT void QTransform_map(QTransformH handle, PQtPoint retval, const QPointH p); C_EXPORT void QTransform_map2(QTransformH handle, PQtPointF retval, const QPointFH p); C_EXPORT void QTransform_map3(QTransformH handle, QLineH retval, const QLineH l); C_EXPORT void QTransform_map4(QTransformH handle, QLineFH retval, const QLineFH l); C_EXPORT void QTransform_map5(QTransformH handle, QPolygonFH retval, const QPolygonFH a); C_EXPORT void QTransform_map6(QTransformH handle, QPolygonH retval, const QPolygonH a); C_EXPORT void QTransform_map7(QTransformH handle, QRegionH retval, const QRegionH r); C_EXPORT void QTransform_map8(QTransformH handle, QPainterPathH retval, const QPainterPathH p); C_EXPORT void QTransform_mapToPolygon(QTransformH handle, QPolygonH retval, PRect r); C_EXPORT void QTransform_mapRect(QTransformH handle, PRect retval, PRect AnonParam1); C_EXPORT void QTransform_mapRect2(QTransformH handle, QRectFH retval, const QRectFH AnonParam1); C_EXPORT void QTransform_map9(QTransformH handle, int x, int y, int* tx, int* ty); C_EXPORT void QTransform_map10(QTransformH handle, qreal x, qreal y, qreal* tx, qreal* ty); C_EXPORT const QMatrixH QTransform_toAffine(QTransformH handle); C_EXPORT void QTransform_fromTranslate(QTransformH retval, qreal dx, qreal dy); C_EXPORT void QTransform_fromScale(QTransformH retval, qreal dx, qreal dy); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstandarditemmodel_c.h0000664000212600021260000003144411677135472021375 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTANDARDITEMMODEL_C_H #define QSTANDARDITEMMODEL_C_H #include #include "pascalbind.h" C_EXPORT QStandardItemH QStandardItem_create(); C_EXPORT void QStandardItem_destroy(QStandardItemH handle); C_EXPORT QStandardItemH QStandardItem_create2(PWideString text); C_EXPORT QStandardItemH QStandardItem_create3(const QIconH icon, PWideString text); C_EXPORT QStandardItemH QStandardItem_create4(int rows, int columns); C_EXPORT void QStandardItem_data(QStandardItemH handle, QVariantH retval, Qt::ItemDataRole role); C_EXPORT void QStandardItem_setData(QStandardItemH handle, const QVariantH value, Qt::ItemDataRole role); C_EXPORT void QStandardItem_text(QStandardItemH handle, PWideString retval); C_EXPORT void QStandardItem_setText(QStandardItemH handle, PWideString text); C_EXPORT void QStandardItem_icon(QStandardItemH handle, QIconH retval); C_EXPORT void QStandardItem_setIcon(QStandardItemH handle, const QIconH icon); C_EXPORT void QStandardItem_toolTip(QStandardItemH handle, PWideString retval); C_EXPORT void QStandardItem_setToolTip(QStandardItemH handle, PWideString toolTip); C_EXPORT void QStandardItem_statusTip(QStandardItemH handle, PWideString retval); C_EXPORT void QStandardItem_setStatusTip(QStandardItemH handle, PWideString statusTip); C_EXPORT void QStandardItem_whatsThis(QStandardItemH handle, PWideString retval); C_EXPORT void QStandardItem_setWhatsThis(QStandardItemH handle, PWideString whatsThis); C_EXPORT void QStandardItem_sizeHint(QStandardItemH handle, PSize retval); C_EXPORT void QStandardItem_setSizeHint(QStandardItemH handle, const QSizeH sizeHint); C_EXPORT void QStandardItem_font(QStandardItemH handle, QFontH retval); C_EXPORT void QStandardItem_setFont(QStandardItemH handle, const QFontH font); C_EXPORT unsigned int QStandardItem_textAlignment(QStandardItemH handle); C_EXPORT void QStandardItem_setTextAlignment(QStandardItemH handle, unsigned int textAlignment); C_EXPORT void QStandardItem_background(QStandardItemH handle, QBrushH retval); C_EXPORT void QStandardItem_setBackground(QStandardItemH handle, const QBrushH brush); C_EXPORT void QStandardItem_foreground(QStandardItemH handle, QBrushH retval); C_EXPORT void QStandardItem_setForeground(QStandardItemH handle, const QBrushH brush); C_EXPORT Qt::CheckState QStandardItem_checkState(QStandardItemH handle); C_EXPORT void QStandardItem_setCheckState(QStandardItemH handle, Qt::CheckState checkState); C_EXPORT void QStandardItem_accessibleText(QStandardItemH handle, PWideString retval); C_EXPORT void QStandardItem_setAccessibleText(QStandardItemH handle, PWideString accessibleText); C_EXPORT void QStandardItem_accessibleDescription(QStandardItemH handle, PWideString retval); C_EXPORT void QStandardItem_setAccessibleDescription(QStandardItemH handle, PWideString accessibleDescription); C_EXPORT unsigned int QStandardItem_flags(QStandardItemH handle); C_EXPORT void QStandardItem_setFlags(QStandardItemH handle, unsigned int flags); C_EXPORT bool QStandardItem_isEnabled(QStandardItemH handle); C_EXPORT void QStandardItem_setEnabled(QStandardItemH handle, bool enabled); C_EXPORT bool QStandardItem_isEditable(QStandardItemH handle); C_EXPORT void QStandardItem_setEditable(QStandardItemH handle, bool editable); C_EXPORT bool QStandardItem_isSelectable(QStandardItemH handle); C_EXPORT void QStandardItem_setSelectable(QStandardItemH handle, bool selectable); C_EXPORT bool QStandardItem_isCheckable(QStandardItemH handle); C_EXPORT void QStandardItem_setCheckable(QStandardItemH handle, bool checkable); C_EXPORT bool QStandardItem_isTristate(QStandardItemH handle); C_EXPORT void QStandardItem_setTristate(QStandardItemH handle, bool tristate); C_EXPORT bool QStandardItem_isDragEnabled(QStandardItemH handle); C_EXPORT void QStandardItem_setDragEnabled(QStandardItemH handle, bool dragEnabled); C_EXPORT bool QStandardItem_isDropEnabled(QStandardItemH handle); C_EXPORT void QStandardItem_setDropEnabled(QStandardItemH handle, bool dropEnabled); C_EXPORT QStandardItemH QStandardItem_parent(QStandardItemH handle); C_EXPORT int QStandardItem_row(QStandardItemH handle); C_EXPORT int QStandardItem_column(QStandardItemH handle); C_EXPORT void QStandardItem_index(QStandardItemH handle, QModelIndexH retval); C_EXPORT QStandardItemModelH QStandardItem_model(QStandardItemH handle); C_EXPORT int QStandardItem_rowCount(QStandardItemH handle); C_EXPORT void QStandardItem_setRowCount(QStandardItemH handle, int rows); C_EXPORT int QStandardItem_columnCount(QStandardItemH handle); C_EXPORT void QStandardItem_setColumnCount(QStandardItemH handle, int columns); C_EXPORT bool QStandardItem_hasChildren(QStandardItemH handle); C_EXPORT QStandardItemH QStandardItem_child(QStandardItemH handle, int row, int column); C_EXPORT void QStandardItem_setChild(QStandardItemH handle, int row, int column, QStandardItemH item); C_EXPORT void QStandardItem_setChild2(QStandardItemH handle, int row, QStandardItemH item); C_EXPORT void QStandardItem_insertRow(QStandardItemH handle, int row, PPtrIntArray items); C_EXPORT void QStandardItem_insertColumn(QStandardItemH handle, int column, PPtrIntArray items); C_EXPORT void QStandardItem_insertRows(QStandardItemH handle, int row, PPtrIntArray items); C_EXPORT void QStandardItem_insertRows2(QStandardItemH handle, int row, int count); C_EXPORT void QStandardItem_insertColumns(QStandardItemH handle, int column, int count); C_EXPORT void QStandardItem_removeRow(QStandardItemH handle, int row); C_EXPORT void QStandardItem_removeColumn(QStandardItemH handle, int column); C_EXPORT void QStandardItem_removeRows(QStandardItemH handle, int row, int count); C_EXPORT void QStandardItem_removeColumns(QStandardItemH handle, int column, int count); C_EXPORT void QStandardItem_appendRow(QStandardItemH handle, PPtrIntArray items); C_EXPORT void QStandardItem_appendRows(QStandardItemH handle, PPtrIntArray items); C_EXPORT void QStandardItem_appendColumn(QStandardItemH handle, PPtrIntArray items); C_EXPORT void QStandardItem_insertRow2(QStandardItemH handle, int row, QStandardItemH item); C_EXPORT void QStandardItem_appendRow2(QStandardItemH handle, QStandardItemH item); C_EXPORT QStandardItemH QStandardItem_takeChild(QStandardItemH handle, int row, int column); C_EXPORT void QStandardItem_takeRow(QStandardItemH handle, PPtrIntArray retval, int row); C_EXPORT void QStandardItem_takeColumn(QStandardItemH handle, PPtrIntArray retval, int column); C_EXPORT void QStandardItem_sortChildren(QStandardItemH handle, int column, Qt::SortOrder order); C_EXPORT QStandardItemH QStandardItem_clone(QStandardItemH handle); C_EXPORT int QStandardItem_type(QStandardItemH handle); C_EXPORT void QStandardItem_read(QStandardItemH handle, QDataStreamH in); C_EXPORT void QStandardItem_write(QStandardItemH handle, QDataStreamH out); C_EXPORT QStandardItemModelH QStandardItemModel_create(QObjectH parent); C_EXPORT void QStandardItemModel_destroy(QStandardItemModelH handle); C_EXPORT QStandardItemModelH QStandardItemModel_create2(int rows, int columns, QObjectH parent); C_EXPORT void QStandardItemModel_index(QStandardItemModelH handle, QModelIndexH retval, int row, int column, const QModelIndexH parent); C_EXPORT void QStandardItemModel_parent(QStandardItemModelH handle, QModelIndexH retval, const QModelIndexH child); C_EXPORT int QStandardItemModel_rowCount(QStandardItemModelH handle, const QModelIndexH parent); C_EXPORT int QStandardItemModel_columnCount(QStandardItemModelH handle, const QModelIndexH parent); C_EXPORT bool QStandardItemModel_hasChildren(QStandardItemModelH handle, const QModelIndexH parent); C_EXPORT void QStandardItemModel_data(QStandardItemModelH handle, QVariantH retval, const QModelIndexH index, Qt::ItemDataRole role); C_EXPORT bool QStandardItemModel_setData(QStandardItemModelH handle, const QModelIndexH index, const QVariantH value, Qt::ItemDataRole role); C_EXPORT void QStandardItemModel_headerData(QStandardItemModelH handle, QVariantH retval, int section, Qt::Orientation orientation, Qt::ItemDataRole role); C_EXPORT bool QStandardItemModel_setHeaderData(QStandardItemModelH handle, int section, Qt::Orientation orientation, const QVariantH value, Qt::ItemDataRole role); C_EXPORT bool QStandardItemModel_insertRows(QStandardItemModelH handle, int row, int count, const QModelIndexH parent); C_EXPORT bool QStandardItemModel_insertColumns(QStandardItemModelH handle, int column, int count, const QModelIndexH parent); C_EXPORT bool QStandardItemModel_removeRows(QStandardItemModelH handle, int row, int count, const QModelIndexH parent); C_EXPORT bool QStandardItemModel_removeColumns(QStandardItemModelH handle, int column, int count, const QModelIndexH parent); C_EXPORT unsigned int QStandardItemModel_flags(QStandardItemModelH handle, const QModelIndexH index); C_EXPORT unsigned int QStandardItemModel_supportedDropActions(QStandardItemModelH handle); C_EXPORT void QStandardItemModel_clear(QStandardItemModelH handle); C_EXPORT void QStandardItemModel_sort(QStandardItemModelH handle, int column, Qt::SortOrder order); C_EXPORT QStandardItemH QStandardItemModel_itemFromIndex(QStandardItemModelH handle, const QModelIndexH index); C_EXPORT void QStandardItemModel_indexFromItem(QStandardItemModelH handle, QModelIndexH retval, const QStandardItemH item); C_EXPORT QStandardItemH QStandardItemModel_item(QStandardItemModelH handle, int row, int column); C_EXPORT void QStandardItemModel_setItem(QStandardItemModelH handle, int row, int column, QStandardItemH item); C_EXPORT void QStandardItemModel_setItem2(QStandardItemModelH handle, int row, QStandardItemH item); C_EXPORT QStandardItemH QStandardItemModel_invisibleRootItem(QStandardItemModelH handle); C_EXPORT QStandardItemH QStandardItemModel_horizontalHeaderItem(QStandardItemModelH handle, int column); C_EXPORT void QStandardItemModel_setHorizontalHeaderItem(QStandardItemModelH handle, int column, QStandardItemH item); C_EXPORT QStandardItemH QStandardItemModel_verticalHeaderItem(QStandardItemModelH handle, int row); C_EXPORT void QStandardItemModel_setVerticalHeaderItem(QStandardItemModelH handle, int row, QStandardItemH item); C_EXPORT void QStandardItemModel_setHorizontalHeaderLabels(QStandardItemModelH handle, const QStringListH labels); C_EXPORT void QStandardItemModel_setVerticalHeaderLabels(QStandardItemModelH handle, const QStringListH labels); C_EXPORT void QStandardItemModel_setRowCount(QStandardItemModelH handle, int rows); C_EXPORT void QStandardItemModel_setColumnCount(QStandardItemModelH handle, int columns); C_EXPORT void QStandardItemModel_appendRow(QStandardItemModelH handle, PPtrIntArray items); C_EXPORT void QStandardItemModel_appendColumn(QStandardItemModelH handle, PPtrIntArray items); C_EXPORT void QStandardItemModel_appendRow2(QStandardItemModelH handle, QStandardItemH item); C_EXPORT void QStandardItemModel_insertRow(QStandardItemModelH handle, int row, PPtrIntArray items); C_EXPORT void QStandardItemModel_insertColumn(QStandardItemModelH handle, int column, PPtrIntArray items); C_EXPORT void QStandardItemModel_insertRow2(QStandardItemModelH handle, int row, QStandardItemH item); C_EXPORT bool QStandardItemModel_insertRow3(QStandardItemModelH handle, int row, const QModelIndexH parent); C_EXPORT bool QStandardItemModel_insertColumn2(QStandardItemModelH handle, int column, const QModelIndexH parent); C_EXPORT QStandardItemH QStandardItemModel_takeItem(QStandardItemModelH handle, int row, int column); C_EXPORT void QStandardItemModel_takeRow(QStandardItemModelH handle, PPtrIntArray retval, int row); C_EXPORT void QStandardItemModel_takeColumn(QStandardItemModelH handle, PPtrIntArray retval, int column); C_EXPORT QStandardItemH QStandardItemModel_takeHorizontalHeaderItem(QStandardItemModelH handle, int column); C_EXPORT QStandardItemH QStandardItemModel_takeVerticalHeaderItem(QStandardItemModelH handle, int row); C_EXPORT const QStandardItemH QStandardItemModel_itemPrototype(QStandardItemModelH handle); C_EXPORT void QStandardItemModel_setItemPrototype(QStandardItemModelH handle, const QStandardItemH item); C_EXPORT void QStandardItemModel_findItems(QStandardItemModelH handle, PPtrIntArray retval, PWideString text, unsigned int flags, int column); C_EXPORT int QStandardItemModel_sortRole(QStandardItemModelH handle); C_EXPORT void QStandardItemModel_setSortRole(QStandardItemModelH handle, int role); C_EXPORT void QStandardItemModel_mimeTypes(QStandardItemModelH handle, QStringListH retval); C_EXPORT bool QStandardItemModel_dropMimeData(QStandardItemModelH handle, const QMimeDataH data, Qt::DropAction action, int row, int column, const QModelIndexH parent); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlcdnumber_c.h0000664000212600021260000000407511677135472017650 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLCDNUMBER_C_H #define QLCDNUMBER_C_H #include #include "pascalbind.h" C_EXPORT QLCDNumberH QLCDNumber_create(QWidgetH parent); C_EXPORT void QLCDNumber_destroy(QLCDNumberH handle); C_EXPORT QLCDNumberH QLCDNumber_create2(uint numDigits, QWidgetH parent); C_EXPORT bool QLCDNumber_smallDecimalPoint(QLCDNumberH handle); C_EXPORT int QLCDNumber_numDigits(QLCDNumberH handle); C_EXPORT void QLCDNumber_setNumDigits(QLCDNumberH handle, int nDigits); C_EXPORT bool QLCDNumber_checkOverflow(QLCDNumberH handle, double num); C_EXPORT bool QLCDNumber_checkOverflow2(QLCDNumberH handle, int num); C_EXPORT QLCDNumber::Mode QLCDNumber_mode(QLCDNumberH handle); C_EXPORT void QLCDNumber_setMode(QLCDNumberH handle, QLCDNumber::Mode AnonParam1); C_EXPORT QLCDNumber::SegmentStyle QLCDNumber_segmentStyle(QLCDNumberH handle); C_EXPORT void QLCDNumber_setSegmentStyle(QLCDNumberH handle, QLCDNumber::SegmentStyle AnonParam1); C_EXPORT double QLCDNumber_value(QLCDNumberH handle); C_EXPORT int QLCDNumber_intValue(QLCDNumberH handle); C_EXPORT void QLCDNumber_sizeHint(QLCDNumberH handle, PSize retval); C_EXPORT void QLCDNumber_display(QLCDNumberH handle, PWideString str); C_EXPORT void QLCDNumber_display2(QLCDNumberH handle, int num); C_EXPORT void QLCDNumber_display3(QLCDNumberH handle, double num); C_EXPORT void QLCDNumber_setHexMode(QLCDNumberH handle); C_EXPORT void QLCDNumber_setDecMode(QLCDNumberH handle); C_EXPORT void QLCDNumber_setOctMode(QLCDNumberH handle); C_EXPORT void QLCDNumber_setBinMode(QLCDNumberH handle); C_EXPORT void QLCDNumber_setSmallDecimalPoint(QLCDNumberH handle, bool AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlistwidget_c.h0000664000212600021260000001652311677135472020055 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLISTWIDGET_C_H #define QLISTWIDGET_C_H #include #include "pascalbind.h" C_EXPORT QListWidgetItemH QListWidgetItem_create(QListWidgetH view, int type); C_EXPORT void QListWidgetItem_destroy(QListWidgetItemH handle); C_EXPORT QListWidgetItemH QListWidgetItem_create2(PWideString text, QListWidgetH view, int type); C_EXPORT QListWidgetItemH QListWidgetItem_create3(const QIconH icon, PWideString text, QListWidgetH view, int type); C_EXPORT QListWidgetItemH QListWidgetItem_create4(const QListWidgetItemH other); C_EXPORT QListWidgetItemH QListWidgetItem_clone(QListWidgetItemH handle); C_EXPORT QListWidgetH QListWidgetItem_listWidget(QListWidgetItemH handle); C_EXPORT void QListWidgetItem_setSelected(QListWidgetItemH handle, bool select); C_EXPORT bool QListWidgetItem_isSelected(QListWidgetItemH handle); C_EXPORT void QListWidgetItem_setHidden(QListWidgetItemH handle, bool hide); C_EXPORT bool QListWidgetItem_isHidden(QListWidgetItemH handle); C_EXPORT unsigned int QListWidgetItem_flags(QListWidgetItemH handle); C_EXPORT void QListWidgetItem_setFlags(QListWidgetItemH handle, unsigned int flags); C_EXPORT void QListWidgetItem_text(QListWidgetItemH handle, PWideString retval); C_EXPORT void QListWidgetItem_setText(QListWidgetItemH handle, PWideString text); C_EXPORT void QListWidgetItem_icon(QListWidgetItemH handle, QIconH retval); C_EXPORT void QListWidgetItem_setIcon(QListWidgetItemH handle, const QIconH icon); C_EXPORT void QListWidgetItem_statusTip(QListWidgetItemH handle, PWideString retval); C_EXPORT void QListWidgetItem_setStatusTip(QListWidgetItemH handle, PWideString statusTip); C_EXPORT void QListWidgetItem_toolTip(QListWidgetItemH handle, PWideString retval); C_EXPORT void QListWidgetItem_setToolTip(QListWidgetItemH handle, PWideString toolTip); C_EXPORT void QListWidgetItem_whatsThis(QListWidgetItemH handle, PWideString retval); C_EXPORT void QListWidgetItem_setWhatsThis(QListWidgetItemH handle, PWideString whatsThis); C_EXPORT void QListWidgetItem_font(QListWidgetItemH handle, QFontH retval); C_EXPORT void QListWidgetItem_setFont(QListWidgetItemH handle, const QFontH font); C_EXPORT int QListWidgetItem_textAlignment(QListWidgetItemH handle); C_EXPORT void QListWidgetItem_setTextAlignment(QListWidgetItemH handle, int alignment); C_EXPORT void QListWidgetItem_backgroundColor(QListWidgetItemH handle, PQColor retval); C_EXPORT void QListWidgetItem_setBackgroundColor(QListWidgetItemH handle, const QColorH color); C_EXPORT void QListWidgetItem_background(QListWidgetItemH handle, QBrushH retval); C_EXPORT void QListWidgetItem_setBackground(QListWidgetItemH handle, const QBrushH brush); C_EXPORT void QListWidgetItem_textColor(QListWidgetItemH handle, PQColor retval); C_EXPORT void QListWidgetItem_setTextColor(QListWidgetItemH handle, const QColorH color); C_EXPORT void QListWidgetItem_foreground(QListWidgetItemH handle, QBrushH retval); C_EXPORT void QListWidgetItem_setForeground(QListWidgetItemH handle, const QBrushH brush); C_EXPORT Qt::CheckState QListWidgetItem_checkState(QListWidgetItemH handle); C_EXPORT void QListWidgetItem_setCheckState(QListWidgetItemH handle, Qt::CheckState state); C_EXPORT void QListWidgetItem_sizeHint(QListWidgetItemH handle, PSize retval); C_EXPORT void QListWidgetItem_setSizeHint(QListWidgetItemH handle, const QSizeH size); C_EXPORT void QListWidgetItem_data(QListWidgetItemH handle, QVariantH retval, int role); C_EXPORT void QListWidgetItem_setData(QListWidgetItemH handle, int role, const QVariantH value); C_EXPORT void QListWidgetItem_read(QListWidgetItemH handle, QDataStreamH in); C_EXPORT void QListWidgetItem_write(QListWidgetItemH handle, QDataStreamH out); C_EXPORT int QListWidgetItem_type(QListWidgetItemH handle); C_EXPORT QListWidgetH QListWidget_create(QWidgetH parent); C_EXPORT void QListWidget_destroy(QListWidgetH handle); C_EXPORT QListWidgetItemH QListWidget_item(QListWidgetH handle, int row); C_EXPORT int QListWidget_row(QListWidgetH handle, const QListWidgetItemH item); C_EXPORT void QListWidget_insertItem(QListWidgetH handle, int row, QListWidgetItemH item); C_EXPORT void QListWidget_insertItem2(QListWidgetH handle, int row, PWideString label); C_EXPORT void QListWidget_insertItems(QListWidgetH handle, int row, const QStringListH labels); C_EXPORT void QListWidget_addItem(QListWidgetH handle, PWideString label); C_EXPORT void QListWidget_addItem2(QListWidgetH handle, QListWidgetItemH item); C_EXPORT void QListWidget_addItems(QListWidgetH handle, const QStringListH labels); C_EXPORT QListWidgetItemH QListWidget_takeItem(QListWidgetH handle, int row); C_EXPORT int QListWidget_count(QListWidgetH handle); C_EXPORT QListWidgetItemH QListWidget_currentItem(QListWidgetH handle); C_EXPORT void QListWidget_setCurrentItem(QListWidgetH handle, QListWidgetItemH item); C_EXPORT void QListWidget_setCurrentItem2(QListWidgetH handle, QListWidgetItemH item, unsigned int command); C_EXPORT int QListWidget_currentRow(QListWidgetH handle); C_EXPORT void QListWidget_setCurrentRow(QListWidgetH handle, int row); C_EXPORT void QListWidget_setCurrentRow2(QListWidgetH handle, int row, unsigned int command); C_EXPORT QListWidgetItemH QListWidget_itemAt(QListWidgetH handle, const QPointH p); C_EXPORT QListWidgetItemH QListWidget_itemAt2(QListWidgetH handle, int x, int y); C_EXPORT void QListWidget_visualItemRect(QListWidgetH handle, PRect retval, const QListWidgetItemH item); C_EXPORT void QListWidget_sortItems(QListWidgetH handle, Qt::SortOrder order); C_EXPORT void QListWidget_setSortingEnabled(QListWidgetH handle, bool enable); C_EXPORT bool QListWidget_isSortingEnabled(QListWidgetH handle); C_EXPORT void QListWidget_editItem(QListWidgetH handle, QListWidgetItemH item); C_EXPORT void QListWidget_openPersistentEditor(QListWidgetH handle, QListWidgetItemH item); C_EXPORT void QListWidget_closePersistentEditor(QListWidgetH handle, QListWidgetItemH item); C_EXPORT QWidgetH QListWidget_itemWidget(QListWidgetH handle, QListWidgetItemH item); C_EXPORT void QListWidget_setItemWidget(QListWidgetH handle, QListWidgetItemH item, QWidgetH widget); C_EXPORT void QListWidget_removeItemWidget(QListWidgetH handle, QListWidgetItemH item); C_EXPORT bool QListWidget_isItemSelected(QListWidgetH handle, const QListWidgetItemH item); C_EXPORT void QListWidget_setItemSelected(QListWidgetH handle, const QListWidgetItemH item, bool select); C_EXPORT void QListWidget_selectedItems(QListWidgetH handle, PPtrIntArray retval); C_EXPORT void QListWidget_findItems(QListWidgetH handle, PPtrIntArray retval, PWideString text, unsigned int flags); C_EXPORT bool QListWidget_isItemHidden(QListWidgetH handle, const QListWidgetItemH item); C_EXPORT void QListWidget_setItemHidden(QListWidgetH handle, const QListWidgetItemH item, bool hide); C_EXPORT void QListWidget_dropEvent(QListWidgetH handle, QDropEventH event); C_EXPORT void QListWidget_scrollToItem(QListWidgetH handle, const QListWidgetItemH item, QAbstractItemView::ScrollHint hint); C_EXPORT void QListWidget_clear(QListWidgetH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemview_hook_c.h0000664000212600021260000000250211677135472022263 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTITEMVIEW_HOOK_C_H #define QABSTRACTITEMVIEW_HOOK_C_H #include "qabstractitemview_hook.h" C_EXPORT QAbstractItemView_hookH QAbstractItemView_hook_create(QObjectH handle); C_EXPORT void QAbstractItemView_hook_destroy(QAbstractItemView_hookH handle); C_EXPORT void QAbstractItemView_hook_hook_pressed(QAbstractItemView_hookH handle, QHookH hook); C_EXPORT void QAbstractItemView_hook_hook_clicked(QAbstractItemView_hookH handle, QHookH hook); C_EXPORT void QAbstractItemView_hook_hook_doubleClicked(QAbstractItemView_hookH handle, QHookH hook); C_EXPORT void QAbstractItemView_hook_hook_activated(QAbstractItemView_hookH handle, QHookH hook); C_EXPORT void QAbstractItemView_hook_hook_entered(QAbstractItemView_hookH handle, QHookH hook); C_EXPORT void QAbstractItemView_hook_hook_viewportEntered(QAbstractItemView_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtreeview_c.h0000664000212600021260000001201711677135472017522 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTREEVIEW_C_H #define QTREEVIEW_C_H #include #include "pascalbind.h" C_EXPORT QTreeViewH QTreeView_create(QWidgetH parent); C_EXPORT void QTreeView_destroy(QTreeViewH handle); C_EXPORT void QTreeView_setModel(QTreeViewH handle, QAbstractItemModelH model); C_EXPORT void QTreeView_setRootIndex(QTreeViewH handle, const QModelIndexH index); C_EXPORT void QTreeView_setSelectionModel(QTreeViewH handle, QItemSelectionModelH selectionModel); C_EXPORT QHeaderViewH QTreeView_header(QTreeViewH handle); C_EXPORT void QTreeView_setHeader(QTreeViewH handle, QHeaderViewH header); C_EXPORT int QTreeView_autoExpandDelay(QTreeViewH handle); C_EXPORT void QTreeView_setAutoExpandDelay(QTreeViewH handle, int delay); C_EXPORT int QTreeView_indentation(QTreeViewH handle); C_EXPORT void QTreeView_setIndentation(QTreeViewH handle, int i); C_EXPORT bool QTreeView_rootIsDecorated(QTreeViewH handle); C_EXPORT void QTreeView_setRootIsDecorated(QTreeViewH handle, bool show); C_EXPORT bool QTreeView_uniformRowHeights(QTreeViewH handle); C_EXPORT void QTreeView_setUniformRowHeights(QTreeViewH handle, bool uniform); C_EXPORT bool QTreeView_itemsExpandable(QTreeViewH handle); C_EXPORT void QTreeView_setItemsExpandable(QTreeViewH handle, bool enable); C_EXPORT bool QTreeView_expandsOnDoubleClick(QTreeViewH handle); C_EXPORT void QTreeView_setExpandsOnDoubleClick(QTreeViewH handle, bool enable); C_EXPORT int QTreeView_columnViewportPosition(QTreeViewH handle, int column); C_EXPORT int QTreeView_columnWidth(QTreeViewH handle, int column); C_EXPORT void QTreeView_setColumnWidth(QTreeViewH handle, int column, int width); C_EXPORT int QTreeView_columnAt(QTreeViewH handle, int x); C_EXPORT bool QTreeView_isColumnHidden(QTreeViewH handle, int column); C_EXPORT void QTreeView_setColumnHidden(QTreeViewH handle, int column, bool hide); C_EXPORT bool QTreeView_isHeaderHidden(QTreeViewH handle); C_EXPORT void QTreeView_setHeaderHidden(QTreeViewH handle, bool hide); C_EXPORT bool QTreeView_isRowHidden(QTreeViewH handle, int row, const QModelIndexH parent); C_EXPORT void QTreeView_setRowHidden(QTreeViewH handle, int row, const QModelIndexH parent, bool hide); C_EXPORT bool QTreeView_isFirstColumnSpanned(QTreeViewH handle, int row, const QModelIndexH parent); C_EXPORT void QTreeView_setFirstColumnSpanned(QTreeViewH handle, int row, const QModelIndexH parent, bool span); C_EXPORT bool QTreeView_isExpanded(QTreeViewH handle, const QModelIndexH index); C_EXPORT void QTreeView_setExpanded(QTreeViewH handle, const QModelIndexH index, bool expand); C_EXPORT void QTreeView_setSortingEnabled(QTreeViewH handle, bool enable); C_EXPORT bool QTreeView_isSortingEnabled(QTreeViewH handle); C_EXPORT void QTreeView_setAnimated(QTreeViewH handle, bool enable); C_EXPORT bool QTreeView_isAnimated(QTreeViewH handle); C_EXPORT void QTreeView_setAllColumnsShowFocus(QTreeViewH handle, bool enable); C_EXPORT bool QTreeView_allColumnsShowFocus(QTreeViewH handle); C_EXPORT void QTreeView_setWordWrap(QTreeViewH handle, bool on); C_EXPORT bool QTreeView_wordWrap(QTreeViewH handle); C_EXPORT void QTreeView_keyboardSearch(QTreeViewH handle, PWideString search); C_EXPORT void QTreeView_visualRect(QTreeViewH handle, PRect retval, const QModelIndexH index); C_EXPORT void QTreeView_scrollTo(QTreeViewH handle, const QModelIndexH index, QAbstractItemView::ScrollHint hint); C_EXPORT void QTreeView_indexAt(QTreeViewH handle, QModelIndexH retval, const QPointH p); C_EXPORT void QTreeView_indexAbove(QTreeViewH handle, QModelIndexH retval, const QModelIndexH index); C_EXPORT void QTreeView_indexBelow(QTreeViewH handle, QModelIndexH retval, const QModelIndexH index); C_EXPORT void QTreeView_doItemsLayout(QTreeViewH handle); C_EXPORT void QTreeView_reset(QTreeViewH handle); C_EXPORT void QTreeView_sortByColumn(QTreeViewH handle, int column, Qt::SortOrder order); C_EXPORT void QTreeView_dataChanged(QTreeViewH handle, const QModelIndexH topLeft, const QModelIndexH bottomRight); C_EXPORT void QTreeView_hideColumn(QTreeViewH handle, int column); C_EXPORT void QTreeView_showColumn(QTreeViewH handle, int column); C_EXPORT void QTreeView_expand(QTreeViewH handle, const QModelIndexH index); C_EXPORT void QTreeView_collapse(QTreeViewH handle, const QModelIndexH index); C_EXPORT void QTreeView_resizeColumnToContents(QTreeViewH handle, int column); C_EXPORT void QTreeView_sortByColumn2(QTreeViewH handle, int column); C_EXPORT void QTreeView_selectAll(QTreeViewH handle); C_EXPORT void QTreeView_expandAll(QTreeViewH handle); C_EXPORT void QTreeView_collapseAll(QTreeViewH handle); C_EXPORT void QTreeView_expandToDepth(QTreeViewH handle, int depth); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlabel_hook.h0000664000212600021260000000444111677135472017467 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLABEL_HOOK_H #define QLABEL_HOOK_H #include #include "qframe_hook.h" class QLabel_hook : public QFrame_hook { Q_OBJECT public: QLabel_hook(QObject *handle) : QFrame_hook(handle) { linkActivated_event.func = NULL; linkHovered_event.func = NULL; } void hook_linkActivated(QHook &hook) { if ( !linkActivated_event.func ) connect(handle, SIGNAL(linkActivated(const QString&)), this, SLOT(linkActivated_hook(const QString&))); linkActivated_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(linkActivated(const QString&)), this, SLOT(linkActivated_hook(const QString&))); } void hook_linkHovered(QHook &hook) { if ( !linkHovered_event.func ) connect(handle, SIGNAL(linkHovered(const QString&)), this, SLOT(linkHovered_hook(const QString&))); linkHovered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(linkHovered(const QString&)), this, SLOT(linkHovered_hook(const QString&))); } private slots: void linkActivated_hook(const QString& link) { if ( linkActivated_event.func ) { typedef void (*func_type)(void *data, PWideString link); PWideString t_link; initializePWideString(t_link); copyQStringToPWideString(link, t_link); (*(func_type)linkActivated_event.func)(linkActivated_event.data, t_link); finalizePWideString(t_link); } } void linkHovered_hook(const QString& link) { if ( linkHovered_event.func ) { typedef void (*func_type)(void *data, PWideString link); PWideString t_link; initializePWideString(t_link); copyQStringToPWideString(link, t_link); (*(func_type)linkHovered_event.func)(linkHovered_event.data, t_link); finalizePWideString(t_link); } } private: QHook linkActivated_event; QHook linkHovered_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qscrollbar_c.cpp0000664000212600021260000000207611677135472020212 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qscrollbar_c.h" QScrollBarH QScrollBar_create(QWidgetH parent) { return (QScrollBarH) new QScrollBar((QWidget*)parent); } void QScrollBar_destroy(QScrollBarH handle) { delete (QScrollBar *)handle; } QScrollBarH QScrollBar_create2(Qt::Orientation AnonParam1, QWidgetH parent) { return (QScrollBarH) new QScrollBar(AnonParam1, (QWidget*)parent); } void QScrollBar_sizeHint(QScrollBarH handle, PSize retval) { *(QSize *)retval = ((QScrollBar *)handle)->sizeHint(); } bool QScrollBar_event(QScrollBarH handle, QEventH event) { return (bool) ((QScrollBar *)handle)->event((QEvent*)event); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qspinbox_hook.h0000664000212600021260000000764211677135472020100 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSPINBOX_HOOK_H #define QSPINBOX_HOOK_H #include #include "qabstractspinbox_hook.h" class QSpinBox_hook : public QAbstractSpinBox_hook { Q_OBJECT public: QSpinBox_hook(QObject *handle) : QAbstractSpinBox_hook(handle) { valueChanged_event.func = NULL; valueChanged2_event.func = NULL; } void hook_valueChanged(QHook &hook) { if ( !valueChanged_event.func ) connect(handle, SIGNAL(valueChanged(int)), this, SLOT(valueChanged_hook(int))); valueChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(valueChanged(int)), this, SLOT(valueChanged_hook(int))); } void hook_valueChanged2(QHook &hook) { if ( !valueChanged2_event.func ) connect(handle, SIGNAL(valueChanged(const QString&)), this, SLOT(valueChanged2_hook(const QString&))); valueChanged2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(valueChanged(const QString&)), this, SLOT(valueChanged2_hook(const QString&))); } private slots: void valueChanged_hook(int AnonParam1) { if ( valueChanged_event.func ) { typedef void (*func_type)(void *data, int AnonParam1); (*(func_type)valueChanged_event.func)(valueChanged_event.data, AnonParam1); } } void valueChanged2_hook(const QString& AnonParam1) { if ( valueChanged2_event.func ) { typedef void (*func_type)(void *data, PWideString AnonParam1); PWideString t_AnonParam1; initializePWideString(t_AnonParam1); copyQStringToPWideString(AnonParam1, t_AnonParam1); (*(func_type)valueChanged2_event.func)(valueChanged2_event.data, t_AnonParam1); finalizePWideString(t_AnonParam1); } } private: QHook valueChanged_event; QHook valueChanged2_event; }; #include "qabstractspinbox_hook.h" class QDoubleSpinBox_hook : public QAbstractSpinBox_hook { Q_OBJECT public: QDoubleSpinBox_hook(QObject *handle) : QAbstractSpinBox_hook(handle) { valueChanged_event.func = NULL; valueChanged2_event.func = NULL; } void hook_valueChanged(QHook &hook) { if ( !valueChanged_event.func ) connect(handle, SIGNAL(valueChanged(double)), this, SLOT(valueChanged_hook(double))); valueChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(valueChanged(double)), this, SLOT(valueChanged_hook(double))); } void hook_valueChanged2(QHook &hook) { if ( !valueChanged2_event.func ) connect(handle, SIGNAL(valueChanged(const QString&)), this, SLOT(valueChanged2_hook(const QString&))); valueChanged2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(valueChanged(const QString&)), this, SLOT(valueChanged2_hook(const QString&))); } private slots: void valueChanged_hook(double AnonParam1) { if ( valueChanged_event.func ) { typedef void (*func_type)(void *data, double AnonParam1); (*(func_type)valueChanged_event.func)(valueChanged_event.data, AnonParam1); } } void valueChanged2_hook(const QString& AnonParam1) { if ( valueChanged2_event.func ) { typedef void (*func_type)(void *data, PWideString AnonParam1); PWideString t_AnonParam1; initializePWideString(t_AnonParam1); copyQStringToPWideString(AnonParam1, t_AnonParam1); (*(func_type)valueChanged2_event.func)(valueChanged2_event.data, t_AnonParam1); finalizePWideString(t_AnonParam1); } } private: QHook valueChanged_event; QHook valueChanged2_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsizepolicy_c.h0000664000212600021260000000375311677135472020071 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSIZEPOLICY_C_H #define QSIZEPOLICY_C_H #include #include "pascalbind.h" C_EXPORT QSizePolicyH QSizePolicy_create(); C_EXPORT void QSizePolicy_destroy(QSizePolicyH handle); C_EXPORT QSizePolicyH QSizePolicy_create2(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical); C_EXPORT QSizePolicyH QSizePolicy_create3(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical, QSizePolicy::ControlType type); C_EXPORT QSizePolicy::Policy QSizePolicy_horizontalPolicy(QSizePolicyH handle); C_EXPORT QSizePolicy::Policy QSizePolicy_verticalPolicy(QSizePolicyH handle); C_EXPORT QSizePolicy::ControlType QSizePolicy_controlType(QSizePolicyH handle); C_EXPORT void QSizePolicy_setHorizontalPolicy(QSizePolicyH handle, QSizePolicy::Policy d); C_EXPORT void QSizePolicy_setVerticalPolicy(QSizePolicyH handle, QSizePolicy::Policy d); C_EXPORT void QSizePolicy_setControlType(QSizePolicyH handle, QSizePolicy::ControlType type); C_EXPORT unsigned int QSizePolicy_expandingDirections(QSizePolicyH handle); C_EXPORT void QSizePolicy_setHeightForWidth(QSizePolicyH handle, bool b); C_EXPORT bool QSizePolicy_hasHeightForWidth(QSizePolicyH handle); C_EXPORT int QSizePolicy_horizontalStretch(QSizePolicyH handle); C_EXPORT int QSizePolicy_verticalStretch(QSizePolicyH handle); C_EXPORT void QSizePolicy_setHorizontalStretch(QSizePolicyH handle, unsigned char stretchFactor); C_EXPORT void QSizePolicy_setVerticalStretch(QSizePolicyH handle, unsigned char stretchFactor); C_EXPORT void QSizePolicy_transpose(QSizePolicyH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtreewidget_hook_c.h0000664000212600021260000000335211677135472021055 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTREEWIDGET_HOOK_C_H #define QTREEWIDGET_HOOK_C_H #include "qtreewidget_hook.h" C_EXPORT QTreeWidgetItem_hookH QTreeWidgetItem_hook_create(QObjectH handle); C_EXPORT void QTreeWidgetItem_hook_destroy(QTreeWidgetItem_hookH handle); C_EXPORT QTreeWidget_hookH QTreeWidget_hook_create(QObjectH handle); C_EXPORT void QTreeWidget_hook_destroy(QTreeWidget_hookH handle); C_EXPORT void QTreeWidget_hook_hook_itemPressed(QTreeWidget_hookH handle, QHookH hook); C_EXPORT void QTreeWidget_hook_hook_itemClicked(QTreeWidget_hookH handle, QHookH hook); C_EXPORT void QTreeWidget_hook_hook_itemDoubleClicked(QTreeWidget_hookH handle, QHookH hook); C_EXPORT void QTreeWidget_hook_hook_itemActivated(QTreeWidget_hookH handle, QHookH hook); C_EXPORT void QTreeWidget_hook_hook_itemEntered(QTreeWidget_hookH handle, QHookH hook); C_EXPORT void QTreeWidget_hook_hook_itemChanged(QTreeWidget_hookH handle, QHookH hook); C_EXPORT void QTreeWidget_hook_hook_itemExpanded(QTreeWidget_hookH handle, QHookH hook); C_EXPORT void QTreeWidget_hook_hook_itemCollapsed(QTreeWidget_hookH handle, QHookH hook); C_EXPORT void QTreeWidget_hook_hook_currentItemChanged(QTreeWidget_hookH handle, QHookH hook); C_EXPORT void QTreeWidget_hook_hook_itemSelectionChanged(QTreeWidget_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdialog_hook.h0000664000212600021260000000446411677135472017654 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDIALOG_HOOK_H #define QDIALOG_HOOK_H #include #include "qwidget_hook.h" class QDialog_hook : public QWidget_hook { Q_OBJECT public: QDialog_hook(QObject *handle) : QWidget_hook(handle) { finished_event.func = NULL; accepted_event.func = NULL; rejected_event.func = NULL; } void hook_finished(QHook &hook) { if ( !finished_event.func ) connect(handle, SIGNAL(finished(int)), this, SLOT(finished_hook(int))); finished_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(finished(int)), this, SLOT(finished_hook(int))); } void hook_accepted(QHook &hook) { if ( !accepted_event.func ) connect(handle, SIGNAL(accepted()), this, SLOT(accepted_hook())); accepted_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(accepted()), this, SLOT(accepted_hook())); } void hook_rejected(QHook &hook) { if ( !rejected_event.func ) connect(handle, SIGNAL(rejected()), this, SLOT(rejected_hook())); rejected_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(rejected()), this, SLOT(rejected_hook())); } private slots: void finished_hook(int result) { if ( finished_event.func ) { typedef void (*func_type)(void *data, int result); (*(func_type)finished_event.func)(finished_event.data, result); } } void accepted_hook() { if ( accepted_event.func ) { typedef void (*func_type)(void *data); (*(func_type)accepted_event.func)(accepted_event.data); } } void rejected_hook() { if ( rejected_event.func ) { typedef void (*func_type)(void *data); (*(func_type)rejected_event.func)(rejected_event.data); } } private: QHook finished_event; QHook accepted_event; QHook rejected_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclnetworkcookie_c.cpp0000664000212600021260000000212111677135472021574 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlclnetworkcookie_c.h" QLCLNetworkCookieJarH QLCLNetworkCookieJar_create(QObjectH parent) { return (QLCLNetworkCookieJarH) new QLCLNetworkCookieJar((QObject*)parent); } void QLCLNetworkCookieJar_destroy(QLCLNetworkCookieJarH handle) { delete (QLCLNetworkCookieJar *)handle; } void QLCLNetworkCookieJar_setRawCookies(QLCLNetworkCookieJarH handle, const char* rawCookies) { ((QLCLNetworkCookieJar *)handle)->setRawCookies(rawCookies); } void QLCLNetworkCookieJar_getRawCookies(QLCLNetworkCookieJarH handle, QByteArrayH rawCookies) { ((QLCLNetworkCookieJar *)handle)->getRawCookies((QByteArray*)rawCookies); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcalendarwidget_hook_c.cpp0000664000212600021260000000255111677135472022222 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qcalendarwidget_hook_c.h" QCalendarWidget_hookH QCalendarWidget_hook_create(QObjectH handle) { return (QCalendarWidget_hookH) new QCalendarWidget_hook((QObject*)handle); } void QCalendarWidget_hook_destroy(QCalendarWidget_hookH handle) { delete (QCalendarWidget_hook *)handle; } void QCalendarWidget_hook_hook_selectionChanged(QCalendarWidget_hookH handle, QHookH hook) { ((QCalendarWidget_hook *)handle)->hook_selectionChanged(hook); } void QCalendarWidget_hook_hook_clicked(QCalendarWidget_hookH handle, QHookH hook) { ((QCalendarWidget_hook *)handle)->hook_clicked(hook); } void QCalendarWidget_hook_hook_activated(QCalendarWidget_hookH handle, QHookH hook) { ((QCalendarWidget_hook *)handle)->hook_activated(hook); } void QCalendarWidget_hook_hook_currentPageChanged(QCalendarWidget_hookH handle, QHookH hook) { ((QCalendarWidget_hook *)handle)->hook_currentPageChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmdisubwindow_hook.h0000664000212600021260000000442411677135472021124 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMDISUBWINDOW_HOOK_H #define QMDISUBWINDOW_HOOK_H #include #include "qwidget_hook.h" class QMdiSubWindow_hook : public QWidget_hook { Q_OBJECT public: QMdiSubWindow_hook(QObject *handle) : QWidget_hook(handle) { windowStateChanged_event.func = NULL; aboutToActivate_event.func = NULL; } void hook_windowStateChanged(QHook &hook) { if ( !windowStateChanged_event.func ) connect(handle, SIGNAL(windowStateChanged(Qt::WindowStates, Qt::WindowStates)), this, SLOT(windowStateChanged_hook(Qt::WindowStates, Qt::WindowStates))); windowStateChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(windowStateChanged(Qt::WindowStates, Qt::WindowStates)), this, SLOT(windowStateChanged_hook(Qt::WindowStates, Qt::WindowStates))); } void hook_aboutToActivate(QHook &hook) { if ( !aboutToActivate_event.func ) connect(handle, SIGNAL(aboutToActivate()), this, SLOT(aboutToActivate_hook())); aboutToActivate_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(aboutToActivate()), this, SLOT(aboutToActivate_hook())); } private slots: void windowStateChanged_hook(Qt::WindowStates oldState, Qt::WindowStates newState) { if ( windowStateChanged_event.func ) { typedef void (*func_type)(void *data, unsigned int oldState, unsigned int newState); (*(func_type)windowStateChanged_event.func)(windowStateChanged_event.data, (unsigned int)oldState, (unsigned int)newState); } } void aboutToActivate_hook() { if ( aboutToActivate_event.func ) { typedef void (*func_type)(void *data); (*(func_type)aboutToActivate_event.func)(aboutToActivate_event.data); } } private: QHook windowStateChanged_event; QHook aboutToActivate_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qx11info_x11_c.cpp0000664000212600021260000000612411677135472020203 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #if defined BINUX || MAEMO5 #include "qx11info_x11_c.h" #endif #if defined BINUX QX11InfoH QX11Info_create() { return (QX11InfoH) new QX11Info(); } void QX11Info_destroy(QX11InfoH handle) { delete (QX11Info *)handle; } QX11InfoH QX11Info_create2(const QX11InfoH other) { return (QX11InfoH) new QX11Info(*(const QX11Info*)other); } Display* QX11Info_display() { return (Display*) QX11Info::display(); } const char* QX11Info_appClass() { return (const char*) QX11Info::appClass(); } int QX11Info_screen(QX11InfoH handle) { return (int) ((QX11Info *)handle)->screen(); } int QX11Info_depth(QX11InfoH handle) { return (int) ((QX11Info *)handle)->depth(); } int QX11Info_cells(QX11InfoH handle) { return (int) ((QX11Info *)handle)->cells(); } Qt::HANDLE QX11Info_colormap(QX11InfoH handle) { return (Qt::HANDLE) ((QX11Info *)handle)->colormap(); } bool QX11Info_defaultColormap(QX11InfoH handle) { return (bool) ((QX11Info *)handle)->defaultColormap(); } void* QX11Info_visual(QX11InfoH handle) { return (void*) ((QX11Info *)handle)->visual(); } bool QX11Info_defaultVisual(QX11InfoH handle) { return (bool) ((QX11Info *)handle)->defaultVisual(); } int QX11Info_appScreen() { return (int) QX11Info::appScreen(); } int QX11Info_appDepth(int screen) { return (int) QX11Info::appDepth(screen); } int QX11Info_appCells(int screen) { return (int) QX11Info::appCells(screen); } Qt::HANDLE QX11Info_appColormap(int screen) { return (Qt::HANDLE) QX11Info::appColormap(screen); } void* QX11Info_appVisual(int screen) { return (void*) QX11Info::appVisual(screen); } Qt::HANDLE QX11Info_appRootWindow(int screen) { return (Qt::HANDLE) QX11Info::appRootWindow(screen); } bool QX11Info_appDefaultColormap(int screen) { return (bool) QX11Info::appDefaultColormap(screen); } bool QX11Info_appDefaultVisual(int screen) { return (bool) QX11Info::appDefaultVisual(screen); } int QX11Info_appDpiX(int screen) { return (int) QX11Info::appDpiX(screen); } int QX11Info_appDpiY(int screen) { return (int) QX11Info::appDpiY(screen); } void QX11Info_setAppDpiX(int screen, int dpi) { QX11Info::setAppDpiX(screen, dpi); } void QX11Info_setAppDpiY(int screen, int dpi) { QX11Info::setAppDpiY(screen, dpi); } unsigned long QX11Info_appTime() { return (unsigned long) QX11Info::appTime(); } unsigned long QX11Info_appUserTime() { return (unsigned long) QX11Info::appUserTime(); } void QX11Info_setAppTime(unsigned long time) { QX11Info::setAppTime(time); } void QX11Info_setAppUserTime(unsigned long time) { QX11Info::setAppUserTime(time); } bool QX11Info_isCompositingManagerRunning() { return (bool) QX11Info::isCompositingManagerRunning(); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qeventloop_c.cpp0000664000212600021260000000303411677135472020235 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qeventloop_c.h" QEventLoopH QEventLoop_create(QObjectH parent) { return (QEventLoopH) new QEventLoop((QObject*)parent); } void QEventLoop_destroy(QEventLoopH handle) { delete (QEventLoop *)handle; } bool QEventLoop_processEvents(QEventLoopH handle, unsigned int flags) { return (bool) ((QEventLoop *)handle)->processEvents((QEventLoop::ProcessEventsFlags)flags); } void QEventLoop_processEvents2(QEventLoopH handle, unsigned int flags, int maximumTime) { ((QEventLoop *)handle)->processEvents((QEventLoop::ProcessEventsFlags)flags, maximumTime); } int QEventLoop_exec(QEventLoopH handle, unsigned int flags) { return (int) ((QEventLoop *)handle)->exec((QEventLoop::ProcessEventsFlags)flags); } void QEventLoop_exit(QEventLoopH handle, int returnCode) { ((QEventLoop *)handle)->exit(returnCode); } bool QEventLoop_isRunning(QEventLoopH handle) { return (bool) ((QEventLoop *)handle)->isRunning(); } void QEventLoop_wakeUp(QEventLoopH handle) { ((QEventLoop *)handle)->wakeUp(); } void QEventLoop_quit(QEventLoopH handle) { ((QEventLoop *)handle)->quit(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclabstractspinbox_c.h0000664000212600021260000000127511677135472021575 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLCLABSTRACTSPINBOX_C_H #define QLCLABSTRACTSPINBOX_C_H #include "qlclabstractspinbox.h" #include "pascalbind.h" C_EXPORT QLineEditH QLCLAbstractSpinBox_lineEditHandle(QAbstractSpinBoxH protectedhandle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractsocket_hook_c.h0000664000212600021260000000245411677135472021730 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTSOCKET_HOOK_C_H #define QABSTRACTSOCKET_HOOK_C_H #include "qabstractsocket_hook.h" C_EXPORT QAbstractSocket_hookH QAbstractSocket_hook_create(QObjectH handle); C_EXPORT void QAbstractSocket_hook_destroy(QAbstractSocket_hookH handle); C_EXPORT void QAbstractSocket_hook_hook_hostFound(QAbstractSocket_hookH handle, QHookH hook); C_EXPORT void QAbstractSocket_hook_hook_connected(QAbstractSocket_hookH handle, QHookH hook); C_EXPORT void QAbstractSocket_hook_hook_disconnected(QAbstractSocket_hookH handle, QHookH hook); C_EXPORT void QAbstractSocket_hook_hook_stateChanged(QAbstractSocket_hookH handle, QHookH hook); C_EXPORT void QAbstractSocket_hook_hook_error(QAbstractSocket_hookH handle, QHookH hook); C_EXPORT void QAbstractSocket_hook_hook_proxyAuthenticationRequired(QAbstractSocket_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsystemtrayicon_c.h0000664000212600021260000000354011677135472020766 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSYSTEMTRAYICON_C_H #define QSYSTEMTRAYICON_C_H #include #include "pascalbind.h" C_EXPORT QSystemTrayIconH QSystemTrayIcon_create(QObjectH parent); C_EXPORT void QSystemTrayIcon_destroy(QSystemTrayIconH handle); C_EXPORT QSystemTrayIconH QSystemTrayIcon_create2(const QIconH icon, QObjectH parent); C_EXPORT void QSystemTrayIcon_setContextMenu(QSystemTrayIconH handle, QMenuH menu); C_EXPORT QMenuH QSystemTrayIcon_contextMenu(QSystemTrayIconH handle); C_EXPORT void QSystemTrayIcon_icon(QSystemTrayIconH handle, QIconH retval); C_EXPORT void QSystemTrayIcon_setIcon(QSystemTrayIconH handle, const QIconH icon); C_EXPORT void QSystemTrayIcon_toolTip(QSystemTrayIconH handle, PWideString retval); C_EXPORT void QSystemTrayIcon_setToolTip(QSystemTrayIconH handle, PWideString tip); C_EXPORT bool QSystemTrayIcon_isSystemTrayAvailable(); C_EXPORT bool QSystemTrayIcon_supportsMessages(); C_EXPORT void QSystemTrayIcon_showMessage(QSystemTrayIconH handle, PWideString title, PWideString msg, QSystemTrayIcon::MessageIcon icon, int msecs); C_EXPORT void QSystemTrayIcon_geometry(QSystemTrayIconH handle, PRect retval); C_EXPORT bool QSystemTrayIcon_isVisible(QSystemTrayIconH handle); C_EXPORT void QSystemTrayIcon_setVisible(QSystemTrayIconH handle, bool visible); C_EXPORT void QSystemTrayIcon_show(QSystemTrayIconH handle); C_EXPORT void QSystemTrayIcon_hide(QSystemTrayIconH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qbuttongroup_hook.h0000664000212600021260000001155111677135472021000 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QBUTTONGROUP_HOOK_H #define QBUTTONGROUP_HOOK_H #include #include "qobject_hook.h" class QButtonGroup_hook : public QObject_hook { Q_OBJECT public: QButtonGroup_hook(QObject *handle) : QObject_hook(handle) { buttonClicked_event.func = NULL; buttonClicked2_event.func = NULL; buttonPressed_event.func = NULL; buttonPressed2_event.func = NULL; buttonReleased_event.func = NULL; buttonReleased2_event.func = NULL; } void hook_buttonClicked(QHook &hook) { if ( !buttonClicked_event.func ) connect(handle, SIGNAL(buttonClicked(QAbstractButton*)), this, SLOT(buttonClicked_hook(QAbstractButton*))); buttonClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(buttonClicked(QAbstractButton*)), this, SLOT(buttonClicked_hook(QAbstractButton*))); } void hook_buttonClicked2(QHook &hook) { if ( !buttonClicked2_event.func ) connect(handle, SIGNAL(buttonClicked(int)), this, SLOT(buttonClicked2_hook(int))); buttonClicked2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(buttonClicked(int)), this, SLOT(buttonClicked2_hook(int))); } void hook_buttonPressed(QHook &hook) { if ( !buttonPressed_event.func ) connect(handle, SIGNAL(buttonPressed(QAbstractButton*)), this, SLOT(buttonPressed_hook(QAbstractButton*))); buttonPressed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(buttonPressed(QAbstractButton*)), this, SLOT(buttonPressed_hook(QAbstractButton*))); } void hook_buttonPressed2(QHook &hook) { if ( !buttonPressed2_event.func ) connect(handle, SIGNAL(buttonPressed(int)), this, SLOT(buttonPressed2_hook(int))); buttonPressed2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(buttonPressed(int)), this, SLOT(buttonPressed2_hook(int))); } void hook_buttonReleased(QHook &hook) { if ( !buttonReleased_event.func ) connect(handle, SIGNAL(buttonReleased(QAbstractButton*)), this, SLOT(buttonReleased_hook(QAbstractButton*))); buttonReleased_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(buttonReleased(QAbstractButton*)), this, SLOT(buttonReleased_hook(QAbstractButton*))); } void hook_buttonReleased2(QHook &hook) { if ( !buttonReleased2_event.func ) connect(handle, SIGNAL(buttonReleased(int)), this, SLOT(buttonReleased2_hook(int))); buttonReleased2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(buttonReleased(int)), this, SLOT(buttonReleased2_hook(int))); } private slots: void buttonClicked_hook(QAbstractButton* AnonParam1) { if ( buttonClicked_event.func ) { typedef void (*func_type)(void *data, QAbstractButtonH AnonParam1); (*(func_type)buttonClicked_event.func)(buttonClicked_event.data, (QAbstractButtonH)AnonParam1); } } void buttonClicked2_hook(int AnonParam1) { if ( buttonClicked2_event.func ) { typedef void (*func_type)(void *data, int AnonParam1); (*(func_type)buttonClicked2_event.func)(buttonClicked2_event.data, AnonParam1); } } void buttonPressed_hook(QAbstractButton* AnonParam1) { if ( buttonPressed_event.func ) { typedef void (*func_type)(void *data, QAbstractButtonH AnonParam1); (*(func_type)buttonPressed_event.func)(buttonPressed_event.data, (QAbstractButtonH)AnonParam1); } } void buttonPressed2_hook(int AnonParam1) { if ( buttonPressed2_event.func ) { typedef void (*func_type)(void *data, int AnonParam1); (*(func_type)buttonPressed2_event.func)(buttonPressed2_event.data, AnonParam1); } } void buttonReleased_hook(QAbstractButton* AnonParam1) { if ( buttonReleased_event.func ) { typedef void (*func_type)(void *data, QAbstractButtonH AnonParam1); (*(func_type)buttonReleased_event.func)(buttonReleased_event.data, (QAbstractButtonH)AnonParam1); } } void buttonReleased2_hook(int AnonParam1) { if ( buttonReleased2_event.func ) { typedef void (*func_type)(void *data, int AnonParam1); (*(func_type)buttonReleased2_event.func)(buttonReleased2_event.data, AnonParam1); } } private: QHook buttonClicked_event; QHook buttonClicked2_event; QHook buttonPressed_event; QHook buttonPressed2_event; QHook buttonReleased_event; QHook buttonReleased2_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebsettings_hook.h0000664000212600021260000000134511677135472020746 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBSETTINGS_HOOK_H #define QWEBSETTINGS_HOOK_H #include #include "qobject_hook.h" class QWebSettings_hook : public QObject_hook { Q_OBJECT public: QWebSettings_hook(QObject *handle) : QObject_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtablewidget_hook_c.h0000664000212600021260000000463211677135472021207 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTABLEWIDGET_HOOK_C_H #define QTABLEWIDGET_HOOK_C_H #include "qtablewidget_hook.h" C_EXPORT QTableWidgetSelectionRange_hookH QTableWidgetSelectionRange_hook_create(QObjectH handle); C_EXPORT void QTableWidgetSelectionRange_hook_destroy(QTableWidgetSelectionRange_hookH handle); C_EXPORT QTableWidgetItem_hookH QTableWidgetItem_hook_create(QObjectH handle); C_EXPORT void QTableWidgetItem_hook_destroy(QTableWidgetItem_hookH handle); C_EXPORT QTableWidget_hookH QTableWidget_hook_create(QObjectH handle); C_EXPORT void QTableWidget_hook_destroy(QTableWidget_hookH handle); C_EXPORT void QTableWidget_hook_hook_itemPressed(QTableWidget_hookH handle, QHookH hook); C_EXPORT void QTableWidget_hook_hook_itemClicked(QTableWidget_hookH handle, QHookH hook); C_EXPORT void QTableWidget_hook_hook_itemDoubleClicked(QTableWidget_hookH handle, QHookH hook); C_EXPORT void QTableWidget_hook_hook_itemActivated(QTableWidget_hookH handle, QHookH hook); C_EXPORT void QTableWidget_hook_hook_itemEntered(QTableWidget_hookH handle, QHookH hook); C_EXPORT void QTableWidget_hook_hook_itemChanged(QTableWidget_hookH handle, QHookH hook); C_EXPORT void QTableWidget_hook_hook_currentItemChanged(QTableWidget_hookH handle, QHookH hook); C_EXPORT void QTableWidget_hook_hook_itemSelectionChanged(QTableWidget_hookH handle, QHookH hook); C_EXPORT void QTableWidget_hook_hook_cellPressed(QTableWidget_hookH handle, QHookH hook); C_EXPORT void QTableWidget_hook_hook_cellClicked(QTableWidget_hookH handle, QHookH hook); C_EXPORT void QTableWidget_hook_hook_cellDoubleClicked(QTableWidget_hookH handle, QHookH hook); C_EXPORT void QTableWidget_hook_hook_cellActivated(QTableWidget_hookH handle, QHookH hook); C_EXPORT void QTableWidget_hook_hook_cellEntered(QTableWidget_hookH handle, QHookH hook); C_EXPORT void QTableWidget_hook_hook_cellChanged(QTableWidget_hookH handle, QHookH hook); C_EXPORT void QTableWidget_hook_hook_currentCellChanged(QTableWidget_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebdatabase_c.cpp0000664000212600021260000000336611677135472020474 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebdatabase_c.h" QWebDatabaseH QWebDatabase_create(const QWebDatabaseH other) { return (QWebDatabaseH) new QWebDatabase(*(const QWebDatabase*)other); } void QWebDatabase_destroy(QWebDatabaseH handle) { delete (QWebDatabase *)handle; } void QWebDatabase_name(QWebDatabaseH handle, PWideString retval) { QString t_retval; t_retval = ((QWebDatabase *)handle)->name(); copyQStringToPWideString(t_retval, retval); } void QWebDatabase_displayName(QWebDatabaseH handle, PWideString retval) { QString t_retval; t_retval = ((QWebDatabase *)handle)->displayName(); copyQStringToPWideString(t_retval, retval); } qint64 QWebDatabase_expectedSize(QWebDatabaseH handle) { return (qint64) ((QWebDatabase *)handle)->expectedSize(); } qint64 QWebDatabase_size(QWebDatabaseH handle) { return (qint64) ((QWebDatabase *)handle)->size(); } void QWebDatabase_fileName(QWebDatabaseH handle, PWideString retval) { QString t_retval; t_retval = ((QWebDatabase *)handle)->fileName(); copyQStringToPWideString(t_retval, retval); } void QWebDatabase_origin(QWebDatabaseH handle, QWebSecurityOriginH retval) { *(QWebSecurityOrigin *)retval = ((QWebDatabase *)handle)->origin(); } void QWebDatabase_removeDatabase(const QWebDatabaseH db) { QWebDatabase::removeDatabase(*(const QWebDatabase*)db); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprogressdialog_c.h0000664000212600021260000000531311677135472020715 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPROGRESSDIALOG_C_H #define QPROGRESSDIALOG_C_H #include #include "pascalbind.h" C_EXPORT QProgressDialogH QProgressDialog_create(QWidgetH parent, unsigned int flags); C_EXPORT void QProgressDialog_destroy(QProgressDialogH handle); C_EXPORT QProgressDialogH QProgressDialog_create2(PWideString labelText, PWideString cancelButtonText, int minimum, int maximum, QWidgetH parent, unsigned int flags); C_EXPORT void QProgressDialog_setLabel(QProgressDialogH handle, QLabelH label); C_EXPORT void QProgressDialog_setCancelButton(QProgressDialogH handle, QPushButtonH button); C_EXPORT void QProgressDialog_setBar(QProgressDialogH handle, QProgressBarH bar); C_EXPORT bool QProgressDialog_wasCanceled(QProgressDialogH handle); C_EXPORT int QProgressDialog_minimum(QProgressDialogH handle); C_EXPORT int QProgressDialog_maximum(QProgressDialogH handle); C_EXPORT int QProgressDialog_value(QProgressDialogH handle); C_EXPORT void QProgressDialog_sizeHint(QProgressDialogH handle, PSize retval); C_EXPORT void QProgressDialog_labelText(QProgressDialogH handle, PWideString retval); C_EXPORT int QProgressDialog_minimumDuration(QProgressDialogH handle); C_EXPORT void QProgressDialog_setAutoReset(QProgressDialogH handle, bool reset); C_EXPORT bool QProgressDialog_autoReset(QProgressDialogH handle); C_EXPORT void QProgressDialog_setAutoClose(QProgressDialogH handle, bool close); C_EXPORT bool QProgressDialog_autoClose(QProgressDialogH handle); C_EXPORT void QProgressDialog_open(QProgressDialogH handle, QObjectH receiver, const char* member); C_EXPORT void QProgressDialog_cancel(QProgressDialogH handle); C_EXPORT void QProgressDialog_reset(QProgressDialogH handle); C_EXPORT void QProgressDialog_setMaximum(QProgressDialogH handle, int maximum); C_EXPORT void QProgressDialog_setMinimum(QProgressDialogH handle, int minimum); C_EXPORT void QProgressDialog_setRange(QProgressDialogH handle, int minimum, int maximum); C_EXPORT void QProgressDialog_setValue(QProgressDialogH handle, int progress); C_EXPORT void QProgressDialog_setLabelText(QProgressDialogH handle, PWideString text); C_EXPORT void QProgressDialog_setCancelButtonText(QProgressDialogH handle, PWideString text); C_EXPORT void QProgressDialog_setMinimumDuration(QProgressDialogH handle, int ms); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlayout_hook_c.cpp0000664000212600021260000000130511677135472020556 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlayout_hook_c.h" QLayout_hookH QLayout_hook_create(QObjectH handle) { return (QLayout_hookH) new QLayout_hook((QObject*)handle); } void QLayout_hook_destroy(QLayout_hookH handle) { delete (QLayout_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprogressbar_c.h0000664000212600021260000000456311677135472020230 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPROGRESSBAR_C_H #define QPROGRESSBAR_C_H #include #include "pascalbind.h" C_EXPORT QProgressBarH QProgressBar_create(QWidgetH parent); C_EXPORT void QProgressBar_destroy(QProgressBarH handle); C_EXPORT int QProgressBar_minimum(QProgressBarH handle); C_EXPORT int QProgressBar_maximum(QProgressBarH handle); C_EXPORT int QProgressBar_value(QProgressBarH handle); C_EXPORT void QProgressBar_text(QProgressBarH handle, PWideString retval); C_EXPORT void QProgressBar_setTextVisible(QProgressBarH handle, bool visible); C_EXPORT bool QProgressBar_isTextVisible(QProgressBarH handle); C_EXPORT unsigned int QProgressBar_alignment(QProgressBarH handle); C_EXPORT void QProgressBar_setAlignment(QProgressBarH handle, unsigned int alignment); C_EXPORT void QProgressBar_sizeHint(QProgressBarH handle, PSize retval); C_EXPORT void QProgressBar_minimumSizeHint(QProgressBarH handle, PSize retval); C_EXPORT Qt::Orientation QProgressBar_orientation(QProgressBarH handle); C_EXPORT void QProgressBar_setInvertedAppearance(QProgressBarH handle, bool invert); C_EXPORT bool QProgressBar_invertedAppearance(QProgressBarH handle); C_EXPORT void QProgressBar_setTextDirection(QProgressBarH handle, QProgressBar::Direction textDirection); C_EXPORT QProgressBar::Direction QProgressBar_textDirection(QProgressBarH handle); C_EXPORT void QProgressBar_setFormat(QProgressBarH handle, PWideString format); C_EXPORT void QProgressBar_format(QProgressBarH handle, PWideString retval); C_EXPORT void QProgressBar_reset(QProgressBarH handle); C_EXPORT void QProgressBar_setRange(QProgressBarH handle, int minimum, int maximum); C_EXPORT void QProgressBar_setMinimum(QProgressBarH handle, int minimum); C_EXPORT void QProgressBar_setMaximum(QProgressBarH handle, int maximum); C_EXPORT void QProgressBar_setValue(QProgressBarH handle, int value); C_EXPORT void QProgressBar_setOrientation(QProgressBarH handle, Qt::Orientation AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qslider_hook.h0000664000212600021260000000134411677135472017671 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSLIDER_HOOK_H #define QSLIDER_HOOK_H #include #include "qabstractslider_hook.h" class QSlider_hook : public QAbstractSlider_hook { Q_OBJECT public: QSlider_hook(QObject *handle) : QAbstractSlider_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qthread_c.cpp0000664000212600021260000000404611677135472017475 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qthread_c.h" Qt::HANDLE QThread_currentThreadId() { return (Qt::HANDLE) QThread::currentThreadId(); } QThreadH QThread_currentThread() { return (QThreadH) QThread::currentThread(); } int QThread_idealThreadCount() { return (int) QThread::idealThreadCount(); } void QThread_yieldCurrentThread() { QThread::yieldCurrentThread(); } QThreadH QThread_create(QObjectH parent) { return (QThreadH) new QThread((QObject*)parent); } void QThread_destroy(QThreadH handle) { delete (QThread *)handle; } void QThread_setPriority(QThreadH handle, QThread::Priority priority) { ((QThread *)handle)->setPriority(priority); } QThread::Priority QThread_priority(QThreadH handle) { return (QThread::Priority) ((QThread *)handle)->priority(); } bool QThread_isFinished(QThreadH handle) { return (bool) ((QThread *)handle)->isFinished(); } bool QThread_isRunning(QThreadH handle) { return (bool) ((QThread *)handle)->isRunning(); } void QThread_setStackSize(QThreadH handle, uint stackSize) { ((QThread *)handle)->setStackSize(stackSize); } uint QThread_stackSize(QThreadH handle) { return (uint) ((QThread *)handle)->stackSize(); } void QThread_exit(QThreadH handle, int retcode) { ((QThread *)handle)->exit(retcode); } void QThread_start(QThreadH handle, QThread::Priority AnonParam1) { ((QThread *)handle)->start(AnonParam1); } void QThread_terminate(QThreadH handle) { ((QThread *)handle)->terminate(); } void QThread_quit(QThreadH handle) { ((QThread *)handle)->quit(); } bool QThread_wait(QThreadH handle, unsigned long time) { return (bool) ((QThread *)handle)->wait(time); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qimagereader_c.h0000664000212600021260000000713711677135472020144 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QIMAGEREADER_C_H #define QIMAGEREADER_C_H #include #include "pascalbind.h" C_EXPORT QImageReaderH QImageReader_create(); C_EXPORT void QImageReader_destroy(QImageReaderH handle); C_EXPORT QImageReaderH QImageReader_create2(QIODeviceH device, const QByteArrayH format); C_EXPORT QImageReaderH QImageReader_create3(PWideString fileName, const QByteArrayH format); C_EXPORT void QImageReader_setFormat(QImageReaderH handle, const QByteArrayH format); C_EXPORT void QImageReader_format(QImageReaderH handle, QByteArrayH retval); C_EXPORT void QImageReader_setAutoDetectImageFormat(QImageReaderH handle, bool enabled); C_EXPORT bool QImageReader_autoDetectImageFormat(QImageReaderH handle); C_EXPORT void QImageReader_setDevice(QImageReaderH handle, QIODeviceH device); C_EXPORT QIODeviceH QImageReader_device(QImageReaderH handle); C_EXPORT void QImageReader_setFileName(QImageReaderH handle, PWideString fileName); C_EXPORT void QImageReader_fileName(QImageReaderH handle, PWideString retval); C_EXPORT void QImageReader_size(QImageReaderH handle, PSize retval); C_EXPORT QImage::Format QImageReader_imageFormat(QImageReaderH handle); C_EXPORT void QImageReader_textKeys(QImageReaderH handle, QStringListH retval); C_EXPORT void QImageReader_text(QImageReaderH handle, PWideString retval, PWideString key); C_EXPORT void QImageReader_setClipRect(QImageReaderH handle, PRect rect); C_EXPORT void QImageReader_clipRect(QImageReaderH handle, PRect retval); C_EXPORT void QImageReader_setScaledSize(QImageReaderH handle, const QSizeH size); C_EXPORT void QImageReader_scaledSize(QImageReaderH handle, PSize retval); C_EXPORT void QImageReader_setQuality(QImageReaderH handle, int quality); C_EXPORT int QImageReader_quality(QImageReaderH handle); C_EXPORT void QImageReader_setScaledClipRect(QImageReaderH handle, PRect rect); C_EXPORT void QImageReader_scaledClipRect(QImageReaderH handle, PRect retval); C_EXPORT void QImageReader_setBackgroundColor(QImageReaderH handle, const QColorH color); C_EXPORT void QImageReader_backgroundColor(QImageReaderH handle, PQColor retval); C_EXPORT bool QImageReader_supportsAnimation(QImageReaderH handle); C_EXPORT bool QImageReader_canRead(QImageReaderH handle); C_EXPORT void QImageReader_read(QImageReaderH handle, QImageH retval); C_EXPORT bool QImageReader_jumpToNextImage(QImageReaderH handle); C_EXPORT bool QImageReader_jumpToImage(QImageReaderH handle, int imageNumber); C_EXPORT int QImageReader_loopCount(QImageReaderH handle); C_EXPORT int QImageReader_imageCount(QImageReaderH handle); C_EXPORT int QImageReader_nextImageDelay(QImageReaderH handle); C_EXPORT int QImageReader_currentImageNumber(QImageReaderH handle); C_EXPORT void QImageReader_currentImageRect(QImageReaderH handle, PRect retval); C_EXPORT QImageReader::ImageReaderError QImageReader_error(QImageReaderH handle); C_EXPORT void QImageReader_errorString(QImageReaderH handle, PWideString retval); C_EXPORT bool QImageReader_supportsOption(QImageReaderH handle, QImageIOHandler::ImageOption option); C_EXPORT void QImageReader_imageFormat2(QByteArrayH retval, PWideString fileName); C_EXPORT void QImageReader_imageFormat3(QByteArrayH retval, QIODeviceH device); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbox_hook_c.h0000664000212600021260000000141011677135472020371 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTOOLBOX_HOOK_C_H #define QTOOLBOX_HOOK_C_H #include "qtoolbox_hook.h" C_EXPORT QToolBox_hookH QToolBox_hook_create(QObjectH handle); C_EXPORT void QToolBox_hook_destroy(QToolBox_hookH handle); C_EXPORT void QToolBox_hook_hook_currentChanged(QToolBox_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbar_c.h0000664000212600021260000000547711677135472017346 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTOOLBAR_C_H #define QTOOLBAR_C_H #include #include "pascalbind.h" C_EXPORT QToolBarH QToolBar_create(PWideString title, QWidgetH parent); C_EXPORT void QToolBar_destroy(QToolBarH handle); C_EXPORT QToolBarH QToolBar_create2(QWidgetH parent); C_EXPORT void QToolBar_setMovable(QToolBarH handle, bool movable); C_EXPORT bool QToolBar_isMovable(QToolBarH handle); C_EXPORT void QToolBar_setAllowedAreas(QToolBarH handle, unsigned int areas); C_EXPORT unsigned int QToolBar_allowedAreas(QToolBarH handle); C_EXPORT bool QToolBar_isAreaAllowed(QToolBarH handle, Qt::ToolBarArea area); C_EXPORT void QToolBar_setOrientation(QToolBarH handle, Qt::Orientation orientation); C_EXPORT Qt::Orientation QToolBar_orientation(QToolBarH handle); C_EXPORT void QToolBar_clear(QToolBarH handle); C_EXPORT QActionH QToolBar_addAction(QToolBarH handle, PWideString text); C_EXPORT QActionH QToolBar_addAction2(QToolBarH handle, const QIconH icon, PWideString text); C_EXPORT QActionH QToolBar_addAction3(QToolBarH handle, PWideString text, const QObjectH receiver, const char* member); C_EXPORT QActionH QToolBar_addAction4(QToolBarH handle, const QIconH icon, PWideString text, const QObjectH receiver, const char* member); C_EXPORT QActionH QToolBar_addSeparator(QToolBarH handle); C_EXPORT QActionH QToolBar_insertSeparator(QToolBarH handle, QActionH before); C_EXPORT QActionH QToolBar_addWidget(QToolBarH handle, QWidgetH widget); C_EXPORT QActionH QToolBar_insertWidget(QToolBarH handle, QActionH before, QWidgetH widget); C_EXPORT void QToolBar_actionGeometry(QToolBarH handle, PRect retval, QActionH action); C_EXPORT QActionH QToolBar_actionAt(QToolBarH handle, const QPointH p); C_EXPORT QActionH QToolBar_actionAt2(QToolBarH handle, int x, int y); C_EXPORT QActionH QToolBar_toggleViewAction(QToolBarH handle); C_EXPORT void QToolBar_iconSize(QToolBarH handle, PSize retval); C_EXPORT Qt::ToolButtonStyle QToolBar_toolButtonStyle(QToolBarH handle); C_EXPORT QWidgetH QToolBar_widgetForAction(QToolBarH handle, QActionH action); C_EXPORT bool QToolBar_isFloatable(QToolBarH handle); C_EXPORT void QToolBar_setFloatable(QToolBarH handle, bool floatable); C_EXPORT bool QToolBar_isFloating(QToolBarH handle); C_EXPORT void QToolBar_setIconSize(QToolBarH handle, const QSizeH iconSize); C_EXPORT void QToolBar_setToolButtonStyle(QToolBarH handle, Qt::ToolButtonStyle toolButtonStyle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qapplication_hook.h0000664000212600021260000001077611677135472020723 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QAPPLICATION_HOOK_H #define QAPPLICATION_HOOK_H #include #include "qcoreapplication_hook.h" class QApplication_hook : public QCoreApplication_hook { Q_OBJECT public: QApplication_hook(QObject *handle) : QCoreApplication_hook(handle) { lastWindowClosed_event.func = NULL; focusChanged_event.func = NULL; fontDatabaseChanged_event.func = NULL; #if defined BINUX || MSWINDOWS || DARWIN commitDataRequest_event.func = NULL; saveStateRequest_event.func = NULL; #endif } void hook_lastWindowClosed(QHook &hook) { if ( !lastWindowClosed_event.func ) connect(handle, SIGNAL(lastWindowClosed()), this, SLOT(lastWindowClosed_hook())); lastWindowClosed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(lastWindowClosed()), this, SLOT(lastWindowClosed_hook())); } void hook_focusChanged(QHook &hook) { if ( !focusChanged_event.func ) connect(handle, SIGNAL(focusChanged(QWidget*, QWidget*)), this, SLOT(focusChanged_hook(QWidget*, QWidget*))); focusChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(focusChanged(QWidget*, QWidget*)), this, SLOT(focusChanged_hook(QWidget*, QWidget*))); } void hook_fontDatabaseChanged(QHook &hook) { if ( !fontDatabaseChanged_event.func ) connect(handle, SIGNAL(fontDatabaseChanged()), this, SLOT(fontDatabaseChanged_hook())); fontDatabaseChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(fontDatabaseChanged()), this, SLOT(fontDatabaseChanged_hook())); } #if defined BINUX || MSWINDOWS || DARWIN void hook_commitDataRequest(QHook &hook) { if ( !commitDataRequest_event.func ) connect(handle, SIGNAL(commitDataRequest(QSessionManager&)), this, SLOT(commitDataRequest_hook(QSessionManager&))); commitDataRequest_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(commitDataRequest(QSessionManager&)), this, SLOT(commitDataRequest_hook(QSessionManager&))); } void hook_saveStateRequest(QHook &hook) { if ( !saveStateRequest_event.func ) connect(handle, SIGNAL(saveStateRequest(QSessionManager&)), this, SLOT(saveStateRequest_hook(QSessionManager&))); saveStateRequest_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(saveStateRequest(QSessionManager&)), this, SLOT(saveStateRequest_hook(QSessionManager&))); } #endif private slots: void lastWindowClosed_hook() { if ( lastWindowClosed_event.func ) { typedef void (*func_type)(void *data); (*(func_type)lastWindowClosed_event.func)(lastWindowClosed_event.data); } } void focusChanged_hook(QWidget* old, QWidget* now) { if ( focusChanged_event.func ) { typedef void (*func_type)(void *data, QWidgetH old, QWidgetH now); (*(func_type)focusChanged_event.func)(focusChanged_event.data, (QWidgetH)old, (QWidgetH)now); } } void fontDatabaseChanged_hook() { if ( fontDatabaseChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)fontDatabaseChanged_event.func)(fontDatabaseChanged_event.data); } } #if defined BINUX || MSWINDOWS || DARWIN void commitDataRequest_hook(QSessionManager& sessionManager) { if ( commitDataRequest_event.func ) { typedef void (*func_type)(void *data, QSessionManagerH sessionManager); (*(func_type)commitDataRequest_event.func)(commitDataRequest_event.data, (QSessionManagerH)&sessionManager); } } void saveStateRequest_hook(QSessionManager& sessionManager) { if ( saveStateRequest_event.func ) { typedef void (*func_type)(void *data, QSessionManagerH sessionManager); (*(func_type)saveStateRequest_event.func)(saveStateRequest_event.data, (QSessionManagerH)&sessionManager); } } #endif private: QHook lastWindowClosed_event; QHook focusChanged_event; QHook fontDatabaseChanged_event; #if defined BINUX || MSWINDOWS || DARWIN QHook commitDataRequest_event; QHook saveStateRequest_event; #endif }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstring_c.cpp0000664000212600021260000010356611677135472017543 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qstring_c.h" QStringH QString_create() { return (QStringH) new QString(); } void QString_destroy(QStringH handle) { delete (QString *)handle; } QStringH QString_create2(const QCharH unicode, int size) { return (QStringH) new QString((const QChar*)unicode, size); } QStringH QString_create3(PWideChar c) { return (QStringH) new QString(*(QChar *)c); } QStringH QString_create5(const QLatin1StringH latin1) { return (QStringH) new QString(*(const QLatin1String*)latin1); } QStringH QString_create6(PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); return (QStringH) new QString(t_AnonParam1); } int QString_size(QStringH handle) { return (int) ((QString *)handle)->size(); } int QString_count(QStringH handle) { return (int) ((QString *)handle)->count(); } int QString_length(QStringH handle) { return (int) ((QString *)handle)->length(); } bool QString_isEmpty(QStringH handle) { return (bool) ((QString *)handle)->isEmpty(); } void QString_resize(QStringH handle, int size) { ((QString *)handle)->resize(size); } void QString_fill(QStringH handle, PWideString retval, PWideChar c, int size) { QString t_retval; t_retval = ((QString *)handle)->fill(*(QChar *)c, size); copyQStringToPWideString(t_retval, retval); } void QString_truncate(QStringH handle, int pos) { ((QString *)handle)->truncate(pos); } void QString_chop(QStringH handle, int n) { ((QString *)handle)->chop(n); } int QString_capacity(QStringH handle) { return (int) ((QString *)handle)->capacity(); } void QString_reserve(QStringH handle, int size) { ((QString *)handle)->reserve(size); } void QString_squeeze(QStringH handle) { ((QString *)handle)->squeeze(); } const QCharH QString_unicode(QStringH handle) { return (const QCharH) ((QString *)handle)->unicode(); } QCharH QString_data(QStringH handle) { return (QCharH) ((QString *)handle)->data(); } const QCharH QString_constData(QStringH handle) { return (const QCharH) ((QString *)handle)->constData(); } void QString_detach(QStringH handle) { ((QString *)handle)->detach(); } bool QString_isDetached(QStringH handle) { return (bool) ((QString *)handle)->isDetached(); } void QString_clear(QStringH handle) { ((QString *)handle)->clear(); } void QString_at(QStringH handle, PWideChar retval, int i) { *(QChar *)retval = ((QString *)handle)->at(i); } void QString_arg(QStringH handle, PWideString retval, qlonglong a, int fieldwidth, int base, const QCharH fillChar) { QString t_retval; t_retval = ((QString *)handle)->arg(a, fieldwidth, base, *(const QChar*)fillChar); copyQStringToPWideString(t_retval, retval); } void QString_arg2(QStringH handle, PWideString retval, qulonglong a, int fieldwidth, int base, const QCharH fillChar) { QString t_retval; t_retval = ((QString *)handle)->arg(a, fieldwidth, base, *(const QChar*)fillChar); copyQStringToPWideString(t_retval, retval); } void QString_arg4(QStringH handle, PWideString retval, ulong a, int fieldwidth, int base, const QCharH fillChar) { QString t_retval; t_retval = ((QString *)handle)->arg(a, fieldwidth, base, *(const QChar*)fillChar); copyQStringToPWideString(t_retval, retval); } void QString_arg7(QStringH handle, PWideString retval, short a, int fieldWidth, int base, const QCharH fillChar) { QString t_retval; t_retval = ((QString *)handle)->arg(a, fieldWidth, base, *(const QChar*)fillChar); copyQStringToPWideString(t_retval, retval); } void QString_arg8(QStringH handle, PWideString retval, ushort a, int fieldWidth, int base, const QCharH fillChar) { QString t_retval; t_retval = ((QString *)handle)->arg(a, fieldWidth, base, *(const QChar*)fillChar); copyQStringToPWideString(t_retval, retval); } void QString_arg9(QStringH handle, PWideString retval, double a, int fieldWidth, char fmt, int prec, const QCharH fillChar) { QString t_retval; t_retval = ((QString *)handle)->arg(a, fieldWidth, fmt, prec, *(const QChar*)fillChar); copyQStringToPWideString(t_retval, retval); } void QString_arg10(QStringH handle, PWideString retval, char a, int fieldWidth, const QCharH fillChar) { QString t_retval; t_retval = ((QString *)handle)->arg(a, fieldWidth, *(const QChar*)fillChar); copyQStringToPWideString(t_retval, retval); } void QString_arg11(QStringH handle, PWideString retval, PWideChar a, int fieldWidth, const QCharH fillChar) { QString t_retval; t_retval = ((QString *)handle)->arg(*(QChar *)a, fieldWidth, *(const QChar*)fillChar); copyQStringToPWideString(t_retval, retval); } void QString_arg12(QStringH handle, PWideString retval, PWideString a, int fieldWidth, const QCharH fillChar) { QString t_retval; QString t_a; copyPWideStringToQString(a, t_a); t_retval = ((QString *)handle)->arg(t_a, fieldWidth, *(const QChar*)fillChar); copyQStringToPWideString(t_retval, retval); } void QString_arg13(QStringH handle, PWideString retval, PWideString a1, PWideString a2) { QString t_retval; QString t_a1; QString t_a2; copyPWideStringToQString(a1, t_a1); copyPWideStringToQString(a2, t_a2); t_retval = ((QString *)handle)->arg(t_a1, t_a2); copyQStringToPWideString(t_retval, retval); } void QString_arg14(QStringH handle, PWideString retval, PWideString a1, PWideString a2, PWideString a3) { QString t_retval; QString t_a1; QString t_a2; QString t_a3; copyPWideStringToQString(a1, t_a1); copyPWideStringToQString(a2, t_a2); copyPWideStringToQString(a3, t_a3); t_retval = ((QString *)handle)->arg(t_a1, t_a2, t_a3); copyQStringToPWideString(t_retval, retval); } void QString_arg15(QStringH handle, PWideString retval, PWideString a1, PWideString a2, PWideString a3, PWideString a4) { QString t_retval; QString t_a1; QString t_a2; QString t_a3; QString t_a4; copyPWideStringToQString(a1, t_a1); copyPWideStringToQString(a2, t_a2); copyPWideStringToQString(a3, t_a3); copyPWideStringToQString(a4, t_a4); t_retval = ((QString *)handle)->arg(t_a1, t_a2, t_a3, t_a4); copyQStringToPWideString(t_retval, retval); } void QString_arg16(QStringH handle, PWideString retval, PWideString a1, PWideString a2, PWideString a3, PWideString a4, PWideString a5) { QString t_retval; QString t_a1; QString t_a2; QString t_a3; QString t_a4; QString t_a5; copyPWideStringToQString(a1, t_a1); copyPWideStringToQString(a2, t_a2); copyPWideStringToQString(a3, t_a3); copyPWideStringToQString(a4, t_a4); copyPWideStringToQString(a5, t_a5); t_retval = ((QString *)handle)->arg(t_a1, t_a2, t_a3, t_a4, t_a5); copyQStringToPWideString(t_retval, retval); } void QString_arg17(QStringH handle, PWideString retval, PWideString a1, PWideString a2, PWideString a3, PWideString a4, PWideString a5, PWideString a6) { QString t_retval; QString t_a1; QString t_a2; QString t_a3; QString t_a4; QString t_a5; QString t_a6; copyPWideStringToQString(a1, t_a1); copyPWideStringToQString(a2, t_a2); copyPWideStringToQString(a3, t_a3); copyPWideStringToQString(a4, t_a4); copyPWideStringToQString(a5, t_a5); copyPWideStringToQString(a6, t_a6); t_retval = ((QString *)handle)->arg(t_a1, t_a2, t_a3, t_a4, t_a5, t_a6); copyQStringToPWideString(t_retval, retval); } void QString_arg18(QStringH handle, PWideString retval, PWideString a1, PWideString a2, PWideString a3, PWideString a4, PWideString a5, PWideString a6, PWideString a7) { QString t_retval; QString t_a1; QString t_a2; QString t_a3; QString t_a4; QString t_a5; QString t_a6; QString t_a7; copyPWideStringToQString(a1, t_a1); copyPWideStringToQString(a2, t_a2); copyPWideStringToQString(a3, t_a3); copyPWideStringToQString(a4, t_a4); copyPWideStringToQString(a5, t_a5); copyPWideStringToQString(a6, t_a6); copyPWideStringToQString(a7, t_a7); t_retval = ((QString *)handle)->arg(t_a1, t_a2, t_a3, t_a4, t_a5, t_a6, t_a7); copyQStringToPWideString(t_retval, retval); } void QString_arg19(QStringH handle, PWideString retval, PWideString a1, PWideString a2, PWideString a3, PWideString a4, PWideString a5, PWideString a6, PWideString a7, PWideString a8) { QString t_retval; QString t_a1; QString t_a2; QString t_a3; QString t_a4; QString t_a5; QString t_a6; QString t_a7; QString t_a8; copyPWideStringToQString(a1, t_a1); copyPWideStringToQString(a2, t_a2); copyPWideStringToQString(a3, t_a3); copyPWideStringToQString(a4, t_a4); copyPWideStringToQString(a5, t_a5); copyPWideStringToQString(a6, t_a6); copyPWideStringToQString(a7, t_a7); copyPWideStringToQString(a8, t_a8); t_retval = ((QString *)handle)->arg(t_a1, t_a2, t_a3, t_a4, t_a5, t_a6, t_a7, t_a8); copyQStringToPWideString(t_retval, retval); } void QString_arg20(QStringH handle, PWideString retval, PWideString a1, PWideString a2, PWideString a3, PWideString a4, PWideString a5, PWideString a6, PWideString a7, PWideString a8, PWideString a9) { QString t_retval; QString t_a1; QString t_a2; QString t_a3; QString t_a4; QString t_a5; QString t_a6; QString t_a7; QString t_a8; QString t_a9; copyPWideStringToQString(a1, t_a1); copyPWideStringToQString(a2, t_a2); copyPWideStringToQString(a3, t_a3); copyPWideStringToQString(a4, t_a4); copyPWideStringToQString(a5, t_a5); copyPWideStringToQString(a6, t_a6); copyPWideStringToQString(a7, t_a7); copyPWideStringToQString(a8, t_a8); copyPWideStringToQString(a9, t_a9); t_retval = ((QString *)handle)->arg(t_a1, t_a2, t_a3, t_a4, t_a5, t_a6, t_a7, t_a8, t_a9); copyQStringToPWideString(t_retval, retval); } int QString_indexOf(QStringH handle, PWideChar c, int from, Qt::CaseSensitivity cs) { return (int) ((QString *)handle)->indexOf(*(QChar *)c, from, cs); } int QString_indexOf2(QStringH handle, PWideString s, int from, Qt::CaseSensitivity cs) { QString t_s; copyPWideStringToQString(s, t_s); return (int) ((QString *)handle)->indexOf(t_s, from, cs); } int QString_indexOf3(QStringH handle, const QLatin1StringH s, int from, Qt::CaseSensitivity cs) { return (int) ((QString *)handle)->indexOf(*(const QLatin1String*)s, from, cs); } int QString_lastIndexOf(QStringH handle, PWideChar c, int from, Qt::CaseSensitivity cs) { return (int) ((QString *)handle)->lastIndexOf(*(QChar *)c, from, cs); } int QString_lastIndexOf2(QStringH handle, PWideString s, int from, Qt::CaseSensitivity cs) { QString t_s; copyPWideStringToQString(s, t_s); return (int) ((QString *)handle)->lastIndexOf(t_s, from, cs); } int QString_lastIndexOf3(QStringH handle, const QLatin1StringH s, int from, Qt::CaseSensitivity cs) { return (int) ((QString *)handle)->lastIndexOf(*(const QLatin1String*)s, from, cs); } QBool QString_contains(QStringH handle, PWideChar c, Qt::CaseSensitivity cs) { return (QBool) ((QString *)handle)->contains(*(QChar *)c, cs); } QBool QString_contains2(QStringH handle, PWideString s, Qt::CaseSensitivity cs) { QString t_s; copyPWideStringToQString(s, t_s); return (QBool) ((QString *)handle)->contains(t_s, cs); } int QString_count2(QStringH handle, PWideChar c, Qt::CaseSensitivity cs) { return (int) ((QString *)handle)->count(*(QChar *)c, cs); } int QString_count3(QStringH handle, PWideString s, Qt::CaseSensitivity cs) { QString t_s; copyPWideStringToQString(s, t_s); return (int) ((QString *)handle)->count(t_s, cs); } int QString_indexOf4(QStringH handle, const QRegExpH AnonParam1, int from) { return (int) ((QString *)handle)->indexOf(*(const QRegExp*)AnonParam1, from); } int QString_lastIndexOf4(QStringH handle, const QRegExpH AnonParam1, int from) { return (int) ((QString *)handle)->lastIndexOf(*(const QRegExp*)AnonParam1, from); } QBool QString_contains3(QStringH handle, const QRegExpH rx) { return (QBool) ((QString *)handle)->contains(*(const QRegExp*)rx); } int QString_count4(QStringH handle, const QRegExpH AnonParam1) { return (int) ((QString *)handle)->count(*(const QRegExp*)AnonParam1); } void QString_section(QStringH handle, PWideString retval, PWideChar sep, int start, int end, unsigned int flags) { QString t_retval; t_retval = ((QString *)handle)->section(*(QChar *)sep, start, end, (QString::SectionFlags)flags); copyQStringToPWideString(t_retval, retval); } void QString_section2(QStringH handle, PWideString retval, PWideString in_sep, int start, int end, unsigned int flags) { QString t_retval; QString t_in_sep; copyPWideStringToQString(in_sep, t_in_sep); t_retval = ((QString *)handle)->section(t_in_sep, start, end, (QString::SectionFlags)flags); copyQStringToPWideString(t_retval, retval); } void QString_section3(QStringH handle, PWideString retval, const QRegExpH reg, int start, int end, unsigned int flags) { QString t_retval; t_retval = ((QString *)handle)->section(*(const QRegExp*)reg, start, end, (QString::SectionFlags)flags); copyQStringToPWideString(t_retval, retval); } void QString_left(QStringH handle, PWideString retval, int n) { QString t_retval; t_retval = ((QString *)handle)->left(n); copyQStringToPWideString(t_retval, retval); } void QString_right(QStringH handle, PWideString retval, int n) { QString t_retval; t_retval = ((QString *)handle)->right(n); copyQStringToPWideString(t_retval, retval); } void QString_mid(QStringH handle, PWideString retval, int position, int n) { QString t_retval; t_retval = ((QString *)handle)->mid(position, n); copyQStringToPWideString(t_retval, retval); } bool QString_startsWith(QStringH handle, PWideString s, Qt::CaseSensitivity cs) { QString t_s; copyPWideStringToQString(s, t_s); return (bool) ((QString *)handle)->startsWith(t_s, cs); } bool QString_startsWith2(QStringH handle, const QLatin1StringH s, Qt::CaseSensitivity cs) { return (bool) ((QString *)handle)->startsWith(*(const QLatin1String*)s, cs); } bool QString_startsWith3(QStringH handle, const QCharH c, Qt::CaseSensitivity cs) { return (bool) ((QString *)handle)->startsWith(*(const QChar*)c, cs); } bool QString_endsWith(QStringH handle, PWideString s, Qt::CaseSensitivity cs) { QString t_s; copyPWideStringToQString(s, t_s); return (bool) ((QString *)handle)->endsWith(t_s, cs); } bool QString_endsWith2(QStringH handle, const QLatin1StringH s, Qt::CaseSensitivity cs) { return (bool) ((QString *)handle)->endsWith(*(const QLatin1String*)s, cs); } bool QString_endsWith3(QStringH handle, const QCharH c, Qt::CaseSensitivity cs) { return (bool) ((QString *)handle)->endsWith(*(const QChar*)c, cs); } void QString_leftJustified(QStringH handle, PWideString retval, int width, PWideChar fill, bool trunc) { QString t_retval; t_retval = ((QString *)handle)->leftJustified(width, *(QChar *)fill, trunc); copyQStringToPWideString(t_retval, retval); } void QString_rightJustified(QStringH handle, PWideString retval, int width, PWideChar fill, bool trunc) { QString t_retval; t_retval = ((QString *)handle)->rightJustified(width, *(QChar *)fill, trunc); copyQStringToPWideString(t_retval, retval); } void QString_toLower(QStringH handle, PWideString retval) { QString t_retval; t_retval = ((QString *)handle)->toLower(); copyQStringToPWideString(t_retval, retval); } void QString_toUpper(QStringH handle, PWideString retval) { QString t_retval; t_retval = ((QString *)handle)->toUpper(); copyQStringToPWideString(t_retval, retval); } void QString_toCaseFolded(QStringH handle, PWideString retval) { QString t_retval; t_retval = ((QString *)handle)->toCaseFolded(); copyQStringToPWideString(t_retval, retval); } void QString_trimmed(QStringH handle, PWideString retval) { QString t_retval; t_retval = ((QString *)handle)->trimmed(); copyQStringToPWideString(t_retval, retval); } void QString_simplified(QStringH handle, PWideString retval) { QString t_retval; t_retval = ((QString *)handle)->simplified(); copyQStringToPWideString(t_retval, retval); } void QString_insert(QStringH handle, PWideString retval, int i, PWideChar c) { QString t_retval; t_retval = ((QString *)handle)->insert(i, *(QChar *)c); copyQStringToPWideString(t_retval, retval); } void QString_insert2(QStringH handle, PWideString retval, int i, const QCharH uc, int len) { QString t_retval; t_retval = ((QString *)handle)->insert(i, (const QChar*)uc, len); copyQStringToPWideString(t_retval, retval); } void QString_insert3(QStringH handle, PWideString retval, int i, PWideString s) { QString t_retval; QString t_s; copyPWideStringToQString(s, t_s); t_retval = ((QString *)handle)->insert(i, t_s); copyQStringToPWideString(t_retval, retval); } void QString_insert4(QStringH handle, PWideString retval, int i, const QLatin1StringH s) { QString t_retval; t_retval = ((QString *)handle)->insert(i, *(const QLatin1String*)s); copyQStringToPWideString(t_retval, retval); } void QString_append(QStringH handle, PWideString retval, PWideChar c) { QString t_retval; t_retval = ((QString *)handle)->append(*(QChar *)c); copyQStringToPWideString(t_retval, retval); } void QString_append2(QStringH handle, PWideString retval, PWideString s) { QString t_retval; QString t_s; copyPWideStringToQString(s, t_s); t_retval = ((QString *)handle)->append(t_s); copyQStringToPWideString(t_retval, retval); } void QString_append3(QStringH handle, PWideString retval, const QLatin1StringH s) { QString t_retval; t_retval = ((QString *)handle)->append(*(const QLatin1String*)s); copyQStringToPWideString(t_retval, retval); } void QString_prepend(QStringH handle, PWideString retval, PWideChar c) { QString t_retval; t_retval = ((QString *)handle)->prepend(*(QChar *)c); copyQStringToPWideString(t_retval, retval); } void QString_prepend2(QStringH handle, PWideString retval, PWideString s) { QString t_retval; QString t_s; copyPWideStringToQString(s, t_s); t_retval = ((QString *)handle)->prepend(t_s); copyQStringToPWideString(t_retval, retval); } void QString_prepend3(QStringH handle, PWideString retval, const QLatin1StringH s) { QString t_retval; t_retval = ((QString *)handle)->prepend(*(const QLatin1String*)s); copyQStringToPWideString(t_retval, retval); } void QString_remove(QStringH handle, PWideString retval, int i, int len) { QString t_retval; t_retval = ((QString *)handle)->remove(i, len); copyQStringToPWideString(t_retval, retval); } void QString_remove2(QStringH handle, PWideString retval, PWideChar c, Qt::CaseSensitivity cs) { QString t_retval; t_retval = ((QString *)handle)->remove(*(QChar *)c, cs); copyQStringToPWideString(t_retval, retval); } void QString_remove3(QStringH handle, PWideString retval, PWideString s, Qt::CaseSensitivity cs) { QString t_retval; QString t_s; copyPWideStringToQString(s, t_s); t_retval = ((QString *)handle)->remove(t_s, cs); copyQStringToPWideString(t_retval, retval); } void QString_replace(QStringH handle, PWideString retval, int i, int len, PWideChar after) { QString t_retval; t_retval = ((QString *)handle)->replace(i, len, *(QChar *)after); copyQStringToPWideString(t_retval, retval); } void QString_replace2(QStringH handle, PWideString retval, int i, int len, const QCharH s, int slen) { QString t_retval; t_retval = ((QString *)handle)->replace(i, len, (const QChar*)s, slen); copyQStringToPWideString(t_retval, retval); } void QString_replace3(QStringH handle, PWideString retval, int i, int len, PWideString after) { QString t_retval; QString t_after; copyPWideStringToQString(after, t_after); t_retval = ((QString *)handle)->replace(i, len, t_after); copyQStringToPWideString(t_retval, retval); } void QString_replace4(QStringH handle, PWideString retval, PWideChar before, PWideChar after, Qt::CaseSensitivity cs) { QString t_retval; t_retval = ((QString *)handle)->replace(*(QChar *)before, *(QChar *)after, cs); copyQStringToPWideString(t_retval, retval); } void QString_replace5(QStringH handle, PWideString retval, const QCharH before, int blen, const QCharH after, int alen, Qt::CaseSensitivity cs) { QString t_retval; t_retval = ((QString *)handle)->replace((const QChar*)before, blen, (const QChar*)after, alen, cs); copyQStringToPWideString(t_retval, retval); } void QString_replace6(QStringH handle, PWideString retval, const QLatin1StringH before, const QLatin1StringH after, Qt::CaseSensitivity cs) { QString t_retval; t_retval = ((QString *)handle)->replace(*(const QLatin1String*)before, *(const QLatin1String*)after, cs); copyQStringToPWideString(t_retval, retval); } void QString_replace7(QStringH handle, PWideString retval, const QLatin1StringH before, PWideString after, Qt::CaseSensitivity cs) { QString t_retval; QString t_after; copyPWideStringToQString(after, t_after); t_retval = ((QString *)handle)->replace(*(const QLatin1String*)before, t_after, cs); copyQStringToPWideString(t_retval, retval); } void QString_replace8(QStringH handle, PWideString retval, PWideString before, const QLatin1StringH after, Qt::CaseSensitivity cs) { QString t_retval; QString t_before; copyPWideStringToQString(before, t_before); t_retval = ((QString *)handle)->replace(t_before, *(const QLatin1String*)after, cs); copyQStringToPWideString(t_retval, retval); } void QString_replace9(QStringH handle, PWideString retval, PWideString before, PWideString after, Qt::CaseSensitivity cs) { QString t_retval; QString t_before; QString t_after; copyPWideStringToQString(before, t_before); copyPWideStringToQString(after, t_after); t_retval = ((QString *)handle)->replace(t_before, t_after, cs); copyQStringToPWideString(t_retval, retval); } void QString_replace10(QStringH handle, PWideString retval, PWideChar c, PWideString after, Qt::CaseSensitivity cs) { QString t_retval; QString t_after; copyPWideStringToQString(after, t_after); t_retval = ((QString *)handle)->replace(*(QChar *)c, t_after, cs); copyQStringToPWideString(t_retval, retval); } void QString_replace11(QStringH handle, PWideString retval, PWideChar c, const QLatin1StringH after, Qt::CaseSensitivity cs) { QString t_retval; t_retval = ((QString *)handle)->replace(*(QChar *)c, *(const QLatin1String*)after, cs); copyQStringToPWideString(t_retval, retval); } void QString_replace12(QStringH handle, PWideString retval, const QRegExpH rx, PWideString after) { QString t_retval; QString t_after; copyPWideStringToQString(after, t_after); t_retval = ((QString *)handle)->replace(*(const QRegExp*)rx, t_after); copyQStringToPWideString(t_retval, retval); } void QString_remove4(QStringH handle, PWideString retval, const QRegExpH rx) { QString t_retval; t_retval = ((QString *)handle)->remove(*(const QRegExp*)rx); copyQStringToPWideString(t_retval, retval); } void QString_split(QStringH handle, QStringListH retval, PWideString sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs) { QString t_sep; copyPWideStringToQString(sep, t_sep); *(QStringList *)retval = ((QString *)handle)->split(t_sep, behavior, cs); } void QString_split2(QStringH handle, QStringListH retval, const QCharH sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs) { *(QStringList *)retval = ((QString *)handle)->split(*(const QChar*)sep, behavior, cs); } void QString_split3(QStringH handle, QStringListH retval, const QRegExpH sep, QString::SplitBehavior behavior) { *(QStringList *)retval = ((QString *)handle)->split(*(const QRegExp*)sep, behavior); } void QString_normalized(QStringH handle, PWideString retval, QString::NormalizationForm mode) { QString t_retval; t_retval = ((QString *)handle)->normalized(mode); copyQStringToPWideString(t_retval, retval); } void QString_normalized2(QStringH handle, PWideString retval, QString::NormalizationForm mode, QChar::UnicodeVersion version) { QString t_retval; t_retval = ((QString *)handle)->normalized(mode, version); copyQStringToPWideString(t_retval, retval); } void QString_repeated(QStringH handle, PWideString retval, int times) { QString t_retval; t_retval = ((QString *)handle)->repeated(times); copyQStringToPWideString(t_retval, retval); } const ushort* QString_utf16(QStringH handle) { return (const ushort*) ((QString *)handle)->utf16(); } void QString_toAscii(QStringH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QString *)handle)->toAscii(); } void QString_toLatin1(QStringH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QString *)handle)->toLatin1(); } void QString_toUtf8(QStringH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QString *)handle)->toUtf8(); } void QString_toLocal8Bit(QStringH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QString *)handle)->toLocal8Bit(); } void QString_fromAscii(PWideString retval, const char* AnonParam1, int size) { QString t_retval; t_retval = QString::fromAscii(AnonParam1, size); copyQStringToPWideString(t_retval, retval); } void QString_fromLatin1(PWideString retval, const char* AnonParam1, int size) { QString t_retval; t_retval = QString::fromLatin1(AnonParam1, size); copyQStringToPWideString(t_retval, retval); } void QString_fromUtf8(PWideString retval, const char* AnonParam1, int size) { QString t_retval; t_retval = QString::fromUtf8(AnonParam1, size); copyQStringToPWideString(t_retval, retval); } void QString_fromLocal8Bit(PWideString retval, const char* AnonParam1, int size) { QString t_retval; t_retval = QString::fromLocal8Bit(AnonParam1, size); copyQStringToPWideString(t_retval, retval); } void QString_fromUtf16(PWideString retval, const ushort* AnonParam1, int size) { QString t_retval; t_retval = QString::fromUtf16(AnonParam1, size); copyQStringToPWideString(t_retval, retval); } void QString_fromUcs4(PWideString retval, const uint* AnonParam1, int size) { QString t_retval; t_retval = QString::fromUcs4(AnonParam1, size); copyQStringToPWideString(t_retval, retval); } void QString_fromRawData(PWideString retval, const QCharH AnonParam1, int size) { QString t_retval; t_retval = QString::fromRawData((const QChar*)AnonParam1, size); copyQStringToPWideString(t_retval, retval); } int QString_toWCharArray(QStringH handle, wchar_t* array) { return (int) ((QString *)handle)->toWCharArray(array); } void QString_fromWCharArray(PWideString retval, const wchar_t* AnonParam1, int size) { QString t_retval; t_retval = QString::fromWCharArray(AnonParam1, size); copyQStringToPWideString(t_retval, retval); } void QString_setUnicode(QStringH handle, PWideString retval, const QCharH unicode, int size) { QString t_retval; t_retval = ((QString *)handle)->setUnicode((const QChar*)unicode, size); copyQStringToPWideString(t_retval, retval); } void QString_setUtf16(QStringH handle, PWideString retval, const ushort* utf16, int size) { QString t_retval; t_retval = ((QString *)handle)->setUtf16(utf16, size); copyQStringToPWideString(t_retval, retval); } int QString_compare(QStringH handle, PWideString s) { QString t_s; copyPWideStringToQString(s, t_s); return (int) ((QString *)handle)->compare(t_s); } int QString_compare2(QStringH handle, PWideString s, Qt::CaseSensitivity cs) { QString t_s; copyPWideStringToQString(s, t_s); return (int) ((QString *)handle)->compare(t_s, cs); } int QString_compare3(QStringH handle, const QLatin1StringH other, Qt::CaseSensitivity cs) { return (int) ((QString *)handle)->compare(*(const QLatin1String*)other, cs); } int QString_compare4(PWideString s1, PWideString s2) { QString t_s1; QString t_s2; copyPWideStringToQString(s1, t_s1); copyPWideStringToQString(s2, t_s2); return (int) QString::compare(t_s1, t_s2); } int QString_compare5(PWideString s1, PWideString s2, Qt::CaseSensitivity cs) { QString t_s1; QString t_s2; copyPWideStringToQString(s1, t_s1); copyPWideStringToQString(s2, t_s2); return (int) QString::compare(t_s1, t_s2, cs); } int QString_compare6(PWideString s1, const QLatin1StringH s2, Qt::CaseSensitivity cs) { QString t_s1; copyPWideStringToQString(s1, t_s1); return (int) QString::compare(t_s1, *(const QLatin1String*)s2, cs); } int QString_compare7(const QLatin1StringH s1, PWideString s2, Qt::CaseSensitivity cs) { QString t_s2; copyPWideStringToQString(s2, t_s2); return (int) QString::compare(*(const QLatin1String*)s1, t_s2, cs); } int QString_localeAwareCompare(QStringH handle, PWideString s) { QString t_s; copyPWideStringToQString(s, t_s); return (int) ((QString *)handle)->localeAwareCompare(t_s); } int QString_localeAwareCompare2(PWideString s1, PWideString s2) { QString t_s1; QString t_s2; copyPWideStringToQString(s1, t_s1); copyPWideStringToQString(s2, t_s2); return (int) QString::localeAwareCompare(t_s1, t_s2); } short QString_toShort(QStringH handle, bool* ok, int base) { return (short) ((QString *)handle)->toShort(ok, base); } ushort QString_toUShort(QStringH handle, bool* ok, int base) { return (ushort) ((QString *)handle)->toUShort(ok, base); } int QString_toInt(QStringH handle, bool* ok, int base) { return (int) ((QString *)handle)->toInt(ok, base); } uint QString_toUInt(QStringH handle, bool* ok, int base) { return (uint) ((QString *)handle)->toUInt(ok, base); } long QString_toLong(QStringH handle, bool* ok, int base) { return (long) ((QString *)handle)->toLong(ok, base); } ulong QString_toULong(QStringH handle, bool* ok, int base) { return (ulong) ((QString *)handle)->toULong(ok, base); } qlonglong QString_toLongLong(QStringH handle, bool* ok, int base) { return (qlonglong) ((QString *)handle)->toLongLong(ok, base); } qulonglong QString_toULongLong(QStringH handle, bool* ok, int base) { return (qulonglong) ((QString *)handle)->toULongLong(ok, base); } float QString_toFloat(QStringH handle, bool* ok) { return (float) ((QString *)handle)->toFloat(ok); } double QString_toDouble(QStringH handle, bool* ok) { return (double) ((QString *)handle)->toDouble(ok); } void QString_setNum(QStringH handle, PWideString retval, short AnonParam1, int base) { QString t_retval; t_retval = ((QString *)handle)->setNum(AnonParam1, base); copyQStringToPWideString(t_retval, retval); } void QString_setNum2(QStringH handle, PWideString retval, ushort AnonParam1, int base) { QString t_retval; t_retval = ((QString *)handle)->setNum(AnonParam1, base); copyQStringToPWideString(t_retval, retval); } void QString_setNum3(QStringH handle, PWideString retval, int AnonParam1, int base) { QString t_retval; t_retval = ((QString *)handle)->setNum(AnonParam1, base); copyQStringToPWideString(t_retval, retval); } void QString_setNum4(QStringH handle, PWideString retval, uint AnonParam1, int base) { QString t_retval; t_retval = ((QString *)handle)->setNum(AnonParam1, base); copyQStringToPWideString(t_retval, retval); } void QString_setNum7(QStringH handle, PWideString retval, qlonglong AnonParam1, int base) { QString t_retval; t_retval = ((QString *)handle)->setNum(AnonParam1, base); copyQStringToPWideString(t_retval, retval); } void QString_setNum8(QStringH handle, PWideString retval, qulonglong AnonParam1, int base) { QString t_retval; t_retval = ((QString *)handle)->setNum(AnonParam1, base); copyQStringToPWideString(t_retval, retval); } void QString_setNum9(QStringH handle, PWideString retval, float AnonParam1, char f, int prec) { QString t_retval; t_retval = ((QString *)handle)->setNum(AnonParam1, f, prec); copyQStringToPWideString(t_retval, retval); } void QString_setNum10(QStringH handle, PWideString retval, double AnonParam1, char f, int prec) { QString t_retval; t_retval = ((QString *)handle)->setNum(AnonParam1, f, prec); copyQStringToPWideString(t_retval, retval); } void QString_number(PWideString retval, int AnonParam1, int base) { QString t_retval; t_retval = QString::number(AnonParam1, base); copyQStringToPWideString(t_retval, retval); } void QString_number2(PWideString retval, uint AnonParam1, int base) { QString t_retval; t_retval = QString::number(AnonParam1, base); copyQStringToPWideString(t_retval, retval); } void QString_number5(PWideString retval, qlonglong AnonParam1, int base) { QString t_retval; t_retval = QString::number(AnonParam1, base); copyQStringToPWideString(t_retval, retval); } void QString_number6(PWideString retval, qulonglong AnonParam1, int base) { QString t_retval; t_retval = QString::number(AnonParam1, base); copyQStringToPWideString(t_retval, retval); } void QString_number7(PWideString retval, double AnonParam1, char f, int prec) { QString t_retval; t_retval = QString::number(AnonParam1, f, prec); copyQStringToPWideString(t_retval, retval); } QStringH QString_create7(const char* ch) { return (QStringH) new QString(ch); } QStringH QString_create8(const QByteArrayH a) { return (QStringH) new QString(*(const QByteArray*)a); } void QString_prepend4(QStringH handle, PWideString retval, const char* s) { QString t_retval; t_retval = ((QString *)handle)->prepend(s); copyQStringToPWideString(t_retval, retval); } void QString_prepend5(QStringH handle, PWideString retval, const QByteArrayH s) { QString t_retval; t_retval = ((QString *)handle)->prepend(*(const QByteArray*)s); copyQStringToPWideString(t_retval, retval); } void QString_append4(QStringH handle, PWideString retval, const char* s) { QString t_retval; t_retval = ((QString *)handle)->append(s); copyQStringToPWideString(t_retval, retval); } void QString_append5(QStringH handle, PWideString retval, const QByteArrayH s) { QString t_retval; t_retval = ((QString *)handle)->append(*(const QByteArray*)s); copyQStringToPWideString(t_retval, retval); } void QString_push_back(QStringH handle, PWideChar c) { ((QString *)handle)->push_back(*(QChar *)c); } void QString_push_back2(QStringH handle, PWideString s) { QString t_s; copyPWideStringToQString(s, t_s); ((QString *)handle)->push_back(t_s); } void QString_push_front(QStringH handle, PWideChar c) { ((QString *)handle)->push_front(*(QChar *)c); } void QString_push_front2(QStringH handle, PWideString s) { QString t_s; copyPWideStringToQString(s, t_s); ((QString *)handle)->push_front(t_s); } bool QString_isNull(QStringH handle) { return (bool) ((QString *)handle)->isNull(); } bool QString_isSimpleText(QStringH handle) { return (bool) ((QString *)handle)->isSimpleText(); } bool QString_isRightToLeft(QStringH handle) { return (bool) ((QString *)handle)->isRightToLeft(); } QLatin1StringH QLatin1String_create(const char* s) { return (QLatin1StringH) new QLatin1String(s); } void QLatin1String_destroy(QLatin1StringH handle) { delete (QLatin1String *)handle; } const char* QLatin1String_latin1(QLatin1StringH handle) { return (const char*) ((QLatin1String *)handle)->latin1(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfontinfo_c.h0000664000212600021260000000306311677135472017513 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFONTINFO_C_H #define QFONTINFO_C_H #include #include "pascalbind.h" C_EXPORT QFontInfoH QFontInfo_create(const QFontH AnonParam1); C_EXPORT void QFontInfo_destroy(QFontInfoH handle); C_EXPORT QFontInfoH QFontInfo_create2(const QFontInfoH AnonParam1); C_EXPORT void QFontInfo_family(QFontInfoH handle, PWideString retval); C_EXPORT int QFontInfo_pixelSize(QFontInfoH handle); C_EXPORT int QFontInfo_pointSize(QFontInfoH handle); C_EXPORT qreal QFontInfo_pointSizeF(QFontInfoH handle); C_EXPORT bool QFontInfo_italic(QFontInfoH handle); C_EXPORT QFont::Style QFontInfo_style(QFontInfoH handle); C_EXPORT int QFontInfo_weight(QFontInfoH handle); C_EXPORT bool QFontInfo_bold(QFontInfoH handle); C_EXPORT bool QFontInfo_underline(QFontInfoH handle); C_EXPORT bool QFontInfo_overline(QFontInfoH handle); C_EXPORT bool QFontInfo_strikeOut(QFontInfoH handle); C_EXPORT bool QFontInfo_fixedPitch(QFontInfoH handle); C_EXPORT QFont::StyleHint QFontInfo_styleHint(QFontInfoH handle); C_EXPORT bool QFontInfo_rawMode(QFontInfoH handle); C_EXPORT bool QFontInfo_exactMatch(QFontInfoH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebview_hook.h0000664000212600021260000001510011677135472020052 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBVIEW_HOOK_H #define QWEBVIEW_HOOK_H #include #include "qwidget_hook.h" class QWebView_hook : public QWidget_hook { Q_OBJECT public: QWebView_hook(QObject *handle) : QWidget_hook(handle) { loadStarted_event.func = NULL; loadProgress_event.func = NULL; loadFinished_event.func = NULL; titleChanged_event.func = NULL; statusBarMessage_event.func = NULL; linkClicked_event.func = NULL; selectionChanged_event.func = NULL; iconChanged_event.func = NULL; urlChanged_event.func = NULL; } void hook_loadStarted(QHook &hook) { if ( !loadStarted_event.func ) connect(handle, SIGNAL(loadStarted()), this, SLOT(loadStarted_hook())); loadStarted_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(loadStarted()), this, SLOT(loadStarted_hook())); } void hook_loadProgress(QHook &hook) { if ( !loadProgress_event.func ) connect(handle, SIGNAL(loadProgress(int)), this, SLOT(loadProgress_hook(int))); loadProgress_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(loadProgress(int)), this, SLOT(loadProgress_hook(int))); } void hook_loadFinished(QHook &hook) { if ( !loadFinished_event.func ) connect(handle, SIGNAL(loadFinished(bool)), this, SLOT(loadFinished_hook(bool))); loadFinished_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(loadFinished(bool)), this, SLOT(loadFinished_hook(bool))); } void hook_titleChanged(QHook &hook) { if ( !titleChanged_event.func ) connect(handle, SIGNAL(titleChanged(const QString&)), this, SLOT(titleChanged_hook(const QString&))); titleChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(titleChanged(const QString&)), this, SLOT(titleChanged_hook(const QString&))); } void hook_statusBarMessage(QHook &hook) { if ( !statusBarMessage_event.func ) connect(handle, SIGNAL(statusBarMessage(const QString&)), this, SLOT(statusBarMessage_hook(const QString&))); statusBarMessage_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(statusBarMessage(const QString&)), this, SLOT(statusBarMessage_hook(const QString&))); } void hook_linkClicked(QHook &hook) { if ( !linkClicked_event.func ) connect(handle, SIGNAL(linkClicked(const QUrl&)), this, SLOT(linkClicked_hook(const QUrl&))); linkClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(linkClicked(const QUrl&)), this, SLOT(linkClicked_hook(const QUrl&))); } void hook_selectionChanged(QHook &hook) { if ( !selectionChanged_event.func ) connect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); selectionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); } void hook_iconChanged(QHook &hook) { if ( !iconChanged_event.func ) connect(handle, SIGNAL(iconChanged()), this, SLOT(iconChanged_hook())); iconChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(iconChanged()), this, SLOT(iconChanged_hook())); } void hook_urlChanged(QHook &hook) { if ( !urlChanged_event.func ) connect(handle, SIGNAL(urlChanged(const QUrl&)), this, SLOT(urlChanged_hook(const QUrl&))); urlChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(urlChanged(const QUrl&)), this, SLOT(urlChanged_hook(const QUrl&))); } private slots: void loadStarted_hook() { if ( loadStarted_event.func ) { typedef void (*func_type)(void *data); (*(func_type)loadStarted_event.func)(loadStarted_event.data); } } void loadProgress_hook(int progress) { if ( loadProgress_event.func ) { typedef void (*func_type)(void *data, int progress); (*(func_type)loadProgress_event.func)(loadProgress_event.data, progress); } } void loadFinished_hook(bool AnonParam1) { if ( loadFinished_event.func ) { typedef void (*func_type)(void *data, bool AnonParam1); (*(func_type)loadFinished_event.func)(loadFinished_event.data, AnonParam1); } } void titleChanged_hook(const QString& title) { if ( titleChanged_event.func ) { typedef void (*func_type)(void *data, PWideString title); PWideString t_title; initializePWideString(t_title); copyQStringToPWideString(title, t_title); (*(func_type)titleChanged_event.func)(titleChanged_event.data, t_title); finalizePWideString(t_title); } } void statusBarMessage_hook(const QString& text) { if ( statusBarMessage_event.func ) { typedef void (*func_type)(void *data, PWideString text); PWideString t_text; initializePWideString(t_text); copyQStringToPWideString(text, t_text); (*(func_type)statusBarMessage_event.func)(statusBarMessage_event.data, t_text); finalizePWideString(t_text); } } void linkClicked_hook(const QUrl& url) { if ( linkClicked_event.func ) { typedef void (*func_type)(void *data, const QUrlH url); (*(func_type)linkClicked_event.func)(linkClicked_event.data, (const QUrlH)&url); } } void selectionChanged_hook() { if ( selectionChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)selectionChanged_event.func)(selectionChanged_event.data); } } void iconChanged_hook() { if ( iconChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)iconChanged_event.func)(iconChanged_event.data); } } void urlChanged_hook(const QUrl& url) { if ( urlChanged_event.func ) { typedef void (*func_type)(void *data, const QUrlH url); (*(func_type)urlChanged_event.func)(urlChanged_event.data, (const QUrlH)&url); } } private: QHook loadStarted_event; QHook loadProgress_event; QHook loadFinished_event; QHook titleChanged_event; QHook statusBarMessage_event; QHook linkClicked_event; QHook selectionChanged_event; QHook iconChanged_event; QHook urlChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebpage_hook_c.h0000664000212600021260000000527411677135472020331 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBPAGE_HOOK_C_H #define QWEBPAGE_HOOK_C_H #include "qwebpage_hook.h" C_EXPORT QWebPage_hookH QWebPage_hook_create(QObjectH handle); C_EXPORT void QWebPage_hook_destroy(QWebPage_hookH handle); C_EXPORT void QWebPage_hook_hook_loadStarted(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_loadProgress(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_loadFinished(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_linkHovered(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_statusBarMessage(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_selectionChanged(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_frameCreated(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_geometryChangeRequested(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_repaintRequested(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_scrollRequested(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_windowCloseRequested(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_printRequested(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_linkClicked(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_toolBarVisibilityChangeRequested(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_statusBarVisibilityChangeRequested(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_menuBarVisibilityChangeRequested(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_unsupportedContent(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_downloadRequested(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_microFocusChanged(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_contentsChanged(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_databaseQuotaExceeded(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_saveFrameStateRequested(QWebPage_hookH handle, QHookH hook); C_EXPORT void QWebPage_hook_hook_restoreFrameStateRequested(QWebPage_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextbrowser_hook_c.h0000664000212600021260000000253011677135472021277 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTEXTBROWSER_HOOK_C_H #define QTEXTBROWSER_HOOK_C_H #include "qtextbrowser_hook.h" C_EXPORT QTextBrowser_hookH QTextBrowser_hook_create(QObjectH handle); C_EXPORT void QTextBrowser_hook_destroy(QTextBrowser_hookH handle); C_EXPORT void QTextBrowser_hook_hook_backwardAvailable(QTextBrowser_hookH handle, QHookH hook); C_EXPORT void QTextBrowser_hook_hook_forwardAvailable(QTextBrowser_hookH handle, QHookH hook); C_EXPORT void QTextBrowser_hook_hook_historyChanged(QTextBrowser_hookH handle, QHookH hook); C_EXPORT void QTextBrowser_hook_hook_sourceChanged(QTextBrowser_hookH handle, QHookH hook); C_EXPORT void QTextBrowser_hook_hook_highlighted(QTextBrowser_hookH handle, QHookH hook); C_EXPORT void QTextBrowser_hook_hook_highlighted2(QTextBrowser_hookH handle, QHookH hook); C_EXPORT void QTextBrowser_hook_hook_anchorClicked(QTextBrowser_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtooltip_c.h0000664000212600021260000000207311677135472017363 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTOOLTIP_C_H #define QTOOLTIP_C_H #include #include "pascalbind.h" C_EXPORT void QToolTip_showText(const QPointH pos, PWideString text, QWidgetH w); C_EXPORT void QToolTip_showText2(const QPointH pos, PWideString text, QWidgetH w, PRect rect); C_EXPORT void QToolTip_hideText(); C_EXPORT bool QToolTip_isVisible(); C_EXPORT void QToolTip_text(PWideString retval); C_EXPORT void QToolTip_palette(QPaletteH retval); C_EXPORT void QToolTip_setPalette(const QPaletteH AnonParam1); C_EXPORT void QToolTip_font(QFontH retval); C_EXPORT void QToolTip_setFont(const QFontH AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstandarditemmodel_hook_c.h0000664000212600021260000000175611677135472022420 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTANDARDITEMMODEL_HOOK_C_H #define QSTANDARDITEMMODEL_HOOK_C_H #include "qstandarditemmodel_hook.h" C_EXPORT QStandardItem_hookH QStandardItem_hook_create(QObjectH handle); C_EXPORT void QStandardItem_hook_destroy(QStandardItem_hookH handle); C_EXPORT QStandardItemModel_hookH QStandardItemModel_hook_create(QObjectH handle); C_EXPORT void QStandardItemModel_hook_destroy(QStandardItemModel_hookH handle); C_EXPORT void QStandardItemModel_hook_hook_itemChanged(QStandardItemModel_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpaintengine_c.h0000664000212600021260000000713611677135472020177 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPAINTENGINE_C_H #define QPAINTENGINE_C_H #include #include "pascalbind.h" C_EXPORT bool QPaintEngine_isActive(QPaintEngineH handle); C_EXPORT void QPaintEngine_setActive(QPaintEngineH handle, bool newState); C_EXPORT bool QPaintEngine_begin(QPaintEngineH handle, QPaintDeviceH pdev); C_EXPORT bool QPaintEngine_end(QPaintEngineH handle); C_EXPORT void QPaintEngine_drawRects(QPaintEngineH handle, PRect rects, int rectCount); C_EXPORT void QPaintEngine_drawRects2(QPaintEngineH handle, const QRectFH rects, int rectCount); C_EXPORT void QPaintEngine_drawLines(QPaintEngineH handle, const QLineH lines, int lineCount); C_EXPORT void QPaintEngine_drawLines2(QPaintEngineH handle, const QLineFH lines, int lineCount); C_EXPORT void QPaintEngine_drawEllipse(QPaintEngineH handle, const QRectFH r); C_EXPORT void QPaintEngine_drawEllipse2(QPaintEngineH handle, PRect r); C_EXPORT void QPaintEngine_drawPath(QPaintEngineH handle, const QPainterPathH path); C_EXPORT void QPaintEngine_drawPoints(QPaintEngineH handle, const QPointFH points, int pointCount); C_EXPORT void QPaintEngine_drawPoints2(QPaintEngineH handle, const QPointH points, int pointCount); C_EXPORT void QPaintEngine_drawPolygon(QPaintEngineH handle, const QPointFH points, int pointCount, QPaintEngine::PolygonDrawMode mode); C_EXPORT void QPaintEngine_drawPolygon2(QPaintEngineH handle, const QPointH points, int pointCount, QPaintEngine::PolygonDrawMode mode); C_EXPORT void QPaintEngine_drawPixmap(QPaintEngineH handle, const QRectFH r, const QPixmapH pm, const QRectFH sr); C_EXPORT void QPaintEngine_drawTiledPixmap(QPaintEngineH handle, const QRectFH r, const QPixmapH pixmap, const QPointFH s); C_EXPORT void QPaintEngine_drawImage(QPaintEngineH handle, const QRectFH r, const QImageH pm, const QRectFH sr, unsigned int flags); C_EXPORT void QPaintEngine_setPaintDevice(QPaintEngineH handle, QPaintDeviceH device); C_EXPORT QPaintDeviceH QPaintEngine_paintDevice(QPaintEngineH handle); C_EXPORT void QPaintEngine_setSystemClip(QPaintEngineH handle, const QRegionH baseClip); C_EXPORT void QPaintEngine_systemClip(QPaintEngineH handle, QRegionH retval); C_EXPORT void QPaintEngine_setSystemRect(QPaintEngineH handle, PRect rect); C_EXPORT void QPaintEngine_systemRect(QPaintEngineH handle, PRect retval); C_EXPORT void QPaintEngine_coordinateOffset(QPaintEngineH handle, PQtPoint retval); C_EXPORT QPaintEngine::Type QPaintEngine_type(QPaintEngineH handle); C_EXPORT void QPaintEngine_fix_neg_rect(QPaintEngineH handle, int* x, int* y, int* w, int* h); C_EXPORT bool QPaintEngine_testDirty(QPaintEngineH handle, unsigned int df); C_EXPORT void QPaintEngine_setDirty(QPaintEngineH handle, unsigned int df); C_EXPORT void QPaintEngine_clearDirty(QPaintEngineH handle, unsigned int df); C_EXPORT bool QPaintEngine_hasFeature(QPaintEngineH handle, unsigned int feature); C_EXPORT QPainterH QPaintEngine_painter(QPaintEngineH handle); C_EXPORT void QPaintEngine_syncState(QPaintEngineH handle); C_EXPORT bool QPaintEngine_isExtended(QPaintEngineH handle); #if defined MSWINDOWS C_EXPORT HDC QPaintEngine_getDC(QPaintEngineH handle); C_EXPORT void QPaintEngine_releaseDC(QPaintEngineH handle, HDC hdc); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemview_c.h0000664000212600021260000001540411677135472021250 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTITEMVIEW_C_H #define QABSTRACTITEMVIEW_C_H #include #include "pascalbind.h" C_EXPORT void QAbstractItemView_setModel(QAbstractItemViewH handle, QAbstractItemModelH model); C_EXPORT QAbstractItemModelH QAbstractItemView_model(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setSelectionModel(QAbstractItemViewH handle, QItemSelectionModelH selectionModel); C_EXPORT QItemSelectionModelH QAbstractItemView_selectionModel(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setItemDelegate(QAbstractItemViewH handle, QAbstractItemDelegateH delegate); C_EXPORT QAbstractItemDelegateH QAbstractItemView_itemDelegate(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setSelectionMode(QAbstractItemViewH handle, QAbstractItemView::SelectionMode mode); C_EXPORT QAbstractItemView::SelectionMode QAbstractItemView_selectionMode(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setSelectionBehavior(QAbstractItemViewH handle, QAbstractItemView::SelectionBehavior behavior); C_EXPORT QAbstractItemView::SelectionBehavior QAbstractItemView_selectionBehavior(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_currentIndex(QAbstractItemViewH handle, QModelIndexH retval); C_EXPORT void QAbstractItemView_rootIndex(QAbstractItemViewH handle, QModelIndexH retval); C_EXPORT void QAbstractItemView_setEditTriggers(QAbstractItemViewH handle, unsigned int triggers); C_EXPORT unsigned int QAbstractItemView_editTriggers(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setVerticalScrollMode(QAbstractItemViewH handle, QAbstractItemView::ScrollMode mode); C_EXPORT QAbstractItemView::ScrollMode QAbstractItemView_verticalScrollMode(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setHorizontalScrollMode(QAbstractItemViewH handle, QAbstractItemView::ScrollMode mode); C_EXPORT QAbstractItemView::ScrollMode QAbstractItemView_horizontalScrollMode(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setAutoScroll(QAbstractItemViewH handle, bool enable); C_EXPORT bool QAbstractItemView_hasAutoScroll(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setAutoScrollMargin(QAbstractItemViewH handle, int margin); C_EXPORT int QAbstractItemView_autoScrollMargin(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setTabKeyNavigation(QAbstractItemViewH handle, bool enable); C_EXPORT bool QAbstractItemView_tabKeyNavigation(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setDropIndicatorShown(QAbstractItemViewH handle, bool enable); C_EXPORT bool QAbstractItemView_showDropIndicator(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setDragEnabled(QAbstractItemViewH handle, bool enable); C_EXPORT bool QAbstractItemView_dragEnabled(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setDragDropOverwriteMode(QAbstractItemViewH handle, bool overwrite); C_EXPORT bool QAbstractItemView_dragDropOverwriteMode(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setDragDropMode(QAbstractItemViewH handle, QAbstractItemView::DragDropMode behavior); C_EXPORT QAbstractItemView::DragDropMode QAbstractItemView_dragDropMode(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setAlternatingRowColors(QAbstractItemViewH handle, bool enable); C_EXPORT bool QAbstractItemView_alternatingRowColors(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setIconSize(QAbstractItemViewH handle, const QSizeH size); C_EXPORT void QAbstractItemView_iconSize(QAbstractItemViewH handle, PSize retval); C_EXPORT void QAbstractItemView_setTextElideMode(QAbstractItemViewH handle, Qt::TextElideMode mode); C_EXPORT Qt::TextElideMode QAbstractItemView_textElideMode(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_keyboardSearch(QAbstractItemViewH handle, PWideString search); C_EXPORT void QAbstractItemView_visualRect(QAbstractItemViewH handle, PRect retval, const QModelIndexH index); C_EXPORT void QAbstractItemView_scrollTo(QAbstractItemViewH handle, const QModelIndexH index, QAbstractItemView::ScrollHint hint); C_EXPORT void QAbstractItemView_indexAt(QAbstractItemViewH handle, QModelIndexH retval, const QPointH point); C_EXPORT void QAbstractItemView_sizeHintForIndex(QAbstractItemViewH handle, PSize retval, const QModelIndexH index); C_EXPORT int QAbstractItemView_sizeHintForRow(QAbstractItemViewH handle, int row); C_EXPORT int QAbstractItemView_sizeHintForColumn(QAbstractItemViewH handle, int column); C_EXPORT void QAbstractItemView_openPersistentEditor(QAbstractItemViewH handle, const QModelIndexH index); C_EXPORT void QAbstractItemView_closePersistentEditor(QAbstractItemViewH handle, const QModelIndexH index); C_EXPORT void QAbstractItemView_setIndexWidget(QAbstractItemViewH handle, const QModelIndexH index, QWidgetH widget); C_EXPORT QWidgetH QAbstractItemView_indexWidget(QAbstractItemViewH handle, const QModelIndexH index); C_EXPORT void QAbstractItemView_setItemDelegateForRow(QAbstractItemViewH handle, int row, QAbstractItemDelegateH delegate); C_EXPORT QAbstractItemDelegateH QAbstractItemView_itemDelegateForRow(QAbstractItemViewH handle, int row); C_EXPORT void QAbstractItemView_setItemDelegateForColumn(QAbstractItemViewH handle, int column, QAbstractItemDelegateH delegate); C_EXPORT QAbstractItemDelegateH QAbstractItemView_itemDelegateForColumn(QAbstractItemViewH handle, int column); C_EXPORT QAbstractItemDelegateH QAbstractItemView_itemDelegate2(QAbstractItemViewH handle, const QModelIndexH index); C_EXPORT void QAbstractItemView_inputMethodQuery(QAbstractItemViewH handle, QVariantH retval, Qt::InputMethodQuery query); C_EXPORT void QAbstractItemView_reset(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setRootIndex(QAbstractItemViewH handle, const QModelIndexH index); C_EXPORT void QAbstractItemView_doItemsLayout(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_selectAll(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_edit(QAbstractItemViewH handle, const QModelIndexH index); C_EXPORT void QAbstractItemView_clearSelection(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_setCurrentIndex(QAbstractItemViewH handle, const QModelIndexH index); C_EXPORT void QAbstractItemView_scrollToTop(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_scrollToBottom(QAbstractItemViewH handle); C_EXPORT void QAbstractItemView_update(QAbstractItemViewH handle, const QModelIndexH index); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebhistory_hook.h0000664000212600021260000000162111677135472020604 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBHISTORY_HOOK_H #define QWEBHISTORY_HOOK_H #include #include "qobject_hook.h" class QWebHistoryItem_hook : public QObject_hook { Q_OBJECT public: QWebHistoryItem_hook(QObject *handle) : QObject_hook(handle) { } }; #include "qobject_hook.h" class QWebHistory_hook : public QObject_hook { Q_OBJECT public: QWebHistory_hook(QObject *handle) : QObject_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkreply_c.h0000664000212600021260000000376211677135472020444 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QNETWORKREPLY_C_H #define QNETWORKREPLY_C_H #include #include "pascalbind.h" C_EXPORT void QNetworkReply_abort(QNetworkReplyH handle); C_EXPORT void QNetworkReply_close(QNetworkReplyH handle); C_EXPORT bool QNetworkReply_isSequential(QNetworkReplyH handle); C_EXPORT qint64 QNetworkReply_readBufferSize(QNetworkReplyH handle); C_EXPORT void QNetworkReply_setReadBufferSize(QNetworkReplyH handle, qint64 size); C_EXPORT QNetworkAccessManagerH QNetworkReply_manager(QNetworkReplyH handle); C_EXPORT QNetworkAccessManager::Operation QNetworkReply_operation(QNetworkReplyH handle); C_EXPORT void QNetworkReply_request(QNetworkReplyH handle, QNetworkRequestH retval); C_EXPORT QNetworkReply::NetworkError QNetworkReply_error(QNetworkReplyH handle); C_EXPORT void QNetworkReply_url(QNetworkReplyH handle, QUrlH retval); C_EXPORT void QNetworkReply_header(QNetworkReplyH handle, QVariantH retval, QNetworkRequest::KnownHeaders header); C_EXPORT bool QNetworkReply_hasRawHeader(QNetworkReplyH handle, const QByteArrayH headerName); C_EXPORT void QNetworkReply_rawHeader(QNetworkReplyH handle, QByteArrayH retval, const QByteArrayH headerName); C_EXPORT void QNetworkReply_attribute(QNetworkReplyH handle, QVariantH retval, QNetworkRequest::Attribute code); C_EXPORT void QNetworkReply_sslConfiguration(QNetworkReplyH handle, QSslConfigurationH retval); C_EXPORT void QNetworkReply_setSslConfiguration(QNetworkReplyH handle, const QSslConfigurationH configuration); C_EXPORT void QNetworkReply_ignoreSslErrors(QNetworkReplyH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qinputdialog_c.h0000664000212600021260000001157111677135472020213 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QINPUTDIALOG_C_H #define QINPUTDIALOG_C_H #include #include "pascalbind.h" C_EXPORT QInputDialogH QInputDialog_create(QWidgetH parent, unsigned int flags); C_EXPORT void QInputDialog_destroy(QInputDialogH handle); C_EXPORT void QInputDialog_setInputMode(QInputDialogH handle, QInputDialog::InputMode mode); C_EXPORT QInputDialog::InputMode QInputDialog_inputMode(QInputDialogH handle); C_EXPORT void QInputDialog_setLabelText(QInputDialogH handle, PWideString text); C_EXPORT void QInputDialog_labelText(QInputDialogH handle, PWideString retval); C_EXPORT void QInputDialog_setOption(QInputDialogH handle, QInputDialog::InputDialogOption option, bool on); C_EXPORT bool QInputDialog_testOption(QInputDialogH handle, QInputDialog::InputDialogOption option); C_EXPORT void QInputDialog_setOptions(QInputDialogH handle, unsigned int options); C_EXPORT unsigned int QInputDialog_options(QInputDialogH handle); C_EXPORT void QInputDialog_setTextValue(QInputDialogH handle, PWideString text); C_EXPORT void QInputDialog_textValue(QInputDialogH handle, PWideString retval); C_EXPORT void QInputDialog_setTextEchoMode(QInputDialogH handle, QLineEdit::EchoMode mode); C_EXPORT QLineEdit::EchoMode QInputDialog_textEchoMode(QInputDialogH handle); C_EXPORT void QInputDialog_setComboBoxEditable(QInputDialogH handle, bool editable); C_EXPORT bool QInputDialog_isComboBoxEditable(QInputDialogH handle); C_EXPORT void QInputDialog_setComboBoxItems(QInputDialogH handle, const QStringListH items); C_EXPORT void QInputDialog_comboBoxItems(QInputDialogH handle, QStringListH retval); C_EXPORT void QInputDialog_setIntValue(QInputDialogH handle, int value); C_EXPORT int QInputDialog_intValue(QInputDialogH handle); C_EXPORT void QInputDialog_setIntMinimum(QInputDialogH handle, int min); C_EXPORT int QInputDialog_intMinimum(QInputDialogH handle); C_EXPORT void QInputDialog_setIntMaximum(QInputDialogH handle, int max); C_EXPORT int QInputDialog_intMaximum(QInputDialogH handle); C_EXPORT void QInputDialog_setIntRange(QInputDialogH handle, int min, int max); C_EXPORT void QInputDialog_setIntStep(QInputDialogH handle, int step); C_EXPORT int QInputDialog_intStep(QInputDialogH handle); C_EXPORT void QInputDialog_setDoubleValue(QInputDialogH handle, double value); C_EXPORT double QInputDialog_doubleValue(QInputDialogH handle); C_EXPORT void QInputDialog_setDoubleMinimum(QInputDialogH handle, double min); C_EXPORT double QInputDialog_doubleMinimum(QInputDialogH handle); C_EXPORT void QInputDialog_setDoubleMaximum(QInputDialogH handle, double max); C_EXPORT double QInputDialog_doubleMaximum(QInputDialogH handle); C_EXPORT void QInputDialog_setDoubleRange(QInputDialogH handle, double min, double max); C_EXPORT void QInputDialog_setDoubleDecimals(QInputDialogH handle, int decimals); C_EXPORT int QInputDialog_doubleDecimals(QInputDialogH handle); C_EXPORT void QInputDialog_setOkButtonText(QInputDialogH handle, PWideString text); C_EXPORT void QInputDialog_okButtonText(QInputDialogH handle, PWideString retval); C_EXPORT void QInputDialog_setCancelButtonText(QInputDialogH handle, PWideString text); C_EXPORT void QInputDialog_cancelButtonText(QInputDialogH handle, PWideString retval); C_EXPORT void QInputDialog_open(QInputDialogH handle, QObjectH receiver, const char* member); C_EXPORT void QInputDialog_minimumSizeHint(QInputDialogH handle, PSize retval); C_EXPORT void QInputDialog_sizeHint(QInputDialogH handle, PSize retval); C_EXPORT void QInputDialog_setVisible(QInputDialogH handle, bool visible); C_EXPORT void QInputDialog_getText(PWideString retval, QWidgetH parent, PWideString title, PWideString label, QLineEdit::EchoMode echo, PWideString text, bool* ok, unsigned int flags); C_EXPORT int QInputDialog_getInt(QWidgetH parent, PWideString title, PWideString label, int value, int minValue, int maxValue, int step, bool* ok, unsigned int flags); C_EXPORT double QInputDialog_getDouble(QWidgetH parent, PWideString title, PWideString label, double value, double minValue, double maxValue, int decimals, bool* ok, unsigned int flags); C_EXPORT void QInputDialog_getItem(PWideString retval, QWidgetH parent, PWideString title, PWideString label, const QStringListH items, int current, bool editable, bool* ok, unsigned int flags); C_EXPORT int QInputDialog_getInteger(QWidgetH parent, PWideString title, PWideString label, int value, int minValue, int maxValue, int step, bool* ok, unsigned int flags); C_EXPORT void QInputDialog_done(QInputDialogH handle, int result); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractslider_hook.h0000664000212600021260000001063111677135472021414 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTSLIDER_HOOK_H #define QABSTRACTSLIDER_HOOK_H #include #include "qwidget_hook.h" class QAbstractSlider_hook : public QWidget_hook { Q_OBJECT public: QAbstractSlider_hook(QObject *handle) : QWidget_hook(handle) { valueChanged_event.func = NULL; sliderPressed_event.func = NULL; sliderMoved_event.func = NULL; sliderReleased_event.func = NULL; rangeChanged_event.func = NULL; actionTriggered_event.func = NULL; } void hook_valueChanged(QHook &hook) { if ( !valueChanged_event.func ) connect(handle, SIGNAL(valueChanged(int)), this, SLOT(valueChanged_hook(int))); valueChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(valueChanged(int)), this, SLOT(valueChanged_hook(int))); } void hook_sliderPressed(QHook &hook) { if ( !sliderPressed_event.func ) connect(handle, SIGNAL(sliderPressed()), this, SLOT(sliderPressed_hook())); sliderPressed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sliderPressed()), this, SLOT(sliderPressed_hook())); } void hook_sliderMoved(QHook &hook) { if ( !sliderMoved_event.func ) connect(handle, SIGNAL(sliderMoved(int)), this, SLOT(sliderMoved_hook(int))); sliderMoved_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sliderMoved(int)), this, SLOT(sliderMoved_hook(int))); } void hook_sliderReleased(QHook &hook) { if ( !sliderReleased_event.func ) connect(handle, SIGNAL(sliderReleased()), this, SLOT(sliderReleased_hook())); sliderReleased_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sliderReleased()), this, SLOT(sliderReleased_hook())); } void hook_rangeChanged(QHook &hook) { if ( !rangeChanged_event.func ) connect(handle, SIGNAL(rangeChanged(int, int)), this, SLOT(rangeChanged_hook(int, int))); rangeChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(rangeChanged(int, int)), this, SLOT(rangeChanged_hook(int, int))); } void hook_actionTriggered(QHook &hook) { if ( !actionTriggered_event.func ) connect(handle, SIGNAL(actionTriggered(int)), this, SLOT(actionTriggered_hook(int))); actionTriggered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(actionTriggered(int)), this, SLOT(actionTriggered_hook(int))); } private slots: void valueChanged_hook(int value) { if ( valueChanged_event.func ) { typedef void (*func_type)(void *data, int value); (*(func_type)valueChanged_event.func)(valueChanged_event.data, value); } } void sliderPressed_hook() { if ( sliderPressed_event.func ) { typedef void (*func_type)(void *data); (*(func_type)sliderPressed_event.func)(sliderPressed_event.data); } } void sliderMoved_hook(int position) { if ( sliderMoved_event.func ) { typedef void (*func_type)(void *data, int position); (*(func_type)sliderMoved_event.func)(sliderMoved_event.data, position); } } void sliderReleased_hook() { if ( sliderReleased_event.func ) { typedef void (*func_type)(void *data); (*(func_type)sliderReleased_event.func)(sliderReleased_event.data); } } void rangeChanged_hook(int min, int max) { if ( rangeChanged_event.func ) { typedef void (*func_type)(void *data, int min, int max); (*(func_type)rangeChanged_event.func)(rangeChanged_event.data, min, max); } } void actionTriggered_hook(int action) { if ( actionTriggered_event.func ) { typedef void (*func_type)(void *data, int action); (*(func_type)actionTriggered_event.func)(actionTriggered_event.data, action); } } private: QHook valueChanged_event; QHook sliderPressed_event; QHook sliderMoved_event; QHook sliderReleased_event; QHook rangeChanged_event; QHook actionTriggered_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qurl_c.h0000664000212600021260000001345011677135472016474 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QURL_C_H #define QURL_C_H #include #include "pascalbind.h" C_EXPORT QUrlH QUrl_create(); C_EXPORT void QUrl_destroy(QUrlH handle); C_EXPORT QUrlH QUrl_create2(PWideString url); C_EXPORT QUrlH QUrl_create3(PWideString url, QUrl::ParsingMode mode); C_EXPORT QUrlH QUrl_create4(const QUrlH copy); C_EXPORT void QUrl_setUrl(QUrlH handle, PWideString url); C_EXPORT void QUrl_setUrl2(QUrlH handle, PWideString url, QUrl::ParsingMode mode); C_EXPORT void QUrl_setEncodedUrl(QUrlH handle, const QByteArrayH url); C_EXPORT void QUrl_setEncodedUrl2(QUrlH handle, const QByteArrayH url, QUrl::ParsingMode mode); C_EXPORT bool QUrl_isValid(QUrlH handle); C_EXPORT bool QUrl_isEmpty(QUrlH handle); C_EXPORT void QUrl_clear(QUrlH handle); C_EXPORT void QUrl_setScheme(QUrlH handle, PWideString scheme); C_EXPORT void QUrl_scheme(QUrlH handle, PWideString retval); C_EXPORT void QUrl_setAuthority(QUrlH handle, PWideString authority); C_EXPORT void QUrl_authority(QUrlH handle, PWideString retval); C_EXPORT void QUrl_setUserInfo(QUrlH handle, PWideString userInfo); C_EXPORT void QUrl_userInfo(QUrlH handle, PWideString retval); C_EXPORT void QUrl_setUserName(QUrlH handle, PWideString userName); C_EXPORT void QUrl_userName(QUrlH handle, PWideString retval); C_EXPORT void QUrl_setEncodedUserName(QUrlH handle, const QByteArrayH userName); C_EXPORT void QUrl_encodedUserName(QUrlH handle, QByteArrayH retval); C_EXPORT void QUrl_setPassword(QUrlH handle, PWideString password); C_EXPORT void QUrl_password(QUrlH handle, PWideString retval); C_EXPORT void QUrl_setEncodedPassword(QUrlH handle, const QByteArrayH password); C_EXPORT void QUrl_encodedPassword(QUrlH handle, QByteArrayH retval); C_EXPORT void QUrl_setHost(QUrlH handle, PWideString host); C_EXPORT void QUrl_host(QUrlH handle, PWideString retval); C_EXPORT void QUrl_setEncodedHost(QUrlH handle, const QByteArrayH host); C_EXPORT void QUrl_encodedHost(QUrlH handle, QByteArrayH retval); C_EXPORT void QUrl_setPort(QUrlH handle, int port); C_EXPORT int QUrl_port(QUrlH handle); C_EXPORT int QUrl_port2(QUrlH handle, int defaultPort); C_EXPORT void QUrl_setPath(QUrlH handle, PWideString path); C_EXPORT void QUrl_path(QUrlH handle, PWideString retval); C_EXPORT void QUrl_setEncodedPath(QUrlH handle, const QByteArrayH path); C_EXPORT void QUrl_encodedPath(QUrlH handle, QByteArrayH retval); C_EXPORT bool QUrl_hasQuery(QUrlH handle); C_EXPORT void QUrl_setEncodedQuery(QUrlH handle, const QByteArrayH query); C_EXPORT void QUrl_encodedQuery(QUrlH handle, QByteArrayH retval); C_EXPORT void QUrl_setQueryDelimiters(QUrlH handle, char valueDelimiter, char pairDelimiter); C_EXPORT char QUrl_queryValueDelimiter(QUrlH handle); C_EXPORT char QUrl_queryPairDelimiter(QUrlH handle); C_EXPORT void QUrl_addQueryItem(QUrlH handle, PWideString key, PWideString value); C_EXPORT bool QUrl_hasQueryItem(QUrlH handle, PWideString key); C_EXPORT void QUrl_queryItemValue(QUrlH handle, PWideString retval, PWideString key); C_EXPORT void QUrl_allQueryItemValues(QUrlH handle, QStringListH retval, PWideString key); C_EXPORT void QUrl_removeQueryItem(QUrlH handle, PWideString key); C_EXPORT void QUrl_removeAllQueryItems(QUrlH handle, PWideString key); C_EXPORT void QUrl_addEncodedQueryItem(QUrlH handle, const QByteArrayH key, const QByteArrayH value); C_EXPORT bool QUrl_hasEncodedQueryItem(QUrlH handle, const QByteArrayH key); C_EXPORT void QUrl_encodedQueryItemValue(QUrlH handle, QByteArrayH retval, const QByteArrayH key); C_EXPORT void QUrl_removeEncodedQueryItem(QUrlH handle, const QByteArrayH key); C_EXPORT void QUrl_removeAllEncodedQueryItems(QUrlH handle, const QByteArrayH key); C_EXPORT void QUrl_setFragment(QUrlH handle, PWideString fragment); C_EXPORT void QUrl_fragment(QUrlH handle, PWideString retval); C_EXPORT void QUrl_setEncodedFragment(QUrlH handle, const QByteArrayH fragment); C_EXPORT void QUrl_encodedFragment(QUrlH handle, QByteArrayH retval); C_EXPORT bool QUrl_hasFragment(QUrlH handle); C_EXPORT void QUrl_resolved(QUrlH handle, QUrlH retval, const QUrlH relative); C_EXPORT bool QUrl_isRelative(QUrlH handle); C_EXPORT bool QUrl_isParentOf(QUrlH handle, const QUrlH url); C_EXPORT void QUrl_fromLocalFile(QUrlH retval, PWideString localfile); C_EXPORT void QUrl_toLocalFile(QUrlH handle, PWideString retval); C_EXPORT void QUrl_toString(QUrlH handle, PWideString retval, unsigned int options); C_EXPORT void QUrl_toEncoded(QUrlH handle, QByteArrayH retval, unsigned int options); C_EXPORT void QUrl_fromEncoded(QUrlH retval, const QByteArrayH url); C_EXPORT void QUrl_fromEncoded2(QUrlH retval, const QByteArrayH url, QUrl::ParsingMode mode); C_EXPORT void QUrl_detach(QUrlH handle); C_EXPORT bool QUrl_isDetached(QUrlH handle); C_EXPORT void QUrl_fromPercentEncoding(PWideString retval, const QByteArrayH AnonParam1); C_EXPORT void QUrl_toPercentEncoding(QByteArrayH retval, PWideString AnonParam1, const QByteArrayH exclude, const QByteArrayH include); C_EXPORT void QUrl_fromPunycode(PWideString retval, const QByteArrayH AnonParam1); C_EXPORT void QUrl_toPunycode(QByteArrayH retval, PWideString AnonParam1); C_EXPORT void QUrl_fromAce(PWideString retval, const QByteArrayH AnonParam1); C_EXPORT void QUrl_toAce(QByteArrayH retval, PWideString AnonParam1); C_EXPORT void QUrl_idnWhitelist(QStringListH retval); C_EXPORT void QUrl_setIdnWhitelist(const QStringListH AnonParam1); C_EXPORT void QUrl_errorString(QUrlH handle, PWideString retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsizegrip_c.h0000664000212600021260000000146411677135472017530 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSIZEGRIP_C_H #define QSIZEGRIP_C_H #include #include "pascalbind.h" C_EXPORT QSizeGripH QSizeGrip_create(QWidgetH parent); C_EXPORT void QSizeGrip_destroy(QSizeGripH handle); C_EXPORT void QSizeGrip_sizeHint(QSizeGripH handle, PSize retval); C_EXPORT void QSizeGrip_setVisible(QSizeGripH handle, bool AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qplaintextedit_c.h0000664000212600021260000001475511677135472020561 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPLAINTEXTEDIT_C_H #define QPLAINTEXTEDIT_C_H #include #include "pascalbind.h" C_EXPORT QPlainTextEditH QPlainTextEdit_create(QWidgetH parent); C_EXPORT void QPlainTextEdit_destroy(QPlainTextEditH handle); C_EXPORT QPlainTextEditH QPlainTextEdit_create2(PWideString text, QWidgetH parent); C_EXPORT void QPlainTextEdit_setDocument(QPlainTextEditH handle, QTextDocumentH document); C_EXPORT QTextDocumentH QPlainTextEdit_document(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_setTextCursor(QPlainTextEditH handle, const QTextCursorH cursor); C_EXPORT void QPlainTextEdit_textCursor(QPlainTextEditH handle, QTextCursorH retval); C_EXPORT bool QPlainTextEdit_isReadOnly(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_setReadOnly(QPlainTextEditH handle, bool ro); C_EXPORT void QPlainTextEdit_setTextInteractionFlags(QPlainTextEditH handle, unsigned int flags); C_EXPORT unsigned int QPlainTextEdit_textInteractionFlags(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_mergeCurrentCharFormat(QPlainTextEditH handle, const QTextCharFormatH modifier); C_EXPORT void QPlainTextEdit_setCurrentCharFormat(QPlainTextEditH handle, const QTextCharFormatH format); C_EXPORT void QPlainTextEdit_currentCharFormat(QPlainTextEditH handle, QTextCharFormatH retval); C_EXPORT bool QPlainTextEdit_tabChangesFocus(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_setTabChangesFocus(QPlainTextEditH handle, bool b); C_EXPORT void QPlainTextEdit_setDocumentTitle(QPlainTextEditH handle, PWideString title); C_EXPORT void QPlainTextEdit_documentTitle(QPlainTextEditH handle, PWideString retval); C_EXPORT bool QPlainTextEdit_isUndoRedoEnabled(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_setUndoRedoEnabled(QPlainTextEditH handle, bool enable); C_EXPORT void QPlainTextEdit_setMaximumBlockCount(QPlainTextEditH handle, int maximum); C_EXPORT int QPlainTextEdit_maximumBlockCount(QPlainTextEditH handle); C_EXPORT QPlainTextEdit::LineWrapMode QPlainTextEdit_lineWrapMode(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_setLineWrapMode(QPlainTextEditH handle, QPlainTextEdit::LineWrapMode mode); C_EXPORT QTextOption::WrapMode QPlainTextEdit_wordWrapMode(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_setWordWrapMode(QPlainTextEditH handle, QTextOption::WrapMode policy); C_EXPORT void QPlainTextEdit_setBackgroundVisible(QPlainTextEditH handle, bool visible); C_EXPORT bool QPlainTextEdit_backgroundVisible(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_setCenterOnScroll(QPlainTextEditH handle, bool enabled); C_EXPORT bool QPlainTextEdit_centerOnScroll(QPlainTextEditH handle); C_EXPORT bool QPlainTextEdit_find(QPlainTextEditH handle, PWideString exp, unsigned int options); C_EXPORT void QPlainTextEdit_toPlainText(QPlainTextEditH handle, PWideString retval); C_EXPORT void QPlainTextEdit_ensureCursorVisible(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_loadResource(QPlainTextEditH handle, QVariantH retval, int type, const QUrlH name); C_EXPORT QMenuH QPlainTextEdit_createStandardContextMenu(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_cursorForPosition(QPlainTextEditH handle, QTextCursorH retval, const QPointH pos); C_EXPORT void QPlainTextEdit_cursorRect(QPlainTextEditH handle, PRect retval, const QTextCursorH cursor); C_EXPORT void QPlainTextEdit_cursorRect2(QPlainTextEditH handle, PRect retval); C_EXPORT bool QPlainTextEdit_overwriteMode(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_setOverwriteMode(QPlainTextEditH handle, bool overwrite); C_EXPORT int QPlainTextEdit_tabStopWidth(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_setTabStopWidth(QPlainTextEditH handle, int width); C_EXPORT int QPlainTextEdit_cursorWidth(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_setCursorWidth(QPlainTextEditH handle, int width); C_EXPORT void QPlainTextEdit_moveCursor(QPlainTextEditH handle, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode); C_EXPORT bool QPlainTextEdit_canPaste(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_print(QPlainTextEditH handle, QPrinterH printer); C_EXPORT int QPlainTextEdit_blockCount(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_setPlainText(QPlainTextEditH handle, PWideString text); C_EXPORT void QPlainTextEdit_cut(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_copy(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_paste(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_undo(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_redo(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_clear(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_selectAll(QPlainTextEditH handle); C_EXPORT void QPlainTextEdit_insertPlainText(QPlainTextEditH handle, PWideString text); C_EXPORT void QPlainTextEdit_appendPlainText(QPlainTextEditH handle, PWideString text); C_EXPORT void QPlainTextEdit_appendHtml(QPlainTextEditH handle, PWideString html); C_EXPORT void QPlainTextEdit_centerCursor(QPlainTextEditH handle); C_EXPORT QPlainTextDocumentLayoutH QPlainTextDocumentLayout_create(QTextDocumentH document); C_EXPORT void QPlainTextDocumentLayout_destroy(QPlainTextDocumentLayoutH handle); C_EXPORT int QPlainTextDocumentLayout_hitTest(QPlainTextDocumentLayoutH handle, const QPointFH AnonParam1, Qt::HitTestAccuracy AnonParam2); C_EXPORT int QPlainTextDocumentLayout_pageCount(QPlainTextDocumentLayoutH handle); C_EXPORT void QPlainTextDocumentLayout_documentSize(QPlainTextDocumentLayoutH handle, QSizeFH retval); C_EXPORT void QPlainTextDocumentLayout_frameBoundingRect(QPlainTextDocumentLayoutH handle, QRectFH retval, QTextFrameH AnonParam1); C_EXPORT void QPlainTextDocumentLayout_blockBoundingRect(QPlainTextDocumentLayoutH handle, QRectFH retval, const QTextBlockH block); C_EXPORT void QPlainTextDocumentLayout_ensureBlockLayout(QPlainTextDocumentLayoutH handle, const QTextBlockH block); C_EXPORT void QPlainTextDocumentLayout_setCursorWidth(QPlainTextDocumentLayoutH handle, int width); C_EXPORT int QPlainTextDocumentLayout_cursorWidth(QPlainTextDocumentLayoutH handle); C_EXPORT void QPlainTextDocumentLayout_requestUpdate(QPlainTextDocumentLayoutH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsslconfiguration_c.cpp0000664000212600021260000000631511677135472021620 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsslconfiguration_c.h" QSslConfigurationH QSslConfiguration_create() { return (QSslConfigurationH) new QSslConfiguration(); } void QSslConfiguration_destroy(QSslConfigurationH handle) { delete (QSslConfiguration *)handle; } QSslConfigurationH QSslConfiguration_create2(const QSslConfigurationH other) { return (QSslConfigurationH) new QSslConfiguration(*(const QSslConfiguration*)other); } bool QSslConfiguration_isNull(QSslConfigurationH handle) { return (bool) ((QSslConfiguration *)handle)->isNull(); } QSsl::SslProtocol QSslConfiguration_protocol(QSslConfigurationH handle) { return (QSsl::SslProtocol) ((QSslConfiguration *)handle)->protocol(); } void QSslConfiguration_setProtocol(QSslConfigurationH handle, QSsl::SslProtocol protocol) { ((QSslConfiguration *)handle)->setProtocol(protocol); } QSslSocket::PeerVerifyMode QSslConfiguration_peerVerifyMode(QSslConfigurationH handle) { return (QSslSocket::PeerVerifyMode) ((QSslConfiguration *)handle)->peerVerifyMode(); } void QSslConfiguration_setPeerVerifyMode(QSslConfigurationH handle, QSslSocket::PeerVerifyMode mode) { ((QSslConfiguration *)handle)->setPeerVerifyMode(mode); } int QSslConfiguration_peerVerifyDepth(QSslConfigurationH handle) { return (int) ((QSslConfiguration *)handle)->peerVerifyDepth(); } void QSslConfiguration_setPeerVerifyDepth(QSslConfigurationH handle, int depth) { ((QSslConfiguration *)handle)->setPeerVerifyDepth(depth); } void QSslConfiguration_localCertificate(QSslConfigurationH handle, QSslCertificateH retval) { *(QSslCertificate *)retval = ((QSslConfiguration *)handle)->localCertificate(); } void QSslConfiguration_setLocalCertificate(QSslConfigurationH handle, const QSslCertificateH certificate) { ((QSslConfiguration *)handle)->setLocalCertificate(*(const QSslCertificate*)certificate); } void QSslConfiguration_peerCertificate(QSslConfigurationH handle, QSslCertificateH retval) { *(QSslCertificate *)retval = ((QSslConfiguration *)handle)->peerCertificate(); } void QSslConfiguration_sessionCipher(QSslConfigurationH handle, QSslCipherH retval) { *(QSslCipher *)retval = ((QSslConfiguration *)handle)->sessionCipher(); } void QSslConfiguration_privateKey(QSslConfigurationH handle, QSslKeyH retval) { *(QSslKey *)retval = ((QSslConfiguration *)handle)->privateKey(); } void QSslConfiguration_setPrivateKey(QSslConfigurationH handle, const QSslKeyH key) { ((QSslConfiguration *)handle)->setPrivateKey(*(const QSslKey*)key); } void QSslConfiguration_defaultConfiguration(QSslConfigurationH retval) { *(QSslConfiguration *)retval = QSslConfiguration::defaultConfiguration(); } void QSslConfiguration_setDefaultConfiguration(const QSslConfigurationH configuration) { QSslConfiguration::setDefaultConfiguration(*(const QSslConfiguration*)configuration); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclabstractscrollarea.h0000644000212600021260000000263511677135472021737 0ustar janjan#ifndef QLCLABSTRACTSCROLLAREA_H #define QLCLABSTRACTSCROLLAREA_H #include #include "pascalbind.h" class QLCLAbstractScrollArea : public QAbstractScrollArea { public: //==================================================================================== QLCLAbstractScrollArea(QWidget * parent = 0) : QAbstractScrollArea(parent) { viewportEventOverride.func = NULL; }; //==================================================================================== void override_viewportEvent(const QOverrideHook hook) { viewportEventOverride = hook; } //==================================================================================== bool InheritedViewportEvent(QEvent * event ) { return QAbstractScrollArea::viewportEvent(event); }; private: //==================================================================================== QOverrideHook viewportEventOverride; //==================================================================================== bool viewportEvent(QEvent * event ) { bool result = false; if (viewportEventOverride.func) { typedef void (*func_type)(void *data,const QEventH event, bool * result); (*(func_type)viewportEventOverride.func)(viewportEventOverride.data, (const QEventH)event,(bool *) &result); } else result = QAbstractScrollArea::viewportEvent(event); return result; }; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qapplication_hook_c.cpp0000664000212600021260000000302011677135472021540 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qapplication_hook_c.h" QApplication_hookH QApplication_hook_create(QObjectH handle) { return (QApplication_hookH) new QApplication_hook((QObject*)handle); } void QApplication_hook_destroy(QApplication_hookH handle) { delete (QApplication_hook *)handle; } void QApplication_hook_hook_lastWindowClosed(QApplication_hookH handle, QHookH hook) { ((QApplication_hook *)handle)->hook_lastWindowClosed(hook); } void QApplication_hook_hook_focusChanged(QApplication_hookH handle, QHookH hook) { ((QApplication_hook *)handle)->hook_focusChanged(hook); } void QApplication_hook_hook_fontDatabaseChanged(QApplication_hookH handle, QHookH hook) { ((QApplication_hook *)handle)->hook_fontDatabaseChanged(hook); } #if defined BINUX || MSWINDOWS || DARWIN void QApplication_hook_hook_commitDataRequest(QApplication_hookH handle, QHookH hook) { ((QApplication_hook *)handle)->hook_commitDataRequest(hook); } void QApplication_hook_hook_saveStateRequest(QApplication_hookH handle, QHookH hook) { ((QApplication_hook *)handle)->hook_saveStateRequest(hook); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qevent_c.h0000664000212600021260000003154711677135472017022 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QEVENT_C_H #define QEVENT_C_H #include #include "pascalbind.h" C_EXPORT QInputEventH QInputEvent_create(QEvent::Type type, unsigned int modifiers); C_EXPORT void QInputEvent_destroy(QInputEventH handle); C_EXPORT unsigned int QInputEvent_modifiers(QInputEventH handle); C_EXPORT QMouseEventH QMouseEvent_create(QEvent::Type type, const QPointH pos, Qt::MouseButton button, unsigned int buttons, unsigned int modifiers); C_EXPORT void QMouseEvent_destroy(QMouseEventH handle); C_EXPORT QMouseEventH QMouseEvent_create2(QEvent::Type type, const QPointH pos, const QPointH globalPos, Qt::MouseButton button, unsigned int buttons, unsigned int modifiers); C_EXPORT const QPointH QMouseEvent_pos(QMouseEventH handle); C_EXPORT const QPointH QMouseEvent_globalPos(QMouseEventH handle); C_EXPORT int QMouseEvent_x(QMouseEventH handle); C_EXPORT int QMouseEvent_y(QMouseEventH handle); C_EXPORT int QMouseEvent_globalX(QMouseEventH handle); C_EXPORT int QMouseEvent_globalY(QMouseEventH handle); C_EXPORT Qt::MouseButton QMouseEvent_button(QMouseEventH handle); C_EXPORT unsigned int QMouseEvent_buttons(QMouseEventH handle); C_EXPORT QMouseEventH QMouseEvent_createExtendedMouseEvent(QEvent::Type type, const QPointFH pos, const QPointH globalPos, Qt::MouseButton button, unsigned int buttons, unsigned int modifiers); C_EXPORT bool QMouseEvent_hasExtendedInfo(QMouseEventH handle); C_EXPORT void QMouseEvent_posF(QMouseEventH handle, PQtPointF retval); C_EXPORT QHoverEventH QHoverEvent_create(QEvent::Type type, const QPointH pos, const QPointH oldPos); C_EXPORT void QHoverEvent_destroy(QHoverEventH handle); C_EXPORT const QPointH QHoverEvent_pos(QHoverEventH handle); C_EXPORT const QPointH QHoverEvent_oldPos(QHoverEventH handle); C_EXPORT QWheelEventH QWheelEvent_create(const QPointH pos, int delta, unsigned int buttons, unsigned int modifiers, Qt::Orientation orient); C_EXPORT void QWheelEvent_destroy(QWheelEventH handle); C_EXPORT QWheelEventH QWheelEvent_create2(const QPointH pos, const QPointH globalPos, int delta, unsigned int buttons, unsigned int modifiers, Qt::Orientation orient); C_EXPORT int QWheelEvent_delta(QWheelEventH handle); C_EXPORT const QPointH QWheelEvent_pos(QWheelEventH handle); C_EXPORT const QPointH QWheelEvent_globalPos(QWheelEventH handle); C_EXPORT int QWheelEvent_x(QWheelEventH handle); C_EXPORT int QWheelEvent_y(QWheelEventH handle); C_EXPORT int QWheelEvent_globalX(QWheelEventH handle); C_EXPORT int QWheelEvent_globalY(QWheelEventH handle); C_EXPORT unsigned int QWheelEvent_buttons(QWheelEventH handle); C_EXPORT Qt::Orientation QWheelEvent_orientation(QWheelEventH handle); C_EXPORT QTabletEventH QTabletEvent_create(QEvent::Type t, const QPointH pos, const QPointH globalPos, const QPointFH hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, unsigned int keyState, qint64 uniqueID); C_EXPORT void QTabletEvent_destroy(QTabletEventH handle); C_EXPORT const QPointH QTabletEvent_pos(QTabletEventH handle); C_EXPORT const QPointH QTabletEvent_globalPos(QTabletEventH handle); C_EXPORT const QPointFH QTabletEvent_hiResGlobalPos(QTabletEventH handle); C_EXPORT int QTabletEvent_x(QTabletEventH handle); C_EXPORT int QTabletEvent_y(QTabletEventH handle); C_EXPORT int QTabletEvent_globalX(QTabletEventH handle); C_EXPORT int QTabletEvent_globalY(QTabletEventH handle); C_EXPORT qreal QTabletEvent_hiResGlobalX(QTabletEventH handle); C_EXPORT qreal QTabletEvent_hiResGlobalY(QTabletEventH handle); C_EXPORT QTabletEvent::TabletDevice QTabletEvent_device(QTabletEventH handle); C_EXPORT QTabletEvent::PointerType QTabletEvent_pointerType(QTabletEventH handle); C_EXPORT qint64 QTabletEvent_uniqueId(QTabletEventH handle); C_EXPORT qreal QTabletEvent_pressure(QTabletEventH handle); C_EXPORT int QTabletEvent_z(QTabletEventH handle); C_EXPORT qreal QTabletEvent_tangentialPressure(QTabletEventH handle); C_EXPORT qreal QTabletEvent_rotation(QTabletEventH handle); C_EXPORT int QTabletEvent_xTilt(QTabletEventH handle); C_EXPORT int QTabletEvent_yTilt(QTabletEventH handle); C_EXPORT QKeyEventH QKeyEvent_create(QEvent::Type type, int key, unsigned int modifiers, PWideString text, bool autorep, ushort count); C_EXPORT void QKeyEvent_destroy(QKeyEventH handle); C_EXPORT int QKeyEvent_key(QKeyEventH handle); C_EXPORT bool QKeyEvent_matches(QKeyEventH handle, QKeySequence::StandardKey key); C_EXPORT unsigned int QKeyEvent_modifiers(QKeyEventH handle); C_EXPORT void QKeyEvent_text(QKeyEventH handle, PWideString retval); C_EXPORT bool QKeyEvent_isAutoRepeat(QKeyEventH handle); C_EXPORT int QKeyEvent_count(QKeyEventH handle); C_EXPORT QKeyEventH QKeyEvent_createExtendedKeyEvent(QEvent::Type type, int key, unsigned int modifiers, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers, PWideString text, bool autorep, ushort count); C_EXPORT bool QKeyEvent_hasExtendedInfo(QKeyEventH handle); C_EXPORT quint32 QKeyEvent_nativeScanCode(QKeyEventH handle); C_EXPORT quint32 QKeyEvent_nativeVirtualKey(QKeyEventH handle); C_EXPORT quint32 QKeyEvent_nativeModifiers(QKeyEventH handle); C_EXPORT QFocusEventH QFocusEvent_create(QEvent::Type type, Qt::FocusReason reason); C_EXPORT void QFocusEvent_destroy(QFocusEventH handle); C_EXPORT bool QFocusEvent_gotFocus(QFocusEventH handle); C_EXPORT bool QFocusEvent_lostFocus(QFocusEventH handle); C_EXPORT Qt::FocusReason QFocusEvent_reason(QFocusEventH handle); C_EXPORT QPaintEventH QPaintEvent_create(const QRegionH paintRegion); C_EXPORT void QPaintEvent_destroy(QPaintEventH handle); C_EXPORT QPaintEventH QPaintEvent_create2(PRect paintRect); C_EXPORT void QPaintEvent_rect(QPaintEventH handle, PRect retval); C_EXPORT const QRegionH QPaintEvent_region(QPaintEventH handle); C_EXPORT QMoveEventH QMoveEvent_create(const QPointH pos, const QPointH oldPos); C_EXPORT void QMoveEvent_destroy(QMoveEventH handle); C_EXPORT const QPointH QMoveEvent_pos(QMoveEventH handle); C_EXPORT const QPointH QMoveEvent_oldPos(QMoveEventH handle); C_EXPORT QResizeEventH QResizeEvent_create(const QSizeH size, const QSizeH oldSize); C_EXPORT void QResizeEvent_destroy(QResizeEventH handle); C_EXPORT const QSizeH QResizeEvent_size(QResizeEventH handle); C_EXPORT const QSizeH QResizeEvent_oldSize(QResizeEventH handle); C_EXPORT QCloseEventH QCloseEvent_create(); C_EXPORT void QCloseEvent_destroy(QCloseEventH handle); C_EXPORT QIconDragEventH QIconDragEvent_create(); C_EXPORT void QIconDragEvent_destroy(QIconDragEventH handle); C_EXPORT QShowEventH QShowEvent_create(); C_EXPORT void QShowEvent_destroy(QShowEventH handle); C_EXPORT QHideEventH QHideEvent_create(); C_EXPORT void QHideEvent_destroy(QHideEventH handle); C_EXPORT QContextMenuEventH QContextMenuEvent_create(QContextMenuEvent::Reason reason, const QPointH pos, const QPointH globalPos, unsigned int modifiers); C_EXPORT void QContextMenuEvent_destroy(QContextMenuEventH handle); C_EXPORT QContextMenuEventH QContextMenuEvent_create2(QContextMenuEvent::Reason reason, const QPointH pos, const QPointH globalPos); C_EXPORT QContextMenuEventH QContextMenuEvent_create3(QContextMenuEvent::Reason reason, const QPointH pos); C_EXPORT int QContextMenuEvent_x(QContextMenuEventH handle); C_EXPORT int QContextMenuEvent_y(QContextMenuEventH handle); C_EXPORT int QContextMenuEvent_globalX(QContextMenuEventH handle); C_EXPORT int QContextMenuEvent_globalY(QContextMenuEventH handle); C_EXPORT const QPointH QContextMenuEvent_pos(QContextMenuEventH handle); C_EXPORT const QPointH QContextMenuEvent_globalPos(QContextMenuEventH handle); C_EXPORT QContextMenuEvent::Reason QContextMenuEvent_reason(QContextMenuEventH handle); C_EXPORT QInputMethodEventH QInputMethodEvent_create(); C_EXPORT void QInputMethodEvent_destroy(QInputMethodEventH handle); C_EXPORT void QInputMethodEvent_setCommitString(QInputMethodEventH handle, PWideString commitString, int replaceFrom, int replaceLength); C_EXPORT void QInputMethodEvent_preeditString(QInputMethodEventH handle, PWideString retval); C_EXPORT void QInputMethodEvent_commitString(QInputMethodEventH handle, PWideString retval); C_EXPORT int QInputMethodEvent_replacementStart(QInputMethodEventH handle); C_EXPORT int QInputMethodEvent_replacementLength(QInputMethodEventH handle); C_EXPORT QInputMethodEventH QInputMethodEvent_create3(const QInputMethodEventH other); C_EXPORT QDropEventH QDropEvent_create(const QPointH pos, unsigned int actions, const QMimeDataH data, unsigned int buttons, unsigned int modifiers, QEvent::Type type); C_EXPORT void QDropEvent_destroy(QDropEventH handle); C_EXPORT const QPointH QDropEvent_pos(QDropEventH handle); C_EXPORT unsigned int QDropEvent_mouseButtons(QDropEventH handle); C_EXPORT unsigned int QDropEvent_keyboardModifiers(QDropEventH handle); C_EXPORT unsigned int QDropEvent_possibleActions(QDropEventH handle); C_EXPORT Qt::DropAction QDropEvent_proposedAction(QDropEventH handle); C_EXPORT void QDropEvent_acceptProposedAction(QDropEventH handle); C_EXPORT Qt::DropAction QDropEvent_dropAction(QDropEventH handle); C_EXPORT void QDropEvent_setDropAction(QDropEventH handle, Qt::DropAction action); C_EXPORT QWidgetH QDropEvent_source(QDropEventH handle); C_EXPORT const QMimeDataH QDropEvent_mimeData(QDropEventH handle); C_EXPORT const char* QDropEvent_format(QDropEventH handle, int n); C_EXPORT void QDropEvent_encodedData(QDropEventH handle, QByteArrayH retval, const char* AnonParam1); C_EXPORT bool QDropEvent_provides(QDropEventH handle, const char* AnonParam1); C_EXPORT QDragMoveEventH QDragMoveEvent_create(const QPointH pos, unsigned int actions, const QMimeDataH data, unsigned int buttons, unsigned int modifiers, QEvent::Type type); C_EXPORT void QDragMoveEvent_destroy(QDragMoveEventH handle); C_EXPORT void QDragMoveEvent_answerRect(QDragMoveEventH handle, PRect retval); C_EXPORT void QDragMoveEvent_accept(QDragMoveEventH handle); C_EXPORT void QDragMoveEvent_ignore(QDragMoveEventH handle); C_EXPORT void QDragMoveEvent_accept2(QDragMoveEventH handle, PRect r); C_EXPORT void QDragMoveEvent_ignore2(QDragMoveEventH handle, PRect r); C_EXPORT QDragEnterEventH QDragEnterEvent_create(const QPointH pos, unsigned int actions, const QMimeDataH data, unsigned int buttons, unsigned int modifiers); C_EXPORT void QDragEnterEvent_destroy(QDragEnterEventH handle); C_EXPORT QDragLeaveEventH QDragLeaveEvent_create(); C_EXPORT void QDragLeaveEvent_destroy(QDragLeaveEventH handle); C_EXPORT QHelpEventH QHelpEvent_create(QEvent::Type type, const QPointH pos, const QPointH globalPos); C_EXPORT void QHelpEvent_destroy(QHelpEventH handle); C_EXPORT int QHelpEvent_x(QHelpEventH handle); C_EXPORT int QHelpEvent_y(QHelpEventH handle); C_EXPORT int QHelpEvent_globalX(QHelpEventH handle); C_EXPORT int QHelpEvent_globalY(QHelpEventH handle); C_EXPORT const QPointH QHelpEvent_pos(QHelpEventH handle); C_EXPORT const QPointH QHelpEvent_globalPos(QHelpEventH handle); C_EXPORT QStatusTipEventH QStatusTipEvent_create(PWideString tip); C_EXPORT void QStatusTipEvent_destroy(QStatusTipEventH handle); C_EXPORT void QStatusTipEvent_tip(QStatusTipEventH handle, PWideString retval); C_EXPORT QWhatsThisClickedEventH QWhatsThisClickedEvent_create(PWideString href); C_EXPORT void QWhatsThisClickedEvent_destroy(QWhatsThisClickedEventH handle); C_EXPORT void QWhatsThisClickedEvent_href(QWhatsThisClickedEventH handle, PWideString retval); C_EXPORT QActionEventH QActionEvent_create(int type, QActionH action, QActionH before); C_EXPORT void QActionEvent_destroy(QActionEventH handle); C_EXPORT QActionH QActionEvent_action(QActionEventH handle); C_EXPORT QActionH QActionEvent_before(QActionEventH handle); C_EXPORT QFileOpenEventH QFileOpenEvent_create(PWideString file); C_EXPORT void QFileOpenEvent_destroy(QFileOpenEventH handle); C_EXPORT void QFileOpenEvent_file(QFileOpenEventH handle, PWideString retval); C_EXPORT QShortcutEventH QShortcutEvent_create(const QKeySequenceH key, int id, bool ambiguous); C_EXPORT void QShortcutEvent_destroy(QShortcutEventH handle); C_EXPORT const QKeySequenceH QShortcutEvent_key(QShortcutEventH handle); C_EXPORT int QShortcutEvent_shortcutId(QShortcutEventH handle); C_EXPORT bool QShortcutEvent_isAmbiguous(QShortcutEventH handle); C_EXPORT QWindowStateChangeEventH QWindowStateChangeEvent_create(unsigned int aOldState); C_EXPORT void QWindowStateChangeEvent_destroy(QWindowStateChangeEventH handle); C_EXPORT QWindowStateChangeEventH QWindowStateChangeEvent_create2(unsigned int aOldState, bool isOverride); C_EXPORT unsigned int QWindowStateChangeEvent_oldState(QWindowStateChangeEventH handle); C_EXPORT bool QWindowStateChangeEvent_isOverride(QWindowStateChangeEventH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qgraphicsscene_c.cpp0000664000212600021260000003327311677135472021050 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qgraphicsscene_c.h" QGraphicsSceneH QGraphicsScene_create(QObjectH parent) { return (QGraphicsSceneH) new QGraphicsScene((QObject*)parent); } void QGraphicsScene_destroy(QGraphicsSceneH handle) { delete (QGraphicsScene *)handle; } QGraphicsSceneH QGraphicsScene_create2(const QRectFH sceneRect, QObjectH parent) { return (QGraphicsSceneH) new QGraphicsScene(*(const QRectF*)sceneRect, (QObject*)parent); } QGraphicsSceneH QGraphicsScene_create3(qreal x, qreal y, qreal width, qreal height, QObjectH parent) { return (QGraphicsSceneH) new QGraphicsScene(x, y, width, height, (QObject*)parent); } void QGraphicsScene_sceneRect(QGraphicsSceneH handle, QRectFH retval) { *(QRectF *)retval = ((QGraphicsScene *)handle)->sceneRect(); } qreal QGraphicsScene_width(QGraphicsSceneH handle) { return (qreal) ((QGraphicsScene *)handle)->width(); } qreal QGraphicsScene_height(QGraphicsSceneH handle) { return (qreal) ((QGraphicsScene *)handle)->height(); } void QGraphicsScene_setSceneRect(QGraphicsSceneH handle, const QRectFH rect) { ((QGraphicsScene *)handle)->setSceneRect(*(const QRectF*)rect); } void QGraphicsScene_setSceneRect2(QGraphicsSceneH handle, qreal x, qreal y, qreal w, qreal h) { ((QGraphicsScene *)handle)->setSceneRect(x, y, w, h); } void QGraphicsScene_render(QGraphicsSceneH handle, QPainterH painter, const QRectFH target, const QRectFH source, Qt::AspectRatioMode aspectRatioMode) { ((QGraphicsScene *)handle)->render((QPainter*)painter, *(const QRectF*)target, *(const QRectF*)source, aspectRatioMode); } QGraphicsScene::ItemIndexMethod QGraphicsScene_itemIndexMethod(QGraphicsSceneH handle) { return (QGraphicsScene::ItemIndexMethod) ((QGraphicsScene *)handle)->itemIndexMethod(); } void QGraphicsScene_setItemIndexMethod(QGraphicsSceneH handle, QGraphicsScene::ItemIndexMethod method) { ((QGraphicsScene *)handle)->setItemIndexMethod(method); } bool QGraphicsScene_isSortCacheEnabled(QGraphicsSceneH handle) { return (bool) ((QGraphicsScene *)handle)->isSortCacheEnabled(); } void QGraphicsScene_setSortCacheEnabled(QGraphicsSceneH handle, bool enabled) { ((QGraphicsScene *)handle)->setSortCacheEnabled(enabled); } int QGraphicsScene_bspTreeDepth(QGraphicsSceneH handle) { return (int) ((QGraphicsScene *)handle)->bspTreeDepth(); } void QGraphicsScene_setBspTreeDepth(QGraphicsSceneH handle, int depth) { ((QGraphicsScene *)handle)->setBspTreeDepth(depth); } void QGraphicsScene_itemsBoundingRect(QGraphicsSceneH handle, QRectFH retval) { *(QRectF *)retval = ((QGraphicsScene *)handle)->itemsBoundingRect(); } void QGraphicsScene_items(QGraphicsSceneH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QGraphicsScene *)handle)->items(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QGraphicsScene_items2(QGraphicsSceneH handle, PPtrIntArray retval, const QPointFH pos) { QList t_retval; t_retval = ((QGraphicsScene *)handle)->items(*(const QPointF*)pos); copyQListTemplateToPtrIntArray(t_retval, retval); } void QGraphicsScene_items3(QGraphicsSceneH handle, PPtrIntArray retval, const QRectFH rect, Qt::ItemSelectionMode mode) { QList t_retval; t_retval = ((QGraphicsScene *)handle)->items(*(const QRectF*)rect, mode); copyQListTemplateToPtrIntArray(t_retval, retval); } void QGraphicsScene_items4(QGraphicsSceneH handle, PPtrIntArray retval, const QPolygonFH polygon, Qt::ItemSelectionMode mode) { QList t_retval; t_retval = ((QGraphicsScene *)handle)->items(*(const QPolygonF*)polygon, mode); copyQListTemplateToPtrIntArray(t_retval, retval); } void QGraphicsScene_items5(QGraphicsSceneH handle, PPtrIntArray retval, const QPainterPathH path, Qt::ItemSelectionMode mode) { QList t_retval; t_retval = ((QGraphicsScene *)handle)->items(*(const QPainterPath*)path, mode); copyQListTemplateToPtrIntArray(t_retval, retval); } void QGraphicsScene_collidingItems(QGraphicsSceneH handle, PPtrIntArray retval, const QGraphicsItemH item, Qt::ItemSelectionMode mode) { QList t_retval; t_retval = ((QGraphicsScene *)handle)->collidingItems((const QGraphicsItem*)item, mode); copyQListTemplateToPtrIntArray(t_retval, retval); } QGraphicsItemH QGraphicsScene_itemAt(QGraphicsSceneH handle, const QPointFH pos) { return (QGraphicsItemH) ((QGraphicsScene *)handle)->itemAt(*(const QPointF*)pos); } void QGraphicsScene_items6(QGraphicsSceneH handle, PPtrIntArray retval, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode) { QList t_retval; t_retval = ((QGraphicsScene *)handle)->items(x, y, w, h, mode); copyQListTemplateToPtrIntArray(t_retval, retval); } QGraphicsItemH QGraphicsScene_itemAt2(QGraphicsSceneH handle, qreal x, qreal y) { return (QGraphicsItemH) ((QGraphicsScene *)handle)->itemAt(x, y); } void QGraphicsScene_selectedItems(QGraphicsSceneH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QGraphicsScene *)handle)->selectedItems(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QGraphicsScene_selectionArea(QGraphicsSceneH handle, QPainterPathH retval) { *(QPainterPath *)retval = ((QGraphicsScene *)handle)->selectionArea(); } void QGraphicsScene_setSelectionArea(QGraphicsSceneH handle, const QPainterPathH path) { ((QGraphicsScene *)handle)->setSelectionArea(*(const QPainterPath*)path); } void QGraphicsScene_setSelectionArea2(QGraphicsSceneH handle, const QPainterPathH path, Qt::ItemSelectionMode AnonParam2) { ((QGraphicsScene *)handle)->setSelectionArea(*(const QPainterPath*)path, AnonParam2); } QGraphicsItemGroupH QGraphicsScene_createItemGroup(QGraphicsSceneH handle, PPtrIntArray items) { QList t_items; copyPtrIntArrayToQListTemplate(items, t_items); return (QGraphicsItemGroupH) ((QGraphicsScene *)handle)->createItemGroup(t_items); } void QGraphicsScene_destroyItemGroup(QGraphicsSceneH handle, QGraphicsItemGroupH group) { ((QGraphicsScene *)handle)->destroyItemGroup((QGraphicsItemGroup*)group); } void QGraphicsScene_addItem(QGraphicsSceneH handle, QGraphicsItemH item) { ((QGraphicsScene *)handle)->addItem((QGraphicsItem*)item); } QGraphicsEllipseItemH QGraphicsScene_addEllipse(QGraphicsSceneH handle, const QRectFH rect, const QPenH pen, const QBrushH brush) { return (QGraphicsEllipseItemH) ((QGraphicsScene *)handle)->addEllipse(*(const QRectF*)rect, *(const QPen*)pen, *(const QBrush*)brush); } QGraphicsLineItemH QGraphicsScene_addLine(QGraphicsSceneH handle, const QLineFH line, const QPenH pen) { return (QGraphicsLineItemH) ((QGraphicsScene *)handle)->addLine(*(const QLineF*)line, *(const QPen*)pen); } QGraphicsPathItemH QGraphicsScene_addPath(QGraphicsSceneH handle, const QPainterPathH path, const QPenH pen, const QBrushH brush) { return (QGraphicsPathItemH) ((QGraphicsScene *)handle)->addPath(*(const QPainterPath*)path, *(const QPen*)pen, *(const QBrush*)brush); } QGraphicsPixmapItemH QGraphicsScene_addPixmap(QGraphicsSceneH handle, const QPixmapH pixmap) { return (QGraphicsPixmapItemH) ((QGraphicsScene *)handle)->addPixmap(*(const QPixmap*)pixmap); } QGraphicsPolygonItemH QGraphicsScene_addPolygon(QGraphicsSceneH handle, const QPolygonFH polygon, const QPenH pen, const QBrushH brush) { return (QGraphicsPolygonItemH) ((QGraphicsScene *)handle)->addPolygon(*(const QPolygonF*)polygon, *(const QPen*)pen, *(const QBrush*)brush); } QGraphicsRectItemH QGraphicsScene_addRect(QGraphicsSceneH handle, const QRectFH rect, const QPenH pen, const QBrushH brush) { return (QGraphicsRectItemH) ((QGraphicsScene *)handle)->addRect(*(const QRectF*)rect, *(const QPen*)pen, *(const QBrush*)brush); } QGraphicsTextItemH QGraphicsScene_addText(QGraphicsSceneH handle, PWideString text, const QFontH font) { QString t_text; copyPWideStringToQString(text, t_text); return (QGraphicsTextItemH) ((QGraphicsScene *)handle)->addText(t_text, *(const QFont*)font); } QGraphicsSimpleTextItemH QGraphicsScene_addSimpleText(QGraphicsSceneH handle, PWideString text, const QFontH font) { QString t_text; copyPWideStringToQString(text, t_text); return (QGraphicsSimpleTextItemH) ((QGraphicsScene *)handle)->addSimpleText(t_text, *(const QFont*)font); } QGraphicsProxyWidgetH QGraphicsScene_addWidget(QGraphicsSceneH handle, QWidgetH widget, unsigned int wFlags) { return (QGraphicsProxyWidgetH) ((QGraphicsScene *)handle)->addWidget((QWidget*)widget, (Qt::WindowFlags)wFlags); } QGraphicsEllipseItemH QGraphicsScene_addEllipse2(QGraphicsSceneH handle, qreal x, qreal y, qreal w, qreal h, const QPenH pen, const QBrushH brush) { return (QGraphicsEllipseItemH) ((QGraphicsScene *)handle)->addEllipse(x, y, w, h, *(const QPen*)pen, *(const QBrush*)brush); } QGraphicsLineItemH QGraphicsScene_addLine2(QGraphicsSceneH handle, qreal x1, qreal y1, qreal x2, qreal y2, const QPenH pen) { return (QGraphicsLineItemH) ((QGraphicsScene *)handle)->addLine(x1, y1, x2, y2, *(const QPen*)pen); } QGraphicsRectItemH QGraphicsScene_addRect2(QGraphicsSceneH handle, qreal x, qreal y, qreal w, qreal h, const QPenH pen, const QBrushH brush) { return (QGraphicsRectItemH) ((QGraphicsScene *)handle)->addRect(x, y, w, h, *(const QPen*)pen, *(const QBrush*)brush); } void QGraphicsScene_removeItem(QGraphicsSceneH handle, QGraphicsItemH item) { ((QGraphicsScene *)handle)->removeItem((QGraphicsItem*)item); } QGraphicsItemH QGraphicsScene_focusItem(QGraphicsSceneH handle) { return (QGraphicsItemH) ((QGraphicsScene *)handle)->focusItem(); } void QGraphicsScene_setFocusItem(QGraphicsSceneH handle, QGraphicsItemH item, Qt::FocusReason focusReason) { ((QGraphicsScene *)handle)->setFocusItem((QGraphicsItem*)item, focusReason); } bool QGraphicsScene_hasFocus(QGraphicsSceneH handle) { return (bool) ((QGraphicsScene *)handle)->hasFocus(); } void QGraphicsScene_setFocus(QGraphicsSceneH handle, Qt::FocusReason focusReason) { ((QGraphicsScene *)handle)->setFocus(focusReason); } void QGraphicsScene_clearFocus(QGraphicsSceneH handle) { ((QGraphicsScene *)handle)->clearFocus(); } void QGraphicsScene_setStickyFocus(QGraphicsSceneH handle, bool enabled) { ((QGraphicsScene *)handle)->setStickyFocus(enabled); } bool QGraphicsScene_stickyFocus(QGraphicsSceneH handle) { return (bool) ((QGraphicsScene *)handle)->stickyFocus(); } QGraphicsItemH QGraphicsScene_mouseGrabberItem(QGraphicsSceneH handle) { return (QGraphicsItemH) ((QGraphicsScene *)handle)->mouseGrabberItem(); } void QGraphicsScene_backgroundBrush(QGraphicsSceneH handle, QBrushH retval) { *(QBrush *)retval = ((QGraphicsScene *)handle)->backgroundBrush(); } void QGraphicsScene_setBackgroundBrush(QGraphicsSceneH handle, const QBrushH brush) { ((QGraphicsScene *)handle)->setBackgroundBrush(*(const QBrush*)brush); } void QGraphicsScene_foregroundBrush(QGraphicsSceneH handle, QBrushH retval) { *(QBrush *)retval = ((QGraphicsScene *)handle)->foregroundBrush(); } void QGraphicsScene_setForegroundBrush(QGraphicsSceneH handle, const QBrushH brush) { ((QGraphicsScene *)handle)->setForegroundBrush(*(const QBrush*)brush); } void QGraphicsScene_inputMethodQuery(QGraphicsSceneH handle, QVariantH retval, Qt::InputMethodQuery query) { *(QVariant *)retval = ((QGraphicsScene *)handle)->inputMethodQuery(query); } void QGraphicsScene_views(QGraphicsSceneH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QGraphicsScene *)handle)->views(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QGraphicsScene_update(QGraphicsSceneH handle, qreal x, qreal y, qreal w, qreal h) { ((QGraphicsScene *)handle)->update(x, y, w, h); } void QGraphicsScene_invalidate(QGraphicsSceneH handle, qreal x, qreal y, qreal w, qreal h, unsigned int layers) { ((QGraphicsScene *)handle)->invalidate(x, y, w, h, (QGraphicsScene::SceneLayers)layers); } QStyleH QGraphicsScene_style(QGraphicsSceneH handle) { return (QStyleH) ((QGraphicsScene *)handle)->style(); } void QGraphicsScene_setStyle(QGraphicsSceneH handle, QStyleH style) { ((QGraphicsScene *)handle)->setStyle((QStyle*)style); } void QGraphicsScene_font(QGraphicsSceneH handle, QFontH retval) { *(QFont *)retval = ((QGraphicsScene *)handle)->font(); } void QGraphicsScene_setFont(QGraphicsSceneH handle, const QFontH font) { ((QGraphicsScene *)handle)->setFont(*(const QFont*)font); } void QGraphicsScene_palette(QGraphicsSceneH handle, QPaletteH retval) { *(QPalette *)retval = ((QGraphicsScene *)handle)->palette(); } void QGraphicsScene_setPalette(QGraphicsSceneH handle, const QPaletteH palette) { ((QGraphicsScene *)handle)->setPalette(*(const QPalette*)palette); } QGraphicsWidgetH QGraphicsScene_activeWindow(QGraphicsSceneH handle) { return (QGraphicsWidgetH) ((QGraphicsScene *)handle)->activeWindow(); } void QGraphicsScene_setActiveWindow(QGraphicsSceneH handle, QGraphicsWidgetH widget) { ((QGraphicsScene *)handle)->setActiveWindow((QGraphicsWidget*)widget); } void QGraphicsScene_update2(QGraphicsSceneH handle, const QRectFH rect) { ((QGraphicsScene *)handle)->update(*(const QRectF*)rect); } void QGraphicsScene_invalidate2(QGraphicsSceneH handle, const QRectFH rect, unsigned int layers) { ((QGraphicsScene *)handle)->invalidate(*(const QRectF*)rect, (QGraphicsScene::SceneLayers)layers); } void QGraphicsScene_advance(QGraphicsSceneH handle) { ((QGraphicsScene *)handle)->advance(); } void QGraphicsScene_clearSelection(QGraphicsSceneH handle) { ((QGraphicsScene *)handle)->clearSelection(); } void QGraphicsScene_clear(QGraphicsSceneH handle) { ((QGraphicsScene *)handle)->clear(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdockwidget_c.h0000664000212600021260000000322711677135472020017 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDOCKWIDGET_C_H #define QDOCKWIDGET_C_H #include #include "pascalbind.h" C_EXPORT QDockWidgetH QDockWidget_create(PWideString title, QWidgetH parent, unsigned int flags); C_EXPORT void QDockWidget_destroy(QDockWidgetH handle); C_EXPORT QDockWidgetH QDockWidget_create2(QWidgetH parent, unsigned int flags); C_EXPORT QWidgetH QDockWidget_widget(QDockWidgetH handle); C_EXPORT void QDockWidget_setWidget(QDockWidgetH handle, QWidgetH widget); C_EXPORT void QDockWidget_setFeatures(QDockWidgetH handle, unsigned int features); C_EXPORT unsigned int QDockWidget_features(QDockWidgetH handle); C_EXPORT void QDockWidget_setFloating(QDockWidgetH handle, bool floating); C_EXPORT bool QDockWidget_isFloating(QDockWidgetH handle); C_EXPORT void QDockWidget_setAllowedAreas(QDockWidgetH handle, unsigned int areas); C_EXPORT unsigned int QDockWidget_allowedAreas(QDockWidgetH handle); C_EXPORT void QDockWidget_setTitleBarWidget(QDockWidgetH handle, QWidgetH widget); C_EXPORT QWidgetH QDockWidget_titleBarWidget(QDockWidgetH handle); C_EXPORT bool QDockWidget_isAreaAllowed(QDockWidgetH handle, Qt::DockWidgetArea area); C_EXPORT QActionH QDockWidget_toggleViewAction(QDockWidgetH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qitemdelegate_c.cpp0000664000212600021260000000536211677135472020661 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qitemdelegate_c.h" QItemDelegateH QItemDelegate_create(QObjectH parent) { return (QItemDelegateH) new QItemDelegate((QObject*)parent); } void QItemDelegate_destroy(QItemDelegateH handle) { delete (QItemDelegate *)handle; } bool QItemDelegate_hasClipping(QItemDelegateH handle) { return (bool) ((QItemDelegate *)handle)->hasClipping(); } void QItemDelegate_setClipping(QItemDelegateH handle, bool clip) { ((QItemDelegate *)handle)->setClipping(clip); } void QItemDelegate_paint(QItemDelegateH handle, QPainterH painter, const QStyleOptionViewItemH option, const QModelIndexH index) { ((QItemDelegate *)handle)->paint((QPainter*)painter, *(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } void QItemDelegate_sizeHint(QItemDelegateH handle, PSize retval, const QStyleOptionViewItemH option, const QModelIndexH index) { *(QSize *)retval = ((QItemDelegate *)handle)->sizeHint(*(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } QWidgetH QItemDelegate_createEditor(QItemDelegateH handle, QWidgetH parent, const QStyleOptionViewItemH option, const QModelIndexH index) { return (QWidgetH) ((QItemDelegate *)handle)->createEditor((QWidget*)parent, *(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } void QItemDelegate_setEditorData(QItemDelegateH handle, QWidgetH editor, const QModelIndexH index) { ((QItemDelegate *)handle)->setEditorData((QWidget*)editor, *(const QModelIndex*)index); } void QItemDelegate_setModelData(QItemDelegateH handle, QWidgetH editor, QAbstractItemModelH model, const QModelIndexH index) { ((QItemDelegate *)handle)->setModelData((QWidget*)editor, (QAbstractItemModel*)model, *(const QModelIndex*)index); } void QItemDelegate_updateEditorGeometry(QItemDelegateH handle, QWidgetH editor, const QStyleOptionViewItemH option, const QModelIndexH index) { ((QItemDelegate *)handle)->updateEditorGeometry((QWidget*)editor, *(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } QItemEditorFactoryH QItemDelegate_itemEditorFactory(QItemDelegateH handle) { return (QItemEditorFactoryH) ((QItemDelegate *)handle)->itemEditorFactory(); } void QItemDelegate_setItemEditorFactory(QItemDelegateH handle, QItemEditorFactoryH factory) { ((QItemDelegate *)handle)->setItemEditorFactory((QItemEditorFactory*)factory); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextedit_c.h0000664000212600021260000001470511677135472017530 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTEXTEDIT_C_H #define QTEXTEDIT_C_H #include #include "pascalbind.h" C_EXPORT QTextEditH QTextEdit_create(QWidgetH parent); C_EXPORT void QTextEdit_destroy(QTextEditH handle); C_EXPORT QTextEditH QTextEdit_create2(PWideString text, QWidgetH parent); C_EXPORT void QTextEdit_setDocument(QTextEditH handle, QTextDocumentH document); C_EXPORT QTextDocumentH QTextEdit_document(QTextEditH handle); C_EXPORT void QTextEdit_setTextCursor(QTextEditH handle, const QTextCursorH cursor); C_EXPORT void QTextEdit_textCursor(QTextEditH handle, QTextCursorH retval); C_EXPORT bool QTextEdit_isReadOnly(QTextEditH handle); C_EXPORT void QTextEdit_setReadOnly(QTextEditH handle, bool ro); C_EXPORT void QTextEdit_setTextInteractionFlags(QTextEditH handle, unsigned int flags); C_EXPORT unsigned int QTextEdit_textInteractionFlags(QTextEditH handle); C_EXPORT qreal QTextEdit_fontPointSize(QTextEditH handle); C_EXPORT void QTextEdit_fontFamily(QTextEditH handle, PWideString retval); C_EXPORT int QTextEdit_fontWeight(QTextEditH handle); C_EXPORT bool QTextEdit_fontUnderline(QTextEditH handle); C_EXPORT bool QTextEdit_fontItalic(QTextEditH handle); C_EXPORT void QTextEdit_textColor(QTextEditH handle, PQColor retval); C_EXPORT void QTextEdit_textBackgroundColor(QTextEditH handle, PQColor retval); C_EXPORT void QTextEdit_currentFont(QTextEditH handle, QFontH retval); C_EXPORT unsigned int QTextEdit_alignment(QTextEditH handle); C_EXPORT void QTextEdit_mergeCurrentCharFormat(QTextEditH handle, const QTextCharFormatH modifier); C_EXPORT void QTextEdit_setCurrentCharFormat(QTextEditH handle, const QTextCharFormatH format); C_EXPORT void QTextEdit_currentCharFormat(QTextEditH handle, QTextCharFormatH retval); C_EXPORT unsigned int QTextEdit_autoFormatting(QTextEditH handle); C_EXPORT void QTextEdit_setAutoFormatting(QTextEditH handle, unsigned int features); C_EXPORT bool QTextEdit_tabChangesFocus(QTextEditH handle); C_EXPORT void QTextEdit_setTabChangesFocus(QTextEditH handle, bool b); C_EXPORT void QTextEdit_setDocumentTitle(QTextEditH handle, PWideString title); C_EXPORT void QTextEdit_documentTitle(QTextEditH handle, PWideString retval); C_EXPORT bool QTextEdit_isUndoRedoEnabled(QTextEditH handle); C_EXPORT void QTextEdit_setUndoRedoEnabled(QTextEditH handle, bool enable); C_EXPORT QTextEdit::LineWrapMode QTextEdit_lineWrapMode(QTextEditH handle); C_EXPORT void QTextEdit_setLineWrapMode(QTextEditH handle, QTextEdit::LineWrapMode mode); C_EXPORT int QTextEdit_lineWrapColumnOrWidth(QTextEditH handle); C_EXPORT void QTextEdit_setLineWrapColumnOrWidth(QTextEditH handle, int w); C_EXPORT QTextOption::WrapMode QTextEdit_wordWrapMode(QTextEditH handle); C_EXPORT void QTextEdit_setWordWrapMode(QTextEditH handle, QTextOption::WrapMode policy); C_EXPORT bool QTextEdit_find(QTextEditH handle, PWideString exp, unsigned int options); C_EXPORT void QTextEdit_toPlainText(QTextEditH handle, PWideString retval); C_EXPORT void QTextEdit_toHtml(QTextEditH handle, PWideString retval); C_EXPORT void QTextEdit_ensureCursorVisible(QTextEditH handle); C_EXPORT void QTextEdit_loadResource(QTextEditH handle, QVariantH retval, int type, const QUrlH name); C_EXPORT QMenuH QTextEdit_createStandardContextMenu(QTextEditH handle); C_EXPORT QMenuH QTextEdit_createStandardContextMenu2(QTextEditH handle, const QPointH position); C_EXPORT void QTextEdit_cursorForPosition(QTextEditH handle, QTextCursorH retval, const QPointH pos); C_EXPORT void QTextEdit_cursorRect(QTextEditH handle, PRect retval, const QTextCursorH cursor); C_EXPORT void QTextEdit_cursorRect2(QTextEditH handle, PRect retval); C_EXPORT void QTextEdit_anchorAt(QTextEditH handle, PWideString retval, const QPointH pos); C_EXPORT bool QTextEdit_overwriteMode(QTextEditH handle); C_EXPORT void QTextEdit_setOverwriteMode(QTextEditH handle, bool overwrite); C_EXPORT int QTextEdit_tabStopWidth(QTextEditH handle); C_EXPORT void QTextEdit_setTabStopWidth(QTextEditH handle, int width); C_EXPORT int QTextEdit_cursorWidth(QTextEditH handle); C_EXPORT void QTextEdit_setCursorWidth(QTextEditH handle, int width); C_EXPORT bool QTextEdit_acceptRichText(QTextEditH handle); C_EXPORT void QTextEdit_setAcceptRichText(QTextEditH handle, bool accept); C_EXPORT void QTextEdit_moveCursor(QTextEditH handle, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode); C_EXPORT bool QTextEdit_canPaste(QTextEditH handle); C_EXPORT void QTextEdit_print(QTextEditH handle, QPrinterH printer); C_EXPORT void QTextEdit_setFontPointSize(QTextEditH handle, qreal s); C_EXPORT void QTextEdit_setFontFamily(QTextEditH handle, PWideString fontFamily); C_EXPORT void QTextEdit_setFontWeight(QTextEditH handle, int w); C_EXPORT void QTextEdit_setFontUnderline(QTextEditH handle, bool b); C_EXPORT void QTextEdit_setFontItalic(QTextEditH handle, bool b); C_EXPORT void QTextEdit_setTextColor(QTextEditH handle, const QColorH c); C_EXPORT void QTextEdit_setTextBackgroundColor(QTextEditH handle, const QColorH c); C_EXPORT void QTextEdit_setCurrentFont(QTextEditH handle, const QFontH f); C_EXPORT void QTextEdit_setAlignment(QTextEditH handle, unsigned int a); C_EXPORT void QTextEdit_setPlainText(QTextEditH handle, PWideString text); C_EXPORT void QTextEdit_setHtml(QTextEditH handle, PWideString text); C_EXPORT void QTextEdit_setText(QTextEditH handle, PWideString text); C_EXPORT void QTextEdit_cut(QTextEditH handle); C_EXPORT void QTextEdit_copy(QTextEditH handle); C_EXPORT void QTextEdit_paste(QTextEditH handle); C_EXPORT void QTextEdit_undo(QTextEditH handle); C_EXPORT void QTextEdit_redo(QTextEditH handle); C_EXPORT void QTextEdit_clear(QTextEditH handle); C_EXPORT void QTextEdit_selectAll(QTextEditH handle); C_EXPORT void QTextEdit_insertPlainText(QTextEditH handle, PWideString text); C_EXPORT void QTextEdit_insertHtml(QTextEditH handle, PWideString text); C_EXPORT void QTextEdit_append(QTextEditH handle, PWideString text); C_EXPORT void QTextEdit_scrollToAnchor(QTextEditH handle, PWideString name); C_EXPORT void QTextEdit_zoomIn(QTextEditH handle, int range); C_EXPORT void QTextEdit_zoomOut(QTextEditH handle, int range); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlistwidget_hook_c.cpp0000664000212600021260000000462411677135472021427 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlistwidget_hook_c.h" QListWidgetItem_hookH QListWidgetItem_hook_create(QObjectH handle) { return (QListWidgetItem_hookH) new QListWidgetItem_hook((QObject*)handle); } void QListWidgetItem_hook_destroy(QListWidgetItem_hookH handle) { delete (QListWidgetItem_hook *)handle; } QListWidget_hookH QListWidget_hook_create(QObjectH handle) { return (QListWidget_hookH) new QListWidget_hook((QObject*)handle); } void QListWidget_hook_destroy(QListWidget_hookH handle) { delete (QListWidget_hook *)handle; } void QListWidget_hook_hook_itemPressed(QListWidget_hookH handle, QHookH hook) { ((QListWidget_hook *)handle)->hook_itemPressed(hook); } void QListWidget_hook_hook_itemClicked(QListWidget_hookH handle, QHookH hook) { ((QListWidget_hook *)handle)->hook_itemClicked(hook); } void QListWidget_hook_hook_itemDoubleClicked(QListWidget_hookH handle, QHookH hook) { ((QListWidget_hook *)handle)->hook_itemDoubleClicked(hook); } void QListWidget_hook_hook_itemActivated(QListWidget_hookH handle, QHookH hook) { ((QListWidget_hook *)handle)->hook_itemActivated(hook); } void QListWidget_hook_hook_itemEntered(QListWidget_hookH handle, QHookH hook) { ((QListWidget_hook *)handle)->hook_itemEntered(hook); } void QListWidget_hook_hook_itemChanged(QListWidget_hookH handle, QHookH hook) { ((QListWidget_hook *)handle)->hook_itemChanged(hook); } void QListWidget_hook_hook_currentItemChanged(QListWidget_hookH handle, QHookH hook) { ((QListWidget_hook *)handle)->hook_currentItemChanged(hook); } void QListWidget_hook_hook_currentTextChanged(QListWidget_hookH handle, QHookH hook) { ((QListWidget_hook *)handle)->hook_currentTextChanged(hook); } void QListWidget_hook_hook_currentRowChanged(QListWidget_hookH handle, QHookH hook) { ((QListWidget_hook *)handle)->hook_currentRowChanged(hook); } void QListWidget_hook_hook_itemSelectionChanged(QListWidget_hookH handle, QHookH hook) { ((QListWidget_hook *)handle)->hook_itemSelectionChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcolor_c.cpp0000664000212600021260000002023311677135472017340 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qcolor_c.h" QColorH QColor_create() { return (QColorH) new QColor(); } void QColor_destroy(QColorH handle) { delete (QColor *)handle; } QColorH QColor_create2(Qt::GlobalColor color) { return (QColorH) new QColor(color); } QColorH QColor_create3(int r, int g, int b, int a) { return (QColorH) new QColor(r, g, b, a); } QColorH QColor_create4(QRgb rgb) { return (QColorH) new QColor(rgb); } QColorH QColor_create5(PWideString name) { QString t_name; copyPWideStringToQString(name, t_name); return (QColorH) new QColor(t_name); } QColorH QColor_create6(const char* name) { return (QColorH) new QColor(name); } QColorH QColor_create7(const QColorH color) { return (QColorH) new QColor(*(const QColor*)color); } QColorH QColor_create8(QColor::Spec spec) { return (QColorH) new QColor(spec); } bool QColor_isValid(QColorH handle) { return (bool) ((QColor *)handle)->isValid(); } void QColor_name(QColorH handle, PWideString retval) { QString t_retval; t_retval = ((QColor *)handle)->name(); copyQStringToPWideString(t_retval, retval); } void QColor_setNamedColor(QColorH handle, PWideString name) { QString t_name; copyPWideStringToQString(name, t_name); ((QColor *)handle)->setNamedColor(t_name); } void QColor_colorNames(QStringListH retval) { *(QStringList *)retval = QColor::colorNames(); } QColor::Spec QColor_spec(QColorH handle) { return (QColor::Spec) ((QColor *)handle)->spec(); } int QColor_alpha(QColorH handle) { return (int) ((QColor *)handle)->alpha(); } void QColor_setAlpha(QColorH handle, int alpha) { ((QColor *)handle)->setAlpha(alpha); } qreal QColor_alphaF(QColorH handle) { return (qreal) ((QColor *)handle)->alphaF(); } void QColor_setAlphaF(QColorH handle, qreal alpha) { ((QColor *)handle)->setAlphaF(alpha); } int QColor_red(QColorH handle) { return (int) ((QColor *)handle)->red(); } int QColor_green(QColorH handle) { return (int) ((QColor *)handle)->green(); } int QColor_blue(QColorH handle) { return (int) ((QColor *)handle)->blue(); } void QColor_setRed(QColorH handle, int red) { ((QColor *)handle)->setRed(red); } void QColor_setGreen(QColorH handle, int green) { ((QColor *)handle)->setGreen(green); } void QColor_setBlue(QColorH handle, int blue) { ((QColor *)handle)->setBlue(blue); } qreal QColor_redF(QColorH handle) { return (qreal) ((QColor *)handle)->redF(); } qreal QColor_greenF(QColorH handle) { return (qreal) ((QColor *)handle)->greenF(); } qreal QColor_blueF(QColorH handle) { return (qreal) ((QColor *)handle)->blueF(); } void QColor_setRedF(QColorH handle, qreal red) { ((QColor *)handle)->setRedF(red); } void QColor_setGreenF(QColorH handle, qreal green) { ((QColor *)handle)->setGreenF(green); } void QColor_setBlueF(QColorH handle, qreal blue) { ((QColor *)handle)->setBlueF(blue); } void QColor_getRgb(QColorH handle, int* r, int* g, int* b, int* a) { ((QColor *)handle)->getRgb(r, g, b, a); } void QColor_setRgb(QColorH handle, int r, int g, int b, int a) { ((QColor *)handle)->setRgb(r, g, b, a); } void QColor_getRgbF(QColorH handle, qreal* r, qreal* g, qreal* b, qreal* a) { ((QColor *)handle)->getRgbF(r, g, b, a); } void QColor_setRgbF(QColorH handle, qreal r, qreal g, qreal b, qreal a) { ((QColor *)handle)->setRgbF(r, g, b, a); } QRgb QColor_rgba(QColorH handle) { return (QRgb) ((QColor *)handle)->rgba(); } void QColor_setRgba(QColorH handle, QRgb rgba) { ((QColor *)handle)->setRgba(rgba); } QRgb QColor_rgb(QColorH handle) { return (QRgb) ((QColor *)handle)->rgb(); } void QColor_setRgb2(QColorH handle, QRgb rgb) { ((QColor *)handle)->setRgb(rgb); } int QColor_hue(QColorH handle) { return (int) ((QColor *)handle)->hue(); } int QColor_saturation(QColorH handle) { return (int) ((QColor *)handle)->saturation(); } int QColor_value(QColorH handle) { return (int) ((QColor *)handle)->value(); } qreal QColor_hueF(QColorH handle) { return (qreal) ((QColor *)handle)->hueF(); } qreal QColor_saturationF(QColorH handle) { return (qreal) ((QColor *)handle)->saturationF(); } qreal QColor_valueF(QColorH handle) { return (qreal) ((QColor *)handle)->valueF(); } void QColor_getHsv(QColorH handle, int* h, int* s, int* v, int* a) { ((QColor *)handle)->getHsv(h, s, v, a); } void QColor_setHsv(QColorH handle, int h, int s, int v, int a) { ((QColor *)handle)->setHsv(h, s, v, a); } void QColor_getHsvF(QColorH handle, qreal* h, qreal* s, qreal* v, qreal* a) { ((QColor *)handle)->getHsvF(h, s, v, a); } void QColor_setHsvF(QColorH handle, qreal h, qreal s, qreal v, qreal a) { ((QColor *)handle)->setHsvF(h, s, v, a); } int QColor_cyan(QColorH handle) { return (int) ((QColor *)handle)->cyan(); } int QColor_magenta(QColorH handle) { return (int) ((QColor *)handle)->magenta(); } int QColor_yellow(QColorH handle) { return (int) ((QColor *)handle)->yellow(); } int QColor_black(QColorH handle) { return (int) ((QColor *)handle)->black(); } qreal QColor_cyanF(QColorH handle) { return (qreal) ((QColor *)handle)->cyanF(); } qreal QColor_magentaF(QColorH handle) { return (qreal) ((QColor *)handle)->magentaF(); } qreal QColor_yellowF(QColorH handle) { return (qreal) ((QColor *)handle)->yellowF(); } qreal QColor_blackF(QColorH handle) { return (qreal) ((QColor *)handle)->blackF(); } void QColor_getCmyk(QColorH handle, int* c, int* m, int* y, int* k, int* a) { ((QColor *)handle)->getCmyk(c, m, y, k, a); } void QColor_setCmyk(QColorH handle, int c, int m, int y, int k, int a) { ((QColor *)handle)->setCmyk(c, m, y, k, a); } void QColor_getCmykF(QColorH handle, qreal* c, qreal* m, qreal* y, qreal* k, qreal* a) { ((QColor *)handle)->getCmykF(c, m, y, k, a); } void QColor_setCmykF(QColorH handle, qreal c, qreal m, qreal y, qreal k, qreal a) { ((QColor *)handle)->setCmykF(c, m, y, k, a); } void QColor_toRgb(QColorH handle, PQColor retval) { *(QColor *)retval = ((QColor *)handle)->toRgb(); } void QColor_toHsv(QColorH handle, PQColor retval) { *(QColor *)retval = ((QColor *)handle)->toHsv(); } void QColor_toCmyk(QColorH handle, PQColor retval) { *(QColor *)retval = ((QColor *)handle)->toCmyk(); } void QColor_convertTo(QColorH handle, PQColor retval, QColor::Spec colorSpec) { *(QColor *)retval = ((QColor *)handle)->convertTo(colorSpec); } void QColor_fromRgb(PQColor retval, QRgb rgb) { *(QColor *)retval = QColor::fromRgb(rgb); } void QColor_fromRgba(PQColor retval, QRgb rgba) { *(QColor *)retval = QColor::fromRgba(rgba); } void QColor_fromRgb2(PQColor retval, int r, int g, int b, int a) { *(QColor *)retval = QColor::fromRgb(r, g, b, a); } void QColor_fromRgbF(PQColor retval, qreal r, qreal g, qreal b, qreal a) { *(QColor *)retval = QColor::fromRgbF(r, g, b, a); } void QColor_fromHsv(PQColor retval, int h, int s, int v, int a) { *(QColor *)retval = QColor::fromHsv(h, s, v, a); } void QColor_fromHsvF(PQColor retval, qreal h, qreal s, qreal v, qreal a) { *(QColor *)retval = QColor::fromHsvF(h, s, v, a); } void QColor_fromCmyk(PQColor retval, int c, int m, int y, int k, int a) { *(QColor *)retval = QColor::fromCmyk(c, m, y, k, a); } void QColor_fromCmykF(PQColor retval, qreal c, qreal m, qreal y, qreal k, qreal a) { *(QColor *)retval = QColor::fromCmykF(c, m, y, k, a); } void QColor_light(QColorH handle, PQColor retval, int f) { *(QColor *)retval = ((QColor *)handle)->light(f); } void QColor_lighter(QColorH handle, PQColor retval, int f) { *(QColor *)retval = ((QColor *)handle)->lighter(f); } void QColor_dark(QColorH handle, PQColor retval, int f) { *(QColor *)retval = ((QColor *)handle)->dark(f); } void QColor_darker(QColorH handle, PQColor retval, int f) { *(QColor *)retval = ((QColor *)handle)->darker(f); } #if defined BINUX bool QColor_allowX11ColorNames() { return (bool) QColor::allowX11ColorNames(); } void QColor_setAllowX11ColorNames(bool enabled) { QColor::setAllowX11ColorNames(enabled); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qrect_c.h0000664000212600021260000002126311677135472016630 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QRECT_C_H #define QRECT_C_H #include #include "pascalbind.h" C_EXPORT QRectH QRect_create(); C_EXPORT void QRect_destroy(QRectH handle); C_EXPORT QRectH QRect_create2(const QPointH topleft, const QPointH bottomright); C_EXPORT QRectH QRect_create3(const QPointH topleft, const QSizeH size); C_EXPORT QRectH QRect_create4(int left, int top, int width, int height); C_EXPORT bool QRect_isNull(QRectH handle); C_EXPORT bool QRect_isEmpty(QRectH handle); C_EXPORT bool QRect_isValid(QRectH handle); C_EXPORT int QRect_left(QRectH handle); C_EXPORT int QRect_top(QRectH handle); C_EXPORT int QRect_right(QRectH handle); C_EXPORT int QRect_bottom(QRectH handle); C_EXPORT void QRect_normalized(QRectH handle, PRect retval); C_EXPORT int QRect_x(QRectH handle); C_EXPORT int QRect_y(QRectH handle); C_EXPORT void QRect_setLeft(QRectH handle, int pos); C_EXPORT void QRect_setTop(QRectH handle, int pos); C_EXPORT void QRect_setRight(QRectH handle, int pos); C_EXPORT void QRect_setBottom(QRectH handle, int pos); C_EXPORT void QRect_setX(QRectH handle, int x); C_EXPORT void QRect_setY(QRectH handle, int y); C_EXPORT void QRect_setTopLeft(QRectH handle, const QPointH p); C_EXPORT void QRect_setBottomRight(QRectH handle, const QPointH p); C_EXPORT void QRect_setTopRight(QRectH handle, const QPointH p); C_EXPORT void QRect_setBottomLeft(QRectH handle, const QPointH p); C_EXPORT void QRect_topLeft(QRectH handle, PQtPoint retval); C_EXPORT void QRect_bottomRight(QRectH handle, PQtPoint retval); C_EXPORT void QRect_topRight(QRectH handle, PQtPoint retval); C_EXPORT void QRect_bottomLeft(QRectH handle, PQtPoint retval); C_EXPORT void QRect_center(QRectH handle, PQtPoint retval); C_EXPORT void QRect_moveLeft(QRectH handle, int pos); C_EXPORT void QRect_moveTop(QRectH handle, int pos); C_EXPORT void QRect_moveRight(QRectH handle, int pos); C_EXPORT void QRect_moveBottom(QRectH handle, int pos); C_EXPORT void QRect_moveTopLeft(QRectH handle, const QPointH p); C_EXPORT void QRect_moveBottomRight(QRectH handle, const QPointH p); C_EXPORT void QRect_moveTopRight(QRectH handle, const QPointH p); C_EXPORT void QRect_moveBottomLeft(QRectH handle, const QPointH p); C_EXPORT void QRect_moveCenter(QRectH handle, const QPointH p); C_EXPORT void QRect_translate(QRectH handle, int dx, int dy); C_EXPORT void QRect_translate2(QRectH handle, const QPointH p); C_EXPORT void QRect_translated(QRectH handle, PRect retval, int dx, int dy); C_EXPORT void QRect_translated2(QRectH handle, PRect retval, const QPointH p); C_EXPORT void QRect_moveTo(QRectH handle, int x, int t); C_EXPORT void QRect_moveTo2(QRectH handle, const QPointH p); C_EXPORT void QRect_setRect(QRectH handle, int x, int y, int w, int h); C_EXPORT void QRect_getRect(QRectH handle, int* x, int* y, int* w, int* h); C_EXPORT void QRect_setCoords(QRectH handle, int x1, int y1, int x2, int y2); C_EXPORT void QRect_getCoords(QRectH handle, int* x1, int* y1, int* x2, int* y2); C_EXPORT void QRect_adjust(QRectH handle, int x1, int y1, int x2, int y2); C_EXPORT void QRect_adjusted(QRectH handle, PRect retval, int x1, int y1, int x2, int y2); C_EXPORT void QRect_size(QRectH handle, PSize retval); C_EXPORT int QRect_width(QRectH handle); C_EXPORT int QRect_height(QRectH handle); C_EXPORT void QRect_setWidth(QRectH handle, int w); C_EXPORT void QRect_setHeight(QRectH handle, int h); C_EXPORT void QRect_setSize(QRectH handle, const QSizeH s); C_EXPORT bool QRect_contains(QRectH handle, const QPointH p, bool proper); C_EXPORT bool QRect_contains2(QRectH handle, int x, int y); C_EXPORT bool QRect_contains3(QRectH handle, int x, int y, bool proper); C_EXPORT bool QRect_contains4(QRectH handle, PRect r, bool proper); C_EXPORT void QRect_unite(QRectH handle, PRect retval, PRect r); C_EXPORT void QRect_united(QRectH handle, PRect retval, PRect other); C_EXPORT void QRect_intersect(QRectH handle, PRect retval, PRect r); C_EXPORT void QRect_intersected(QRectH handle, PRect retval, PRect other); C_EXPORT bool QRect_intersects(QRectH handle, PRect r); C_EXPORT QRectFH QRectF_create(); C_EXPORT void QRectF_destroy(QRectFH handle); C_EXPORT QRectFH QRectF_create2(const QPointFH topleft, const QSizeFH size); C_EXPORT QRectFH QRectF_create3(const QPointFH topleft, const QPointFH bottomRight); C_EXPORT QRectFH QRectF_create4(qreal left, qreal top, qreal width, qreal height); C_EXPORT QRectFH QRectF_create5(PRect rect); C_EXPORT bool QRectF_isNull(QRectFH handle); C_EXPORT bool QRectF_isEmpty(QRectFH handle); C_EXPORT bool QRectF_isValid(QRectFH handle); C_EXPORT void QRectF_normalized(QRectFH handle, QRectFH retval); C_EXPORT qreal QRectF_left(QRectFH handle); C_EXPORT qreal QRectF_top(QRectFH handle); C_EXPORT qreal QRectF_right(QRectFH handle); C_EXPORT qreal QRectF_bottom(QRectFH handle); C_EXPORT qreal QRectF_x(QRectFH handle); C_EXPORT qreal QRectF_y(QRectFH handle); C_EXPORT void QRectF_setLeft(QRectFH handle, qreal pos); C_EXPORT void QRectF_setTop(QRectFH handle, qreal pos); C_EXPORT void QRectF_setRight(QRectFH handle, qreal pos); C_EXPORT void QRectF_setBottom(QRectFH handle, qreal pos); C_EXPORT void QRectF_setX(QRectFH handle, qreal pos); C_EXPORT void QRectF_setY(QRectFH handle, qreal pos); C_EXPORT void QRectF_topLeft(QRectFH handle, PQtPointF retval); C_EXPORT void QRectF_bottomRight(QRectFH handle, PQtPointF retval); C_EXPORT void QRectF_topRight(QRectFH handle, PQtPointF retval); C_EXPORT void QRectF_bottomLeft(QRectFH handle, PQtPointF retval); C_EXPORT void QRectF_center(QRectFH handle, PQtPointF retval); C_EXPORT void QRectF_setTopLeft(QRectFH handle, const QPointFH p); C_EXPORT void QRectF_setBottomRight(QRectFH handle, const QPointFH p); C_EXPORT void QRectF_setTopRight(QRectFH handle, const QPointFH p); C_EXPORT void QRectF_setBottomLeft(QRectFH handle, const QPointFH p); C_EXPORT void QRectF_moveLeft(QRectFH handle, qreal pos); C_EXPORT void QRectF_moveTop(QRectFH handle, qreal pos); C_EXPORT void QRectF_moveRight(QRectFH handle, qreal pos); C_EXPORT void QRectF_moveBottom(QRectFH handle, qreal pos); C_EXPORT void QRectF_moveTopLeft(QRectFH handle, const QPointFH p); C_EXPORT void QRectF_moveBottomRight(QRectFH handle, const QPointFH p); C_EXPORT void QRectF_moveTopRight(QRectFH handle, const QPointFH p); C_EXPORT void QRectF_moveBottomLeft(QRectFH handle, const QPointFH p); C_EXPORT void QRectF_moveCenter(QRectFH handle, const QPointFH p); C_EXPORT void QRectF_translate(QRectFH handle, qreal dx, qreal dy); C_EXPORT void QRectF_translate2(QRectFH handle, const QPointFH p); C_EXPORT void QRectF_translated(QRectFH handle, QRectFH retval, qreal dx, qreal dy); C_EXPORT void QRectF_translated2(QRectFH handle, QRectFH retval, const QPointFH p); C_EXPORT void QRectF_moveTo(QRectFH handle, qreal x, qreal t); C_EXPORT void QRectF_moveTo2(QRectFH handle, const QPointFH p); C_EXPORT void QRectF_setRect(QRectFH handle, qreal x, qreal y, qreal w, qreal h); C_EXPORT void QRectF_getRect(QRectFH handle, qreal* x, qreal* y, qreal* w, qreal* h); C_EXPORT void QRectF_setCoords(QRectFH handle, qreal x1, qreal y1, qreal x2, qreal y2); C_EXPORT void QRectF_getCoords(QRectFH handle, qreal* x1, qreal* y1, qreal* x2, qreal* y2); C_EXPORT void QRectF_adjust(QRectFH handle, qreal x1, qreal y1, qreal x2, qreal y2); C_EXPORT void QRectF_adjusted(QRectFH handle, QRectFH retval, qreal x1, qreal y1, qreal x2, qreal y2); C_EXPORT void QRectF_size(QRectFH handle, QSizeFH retval); C_EXPORT qreal QRectF_width(QRectFH handle); C_EXPORT qreal QRectF_height(QRectFH handle); C_EXPORT void QRectF_setWidth(QRectFH handle, qreal w); C_EXPORT void QRectF_setHeight(QRectFH handle, qreal h); C_EXPORT void QRectF_setSize(QRectFH handle, const QSizeFH s); C_EXPORT bool QRectF_contains(QRectFH handle, const QPointFH p); C_EXPORT bool QRectF_contains2(QRectFH handle, qreal x, qreal y); C_EXPORT bool QRectF_contains3(QRectFH handle, const QRectFH r); C_EXPORT void QRectF_unite(QRectFH handle, QRectFH retval, const QRectFH r); C_EXPORT void QRectF_united(QRectFH handle, QRectFH retval, const QRectFH other); C_EXPORT void QRectF_intersect(QRectFH handle, QRectFH retval, const QRectFH r); C_EXPORT void QRectF_intersected(QRectFH handle, QRectFH retval, const QRectFH other); C_EXPORT bool QRectF_intersects(QRectFH handle, const QRectFH r); C_EXPORT void QRectF_toRect(QRectFH handle, PRect retval); C_EXPORT void QRectF_toAlignedRect(QRectFH handle, PRect retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmainwindow_hook_c.cpp0000664000212600021260000000202711677135472021417 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qmainwindow_hook_c.h" QMainWindow_hookH QMainWindow_hook_create(QObjectH handle) { return (QMainWindow_hookH) new QMainWindow_hook((QObject*)handle); } void QMainWindow_hook_destroy(QMainWindow_hookH handle) { delete (QMainWindow_hook *)handle; } void QMainWindow_hook_hook_iconSizeChanged(QMainWindow_hookH handle, QHookH hook) { ((QMainWindow_hook *)handle)->hook_iconSizeChanged(hook); } void QMainWindow_hook_hook_toolButtonStyleChanged(QMainWindow_hookH handle, QHookH hook) { ((QMainWindow_hook *)handle)->hook_toolButtonStyleChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprogressdialog_hook_c.cpp0000664000212600021260000000162511677135472022272 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qprogressdialog_hook_c.h" QProgressDialog_hookH QProgressDialog_hook_create(QObjectH handle) { return (QProgressDialog_hookH) new QProgressDialog_hook((QObject*)handle); } void QProgressDialog_hook_destroy(QProgressDialog_hookH handle) { delete (QProgressDialog_hook *)handle; } void QProgressDialog_hook_hook_canceled(QProgressDialog_hookH handle, QHookH hook) { ((QProgressDialog_hook *)handle)->hook_canceled(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpen_c.cpp0000664000212600021260000000670011677135472017007 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qpen_c.h" QPenH QPen_create() { return (QPenH) new QPen(); } void QPen_destroy(QPenH handle) { delete (QPen *)handle; } QPenH QPen_create2(Qt::PenStyle AnonParam1) { return (QPenH) new QPen(AnonParam1); } QPenH QPen_create3(const QColorH color) { return (QPenH) new QPen(*(const QColor*)color); } QPenH QPen_create4(const QBrushH brush, qreal width, Qt::PenStyle s, Qt::PenCapStyle c, Qt::PenJoinStyle j) { return (QPenH) new QPen(*(const QBrush*)brush, width, s, c, j); } QPenH QPen_create5(const QPenH pen) { return (QPenH) new QPen(*(const QPen*)pen); } Qt::PenStyle QPen_style(QPenH handle) { return (Qt::PenStyle) ((QPen *)handle)->style(); } void QPen_setStyle(QPenH handle, Qt::PenStyle AnonParam1) { ((QPen *)handle)->setStyle(AnonParam1); } void QPen_dashPattern(QPenH handle, PQRealArray retval) { QVector t_retval; t_retval = ((QPen *)handle)->dashPattern(); copyQVectorQRealToQRealArray(t_retval, retval); } void QPen_setDashPattern(QPenH handle, PQRealArray pattern) { QVector t_pattern; copyQRealArrayToQVectorQReal(pattern, t_pattern); ((QPen *)handle)->setDashPattern(t_pattern); } qreal QPen_dashOffset(QPenH handle) { return (qreal) ((QPen *)handle)->dashOffset(); } void QPen_setDashOffset(QPenH handle, qreal doffset) { ((QPen *)handle)->setDashOffset(doffset); } qreal QPen_miterLimit(QPenH handle) { return (qreal) ((QPen *)handle)->miterLimit(); } void QPen_setMiterLimit(QPenH handle, qreal limit) { ((QPen *)handle)->setMiterLimit(limit); } qreal QPen_widthF(QPenH handle) { return (qreal) ((QPen *)handle)->widthF(); } void QPen_setWidthF(QPenH handle, qreal width) { ((QPen *)handle)->setWidthF(width); } int QPen_width(QPenH handle) { return (int) ((QPen *)handle)->width(); } void QPen_setWidth(QPenH handle, int width) { ((QPen *)handle)->setWidth(width); } void QPen_color(QPenH handle, PQColor retval) { *(QColor *)retval = ((QPen *)handle)->color(); } void QPen_setColor(QPenH handle, const QColorH color) { ((QPen *)handle)->setColor(*(const QColor*)color); } void QPen_brush(QPenH handle, QBrushH retval) { *(QBrush *)retval = ((QPen *)handle)->brush(); } void QPen_setBrush(QPenH handle, const QBrushH brush) { ((QPen *)handle)->setBrush(*(const QBrush*)brush); } bool QPen_isSolid(QPenH handle) { return (bool) ((QPen *)handle)->isSolid(); } Qt::PenCapStyle QPen_capStyle(QPenH handle) { return (Qt::PenCapStyle) ((QPen *)handle)->capStyle(); } void QPen_setCapStyle(QPenH handle, Qt::PenCapStyle pcs) { ((QPen *)handle)->setCapStyle(pcs); } Qt::PenJoinStyle QPen_joinStyle(QPenH handle) { return (Qt::PenJoinStyle) ((QPen *)handle)->joinStyle(); } void QPen_setJoinStyle(QPenH handle, Qt::PenJoinStyle pcs) { ((QPen *)handle)->setJoinStyle(pcs); } bool QPen_isCosmetic(QPenH handle) { return (bool) ((QPen *)handle)->isCosmetic(); } void QPen_setCosmetic(QPenH handle, bool cosmetic) { ((QPen *)handle)->setCosmetic(cosmetic); } bool QPen_isDetached(QPenH handle) { return (bool) ((QPen *)handle)->isDetached(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qplaintextedit_c.cpp0000664000212600021260000002606511677135472021111 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qplaintextedit_c.h" QPlainTextEditH QPlainTextEdit_create(QWidgetH parent) { return (QPlainTextEditH) new QPlainTextEdit((QWidget*)parent); } void QPlainTextEdit_destroy(QPlainTextEditH handle) { delete (QPlainTextEdit *)handle; } QPlainTextEditH QPlainTextEdit_create2(PWideString text, QWidgetH parent) { QString t_text; copyPWideStringToQString(text, t_text); return (QPlainTextEditH) new QPlainTextEdit(t_text, (QWidget*)parent); } void QPlainTextEdit_setDocument(QPlainTextEditH handle, QTextDocumentH document) { ((QPlainTextEdit *)handle)->setDocument((QTextDocument*)document); } QTextDocumentH QPlainTextEdit_document(QPlainTextEditH handle) { return (QTextDocumentH) ((QPlainTextEdit *)handle)->document(); } void QPlainTextEdit_setTextCursor(QPlainTextEditH handle, const QTextCursorH cursor) { ((QPlainTextEdit *)handle)->setTextCursor(*(const QTextCursor*)cursor); } void QPlainTextEdit_textCursor(QPlainTextEditH handle, QTextCursorH retval) { *(QTextCursor *)retval = ((QPlainTextEdit *)handle)->textCursor(); } bool QPlainTextEdit_isReadOnly(QPlainTextEditH handle) { return (bool) ((QPlainTextEdit *)handle)->isReadOnly(); } void QPlainTextEdit_setReadOnly(QPlainTextEditH handle, bool ro) { ((QPlainTextEdit *)handle)->setReadOnly(ro); } void QPlainTextEdit_setTextInteractionFlags(QPlainTextEditH handle, unsigned int flags) { ((QPlainTextEdit *)handle)->setTextInteractionFlags((Qt::TextInteractionFlags)flags); } unsigned int QPlainTextEdit_textInteractionFlags(QPlainTextEditH handle) { return (unsigned int) ((QPlainTextEdit *)handle)->textInteractionFlags(); } void QPlainTextEdit_mergeCurrentCharFormat(QPlainTextEditH handle, const QTextCharFormatH modifier) { ((QPlainTextEdit *)handle)->mergeCurrentCharFormat(*(const QTextCharFormat*)modifier); } void QPlainTextEdit_setCurrentCharFormat(QPlainTextEditH handle, const QTextCharFormatH format) { ((QPlainTextEdit *)handle)->setCurrentCharFormat(*(const QTextCharFormat*)format); } void QPlainTextEdit_currentCharFormat(QPlainTextEditH handle, QTextCharFormatH retval) { *(QTextCharFormat *)retval = ((QPlainTextEdit *)handle)->currentCharFormat(); } bool QPlainTextEdit_tabChangesFocus(QPlainTextEditH handle) { return (bool) ((QPlainTextEdit *)handle)->tabChangesFocus(); } void QPlainTextEdit_setTabChangesFocus(QPlainTextEditH handle, bool b) { ((QPlainTextEdit *)handle)->setTabChangesFocus(b); } void QPlainTextEdit_setDocumentTitle(QPlainTextEditH handle, PWideString title) { QString t_title; copyPWideStringToQString(title, t_title); ((QPlainTextEdit *)handle)->setDocumentTitle(t_title); } void QPlainTextEdit_documentTitle(QPlainTextEditH handle, PWideString retval) { QString t_retval; t_retval = ((QPlainTextEdit *)handle)->documentTitle(); copyQStringToPWideString(t_retval, retval); } bool QPlainTextEdit_isUndoRedoEnabled(QPlainTextEditH handle) { return (bool) ((QPlainTextEdit *)handle)->isUndoRedoEnabled(); } void QPlainTextEdit_setUndoRedoEnabled(QPlainTextEditH handle, bool enable) { ((QPlainTextEdit *)handle)->setUndoRedoEnabled(enable); } void QPlainTextEdit_setMaximumBlockCount(QPlainTextEditH handle, int maximum) { ((QPlainTextEdit *)handle)->setMaximumBlockCount(maximum); } int QPlainTextEdit_maximumBlockCount(QPlainTextEditH handle) { return (int) ((QPlainTextEdit *)handle)->maximumBlockCount(); } QPlainTextEdit::LineWrapMode QPlainTextEdit_lineWrapMode(QPlainTextEditH handle) { return (QPlainTextEdit::LineWrapMode) ((QPlainTextEdit *)handle)->lineWrapMode(); } void QPlainTextEdit_setLineWrapMode(QPlainTextEditH handle, QPlainTextEdit::LineWrapMode mode) { ((QPlainTextEdit *)handle)->setLineWrapMode(mode); } QTextOption::WrapMode QPlainTextEdit_wordWrapMode(QPlainTextEditH handle) { return (QTextOption::WrapMode) ((QPlainTextEdit *)handle)->wordWrapMode(); } void QPlainTextEdit_setWordWrapMode(QPlainTextEditH handle, QTextOption::WrapMode policy) { ((QPlainTextEdit *)handle)->setWordWrapMode(policy); } void QPlainTextEdit_setBackgroundVisible(QPlainTextEditH handle, bool visible) { ((QPlainTextEdit *)handle)->setBackgroundVisible(visible); } bool QPlainTextEdit_backgroundVisible(QPlainTextEditH handle) { return (bool) ((QPlainTextEdit *)handle)->backgroundVisible(); } void QPlainTextEdit_setCenterOnScroll(QPlainTextEditH handle, bool enabled) { ((QPlainTextEdit *)handle)->setCenterOnScroll(enabled); } bool QPlainTextEdit_centerOnScroll(QPlainTextEditH handle) { return (bool) ((QPlainTextEdit *)handle)->centerOnScroll(); } bool QPlainTextEdit_find(QPlainTextEditH handle, PWideString exp, unsigned int options) { QString t_exp; copyPWideStringToQString(exp, t_exp); return (bool) ((QPlainTextEdit *)handle)->find(t_exp, (QTextDocument::FindFlags)options); } void QPlainTextEdit_toPlainText(QPlainTextEditH handle, PWideString retval) { QString t_retval; t_retval = ((QPlainTextEdit *)handle)->toPlainText(); copyQStringToPWideString(t_retval, retval); } void QPlainTextEdit_ensureCursorVisible(QPlainTextEditH handle) { ((QPlainTextEdit *)handle)->ensureCursorVisible(); } void QPlainTextEdit_loadResource(QPlainTextEditH handle, QVariantH retval, int type, const QUrlH name) { *(QVariant *)retval = ((QPlainTextEdit *)handle)->loadResource(type, *(const QUrl*)name); } QMenuH QPlainTextEdit_createStandardContextMenu(QPlainTextEditH handle) { return (QMenuH) ((QPlainTextEdit *)handle)->createStandardContextMenu(); } void QPlainTextEdit_cursorForPosition(QPlainTextEditH handle, QTextCursorH retval, const QPointH pos) { *(QTextCursor *)retval = ((QPlainTextEdit *)handle)->cursorForPosition(*(const QPoint*)pos); } void QPlainTextEdit_cursorRect(QPlainTextEditH handle, PRect retval, const QTextCursorH cursor) { QRect t_retval; t_retval = ((QPlainTextEdit *)handle)->cursorRect(*(const QTextCursor*)cursor); copyQRectToPRect(t_retval, retval); } void QPlainTextEdit_cursorRect2(QPlainTextEditH handle, PRect retval) { QRect t_retval; t_retval = ((QPlainTextEdit *)handle)->cursorRect(); copyQRectToPRect(t_retval, retval); } bool QPlainTextEdit_overwriteMode(QPlainTextEditH handle) { return (bool) ((QPlainTextEdit *)handle)->overwriteMode(); } void QPlainTextEdit_setOverwriteMode(QPlainTextEditH handle, bool overwrite) { ((QPlainTextEdit *)handle)->setOverwriteMode(overwrite); } int QPlainTextEdit_tabStopWidth(QPlainTextEditH handle) { return (int) ((QPlainTextEdit *)handle)->tabStopWidth(); } void QPlainTextEdit_setTabStopWidth(QPlainTextEditH handle, int width) { ((QPlainTextEdit *)handle)->setTabStopWidth(width); } int QPlainTextEdit_cursorWidth(QPlainTextEditH handle) { return (int) ((QPlainTextEdit *)handle)->cursorWidth(); } void QPlainTextEdit_setCursorWidth(QPlainTextEditH handle, int width) { ((QPlainTextEdit *)handle)->setCursorWidth(width); } void QPlainTextEdit_moveCursor(QPlainTextEditH handle, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) { ((QPlainTextEdit *)handle)->moveCursor(operation, mode); } bool QPlainTextEdit_canPaste(QPlainTextEditH handle) { return (bool) ((QPlainTextEdit *)handle)->canPaste(); } void QPlainTextEdit_print(QPlainTextEditH handle, QPrinterH printer) { ((QPlainTextEdit *)handle)->print((QPrinter*)printer); } int QPlainTextEdit_blockCount(QPlainTextEditH handle) { return (int) ((QPlainTextEdit *)handle)->blockCount(); } void QPlainTextEdit_setPlainText(QPlainTextEditH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QPlainTextEdit *)handle)->setPlainText(t_text); } void QPlainTextEdit_cut(QPlainTextEditH handle) { ((QPlainTextEdit *)handle)->cut(); } void QPlainTextEdit_copy(QPlainTextEditH handle) { ((QPlainTextEdit *)handle)->copy(); } void QPlainTextEdit_paste(QPlainTextEditH handle) { ((QPlainTextEdit *)handle)->paste(); } void QPlainTextEdit_undo(QPlainTextEditH handle) { ((QPlainTextEdit *)handle)->undo(); } void QPlainTextEdit_redo(QPlainTextEditH handle) { ((QPlainTextEdit *)handle)->redo(); } void QPlainTextEdit_clear(QPlainTextEditH handle) { ((QPlainTextEdit *)handle)->clear(); } void QPlainTextEdit_selectAll(QPlainTextEditH handle) { ((QPlainTextEdit *)handle)->selectAll(); } void QPlainTextEdit_insertPlainText(QPlainTextEditH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QPlainTextEdit *)handle)->insertPlainText(t_text); } void QPlainTextEdit_appendPlainText(QPlainTextEditH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QPlainTextEdit *)handle)->appendPlainText(t_text); } void QPlainTextEdit_appendHtml(QPlainTextEditH handle, PWideString html) { QString t_html; copyPWideStringToQString(html, t_html); ((QPlainTextEdit *)handle)->appendHtml(t_html); } void QPlainTextEdit_centerCursor(QPlainTextEditH handle) { ((QPlainTextEdit *)handle)->centerCursor(); } QPlainTextDocumentLayoutH QPlainTextDocumentLayout_create(QTextDocumentH document) { return (QPlainTextDocumentLayoutH) new QPlainTextDocumentLayout((QTextDocument*)document); } void QPlainTextDocumentLayout_destroy(QPlainTextDocumentLayoutH handle) { delete (QPlainTextDocumentLayout *)handle; } int QPlainTextDocumentLayout_hitTest(QPlainTextDocumentLayoutH handle, const QPointFH AnonParam1, Qt::HitTestAccuracy AnonParam2) { return (int) ((QPlainTextDocumentLayout *)handle)->hitTest(*(const QPointF*)AnonParam1, AnonParam2); } int QPlainTextDocumentLayout_pageCount(QPlainTextDocumentLayoutH handle) { return (int) ((QPlainTextDocumentLayout *)handle)->pageCount(); } void QPlainTextDocumentLayout_documentSize(QPlainTextDocumentLayoutH handle, QSizeFH retval) { *(QSizeF *)retval = ((QPlainTextDocumentLayout *)handle)->documentSize(); } void QPlainTextDocumentLayout_frameBoundingRect(QPlainTextDocumentLayoutH handle, QRectFH retval, QTextFrameH AnonParam1) { *(QRectF *)retval = ((QPlainTextDocumentLayout *)handle)->frameBoundingRect((QTextFrame*)AnonParam1); } void QPlainTextDocumentLayout_blockBoundingRect(QPlainTextDocumentLayoutH handle, QRectFH retval, const QTextBlockH block) { *(QRectF *)retval = ((QPlainTextDocumentLayout *)handle)->blockBoundingRect(*(const QTextBlock*)block); } void QPlainTextDocumentLayout_ensureBlockLayout(QPlainTextDocumentLayoutH handle, const QTextBlockH block) { ((QPlainTextDocumentLayout *)handle)->ensureBlockLayout(*(const QTextBlock*)block); } void QPlainTextDocumentLayout_setCursorWidth(QPlainTextDocumentLayoutH handle, int width) { ((QPlainTextDocumentLayout *)handle)->setCursorWidth(width); } int QPlainTextDocumentLayout_cursorWidth(QPlainTextDocumentLayoutH handle) { return (int) ((QPlainTextDocumentLayout *)handle)->cursorWidth(); } void QPlainTextDocumentLayout_requestUpdate(QPlainTextDocumentLayoutH handle) { ((QPlainTextDocumentLayout *)handle)->requestUpdate(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbutton_c.h0000664000212600021260000000342611677135472020105 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTOOLBUTTON_C_H #define QTOOLBUTTON_C_H #include #include "pascalbind.h" C_EXPORT QToolButtonH QToolButton_create(QWidgetH parent); C_EXPORT void QToolButton_destroy(QToolButtonH handle); C_EXPORT void QToolButton_sizeHint(QToolButtonH handle, PSize retval); C_EXPORT void QToolButton_minimumSizeHint(QToolButtonH handle, PSize retval); C_EXPORT Qt::ToolButtonStyle QToolButton_toolButtonStyle(QToolButtonH handle); C_EXPORT Qt::ArrowType QToolButton_arrowType(QToolButtonH handle); C_EXPORT void QToolButton_setArrowType(QToolButtonH handle, Qt::ArrowType type); C_EXPORT void QToolButton_setMenu(QToolButtonH handle, QMenuH menu); C_EXPORT QMenuH QToolButton_menu(QToolButtonH handle); C_EXPORT void QToolButton_setPopupMode(QToolButtonH handle, QToolButton::ToolButtonPopupMode mode); C_EXPORT QToolButton::ToolButtonPopupMode QToolButton_popupMode(QToolButtonH handle); C_EXPORT QActionH QToolButton_defaultAction(QToolButtonH handle); C_EXPORT void QToolButton_setAutoRaise(QToolButtonH handle, bool enable); C_EXPORT bool QToolButton_autoRaise(QToolButtonH handle); C_EXPORT void QToolButton_showMenu(QToolButtonH handle); C_EXPORT void QToolButton_setToolButtonStyle(QToolButtonH handle, Qt::ToolButtonStyle style); C_EXPORT void QToolButton_setDefaultAction(QToolButtonH handle, QActionH AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsplitter_hook_c.h0000664000212600021260000000164711677135472020565 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSPLITTER_HOOK_C_H #define QSPLITTER_HOOK_C_H #include "qsplitter_hook.h" C_EXPORT QSplitter_hookH QSplitter_hook_create(QObjectH handle); C_EXPORT void QSplitter_hook_destroy(QSplitter_hookH handle); C_EXPORT void QSplitter_hook_hook_splitterMoved(QSplitter_hookH handle, QHookH hook); C_EXPORT QSplitterHandle_hookH QSplitterHandle_hook_create(QObjectH handle); C_EXPORT void QSplitterHandle_hook_destroy(QSplitterHandle_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlcdnumber_c.cpp0000664000212600021260000000607511677135472020205 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlcdnumber_c.h" QLCDNumberH QLCDNumber_create(QWidgetH parent) { return (QLCDNumberH) new QLCDNumber((QWidget*)parent); } void QLCDNumber_destroy(QLCDNumberH handle) { delete (QLCDNumber *)handle; } QLCDNumberH QLCDNumber_create2(uint numDigits, QWidgetH parent) { return (QLCDNumberH) new QLCDNumber(numDigits, (QWidget*)parent); } bool QLCDNumber_smallDecimalPoint(QLCDNumberH handle) { return (bool) ((QLCDNumber *)handle)->smallDecimalPoint(); } int QLCDNumber_numDigits(QLCDNumberH handle) { return (int) ((QLCDNumber *)handle)->numDigits(); } void QLCDNumber_setNumDigits(QLCDNumberH handle, int nDigits) { ((QLCDNumber *)handle)->setNumDigits(nDigits); } bool QLCDNumber_checkOverflow(QLCDNumberH handle, double num) { return (bool) ((QLCDNumber *)handle)->checkOverflow(num); } bool QLCDNumber_checkOverflow2(QLCDNumberH handle, int num) { return (bool) ((QLCDNumber *)handle)->checkOverflow(num); } QLCDNumber::Mode QLCDNumber_mode(QLCDNumberH handle) { return (QLCDNumber::Mode) ((QLCDNumber *)handle)->mode(); } void QLCDNumber_setMode(QLCDNumberH handle, QLCDNumber::Mode AnonParam1) { ((QLCDNumber *)handle)->setMode(AnonParam1); } QLCDNumber::SegmentStyle QLCDNumber_segmentStyle(QLCDNumberH handle) { return (QLCDNumber::SegmentStyle) ((QLCDNumber *)handle)->segmentStyle(); } void QLCDNumber_setSegmentStyle(QLCDNumberH handle, QLCDNumber::SegmentStyle AnonParam1) { ((QLCDNumber *)handle)->setSegmentStyle(AnonParam1); } double QLCDNumber_value(QLCDNumberH handle) { return (double) ((QLCDNumber *)handle)->value(); } int QLCDNumber_intValue(QLCDNumberH handle) { return (int) ((QLCDNumber *)handle)->intValue(); } void QLCDNumber_sizeHint(QLCDNumberH handle, PSize retval) { *(QSize *)retval = ((QLCDNumber *)handle)->sizeHint(); } void QLCDNumber_display(QLCDNumberH handle, PWideString str) { QString t_str; copyPWideStringToQString(str, t_str); ((QLCDNumber *)handle)->display(t_str); } void QLCDNumber_display2(QLCDNumberH handle, int num) { ((QLCDNumber *)handle)->display(num); } void QLCDNumber_display3(QLCDNumberH handle, double num) { ((QLCDNumber *)handle)->display(num); } void QLCDNumber_setHexMode(QLCDNumberH handle) { ((QLCDNumber *)handle)->setHexMode(); } void QLCDNumber_setDecMode(QLCDNumberH handle) { ((QLCDNumber *)handle)->setDecMode(); } void QLCDNumber_setOctMode(QLCDNumberH handle) { ((QLCDNumber *)handle)->setOctMode(); } void QLCDNumber_setBinMode(QLCDNumberH handle) { ((QLCDNumber *)handle)->setBinMode(); } void QLCDNumber_setSmallDecimalPoint(QLCDNumberH handle, bool AnonParam1) { ((QLCDNumber *)handle)->setSmallDecimalPoint(AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qshortcut_hook.h0000664000212600021260000000366211677135472020267 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSHORTCUT_HOOK_H #define QSHORTCUT_HOOK_H #include #include "qobject_hook.h" class QShortcut_hook : public QObject_hook { Q_OBJECT public: QShortcut_hook(QObject *handle) : QObject_hook(handle) { activated_event.func = NULL; activatedAmbiguously_event.func = NULL; } void hook_activated(QHook &hook) { if ( !activated_event.func ) connect(handle, SIGNAL(activated()), this, SLOT(activated_hook())); activated_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(activated()), this, SLOT(activated_hook())); } void hook_activatedAmbiguously(QHook &hook) { if ( !activatedAmbiguously_event.func ) connect(handle, SIGNAL(activatedAmbiguously()), this, SLOT(activatedAmbiguously_hook())); activatedAmbiguously_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(activatedAmbiguously()), this, SLOT(activatedAmbiguously_hook())); } private slots: void activated_hook() { if ( activated_event.func ) { typedef void (*func_type)(void *data); (*(func_type)activated_event.func)(activated_event.data); } } void activatedAmbiguously_hook() { if ( activatedAmbiguously_event.func ) { typedef void (*func_type)(void *data); (*(func_type)activatedAmbiguously_event.func)(activatedAmbiguously_event.data); } } private: QHook activated_event; QHook activatedAmbiguously_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextbrowser_hook.h0000664000212600021260000001310011677135472020770 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTEXTBROWSER_HOOK_H #define QTEXTBROWSER_HOOK_H #include #include "qtextedit_hook.h" class QTextBrowser_hook : public QTextEdit_hook { Q_OBJECT public: QTextBrowser_hook(QObject *handle) : QTextEdit_hook(handle) { backwardAvailable_event.func = NULL; forwardAvailable_event.func = NULL; historyChanged_event.func = NULL; sourceChanged_event.func = NULL; highlighted_event.func = NULL; highlighted2_event.func = NULL; anchorClicked_event.func = NULL; } void hook_backwardAvailable(QHook &hook) { if ( !backwardAvailable_event.func ) connect(handle, SIGNAL(backwardAvailable(bool)), this, SLOT(backwardAvailable_hook(bool))); backwardAvailable_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(backwardAvailable(bool)), this, SLOT(backwardAvailable_hook(bool))); } void hook_forwardAvailable(QHook &hook) { if ( !forwardAvailable_event.func ) connect(handle, SIGNAL(forwardAvailable(bool)), this, SLOT(forwardAvailable_hook(bool))); forwardAvailable_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(forwardAvailable(bool)), this, SLOT(forwardAvailable_hook(bool))); } void hook_historyChanged(QHook &hook) { if ( !historyChanged_event.func ) connect(handle, SIGNAL(historyChanged()), this, SLOT(historyChanged_hook())); historyChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(historyChanged()), this, SLOT(historyChanged_hook())); } void hook_sourceChanged(QHook &hook) { if ( !sourceChanged_event.func ) connect(handle, SIGNAL(sourceChanged(const QUrl&)), this, SLOT(sourceChanged_hook(const QUrl&))); sourceChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sourceChanged(const QUrl&)), this, SLOT(sourceChanged_hook(const QUrl&))); } void hook_highlighted(QHook &hook) { if ( !highlighted_event.func ) connect(handle, SIGNAL(highlighted(const QUrl&)), this, SLOT(highlighted_hook(const QUrl&))); highlighted_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(highlighted(const QUrl&)), this, SLOT(highlighted_hook(const QUrl&))); } void hook_highlighted2(QHook &hook) { if ( !highlighted2_event.func ) connect(handle, SIGNAL(highlighted(const QString&)), this, SLOT(highlighted2_hook(const QString&))); highlighted2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(highlighted(const QString&)), this, SLOT(highlighted2_hook(const QString&))); } void hook_anchorClicked(QHook &hook) { if ( !anchorClicked_event.func ) connect(handle, SIGNAL(anchorClicked(const QUrl&)), this, SLOT(anchorClicked_hook(const QUrl&))); anchorClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(anchorClicked(const QUrl&)), this, SLOT(anchorClicked_hook(const QUrl&))); } private slots: void backwardAvailable_hook(bool AnonParam1) { if ( backwardAvailable_event.func ) { typedef void (*func_type)(void *data, bool AnonParam1); (*(func_type)backwardAvailable_event.func)(backwardAvailable_event.data, AnonParam1); } } void forwardAvailable_hook(bool AnonParam1) { if ( forwardAvailable_event.func ) { typedef void (*func_type)(void *data, bool AnonParam1); (*(func_type)forwardAvailable_event.func)(forwardAvailable_event.data, AnonParam1); } } void historyChanged_hook() { if ( historyChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)historyChanged_event.func)(historyChanged_event.data); } } void sourceChanged_hook(const QUrl& AnonParam1) { if ( sourceChanged_event.func ) { typedef void (*func_type)(void *data, const QUrlH AnonParam1); (*(func_type)sourceChanged_event.func)(sourceChanged_event.data, (const QUrlH)&AnonParam1); } } void highlighted_hook(const QUrl& AnonParam1) { if ( highlighted_event.func ) { typedef void (*func_type)(void *data, const QUrlH AnonParam1); (*(func_type)highlighted_event.func)(highlighted_event.data, (const QUrlH)&AnonParam1); } } void highlighted2_hook(const QString& AnonParam1) { if ( highlighted2_event.func ) { typedef void (*func_type)(void *data, PWideString AnonParam1); PWideString t_AnonParam1; initializePWideString(t_AnonParam1); copyQStringToPWideString(AnonParam1, t_AnonParam1); (*(func_type)highlighted2_event.func)(highlighted2_event.data, t_AnonParam1); finalizePWideString(t_AnonParam1); } } void anchorClicked_hook(const QUrl& AnonParam1) { if ( anchorClicked_event.func ) { typedef void (*func_type)(void *data, const QUrlH AnonParam1); (*(func_type)anchorClicked_event.func)(anchorClicked_event.data, (const QUrlH)&AnonParam1); } } private: QHook backwardAvailable_event; QHook forwardAvailable_event; QHook historyChanged_event; QHook sourceChanged_event; QHook highlighted_event; QHook highlighted2_event; QHook anchorClicked_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstracttextdocumentlayout_hook_c.h0000664000212600021260000000307711677135472024423 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTTEXTDOCUMENTLAYOUT_HOOK_C_H #define QABSTRACTTEXTDOCUMENTLAYOUT_HOOK_C_H #include "qabstracttextdocumentlayout_hook.h" C_EXPORT QAbstractTextDocumentLayout_hookH QAbstractTextDocumentLayout_hook_create(QObjectH handle); C_EXPORT void QAbstractTextDocumentLayout_hook_destroy(QAbstractTextDocumentLayout_hookH handle); C_EXPORT void QAbstractTextDocumentLayout_hook_hook_update(QAbstractTextDocumentLayout_hookH handle, QHookH hook); C_EXPORT void QAbstractTextDocumentLayout_hook_hook_update2(QAbstractTextDocumentLayout_hookH handle, QHookH hook); C_EXPORT void QAbstractTextDocumentLayout_hook_hook_updateBlock(QAbstractTextDocumentLayout_hookH handle, QHookH hook); C_EXPORT void QAbstractTextDocumentLayout_hook_hook_documentSizeChanged(QAbstractTextDocumentLayout_hookH handle, QHookH hook); C_EXPORT void QAbstractTextDocumentLayout_hook_hook_pageCountChanged(QAbstractTextDocumentLayout_hookH handle, QHookH hook); C_EXPORT QTextObjectInterface_hookH QTextObjectInterface_hook_create(QObjectH handle); C_EXPORT void QTextObjectInterface_hook_destroy(QTextObjectInterface_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprogressdialog_hook_c.h0000664000212600021260000000150111677135472021730 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPROGRESSDIALOG_HOOK_C_H #define QPROGRESSDIALOG_HOOK_C_H #include "qprogressdialog_hook.h" C_EXPORT QProgressDialog_hookH QProgressDialog_hook_create(QObjectH handle); C_EXPORT void QProgressDialog_hook_destroy(QProgressDialog_hookH handle); C_EXPORT void QProgressDialog_hook_hook_canceled(QProgressDialog_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qobject_c.cpp0000664000212600021260000001147511677135472017500 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qobject_c.h" QObjectH QObject_create(QObjectH parent) { return (QObjectH) new QObject((QObject*)parent); } void QObject_destroy(QObjectH handle) { delete (QObject *)handle; } bool QObject_event(QObjectH handle, QEventH AnonParam1) { return (bool) ((QObject *)handle)->event((QEvent*)AnonParam1); } bool QObject_eventFilter(QObjectH handle, QObjectH AnonParam1, QEventH AnonParam2) { return (bool) ((QObject *)handle)->eventFilter((QObject*)AnonParam1, (QEvent*)AnonParam2); } void QObject_tr(PWideString retval, const char* sourceText, const char* comment, int n) { QString t_retval; t_retval = QObject::tr(sourceText, comment, n); copyQStringToPWideString(t_retval, retval); } void QObject_trUtf8(PWideString retval, const char* sourceText, const char* comment, int n) { QString t_retval; t_retval = QObject::trUtf8(sourceText, comment, n); copyQStringToPWideString(t_retval, retval); } const QMetaObjectH QObject_metaObject(QObjectH handle) { return (const QMetaObjectH) ((QObject *)handle)->metaObject(); } void QObject_objectName(QObjectH handle, PWideString retval) { QString t_retval; t_retval = ((QObject *)handle)->objectName(); copyQStringToPWideString(t_retval, retval); } void QObject_setObjectName(QObjectH handle, PWideString name) { QString t_name; copyPWideStringToQString(name, t_name); ((QObject *)handle)->setObjectName(t_name); } bool QObject_isWidgetType(QObjectH handle) { return (bool) ((QObject *)handle)->isWidgetType(); } bool QObject_signalsBlocked(QObjectH handle) { return (bool) ((QObject *)handle)->signalsBlocked(); } bool QObject_blockSignals(QObjectH handle, bool b) { return (bool) ((QObject *)handle)->blockSignals(b); } QThreadH QObject_thread(QObjectH handle) { return (QThreadH) ((QObject *)handle)->thread(); } void QObject_moveToThread(QObjectH handle, QThreadH thread) { ((QObject *)handle)->moveToThread((QThread*)thread); } int QObject_startTimer(QObjectH handle, int interval) { return (int) ((QObject *)handle)->startTimer(interval); } void QObject_killTimer(QObjectH handle, int id) { ((QObject *)handle)->killTimer(id); } void QObject_children(QObjectH handle, PPtrIntArray retval) { QObjectList t_retval; t_retval = ((QObject *)handle)->children(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QObject_setParent(QObjectH handle, QObjectH AnonParam1) { ((QObject *)handle)->setParent((QObject*)AnonParam1); } void QObject_installEventFilter(QObjectH handle, QObjectH AnonParam1) { ((QObject *)handle)->installEventFilter((QObject*)AnonParam1); } void QObject_removeEventFilter(QObjectH handle, QObjectH AnonParam1) { ((QObject *)handle)->removeEventFilter((QObject*)AnonParam1); } bool QObject_connect(const QObjectH sender, const char* signal, const QObjectH receiver, const char* member, Qt::ConnectionType AnonParam5) { return (bool) QObject::connect((const QObject*)sender, signal, (const QObject*)receiver, member, AnonParam5); } bool QObject_connect2(QObjectH handle, const QObjectH sender, const char* signal, const char* member, Qt::ConnectionType type) { return (bool) ((QObject *)handle)->connect((const QObject*)sender, signal, member, type); } bool QObject_disconnect(const QObjectH sender, const char* signal, const QObjectH receiver, const char* member) { return (bool) QObject::disconnect((const QObject*)sender, signal, (const QObject*)receiver, member); } bool QObject_disconnect3(QObjectH handle, const QObjectH receiver, const char* member) { return (bool) ((QObject *)handle)->disconnect((const QObject*)receiver, member); } void QObject_dumpObjectTree(QObjectH handle) { ((QObject *)handle)->dumpObjectTree(); } void QObject_dumpObjectInfo(QObjectH handle) { ((QObject *)handle)->dumpObjectInfo(); } bool QObject_setProperty(QObjectH handle, const char* name, const QVariantH value) { return (bool) ((QObject *)handle)->setProperty(name, *(const QVariant*)value); } void QObject_property(QObjectH handle, QVariantH retval, const char* name) { *(QVariant *)retval = ((QObject *)handle)->property(name); } uint QObject_registerUserData() { return (uint) QObject::registerUserData(); } QObjectH QObject_parent(QObjectH handle) { return (QObjectH) ((QObject *)handle)->parent(); } bool QObject_inherits(QObjectH handle, const char* classname) { return (bool) ((QObject *)handle)->inherits(classname); } void QObject_deleteLater(QObjectH handle) { ((QObject *)handle)->deleteLater(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebsecurityorigin_hook_c.cpp0000664000212600021260000000143511677135472023022 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebsecurityorigin_hook_c.h" QWebSecurityOrigin_hookH QWebSecurityOrigin_hook_create(QObjectH handle) { return (QWebSecurityOrigin_hookH) new QWebSecurityOrigin_hook((QObject*)handle); } void QWebSecurityOrigin_hook_destroy(QWebSecurityOrigin_hookH handle) { delete (QWebSecurityOrigin_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlcltabwidget_c.h0000664000212600021260000000123311677135472020333 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLCLTABWIDGET_C_H #define QLCLTABWIDGET_C_H #include "qlcltabwidget.h" #include "pascalbind.h" C_EXPORT QTabBarH QLCLTabWidget_tabBarHandle(QTabWidgetH protectedhandle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwidget_hook.h0000664000212600021260000000311311677135472017666 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWIDGET_HOOK_H #define QWIDGET_HOOK_H #include #include "qobject_hook.h" class QWidget_hook : public QObject_hook { Q_OBJECT public: QWidget_hook(QObject *handle) : QObject_hook(handle) { customContextMenuRequested_event.func = NULL; } void hook_customContextMenuRequested(QHook &hook) { if ( !customContextMenuRequested_event.func ) connect(handle, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(customContextMenuRequested_hook(const QPoint&))); customContextMenuRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(customContextMenuRequested_hook(const QPoint&))); } private slots: void customContextMenuRequested_hook(const QPoint& pos) { if ( customContextMenuRequested_event.func ) { typedef void (*func_type)(void *data, const QPointH pos); (*(func_type)customContextMenuRequested_event.func)(customContextMenuRequested_event.data, (const QPointH)&pos); } } private: QHook customContextMenuRequested_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcheckbox_hook.h0000664000212600021260000000260011677135472020171 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCHECKBOX_HOOK_H #define QCHECKBOX_HOOK_H #include #include "qabstractbutton_hook.h" class QCheckBox_hook : public QAbstractButton_hook { Q_OBJECT public: QCheckBox_hook(QObject *handle) : QAbstractButton_hook(handle) { stateChanged_event.func = NULL; } void hook_stateChanged(QHook &hook) { if ( !stateChanged_event.func ) connect(handle, SIGNAL(stateChanged(int)), this, SLOT(stateChanged_hook(int))); stateChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(stateChanged(int)), this, SLOT(stateChanged_hook(int))); } private slots: void stateChanged_hook(int AnonParam1) { if ( stateChanged_event.func ) { typedef void (*func_type)(void *data, int AnonParam1); (*(func_type)stateChanged_event.func)(stateChanged_event.data, AnonParam1); } } private: QHook stateChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwhatsthis_c.cpp0000664000212600021260000000214211677135472020237 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwhatsthis_c.h" void QWhatsThis_enterWhatsThisMode() { QWhatsThis::enterWhatsThisMode(); } bool QWhatsThis_inWhatsThisMode() { return (bool) QWhatsThis::inWhatsThisMode(); } void QWhatsThis_leaveWhatsThisMode() { QWhatsThis::leaveWhatsThisMode(); } void QWhatsThis_showText(const QPointH pos, PWideString text, QWidgetH w) { QString t_text; copyPWideStringToQString(text, t_text); QWhatsThis::showText(*(const QPoint*)pos, t_text, (QWidget*)w); } void QWhatsThis_hideText() { QWhatsThis::hideText(); } QActionH QWhatsThis_createAction(QObjectH parent) { return (QActionH) QWhatsThis::createAction((QObject*)parent); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpushbutton_hook_c.cpp0000664000212600021260000000134511677135472021460 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qpushbutton_hook_c.h" QPushButton_hookH QPushButton_hook_create(QObjectH handle) { return (QPushButton_hookH) new QPushButton_hook((QObject*)handle); } void QPushButton_hook_destroy(QPushButton_hookH handle) { delete (QPushButton_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlayout_hook_c.h0000664000212600021260000000125411677135472020226 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLAYOUT_HOOK_C_H #define QLAYOUT_HOOK_C_H #include "qlayout_hook.h" C_EXPORT QLayout_hookH QLayout_hook_create(QObjectH handle); C_EXPORT void QLayout_hook_destroy(QLayout_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qimage_c.h0000664000212600021260000001466311677135472016763 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QIMAGE_C_H #define QIMAGE_C_H #include #include "pascalbind.h" C_EXPORT QImageH QImage_create(); C_EXPORT void QImage_destroy(QImageH handle); C_EXPORT QImageH QImage_create2(const QSizeH size, QImage::Format format); C_EXPORT QImageH QImage_create3(int width, int height, QImage::Format format); C_EXPORT QImageH QImage_create4(uchar* data, int width, int height, QImage::Format format); C_EXPORT QImageH QImage_create6(uchar* data, int width, int height, int bytesPerLine, QImage::Format format); C_EXPORT QImageH QImage_create8(const char* const xpm); C_EXPORT QImageH QImage_create9(PWideString fileName, const char* format); C_EXPORT QImageH QImage_create10(const char* fileName, const char* format); C_EXPORT QImageH QImage_create11(const QImageH AnonParam1); C_EXPORT bool QImage_isNull(QImageH handle); C_EXPORT int QImage_devType(QImageH handle); C_EXPORT void QImage_detach(QImageH handle); C_EXPORT bool QImage_isDetached(QImageH handle); C_EXPORT void QImage_copy(QImageH handle, QImageH retval, PRect rect); C_EXPORT void QImage_copy2(QImageH handle, QImageH retval, int x, int y, int w, int h); C_EXPORT QImage::Format QImage_format(QImageH handle); C_EXPORT void QImage_convertToFormat(QImageH handle, QImageH retval, QImage::Format f, unsigned int flags); C_EXPORT int QImage_width(QImageH handle); C_EXPORT int QImage_height(QImageH handle); C_EXPORT void QImage_size(QImageH handle, PSize retval); C_EXPORT void QImage_rect(QImageH handle, PRect retval); C_EXPORT int QImage_depth(QImageH handle); C_EXPORT int QImage_numColors(QImageH handle); C_EXPORT QRgb QImage_color(QImageH handle, int i); C_EXPORT void QImage_setColor(QImageH handle, int i, QRgb c); C_EXPORT void QImage_setNumColors(QImageH handle, int AnonParam1); C_EXPORT bool QImage_allGray(QImageH handle); C_EXPORT bool QImage_isGrayscale(QImageH handle); C_EXPORT uchar* QImage_bits(QImageH handle); C_EXPORT int QImage_numBytes(QImageH handle); C_EXPORT uchar* QImage_scanLine(QImageH handle, int AnonParam1); C_EXPORT int QImage_bytesPerLine(QImageH handle); C_EXPORT bool QImage_valid(QImageH handle, int x, int y); C_EXPORT bool QImage_valid2(QImageH handle, const QPointH pt); C_EXPORT int QImage_pixelIndex(QImageH handle, int x, int y); C_EXPORT int QImage_pixelIndex2(QImageH handle, const QPointH pt); C_EXPORT QRgb QImage_pixel(QImageH handle, int x, int y); C_EXPORT QRgb QImage_pixel2(QImageH handle, const QPointH pt); C_EXPORT void QImage_setPixel(QImageH handle, int x, int y, uint index_or_rgb); C_EXPORT void QImage_setPixel2(QImageH handle, const QPointH pt, uint index_or_rgb); C_EXPORT void QImage_fill(QImageH handle, uint pixel); C_EXPORT bool QImage_hasAlphaChannel(QImageH handle); C_EXPORT void QImage_setAlphaChannel(QImageH handle, const QImageH alphaChannel); C_EXPORT void QImage_alphaChannel(QImageH handle, QImageH retval); C_EXPORT void QImage_createAlphaMask(QImageH handle, QImageH retval, unsigned int flags); C_EXPORT void QImage_createHeuristicMask(QImageH handle, QImageH retval, bool clipTight); C_EXPORT void QImage_createMaskFromColor(QImageH handle, QImageH retval, QRgb color, Qt::MaskMode mode); C_EXPORT void QImage_scaled(QImageH handle, QImageH retval, int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode); C_EXPORT void QImage_scaled2(QImageH handle, QImageH retval, const QSizeH s, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode); C_EXPORT void QImage_scaledToWidth(QImageH handle, QImageH retval, int w, Qt::TransformationMode mode); C_EXPORT void QImage_scaledToHeight(QImageH handle, QImageH retval, int h, Qt::TransformationMode mode); C_EXPORT void QImage_transformed(QImageH handle, QImageH retval, const QMatrixH matrix, Qt::TransformationMode mode); C_EXPORT void QImage_trueMatrix(QMatrixH retval, const QMatrixH AnonParam1, int w, int h); C_EXPORT void QImage_transformed2(QImageH handle, QImageH retval, const QTransformH matrix, Qt::TransformationMode mode); C_EXPORT void QImage_trueMatrix2(QTransformH retval, const QTransformH AnonParam1, int w, int h); C_EXPORT void QImage_mirrored(QImageH handle, QImageH retval, bool horizontally, bool vertically); C_EXPORT void QImage_rgbSwapped(QImageH handle, QImageH retval); C_EXPORT void QImage_invertPixels(QImageH handle, QImage::InvertMode AnonParam1); C_EXPORT bool QImage_load(QImageH handle, QIODeviceH device, const char* format); C_EXPORT bool QImage_load2(QImageH handle, PWideString fileName, const char* format); C_EXPORT bool QImage_loadFromData(QImageH handle, const uchar* buf, int len, const char* format); C_EXPORT bool QImage_loadFromData2(QImageH handle, const QByteArrayH data, const char* aformat); C_EXPORT bool QImage_save(QImageH handle, PWideString fileName, const char* format, int quality); C_EXPORT bool QImage_save2(QImageH handle, QIODeviceH device, const char* format, int quality); C_EXPORT void QImage_fromData(QImageH retval, const uchar* data, int size, const char* format); C_EXPORT void QImage_fromData2(QImageH retval, const QByteArrayH data, const char* format); C_EXPORT int QImage_serialNumber(QImageH handle); C_EXPORT qint64 QImage_cacheKey(QImageH handle); C_EXPORT QPaintEngineH QImage_paintEngine(QImageH handle); C_EXPORT int QImage_dotsPerMeterX(QImageH handle); C_EXPORT int QImage_dotsPerMeterY(QImageH handle); C_EXPORT void QImage_setDotsPerMeterX(QImageH handle, int AnonParam1); C_EXPORT void QImage_setDotsPerMeterY(QImageH handle, int AnonParam1); C_EXPORT void QImage_offset(QImageH handle, PQtPoint retval); C_EXPORT void QImage_setOffset(QImageH handle, const QPointH AnonParam1); C_EXPORT void QImage_textKeys(QImageH handle, QStringListH retval); C_EXPORT void QImage_text(QImageH handle, PWideString retval, PWideString key); C_EXPORT void QImage_setText(QImageH handle, PWideString key, PWideString value); C_EXPORT void QImage_text2(QImageH handle, PWideString retval, const char* key, const char* lang); C_EXPORT void QImage_textLanguages(QImageH handle, QStringListH retval); C_EXPORT void QImage_setText2(QImageH handle, const char* key, const char* lang, PWideString AnonParam3); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qbrush_c.h0000664000212600021260000001314111677135472017012 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QBRUSH_C_H #define QBRUSH_C_H #include #include "pascalbind.h" C_EXPORT QBrushH QBrush_create(); C_EXPORT void QBrush_destroy(QBrushH handle); C_EXPORT QBrushH QBrush_create2(Qt::BrushStyle bs); C_EXPORT QBrushH QBrush_create3(const QColorH color, Qt::BrushStyle bs); C_EXPORT QBrushH QBrush_create4(Qt::GlobalColor color, Qt::BrushStyle bs); C_EXPORT QBrushH QBrush_create5(const QColorH color, const QPixmapH pixmap); C_EXPORT QBrushH QBrush_create6(Qt::GlobalColor color, const QPixmapH pixmap); C_EXPORT QBrushH QBrush_create7(const QPixmapH pixmap); C_EXPORT QBrushH QBrush_create8(const QImageH image); C_EXPORT QBrushH QBrush_create9(const QBrushH brush); C_EXPORT QBrushH QBrush_create10(const QGradientH gradient); C_EXPORT Qt::BrushStyle QBrush_style(QBrushH handle); C_EXPORT void QBrush_setStyle(QBrushH handle, Qt::BrushStyle AnonParam1); C_EXPORT const QMatrixH QBrush_matrix(QBrushH handle); C_EXPORT void QBrush_setMatrix(QBrushH handle, const QMatrixH mat); C_EXPORT void QBrush_transform(QBrushH handle, QTransformH retval); C_EXPORT void QBrush_setTransform(QBrushH handle, const QTransformH AnonParam1); C_EXPORT void QBrush_texture(QBrushH handle, QPixmapH retval); C_EXPORT void QBrush_setTexture(QBrushH handle, const QPixmapH pixmap); C_EXPORT void QBrush_textureImage(QBrushH handle, QImageH retval); C_EXPORT void QBrush_setTextureImage(QBrushH handle, const QImageH image); C_EXPORT const QColorH QBrush_color(QBrushH handle); C_EXPORT void QBrush_setColor(QBrushH handle, const QColorH color); C_EXPORT void QBrush_setColor2(QBrushH handle, Qt::GlobalColor color); C_EXPORT const QGradientH QBrush_gradient(QBrushH handle); C_EXPORT bool QBrush_isOpaque(QBrushH handle); C_EXPORT bool QBrush_isDetached(QBrushH handle); C_EXPORT QGradientH QGradient_create(); C_EXPORT void QGradient_destroy(QGradientH handle); C_EXPORT QGradient::Type QGradient_type(QGradientH handle); C_EXPORT void QGradient_setSpread(QGradientH handle, QGradient::Spread spread); C_EXPORT QGradient::Spread QGradient_spread(QGradientH handle); C_EXPORT void QGradient_setColorAt(QGradientH handle, qreal pos, const QColorH color); C_EXPORT QGradient::CoordinateMode QGradient_coordinateMode(QGradientH handle); C_EXPORT void QGradient_setCoordinateMode(QGradientH handle, QGradient::CoordinateMode mode); C_EXPORT QGradient::InterpolationMode QGradient_interpolationMode(QGradientH handle); C_EXPORT void QGradient_setInterpolationMode(QGradientH handle, QGradient::InterpolationMode mode); C_EXPORT QLinearGradientH QLinearGradient_create(); C_EXPORT void QLinearGradient_destroy(QLinearGradientH handle); C_EXPORT QLinearGradientH QLinearGradient_create2(const QPointFH start, const QPointFH finalStop); C_EXPORT QLinearGradientH QLinearGradient_create3(qreal xStart, qreal yStart, qreal xFinalStop, qreal yFinalStop); C_EXPORT void QLinearGradient_start(QLinearGradientH handle, PQtPointF retval); C_EXPORT void QLinearGradient_setStart(QLinearGradientH handle, const QPointFH start); C_EXPORT void QLinearGradient_setStart2(QLinearGradientH handle, qreal x, qreal y); C_EXPORT void QLinearGradient_finalStop(QLinearGradientH handle, PQtPointF retval); C_EXPORT void QLinearGradient_setFinalStop(QLinearGradientH handle, const QPointFH stop); C_EXPORT void QLinearGradient_setFinalStop2(QLinearGradientH handle, qreal x, qreal y); C_EXPORT QRadialGradientH QRadialGradient_create(); C_EXPORT void QRadialGradient_destroy(QRadialGradientH handle); C_EXPORT QRadialGradientH QRadialGradient_create2(const QPointFH center, qreal radius, const QPointFH focalPoint); C_EXPORT QRadialGradientH QRadialGradient_create3(qreal cx, qreal cy, qreal radius, qreal fx, qreal fy); C_EXPORT QRadialGradientH QRadialGradient_create4(const QPointFH center, qreal radius); C_EXPORT QRadialGradientH QRadialGradient_create5(qreal cx, qreal cy, qreal radius); C_EXPORT void QRadialGradient_center(QRadialGradientH handle, PQtPointF retval); C_EXPORT void QRadialGradient_setCenter(QRadialGradientH handle, const QPointFH center); C_EXPORT void QRadialGradient_setCenter2(QRadialGradientH handle, qreal x, qreal y); C_EXPORT void QRadialGradient_focalPoint(QRadialGradientH handle, PQtPointF retval); C_EXPORT void QRadialGradient_setFocalPoint(QRadialGradientH handle, const QPointFH focalPoint); C_EXPORT void QRadialGradient_setFocalPoint2(QRadialGradientH handle, qreal x, qreal y); C_EXPORT qreal QRadialGradient_radius(QRadialGradientH handle); C_EXPORT void QRadialGradient_setRadius(QRadialGradientH handle, qreal radius); C_EXPORT QConicalGradientH QConicalGradient_create(); C_EXPORT void QConicalGradient_destroy(QConicalGradientH handle); C_EXPORT QConicalGradientH QConicalGradient_create2(const QPointFH center, qreal startAngle); C_EXPORT QConicalGradientH QConicalGradient_create3(qreal cx, qreal cy, qreal startAngle); C_EXPORT void QConicalGradient_center(QConicalGradientH handle, PQtPointF retval); C_EXPORT void QConicalGradient_setCenter(QConicalGradientH handle, const QPointFH center); C_EXPORT void QConicalGradient_setCenter2(QConicalGradientH handle, qreal x, qreal y); C_EXPORT qreal QConicalGradient_angle(QConicalGradientH handle); C_EXPORT void QConicalGradient_setAngle(QConicalGradientH handle, qreal angle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcoreapplication_c.h0000664000212600021260000001002511677135472021041 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCOREAPPLICATION_C_H #define QCOREAPPLICATION_C_H #include #include "pascalbind.h" C_EXPORT QCoreApplicationH QCoreApplication_create(int* argc, char** argv); C_EXPORT void QCoreApplication_destroy(QCoreApplicationH handle); C_EXPORT void QCoreApplication_arguments(QStringListH retval); C_EXPORT void QCoreApplication_setAttribute(Qt::ApplicationAttribute attribute, bool on); C_EXPORT bool QCoreApplication_testAttribute(Qt::ApplicationAttribute attribute); C_EXPORT void QCoreApplication_setOrganizationDomain(PWideString orgDomain); C_EXPORT void QCoreApplication_organizationDomain(PWideString retval); C_EXPORT void QCoreApplication_setOrganizationName(PWideString orgName); C_EXPORT void QCoreApplication_organizationName(PWideString retval); C_EXPORT void QCoreApplication_setApplicationName(PWideString application); C_EXPORT void QCoreApplication_applicationName(PWideString retval); C_EXPORT void QCoreApplication_setApplicationVersion(PWideString version); C_EXPORT void QCoreApplication_applicationVersion(PWideString retval); C_EXPORT QCoreApplicationH QCoreApplication_instance(); C_EXPORT int QCoreApplication_exec(); C_EXPORT void QCoreApplication_processEvents(unsigned int flags); C_EXPORT void QCoreApplication_processEvents2(unsigned int flags, int maxtime); C_EXPORT void QCoreApplication_exit(int retcode); C_EXPORT bool QCoreApplication_sendEvent(QObjectH receiver, QEventH event); C_EXPORT void QCoreApplication_postEvent(QObjectH receiver, QEventH event); C_EXPORT void QCoreApplication_postEvent2(QObjectH receiver, QEventH event, int priority); C_EXPORT void QCoreApplication_sendPostedEvents(QObjectH receiver, int event_type); C_EXPORT void QCoreApplication_sendPostedEvents2(); C_EXPORT void QCoreApplication_removePostedEvents(QObjectH receiver); C_EXPORT void QCoreApplication_removePostedEvents2(QObjectH receiver, int eventType); C_EXPORT bool QCoreApplication_hasPendingEvents(); C_EXPORT bool QCoreApplication_notify(QCoreApplicationH handle, QObjectH AnonParam1, QEventH AnonParam2); C_EXPORT bool QCoreApplication_startingUp(); C_EXPORT bool QCoreApplication_closingDown(); C_EXPORT void QCoreApplication_applicationDirPath(PWideString retval); C_EXPORT void QCoreApplication_applicationFilePath(PWideString retval); C_EXPORT qint64 QCoreApplication_applicationPid(); C_EXPORT void QCoreApplication_setLibraryPaths(const QStringListH AnonParam1); C_EXPORT void QCoreApplication_libraryPaths(QStringListH retval); C_EXPORT void QCoreApplication_addLibraryPath(PWideString AnonParam1); C_EXPORT void QCoreApplication_removeLibraryPath(PWideString AnonParam1); C_EXPORT void QCoreApplication_installTranslator(QTranslatorH messageFile); C_EXPORT void QCoreApplication_removeTranslator(QTranslatorH messageFile); C_EXPORT void QCoreApplication_translate(PWideString retval, const char* context, const char* key, const char* disambiguation, QCoreApplication::Encoding encoding); C_EXPORT void QCoreApplication_translate2(PWideString retval, const char* context, const char* key, const char* disambiguation, QCoreApplication::Encoding encoding, int n); C_EXPORT void QCoreApplication_flush(); #if defined BINUX || DARWIN || QTOPIA C_EXPORT void QCoreApplication_watchUnixSignal(int signal, bool watch); #endif C_EXPORT EventFilter QCoreApplication_setEventFilter(QCoreApplicationH handle, EventFilter filter); C_EXPORT bool QCoreApplication_filterEvent(QCoreApplicationH handle, void* message, long* result); C_EXPORT void QCoreApplication_quit(); #if defined MSWINDOWS C_EXPORT bool QCoreApplication_winEventFilter(QCoreApplicationH handle, MSG* message, long* result); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsslerror_c.h0000664000212600021260000000177011677135472017547 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSSLERROR_C_H #define QSSLERROR_C_H #include #include "pascalbind.h" C_EXPORT QSslErrorH QSslError_create(QSslError::SslError error, const QSslCertificateH certificate); C_EXPORT void QSslError_destroy(QSslErrorH handle); C_EXPORT QSslErrorH QSslError_create2(const QSslErrorH other); C_EXPORT QSslError::SslError QSslError_error(QSslErrorH handle); C_EXPORT void QSslError_errorString(QSslErrorH handle, PWideString retval); C_EXPORT void QSslError_certificate(QSslErrorH handle, QSslCertificateH retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qactiongroup_c.h0000664000212600021260000000320611677135472020222 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QACTIONGROUP_C_H #define QACTIONGROUP_C_H #include #include "pascalbind.h" C_EXPORT QActionGroupH QActionGroup_create(QObjectH parent); C_EXPORT void QActionGroup_destroy(QActionGroupH handle); C_EXPORT QActionH QActionGroup_addAction(QActionGroupH handle, QActionH a); C_EXPORT QActionH QActionGroup_addAction2(QActionGroupH handle, PWideString text); C_EXPORT QActionH QActionGroup_addAction3(QActionGroupH handle, const QIconH icon, PWideString text); C_EXPORT void QActionGroup_removeAction(QActionGroupH handle, QActionH a); C_EXPORT void QActionGroup_actions(QActionGroupH handle, PPtrIntArray retval); C_EXPORT QActionH QActionGroup_checkedAction(QActionGroupH handle); C_EXPORT bool QActionGroup_isExclusive(QActionGroupH handle); C_EXPORT bool QActionGroup_isEnabled(QActionGroupH handle); C_EXPORT bool QActionGroup_isVisible(QActionGroupH handle); C_EXPORT void QActionGroup_setEnabled(QActionGroupH handle, bool AnonParam1); C_EXPORT void QActionGroup_setDisabled(QActionGroupH handle, bool b); C_EXPORT void QActionGroup_setVisible(QActionGroupH handle, bool AnonParam1); C_EXPORT void QActionGroup_setExclusive(QActionGroupH handle, bool AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmainwindow_hook_c.h0000664000212600021260000000160711677135472021067 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMAINWINDOW_HOOK_C_H #define QMAINWINDOW_HOOK_C_H #include "qmainwindow_hook.h" C_EXPORT QMainWindow_hookH QMainWindow_hook_create(QObjectH handle); C_EXPORT void QMainWindow_hook_destroy(QMainWindow_hookH handle); C_EXPORT void QMainWindow_hook_hook_iconSizeChanged(QMainWindow_hookH handle, QHookH hook); C_EXPORT void QMainWindow_hook_hook_toolButtonStyleChanged(QMainWindow_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbar_c.cpp0000664000212600021260000001151611677135472017670 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtoolbar_c.h" QToolBarH QToolBar_create(PWideString title, QWidgetH parent) { QString t_title; copyPWideStringToQString(title, t_title); return (QToolBarH) new QToolBar(t_title, (QWidget*)parent); } void QToolBar_destroy(QToolBarH handle) { delete (QToolBar *)handle; } QToolBarH QToolBar_create2(QWidgetH parent) { return (QToolBarH) new QToolBar((QWidget*)parent); } void QToolBar_setMovable(QToolBarH handle, bool movable) { ((QToolBar *)handle)->setMovable(movable); } bool QToolBar_isMovable(QToolBarH handle) { return (bool) ((QToolBar *)handle)->isMovable(); } void QToolBar_setAllowedAreas(QToolBarH handle, unsigned int areas) { ((QToolBar *)handle)->setAllowedAreas((Qt::ToolBarAreas)areas); } unsigned int QToolBar_allowedAreas(QToolBarH handle) { return (unsigned int) ((QToolBar *)handle)->allowedAreas(); } bool QToolBar_isAreaAllowed(QToolBarH handle, Qt::ToolBarArea area) { return (bool) ((QToolBar *)handle)->isAreaAllowed(area); } void QToolBar_setOrientation(QToolBarH handle, Qt::Orientation orientation) { ((QToolBar *)handle)->setOrientation(orientation); } Qt::Orientation QToolBar_orientation(QToolBarH handle) { return (Qt::Orientation) ((QToolBar *)handle)->orientation(); } void QToolBar_clear(QToolBarH handle) { ((QToolBar *)handle)->clear(); } QActionH QToolBar_addAction(QToolBarH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (QActionH) ((QToolBar *)handle)->addAction(t_text); } QActionH QToolBar_addAction2(QToolBarH handle, const QIconH icon, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (QActionH) ((QToolBar *)handle)->addAction(*(const QIcon*)icon, t_text); } QActionH QToolBar_addAction3(QToolBarH handle, PWideString text, const QObjectH receiver, const char* member) { QString t_text; copyPWideStringToQString(text, t_text); return (QActionH) ((QToolBar *)handle)->addAction(t_text, (const QObject*)receiver, member); } QActionH QToolBar_addAction4(QToolBarH handle, const QIconH icon, PWideString text, const QObjectH receiver, const char* member) { QString t_text; copyPWideStringToQString(text, t_text); return (QActionH) ((QToolBar *)handle)->addAction(*(const QIcon*)icon, t_text, (const QObject*)receiver, member); } QActionH QToolBar_addSeparator(QToolBarH handle) { return (QActionH) ((QToolBar *)handle)->addSeparator(); } QActionH QToolBar_insertSeparator(QToolBarH handle, QActionH before) { return (QActionH) ((QToolBar *)handle)->insertSeparator((QAction*)before); } QActionH QToolBar_addWidget(QToolBarH handle, QWidgetH widget) { return (QActionH) ((QToolBar *)handle)->addWidget((QWidget*)widget); } QActionH QToolBar_insertWidget(QToolBarH handle, QActionH before, QWidgetH widget) { return (QActionH) ((QToolBar *)handle)->insertWidget((QAction*)before, (QWidget*)widget); } void QToolBar_actionGeometry(QToolBarH handle, PRect retval, QActionH action) { QRect t_retval; t_retval = ((QToolBar *)handle)->actionGeometry((QAction*)action); copyQRectToPRect(t_retval, retval); } QActionH QToolBar_actionAt(QToolBarH handle, const QPointH p) { return (QActionH) ((QToolBar *)handle)->actionAt(*(const QPoint*)p); } QActionH QToolBar_actionAt2(QToolBarH handle, int x, int y) { return (QActionH) ((QToolBar *)handle)->actionAt(x, y); } QActionH QToolBar_toggleViewAction(QToolBarH handle) { return (QActionH) ((QToolBar *)handle)->toggleViewAction(); } void QToolBar_iconSize(QToolBarH handle, PSize retval) { *(QSize *)retval = ((QToolBar *)handle)->iconSize(); } Qt::ToolButtonStyle QToolBar_toolButtonStyle(QToolBarH handle) { return (Qt::ToolButtonStyle) ((QToolBar *)handle)->toolButtonStyle(); } QWidgetH QToolBar_widgetForAction(QToolBarH handle, QActionH action) { return (QWidgetH) ((QToolBar *)handle)->widgetForAction((QAction*)action); } bool QToolBar_isFloatable(QToolBarH handle) { return (bool) ((QToolBar *)handle)->isFloatable(); } void QToolBar_setFloatable(QToolBarH handle, bool floatable) { ((QToolBar *)handle)->setFloatable(floatable); } bool QToolBar_isFloating(QToolBarH handle) { return (bool) ((QToolBar *)handle)->isFloating(); } void QToolBar_setIconSize(QToolBarH handle, const QSizeH iconSize) { ((QToolBar *)handle)->setIconSize(*(const QSize*)iconSize); } void QToolBar_setToolButtonStyle(QToolBarH handle, Qt::ToolButtonStyle toolButtonStyle) { ((QToolBar *)handle)->setToolButtonStyle(toolButtonStyle); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qudpsocket_hook.h0000664000212600021260000000136311677135472020411 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QUDPSOCKET_HOOK_H #define QUDPSOCKET_HOOK_H #include #include "qabstractsocket_hook.h" class QUdpSocket_hook : public QAbstractSocket_hook { Q_OBJECT public: QUdpSocket_hook(QObject *handle) : QAbstractSocket_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qclipboard_hook_c.cpp0000664000212600021260000000240711677135472021204 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qclipboard_hook_c.h" QClipboard_hookH QClipboard_hook_create(QObjectH handle) { return (QClipboard_hookH) new QClipboard_hook((QObject*)handle); } void QClipboard_hook_destroy(QClipboard_hookH handle) { delete (QClipboard_hook *)handle; } void QClipboard_hook_hook_changed(QClipboard_hookH handle, QHookH hook) { ((QClipboard_hook *)handle)->hook_changed(hook); } void QClipboard_hook_hook_selectionChanged(QClipboard_hookH handle, QHookH hook) { ((QClipboard_hook *)handle)->hook_selectionChanged(hook); } void QClipboard_hook_hook_findBufferChanged(QClipboard_hookH handle, QHookH hook) { ((QClipboard_hook *)handle)->hook_findBufferChanged(hook); } void QClipboard_hook_hook_dataChanged(QClipboard_hookH handle, QHookH hook) { ((QClipboard_hook *)handle)->hook_dataChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprocess_hook.h0000664000212600021260000001237511677135472020073 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPROCESS_HOOK_H #define QPROCESS_HOOK_H #include #include "qiodevice_hook.h" class QProcess_hook : public QIODevice_hook { Q_OBJECT public: QProcess_hook(QObject *handle) : QIODevice_hook(handle) { started_event.func = NULL; finished_event.func = NULL; finished2_event.func = NULL; error_event.func = NULL; stateChanged_event.func = NULL; readyReadStandardOutput_event.func = NULL; readyReadStandardError_event.func = NULL; } void hook_started(QHook &hook) { if ( !started_event.func ) connect(handle, SIGNAL(started()), this, SLOT(started_hook())); started_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(started()), this, SLOT(started_hook())); } void hook_finished(QHook &hook) { if ( !finished_event.func ) connect(handle, SIGNAL(finished(int)), this, SLOT(finished_hook(int))); finished_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(finished(int)), this, SLOT(finished_hook(int))); } void hook_finished2(QHook &hook) { if ( !finished2_event.func ) connect(handle, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(finished2_hook(int, QProcess::ExitStatus))); finished2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(finished2_hook(int, QProcess::ExitStatus))); } void hook_error(QHook &hook) { if ( !error_event.func ) connect(handle, SIGNAL(error(QProcess::ProcessError)), this, SLOT(error_hook(QProcess::ProcessError))); error_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(error(QProcess::ProcessError)), this, SLOT(error_hook(QProcess::ProcessError))); } void hook_stateChanged(QHook &hook) { if ( !stateChanged_event.func ) connect(handle, SIGNAL(stateChanged(QProcess::ProcessState)), this, SLOT(stateChanged_hook(QProcess::ProcessState))); stateChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(stateChanged(QProcess::ProcessState)), this, SLOT(stateChanged_hook(QProcess::ProcessState))); } void hook_readyReadStandardOutput(QHook &hook) { if ( !readyReadStandardOutput_event.func ) connect(handle, SIGNAL(readyReadStandardOutput()), this, SLOT(readyReadStandardOutput_hook())); readyReadStandardOutput_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(readyReadStandardOutput()), this, SLOT(readyReadStandardOutput_hook())); } void hook_readyReadStandardError(QHook &hook) { if ( !readyReadStandardError_event.func ) connect(handle, SIGNAL(readyReadStandardError()), this, SLOT(readyReadStandardError_hook())); readyReadStandardError_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(readyReadStandardError()), this, SLOT(readyReadStandardError_hook())); } private slots: void started_hook() { if ( started_event.func ) { typedef void (*func_type)(void *data); (*(func_type)started_event.func)(started_event.data); } } void finished_hook(int exitCode) { if ( finished_event.func ) { typedef void (*func_type)(void *data, int exitCode); (*(func_type)finished_event.func)(finished_event.data, exitCode); } } void finished2_hook(int exitCode, QProcess::ExitStatus exitStatus) { if ( finished2_event.func ) { typedef void (*func_type)(void *data, int exitCode, QProcess::ExitStatus exitStatus); (*(func_type)finished2_event.func)(finished2_event.data, exitCode, exitStatus); } } void error_hook(QProcess::ProcessError error) { if ( error_event.func ) { typedef void (*func_type)(void *data, QProcess::ProcessError error); (*(func_type)error_event.func)(error_event.data, error); } } void stateChanged_hook(QProcess::ProcessState state) { if ( stateChanged_event.func ) { typedef void (*func_type)(void *data, QProcess::ProcessState state); (*(func_type)stateChanged_event.func)(stateChanged_event.data, state); } } void readyReadStandardOutput_hook() { if ( readyReadStandardOutput_event.func ) { typedef void (*func_type)(void *data); (*(func_type)readyReadStandardOutput_event.func)(readyReadStandardOutput_event.data); } } void readyReadStandardError_hook() { if ( readyReadStandardError_event.func ) { typedef void (*func_type)(void *data); (*(func_type)readyReadStandardError_event.func)(readyReadStandardError_event.data); } } private: QHook started_event; QHook finished_event; QHook finished2_event; QHook error_event; QHook stateChanged_event; QHook readyReadStandardOutput_event; QHook readyReadStandardError_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebdatabase_hook_c.cpp0000664000212600021260000000135511677135472021510 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebdatabase_hook_c.h" QWebDatabase_hookH QWebDatabase_hook_create(QObjectH handle) { return (QWebDatabase_hookH) new QWebDatabase_hook((QObject*)handle); } void QWebDatabase_hook_destroy(QWebDatabase_hookH handle) { delete (QWebDatabase_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcursor_c.cpp0000664000212600021260000000517111677135472017543 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qcursor_c.h" QCursorH QCursor_create() { return (QCursorH) new QCursor(); } void QCursor_destroy(QCursorH handle) { delete (QCursor *)handle; } QCursorH QCursor_create2(Qt::CursorShape shape) { return (QCursorH) new QCursor(shape); } QCursorH QCursor_create3(const QBitmapH bitmap, const QBitmapH mask, int hotX, int hotY) { return (QCursorH) new QCursor(*(const QBitmap*)bitmap, *(const QBitmap*)mask, hotX, hotY); } QCursorH QCursor_create4(const QPixmapH pixmap, int hotX, int hotY) { return (QCursorH) new QCursor(*(const QPixmap*)pixmap, hotX, hotY); } QCursorH QCursor_create5(const QCursorH cursor) { return (QCursorH) new QCursor(*(const QCursor*)cursor); } Qt::CursorShape QCursor_shape(QCursorH handle) { return (Qt::CursorShape) ((QCursor *)handle)->shape(); } void QCursor_setShape(QCursorH handle, Qt::CursorShape newShape) { ((QCursor *)handle)->setShape(newShape); } const QBitmapH QCursor_bitmap(QCursorH handle) { return (const QBitmapH) ((QCursor *)handle)->bitmap(); } const QBitmapH QCursor_mask(QCursorH handle) { return (const QBitmapH) ((QCursor *)handle)->mask(); } void QCursor_pixmap(QCursorH handle, QPixmapH retval) { *(QPixmap *)retval = ((QCursor *)handle)->pixmap(); } void QCursor_hotSpot(QCursorH handle, PQtPoint retval) { *(QPoint *)retval = ((QCursor *)handle)->hotSpot(); } void QCursor_pos(PQtPoint retval) { *(QPoint *)retval = QCursor::pos(); } void QCursor_setPos(int x, int y) { QCursor::setPos(x, y); } void QCursor_setPos2(const QPointH p) { QCursor::setPos(*(const QPoint*)p); } #if defined BINUX || DARWIN Qt::HANDLE QCursor_handle(QCursorH handle) { return (Qt::HANDLE) ((QCursor *)handle)->handle(); } #endif #if defined BINUX QCursorH QCursor_create6(Qt::HANDLE cursor) { return (QCursorH) new QCursor(cursor); } int QCursor_x11Screen() { return (int) QCursor::x11Screen(); } #endif #if defined MSWINDOWS HCURSOR QCursor_handle2(QCursorH handle) { return (HCURSOR) ((QCursor *)handle)->handle(); } QCursorH QCursor_create7(HCURSOR cursor) { return (QCursorH) new QCursor(cursor); } #endif #if defined QTOPIA int QCursor_handle3(QCursorH handle) { return (int) ((QCursor *)handle)->handle(); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsystemtrayicon_hook_c.cpp0000664000212600021260000000206311677135472022340 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsystemtrayicon_hook_c.h" QSystemTrayIcon_hookH QSystemTrayIcon_hook_create(QObjectH handle) { return (QSystemTrayIcon_hookH) new QSystemTrayIcon_hook((QObject*)handle); } void QSystemTrayIcon_hook_destroy(QSystemTrayIcon_hookH handle) { delete (QSystemTrayIcon_hook *)handle; } void QSystemTrayIcon_hook_hook_activated(QSystemTrayIcon_hookH handle, QHookH hook) { ((QSystemTrayIcon_hook *)handle)->hook_activated(hook); } void QSystemTrayIcon_hook_hook_messageClicked(QSystemTrayIcon_hookH handle, QHookH hook) { ((QSystemTrayIcon_hook *)handle)->hook_messageClicked(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdesktopwidget_c.h0000664000212600021260000000336411677135472020552 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDESKTOPWIDGET_C_H #define QDESKTOPWIDGET_C_H #include #include "pascalbind.h" C_EXPORT QDesktopWidgetH QDesktopWidget_create(); C_EXPORT void QDesktopWidget_destroy(QDesktopWidgetH handle); C_EXPORT bool QDesktopWidget_isVirtualDesktop(QDesktopWidgetH handle); C_EXPORT int QDesktopWidget_numScreens(QDesktopWidgetH handle); C_EXPORT int QDesktopWidget_primaryScreen(QDesktopWidgetH handle); C_EXPORT int QDesktopWidget_screenNumber(QDesktopWidgetH handle, const QWidgetH widget); C_EXPORT int QDesktopWidget_screenNumber2(QDesktopWidgetH handle, const QPointH AnonParam1); C_EXPORT QWidgetH QDesktopWidget_screen(QDesktopWidgetH handle, int screen); C_EXPORT void QDesktopWidget_screenGeometry(QDesktopWidgetH handle, PRect retval, int screen); C_EXPORT void QDesktopWidget_screenGeometry2(QDesktopWidgetH handle, PRect retval, const QWidgetH widget); C_EXPORT void QDesktopWidget_screenGeometry3(QDesktopWidgetH handle, PRect retval, const QPointH point); C_EXPORT void QDesktopWidget_availableGeometry(QDesktopWidgetH handle, PRect retval, int screen); C_EXPORT void QDesktopWidget_availableGeometry2(QDesktopWidgetH handle, PRect retval, const QWidgetH widget); C_EXPORT void QDesktopWidget_availableGeometry3(QDesktopWidgetH handle, PRect retval, const QPointH point); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpicture_c.h0000664000212600021260000000357511677135472017354 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPICTURE_C_H #define QPICTURE_C_H #include #include "pascalbind.h" C_EXPORT QPictureH QPicture_create(int formatVersion); C_EXPORT void QPicture_destroy(QPictureH handle); C_EXPORT QPictureH QPicture_create2(const QPictureH AnonParam1); C_EXPORT bool QPicture_isNull(QPictureH handle); C_EXPORT int QPicture_devType(QPictureH handle); C_EXPORT uint QPicture_size(QPictureH handle); C_EXPORT const char* QPicture_data(QPictureH handle); C_EXPORT void QPicture_setData(QPictureH handle, const char* data, uint size); C_EXPORT bool QPicture_play(QPictureH handle, QPainterH p); C_EXPORT bool QPicture_load(QPictureH handle, QIODeviceH dev, const char* format); C_EXPORT bool QPicture_load2(QPictureH handle, PWideString fileName, const char* format); C_EXPORT bool QPicture_save(QPictureH handle, QIODeviceH dev, const char* format); C_EXPORT bool QPicture_save2(QPictureH handle, PWideString fileName, const char* format); C_EXPORT void QPicture_boundingRect(QPictureH handle, PRect retval); C_EXPORT void QPicture_setBoundingRect(QPictureH handle, PRect r); C_EXPORT void QPicture_detach(QPictureH handle); C_EXPORT bool QPicture_isDetached(QPictureH handle); C_EXPORT const char* QPicture_pictureFormat(PWideString fileName); C_EXPORT void QPicture_inputFormatList(QStringListH retval); C_EXPORT void QPicture_outputFormatList(QStringListH retval); C_EXPORT QPaintEngineH QPicture_paintEngine(QPictureH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qshortcut_c.h0000664000212600021260000000314511677135472017545 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSHORTCUT_C_H #define QSHORTCUT_C_H #include #include "pascalbind.h" C_EXPORT QShortcutH QShortcut_create(QWidgetH parent); C_EXPORT void QShortcut_destroy(QShortcutH handle); C_EXPORT QShortcutH QShortcut_create2(const QKeySequenceH key, QWidgetH parent, const char* member, const char* ambiguousMember, Qt::ShortcutContext context); C_EXPORT void QShortcut_setKey(QShortcutH handle, const QKeySequenceH key); C_EXPORT void QShortcut_key(QShortcutH handle, QKeySequenceH retval); C_EXPORT void QShortcut_setEnabled(QShortcutH handle, bool enable); C_EXPORT bool QShortcut_isEnabled(QShortcutH handle); C_EXPORT void QShortcut_setContext(QShortcutH handle, Qt::ShortcutContext context); C_EXPORT Qt::ShortcutContext QShortcut_context(QShortcutH handle); C_EXPORT void QShortcut_setWhatsThis(QShortcutH handle, PWideString text); C_EXPORT void QShortcut_whatsThis(QShortcutH handle, PWideString retval); C_EXPORT void QShortcut_setAutoRepeat(QShortcutH handle, bool on); C_EXPORT bool QShortcut_autoRepeat(QShortcutH handle); C_EXPORT int QShortcut_id(QShortcutH handle); C_EXPORT QWidgetH QShortcut_parentWidget(QShortcutH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qslider_hook_c.h0000664000212600021260000000125411677135472020173 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSLIDER_HOOK_C_H #define QSLIDER_HOOK_C_H #include "qslider_hook.h" C_EXPORT QSlider_hookH QSlider_hook_create(QObjectH handle); C_EXPORT void QSlider_hook_destroy(QSlider_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebdatabase_hook_c.h0000664000212600021260000000131711677135472021153 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBDATABASE_HOOK_C_H #define QWEBDATABASE_HOOK_C_H #include "qwebdatabase_hook.h" C_EXPORT QWebDatabase_hookH QWebDatabase_hook_create(QObjectH handle); C_EXPORT void QWebDatabase_hook_destroy(QWebDatabase_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclwebpage_c.h0000664000212600021260000000161411677135472017776 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLCLWEBPAGE_C_H #define QLCLWEBPAGE_C_H #include "qlclwebpage.h" #include "pascalbind.h" C_EXPORT QLCLWebPageH QLCLWebPage_create(QObjectH parent); C_EXPORT void QLCLWebPage_destroy(QLCLWebPageH handle); C_EXPORT void QLCLWebPage_override_userAgentForUrl(QLCLWebPageH handle, const QOverrideHook hook); C_EXPORT void QLCLWebPage_DefaultUserAgentForUrl(QLCLWebPageH handle, PWideString retval, const QUrlH url); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractprintdialog_hook_c.cpp0000664000212600021260000000145511677135472023307 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractprintdialog_hook_c.h" QAbstractPrintDialog_hookH QAbstractPrintDialog_hook_create(QObjectH handle) { return (QAbstractPrintDialog_hookH) new QAbstractPrintDialog_hook((QObject*)handle); } void QAbstractPrintDialog_hook_destroy(QAbstractPrintDialog_hookH handle) { delete (QAbstractPrintDialog_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractslider_hook_c.cpp0000664000212600021260000000323711677135472022255 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractslider_hook_c.h" QAbstractSlider_hookH QAbstractSlider_hook_create(QObjectH handle) { return (QAbstractSlider_hookH) new QAbstractSlider_hook((QObject*)handle); } void QAbstractSlider_hook_destroy(QAbstractSlider_hookH handle) { delete (QAbstractSlider_hook *)handle; } void QAbstractSlider_hook_hook_valueChanged(QAbstractSlider_hookH handle, QHookH hook) { ((QAbstractSlider_hook *)handle)->hook_valueChanged(hook); } void QAbstractSlider_hook_hook_sliderPressed(QAbstractSlider_hookH handle, QHookH hook) { ((QAbstractSlider_hook *)handle)->hook_sliderPressed(hook); } void QAbstractSlider_hook_hook_sliderMoved(QAbstractSlider_hookH handle, QHookH hook) { ((QAbstractSlider_hook *)handle)->hook_sliderMoved(hook); } void QAbstractSlider_hook_hook_sliderReleased(QAbstractSlider_hookH handle, QHookH hook) { ((QAbstractSlider_hook *)handle)->hook_sliderReleased(hook); } void QAbstractSlider_hook_hook_rangeChanged(QAbstractSlider_hookH handle, QHookH hook) { ((QAbstractSlider_hook *)handle)->hook_rangeChanged(hook); } void QAbstractSlider_hook_hook_actionTriggered(QAbstractSlider_hookH handle, QHookH hook) { ((QAbstractSlider_hook *)handle)->hook_actionTriggered(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtabwidget_c.cpp0000664000212600021260000001561211677135472020201 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtabwidget_c.h" QTabWidgetH QTabWidget_create(QWidgetH parent) { return (QTabWidgetH) new QTabWidget((QWidget*)parent); } void QTabWidget_destroy(QTabWidgetH handle) { delete (QTabWidget *)handle; } int QTabWidget_addTab(QTabWidgetH handle, QWidgetH widget, PWideString AnonParam2) { QString t_AnonParam2; copyPWideStringToQString(AnonParam2, t_AnonParam2); return (int) ((QTabWidget *)handle)->addTab((QWidget*)widget, t_AnonParam2); } int QTabWidget_addTab2(QTabWidgetH handle, QWidgetH widget, const QIconH icon, PWideString label) { QString t_label; copyPWideStringToQString(label, t_label); return (int) ((QTabWidget *)handle)->addTab((QWidget*)widget, *(const QIcon*)icon, t_label); } int QTabWidget_insertTab(QTabWidgetH handle, int index, QWidgetH widget, PWideString AnonParam3) { QString t_AnonParam3; copyPWideStringToQString(AnonParam3, t_AnonParam3); return (int) ((QTabWidget *)handle)->insertTab(index, (QWidget*)widget, t_AnonParam3); } int QTabWidget_insertTab2(QTabWidgetH handle, int index, QWidgetH widget, const QIconH icon, PWideString label) { QString t_label; copyPWideStringToQString(label, t_label); return (int) ((QTabWidget *)handle)->insertTab(index, (QWidget*)widget, *(const QIcon*)icon, t_label); } void QTabWidget_removeTab(QTabWidgetH handle, int index) { ((QTabWidget *)handle)->removeTab(index); } bool QTabWidget_isTabEnabled(QTabWidgetH handle, int index) { return (bool) ((QTabWidget *)handle)->isTabEnabled(index); } void QTabWidget_setTabEnabled(QTabWidgetH handle, int index, bool AnonParam2) { ((QTabWidget *)handle)->setTabEnabled(index, AnonParam2); } void QTabWidget_tabText(QTabWidgetH handle, PWideString retval, int index) { QString t_retval; t_retval = ((QTabWidget *)handle)->tabText(index); copyQStringToPWideString(t_retval, retval); } void QTabWidget_setTabText(QTabWidgetH handle, int index, PWideString AnonParam2) { QString t_AnonParam2; copyPWideStringToQString(AnonParam2, t_AnonParam2); ((QTabWidget *)handle)->setTabText(index, t_AnonParam2); } void QTabWidget_tabIcon(QTabWidgetH handle, QIconH retval, int index) { *(QIcon *)retval = ((QTabWidget *)handle)->tabIcon(index); } void QTabWidget_setTabIcon(QTabWidgetH handle, int index, const QIconH icon) { ((QTabWidget *)handle)->setTabIcon(index, *(const QIcon*)icon); } void QTabWidget_setTabToolTip(QTabWidgetH handle, int index, PWideString tip) { QString t_tip; copyPWideStringToQString(tip, t_tip); ((QTabWidget *)handle)->setTabToolTip(index, t_tip); } void QTabWidget_tabToolTip(QTabWidgetH handle, PWideString retval, int index) { QString t_retval; t_retval = ((QTabWidget *)handle)->tabToolTip(index); copyQStringToPWideString(t_retval, retval); } void QTabWidget_setTabWhatsThis(QTabWidgetH handle, int index, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QTabWidget *)handle)->setTabWhatsThis(index, t_text); } void QTabWidget_tabWhatsThis(QTabWidgetH handle, PWideString retval, int index) { QString t_retval; t_retval = ((QTabWidget *)handle)->tabWhatsThis(index); copyQStringToPWideString(t_retval, retval); } int QTabWidget_currentIndex(QTabWidgetH handle) { return (int) ((QTabWidget *)handle)->currentIndex(); } QWidgetH QTabWidget_currentWidget(QTabWidgetH handle) { return (QWidgetH) ((QTabWidget *)handle)->currentWidget(); } QWidgetH QTabWidget_widget(QTabWidgetH handle, int index) { return (QWidgetH) ((QTabWidget *)handle)->widget(index); } int QTabWidget_indexOf(QTabWidgetH handle, QWidgetH widget) { return (int) ((QTabWidget *)handle)->indexOf((QWidget*)widget); } int QTabWidget_count(QTabWidgetH handle) { return (int) ((QTabWidget *)handle)->count(); } QTabWidget::TabPosition QTabWidget_tabPosition(QTabWidgetH handle) { return (QTabWidget::TabPosition) ((QTabWidget *)handle)->tabPosition(); } void QTabWidget_setTabPosition(QTabWidgetH handle, QTabWidget::TabPosition AnonParam1) { ((QTabWidget *)handle)->setTabPosition(AnonParam1); } bool QTabWidget_tabsClosable(QTabWidgetH handle) { return (bool) ((QTabWidget *)handle)->tabsClosable(); } void QTabWidget_setTabsClosable(QTabWidgetH handle, bool closeable) { ((QTabWidget *)handle)->setTabsClosable(closeable); } bool QTabWidget_isMovable(QTabWidgetH handle) { return (bool) ((QTabWidget *)handle)->isMovable(); } void QTabWidget_setMovable(QTabWidgetH handle, bool movable) { ((QTabWidget *)handle)->setMovable(movable); } QTabWidget::TabShape QTabWidget_tabShape(QTabWidgetH handle) { return (QTabWidget::TabShape) ((QTabWidget *)handle)->tabShape(); } void QTabWidget_setTabShape(QTabWidgetH handle, QTabWidget::TabShape s) { ((QTabWidget *)handle)->setTabShape(s); } void QTabWidget_sizeHint(QTabWidgetH handle, PSize retval) { *(QSize *)retval = ((QTabWidget *)handle)->sizeHint(); } void QTabWidget_minimumSizeHint(QTabWidgetH handle, PSize retval) { *(QSize *)retval = ((QTabWidget *)handle)->minimumSizeHint(); } void QTabWidget_setCornerWidget(QTabWidgetH handle, QWidgetH w, Qt::Corner corner) { ((QTabWidget *)handle)->setCornerWidget((QWidget*)w, corner); } QWidgetH QTabWidget_cornerWidget(QTabWidgetH handle, Qt::Corner corner) { return (QWidgetH) ((QTabWidget *)handle)->cornerWidget(corner); } Qt::TextElideMode QTabWidget_elideMode(QTabWidgetH handle) { return (Qt::TextElideMode) ((QTabWidget *)handle)->elideMode(); } void QTabWidget_setElideMode(QTabWidgetH handle, Qt::TextElideMode AnonParam1) { ((QTabWidget *)handle)->setElideMode(AnonParam1); } void QTabWidget_iconSize(QTabWidgetH handle, PSize retval) { *(QSize *)retval = ((QTabWidget *)handle)->iconSize(); } void QTabWidget_setIconSize(QTabWidgetH handle, const QSizeH size) { ((QTabWidget *)handle)->setIconSize(*(const QSize*)size); } bool QTabWidget_usesScrollButtons(QTabWidgetH handle) { return (bool) ((QTabWidget *)handle)->usesScrollButtons(); } void QTabWidget_setUsesScrollButtons(QTabWidgetH handle, bool useButtons) { ((QTabWidget *)handle)->setUsesScrollButtons(useButtons); } bool QTabWidget_documentMode(QTabWidgetH handle) { return (bool) ((QTabWidget *)handle)->documentMode(); } void QTabWidget_setDocumentMode(QTabWidgetH handle, bool set) { ((QTabWidget *)handle)->setDocumentMode(set); } void QTabWidget_clear(QTabWidgetH handle) { ((QTabWidget *)handle)->clear(); } void QTabWidget_setCurrentIndex(QTabWidgetH handle, int index) { ((QTabWidget *)handle)->setCurrentIndex(index); } void QTabWidget_setCurrentWidget(QTabWidgetH handle, QWidgetH widget) { ((QTabWidget *)handle)->setCurrentWidget((QWidget*)widget); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclabstractspinbox.h0000644000212600021260000000051211677135472021262 0ustar janjan#ifndef QLCLABSTRACTSPINBOX_H #define QLCLABSTRACTSPINBOX_H #include class QLCLAbstractSpinBox : public QAbstractSpinBox { public: static QLineEdit *lineEditHandle(QAbstractSpinBox *protectedhandle) { return reinterpret_cast(protectedhandle)->lineEdit(); } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstylefactory_c.h0000664000212600021260000000127411677135472020423 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTYLEFACTORY_C_H #define QSTYLEFACTORY_C_H #include #include "pascalbind.h" C_EXPORT void QStyleFactory_keys(QStringListH retval); C_EXPORT QStyleH QStyleFactory_create(PWideString AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsslcipher_c.cpp0000664000212600021260000000452411677135472020223 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsslcipher_c.h" QSslCipherH QSslCipher_create() { return (QSslCipherH) new QSslCipher(); } void QSslCipher_destroy(QSslCipherH handle) { delete (QSslCipher *)handle; } QSslCipherH QSslCipher_create2(PWideString name, QSsl::SslProtocol protocol) { QString t_name; copyPWideStringToQString(name, t_name); return (QSslCipherH) new QSslCipher(t_name, protocol); } QSslCipherH QSslCipher_create3(const QSslCipherH other) { return (QSslCipherH) new QSslCipher(*(const QSslCipher*)other); } bool QSslCipher_isNull(QSslCipherH handle) { return (bool) ((QSslCipher *)handle)->isNull(); } void QSslCipher_name(QSslCipherH handle, PWideString retval) { QString t_retval; t_retval = ((QSslCipher *)handle)->name(); copyQStringToPWideString(t_retval, retval); } int QSslCipher_supportedBits(QSslCipherH handle) { return (int) ((QSslCipher *)handle)->supportedBits(); } int QSslCipher_usedBits(QSslCipherH handle) { return (int) ((QSslCipher *)handle)->usedBits(); } void QSslCipher_keyExchangeMethod(QSslCipherH handle, PWideString retval) { QString t_retval; t_retval = ((QSslCipher *)handle)->keyExchangeMethod(); copyQStringToPWideString(t_retval, retval); } void QSslCipher_authenticationMethod(QSslCipherH handle, PWideString retval) { QString t_retval; t_retval = ((QSslCipher *)handle)->authenticationMethod(); copyQStringToPWideString(t_retval, retval); } void QSslCipher_encryptionMethod(QSslCipherH handle, PWideString retval) { QString t_retval; t_retval = ((QSslCipher *)handle)->encryptionMethod(); copyQStringToPWideString(t_retval, retval); } void QSslCipher_protocolString(QSslCipherH handle, PWideString retval) { QString t_retval; t_retval = ((QSslCipher *)handle)->protocolString(); copyQStringToPWideString(t_retval, retval); } QSsl::SslProtocol QSslCipher_protocol(QSslCipherH handle) { return (QSsl::SslProtocol) ((QSslCipher *)handle)->protocol(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qscrollbar_hook_c.cpp0000664000212600021260000000133511677135472021227 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qscrollbar_hook_c.h" QScrollBar_hookH QScrollBar_hook_create(QObjectH handle) { return (QScrollBar_hookH) new QScrollBar_hook((QObject*)handle); } void QScrollBar_hook_destroy(QScrollBar_hookH handle) { delete (QScrollBar_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstracteventdispatcher_c.h0000664000212600021260000000427611677135472022614 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTEVENTDISPATCHER_C_H #define QABSTRACTEVENTDISPATCHER_C_H #include #include "pascalbind.h" C_EXPORT QAbstractEventDispatcherH QAbstractEventDispatcher_instance(QThreadH thread); C_EXPORT bool QAbstractEventDispatcher_processEvents(QAbstractEventDispatcherH handle, unsigned int flags); C_EXPORT bool QAbstractEventDispatcher_hasPendingEvents(QAbstractEventDispatcherH handle); C_EXPORT void QAbstractEventDispatcher_registerSocketNotifier(QAbstractEventDispatcherH handle, QSocketNotifierH notifier); C_EXPORT void QAbstractEventDispatcher_unregisterSocketNotifier(QAbstractEventDispatcherH handle, QSocketNotifierH notifier); C_EXPORT int QAbstractEventDispatcher_registerTimer(QAbstractEventDispatcherH handle, int interval, QObjectH object); C_EXPORT void QAbstractEventDispatcher_registerTimer2(QAbstractEventDispatcherH handle, int timerId, int interval, QObjectH object); C_EXPORT bool QAbstractEventDispatcher_unregisterTimer(QAbstractEventDispatcherH handle, int timerId); C_EXPORT bool QAbstractEventDispatcher_unregisterTimers(QAbstractEventDispatcherH handle, QObjectH object); C_EXPORT void QAbstractEventDispatcher_wakeUp(QAbstractEventDispatcherH handle); C_EXPORT void QAbstractEventDispatcher_interrupt(QAbstractEventDispatcherH handle); C_EXPORT void QAbstractEventDispatcher_flush(QAbstractEventDispatcherH handle); C_EXPORT void QAbstractEventDispatcher_startingUp(QAbstractEventDispatcherH handle); C_EXPORT void QAbstractEventDispatcher_closingDown(QAbstractEventDispatcherH handle); C_EXPORT EventFilter2 QAbstractEventDispatcher_setEventFilter(QAbstractEventDispatcherH handle, EventFilter2 filter); C_EXPORT bool QAbstractEventDispatcher_filterEvent(QAbstractEventDispatcherH handle, void* message); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpagesetupdialog_c.h0000664000212600021260000000357411677135472021055 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPAGESETUPDIALOG_C_H #define QPAGESETUPDIALOG_C_H #include #include "pascalbind.h" C_EXPORT QPageSetupDialogH QPageSetupDialog_create(QPrinterH printer, QWidgetH parent); C_EXPORT void QPageSetupDialog_destroy(QPageSetupDialogH handle); C_EXPORT QPageSetupDialogH QPageSetupDialog_create2(QWidgetH parent); C_EXPORT void QPageSetupDialog_addEnabledOption(QPageSetupDialogH handle, QPageSetupDialog::PageSetupDialogOption option); C_EXPORT void QPageSetupDialog_setEnabledOptions(QPageSetupDialogH handle, unsigned int options); C_EXPORT unsigned int QPageSetupDialog_enabledOptions(QPageSetupDialogH handle); C_EXPORT bool QPageSetupDialog_isOptionEnabled(QPageSetupDialogH handle, QPageSetupDialog::PageSetupDialogOption option); C_EXPORT void QPageSetupDialog_setOption(QPageSetupDialogH handle, QPageSetupDialog::PageSetupDialogOption option, bool on); C_EXPORT bool QPageSetupDialog_testOption(QPageSetupDialogH handle, QPageSetupDialog::PageSetupDialogOption option); C_EXPORT void QPageSetupDialog_setOptions(QPageSetupDialogH handle, unsigned int options); C_EXPORT unsigned int QPageSetupDialog_options(QPageSetupDialogH handle); C_EXPORT int QPageSetupDialog_exec(QPageSetupDialogH handle); C_EXPORT void QPageSetupDialog_open(QPageSetupDialogH handle, QObjectH receiver, const char* member); #if defined DARWIN C_EXPORT void QPageSetupDialog_setVisible(QPageSetupDialogH handle, bool visible); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintpreviewdialog_hook_c.h0000664000212600021260000000155311677135472022631 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPRINTPREVIEWDIALOG_HOOK_C_H #define QPRINTPREVIEWDIALOG_HOOK_C_H #include "qprintpreviewdialog_hook.h" C_EXPORT QPrintPreviewDialog_hookH QPrintPreviewDialog_hook_create(QObjectH handle); C_EXPORT void QPrintPreviewDialog_hook_destroy(QPrintPreviewDialog_hookH handle); C_EXPORT void QPrintPreviewDialog_hook_hook_paintRequested(QPrintPreviewDialog_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtablewidget_c.cpp0000664000212600021260000004205111677135472020517 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtablewidget_c.h" QTableWidgetSelectionRangeH QTableWidgetSelectionRange_create() { return (QTableWidgetSelectionRangeH) new QTableWidgetSelectionRange(); } void QTableWidgetSelectionRange_destroy(QTableWidgetSelectionRangeH handle) { delete (QTableWidgetSelectionRange *)handle; } QTableWidgetSelectionRangeH QTableWidgetSelectionRange_create2(int top, int left, int bottom, int right) { return (QTableWidgetSelectionRangeH) new QTableWidgetSelectionRange(top, left, bottom, right); } QTableWidgetSelectionRangeH QTableWidgetSelectionRange_create3(const QTableWidgetSelectionRangeH other) { return (QTableWidgetSelectionRangeH) new QTableWidgetSelectionRange(*(const QTableWidgetSelectionRange*)other); } int QTableWidgetSelectionRange_topRow(QTableWidgetSelectionRangeH handle) { return (int) ((QTableWidgetSelectionRange *)handle)->topRow(); } int QTableWidgetSelectionRange_bottomRow(QTableWidgetSelectionRangeH handle) { return (int) ((QTableWidgetSelectionRange *)handle)->bottomRow(); } int QTableWidgetSelectionRange_leftColumn(QTableWidgetSelectionRangeH handle) { return (int) ((QTableWidgetSelectionRange *)handle)->leftColumn(); } int QTableWidgetSelectionRange_rightColumn(QTableWidgetSelectionRangeH handle) { return (int) ((QTableWidgetSelectionRange *)handle)->rightColumn(); } int QTableWidgetSelectionRange_rowCount(QTableWidgetSelectionRangeH handle) { return (int) ((QTableWidgetSelectionRange *)handle)->rowCount(); } int QTableWidgetSelectionRange_columnCount(QTableWidgetSelectionRangeH handle) { return (int) ((QTableWidgetSelectionRange *)handle)->columnCount(); } QTableWidgetItemH QTableWidgetItem_create(int type) { return (QTableWidgetItemH) new QTableWidgetItem(type); } void QTableWidgetItem_destroy(QTableWidgetItemH handle) { delete (QTableWidgetItem *)handle; } QTableWidgetItemH QTableWidgetItem_create2(PWideString text, int type) { QString t_text; copyPWideStringToQString(text, t_text); return (QTableWidgetItemH) new QTableWidgetItem(t_text, type); } QTableWidgetItemH QTableWidgetItem_create3(const QIconH icon, PWideString text, int type) { QString t_text; copyPWideStringToQString(text, t_text); return (QTableWidgetItemH) new QTableWidgetItem(*(const QIcon*)icon, t_text, type); } QTableWidgetItemH QTableWidgetItem_create4(const QTableWidgetItemH other) { return (QTableWidgetItemH) new QTableWidgetItem(*(const QTableWidgetItem*)other); } QTableWidgetItemH QTableWidgetItem_clone(QTableWidgetItemH handle) { return (QTableWidgetItemH) ((QTableWidgetItem *)handle)->clone(); } QTableWidgetH QTableWidgetItem_tableWidget(QTableWidgetItemH handle) { return (QTableWidgetH) ((QTableWidgetItem *)handle)->tableWidget(); } int QTableWidgetItem_row(QTableWidgetItemH handle) { return (int) ((QTableWidgetItem *)handle)->row(); } int QTableWidgetItem_column(QTableWidgetItemH handle) { return (int) ((QTableWidgetItem *)handle)->column(); } void QTableWidgetItem_setSelected(QTableWidgetItemH handle, bool select) { ((QTableWidgetItem *)handle)->setSelected(select); } bool QTableWidgetItem_isSelected(QTableWidgetItemH handle) { return (bool) ((QTableWidgetItem *)handle)->isSelected(); } unsigned int QTableWidgetItem_flags(QTableWidgetItemH handle) { return (unsigned int) ((QTableWidgetItem *)handle)->flags(); } void QTableWidgetItem_setFlags(QTableWidgetItemH handle, unsigned int flags) { ((QTableWidgetItem *)handle)->setFlags((Qt::ItemFlags)flags); } void QTableWidgetItem_text(QTableWidgetItemH handle, PWideString retval) { QString t_retval; t_retval = ((QTableWidgetItem *)handle)->text(); copyQStringToPWideString(t_retval, retval); } void QTableWidgetItem_setText(QTableWidgetItemH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QTableWidgetItem *)handle)->setText(t_text); } void QTableWidgetItem_icon(QTableWidgetItemH handle, QIconH retval) { *(QIcon *)retval = ((QTableWidgetItem *)handle)->icon(); } void QTableWidgetItem_setIcon(QTableWidgetItemH handle, const QIconH icon) { ((QTableWidgetItem *)handle)->setIcon(*(const QIcon*)icon); } void QTableWidgetItem_statusTip(QTableWidgetItemH handle, PWideString retval) { QString t_retval; t_retval = ((QTableWidgetItem *)handle)->statusTip(); copyQStringToPWideString(t_retval, retval); } void QTableWidgetItem_setStatusTip(QTableWidgetItemH handle, PWideString statusTip) { QString t_statusTip; copyPWideStringToQString(statusTip, t_statusTip); ((QTableWidgetItem *)handle)->setStatusTip(t_statusTip); } void QTableWidgetItem_toolTip(QTableWidgetItemH handle, PWideString retval) { QString t_retval; t_retval = ((QTableWidgetItem *)handle)->toolTip(); copyQStringToPWideString(t_retval, retval); } void QTableWidgetItem_setToolTip(QTableWidgetItemH handle, PWideString toolTip) { QString t_toolTip; copyPWideStringToQString(toolTip, t_toolTip); ((QTableWidgetItem *)handle)->setToolTip(t_toolTip); } void QTableWidgetItem_whatsThis(QTableWidgetItemH handle, PWideString retval) { QString t_retval; t_retval = ((QTableWidgetItem *)handle)->whatsThis(); copyQStringToPWideString(t_retval, retval); } void QTableWidgetItem_setWhatsThis(QTableWidgetItemH handle, PWideString whatsThis) { QString t_whatsThis; copyPWideStringToQString(whatsThis, t_whatsThis); ((QTableWidgetItem *)handle)->setWhatsThis(t_whatsThis); } void QTableWidgetItem_font(QTableWidgetItemH handle, QFontH retval) { *(QFont *)retval = ((QTableWidgetItem *)handle)->font(); } void QTableWidgetItem_setFont(QTableWidgetItemH handle, const QFontH font) { ((QTableWidgetItem *)handle)->setFont(*(const QFont*)font); } int QTableWidgetItem_textAlignment(QTableWidgetItemH handle) { return (int) ((QTableWidgetItem *)handle)->textAlignment(); } void QTableWidgetItem_setTextAlignment(QTableWidgetItemH handle, int alignment) { ((QTableWidgetItem *)handle)->setTextAlignment(alignment); } void QTableWidgetItem_backgroundColor(QTableWidgetItemH handle, PQColor retval) { *(QColor *)retval = ((QTableWidgetItem *)handle)->backgroundColor(); } void QTableWidgetItem_setBackgroundColor(QTableWidgetItemH handle, const QColorH color) { ((QTableWidgetItem *)handle)->setBackgroundColor(*(const QColor*)color); } void QTableWidgetItem_background(QTableWidgetItemH handle, QBrushH retval) { *(QBrush *)retval = ((QTableWidgetItem *)handle)->background(); } void QTableWidgetItem_setBackground(QTableWidgetItemH handle, const QBrushH brush) { ((QTableWidgetItem *)handle)->setBackground(*(const QBrush*)brush); } void QTableWidgetItem_textColor(QTableWidgetItemH handle, PQColor retval) { *(QColor *)retval = ((QTableWidgetItem *)handle)->textColor(); } void QTableWidgetItem_setTextColor(QTableWidgetItemH handle, const QColorH color) { ((QTableWidgetItem *)handle)->setTextColor(*(const QColor*)color); } void QTableWidgetItem_foreground(QTableWidgetItemH handle, QBrushH retval) { *(QBrush *)retval = ((QTableWidgetItem *)handle)->foreground(); } void QTableWidgetItem_setForeground(QTableWidgetItemH handle, const QBrushH brush) { ((QTableWidgetItem *)handle)->setForeground(*(const QBrush*)brush); } Qt::CheckState QTableWidgetItem_checkState(QTableWidgetItemH handle) { return (Qt::CheckState) ((QTableWidgetItem *)handle)->checkState(); } void QTableWidgetItem_setCheckState(QTableWidgetItemH handle, Qt::CheckState state) { ((QTableWidgetItem *)handle)->setCheckState(state); } void QTableWidgetItem_sizeHint(QTableWidgetItemH handle, PSize retval) { *(QSize *)retval = ((QTableWidgetItem *)handle)->sizeHint(); } void QTableWidgetItem_setSizeHint(QTableWidgetItemH handle, const QSizeH size) { ((QTableWidgetItem *)handle)->setSizeHint(*(const QSize*)size); } void QTableWidgetItem_data(QTableWidgetItemH handle, QVariantH retval, int role) { *(QVariant *)retval = ((QTableWidgetItem *)handle)->data(role); } void QTableWidgetItem_setData(QTableWidgetItemH handle, int role, const QVariantH value) { ((QTableWidgetItem *)handle)->setData(role, *(const QVariant*)value); } void QTableWidgetItem_read(QTableWidgetItemH handle, QDataStreamH in) { ((QTableWidgetItem *)handle)->read(*(QDataStream*)in); } void QTableWidgetItem_write(QTableWidgetItemH handle, QDataStreamH out) { ((QTableWidgetItem *)handle)->write(*(QDataStream*)out); } int QTableWidgetItem_type(QTableWidgetItemH handle) { return (int) ((QTableWidgetItem *)handle)->type(); } QTableWidgetH QTableWidget_create(QWidgetH parent) { return (QTableWidgetH) new QTableWidget((QWidget*)parent); } void QTableWidget_destroy(QTableWidgetH handle) { delete (QTableWidget *)handle; } QTableWidgetH QTableWidget_create2(int rows, int columns, QWidgetH parent) { return (QTableWidgetH) new QTableWidget(rows, columns, (QWidget*)parent); } void QTableWidget_setRowCount(QTableWidgetH handle, int rows) { ((QTableWidget *)handle)->setRowCount(rows); } int QTableWidget_rowCount(QTableWidgetH handle) { return (int) ((QTableWidget *)handle)->rowCount(); } void QTableWidget_setColumnCount(QTableWidgetH handle, int columns) { ((QTableWidget *)handle)->setColumnCount(columns); } int QTableWidget_columnCount(QTableWidgetH handle) { return (int) ((QTableWidget *)handle)->columnCount(); } int QTableWidget_row(QTableWidgetH handle, const QTableWidgetItemH item) { return (int) ((QTableWidget *)handle)->row((const QTableWidgetItem*)item); } int QTableWidget_column(QTableWidgetH handle, const QTableWidgetItemH item) { return (int) ((QTableWidget *)handle)->column((const QTableWidgetItem*)item); } QTableWidgetItemH QTableWidget_item(QTableWidgetH handle, int row, int column) { return (QTableWidgetItemH) ((QTableWidget *)handle)->item(row, column); } void QTableWidget_setItem(QTableWidgetH handle, int row, int column, QTableWidgetItemH item) { ((QTableWidget *)handle)->setItem(row, column, (QTableWidgetItem*)item); } QTableWidgetItemH QTableWidget_takeItem(QTableWidgetH handle, int row, int column) { return (QTableWidgetItemH) ((QTableWidget *)handle)->takeItem(row, column); } QTableWidgetItemH QTableWidget_verticalHeaderItem(QTableWidgetH handle, int row) { return (QTableWidgetItemH) ((QTableWidget *)handle)->verticalHeaderItem(row); } void QTableWidget_setVerticalHeaderItem(QTableWidgetH handle, int row, QTableWidgetItemH item) { ((QTableWidget *)handle)->setVerticalHeaderItem(row, (QTableWidgetItem*)item); } QTableWidgetItemH QTableWidget_takeVerticalHeaderItem(QTableWidgetH handle, int row) { return (QTableWidgetItemH) ((QTableWidget *)handle)->takeVerticalHeaderItem(row); } QTableWidgetItemH QTableWidget_horizontalHeaderItem(QTableWidgetH handle, int column) { return (QTableWidgetItemH) ((QTableWidget *)handle)->horizontalHeaderItem(column); } void QTableWidget_setHorizontalHeaderItem(QTableWidgetH handle, int column, QTableWidgetItemH item) { ((QTableWidget *)handle)->setHorizontalHeaderItem(column, (QTableWidgetItem*)item); } QTableWidgetItemH QTableWidget_takeHorizontalHeaderItem(QTableWidgetH handle, int column) { return (QTableWidgetItemH) ((QTableWidget *)handle)->takeHorizontalHeaderItem(column); } void QTableWidget_setVerticalHeaderLabels(QTableWidgetH handle, const QStringListH labels) { ((QTableWidget *)handle)->setVerticalHeaderLabels(*(const QStringList*)labels); } void QTableWidget_setHorizontalHeaderLabels(QTableWidgetH handle, const QStringListH labels) { ((QTableWidget *)handle)->setHorizontalHeaderLabels(*(const QStringList*)labels); } int QTableWidget_currentRow(QTableWidgetH handle) { return (int) ((QTableWidget *)handle)->currentRow(); } int QTableWidget_currentColumn(QTableWidgetH handle) { return (int) ((QTableWidget *)handle)->currentColumn(); } QTableWidgetItemH QTableWidget_currentItem(QTableWidgetH handle) { return (QTableWidgetItemH) ((QTableWidget *)handle)->currentItem(); } void QTableWidget_setCurrentItem(QTableWidgetH handle, QTableWidgetItemH item) { ((QTableWidget *)handle)->setCurrentItem((QTableWidgetItem*)item); } void QTableWidget_setCurrentItem2(QTableWidgetH handle, QTableWidgetItemH item, unsigned int command) { ((QTableWidget *)handle)->setCurrentItem((QTableWidgetItem*)item, (QItemSelectionModel::SelectionFlags)command); } void QTableWidget_setCurrentCell(QTableWidgetH handle, int row, int column) { ((QTableWidget *)handle)->setCurrentCell(row, column); } void QTableWidget_setCurrentCell2(QTableWidgetH handle, int row, int column, unsigned int command) { ((QTableWidget *)handle)->setCurrentCell(row, column, (QItemSelectionModel::SelectionFlags)command); } void QTableWidget_sortItems(QTableWidgetH handle, int column, Qt::SortOrder order) { ((QTableWidget *)handle)->sortItems(column, order); } void QTableWidget_setSortingEnabled(QTableWidgetH handle, bool enable) { ((QTableWidget *)handle)->setSortingEnabled(enable); } bool QTableWidget_isSortingEnabled(QTableWidgetH handle) { return (bool) ((QTableWidget *)handle)->isSortingEnabled(); } void QTableWidget_editItem(QTableWidgetH handle, QTableWidgetItemH item) { ((QTableWidget *)handle)->editItem((QTableWidgetItem*)item); } void QTableWidget_openPersistentEditor(QTableWidgetH handle, QTableWidgetItemH item) { ((QTableWidget *)handle)->openPersistentEditor((QTableWidgetItem*)item); } void QTableWidget_closePersistentEditor(QTableWidgetH handle, QTableWidgetItemH item) { ((QTableWidget *)handle)->closePersistentEditor((QTableWidgetItem*)item); } QWidgetH QTableWidget_cellWidget(QTableWidgetH handle, int row, int column) { return (QWidgetH) ((QTableWidget *)handle)->cellWidget(row, column); } void QTableWidget_setCellWidget(QTableWidgetH handle, int row, int column, QWidgetH widget) { ((QTableWidget *)handle)->setCellWidget(row, column, (QWidget*)widget); } void QTableWidget_removeCellWidget(QTableWidgetH handle, int row, int column) { ((QTableWidget *)handle)->removeCellWidget(row, column); } bool QTableWidget_isItemSelected(QTableWidgetH handle, const QTableWidgetItemH item) { return (bool) ((QTableWidget *)handle)->isItemSelected((const QTableWidgetItem*)item); } void QTableWidget_setItemSelected(QTableWidgetH handle, const QTableWidgetItemH item, bool select) { ((QTableWidget *)handle)->setItemSelected((const QTableWidgetItem*)item, select); } void QTableWidget_setRangeSelected(QTableWidgetH handle, const QTableWidgetSelectionRangeH range, bool select) { ((QTableWidget *)handle)->setRangeSelected(*(const QTableWidgetSelectionRange*)range, select); } void QTableWidget_selectedItems(QTableWidgetH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QTableWidget *)handle)->selectedItems(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QTableWidget_findItems(QTableWidgetH handle, PPtrIntArray retval, PWideString text, unsigned int flags) { QList t_retval; QString t_text; copyPWideStringToQString(text, t_text); t_retval = ((QTableWidget *)handle)->findItems(t_text, (Qt::MatchFlags)flags); copyQListTemplateToPtrIntArray(t_retval, retval); } int QTableWidget_visualRow(QTableWidgetH handle, int logicalRow) { return (int) ((QTableWidget *)handle)->visualRow(logicalRow); } int QTableWidget_visualColumn(QTableWidgetH handle, int logicalColumn) { return (int) ((QTableWidget *)handle)->visualColumn(logicalColumn); } QTableWidgetItemH QTableWidget_itemAt(QTableWidgetH handle, const QPointH p) { return (QTableWidgetItemH) ((QTableWidget *)handle)->itemAt(*(const QPoint*)p); } QTableWidgetItemH QTableWidget_itemAt2(QTableWidgetH handle, int x, int y) { return (QTableWidgetItemH) ((QTableWidget *)handle)->itemAt(x, y); } void QTableWidget_visualItemRect(QTableWidgetH handle, PRect retval, const QTableWidgetItemH item) { QRect t_retval; t_retval = ((QTableWidget *)handle)->visualItemRect((const QTableWidgetItem*)item); copyQRectToPRect(t_retval, retval); } const QTableWidgetItemH QTableWidget_itemPrototype(QTableWidgetH handle) { return (const QTableWidgetItemH) ((QTableWidget *)handle)->itemPrototype(); } void QTableWidget_setItemPrototype(QTableWidgetH handle, const QTableWidgetItemH item) { ((QTableWidget *)handle)->setItemPrototype((const QTableWidgetItem*)item); } void QTableWidget_scrollToItem(QTableWidgetH handle, const QTableWidgetItemH item, QAbstractItemView::ScrollHint hint) { ((QTableWidget *)handle)->scrollToItem((const QTableWidgetItem*)item, hint); } void QTableWidget_insertRow(QTableWidgetH handle, int row) { ((QTableWidget *)handle)->insertRow(row); } void QTableWidget_insertColumn(QTableWidgetH handle, int column) { ((QTableWidget *)handle)->insertColumn(column); } void QTableWidget_removeRow(QTableWidgetH handle, int row) { ((QTableWidget *)handle)->removeRow(row); } void QTableWidget_removeColumn(QTableWidgetH handle, int column) { ((QTableWidget *)handle)->removeColumn(column); } void QTableWidget_clear(QTableWidgetH handle) { ((QTableWidget *)handle)->clear(); } void QTableWidget_clearContents(QTableWidgetH handle) { ((QTableWidget *)handle)->clearContents(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlistwidget_hook.h0000664000212600021260000002042711677135472020571 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLISTWIDGET_HOOK_H #define QLISTWIDGET_HOOK_H #include #include "qobject_hook.h" class QListWidgetItem_hook : public QObject_hook { Q_OBJECT public: QListWidgetItem_hook(QObject *handle) : QObject_hook(handle) { } }; #include "qlistview_hook.h" class QListWidget_hook : public QListView_hook { Q_OBJECT public: QListWidget_hook(QObject *handle) : QListView_hook(handle) { itemPressed_event.func = NULL; itemClicked_event.func = NULL; itemDoubleClicked_event.func = NULL; itemActivated_event.func = NULL; itemEntered_event.func = NULL; itemChanged_event.func = NULL; currentItemChanged_event.func = NULL; currentTextChanged_event.func = NULL; currentRowChanged_event.func = NULL; itemSelectionChanged_event.func = NULL; } void hook_itemPressed(QHook &hook) { if ( !itemPressed_event.func ) connect(handle, SIGNAL(itemPressed(QListWidgetItem*)), this, SLOT(itemPressed_hook(QListWidgetItem*))); itemPressed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemPressed(QListWidgetItem*)), this, SLOT(itemPressed_hook(QListWidgetItem*))); } void hook_itemClicked(QHook &hook) { if ( !itemClicked_event.func ) connect(handle, SIGNAL(itemClicked(QListWidgetItem*)), this, SLOT(itemClicked_hook(QListWidgetItem*))); itemClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemClicked(QListWidgetItem*)), this, SLOT(itemClicked_hook(QListWidgetItem*))); } void hook_itemDoubleClicked(QHook &hook) { if ( !itemDoubleClicked_event.func ) connect(handle, SIGNAL(itemDoubleClicked(QListWidgetItem*)), this, SLOT(itemDoubleClicked_hook(QListWidgetItem*))); itemDoubleClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemDoubleClicked(QListWidgetItem*)), this, SLOT(itemDoubleClicked_hook(QListWidgetItem*))); } void hook_itemActivated(QHook &hook) { if ( !itemActivated_event.func ) connect(handle, SIGNAL(itemActivated(QListWidgetItem*)), this, SLOT(itemActivated_hook(QListWidgetItem*))); itemActivated_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemActivated(QListWidgetItem*)), this, SLOT(itemActivated_hook(QListWidgetItem*))); } void hook_itemEntered(QHook &hook) { if ( !itemEntered_event.func ) connect(handle, SIGNAL(itemEntered(QListWidgetItem*)), this, SLOT(itemEntered_hook(QListWidgetItem*))); itemEntered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemEntered(QListWidgetItem*)), this, SLOT(itemEntered_hook(QListWidgetItem*))); } void hook_itemChanged(QHook &hook) { if ( !itemChanged_event.func ) connect(handle, SIGNAL(itemChanged(QListWidgetItem*)), this, SLOT(itemChanged_hook(QListWidgetItem*))); itemChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemChanged(QListWidgetItem*)), this, SLOT(itemChanged_hook(QListWidgetItem*))); } void hook_currentItemChanged(QHook &hook) { if ( !currentItemChanged_event.func ) connect(handle, SIGNAL(currentItemChanged(QListWidgetItem*, QListWidgetItem*)), this, SLOT(currentItemChanged_hook(QListWidgetItem*, QListWidgetItem*))); currentItemChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentItemChanged(QListWidgetItem*, QListWidgetItem*)), this, SLOT(currentItemChanged_hook(QListWidgetItem*, QListWidgetItem*))); } void hook_currentTextChanged(QHook &hook) { if ( !currentTextChanged_event.func ) connect(handle, SIGNAL(currentTextChanged(const QString&)), this, SLOT(currentTextChanged_hook(const QString&))); currentTextChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentTextChanged(const QString&)), this, SLOT(currentTextChanged_hook(const QString&))); } void hook_currentRowChanged(QHook &hook) { if ( !currentRowChanged_event.func ) connect(handle, SIGNAL(currentRowChanged(int)), this, SLOT(currentRowChanged_hook(int))); currentRowChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentRowChanged(int)), this, SLOT(currentRowChanged_hook(int))); } void hook_itemSelectionChanged(QHook &hook) { if ( !itemSelectionChanged_event.func ) connect(handle, SIGNAL(itemSelectionChanged()), this, SLOT(itemSelectionChanged_hook())); itemSelectionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemSelectionChanged()), this, SLOT(itemSelectionChanged_hook())); } private slots: void itemPressed_hook(QListWidgetItem* item) { if ( itemPressed_event.func ) { typedef void (*func_type)(void *data, QListWidgetItemH item); (*(func_type)itemPressed_event.func)(itemPressed_event.data, (QListWidgetItemH)item); } } void itemClicked_hook(QListWidgetItem* item) { if ( itemClicked_event.func ) { typedef void (*func_type)(void *data, QListWidgetItemH item); (*(func_type)itemClicked_event.func)(itemClicked_event.data, (QListWidgetItemH)item); } } void itemDoubleClicked_hook(QListWidgetItem* item) { if ( itemDoubleClicked_event.func ) { typedef void (*func_type)(void *data, QListWidgetItemH item); (*(func_type)itemDoubleClicked_event.func)(itemDoubleClicked_event.data, (QListWidgetItemH)item); } } void itemActivated_hook(QListWidgetItem* item) { if ( itemActivated_event.func ) { typedef void (*func_type)(void *data, QListWidgetItemH item); (*(func_type)itemActivated_event.func)(itemActivated_event.data, (QListWidgetItemH)item); } } void itemEntered_hook(QListWidgetItem* item) { if ( itemEntered_event.func ) { typedef void (*func_type)(void *data, QListWidgetItemH item); (*(func_type)itemEntered_event.func)(itemEntered_event.data, (QListWidgetItemH)item); } } void itemChanged_hook(QListWidgetItem* item) { if ( itemChanged_event.func ) { typedef void (*func_type)(void *data, QListWidgetItemH item); (*(func_type)itemChanged_event.func)(itemChanged_event.data, (QListWidgetItemH)item); } } void currentItemChanged_hook(QListWidgetItem* current, QListWidgetItem* previous) { if ( currentItemChanged_event.func ) { typedef void (*func_type)(void *data, QListWidgetItemH current, QListWidgetItemH previous); (*(func_type)currentItemChanged_event.func)(currentItemChanged_event.data, (QListWidgetItemH)current, (QListWidgetItemH)previous); } } void currentTextChanged_hook(const QString& currentText) { if ( currentTextChanged_event.func ) { typedef void (*func_type)(void *data, PWideString currentText); PWideString t_currentText; initializePWideString(t_currentText); copyQStringToPWideString(currentText, t_currentText); (*(func_type)currentTextChanged_event.func)(currentTextChanged_event.data, t_currentText); finalizePWideString(t_currentText); } } void currentRowChanged_hook(int currentRow) { if ( currentRowChanged_event.func ) { typedef void (*func_type)(void *data, int currentRow); (*(func_type)currentRowChanged_event.func)(currentRowChanged_event.data, currentRow); } } void itemSelectionChanged_hook() { if ( itemSelectionChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)itemSelectionChanged_event.func)(itemSelectionChanged_event.data); } } private: QHook itemPressed_event; QHook itemClicked_event; QHook itemDoubleClicked_event; QHook itemActivated_event; QHook itemEntered_event; QHook itemChanged_event; QHook currentItemChanged_event; QHook currentTextChanged_event; QHook currentRowChanged_event; QHook itemSelectionChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstyleditemdelegate_c.h0000664000212600021260000000370211677135472021547 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTYLEDITEMDELEGATE_C_H #define QSTYLEDITEMDELEGATE_C_H #include #include "pascalbind.h" C_EXPORT QStyledItemDelegateH QStyledItemDelegate_create(QObjectH parent); C_EXPORT void QStyledItemDelegate_destroy(QStyledItemDelegateH handle); C_EXPORT void QStyledItemDelegate_paint(QStyledItemDelegateH handle, QPainterH painter, const QStyleOptionViewItemH option, const QModelIndexH index); C_EXPORT void QStyledItemDelegate_sizeHint(QStyledItemDelegateH handle, PSize retval, const QStyleOptionViewItemH option, const QModelIndexH index); C_EXPORT QWidgetH QStyledItemDelegate_createEditor(QStyledItemDelegateH handle, QWidgetH parent, const QStyleOptionViewItemH option, const QModelIndexH index); C_EXPORT void QStyledItemDelegate_setEditorData(QStyledItemDelegateH handle, QWidgetH editor, const QModelIndexH index); C_EXPORT void QStyledItemDelegate_setModelData(QStyledItemDelegateH handle, QWidgetH editor, QAbstractItemModelH model, const QModelIndexH index); C_EXPORT void QStyledItemDelegate_updateEditorGeometry(QStyledItemDelegateH handle, QWidgetH editor, const QStyleOptionViewItemH option, const QModelIndexH index); C_EXPORT QItemEditorFactoryH QStyledItemDelegate_itemEditorFactory(QStyledItemDelegateH handle); C_EXPORT void QStyledItemDelegate_setItemEditorFactory(QStyledItemDelegateH handle, QItemEditorFactoryH factory); C_EXPORT void QStyledItemDelegate_displayText(QStyledItemDelegateH handle, PWideString retval, const QVariantH value, const QLocaleH locale); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebview_c.h0000664000212600021260000000531711677135472017345 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBVIEW_C_H #define QWEBVIEW_C_H #include #include "pascalbind.h" C_EXPORT QWebViewH QWebView_create(QWidgetH parent); C_EXPORT void QWebView_destroy(QWebViewH handle); C_EXPORT QWebPageH QWebView_page(QWebViewH handle); C_EXPORT void QWebView_setPage(QWebViewH handle, QWebPageH page); C_EXPORT void QWebView_load(QWebViewH handle, const QUrlH url); C_EXPORT void QWebView_load2(QWebViewH handle, const QNetworkRequestH request, QNetworkAccessManager::Operation operation, const QByteArrayH body); C_EXPORT void QWebView_setHtml(QWebViewH handle, PWideString html, const QUrlH baseUrl); C_EXPORT void QWebView_setContent(QWebViewH handle, const QByteArrayH data, PWideString mimeType, const QUrlH baseUrl); C_EXPORT QWebHistoryH QWebView_history(QWebViewH handle); C_EXPORT QWebSettingsH QWebView_settings(QWebViewH handle); C_EXPORT void QWebView_title(QWebViewH handle, PWideString retval); C_EXPORT void QWebView_setUrl(QWebViewH handle, const QUrlH url); C_EXPORT void QWebView_url(QWebViewH handle, QUrlH retval); C_EXPORT void QWebView_icon(QWebViewH handle, QIconH retval); C_EXPORT void QWebView_selectedText(QWebViewH handle, PWideString retval); C_EXPORT QActionH QWebView_pageAction(QWebViewH handle, QWebPage::WebAction action); C_EXPORT void QWebView_triggerPageAction(QWebViewH handle, QWebPage::WebAction action, bool checked); C_EXPORT bool QWebView_isModified(QWebViewH handle); C_EXPORT void QWebView_inputMethodQuery(QWebViewH handle, QVariantH retval, Qt::InputMethodQuery property); C_EXPORT void QWebView_sizeHint(QWebViewH handle, PSize retval); C_EXPORT qreal QWebView_zoomFactor(QWebViewH handle); C_EXPORT void QWebView_setZoomFactor(QWebViewH handle, qreal factor); C_EXPORT void QWebView_setTextSizeMultiplier(QWebViewH handle, qreal factor); C_EXPORT qreal QWebView_textSizeMultiplier(QWebViewH handle); C_EXPORT bool QWebView_findText(QWebViewH handle, PWideString subString, unsigned int options); C_EXPORT bool QWebView_event(QWebViewH handle, QEventH AnonParam1); C_EXPORT void QWebView_stop(QWebViewH handle); C_EXPORT void QWebView_back(QWebViewH handle); C_EXPORT void QWebView_forward(QWebViewH handle); C_EXPORT void QWebView_reload(QWebViewH handle); C_EXPORT void QWebView_print(QWebViewH handle, QPrinterH printer); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclwebpage.h0000644000212600021260000000245211677135472017473 0ustar janjan#ifndef QLCLWEBPAGE_H #define QLCLWEBPAGE_H #include #include "pascalbind.h" class QLCLWebPage : public QWebPage { public: //==================================================================================== QLCLWebPage(QObject * parent = 0 ) : QWebPage(parent) { userAgentForUrlOverride.func = NULL; }; //==================================================================================== void override_userAgentForUrl(const QOverrideHook hook) { userAgentForUrlOverride = hook; }; QString DefaultUserAgentForUrl(const QUrl& url) const { return QWebPage::userAgentForUrl(url); } protected: QString userAgentForUrl(const QUrl& url) const { if (userAgentForUrlOverride.func) { PWideString t_userAgent; initializePWideString(t_userAgent); typedef void (*func_type)(void *data, const QUrlH url, PWideString userAgent); (*(func_type)userAgentForUrlOverride.func)(userAgentForUrlOverride.data, (const QUrlH)&url, t_userAgent); QString userAgent; copyPWideStringToQString(t_userAgent, userAgent); return(userAgent); } else return QWebPage::userAgentForUrl(url); } private: //==================================================================================== QHook userAgentForUrlOverride; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtableview_c.cpp0000664000212600021260000001524211677135472020210 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtableview_c.h" QTableViewH QTableView_create(QWidgetH parent) { return (QTableViewH) new QTableView((QWidget*)parent); } void QTableView_destroy(QTableViewH handle) { delete (QTableView *)handle; } void QTableView_setModel(QTableViewH handle, QAbstractItemModelH model) { ((QTableView *)handle)->setModel((QAbstractItemModel*)model); } void QTableView_setRootIndex(QTableViewH handle, const QModelIndexH index) { ((QTableView *)handle)->setRootIndex(*(const QModelIndex*)index); } void QTableView_setSelectionModel(QTableViewH handle, QItemSelectionModelH selectionModel) { ((QTableView *)handle)->setSelectionModel((QItemSelectionModel*)selectionModel); } QHeaderViewH QTableView_horizontalHeader(QTableViewH handle) { return (QHeaderViewH) ((QTableView *)handle)->horizontalHeader(); } QHeaderViewH QTableView_verticalHeader(QTableViewH handle) { return (QHeaderViewH) ((QTableView *)handle)->verticalHeader(); } void QTableView_setHorizontalHeader(QTableViewH handle, QHeaderViewH header) { ((QTableView *)handle)->setHorizontalHeader((QHeaderView*)header); } void QTableView_setVerticalHeader(QTableViewH handle, QHeaderViewH header) { ((QTableView *)handle)->setVerticalHeader((QHeaderView*)header); } int QTableView_rowViewportPosition(QTableViewH handle, int row) { return (int) ((QTableView *)handle)->rowViewportPosition(row); } int QTableView_rowAt(QTableViewH handle, int y) { return (int) ((QTableView *)handle)->rowAt(y); } void QTableView_setRowHeight(QTableViewH handle, int row, int height) { ((QTableView *)handle)->setRowHeight(row, height); } int QTableView_rowHeight(QTableViewH handle, int row) { return (int) ((QTableView *)handle)->rowHeight(row); } int QTableView_columnViewportPosition(QTableViewH handle, int column) { return (int) ((QTableView *)handle)->columnViewportPosition(column); } int QTableView_columnAt(QTableViewH handle, int x) { return (int) ((QTableView *)handle)->columnAt(x); } void QTableView_setColumnWidth(QTableViewH handle, int column, int width) { ((QTableView *)handle)->setColumnWidth(column, width); } int QTableView_columnWidth(QTableViewH handle, int column) { return (int) ((QTableView *)handle)->columnWidth(column); } bool QTableView_isRowHidden(QTableViewH handle, int row) { return (bool) ((QTableView *)handle)->isRowHidden(row); } void QTableView_setRowHidden(QTableViewH handle, int row, bool hide) { ((QTableView *)handle)->setRowHidden(row, hide); } bool QTableView_isColumnHidden(QTableViewH handle, int column) { return (bool) ((QTableView *)handle)->isColumnHidden(column); } void QTableView_setColumnHidden(QTableViewH handle, int column, bool hide) { ((QTableView *)handle)->setColumnHidden(column, hide); } void QTableView_setSortingEnabled(QTableViewH handle, bool enable) { ((QTableView *)handle)->setSortingEnabled(enable); } bool QTableView_isSortingEnabled(QTableViewH handle) { return (bool) ((QTableView *)handle)->isSortingEnabled(); } bool QTableView_showGrid(QTableViewH handle) { return (bool) ((QTableView *)handle)->showGrid(); } Qt::PenStyle QTableView_gridStyle(QTableViewH handle) { return (Qt::PenStyle) ((QTableView *)handle)->gridStyle(); } void QTableView_setGridStyle(QTableViewH handle, Qt::PenStyle style) { ((QTableView *)handle)->setGridStyle(style); } void QTableView_setWordWrap(QTableViewH handle, bool on) { ((QTableView *)handle)->setWordWrap(on); } bool QTableView_wordWrap(QTableViewH handle) { return (bool) ((QTableView *)handle)->wordWrap(); } void QTableView_setCornerButtonEnabled(QTableViewH handle, bool enable) { ((QTableView *)handle)->setCornerButtonEnabled(enable); } bool QTableView_isCornerButtonEnabled(QTableViewH handle) { return (bool) ((QTableView *)handle)->isCornerButtonEnabled(); } void QTableView_visualRect(QTableViewH handle, PRect retval, const QModelIndexH index) { QRect t_retval; t_retval = ((QTableView *)handle)->visualRect(*(const QModelIndex*)index); copyQRectToPRect(t_retval, retval); } void QTableView_scrollTo(QTableViewH handle, const QModelIndexH index, QAbstractItemView::ScrollHint hint) { ((QTableView *)handle)->scrollTo(*(const QModelIndex*)index, hint); } void QTableView_indexAt(QTableViewH handle, QModelIndexH retval, const QPointH p) { *(QModelIndex *)retval = ((QTableView *)handle)->indexAt(*(const QPoint*)p); } void QTableView_setSpan(QTableViewH handle, int row, int column, int rowSpan, int columnSpan) { ((QTableView *)handle)->setSpan(row, column, rowSpan, columnSpan); } int QTableView_rowSpan(QTableViewH handle, int row, int column) { return (int) ((QTableView *)handle)->rowSpan(row, column); } int QTableView_columnSpan(QTableViewH handle, int row, int column) { return (int) ((QTableView *)handle)->columnSpan(row, column); } void QTableView_clearSpans(QTableViewH handle) { ((QTableView *)handle)->clearSpans(); } void QTableView_sortByColumn(QTableViewH handle, int column, Qt::SortOrder order) { ((QTableView *)handle)->sortByColumn(column, order); } void QTableView_selectRow(QTableViewH handle, int row) { ((QTableView *)handle)->selectRow(row); } void QTableView_selectColumn(QTableViewH handle, int column) { ((QTableView *)handle)->selectColumn(column); } void QTableView_hideRow(QTableViewH handle, int row) { ((QTableView *)handle)->hideRow(row); } void QTableView_hideColumn(QTableViewH handle, int column) { ((QTableView *)handle)->hideColumn(column); } void QTableView_showRow(QTableViewH handle, int row) { ((QTableView *)handle)->showRow(row); } void QTableView_showColumn(QTableViewH handle, int column) { ((QTableView *)handle)->showColumn(column); } void QTableView_resizeRowToContents(QTableViewH handle, int row) { ((QTableView *)handle)->resizeRowToContents(row); } void QTableView_resizeRowsToContents(QTableViewH handle) { ((QTableView *)handle)->resizeRowsToContents(); } void QTableView_resizeColumnToContents(QTableViewH handle, int column) { ((QTableView *)handle)->resizeColumnToContents(column); } void QTableView_resizeColumnsToContents(QTableViewH handle) { ((QTableView *)handle)->resizeColumnsToContents(); } void QTableView_sortByColumn2(QTableViewH handle, int column) { ((QTableView *)handle)->sortByColumn(column); } void QTableView_setShowGrid(QTableViewH handle, bool show) { ((QTableView *)handle)->setShowGrid(show); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qaction_c.cpp0000664000212600021260000001627311677135472017510 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qaction_c.h" QActionH QAction_create(QObjectH parent) { return (QActionH) new QAction((QObject*)parent); } void QAction_destroy(QActionH handle) { delete (QAction *)handle; } QActionH QAction_create2(PWideString text, QObjectH parent) { QString t_text; copyPWideStringToQString(text, t_text); return (QActionH) new QAction(t_text, (QObject*)parent); } QActionH QAction_create3(const QIconH icon, PWideString text, QObjectH parent) { QString t_text; copyPWideStringToQString(text, t_text); return (QActionH) new QAction(*(const QIcon*)icon, t_text, (QObject*)parent); } void QAction_setActionGroup(QActionH handle, QActionGroupH group) { ((QAction *)handle)->setActionGroup((QActionGroup*)group); } QActionGroupH QAction_actionGroup(QActionH handle) { return (QActionGroupH) ((QAction *)handle)->actionGroup(); } void QAction_setIcon(QActionH handle, const QIconH icon) { ((QAction *)handle)->setIcon(*(const QIcon*)icon); } void QAction_icon(QActionH handle, QIconH retval) { *(QIcon *)retval = ((QAction *)handle)->icon(); } void QAction_setText(QActionH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QAction *)handle)->setText(t_text); } void QAction_text(QActionH handle, PWideString retval) { QString t_retval; t_retval = ((QAction *)handle)->text(); copyQStringToPWideString(t_retval, retval); } void QAction_setIconText(QActionH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QAction *)handle)->setIconText(t_text); } void QAction_iconText(QActionH handle, PWideString retval) { QString t_retval; t_retval = ((QAction *)handle)->iconText(); copyQStringToPWideString(t_retval, retval); } void QAction_setToolTip(QActionH handle, PWideString tip) { QString t_tip; copyPWideStringToQString(tip, t_tip); ((QAction *)handle)->setToolTip(t_tip); } void QAction_toolTip(QActionH handle, PWideString retval) { QString t_retval; t_retval = ((QAction *)handle)->toolTip(); copyQStringToPWideString(t_retval, retval); } void QAction_setStatusTip(QActionH handle, PWideString statusTip) { QString t_statusTip; copyPWideStringToQString(statusTip, t_statusTip); ((QAction *)handle)->setStatusTip(t_statusTip); } void QAction_statusTip(QActionH handle, PWideString retval) { QString t_retval; t_retval = ((QAction *)handle)->statusTip(); copyQStringToPWideString(t_retval, retval); } void QAction_setWhatsThis(QActionH handle, PWideString what) { QString t_what; copyPWideStringToQString(what, t_what); ((QAction *)handle)->setWhatsThis(t_what); } void QAction_whatsThis(QActionH handle, PWideString retval) { QString t_retval; t_retval = ((QAction *)handle)->whatsThis(); copyQStringToPWideString(t_retval, retval); } QMenuH QAction_menu(QActionH handle) { return (QMenuH) ((QAction *)handle)->menu(); } void QAction_setMenu(QActionH handle, QMenuH menu) { ((QAction *)handle)->setMenu((QMenu*)menu); } void QAction_setSeparator(QActionH handle, bool b) { ((QAction *)handle)->setSeparator(b); } bool QAction_isSeparator(QActionH handle) { return (bool) ((QAction *)handle)->isSeparator(); } void QAction_setShortcut(QActionH handle, const QKeySequenceH shortcut) { ((QAction *)handle)->setShortcut(*(const QKeySequence*)shortcut); } void QAction_shortcut(QActionH handle, QKeySequenceH retval) { *(QKeySequence *)retval = ((QAction *)handle)->shortcut(); } void QAction_setShortcuts2(QActionH handle, QKeySequence::StandardKey AnonParam1) { ((QAction *)handle)->setShortcuts(AnonParam1); } void QAction_setShortcutContext(QActionH handle, Qt::ShortcutContext context) { ((QAction *)handle)->setShortcutContext(context); } Qt::ShortcutContext QAction_shortcutContext(QActionH handle) { return (Qt::ShortcutContext) ((QAction *)handle)->shortcutContext(); } void QAction_setAutoRepeat(QActionH handle, bool AnonParam1) { ((QAction *)handle)->setAutoRepeat(AnonParam1); } bool QAction_autoRepeat(QActionH handle) { return (bool) ((QAction *)handle)->autoRepeat(); } void QAction_setFont(QActionH handle, const QFontH font) { ((QAction *)handle)->setFont(*(const QFont*)font); } void QAction_font(QActionH handle, QFontH retval) { *(QFont *)retval = ((QAction *)handle)->font(); } void QAction_setCheckable(QActionH handle, bool AnonParam1) { ((QAction *)handle)->setCheckable(AnonParam1); } bool QAction_isCheckable(QActionH handle) { return (bool) ((QAction *)handle)->isCheckable(); } void QAction_data(QActionH handle, QVariantH retval) { *(QVariant *)retval = ((QAction *)handle)->data(); } void QAction_setData(QActionH handle, const QVariantH var) { ((QAction *)handle)->setData(*(const QVariant*)var); } bool QAction_isChecked(QActionH handle) { return (bool) ((QAction *)handle)->isChecked(); } bool QAction_isEnabled(QActionH handle) { return (bool) ((QAction *)handle)->isEnabled(); } bool QAction_isVisible(QActionH handle) { return (bool) ((QAction *)handle)->isVisible(); } void QAction_activate(QActionH handle, QAction::ActionEvent event) { ((QAction *)handle)->activate(event); } bool QAction_showStatusText(QActionH handle, QWidgetH widget) { return (bool) ((QAction *)handle)->showStatusText((QWidget*)widget); } void QAction_setMenuRole(QActionH handle, QAction::MenuRole menuRole) { ((QAction *)handle)->setMenuRole(menuRole); } QAction::MenuRole QAction_menuRole(QActionH handle) { return (QAction::MenuRole) ((QAction *)handle)->menuRole(); } void QAction_setIconVisibleInMenu(QActionH handle, bool visible) { ((QAction *)handle)->setIconVisibleInMenu(visible); } bool QAction_isIconVisibleInMenu(QActionH handle) { return (bool) ((QAction *)handle)->isIconVisibleInMenu(); } QWidgetH QAction_parentWidget(QActionH handle) { return (QWidgetH) ((QAction *)handle)->parentWidget(); } void QAction_associatedWidgets(QActionH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QAction *)handle)->associatedWidgets(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QAction_associatedGraphicsWidgets(QActionH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QAction *)handle)->associatedGraphicsWidgets(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QAction_trigger(QActionH handle) { ((QAction *)handle)->trigger(); } void QAction_hover(QActionH handle) { ((QAction *)handle)->hover(); } void QAction_setChecked(QActionH handle, bool AnonParam1) { ((QAction *)handle)->setChecked(AnonParam1); } void QAction_toggle(QActionH handle) { ((QAction *)handle)->toggle(); } void QAction_setEnabled(QActionH handle, bool AnonParam1) { ((QAction *)handle)->setEnabled(AnonParam1); } void QAction_setDisabled(QActionH handle, bool b) { ((QAction *)handle)->setDisabled(b); } void QAction_setVisible(QActionH handle, bool AnonParam1) { ((QAction *)handle)->setVisible(AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtreeview_hook_c.h0000664000212600021260000000153511677135472020545 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTREEVIEW_HOOK_C_H #define QTREEVIEW_HOOK_C_H #include "qtreeview_hook.h" C_EXPORT QTreeView_hookH QTreeView_hook_create(QObjectH handle); C_EXPORT void QTreeView_hook_destroy(QTreeView_hookH handle); C_EXPORT void QTreeView_hook_hook_expanded(QTreeView_hookH handle, QHookH hook); C_EXPORT void QTreeView_hook_hook_collapsed(QTreeView_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprogressdialog_hook.h0000664000212600021260000000243411677135472021434 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPROGRESSDIALOG_HOOK_H #define QPROGRESSDIALOG_HOOK_H #include #include "qdialog_hook.h" class QProgressDialog_hook : public QDialog_hook { Q_OBJECT public: QProgressDialog_hook(QObject *handle) : QDialog_hook(handle) { canceled_event.func = NULL; } void hook_canceled(QHook &hook) { if ( !canceled_event.func ) connect(handle, SIGNAL(canceled()), this, SLOT(canceled_hook())); canceled_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(canceled()), this, SLOT(canceled_hook())); } private slots: void canceled_hook() { if ( canceled_event.func ) { typedef void (*func_type)(void *data); (*(func_type)canceled_event.func)(canceled_event.data); } } private: QHook canceled_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwidget_hook_c.cpp0000664000212600021260000000154111677135472020526 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwidget_hook_c.h" QWidget_hookH QWidget_hook_create(QObjectH handle) { return (QWidget_hookH) new QWidget_hook((QObject*)handle); } void QWidget_hook_destroy(QWidget_hookH handle) { delete (QWidget_hook *)handle; } void QWidget_hook_hook_customContextMenuRequested(QWidget_hookH handle, QHookH hook) { ((QWidget_hook *)handle)->hook_customContextMenuRequested(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qscrollarea_c.cpp0000664000212600021260000000422411677135472020353 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qscrollarea_c.h" QScrollAreaH QScrollArea_create(QWidgetH parent) { return (QScrollAreaH) new QScrollArea((QWidget*)parent); } void QScrollArea_destroy(QScrollAreaH handle) { delete (QScrollArea *)handle; } QWidgetH QScrollArea_widget(QScrollAreaH handle) { return (QWidgetH) ((QScrollArea *)handle)->widget(); } void QScrollArea_setWidget(QScrollAreaH handle, QWidgetH widget) { ((QScrollArea *)handle)->setWidget((QWidget*)widget); } QWidgetH QScrollArea_takeWidget(QScrollAreaH handle) { return (QWidgetH) ((QScrollArea *)handle)->takeWidget(); } bool QScrollArea_widgetResizable(QScrollAreaH handle) { return (bool) ((QScrollArea *)handle)->widgetResizable(); } void QScrollArea_setWidgetResizable(QScrollAreaH handle, bool resizable) { ((QScrollArea *)handle)->setWidgetResizable(resizable); } void QScrollArea_sizeHint(QScrollAreaH handle, PSize retval) { *(QSize *)retval = ((QScrollArea *)handle)->sizeHint(); } bool QScrollArea_focusNextPrevChild(QScrollAreaH handle, bool next) { return (bool) ((QScrollArea *)handle)->focusNextPrevChild(next); } unsigned int QScrollArea_alignment(QScrollAreaH handle) { return (unsigned int) ((QScrollArea *)handle)->alignment(); } void QScrollArea_setAlignment(QScrollAreaH handle, unsigned int AnonParam1) { ((QScrollArea *)handle)->setAlignment((Qt::Alignment)AnonParam1); } void QScrollArea_ensureVisible(QScrollAreaH handle, int x, int y, int xmargin, int ymargin) { ((QScrollArea *)handle)->ensureVisible(x, y, xmargin, ymargin); } void QScrollArea_ensureWidgetVisible(QScrollAreaH handle, QWidgetH childWidget, int xmargin, int ymargin) { ((QScrollArea *)handle)->ensureWidgetVisible((QWidget*)childWidget, xmargin, ymargin); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtcpserver_hook_c.h0000664000212600021260000000143111677135472020723 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTCPSERVER_HOOK_C_H #define QTCPSERVER_HOOK_C_H #include "qtcpserver_hook.h" C_EXPORT QTcpServer_hookH QTcpServer_hook_create(QObjectH handle); C_EXPORT void QTcpServer_hook_destroy(QTcpServer_hookH handle); C_EXPORT void QTcpServer_hook_hook_newConnection(QTcpServer_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbutton_c.cpp0000664000212600021260000000504311677135472020435 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtoolbutton_c.h" QToolButtonH QToolButton_create(QWidgetH parent) { return (QToolButtonH) new QToolButton((QWidget*)parent); } void QToolButton_destroy(QToolButtonH handle) { delete (QToolButton *)handle; } void QToolButton_sizeHint(QToolButtonH handle, PSize retval) { *(QSize *)retval = ((QToolButton *)handle)->sizeHint(); } void QToolButton_minimumSizeHint(QToolButtonH handle, PSize retval) { *(QSize *)retval = ((QToolButton *)handle)->minimumSizeHint(); } Qt::ToolButtonStyle QToolButton_toolButtonStyle(QToolButtonH handle) { return (Qt::ToolButtonStyle) ((QToolButton *)handle)->toolButtonStyle(); } Qt::ArrowType QToolButton_arrowType(QToolButtonH handle) { return (Qt::ArrowType) ((QToolButton *)handle)->arrowType(); } void QToolButton_setArrowType(QToolButtonH handle, Qt::ArrowType type) { ((QToolButton *)handle)->setArrowType(type); } void QToolButton_setMenu(QToolButtonH handle, QMenuH menu) { ((QToolButton *)handle)->setMenu((QMenu*)menu); } QMenuH QToolButton_menu(QToolButtonH handle) { return (QMenuH) ((QToolButton *)handle)->menu(); } void QToolButton_setPopupMode(QToolButtonH handle, QToolButton::ToolButtonPopupMode mode) { ((QToolButton *)handle)->setPopupMode(mode); } QToolButton::ToolButtonPopupMode QToolButton_popupMode(QToolButtonH handle) { return (QToolButton::ToolButtonPopupMode) ((QToolButton *)handle)->popupMode(); } QActionH QToolButton_defaultAction(QToolButtonH handle) { return (QActionH) ((QToolButton *)handle)->defaultAction(); } void QToolButton_setAutoRaise(QToolButtonH handle, bool enable) { ((QToolButton *)handle)->setAutoRaise(enable); } bool QToolButton_autoRaise(QToolButtonH handle) { return (bool) ((QToolButton *)handle)->autoRaise(); } void QToolButton_showMenu(QToolButtonH handle) { ((QToolButton *)handle)->showMenu(); } void QToolButton_setToolButtonStyle(QToolButtonH handle, Qt::ToolButtonStyle style) { ((QToolButton *)handle)->setToolButtonStyle(style); } void QToolButton_setDefaultAction(QToolButtonH handle, QActionH AnonParam1) { ((QToolButton *)handle)->setDefaultAction((QAction*)AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstackedwidget_hook_c.h0000664000212600021260000000163611677135472021537 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTACKEDWIDGET_HOOK_C_H #define QSTACKEDWIDGET_HOOK_C_H #include "qstackedwidget_hook.h" C_EXPORT QStackedWidget_hookH QStackedWidget_hook_create(QObjectH handle); C_EXPORT void QStackedWidget_hook_destroy(QStackedWidget_hookH handle); C_EXPORT void QStackedWidget_hook_hook_currentChanged(QStackedWidget_hookH handle, QHookH hook); C_EXPORT void QStackedWidget_hook_hook_widgetRemoved(QStackedWidget_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclwebview_c.cpp0000664000212600021260000000151711677135472020371 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlclwebview_c.h" QLCLWebViewH QLCLWebView_create(QWidgetH parent) { return (QLCLWebViewH) new QLCLWebView((QWidget*)parent); } void QLCLWebView_destroy(QLCLWebViewH handle) { delete (QLCLWebView *)handle; } void QLCLWebView_override_createWindow(QLCLWebViewH handle, const QOverrideHook hook) { ((QLCLWebView *)handle)->override_createWindow(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfiledialog_hook.h0000664000212600021260000001137711677135472020515 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFILEDIALOG_HOOK_H #define QFILEDIALOG_HOOK_H #include #include "qdialog_hook.h" class QFileDialog_hook : public QDialog_hook { Q_OBJECT public: QFileDialog_hook(QObject *handle) : QDialog_hook(handle) { fileSelected_event.func = NULL; filesSelected_event.func = NULL; currentChanged_event.func = NULL; directoryEntered_event.func = NULL; filterSelected_event.func = NULL; } void hook_fileSelected(QHook &hook) { if ( !fileSelected_event.func ) connect(handle, SIGNAL(fileSelected(const QString&)), this, SLOT(fileSelected_hook(const QString&))); fileSelected_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(fileSelected(const QString&)), this, SLOT(fileSelected_hook(const QString&))); } void hook_filesSelected(QHook &hook) { if ( !filesSelected_event.func ) connect(handle, SIGNAL(filesSelected(const QStringList&)), this, SLOT(filesSelected_hook(const QStringList&))); filesSelected_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(filesSelected(const QStringList&)), this, SLOT(filesSelected_hook(const QStringList&))); } void hook_currentChanged(QHook &hook) { if ( !currentChanged_event.func ) connect(handle, SIGNAL(currentChanged(const QString&)), this, SLOT(currentChanged_hook(const QString&))); currentChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentChanged(const QString&)), this, SLOT(currentChanged_hook(const QString&))); } void hook_directoryEntered(QHook &hook) { if ( !directoryEntered_event.func ) connect(handle, SIGNAL(directoryEntered(const QString&)), this, SLOT(directoryEntered_hook(const QString&))); directoryEntered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(directoryEntered(const QString&)), this, SLOT(directoryEntered_hook(const QString&))); } void hook_filterSelected(QHook &hook) { if ( !filterSelected_event.func ) connect(handle, SIGNAL(filterSelected(const QString&)), this, SLOT(filterSelected_hook(const QString&))); filterSelected_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(filterSelected(const QString&)), this, SLOT(filterSelected_hook(const QString&))); } private slots: void fileSelected_hook(const QString& file) { if ( fileSelected_event.func ) { typedef void (*func_type)(void *data, PWideString file); PWideString t_file; initializePWideString(t_file); copyQStringToPWideString(file, t_file); (*(func_type)fileSelected_event.func)(fileSelected_event.data, t_file); finalizePWideString(t_file); } } void filesSelected_hook(const QStringList& files) { if ( filesSelected_event.func ) { typedef void (*func_type)(void *data, const QStringListH files); (*(func_type)filesSelected_event.func)(filesSelected_event.data, (const QStringListH)&files); } } void currentChanged_hook(const QString& path) { if ( currentChanged_event.func ) { typedef void (*func_type)(void *data, PWideString path); PWideString t_path; initializePWideString(t_path); copyQStringToPWideString(path, t_path); (*(func_type)currentChanged_event.func)(currentChanged_event.data, t_path); finalizePWideString(t_path); } } void directoryEntered_hook(const QString& directory) { if ( directoryEntered_event.func ) { typedef void (*func_type)(void *data, PWideString directory); PWideString t_directory; initializePWideString(t_directory); copyQStringToPWideString(directory, t_directory); (*(func_type)directoryEntered_event.func)(directoryEntered_event.data, t_directory); finalizePWideString(t_directory); } } void filterSelected_hook(const QString& filter) { if ( filterSelected_event.func ) { typedef void (*func_type)(void *data, PWideString filter); PWideString t_filter; initializePWideString(t_filter); copyQStringToPWideString(filter, t_filter); (*(func_type)filterSelected_event.func)(filterSelected_event.data, t_filter); finalizePWideString(t_filter); } } private: QHook fileSelected_event; QHook filesSelected_event; QHook currentChanged_event; QHook directoryEntered_event; QHook filterSelected_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtcpserver_c.h0000664000212600021260000000356411677135472017714 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTCPSERVER_C_H #define QTCPSERVER_C_H #include #include "pascalbind.h" C_EXPORT QTcpServerH QTcpServer_create(QObjectH parent); C_EXPORT void QTcpServer_destroy(QTcpServerH handle); C_EXPORT bool QTcpServer_listen(QTcpServerH handle, const QHostAddressH address, quint16 port); C_EXPORT void QTcpServer_close(QTcpServerH handle); C_EXPORT bool QTcpServer_isListening(QTcpServerH handle); C_EXPORT void QTcpServer_setMaxPendingConnections(QTcpServerH handle, int numConnections); C_EXPORT int QTcpServer_maxPendingConnections(QTcpServerH handle); C_EXPORT quint16 QTcpServer_serverPort(QTcpServerH handle); C_EXPORT void QTcpServer_serverAddress(QTcpServerH handle, QHostAddressH retval); C_EXPORT int QTcpServer_socketDescriptor(QTcpServerH handle); C_EXPORT bool QTcpServer_setSocketDescriptor(QTcpServerH handle, int socketDescriptor); C_EXPORT bool QTcpServer_waitForNewConnection(QTcpServerH handle, int msec, bool* timedOut); C_EXPORT bool QTcpServer_hasPendingConnections(QTcpServerH handle); C_EXPORT QTcpSocketH QTcpServer_nextPendingConnection(QTcpServerH handle); C_EXPORT QAbstractSocket::SocketError QTcpServer_serverError(QTcpServerH handle); C_EXPORT void QTcpServer_errorString(QTcpServerH handle, PWideString retval); C_EXPORT void QTcpServer_setProxy(QTcpServerH handle, const QNetworkProxyH networkProxy); C_EXPORT void QTcpServer_proxy(QTcpServerH handle, QNetworkProxyH retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qobject_hook_c.cpp0000664000212600021260000000166311677135472020516 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qobject_hook_c.h" QObject_hookH QObject_hook_create(QObjectH handle) { return (QObject_hookH) new QObject_hook((QObject*)handle); } void QObject_hook_destroy(QObject_hookH handle) { delete (QObject_hook *)handle; } void QObject_hook_hook_events(QObject_hookH handle, QHookH hook) { ((QObject_hook *)handle)->hook_events(hook); } void QObject_hook_hook_destroyed(QObject_hookH handle, QHookH hook) { ((QObject_hook *)handle)->hook_destroyed(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qheaderview_c.cpp0000664000212600021260000002102111677135472020341 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qheaderview_c.h" QHeaderViewH QHeaderView_create(Qt::Orientation orientation, QWidgetH parent) { return (QHeaderViewH) new QHeaderView(orientation, (QWidget*)parent); } void QHeaderView_destroy(QHeaderViewH handle) { delete (QHeaderView *)handle; } void QHeaderView_setModel(QHeaderViewH handle, QAbstractItemModelH model) { ((QHeaderView *)handle)->setModel((QAbstractItemModel*)model); } Qt::Orientation QHeaderView_orientation(QHeaderViewH handle) { return (Qt::Orientation) ((QHeaderView *)handle)->orientation(); } int QHeaderView_offset(QHeaderViewH handle) { return (int) ((QHeaderView *)handle)->offset(); } int QHeaderView_length(QHeaderViewH handle) { return (int) ((QHeaderView *)handle)->length(); } void QHeaderView_sizeHint(QHeaderViewH handle, PSize retval) { *(QSize *)retval = ((QHeaderView *)handle)->sizeHint(); } int QHeaderView_sectionSizeHint(QHeaderViewH handle, int logicalIndex) { return (int) ((QHeaderView *)handle)->sectionSizeHint(logicalIndex); } int QHeaderView_visualIndexAt(QHeaderViewH handle, int position) { return (int) ((QHeaderView *)handle)->visualIndexAt(position); } int QHeaderView_logicalIndexAt(QHeaderViewH handle, int position) { return (int) ((QHeaderView *)handle)->logicalIndexAt(position); } int QHeaderView_logicalIndexAt2(QHeaderViewH handle, int x, int y) { return (int) ((QHeaderView *)handle)->logicalIndexAt(x, y); } int QHeaderView_logicalIndexAt3(QHeaderViewH handle, const QPointH pos) { return (int) ((QHeaderView *)handle)->logicalIndexAt(*(const QPoint*)pos); } int QHeaderView_sectionSize(QHeaderViewH handle, int logicalIndex) { return (int) ((QHeaderView *)handle)->sectionSize(logicalIndex); } int QHeaderView_sectionPosition(QHeaderViewH handle, int logicalIndex) { return (int) ((QHeaderView *)handle)->sectionPosition(logicalIndex); } int QHeaderView_sectionViewportPosition(QHeaderViewH handle, int logicalIndex) { return (int) ((QHeaderView *)handle)->sectionViewportPosition(logicalIndex); } void QHeaderView_moveSection(QHeaderViewH handle, int from, int to) { ((QHeaderView *)handle)->moveSection(from, to); } void QHeaderView_swapSections(QHeaderViewH handle, int first, int second) { ((QHeaderView *)handle)->swapSections(first, second); } void QHeaderView_resizeSection(QHeaderViewH handle, int logicalIndex, int size) { ((QHeaderView *)handle)->resizeSection(logicalIndex, size); } void QHeaderView_resizeSections(QHeaderViewH handle, QHeaderView::ResizeMode mode) { ((QHeaderView *)handle)->resizeSections(mode); } bool QHeaderView_isSectionHidden(QHeaderViewH handle, int logicalIndex) { return (bool) ((QHeaderView *)handle)->isSectionHidden(logicalIndex); } void QHeaderView_setSectionHidden(QHeaderViewH handle, int logicalIndex, bool hide) { ((QHeaderView *)handle)->setSectionHidden(logicalIndex, hide); } int QHeaderView_hiddenSectionCount(QHeaderViewH handle) { return (int) ((QHeaderView *)handle)->hiddenSectionCount(); } void QHeaderView_hideSection(QHeaderViewH handle, int logicalIndex) { ((QHeaderView *)handle)->hideSection(logicalIndex); } void QHeaderView_showSection(QHeaderViewH handle, int logicalIndex) { ((QHeaderView *)handle)->showSection(logicalIndex); } int QHeaderView_count(QHeaderViewH handle) { return (int) ((QHeaderView *)handle)->count(); } int QHeaderView_visualIndex(QHeaderViewH handle, int logicalIndex) { return (int) ((QHeaderView *)handle)->visualIndex(logicalIndex); } int QHeaderView_logicalIndex(QHeaderViewH handle, int visualIndex) { return (int) ((QHeaderView *)handle)->logicalIndex(visualIndex); } void QHeaderView_setMovable(QHeaderViewH handle, bool movable) { ((QHeaderView *)handle)->setMovable(movable); } bool QHeaderView_isMovable(QHeaderViewH handle) { return (bool) ((QHeaderView *)handle)->isMovable(); } void QHeaderView_setClickable(QHeaderViewH handle, bool clickable) { ((QHeaderView *)handle)->setClickable(clickable); } bool QHeaderView_isClickable(QHeaderViewH handle) { return (bool) ((QHeaderView *)handle)->isClickable(); } void QHeaderView_setHighlightSections(QHeaderViewH handle, bool highlight) { ((QHeaderView *)handle)->setHighlightSections(highlight); } bool QHeaderView_highlightSections(QHeaderViewH handle) { return (bool) ((QHeaderView *)handle)->highlightSections(); } void QHeaderView_setResizeMode(QHeaderViewH handle, QHeaderView::ResizeMode mode) { ((QHeaderView *)handle)->setResizeMode(mode); } void QHeaderView_setResizeMode2(QHeaderViewH handle, int logicalIndex, QHeaderView::ResizeMode mode) { ((QHeaderView *)handle)->setResizeMode(logicalIndex, mode); } QHeaderView::ResizeMode QHeaderView_resizeMode(QHeaderViewH handle, int logicalIndex) { return (QHeaderView::ResizeMode) ((QHeaderView *)handle)->resizeMode(logicalIndex); } int QHeaderView_stretchSectionCount(QHeaderViewH handle) { return (int) ((QHeaderView *)handle)->stretchSectionCount(); } void QHeaderView_setSortIndicatorShown(QHeaderViewH handle, bool show) { ((QHeaderView *)handle)->setSortIndicatorShown(show); } bool QHeaderView_isSortIndicatorShown(QHeaderViewH handle) { return (bool) ((QHeaderView *)handle)->isSortIndicatorShown(); } void QHeaderView_setSortIndicator(QHeaderViewH handle, int logicalIndex, Qt::SortOrder order) { ((QHeaderView *)handle)->setSortIndicator(logicalIndex, order); } int QHeaderView_sortIndicatorSection(QHeaderViewH handle) { return (int) ((QHeaderView *)handle)->sortIndicatorSection(); } Qt::SortOrder QHeaderView_sortIndicatorOrder(QHeaderViewH handle) { return (Qt::SortOrder) ((QHeaderView *)handle)->sortIndicatorOrder(); } bool QHeaderView_stretchLastSection(QHeaderViewH handle) { return (bool) ((QHeaderView *)handle)->stretchLastSection(); } void QHeaderView_setStretchLastSection(QHeaderViewH handle, bool stretch) { ((QHeaderView *)handle)->setStretchLastSection(stretch); } bool QHeaderView_cascadingSectionResizes(QHeaderViewH handle) { return (bool) ((QHeaderView *)handle)->cascadingSectionResizes(); } void QHeaderView_setCascadingSectionResizes(QHeaderViewH handle, bool enable) { ((QHeaderView *)handle)->setCascadingSectionResizes(enable); } int QHeaderView_defaultSectionSize(QHeaderViewH handle) { return (int) ((QHeaderView *)handle)->defaultSectionSize(); } void QHeaderView_setDefaultSectionSize(QHeaderViewH handle, int size) { ((QHeaderView *)handle)->setDefaultSectionSize(size); } int QHeaderView_minimumSectionSize(QHeaderViewH handle) { return (int) ((QHeaderView *)handle)->minimumSectionSize(); } void QHeaderView_setMinimumSectionSize(QHeaderViewH handle, int size) { ((QHeaderView *)handle)->setMinimumSectionSize(size); } unsigned int QHeaderView_defaultAlignment(QHeaderViewH handle) { return (unsigned int) ((QHeaderView *)handle)->defaultAlignment(); } void QHeaderView_setDefaultAlignment(QHeaderViewH handle, unsigned int alignment) { ((QHeaderView *)handle)->setDefaultAlignment((Qt::Alignment)alignment); } void QHeaderView_doItemsLayout(QHeaderViewH handle) { ((QHeaderView *)handle)->doItemsLayout(); } bool QHeaderView_sectionsMoved(QHeaderViewH handle) { return (bool) ((QHeaderView *)handle)->sectionsMoved(); } bool QHeaderView_sectionsHidden(QHeaderViewH handle) { return (bool) ((QHeaderView *)handle)->sectionsHidden(); } void QHeaderView_saveState(QHeaderViewH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QHeaderView *)handle)->saveState(); } bool QHeaderView_restoreState(QHeaderViewH handle, const QByteArrayH state) { return (bool) ((QHeaderView *)handle)->restoreState(*(const QByteArray*)state); } void QHeaderView_reset(QHeaderViewH handle) { ((QHeaderView *)handle)->reset(); } void QHeaderView_setOffset(QHeaderViewH handle, int offset) { ((QHeaderView *)handle)->setOffset(offset); } void QHeaderView_setOffsetToSectionPosition(QHeaderViewH handle, int visualIndex) { ((QHeaderView *)handle)->setOffsetToSectionPosition(visualIndex); } void QHeaderView_setOffsetToLastSection(QHeaderViewH handle) { ((QHeaderView *)handle)->setOffsetToLastSection(); } void QHeaderView_headerDataChanged(QHeaderViewH handle, Qt::Orientation orientation, int logicalFirst, int logicalLast) { ((QHeaderView *)handle)->headerDataChanged(orientation, logicalFirst, logicalLast); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlineedit_hook.h0000664000212600021260000001167311677135472020212 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLINEEDIT_HOOK_H #define QLINEEDIT_HOOK_H #include #include "qwidget_hook.h" class QLineEdit_hook : public QWidget_hook { Q_OBJECT public: QLineEdit_hook(QObject *handle) : QWidget_hook(handle) { textChanged_event.func = NULL; textEdited_event.func = NULL; cursorPositionChanged_event.func = NULL; returnPressed_event.func = NULL; editingFinished_event.func = NULL; selectionChanged_event.func = NULL; } void hook_textChanged(QHook &hook) { if ( !textChanged_event.func ) connect(handle, SIGNAL(textChanged(const QString&)), this, SLOT(textChanged_hook(const QString&))); textChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(textChanged(const QString&)), this, SLOT(textChanged_hook(const QString&))); } void hook_textEdited(QHook &hook) { if ( !textEdited_event.func ) connect(handle, SIGNAL(textEdited(const QString&)), this, SLOT(textEdited_hook(const QString&))); textEdited_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(textEdited(const QString&)), this, SLOT(textEdited_hook(const QString&))); } void hook_cursorPositionChanged(QHook &hook) { if ( !cursorPositionChanged_event.func ) connect(handle, SIGNAL(cursorPositionChanged(int, int)), this, SLOT(cursorPositionChanged_hook(int, int))); cursorPositionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(cursorPositionChanged(int, int)), this, SLOT(cursorPositionChanged_hook(int, int))); } void hook_returnPressed(QHook &hook) { if ( !returnPressed_event.func ) connect(handle, SIGNAL(returnPressed()), this, SLOT(returnPressed_hook())); returnPressed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(returnPressed()), this, SLOT(returnPressed_hook())); } void hook_editingFinished(QHook &hook) { if ( !editingFinished_event.func ) connect(handle, SIGNAL(editingFinished()), this, SLOT(editingFinished_hook())); editingFinished_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(editingFinished()), this, SLOT(editingFinished_hook())); } void hook_selectionChanged(QHook &hook) { if ( !selectionChanged_event.func ) connect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); selectionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); } private slots: void textChanged_hook(const QString& AnonParam1) { if ( textChanged_event.func ) { typedef void (*func_type)(void *data, PWideString AnonParam1); PWideString t_AnonParam1; initializePWideString(t_AnonParam1); copyQStringToPWideString(AnonParam1, t_AnonParam1); (*(func_type)textChanged_event.func)(textChanged_event.data, t_AnonParam1); finalizePWideString(t_AnonParam1); } } void textEdited_hook(const QString& AnonParam1) { if ( textEdited_event.func ) { typedef void (*func_type)(void *data, PWideString AnonParam1); PWideString t_AnonParam1; initializePWideString(t_AnonParam1); copyQStringToPWideString(AnonParam1, t_AnonParam1); (*(func_type)textEdited_event.func)(textEdited_event.data, t_AnonParam1); finalizePWideString(t_AnonParam1); } } void cursorPositionChanged_hook(int AnonParam1, int AnonParam2) { if ( cursorPositionChanged_event.func ) { typedef void (*func_type)(void *data, int AnonParam1, int AnonParam2); (*(func_type)cursorPositionChanged_event.func)(cursorPositionChanged_event.data, AnonParam1, AnonParam2); } } void returnPressed_hook() { if ( returnPressed_event.func ) { typedef void (*func_type)(void *data); (*(func_type)returnPressed_event.func)(returnPressed_event.data); } } void editingFinished_hook() { if ( editingFinished_event.func ) { typedef void (*func_type)(void *data); (*(func_type)editingFinished_event.func)(editingFinished_event.data); } } void selectionChanged_hook() { if ( selectionChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)selectionChanged_event.func)(selectionChanged_event.data); } } private: QHook textChanged_event; QHook textEdited_event; QHook cursorPositionChanged_event; QHook returnPressed_event; QHook editingFinished_event; QHook selectionChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebframe_hook_c.cpp0000664000212600021260000000347611677135472021044 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebframe_hook_c.h" QWebHitTestResult_hookH QWebHitTestResult_hook_create(QObjectH handle) { return (QWebHitTestResult_hookH) new QWebHitTestResult_hook((QObject*)handle); } void QWebHitTestResult_hook_destroy(QWebHitTestResult_hookH handle) { delete (QWebHitTestResult_hook *)handle; } QWebFrame_hookH QWebFrame_hook_create(QObjectH handle) { return (QWebFrame_hookH) new QWebFrame_hook((QObject*)handle); } void QWebFrame_hook_destroy(QWebFrame_hookH handle) { delete (QWebFrame_hook *)handle; } void QWebFrame_hook_hook_javaScriptWindowObjectCleared(QWebFrame_hookH handle, QHookH hook) { ((QWebFrame_hook *)handle)->hook_javaScriptWindowObjectCleared(hook); } void QWebFrame_hook_hook_provisionalLoad(QWebFrame_hookH handle, QHookH hook) { ((QWebFrame_hook *)handle)->hook_provisionalLoad(hook); } void QWebFrame_hook_hook_titleChanged(QWebFrame_hookH handle, QHookH hook) { ((QWebFrame_hook *)handle)->hook_titleChanged(hook); } void QWebFrame_hook_hook_urlChanged(QWebFrame_hookH handle, QHookH hook) { ((QWebFrame_hook *)handle)->hook_urlChanged(hook); } void QWebFrame_hook_hook_initialLayoutCompleted(QWebFrame_hookH handle, QHookH hook) { ((QWebFrame_hook *)handle)->hook_initialLayoutCompleted(hook); } void QWebFrame_hook_hook_iconChanged(QWebFrame_hookH handle, QHookH hook) { ((QWebFrame_hook *)handle)->hook_iconChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtreewidget_c.h0000664000212600021260000002636311677135472020044 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTREEWIDGET_C_H #define QTREEWIDGET_C_H #include #include "pascalbind.h" C_EXPORT QTreeWidgetItemH QTreeWidgetItem_create(int type); C_EXPORT void QTreeWidgetItem_destroy(QTreeWidgetItemH handle); C_EXPORT QTreeWidgetItemH QTreeWidgetItem_create2(const QStringListH strings, int type); C_EXPORT QTreeWidgetItemH QTreeWidgetItem_create3(QTreeWidgetH view, int type); C_EXPORT QTreeWidgetItemH QTreeWidgetItem_create4(QTreeWidgetH view, const QStringListH strings, int type); C_EXPORT QTreeWidgetItemH QTreeWidgetItem_create5(QTreeWidgetH view, QTreeWidgetItemH after, int type); C_EXPORT QTreeWidgetItemH QTreeWidgetItem_create6(QTreeWidgetItemH parent, int type); C_EXPORT QTreeWidgetItemH QTreeWidgetItem_create7(QTreeWidgetItemH parent, const QStringListH strings, int type); C_EXPORT QTreeWidgetItemH QTreeWidgetItem_create8(QTreeWidgetItemH parent, QTreeWidgetItemH after, int type); C_EXPORT QTreeWidgetItemH QTreeWidgetItem_create9(const QTreeWidgetItemH other); C_EXPORT QTreeWidgetItemH QTreeWidgetItem_clone(QTreeWidgetItemH handle); C_EXPORT QTreeWidgetH QTreeWidgetItem_treeWidget(QTreeWidgetItemH handle); C_EXPORT void QTreeWidgetItem_setSelected(QTreeWidgetItemH handle, bool select); C_EXPORT bool QTreeWidgetItem_isSelected(QTreeWidgetItemH handle); C_EXPORT void QTreeWidgetItem_setHidden(QTreeWidgetItemH handle, bool hide); C_EXPORT bool QTreeWidgetItem_isHidden(QTreeWidgetItemH handle); C_EXPORT void QTreeWidgetItem_setExpanded(QTreeWidgetItemH handle, bool expand); C_EXPORT bool QTreeWidgetItem_isExpanded(QTreeWidgetItemH handle); C_EXPORT void QTreeWidgetItem_setFirstColumnSpanned(QTreeWidgetItemH handle, bool span); C_EXPORT bool QTreeWidgetItem_isFirstColumnSpanned(QTreeWidgetItemH handle); C_EXPORT void QTreeWidgetItem_setDisabled(QTreeWidgetItemH handle, bool disabled); C_EXPORT bool QTreeWidgetItem_isDisabled(QTreeWidgetItemH handle); C_EXPORT void QTreeWidgetItem_setChildIndicatorPolicy(QTreeWidgetItemH handle, QTreeWidgetItem::ChildIndicatorPolicy policy); C_EXPORT QTreeWidgetItem::ChildIndicatorPolicy QTreeWidgetItem_childIndicatorPolicy(QTreeWidgetItemH handle); C_EXPORT unsigned int QTreeWidgetItem_flags(QTreeWidgetItemH handle); C_EXPORT void QTreeWidgetItem_setFlags(QTreeWidgetItemH handle, unsigned int flags); C_EXPORT void QTreeWidgetItem_text(QTreeWidgetItemH handle, PWideString retval, int column); C_EXPORT void QTreeWidgetItem_setText(QTreeWidgetItemH handle, int column, PWideString text); C_EXPORT void QTreeWidgetItem_icon(QTreeWidgetItemH handle, QIconH retval, int column); C_EXPORT void QTreeWidgetItem_setIcon(QTreeWidgetItemH handle, int column, const QIconH icon); C_EXPORT void QTreeWidgetItem_statusTip(QTreeWidgetItemH handle, PWideString retval, int column); C_EXPORT void QTreeWidgetItem_setStatusTip(QTreeWidgetItemH handle, int column, PWideString statusTip); C_EXPORT void QTreeWidgetItem_toolTip(QTreeWidgetItemH handle, PWideString retval, int column); C_EXPORT void QTreeWidgetItem_setToolTip(QTreeWidgetItemH handle, int column, PWideString toolTip); C_EXPORT void QTreeWidgetItem_whatsThis(QTreeWidgetItemH handle, PWideString retval, int column); C_EXPORT void QTreeWidgetItem_setWhatsThis(QTreeWidgetItemH handle, int column, PWideString whatsThis); C_EXPORT void QTreeWidgetItem_font(QTreeWidgetItemH handle, QFontH retval, int column); C_EXPORT void QTreeWidgetItem_setFont(QTreeWidgetItemH handle, int column, const QFontH font); C_EXPORT int QTreeWidgetItem_textAlignment(QTreeWidgetItemH handle, int column); C_EXPORT void QTreeWidgetItem_setTextAlignment(QTreeWidgetItemH handle, int column, int alignment); C_EXPORT void QTreeWidgetItem_backgroundColor(QTreeWidgetItemH handle, PQColor retval, int column); C_EXPORT void QTreeWidgetItem_setBackgroundColor(QTreeWidgetItemH handle, int column, const QColorH color); C_EXPORT void QTreeWidgetItem_background(QTreeWidgetItemH handle, QBrushH retval, int column); C_EXPORT void QTreeWidgetItem_setBackground(QTreeWidgetItemH handle, int column, const QBrushH brush); C_EXPORT void QTreeWidgetItem_textColor(QTreeWidgetItemH handle, PQColor retval, int column); C_EXPORT void QTreeWidgetItem_setTextColor(QTreeWidgetItemH handle, int column, const QColorH color); C_EXPORT void QTreeWidgetItem_foreground(QTreeWidgetItemH handle, QBrushH retval, int column); C_EXPORT void QTreeWidgetItem_setForeground(QTreeWidgetItemH handle, int column, const QBrushH brush); C_EXPORT Qt::CheckState QTreeWidgetItem_checkState(QTreeWidgetItemH handle, int column); C_EXPORT void QTreeWidgetItem_setCheckState(QTreeWidgetItemH handle, int column, Qt::CheckState state); C_EXPORT void QTreeWidgetItem_sizeHint(QTreeWidgetItemH handle, PSize retval, int column); C_EXPORT void QTreeWidgetItem_setSizeHint(QTreeWidgetItemH handle, int column, const QSizeH size); C_EXPORT void QTreeWidgetItem_data(QTreeWidgetItemH handle, QVariantH retval, int column, int role); C_EXPORT void QTreeWidgetItem_setData(QTreeWidgetItemH handle, int column, int role, const QVariantH value); C_EXPORT void QTreeWidgetItem_read(QTreeWidgetItemH handle, QDataStreamH in); C_EXPORT void QTreeWidgetItem_write(QTreeWidgetItemH handle, QDataStreamH out); C_EXPORT QTreeWidgetItemH QTreeWidgetItem_parent(QTreeWidgetItemH handle); C_EXPORT QTreeWidgetItemH QTreeWidgetItem_child(QTreeWidgetItemH handle, int index); C_EXPORT int QTreeWidgetItem_childCount(QTreeWidgetItemH handle); C_EXPORT int QTreeWidgetItem_columnCount(QTreeWidgetItemH handle); C_EXPORT int QTreeWidgetItem_indexOfChild(QTreeWidgetItemH handle, QTreeWidgetItemH child); C_EXPORT void QTreeWidgetItem_addChild(QTreeWidgetItemH handle, QTreeWidgetItemH child); C_EXPORT void QTreeWidgetItem_insertChild(QTreeWidgetItemH handle, int index, QTreeWidgetItemH child); C_EXPORT void QTreeWidgetItem_removeChild(QTreeWidgetItemH handle, QTreeWidgetItemH child); C_EXPORT QTreeWidgetItemH QTreeWidgetItem_takeChild(QTreeWidgetItemH handle, int index); C_EXPORT void QTreeWidgetItem_addChildren(QTreeWidgetItemH handle, PPtrIntArray children); C_EXPORT void QTreeWidgetItem_insertChildren(QTreeWidgetItemH handle, int index, PPtrIntArray children); C_EXPORT void QTreeWidgetItem_takeChildren(QTreeWidgetItemH handle, PPtrIntArray retval); C_EXPORT int QTreeWidgetItem_type(QTreeWidgetItemH handle); C_EXPORT void QTreeWidgetItem_sortChildren(QTreeWidgetItemH handle, int column, Qt::SortOrder order); C_EXPORT QTreeWidgetH QTreeWidget_create(QWidgetH parent); C_EXPORT void QTreeWidget_destroy(QTreeWidgetH handle); C_EXPORT int QTreeWidget_columnCount(QTreeWidgetH handle); C_EXPORT void QTreeWidget_setColumnCount(QTreeWidgetH handle, int columns); C_EXPORT QTreeWidgetItemH QTreeWidget_invisibleRootItem(QTreeWidgetH handle); C_EXPORT QTreeWidgetItemH QTreeWidget_topLevelItem(QTreeWidgetH handle, int index); C_EXPORT int QTreeWidget_topLevelItemCount(QTreeWidgetH handle); C_EXPORT void QTreeWidget_insertTopLevelItem(QTreeWidgetH handle, int index, QTreeWidgetItemH item); C_EXPORT void QTreeWidget_addTopLevelItem(QTreeWidgetH handle, QTreeWidgetItemH item); C_EXPORT QTreeWidgetItemH QTreeWidget_takeTopLevelItem(QTreeWidgetH handle, int index); C_EXPORT int QTreeWidget_indexOfTopLevelItem(QTreeWidgetH handle, QTreeWidgetItemH item); C_EXPORT void QTreeWidget_insertTopLevelItems(QTreeWidgetH handle, int index, PPtrIntArray items); C_EXPORT void QTreeWidget_addTopLevelItems(QTreeWidgetH handle, PPtrIntArray items); C_EXPORT QTreeWidgetItemH QTreeWidget_headerItem(QTreeWidgetH handle); C_EXPORT void QTreeWidget_setHeaderItem(QTreeWidgetH handle, QTreeWidgetItemH item); C_EXPORT void QTreeWidget_setHeaderLabels(QTreeWidgetH handle, const QStringListH labels); C_EXPORT void QTreeWidget_setHeaderLabel(QTreeWidgetH handle, PWideString label); C_EXPORT QTreeWidgetItemH QTreeWidget_currentItem(QTreeWidgetH handle); C_EXPORT int QTreeWidget_currentColumn(QTreeWidgetH handle); C_EXPORT void QTreeWidget_setCurrentItem(QTreeWidgetH handle, QTreeWidgetItemH item); C_EXPORT void QTreeWidget_setCurrentItem2(QTreeWidgetH handle, QTreeWidgetItemH item, int column); C_EXPORT void QTreeWidget_setCurrentItem3(QTreeWidgetH handle, QTreeWidgetItemH item, int column, unsigned int command); C_EXPORT QTreeWidgetItemH QTreeWidget_itemAt(QTreeWidgetH handle, const QPointH p); C_EXPORT QTreeWidgetItemH QTreeWidget_itemAt2(QTreeWidgetH handle, int x, int y); C_EXPORT void QTreeWidget_visualItemRect(QTreeWidgetH handle, PRect retval, const QTreeWidgetItemH item); C_EXPORT int QTreeWidget_sortColumn(QTreeWidgetH handle); C_EXPORT void QTreeWidget_sortItems(QTreeWidgetH handle, int column, Qt::SortOrder order); C_EXPORT void QTreeWidget_setSortingEnabled(QTreeWidgetH handle, bool enable); C_EXPORT bool QTreeWidget_isSortingEnabled(QTreeWidgetH handle); C_EXPORT void QTreeWidget_editItem(QTreeWidgetH handle, QTreeWidgetItemH item, int column); C_EXPORT void QTreeWidget_openPersistentEditor(QTreeWidgetH handle, QTreeWidgetItemH item, int column); C_EXPORT void QTreeWidget_closePersistentEditor(QTreeWidgetH handle, QTreeWidgetItemH item, int column); C_EXPORT QWidgetH QTreeWidget_itemWidget(QTreeWidgetH handle, QTreeWidgetItemH item, int column); C_EXPORT void QTreeWidget_setItemWidget(QTreeWidgetH handle, QTreeWidgetItemH item, int column, QWidgetH widget); C_EXPORT void QTreeWidget_removeItemWidget(QTreeWidgetH handle, QTreeWidgetItemH item, int column); C_EXPORT bool QTreeWidget_isItemSelected(QTreeWidgetH handle, const QTreeWidgetItemH item); C_EXPORT void QTreeWidget_setItemSelected(QTreeWidgetH handle, const QTreeWidgetItemH item, bool select); C_EXPORT void QTreeWidget_selectedItems(QTreeWidgetH handle, PPtrIntArray retval); C_EXPORT void QTreeWidget_findItems(QTreeWidgetH handle, PPtrIntArray retval, PWideString text, unsigned int flags, int column); C_EXPORT bool QTreeWidget_isItemHidden(QTreeWidgetH handle, const QTreeWidgetItemH item); C_EXPORT void QTreeWidget_setItemHidden(QTreeWidgetH handle, const QTreeWidgetItemH item, bool hide); C_EXPORT bool QTreeWidget_isItemExpanded(QTreeWidgetH handle, const QTreeWidgetItemH item); C_EXPORT void QTreeWidget_setItemExpanded(QTreeWidgetH handle, const QTreeWidgetItemH item, bool expand); C_EXPORT bool QTreeWidget_isFirstItemColumnSpanned(QTreeWidgetH handle, const QTreeWidgetItemH item); C_EXPORT void QTreeWidget_setFirstItemColumnSpanned(QTreeWidgetH handle, const QTreeWidgetItemH item, bool span); C_EXPORT QTreeWidgetItemH QTreeWidget_itemAbove(QTreeWidgetH handle, const QTreeWidgetItemH item); C_EXPORT QTreeWidgetItemH QTreeWidget_itemBelow(QTreeWidgetH handle, const QTreeWidgetItemH item); C_EXPORT void QTreeWidget_setSelectionModel(QTreeWidgetH handle, QItemSelectionModelH selectionModel); C_EXPORT void QTreeWidget_scrollToItem(QTreeWidgetH handle, const QTreeWidgetItemH item, QAbstractItemView::ScrollHint hint); C_EXPORT void QTreeWidget_expandItem(QTreeWidgetH handle, const QTreeWidgetItemH item); C_EXPORT void QTreeWidget_collapseItem(QTreeWidgetH handle, const QTreeWidgetItemH item); C_EXPORT void QTreeWidget_clear(QTreeWidgetH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsplitter_hook.h0000664000212600021260000000307711677135472020262 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSPLITTER_HOOK_H #define QSPLITTER_HOOK_H #include #include "qframe_hook.h" class QSplitter_hook : public QFrame_hook { Q_OBJECT public: QSplitter_hook(QObject *handle) : QFrame_hook(handle) { splitterMoved_event.func = NULL; } void hook_splitterMoved(QHook &hook) { if ( !splitterMoved_event.func ) connect(handle, SIGNAL(splitterMoved(int, int)), this, SLOT(splitterMoved_hook(int, int))); splitterMoved_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(splitterMoved(int, int)), this, SLOT(splitterMoved_hook(int, int))); } private slots: void splitterMoved_hook(int pos, int index) { if ( splitterMoved_event.func ) { typedef void (*func_type)(void *data, int pos, int index); (*(func_type)splitterMoved_event.func)(splitterMoved_event.data, pos, index); } } private: QHook splitterMoved_event; }; #include "qwidget_hook.h" class QSplitterHandle_hook : public QWidget_hook { Q_OBJECT public: QSplitterHandle_hook(QObject *handle) : QWidget_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclitemdelegate_c.h0000664000212600021260000000317211677135472021016 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLCLITEMDELEGATE_C_H #define QLCLITEMDELEGATE_C_H #include "qlclitemdelegate.h" #include "pascalbind.h" C_EXPORT QLCLItemDelegateH QLCLItemDelegate_create(QObjectH parent); C_EXPORT void QLCLItemDelegate_destroy(QLCLItemDelegateH handle); C_EXPORT void QLCLItemDelegate_override_sizeHint(QLCLItemDelegateH handle, const QOverrideHook hook); C_EXPORT void QLCLItemDelegate_override_paint(QLCLItemDelegateH handle, const QOverrideHook hook); C_EXPORT void QLCLItemDelegate_override_createEditor(QLCLItemDelegateH handle, const QOverrideHook hook); C_EXPORT void QLCLItemDelegate_override_setEditorData(QLCLItemDelegateH handle, const QOverrideHook hook); C_EXPORT void QLCLItemDelegate_override_setModelData(QLCLItemDelegateH handle, const QOverrideHook hook); C_EXPORT void QLCLItemDelegate_override_updateEditorGeometry(QLCLItemDelegateH handle, const QOverrideHook hook); C_EXPORT void QLCLItemDelegate_override_editorEvent(QLCLItemDelegateH handle, const QOverrideHook hook); C_EXPORT bool QLCLItemDelegate_InheritedEditorEvent(QLCLItemDelegateH handle, QEventH event, QAbstractItemModelH model, const QStyleOptionViewItemH option, const QModelIndexH index); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbox_hook_c.cpp0000664000212600021260000000152411677135472020732 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtoolbox_hook_c.h" QToolBox_hookH QToolBox_hook_create(QObjectH handle) { return (QToolBox_hookH) new QToolBox_hook((QObject*)handle); } void QToolBox_hook_destroy(QToolBox_hookH handle) { delete (QToolBox_hook *)handle; } void QToolBox_hook_hook_currentChanged(QToolBox_hookH handle, QHookH hook) { ((QToolBox_hook *)handle)->hook_currentChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qvalidator_c.h0000664000212600021260000000620311677135472017655 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QVALIDATOR_C_H #define QVALIDATOR_C_H #include #include "pascalbind.h" C_EXPORT void QValidator_setLocale(QValidatorH handle, const QLocaleH locale); C_EXPORT void QValidator_locale(QValidatorH handle, QLocaleH retval); C_EXPORT QValidator::State QValidator_validate(QValidatorH handle, PWideString AnonParam1, int* AnonParam2); C_EXPORT void QValidator_fixup(QValidatorH handle, PWideString AnonParam1); C_EXPORT QIntValidatorH QIntValidator_create(QObjectH parent); C_EXPORT void QIntValidator_destroy(QIntValidatorH handle); C_EXPORT QIntValidatorH QIntValidator_create2(int bottom, int top, QObjectH parent); C_EXPORT QValidator::State QIntValidator_validate(QIntValidatorH handle, PWideString AnonParam1, int* AnonParam2); C_EXPORT void QIntValidator_setBottom(QIntValidatorH handle, int AnonParam1); C_EXPORT void QIntValidator_setTop(QIntValidatorH handle, int AnonParam1); C_EXPORT void QIntValidator_setRange(QIntValidatorH handle, int bottom, int top); C_EXPORT int QIntValidator_bottom(QIntValidatorH handle); C_EXPORT int QIntValidator_top(QIntValidatorH handle); C_EXPORT QDoubleValidatorH QDoubleValidator_create(QObjectH parent); C_EXPORT void QDoubleValidator_destroy(QDoubleValidatorH handle); C_EXPORT QDoubleValidatorH QDoubleValidator_create2(double bottom, double top, int decimals, QObjectH parent); C_EXPORT QValidator::State QDoubleValidator_validate(QDoubleValidatorH handle, PWideString AnonParam1, int* AnonParam2); C_EXPORT void QDoubleValidator_setRange(QDoubleValidatorH handle, double bottom, double top, int decimals); C_EXPORT void QDoubleValidator_setBottom(QDoubleValidatorH handle, double AnonParam1); C_EXPORT void QDoubleValidator_setTop(QDoubleValidatorH handle, double AnonParam1); C_EXPORT void QDoubleValidator_setDecimals(QDoubleValidatorH handle, int AnonParam1); C_EXPORT void QDoubleValidator_setNotation(QDoubleValidatorH handle, QDoubleValidator::Notation AnonParam1); C_EXPORT double QDoubleValidator_bottom(QDoubleValidatorH handle); C_EXPORT double QDoubleValidator_top(QDoubleValidatorH handle); C_EXPORT int QDoubleValidator_decimals(QDoubleValidatorH handle); C_EXPORT QDoubleValidator::Notation QDoubleValidator_notation(QDoubleValidatorH handle); C_EXPORT QRegExpValidatorH QRegExpValidator_create(QObjectH parent); C_EXPORT void QRegExpValidator_destroy(QRegExpValidatorH handle); C_EXPORT QRegExpValidatorH QRegExpValidator_create2(const QRegExpH rx, QObjectH parent); C_EXPORT QValidator::State QRegExpValidator_validate(QRegExpValidatorH handle, PWideString input, int* pos); C_EXPORT void QRegExpValidator_setRegExp(QRegExpValidatorH handle, const QRegExpH rx); C_EXPORT const QRegExpH QRegExpValidator_regExp(QRegExpValidatorH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebsettings_hook_c.h0000664000212600021260000000131711677135472021247 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBSETTINGS_HOOK_C_H #define QWEBSETTINGS_HOOK_C_H #include "qwebsettings_hook.h" C_EXPORT QWebSettings_hookH QWebSettings_hook_create(QObjectH handle); C_EXPORT void QWebSettings_hook_destroy(QWebSettings_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qapplication_c.cpp0000664000212600021260000003003511677135472020526 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qapplication_c.h" QApplicationH QApplication_create(int* argc, char** argv, int AnonParam3) { return (QApplicationH) new QApplication(*(int*)argc, argv, AnonParam3); } void QApplication_destroy(QApplicationH handle) { delete (QApplication *)handle; } QApplicationH QApplication_create2(int* argc, char** argv, bool GUIenabled, int AnonParam4) { return (QApplicationH) new QApplication(*(int*)argc, argv, GUIenabled, AnonParam4); } QApplicationH QApplication_create3(int* argc, char** argv, QApplication::Type AnonParam3, int AnonParam4) { return (QApplicationH) new QApplication(*(int*)argc, argv, AnonParam3, AnonParam4); } #if defined BINUX QApplicationH QApplication_create4(Display* dpy, Qt::HANDLE visual, Qt::HANDLE cmap, int AnonParam4) { return (QApplicationH) new QApplication(dpy, visual, cmap, AnonParam4); } QApplicationH QApplication_create5(Display* dpy, int* argc, char** argv, Qt::HANDLE visual, Qt::HANDLE cmap, int AnonParam6) { return (QApplicationH) new QApplication(dpy, *(int*)argc, argv, visual, cmap, AnonParam6); } #endif QApplication::Type QApplication_type() { return (QApplication::Type) QApplication::type(); } QStyleH QApplication_style() { return (QStyleH) QApplication::style(); } void QApplication_setStyle(QStyleH AnonParam1) { QApplication::setStyle((QStyle*)AnonParam1); } QStyleH QApplication_setStyle2(PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); return (QStyleH) QApplication::setStyle(t_AnonParam1); } int QApplication_colorSpec() { return (int) QApplication::colorSpec(); } void QApplication_setColorSpec(int AnonParam1) { QApplication::setColorSpec(AnonParam1); } void QApplication_setGraphicsSystem(PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); QApplication::setGraphicsSystem(t_AnonParam1); } QCursorH QApplication_overrideCursor() { return (QCursorH) QApplication::overrideCursor(); } void QApplication_setOverrideCursor(const QCursorH AnonParam1) { QApplication::setOverrideCursor(*(const QCursor*)AnonParam1); } void QApplication_changeOverrideCursor(const QCursorH AnonParam1) { QApplication::changeOverrideCursor(*(const QCursor*)AnonParam1); } void QApplication_restoreOverrideCursor() { QApplication::restoreOverrideCursor(); } void QApplication_palette(QPaletteH retval) { *(QPalette *)retval = QApplication::palette(); } void QApplication_palette2(QPaletteH retval, const QWidgetH AnonParam1) { *(QPalette *)retval = QApplication::palette((const QWidget*)AnonParam1); } void QApplication_palette3(QPaletteH retval, const char* className) { *(QPalette *)retval = QApplication::palette(className); } void QApplication_setPalette(const QPaletteH AnonParam1, const char* className) { QApplication::setPalette(*(const QPalette*)AnonParam1, className); } void QApplication_font(QFontH retval) { *(QFont *)retval = QApplication::font(); } void QApplication_font2(QFontH retval, const QWidgetH AnonParam1) { *(QFont *)retval = QApplication::font((const QWidget*)AnonParam1); } void QApplication_font3(QFontH retval, const char* className) { *(QFont *)retval = QApplication::font(className); } void QApplication_setFont(const QFontH AnonParam1, const char* className) { QApplication::setFont(*(const QFont*)AnonParam1, className); } void QApplication_fontMetrics(QFontMetricsH retval) { *(QFontMetrics *)retval = QApplication::fontMetrics(); } void QApplication_setWindowIcon(const QIconH icon) { QApplication::setWindowIcon(*(const QIcon*)icon); } void QApplication_windowIcon(QIconH retval) { *(QIcon *)retval = QApplication::windowIcon(); } QDesktopWidgetH QApplication_desktop() { return (QDesktopWidgetH) QApplication::desktop(); } QWidgetH QApplication_activePopupWidget() { return (QWidgetH) QApplication::activePopupWidget(); } QWidgetH QApplication_activeModalWidget() { return (QWidgetH) QApplication::activeModalWidget(); } QClipboardH QApplication_clipboard() { return (QClipboardH) QApplication::clipboard(); } QWidgetH QApplication_focusWidget() { return (QWidgetH) QApplication::focusWidget(); } QWidgetH QApplication_activeWindow() { return (QWidgetH) QApplication::activeWindow(); } void QApplication_setActiveWindow(QWidgetH act) { QApplication::setActiveWindow((QWidget*)act); } QWidgetH QApplication_widgetAt(const QPointH p) { return (QWidgetH) QApplication::widgetAt(*(const QPoint*)p); } QWidgetH QApplication_widgetAt2(int x, int y) { return (QWidgetH) QApplication::widgetAt(x, y); } QWidgetH QApplication_topLevelAt(const QPointH p) { return (QWidgetH) QApplication::topLevelAt(*(const QPoint*)p); } QWidgetH QApplication_topLevelAt2(int x, int y) { return (QWidgetH) QApplication::topLevelAt(x, y); } void QApplication_syncX() { QApplication::syncX(); } void QApplication_beep() { QApplication::beep(); } void QApplication_alert(QWidgetH widget, int duration) { QApplication::alert((QWidget*)widget, duration); } unsigned int QApplication_keyboardModifiers() { return (unsigned int) QApplication::keyboardModifiers(); } unsigned int QApplication_mouseButtons() { return (unsigned int) QApplication::mouseButtons(); } void QApplication_setDesktopSettingsAware(bool AnonParam1) { QApplication::setDesktopSettingsAware(AnonParam1); } bool QApplication_desktopSettingsAware() { return (bool) QApplication::desktopSettingsAware(); } void QApplication_setCursorFlashTime(int AnonParam1) { QApplication::setCursorFlashTime(AnonParam1); } int QApplication_cursorFlashTime() { return (int) QApplication::cursorFlashTime(); } void QApplication_setDoubleClickInterval(int AnonParam1) { QApplication::setDoubleClickInterval(AnonParam1); } int QApplication_doubleClickInterval() { return (int) QApplication::doubleClickInterval(); } void QApplication_setKeyboardInputInterval(int AnonParam1) { QApplication::setKeyboardInputInterval(AnonParam1); } int QApplication_keyboardInputInterval() { return (int) QApplication::keyboardInputInterval(); } void QApplication_setWheelScrollLines(int AnonParam1) { QApplication::setWheelScrollLines(AnonParam1); } int QApplication_wheelScrollLines() { return (int) QApplication::wheelScrollLines(); } void QApplication_setGlobalStrut(const QSizeH AnonParam1) { QApplication::setGlobalStrut(*(const QSize*)AnonParam1); } void QApplication_globalStrut(PSize retval) { *(QSize *)retval = QApplication::globalStrut(); } void QApplication_setStartDragTime(int ms) { QApplication::setStartDragTime(ms); } int QApplication_startDragTime() { return (int) QApplication::startDragTime(); } void QApplication_setStartDragDistance(int l) { QApplication::setStartDragDistance(l); } int QApplication_startDragDistance() { return (int) QApplication::startDragDistance(); } void QApplication_setLayoutDirection(Qt::LayoutDirection direction) { QApplication::setLayoutDirection(direction); } Qt::LayoutDirection QApplication_layoutDirection() { return (Qt::LayoutDirection) QApplication::layoutDirection(); } bool QApplication_isRightToLeft() { return (bool) QApplication::isRightToLeft(); } bool QApplication_isLeftToRight() { return (bool) QApplication::isLeftToRight(); } bool QApplication_isEffectEnabled(Qt::UIEffect AnonParam1) { return (bool) QApplication::isEffectEnabled(AnonParam1); } void QApplication_setEffectEnabled(Qt::UIEffect AnonParam1, bool enable) { QApplication::setEffectEnabled(AnonParam1, enable); } #if defined BINUX bool QApplication_x11EventFilter(QApplicationH handle, XEvent* AnonParam1) { return (bool) ((QApplication *)handle)->x11EventFilter(AnonParam1); } int QApplication_x11ClientMessage(QApplicationH handle, QWidgetH AnonParam1, XEvent* AnonParam2, bool passive_only) { return (int) ((QApplication *)handle)->x11ClientMessage((QWidget*)AnonParam1, AnonParam2, passive_only); } int QApplication_x11ProcessEvent(QApplicationH handle, XEvent* AnonParam1) { return (int) ((QApplication *)handle)->x11ProcessEvent(AnonParam1); } #endif #if defined BINUX || MSWINDOWS || DARWIN bool QApplication_isSessionRestored(QApplicationH handle) { return (bool) ((QApplication *)handle)->isSessionRestored(); } void QApplication_sessionId(QApplicationH handle, PWideString retval) { QString t_retval; t_retval = ((QApplication *)handle)->sessionId(); copyQStringToPWideString(t_retval, retval); } void QApplication_sessionKey(QApplicationH handle, PWideString retval) { QString t_retval; t_retval = ((QApplication *)handle)->sessionKey(); copyQStringToPWideString(t_retval, retval); } void QApplication_commitData(QApplicationH handle, QSessionManagerH sm) { ((QApplication *)handle)->commitData(*(QSessionManager*)sm); } void QApplication_saveState(QApplicationH handle, QSessionManagerH sm) { ((QApplication *)handle)->saveState(*(QSessionManager*)sm); } #endif void QApplication_setInputContext(QApplicationH handle, QInputContextH AnonParam1) { ((QApplication *)handle)->setInputContext((QInputContext*)AnonParam1); } QInputContextH QApplication_inputContext(QApplicationH handle) { return (QInputContextH) ((QApplication *)handle)->inputContext(); } void QApplication_keyboardInputLocale(QLocaleH retval) { *(QLocale *)retval = QApplication::keyboardInputLocale(); } Qt::LayoutDirection QApplication_keyboardInputDirection() { return (Qt::LayoutDirection) QApplication::keyboardInputDirection(); } int QApplication_exec() { return (int) QApplication::exec(); } bool QApplication_notify(QApplicationH handle, QObjectH AnonParam1, QEventH AnonParam2) { return (bool) ((QApplication *)handle)->notify((QObject*)AnonParam1, (QEvent*)AnonParam2); } void QApplication_setQuitOnLastWindowClosed(bool quit) { QApplication::setQuitOnLastWindowClosed(quit); } bool QApplication_quitOnLastWindowClosed() { return (bool) QApplication::quitOnLastWindowClosed(); } void QApplication_styleSheet(QApplicationH handle, PWideString retval) { QString t_retval; t_retval = ((QApplication *)handle)->styleSheet(); copyQStringToPWideString(t_retval, retval); } void QApplication_setStyleSheet(QApplicationH handle, PWideString sheet) { QString t_sheet; copyPWideStringToQString(sheet, t_sheet); ((QApplication *)handle)->setStyleSheet(t_sheet); } void QApplication_closeAllWindows() { QApplication::closeAllWindows(); } void QApplication_aboutQt() { QApplication::aboutQt(); } #if defined MSWINDOWS void QApplication_winFocus(QApplicationH handle, QWidgetH AnonParam1, bool AnonParam2) { ((QApplication *)handle)->winFocus((QWidget*)AnonParam1, AnonParam2); } void QApplication_winMouseButtonUp() { QApplication::winMouseButtonUp(); } #endif #if defined DARWIN bool QApplication_macEventFilter(QApplicationH handle, EventHandlerCallRef AnonParam1, EventRef AnonParam2) { return (bool) ((QApplication *)handle)->macEventFilter(AnonParam1, AnonParam2); } #endif #if defined QTOPIA bool QApplication_qwsEventFilter(QApplicationH handle, QWSEventH AnonParam1) { return (bool) ((QApplication *)handle)->qwsEventFilter((QWSEvent*)AnonParam1); } int QApplication_qwsProcessEvent(QApplicationH handle, QWSEventH AnonParam1) { return (int) ((QApplication *)handle)->qwsProcessEvent((QWSEvent*)AnonParam1); } void QApplication_qwsSetCustomColors(QApplicationH handle, QRgb * colortable, int start, int numColors) { ((QApplication *)handle)->qwsSetCustomColors((QRgb*)colortable, start, numColors); } QDecorationH QApplication_qwsDecoration() { return (QDecorationH) &QApplication::qwsDecoration(); } void QApplication_qwsSetDecoration(QDecorationH AnonParam1) { QApplication::qwsSetDecoration((QDecoration*)AnonParam1); } QDecorationH QApplication_qwsSetDecoration2(PWideString decoration) { QString t_decoration; copyPWideStringToQString(decoration, t_decoration); return (QDecorationH) QApplication::qwsSetDecoration(t_decoration); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcombobox_hook.h0000664000212600021260000001377311677135472020230 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCOMBOBOX_HOOK_H #define QCOMBOBOX_HOOK_H #include #include "qwidget_hook.h" class QComboBox_hook : public QWidget_hook { Q_OBJECT public: QComboBox_hook(QObject *handle) : QWidget_hook(handle) { editTextChanged_event.func = NULL; activated_event.func = NULL; activated2_event.func = NULL; highlighted_event.func = NULL; highlighted2_event.func = NULL; currentIndexChanged_event.func = NULL; currentIndexChanged2_event.func = NULL; } void hook_editTextChanged(QHook &hook) { if ( !editTextChanged_event.func ) connect(handle, SIGNAL(editTextChanged(const QString&)), this, SLOT(editTextChanged_hook(const QString&))); editTextChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(editTextChanged(const QString&)), this, SLOT(editTextChanged_hook(const QString&))); } void hook_activated(QHook &hook) { if ( !activated_event.func ) connect(handle, SIGNAL(activated(int)), this, SLOT(activated_hook(int))); activated_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(activated(int)), this, SLOT(activated_hook(int))); } void hook_activated2(QHook &hook) { if ( !activated2_event.func ) connect(handle, SIGNAL(activated(const QString&)), this, SLOT(activated2_hook(const QString&))); activated2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(activated(const QString&)), this, SLOT(activated2_hook(const QString&))); } void hook_highlighted(QHook &hook) { if ( !highlighted_event.func ) connect(handle, SIGNAL(highlighted(int)), this, SLOT(highlighted_hook(int))); highlighted_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(highlighted(int)), this, SLOT(highlighted_hook(int))); } void hook_highlighted2(QHook &hook) { if ( !highlighted2_event.func ) connect(handle, SIGNAL(highlighted(const QString&)), this, SLOT(highlighted2_hook(const QString&))); highlighted2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(highlighted(const QString&)), this, SLOT(highlighted2_hook(const QString&))); } void hook_currentIndexChanged(QHook &hook) { if ( !currentIndexChanged_event.func ) connect(handle, SIGNAL(currentIndexChanged(int)), this, SLOT(currentIndexChanged_hook(int))); currentIndexChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentIndexChanged(int)), this, SLOT(currentIndexChanged_hook(int))); } void hook_currentIndexChanged2(QHook &hook) { if ( !currentIndexChanged2_event.func ) connect(handle, SIGNAL(currentIndexChanged(const QString&)), this, SLOT(currentIndexChanged2_hook(const QString&))); currentIndexChanged2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentIndexChanged(const QString&)), this, SLOT(currentIndexChanged2_hook(const QString&))); } private slots: void editTextChanged_hook(const QString& AnonParam1) { if ( editTextChanged_event.func ) { typedef void (*func_type)(void *data, PWideString AnonParam1); PWideString t_AnonParam1; initializePWideString(t_AnonParam1); copyQStringToPWideString(AnonParam1, t_AnonParam1); (*(func_type)editTextChanged_event.func)(editTextChanged_event.data, t_AnonParam1); finalizePWideString(t_AnonParam1); } } void activated_hook(int index) { if ( activated_event.func ) { typedef void (*func_type)(void *data, int index); (*(func_type)activated_event.func)(activated_event.data, index); } } void activated2_hook(const QString& AnonParam1) { if ( activated2_event.func ) { typedef void (*func_type)(void *data, PWideString AnonParam1); PWideString t_AnonParam1; initializePWideString(t_AnonParam1); copyQStringToPWideString(AnonParam1, t_AnonParam1); (*(func_type)activated2_event.func)(activated2_event.data, t_AnonParam1); finalizePWideString(t_AnonParam1); } } void highlighted_hook(int index) { if ( highlighted_event.func ) { typedef void (*func_type)(void *data, int index); (*(func_type)highlighted_event.func)(highlighted_event.data, index); } } void highlighted2_hook(const QString& AnonParam1) { if ( highlighted2_event.func ) { typedef void (*func_type)(void *data, PWideString AnonParam1); PWideString t_AnonParam1; initializePWideString(t_AnonParam1); copyQStringToPWideString(AnonParam1, t_AnonParam1); (*(func_type)highlighted2_event.func)(highlighted2_event.data, t_AnonParam1); finalizePWideString(t_AnonParam1); } } void currentIndexChanged_hook(int index) { if ( currentIndexChanged_event.func ) { typedef void (*func_type)(void *data, int index); (*(func_type)currentIndexChanged_event.func)(currentIndexChanged_event.data, index); } } void currentIndexChanged2_hook(const QString& AnonParam1) { if ( currentIndexChanged2_event.func ) { typedef void (*func_type)(void *data, PWideString AnonParam1); PWideString t_AnonParam1; initializePWideString(t_AnonParam1); copyQStringToPWideString(AnonParam1, t_AnonParam1); (*(func_type)currentIndexChanged2_event.func)(currentIndexChanged2_event.data, t_AnonParam1); finalizePWideString(t_AnonParam1); } } private: QHook editTextChanged_event; QHook activated_event; QHook activated2_event; QHook highlighted_event; QHook highlighted2_event; QHook currentIndexChanged_event; QHook currentIndexChanged2_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcoreapplication_c.cpp0000664000212600021260000001643411677135472021406 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qcoreapplication_c.h" QCoreApplicationH QCoreApplication_create(int* argc, char** argv) { return (QCoreApplicationH) new QCoreApplication(*(int*)argc, argv); } void QCoreApplication_destroy(QCoreApplicationH handle) { delete (QCoreApplication *)handle; } void QCoreApplication_arguments(QStringListH retval) { *(QStringList *)retval = QCoreApplication::arguments(); } void QCoreApplication_setAttribute(Qt::ApplicationAttribute attribute, bool on) { QCoreApplication::setAttribute(attribute, on); } bool QCoreApplication_testAttribute(Qt::ApplicationAttribute attribute) { return (bool) QCoreApplication::testAttribute(attribute); } void QCoreApplication_setOrganizationDomain(PWideString orgDomain) { QString t_orgDomain; copyPWideStringToQString(orgDomain, t_orgDomain); QCoreApplication::setOrganizationDomain(t_orgDomain); } void QCoreApplication_organizationDomain(PWideString retval) { QString t_retval; t_retval = QCoreApplication::organizationDomain(); copyQStringToPWideString(t_retval, retval); } void QCoreApplication_setOrganizationName(PWideString orgName) { QString t_orgName; copyPWideStringToQString(orgName, t_orgName); QCoreApplication::setOrganizationName(t_orgName); } void QCoreApplication_organizationName(PWideString retval) { QString t_retval; t_retval = QCoreApplication::organizationName(); copyQStringToPWideString(t_retval, retval); } void QCoreApplication_setApplicationName(PWideString application) { QString t_application; copyPWideStringToQString(application, t_application); QCoreApplication::setApplicationName(t_application); } void QCoreApplication_applicationName(PWideString retval) { QString t_retval; t_retval = QCoreApplication::applicationName(); copyQStringToPWideString(t_retval, retval); } void QCoreApplication_setApplicationVersion(PWideString version) { QString t_version; copyPWideStringToQString(version, t_version); QCoreApplication::setApplicationVersion(t_version); } void QCoreApplication_applicationVersion(PWideString retval) { QString t_retval; t_retval = QCoreApplication::applicationVersion(); copyQStringToPWideString(t_retval, retval); } QCoreApplicationH QCoreApplication_instance() { return (QCoreApplicationH) QCoreApplication::instance(); } int QCoreApplication_exec() { return (int) QCoreApplication::exec(); } void QCoreApplication_processEvents(unsigned int flags) { QCoreApplication::processEvents((QEventLoop::ProcessEventsFlags)flags); } void QCoreApplication_processEvents2(unsigned int flags, int maxtime) { QCoreApplication::processEvents((QEventLoop::ProcessEventsFlags)flags, maxtime); } void QCoreApplication_exit(int retcode) { QCoreApplication::exit(retcode); } bool QCoreApplication_sendEvent(QObjectH receiver, QEventH event) { return (bool) QCoreApplication::sendEvent((QObject*)receiver, (QEvent*)event); } void QCoreApplication_postEvent(QObjectH receiver, QEventH event) { QCoreApplication::postEvent((QObject*)receiver, (QEvent*)event); } void QCoreApplication_postEvent2(QObjectH receiver, QEventH event, int priority) { QCoreApplication::postEvent((QObject*)receiver, (QEvent*)event, priority); } void QCoreApplication_sendPostedEvents(QObjectH receiver, int event_type) { QCoreApplication::sendPostedEvents((QObject*)receiver, event_type); } void QCoreApplication_sendPostedEvents2() { QCoreApplication::sendPostedEvents(); } void QCoreApplication_removePostedEvents(QObjectH receiver) { QCoreApplication::removePostedEvents((QObject*)receiver); } void QCoreApplication_removePostedEvents2(QObjectH receiver, int eventType) { QCoreApplication::removePostedEvents((QObject*)receiver, eventType); } bool QCoreApplication_hasPendingEvents() { return (bool) QCoreApplication::hasPendingEvents(); } bool QCoreApplication_notify(QCoreApplicationH handle, QObjectH AnonParam1, QEventH AnonParam2) { return (bool) ((QCoreApplication *)handle)->notify((QObject*)AnonParam1, (QEvent*)AnonParam2); } bool QCoreApplication_startingUp() { return (bool) QCoreApplication::startingUp(); } bool QCoreApplication_closingDown() { return (bool) QCoreApplication::closingDown(); } void QCoreApplication_applicationDirPath(PWideString retval) { QString t_retval; t_retval = QCoreApplication::applicationDirPath(); copyQStringToPWideString(t_retval, retval); } void QCoreApplication_applicationFilePath(PWideString retval) { QString t_retval; t_retval = QCoreApplication::applicationFilePath(); copyQStringToPWideString(t_retval, retval); } qint64 QCoreApplication_applicationPid() { return (qint64) QCoreApplication::applicationPid(); } void QCoreApplication_setLibraryPaths(const QStringListH AnonParam1) { QCoreApplication::setLibraryPaths(*(const QStringList*)AnonParam1); } void QCoreApplication_libraryPaths(QStringListH retval) { *(QStringList *)retval = QCoreApplication::libraryPaths(); } void QCoreApplication_addLibraryPath(PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); QCoreApplication::addLibraryPath(t_AnonParam1); } void QCoreApplication_removeLibraryPath(PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); QCoreApplication::removeLibraryPath(t_AnonParam1); } void QCoreApplication_installTranslator(QTranslatorH messageFile) { QCoreApplication::installTranslator((QTranslator*)messageFile); } void QCoreApplication_removeTranslator(QTranslatorH messageFile) { QCoreApplication::removeTranslator((QTranslator*)messageFile); } void QCoreApplication_translate(PWideString retval, const char* context, const char* key, const char* disambiguation, QCoreApplication::Encoding encoding) { QString t_retval; t_retval = QCoreApplication::translate(context, key, disambiguation, encoding); copyQStringToPWideString(t_retval, retval); } void QCoreApplication_translate2(PWideString retval, const char* context, const char* key, const char* disambiguation, QCoreApplication::Encoding encoding, int n) { QString t_retval; t_retval = QCoreApplication::translate(context, key, disambiguation, encoding, n); copyQStringToPWideString(t_retval, retval); } void QCoreApplication_flush() { QCoreApplication::flush(); } #if defined BINUX || DARWIN || QTOPIA void QCoreApplication_watchUnixSignal(int signal, bool watch) { QCoreApplication::watchUnixSignal(signal, watch); } #endif EventFilter QCoreApplication_setEventFilter(QCoreApplicationH handle, EventFilter filter) { return (EventFilter) ((QCoreApplication *)handle)->setEventFilter(filter); } bool QCoreApplication_filterEvent(QCoreApplicationH handle, void* message, long* result) { return (bool) ((QCoreApplication *)handle)->filterEvent(message, result); } void QCoreApplication_quit() { QCoreApplication::quit(); } #if defined MSWINDOWS bool QCoreApplication_winEventFilter(QCoreApplicationH handle, MSG* message, long* result) { return (bool) ((QCoreApplication *)handle)->winEventFilter(message, result); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsslerror_c.cpp0000664000212600021260000000246111677135472020100 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsslerror_c.h" QSslErrorH QSslError_create(QSslError::SslError error, const QSslCertificateH certificate) { return (QSslErrorH) new QSslError(error, *(const QSslCertificate*)certificate); } void QSslError_destroy(QSslErrorH handle) { delete (QSslError *)handle; } QSslErrorH QSslError_create2(const QSslErrorH other) { return (QSslErrorH) new QSslError(*(const QSslError*)other); } QSslError::SslError QSslError_error(QSslErrorH handle) { return (QSslError::SslError) ((QSslError *)handle)->error(); } void QSslError_errorString(QSslErrorH handle, PWideString retval) { QString t_retval; t_retval = ((QSslError *)handle)->errorString(); copyQStringToPWideString(t_retval, retval); } void QSslError_certificate(QSslErrorH handle, QSslCertificateH retval) { *(QSslCertificate *)retval = ((QSslError *)handle)->certificate(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpen_c.h0000664000212600021260000000430311677135472016451 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPEN_C_H #define QPEN_C_H #include #include "pascalbind.h" C_EXPORT QPenH QPen_create(); C_EXPORT void QPen_destroy(QPenH handle); C_EXPORT QPenH QPen_create2(Qt::PenStyle AnonParam1); C_EXPORT QPenH QPen_create3(const QColorH color); C_EXPORT QPenH QPen_create4(const QBrushH brush, qreal width, Qt::PenStyle s, Qt::PenCapStyle c, Qt::PenJoinStyle j); C_EXPORT QPenH QPen_create5(const QPenH pen); C_EXPORT Qt::PenStyle QPen_style(QPenH handle); C_EXPORT void QPen_setStyle(QPenH handle, Qt::PenStyle AnonParam1); C_EXPORT void QPen_dashPattern(QPenH handle, PQRealArray retval); C_EXPORT void QPen_setDashPattern(QPenH handle, PQRealArray pattern); C_EXPORT qreal QPen_dashOffset(QPenH handle); C_EXPORT void QPen_setDashOffset(QPenH handle, qreal doffset); C_EXPORT qreal QPen_miterLimit(QPenH handle); C_EXPORT void QPen_setMiterLimit(QPenH handle, qreal limit); C_EXPORT qreal QPen_widthF(QPenH handle); C_EXPORT void QPen_setWidthF(QPenH handle, qreal width); C_EXPORT int QPen_width(QPenH handle); C_EXPORT void QPen_setWidth(QPenH handle, int width); C_EXPORT void QPen_color(QPenH handle, PQColor retval); C_EXPORT void QPen_setColor(QPenH handle, const QColorH color); C_EXPORT void QPen_brush(QPenH handle, QBrushH retval); C_EXPORT void QPen_setBrush(QPenH handle, const QBrushH brush); C_EXPORT bool QPen_isSolid(QPenH handle); C_EXPORT Qt::PenCapStyle QPen_capStyle(QPenH handle); C_EXPORT void QPen_setCapStyle(QPenH handle, Qt::PenCapStyle pcs); C_EXPORT Qt::PenJoinStyle QPen_joinStyle(QPenH handle); C_EXPORT void QPen_setJoinStyle(QPenH handle, Qt::PenJoinStyle pcs); C_EXPORT bool QPen_isCosmetic(QPenH handle); C_EXPORT void QPen_setCosmetic(QPenH handle, bool cosmetic); C_EXPORT bool QPen_isDetached(QPenH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qimageiohandler_c.cpp0000664000212600021260000000607511677135472021202 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qimageiohandler_c.h" void QImageIOHandler_setDevice(QImageIOHandlerH handle, QIODeviceH device) { ((QImageIOHandler *)handle)->setDevice((QIODevice*)device); } QIODeviceH QImageIOHandler_device(QImageIOHandlerH handle) { return (QIODeviceH) ((QImageIOHandler *)handle)->device(); } void QImageIOHandler_setFormat(QImageIOHandlerH handle, const QByteArrayH format) { ((QImageIOHandler *)handle)->setFormat(*(const QByteArray*)format); } void QImageIOHandler_format(QImageIOHandlerH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QImageIOHandler *)handle)->format(); } void QImageIOHandler_name(QImageIOHandlerH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QImageIOHandler *)handle)->name(); } bool QImageIOHandler_canRead(QImageIOHandlerH handle) { return (bool) ((QImageIOHandler *)handle)->canRead(); } bool QImageIOHandler_read(QImageIOHandlerH handle, QImageH image) { return (bool) ((QImageIOHandler *)handle)->read((QImage*)image); } bool QImageIOHandler_write(QImageIOHandlerH handle, const QImageH image) { return (bool) ((QImageIOHandler *)handle)->write(*(const QImage*)image); } void QImageIOHandler_option(QImageIOHandlerH handle, QVariantH retval, QImageIOHandler::ImageOption option) { *(QVariant *)retval = ((QImageIOHandler *)handle)->option(option); } void QImageIOHandler_setOption(QImageIOHandlerH handle, QImageIOHandler::ImageOption option, const QVariantH value) { ((QImageIOHandler *)handle)->setOption(option, *(const QVariant*)value); } bool QImageIOHandler_supportsOption(QImageIOHandlerH handle, QImageIOHandler::ImageOption option) { return (bool) ((QImageIOHandler *)handle)->supportsOption(option); } bool QImageIOHandler_jumpToNextImage(QImageIOHandlerH handle) { return (bool) ((QImageIOHandler *)handle)->jumpToNextImage(); } bool QImageIOHandler_jumpToImage(QImageIOHandlerH handle, int imageNumber) { return (bool) ((QImageIOHandler *)handle)->jumpToImage(imageNumber); } int QImageIOHandler_loopCount(QImageIOHandlerH handle) { return (int) ((QImageIOHandler *)handle)->loopCount(); } int QImageIOHandler_imageCount(QImageIOHandlerH handle) { return (int) ((QImageIOHandler *)handle)->imageCount(); } int QImageIOHandler_nextImageDelay(QImageIOHandlerH handle) { return (int) ((QImageIOHandler *)handle)->nextImageDelay(); } int QImageIOHandler_currentImageNumber(QImageIOHandlerH handle) { return (int) ((QImageIOHandler *)handle)->currentImageNumber(); } void QImageIOHandler_currentImageRect(QImageIOHandlerH handle, PRect retval) { QRect t_retval; t_retval = ((QImageIOHandler *)handle)->currentImageRect(); copyQRectToPRect(t_retval, retval); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtimer_hook_c.cpp0000664000212600021260000000146011677135472020363 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtimer_hook_c.h" QTimer_hookH QTimer_hook_create(QObjectH handle) { return (QTimer_hookH) new QTimer_hook((QObject*)handle); } void QTimer_hook_destroy(QTimer_hookH handle) { delete (QTimer_hook *)handle; } void QTimer_hook_hook_timeout(QTimer_hookH handle, QHookH hook) { ((QTimer_hook *)handle)->hook_timeout(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtcpserver_hook.h0000664000212600021260000000250411677135472020423 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTCPSERVER_HOOK_H #define QTCPSERVER_HOOK_H #include #include "qobject_hook.h" class QTcpServer_hook : public QObject_hook { Q_OBJECT public: QTcpServer_hook(QObject *handle) : QObject_hook(handle) { newConnection_event.func = NULL; } void hook_newConnection(QHook &hook) { if ( !newConnection_event.func ) connect(handle, SIGNAL(newConnection()), this, SLOT(newConnection_hook())); newConnection_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(newConnection()), this, SLOT(newConnection_hook())); } private slots: void newConnection_hook() { if ( newConnection_event.func ) { typedef void (*func_type)(void *data); (*(func_type)newConnection_event.func)(newConnection_event.data); } } private: QHook newConnection_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebsettings_hook_c.cpp0000664000212600021260000000135511677135472021604 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebsettings_hook_c.h" QWebSettings_hookH QWebSettings_hook_create(QObjectH handle) { return (QWebSettings_hookH) new QWebSettings_hook((QObject*)handle); } void QWebSettings_hook_destroy(QWebSettings_hookH handle) { delete (QWebSettings_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qimageiohandler_c.h0000664000212600021260000000405211677135472020640 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QIMAGEIOHANDLER_C_H #define QIMAGEIOHANDLER_C_H #include #include "pascalbind.h" C_EXPORT void QImageIOHandler_setDevice(QImageIOHandlerH handle, QIODeviceH device); C_EXPORT QIODeviceH QImageIOHandler_device(QImageIOHandlerH handle); C_EXPORT void QImageIOHandler_setFormat(QImageIOHandlerH handle, const QByteArrayH format); C_EXPORT void QImageIOHandler_format(QImageIOHandlerH handle, QByteArrayH retval); C_EXPORT void QImageIOHandler_name(QImageIOHandlerH handle, QByteArrayH retval); C_EXPORT bool QImageIOHandler_canRead(QImageIOHandlerH handle); C_EXPORT bool QImageIOHandler_read(QImageIOHandlerH handle, QImageH image); C_EXPORT bool QImageIOHandler_write(QImageIOHandlerH handle, const QImageH image); C_EXPORT void QImageIOHandler_option(QImageIOHandlerH handle, QVariantH retval, QImageIOHandler::ImageOption option); C_EXPORT void QImageIOHandler_setOption(QImageIOHandlerH handle, QImageIOHandler::ImageOption option, const QVariantH value); C_EXPORT bool QImageIOHandler_supportsOption(QImageIOHandlerH handle, QImageIOHandler::ImageOption option); C_EXPORT bool QImageIOHandler_jumpToNextImage(QImageIOHandlerH handle); C_EXPORT bool QImageIOHandler_jumpToImage(QImageIOHandlerH handle, int imageNumber); C_EXPORT int QImageIOHandler_loopCount(QImageIOHandlerH handle); C_EXPORT int QImageIOHandler_imageCount(QImageIOHandlerH handle); C_EXPORT int QImageIOHandler_nextImageDelay(QImageIOHandlerH handle); C_EXPORT int QImageIOHandler_currentImageNumber(QImageIOHandlerH handle); C_EXPORT void QImageIOHandler_currentImageRect(QImageIOHandlerH handle, PRect retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qgraphicsscene_c.h0000664000212600021260000001736411677135472020520 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QGRAPHICSSCENE_C_H #define QGRAPHICSSCENE_C_H #include #include "pascalbind.h" C_EXPORT QGraphicsSceneH QGraphicsScene_create(QObjectH parent); C_EXPORT void QGraphicsScene_destroy(QGraphicsSceneH handle); C_EXPORT QGraphicsSceneH QGraphicsScene_create2(const QRectFH sceneRect, QObjectH parent); C_EXPORT QGraphicsSceneH QGraphicsScene_create3(qreal x, qreal y, qreal width, qreal height, QObjectH parent); C_EXPORT void QGraphicsScene_sceneRect(QGraphicsSceneH handle, QRectFH retval); C_EXPORT qreal QGraphicsScene_width(QGraphicsSceneH handle); C_EXPORT qreal QGraphicsScene_height(QGraphicsSceneH handle); C_EXPORT void QGraphicsScene_setSceneRect(QGraphicsSceneH handle, const QRectFH rect); C_EXPORT void QGraphicsScene_setSceneRect2(QGraphicsSceneH handle, qreal x, qreal y, qreal w, qreal h); C_EXPORT void QGraphicsScene_render(QGraphicsSceneH handle, QPainterH painter, const QRectFH target, const QRectFH source, Qt::AspectRatioMode aspectRatioMode); C_EXPORT QGraphicsScene::ItemIndexMethod QGraphicsScene_itemIndexMethod(QGraphicsSceneH handle); C_EXPORT void QGraphicsScene_setItemIndexMethod(QGraphicsSceneH handle, QGraphicsScene::ItemIndexMethod method); C_EXPORT bool QGraphicsScene_isSortCacheEnabled(QGraphicsSceneH handle); C_EXPORT void QGraphicsScene_setSortCacheEnabled(QGraphicsSceneH handle, bool enabled); C_EXPORT int QGraphicsScene_bspTreeDepth(QGraphicsSceneH handle); C_EXPORT void QGraphicsScene_setBspTreeDepth(QGraphicsSceneH handle, int depth); C_EXPORT void QGraphicsScene_itemsBoundingRect(QGraphicsSceneH handle, QRectFH retval); C_EXPORT void QGraphicsScene_items(QGraphicsSceneH handle, PPtrIntArray retval); C_EXPORT void QGraphicsScene_items2(QGraphicsSceneH handle, PPtrIntArray retval, const QPointFH pos); C_EXPORT void QGraphicsScene_items3(QGraphicsSceneH handle, PPtrIntArray retval, const QRectFH rect, Qt::ItemSelectionMode mode); C_EXPORT void QGraphicsScene_items4(QGraphicsSceneH handle, PPtrIntArray retval, const QPolygonFH polygon, Qt::ItemSelectionMode mode); C_EXPORT void QGraphicsScene_items5(QGraphicsSceneH handle, PPtrIntArray retval, const QPainterPathH path, Qt::ItemSelectionMode mode); C_EXPORT void QGraphicsScene_collidingItems(QGraphicsSceneH handle, PPtrIntArray retval, const QGraphicsItemH item, Qt::ItemSelectionMode mode); C_EXPORT QGraphicsItemH QGraphicsScene_itemAt(QGraphicsSceneH handle, const QPointFH pos); C_EXPORT void QGraphicsScene_items6(QGraphicsSceneH handle, PPtrIntArray retval, qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode); C_EXPORT QGraphicsItemH QGraphicsScene_itemAt2(QGraphicsSceneH handle, qreal x, qreal y); C_EXPORT void QGraphicsScene_selectedItems(QGraphicsSceneH handle, PPtrIntArray retval); C_EXPORT void QGraphicsScene_selectionArea(QGraphicsSceneH handle, QPainterPathH retval); C_EXPORT void QGraphicsScene_setSelectionArea(QGraphicsSceneH handle, const QPainterPathH path); C_EXPORT void QGraphicsScene_setSelectionArea2(QGraphicsSceneH handle, const QPainterPathH path, Qt::ItemSelectionMode AnonParam2); C_EXPORT QGraphicsItemGroupH QGraphicsScene_createItemGroup(QGraphicsSceneH handle, PPtrIntArray items); C_EXPORT void QGraphicsScene_destroyItemGroup(QGraphicsSceneH handle, QGraphicsItemGroupH group); C_EXPORT void QGraphicsScene_addItem(QGraphicsSceneH handle, QGraphicsItemH item); C_EXPORT QGraphicsEllipseItemH QGraphicsScene_addEllipse(QGraphicsSceneH handle, const QRectFH rect, const QPenH pen, const QBrushH brush); C_EXPORT QGraphicsLineItemH QGraphicsScene_addLine(QGraphicsSceneH handle, const QLineFH line, const QPenH pen); C_EXPORT QGraphicsPathItemH QGraphicsScene_addPath(QGraphicsSceneH handle, const QPainterPathH path, const QPenH pen, const QBrushH brush); C_EXPORT QGraphicsPixmapItemH QGraphicsScene_addPixmap(QGraphicsSceneH handle, const QPixmapH pixmap); C_EXPORT QGraphicsPolygonItemH QGraphicsScene_addPolygon(QGraphicsSceneH handle, const QPolygonFH polygon, const QPenH pen, const QBrushH brush); C_EXPORT QGraphicsRectItemH QGraphicsScene_addRect(QGraphicsSceneH handle, const QRectFH rect, const QPenH pen, const QBrushH brush); C_EXPORT QGraphicsTextItemH QGraphicsScene_addText(QGraphicsSceneH handle, PWideString text, const QFontH font); C_EXPORT QGraphicsSimpleTextItemH QGraphicsScene_addSimpleText(QGraphicsSceneH handle, PWideString text, const QFontH font); C_EXPORT QGraphicsProxyWidgetH QGraphicsScene_addWidget(QGraphicsSceneH handle, QWidgetH widget, unsigned int wFlags); C_EXPORT QGraphicsEllipseItemH QGraphicsScene_addEllipse2(QGraphicsSceneH handle, qreal x, qreal y, qreal w, qreal h, const QPenH pen, const QBrushH brush); C_EXPORT QGraphicsLineItemH QGraphicsScene_addLine2(QGraphicsSceneH handle, qreal x1, qreal y1, qreal x2, qreal y2, const QPenH pen); C_EXPORT QGraphicsRectItemH QGraphicsScene_addRect2(QGraphicsSceneH handle, qreal x, qreal y, qreal w, qreal h, const QPenH pen, const QBrushH brush); C_EXPORT void QGraphicsScene_removeItem(QGraphicsSceneH handle, QGraphicsItemH item); C_EXPORT QGraphicsItemH QGraphicsScene_focusItem(QGraphicsSceneH handle); C_EXPORT void QGraphicsScene_setFocusItem(QGraphicsSceneH handle, QGraphicsItemH item, Qt::FocusReason focusReason); C_EXPORT bool QGraphicsScene_hasFocus(QGraphicsSceneH handle); C_EXPORT void QGraphicsScene_setFocus(QGraphicsSceneH handle, Qt::FocusReason focusReason); C_EXPORT void QGraphicsScene_clearFocus(QGraphicsSceneH handle); C_EXPORT void QGraphicsScene_setStickyFocus(QGraphicsSceneH handle, bool enabled); C_EXPORT bool QGraphicsScene_stickyFocus(QGraphicsSceneH handle); C_EXPORT QGraphicsItemH QGraphicsScene_mouseGrabberItem(QGraphicsSceneH handle); C_EXPORT void QGraphicsScene_backgroundBrush(QGraphicsSceneH handle, QBrushH retval); C_EXPORT void QGraphicsScene_setBackgroundBrush(QGraphicsSceneH handle, const QBrushH brush); C_EXPORT void QGraphicsScene_foregroundBrush(QGraphicsSceneH handle, QBrushH retval); C_EXPORT void QGraphicsScene_setForegroundBrush(QGraphicsSceneH handle, const QBrushH brush); C_EXPORT void QGraphicsScene_inputMethodQuery(QGraphicsSceneH handle, QVariantH retval, Qt::InputMethodQuery query); C_EXPORT void QGraphicsScene_views(QGraphicsSceneH handle, PPtrIntArray retval); C_EXPORT void QGraphicsScene_update(QGraphicsSceneH handle, qreal x, qreal y, qreal w, qreal h); C_EXPORT void QGraphicsScene_invalidate(QGraphicsSceneH handle, qreal x, qreal y, qreal w, qreal h, unsigned int layers); C_EXPORT QStyleH QGraphicsScene_style(QGraphicsSceneH handle); C_EXPORT void QGraphicsScene_setStyle(QGraphicsSceneH handle, QStyleH style); C_EXPORT void QGraphicsScene_font(QGraphicsSceneH handle, QFontH retval); C_EXPORT void QGraphicsScene_setFont(QGraphicsSceneH handle, const QFontH font); C_EXPORT void QGraphicsScene_palette(QGraphicsSceneH handle, QPaletteH retval); C_EXPORT void QGraphicsScene_setPalette(QGraphicsSceneH handle, const QPaletteH palette); C_EXPORT QGraphicsWidgetH QGraphicsScene_activeWindow(QGraphicsSceneH handle); C_EXPORT void QGraphicsScene_setActiveWindow(QGraphicsSceneH handle, QGraphicsWidgetH widget); C_EXPORT void QGraphicsScene_update2(QGraphicsSceneH handle, const QRectFH rect); C_EXPORT void QGraphicsScene_invalidate2(QGraphicsSceneH handle, const QRectFH rect, unsigned int layers); C_EXPORT void QGraphicsScene_advance(QGraphicsSceneH handle); C_EXPORT void QGraphicsScene_clearSelection(QGraphicsSceneH handle); C_EXPORT void QGraphicsScene_clear(QGraphicsSceneH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtreewidget_hook.h0000664000212600021260000002060611677135472020554 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTREEWIDGET_HOOK_H #define QTREEWIDGET_HOOK_H #include #include "qobject_hook.h" class QTreeWidgetItem_hook : public QObject_hook { Q_OBJECT public: QTreeWidgetItem_hook(QObject *handle) : QObject_hook(handle) { } }; #include "qtreeview_hook.h" class QTreeWidget_hook : public QTreeView_hook { Q_OBJECT public: QTreeWidget_hook(QObject *handle) : QTreeView_hook(handle) { itemPressed_event.func = NULL; itemClicked_event.func = NULL; itemDoubleClicked_event.func = NULL; itemActivated_event.func = NULL; itemEntered_event.func = NULL; itemChanged_event.func = NULL; itemExpanded_event.func = NULL; itemCollapsed_event.func = NULL; currentItemChanged_event.func = NULL; itemSelectionChanged_event.func = NULL; } void hook_itemPressed(QHook &hook) { if ( !itemPressed_event.func ) connect(handle, SIGNAL(itemPressed(QTreeWidgetItem*, int)), this, SLOT(itemPressed_hook(QTreeWidgetItem*, int))); itemPressed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemPressed(QTreeWidgetItem*, int)), this, SLOT(itemPressed_hook(QTreeWidgetItem*, int))); } void hook_itemClicked(QHook &hook) { if ( !itemClicked_event.func ) connect(handle, SIGNAL(itemClicked(QTreeWidgetItem*, int)), this, SLOT(itemClicked_hook(QTreeWidgetItem*, int))); itemClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemClicked(QTreeWidgetItem*, int)), this, SLOT(itemClicked_hook(QTreeWidgetItem*, int))); } void hook_itemDoubleClicked(QHook &hook) { if ( !itemDoubleClicked_event.func ) connect(handle, SIGNAL(itemDoubleClicked(QTreeWidgetItem*, int)), this, SLOT(itemDoubleClicked_hook(QTreeWidgetItem*, int))); itemDoubleClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemDoubleClicked(QTreeWidgetItem*, int)), this, SLOT(itemDoubleClicked_hook(QTreeWidgetItem*, int))); } void hook_itemActivated(QHook &hook) { if ( !itemActivated_event.func ) connect(handle, SIGNAL(itemActivated(QTreeWidgetItem*, int)), this, SLOT(itemActivated_hook(QTreeWidgetItem*, int))); itemActivated_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemActivated(QTreeWidgetItem*, int)), this, SLOT(itemActivated_hook(QTreeWidgetItem*, int))); } void hook_itemEntered(QHook &hook) { if ( !itemEntered_event.func ) connect(handle, SIGNAL(itemEntered(QTreeWidgetItem*, int)), this, SLOT(itemEntered_hook(QTreeWidgetItem*, int))); itemEntered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemEntered(QTreeWidgetItem*, int)), this, SLOT(itemEntered_hook(QTreeWidgetItem*, int))); } void hook_itemChanged(QHook &hook) { if ( !itemChanged_event.func ) connect(handle, SIGNAL(itemChanged(QTreeWidgetItem*, int)), this, SLOT(itemChanged_hook(QTreeWidgetItem*, int))); itemChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemChanged(QTreeWidgetItem*, int)), this, SLOT(itemChanged_hook(QTreeWidgetItem*, int))); } void hook_itemExpanded(QHook &hook) { if ( !itemExpanded_event.func ) connect(handle, SIGNAL(itemExpanded(QTreeWidgetItem*)), this, SLOT(itemExpanded_hook(QTreeWidgetItem*))); itemExpanded_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemExpanded(QTreeWidgetItem*)), this, SLOT(itemExpanded_hook(QTreeWidgetItem*))); } void hook_itemCollapsed(QHook &hook) { if ( !itemCollapsed_event.func ) connect(handle, SIGNAL(itemCollapsed(QTreeWidgetItem*)), this, SLOT(itemCollapsed_hook(QTreeWidgetItem*))); itemCollapsed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemCollapsed(QTreeWidgetItem*)), this, SLOT(itemCollapsed_hook(QTreeWidgetItem*))); } void hook_currentItemChanged(QHook &hook) { if ( !currentItemChanged_event.func ) connect(handle, SIGNAL(currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*)), this, SLOT(currentItemChanged_hook(QTreeWidgetItem*, QTreeWidgetItem*))); currentItemChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*)), this, SLOT(currentItemChanged_hook(QTreeWidgetItem*, QTreeWidgetItem*))); } void hook_itemSelectionChanged(QHook &hook) { if ( !itemSelectionChanged_event.func ) connect(handle, SIGNAL(itemSelectionChanged()), this, SLOT(itemSelectionChanged_hook())); itemSelectionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemSelectionChanged()), this, SLOT(itemSelectionChanged_hook())); } private slots: void itemPressed_hook(QTreeWidgetItem* item, int column) { if ( itemPressed_event.func ) { typedef void (*func_type)(void *data, QTreeWidgetItemH item, int column); (*(func_type)itemPressed_event.func)(itemPressed_event.data, (QTreeWidgetItemH)item, column); } } void itemClicked_hook(QTreeWidgetItem* item, int column) { if ( itemClicked_event.func ) { typedef void (*func_type)(void *data, QTreeWidgetItemH item, int column); (*(func_type)itemClicked_event.func)(itemClicked_event.data, (QTreeWidgetItemH)item, column); } } void itemDoubleClicked_hook(QTreeWidgetItem* item, int column) { if ( itemDoubleClicked_event.func ) { typedef void (*func_type)(void *data, QTreeWidgetItemH item, int column); (*(func_type)itemDoubleClicked_event.func)(itemDoubleClicked_event.data, (QTreeWidgetItemH)item, column); } } void itemActivated_hook(QTreeWidgetItem* item, int column) { if ( itemActivated_event.func ) { typedef void (*func_type)(void *data, QTreeWidgetItemH item, int column); (*(func_type)itemActivated_event.func)(itemActivated_event.data, (QTreeWidgetItemH)item, column); } } void itemEntered_hook(QTreeWidgetItem* item, int column) { if ( itemEntered_event.func ) { typedef void (*func_type)(void *data, QTreeWidgetItemH item, int column); (*(func_type)itemEntered_event.func)(itemEntered_event.data, (QTreeWidgetItemH)item, column); } } void itemChanged_hook(QTreeWidgetItem* item, int column) { if ( itemChanged_event.func ) { typedef void (*func_type)(void *data, QTreeWidgetItemH item, int column); (*(func_type)itemChanged_event.func)(itemChanged_event.data, (QTreeWidgetItemH)item, column); } } void itemExpanded_hook(QTreeWidgetItem* item) { if ( itemExpanded_event.func ) { typedef void (*func_type)(void *data, QTreeWidgetItemH item); (*(func_type)itemExpanded_event.func)(itemExpanded_event.data, (QTreeWidgetItemH)item); } } void itemCollapsed_hook(QTreeWidgetItem* item) { if ( itemCollapsed_event.func ) { typedef void (*func_type)(void *data, QTreeWidgetItemH item); (*(func_type)itemCollapsed_event.func)(itemCollapsed_event.data, (QTreeWidgetItemH)item); } } void currentItemChanged_hook(QTreeWidgetItem* current, QTreeWidgetItem* previous) { if ( currentItemChanged_event.func ) { typedef void (*func_type)(void *data, QTreeWidgetItemH current, QTreeWidgetItemH previous); (*(func_type)currentItemChanged_event.func)(currentItemChanged_event.data, (QTreeWidgetItemH)current, (QTreeWidgetItemH)previous); } } void itemSelectionChanged_hook() { if ( itemSelectionChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)itemSelectionChanged_event.func)(itemSelectionChanged_event.data); } } private: QHook itemPressed_event; QHook itemClicked_event; QHook itemDoubleClicked_event; QHook itemActivated_event; QHook itemEntered_event; QHook itemChanged_event; QHook itemExpanded_event; QHook itemCollapsed_event; QHook currentItemChanged_event; QHook itemSelectionChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qthread_hook.h0000664000212600021260000000442711677135472017663 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTHREAD_HOOK_H #define QTHREAD_HOOK_H #include #include "qobject_hook.h" class QThread_hook : public QObject_hook { Q_OBJECT public: QThread_hook(QObject *handle) : QObject_hook(handle) { started_event.func = NULL; finished_event.func = NULL; terminated_event.func = NULL; } void hook_started(QHook &hook) { if ( !started_event.func ) connect(handle, SIGNAL(started()), this, SLOT(started_hook())); started_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(started()), this, SLOT(started_hook())); } void hook_finished(QHook &hook) { if ( !finished_event.func ) connect(handle, SIGNAL(finished()), this, SLOT(finished_hook())); finished_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(finished()), this, SLOT(finished_hook())); } void hook_terminated(QHook &hook) { if ( !terminated_event.func ) connect(handle, SIGNAL(terminated()), this, SLOT(terminated_hook())); terminated_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(terminated()), this, SLOT(terminated_hook())); } private slots: void started_hook() { if ( started_event.func ) { typedef void (*func_type)(void *data); (*(func_type)started_event.func)(started_event.data); } } void finished_hook() { if ( finished_event.func ) { typedef void (*func_type)(void *data); (*(func_type)finished_event.func)(finished_event.data); } } void terminated_hook() { if ( terminated_event.func ) { typedef void (*func_type)(void *data); (*(func_type)terminated_event.func)(terminated_event.data); } } private: QHook started_event; QHook finished_event; QHook terminated_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebframe_hook_c.h0000664000212600021260000000256211677135472020504 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBFRAME_HOOK_C_H #define QWEBFRAME_HOOK_C_H #include "qwebframe_hook.h" C_EXPORT QWebHitTestResult_hookH QWebHitTestResult_hook_create(QObjectH handle); C_EXPORT void QWebHitTestResult_hook_destroy(QWebHitTestResult_hookH handle); C_EXPORT QWebFrame_hookH QWebFrame_hook_create(QObjectH handle); C_EXPORT void QWebFrame_hook_destroy(QWebFrame_hookH handle); C_EXPORT void QWebFrame_hook_hook_javaScriptWindowObjectCleared(QWebFrame_hookH handle, QHookH hook); C_EXPORT void QWebFrame_hook_hook_provisionalLoad(QWebFrame_hookH handle, QHookH hook); C_EXPORT void QWebFrame_hook_hook_titleChanged(QWebFrame_hookH handle, QHookH hook); C_EXPORT void QWebFrame_hook_hook_urlChanged(QWebFrame_hookH handle, QHookH hook); C_EXPORT void QWebFrame_hook_hook_initialLayoutCompleted(QWebFrame_hookH handle, QHookH hook); C_EXPORT void QWebFrame_hook_hook_iconChanged(QWebFrame_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qscrollarea_c.h0000664000212600021260000000302411677135472020015 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSCROLLAREA_C_H #define QSCROLLAREA_C_H #include #include "pascalbind.h" C_EXPORT QScrollAreaH QScrollArea_create(QWidgetH parent); C_EXPORT void QScrollArea_destroy(QScrollAreaH handle); C_EXPORT QWidgetH QScrollArea_widget(QScrollAreaH handle); C_EXPORT void QScrollArea_setWidget(QScrollAreaH handle, QWidgetH widget); C_EXPORT QWidgetH QScrollArea_takeWidget(QScrollAreaH handle); C_EXPORT bool QScrollArea_widgetResizable(QScrollAreaH handle); C_EXPORT void QScrollArea_setWidgetResizable(QScrollAreaH handle, bool resizable); C_EXPORT void QScrollArea_sizeHint(QScrollAreaH handle, PSize retval); C_EXPORT bool QScrollArea_focusNextPrevChild(QScrollAreaH handle, bool next); C_EXPORT unsigned int QScrollArea_alignment(QScrollAreaH handle); C_EXPORT void QScrollArea_setAlignment(QScrollAreaH handle, unsigned int AnonParam1); C_EXPORT void QScrollArea_ensureVisible(QScrollAreaH handle, int x, int y, int xmargin, int ymargin); C_EXPORT void QScrollArea_ensureWidgetVisible(QScrollAreaH handle, QWidgetH childWidget, int xmargin, int ymargin); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcoreapplication_hook.h0000664000212600021260000000364311677135472021567 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCOREAPPLICATION_HOOK_H #define QCOREAPPLICATION_HOOK_H #include #include "qobject_hook.h" class QCoreApplication_hook : public QObject_hook { Q_OBJECT public: QCoreApplication_hook(QObject *handle) : QObject_hook(handle) { aboutToQuit_event.func = NULL; unixSignal_event.func = NULL; } void hook_aboutToQuit(QHook &hook) { if ( !aboutToQuit_event.func ) connect(handle, SIGNAL(aboutToQuit()), this, SLOT(aboutToQuit_hook())); aboutToQuit_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(aboutToQuit()), this, SLOT(aboutToQuit_hook())); } void hook_unixSignal(QHook &hook) { if ( !unixSignal_event.func ) connect(handle, SIGNAL(unixSignal(int)), this, SLOT(unixSignal_hook(int))); unixSignal_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(unixSignal(int)), this, SLOT(unixSignal_hook(int))); } private slots: void aboutToQuit_hook() { if ( aboutToQuit_event.func ) { typedef void (*func_type)(void *data); (*(func_type)aboutToQuit_event.func)(aboutToQuit_event.data); } } void unixSignal_hook(int AnonParam1) { if ( unixSignal_event.func ) { typedef void (*func_type)(void *data, int AnonParam1); (*(func_type)unixSignal_event.func)(unixSignal_event.data, AnonParam1); } } private: QHook aboutToQuit_event; QHook unixSignal_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpushbutton_hook.h0000664000212600021260000000137011677135472020621 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPUSHBUTTON_HOOK_H #define QPUSHBUTTON_HOOK_H #include #include "qabstractbutton_hook.h" class QPushButton_hook : public QAbstractButton_hook { Q_OBJECT public: QPushButton_hook(QObject *handle) : QAbstractButton_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtcpsocket_c.cpp0000664000212600021260000000126511677135472020225 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtcpsocket_c.h" QTcpSocketH QTcpSocket_create(QObjectH parent) { return (QTcpSocketH) new QTcpSocket((QObject*)parent); } void QTcpSocket_destroy(QTcpSocketH handle) { delete (QTcpSocket *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qvalidator_c.cpp0000664000212600021260000001325611677135472020216 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qvalidator_c.h" void QValidator_setLocale(QValidatorH handle, const QLocaleH locale) { ((QValidator *)handle)->setLocale(*(const QLocale*)locale); } void QValidator_locale(QValidatorH handle, QLocaleH retval) { *(QLocale *)retval = ((QValidator *)handle)->locale(); } QValidator::State QValidator_validate(QValidatorH handle, PWideString AnonParam1, int* AnonParam2) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); QValidator::State t_retval; t_retval = (QValidator::State) ((QValidator *)handle)->validate(t_AnonParam1, *(int*)AnonParam2); copyQStringToPWideString(t_AnonParam1, AnonParam1); return t_retval; } void QValidator_fixup(QValidatorH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QValidator *)handle)->fixup(t_AnonParam1); copyQStringToPWideString(t_AnonParam1, AnonParam1); } QIntValidatorH QIntValidator_create(QObjectH parent) { return (QIntValidatorH) new QIntValidator((QObject*)parent); } void QIntValidator_destroy(QIntValidatorH handle) { delete (QIntValidator *)handle; } QIntValidatorH QIntValidator_create2(int bottom, int top, QObjectH parent) { return (QIntValidatorH) new QIntValidator(bottom, top, (QObject*)parent); } QValidator::State QIntValidator_validate(QIntValidatorH handle, PWideString AnonParam1, int* AnonParam2) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); QValidator::State t_retval; t_retval = (QValidator::State) ((QIntValidator *)handle)->validate(t_AnonParam1, *(int*)AnonParam2); copyQStringToPWideString(t_AnonParam1, AnonParam1); return t_retval; } void QIntValidator_setBottom(QIntValidatorH handle, int AnonParam1) { ((QIntValidator *)handle)->setBottom(AnonParam1); } void QIntValidator_setTop(QIntValidatorH handle, int AnonParam1) { ((QIntValidator *)handle)->setTop(AnonParam1); } void QIntValidator_setRange(QIntValidatorH handle, int bottom, int top) { ((QIntValidator *)handle)->setRange(bottom, top); } int QIntValidator_bottom(QIntValidatorH handle) { return (int) ((QIntValidator *)handle)->bottom(); } int QIntValidator_top(QIntValidatorH handle) { return (int) ((QIntValidator *)handle)->top(); } QDoubleValidatorH QDoubleValidator_create(QObjectH parent) { return (QDoubleValidatorH) new QDoubleValidator((QObject*)parent); } void QDoubleValidator_destroy(QDoubleValidatorH handle) { delete (QDoubleValidator *)handle; } QDoubleValidatorH QDoubleValidator_create2(double bottom, double top, int decimals, QObjectH parent) { return (QDoubleValidatorH) new QDoubleValidator(bottom, top, decimals, (QObject*)parent); } QValidator::State QDoubleValidator_validate(QDoubleValidatorH handle, PWideString AnonParam1, int* AnonParam2) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); QValidator::State t_retval; t_retval = (QValidator::State) ((QDoubleValidator *)handle)->validate(t_AnonParam1, *(int*)AnonParam2); copyQStringToPWideString(t_AnonParam1, AnonParam1); return t_retval; } void QDoubleValidator_setRange(QDoubleValidatorH handle, double bottom, double top, int decimals) { ((QDoubleValidator *)handle)->setRange(bottom, top, decimals); } void QDoubleValidator_setBottom(QDoubleValidatorH handle, double AnonParam1) { ((QDoubleValidator *)handle)->setBottom(AnonParam1); } void QDoubleValidator_setTop(QDoubleValidatorH handle, double AnonParam1) { ((QDoubleValidator *)handle)->setTop(AnonParam1); } void QDoubleValidator_setDecimals(QDoubleValidatorH handle, int AnonParam1) { ((QDoubleValidator *)handle)->setDecimals(AnonParam1); } void QDoubleValidator_setNotation(QDoubleValidatorH handle, QDoubleValidator::Notation AnonParam1) { ((QDoubleValidator *)handle)->setNotation(AnonParam1); } double QDoubleValidator_bottom(QDoubleValidatorH handle) { return (double) ((QDoubleValidator *)handle)->bottom(); } double QDoubleValidator_top(QDoubleValidatorH handle) { return (double) ((QDoubleValidator *)handle)->top(); } int QDoubleValidator_decimals(QDoubleValidatorH handle) { return (int) ((QDoubleValidator *)handle)->decimals(); } QDoubleValidator::Notation QDoubleValidator_notation(QDoubleValidatorH handle) { return (QDoubleValidator::Notation) ((QDoubleValidator *)handle)->notation(); } QRegExpValidatorH QRegExpValidator_create(QObjectH parent) { return (QRegExpValidatorH) new QRegExpValidator((QObject*)parent); } void QRegExpValidator_destroy(QRegExpValidatorH handle) { delete (QRegExpValidator *)handle; } QRegExpValidatorH QRegExpValidator_create2(const QRegExpH rx, QObjectH parent) { return (QRegExpValidatorH) new QRegExpValidator(*(const QRegExp*)rx, (QObject*)parent); } QValidator::State QRegExpValidator_validate(QRegExpValidatorH handle, PWideString input, int* pos) { QString t_input; copyPWideStringToQString(input, t_input); QValidator::State t_retval; t_retval = (QValidator::State) ((QRegExpValidator *)handle)->validate(t_input, *(int*)pos); copyQStringToPWideString(t_input, input); return t_retval; } void QRegExpValidator_setRegExp(QRegExpValidatorH handle, const QRegExpH rx) { ((QRegExpValidator *)handle)->setRegExp(*(const QRegExp*)rx); } const QRegExpH QRegExpValidator_regExp(QRegExpValidatorH handle) { return (const QRegExpH) &((QRegExpValidator *)handle)->regExp(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdrag_hook.h0000664000212600021260000000407611677135472017331 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDRAG_HOOK_H #define QDRAG_HOOK_H #include #include "qobject_hook.h" class QDrag_hook : public QObject_hook { Q_OBJECT public: QDrag_hook(QObject *handle) : QObject_hook(handle) { actionChanged_event.func = NULL; targetChanged_event.func = NULL; } void hook_actionChanged(QHook &hook) { if ( !actionChanged_event.func ) connect(handle, SIGNAL(actionChanged(Qt::DropAction)), this, SLOT(actionChanged_hook(Qt::DropAction))); actionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(actionChanged(Qt::DropAction)), this, SLOT(actionChanged_hook(Qt::DropAction))); } void hook_targetChanged(QHook &hook) { if ( !targetChanged_event.func ) connect(handle, SIGNAL(targetChanged(QWidget*)), this, SLOT(targetChanged_hook(QWidget*))); targetChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(targetChanged(QWidget*)), this, SLOT(targetChanged_hook(QWidget*))); } private slots: void actionChanged_hook(Qt::DropAction action) { if ( actionChanged_event.func ) { typedef void (*func_type)(void *data, Qt::DropAction action); (*(func_type)actionChanged_event.func)(actionChanged_event.data, action); } } void targetChanged_hook(QWidget* newTarget) { if ( targetChanged_event.func ) { typedef void (*func_type)(void *data, QWidgetH newTarget); (*(func_type)targetChanged_event.func)(targetChanged_event.data, (QWidgetH)newTarget); } } private: QHook actionChanged_event; QHook targetChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsslcipher_c.h0000664000212600021260000000267511677135472017675 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSSLCIPHER_C_H #define QSSLCIPHER_C_H #include #include "pascalbind.h" C_EXPORT QSslCipherH QSslCipher_create(); C_EXPORT void QSslCipher_destroy(QSslCipherH handle); C_EXPORT QSslCipherH QSslCipher_create2(PWideString name, QSsl::SslProtocol protocol); C_EXPORT QSslCipherH QSslCipher_create3(const QSslCipherH other); C_EXPORT bool QSslCipher_isNull(QSslCipherH handle); C_EXPORT void QSslCipher_name(QSslCipherH handle, PWideString retval); C_EXPORT int QSslCipher_supportedBits(QSslCipherH handle); C_EXPORT int QSslCipher_usedBits(QSslCipherH handle); C_EXPORT void QSslCipher_keyExchangeMethod(QSslCipherH handle, PWideString retval); C_EXPORT void QSslCipher_authenticationMethod(QSslCipherH handle, PWideString retval); C_EXPORT void QSslCipher_encryptionMethod(QSslCipherH handle, PWideString retval); C_EXPORT void QSslCipher_protocolString(QSslCipherH handle, PWideString retval); C_EXPORT QSsl::SslProtocol QSslCipher_protocol(QSslCipherH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdialog_hook_c.cpp0000664000212600021260000000205511677135472020503 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qdialog_hook_c.h" QDialog_hookH QDialog_hook_create(QObjectH handle) { return (QDialog_hookH) new QDialog_hook((QObject*)handle); } void QDialog_hook_destroy(QDialog_hookH handle) { delete (QDialog_hook *)handle; } void QDialog_hook_hook_finished(QDialog_hookH handle, QHookH hook) { ((QDialog_hook *)handle)->hook_finished(hook); } void QDialog_hook_hook_accepted(QDialog_hookH handle, QHookH hook) { ((QDialog_hook *)handle)->hook_accepted(hook); } void QDialog_hook_hook_rejected(QDialog_hookH handle, QHookH hook) { ((QDialog_hook *)handle)->hook_rejected(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qicon_c.cpp0000664000212600021260000000633611677135472017162 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qicon_c.h" QIconH QIcon_create() { return (QIconH) new QIcon(); } void QIcon_destroy(QIconH handle) { delete (QIcon *)handle; } QIconH QIcon_create2(const QPixmapH pixmap) { return (QIconH) new QIcon(*(const QPixmap*)pixmap); } QIconH QIcon_create3(const QIconH other) { return (QIconH) new QIcon(*(const QIcon*)other); } QIconH QIcon_create4(PWideString fileName) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (QIconH) new QIcon(t_fileName); } QIconH QIcon_create5(QIconEngineH engine) { return (QIconH) new QIcon((QIconEngine*)engine); } QIconH QIcon_create6(QIconEngineV2H engine) { return (QIconH) new QIcon((QIconEngineV2*)engine); } void QIcon_pixmap(QIconH handle, QPixmapH retval, const QSizeH size, QIcon::Mode mode, QIcon::State state) { *(QPixmap *)retval = ((QIcon *)handle)->pixmap(*(const QSize*)size, mode, state); } void QIcon_pixmap2(QIconH handle, QPixmapH retval, int w, int h, QIcon::Mode mode, QIcon::State state) { *(QPixmap *)retval = ((QIcon *)handle)->pixmap(w, h, mode, state); } void QIcon_pixmap3(QIconH handle, QPixmapH retval, int extent, QIcon::Mode mode, QIcon::State state) { *(QPixmap *)retval = ((QIcon *)handle)->pixmap(extent, mode, state); } void QIcon_actualSize(QIconH handle, PSize retval, const QSizeH size, QIcon::Mode mode, QIcon::State state) { *(QSize *)retval = ((QIcon *)handle)->actualSize(*(const QSize*)size, mode, state); } void QIcon_paint(QIconH handle, QPainterH painter, PRect rect, unsigned int alignment, QIcon::Mode mode, QIcon::State state) { QRect t_rect; copyPRectToQRect(rect, t_rect); ((QIcon *)handle)->paint((QPainter*)painter, t_rect, (Qt::Alignment)alignment, mode, state); } void QIcon_paint2(QIconH handle, QPainterH painter, int x, int y, int w, int h, unsigned int alignment, QIcon::Mode mode, QIcon::State state) { ((QIcon *)handle)->paint((QPainter*)painter, x, y, w, h, (Qt::Alignment)alignment, mode, state); } bool QIcon_isNull(QIconH handle) { return (bool) ((QIcon *)handle)->isNull(); } bool QIcon_isDetached(QIconH handle) { return (bool) ((QIcon *)handle)->isDetached(); } void QIcon_detach(QIconH handle) { ((QIcon *)handle)->detach(); } int QIcon_serialNumber(QIconH handle) { return (int) ((QIcon *)handle)->serialNumber(); } qint64 QIcon_cacheKey(QIconH handle) { return (qint64) ((QIcon *)handle)->cacheKey(); } void QIcon_addPixmap(QIconH handle, const QPixmapH pixmap, QIcon::Mode mode, QIcon::State state) { ((QIcon *)handle)->addPixmap(*(const QPixmap*)pixmap, mode, state); } void QIcon_addFile(QIconH handle, PWideString fileName, const QSizeH size, QIcon::Mode mode, QIcon::State state) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); ((QIcon *)handle)->addFile(t_fileName, *(const QSize*)size, mode, state); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qspinbox_c.cpp0000664000212600021260000001335111677135472017707 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qspinbox_c.h" QSpinBoxH QSpinBox_create(QWidgetH parent) { return (QSpinBoxH) new QSpinBox((QWidget*)parent); } void QSpinBox_destroy(QSpinBoxH handle) { delete (QSpinBox *)handle; } int QSpinBox_value(QSpinBoxH handle) { return (int) ((QSpinBox *)handle)->value(); } void QSpinBox_prefix(QSpinBoxH handle, PWideString retval) { QString t_retval; t_retval = ((QSpinBox *)handle)->prefix(); copyQStringToPWideString(t_retval, retval); } void QSpinBox_setPrefix(QSpinBoxH handle, PWideString prefix) { QString t_prefix; copyPWideStringToQString(prefix, t_prefix); ((QSpinBox *)handle)->setPrefix(t_prefix); } void QSpinBox_suffix(QSpinBoxH handle, PWideString retval) { QString t_retval; t_retval = ((QSpinBox *)handle)->suffix(); copyQStringToPWideString(t_retval, retval); } void QSpinBox_setSuffix(QSpinBoxH handle, PWideString suffix) { QString t_suffix; copyPWideStringToQString(suffix, t_suffix); ((QSpinBox *)handle)->setSuffix(t_suffix); } void QSpinBox_cleanText(QSpinBoxH handle, PWideString retval) { QString t_retval; t_retval = ((QSpinBox *)handle)->cleanText(); copyQStringToPWideString(t_retval, retval); } int QSpinBox_singleStep(QSpinBoxH handle) { return (int) ((QSpinBox *)handle)->singleStep(); } void QSpinBox_setSingleStep(QSpinBoxH handle, int val) { ((QSpinBox *)handle)->setSingleStep(val); } int QSpinBox_minimum(QSpinBoxH handle) { return (int) ((QSpinBox *)handle)->minimum(); } void QSpinBox_setMinimum(QSpinBoxH handle, int min) { ((QSpinBox *)handle)->setMinimum(min); } int QSpinBox_maximum(QSpinBoxH handle) { return (int) ((QSpinBox *)handle)->maximum(); } void QSpinBox_setMaximum(QSpinBoxH handle, int max) { ((QSpinBox *)handle)->setMaximum(max); } void QSpinBox_setRange(QSpinBoxH handle, int min, int max) { ((QSpinBox *)handle)->setRange(min, max); } void QSpinBox_setValue(QSpinBoxH handle, int val) { ((QSpinBox *)handle)->setValue(val); } QDoubleSpinBoxH QDoubleSpinBox_create(QWidgetH parent) { return (QDoubleSpinBoxH) new QDoubleSpinBox((QWidget*)parent); } void QDoubleSpinBox_destroy(QDoubleSpinBoxH handle) { delete (QDoubleSpinBox *)handle; } double QDoubleSpinBox_value(QDoubleSpinBoxH handle) { return (double) ((QDoubleSpinBox *)handle)->value(); } void QDoubleSpinBox_prefix(QDoubleSpinBoxH handle, PWideString retval) { QString t_retval; t_retval = ((QDoubleSpinBox *)handle)->prefix(); copyQStringToPWideString(t_retval, retval); } void QDoubleSpinBox_setPrefix(QDoubleSpinBoxH handle, PWideString prefix) { QString t_prefix; copyPWideStringToQString(prefix, t_prefix); ((QDoubleSpinBox *)handle)->setPrefix(t_prefix); } void QDoubleSpinBox_suffix(QDoubleSpinBoxH handle, PWideString retval) { QString t_retval; t_retval = ((QDoubleSpinBox *)handle)->suffix(); copyQStringToPWideString(t_retval, retval); } void QDoubleSpinBox_setSuffix(QDoubleSpinBoxH handle, PWideString suffix) { QString t_suffix; copyPWideStringToQString(suffix, t_suffix); ((QDoubleSpinBox *)handle)->setSuffix(t_suffix); } void QDoubleSpinBox_cleanText(QDoubleSpinBoxH handle, PWideString retval) { QString t_retval; t_retval = ((QDoubleSpinBox *)handle)->cleanText(); copyQStringToPWideString(t_retval, retval); } double QDoubleSpinBox_singleStep(QDoubleSpinBoxH handle) { return (double) ((QDoubleSpinBox *)handle)->singleStep(); } void QDoubleSpinBox_setSingleStep(QDoubleSpinBoxH handle, double val) { ((QDoubleSpinBox *)handle)->setSingleStep(val); } double QDoubleSpinBox_minimum(QDoubleSpinBoxH handle) { return (double) ((QDoubleSpinBox *)handle)->minimum(); } void QDoubleSpinBox_setMinimum(QDoubleSpinBoxH handle, double min) { ((QDoubleSpinBox *)handle)->setMinimum(min); } double QDoubleSpinBox_maximum(QDoubleSpinBoxH handle) { return (double) ((QDoubleSpinBox *)handle)->maximum(); } void QDoubleSpinBox_setMaximum(QDoubleSpinBoxH handle, double max) { ((QDoubleSpinBox *)handle)->setMaximum(max); } void QDoubleSpinBox_setRange(QDoubleSpinBoxH handle, double min, double max) { ((QDoubleSpinBox *)handle)->setRange(min, max); } int QDoubleSpinBox_decimals(QDoubleSpinBoxH handle) { return (int) ((QDoubleSpinBox *)handle)->decimals(); } void QDoubleSpinBox_setDecimals(QDoubleSpinBoxH handle, int prec) { ((QDoubleSpinBox *)handle)->setDecimals(prec); } QValidator::State QDoubleSpinBox_validate(QDoubleSpinBoxH handle, PWideString input, int* pos) { QString t_input; copyPWideStringToQString(input, t_input); QValidator::State t_retval; t_retval = (QValidator::State) ((QDoubleSpinBox *)handle)->validate(t_input, *(int*)pos); copyQStringToPWideString(t_input, input); return t_retval; } double QDoubleSpinBox_valueFromText(QDoubleSpinBoxH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (double) ((QDoubleSpinBox *)handle)->valueFromText(t_text); } void QDoubleSpinBox_textFromValue(QDoubleSpinBoxH handle, PWideString retval, double val) { QString t_retval; t_retval = ((QDoubleSpinBox *)handle)->textFromValue(val); copyQStringToPWideString(t_retval, retval); } void QDoubleSpinBox_fixup(QDoubleSpinBoxH handle, PWideString str) { QString t_str; copyPWideStringToQString(str, t_str); ((QDoubleSpinBox *)handle)->fixup(t_str); copyQStringToPWideString(t_str, str); } void QDoubleSpinBox_setValue(QDoubleSpinBoxH handle, double val) { ((QDoubleSpinBox *)handle)->setValue(val); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstackedlayout_hook_c.cpp0000664000212600021260000000205511677135472022120 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qstackedlayout_hook_c.h" QStackedLayout_hookH QStackedLayout_hook_create(QObjectH handle) { return (QStackedLayout_hookH) new QStackedLayout_hook((QObject*)handle); } void QStackedLayout_hook_destroy(QStackedLayout_hookH handle) { delete (QStackedLayout_hook *)handle; } void QStackedLayout_hook_hook_widgetRemoved(QStackedLayout_hookH handle, QHookH hook) { ((QStackedLayout_hook *)handle)->hook_widgetRemoved(hook); } void QStackedLayout_hook_hook_currentChanged(QStackedLayout_hookH handle, QHookH hook) { ((QStackedLayout_hook *)handle)->hook_currentChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpicture_c.cpp0000664000212600021260000000612011677135472017674 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qpicture_c.h" QPictureH QPicture_create(int formatVersion) { return (QPictureH) new QPicture(formatVersion); } void QPicture_destroy(QPictureH handle) { delete (QPicture *)handle; } QPictureH QPicture_create2(const QPictureH AnonParam1) { return (QPictureH) new QPicture(*(const QPicture*)AnonParam1); } bool QPicture_isNull(QPictureH handle) { return (bool) ((QPicture *)handle)->isNull(); } int QPicture_devType(QPictureH handle) { return (int) ((QPicture *)handle)->devType(); } uint QPicture_size(QPictureH handle) { return (uint) ((QPicture *)handle)->size(); } const char* QPicture_data(QPictureH handle) { return (const char*) ((QPicture *)handle)->data(); } void QPicture_setData(QPictureH handle, const char* data, uint size) { ((QPicture *)handle)->setData(data, size); } bool QPicture_play(QPictureH handle, QPainterH p) { return (bool) ((QPicture *)handle)->play((QPainter*)p); } bool QPicture_load(QPictureH handle, QIODeviceH dev, const char* format) { return (bool) ((QPicture *)handle)->load((QIODevice*)dev, format); } bool QPicture_load2(QPictureH handle, PWideString fileName, const char* format) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (bool) ((QPicture *)handle)->load(t_fileName, format); } bool QPicture_save(QPictureH handle, QIODeviceH dev, const char* format) { return (bool) ((QPicture *)handle)->save((QIODevice*)dev, format); } bool QPicture_save2(QPictureH handle, PWideString fileName, const char* format) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (bool) ((QPicture *)handle)->save(t_fileName, format); } void QPicture_boundingRect(QPictureH handle, PRect retval) { QRect t_retval; t_retval = ((QPicture *)handle)->boundingRect(); copyQRectToPRect(t_retval, retval); } void QPicture_setBoundingRect(QPictureH handle, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); ((QPicture *)handle)->setBoundingRect(t_r); } void QPicture_detach(QPictureH handle) { ((QPicture *)handle)->detach(); } bool QPicture_isDetached(QPictureH handle) { return (bool) ((QPicture *)handle)->isDetached(); } const char* QPicture_pictureFormat(PWideString fileName) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (const char*) QPicture::pictureFormat(t_fileName); } void QPicture_inputFormatList(QStringListH retval) { *(QStringList *)retval = QPicture::inputFormatList(); } void QPicture_outputFormatList(QStringListH retval) { *(QStringList *)retval = QPicture::outputFormatList(); } QPaintEngineH QPicture_paintEngine(QPictureH handle) { return (QPaintEngineH) ((QPicture *)handle)->paintEngine(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmdiarea_c.cpp0000664000212600021260000001031211677135472017621 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qmdiarea_c.h" QMdiAreaH QMdiArea_create(QWidgetH parent) { return (QMdiAreaH) new QMdiArea((QWidget*)parent); } void QMdiArea_destroy(QMdiAreaH handle) { delete (QMdiArea *)handle; } void QMdiArea_sizeHint(QMdiAreaH handle, PSize retval) { *(QSize *)retval = ((QMdiArea *)handle)->sizeHint(); } void QMdiArea_minimumSizeHint(QMdiAreaH handle, PSize retval) { *(QSize *)retval = ((QMdiArea *)handle)->minimumSizeHint(); } QMdiSubWindowH QMdiArea_currentSubWindow(QMdiAreaH handle) { return (QMdiSubWindowH) ((QMdiArea *)handle)->currentSubWindow(); } QMdiSubWindowH QMdiArea_activeSubWindow(QMdiAreaH handle) { return (QMdiSubWindowH) ((QMdiArea *)handle)->activeSubWindow(); } void QMdiArea_subWindowList(QMdiAreaH handle, PPtrIntArray retval, QMdiArea::WindowOrder order) { QList t_retval; t_retval = ((QMdiArea *)handle)->subWindowList(order); copyQListTemplateToPtrIntArray(t_retval, retval); } QMdiSubWindowH QMdiArea_addSubWindow(QMdiAreaH handle, QWidgetH widget, unsigned int flags) { return (QMdiSubWindowH) ((QMdiArea *)handle)->addSubWindow((QWidget*)widget, (Qt::WindowFlags)flags); } void QMdiArea_removeSubWindow(QMdiAreaH handle, QWidgetH widget) { ((QMdiArea *)handle)->removeSubWindow((QWidget*)widget); } void QMdiArea_background(QMdiAreaH handle, QBrushH retval) { *(QBrush *)retval = ((QMdiArea *)handle)->background(); } void QMdiArea_setBackground(QMdiAreaH handle, const QBrushH background) { ((QMdiArea *)handle)->setBackground(*(const QBrush*)background); } QMdiArea::WindowOrder QMdiArea_activationOrder(QMdiAreaH handle) { return (QMdiArea::WindowOrder) ((QMdiArea *)handle)->activationOrder(); } void QMdiArea_setActivationOrder(QMdiAreaH handle, QMdiArea::WindowOrder order) { ((QMdiArea *)handle)->setActivationOrder(order); } void QMdiArea_setOption(QMdiAreaH handle, QMdiArea::AreaOption option, bool on) { ((QMdiArea *)handle)->setOption(option, on); } bool QMdiArea_testOption(QMdiAreaH handle, QMdiArea::AreaOption opton) { return (bool) ((QMdiArea *)handle)->testOption(opton); } void QMdiArea_setViewMode(QMdiAreaH handle, QMdiArea::ViewMode mode) { ((QMdiArea *)handle)->setViewMode(mode); } QMdiArea::ViewMode QMdiArea_viewMode(QMdiAreaH handle) { return (QMdiArea::ViewMode) ((QMdiArea *)handle)->viewMode(); } bool QMdiArea_documentMode(QMdiAreaH handle) { return (bool) ((QMdiArea *)handle)->documentMode(); } void QMdiArea_setDocumentMode(QMdiAreaH handle, bool enabled) { ((QMdiArea *)handle)->setDocumentMode(enabled); } void QMdiArea_setTabShape(QMdiAreaH handle, QTabWidget::TabShape shape) { ((QMdiArea *)handle)->setTabShape(shape); } QTabWidget::TabShape QMdiArea_tabShape(QMdiAreaH handle) { return (QTabWidget::TabShape) ((QMdiArea *)handle)->tabShape(); } void QMdiArea_setTabPosition(QMdiAreaH handle, QTabWidget::TabPosition position) { ((QMdiArea *)handle)->setTabPosition(position); } QTabWidget::TabPosition QMdiArea_tabPosition(QMdiAreaH handle) { return (QTabWidget::TabPosition) ((QMdiArea *)handle)->tabPosition(); } void QMdiArea_setActiveSubWindow(QMdiAreaH handle, QMdiSubWindowH window) { ((QMdiArea *)handle)->setActiveSubWindow((QMdiSubWindow*)window); } void QMdiArea_tileSubWindows(QMdiAreaH handle) { ((QMdiArea *)handle)->tileSubWindows(); } void QMdiArea_cascadeSubWindows(QMdiAreaH handle) { ((QMdiArea *)handle)->cascadeSubWindows(); } void QMdiArea_closeActiveSubWindow(QMdiAreaH handle) { ((QMdiArea *)handle)->closeActiveSubWindow(); } void QMdiArea_closeAllSubWindows(QMdiAreaH handle) { ((QMdiArea *)handle)->closeAllSubWindows(); } void QMdiArea_activateNextSubWindow(QMdiAreaH handle) { ((QMdiArea *)handle)->activateNextSubWindow(); } void QMdiArea_activatePreviousSubWindow(QMdiAreaH handle) { ((QMdiArea *)handle)->activatePreviousSubWindow(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfont_c.h0000664000212600021260000001162711677135472016644 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFONT_C_H #define QFONT_C_H #include #include "pascalbind.h" C_EXPORT QFontH QFont_create(); C_EXPORT void QFont_destroy(QFontH handle); C_EXPORT QFontH QFont_create2(PWideString family, int pointSize, int weight, bool italic); C_EXPORT QFontH QFont_create3(const QFontH AnonParam1, QPaintDeviceH pd); C_EXPORT QFontH QFont_create4(const QFontH AnonParam1); C_EXPORT void QFont_family(QFontH handle, PWideString retval); C_EXPORT void QFont_setFamily(QFontH handle, PWideString AnonParam1); C_EXPORT int QFont_pointSize(QFontH handle); C_EXPORT void QFont_setPointSize(QFontH handle, int AnonParam1); C_EXPORT qreal QFont_pointSizeF(QFontH handle); C_EXPORT void QFont_setPointSizeF(QFontH handle, qreal AnonParam1); C_EXPORT int QFont_pixelSize(QFontH handle); C_EXPORT void QFont_setPixelSize(QFontH handle, int AnonParam1); C_EXPORT int QFont_weight(QFontH handle); C_EXPORT void QFont_setWeight(QFontH handle, int AnonParam1); C_EXPORT bool QFont_bold(QFontH handle); C_EXPORT void QFont_setBold(QFontH handle, bool AnonParam1); C_EXPORT void QFont_setStyle(QFontH handle, QFont::Style style); C_EXPORT QFont::Style QFont_style(QFontH handle); C_EXPORT bool QFont_italic(QFontH handle); C_EXPORT void QFont_setItalic(QFontH handle, bool b); C_EXPORT bool QFont_underline(QFontH handle); C_EXPORT void QFont_setUnderline(QFontH handle, bool AnonParam1); C_EXPORT bool QFont_overline(QFontH handle); C_EXPORT void QFont_setOverline(QFontH handle, bool AnonParam1); C_EXPORT bool QFont_strikeOut(QFontH handle); C_EXPORT void QFont_setStrikeOut(QFontH handle, bool AnonParam1); C_EXPORT bool QFont_fixedPitch(QFontH handle); C_EXPORT void QFont_setFixedPitch(QFontH handle, bool AnonParam1); C_EXPORT bool QFont_kerning(QFontH handle); C_EXPORT void QFont_setKerning(QFontH handle, bool AnonParam1); C_EXPORT QFont::StyleHint QFont_styleHint(QFontH handle); C_EXPORT QFont::StyleStrategy QFont_styleStrategy(QFontH handle); C_EXPORT void QFont_setStyleHint(QFontH handle, QFont::StyleHint AnonParam1, QFont::StyleStrategy AnonParam2); C_EXPORT void QFont_setStyleStrategy(QFontH handle, QFont::StyleStrategy s); C_EXPORT int QFont_stretch(QFontH handle); C_EXPORT void QFont_setStretch(QFontH handle, int AnonParam1); C_EXPORT qreal QFont_letterSpacing(QFontH handle); C_EXPORT QFont::SpacingType QFont_letterSpacingType(QFontH handle); C_EXPORT void QFont_setLetterSpacing(QFontH handle, QFont::SpacingType type, qreal spacing); C_EXPORT qreal QFont_wordSpacing(QFontH handle); C_EXPORT void QFont_setWordSpacing(QFontH handle, qreal spacing); C_EXPORT void QFont_setCapitalization(QFontH handle, QFont::Capitalization AnonParam1); C_EXPORT QFont::Capitalization QFont_capitalization(QFontH handle); C_EXPORT bool QFont_rawMode(QFontH handle); C_EXPORT void QFont_setRawMode(QFontH handle, bool AnonParam1); C_EXPORT bool QFont_exactMatch(QFontH handle); C_EXPORT bool QFont_isCopyOf(QFontH handle, const QFontH AnonParam1); #if defined BINUX || DARWIN || QTOPIA C_EXPORT Qt::HANDLE QFont_handle(QFontH handle); #endif C_EXPORT void QFont_setRawName(QFontH handle, PWideString AnonParam1); C_EXPORT void QFont_rawName(QFontH handle, PWideString retval); C_EXPORT void QFont_key(QFontH handle, PWideString retval); C_EXPORT void QFont_toString(QFontH handle, PWideString retval); C_EXPORT bool QFont_fromString(QFontH handle, PWideString AnonParam1); C_EXPORT void QFont_substitute(PWideString retval, PWideString AnonParam1); C_EXPORT void QFont_substitutes(QStringListH retval, PWideString AnonParam1); C_EXPORT void QFont_substitutions(QStringListH retval); C_EXPORT void QFont_insertSubstitution(PWideString AnonParam1, PWideString AnonParam2); C_EXPORT void QFont_insertSubstitutions(PWideString AnonParam1, const QStringListH AnonParam2); C_EXPORT void QFont_removeSubstitution(PWideString AnonParam1); C_EXPORT void QFont_initialize(); C_EXPORT void QFont_cleanup(); #if defined BINUX || MSWINDOWS || DARWIN C_EXPORT void QFont_cacheStatistics(); #endif C_EXPORT void QFont_defaultFamily(QFontH handle, PWideString retval); C_EXPORT void QFont_lastResortFamily(QFontH handle, PWideString retval); C_EXPORT void QFont_lastResortFont(QFontH handle, PWideString retval); C_EXPORT void QFont_resolve(QFontH handle, QFontH retval, const QFontH AnonParam1); C_EXPORT uint QFont_resolve2(QFontH handle); C_EXPORT void QFont_resolve3(QFontH handle, uint mask); #if defined MSWINDOWS C_EXPORT HFONT QFont_handle2(QFontH handle); #endif #if defined DARWIN C_EXPORT quint32 QFont_macFontID(QFontH handle); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtabbar_hook.h0000664000212600021260000000514711677135472017647 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTABBAR_HOOK_H #define QTABBAR_HOOK_H #include #include "qwidget_hook.h" class QTabBar_hook : public QWidget_hook { Q_OBJECT public: QTabBar_hook(QObject *handle) : QWidget_hook(handle) { currentChanged_event.func = NULL; tabCloseRequested_event.func = NULL; tabMoved_event.func = NULL; } void hook_currentChanged(QHook &hook) { if ( !currentChanged_event.func ) connect(handle, SIGNAL(currentChanged(int)), this, SLOT(currentChanged_hook(int))); currentChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentChanged(int)), this, SLOT(currentChanged_hook(int))); } void hook_tabCloseRequested(QHook &hook) { if ( !tabCloseRequested_event.func ) connect(handle, SIGNAL(tabCloseRequested(int)), this, SLOT(tabCloseRequested_hook(int))); tabCloseRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(tabCloseRequested(int)), this, SLOT(tabCloseRequested_hook(int))); } void hook_tabMoved(QHook &hook) { if ( !tabMoved_event.func ) connect(handle, SIGNAL(tabMoved(int, int)), this, SLOT(tabMoved_hook(int, int))); tabMoved_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(tabMoved(int, int)), this, SLOT(tabMoved_hook(int, int))); } private slots: void currentChanged_hook(int index) { if ( currentChanged_event.func ) { typedef void (*func_type)(void *data, int index); (*(func_type)currentChanged_event.func)(currentChanged_event.data, index); } } void tabCloseRequested_hook(int index) { if ( tabCloseRequested_event.func ) { typedef void (*func_type)(void *data, int index); (*(func_type)tabCloseRequested_event.func)(tabCloseRequested_event.data, index); } } void tabMoved_hook(int from, int to) { if ( tabMoved_event.func ) { typedef void (*func_type)(void *data, int from, int to); (*(func_type)tabMoved_event.func)(tabMoved_event.data, from, to); } } private: QHook currentChanged_event; QHook tabCloseRequested_event; QHook tabMoved_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractslider_hook_c.h0000664000212600021260000000245711677135472021725 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTSLIDER_HOOK_C_H #define QABSTRACTSLIDER_HOOK_C_H #include "qabstractslider_hook.h" C_EXPORT QAbstractSlider_hookH QAbstractSlider_hook_create(QObjectH handle); C_EXPORT void QAbstractSlider_hook_destroy(QAbstractSlider_hookH handle); C_EXPORT void QAbstractSlider_hook_hook_valueChanged(QAbstractSlider_hookH handle, QHookH hook); C_EXPORT void QAbstractSlider_hook_hook_sliderPressed(QAbstractSlider_hookH handle, QHookH hook); C_EXPORT void QAbstractSlider_hook_hook_sliderMoved(QAbstractSlider_hookH handle, QHookH hook); C_EXPORT void QAbstractSlider_hook_hook_sliderReleased(QAbstractSlider_hookH handle, QHookH hook); C_EXPORT void QAbstractSlider_hook_hook_rangeChanged(QAbstractSlider_hookH handle, QHookH hook); C_EXPORT void QAbstractSlider_hook_hook_actionTriggered(QAbstractSlider_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsslkey_c.h0000664000212600021260000000301711677135472017202 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSSLKEY_C_H #define QSSLKEY_C_H #include #include "pascalbind.h" C_EXPORT QSslKeyH QSslKey_create(); C_EXPORT void QSslKey_destroy(QSslKeyH handle); C_EXPORT QSslKeyH QSslKey_create2(const QByteArrayH encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArrayH passPhrase); C_EXPORT QSslKeyH QSslKey_create3(QIODeviceH device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArrayH passPhrase); C_EXPORT QSslKeyH QSslKey_create4(const QSslKeyH other); C_EXPORT bool QSslKey_isNull(QSslKeyH handle); C_EXPORT void QSslKey_clear(QSslKeyH handle); C_EXPORT int QSslKey_length(QSslKeyH handle); C_EXPORT QSsl::KeyType QSslKey_type(QSslKeyH handle); C_EXPORT QSsl::KeyAlgorithm QSslKey_algorithm(QSslKeyH handle); C_EXPORT void QSslKey_toPem(QSslKeyH handle, QByteArrayH retval, const QByteArrayH passPhrase); C_EXPORT void QSslKey_toDer(QSslKeyH handle, QByteArrayH retval, const QByteArrayH passPhrase); C_EXPORT Qt::HANDLE QSslKey_handle(QSslKeyH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprinter_c.h0000664000212600021260000001300511677135472017351 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPRINTER_C_H #define QPRINTER_C_H #include #include "pascalbind.h" C_EXPORT QPrinterH QPrinter_create(QPrinter::PrinterMode mode); C_EXPORT void QPrinter_destroy(QPrinterH handle); C_EXPORT QPrinterH QPrinter_create2(const QPrinterInfoH printer, QPrinter::PrinterMode mode); C_EXPORT int QPrinter_devType(QPrinterH handle); C_EXPORT void QPrinter_setOutputFormat(QPrinterH handle, QPrinter::OutputFormat format); C_EXPORT QPrinter::OutputFormat QPrinter_outputFormat(QPrinterH handle); C_EXPORT void QPrinter_setPrinterName(QPrinterH handle, PWideString AnonParam1); C_EXPORT void QPrinter_printerName(QPrinterH handle, PWideString retval); C_EXPORT bool QPrinter_isValid(QPrinterH handle); C_EXPORT void QPrinter_setOutputFileName(QPrinterH handle, PWideString AnonParam1); C_EXPORT void QPrinter_outputFileName(QPrinterH handle, PWideString retval); C_EXPORT void QPrinter_setPrintProgram(QPrinterH handle, PWideString AnonParam1); C_EXPORT void QPrinter_printProgram(QPrinterH handle, PWideString retval); C_EXPORT void QPrinter_setDocName(QPrinterH handle, PWideString AnonParam1); C_EXPORT void QPrinter_docName(QPrinterH handle, PWideString retval); C_EXPORT void QPrinter_setCreator(QPrinterH handle, PWideString AnonParam1); C_EXPORT void QPrinter_creator(QPrinterH handle, PWideString retval); C_EXPORT void QPrinter_setOrientation(QPrinterH handle, QPrinter::Orientation AnonParam1); C_EXPORT QPrinter::Orientation QPrinter_orientation(QPrinterH handle); C_EXPORT void QPrinter_setPageSize(QPrinterH handle, QPrinter::PageSize AnonParam1); C_EXPORT QPrinter::PageSize QPrinter_pageSize(QPrinterH handle); C_EXPORT void QPrinter_setPaperSize(QPrinterH handle, QPrinter::PageSize AnonParam1); C_EXPORT QPrinter::PageSize QPrinter_paperSize(QPrinterH handle); C_EXPORT void QPrinter_setPaperSize2(QPrinterH handle, const QSizeFH paperSize, QPrinter::Unit unit); C_EXPORT void QPrinter_paperSize2(QPrinterH handle, QSizeFH retval, QPrinter::Unit unit); C_EXPORT void QPrinter_setPageOrder(QPrinterH handle, QPrinter::PageOrder AnonParam1); C_EXPORT QPrinter::PageOrder QPrinter_pageOrder(QPrinterH handle); C_EXPORT void QPrinter_setResolution(QPrinterH handle, int AnonParam1); C_EXPORT int QPrinter_resolution(QPrinterH handle); C_EXPORT void QPrinter_setColorMode(QPrinterH handle, QPrinter::ColorMode AnonParam1); C_EXPORT QPrinter::ColorMode QPrinter_colorMode(QPrinterH handle); C_EXPORT void QPrinter_setCollateCopies(QPrinterH handle, bool collate); C_EXPORT bool QPrinter_collateCopies(QPrinterH handle); C_EXPORT void QPrinter_setFullPage(QPrinterH handle, bool AnonParam1); C_EXPORT bool QPrinter_fullPage(QPrinterH handle); C_EXPORT void QPrinter_setNumCopies(QPrinterH handle, int AnonParam1); C_EXPORT int QPrinter_numCopies(QPrinterH handle); C_EXPORT void QPrinter_setPaperSource(QPrinterH handle, QPrinter::PaperSource AnonParam1); C_EXPORT QPrinter::PaperSource QPrinter_paperSource(QPrinterH handle); C_EXPORT void QPrinter_setDuplex(QPrinterH handle, QPrinter::DuplexMode duplex); C_EXPORT QPrinter::DuplexMode QPrinter_duplex(QPrinterH handle); C_EXPORT void QPrinter_supportedResolutions(QPrinterH handle, PPtrIntArray retval); C_EXPORT void QPrinter_setFontEmbeddingEnabled(QPrinterH handle, bool enable); C_EXPORT bool QPrinter_fontEmbeddingEnabled(QPrinterH handle); C_EXPORT void QPrinter_setDoubleSidedPrinting(QPrinterH handle, bool enable); C_EXPORT bool QPrinter_doubleSidedPrinting(QPrinterH handle); C_EXPORT void QPrinter_paperRect(QPrinterH handle, PRect retval); C_EXPORT void QPrinter_pageRect(QPrinterH handle, PRect retval); C_EXPORT void QPrinter_paperRect2(QPrinterH handle, QRectFH retval, QPrinter::Unit AnonParam1); C_EXPORT void QPrinter_pageRect2(QPrinterH handle, QRectFH retval, QPrinter::Unit AnonParam1); #if defined BINUX || DARWIN || QTOPIA C_EXPORT void QPrinter_printerSelectionOption(QPrinterH handle, PWideString retval); C_EXPORT void QPrinter_setPrinterSelectionOption(QPrinterH handle, PWideString AnonParam1); #endif C_EXPORT bool QPrinter_newPage(QPrinterH handle); C_EXPORT bool QPrinter_abort(QPrinterH handle); C_EXPORT QPrinter::PrinterState QPrinter_printerState(QPrinterH handle); C_EXPORT QPaintEngineH QPrinter_paintEngine(QPrinterH handle); C_EXPORT QPrintEngineH QPrinter_printEngine(QPrinterH handle); C_EXPORT void QPrinter_setFromTo(QPrinterH handle, int fromPage, int toPage); C_EXPORT int QPrinter_fromPage(QPrinterH handle); C_EXPORT int QPrinter_toPage(QPrinterH handle); C_EXPORT void QPrinter_setPrintRange(QPrinterH handle, QPrinter::PrintRange range); C_EXPORT QPrinter::PrintRange QPrinter_printRange(QPrinterH handle); C_EXPORT void QPrinter_setPageMargins(QPrinterH handle, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit); C_EXPORT void QPrinter_getPageMargins(QPrinterH handle, qreal* left, qreal* top, qreal* right, qreal* bottom, QPrinter::Unit unit); #if defined MSWINDOWS C_EXPORT void QPrinter_setWinPageSize(QPrinterH handle, int winPageSize); C_EXPORT int QPrinter_winPageSize(QPrinterH handle); C_EXPORT HDC QPrinter_getDC(QPrinterH handle); C_EXPORT void QPrinter_releaseDC(QPrinterH handle, HDC hdc); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebpage_c.h0000664000212600021260000000636011677135472017306 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBPAGE_C_H #define QWEBPAGE_C_H #include #include "pascalbind.h" C_EXPORT QWebPageH QWebPage_create(QObjectH parent); C_EXPORT void QWebPage_destroy(QWebPageH handle); C_EXPORT QWebFrameH QWebPage_mainFrame(QWebPageH handle); C_EXPORT QWebFrameH QWebPage_currentFrame(QWebPageH handle); C_EXPORT QWebHistoryH QWebPage_history(QWebPageH handle); C_EXPORT QWebSettingsH QWebPage_settings(QWebPageH handle); C_EXPORT void QWebPage_setView(QWebPageH handle, QWidgetH view); C_EXPORT QWidgetH QWebPage_view(QWebPageH handle); C_EXPORT bool QWebPage_isModified(QWebPageH handle); C_EXPORT QUndoStackH QWebPage_undoStack(QWebPageH handle); C_EXPORT void QWebPage_setNetworkAccessManager(QWebPageH handle, QNetworkAccessManagerH manager); C_EXPORT QNetworkAccessManagerH QWebPage_networkAccessManager(QWebPageH handle); C_EXPORT void QWebPage_setPluginFactory(QWebPageH handle, QWebPluginFactoryH factory); C_EXPORT QWebPluginFactoryH QWebPage_pluginFactory(QWebPageH handle); C_EXPORT quint64 QWebPage_totalBytes(QWebPageH handle); C_EXPORT quint64 QWebPage_bytesReceived(QWebPageH handle); C_EXPORT void QWebPage_selectedText(QWebPageH handle, PWideString retval); C_EXPORT QActionH QWebPage_action(QWebPageH handle, QWebPage::WebAction action); C_EXPORT void QWebPage_triggerAction(QWebPageH handle, QWebPage::WebAction action, bool checked); C_EXPORT void QWebPage_viewportSize(QWebPageH handle, PSize retval); C_EXPORT void QWebPage_setViewportSize(QWebPageH handle, const QSizeH size); C_EXPORT bool QWebPage_event(QWebPageH handle, QEventH AnonParam1); C_EXPORT bool QWebPage_focusNextPrevChild(QWebPageH handle, bool next); C_EXPORT void QWebPage_inputMethodQuery(QWebPageH handle, QVariantH retval, Qt::InputMethodQuery property); C_EXPORT bool QWebPage_findText(QWebPageH handle, PWideString subString, unsigned int options); C_EXPORT void QWebPage_setForwardUnsupportedContent(QWebPageH handle, bool forward); C_EXPORT bool QWebPage_forwardUnsupportedContent(QWebPageH handle); C_EXPORT void QWebPage_setLinkDelegationPolicy(QWebPageH handle, QWebPage::LinkDelegationPolicy policy); C_EXPORT QWebPage::LinkDelegationPolicy QWebPage_linkDelegationPolicy(QWebPageH handle); C_EXPORT void QWebPage_setPalette(QWebPageH handle, const QPaletteH palette); C_EXPORT void QWebPage_palette(QWebPageH handle, QPaletteH retval); C_EXPORT void QWebPage_setContentEditable(QWebPageH handle, bool editable); C_EXPORT bool QWebPage_isContentEditable(QWebPageH handle); C_EXPORT bool QWebPage_swallowContextMenuEvent(QWebPageH handle, QContextMenuEventH event); C_EXPORT void QWebPage_updatePositionDependentActions(QWebPageH handle, const QPointH pos); C_EXPORT QMenuH QWebPage_createStandardContextMenu(QWebPageH handle); C_EXPORT bool QWebPage_supportsExtension(QWebPageH handle, QWebPage::Extension extension); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdrag_c.h0000664000212600021260000000274511677135472016614 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDRAG_C_H #define QDRAG_C_H #include #include "pascalbind.h" C_EXPORT QDragH QDrag_create(QWidgetH dragSource); C_EXPORT void QDrag_destroy(QDragH handle); C_EXPORT void QDrag_setMimeData(QDragH handle, QMimeDataH data); C_EXPORT QMimeDataH QDrag_mimeData(QDragH handle); C_EXPORT void QDrag_setPixmap(QDragH handle, const QPixmapH AnonParam1); C_EXPORT void QDrag_pixmap(QDragH handle, QPixmapH retval); C_EXPORT void QDrag_setHotSpot(QDragH handle, const QPointH hotspot); C_EXPORT void QDrag_hotSpot(QDragH handle, PQtPoint retval); C_EXPORT QWidgetH QDrag_source(QDragH handle); C_EXPORT QWidgetH QDrag_target(QDragH handle); C_EXPORT Qt::DropAction QDrag_start(QDragH handle, unsigned int supportedActions); C_EXPORT Qt::DropAction QDrag_exec(QDragH handle, unsigned int supportedActions); C_EXPORT Qt::DropAction QDrag_exec2(QDragH handle, unsigned int supportedActions, Qt::DropAction defaultAction); C_EXPORT void QDrag_setDragCursor(QDragH handle, const QPixmapH cursor, Qt::DropAction action); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintpreviewwidget_hook.h0000664000212600021260000000406311677135472022352 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPRINTPREVIEWWIDGET_HOOK_H #define QPRINTPREVIEWWIDGET_HOOK_H #include #include "qwidget_hook.h" class QPrintPreviewWidget_hook : public QWidget_hook { Q_OBJECT public: QPrintPreviewWidget_hook(QObject *handle) : QWidget_hook(handle) { paintRequested_event.func = NULL; previewChanged_event.func = NULL; } void hook_paintRequested(QHook &hook) { if ( !paintRequested_event.func ) connect(handle, SIGNAL(paintRequested(QPrinter*)), this, SLOT(paintRequested_hook(QPrinter*))); paintRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(paintRequested(QPrinter*)), this, SLOT(paintRequested_hook(QPrinter*))); } void hook_previewChanged(QHook &hook) { if ( !previewChanged_event.func ) connect(handle, SIGNAL(previewChanged()), this, SLOT(previewChanged_hook())); previewChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(previewChanged()), this, SLOT(previewChanged_hook())); } private slots: void paintRequested_hook(QPrinter* printer) { if ( paintRequested_event.func ) { typedef void (*func_type)(void *data, QPrinterH printer); (*(func_type)paintRequested_event.func)(paintRequested_event.data, (QPrinterH)printer); } } void previewChanged_hook() { if ( previewChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)previewChanged_event.func)(previewChanged_event.data); } } private: QHook paintRequested_event; QHook previewChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlistview_c.cpp0000664000212600021260000001147611677135472020101 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlistview_c.h" QListViewH QListView_create(QWidgetH parent) { return (QListViewH) new QListView((QWidget*)parent); } void QListView_destroy(QListViewH handle) { delete (QListView *)handle; } void QListView_setMovement(QListViewH handle, QListView::Movement movement) { ((QListView *)handle)->setMovement(movement); } QListView::Movement QListView_movement(QListViewH handle) { return (QListView::Movement) ((QListView *)handle)->movement(); } void QListView_setFlow(QListViewH handle, QListView::Flow flow) { ((QListView *)handle)->setFlow(flow); } QListView::Flow QListView_flow(QListViewH handle) { return (QListView::Flow) ((QListView *)handle)->flow(); } void QListView_setWrapping(QListViewH handle, bool enable) { ((QListView *)handle)->setWrapping(enable); } bool QListView_isWrapping(QListViewH handle) { return (bool) ((QListView *)handle)->isWrapping(); } void QListView_setResizeMode(QListViewH handle, QListView::ResizeMode mode) { ((QListView *)handle)->setResizeMode(mode); } QListView::ResizeMode QListView_resizeMode(QListViewH handle) { return (QListView::ResizeMode) ((QListView *)handle)->resizeMode(); } void QListView_setLayoutMode(QListViewH handle, QListView::LayoutMode mode) { ((QListView *)handle)->setLayoutMode(mode); } QListView::LayoutMode QListView_layoutMode(QListViewH handle) { return (QListView::LayoutMode) ((QListView *)handle)->layoutMode(); } void QListView_setSpacing(QListViewH handle, int space) { ((QListView *)handle)->setSpacing(space); } int QListView_spacing(QListViewH handle) { return (int) ((QListView *)handle)->spacing(); } void QListView_setBatchSize(QListViewH handle, int batchSize) { ((QListView *)handle)->setBatchSize(batchSize); } int QListView_batchSize(QListViewH handle) { return (int) ((QListView *)handle)->batchSize(); } void QListView_setGridSize(QListViewH handle, const QSizeH size) { ((QListView *)handle)->setGridSize(*(const QSize*)size); } void QListView_gridSize(QListViewH handle, PSize retval) { *(QSize *)retval = ((QListView *)handle)->gridSize(); } void QListView_setViewMode(QListViewH handle, QListView::ViewMode mode) { ((QListView *)handle)->setViewMode(mode); } QListView::ViewMode QListView_viewMode(QListViewH handle) { return (QListView::ViewMode) ((QListView *)handle)->viewMode(); } void QListView_clearPropertyFlags(QListViewH handle) { ((QListView *)handle)->clearPropertyFlags(); } bool QListView_isRowHidden(QListViewH handle, int row) { return (bool) ((QListView *)handle)->isRowHidden(row); } void QListView_setRowHidden(QListViewH handle, int row, bool hide) { ((QListView *)handle)->setRowHidden(row, hide); } void QListView_setModelColumn(QListViewH handle, int column) { ((QListView *)handle)->setModelColumn(column); } int QListView_modelColumn(QListViewH handle) { return (int) ((QListView *)handle)->modelColumn(); } void QListView_setUniformItemSizes(QListViewH handle, bool enable) { ((QListView *)handle)->setUniformItemSizes(enable); } bool QListView_uniformItemSizes(QListViewH handle) { return (bool) ((QListView *)handle)->uniformItemSizes(); } void QListView_setWordWrap(QListViewH handle, bool on) { ((QListView *)handle)->setWordWrap(on); } bool QListView_wordWrap(QListViewH handle) { return (bool) ((QListView *)handle)->wordWrap(); } void QListView_setSelectionRectVisible(QListViewH handle, bool show) { ((QListView *)handle)->setSelectionRectVisible(show); } bool QListView_isSelectionRectVisible(QListViewH handle) { return (bool) ((QListView *)handle)->isSelectionRectVisible(); } void QListView_visualRect(QListViewH handle, PRect retval, const QModelIndexH index) { QRect t_retval; t_retval = ((QListView *)handle)->visualRect(*(const QModelIndex*)index); copyQRectToPRect(t_retval, retval); } void QListView_scrollTo(QListViewH handle, const QModelIndexH index, QAbstractItemView::ScrollHint hint) { ((QListView *)handle)->scrollTo(*(const QModelIndex*)index, hint); } void QListView_indexAt(QListViewH handle, QModelIndexH retval, const QPointH p) { *(QModelIndex *)retval = ((QListView *)handle)->indexAt(*(const QPoint*)p); } void QListView_doItemsLayout(QListViewH handle) { ((QListView *)handle)->doItemsLayout(); } void QListView_reset(QListViewH handle) { ((QListView *)handle)->reset(); } void QListView_setRootIndex(QListViewH handle, const QModelIndexH index) { ((QListView *)handle)->setRootIndex(*(const QModelIndex*)index); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbar_hook_c.h0000664000212600021260000000230411677135472020350 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTOOLBAR_HOOK_C_H #define QTOOLBAR_HOOK_C_H #include "qtoolbar_hook.h" C_EXPORT QToolBar_hookH QToolBar_hook_create(QObjectH handle); C_EXPORT void QToolBar_hook_destroy(QToolBar_hookH handle); C_EXPORT void QToolBar_hook_hook_actionTriggered(QToolBar_hookH handle, QHookH hook); C_EXPORT void QToolBar_hook_hook_movableChanged(QToolBar_hookH handle, QHookH hook); C_EXPORT void QToolBar_hook_hook_allowedAreasChanged(QToolBar_hookH handle, QHookH hook); C_EXPORT void QToolBar_hook_hook_orientationChanged(QToolBar_hookH handle, QHookH hook); C_EXPORT void QToolBar_hook_hook_iconSizeChanged(QToolBar_hookH handle, QHookH hook); C_EXPORT void QToolBar_hook_hook_toolButtonStyleChanged(QToolBar_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qchar_c.cpp0000664000212600021260000001234011677135472017137 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qchar_c.h" QCharH QChar_create() { return (QCharH) new QChar(); } void QChar_destroy(QCharH handle) { delete (QChar *)handle; } QCharH QChar_create2(char c) { return (QCharH) new QChar(c); } QCharH QChar_create4(unsigned char c, unsigned char r) { return (QCharH) new QChar((uchar)c, (uchar)r); } QCharH QChar_create5(ushort rc) { return (QCharH) new QChar(rc); } QCharH QChar_create6(short rc) { return (QCharH) new QChar(rc); } QCharH QChar_create7(uint rc) { return (QCharH) new QChar(rc); } QCharH QChar_create8(int rc) { return (QCharH) new QChar(rc); } QCharH QChar_create9(QChar::SpecialCharacter sc) { return (QCharH) new QChar(sc); } QChar::Category QChar_category(QCharH handle) { return (QChar::Category) ((QChar *)handle)->category(); } QChar::Direction QChar_direction(QCharH handle) { return (QChar::Direction) ((QChar *)handle)->direction(); } QChar::Joining QChar_joining(QCharH handle) { return (QChar::Joining) ((QChar *)handle)->joining(); } bool QChar_hasMirrored(QCharH handle) { return (bool) ((QChar *)handle)->hasMirrored(); } unsigned char QChar_combiningClass(QCharH handle) { return (unsigned char) ((QChar *)handle)->combiningClass(); } void QChar_mirroredChar(QCharH handle, PWideChar retval) { *(QChar *)retval = ((QChar *)handle)->mirroredChar(); } void QChar_decomposition(QCharH handle, PWideString retval) { QString t_retval; t_retval = ((QChar *)handle)->decomposition(); copyQStringToPWideString(t_retval, retval); } QChar::Decomposition QChar_decompositionTag(QCharH handle) { return (QChar::Decomposition) ((QChar *)handle)->decompositionTag(); } int QChar_digitValue(QCharH handle) { return (int) ((QChar *)handle)->digitValue(); } void QChar_toLower(QCharH handle, PWideChar retval) { *(QChar *)retval = ((QChar *)handle)->toLower(); } void QChar_toUpper(QCharH handle, PWideChar retval) { *(QChar *)retval = ((QChar *)handle)->toUpper(); } void QChar_toTitleCase(QCharH handle, PWideChar retval) { *(QChar *)retval = ((QChar *)handle)->toTitleCase(); } void QChar_toCaseFolded(QCharH handle, PWideChar retval) { *(QChar *)retval = ((QChar *)handle)->toCaseFolded(); } QChar::UnicodeVersion QChar_unicodeVersion(QCharH handle) { return (QChar::UnicodeVersion) ((QChar *)handle)->unicodeVersion(); } char QChar_toAscii(QCharH handle) { return (char) ((QChar *)handle)->toAscii(); } char QChar_toLatin1(QCharH handle) { return (char) ((QChar *)handle)->toLatin1(); } ushort QChar_unicode(QCharH handle) { return (ushort) ((QChar *)handle)->unicode(); } void QChar_fromAscii(PWideChar retval, char c) { *(QChar *)retval = QChar::fromAscii(c); } void QChar_fromLatin1(PWideChar retval, char c) { *(QChar *)retval = QChar::fromLatin1(c); } bool QChar_isNull(QCharH handle) { return (bool) ((QChar *)handle)->isNull(); } bool QChar_isPrint(QCharH handle) { return (bool) ((QChar *)handle)->isPrint(); } bool QChar_isPunct(QCharH handle) { return (bool) ((QChar *)handle)->isPunct(); } bool QChar_isSpace(QCharH handle) { return (bool) ((QChar *)handle)->isSpace(); } bool QChar_isMark(QCharH handle) { return (bool) ((QChar *)handle)->isMark(); } bool QChar_isLetter(QCharH handle) { return (bool) ((QChar *)handle)->isLetter(); } bool QChar_isNumber(QCharH handle) { return (bool) ((QChar *)handle)->isNumber(); } bool QChar_isLetterOrNumber(QCharH handle) { return (bool) ((QChar *)handle)->isLetterOrNumber(); } bool QChar_isDigit(QCharH handle) { return (bool) ((QChar *)handle)->isDigit(); } bool QChar_isSymbol(QCharH handle) { return (bool) ((QChar *)handle)->isSymbol(); } bool QChar_isLower(QCharH handle) { return (bool) ((QChar *)handle)->isLower(); } bool QChar_isUpper(QCharH handle) { return (bool) ((QChar *)handle)->isUpper(); } bool QChar_isTitleCase(QCharH handle) { return (bool) ((QChar *)handle)->isTitleCase(); } bool QChar_isHighSurrogate(QCharH handle) { return (bool) ((QChar *)handle)->isHighSurrogate(); } bool QChar_isLowSurrogate(QCharH handle) { return (bool) ((QChar *)handle)->isLowSurrogate(); } unsigned char QChar_cell(QCharH handle) { return (unsigned char) ((QChar *)handle)->cell(); } unsigned char QChar_row(QCharH handle) { return (unsigned char) ((QChar *)handle)->row(); } void QChar_setCell(QCharH handle, unsigned char cell) { ((QChar *)handle)->setCell((uchar)cell); } void QChar_setRow(QCharH handle, unsigned char row) { ((QChar *)handle)->setRow((uchar)row); } uint QChar_surrogateToUcs4(ushort high, ushort low) { return (uint) QChar::surrogateToUcs4(high, low); } uint QChar_surrogateToUcs42(PWideChar high, PWideChar low) { return (uint) QChar::surrogateToUcs4(*(QChar *)high, *(QChar *)low); } ushort QChar_highSurrogate(uint ucs4) { return (ushort) QChar::highSurrogate(ucs4); } ushort QChar_lowSurrogate(uint ucs4) { return (ushort) QChar::lowSurrogate(ucs4); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qiodevice_hook_c.h0000664000212600021260000000202211677135472020472 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QIODEVICE_HOOK_C_H #define QIODEVICE_HOOK_C_H #include "qiodevice_hook.h" C_EXPORT QIODevice_hookH QIODevice_hook_create(QObjectH handle); C_EXPORT void QIODevice_hook_destroy(QIODevice_hookH handle); C_EXPORT void QIODevice_hook_hook_readyRead(QIODevice_hookH handle, QHookH hook); C_EXPORT void QIODevice_hook_hook_bytesWritten(QIODevice_hookH handle, QHookH hook); C_EXPORT void QIODevice_hook_hook_aboutToClose(QIODevice_hookH handle, QHookH hook); C_EXPORT void QIODevice_hook_hook_readChannelFinished(QIODevice_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtcpsocket_hook_c.cpp0000664000212600021260000000133511677135472021243 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtcpsocket_hook_c.h" QTcpSocket_hookH QTcpSocket_hook_create(QObjectH handle) { return (QTcpSocket_hookH) new QTcpSocket_hook((QObject*)handle); } void QTcpSocket_hook_destroy(QTcpSocket_hookH handle) { delete (QTcpSocket_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlcdnumber_hook_c.cpp0000664000212600021260000000153611677135472021222 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlcdnumber_hook_c.h" QLCDNumber_hookH QLCDNumber_hook_create(QObjectH handle) { return (QLCDNumber_hookH) new QLCDNumber_hook((QObject*)handle); } void QLCDNumber_hook_destroy(QLCDNumber_hookH handle) { delete (QLCDNumber_hook *)handle; } void QLCDNumber_hook_hook_overflow(QLCDNumber_hookH handle, QHookH hook) { ((QLCDNumber_hook *)handle)->hook_overflow(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebpage_hook.h0000664000212600021260000004502011677135472020020 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBPAGE_HOOK_H #define QWEBPAGE_HOOK_H #include #include "qobject_hook.h" class QWebPage_hook : public QObject_hook { Q_OBJECT public: QWebPage_hook(QObject *handle) : QObject_hook(handle) { loadStarted_event.func = NULL; loadProgress_event.func = NULL; loadFinished_event.func = NULL; linkHovered_event.func = NULL; statusBarMessage_event.func = NULL; selectionChanged_event.func = NULL; frameCreated_event.func = NULL; geometryChangeRequested_event.func = NULL; repaintRequested_event.func = NULL; scrollRequested_event.func = NULL; windowCloseRequested_event.func = NULL; printRequested_event.func = NULL; linkClicked_event.func = NULL; toolBarVisibilityChangeRequested_event.func = NULL; statusBarVisibilityChangeRequested_event.func = NULL; menuBarVisibilityChangeRequested_event.func = NULL; unsupportedContent_event.func = NULL; downloadRequested_event.func = NULL; microFocusChanged_event.func = NULL; contentsChanged_event.func = NULL; databaseQuotaExceeded_event.func = NULL; saveFrameStateRequested_event.func = NULL; restoreFrameStateRequested_event.func = NULL; } void hook_loadStarted(QHook &hook) { if ( !loadStarted_event.func ) connect(handle, SIGNAL(loadStarted()), this, SLOT(loadStarted_hook())); loadStarted_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(loadStarted()), this, SLOT(loadStarted_hook())); } void hook_loadProgress(QHook &hook) { if ( !loadProgress_event.func ) connect(handle, SIGNAL(loadProgress(int)), this, SLOT(loadProgress_hook(int))); loadProgress_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(loadProgress(int)), this, SLOT(loadProgress_hook(int))); } void hook_loadFinished(QHook &hook) { if ( !loadFinished_event.func ) connect(handle, SIGNAL(loadFinished(bool)), this, SLOT(loadFinished_hook(bool))); loadFinished_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(loadFinished(bool)), this, SLOT(loadFinished_hook(bool))); } void hook_linkHovered(QHook &hook) { if ( !linkHovered_event.func ) connect(handle, SIGNAL(linkHovered(const QString&, const QString&, const QString&)), this, SLOT(linkHovered_hook(const QString&, const QString&, const QString&))); linkHovered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(linkHovered(const QString&, const QString&, const QString&)), this, SLOT(linkHovered_hook(const QString&, const QString&, const QString&))); } void hook_statusBarMessage(QHook &hook) { if ( !statusBarMessage_event.func ) connect(handle, SIGNAL(statusBarMessage(const QString&)), this, SLOT(statusBarMessage_hook(const QString&))); statusBarMessage_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(statusBarMessage(const QString&)), this, SLOT(statusBarMessage_hook(const QString&))); } void hook_selectionChanged(QHook &hook) { if ( !selectionChanged_event.func ) connect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); selectionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); } void hook_frameCreated(QHook &hook) { if ( !frameCreated_event.func ) connect(handle, SIGNAL(frameCreated(QWebFrame*)), this, SLOT(frameCreated_hook(QWebFrame*))); frameCreated_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(frameCreated(QWebFrame*)), this, SLOT(frameCreated_hook(QWebFrame*))); } void hook_geometryChangeRequested(QHook &hook) { if ( !geometryChangeRequested_event.func ) connect(handle, SIGNAL(geometryChangeRequested(const QRect&)), this, SLOT(geometryChangeRequested_hook(const QRect&))); geometryChangeRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(geometryChangeRequested(const QRect&)), this, SLOT(geometryChangeRequested_hook(const QRect&))); } void hook_repaintRequested(QHook &hook) { if ( !repaintRequested_event.func ) connect(handle, SIGNAL(repaintRequested(const QRect&)), this, SLOT(repaintRequested_hook(const QRect&))); repaintRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(repaintRequested(const QRect&)), this, SLOT(repaintRequested_hook(const QRect&))); } void hook_scrollRequested(QHook &hook) { if ( !scrollRequested_event.func ) connect(handle, SIGNAL(scrollRequested(int, int, const QRect&)), this, SLOT(scrollRequested_hook(int, int, const QRect&))); scrollRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(scrollRequested(int, int, const QRect&)), this, SLOT(scrollRequested_hook(int, int, const QRect&))); } void hook_windowCloseRequested(QHook &hook) { if ( !windowCloseRequested_event.func ) connect(handle, SIGNAL(windowCloseRequested()), this, SLOT(windowCloseRequested_hook())); windowCloseRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(windowCloseRequested()), this, SLOT(windowCloseRequested_hook())); } void hook_printRequested(QHook &hook) { if ( !printRequested_event.func ) connect(handle, SIGNAL(printRequested(QWebFrame*)), this, SLOT(printRequested_hook(QWebFrame*))); printRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(printRequested(QWebFrame*)), this, SLOT(printRequested_hook(QWebFrame*))); } void hook_linkClicked(QHook &hook) { if ( !linkClicked_event.func ) connect(handle, SIGNAL(linkClicked(const QUrl&)), this, SLOT(linkClicked_hook(const QUrl&))); linkClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(linkClicked(const QUrl&)), this, SLOT(linkClicked_hook(const QUrl&))); } void hook_toolBarVisibilityChangeRequested(QHook &hook) { if ( !toolBarVisibilityChangeRequested_event.func ) connect(handle, SIGNAL(toolBarVisibilityChangeRequested(bool)), this, SLOT(toolBarVisibilityChangeRequested_hook(bool))); toolBarVisibilityChangeRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(toolBarVisibilityChangeRequested(bool)), this, SLOT(toolBarVisibilityChangeRequested_hook(bool))); } void hook_statusBarVisibilityChangeRequested(QHook &hook) { if ( !statusBarVisibilityChangeRequested_event.func ) connect(handle, SIGNAL(statusBarVisibilityChangeRequested(bool)), this, SLOT(statusBarVisibilityChangeRequested_hook(bool))); statusBarVisibilityChangeRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(statusBarVisibilityChangeRequested(bool)), this, SLOT(statusBarVisibilityChangeRequested_hook(bool))); } void hook_menuBarVisibilityChangeRequested(QHook &hook) { if ( !menuBarVisibilityChangeRequested_event.func ) connect(handle, SIGNAL(menuBarVisibilityChangeRequested(bool)), this, SLOT(menuBarVisibilityChangeRequested_hook(bool))); menuBarVisibilityChangeRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(menuBarVisibilityChangeRequested(bool)), this, SLOT(menuBarVisibilityChangeRequested_hook(bool))); } void hook_unsupportedContent(QHook &hook) { if ( !unsupportedContent_event.func ) connect(handle, SIGNAL(unsupportedContent(QNetworkReply*)), this, SLOT(unsupportedContent_hook(QNetworkReply*))); unsupportedContent_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(unsupportedContent(QNetworkReply*)), this, SLOT(unsupportedContent_hook(QNetworkReply*))); } void hook_downloadRequested(QHook &hook) { if ( !downloadRequested_event.func ) connect(handle, SIGNAL(downloadRequested(const QNetworkRequest&)), this, SLOT(downloadRequested_hook(const QNetworkRequest&))); downloadRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(downloadRequested(const QNetworkRequest&)), this, SLOT(downloadRequested_hook(const QNetworkRequest&))); } void hook_microFocusChanged(QHook &hook) { if ( !microFocusChanged_event.func ) connect(handle, SIGNAL(microFocusChanged()), this, SLOT(microFocusChanged_hook())); microFocusChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(microFocusChanged()), this, SLOT(microFocusChanged_hook())); } void hook_contentsChanged(QHook &hook) { if ( !contentsChanged_event.func ) connect(handle, SIGNAL(contentsChanged()), this, SLOT(contentsChanged_hook())); contentsChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(contentsChanged()), this, SLOT(contentsChanged_hook())); } void hook_databaseQuotaExceeded(QHook &hook) { if ( !databaseQuotaExceeded_event.func ) connect(handle, SIGNAL(databaseQuotaExceeded(QWebFrame*, QString)), this, SLOT(databaseQuotaExceeded_hook(QWebFrame*, QString))); databaseQuotaExceeded_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(databaseQuotaExceeded(QWebFrame*, QString)), this, SLOT(databaseQuotaExceeded_hook(QWebFrame*, QString))); } void hook_saveFrameStateRequested(QHook &hook) { if ( !saveFrameStateRequested_event.func ) connect(handle, SIGNAL(saveFrameStateRequested(QWebFrame*, QWebHistoryItem*)), this, SLOT(saveFrameStateRequested_hook(QWebFrame*, QWebHistoryItem*))); saveFrameStateRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(saveFrameStateRequested(QWebFrame*, QWebHistoryItem*)), this, SLOT(saveFrameStateRequested_hook(QWebFrame*, QWebHistoryItem*))); } void hook_restoreFrameStateRequested(QHook &hook) { if ( !restoreFrameStateRequested_event.func ) connect(handle, SIGNAL(restoreFrameStateRequested(QWebFrame*)), this, SLOT(restoreFrameStateRequested_hook(QWebFrame*))); restoreFrameStateRequested_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(restoreFrameStateRequested(QWebFrame*)), this, SLOT(restoreFrameStateRequested_hook(QWebFrame*))); } private slots: void loadStarted_hook() { if ( loadStarted_event.func ) { typedef void (*func_type)(void *data); (*(func_type)loadStarted_event.func)(loadStarted_event.data); } } void loadProgress_hook(int progress) { if ( loadProgress_event.func ) { typedef void (*func_type)(void *data, int progress); (*(func_type)loadProgress_event.func)(loadProgress_event.data, progress); } } void loadFinished_hook(bool ok) { if ( loadFinished_event.func ) { typedef void (*func_type)(void *data, bool ok); (*(func_type)loadFinished_event.func)(loadFinished_event.data, ok); } } void linkHovered_hook(const QString& link, const QString& title, const QString& textContent) { if ( linkHovered_event.func ) { typedef void (*func_type)(void *data, PWideString link, PWideString title, PWideString textContent); PWideString t_link; PWideString t_title; PWideString t_textContent; initializePWideString(t_link); initializePWideString(t_title); initializePWideString(t_textContent); copyQStringToPWideString(link, t_link); copyQStringToPWideString(title, t_title); copyQStringToPWideString(textContent, t_textContent); (*(func_type)linkHovered_event.func)(linkHovered_event.data, t_link, t_title, t_textContent); finalizePWideString(t_link); finalizePWideString(t_title); finalizePWideString(t_textContent); } } void statusBarMessage_hook(const QString& text) { if ( statusBarMessage_event.func ) { typedef void (*func_type)(void *data, PWideString text); PWideString t_text; initializePWideString(t_text); copyQStringToPWideString(text, t_text); (*(func_type)statusBarMessage_event.func)(statusBarMessage_event.data, t_text); finalizePWideString(t_text); } } void selectionChanged_hook() { if ( selectionChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)selectionChanged_event.func)(selectionChanged_event.data); } } void frameCreated_hook(QWebFrame* frame) { if ( frameCreated_event.func ) { typedef void (*func_type)(void *data, QWebFrameH frame); (*(func_type)frameCreated_event.func)(frameCreated_event.data, (QWebFrameH)frame); } } void geometryChangeRequested_hook(const QRect& geom) { if ( geometryChangeRequested_event.func ) { typedef void (*func_type)(void *data, PRect geom); PRect t_geom; copyQRectToPRect(geom, t_geom); (*(func_type)geometryChangeRequested_event.func)(geometryChangeRequested_event.data, t_geom); } } void repaintRequested_hook(const QRect& dirtyRect) { if ( repaintRequested_event.func ) { typedef void (*func_type)(void *data, PRect dirtyRect); PRect t_dirtyRect; copyQRectToPRect(dirtyRect, t_dirtyRect); (*(func_type)repaintRequested_event.func)(repaintRequested_event.data, t_dirtyRect); } } void scrollRequested_hook(int dx, int dy, const QRect& scrollViewRect) { if ( scrollRequested_event.func ) { typedef void (*func_type)(void *data, int dx, int dy, PRect scrollViewRect); PRect t_scrollViewRect; copyQRectToPRect(scrollViewRect, t_scrollViewRect); (*(func_type)scrollRequested_event.func)(scrollRequested_event.data, dx, dy, t_scrollViewRect); } } void windowCloseRequested_hook() { if ( windowCloseRequested_event.func ) { typedef void (*func_type)(void *data); (*(func_type)windowCloseRequested_event.func)(windowCloseRequested_event.data); } } void printRequested_hook(QWebFrame* frame) { if ( printRequested_event.func ) { typedef void (*func_type)(void *data, QWebFrameH frame); (*(func_type)printRequested_event.func)(printRequested_event.data, (QWebFrameH)frame); } } void linkClicked_hook(const QUrl& url) { if ( linkClicked_event.func ) { typedef void (*func_type)(void *data, const QUrlH url); (*(func_type)linkClicked_event.func)(linkClicked_event.data, (const QUrlH)&url); } } void toolBarVisibilityChangeRequested_hook(bool visible) { if ( toolBarVisibilityChangeRequested_event.func ) { typedef void (*func_type)(void *data, bool visible); (*(func_type)toolBarVisibilityChangeRequested_event.func)(toolBarVisibilityChangeRequested_event.data, visible); } } void statusBarVisibilityChangeRequested_hook(bool visible) { if ( statusBarVisibilityChangeRequested_event.func ) { typedef void (*func_type)(void *data, bool visible); (*(func_type)statusBarVisibilityChangeRequested_event.func)(statusBarVisibilityChangeRequested_event.data, visible); } } void menuBarVisibilityChangeRequested_hook(bool visible) { if ( menuBarVisibilityChangeRequested_event.func ) { typedef void (*func_type)(void *data, bool visible); (*(func_type)menuBarVisibilityChangeRequested_event.func)(menuBarVisibilityChangeRequested_event.data, visible); } } void unsupportedContent_hook(QNetworkReply* reply) { if ( unsupportedContent_event.func ) { typedef void (*func_type)(void *data, QNetworkReplyH reply); (*(func_type)unsupportedContent_event.func)(unsupportedContent_event.data, (QNetworkReplyH)reply); } } void downloadRequested_hook(const QNetworkRequest& request) { if ( downloadRequested_event.func ) { typedef void (*func_type)(void *data, const QNetworkRequestH request); (*(func_type)downloadRequested_event.func)(downloadRequested_event.data, (const QNetworkRequestH)&request); } } void microFocusChanged_hook() { if ( microFocusChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)microFocusChanged_event.func)(microFocusChanged_event.data); } } void contentsChanged_hook() { if ( contentsChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)contentsChanged_event.func)(contentsChanged_event.data); } } void databaseQuotaExceeded_hook(QWebFrame* frame, QString databaseName) { if ( databaseQuotaExceeded_event.func ) { typedef void (*func_type)(void *data, QWebFrameH frame, PWideString databaseName); PWideString t_databaseName; initializePWideString(t_databaseName); copyQStringToPWideString(databaseName, t_databaseName); (*(func_type)databaseQuotaExceeded_event.func)(databaseQuotaExceeded_event.data, (QWebFrameH)frame, t_databaseName); finalizePWideString(t_databaseName); } } void saveFrameStateRequested_hook(QWebFrame* frame, QWebHistoryItem* item) { if ( saveFrameStateRequested_event.func ) { typedef void (*func_type)(void *data, QWebFrameH frame, QWebHistoryItemH item); (*(func_type)saveFrameStateRequested_event.func)(saveFrameStateRequested_event.data, (QWebFrameH)frame, (QWebHistoryItemH)item); } } void restoreFrameStateRequested_hook(QWebFrame* frame) { if ( restoreFrameStateRequested_event.func ) { typedef void (*func_type)(void *data, QWebFrameH frame); (*(func_type)restoreFrameStateRequested_event.func)(restoreFrameStateRequested_event.data, (QWebFrameH)frame); } } private: QHook loadStarted_event; QHook loadProgress_event; QHook loadFinished_event; QHook linkHovered_event; QHook statusBarMessage_event; QHook selectionChanged_event; QHook frameCreated_event; QHook geometryChangeRequested_event; QHook repaintRequested_event; QHook scrollRequested_event; QHook windowCloseRequested_event; QHook printRequested_event; QHook linkClicked_event; QHook toolBarVisibilityChangeRequested_event; QHook statusBarVisibilityChangeRequested_event; QHook menuBarVisibilityChangeRequested_event; QHook unsupportedContent_event; QHook downloadRequested_event; QHook microFocusChanged_event; QHook contentsChanged_event; QHook databaseQuotaExceeded_event; QHook saveFrameStateRequested_event; QHook restoreFrameStateRequested_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstylefactory_c.cpp0000664000212600021260000000143511677135472020755 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qstylefactory_c.h" void QStyleFactory_keys(QStringListH retval) { *(QStringList *)retval = QStyleFactory::keys(); } QStyleH QStyleFactory_create(PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); return (QStyleH) QStyleFactory::create(t_AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstackedwidget_c.h0000664000212600021260000000270611677135472020516 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTACKEDWIDGET_C_H #define QSTACKEDWIDGET_C_H #include #include "pascalbind.h" C_EXPORT QStackedWidgetH QStackedWidget_create(QWidgetH parent); C_EXPORT void QStackedWidget_destroy(QStackedWidgetH handle); C_EXPORT int QStackedWidget_addWidget(QStackedWidgetH handle, QWidgetH w); C_EXPORT int QStackedWidget_insertWidget(QStackedWidgetH handle, int index, QWidgetH w); C_EXPORT void QStackedWidget_removeWidget(QStackedWidgetH handle, QWidgetH w); C_EXPORT QWidgetH QStackedWidget_currentWidget(QStackedWidgetH handle); C_EXPORT int QStackedWidget_currentIndex(QStackedWidgetH handle); C_EXPORT int QStackedWidget_indexOf(QStackedWidgetH handle, QWidgetH AnonParam1); C_EXPORT QWidgetH QStackedWidget_widget(QStackedWidgetH handle, int AnonParam1); C_EXPORT int QStackedWidget_count(QStackedWidgetH handle); C_EXPORT void QStackedWidget_setCurrentIndex(QStackedWidgetH handle, int index); C_EXPORT void QStackedWidget_setCurrentWidget(QStackedWidgetH handle, QWidgetH w); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebview_hook_c.cpp0000664000212600021260000000355611677135472020723 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebview_hook_c.h" QWebView_hookH QWebView_hook_create(QObjectH handle) { return (QWebView_hookH) new QWebView_hook((QObject*)handle); } void QWebView_hook_destroy(QWebView_hookH handle) { delete (QWebView_hook *)handle; } void QWebView_hook_hook_loadStarted(QWebView_hookH handle, QHookH hook) { ((QWebView_hook *)handle)->hook_loadStarted(hook); } void QWebView_hook_hook_loadProgress(QWebView_hookH handle, QHookH hook) { ((QWebView_hook *)handle)->hook_loadProgress(hook); } void QWebView_hook_hook_loadFinished(QWebView_hookH handle, QHookH hook) { ((QWebView_hook *)handle)->hook_loadFinished(hook); } void QWebView_hook_hook_titleChanged(QWebView_hookH handle, QHookH hook) { ((QWebView_hook *)handle)->hook_titleChanged(hook); } void QWebView_hook_hook_statusBarMessage(QWebView_hookH handle, QHookH hook) { ((QWebView_hook *)handle)->hook_statusBarMessage(hook); } void QWebView_hook_hook_linkClicked(QWebView_hookH handle, QHookH hook) { ((QWebView_hook *)handle)->hook_linkClicked(hook); } void QWebView_hook_hook_selectionChanged(QWebView_hookH handle, QHookH hook) { ((QWebView_hook *)handle)->hook_selectionChanged(hook); } void QWebView_hook_hook_iconChanged(QWebView_hookH handle, QHookH hook) { ((QWebView_hook *)handle)->hook_iconChanged(hook); } void QWebView_hook_hook_urlChanged(QWebView_hookH handle, QHookH hook) { ((QWebView_hook *)handle)->hook_urlChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsslsocket_c.h0000664000212600021260000000745611677135472017715 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSSLSOCKET_C_H #define QSSLSOCKET_C_H #include #include "pascalbind.h" C_EXPORT QSslSocketH QSslSocket_create(QObjectH parent); C_EXPORT void QSslSocket_destroy(QSslSocketH handle); C_EXPORT void QSslSocket_connectToHostEncrypted(QSslSocketH handle, PWideString hostName, quint16 port, unsigned int mode); C_EXPORT QSslSocket::SslMode QSslSocket_mode(QSslSocketH handle); C_EXPORT bool QSslSocket_isEncrypted(QSslSocketH handle); C_EXPORT QSsl::SslProtocol QSslSocket_protocol(QSslSocketH handle); C_EXPORT void QSslSocket_setProtocol(QSslSocketH handle, QSsl::SslProtocol protocol); C_EXPORT QSslSocket::PeerVerifyMode QSslSocket_peerVerifyMode(QSslSocketH handle); C_EXPORT void QSslSocket_setPeerVerifyMode(QSslSocketH handle, QSslSocket::PeerVerifyMode mode); C_EXPORT int QSslSocket_peerVerifyDepth(QSslSocketH handle); C_EXPORT void QSslSocket_setPeerVerifyDepth(QSslSocketH handle, int depth); C_EXPORT qint64 QSslSocket_bytesAvailable(QSslSocketH handle); C_EXPORT qint64 QSslSocket_bytesToWrite(QSslSocketH handle); C_EXPORT bool QSslSocket_canReadLine(QSslSocketH handle); C_EXPORT void QSslSocket_close(QSslSocketH handle); C_EXPORT bool QSslSocket_atEnd(QSslSocketH handle); C_EXPORT bool QSslSocket_flush(QSslSocketH handle); C_EXPORT void QSslSocket_abort(QSslSocketH handle); C_EXPORT void QSslSocket_setReadBufferSize(QSslSocketH handle, qint64 size); C_EXPORT qint64 QSslSocket_encryptedBytesAvailable(QSslSocketH handle); C_EXPORT qint64 QSslSocket_encryptedBytesToWrite(QSslSocketH handle); C_EXPORT void QSslSocket_sslConfiguration(QSslSocketH handle, QSslConfigurationH retval); C_EXPORT void QSslSocket_setSslConfiguration(QSslSocketH handle, const QSslConfigurationH config); C_EXPORT void QSslSocket_setLocalCertificate(QSslSocketH handle, const QSslCertificateH certificate); C_EXPORT void QSslSocket_setLocalCertificate2(QSslSocketH handle, PWideString fileName, QSsl::EncodingFormat format); C_EXPORT void QSslSocket_localCertificate(QSslSocketH handle, QSslCertificateH retval); C_EXPORT void QSslSocket_peerCertificate(QSslSocketH handle, QSslCertificateH retval); C_EXPORT void QSslSocket_sessionCipher(QSslSocketH handle, QSslCipherH retval); C_EXPORT void QSslSocket_setPrivateKey(QSslSocketH handle, const QSslKeyH key); C_EXPORT void QSslSocket_setPrivateKey2(QSslSocketH handle, PWideString fileName, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, const QByteArrayH passPhrase); C_EXPORT void QSslSocket_privateKey(QSslSocketH handle, QSslKeyH retval); C_EXPORT void QSslSocket_setCiphers(QSslSocketH handle, PWideString ciphers); C_EXPORT void QSslSocket_addCaCertificate(QSslSocketH handle, const QSslCertificateH certificate); C_EXPORT void QSslSocket_addDefaultCaCertificate(const QSslCertificateH certificate); C_EXPORT bool QSslSocket_waitForConnected(QSslSocketH handle, int msecs); C_EXPORT bool QSslSocket_waitForEncrypted(QSslSocketH handle, int msecs); C_EXPORT bool QSslSocket_waitForReadyRead(QSslSocketH handle, int msecs); C_EXPORT bool QSslSocket_waitForBytesWritten(QSslSocketH handle, int msecs); C_EXPORT bool QSslSocket_waitForDisconnected(QSslSocketH handle, int msecs); C_EXPORT bool QSslSocket_supportsSsl(); C_EXPORT void QSslSocket_startClientEncryption(QSslSocketH handle); C_EXPORT void QSslSocket_startServerEncryption(QSslSocketH handle); C_EXPORT void QSslSocket_ignoreSslErrors(QSslSocketH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclnetworkcookie.h0000644000212600021260000000146311677135472020745 0ustar janjan#ifndef QLCLNETWORKCOOKIEJAR_H #define QLCLNETWORKCOOKIEJAR_H #include class QLCLNetworkCookieJar : public QNetworkCookieJar { public: //==================================================================================== QLCLNetworkCookieJar(QObject *parent = 0) : QNetworkCookieJar(parent) { }; //==================================================================================== void setRawCookies(const char* rawCookies) { setAllCookies(QNetworkCookie::parseCookies(QByteArray(rawCookies))); } //==================================================================================== void getRawCookies(QByteArray * rawCookies) { foreach (QNetworkCookie cookie, allCookies()) { *rawCookies += cookie.toRawForm() + QByteArray(" \n "); } } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpaintdevice_c.h0000664000212600021260000000275011677135472020166 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPAINTDEVICE_C_H #define QPAINTDEVICE_C_H #include #include "pascalbind.h" C_EXPORT int QPaintDevice_devType(QPaintDeviceH handle); C_EXPORT bool QPaintDevice_paintingActive(QPaintDeviceH handle); C_EXPORT QPaintEngineH QPaintDevice_paintEngine(QPaintDeviceH handle); C_EXPORT int QPaintDevice_width(QPaintDeviceH handle); C_EXPORT int QPaintDevice_height(QPaintDeviceH handle); C_EXPORT int QPaintDevice_widthMM(QPaintDeviceH handle); C_EXPORT int QPaintDevice_heightMM(QPaintDeviceH handle); C_EXPORT int QPaintDevice_logicalDpiX(QPaintDeviceH handle); C_EXPORT int QPaintDevice_logicalDpiY(QPaintDeviceH handle); C_EXPORT int QPaintDevice_physicalDpiX(QPaintDeviceH handle); C_EXPORT int QPaintDevice_physicalDpiY(QPaintDeviceH handle); C_EXPORT int QPaintDevice_numColors(QPaintDeviceH handle); C_EXPORT int QPaintDevice_depth(QPaintDeviceH handle); #if defined MSWINDOWS C_EXPORT HDC QPaintDevice_getDC(QPaintDeviceH handle); C_EXPORT void QPaintDevice_releaseDC(QPaintDeviceH handle, HDC hdc); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcombobox_hook_c.cpp0000664000212600021260000000322711677135472021056 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qcombobox_hook_c.h" QComboBox_hookH QComboBox_hook_create(QObjectH handle) { return (QComboBox_hookH) new QComboBox_hook((QObject*)handle); } void QComboBox_hook_destroy(QComboBox_hookH handle) { delete (QComboBox_hook *)handle; } void QComboBox_hook_hook_editTextChanged(QComboBox_hookH handle, QHookH hook) { ((QComboBox_hook *)handle)->hook_editTextChanged(hook); } void QComboBox_hook_hook_activated(QComboBox_hookH handle, QHookH hook) { ((QComboBox_hook *)handle)->hook_activated(hook); } void QComboBox_hook_hook_activated2(QComboBox_hookH handle, QHookH hook) { ((QComboBox_hook *)handle)->hook_activated2(hook); } void QComboBox_hook_hook_highlighted(QComboBox_hookH handle, QHookH hook) { ((QComboBox_hook *)handle)->hook_highlighted(hook); } void QComboBox_hook_hook_highlighted2(QComboBox_hookH handle, QHookH hook) { ((QComboBox_hook *)handle)->hook_highlighted2(hook); } void QComboBox_hook_hook_currentIndexChanged(QComboBox_hookH handle, QHookH hook) { ((QComboBox_hook *)handle)->hook_currentIndexChanged(hook); } void QComboBox_hook_hook_currentIndexChanged2(QComboBox_hookH handle, QHookH hook) { ((QComboBox_hook *)handle)->hook_currentIndexChanged2(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qslider_c.cpp0000664000212600021260000000313111677135472017502 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qslider_c.h" QSliderH QSlider_create(QWidgetH parent) { return (QSliderH) new QSlider((QWidget*)parent); } void QSlider_destroy(QSliderH handle) { delete (QSlider *)handle; } QSliderH QSlider_create2(Qt::Orientation orientation, QWidgetH parent) { return (QSliderH) new QSlider(orientation, (QWidget*)parent); } void QSlider_sizeHint(QSliderH handle, PSize retval) { *(QSize *)retval = ((QSlider *)handle)->sizeHint(); } void QSlider_minimumSizeHint(QSliderH handle, PSize retval) { *(QSize *)retval = ((QSlider *)handle)->minimumSizeHint(); } void QSlider_setTickPosition(QSliderH handle, QSlider::TickPosition position) { ((QSlider *)handle)->setTickPosition(position); } QSlider::TickPosition QSlider_tickPosition(QSliderH handle) { return (QSlider::TickPosition) ((QSlider *)handle)->tickPosition(); } void QSlider_setTickInterval(QSliderH handle, int ti) { ((QSlider *)handle)->setTickInterval(ti); } int QSlider_tickInterval(QSliderH handle) { return (int) ((QSlider *)handle)->tickInterval(); } bool QSlider_event(QSliderH handle, QEventH event) { return (bool) ((QSlider *)handle)->event((QEvent*)event); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmenubar_c.cpp0000664000212600021260000000757011677135472017664 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qmenubar_c.h" QMenuBarH QMenuBar_create(QWidgetH parent) { return (QMenuBarH) new QMenuBar((QWidget*)parent); } void QMenuBar_destroy(QMenuBarH handle) { delete (QMenuBar *)handle; } QActionH QMenuBar_addAction(QMenuBarH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (QActionH) ((QMenuBar *)handle)->addAction(t_text); } QActionH QMenuBar_addAction2(QMenuBarH handle, PWideString text, const QObjectH receiver, const char* member) { QString t_text; copyPWideStringToQString(text, t_text); return (QActionH) ((QMenuBar *)handle)->addAction(t_text, (const QObject*)receiver, member); } QActionH QMenuBar_addMenu(QMenuBarH handle, QMenuH menu) { return (QActionH) ((QMenuBar *)handle)->addMenu((QMenu*)menu); } QMenuH QMenuBar_addMenu2(QMenuBarH handle, PWideString title) { QString t_title; copyPWideStringToQString(title, t_title); return (QMenuH) ((QMenuBar *)handle)->addMenu(t_title); } QMenuH QMenuBar_addMenu3(QMenuBarH handle, const QIconH icon, PWideString title) { QString t_title; copyPWideStringToQString(title, t_title); return (QMenuH) ((QMenuBar *)handle)->addMenu(*(const QIcon*)icon, t_title); } QActionH QMenuBar_addSeparator(QMenuBarH handle) { return (QActionH) ((QMenuBar *)handle)->addSeparator(); } QActionH QMenuBar_insertSeparator(QMenuBarH handle, QActionH before) { return (QActionH) ((QMenuBar *)handle)->insertSeparator((QAction*)before); } QActionH QMenuBar_insertMenu(QMenuBarH handle, QActionH before, QMenuH menu) { return (QActionH) ((QMenuBar *)handle)->insertMenu((QAction*)before, (QMenu*)menu); } void QMenuBar_clear(QMenuBarH handle) { ((QMenuBar *)handle)->clear(); } QActionH QMenuBar_activeAction(QMenuBarH handle) { return (QActionH) ((QMenuBar *)handle)->activeAction(); } void QMenuBar_setActiveAction(QMenuBarH handle, QActionH action) { ((QMenuBar *)handle)->setActiveAction((QAction*)action); } void QMenuBar_setDefaultUp(QMenuBarH handle, bool AnonParam1) { ((QMenuBar *)handle)->setDefaultUp(AnonParam1); } bool QMenuBar_isDefaultUp(QMenuBarH handle) { return (bool) ((QMenuBar *)handle)->isDefaultUp(); } void QMenuBar_sizeHint(QMenuBarH handle, PSize retval) { *(QSize *)retval = ((QMenuBar *)handle)->sizeHint(); } void QMenuBar_minimumSizeHint(QMenuBarH handle, PSize retval) { *(QSize *)retval = ((QMenuBar *)handle)->minimumSizeHint(); } int QMenuBar_heightForWidth(QMenuBarH handle, int AnonParam1) { return (int) ((QMenuBar *)handle)->heightForWidth(AnonParam1); } void QMenuBar_actionGeometry(QMenuBarH handle, PRect retval, QActionH AnonParam1) { QRect t_retval; t_retval = ((QMenuBar *)handle)->actionGeometry((QAction*)AnonParam1); copyQRectToPRect(t_retval, retval); } QActionH QMenuBar_actionAt(QMenuBarH handle, const QPointH AnonParam1) { return (QActionH) ((QMenuBar *)handle)->actionAt(*(const QPoint*)AnonParam1); } void QMenuBar_setCornerWidget(QMenuBarH handle, QWidgetH w, Qt::Corner corner) { ((QMenuBar *)handle)->setCornerWidget((QWidget*)w, corner); } QWidgetH QMenuBar_cornerWidget(QMenuBarH handle, Qt::Corner corner) { return (QWidgetH) ((QMenuBar *)handle)->cornerWidget(corner); } void QMenuBar_setVisible(QMenuBarH handle, bool visible) { ((QMenuBar *)handle)->setVisible(visible); } #if defined DARWIN void * QMenuBar_macMenu(QMenuBarH handle) { return (void *) ((QMenuBar *)handle)->macMenu(); } bool QMenuBar_macUpdateMenuBar() { return (bool) QMenuBar::macUpdateMenuBar(); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprinterinfo_c.cpp0000664000212600021260000000356111677135472020566 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qprinterinfo_c.h" QPrinterInfoH QPrinterInfo_create() { return (QPrinterInfoH) new QPrinterInfo(); } void QPrinterInfo_destroy(QPrinterInfoH handle) { delete (QPrinterInfo *)handle; } QPrinterInfoH QPrinterInfo_create2(const QPrinterInfoH src) { return (QPrinterInfoH) new QPrinterInfo(*(const QPrinterInfo*)src); } QPrinterInfoH QPrinterInfo_create3(const QPrinterH printer) { return (QPrinterInfoH) new QPrinterInfo(*(const QPrinter*)printer); } void QPrinterInfo_printerName(QPrinterInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QPrinterInfo *)handle)->printerName(); copyQStringToPWideString(t_retval, retval); } bool QPrinterInfo_isNull(QPrinterInfoH handle) { return (bool) ((QPrinterInfo *)handle)->isNull(); } bool QPrinterInfo_isDefault(QPrinterInfoH handle) { return (bool) ((QPrinterInfo *)handle)->isDefault(); } void QPrinterInfo_supportedPaperSizes(QPrinterInfoH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QPrinterInfo *)handle)->supportedPaperSizes(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QPrinterInfo_availablePrinters(PPtrIntArray retval) { QList t_retval; t_retval = QPrinterInfo::availablePrinters(); copyQListTemplateToPtrIntArrayWithNew(t_retval, retval); } void QPrinterInfo_defaultPrinter(QPrinterInfoH retval) { *(QPrinterInfo *)retval = QPrinterInfo::defaultPrinter(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclabstractspinbox_c.cpp0000664000212600021260000000126711677135472022131 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlclabstractspinbox_c.h" QLineEditH QLCLAbstractSpinBox_lineEditHandle(QAbstractSpinBoxH protectedhandle) { return (QLineEditH) QLCLAbstractSpinBox::lineEditHandle((QAbstractSpinBox*)protectedhandle); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextedit_hook_c.h0000664000212600021260000000245011677135472020542 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTEXTEDIT_HOOK_C_H #define QTEXTEDIT_HOOK_C_H #include "qtextedit_hook.h" C_EXPORT QTextEdit_hookH QTextEdit_hook_create(QObjectH handle); C_EXPORT void QTextEdit_hook_destroy(QTextEdit_hookH handle); C_EXPORT void QTextEdit_hook_hook_textChanged(QTextEdit_hookH handle, QHookH hook); C_EXPORT void QTextEdit_hook_hook_undoAvailable(QTextEdit_hookH handle, QHookH hook); C_EXPORT void QTextEdit_hook_hook_redoAvailable(QTextEdit_hookH handle, QHookH hook); C_EXPORT void QTextEdit_hook_hook_currentCharFormatChanged(QTextEdit_hookH handle, QHookH hook); C_EXPORT void QTextEdit_hook_hook_copyAvailable(QTextEdit_hookH handle, QHookH hook); C_EXPORT void QTextEdit_hook_hook_selectionChanged(QTextEdit_hookH handle, QHookH hook); C_EXPORT void QTextEdit_hook_hook_cursorPositionChanged(QTextEdit_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebdatabase_hook.h0000664000212600021260000000134511677135472020652 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBDATABASE_HOOK_H #define QWEBDATABASE_HOOK_H #include #include "qobject_hook.h" class QWebDatabase_hook : public QObject_hook { Q_OBJECT public: QWebDatabase_hook(QObject *handle) : QObject_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextoption_c.cpp0000664000212600021260000000546111677135472020445 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtextoption_c.h" QTextOptionH QTextOption_create() { return (QTextOptionH) new QTextOption(); } void QTextOption_destroy(QTextOptionH handle) { delete (QTextOption *)handle; } QTextOptionH QTextOption_create2(unsigned int alignment) { return (QTextOptionH) new QTextOption((Qt::Alignment)alignment); } QTextOptionH QTextOption_create3(const QTextOptionH o) { return (QTextOptionH) new QTextOption(*(const QTextOption*)o); } void QTextOption_setAlignment(QTextOptionH handle, unsigned int alignment) { ((QTextOption *)handle)->setAlignment((Qt::Alignment)alignment); } unsigned int QTextOption_alignment(QTextOptionH handle) { return (unsigned int) ((QTextOption *)handle)->alignment(); } void QTextOption_setTextDirection(QTextOptionH handle, Qt::LayoutDirection aDirection) { ((QTextOption *)handle)->setTextDirection(aDirection); } Qt::LayoutDirection QTextOption_textDirection(QTextOptionH handle) { return (Qt::LayoutDirection) ((QTextOption *)handle)->textDirection(); } void QTextOption_setWrapMode(QTextOptionH handle, QTextOption::WrapMode wrap) { ((QTextOption *)handle)->setWrapMode(wrap); } QTextOption::WrapMode QTextOption_wrapMode(QTextOptionH handle) { return (QTextOption::WrapMode) ((QTextOption *)handle)->wrapMode(); } void QTextOption_setFlags(QTextOptionH handle, unsigned int flags) { ((QTextOption *)handle)->setFlags((QTextOption::Flags)flags); } unsigned int QTextOption_flags(QTextOptionH handle) { return (unsigned int) ((QTextOption *)handle)->flags(); } void QTextOption_setTabStop(QTextOptionH handle, qreal tabStop) { ((QTextOption *)handle)->setTabStop(tabStop); } qreal QTextOption_tabStop(QTextOptionH handle) { return (qreal) ((QTextOption *)handle)->tabStop(); } void QTextOption_setTabArray(QTextOptionH handle, PPtrIntArray tabStops) { QList t_tabStops; copyPtrIntArrayToQListTemplate(tabStops, t_tabStops); ((QTextOption *)handle)->setTabArray(t_tabStops); } void QTextOption_tabArray(QTextOptionH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QTextOption *)handle)->tabArray(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QTextOption_setUseDesignMetrics(QTextOptionH handle, bool b) { ((QTextOption *)handle)->setUseDesignMetrics(b); } bool QTextOption_useDesignMetrics(QTextOptionH handle) { return (bool) ((QTextOption *)handle)->useDesignMetrics(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qitemeditorfactory_c.h0000664000212600021260000000265611677135472021435 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QITEMEDITORFACTORY_C_H #define QITEMEDITORFACTORY_C_H #include #include "pascalbind.h" C_EXPORT QWidgetH QItemEditorCreatorBase_createWidget(QItemEditorCreatorBaseH handle, QWidgetH parent); C_EXPORT void QItemEditorCreatorBase_valuePropertyName(QItemEditorCreatorBaseH handle, QByteArrayH retval); C_EXPORT QItemEditorFactoryH QItemEditorFactory_create(); C_EXPORT void QItemEditorFactory_destroy(QItemEditorFactoryH handle); C_EXPORT QWidgetH QItemEditorFactory_createEditor(QItemEditorFactoryH handle, QVariant::Type type, QWidgetH parent); C_EXPORT void QItemEditorFactory_valuePropertyName(QItemEditorFactoryH handle, QByteArrayH retval, QVariant::Type type); C_EXPORT void QItemEditorFactory_registerEditor(QItemEditorFactoryH handle, QVariant::Type type, QItemEditorCreatorBaseH creator); C_EXPORT const QItemEditorFactoryH QItemEditorFactory_defaultFactory(); C_EXPORT void QItemEditorFactory_setDefaultFactory(QItemEditorFactoryH factory); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtimer_hook.h0000664000212600021260000000234211677135472017526 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTIMER_HOOK_H #define QTIMER_HOOK_H #include #include "qobject_hook.h" class QTimer_hook : public QObject_hook { Q_OBJECT public: QTimer_hook(QObject *handle) : QObject_hook(handle) { timeout_event.func = NULL; } void hook_timeout(QHook &hook) { if ( !timeout_event.func ) connect(handle, SIGNAL(timeout()), this, SLOT(timeout_hook())); timeout_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(timeout()), this, SLOT(timeout_hook())); } private slots: void timeout_hook() { if ( timeout_event.func ) { typedef void (*func_type)(void *data); (*(func_type)timeout_event.func)(timeout_event.data); } } private: QHook timeout_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qscrollbar_hook.h0000664000212600021260000000136311677135472020373 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSCROLLBAR_HOOK_H #define QSCROLLBAR_HOOK_H #include #include "qabstractslider_hook.h" class QScrollBar_hook : public QAbstractSlider_hook { Q_OBJECT public: QScrollBar_hook(QObject *handle) : QAbstractSlider_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintpreviewdialog_c.cpp0000664000212600021260000000310711677135472022141 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qprintpreviewdialog_c.h" QPrintPreviewDialogH QPrintPreviewDialog_create(QWidgetH parent, unsigned int flags) { return (QPrintPreviewDialogH) new QPrintPreviewDialog((QWidget*)parent, (Qt::WindowFlags)flags); } void QPrintPreviewDialog_destroy(QPrintPreviewDialogH handle) { delete (QPrintPreviewDialog *)handle; } QPrintPreviewDialogH QPrintPreviewDialog_create2(QPrinterH printer, QWidgetH parent, unsigned int flags) { return (QPrintPreviewDialogH) new QPrintPreviewDialog((QPrinter*)printer, (QWidget*)parent, (Qt::WindowFlags)flags); } void QPrintPreviewDialog_open(QPrintPreviewDialogH handle, QObjectH receiver, const char* member) { ((QPrintPreviewDialog *)handle)->open((QObject*)receiver, member); } QPrinterH QPrintPreviewDialog_printer(QPrintPreviewDialogH handle) { return (QPrinterH) ((QPrintPreviewDialog *)handle)->printer(); } void QPrintPreviewDialog_setVisible(QPrintPreviewDialogH handle, bool visible) { ((QPrintPreviewDialog *)handle)->setVisible(visible); } void QPrintPreviewDialog_done(QPrintPreviewDialogH handle, int result) { ((QPrintPreviewDialog *)handle)->done(result); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfontdatabase_c.h0000664000212600021260000000605311677135472020326 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFONTDATABASE_C_H #define QFONTDATABASE_C_H #include #include "pascalbind.h" C_EXPORT void QFontDatabase_standardSizes(PPtrIntArray retval); C_EXPORT QFontDatabaseH QFontDatabase_create(); C_EXPORT void QFontDatabase_destroy(QFontDatabaseH handle); C_EXPORT void QFontDatabase_writingSystems(QFontDatabaseH handle, PPtrIntArray retval); C_EXPORT void QFontDatabase_writingSystems2(QFontDatabaseH handle, PPtrIntArray retval, PWideString family); C_EXPORT void QFontDatabase_families(QFontDatabaseH handle, QStringListH retval, QFontDatabase::WritingSystem writingSystem); C_EXPORT void QFontDatabase_styles(QFontDatabaseH handle, QStringListH retval, PWideString family); C_EXPORT void QFontDatabase_pointSizes(QFontDatabaseH handle, PPtrIntArray retval, PWideString family, PWideString style); C_EXPORT void QFontDatabase_smoothSizes(QFontDatabaseH handle, PPtrIntArray retval, PWideString family, PWideString style); C_EXPORT void QFontDatabase_styleString(QFontDatabaseH handle, PWideString retval, const QFontH font); C_EXPORT void QFontDatabase_styleString2(QFontDatabaseH handle, PWideString retval, const QFontInfoH fontInfo); C_EXPORT void QFontDatabase_font(QFontDatabaseH handle, QFontH retval, PWideString family, PWideString style, int pointSize); C_EXPORT bool QFontDatabase_isBitmapScalable(QFontDatabaseH handle, PWideString family, PWideString style); C_EXPORT bool QFontDatabase_isSmoothlyScalable(QFontDatabaseH handle, PWideString family, PWideString style); C_EXPORT bool QFontDatabase_isScalable(QFontDatabaseH handle, PWideString family, PWideString style); C_EXPORT bool QFontDatabase_isFixedPitch(QFontDatabaseH handle, PWideString family, PWideString style); C_EXPORT bool QFontDatabase_italic(QFontDatabaseH handle, PWideString family, PWideString style); C_EXPORT bool QFontDatabase_bold(QFontDatabaseH handle, PWideString family, PWideString style); C_EXPORT int QFontDatabase_weight(QFontDatabaseH handle, PWideString family, PWideString style); C_EXPORT void QFontDatabase_writingSystemName(PWideString retval, QFontDatabase::WritingSystem writingSystem); C_EXPORT void QFontDatabase_writingSystemSample(PWideString retval, QFontDatabase::WritingSystem writingSystem); C_EXPORT int QFontDatabase_addApplicationFont(PWideString fileName); C_EXPORT int QFontDatabase_addApplicationFontFromData(const QByteArrayH fontData); C_EXPORT void QFontDatabase_applicationFontFamilies(QStringListH retval, int id); C_EXPORT bool QFontDatabase_removeApplicationFont(int id); C_EXPORT bool QFontDatabase_removeAllApplicationFonts(); C_EXPORT bool QFontDatabase_supportsThreadedFontRendering(); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractscrollarea_c.h0000664000212600021260000000465011677135472021547 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTSCROLLAREA_C_H #define QABSTRACTSCROLLAREA_C_H #include #include "pascalbind.h" C_EXPORT QAbstractScrollAreaH QAbstractScrollArea_create(QWidgetH parent); C_EXPORT void QAbstractScrollArea_destroy(QAbstractScrollAreaH handle); C_EXPORT Qt::ScrollBarPolicy QAbstractScrollArea_verticalScrollBarPolicy(QAbstractScrollAreaH handle); C_EXPORT void QAbstractScrollArea_setVerticalScrollBarPolicy(QAbstractScrollAreaH handle, Qt::ScrollBarPolicy AnonParam1); C_EXPORT QScrollBarH QAbstractScrollArea_verticalScrollBar(QAbstractScrollAreaH handle); C_EXPORT void QAbstractScrollArea_setVerticalScrollBar(QAbstractScrollAreaH handle, QScrollBarH scrollbar); C_EXPORT Qt::ScrollBarPolicy QAbstractScrollArea_horizontalScrollBarPolicy(QAbstractScrollAreaH handle); C_EXPORT void QAbstractScrollArea_setHorizontalScrollBarPolicy(QAbstractScrollAreaH handle, Qt::ScrollBarPolicy AnonParam1); C_EXPORT QScrollBarH QAbstractScrollArea_horizontalScrollBar(QAbstractScrollAreaH handle); C_EXPORT void QAbstractScrollArea_setHorizontalScrollBar(QAbstractScrollAreaH handle, QScrollBarH scrollbar); C_EXPORT QWidgetH QAbstractScrollArea_cornerWidget(QAbstractScrollAreaH handle); C_EXPORT void QAbstractScrollArea_setCornerWidget(QAbstractScrollAreaH handle, QWidgetH widget); C_EXPORT void QAbstractScrollArea_addScrollBarWidget(QAbstractScrollAreaH handle, QWidgetH widget, unsigned int alignment); C_EXPORT void QAbstractScrollArea_scrollBarWidgets(QAbstractScrollAreaH handle, PPtrIntArray retval, unsigned int alignment); C_EXPORT QWidgetH QAbstractScrollArea_viewport(QAbstractScrollAreaH handle); C_EXPORT void QAbstractScrollArea_setViewport(QAbstractScrollAreaH handle, QWidgetH widget); C_EXPORT void QAbstractScrollArea_maximumViewportSize(QAbstractScrollAreaH handle, PSize retval); C_EXPORT void QAbstractScrollArea_minimumSizeHint(QAbstractScrollAreaH handle, PSize retval); C_EXPORT void QAbstractScrollArea_sizeHint(QAbstractScrollAreaH handle, PSize retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtabbar_hook_c.h0000664000212600021260000000164211677135472020145 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTABBAR_HOOK_C_H #define QTABBAR_HOOK_C_H #include "qtabbar_hook.h" C_EXPORT QTabBar_hookH QTabBar_hook_create(QObjectH handle); C_EXPORT void QTabBar_hook_destroy(QTabBar_hookH handle); C_EXPORT void QTabBar_hook_hook_currentChanged(QTabBar_hookH handle, QHookH hook); C_EXPORT void QTabBar_hook_hook_tabCloseRequested(QTabBar_hookH handle, QHookH hook); C_EXPORT void QTabBar_hook_hook_tabMoved(QTabBar_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwidget_hook_c.h0000664000212600021260000000141311677135472020171 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWIDGET_HOOK_C_H #define QWIDGET_HOOK_C_H #include "qwidget_hook.h" C_EXPORT QWidget_hookH QWidget_hook_create(QObjectH handle); C_EXPORT void QWidget_hook_destroy(QWidget_hookH handle); C_EXPORT void QWidget_hook_hook_customContextMenuRequested(QWidget_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkproxy_c.cpp0000664000212600021260000001607011677135472021021 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qnetworkproxy_c.h" QNetworkProxyQueryH QNetworkProxyQuery_create() { return (QNetworkProxyQueryH) new QNetworkProxyQuery(); } void QNetworkProxyQuery_destroy(QNetworkProxyQueryH handle) { delete (QNetworkProxyQuery *)handle; } QNetworkProxyQueryH QNetworkProxyQuery_create2(const QUrlH requestUrl, QNetworkProxyQuery::QueryType queryType) { return (QNetworkProxyQueryH) new QNetworkProxyQuery(*(const QUrl*)requestUrl, queryType); } QNetworkProxyQueryH QNetworkProxyQuery_create3(PWideString hostname, int port, PWideString protocolTag, QNetworkProxyQuery::QueryType queryType) { QString t_hostname; QString t_protocolTag; copyPWideStringToQString(hostname, t_hostname); copyPWideStringToQString(protocolTag, t_protocolTag); return (QNetworkProxyQueryH) new QNetworkProxyQuery(t_hostname, port, t_protocolTag, queryType); } QNetworkProxyQueryH QNetworkProxyQuery_create4(quint16 bindPort, PWideString protocolTag, QNetworkProxyQuery::QueryType queryType) { QString t_protocolTag; copyPWideStringToQString(protocolTag, t_protocolTag); return (QNetworkProxyQueryH) new QNetworkProxyQuery(bindPort, t_protocolTag, queryType); } QNetworkProxyQueryH QNetworkProxyQuery_create5(const QNetworkProxyQueryH other) { return (QNetworkProxyQueryH) new QNetworkProxyQuery(*(const QNetworkProxyQuery*)other); } QNetworkProxyQuery::QueryType QNetworkProxyQuery_queryType(QNetworkProxyQueryH handle) { return (QNetworkProxyQuery::QueryType) ((QNetworkProxyQuery *)handle)->queryType(); } void QNetworkProxyQuery_setQueryType(QNetworkProxyQueryH handle, QNetworkProxyQuery::QueryType type) { ((QNetworkProxyQuery *)handle)->setQueryType(type); } int QNetworkProxyQuery_peerPort(QNetworkProxyQueryH handle) { return (int) ((QNetworkProxyQuery *)handle)->peerPort(); } void QNetworkProxyQuery_setPeerPort(QNetworkProxyQueryH handle, int port) { ((QNetworkProxyQuery *)handle)->setPeerPort(port); } void QNetworkProxyQuery_peerHostName(QNetworkProxyQueryH handle, PWideString retval) { QString t_retval; t_retval = ((QNetworkProxyQuery *)handle)->peerHostName(); copyQStringToPWideString(t_retval, retval); } void QNetworkProxyQuery_setPeerHostName(QNetworkProxyQueryH handle, PWideString hostname) { QString t_hostname; copyPWideStringToQString(hostname, t_hostname); ((QNetworkProxyQuery *)handle)->setPeerHostName(t_hostname); } int QNetworkProxyQuery_localPort(QNetworkProxyQueryH handle) { return (int) ((QNetworkProxyQuery *)handle)->localPort(); } void QNetworkProxyQuery_setLocalPort(QNetworkProxyQueryH handle, int port) { ((QNetworkProxyQuery *)handle)->setLocalPort(port); } void QNetworkProxyQuery_protocolTag(QNetworkProxyQueryH handle, PWideString retval) { QString t_retval; t_retval = ((QNetworkProxyQuery *)handle)->protocolTag(); copyQStringToPWideString(t_retval, retval); } void QNetworkProxyQuery_setProtocolTag(QNetworkProxyQueryH handle, PWideString protocolTag) { QString t_protocolTag; copyPWideStringToQString(protocolTag, t_protocolTag); ((QNetworkProxyQuery *)handle)->setProtocolTag(t_protocolTag); } void QNetworkProxyQuery_url(QNetworkProxyQueryH handle, QUrlH retval) { *(QUrl *)retval = ((QNetworkProxyQuery *)handle)->url(); } void QNetworkProxyQuery_setUrl(QNetworkProxyQueryH handle, const QUrlH url) { ((QNetworkProxyQuery *)handle)->setUrl(*(const QUrl*)url); } QNetworkProxyH QNetworkProxy_create() { return (QNetworkProxyH) new QNetworkProxy(); } void QNetworkProxy_destroy(QNetworkProxyH handle) { delete (QNetworkProxy *)handle; } QNetworkProxyH QNetworkProxy_create2(QNetworkProxy::ProxyType type, PWideString hostName, quint16 port, PWideString user, PWideString password) { QString t_hostName; QString t_user; QString t_password; copyPWideStringToQString(hostName, t_hostName); copyPWideStringToQString(user, t_user); copyPWideStringToQString(password, t_password); return (QNetworkProxyH) new QNetworkProxy(type, t_hostName, port, t_user, t_password); } QNetworkProxyH QNetworkProxy_create3(const QNetworkProxyH other) { return (QNetworkProxyH) new QNetworkProxy(*(const QNetworkProxy*)other); } void QNetworkProxy_setType(QNetworkProxyH handle, QNetworkProxy::ProxyType type) { ((QNetworkProxy *)handle)->setType(type); } QNetworkProxy::ProxyType QNetworkProxy_type(QNetworkProxyH handle) { return (QNetworkProxy::ProxyType) ((QNetworkProxy *)handle)->type(); } void QNetworkProxy_setCapabilities(QNetworkProxyH handle, unsigned int capab) { ((QNetworkProxy *)handle)->setCapabilities((QNetworkProxy::Capabilities)capab); } unsigned int QNetworkProxy_capabilities(QNetworkProxyH handle) { return (unsigned int) ((QNetworkProxy *)handle)->capabilities(); } bool QNetworkProxy_isCachingProxy(QNetworkProxyH handle) { return (bool) ((QNetworkProxy *)handle)->isCachingProxy(); } bool QNetworkProxy_isTransparentProxy(QNetworkProxyH handle) { return (bool) ((QNetworkProxy *)handle)->isTransparentProxy(); } void QNetworkProxy_setUser(QNetworkProxyH handle, PWideString userName) { QString t_userName; copyPWideStringToQString(userName, t_userName); ((QNetworkProxy *)handle)->setUser(t_userName); } void QNetworkProxy_user(QNetworkProxyH handle, PWideString retval) { QString t_retval; t_retval = ((QNetworkProxy *)handle)->user(); copyQStringToPWideString(t_retval, retval); } void QNetworkProxy_setPassword(QNetworkProxyH handle, PWideString password) { QString t_password; copyPWideStringToQString(password, t_password); ((QNetworkProxy *)handle)->setPassword(t_password); } void QNetworkProxy_password(QNetworkProxyH handle, PWideString retval) { QString t_retval; t_retval = ((QNetworkProxy *)handle)->password(); copyQStringToPWideString(t_retval, retval); } void QNetworkProxy_setHostName(QNetworkProxyH handle, PWideString hostName) { QString t_hostName; copyPWideStringToQString(hostName, t_hostName); ((QNetworkProxy *)handle)->setHostName(t_hostName); } void QNetworkProxy_hostName(QNetworkProxyH handle, PWideString retval) { QString t_retval; t_retval = ((QNetworkProxy *)handle)->hostName(); copyQStringToPWideString(t_retval, retval); } void QNetworkProxy_setPort(QNetworkProxyH handle, quint16 port) { ((QNetworkProxy *)handle)->setPort(port); } quint16 QNetworkProxy_port(QNetworkProxyH handle) { return (quint16) ((QNetworkProxy *)handle)->port(); } void QNetworkProxy_setApplicationProxy(const QNetworkProxyH proxy) { QNetworkProxy::setApplicationProxy(*(const QNetworkProxy*)proxy); } void QNetworkProxy_applicationProxy(QNetworkProxyH retval) { *(QNetworkProxy *)retval = QNetworkProxy::applicationProxy(); } void QNetworkProxyFactory_setApplicationProxyFactory(QNetworkProxyFactoryH factory) { QNetworkProxyFactory::setApplicationProxyFactory((QNetworkProxyFactory*)factory); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkcookie_c.cpp0000664000212600021260000000702011677135472021104 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qnetworkcookie_c.h" QNetworkCookieH QNetworkCookie_create(const QByteArrayH name, const QByteArrayH value) { return (QNetworkCookieH) new QNetworkCookie(*(const QByteArray*)name, *(const QByteArray*)value); } void QNetworkCookie_destroy(QNetworkCookieH handle) { delete (QNetworkCookie *)handle; } QNetworkCookieH QNetworkCookie_create2(const QNetworkCookieH other) { return (QNetworkCookieH) new QNetworkCookie(*(const QNetworkCookie*)other); } bool QNetworkCookie_isSecure(QNetworkCookieH handle) { return (bool) ((QNetworkCookie *)handle)->isSecure(); } void QNetworkCookie_setSecure(QNetworkCookieH handle, bool enable) { ((QNetworkCookie *)handle)->setSecure(enable); } bool QNetworkCookie_isHttpOnly(QNetworkCookieH handle) { return (bool) ((QNetworkCookie *)handle)->isHttpOnly(); } void QNetworkCookie_setHttpOnly(QNetworkCookieH handle, bool enable) { ((QNetworkCookie *)handle)->setHttpOnly(enable); } bool QNetworkCookie_isSessionCookie(QNetworkCookieH handle) { return (bool) ((QNetworkCookie *)handle)->isSessionCookie(); } void QNetworkCookie_expirationDate(QNetworkCookieH handle, QDateTimeH retval) { *(QDateTime *)retval = ((QNetworkCookie *)handle)->expirationDate(); } void QNetworkCookie_setExpirationDate(QNetworkCookieH handle, const QDateTimeH date) { ((QNetworkCookie *)handle)->setExpirationDate(*(const QDateTime*)date); } void QNetworkCookie_domain(QNetworkCookieH handle, PWideString retval) { QString t_retval; t_retval = ((QNetworkCookie *)handle)->domain(); copyQStringToPWideString(t_retval, retval); } void QNetworkCookie_setDomain(QNetworkCookieH handle, PWideString domain) { QString t_domain; copyPWideStringToQString(domain, t_domain); ((QNetworkCookie *)handle)->setDomain(t_domain); } void QNetworkCookie_path(QNetworkCookieH handle, PWideString retval) { QString t_retval; t_retval = ((QNetworkCookie *)handle)->path(); copyQStringToPWideString(t_retval, retval); } void QNetworkCookie_setPath(QNetworkCookieH handle, PWideString path) { QString t_path; copyPWideStringToQString(path, t_path); ((QNetworkCookie *)handle)->setPath(t_path); } void QNetworkCookie_name(QNetworkCookieH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QNetworkCookie *)handle)->name(); } void QNetworkCookie_setName(QNetworkCookieH handle, const QByteArrayH cookieName) { ((QNetworkCookie *)handle)->setName(*(const QByteArray*)cookieName); } void QNetworkCookie_value(QNetworkCookieH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QNetworkCookie *)handle)->value(); } void QNetworkCookie_setValue(QNetworkCookieH handle, const QByteArrayH value) { ((QNetworkCookie *)handle)->setValue(*(const QByteArray*)value); } void QNetworkCookie_toRawForm(QNetworkCookieH handle, QByteArrayH retval, QNetworkCookie::RawForm form) { *(QByteArray *)retval = ((QNetworkCookie *)handle)->toRawForm(form); } QNetworkCookieJarH QNetworkCookieJar_create(QObjectH parent) { return (QNetworkCookieJarH) new QNetworkCookieJar((QObject*)parent); } void QNetworkCookieJar_destroy(QNetworkCookieJarH handle) { delete (QNetworkCookieJar *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkreply_hook_c.h0000664000212600021260000000224511677135472021457 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QNETWORKREPLY_HOOK_C_H #define QNETWORKREPLY_HOOK_C_H #include "qnetworkreply_hook.h" C_EXPORT QNetworkReply_hookH QNetworkReply_hook_create(QObjectH handle); C_EXPORT void QNetworkReply_hook_destroy(QNetworkReply_hookH handle); C_EXPORT void QNetworkReply_hook_hook_metaDataChanged(QNetworkReply_hookH handle, QHookH hook); C_EXPORT void QNetworkReply_hook_hook_finished(QNetworkReply_hookH handle, QHookH hook); C_EXPORT void QNetworkReply_hook_hook_error(QNetworkReply_hookH handle, QHookH hook); C_EXPORT void QNetworkReply_hook_hook_uploadProgress(QNetworkReply_hookH handle, QHookH hook); C_EXPORT void QNetworkReply_hook_hook_downloadProgress(QNetworkReply_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebhistory_hook_c.cpp0000664000212600021260000000174611677135472021451 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebhistory_hook_c.h" QWebHistoryItem_hookH QWebHistoryItem_hook_create(QObjectH handle) { return (QWebHistoryItem_hookH) new QWebHistoryItem_hook((QObject*)handle); } void QWebHistoryItem_hook_destroy(QWebHistoryItem_hookH handle) { delete (QWebHistoryItem_hook *)handle; } QWebHistory_hookH QWebHistory_hook_create(QObjectH handle) { return (QWebHistory_hookH) new QWebHistory_hook((QObject*)handle); } void QWebHistory_hook_destroy(QWebHistory_hookH handle) { delete (QWebHistory_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qbitmap_c.cpp0000664000212600021260000000362611677135472017505 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qbitmap_c.h" QBitmapH QBitmap_create() { return (QBitmapH) new QBitmap(); } void QBitmap_destroy(QBitmapH handle) { delete (QBitmap *)handle; } QBitmapH QBitmap_create2(const QPixmapH AnonParam1) { return (QBitmapH) new QBitmap(*(const QPixmap*)AnonParam1); } QBitmapH QBitmap_create3(int w, int h) { return (QBitmapH) new QBitmap(w, h); } QBitmapH QBitmap_create4(const QSizeH AnonParam1) { return (QBitmapH) new QBitmap(*(const QSize*)AnonParam1); } QBitmapH QBitmap_create5(PWideString fileName, const char* format) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (QBitmapH) new QBitmap(t_fileName, format); } void QBitmap_clear(QBitmapH handle) { ((QBitmap *)handle)->clear(); } void QBitmap_fromImage(QBitmapH retval, const QImageH image, unsigned int flags) { *(QBitmap *)retval = QBitmap::fromImage(*(const QImage*)image, (Qt::ImageConversionFlags)flags); } void QBitmap_fromData(QBitmapH retval, const QSizeH size, const uchar* bits, QImage::Format monoFormat) { *(QBitmap *)retval = QBitmap::fromData(*(const QSize*)size, bits, monoFormat); } void QBitmap_transformed(QBitmapH handle, QBitmapH retval, const QMatrixH AnonParam1) { *(QBitmap *)retval = ((QBitmap *)handle)->transformed(*(const QMatrix*)AnonParam1); } void QBitmap_transformed2(QBitmapH handle, QBitmapH retval, const QTransformH matrix) { *(QBitmap *)retval = ((QBitmap *)handle)->transformed(*(const QTransform*)matrix); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qheaderview_hook.h0000664000212600021260000002147211677135472020536 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QHEADERVIEW_HOOK_H #define QHEADERVIEW_HOOK_H #include #include "qabstractitemview_hook.h" class QHeaderView_hook : public QAbstractItemView_hook { Q_OBJECT public: QHeaderView_hook(QObject *handle) : QAbstractItemView_hook(handle) { sectionMoved_event.func = NULL; sectionResized_event.func = NULL; sectionPressed_event.func = NULL; sectionClicked_event.func = NULL; sectionEntered_event.func = NULL; sectionDoubleClicked_event.func = NULL; sectionCountChanged_event.func = NULL; sectionHandleDoubleClicked_event.func = NULL; sectionAutoResize_event.func = NULL; geometriesChanged_event.func = NULL; sortIndicatorChanged_event.func = NULL; } void hook_sectionMoved(QHook &hook) { if ( !sectionMoved_event.func ) connect(handle, SIGNAL(sectionMoved(int, int, int)), this, SLOT(sectionMoved_hook(int, int, int))); sectionMoved_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sectionMoved(int, int, int)), this, SLOT(sectionMoved_hook(int, int, int))); } void hook_sectionResized(QHook &hook) { if ( !sectionResized_event.func ) connect(handle, SIGNAL(sectionResized(int, int, int)), this, SLOT(sectionResized_hook(int, int, int))); sectionResized_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sectionResized(int, int, int)), this, SLOT(sectionResized_hook(int, int, int))); } void hook_sectionPressed(QHook &hook) { if ( !sectionPressed_event.func ) connect(handle, SIGNAL(sectionPressed(int)), this, SLOT(sectionPressed_hook(int))); sectionPressed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sectionPressed(int)), this, SLOT(sectionPressed_hook(int))); } void hook_sectionClicked(QHook &hook) { if ( !sectionClicked_event.func ) connect(handle, SIGNAL(sectionClicked(int)), this, SLOT(sectionClicked_hook(int))); sectionClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sectionClicked(int)), this, SLOT(sectionClicked_hook(int))); } void hook_sectionEntered(QHook &hook) { if ( !sectionEntered_event.func ) connect(handle, SIGNAL(sectionEntered(int)), this, SLOT(sectionEntered_hook(int))); sectionEntered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sectionEntered(int)), this, SLOT(sectionEntered_hook(int))); } void hook_sectionDoubleClicked(QHook &hook) { if ( !sectionDoubleClicked_event.func ) connect(handle, SIGNAL(sectionDoubleClicked(int)), this, SLOT(sectionDoubleClicked_hook(int))); sectionDoubleClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sectionDoubleClicked(int)), this, SLOT(sectionDoubleClicked_hook(int))); } void hook_sectionCountChanged(QHook &hook) { if ( !sectionCountChanged_event.func ) connect(handle, SIGNAL(sectionCountChanged(int, int)), this, SLOT(sectionCountChanged_hook(int, int))); sectionCountChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sectionCountChanged(int, int)), this, SLOT(sectionCountChanged_hook(int, int))); } void hook_sectionHandleDoubleClicked(QHook &hook) { if ( !sectionHandleDoubleClicked_event.func ) connect(handle, SIGNAL(sectionHandleDoubleClicked(int)), this, SLOT(sectionHandleDoubleClicked_hook(int))); sectionHandleDoubleClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sectionHandleDoubleClicked(int)), this, SLOT(sectionHandleDoubleClicked_hook(int))); } void hook_sectionAutoResize(QHook &hook) { if ( !sectionAutoResize_event.func ) connect(handle, SIGNAL(sectionAutoResize(int, QHeaderView::ResizeMode)), this, SLOT(sectionAutoResize_hook(int, QHeaderView::ResizeMode))); sectionAutoResize_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sectionAutoResize(int, QHeaderView::ResizeMode)), this, SLOT(sectionAutoResize_hook(int, QHeaderView::ResizeMode))); } void hook_geometriesChanged(QHook &hook) { if ( !geometriesChanged_event.func ) connect(handle, SIGNAL(geometriesChanged()), this, SLOT(geometriesChanged_hook())); geometriesChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(geometriesChanged()), this, SLOT(geometriesChanged_hook())); } void hook_sortIndicatorChanged(QHook &hook) { if ( !sortIndicatorChanged_event.func ) connect(handle, SIGNAL(sortIndicatorChanged(int, Qt::SortOrder)), this, SLOT(sortIndicatorChanged_hook(int, Qt::SortOrder))); sortIndicatorChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sortIndicatorChanged(int, Qt::SortOrder)), this, SLOT(sortIndicatorChanged_hook(int, Qt::SortOrder))); } private slots: void sectionMoved_hook(int logicalIndex, int oldVisualIndex, int newVisualIndex) { if ( sectionMoved_event.func ) { typedef void (*func_type)(void *data, int logicalIndex, int oldVisualIndex, int newVisualIndex); (*(func_type)sectionMoved_event.func)(sectionMoved_event.data, logicalIndex, oldVisualIndex, newVisualIndex); } } void sectionResized_hook(int logicalIndex, int oldSize, int newSize) { if ( sectionResized_event.func ) { typedef void (*func_type)(void *data, int logicalIndex, int oldSize, int newSize); (*(func_type)sectionResized_event.func)(sectionResized_event.data, logicalIndex, oldSize, newSize); } } void sectionPressed_hook(int logicalIndex) { if ( sectionPressed_event.func ) { typedef void (*func_type)(void *data, int logicalIndex); (*(func_type)sectionPressed_event.func)(sectionPressed_event.data, logicalIndex); } } void sectionClicked_hook(int logicalIndex) { if ( sectionClicked_event.func ) { typedef void (*func_type)(void *data, int logicalIndex); (*(func_type)sectionClicked_event.func)(sectionClicked_event.data, logicalIndex); } } void sectionEntered_hook(int logicalIndex) { if ( sectionEntered_event.func ) { typedef void (*func_type)(void *data, int logicalIndex); (*(func_type)sectionEntered_event.func)(sectionEntered_event.data, logicalIndex); } } void sectionDoubleClicked_hook(int logicalIndex) { if ( sectionDoubleClicked_event.func ) { typedef void (*func_type)(void *data, int logicalIndex); (*(func_type)sectionDoubleClicked_event.func)(sectionDoubleClicked_event.data, logicalIndex); } } void sectionCountChanged_hook(int oldCount, int newCount) { if ( sectionCountChanged_event.func ) { typedef void (*func_type)(void *data, int oldCount, int newCount); (*(func_type)sectionCountChanged_event.func)(sectionCountChanged_event.data, oldCount, newCount); } } void sectionHandleDoubleClicked_hook(int logicalIndex) { if ( sectionHandleDoubleClicked_event.func ) { typedef void (*func_type)(void *data, int logicalIndex); (*(func_type)sectionHandleDoubleClicked_event.func)(sectionHandleDoubleClicked_event.data, logicalIndex); } } void sectionAutoResize_hook(int logicalIndex, QHeaderView::ResizeMode mode) { if ( sectionAutoResize_event.func ) { typedef void (*func_type)(void *data, int logicalIndex, QHeaderView::ResizeMode mode); (*(func_type)sectionAutoResize_event.func)(sectionAutoResize_event.data, logicalIndex, mode); } } void geometriesChanged_hook() { if ( geometriesChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)geometriesChanged_event.func)(geometriesChanged_event.data); } } void sortIndicatorChanged_hook(int logicalIndex, Qt::SortOrder order) { if ( sortIndicatorChanged_event.func ) { typedef void (*func_type)(void *data, int logicalIndex, Qt::SortOrder order); (*(func_type)sortIndicatorChanged_event.func)(sortIndicatorChanged_event.data, logicalIndex, order); } } private: QHook sectionMoved_event; QHook sectionResized_event; QHook sectionPressed_event; QHook sectionClicked_event; QHook sectionEntered_event; QHook sectionDoubleClicked_event; QHook sectionCountChanged_event; QHook sectionHandleDoubleClicked_event; QHook sectionAutoResize_event; QHook geometriesChanged_event; QHook sortIndicatorChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractspinbox_c.h0000664000212600021260000000631211677135472021077 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTSPINBOX_C_H #define QABSTRACTSPINBOX_C_H #include #include "pascalbind.h" C_EXPORT QAbstractSpinBoxH QAbstractSpinBox_create(QWidgetH parent); C_EXPORT void QAbstractSpinBox_destroy(QAbstractSpinBoxH handle); C_EXPORT QAbstractSpinBox::ButtonSymbols QAbstractSpinBox_buttonSymbols(QAbstractSpinBoxH handle); C_EXPORT void QAbstractSpinBox_setButtonSymbols(QAbstractSpinBoxH handle, QAbstractSpinBox::ButtonSymbols bs); C_EXPORT void QAbstractSpinBox_setCorrectionMode(QAbstractSpinBoxH handle, QAbstractSpinBox::CorrectionMode cm); C_EXPORT QAbstractSpinBox::CorrectionMode QAbstractSpinBox_correctionMode(QAbstractSpinBoxH handle); C_EXPORT bool QAbstractSpinBox_hasAcceptableInput(QAbstractSpinBoxH handle); C_EXPORT void QAbstractSpinBox_text(QAbstractSpinBoxH handle, PWideString retval); C_EXPORT void QAbstractSpinBox_specialValueText(QAbstractSpinBoxH handle, PWideString retval); C_EXPORT void QAbstractSpinBox_setSpecialValueText(QAbstractSpinBoxH handle, PWideString txt); C_EXPORT bool QAbstractSpinBox_wrapping(QAbstractSpinBoxH handle); C_EXPORT void QAbstractSpinBox_setWrapping(QAbstractSpinBoxH handle, bool w); C_EXPORT void QAbstractSpinBox_setReadOnly(QAbstractSpinBoxH handle, bool r); C_EXPORT bool QAbstractSpinBox_isReadOnly(QAbstractSpinBoxH handle); C_EXPORT void QAbstractSpinBox_setKeyboardTracking(QAbstractSpinBoxH handle, bool kt); C_EXPORT bool QAbstractSpinBox_keyboardTracking(QAbstractSpinBoxH handle); C_EXPORT void QAbstractSpinBox_setAlignment(QAbstractSpinBoxH handle, unsigned int flag); C_EXPORT unsigned int QAbstractSpinBox_alignment(QAbstractSpinBoxH handle); C_EXPORT void QAbstractSpinBox_setFrame(QAbstractSpinBoxH handle, bool AnonParam1); C_EXPORT bool QAbstractSpinBox_hasFrame(QAbstractSpinBoxH handle); C_EXPORT void QAbstractSpinBox_setAccelerated(QAbstractSpinBoxH handle, bool on); C_EXPORT bool QAbstractSpinBox_isAccelerated(QAbstractSpinBoxH handle); C_EXPORT void QAbstractSpinBox_sizeHint(QAbstractSpinBoxH handle, PSize retval); C_EXPORT void QAbstractSpinBox_minimumSizeHint(QAbstractSpinBoxH handle, PSize retval); C_EXPORT void QAbstractSpinBox_interpretText(QAbstractSpinBoxH handle); C_EXPORT bool QAbstractSpinBox_event(QAbstractSpinBoxH handle, QEventH event); C_EXPORT QValidator::State QAbstractSpinBox_validate(QAbstractSpinBoxH handle, PWideString input, int* pos); C_EXPORT void QAbstractSpinBox_fixup(QAbstractSpinBoxH handle, PWideString input); C_EXPORT void QAbstractSpinBox_stepBy(QAbstractSpinBoxH handle, int steps); C_EXPORT void QAbstractSpinBox_stepUp(QAbstractSpinBoxH handle); C_EXPORT void QAbstractSpinBox_stepDown(QAbstractSpinBoxH handle); C_EXPORT void QAbstractSpinBox_selectAll(QAbstractSpinBoxH handle); C_EXPORT void QAbstractSpinBox_clear(QAbstractSpinBoxH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmenu_c.cpp0000664000212600021260000001400411677135472017165 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qmenu_c.h" QMenuH QMenu_create(QWidgetH parent) { return (QMenuH) new QMenu((QWidget*)parent); } void QMenu_destroy(QMenuH handle) { delete (QMenu *)handle; } QMenuH QMenu_create2(PWideString title, QWidgetH parent) { QString t_title; copyPWideStringToQString(title, t_title); return (QMenuH) new QMenu(t_title, (QWidget*)parent); } QActionH QMenu_addAction(QMenuH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (QActionH) ((QMenu *)handle)->addAction(t_text); } QActionH QMenu_addAction2(QMenuH handle, const QIconH icon, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (QActionH) ((QMenu *)handle)->addAction(*(const QIcon*)icon, t_text); } QActionH QMenu_addAction3(QMenuH handle, PWideString text, const QObjectH receiver, const char* member, const QKeySequenceH shortcut) { QString t_text; copyPWideStringToQString(text, t_text); return (QActionH) ((QMenu *)handle)->addAction(t_text, (const QObject*)receiver, member, *(const QKeySequence*)shortcut); } QActionH QMenu_addAction4(QMenuH handle, const QIconH icon, PWideString text, const QObjectH receiver, const char* member, const QKeySequenceH shortcut) { QString t_text; copyPWideStringToQString(text, t_text); return (QActionH) ((QMenu *)handle)->addAction(*(const QIcon*)icon, t_text, (const QObject*)receiver, member, *(const QKeySequence*)shortcut); } QActionH QMenu_addMenu(QMenuH handle, QMenuH menu) { return (QActionH) ((QMenu *)handle)->addMenu((QMenu*)menu); } QMenuH QMenu_addMenu2(QMenuH handle, PWideString title) { QString t_title; copyPWideStringToQString(title, t_title); return (QMenuH) ((QMenu *)handle)->addMenu(t_title); } QMenuH QMenu_addMenu3(QMenuH handle, const QIconH icon, PWideString title) { QString t_title; copyPWideStringToQString(title, t_title); return (QMenuH) ((QMenu *)handle)->addMenu(*(const QIcon*)icon, t_title); } QActionH QMenu_addSeparator(QMenuH handle) { return (QActionH) ((QMenu *)handle)->addSeparator(); } QActionH QMenu_insertMenu(QMenuH handle, QActionH before, QMenuH menu) { return (QActionH) ((QMenu *)handle)->insertMenu((QAction*)before, (QMenu*)menu); } QActionH QMenu_insertSeparator(QMenuH handle, QActionH before) { return (QActionH) ((QMenu *)handle)->insertSeparator((QAction*)before); } bool QMenu_isEmpty(QMenuH handle) { return (bool) ((QMenu *)handle)->isEmpty(); } void QMenu_clear(QMenuH handle) { ((QMenu *)handle)->clear(); } void QMenu_setTearOffEnabled(QMenuH handle, bool AnonParam1) { ((QMenu *)handle)->setTearOffEnabled(AnonParam1); } bool QMenu_isTearOffEnabled(QMenuH handle) { return (bool) ((QMenu *)handle)->isTearOffEnabled(); } bool QMenu_isTearOffMenuVisible(QMenuH handle) { return (bool) ((QMenu *)handle)->isTearOffMenuVisible(); } void QMenu_hideTearOffMenu(QMenuH handle) { ((QMenu *)handle)->hideTearOffMenu(); } void QMenu_setDefaultAction(QMenuH handle, QActionH AnonParam1) { ((QMenu *)handle)->setDefaultAction((QAction*)AnonParam1); } QActionH QMenu_defaultAction(QMenuH handle) { return (QActionH) ((QMenu *)handle)->defaultAction(); } void QMenu_setActiveAction(QMenuH handle, QActionH act) { ((QMenu *)handle)->setActiveAction((QAction*)act); } QActionH QMenu_activeAction(QMenuH handle) { return (QActionH) ((QMenu *)handle)->activeAction(); } void QMenu_popup(QMenuH handle, const QPointH pos, QActionH at) { ((QMenu *)handle)->popup(*(const QPoint*)pos, (QAction*)at); } QActionH QMenu_exec(QMenuH handle) { return (QActionH) ((QMenu *)handle)->exec(); } QActionH QMenu_exec2(QMenuH handle, const QPointH pos, QActionH at) { return (QActionH) ((QMenu *)handle)->exec(*(const QPoint*)pos, (QAction*)at); } QActionH QMenu_exec3(PPtrIntArray actions, const QPointH pos, QActionH at) { QList t_actions; copyPtrIntArrayToQListTemplate(actions, t_actions); return (QActionH) QMenu::exec(t_actions, *(const QPoint*)pos, (QAction*)at); } QActionH QMenu_exec4(PPtrIntArray actions, const QPointH pos, QActionH at, QWidgetH parent) { QList t_actions; copyPtrIntArrayToQListTemplate(actions, t_actions); return (QActionH) QMenu::exec(t_actions, *(const QPoint*)pos, (QAction*)at, (QWidget*)parent); } void QMenu_sizeHint(QMenuH handle, PSize retval) { *(QSize *)retval = ((QMenu *)handle)->sizeHint(); } void QMenu_actionGeometry(QMenuH handle, PRect retval, QActionH AnonParam1) { QRect t_retval; t_retval = ((QMenu *)handle)->actionGeometry((QAction*)AnonParam1); copyQRectToPRect(t_retval, retval); } QActionH QMenu_actionAt(QMenuH handle, const QPointH AnonParam1) { return (QActionH) ((QMenu *)handle)->actionAt(*(const QPoint*)AnonParam1); } QActionH QMenu_menuAction(QMenuH handle) { return (QActionH) ((QMenu *)handle)->menuAction(); } void QMenu_title(QMenuH handle, PWideString retval) { QString t_retval; t_retval = ((QMenu *)handle)->title(); copyQStringToPWideString(t_retval, retval); } void QMenu_setTitle(QMenuH handle, PWideString title) { QString t_title; copyPWideStringToQString(title, t_title); ((QMenu *)handle)->setTitle(t_title); } void QMenu_icon(QMenuH handle, QIconH retval) { *(QIcon *)retval = ((QMenu *)handle)->icon(); } void QMenu_setIcon(QMenuH handle, const QIconH icon) { ((QMenu *)handle)->setIcon(*(const QIcon*)icon); } void QMenu_setNoReplayFor(QMenuH handle, QWidgetH widget) { ((QMenu *)handle)->setNoReplayFor((QWidget*)widget); } bool QMenu_separatorsCollapsible(QMenuH handle) { return (bool) ((QMenu *)handle)->separatorsCollapsible(); } void QMenu_setSeparatorsCollapsible(QMenuH handle, bool collapse) { ((QMenu *)handle)->setSeparatorsCollapsible(collapse); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qheaderview_c.h0000664000212600021260000001236311677135472020017 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QHEADERVIEW_C_H #define QHEADERVIEW_C_H #include #include "pascalbind.h" C_EXPORT QHeaderViewH QHeaderView_create(Qt::Orientation orientation, QWidgetH parent); C_EXPORT void QHeaderView_destroy(QHeaderViewH handle); C_EXPORT void QHeaderView_setModel(QHeaderViewH handle, QAbstractItemModelH model); C_EXPORT Qt::Orientation QHeaderView_orientation(QHeaderViewH handle); C_EXPORT int QHeaderView_offset(QHeaderViewH handle); C_EXPORT int QHeaderView_length(QHeaderViewH handle); C_EXPORT void QHeaderView_sizeHint(QHeaderViewH handle, PSize retval); C_EXPORT int QHeaderView_sectionSizeHint(QHeaderViewH handle, int logicalIndex); C_EXPORT int QHeaderView_visualIndexAt(QHeaderViewH handle, int position); C_EXPORT int QHeaderView_logicalIndexAt(QHeaderViewH handle, int position); C_EXPORT int QHeaderView_logicalIndexAt2(QHeaderViewH handle, int x, int y); C_EXPORT int QHeaderView_logicalIndexAt3(QHeaderViewH handle, const QPointH pos); C_EXPORT int QHeaderView_sectionSize(QHeaderViewH handle, int logicalIndex); C_EXPORT int QHeaderView_sectionPosition(QHeaderViewH handle, int logicalIndex); C_EXPORT int QHeaderView_sectionViewportPosition(QHeaderViewH handle, int logicalIndex); C_EXPORT void QHeaderView_moveSection(QHeaderViewH handle, int from, int to); C_EXPORT void QHeaderView_swapSections(QHeaderViewH handle, int first, int second); C_EXPORT void QHeaderView_resizeSection(QHeaderViewH handle, int logicalIndex, int size); C_EXPORT void QHeaderView_resizeSections(QHeaderViewH handle, QHeaderView::ResizeMode mode); C_EXPORT bool QHeaderView_isSectionHidden(QHeaderViewH handle, int logicalIndex); C_EXPORT void QHeaderView_setSectionHidden(QHeaderViewH handle, int logicalIndex, bool hide); C_EXPORT int QHeaderView_hiddenSectionCount(QHeaderViewH handle); C_EXPORT void QHeaderView_hideSection(QHeaderViewH handle, int logicalIndex); C_EXPORT void QHeaderView_showSection(QHeaderViewH handle, int logicalIndex); C_EXPORT int QHeaderView_count(QHeaderViewH handle); C_EXPORT int QHeaderView_visualIndex(QHeaderViewH handle, int logicalIndex); C_EXPORT int QHeaderView_logicalIndex(QHeaderViewH handle, int visualIndex); C_EXPORT void QHeaderView_setMovable(QHeaderViewH handle, bool movable); C_EXPORT bool QHeaderView_isMovable(QHeaderViewH handle); C_EXPORT void QHeaderView_setClickable(QHeaderViewH handle, bool clickable); C_EXPORT bool QHeaderView_isClickable(QHeaderViewH handle); C_EXPORT void QHeaderView_setHighlightSections(QHeaderViewH handle, bool highlight); C_EXPORT bool QHeaderView_highlightSections(QHeaderViewH handle); C_EXPORT void QHeaderView_setResizeMode(QHeaderViewH handle, QHeaderView::ResizeMode mode); C_EXPORT void QHeaderView_setResizeMode2(QHeaderViewH handle, int logicalIndex, QHeaderView::ResizeMode mode); C_EXPORT QHeaderView::ResizeMode QHeaderView_resizeMode(QHeaderViewH handle, int logicalIndex); C_EXPORT int QHeaderView_stretchSectionCount(QHeaderViewH handle); C_EXPORT void QHeaderView_setSortIndicatorShown(QHeaderViewH handle, bool show); C_EXPORT bool QHeaderView_isSortIndicatorShown(QHeaderViewH handle); C_EXPORT void QHeaderView_setSortIndicator(QHeaderViewH handle, int logicalIndex, Qt::SortOrder order); C_EXPORT int QHeaderView_sortIndicatorSection(QHeaderViewH handle); C_EXPORT Qt::SortOrder QHeaderView_sortIndicatorOrder(QHeaderViewH handle); C_EXPORT bool QHeaderView_stretchLastSection(QHeaderViewH handle); C_EXPORT void QHeaderView_setStretchLastSection(QHeaderViewH handle, bool stretch); C_EXPORT bool QHeaderView_cascadingSectionResizes(QHeaderViewH handle); C_EXPORT void QHeaderView_setCascadingSectionResizes(QHeaderViewH handle, bool enable); C_EXPORT int QHeaderView_defaultSectionSize(QHeaderViewH handle); C_EXPORT void QHeaderView_setDefaultSectionSize(QHeaderViewH handle, int size); C_EXPORT int QHeaderView_minimumSectionSize(QHeaderViewH handle); C_EXPORT void QHeaderView_setMinimumSectionSize(QHeaderViewH handle, int size); C_EXPORT unsigned int QHeaderView_defaultAlignment(QHeaderViewH handle); C_EXPORT void QHeaderView_setDefaultAlignment(QHeaderViewH handle, unsigned int alignment); C_EXPORT void QHeaderView_doItemsLayout(QHeaderViewH handle); C_EXPORT bool QHeaderView_sectionsMoved(QHeaderViewH handle); C_EXPORT bool QHeaderView_sectionsHidden(QHeaderViewH handle); C_EXPORT void QHeaderView_saveState(QHeaderViewH handle, QByteArrayH retval); C_EXPORT bool QHeaderView_restoreState(QHeaderViewH handle, const QByteArrayH state); C_EXPORT void QHeaderView_reset(QHeaderViewH handle); C_EXPORT void QHeaderView_setOffset(QHeaderViewH handle, int offset); C_EXPORT void QHeaderView_setOffsetToSectionPosition(QHeaderViewH handle, int visualIndex); C_EXPORT void QHeaderView_setOffsetToLastSection(QHeaderViewH handle); C_EXPORT void QHeaderView_headerDataChanged(QHeaderViewH handle, Qt::Orientation orientation, int logicalFirst, int logicalLast); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlineedit_hook_c.h0000664000212600021260000000230611677135472020505 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLINEEDIT_HOOK_C_H #define QLINEEDIT_HOOK_C_H #include "qlineedit_hook.h" C_EXPORT QLineEdit_hookH QLineEdit_hook_create(QObjectH handle); C_EXPORT void QLineEdit_hook_destroy(QLineEdit_hookH handle); C_EXPORT void QLineEdit_hook_hook_textChanged(QLineEdit_hookH handle, QHookH hook); C_EXPORT void QLineEdit_hook_hook_textEdited(QLineEdit_hookH handle, QHookH hook); C_EXPORT void QLineEdit_hook_hook_cursorPositionChanged(QLineEdit_hookH handle, QHookH hook); C_EXPORT void QLineEdit_hook_hook_returnPressed(QLineEdit_hookH handle, QHookH hook); C_EXPORT void QLineEdit_hook_hook_editingFinished(QLineEdit_hookH handle, QHookH hook); C_EXPORT void QLineEdit_hook_hook_selectionChanged(QLineEdit_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprogressdialog_c.cpp0000664000212600021260000001057711677135472021260 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qprogressdialog_c.h" QProgressDialogH QProgressDialog_create(QWidgetH parent, unsigned int flags) { return (QProgressDialogH) new QProgressDialog((QWidget*)parent, (Qt::WindowFlags)flags); } void QProgressDialog_destroy(QProgressDialogH handle) { delete (QProgressDialog *)handle; } QProgressDialogH QProgressDialog_create2(PWideString labelText, PWideString cancelButtonText, int minimum, int maximum, QWidgetH parent, unsigned int flags) { QString t_labelText; QString t_cancelButtonText; copyPWideStringToQString(labelText, t_labelText); copyPWideStringToQString(cancelButtonText, t_cancelButtonText); return (QProgressDialogH) new QProgressDialog(t_labelText, t_cancelButtonText, minimum, maximum, (QWidget*)parent, (Qt::WindowFlags)flags); } void QProgressDialog_setLabel(QProgressDialogH handle, QLabelH label) { ((QProgressDialog *)handle)->setLabel((QLabel*)label); } void QProgressDialog_setCancelButton(QProgressDialogH handle, QPushButtonH button) { ((QProgressDialog *)handle)->setCancelButton((QPushButton*)button); } void QProgressDialog_setBar(QProgressDialogH handle, QProgressBarH bar) { ((QProgressDialog *)handle)->setBar((QProgressBar*)bar); } bool QProgressDialog_wasCanceled(QProgressDialogH handle) { return (bool) ((QProgressDialog *)handle)->wasCanceled(); } int QProgressDialog_minimum(QProgressDialogH handle) { return (int) ((QProgressDialog *)handle)->minimum(); } int QProgressDialog_maximum(QProgressDialogH handle) { return (int) ((QProgressDialog *)handle)->maximum(); } int QProgressDialog_value(QProgressDialogH handle) { return (int) ((QProgressDialog *)handle)->value(); } void QProgressDialog_sizeHint(QProgressDialogH handle, PSize retval) { *(QSize *)retval = ((QProgressDialog *)handle)->sizeHint(); } void QProgressDialog_labelText(QProgressDialogH handle, PWideString retval) { QString t_retval; t_retval = ((QProgressDialog *)handle)->labelText(); copyQStringToPWideString(t_retval, retval); } int QProgressDialog_minimumDuration(QProgressDialogH handle) { return (int) ((QProgressDialog *)handle)->minimumDuration(); } void QProgressDialog_setAutoReset(QProgressDialogH handle, bool reset) { ((QProgressDialog *)handle)->setAutoReset(reset); } bool QProgressDialog_autoReset(QProgressDialogH handle) { return (bool) ((QProgressDialog *)handle)->autoReset(); } void QProgressDialog_setAutoClose(QProgressDialogH handle, bool close) { ((QProgressDialog *)handle)->setAutoClose(close); } bool QProgressDialog_autoClose(QProgressDialogH handle) { return (bool) ((QProgressDialog *)handle)->autoClose(); } void QProgressDialog_open(QProgressDialogH handle, QObjectH receiver, const char* member) { ((QProgressDialog *)handle)->open((QObject*)receiver, member); } void QProgressDialog_cancel(QProgressDialogH handle) { ((QProgressDialog *)handle)->cancel(); } void QProgressDialog_reset(QProgressDialogH handle) { ((QProgressDialog *)handle)->reset(); } void QProgressDialog_setMaximum(QProgressDialogH handle, int maximum) { ((QProgressDialog *)handle)->setMaximum(maximum); } void QProgressDialog_setMinimum(QProgressDialogH handle, int minimum) { ((QProgressDialog *)handle)->setMinimum(minimum); } void QProgressDialog_setRange(QProgressDialogH handle, int minimum, int maximum) { ((QProgressDialog *)handle)->setRange(minimum, maximum); } void QProgressDialog_setValue(QProgressDialogH handle, int progress) { ((QProgressDialog *)handle)->setValue(progress); } void QProgressDialog_setLabelText(QProgressDialogH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QProgressDialog *)handle)->setLabelText(t_text); } void QProgressDialog_setCancelButtonText(QProgressDialogH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QProgressDialog *)handle)->setCancelButtonText(t_text); } void QProgressDialog_setMinimumDuration(QProgressDialogH handle, int ms) { ((QProgressDialog *)handle)->setMinimumDuration(ms); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebhistoryinterface_hook_c.h0000664000212600021260000000140711677135472022771 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBHISTORYINTERFACE_HOOK_C_H #define QWEBHISTORYINTERFACE_HOOK_C_H #include "qwebhistoryinterface_hook.h" C_EXPORT QWebHistoryInterface_hookH QWebHistoryInterface_hook_create(QObjectH handle); C_EXPORT void QWebHistoryInterface_hook_destroy(QWebHistoryInterface_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdir_c.h0000664000212600021260000001067211677135472016453 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDIR_C_H #define QDIR_C_H #include #include "pascalbind.h" C_EXPORT QDirH QDir_create(const QDirH AnonParam1); C_EXPORT void QDir_destroy(QDirH handle); C_EXPORT QDirH QDir_create2(PWideString path); C_EXPORT QDirH QDir_create3(PWideString path, PWideString nameFilter, unsigned int sort, unsigned int filter); C_EXPORT void QDir_setPath(QDirH handle, PWideString path); C_EXPORT void QDir_path(QDirH handle, PWideString retval); C_EXPORT void QDir_absolutePath(QDirH handle, PWideString retval); C_EXPORT void QDir_canonicalPath(QDirH handle, PWideString retval); C_EXPORT void QDir_addResourceSearchPath(PWideString path); C_EXPORT void QDir_setSearchPaths(PWideString prefix, const QStringListH searchPaths); C_EXPORT void QDir_addSearchPath(PWideString prefix, PWideString path); C_EXPORT void QDir_searchPaths(QStringListH retval, PWideString prefix); C_EXPORT void QDir_dirName(QDirH handle, PWideString retval); C_EXPORT void QDir_filePath(QDirH handle, PWideString retval, PWideString fileName); C_EXPORT void QDir_absoluteFilePath(QDirH handle, PWideString retval, PWideString fileName); C_EXPORT void QDir_relativeFilePath(QDirH handle, PWideString retval, PWideString fileName); C_EXPORT void QDir_toNativeSeparators(PWideString retval, PWideString pathName); C_EXPORT void QDir_fromNativeSeparators(PWideString retval, PWideString pathName); C_EXPORT bool QDir_cd(QDirH handle, PWideString dirName); C_EXPORT bool QDir_cdUp(QDirH handle); C_EXPORT void QDir_nameFilters(QDirH handle, QStringListH retval); C_EXPORT void QDir_setNameFilters(QDirH handle, const QStringListH nameFilters); C_EXPORT unsigned int QDir_filter(QDirH handle); C_EXPORT void QDir_setFilter(QDirH handle, unsigned int filter); C_EXPORT unsigned int QDir_sorting(QDirH handle); C_EXPORT void QDir_setSorting(QDirH handle, unsigned int sort); C_EXPORT uint QDir_count(QDirH handle); C_EXPORT void QDir_nameFiltersFromString(QStringListH retval, PWideString nameFilter); C_EXPORT void QDir_entryList(QDirH handle, QStringListH retval, unsigned int filters, unsigned int sort); C_EXPORT void QDir_entryList2(QDirH handle, QStringListH retval, const QStringListH nameFilters, unsigned int filters, unsigned int sort); C_EXPORT void QDir_entryInfoList(QDirH handle, PPtrIntArray retval, unsigned int filters, unsigned int sort); C_EXPORT void QDir_entryInfoList2(QDirH handle, PPtrIntArray retval, const QStringListH nameFilters, unsigned int filters, unsigned int sort); C_EXPORT bool QDir_mkdir(QDirH handle, PWideString dirName); C_EXPORT bool QDir_rmdir(QDirH handle, PWideString dirName); C_EXPORT bool QDir_mkpath(QDirH handle, PWideString dirPath); C_EXPORT bool QDir_rmpath(QDirH handle, PWideString dirPath); C_EXPORT bool QDir_isReadable(QDirH handle); C_EXPORT bool QDir_exists(QDirH handle); C_EXPORT bool QDir_isRoot(QDirH handle); C_EXPORT bool QDir_isRelativePath(PWideString path); C_EXPORT bool QDir_isAbsolutePath(PWideString path); C_EXPORT bool QDir_isRelative(QDirH handle); C_EXPORT bool QDir_isAbsolute(QDirH handle); C_EXPORT bool QDir_makeAbsolute(QDirH handle); C_EXPORT bool QDir_remove(QDirH handle, PWideString fileName); C_EXPORT bool QDir_rename(QDirH handle, PWideString oldName, PWideString newName); C_EXPORT bool QDir_exists2(QDirH handle, PWideString name); C_EXPORT void QDir_drives(PPtrIntArray retval); C_EXPORT void QDir_separator(PWideChar retval); C_EXPORT bool QDir_setCurrent(PWideString path); C_EXPORT void QDir_current(QDirH retval); C_EXPORT void QDir_currentPath(PWideString retval); C_EXPORT void QDir_home(QDirH retval); C_EXPORT void QDir_homePath(PWideString retval); C_EXPORT void QDir_root(QDirH retval); C_EXPORT void QDir_rootPath(PWideString retval); C_EXPORT void QDir_temp(QDirH retval); C_EXPORT void QDir_tempPath(PWideString retval); C_EXPORT bool QDir_match(const QStringListH filters, PWideString fileName); C_EXPORT bool QDir_match2(PWideString filter, PWideString fileName); C_EXPORT void QDir_cleanPath(PWideString retval, PWideString path); C_EXPORT void QDir_refresh(QDirH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qradiobutton_c.cpp0000664000212600021260000000201411677135472020551 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qradiobutton_c.h" QRadioButtonH QRadioButton_create(QWidgetH parent) { return (QRadioButtonH) new QRadioButton((QWidget*)parent); } void QRadioButton_destroy(QRadioButtonH handle) { delete (QRadioButton *)handle; } QRadioButtonH QRadioButton_create2(PWideString text, QWidgetH parent) { QString t_text; copyPWideStringToQString(text, t_text); return (QRadioButtonH) new QRadioButton(t_text, (QWidget*)parent); } void QRadioButton_sizeHint(QRadioButtonH handle, PSize retval) { *(QSize *)retval = ((QRadioButton *)handle)->sizeHint(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmessagebox_c.cpp0000664000212600021260000003033511677135472020363 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qmessagebox_c.h" QMessageBoxH QMessageBox_create(QWidgetH parent) { return (QMessageBoxH) new QMessageBox((QWidget*)parent); } void QMessageBox_destroy(QMessageBoxH handle) { delete (QMessageBox *)handle; } QMessageBoxH QMessageBox_create2(QMessageBox::Icon icon, PWideString title, PWideString text, unsigned int buttons, QWidgetH parent, unsigned int flags) { QString t_title; QString t_text; copyPWideStringToQString(title, t_title); copyPWideStringToQString(text, t_text); return (QMessageBoxH) new QMessageBox(icon, t_title, t_text, (QMessageBox::StandardButtons)buttons, (QWidget*)parent, (Qt::WindowFlags)flags); } void QMessageBox_addButton(QMessageBoxH handle, QAbstractButtonH button, QMessageBox::ButtonRole role) { ((QMessageBox *)handle)->addButton((QAbstractButton*)button, role); } QPushButtonH QMessageBox_addButton2(QMessageBoxH handle, PWideString text, QMessageBox::ButtonRole role) { QString t_text; copyPWideStringToQString(text, t_text); return (QPushButtonH) ((QMessageBox *)handle)->addButton(t_text, role); } QPushButtonH QMessageBox_addButton3(QMessageBoxH handle, QMessageBox::StandardButton button) { return (QPushButtonH) ((QMessageBox *)handle)->addButton(button); } void QMessageBox_removeButton(QMessageBoxH handle, QAbstractButtonH button) { ((QMessageBox *)handle)->removeButton((QAbstractButton*)button); } void QMessageBox_open(QMessageBoxH handle, QObjectH receiver, const char* member) { ((QMessageBox *)handle)->open((QObject*)receiver, member); } void QMessageBox_buttons(QMessageBoxH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QMessageBox *)handle)->buttons(); copyQListTemplateToPtrIntArray(t_retval, retval); } QMessageBox::ButtonRole QMessageBox_buttonRole(QMessageBoxH handle, QAbstractButtonH button) { return (QMessageBox::ButtonRole) ((QMessageBox *)handle)->buttonRole((QAbstractButton*)button); } void QMessageBox_setStandardButtons(QMessageBoxH handle, unsigned int buttons) { ((QMessageBox *)handle)->setStandardButtons((QMessageBox::StandardButtons)buttons); } unsigned int QMessageBox_standardButtons(QMessageBoxH handle) { return (unsigned int) ((QMessageBox *)handle)->standardButtons(); } QMessageBox::StandardButton QMessageBox_standardButton(QMessageBoxH handle, QAbstractButtonH button) { return (QMessageBox::StandardButton) ((QMessageBox *)handle)->standardButton((QAbstractButton*)button); } QAbstractButtonH QMessageBox_button(QMessageBoxH handle, QMessageBox::StandardButton which) { return (QAbstractButtonH) ((QMessageBox *)handle)->button(which); } QPushButtonH QMessageBox_defaultButton(QMessageBoxH handle) { return (QPushButtonH) ((QMessageBox *)handle)->defaultButton(); } void QMessageBox_setDefaultButton(QMessageBoxH handle, QPushButtonH button) { ((QMessageBox *)handle)->setDefaultButton((QPushButton*)button); } void QMessageBox_setDefaultButton2(QMessageBoxH handle, QMessageBox::StandardButton button) { ((QMessageBox *)handle)->setDefaultButton(button); } QAbstractButtonH QMessageBox_escapeButton(QMessageBoxH handle) { return (QAbstractButtonH) ((QMessageBox *)handle)->escapeButton(); } void QMessageBox_setEscapeButton(QMessageBoxH handle, QAbstractButtonH button) { ((QMessageBox *)handle)->setEscapeButton((QAbstractButton*)button); } void QMessageBox_setEscapeButton2(QMessageBoxH handle, QMessageBox::StandardButton button) { ((QMessageBox *)handle)->setEscapeButton(button); } QAbstractButtonH QMessageBox_clickedButton(QMessageBoxH handle) { return (QAbstractButtonH) ((QMessageBox *)handle)->clickedButton(); } void QMessageBox_text(QMessageBoxH handle, PWideString retval) { QString t_retval; t_retval = ((QMessageBox *)handle)->text(); copyQStringToPWideString(t_retval, retval); } void QMessageBox_setText(QMessageBoxH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QMessageBox *)handle)->setText(t_text); } QMessageBox::Icon QMessageBox_icon(QMessageBoxH handle) { return (QMessageBox::Icon) ((QMessageBox *)handle)->icon(); } void QMessageBox_setIcon(QMessageBoxH handle, QMessageBox::Icon AnonParam1) { ((QMessageBox *)handle)->setIcon(AnonParam1); } void QMessageBox_iconPixmap(QMessageBoxH handle, QPixmapH retval) { *(QPixmap *)retval = ((QMessageBox *)handle)->iconPixmap(); } void QMessageBox_setIconPixmap(QMessageBoxH handle, const QPixmapH pixmap) { ((QMessageBox *)handle)->setIconPixmap(*(const QPixmap*)pixmap); } Qt::TextFormat QMessageBox_textFormat(QMessageBoxH handle) { return (Qt::TextFormat) ((QMessageBox *)handle)->textFormat(); } void QMessageBox_setTextFormat(QMessageBoxH handle, Qt::TextFormat format) { ((QMessageBox *)handle)->setTextFormat(format); } QMessageBox::StandardButton QMessageBox_information(QWidgetH parent, PWideString title, PWideString text, unsigned int buttons, QMessageBox::StandardButton defaultButton) { QString t_title; QString t_text; copyPWideStringToQString(title, t_title); copyPWideStringToQString(text, t_text); return (QMessageBox::StandardButton) QMessageBox::information((QWidget*)parent, t_title, t_text, (QMessageBox::StandardButtons)buttons, defaultButton); } QMessageBox::StandardButton QMessageBox_question(QWidgetH parent, PWideString title, PWideString text, unsigned int buttons, QMessageBox::StandardButton defaultButton) { QString t_title; QString t_text; copyPWideStringToQString(title, t_title); copyPWideStringToQString(text, t_text); return (QMessageBox::StandardButton) QMessageBox::question((QWidget*)parent, t_title, t_text, (QMessageBox::StandardButtons)buttons, defaultButton); } QMessageBox::StandardButton QMessageBox_warning(QWidgetH parent, PWideString title, PWideString text, unsigned int buttons, QMessageBox::StandardButton defaultButton) { QString t_title; QString t_text; copyPWideStringToQString(title, t_title); copyPWideStringToQString(text, t_text); return (QMessageBox::StandardButton) QMessageBox::warning((QWidget*)parent, t_title, t_text, (QMessageBox::StandardButtons)buttons, defaultButton); } QMessageBox::StandardButton QMessageBox_critical(QWidgetH parent, PWideString title, PWideString text, unsigned int buttons, QMessageBox::StandardButton defaultButton) { QString t_title; QString t_text; copyPWideStringToQString(title, t_title); copyPWideStringToQString(text, t_text); return (QMessageBox::StandardButton) QMessageBox::critical((QWidget*)parent, t_title, t_text, (QMessageBox::StandardButtons)buttons, defaultButton); } void QMessageBox_about(QWidgetH parent, PWideString title, PWideString text) { QString t_title; QString t_text; copyPWideStringToQString(title, t_title); copyPWideStringToQString(text, t_text); QMessageBox::about((QWidget*)parent, t_title, t_text); } void QMessageBox_aboutQt(QWidgetH parent, PWideString title) { QString t_title; copyPWideStringToQString(title, t_title); QMessageBox::aboutQt((QWidget*)parent, t_title); } void QMessageBox_sizeHint(QMessageBoxH handle, PSize retval) { *(QSize *)retval = ((QMessageBox *)handle)->sizeHint(); } QMessageBoxH QMessageBox_create3(PWideString title, PWideString text, QMessageBox::Icon icon, int button0, int button1, int button2, QWidgetH parent, unsigned int f) { QString t_title; QString t_text; copyPWideStringToQString(title, t_title); copyPWideStringToQString(text, t_text); return (QMessageBoxH) new QMessageBox(t_title, t_text, icon, button0, button1, button2, (QWidget*)parent, (Qt::WindowFlags)f); } int QMessageBox_information3(QWidgetH parent, PWideString title, PWideString text, PWideString button0Text, PWideString button1Text, PWideString button2Text, int defaultButtonNumber, int escapeButtonNumber) { QString t_title; QString t_text; QString t_button0Text; QString t_button1Text; QString t_button2Text; copyPWideStringToQString(title, t_title); copyPWideStringToQString(text, t_text); copyPWideStringToQString(button0Text, t_button0Text); copyPWideStringToQString(button1Text, t_button1Text); copyPWideStringToQString(button2Text, t_button2Text); return (int) QMessageBox::information((QWidget*)parent, t_title, t_text, t_button0Text, t_button1Text, t_button2Text, defaultButtonNumber, escapeButtonNumber); } int QMessageBox_question3(QWidgetH parent, PWideString title, PWideString text, PWideString button0Text, PWideString button1Text, PWideString button2Text, int defaultButtonNumber, int escapeButtonNumber) { QString t_title; QString t_text; QString t_button0Text; QString t_button1Text; QString t_button2Text; copyPWideStringToQString(title, t_title); copyPWideStringToQString(text, t_text); copyPWideStringToQString(button0Text, t_button0Text); copyPWideStringToQString(button1Text, t_button1Text); copyPWideStringToQString(button2Text, t_button2Text); return (int) QMessageBox::question((QWidget*)parent, t_title, t_text, t_button0Text, t_button1Text, t_button2Text, defaultButtonNumber, escapeButtonNumber); } int QMessageBox_warning3(QWidgetH parent, PWideString title, PWideString text, PWideString button0Text, PWideString button1Text, PWideString button2Text, int defaultButtonNumber, int escapeButtonNumber) { QString t_title; QString t_text; QString t_button0Text; QString t_button1Text; QString t_button2Text; copyPWideStringToQString(title, t_title); copyPWideStringToQString(text, t_text); copyPWideStringToQString(button0Text, t_button0Text); copyPWideStringToQString(button1Text, t_button1Text); copyPWideStringToQString(button2Text, t_button2Text); return (int) QMessageBox::warning((QWidget*)parent, t_title, t_text, t_button0Text, t_button1Text, t_button2Text, defaultButtonNumber, escapeButtonNumber); } int QMessageBox_critical3(QWidgetH parent, PWideString title, PWideString text, PWideString button0Text, PWideString button1Text, PWideString button2Text, int defaultButtonNumber, int escapeButtonNumber) { QString t_title; QString t_text; QString t_button0Text; QString t_button1Text; QString t_button2Text; copyPWideStringToQString(title, t_title); copyPWideStringToQString(text, t_text); copyPWideStringToQString(button0Text, t_button0Text); copyPWideStringToQString(button1Text, t_button1Text); copyPWideStringToQString(button2Text, t_button2Text); return (int) QMessageBox::critical((QWidget*)parent, t_title, t_text, t_button0Text, t_button1Text, t_button2Text, defaultButtonNumber, escapeButtonNumber); } void QMessageBox_buttonText(QMessageBoxH handle, PWideString retval, int button) { QString t_retval; t_retval = ((QMessageBox *)handle)->buttonText(button); copyQStringToPWideString(t_retval, retval); } void QMessageBox_setButtonText(QMessageBoxH handle, int button, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QMessageBox *)handle)->setButtonText(button, t_text); } void QMessageBox_informativeText(QMessageBoxH handle, PWideString retval) { QString t_retval; t_retval = ((QMessageBox *)handle)->informativeText(); copyQStringToPWideString(t_retval, retval); } void QMessageBox_setInformativeText(QMessageBoxH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QMessageBox *)handle)->setInformativeText(t_text); } void QMessageBox_detailedText(QMessageBoxH handle, PWideString retval) { QString t_retval; t_retval = ((QMessageBox *)handle)->detailedText(); copyQStringToPWideString(t_retval, retval); } void QMessageBox_setDetailedText(QMessageBoxH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QMessageBox *)handle)->setDetailedText(t_text); } void QMessageBox_setWindowTitle(QMessageBoxH handle, PWideString title) { QString t_title; copyPWideStringToQString(title, t_title); ((QMessageBox *)handle)->setWindowTitle(t_title); } void QMessageBox_setWindowModality(QMessageBoxH handle, Qt::WindowModality windowModality) { ((QMessageBox *)handle)->setWindowModality(windowModality); } void QMessageBox_standardIcon(QPixmapH retval, QMessageBox::Icon icon) { *(QPixmap *)retval = QMessageBox::standardIcon(icon); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qobject_hook_c.h0000664000212600021260000000150511677135472020156 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QOBJECT_HOOK_C_H #define QOBJECT_HOOK_C_H #include "qobject_hook.h" C_EXPORT QObject_hookH QObject_hook_create(QObjectH handle); C_EXPORT void QObject_hook_destroy(QObject_hookH handle); C_EXPORT void QObject_hook_hook_events(QObject_hookH handle, QHookH hook); C_EXPORT void QObject_hook_hook_destroyed(QObject_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtableview_hook_c.cpp0000664000212600021260000000133511677135472021226 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtableview_hook_c.h" QTableView_hookH QTableView_hook_create(QObjectH handle) { return (QTableView_hookH) new QTableView_hook((QObject*)handle); } void QTableView_hook_destroy(QTableView_hookH handle) { delete (QTableView_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsplitter_c.h0000664000212600021260000000604211677135472017537 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSPLITTER_C_H #define QSPLITTER_C_H #include #include "pascalbind.h" C_EXPORT QSplitterH QSplitter_create(QWidgetH parent); C_EXPORT void QSplitter_destroy(QSplitterH handle); C_EXPORT QSplitterH QSplitter_create2(Qt::Orientation AnonParam1, QWidgetH parent); C_EXPORT void QSplitter_addWidget(QSplitterH handle, QWidgetH widget); C_EXPORT void QSplitter_insertWidget(QSplitterH handle, int index, QWidgetH widget); C_EXPORT void QSplitter_setOrientation(QSplitterH handle, Qt::Orientation AnonParam1); C_EXPORT Qt::Orientation QSplitter_orientation(QSplitterH handle); C_EXPORT void QSplitter_setChildrenCollapsible(QSplitterH handle, bool AnonParam1); C_EXPORT bool QSplitter_childrenCollapsible(QSplitterH handle); C_EXPORT void QSplitter_setCollapsible(QSplitterH handle, int index, bool AnonParam2); C_EXPORT bool QSplitter_isCollapsible(QSplitterH handle, int index); C_EXPORT void QSplitter_setOpaqueResize(QSplitterH handle, bool opaque); C_EXPORT bool QSplitter_opaqueResize(QSplitterH handle); C_EXPORT void QSplitter_refresh(QSplitterH handle); C_EXPORT void QSplitter_sizeHint(QSplitterH handle, PSize retval); C_EXPORT void QSplitter_minimumSizeHint(QSplitterH handle, PSize retval); C_EXPORT void QSplitter_sizes(QSplitterH handle, PPtrIntArray retval); C_EXPORT void QSplitter_setSizes(QSplitterH handle, PPtrIntArray list); C_EXPORT void QSplitter_saveState(QSplitterH handle, QByteArrayH retval); C_EXPORT bool QSplitter_restoreState(QSplitterH handle, const QByteArrayH state); C_EXPORT int QSplitter_handleWidth(QSplitterH handle); C_EXPORT void QSplitter_setHandleWidth(QSplitterH handle, int AnonParam1); C_EXPORT int QSplitter_indexOf(QSplitterH handle, QWidgetH w); C_EXPORT QWidgetH QSplitter_widget(QSplitterH handle, int index); C_EXPORT int QSplitter_count(QSplitterH handle); C_EXPORT void QSplitter_getRange(QSplitterH handle, int index, int* AnonParam2, int* AnonParam3); C_EXPORT QSplitterHandleH QSplitter_handle(QSplitterH handle, int index); C_EXPORT void QSplitter_setStretchFactor(QSplitterH handle, int index, int stretch); C_EXPORT QSplitterHandleH QSplitterHandle_create(Qt::Orientation o, QSplitterH parent); C_EXPORT void QSplitterHandle_destroy(QSplitterHandleH handle); C_EXPORT void QSplitterHandle_setOrientation(QSplitterHandleH handle, Qt::Orientation o); C_EXPORT Qt::Orientation QSplitterHandle_orientation(QSplitterHandleH handle); C_EXPORT bool QSplitterHandle_opaqueResize(QSplitterHandleH handle); C_EXPORT QSplitterH QSplitterHandle_splitter(QSplitterHandleH handle); C_EXPORT void QSplitterHandle_sizeHint(QSplitterHandleH handle, PSize retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpainter_c.cpp0000664000212600021260000007473311677135472017702 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qpainter_c.h" QPainterH QPainter_create() { return (QPainterH) new QPainter(); } void QPainter_destroy(QPainterH handle) { delete (QPainter *)handle; } QPainterH QPainter_create2(QPaintDeviceH AnonParam1) { return (QPainterH) new QPainter((QPaintDevice*)AnonParam1); } QPaintDeviceH QPainter_device(QPainterH handle) { return (QPaintDeviceH) ((QPainter *)handle)->device(); } bool QPainter_begin(QPainterH handle, QPaintDeviceH AnonParam1) { return (bool) ((QPainter *)handle)->begin((QPaintDevice*)AnonParam1); } bool QPainter_end(QPainterH handle) { return (bool) ((QPainter *)handle)->end(); } bool QPainter_isActive(QPainterH handle) { return (bool) ((QPainter *)handle)->isActive(); } void QPainter_initFrom(QPainterH handle, const QWidgetH widget) { ((QPainter *)handle)->initFrom((const QWidget*)widget); } void QPainter_setCompositionMode(QPainterH handle, QPainter::CompositionMode mode) { ((QPainter *)handle)->setCompositionMode(mode); } QPainter::CompositionMode QPainter_compositionMode(QPainterH handle) { return (QPainter::CompositionMode) ((QPainter *)handle)->compositionMode(); } const QFontH QPainter_font(QPainterH handle) { return (const QFontH) &((QPainter *)handle)->font(); } void QPainter_setFont(QPainterH handle, const QFontH f) { ((QPainter *)handle)->setFont(*(const QFont*)f); } void QPainter_fontMetrics(QPainterH handle, QFontMetricsH retval) { *(QFontMetrics *)retval = ((QPainter *)handle)->fontMetrics(); } void QPainter_fontInfo(QPainterH handle, QFontInfoH retval) { *(QFontInfo *)retval = ((QPainter *)handle)->fontInfo(); } void QPainter_setPen(QPainterH handle, const QColorH color) { ((QPainter *)handle)->setPen(*(const QColor*)color); } void QPainter_setPen2(QPainterH handle, const QPenH pen) { ((QPainter *)handle)->setPen(*(const QPen*)pen); } void QPainter_setPen3(QPainterH handle, Qt::PenStyle style) { ((QPainter *)handle)->setPen(style); } const QPenH QPainter_pen(QPainterH handle) { return (const QPenH) &((QPainter *)handle)->pen(); } void QPainter_setBrush(QPainterH handle, const QBrushH brush) { ((QPainter *)handle)->setBrush(*(const QBrush*)brush); } void QPainter_setBrush2(QPainterH handle, Qt::BrushStyle style) { ((QPainter *)handle)->setBrush(style); } const QBrushH QPainter_brush(QPainterH handle) { return (const QBrushH) &((QPainter *)handle)->brush(); } void QPainter_setBackgroundMode(QPainterH handle, Qt::BGMode mode) { ((QPainter *)handle)->setBackgroundMode(mode); } Qt::BGMode QPainter_backgroundMode(QPainterH handle) { return (Qt::BGMode) ((QPainter *)handle)->backgroundMode(); } void QPainter_brushOrigin(QPainterH handle, PQtPoint retval) { *(QPoint *)retval = ((QPainter *)handle)->brushOrigin(); } void QPainter_setBrushOrigin(QPainterH handle, int x, int y) { ((QPainter *)handle)->setBrushOrigin(x, y); } void QPainter_setBrushOrigin2(QPainterH handle, const QPointH AnonParam1) { ((QPainter *)handle)->setBrushOrigin(*(const QPoint*)AnonParam1); } void QPainter_setBrushOrigin3(QPainterH handle, const QPointFH AnonParam1) { ((QPainter *)handle)->setBrushOrigin(*(const QPointF*)AnonParam1); } void QPainter_setBackground(QPainterH handle, const QBrushH bg) { ((QPainter *)handle)->setBackground(*(const QBrush*)bg); } const QBrushH QPainter_background(QPainterH handle) { return (const QBrushH) &((QPainter *)handle)->background(); } qreal QPainter_opacity(QPainterH handle) { return (qreal) ((QPainter *)handle)->opacity(); } void QPainter_setOpacity(QPainterH handle, qreal opacity) { ((QPainter *)handle)->setOpacity(opacity); } void QPainter_clipRegion(QPainterH handle, QRegionH retval) { *(QRegion *)retval = ((QPainter *)handle)->clipRegion(); } void QPainter_clipPath(QPainterH handle, QPainterPathH retval) { *(QPainterPath *)retval = ((QPainter *)handle)->clipPath(); } void QPainter_setClipRect(QPainterH handle, const QRectFH AnonParam1, Qt::ClipOperation op) { ((QPainter *)handle)->setClipRect(*(const QRectF*)AnonParam1, op); } void QPainter_setClipRect2(QPainterH handle, PRect AnonParam1, Qt::ClipOperation op) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QPainter *)handle)->setClipRect(t_AnonParam1, op); } void QPainter_setClipRect3(QPainterH handle, int x, int y, int w, int h, Qt::ClipOperation op) { ((QPainter *)handle)->setClipRect(x, y, w, h, op); } void QPainter_setClipRegion(QPainterH handle, const QRegionH AnonParam1, Qt::ClipOperation op) { ((QPainter *)handle)->setClipRegion(*(const QRegion*)AnonParam1, op); } void QPainter_setClipPath(QPainterH handle, const QPainterPathH path, Qt::ClipOperation op) { ((QPainter *)handle)->setClipPath(*(const QPainterPath*)path, op); } void QPainter_setClipping(QPainterH handle, bool enable) { ((QPainter *)handle)->setClipping(enable); } bool QPainter_hasClipping(QPainterH handle) { return (bool) ((QPainter *)handle)->hasClipping(); } void QPainter_save(QPainterH handle) { ((QPainter *)handle)->save(); } void QPainter_restore(QPainterH handle) { ((QPainter *)handle)->restore(); } void QPainter_setMatrix(QPainterH handle, const QMatrixH matrix, bool combine) { ((QPainter *)handle)->setMatrix(*(const QMatrix*)matrix, combine); } const QMatrixH QPainter_matrix(QPainterH handle) { return (const QMatrixH) &((QPainter *)handle)->matrix(); } const QMatrixH QPainter_deviceMatrix(QPainterH handle) { return (const QMatrixH) &((QPainter *)handle)->deviceMatrix(); } void QPainter_resetMatrix(QPainterH handle) { ((QPainter *)handle)->resetMatrix(); } void QPainter_setTransform(QPainterH handle, const QTransformH transform, bool combine) { ((QPainter *)handle)->setTransform(*(const QTransform*)transform, combine); } const QTransformH QPainter_transform(QPainterH handle) { return (const QTransformH) &((QPainter *)handle)->transform(); } const QTransformH QPainter_deviceTransform(QPainterH handle) { return (const QTransformH) &((QPainter *)handle)->deviceTransform(); } void QPainter_resetTransform(QPainterH handle) { ((QPainter *)handle)->resetTransform(); } void QPainter_setWorldMatrix(QPainterH handle, const QMatrixH matrix, bool combine) { ((QPainter *)handle)->setWorldMatrix(*(const QMatrix*)matrix, combine); } const QMatrixH QPainter_worldMatrix(QPainterH handle) { return (const QMatrixH) &((QPainter *)handle)->worldMatrix(); } void QPainter_setWorldTransform(QPainterH handle, const QTransformH matrix, bool combine) { ((QPainter *)handle)->setWorldTransform(*(const QTransform*)matrix, combine); } const QTransformH QPainter_worldTransform(QPainterH handle) { return (const QTransformH) &((QPainter *)handle)->worldTransform(); } void QPainter_combinedMatrix(QPainterH handle, QMatrixH retval) { *(QMatrix *)retval = ((QPainter *)handle)->combinedMatrix(); } void QPainter_combinedTransform(QPainterH handle, QTransformH retval) { *(QTransform *)retval = ((QPainter *)handle)->combinedTransform(); } void QPainter_setMatrixEnabled(QPainterH handle, bool enabled) { ((QPainter *)handle)->setMatrixEnabled(enabled); } bool QPainter_matrixEnabled(QPainterH handle) { return (bool) ((QPainter *)handle)->matrixEnabled(); } void QPainter_setWorldMatrixEnabled(QPainterH handle, bool enabled) { ((QPainter *)handle)->setWorldMatrixEnabled(enabled); } bool QPainter_worldMatrixEnabled(QPainterH handle) { return (bool) ((QPainter *)handle)->worldMatrixEnabled(); } void QPainter_scale(QPainterH handle, qreal sx, qreal sy) { ((QPainter *)handle)->scale(sx, sy); } void QPainter_shear(QPainterH handle, qreal sh, qreal sv) { ((QPainter *)handle)->shear(sh, sv); } void QPainter_rotate(QPainterH handle, qreal a) { ((QPainter *)handle)->rotate(a); } void QPainter_translate(QPainterH handle, const QPointFH offset) { ((QPainter *)handle)->translate(*(const QPointF*)offset); } void QPainter_translate2(QPainterH handle, const QPointH offset) { ((QPainter *)handle)->translate(*(const QPoint*)offset); } void QPainter_translate3(QPainterH handle, qreal dx, qreal dy) { ((QPainter *)handle)->translate(dx, dy); } void QPainter_window(QPainterH handle, PRect retval) { QRect t_retval; t_retval = ((QPainter *)handle)->window(); copyQRectToPRect(t_retval, retval); } void QPainter_setWindow(QPainterH handle, PRect window) { QRect t_window; copyPRectToQRect(window, t_window); ((QPainter *)handle)->setWindow(t_window); } void QPainter_setWindow2(QPainterH handle, int x, int y, int w, int h) { ((QPainter *)handle)->setWindow(x, y, w, h); } void QPainter_viewport(QPainterH handle, PRect retval) { QRect t_retval; t_retval = ((QPainter *)handle)->viewport(); copyQRectToPRect(t_retval, retval); } void QPainter_setViewport(QPainterH handle, PRect viewport) { QRect t_viewport; copyPRectToQRect(viewport, t_viewport); ((QPainter *)handle)->setViewport(t_viewport); } void QPainter_setViewport2(QPainterH handle, int x, int y, int w, int h) { ((QPainter *)handle)->setViewport(x, y, w, h); } void QPainter_setViewTransformEnabled(QPainterH handle, bool enable) { ((QPainter *)handle)->setViewTransformEnabled(enable); } bool QPainter_viewTransformEnabled(QPainterH handle) { return (bool) ((QPainter *)handle)->viewTransformEnabled(); } void QPainter_strokePath(QPainterH handle, const QPainterPathH path, const QPenH pen) { ((QPainter *)handle)->strokePath(*(const QPainterPath*)path, *(const QPen*)pen); } void QPainter_fillPath(QPainterH handle, const QPainterPathH path, const QBrushH brush) { ((QPainter *)handle)->fillPath(*(const QPainterPath*)path, *(const QBrush*)brush); } void QPainter_drawPath(QPainterH handle, const QPainterPathH path) { ((QPainter *)handle)->drawPath(*(const QPainterPath*)path); } void QPainter_drawPoint(QPainterH handle, const QPointFH pt) { ((QPainter *)handle)->drawPoint(*(const QPointF*)pt); } void QPainter_drawPoint2(QPainterH handle, const QPointH p) { ((QPainter *)handle)->drawPoint(*(const QPoint*)p); } void QPainter_drawPoint3(QPainterH handle, int x, int y) { ((QPainter *)handle)->drawPoint(x, y); } void QPainter_drawPoints(QPainterH handle, const QPointFH points, int pointCount) { ((QPainter *)handle)->drawPoints((const QPointF*)points, pointCount); } void QPainter_drawPoints2(QPainterH handle, const QPolygonFH points) { ((QPainter *)handle)->drawPoints(*(const QPolygonF*)points); } void QPainter_drawPoints3(QPainterH handle, const QPointH points, int pointCount) { ((QPainter *)handle)->drawPoints((const QPoint*)points, pointCount); } void QPainter_drawPoints4(QPainterH handle, const QPolygonH points) { ((QPainter *)handle)->drawPoints(*(const QPolygon*)points); } void QPainter_drawLine(QPainterH handle, const QLineFH line) { ((QPainter *)handle)->drawLine(*(const QLineF*)line); } void QPainter_drawLine2(QPainterH handle, const QLineH line) { ((QPainter *)handle)->drawLine(*(const QLine*)line); } void QPainter_drawLine3(QPainterH handle, int x1, int y1, int x2, int y2) { ((QPainter *)handle)->drawLine(x1, y1, x2, y2); } void QPainter_drawLine4(QPainterH handle, const QPointH p1, const QPointH p2) { ((QPainter *)handle)->drawLine(*(const QPoint*)p1, *(const QPoint*)p2); } void QPainter_drawLine5(QPainterH handle, const QPointFH p1, const QPointFH p2) { ((QPainter *)handle)->drawLine(*(const QPointF*)p1, *(const QPointF*)p2); } void QPainter_drawLines(QPainterH handle, const QLineFH lines, int lineCount) { ((QPainter *)handle)->drawLines((const QLineF*)lines, lineCount); } void QPainter_drawLines2(QPainterH handle, const QPointFH pointPairs, int lineCount) { ((QPainter *)handle)->drawLines((const QPointF*)pointPairs, lineCount); } void QPainter_drawLines3(QPainterH handle, const QLineH lines, int lineCount) { ((QPainter *)handle)->drawLines((const QLine*)lines, lineCount); } void QPainter_drawLines4(QPainterH handle, const QPointH pointPairs, int lineCount) { ((QPainter *)handle)->drawLines((const QPoint*)pointPairs, lineCount); } void QPainter_drawRect(QPainterH handle, const QRectFH rect) { ((QPainter *)handle)->drawRect(*(const QRectF*)rect); } void QPainter_drawRect2(QPainterH handle, int x1, int y1, int w, int h) { ((QPainter *)handle)->drawRect(x1, y1, w, h); } void QPainter_drawRect3(QPainterH handle, PRect rect) { QRect t_rect; copyPRectToQRect(rect, t_rect); ((QPainter *)handle)->drawRect(t_rect); } void QPainter_drawRects(QPainterH handle, const QRectFH rects, int rectCount) { ((QPainter *)handle)->drawRects((const QRectF*)rects, rectCount); } void QPainter_drawRects2(QPainterH handle, PRect rects, int rectCount) { QRect t_rects; if ( rects ) copyPRectToQRect(rects, t_rects); ((QPainter *)handle)->drawRects(rects ? &t_rects : NULL, rectCount); } void QPainter_drawEllipse(QPainterH handle, const QRectFH r) { ((QPainter *)handle)->drawEllipse(*(const QRectF*)r); } void QPainter_drawEllipse2(QPainterH handle, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); ((QPainter *)handle)->drawEllipse(t_r); } void QPainter_drawEllipse3(QPainterH handle, int x, int y, int w, int h) { ((QPainter *)handle)->drawEllipse(x, y, w, h); } void QPainter_drawEllipse4(QPainterH handle, const QPointFH center, qreal rx, qreal ry) { ((QPainter *)handle)->drawEllipse(*(const QPointF*)center, rx, ry); } void QPainter_drawEllipse5(QPainterH handle, const QPointH center, int rx, int ry) { ((QPainter *)handle)->drawEllipse(*(const QPoint*)center, rx, ry); } void QPainter_drawPolyline(QPainterH handle, const QPointFH points, int pointCount) { ((QPainter *)handle)->drawPolyline((const QPointF*)points, pointCount); } void QPainter_drawPolyline2(QPainterH handle, const QPolygonFH polyline) { ((QPainter *)handle)->drawPolyline(*(const QPolygonF*)polyline); } void QPainter_drawPolyline3(QPainterH handle, const QPointH points, int pointCount) { ((QPainter *)handle)->drawPolyline((const QPoint*)points, pointCount); } void QPainter_drawPolyline4(QPainterH handle, const QPolygonH polygon) { ((QPainter *)handle)->drawPolyline(*(const QPolygon*)polygon); } void QPainter_drawPolygon(QPainterH handle, const QPointFH points, int pointCount, Qt::FillRule fillRule) { ((QPainter *)handle)->drawPolygon((const QPointF*)points, pointCount, fillRule); } void QPainter_drawPolygon2(QPainterH handle, const QPolygonFH polygon, Qt::FillRule fillRule) { ((QPainter *)handle)->drawPolygon(*(const QPolygonF*)polygon, fillRule); } void QPainter_drawPolygon3(QPainterH handle, const QPointH points, int pointCount, Qt::FillRule fillRule) { ((QPainter *)handle)->drawPolygon((const QPoint*)points, pointCount, fillRule); } void QPainter_drawPolygon4(QPainterH handle, const QPolygonH polygon, Qt::FillRule fillRule) { ((QPainter *)handle)->drawPolygon(*(const QPolygon*)polygon, fillRule); } void QPainter_drawConvexPolygon(QPainterH handle, const QPointFH points, int pointCount) { ((QPainter *)handle)->drawConvexPolygon((const QPointF*)points, pointCount); } void QPainter_drawConvexPolygon2(QPainterH handle, const QPolygonFH polygon) { ((QPainter *)handle)->drawConvexPolygon(*(const QPolygonF*)polygon); } void QPainter_drawConvexPolygon3(QPainterH handle, const QPointH points, int pointCount) { ((QPainter *)handle)->drawConvexPolygon((const QPoint*)points, pointCount); } void QPainter_drawConvexPolygon4(QPainterH handle, const QPolygonH polygon) { ((QPainter *)handle)->drawConvexPolygon(*(const QPolygon*)polygon); } void QPainter_drawArc(QPainterH handle, const QRectFH rect, int a, int alen) { ((QPainter *)handle)->drawArc(*(const QRectF*)rect, a, alen); } void QPainter_drawArc2(QPainterH handle, PRect AnonParam1, int a, int alen) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QPainter *)handle)->drawArc(t_AnonParam1, a, alen); } void QPainter_drawArc3(QPainterH handle, int x, int y, int w, int h, int a, int alen) { ((QPainter *)handle)->drawArc(x, y, w, h, a, alen); } void QPainter_drawPie(QPainterH handle, const QRectFH rect, int a, int alen) { ((QPainter *)handle)->drawPie(*(const QRectF*)rect, a, alen); } void QPainter_drawPie2(QPainterH handle, int x, int y, int w, int h, int a, int alen) { ((QPainter *)handle)->drawPie(x, y, w, h, a, alen); } void QPainter_drawPie3(QPainterH handle, PRect AnonParam1, int a, int alen) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QPainter *)handle)->drawPie(t_AnonParam1, a, alen); } void QPainter_drawChord(QPainterH handle, const QRectFH rect, int a, int alen) { ((QPainter *)handle)->drawChord(*(const QRectF*)rect, a, alen); } void QPainter_drawChord2(QPainterH handle, int x, int y, int w, int h, int a, int alen) { ((QPainter *)handle)->drawChord(x, y, w, h, a, alen); } void QPainter_drawChord3(QPainterH handle, PRect AnonParam1, int a, int alen) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QPainter *)handle)->drawChord(t_AnonParam1, a, alen); } void QPainter_drawRoundedRect(QPainterH handle, const QRectFH rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) { ((QPainter *)handle)->drawRoundedRect(*(const QRectF*)rect, xRadius, yRadius, mode); } void QPainter_drawRoundedRect2(QPainterH handle, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) { ((QPainter *)handle)->drawRoundedRect(x, y, w, h, xRadius, yRadius, mode); } void QPainter_drawRoundedRect3(QPainterH handle, PRect rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) { QRect t_rect; copyPRectToQRect(rect, t_rect); ((QPainter *)handle)->drawRoundedRect(t_rect, xRadius, yRadius, mode); } void QPainter_drawRoundRect(QPainterH handle, const QRectFH r, int xround, int yround) { ((QPainter *)handle)->drawRoundRect(*(const QRectF*)r, xround, yround); } void QPainter_drawRoundRect2(QPainterH handle, int x, int y, int w, int h, int AnonParam5, int AnonParam6) { ((QPainter *)handle)->drawRoundRect(x, y, w, h, AnonParam5, AnonParam6); } void QPainter_drawRoundRect3(QPainterH handle, PRect r, int xround, int yround) { QRect t_r; copyPRectToQRect(r, t_r); ((QPainter *)handle)->drawRoundRect(t_r, xround, yround); } void QPainter_drawTiledPixmap(QPainterH handle, const QRectFH rect, const QPixmapH pm, const QPointFH offset) { ((QPainter *)handle)->drawTiledPixmap(*(const QRectF*)rect, *(const QPixmap*)pm, *(const QPointF*)offset); } void QPainter_drawTiledPixmap2(QPainterH handle, int x, int y, int w, int h, const QPixmapH AnonParam5, int sx, int sy) { ((QPainter *)handle)->drawTiledPixmap(x, y, w, h, *(const QPixmap*)AnonParam5, sx, sy); } void QPainter_drawTiledPixmap3(QPainterH handle, PRect AnonParam1, const QPixmapH AnonParam2, const QPointH AnonParam3) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QPainter *)handle)->drawTiledPixmap(t_AnonParam1, *(const QPixmap*)AnonParam2, *(const QPoint*)AnonParam3); } void QPainter_drawPicture(QPainterH handle, const QPointFH p, const QPictureH picture) { ((QPainter *)handle)->drawPicture(*(const QPointF*)p, *(const QPicture*)picture); } void QPainter_drawPicture2(QPainterH handle, int x, int y, const QPictureH picture) { ((QPainter *)handle)->drawPicture(x, y, *(const QPicture*)picture); } void QPainter_drawPicture3(QPainterH handle, const QPointH p, const QPictureH picture) { ((QPainter *)handle)->drawPicture(*(const QPoint*)p, *(const QPicture*)picture); } void QPainter_drawPixmap(QPainterH handle, const QRectFH targetRect, const QPixmapH pixmap, const QRectFH sourceRect) { ((QPainter *)handle)->drawPixmap(*(const QRectF*)targetRect, *(const QPixmap*)pixmap, *(const QRectF*)sourceRect); } void QPainter_drawPixmap2(QPainterH handle, PRect targetRect, const QPixmapH pixmap, PRect sourceRect) { QRect t_targetRect; QRect t_sourceRect; copyPRectToQRect(targetRect, t_targetRect); copyPRectToQRect(sourceRect, t_sourceRect); ((QPainter *)handle)->drawPixmap(t_targetRect, *(const QPixmap*)pixmap, t_sourceRect); } void QPainter_drawPixmap3(QPainterH handle, int x, int y, int w, int h, const QPixmapH pm, int sx, int sy, int sw, int sh) { ((QPainter *)handle)->drawPixmap(x, y, w, h, *(const QPixmap*)pm, sx, sy, sw, sh); } void QPainter_drawPixmap4(QPainterH handle, int x, int y, const QPixmapH pm, int sx, int sy, int sw, int sh) { ((QPainter *)handle)->drawPixmap(x, y, *(const QPixmap*)pm, sx, sy, sw, sh); } void QPainter_drawPixmap5(QPainterH handle, const QPointFH p, const QPixmapH pm, const QRectFH sr) { ((QPainter *)handle)->drawPixmap(*(const QPointF*)p, *(const QPixmap*)pm, *(const QRectF*)sr); } void QPainter_drawPixmap6(QPainterH handle, const QPointH p, const QPixmapH pm, PRect sr) { QRect t_sr; copyPRectToQRect(sr, t_sr); ((QPainter *)handle)->drawPixmap(*(const QPoint*)p, *(const QPixmap*)pm, t_sr); } void QPainter_drawPixmap7(QPainterH handle, const QPointFH p, const QPixmapH pm) { ((QPainter *)handle)->drawPixmap(*(const QPointF*)p, *(const QPixmap*)pm); } void QPainter_drawPixmap8(QPainterH handle, const QPointH p, const QPixmapH pm) { ((QPainter *)handle)->drawPixmap(*(const QPoint*)p, *(const QPixmap*)pm); } void QPainter_drawPixmap9(QPainterH handle, int x, int y, const QPixmapH pm) { ((QPainter *)handle)->drawPixmap(x, y, *(const QPixmap*)pm); } void QPainter_drawPixmap10(QPainterH handle, PRect r, const QPixmapH pm) { QRect t_r; copyPRectToQRect(r, t_r); ((QPainter *)handle)->drawPixmap(t_r, *(const QPixmap*)pm); } void QPainter_drawPixmap11(QPainterH handle, int x, int y, int w, int h, const QPixmapH pm) { ((QPainter *)handle)->drawPixmap(x, y, w, h, *(const QPixmap*)pm); } void QPainter_drawImage(QPainterH handle, const QRectFH targetRect, const QImageH image, const QRectFH sourceRect, unsigned int flags) { ((QPainter *)handle)->drawImage(*(const QRectF*)targetRect, *(const QImage*)image, *(const QRectF*)sourceRect, (Qt::ImageConversionFlags)flags); } void QPainter_drawImage2(QPainterH handle, PRect targetRect, const QImageH image, PRect sourceRect, unsigned int flags) { QRect t_targetRect; QRect t_sourceRect; copyPRectToQRect(targetRect, t_targetRect); copyPRectToQRect(sourceRect, t_sourceRect); ((QPainter *)handle)->drawImage(t_targetRect, *(const QImage*)image, t_sourceRect, (Qt::ImageConversionFlags)flags); } void QPainter_drawImage3(QPainterH handle, const QPointFH p, const QImageH image, const QRectFH sr, unsigned int flags) { ((QPainter *)handle)->drawImage(*(const QPointF*)p, *(const QImage*)image, *(const QRectF*)sr, (Qt::ImageConversionFlags)flags); } void QPainter_drawImage4(QPainterH handle, const QPointH p, const QImageH image, PRect sr, unsigned int flags) { QRect t_sr; copyPRectToQRect(sr, t_sr); ((QPainter *)handle)->drawImage(*(const QPoint*)p, *(const QImage*)image, t_sr, (Qt::ImageConversionFlags)flags); } void QPainter_drawImage5(QPainterH handle, const QRectFH r, const QImageH image) { ((QPainter *)handle)->drawImage(*(const QRectF*)r, *(const QImage*)image); } void QPainter_drawImage6(QPainterH handle, PRect r, const QImageH image) { QRect t_r; copyPRectToQRect(r, t_r); ((QPainter *)handle)->drawImage(t_r, *(const QImage*)image); } void QPainter_drawImage7(QPainterH handle, const QPointFH p, const QImageH image) { ((QPainter *)handle)->drawImage(*(const QPointF*)p, *(const QImage*)image); } void QPainter_drawImage8(QPainterH handle, const QPointH p, const QImageH image) { ((QPainter *)handle)->drawImage(*(const QPoint*)p, *(const QImage*)image); } void QPainter_drawImage9(QPainterH handle, int x, int y, const QImageH image, int sx, int sy, int sw, int sh, unsigned int flags) { ((QPainter *)handle)->drawImage(x, y, *(const QImage*)image, sx, sy, sw, sh, (Qt::ImageConversionFlags)flags); } void QPainter_setLayoutDirection(QPainterH handle, Qt::LayoutDirection direction) { ((QPainter *)handle)->setLayoutDirection(direction); } Qt::LayoutDirection QPainter_layoutDirection(QPainterH handle) { return (Qt::LayoutDirection) ((QPainter *)handle)->layoutDirection(); } void QPainter_drawText(QPainterH handle, const QPointFH p, PWideString s) { QString t_s; copyPWideStringToQString(s, t_s); ((QPainter *)handle)->drawText(*(const QPointF*)p, t_s); } void QPainter_drawText2(QPainterH handle, const QPointH p, PWideString s) { QString t_s; copyPWideStringToQString(s, t_s); ((QPainter *)handle)->drawText(*(const QPoint*)p, t_s); } void QPainter_drawText3(QPainterH handle, int x, int y, PWideString s) { QString t_s; copyPWideStringToQString(s, t_s); ((QPainter *)handle)->drawText(x, y, t_s); } void QPainter_drawText4(QPainterH handle, const QPointFH p, PWideString str, int tf, int justificationPadding) { QString t_str; copyPWideStringToQString(str, t_str); ((QPainter *)handle)->drawText(*(const QPointF*)p, t_str, tf, justificationPadding); } void QPainter_drawText5(QPainterH handle, const QRectFH r, int flags, PWideString text, QRectFH br) { QString t_text; copyPWideStringToQString(text, t_text); ((QPainter *)handle)->drawText(*(const QRectF*)r, flags, t_text, (QRectF*)br); } void QPainter_drawText6(QPainterH handle, PRect r, int flags, PWideString text, PRect br) { QRect t_r; QString t_text; QRect t_br; copyPRectToQRect(r, t_r); copyPWideStringToQString(text, t_text); if ( br ) copyPRectToQRect(br, t_br); ((QPainter *)handle)->drawText(t_r, flags, t_text, br ? &t_br : NULL); if ( br ) copyQRectToPRect(t_br, br); } void QPainter_drawText7(QPainterH handle, int x, int y, int w, int h, int flags, PWideString text, PRect br) { QString t_text; QRect t_br; copyPWideStringToQString(text, t_text); if ( br ) copyPRectToQRect(br, t_br); ((QPainter *)handle)->drawText(x, y, w, h, flags, t_text, br ? &t_br : NULL); if ( br ) copyQRectToPRect(t_br, br); } void QPainter_drawText8(QPainterH handle, const QRectFH r, PWideString text, const QTextOptionH o) { QString t_text; copyPWideStringToQString(text, t_text); ((QPainter *)handle)->drawText(*(const QRectF*)r, t_text, *(const QTextOption*)o); } void QPainter_boundingRect(QPainterH handle, QRectFH retval, const QRectFH rect, int flags, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); *(QRectF *)retval = ((QPainter *)handle)->boundingRect(*(const QRectF*)rect, flags, t_text); } void QPainter_boundingRect2(QPainterH handle, PRect retval, PRect rect, int flags, PWideString text) { QRect t_retval; QRect t_rect; QString t_text; copyPRectToQRect(rect, t_rect); copyPWideStringToQString(text, t_text); t_retval = ((QPainter *)handle)->boundingRect(t_rect, flags, t_text); copyQRectToPRect(t_retval, retval); } void QPainter_boundingRect3(QPainterH handle, PRect retval, int x, int y, int w, int h, int flags, PWideString text) { QRect t_retval; QString t_text; copyPWideStringToQString(text, t_text); t_retval = ((QPainter *)handle)->boundingRect(x, y, w, h, flags, t_text); copyQRectToPRect(t_retval, retval); } void QPainter_boundingRect4(QPainterH handle, QRectFH retval, const QRectFH rect, PWideString text, const QTextOptionH o) { QString t_text; copyPWideStringToQString(text, t_text); *(QRectF *)retval = ((QPainter *)handle)->boundingRect(*(const QRectF*)rect, t_text, *(const QTextOption*)o); } void QPainter_fillRect(QPainterH handle, const QRectFH AnonParam1, const QBrushH AnonParam2) { ((QPainter *)handle)->fillRect(*(const QRectF*)AnonParam1, *(const QBrush*)AnonParam2); } void QPainter_fillRect2(QPainterH handle, int x, int y, int w, int h, const QBrushH AnonParam5) { ((QPainter *)handle)->fillRect(x, y, w, h, *(const QBrush*)AnonParam5); } void QPainter_fillRect3(QPainterH handle, PRect AnonParam1, const QBrushH AnonParam2) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QPainter *)handle)->fillRect(t_AnonParam1, *(const QBrush*)AnonParam2); } void QPainter_fillRect4(QPainterH handle, const QRectFH AnonParam1, const QColorH color) { ((QPainter *)handle)->fillRect(*(const QRectF*)AnonParam1, *(const QColor*)color); } void QPainter_fillRect5(QPainterH handle, int x, int y, int w, int h, const QColorH color) { ((QPainter *)handle)->fillRect(x, y, w, h, *(const QColor*)color); } void QPainter_fillRect6(QPainterH handle, PRect AnonParam1, const QColorH color) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QPainter *)handle)->fillRect(t_AnonParam1, *(const QColor*)color); } void QPainter_fillRect7(QPainterH handle, int x, int y, int w, int h, Qt::GlobalColor c) { ((QPainter *)handle)->fillRect(x, y, w, h, c); } void QPainter_fillRect8(QPainterH handle, PRect r, Qt::GlobalColor c) { QRect t_r; copyPRectToQRect(r, t_r); ((QPainter *)handle)->fillRect(t_r, c); } void QPainter_fillRect9(QPainterH handle, const QRectFH r, Qt::GlobalColor c) { ((QPainter *)handle)->fillRect(*(const QRectF*)r, c); } void QPainter_fillRect10(QPainterH handle, int x, int y, int w, int h, Qt::BrushStyle style) { ((QPainter *)handle)->fillRect(x, y, w, h, style); } void QPainter_fillRect11(QPainterH handle, PRect r, Qt::BrushStyle style) { QRect t_r; copyPRectToQRect(r, t_r); ((QPainter *)handle)->fillRect(t_r, style); } void QPainter_fillRect12(QPainterH handle, const QRectFH r, Qt::BrushStyle style) { ((QPainter *)handle)->fillRect(*(const QRectF*)r, style); } void QPainter_eraseRect(QPainterH handle, const QRectFH AnonParam1) { ((QPainter *)handle)->eraseRect(*(const QRectF*)AnonParam1); } void QPainter_eraseRect2(QPainterH handle, int x, int y, int w, int h) { ((QPainter *)handle)->eraseRect(x, y, w, h); } void QPainter_eraseRect3(QPainterH handle, PRect AnonParam1) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QPainter *)handle)->eraseRect(t_AnonParam1); } void QPainter_setRenderHint(QPainterH handle, QPainter::RenderHint hint, bool on) { ((QPainter *)handle)->setRenderHint(hint, on); } void QPainter_setRenderHints(QPainterH handle, unsigned int hints, bool on) { ((QPainter *)handle)->setRenderHints((QPainter::RenderHints)hints, on); } unsigned int QPainter_renderHints(QPainterH handle) { return (unsigned int) ((QPainter *)handle)->renderHints(); } bool QPainter_testRenderHint(QPainterH handle, QPainter::RenderHint hint) { return (bool) ((QPainter *)handle)->testRenderHint(hint); } QPaintEngineH QPainter_paintEngine(QPainterH handle) { return (QPaintEngineH) ((QPainter *)handle)->paintEngine(); } void QPainter_setRedirected(const QPaintDeviceH device, QPaintDeviceH replacement, const QPointH offset) { QPainter::setRedirected((const QPaintDevice*)device, (QPaintDevice*)replacement, *(const QPoint*)offset); } QPaintDeviceH QPainter_redirected(const QPaintDeviceH device, QPointH offset) { return (QPaintDeviceH) QPainter::redirected((const QPaintDevice*)device, (QPoint*)offset); } void QPainter_restoreRedirected(const QPaintDeviceH device) { QPainter::restoreRedirected((const QPaintDevice*)device); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebsecurityorigin_c.cpp0000664000212600021260000000416511677135472022005 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebsecurityorigin_c.h" void QWebSecurityOrigin_allOrigins(PPtrIntArray retval) { QList t_retval; t_retval = QWebSecurityOrigin::allOrigins(); copyQListTemplateToPtrIntArrayWithNew(t_retval, retval); } void QWebSecurityOrigin_scheme(QWebSecurityOriginH handle, PWideString retval) { QString t_retval; t_retval = ((QWebSecurityOrigin *)handle)->scheme(); copyQStringToPWideString(t_retval, retval); } void QWebSecurityOrigin_host(QWebSecurityOriginH handle, PWideString retval) { QString t_retval; t_retval = ((QWebSecurityOrigin *)handle)->host(); copyQStringToPWideString(t_retval, retval); } int QWebSecurityOrigin_port(QWebSecurityOriginH handle) { return (int) ((QWebSecurityOrigin *)handle)->port(); } qint64 QWebSecurityOrigin_databaseUsage(QWebSecurityOriginH handle) { return (qint64) ((QWebSecurityOrigin *)handle)->databaseUsage(); } qint64 QWebSecurityOrigin_databaseQuota(QWebSecurityOriginH handle) { return (qint64) ((QWebSecurityOrigin *)handle)->databaseQuota(); } void QWebSecurityOrigin_setDatabaseQuota(QWebSecurityOriginH handle, qint64 quota) { ((QWebSecurityOrigin *)handle)->setDatabaseQuota(quota); } void QWebSecurityOrigin_databases(QWebSecurityOriginH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QWebSecurityOrigin *)handle)->databases(); copyQListTemplateToPtrIntArrayWithNew(t_retval, retval); } QWebSecurityOriginH QWebSecurityOrigin_create(const QWebSecurityOriginH other) { return (QWebSecurityOriginH) new QWebSecurityOrigin(*(const QWebSecurityOrigin*)other); } void QWebSecurityOrigin_destroy(QWebSecurityOriginH handle) { delete (QWebSecurityOrigin *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractprintdialog_hook.h0000664000212600021260000000141511677135472022446 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTPRINTDIALOG_HOOK_H #define QABSTRACTPRINTDIALOG_HOOK_H #include #include "qdialog_hook.h" class QAbstractPrintDialog_hook : public QDialog_hook { Q_OBJECT public: QAbstractPrintDialog_hook(QObject *handle) : QDialog_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qframe_hook_c.cpp0000664000212600021260000000127511677135472020341 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qframe_hook_c.h" QFrame_hookH QFrame_hook_create(QObjectH handle) { return (QFrame_hookH) new QFrame_hook((QObject*)handle); } void QFrame_hook_destroy(QFrame_hookH handle) { delete (QFrame_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfileinfo_c.cpp0000664000212600021260000001646611677135472020032 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qfileinfo_c.h" QFileInfoH QFileInfo_create() { return (QFileInfoH) new QFileInfo(); } void QFileInfo_destroy(QFileInfoH handle) { delete (QFileInfo *)handle; } QFileInfoH QFileInfo_create2(PWideString file) { QString t_file; copyPWideStringToQString(file, t_file); return (QFileInfoH) new QFileInfo(t_file); } QFileInfoH QFileInfo_create3(const QFileH file) { return (QFileInfoH) new QFileInfo(*(const QFile*)file); } QFileInfoH QFileInfo_create4(const QDirH dir, PWideString file) { QString t_file; copyPWideStringToQString(file, t_file); return (QFileInfoH) new QFileInfo(*(const QDir*)dir, t_file); } QFileInfoH QFileInfo_create5(const QFileInfoH fileinfo) { return (QFileInfoH) new QFileInfo(*(const QFileInfo*)fileinfo); } void QFileInfo_setFile(QFileInfoH handle, PWideString file) { QString t_file; copyPWideStringToQString(file, t_file); ((QFileInfo *)handle)->setFile(t_file); } void QFileInfo_setFile2(QFileInfoH handle, const QFileH file) { ((QFileInfo *)handle)->setFile(*(const QFile*)file); } void QFileInfo_setFile3(QFileInfoH handle, const QDirH dir, PWideString file) { QString t_file; copyPWideStringToQString(file, t_file); ((QFileInfo *)handle)->setFile(*(const QDir*)dir, t_file); } bool QFileInfo_exists(QFileInfoH handle) { return (bool) ((QFileInfo *)handle)->exists(); } void QFileInfo_refresh(QFileInfoH handle) { ((QFileInfo *)handle)->refresh(); } void QFileInfo_filePath(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->filePath(); copyQStringToPWideString(t_retval, retval); } void QFileInfo_absoluteFilePath(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->absoluteFilePath(); copyQStringToPWideString(t_retval, retval); } void QFileInfo_canonicalFilePath(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->canonicalFilePath(); copyQStringToPWideString(t_retval, retval); } void QFileInfo_fileName(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->fileName(); copyQStringToPWideString(t_retval, retval); } void QFileInfo_baseName(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->baseName(); copyQStringToPWideString(t_retval, retval); } void QFileInfo_completeBaseName(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->completeBaseName(); copyQStringToPWideString(t_retval, retval); } void QFileInfo_suffix(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->suffix(); copyQStringToPWideString(t_retval, retval); } void QFileInfo_bundleName(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->bundleName(); copyQStringToPWideString(t_retval, retval); } void QFileInfo_completeSuffix(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->completeSuffix(); copyQStringToPWideString(t_retval, retval); } void QFileInfo_path(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->path(); copyQStringToPWideString(t_retval, retval); } void QFileInfo_absolutePath(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->absolutePath(); copyQStringToPWideString(t_retval, retval); } void QFileInfo_canonicalPath(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->canonicalPath(); copyQStringToPWideString(t_retval, retval); } void QFileInfo_dir(QFileInfoH handle, QDirH retval) { *(QDir *)retval = ((QFileInfo *)handle)->dir(); } void QFileInfo_absoluteDir(QFileInfoH handle, QDirH retval) { *(QDir *)retval = ((QFileInfo *)handle)->absoluteDir(); } bool QFileInfo_isReadable(QFileInfoH handle) { return (bool) ((QFileInfo *)handle)->isReadable(); } bool QFileInfo_isWritable(QFileInfoH handle) { return (bool) ((QFileInfo *)handle)->isWritable(); } bool QFileInfo_isExecutable(QFileInfoH handle) { return (bool) ((QFileInfo *)handle)->isExecutable(); } bool QFileInfo_isHidden(QFileInfoH handle) { return (bool) ((QFileInfo *)handle)->isHidden(); } bool QFileInfo_isRelative(QFileInfoH handle) { return (bool) ((QFileInfo *)handle)->isRelative(); } bool QFileInfo_isAbsolute(QFileInfoH handle) { return (bool) ((QFileInfo *)handle)->isAbsolute(); } bool QFileInfo_makeAbsolute(QFileInfoH handle) { return (bool) ((QFileInfo *)handle)->makeAbsolute(); } bool QFileInfo_isFile(QFileInfoH handle) { return (bool) ((QFileInfo *)handle)->isFile(); } bool QFileInfo_isDir(QFileInfoH handle) { return (bool) ((QFileInfo *)handle)->isDir(); } bool QFileInfo_isSymLink(QFileInfoH handle) { return (bool) ((QFileInfo *)handle)->isSymLink(); } bool QFileInfo_isRoot(QFileInfoH handle) { return (bool) ((QFileInfo *)handle)->isRoot(); } bool QFileInfo_isBundle(QFileInfoH handle) { return (bool) ((QFileInfo *)handle)->isBundle(); } void QFileInfo_readLink(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->readLink(); copyQStringToPWideString(t_retval, retval); } void QFileInfo_symLinkTarget(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->symLinkTarget(); copyQStringToPWideString(t_retval, retval); } void QFileInfo_owner(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->owner(); copyQStringToPWideString(t_retval, retval); } uint QFileInfo_ownerId(QFileInfoH handle) { return (uint) ((QFileInfo *)handle)->ownerId(); } void QFileInfo_group(QFileInfoH handle, PWideString retval) { QString t_retval; t_retval = ((QFileInfo *)handle)->group(); copyQStringToPWideString(t_retval, retval); } uint QFileInfo_groupId(QFileInfoH handle) { return (uint) ((QFileInfo *)handle)->groupId(); } bool QFileInfo_permission(QFileInfoH handle, unsigned int permissions) { return (bool) ((QFileInfo *)handle)->permission((QFile::Permissions)permissions); } unsigned int QFileInfo_permissions(QFileInfoH handle) { return (unsigned int) ((QFileInfo *)handle)->permissions(); } qint64 QFileInfo_size(QFileInfoH handle) { return (qint64) ((QFileInfo *)handle)->size(); } void QFileInfo_created(QFileInfoH handle, QDateTimeH retval) { *(QDateTime *)retval = ((QFileInfo *)handle)->created(); } void QFileInfo_lastModified(QFileInfoH handle, QDateTimeH retval) { *(QDateTime *)retval = ((QFileInfo *)handle)->lastModified(); } void QFileInfo_lastRead(QFileInfoH handle, QDateTimeH retval) { *(QDateTime *)retval = ((QFileInfo *)handle)->lastRead(); } void QFileInfo_detach(QFileInfoH handle) { ((QFileInfo *)handle)->detach(); } bool QFileInfo_caching(QFileInfoH handle) { return (bool) ((QFileInfo *)handle)->caching(); } void QFileInfo_setCaching(QFileInfoH handle, bool on) { ((QFileInfo *)handle)->setCaching(on); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qauthenticator_c.cpp0000664000212600021260000000372211677135472021100 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qauthenticator_c.h" QAuthenticatorH QAuthenticator_create() { return (QAuthenticatorH) new QAuthenticator(); } void QAuthenticator_destroy(QAuthenticatorH handle) { delete (QAuthenticator *)handle; } QAuthenticatorH QAuthenticator_create2(const QAuthenticatorH other) { return (QAuthenticatorH) new QAuthenticator(*(const QAuthenticator*)other); } void QAuthenticator_user(QAuthenticatorH handle, PWideString retval) { QString t_retval; t_retval = ((QAuthenticator *)handle)->user(); copyQStringToPWideString(t_retval, retval); } void QAuthenticator_setUser(QAuthenticatorH handle, PWideString user) { QString t_user; copyPWideStringToQString(user, t_user); ((QAuthenticator *)handle)->setUser(t_user); } void QAuthenticator_password(QAuthenticatorH handle, PWideString retval) { QString t_retval; t_retval = ((QAuthenticator *)handle)->password(); copyQStringToPWideString(t_retval, retval); } void QAuthenticator_setPassword(QAuthenticatorH handle, PWideString password) { QString t_password; copyPWideStringToQString(password, t_password); ((QAuthenticator *)handle)->setPassword(t_password); } void QAuthenticator_realm(QAuthenticatorH handle, PWideString retval) { QString t_retval; t_retval = ((QAuthenticator *)handle)->realm(); copyQStringToPWideString(t_retval, retval); } bool QAuthenticator_isNull(QAuthenticatorH handle) { return (bool) ((QAuthenticator *)handle)->isNull(); } void QAuthenticator_detach(QAuthenticatorH handle) { ((QAuthenticator *)handle)->detach(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlayoutitem_c.h0000664000212600021260000000655411677135472020075 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLAYOUTITEM_C_H #define QLAYOUTITEM_C_H #include #include "pascalbind.h" C_EXPORT void QLayoutItem_sizeHint(QLayoutItemH handle, PSize retval); C_EXPORT void QLayoutItem_minimumSize(QLayoutItemH handle, PSize retval); C_EXPORT void QLayoutItem_maximumSize(QLayoutItemH handle, PSize retval); C_EXPORT unsigned int QLayoutItem_expandingDirections(QLayoutItemH handle); C_EXPORT void QLayoutItem_setGeometry(QLayoutItemH handle, PRect AnonParam1); C_EXPORT void QLayoutItem_geometry(QLayoutItemH handle, PRect retval); C_EXPORT bool QLayoutItem_isEmpty(QLayoutItemH handle); C_EXPORT bool QLayoutItem_hasHeightForWidth(QLayoutItemH handle); C_EXPORT int QLayoutItem_heightForWidth(QLayoutItemH handle, int AnonParam1); C_EXPORT int QLayoutItem_minimumHeightForWidth(QLayoutItemH handle, int AnonParam1); C_EXPORT void QLayoutItem_invalidate(QLayoutItemH handle); C_EXPORT QWidgetH QLayoutItem_widget(QLayoutItemH handle); C_EXPORT QLayoutH QLayoutItem_layout(QLayoutItemH handle); C_EXPORT QSpacerItemH QLayoutItem_spacerItem(QLayoutItemH handle); C_EXPORT unsigned int QLayoutItem_alignment(QLayoutItemH handle); C_EXPORT void QLayoutItem_setAlignment(QLayoutItemH handle, unsigned int a); C_EXPORT unsigned int QLayoutItem_controlTypes(QLayoutItemH handle); C_EXPORT QSpacerItemH QSpacerItem_create(int w, int h, QSizePolicy::Policy hData, QSizePolicy::Policy vData); C_EXPORT void QSpacerItem_destroy(QSpacerItemH handle); C_EXPORT void QSpacerItem_changeSize(QSpacerItemH handle, int w, int h, QSizePolicy::Policy hData, QSizePolicy::Policy vData); C_EXPORT void QSpacerItem_sizeHint(QSpacerItemH handle, PSize retval); C_EXPORT void QSpacerItem_minimumSize(QSpacerItemH handle, PSize retval); C_EXPORT void QSpacerItem_maximumSize(QSpacerItemH handle, PSize retval); C_EXPORT unsigned int QSpacerItem_expandingDirections(QSpacerItemH handle); C_EXPORT bool QSpacerItem_isEmpty(QSpacerItemH handle); C_EXPORT void QSpacerItem_setGeometry(QSpacerItemH handle, PRect AnonParam1); C_EXPORT void QSpacerItem_geometry(QSpacerItemH handle, PRect retval); C_EXPORT QSpacerItemH QSpacerItem_spacerItem(QSpacerItemH handle); C_EXPORT QWidgetItemH QWidgetItem_create(QWidgetH w); C_EXPORT void QWidgetItem_destroy(QWidgetItemH handle); C_EXPORT void QWidgetItem_sizeHint(QWidgetItemH handle, PSize retval); C_EXPORT void QWidgetItem_minimumSize(QWidgetItemH handle, PSize retval); C_EXPORT void QWidgetItem_maximumSize(QWidgetItemH handle, PSize retval); C_EXPORT unsigned int QWidgetItem_expandingDirections(QWidgetItemH handle); C_EXPORT bool QWidgetItem_isEmpty(QWidgetItemH handle); C_EXPORT void QWidgetItem_setGeometry(QWidgetItemH handle, PRect AnonParam1); C_EXPORT void QWidgetItem_geometry(QWidgetItemH handle, PRect retval); C_EXPORT QWidgetH QWidgetItem_widget(QWidgetItemH handle); C_EXPORT bool QWidgetItem_hasHeightForWidth(QWidgetItemH handle); C_EXPORT int QWidgetItem_heightForWidth(QWidgetItemH handle, int AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbox_hook.h0000664000212600021260000000255311677135472020100 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTOOLBOX_HOOK_H #define QTOOLBOX_HOOK_H #include #include "qframe_hook.h" class QToolBox_hook : public QFrame_hook { Q_OBJECT public: QToolBox_hook(QObject *handle) : QFrame_hook(handle) { currentChanged_event.func = NULL; } void hook_currentChanged(QHook &hook) { if ( !currentChanged_event.func ) connect(handle, SIGNAL(currentChanged(int)), this, SLOT(currentChanged_hook(int))); currentChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentChanged(int)), this, SLOT(currentChanged_hook(int))); } private slots: void currentChanged_hook(int index) { if ( currentChanged_event.func ) { typedef void (*func_type)(void *data, int index); (*(func_type)currentChanged_event.func)(currentChanged_event.data, index); } } private: QHook currentChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlabel_hook_c.cpp0000664000212600021260000000166711677135472020333 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlabel_hook_c.h" QLabel_hookH QLabel_hook_create(QObjectH handle) { return (QLabel_hookH) new QLabel_hook((QObject*)handle); } void QLabel_hook_destroy(QLabel_hookH handle) { delete (QLabel_hook *)handle; } void QLabel_hook_hook_linkActivated(QLabel_hookH handle, QHookH hook) { ((QLabel_hook *)handle)->hook_linkActivated(hook); } void QLabel_hook_hook_linkHovered(QLabel_hookH handle, QHookH hook) { ((QLabel_hook *)handle)->hook_linkHovered(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlocale_c.cpp0000664000212600021260000002736711677135472017500 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlocale_c.h" QSystemLocaleH QSystemLocale_create() { return (QSystemLocaleH) new QSystemLocale(); } void QSystemLocale_destroy(QSystemLocaleH handle) { delete (QSystemLocale *)handle; } void QSystemLocale_fallbackLocale(QSystemLocaleH handle, QLocaleH retval) { *(QLocale *)retval = ((QSystemLocale *)handle)->fallbackLocale(); } QLocaleH QLocale_create() { return (QLocaleH) new QLocale(); } void QLocale_destroy(QLocaleH handle) { delete (QLocale *)handle; } QLocaleH QLocale_create2(PWideString name) { QString t_name; copyPWideStringToQString(name, t_name); return (QLocaleH) new QLocale(t_name); } QLocaleH QLocale_create3(QLocale::Language language, QLocale::Country country) { return (QLocaleH) new QLocale(language, country); } QLocaleH QLocale_create4(const QLocaleH other) { return (QLocaleH) new QLocale(*(const QLocale*)other); } QLocale::Language QLocale_language(QLocaleH handle) { return (QLocale::Language) ((QLocale *)handle)->language(); } QLocale::Country QLocale_country(QLocaleH handle) { return (QLocale::Country) ((QLocale *)handle)->country(); } void QLocale_name(QLocaleH handle, PWideString retval) { QString t_retval; t_retval = ((QLocale *)handle)->name(); copyQStringToPWideString(t_retval, retval); } short QLocale_toShort(QLocaleH handle, PWideString s, bool* ok, int base) { QString t_s; copyPWideStringToQString(s, t_s); return (short) ((QLocale *)handle)->toShort(t_s, ok, base); } ushort QLocale_toUShort(QLocaleH handle, PWideString s, bool* ok, int base) { QString t_s; copyPWideStringToQString(s, t_s); return (ushort) ((QLocale *)handle)->toUShort(t_s, ok, base); } int QLocale_toInt(QLocaleH handle, PWideString s, bool* ok, int base) { QString t_s; copyPWideStringToQString(s, t_s); return (int) ((QLocale *)handle)->toInt(t_s, ok, base); } uint QLocale_toUInt(QLocaleH handle, PWideString s, bool* ok, int base) { QString t_s; copyPWideStringToQString(s, t_s); return (uint) ((QLocale *)handle)->toUInt(t_s, ok, base); } qlonglong QLocale_toLongLong(QLocaleH handle, PWideString s, bool* ok, int base) { QString t_s; copyPWideStringToQString(s, t_s); return (qlonglong) ((QLocale *)handle)->toLongLong(t_s, ok, base); } qlonglong QLocale_toULongLong(QLocaleH handle, PWideString s, bool* ok, int base) { QString t_s; copyPWideStringToQString(s, t_s); return (qlonglong) ((QLocale *)handle)->toULongLong(t_s, ok, base); } float QLocale_toFloat(QLocaleH handle, PWideString s, bool* ok) { QString t_s; copyPWideStringToQString(s, t_s); return (float) ((QLocale *)handle)->toFloat(t_s, ok); } double QLocale_toDouble(QLocaleH handle, PWideString s, bool* ok) { QString t_s; copyPWideStringToQString(s, t_s); return (double) ((QLocale *)handle)->toDouble(t_s, ok); } void QLocale_toString(QLocaleH handle, PWideString retval, qlonglong i) { QString t_retval; t_retval = ((QLocale *)handle)->toString(i); copyQStringToPWideString(t_retval, retval); } void QLocale_toString2(QLocaleH handle, PWideString retval, qulonglong i) { QString t_retval; t_retval = ((QLocale *)handle)->toString(i); copyQStringToPWideString(t_retval, retval); } void QLocale_toString3(QLocaleH handle, PWideString retval, short i) { QString t_retval; t_retval = ((QLocale *)handle)->toString(i); copyQStringToPWideString(t_retval, retval); } void QLocale_toString4(QLocaleH handle, PWideString retval, ushort i) { QString t_retval; t_retval = ((QLocale *)handle)->toString(i); copyQStringToPWideString(t_retval, retval); } void QLocale_toString5(QLocaleH handle, PWideString retval, int i) { QString t_retval; t_retval = ((QLocale *)handle)->toString(i); copyQStringToPWideString(t_retval, retval); } void QLocale_toString6(QLocaleH handle, PWideString retval, uint i) { QString t_retval; t_retval = ((QLocale *)handle)->toString(i); copyQStringToPWideString(t_retval, retval); } void QLocale_toString7(QLocaleH handle, PWideString retval, double i, char f, int prec) { QString t_retval; t_retval = ((QLocale *)handle)->toString(i, f, prec); copyQStringToPWideString(t_retval, retval); } void QLocale_toString8(QLocaleH handle, PWideString retval, float i, char f, int prec) { QString t_retval; t_retval = ((QLocale *)handle)->toString(i, f, prec); copyQStringToPWideString(t_retval, retval); } void QLocale_toString9(QLocaleH handle, PWideString retval, const QDateH date, PWideString formatStr) { QString t_retval; QString t_formatStr; copyPWideStringToQString(formatStr, t_formatStr); t_retval = ((QLocale *)handle)->toString(*(const QDate*)date, t_formatStr); copyQStringToPWideString(t_retval, retval); } void QLocale_toString10(QLocaleH handle, PWideString retval, const QDateH date, QLocale::FormatType format) { QString t_retval; t_retval = ((QLocale *)handle)->toString(*(const QDate*)date, format); copyQStringToPWideString(t_retval, retval); } void QLocale_toString11(QLocaleH handle, PWideString retval, const QTimeH time, PWideString formatStr) { QString t_retval; QString t_formatStr; copyPWideStringToQString(formatStr, t_formatStr); t_retval = ((QLocale *)handle)->toString(*(const QTime*)time, t_formatStr); copyQStringToPWideString(t_retval, retval); } void QLocale_toString12(QLocaleH handle, PWideString retval, const QTimeH time, QLocale::FormatType format) { QString t_retval; t_retval = ((QLocale *)handle)->toString(*(const QTime*)time, format); copyQStringToPWideString(t_retval, retval); } void QLocale_toString13(QLocaleH handle, PWideString retval, const QDateTimeH dateTime, QLocale::FormatType format) { QString t_retval; t_retval = ((QLocale *)handle)->toString(*(const QDateTime*)dateTime, format); copyQStringToPWideString(t_retval, retval); } void QLocale_toString14(QLocaleH handle, PWideString retval, const QDateTimeH dateTime, PWideString format) { QString t_retval; QString t_format; copyPWideStringToQString(format, t_format); t_retval = ((QLocale *)handle)->toString(*(const QDateTime*)dateTime, t_format); copyQStringToPWideString(t_retval, retval); } void QLocale_dateFormat(QLocaleH handle, PWideString retval, QLocale::FormatType format) { QString t_retval; t_retval = ((QLocale *)handle)->dateFormat(format); copyQStringToPWideString(t_retval, retval); } void QLocale_timeFormat(QLocaleH handle, PWideString retval, QLocale::FormatType format) { QString t_retval; t_retval = ((QLocale *)handle)->timeFormat(format); copyQStringToPWideString(t_retval, retval); } void QLocale_dateTimeFormat(QLocaleH handle, PWideString retval, QLocale::FormatType format) { QString t_retval; t_retval = ((QLocale *)handle)->dateTimeFormat(format); copyQStringToPWideString(t_retval, retval); } void QLocale_toDate(QLocaleH handle, QDateH retval, PWideString string, QLocale::FormatType AnonParam2) { QString t_string; copyPWideStringToQString(string, t_string); *(QDate *)retval = ((QLocale *)handle)->toDate(t_string, AnonParam2); } void QLocale_toTime(QLocaleH handle, QTimeH retval, PWideString string, QLocale::FormatType AnonParam2) { QString t_string; copyPWideStringToQString(string, t_string); *(QTime *)retval = ((QLocale *)handle)->toTime(t_string, AnonParam2); } void QLocale_toDateTime(QLocaleH handle, QDateTimeH retval, PWideString string, QLocale::FormatType format) { QString t_string; copyPWideStringToQString(string, t_string); *(QDateTime *)retval = ((QLocale *)handle)->toDateTime(t_string, format); } void QLocale_toDate2(QLocaleH handle, QDateH retval, PWideString string, PWideString format) { QString t_string; QString t_format; copyPWideStringToQString(string, t_string); copyPWideStringToQString(format, t_format); *(QDate *)retval = ((QLocale *)handle)->toDate(t_string, t_format); } void QLocale_toTime2(QLocaleH handle, QTimeH retval, PWideString string, PWideString format) { QString t_string; QString t_format; copyPWideStringToQString(string, t_string); copyPWideStringToQString(format, t_format); *(QTime *)retval = ((QLocale *)handle)->toTime(t_string, t_format); } void QLocale_toDateTime2(QLocaleH handle, QDateTimeH retval, PWideString string, PWideString format) { QString t_string; QString t_format; copyPWideStringToQString(string, t_string); copyPWideStringToQString(format, t_format); *(QDateTime *)retval = ((QLocale *)handle)->toDateTime(t_string, t_format); } void QLocale_decimalPoint(QLocaleH handle, PWideChar retval) { *(QChar *)retval = ((QLocale *)handle)->decimalPoint(); } void QLocale_groupSeparator(QLocaleH handle, PWideChar retval) { *(QChar *)retval = ((QLocale *)handle)->groupSeparator(); } void QLocale_percent(QLocaleH handle, PWideChar retval) { *(QChar *)retval = ((QLocale *)handle)->percent(); } void QLocale_zeroDigit(QLocaleH handle, PWideChar retval) { *(QChar *)retval = ((QLocale *)handle)->zeroDigit(); } void QLocale_negativeSign(QLocaleH handle, PWideChar retval) { *(QChar *)retval = ((QLocale *)handle)->negativeSign(); } void QLocale_positiveSign(QLocaleH handle, PWideChar retval) { *(QChar *)retval = ((QLocale *)handle)->positiveSign(); } void QLocale_exponential(QLocaleH handle, PWideChar retval) { *(QChar *)retval = ((QLocale *)handle)->exponential(); } void QLocale_monthName(QLocaleH handle, PWideString retval, int AnonParam1, QLocale::FormatType format) { QString t_retval; t_retval = ((QLocale *)handle)->monthName(AnonParam1, format); copyQStringToPWideString(t_retval, retval); } void QLocale_standaloneMonthName(QLocaleH handle, PWideString retval, int AnonParam1, QLocale::FormatType format) { QString t_retval; t_retval = ((QLocale *)handle)->standaloneMonthName(AnonParam1, format); copyQStringToPWideString(t_retval, retval); } void QLocale_dayName(QLocaleH handle, PWideString retval, int AnonParam1, QLocale::FormatType format) { QString t_retval; t_retval = ((QLocale *)handle)->dayName(AnonParam1, format); copyQStringToPWideString(t_retval, retval); } void QLocale_standaloneDayName(QLocaleH handle, PWideString retval, int AnonParam1, QLocale::FormatType format) { QString t_retval; t_retval = ((QLocale *)handle)->standaloneDayName(AnonParam1, format); copyQStringToPWideString(t_retval, retval); } void QLocale_amText(QLocaleH handle, PWideString retval) { QString t_retval; t_retval = ((QLocale *)handle)->amText(); copyQStringToPWideString(t_retval, retval); } void QLocale_pmText(QLocaleH handle, PWideString retval) { QString t_retval; t_retval = ((QLocale *)handle)->pmText(); copyQStringToPWideString(t_retval, retval); } QLocale::MeasurementSystem QLocale_measurementSystem(QLocaleH handle) { return (QLocale::MeasurementSystem) ((QLocale *)handle)->measurementSystem(); } void QLocale_languageToString(PWideString retval, QLocale::Language language) { QString t_retval; t_retval = QLocale::languageToString(language); copyQStringToPWideString(t_retval, retval); } void QLocale_countryToString(PWideString retval, QLocale::Country country) { QString t_retval; t_retval = QLocale::countryToString(country); copyQStringToPWideString(t_retval, retval); } void QLocale_setDefault(const QLocaleH locale) { QLocale::setDefault(*(const QLocale*)locale); } void QLocale_c(QLocaleH retval) { *(QLocale *)retval = QLocale::c(); } void QLocale_system(QLocaleH retval) { *(QLocale *)retval = QLocale::system(); } void QLocale_setNumberOptions(QLocaleH handle, unsigned int options) { ((QLocale *)handle)->setNumberOptions((QLocale::NumberOptions)options); } unsigned int QLocale_numberOptions(QLocaleH handle) { return (unsigned int) ((QLocale *)handle)->numberOptions(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qgridlayout_c.h0000664000212600021260000001004111677135472020046 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QGRIDLAYOUT_C_H #define QGRIDLAYOUT_C_H #include #include "pascalbind.h" C_EXPORT QGridLayoutH QGridLayout_create(QWidgetH parent); C_EXPORT void QGridLayout_destroy(QGridLayoutH handle); C_EXPORT QGridLayoutH QGridLayout_create2(); C_EXPORT void QGridLayout_sizeHint(QGridLayoutH handle, PSize retval); C_EXPORT void QGridLayout_minimumSize(QGridLayoutH handle, PSize retval); C_EXPORT void QGridLayout_maximumSize(QGridLayoutH handle, PSize retval); C_EXPORT void QGridLayout_setHorizontalSpacing(QGridLayoutH handle, int spacing); C_EXPORT int QGridLayout_horizontalSpacing(QGridLayoutH handle); C_EXPORT void QGridLayout_setVerticalSpacing(QGridLayoutH handle, int spacing); C_EXPORT int QGridLayout_verticalSpacing(QGridLayoutH handle); C_EXPORT void QGridLayout_setSpacing(QGridLayoutH handle, int spacing); C_EXPORT int QGridLayout_spacing(QGridLayoutH handle); C_EXPORT void QGridLayout_setRowStretch(QGridLayoutH handle, int row, int stretch); C_EXPORT void QGridLayout_setColumnStretch(QGridLayoutH handle, int column, int stretch); C_EXPORT int QGridLayout_rowStretch(QGridLayoutH handle, int row); C_EXPORT int QGridLayout_columnStretch(QGridLayoutH handle, int column); C_EXPORT void QGridLayout_setRowMinimumHeight(QGridLayoutH handle, int row, int minSize); C_EXPORT void QGridLayout_setColumnMinimumWidth(QGridLayoutH handle, int column, int minSize); C_EXPORT int QGridLayout_rowMinimumHeight(QGridLayoutH handle, int row); C_EXPORT int QGridLayout_columnMinimumWidth(QGridLayoutH handle, int column); C_EXPORT int QGridLayout_columnCount(QGridLayoutH handle); C_EXPORT int QGridLayout_rowCount(QGridLayoutH handle); C_EXPORT void QGridLayout_cellRect(QGridLayoutH handle, PRect retval, int row, int column); C_EXPORT bool QGridLayout_hasHeightForWidth(QGridLayoutH handle); C_EXPORT int QGridLayout_heightForWidth(QGridLayoutH handle, int AnonParam1); C_EXPORT int QGridLayout_minimumHeightForWidth(QGridLayoutH handle, int AnonParam1); C_EXPORT unsigned int QGridLayout_expandingDirections(QGridLayoutH handle); C_EXPORT void QGridLayout_invalidate(QGridLayoutH handle); C_EXPORT void QGridLayout_addWidget(QGridLayoutH handle, QWidgetH w); C_EXPORT void QGridLayout_addWidget2(QGridLayoutH handle, QWidgetH AnonParam1, int row, int column, unsigned int AnonParam4); C_EXPORT void QGridLayout_addWidget3(QGridLayoutH handle, QWidgetH AnonParam1, int row, int column, int rowSpan, int columnSpan, unsigned int AnonParam6); C_EXPORT void QGridLayout_addLayout(QGridLayoutH handle, QLayoutH AnonParam1, int row, int column, unsigned int AnonParam4); C_EXPORT void QGridLayout_addLayout2(QGridLayoutH handle, QLayoutH AnonParam1, int row, int column, int rowSpan, int columnSpan, unsigned int AnonParam6); C_EXPORT void QGridLayout_setOriginCorner(QGridLayoutH handle, Qt::Corner AnonParam1); C_EXPORT Qt::Corner QGridLayout_originCorner(QGridLayoutH handle); C_EXPORT QLayoutItemH QGridLayout_itemAt(QGridLayoutH handle, int index); C_EXPORT QLayoutItemH QGridLayout_itemAtPosition(QGridLayoutH handle, int row, int column); C_EXPORT QLayoutItemH QGridLayout_takeAt(QGridLayoutH handle, int index); C_EXPORT int QGridLayout_count(QGridLayoutH handle); C_EXPORT void QGridLayout_setGeometry(QGridLayoutH handle, PRect AnonParam1); C_EXPORT void QGridLayout_addItem(QGridLayoutH handle, QLayoutItemH item, int row, int column, int rowSpan, int columnSpan, unsigned int AnonParam6); C_EXPORT void QGridLayout_setDefaultPositioning(QGridLayoutH handle, int n, Qt::Orientation orient); C_EXPORT void QGridLayout_getItemPosition(QGridLayoutH handle, int idx, int* row, int* column, int* rowSpan, int* columnSpan); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qrubberband_c.cpp0000664000212600021260000000310011677135472020322 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qrubberband_c.h" QRubberBandH QRubberBand_create(QRubberBand::Shape AnonParam1, QWidgetH AnonParam2) { return (QRubberBandH) new QRubberBand(AnonParam1, (QWidget*)AnonParam2); } void QRubberBand_destroy(QRubberBandH handle) { delete (QRubberBand *)handle; } QRubberBand::Shape QRubberBand_shape(QRubberBandH handle) { return (QRubberBand::Shape) ((QRubberBand *)handle)->shape(); } void QRubberBand_setGeometry(QRubberBandH handle, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); ((QRubberBand *)handle)->setGeometry(t_r); } void QRubberBand_setGeometry2(QRubberBandH handle, int x, int y, int w, int h) { ((QRubberBand *)handle)->setGeometry(x, y, w, h); } void QRubberBand_move(QRubberBandH handle, int x, int y) { ((QRubberBand *)handle)->move(x, y); } void QRubberBand_move2(QRubberBandH handle, const QPointH p) { ((QRubberBand *)handle)->move(*(const QPoint*)p); } void QRubberBand_resize(QRubberBandH handle, int w, int h) { ((QRubberBand *)handle)->resize(w, h); } void QRubberBand_resize2(QRubberBandH handle, const QSizeH s) { ((QRubberBand *)handle)->resize(*(const QSize*)s); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfiledialog_c.h0000664000212600021260000001230511677135472017767 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFILEDIALOG_C_H #define QFILEDIALOG_C_H #include #include "pascalbind.h" C_EXPORT QFileDialogH QFileDialog_create(QWidgetH parent, unsigned int f); C_EXPORT void QFileDialog_destroy(QFileDialogH handle); C_EXPORT QFileDialogH QFileDialog_create2(QWidgetH parent, PWideString caption, PWideString directory, PWideString filter); C_EXPORT void QFileDialog_setDirectory(QFileDialogH handle, PWideString directory); C_EXPORT void QFileDialog_setDirectory2(QFileDialogH handle, const QDirH directory); C_EXPORT void QFileDialog_directory(QFileDialogH handle, QDirH retval); C_EXPORT void QFileDialog_selectFile(QFileDialogH handle, PWideString filename); C_EXPORT void QFileDialog_selectedFiles(QFileDialogH handle, QStringListH retval); C_EXPORT void QFileDialog_setNameFilterDetailsVisible(QFileDialogH handle, bool enabled); C_EXPORT bool QFileDialog_isNameFilterDetailsVisible(QFileDialogH handle); C_EXPORT void QFileDialog_setNameFilter(QFileDialogH handle, PWideString filter); C_EXPORT void QFileDialog_setNameFilters(QFileDialogH handle, const QStringListH filters); C_EXPORT void QFileDialog_nameFilters(QFileDialogH handle, QStringListH retval); C_EXPORT void QFileDialog_selectNameFilter(QFileDialogH handle, PWideString filter); C_EXPORT void QFileDialog_selectedNameFilter(QFileDialogH handle, PWideString retval); C_EXPORT unsigned int QFileDialog_filter(QFileDialogH handle); C_EXPORT void QFileDialog_setFilter(QFileDialogH handle, unsigned int filters); C_EXPORT void QFileDialog_setViewMode(QFileDialogH handle, QFileDialog::ViewMode mode); C_EXPORT QFileDialog::ViewMode QFileDialog_viewMode(QFileDialogH handle); C_EXPORT void QFileDialog_setFileMode(QFileDialogH handle, QFileDialog::FileMode mode); C_EXPORT QFileDialog::FileMode QFileDialog_fileMode(QFileDialogH handle); C_EXPORT void QFileDialog_setAcceptMode(QFileDialogH handle, QFileDialog::AcceptMode mode); C_EXPORT QFileDialog::AcceptMode QFileDialog_acceptMode(QFileDialogH handle); C_EXPORT void QFileDialog_setReadOnly(QFileDialogH handle, bool enabled); C_EXPORT bool QFileDialog_isReadOnly(QFileDialogH handle); C_EXPORT void QFileDialog_setResolveSymlinks(QFileDialogH handle, bool enabled); C_EXPORT bool QFileDialog_resolveSymlinks(QFileDialogH handle); C_EXPORT void QFileDialog_saveState(QFileDialogH handle, QByteArrayH retval); C_EXPORT bool QFileDialog_restoreState(QFileDialogH handle, const QByteArrayH state); C_EXPORT void QFileDialog_setConfirmOverwrite(QFileDialogH handle, bool enabled); C_EXPORT bool QFileDialog_confirmOverwrite(QFileDialogH handle); C_EXPORT void QFileDialog_setDefaultSuffix(QFileDialogH handle, PWideString suffix); C_EXPORT void QFileDialog_defaultSuffix(QFileDialogH handle, PWideString retval); C_EXPORT void QFileDialog_setHistory(QFileDialogH handle, const QStringListH paths); C_EXPORT void QFileDialog_history(QFileDialogH handle, QStringListH retval); C_EXPORT void QFileDialog_setItemDelegate(QFileDialogH handle, QAbstractItemDelegateH delegate); C_EXPORT QAbstractItemDelegateH QFileDialog_itemDelegate(QFileDialogH handle); C_EXPORT void QFileDialog_setIconProvider(QFileDialogH handle, QFileIconProviderH provider); C_EXPORT QFileIconProviderH QFileDialog_iconProvider(QFileDialogH handle); C_EXPORT void QFileDialog_setLabelText(QFileDialogH handle, QFileDialog::DialogLabel label, PWideString text); C_EXPORT void QFileDialog_labelText(QFileDialogH handle, PWideString retval, QFileDialog::DialogLabel label); C_EXPORT void QFileDialog_setProxyModel(QFileDialogH handle, QAbstractProxyModelH model); C_EXPORT QAbstractProxyModelH QFileDialog_proxyModel(QFileDialogH handle); C_EXPORT void QFileDialog_setOption(QFileDialogH handle, QFileDialog::Option option, bool on); C_EXPORT bool QFileDialog_testOption(QFileDialogH handle, QFileDialog::Option option); C_EXPORT void QFileDialog_setOptions(QFileDialogH handle, unsigned int options); C_EXPORT unsigned int QFileDialog_options(QFileDialogH handle); C_EXPORT void QFileDialog_open(QFileDialogH handle, QObjectH receiver, const char* member); C_EXPORT void QFileDialog_setVisible(QFileDialogH handle, bool visible); C_EXPORT void QFileDialog_getOpenFileName(PWideString retval, QWidgetH parent, PWideString caption, PWideString dir, PWideString filter, PWideString selectedFilter, unsigned int options); C_EXPORT void QFileDialog_getSaveFileName(PWideString retval, QWidgetH parent, PWideString caption, PWideString dir, PWideString filter, PWideString selectedFilter, unsigned int options); C_EXPORT void QFileDialog_getExistingDirectory(PWideString retval, QWidgetH parent, PWideString caption, PWideString dir, unsigned int options); C_EXPORT void QFileDialog_getOpenFileNames(QStringListH retval, QWidgetH parent, PWideString caption, PWideString dir, PWideString filter, PWideString selectedFilter, unsigned int options); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qvariant_c.h0000664000212600021260000001120511677135472017332 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QVARIANT_C_H #define QVARIANT_C_H #include #include "pascalbind.h" C_EXPORT QVariantH QVariant_create(); C_EXPORT void QVariant_destroy(QVariantH handle); C_EXPORT QVariantH QVariant_create3(int typeOrUserType, const void* copy); C_EXPORT QVariantH QVariant_create4(const QVariantH other); C_EXPORT QVariantH QVariant_create5(QDataStreamH s); C_EXPORT QVariantH QVariant_create6(int i); C_EXPORT QVariantH QVariant_create8(qlonglong ll); C_EXPORT QVariantH QVariant_create9(qulonglong ull); C_EXPORT QVariantH QVariant_create10(bool b); C_EXPORT QVariantH QVariant_create11(double d); C_EXPORT QVariantH QVariant_create12(const char* str); C_EXPORT QVariantH QVariant_create13(const QByteArrayH bytearray); C_EXPORT QVariantH QVariant_create14(const QBitArrayH bitarray); C_EXPORT QVariantH QVariant_create15(PWideString string); C_EXPORT QVariantH QVariant_create16(const QLatin1StringH string); C_EXPORT QVariantH QVariant_create17(const QStringListH stringlist); C_EXPORT QVariantH QVariant_create18(const QCharH qchar); C_EXPORT QVariantH QVariant_create19(const QDateH date); C_EXPORT QVariantH QVariant_create20(const QTimeH time); C_EXPORT QVariantH QVariant_create21(const QDateTimeH datetime); C_EXPORT QVariantH QVariant_create25(const QPointFH pt); C_EXPORT QVariantH QVariant_create26(const QLineH line); C_EXPORT QVariantH QVariant_create27(const QLineFH line); C_EXPORT QVariantH QVariant_create28(PRect rect); C_EXPORT QVariantH QVariant_create29(const QRectFH rect); C_EXPORT QVariantH QVariant_create30(const QUrlH url); C_EXPORT QVariantH QVariant_create31(const QLocaleH locale); C_EXPORT QVariantH QVariant_create32(const QRegExpH regExp); C_EXPORT QVariantH QVariant_create33(Qt::GlobalColor color); C_EXPORT QVariant::Type QVariant_type(QVariantH handle); C_EXPORT int QVariant_userType(QVariantH handle); C_EXPORT const char* QVariant_typeName(QVariantH handle); C_EXPORT bool QVariant_canConvert(QVariantH handle, QVariant::Type t); C_EXPORT bool QVariant_convert(QVariantH handle, QVariant::Type t); C_EXPORT bool QVariant_isValid(QVariantH handle); C_EXPORT bool QVariant_isNull(QVariantH handle); C_EXPORT void QVariant_clear(QVariantH handle); C_EXPORT void QVariant_detach(QVariantH handle); C_EXPORT bool QVariant_isDetached(QVariantH handle); C_EXPORT int QVariant_toInt(QVariantH handle, bool* ok); C_EXPORT uint QVariant_toUInt(QVariantH handle, bool* ok); C_EXPORT qlonglong QVariant_toLongLong(QVariantH handle, bool* ok); C_EXPORT qulonglong QVariant_toULongLong(QVariantH handle, bool* ok); C_EXPORT bool QVariant_toBool(QVariantH handle); C_EXPORT double QVariant_toDouble(QVariantH handle, bool* ok); C_EXPORT void QVariant_toByteArray(QVariantH handle, QByteArrayH retval); C_EXPORT void QVariant_toBitArray(QVariantH handle, QBitArrayH retval); C_EXPORT void QVariant_toString(QVariantH handle, PWideString retval); C_EXPORT void QVariant_toStringList(QVariantH handle, QStringListH retval); C_EXPORT void QVariant_toChar(QVariantH handle, PWideChar retval); C_EXPORT void QVariant_toDate(QVariantH handle, QDateH retval); C_EXPORT void QVariant_toTime(QVariantH handle, QTimeH retval); C_EXPORT void QVariant_toDateTime(QVariantH handle, QDateTimeH retval); C_EXPORT void QVariant_toPoint(QVariantH handle, PQtPoint retval); C_EXPORT void QVariant_toPointF(QVariantH handle, PQtPointF retval); C_EXPORT void QVariant_toRect(QVariantH handle, PRect retval); C_EXPORT void QVariant_toSize(QVariantH handle, PSize retval); C_EXPORT void QVariant_toSizeF(QVariantH handle, QSizeFH retval); C_EXPORT void QVariant_toLine(QVariantH handle, QLineH retval); C_EXPORT void QVariant_toLineF(QVariantH handle, QLineFH retval); C_EXPORT void QVariant_toRectF(QVariantH handle, QRectFH retval); C_EXPORT void QVariant_toUrl(QVariantH handle, QUrlH retval); C_EXPORT void QVariant_toLocale(QVariantH handle, QLocaleH retval); C_EXPORT void QVariant_toRegExp(QVariantH handle, QRegExpH retval); C_EXPORT void QVariant_load(QVariantH handle, QDataStreamH ds); C_EXPORT void QVariant_save(QVariantH handle, QDataStreamH ds); C_EXPORT const char* QVariant_typeToName(QVariant::Type type); C_EXPORT QVariant::Type QVariant_nameToType(const char* name); C_EXPORT const void* QVariant_constData(QVariantH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qbuttongroup_c.cpp0000664000212600021260000000440111677135472020611 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qbuttongroup_c.h" QButtonGroupH QButtonGroup_create(QObjectH parent) { return (QButtonGroupH) new QButtonGroup((QObject*)parent); } void QButtonGroup_destroy(QButtonGroupH handle) { delete (QButtonGroup *)handle; } void QButtonGroup_setExclusive(QButtonGroupH handle, bool AnonParam1) { ((QButtonGroup *)handle)->setExclusive(AnonParam1); } bool QButtonGroup_exclusive(QButtonGroupH handle) { return (bool) ((QButtonGroup *)handle)->exclusive(); } void QButtonGroup_addButton(QButtonGroupH handle, QAbstractButtonH AnonParam1) { ((QButtonGroup *)handle)->addButton((QAbstractButton*)AnonParam1); } void QButtonGroup_addButton2(QButtonGroupH handle, QAbstractButtonH AnonParam1, int id) { ((QButtonGroup *)handle)->addButton((QAbstractButton*)AnonParam1, id); } void QButtonGroup_removeButton(QButtonGroupH handle, QAbstractButtonH AnonParam1) { ((QButtonGroup *)handle)->removeButton((QAbstractButton*)AnonParam1); } void QButtonGroup_buttons(QButtonGroupH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QButtonGroup *)handle)->buttons(); copyQListTemplateToPtrIntArray(t_retval, retval); } QAbstractButtonH QButtonGroup_checkedButton(QButtonGroupH handle) { return (QAbstractButtonH) ((QButtonGroup *)handle)->checkedButton(); } QAbstractButtonH QButtonGroup_button(QButtonGroupH handle, int id) { return (QAbstractButtonH) ((QButtonGroup *)handle)->button(id); } void QButtonGroup_setId(QButtonGroupH handle, QAbstractButtonH button, int id) { ((QButtonGroup *)handle)->setId((QAbstractButton*)button, id); } int QButtonGroup_id(QButtonGroupH handle, QAbstractButtonH button) { return (int) ((QButtonGroup *)handle)->id((QAbstractButton*)button); } int QButtonGroup_checkedId(QButtonGroupH handle) { return (int) ((QButtonGroup *)handle)->checkedId(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextoption_c.h0000664000212600021260000000351511677135472020110 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTEXTOPTION_C_H #define QTEXTOPTION_C_H #include #include "pascalbind.h" C_EXPORT QTextOptionH QTextOption_create(); C_EXPORT void QTextOption_destroy(QTextOptionH handle); C_EXPORT QTextOptionH QTextOption_create2(unsigned int alignment); C_EXPORT QTextOptionH QTextOption_create3(const QTextOptionH o); C_EXPORT void QTextOption_setAlignment(QTextOptionH handle, unsigned int alignment); C_EXPORT unsigned int QTextOption_alignment(QTextOptionH handle); C_EXPORT void QTextOption_setTextDirection(QTextOptionH handle, Qt::LayoutDirection aDirection); C_EXPORT Qt::LayoutDirection QTextOption_textDirection(QTextOptionH handle); C_EXPORT void QTextOption_setWrapMode(QTextOptionH handle, QTextOption::WrapMode wrap); C_EXPORT QTextOption::WrapMode QTextOption_wrapMode(QTextOptionH handle); C_EXPORT void QTextOption_setFlags(QTextOptionH handle, unsigned int flags); C_EXPORT unsigned int QTextOption_flags(QTextOptionH handle); C_EXPORT void QTextOption_setTabStop(QTextOptionH handle, qreal tabStop); C_EXPORT qreal QTextOption_tabStop(QTextOptionH handle); C_EXPORT void QTextOption_setTabArray(QTextOptionH handle, PPtrIntArray tabStops); C_EXPORT void QTextOption_tabArray(QTextOptionH handle, PPtrIntArray retval); C_EXPORT void QTextOption_setUseDesignMetrics(QTextOptionH handle, bool b); C_EXPORT bool QTextOption_useDesignMetrics(QTextOptionH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractprintdialog_c.cpp0000664000212600021260000000522011677135472022261 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractprintdialog_c.h" int QAbstractPrintDialog_exec(QAbstractPrintDialogH handle) { return (int) ((QAbstractPrintDialog *)handle)->exec(); } void QAbstractPrintDialog_addEnabledOption(QAbstractPrintDialogH handle, QAbstractPrintDialog::PrintDialogOption option) { ((QAbstractPrintDialog *)handle)->addEnabledOption(option); } void QAbstractPrintDialog_setEnabledOptions(QAbstractPrintDialogH handle, unsigned int options) { ((QAbstractPrintDialog *)handle)->setEnabledOptions((QAbstractPrintDialog::PrintDialogOptions)options); } unsigned int QAbstractPrintDialog_enabledOptions(QAbstractPrintDialogH handle) { return (unsigned int) ((QAbstractPrintDialog *)handle)->enabledOptions(); } bool QAbstractPrintDialog_isOptionEnabled(QAbstractPrintDialogH handle, QAbstractPrintDialog::PrintDialogOption option) { return (bool) ((QAbstractPrintDialog *)handle)->isOptionEnabled(option); } void QAbstractPrintDialog_setPrintRange(QAbstractPrintDialogH handle, QAbstractPrintDialog::PrintRange range) { ((QAbstractPrintDialog *)handle)->setPrintRange(range); } QAbstractPrintDialog::PrintRange QAbstractPrintDialog_printRange(QAbstractPrintDialogH handle) { return (QAbstractPrintDialog::PrintRange) ((QAbstractPrintDialog *)handle)->printRange(); } void QAbstractPrintDialog_setMinMax(QAbstractPrintDialogH handle, int min, int max) { ((QAbstractPrintDialog *)handle)->setMinMax(min, max); } int QAbstractPrintDialog_minPage(QAbstractPrintDialogH handle) { return (int) ((QAbstractPrintDialog *)handle)->minPage(); } int QAbstractPrintDialog_maxPage(QAbstractPrintDialogH handle) { return (int) ((QAbstractPrintDialog *)handle)->maxPage(); } void QAbstractPrintDialog_setFromTo(QAbstractPrintDialogH handle, int fromPage, int toPage) { ((QAbstractPrintDialog *)handle)->setFromTo(fromPage, toPage); } int QAbstractPrintDialog_fromPage(QAbstractPrintDialogH handle) { return (int) ((QAbstractPrintDialog *)handle)->fromPage(); } int QAbstractPrintDialog_toPage(QAbstractPrintDialogH handle) { return (int) ((QAbstractPrintDialog *)handle)->toPage(); } QPrinterH QAbstractPrintDialog_printer(QAbstractPrintDialogH handle) { return (QPrinterH) ((QAbstractPrintDialog *)handle)->printer(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtablewidget_hook_c.cpp0000664000212600021260000000672411677135472021546 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtablewidget_hook_c.h" QTableWidgetSelectionRange_hookH QTableWidgetSelectionRange_hook_create(QObjectH handle) { return (QTableWidgetSelectionRange_hookH) new QTableWidgetSelectionRange_hook((QObject*)handle); } void QTableWidgetSelectionRange_hook_destroy(QTableWidgetSelectionRange_hookH handle) { delete (QTableWidgetSelectionRange_hook *)handle; } QTableWidgetItem_hookH QTableWidgetItem_hook_create(QObjectH handle) { return (QTableWidgetItem_hookH) new QTableWidgetItem_hook((QObject*)handle); } void QTableWidgetItem_hook_destroy(QTableWidgetItem_hookH handle) { delete (QTableWidgetItem_hook *)handle; } QTableWidget_hookH QTableWidget_hook_create(QObjectH handle) { return (QTableWidget_hookH) new QTableWidget_hook((QObject*)handle); } void QTableWidget_hook_destroy(QTableWidget_hookH handle) { delete (QTableWidget_hook *)handle; } void QTableWidget_hook_hook_itemPressed(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_itemPressed(hook); } void QTableWidget_hook_hook_itemClicked(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_itemClicked(hook); } void QTableWidget_hook_hook_itemDoubleClicked(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_itemDoubleClicked(hook); } void QTableWidget_hook_hook_itemActivated(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_itemActivated(hook); } void QTableWidget_hook_hook_itemEntered(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_itemEntered(hook); } void QTableWidget_hook_hook_itemChanged(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_itemChanged(hook); } void QTableWidget_hook_hook_currentItemChanged(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_currentItemChanged(hook); } void QTableWidget_hook_hook_itemSelectionChanged(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_itemSelectionChanged(hook); } void QTableWidget_hook_hook_cellPressed(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_cellPressed(hook); } void QTableWidget_hook_hook_cellClicked(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_cellClicked(hook); } void QTableWidget_hook_hook_cellDoubleClicked(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_cellDoubleClicked(hook); } void QTableWidget_hook_hook_cellActivated(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_cellActivated(hook); } void QTableWidget_hook_hook_cellEntered(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_cellEntered(hook); } void QTableWidget_hook_hook_cellChanged(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_cellChanged(hook); } void QTableWidget_hook_hook_currentCellChanged(QTableWidget_hookH handle, QHookH hook) { ((QTableWidget_hook *)handle)->hook_currentCellChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractspinbox_hook_c.cpp0000664000212600021260000000165611677135472022460 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractspinbox_hook_c.h" QAbstractSpinBox_hookH QAbstractSpinBox_hook_create(QObjectH handle) { return (QAbstractSpinBox_hookH) new QAbstractSpinBox_hook((QObject*)handle); } void QAbstractSpinBox_hook_destroy(QAbstractSpinBox_hookH handle) { delete (QAbstractSpinBox_hook *)handle; } void QAbstractSpinBox_hook_hook_editingFinished(QAbstractSpinBox_hookH handle, QHookH hook) { ((QAbstractSpinBox_hook *)handle)->hook_editingFinished(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtableview_c.h0000664000212600021260000001030711677135472017652 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTABLEVIEW_C_H #define QTABLEVIEW_C_H #include #include "pascalbind.h" C_EXPORT QTableViewH QTableView_create(QWidgetH parent); C_EXPORT void QTableView_destroy(QTableViewH handle); C_EXPORT void QTableView_setModel(QTableViewH handle, QAbstractItemModelH model); C_EXPORT void QTableView_setRootIndex(QTableViewH handle, const QModelIndexH index); C_EXPORT void QTableView_setSelectionModel(QTableViewH handle, QItemSelectionModelH selectionModel); C_EXPORT QHeaderViewH QTableView_horizontalHeader(QTableViewH handle); C_EXPORT QHeaderViewH QTableView_verticalHeader(QTableViewH handle); C_EXPORT void QTableView_setHorizontalHeader(QTableViewH handle, QHeaderViewH header); C_EXPORT void QTableView_setVerticalHeader(QTableViewH handle, QHeaderViewH header); C_EXPORT int QTableView_rowViewportPosition(QTableViewH handle, int row); C_EXPORT int QTableView_rowAt(QTableViewH handle, int y); C_EXPORT void QTableView_setRowHeight(QTableViewH handle, int row, int height); C_EXPORT int QTableView_rowHeight(QTableViewH handle, int row); C_EXPORT int QTableView_columnViewportPosition(QTableViewH handle, int column); C_EXPORT int QTableView_columnAt(QTableViewH handle, int x); C_EXPORT void QTableView_setColumnWidth(QTableViewH handle, int column, int width); C_EXPORT int QTableView_columnWidth(QTableViewH handle, int column); C_EXPORT bool QTableView_isRowHidden(QTableViewH handle, int row); C_EXPORT void QTableView_setRowHidden(QTableViewH handle, int row, bool hide); C_EXPORT bool QTableView_isColumnHidden(QTableViewH handle, int column); C_EXPORT void QTableView_setColumnHidden(QTableViewH handle, int column, bool hide); C_EXPORT void QTableView_setSortingEnabled(QTableViewH handle, bool enable); C_EXPORT bool QTableView_isSortingEnabled(QTableViewH handle); C_EXPORT bool QTableView_showGrid(QTableViewH handle); C_EXPORT Qt::PenStyle QTableView_gridStyle(QTableViewH handle); C_EXPORT void QTableView_setGridStyle(QTableViewH handle, Qt::PenStyle style); C_EXPORT void QTableView_setWordWrap(QTableViewH handle, bool on); C_EXPORT bool QTableView_wordWrap(QTableViewH handle); C_EXPORT void QTableView_setCornerButtonEnabled(QTableViewH handle, bool enable); C_EXPORT bool QTableView_isCornerButtonEnabled(QTableViewH handle); C_EXPORT void QTableView_visualRect(QTableViewH handle, PRect retval, const QModelIndexH index); C_EXPORT void QTableView_scrollTo(QTableViewH handle, const QModelIndexH index, QAbstractItemView::ScrollHint hint); C_EXPORT void QTableView_indexAt(QTableViewH handle, QModelIndexH retval, const QPointH p); C_EXPORT void QTableView_setSpan(QTableViewH handle, int row, int column, int rowSpan, int columnSpan); C_EXPORT int QTableView_rowSpan(QTableViewH handle, int row, int column); C_EXPORT int QTableView_columnSpan(QTableViewH handle, int row, int column); C_EXPORT void QTableView_clearSpans(QTableViewH handle); C_EXPORT void QTableView_sortByColumn(QTableViewH handle, int column, Qt::SortOrder order); C_EXPORT void QTableView_selectRow(QTableViewH handle, int row); C_EXPORT void QTableView_selectColumn(QTableViewH handle, int column); C_EXPORT void QTableView_hideRow(QTableViewH handle, int row); C_EXPORT void QTableView_hideColumn(QTableViewH handle, int column); C_EXPORT void QTableView_showRow(QTableViewH handle, int row); C_EXPORT void QTableView_showColumn(QTableViewH handle, int column); C_EXPORT void QTableView_resizeRowToContents(QTableViewH handle, int row); C_EXPORT void QTableView_resizeRowsToContents(QTableViewH handle); C_EXPORT void QTableView_resizeColumnToContents(QTableViewH handle, int column); C_EXPORT void QTableView_resizeColumnsToContents(QTableViewH handle); C_EXPORT void QTableView_sortByColumn2(QTableViewH handle, int column); C_EXPORT void QTableView_setShowGrid(QTableViewH handle, bool show); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkrequest_c.h0000664000212600021260000000375511677135472021003 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QNETWORKREQUEST_C_H #define QNETWORKREQUEST_C_H #include #include "pascalbind.h" C_EXPORT QNetworkRequestH QNetworkRequest_create(const QUrlH url); C_EXPORT void QNetworkRequest_destroy(QNetworkRequestH handle); C_EXPORT QNetworkRequestH QNetworkRequest_create2(const QNetworkRequestH other); C_EXPORT void QNetworkRequest_url(QNetworkRequestH handle, QUrlH retval); C_EXPORT void QNetworkRequest_setUrl(QNetworkRequestH handle, const QUrlH url); C_EXPORT void QNetworkRequest_header(QNetworkRequestH handle, QVariantH retval, QNetworkRequest::KnownHeaders header); C_EXPORT void QNetworkRequest_setHeader(QNetworkRequestH handle, QNetworkRequest::KnownHeaders header, const QVariantH value); C_EXPORT bool QNetworkRequest_hasRawHeader(QNetworkRequestH handle, const QByteArrayH headerName); C_EXPORT void QNetworkRequest_rawHeader(QNetworkRequestH handle, QByteArrayH retval, const QByteArrayH headerName); C_EXPORT void QNetworkRequest_setRawHeader(QNetworkRequestH handle, const QByteArrayH headerName, const QByteArrayH value); C_EXPORT void QNetworkRequest_attribute(QNetworkRequestH handle, QVariantH retval, QNetworkRequest::Attribute code, const QVariantH defaultValue); C_EXPORT void QNetworkRequest_setAttribute(QNetworkRequestH handle, QNetworkRequest::Attribute code, const QVariantH value); C_EXPORT void QNetworkRequest_sslConfiguration(QNetworkRequestH handle, QSslConfigurationH retval); C_EXPORT void QNetworkRequest_setSslConfiguration(QNetworkRequestH handle, const QSslConfigurationH configuration); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcolordialog_c.h0000664000212600021260000000404611677135472020171 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCOLORDIALOG_C_H #define QCOLORDIALOG_C_H #include #include "pascalbind.h" C_EXPORT QColorDialogH QColorDialog_create(QWidgetH parent); C_EXPORT void QColorDialog_destroy(QColorDialogH handle); C_EXPORT QColorDialogH QColorDialog_create2(const QColorH initial, QWidgetH parent); C_EXPORT void QColorDialog_setCurrentColor(QColorDialogH handle, const QColorH color); C_EXPORT void QColorDialog_currentColor(QColorDialogH handle, PQColor retval); C_EXPORT void QColorDialog_selectedColor(QColorDialogH handle, PQColor retval); C_EXPORT void QColorDialog_setOption(QColorDialogH handle, QColorDialog::ColorDialogOption option, bool on); C_EXPORT bool QColorDialog_testOption(QColorDialogH handle, QColorDialog::ColorDialogOption option); C_EXPORT void QColorDialog_setOptions(QColorDialogH handle, unsigned int options); C_EXPORT unsigned int QColorDialog_options(QColorDialogH handle); C_EXPORT void QColorDialog_open(QColorDialogH handle, QObjectH receiver, const char* member); C_EXPORT void QColorDialog_setVisible(QColorDialogH handle, bool visible); C_EXPORT void QColorDialog_getColor(PQColor retval, const QColorH initial, QWidgetH parent, PWideString title, unsigned int options); C_EXPORT void QColorDialog_getColor2(PQColor retval, const QColorH initial, QWidgetH parent); C_EXPORT QRgb QColorDialog_getRgba(QRgb rgba, bool* ok, QWidgetH parent); C_EXPORT int QColorDialog_customCount(); C_EXPORT QRgb QColorDialog_customColor(int index); C_EXPORT void QColorDialog_setCustomColor(int index, QRgb color); C_EXPORT void QColorDialog_setStandardColor(int index, QRgb color); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qiodevice_c.cpp0000664000212600021260000001046211677135472020014 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qiodevice_c.h" unsigned int QIODevice_openMode(QIODeviceH handle) { return (unsigned int) ((QIODevice *)handle)->openMode(); } void QIODevice_setTextModeEnabled(QIODeviceH handle, bool enabled) { ((QIODevice *)handle)->setTextModeEnabled(enabled); } bool QIODevice_isTextModeEnabled(QIODeviceH handle) { return (bool) ((QIODevice *)handle)->isTextModeEnabled(); } bool QIODevice_isOpen(QIODeviceH handle) { return (bool) ((QIODevice *)handle)->isOpen(); } bool QIODevice_isReadable(QIODeviceH handle) { return (bool) ((QIODevice *)handle)->isReadable(); } bool QIODevice_isWritable(QIODeviceH handle) { return (bool) ((QIODevice *)handle)->isWritable(); } bool QIODevice_isSequential(QIODeviceH handle) { return (bool) ((QIODevice *)handle)->isSequential(); } bool QIODevice_open(QIODeviceH handle, unsigned int mode) { return (bool) ((QIODevice *)handle)->open((QIODevice::OpenMode)mode); } void QIODevice_close(QIODeviceH handle) { ((QIODevice *)handle)->close(); } qint64 QIODevice_pos(QIODeviceH handle) { return (qint64) ((QIODevice *)handle)->pos(); } qint64 QIODevice_size(QIODeviceH handle) { return (qint64) ((QIODevice *)handle)->size(); } bool QIODevice_seek(QIODeviceH handle, qint64 pos) { return (bool) ((QIODevice *)handle)->seek(pos); } bool QIODevice_atEnd(QIODeviceH handle) { return (bool) ((QIODevice *)handle)->atEnd(); } bool QIODevice_reset(QIODeviceH handle) { return (bool) ((QIODevice *)handle)->reset(); } qint64 QIODevice_bytesAvailable(QIODeviceH handle) { return (qint64) ((QIODevice *)handle)->bytesAvailable(); } qint64 QIODevice_bytesToWrite(QIODeviceH handle) { return (qint64) ((QIODevice *)handle)->bytesToWrite(); } qint64 QIODevice_read(QIODeviceH handle, char* data, qint64 maxlen) { return (qint64) ((QIODevice *)handle)->read(data, maxlen); } void QIODevice_read2(QIODeviceH handle, QByteArrayH retval, qint64 maxlen) { *(QByteArray *)retval = ((QIODevice *)handle)->read(maxlen); } void QIODevice_readAll(QIODeviceH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QIODevice *)handle)->readAll(); } qint64 QIODevice_readLine(QIODeviceH handle, char* data, qint64 maxlen) { return (qint64) ((QIODevice *)handle)->readLine(data, maxlen); } void QIODevice_readLine2(QIODeviceH handle, QByteArrayH retval, qint64 maxlen) { *(QByteArray *)retval = ((QIODevice *)handle)->readLine(maxlen); } bool QIODevice_canReadLine(QIODeviceH handle) { return (bool) ((QIODevice *)handle)->canReadLine(); } qint64 QIODevice_write(QIODeviceH handle, const char* data, qint64 len) { return (qint64) ((QIODevice *)handle)->write(data, len); } qint64 QIODevice_write2(QIODeviceH handle, const char* data) { return (qint64) ((QIODevice *)handle)->write(data); } qint64 QIODevice_write3(QIODeviceH handle, const QByteArrayH data) { return (qint64) ((QIODevice *)handle)->write(*(const QByteArray*)data); } qint64 QIODevice_peek(QIODeviceH handle, char* data, qint64 maxlen) { return (qint64) ((QIODevice *)handle)->peek(data, maxlen); } void QIODevice_peek2(QIODeviceH handle, QByteArrayH retval, qint64 maxlen) { *(QByteArray *)retval = ((QIODevice *)handle)->peek(maxlen); } bool QIODevice_waitForReadyRead(QIODeviceH handle, int msecs) { return (bool) ((QIODevice *)handle)->waitForReadyRead(msecs); } bool QIODevice_waitForBytesWritten(QIODeviceH handle, int msecs) { return (bool) ((QIODevice *)handle)->waitForBytesWritten(msecs); } void QIODevice_ungetChar(QIODeviceH handle, char c) { ((QIODevice *)handle)->ungetChar(c); } bool QIODevice_putChar(QIODeviceH handle, char c) { return (bool) ((QIODevice *)handle)->putChar(c); } bool QIODevice_getChar(QIODeviceH handle, char* c) { return (bool) ((QIODevice *)handle)->getChar(c); } void QIODevice_errorString(QIODeviceH handle, PWideString retval) { QString t_retval; t_retval = ((QIODevice *)handle)->errorString(); copyQStringToPWideString(t_retval, retval); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qudpsocket_hook_c.cpp0000664000212600021260000000133511677135472021245 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qudpsocket_hook_c.h" QUdpSocket_hookH QUdpSocket_hook_create(QObjectH handle) { return (QUdpSocket_hookH) new QUdpSocket_hook((QObject*)handle); } void QUdpSocket_hook_destroy(QUdpSocket_hookH handle) { delete (QUdpSocket_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextobject_c.h0000664000212600021260000001015111677135472020040 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTEXTOBJECT_C_H #define QTEXTOBJECT_C_H #include #include "pascalbind.h" C_EXPORT void QTextObject_format(QTextObjectH handle, QTextFormatH retval); C_EXPORT int QTextObject_formatIndex(QTextObjectH handle); C_EXPORT QTextDocumentH QTextObject_document(QTextObjectH handle); C_EXPORT int QTextObject_objectIndex(QTextObjectH handle); C_EXPORT QTextFrameH QTextFrame_create(QTextDocumentH doc); C_EXPORT void QTextFrame_destroy(QTextFrameH handle); C_EXPORT void QTextFrame_setFrameFormat(QTextFrameH handle, const QTextFrameFormatH format); C_EXPORT void QTextFrame_frameFormat(QTextFrameH handle, QTextFrameFormatH retval); C_EXPORT void QTextFrame_firstCursorPosition(QTextFrameH handle, QTextCursorH retval); C_EXPORT void QTextFrame_lastCursorPosition(QTextFrameH handle, QTextCursorH retval); C_EXPORT int QTextFrame_firstPosition(QTextFrameH handle); C_EXPORT int QTextFrame_lastPosition(QTextFrameH handle); C_EXPORT void QTextFrame_childFrames(QTextFrameH handle, PPtrIntArray retval); C_EXPORT QTextFrameH QTextFrame_parentFrame(QTextFrameH handle); C_EXPORT QTextBlockH QTextBlock_create(); C_EXPORT void QTextBlock_destroy(QTextBlockH handle); C_EXPORT QTextBlockH QTextBlock_create2(const QTextBlockH o); C_EXPORT bool QTextBlock_isValid(QTextBlockH handle); C_EXPORT int QTextBlock_position(QTextBlockH handle); C_EXPORT int QTextBlock_length(QTextBlockH handle); C_EXPORT bool QTextBlock_contains(QTextBlockH handle, int position); C_EXPORT QTextLayoutH QTextBlock_layout(QTextBlockH handle); C_EXPORT void QTextBlock_clearLayout(QTextBlockH handle); C_EXPORT void QTextBlock_blockFormat(QTextBlockH handle, QTextBlockFormatH retval); C_EXPORT int QTextBlock_blockFormatIndex(QTextBlockH handle); C_EXPORT void QTextBlock_charFormat(QTextBlockH handle, QTextCharFormatH retval); C_EXPORT int QTextBlock_charFormatIndex(QTextBlockH handle); C_EXPORT void QTextBlock_text(QTextBlockH handle, PWideString retval); C_EXPORT const QTextDocumentH QTextBlock_document(QTextBlockH handle); C_EXPORT QTextListH QTextBlock_textList(QTextBlockH handle); C_EXPORT QTextBlockUserDataH QTextBlock_userData(QTextBlockH handle); C_EXPORT void QTextBlock_setUserData(QTextBlockH handle, QTextBlockUserDataH data); C_EXPORT int QTextBlock_userState(QTextBlockH handle); C_EXPORT void QTextBlock_setUserState(QTextBlockH handle, int state); C_EXPORT int QTextBlock_revision(QTextBlockH handle); C_EXPORT void QTextBlock_setRevision(QTextBlockH handle, int rev); C_EXPORT bool QTextBlock_isVisible(QTextBlockH handle); C_EXPORT void QTextBlock_setVisible(QTextBlockH handle, bool visible); C_EXPORT int QTextBlock_blockNumber(QTextBlockH handle); C_EXPORT int QTextBlock_firstLineNumber(QTextBlockH handle); C_EXPORT void QTextBlock_setLineCount(QTextBlockH handle, int count); C_EXPORT int QTextBlock_lineCount(QTextBlockH handle); C_EXPORT void QTextBlock_next(QTextBlockH handle, QTextBlockH retval); C_EXPORT void QTextBlock_previous(QTextBlockH handle, QTextBlockH retval); C_EXPORT int QTextBlock_fragmentIndex(QTextBlockH handle); C_EXPORT QTextFragmentH QTextFragment_create(); C_EXPORT void QTextFragment_destroy(QTextFragmentH handle); C_EXPORT QTextFragmentH QTextFragment_create2(const QTextFragmentH o); C_EXPORT bool QTextFragment_isValid(QTextFragmentH handle); C_EXPORT int QTextFragment_position(QTextFragmentH handle); C_EXPORT int QTextFragment_length(QTextFragmentH handle); C_EXPORT bool QTextFragment_contains(QTextFragmentH handle, int position); C_EXPORT void QTextFragment_charFormat(QTextFragmentH handle, QTextCharFormatH retval); C_EXPORT int QTextFragment_charFormatIndex(QTextFragmentH handle); C_EXPORT void QTextFragment_text(QTextFragmentH handle, PWideString retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qshortcut_hook_c.cpp0000664000212600021260000000175311677135472021123 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qshortcut_hook_c.h" QShortcut_hookH QShortcut_hook_create(QObjectH handle) { return (QShortcut_hookH) new QShortcut_hook((QObject*)handle); } void QShortcut_hook_destroy(QShortcut_hookH handle) { delete (QShortcut_hook *)handle; } void QShortcut_hook_hook_activated(QShortcut_hookH handle, QHookH hook) { ((QShortcut_hook *)handle)->hook_activated(hook); } void QShortcut_hook_hook_activatedAmbiguously(QShortcut_hookH handle, QHookH hook) { ((QShortcut_hook *)handle)->hook_activatedAmbiguously(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlistview_hook_c.h0000664000212600021260000000127211677135472020557 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLISTVIEW_HOOK_C_H #define QLISTVIEW_HOOK_C_H #include "qlistview_hook.h" C_EXPORT QListView_hookH QListView_hook_create(QObjectH handle); C_EXPORT void QListView_hook_destroy(QListView_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclitemdelegate.h0000644000212600021260000001343011677135472020510 0ustar janjan#ifndef QLCLITEMDELEGATE_H #define QLCLITEMDELEGATE_H #include #include "pascalbind.h" class QLCLItemDelegate : public QItemDelegate { public: //==================================================================================== QLCLItemDelegate(QObject *parent = 0) : QItemDelegate(parent) { sizeHintOverride.func = NULL; paintOverride.func = NULL; createEditorOverride.func = NULL; setEditorDataOverride.func = NULL; setModelDataOverride.func = NULL; updateEditorGeometryOverride.func = NULL; editorEventOverride.func = NULL; }; //==================================================================================== void override_sizeHint(const QOverrideHook hook) { sizeHintOverride = hook; } //==================================================================================== void override_paint(const QOverrideHook hook) { paintOverride = hook; } void override_createEditor(const QOverrideHook hook) { createEditorOverride = hook; } void override_setEditorData(const QOverrideHook hook) { setEditorDataOverride = hook; } void override_setModelData(const QOverrideHook hook) { setModelDataOverride = hook; } void override_updateEditorGeometry(const QOverrideHook hook) { updateEditorGeometryOverride = hook; } void override_editorEvent(const QOverrideHook hook) { editorEventOverride = hook; } bool InheritedEditorEvent(QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index) { return QAbstractItemDelegate::editorEvent(event, model, option, index); }; private: //==================================================================================== QOverrideHook sizeHintOverride; QOverrideHook paintOverride; QOverrideHook createEditorOverride; QOverrideHook setEditorDataOverride; QOverrideHook setModelDataOverride; QOverrideHook updateEditorGeometryOverride; QOverrideHook editorEventOverride; //==================================================================================== QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const { QSize size = QItemDelegate::sizeHint(option,index); if (sizeHintOverride.func) { typedef void (*func_type)(void *data, const QStyleOptionViewItemH option, const QModelIndexH index, QSizeH size); (*(func_type)sizeHintOverride.func)(sizeHintOverride.data, (const QStyleOptionViewItemH)&option, (const QModelIndexH)&index, (QSizeH) &size); } return size; }; //==================================================================================== void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) const { if (paintOverride.func) { typedef void (*func_type)(void *data, QPainterH painter, const QStyleOptionViewItemH option, const QModelIndexH index); (*(func_type)paintOverride.func)(paintOverride.data, (QPainterH) painter, (const QStyleOptionViewItemH)&option, (const QModelIndexH)&index); } } QWidget* createEditor(QWidget * parent, const QStyleOptionViewItem &option, const QModelIndex &index) const { QWidget* widget = 0; if (createEditorOverride.func) { typedef void (*func_type)(void *data, QWidgetH parent, const QStyleOptionViewItemH option, const QModelIndexH index, QWidgetH w); (*(func_type)createEditorOverride.func)(createEditorOverride.data, (QWidgetH) parent, (const QStyleOptionViewItemH)&option, (const QModelIndexH)&index, (QWidgetH) &widget); if (widget == 0) widget = QItemDelegate::createEditor(parent, option, index); } else widget = QItemDelegate::createEditor(parent, option, index); return widget; }; void setEditorData(QWidget * editor, const QModelIndex & index ) const { if (setEditorDataOverride.func) { typedef void (*func_type)(void *data, QWidgetH editor, const QModelIndexH index); (*(func_type)setEditorDataOverride.func)(setEditorDataOverride.data, (QWidgetH) editor, (const QModelIndexH)&index); } else QItemDelegate::setEditorData(editor,index); } void setModelData(QWidget * editor, QAbstractItemModel * model, const QModelIndex & index ) const { if (setModelDataOverride.func) { typedef void (*func_type)(void *data, QWidgetH editor, QAbstractItemModelH model, const QModelIndexH index); (*(func_type)setModelDataOverride.func)(setModelDataOverride.data, (QWidgetH) editor, (QAbstractItemModelH) model, (const QModelIndexH)&index); } else QItemDelegate::setModelData(editor,model,index); } void updateEditorGeometry(QWidget * parent, const QStyleOptionViewItem &option, const QModelIndex &index) const { if (updateEditorGeometryOverride.func) { typedef void (*func_type)(void *data, QWidgetH parent, const QStyleOptionViewItemH option, const QModelIndexH index); (*(func_type)updateEditorGeometryOverride.func)(updateEditorGeometryOverride.data, (QWidgetH) parent, (const QStyleOptionViewItemH)&option, (const QModelIndexH)&index); } else updateEditorGeometry(parent,option,index); }; bool editorEvent(QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index) { bool result = false; if (editorEventOverride.func) { typedef void (*func_type)(void *data,const QEventH event, QAbstractItemModelH model, const QStyleOptionViewItemH option, const QModelIndexH index, bool * result); (*(func_type)editorEventOverride.func)(editorEventOverride.data, (const QEventH)event, (QAbstractItemModelH) model, (const QStyleOptionViewItemH)&option, (const QModelIndexH) &index, (bool *) &result); } else result = QAbstractItemDelegate::editorEvent(event, model, option, index); return result; }; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qshortcut_hook_c.h0000664000212600021260000000155111677135472020564 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSHORTCUT_HOOK_C_H #define QSHORTCUT_HOOK_C_H #include "qshortcut_hook.h" C_EXPORT QShortcut_hookH QShortcut_hook_create(QObjectH handle); C_EXPORT void QShortcut_hook_destroy(QShortcut_hookH handle); C_EXPORT void QShortcut_hook_hook_activated(QShortcut_hookH handle, QHookH hook); C_EXPORT void QShortcut_hook_hook_activatedAmbiguously(QShortcut_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlabel_c.cpp0000664000212600021260000001065011677135472017303 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlabel_c.h" QLabelH QLabel_create(QWidgetH parent, unsigned int f) { return (QLabelH) new QLabel((QWidget*)parent, (Qt::WindowFlags)f); } void QLabel_destroy(QLabelH handle) { delete (QLabel *)handle; } QLabelH QLabel_create2(PWideString text, QWidgetH parent, unsigned int f) { QString t_text; copyPWideStringToQString(text, t_text); return (QLabelH) new QLabel(t_text, (QWidget*)parent, (Qt::WindowFlags)f); } void QLabel_text(QLabelH handle, PWideString retval) { QString t_retval; t_retval = ((QLabel *)handle)->text(); copyQStringToPWideString(t_retval, retval); } const QPixmapH QLabel_pixmap(QLabelH handle) { return (const QPixmapH) ((QLabel *)handle)->pixmap(); } const QPictureH QLabel_picture(QLabelH handle) { return (const QPictureH) ((QLabel *)handle)->picture(); } QMovieH QLabel_movie(QLabelH handle) { return (QMovieH) ((QLabel *)handle)->movie(); } Qt::TextFormat QLabel_textFormat(QLabelH handle) { return (Qt::TextFormat) ((QLabel *)handle)->textFormat(); } void QLabel_setTextFormat(QLabelH handle, Qt::TextFormat AnonParam1) { ((QLabel *)handle)->setTextFormat(AnonParam1); } unsigned int QLabel_alignment(QLabelH handle) { return (unsigned int) ((QLabel *)handle)->alignment(); } void QLabel_setAlignment(QLabelH handle, unsigned int AnonParam1) { ((QLabel *)handle)->setAlignment((Qt::Alignment)AnonParam1); } void QLabel_setWordWrap(QLabelH handle, bool on) { ((QLabel *)handle)->setWordWrap(on); } bool QLabel_wordWrap(QLabelH handle) { return (bool) ((QLabel *)handle)->wordWrap(); } int QLabel_indent(QLabelH handle) { return (int) ((QLabel *)handle)->indent(); } void QLabel_setIndent(QLabelH handle, int AnonParam1) { ((QLabel *)handle)->setIndent(AnonParam1); } int QLabel_margin(QLabelH handle) { return (int) ((QLabel *)handle)->margin(); } void QLabel_setMargin(QLabelH handle, int AnonParam1) { ((QLabel *)handle)->setMargin(AnonParam1); } bool QLabel_hasScaledContents(QLabelH handle) { return (bool) ((QLabel *)handle)->hasScaledContents(); } void QLabel_setScaledContents(QLabelH handle, bool AnonParam1) { ((QLabel *)handle)->setScaledContents(AnonParam1); } void QLabel_sizeHint(QLabelH handle, PSize retval) { *(QSize *)retval = ((QLabel *)handle)->sizeHint(); } void QLabel_minimumSizeHint(QLabelH handle, PSize retval) { *(QSize *)retval = ((QLabel *)handle)->minimumSizeHint(); } void QLabel_setBuddy(QLabelH handle, QWidgetH AnonParam1) { ((QLabel *)handle)->setBuddy((QWidget*)AnonParam1); } QWidgetH QLabel_buddy(QLabelH handle) { return (QWidgetH) ((QLabel *)handle)->buddy(); } int QLabel_heightForWidth(QLabelH handle, int AnonParam1) { return (int) ((QLabel *)handle)->heightForWidth(AnonParam1); } bool QLabel_openExternalLinks(QLabelH handle) { return (bool) ((QLabel *)handle)->openExternalLinks(); } void QLabel_setOpenExternalLinks(QLabelH handle, bool open) { ((QLabel *)handle)->setOpenExternalLinks(open); } void QLabel_setTextInteractionFlags(QLabelH handle, unsigned int flags) { ((QLabel *)handle)->setTextInteractionFlags((Qt::TextInteractionFlags)flags); } unsigned int QLabel_textInteractionFlags(QLabelH handle) { return (unsigned int) ((QLabel *)handle)->textInteractionFlags(); } void QLabel_setText(QLabelH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QLabel *)handle)->setText(t_AnonParam1); } void QLabel_setPixmap(QLabelH handle, const QPixmapH AnonParam1) { ((QLabel *)handle)->setPixmap(*(const QPixmap*)AnonParam1); } void QLabel_setPicture(QLabelH handle, const QPictureH AnonParam1) { ((QLabel *)handle)->setPicture(*(const QPicture*)AnonParam1); } void QLabel_setMovie(QLabelH handle, QMovieH movie) { ((QLabel *)handle)->setMovie((QMovie*)movie); } void QLabel_setNum(QLabelH handle, int AnonParam1) { ((QLabel *)handle)->setNum(AnonParam1); } void QLabel_setNum2(QLabelH handle, double AnonParam1) { ((QLabel *)handle)->setNum(AnonParam1); } void QLabel_clear(QLabelH handle) { ((QLabel *)handle)->clear(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qaction_hook_c.h0000664000212600021260000000205511677135472020166 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QACTION_HOOK_C_H #define QACTION_HOOK_C_H #include "qaction_hook.h" C_EXPORT QAction_hookH QAction_hook_create(QObjectH handle); C_EXPORT void QAction_hook_destroy(QAction_hookH handle); C_EXPORT void QAction_hook_hook_changed(QAction_hookH handle, QHookH hook); C_EXPORT void QAction_hook_hook_triggered(QAction_hookH handle, QHookH hook); C_EXPORT void QAction_hook_hook_triggered2(QAction_hookH handle, QHookH hook); C_EXPORT void QAction_hook_hook_hovered(QAction_hookH handle, QHookH hook); C_EXPORT void QAction_hook_hook_toggled(QAction_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstyle_c.h0000664000212600021260000001050411677135472017027 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTYLE_C_H #define QSTYLE_C_H #include #include "pascalbind.h" C_EXPORT void QStyle_polish(QStyleH handle, QWidgetH AnonParam1); C_EXPORT void QStyle_unpolish(QStyleH handle, QWidgetH AnonParam1); C_EXPORT void QStyle_polish2(QStyleH handle, QApplicationH AnonParam1); C_EXPORT void QStyle_unpolish2(QStyleH handle, QApplicationH AnonParam1); C_EXPORT void QStyle_polish3(QStyleH handle, QPaletteH AnonParam1); C_EXPORT void QStyle_itemTextRect(QStyleH handle, PRect retval, const QFontMetricsH fm, PRect r, int flags, bool enabled, PWideString text); C_EXPORT void QStyle_itemPixmapRect(QStyleH handle, PRect retval, PRect r, int flags, const QPixmapH pixmap); C_EXPORT void QStyle_drawItemText(QStyleH handle, QPainterH painter, PRect rect, int flags, const QPaletteH pal, bool enabled, PWideString text, QPalette::ColorRole textRole); C_EXPORT void QStyle_drawItemPixmap(QStyleH handle, QPainterH painter, PRect rect, int alignment, const QPixmapH pixmap); C_EXPORT void QStyle_standardPalette(QStyleH handle, QPaletteH retval); C_EXPORT void QStyle_drawPrimitive(QStyleH handle, QStyle::PrimitiveElement pe, const QStyleOptionH opt, QPainterH p, const QWidgetH w); C_EXPORT void QStyle_drawControl(QStyleH handle, QStyle::ControlElement element, const QStyleOptionH opt, QPainterH p, const QWidgetH w); C_EXPORT void QStyle_subElementRect(QStyleH handle, PRect retval, QStyle::SubElement subElement, const QStyleOptionH option, const QWidgetH widget); C_EXPORT void QStyle_drawComplexControl(QStyleH handle, QStyle::ComplexControl cc, const QStyleOptionComplexH opt, QPainterH p, const QWidgetH widget); C_EXPORT QStyle::SubControl QStyle_hitTestComplexControl(QStyleH handle, QStyle::ComplexControl cc, const QStyleOptionComplexH opt, const QPointH pt, const QWidgetH widget); C_EXPORT void QStyle_subControlRect(QStyleH handle, PRect retval, QStyle::ComplexControl cc, const QStyleOptionComplexH opt, QStyle::SubControl sc, const QWidgetH widget); C_EXPORT int QStyle_pixelMetric(QStyleH handle, QStyle::PixelMetric metric, const QStyleOptionH option, const QWidgetH widget); C_EXPORT void QStyle_sizeFromContents(QStyleH handle, PSize retval, QStyle::ContentsType ct, const QStyleOptionH opt, const QSizeH contentsSize, const QWidgetH w); C_EXPORT int QStyle_styleHint(QStyleH handle, QStyle::StyleHint stylehint, const QStyleOptionH opt, const QWidgetH widget, QStyleHintReturnH returnData); C_EXPORT void QStyle_standardPixmap(QStyleH handle, QPixmapH retval, QStyle::StandardPixmap standardPixmap, const QStyleOptionH opt, const QWidgetH widget); C_EXPORT void QStyle_standardIcon(QStyleH handle, QIconH retval, QStyle::StandardPixmap standardIcon, const QStyleOptionH option, const QWidgetH widget); C_EXPORT void QStyle_generatedIconPixmap(QStyleH handle, QPixmapH retval, QIcon::Mode iconMode, const QPixmapH pixmap, const QStyleOptionH opt); C_EXPORT void QStyle_visualRect(PRect retval, Qt::LayoutDirection direction, PRect boundingRect, PRect logicalRect); C_EXPORT void QStyle_visualPos(PQtPoint retval, Qt::LayoutDirection direction, PRect boundingRect, const QPointH logicalPos); C_EXPORT int QStyle_sliderPositionFromValue(int min, int max, int val, int space, bool upsideDown); C_EXPORT int QStyle_sliderValueFromPosition(int min, int max, int pos, int space, bool upsideDown); C_EXPORT unsigned int QStyle_visualAlignment(Qt::LayoutDirection direction, unsigned int alignment); C_EXPORT void QStyle_alignedRect(PRect retval, Qt::LayoutDirection direction, unsigned int alignment, const QSizeH size, PRect rectangle); C_EXPORT int QStyle_layoutSpacing(QStyleH handle, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOptionH option, const QWidgetH widget); C_EXPORT int QStyle_combinedLayoutSpacing(QStyleH handle, unsigned int controls1, unsigned int controls2, Qt::Orientation orientation, QStyleOptionH option, QWidgetH widget); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlistview_c.h0000664000212600021260000000613711677135472017544 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLISTVIEW_C_H #define QLISTVIEW_C_H #include #include "pascalbind.h" C_EXPORT QListViewH QListView_create(QWidgetH parent); C_EXPORT void QListView_destroy(QListViewH handle); C_EXPORT void QListView_setMovement(QListViewH handle, QListView::Movement movement); C_EXPORT QListView::Movement QListView_movement(QListViewH handle); C_EXPORT void QListView_setFlow(QListViewH handle, QListView::Flow flow); C_EXPORT QListView::Flow QListView_flow(QListViewH handle); C_EXPORT void QListView_setWrapping(QListViewH handle, bool enable); C_EXPORT bool QListView_isWrapping(QListViewH handle); C_EXPORT void QListView_setResizeMode(QListViewH handle, QListView::ResizeMode mode); C_EXPORT QListView::ResizeMode QListView_resizeMode(QListViewH handle); C_EXPORT void QListView_setLayoutMode(QListViewH handle, QListView::LayoutMode mode); C_EXPORT QListView::LayoutMode QListView_layoutMode(QListViewH handle); C_EXPORT void QListView_setSpacing(QListViewH handle, int space); C_EXPORT int QListView_spacing(QListViewH handle); C_EXPORT void QListView_setBatchSize(QListViewH handle, int batchSize); C_EXPORT int QListView_batchSize(QListViewH handle); C_EXPORT void QListView_setGridSize(QListViewH handle, const QSizeH size); C_EXPORT void QListView_gridSize(QListViewH handle, PSize retval); C_EXPORT void QListView_setViewMode(QListViewH handle, QListView::ViewMode mode); C_EXPORT QListView::ViewMode QListView_viewMode(QListViewH handle); C_EXPORT void QListView_clearPropertyFlags(QListViewH handle); C_EXPORT bool QListView_isRowHidden(QListViewH handle, int row); C_EXPORT void QListView_setRowHidden(QListViewH handle, int row, bool hide); C_EXPORT void QListView_setModelColumn(QListViewH handle, int column); C_EXPORT int QListView_modelColumn(QListViewH handle); C_EXPORT void QListView_setUniformItemSizes(QListViewH handle, bool enable); C_EXPORT bool QListView_uniformItemSizes(QListViewH handle); C_EXPORT void QListView_setWordWrap(QListViewH handle, bool on); C_EXPORT bool QListView_wordWrap(QListViewH handle); C_EXPORT void QListView_setSelectionRectVisible(QListViewH handle, bool show); C_EXPORT bool QListView_isSelectionRectVisible(QListViewH handle); C_EXPORT void QListView_visualRect(QListViewH handle, PRect retval, const QModelIndexH index); C_EXPORT void QListView_scrollTo(QListViewH handle, const QModelIndexH index, QAbstractItemView::ScrollHint hint); C_EXPORT void QListView_indexAt(QListViewH handle, QModelIndexH retval, const QPointH p); C_EXPORT void QListView_doItemsLayout(QListViewH handle); C_EXPORT void QListView_reset(QListViewH handle); C_EXPORT void QListView_setRootIndex(QListViewH handle, const QModelIndexH index); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qinputdialog_c.cpp0000664000212600021260000002165011677135472020545 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qinputdialog_c.h" QInputDialogH QInputDialog_create(QWidgetH parent, unsigned int flags) { return (QInputDialogH) new QInputDialog((QWidget*)parent, (Qt::WindowFlags)flags); } void QInputDialog_destroy(QInputDialogH handle) { delete (QInputDialog *)handle; } void QInputDialog_setInputMode(QInputDialogH handle, QInputDialog::InputMode mode) { ((QInputDialog *)handle)->setInputMode(mode); } QInputDialog::InputMode QInputDialog_inputMode(QInputDialogH handle) { return (QInputDialog::InputMode) ((QInputDialog *)handle)->inputMode(); } void QInputDialog_setLabelText(QInputDialogH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QInputDialog *)handle)->setLabelText(t_text); } void QInputDialog_labelText(QInputDialogH handle, PWideString retval) { QString t_retval; t_retval = ((QInputDialog *)handle)->labelText(); copyQStringToPWideString(t_retval, retval); } void QInputDialog_setOption(QInputDialogH handle, QInputDialog::InputDialogOption option, bool on) { ((QInputDialog *)handle)->setOption(option, on); } bool QInputDialog_testOption(QInputDialogH handle, QInputDialog::InputDialogOption option) { return (bool) ((QInputDialog *)handle)->testOption(option); } void QInputDialog_setOptions(QInputDialogH handle, unsigned int options) { ((QInputDialog *)handle)->setOptions((QInputDialog::InputDialogOptions)options); } unsigned int QInputDialog_options(QInputDialogH handle) { return (unsigned int) ((QInputDialog *)handle)->options(); } void QInputDialog_setTextValue(QInputDialogH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QInputDialog *)handle)->setTextValue(t_text); } void QInputDialog_textValue(QInputDialogH handle, PWideString retval) { QString t_retval; t_retval = ((QInputDialog *)handle)->textValue(); copyQStringToPWideString(t_retval, retval); } void QInputDialog_setTextEchoMode(QInputDialogH handle, QLineEdit::EchoMode mode) { ((QInputDialog *)handle)->setTextEchoMode(mode); } QLineEdit::EchoMode QInputDialog_textEchoMode(QInputDialogH handle) { return (QLineEdit::EchoMode) ((QInputDialog *)handle)->textEchoMode(); } void QInputDialog_setComboBoxEditable(QInputDialogH handle, bool editable) { ((QInputDialog *)handle)->setComboBoxEditable(editable); } bool QInputDialog_isComboBoxEditable(QInputDialogH handle) { return (bool) ((QInputDialog *)handle)->isComboBoxEditable(); } void QInputDialog_setComboBoxItems(QInputDialogH handle, const QStringListH items) { ((QInputDialog *)handle)->setComboBoxItems(*(const QStringList*)items); } void QInputDialog_comboBoxItems(QInputDialogH handle, QStringListH retval) { *(QStringList *)retval = ((QInputDialog *)handle)->comboBoxItems(); } void QInputDialog_setIntValue(QInputDialogH handle, int value) { ((QInputDialog *)handle)->setIntValue(value); } int QInputDialog_intValue(QInputDialogH handle) { return (int) ((QInputDialog *)handle)->intValue(); } void QInputDialog_setIntMinimum(QInputDialogH handle, int min) { ((QInputDialog *)handle)->setIntMinimum(min); } int QInputDialog_intMinimum(QInputDialogH handle) { return (int) ((QInputDialog *)handle)->intMinimum(); } void QInputDialog_setIntMaximum(QInputDialogH handle, int max) { ((QInputDialog *)handle)->setIntMaximum(max); } int QInputDialog_intMaximum(QInputDialogH handle) { return (int) ((QInputDialog *)handle)->intMaximum(); } void QInputDialog_setIntRange(QInputDialogH handle, int min, int max) { ((QInputDialog *)handle)->setIntRange(min, max); } void QInputDialog_setIntStep(QInputDialogH handle, int step) { ((QInputDialog *)handle)->setIntStep(step); } int QInputDialog_intStep(QInputDialogH handle) { return (int) ((QInputDialog *)handle)->intStep(); } void QInputDialog_setDoubleValue(QInputDialogH handle, double value) { ((QInputDialog *)handle)->setDoubleValue(value); } double QInputDialog_doubleValue(QInputDialogH handle) { return (double) ((QInputDialog *)handle)->doubleValue(); } void QInputDialog_setDoubleMinimum(QInputDialogH handle, double min) { ((QInputDialog *)handle)->setDoubleMinimum(min); } double QInputDialog_doubleMinimum(QInputDialogH handle) { return (double) ((QInputDialog *)handle)->doubleMinimum(); } void QInputDialog_setDoubleMaximum(QInputDialogH handle, double max) { ((QInputDialog *)handle)->setDoubleMaximum(max); } double QInputDialog_doubleMaximum(QInputDialogH handle) { return (double) ((QInputDialog *)handle)->doubleMaximum(); } void QInputDialog_setDoubleRange(QInputDialogH handle, double min, double max) { ((QInputDialog *)handle)->setDoubleRange(min, max); } void QInputDialog_setDoubleDecimals(QInputDialogH handle, int decimals) { ((QInputDialog *)handle)->setDoubleDecimals(decimals); } int QInputDialog_doubleDecimals(QInputDialogH handle) { return (int) ((QInputDialog *)handle)->doubleDecimals(); } void QInputDialog_setOkButtonText(QInputDialogH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QInputDialog *)handle)->setOkButtonText(t_text); } void QInputDialog_okButtonText(QInputDialogH handle, PWideString retval) { QString t_retval; t_retval = ((QInputDialog *)handle)->okButtonText(); copyQStringToPWideString(t_retval, retval); } void QInputDialog_setCancelButtonText(QInputDialogH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QInputDialog *)handle)->setCancelButtonText(t_text); } void QInputDialog_cancelButtonText(QInputDialogH handle, PWideString retval) { QString t_retval; t_retval = ((QInputDialog *)handle)->cancelButtonText(); copyQStringToPWideString(t_retval, retval); } void QInputDialog_open(QInputDialogH handle, QObjectH receiver, const char* member) { ((QInputDialog *)handle)->open((QObject*)receiver, member); } void QInputDialog_minimumSizeHint(QInputDialogH handle, PSize retval) { *(QSize *)retval = ((QInputDialog *)handle)->minimumSizeHint(); } void QInputDialog_sizeHint(QInputDialogH handle, PSize retval) { *(QSize *)retval = ((QInputDialog *)handle)->sizeHint(); } void QInputDialog_setVisible(QInputDialogH handle, bool visible) { ((QInputDialog *)handle)->setVisible(visible); } void QInputDialog_getText(PWideString retval, QWidgetH parent, PWideString title, PWideString label, QLineEdit::EchoMode echo, PWideString text, bool* ok, unsigned int flags) { QString t_retval; QString t_title; QString t_label; QString t_text; copyPWideStringToQString(title, t_title); copyPWideStringToQString(label, t_label); copyPWideStringToQString(text, t_text); t_retval = QInputDialog::getText((QWidget*)parent, t_title, t_label, echo, t_text, ok, (Qt::WindowFlags)flags); copyQStringToPWideString(t_retval, retval); } int QInputDialog_getInt(QWidgetH parent, PWideString title, PWideString label, int value, int minValue, int maxValue, int step, bool* ok, unsigned int flags) { QString t_title; QString t_label; copyPWideStringToQString(title, t_title); copyPWideStringToQString(label, t_label); return (int) QInputDialog::getInt((QWidget*)parent, t_title, t_label, value, minValue, maxValue, step, ok, (Qt::WindowFlags)flags); } double QInputDialog_getDouble(QWidgetH parent, PWideString title, PWideString label, double value, double minValue, double maxValue, int decimals, bool* ok, unsigned int flags) { QString t_title; QString t_label; copyPWideStringToQString(title, t_title); copyPWideStringToQString(label, t_label); return (double) QInputDialog::getDouble((QWidget*)parent, t_title, t_label, value, minValue, maxValue, decimals, ok, (Qt::WindowFlags)flags); } void QInputDialog_getItem(PWideString retval, QWidgetH parent, PWideString title, PWideString label, const QStringListH items, int current, bool editable, bool* ok, unsigned int flags) { QString t_retval; QString t_title; QString t_label; copyPWideStringToQString(title, t_title); copyPWideStringToQString(label, t_label); t_retval = QInputDialog::getItem((QWidget*)parent, t_title, t_label, *(const QStringList*)items, current, editable, ok, (Qt::WindowFlags)flags); copyQStringToPWideString(t_retval, retval); } int QInputDialog_getInteger(QWidgetH parent, PWideString title, PWideString label, int value, int minValue, int maxValue, int step, bool* ok, unsigned int flags) { QString t_title; QString t_label; copyPWideStringToQString(title, t_title); copyPWideStringToQString(label, t_label); return (int) QInputDialog::getInteger((QWidget*)parent, t_title, t_label, value, minValue, maxValue, step, ok, (Qt::WindowFlags)flags); } void QInputDialog_done(QInputDialogH handle, int result) { ((QInputDialog *)handle)->done(result); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbutton_hook_c.h0000664000212600021260000000143611677135472021124 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTOOLBUTTON_HOOK_C_H #define QTOOLBUTTON_HOOK_C_H #include "qtoolbutton_hook.h" C_EXPORT QToolButton_hookH QToolButton_hook_create(QObjectH handle); C_EXPORT void QToolButton_hook_destroy(QToolButton_hookH handle); C_EXPORT void QToolButton_hook_hook_triggered(QToolButton_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/pascalbind.cpp0000664000212600021260000000360511677135472017643 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "pascalbind.h" //====================== // WideString //====================== CopyUnicodeToPWideString copyUnicodeToPWideString; UnicodeOfPWideString unicodeOfPWideString; LengthOfPWideString lengthOfPWideString; InitializePWideString initPWideString; FinalizePWideString finalPWideString; void initPWideStrings(CopyUnicodeToPWideString cutps, UnicodeOfPWideString uops, LengthOfPWideString lops, InitializePWideString ip, FinalizePWideString fp) { copyUnicodeToPWideString = cutps; unicodeOfPWideString = uops; lengthOfPWideString = lops; initPWideString = ip; finalPWideString = fp; } //========================= // QList vs PtrIntArray //========================= GetPtrIntArrayAddr getPtrIntArrayAddr; GetPtrIntArrayLength getPtrIntArrayLength; SetPtrIntArrayLength setPtrIntArrayLength; void initializePPtrIntArray(GetPtrIntArrayAddr gaa, GetPtrIntArrayLength gal, SetPtrIntArrayLength sal) { getPtrIntArrayAddr = gaa; getPtrIntArrayLength = gal; setPtrIntArrayLength = sal; } //=============================== // QVector vs TQRealArray //=============================== GetQRealArrayAddr getQRealArrayAddr; GetQRealArrayLength getQRealArrayLength; SetQRealArrayLength setQRealArrayLength; void initializeQRealArray(GetQRealArrayAddr gaa, GetQRealArrayLength gal, SetQRealArrayLength sal) { getQRealArrayAddr = gaa; getQRealArrayLength = gal; setQRealArrayLength = sal; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebhistoryinterface_hook.h0000664000212600021260000000141511677135472022466 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBHISTORYINTERFACE_HOOK_H #define QWEBHISTORYINTERFACE_HOOK_H #include #include "qobject_hook.h" class QWebHistoryInterface_hook : public QObject_hook { Q_OBJECT public: QWebHistoryInterface_hook(QObject *handle) : QObject_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstracttextdocumentlayout_hook_c.cpp0000664000212600021260000000406311677135472024752 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstracttextdocumentlayout_hook_c.h" QAbstractTextDocumentLayout_hookH QAbstractTextDocumentLayout_hook_create(QObjectH handle) { return (QAbstractTextDocumentLayout_hookH) new QAbstractTextDocumentLayout_hook((QObject*)handle); } void QAbstractTextDocumentLayout_hook_destroy(QAbstractTextDocumentLayout_hookH handle) { delete (QAbstractTextDocumentLayout_hook *)handle; } void QAbstractTextDocumentLayout_hook_hook_update(QAbstractTextDocumentLayout_hookH handle, QHookH hook) { ((QAbstractTextDocumentLayout_hook *)handle)->hook_update(hook); } void QAbstractTextDocumentLayout_hook_hook_update2(QAbstractTextDocumentLayout_hookH handle, QHookH hook) { ((QAbstractTextDocumentLayout_hook *)handle)->hook_update2(hook); } void QAbstractTextDocumentLayout_hook_hook_updateBlock(QAbstractTextDocumentLayout_hookH handle, QHookH hook) { ((QAbstractTextDocumentLayout_hook *)handle)->hook_updateBlock(hook); } void QAbstractTextDocumentLayout_hook_hook_documentSizeChanged(QAbstractTextDocumentLayout_hookH handle, QHookH hook) { ((QAbstractTextDocumentLayout_hook *)handle)->hook_documentSizeChanged(hook); } void QAbstractTextDocumentLayout_hook_hook_pageCountChanged(QAbstractTextDocumentLayout_hookH handle, QHookH hook) { ((QAbstractTextDocumentLayout_hook *)handle)->hook_pageCountChanged(hook); } QTextObjectInterface_hookH QTextObjectInterface_hook_create(QObjectH handle) { return (QTextObjectInterface_hookH) new QTextObjectInterface_hook((QObject*)handle); } void QTextObjectInterface_hook_destroy(QTextObjectInterface_hookH handle) { delete (QTextObjectInterface_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebview_c.cpp0000664000212600021260000001071311677135472017674 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebview_c.h" QWebViewH QWebView_create(QWidgetH parent) { return (QWebViewH) new QWebView((QWidget*)parent); } void QWebView_destroy(QWebViewH handle) { delete (QWebView *)handle; } QWebPageH QWebView_page(QWebViewH handle) { return (QWebPageH) ((QWebView *)handle)->page(); } void QWebView_setPage(QWebViewH handle, QWebPageH page) { ((QWebView *)handle)->setPage((QWebPage*)page); } void QWebView_load(QWebViewH handle, const QUrlH url) { ((QWebView *)handle)->load(*(const QUrl*)url); } void QWebView_load2(QWebViewH handle, const QNetworkRequestH request, QNetworkAccessManager::Operation operation, const QByteArrayH body) { ((QWebView *)handle)->load(*(const QNetworkRequest*)request, operation, *(const QByteArray*)body); } void QWebView_setHtml(QWebViewH handle, PWideString html, const QUrlH baseUrl) { QString t_html; copyPWideStringToQString(html, t_html); ((QWebView *)handle)->setHtml(t_html, *(const QUrl*)baseUrl); } void QWebView_setContent(QWebViewH handle, const QByteArrayH data, PWideString mimeType, const QUrlH baseUrl) { QString t_mimeType; copyPWideStringToQString(mimeType, t_mimeType); ((QWebView *)handle)->setContent(*(const QByteArray*)data, t_mimeType, *(const QUrl*)baseUrl); } QWebHistoryH QWebView_history(QWebViewH handle) { return (QWebHistoryH) ((QWebView *)handle)->history(); } QWebSettingsH QWebView_settings(QWebViewH handle) { return (QWebSettingsH) ((QWebView *)handle)->settings(); } void QWebView_title(QWebViewH handle, PWideString retval) { QString t_retval; t_retval = ((QWebView *)handle)->title(); copyQStringToPWideString(t_retval, retval); } void QWebView_setUrl(QWebViewH handle, const QUrlH url) { ((QWebView *)handle)->setUrl(*(const QUrl*)url); } void QWebView_url(QWebViewH handle, QUrlH retval) { *(QUrl *)retval = ((QWebView *)handle)->url(); } void QWebView_icon(QWebViewH handle, QIconH retval) { *(QIcon *)retval = ((QWebView *)handle)->icon(); } void QWebView_selectedText(QWebViewH handle, PWideString retval) { QString t_retval; t_retval = ((QWebView *)handle)->selectedText(); copyQStringToPWideString(t_retval, retval); } QActionH QWebView_pageAction(QWebViewH handle, QWebPage::WebAction action) { return (QActionH) ((QWebView *)handle)->pageAction(action); } void QWebView_triggerPageAction(QWebViewH handle, QWebPage::WebAction action, bool checked) { ((QWebView *)handle)->triggerPageAction(action, checked); } bool QWebView_isModified(QWebViewH handle) { return (bool) ((QWebView *)handle)->isModified(); } void QWebView_inputMethodQuery(QWebViewH handle, QVariantH retval, Qt::InputMethodQuery property) { *(QVariant *)retval = ((QWebView *)handle)->inputMethodQuery(property); } void QWebView_sizeHint(QWebViewH handle, PSize retval) { *(QSize *)retval = ((QWebView *)handle)->sizeHint(); } qreal QWebView_zoomFactor(QWebViewH handle) { return (qreal) ((QWebView *)handle)->zoomFactor(); } void QWebView_setZoomFactor(QWebViewH handle, qreal factor) { ((QWebView *)handle)->setZoomFactor(factor); } void QWebView_setTextSizeMultiplier(QWebViewH handle, qreal factor) { ((QWebView *)handle)->setTextSizeMultiplier(factor); } qreal QWebView_textSizeMultiplier(QWebViewH handle) { return (qreal) ((QWebView *)handle)->textSizeMultiplier(); } bool QWebView_findText(QWebViewH handle, PWideString subString, unsigned int options) { QString t_subString; copyPWideStringToQString(subString, t_subString); return (bool) ((QWebView *)handle)->findText(t_subString, (QWebPage::FindFlags)options); } bool QWebView_event(QWebViewH handle, QEventH AnonParam1) { return (bool) ((QWebView *)handle)->event((QEvent*)AnonParam1); } void QWebView_stop(QWebViewH handle) { ((QWebView *)handle)->stop(); } void QWebView_back(QWebViewH handle) { ((QWebView *)handle)->back(); } void QWebView_forward(QWebViewH handle) { ((QWebView *)handle)->forward(); } void QWebView_reload(QWebViewH handle) { ((QWebView *)handle)->reload(); } void QWebView_print(QWebViewH handle, QPrinterH printer) { ((QWebView *)handle)->print((QPrinter*)printer); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkproxy_c.h0000664000212600021260000000760011677135472020465 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QNETWORKPROXY_C_H #define QNETWORKPROXY_C_H #include #include "pascalbind.h" C_EXPORT QNetworkProxyQueryH QNetworkProxyQuery_create(); C_EXPORT void QNetworkProxyQuery_destroy(QNetworkProxyQueryH handle); C_EXPORT QNetworkProxyQueryH QNetworkProxyQuery_create2(const QUrlH requestUrl, QNetworkProxyQuery::QueryType queryType); C_EXPORT QNetworkProxyQueryH QNetworkProxyQuery_create3(PWideString hostname, int port, PWideString protocolTag, QNetworkProxyQuery::QueryType queryType); C_EXPORT QNetworkProxyQueryH QNetworkProxyQuery_create4(quint16 bindPort, PWideString protocolTag, QNetworkProxyQuery::QueryType queryType); C_EXPORT QNetworkProxyQueryH QNetworkProxyQuery_create5(const QNetworkProxyQueryH other); C_EXPORT QNetworkProxyQuery::QueryType QNetworkProxyQuery_queryType(QNetworkProxyQueryH handle); C_EXPORT void QNetworkProxyQuery_setQueryType(QNetworkProxyQueryH handle, QNetworkProxyQuery::QueryType type); C_EXPORT int QNetworkProxyQuery_peerPort(QNetworkProxyQueryH handle); C_EXPORT void QNetworkProxyQuery_setPeerPort(QNetworkProxyQueryH handle, int port); C_EXPORT void QNetworkProxyQuery_peerHostName(QNetworkProxyQueryH handle, PWideString retval); C_EXPORT void QNetworkProxyQuery_setPeerHostName(QNetworkProxyQueryH handle, PWideString hostname); C_EXPORT int QNetworkProxyQuery_localPort(QNetworkProxyQueryH handle); C_EXPORT void QNetworkProxyQuery_setLocalPort(QNetworkProxyQueryH handle, int port); C_EXPORT void QNetworkProxyQuery_protocolTag(QNetworkProxyQueryH handle, PWideString retval); C_EXPORT void QNetworkProxyQuery_setProtocolTag(QNetworkProxyQueryH handle, PWideString protocolTag); C_EXPORT void QNetworkProxyQuery_url(QNetworkProxyQueryH handle, QUrlH retval); C_EXPORT void QNetworkProxyQuery_setUrl(QNetworkProxyQueryH handle, const QUrlH url); C_EXPORT QNetworkProxyH QNetworkProxy_create(); C_EXPORT void QNetworkProxy_destroy(QNetworkProxyH handle); C_EXPORT QNetworkProxyH QNetworkProxy_create2(QNetworkProxy::ProxyType type, PWideString hostName, quint16 port, PWideString user, PWideString password); C_EXPORT QNetworkProxyH QNetworkProxy_create3(const QNetworkProxyH other); C_EXPORT void QNetworkProxy_setType(QNetworkProxyH handle, QNetworkProxy::ProxyType type); C_EXPORT QNetworkProxy::ProxyType QNetworkProxy_type(QNetworkProxyH handle); C_EXPORT void QNetworkProxy_setCapabilities(QNetworkProxyH handle, unsigned int capab); C_EXPORT unsigned int QNetworkProxy_capabilities(QNetworkProxyH handle); C_EXPORT bool QNetworkProxy_isCachingProxy(QNetworkProxyH handle); C_EXPORT bool QNetworkProxy_isTransparentProxy(QNetworkProxyH handle); C_EXPORT void QNetworkProxy_setUser(QNetworkProxyH handle, PWideString userName); C_EXPORT void QNetworkProxy_user(QNetworkProxyH handle, PWideString retval); C_EXPORT void QNetworkProxy_setPassword(QNetworkProxyH handle, PWideString password); C_EXPORT void QNetworkProxy_password(QNetworkProxyH handle, PWideString retval); C_EXPORT void QNetworkProxy_setHostName(QNetworkProxyH handle, PWideString hostName); C_EXPORT void QNetworkProxy_hostName(QNetworkProxyH handle, PWideString retval); C_EXPORT void QNetworkProxy_setPort(QNetworkProxyH handle, quint16 port); C_EXPORT quint16 QNetworkProxy_port(QNetworkProxyH handle); C_EXPORT void QNetworkProxy_setApplicationProxy(const QNetworkProxyH proxy); C_EXPORT void QNetworkProxy_applicationProxy(QNetworkProxyH retval); C_EXPORT void QNetworkProxyFactory_setApplicationProxyFactory(QNetworkProxyFactoryH factory); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qspinbox_hook_c.h0000664000212600021260000000225411677135472020374 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSPINBOX_HOOK_C_H #define QSPINBOX_HOOK_C_H #include "qspinbox_hook.h" C_EXPORT QSpinBox_hookH QSpinBox_hook_create(QObjectH handle); C_EXPORT void QSpinBox_hook_destroy(QSpinBox_hookH handle); C_EXPORT void QSpinBox_hook_hook_valueChanged(QSpinBox_hookH handle, QHookH hook); C_EXPORT void QSpinBox_hook_hook_valueChanged2(QSpinBox_hookH handle, QHookH hook); C_EXPORT QDoubleSpinBox_hookH QDoubleSpinBox_hook_create(QObjectH handle); C_EXPORT void QDoubleSpinBox_hook_destroy(QDoubleSpinBox_hookH handle); C_EXPORT void QDoubleSpinBox_hook_hook_valueChanged(QDoubleSpinBox_hookH handle, QHookH hook); C_EXPORT void QDoubleSpinBox_hook_hook_valueChanged2(QDoubleSpinBox_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprocess_c.cpp0000664000212600021260000001610611677135472017704 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qprocess_c.h" QProcessH QProcess_create(QObjectH parent) { return (QProcessH) new QProcess((QObject*)parent); } void QProcess_destroy(QProcessH handle) { delete (QProcess *)handle; } void QProcess_start(QProcessH handle, PWideString program, const QStringListH arguments, unsigned int mode) { QString t_program; copyPWideStringToQString(program, t_program); ((QProcess *)handle)->start(t_program, *(const QStringList*)arguments, (QIODevice::OpenMode)mode); } void QProcess_start2(QProcessH handle, PWideString program, unsigned int mode) { QString t_program; copyPWideStringToQString(program, t_program); ((QProcess *)handle)->start(t_program, (QIODevice::OpenMode)mode); } QProcess::ProcessChannelMode QProcess_readChannelMode(QProcessH handle) { return (QProcess::ProcessChannelMode) ((QProcess *)handle)->readChannelMode(); } void QProcess_setReadChannelMode(QProcessH handle, QProcess::ProcessChannelMode mode) { ((QProcess *)handle)->setReadChannelMode(mode); } QProcess::ProcessChannelMode QProcess_processChannelMode(QProcessH handle) { return (QProcess::ProcessChannelMode) ((QProcess *)handle)->processChannelMode(); } void QProcess_setProcessChannelMode(QProcessH handle, QProcess::ProcessChannelMode mode) { ((QProcess *)handle)->setProcessChannelMode(mode); } QProcess::ProcessChannel QProcess_readChannel(QProcessH handle) { return (QProcess::ProcessChannel) ((QProcess *)handle)->readChannel(); } void QProcess_setReadChannel(QProcessH handle, QProcess::ProcessChannel channel) { ((QProcess *)handle)->setReadChannel(channel); } void QProcess_closeReadChannel(QProcessH handle, QProcess::ProcessChannel channel) { ((QProcess *)handle)->closeReadChannel(channel); } void QProcess_closeWriteChannel(QProcessH handle) { ((QProcess *)handle)->closeWriteChannel(); } void QProcess_setStandardInputFile(QProcessH handle, PWideString fileName) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); ((QProcess *)handle)->setStandardInputFile(t_fileName); } void QProcess_setStandardOutputFile(QProcessH handle, PWideString fileName, unsigned int mode) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); ((QProcess *)handle)->setStandardOutputFile(t_fileName, (QIODevice::OpenMode)mode); } void QProcess_setStandardErrorFile(QProcessH handle, PWideString fileName, unsigned int mode) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); ((QProcess *)handle)->setStandardErrorFile(t_fileName, (QIODevice::OpenMode)mode); } void QProcess_setStandardOutputProcess(QProcessH handle, QProcessH destination) { ((QProcess *)handle)->setStandardOutputProcess((QProcess*)destination); } void QProcess_workingDirectory(QProcessH handle, PWideString retval) { QString t_retval; t_retval = ((QProcess *)handle)->workingDirectory(); copyQStringToPWideString(t_retval, retval); } void QProcess_setWorkingDirectory(QProcessH handle, PWideString dir) { QString t_dir; copyPWideStringToQString(dir, t_dir); ((QProcess *)handle)->setWorkingDirectory(t_dir); } void QProcess_setEnvironment(QProcessH handle, const QStringListH environment) { ((QProcess *)handle)->setEnvironment(*(const QStringList*)environment); } void QProcess_environment(QProcessH handle, QStringListH retval) { *(QStringList *)retval = ((QProcess *)handle)->environment(); } QProcess::ProcessError QProcess_error(QProcessH handle) { return (QProcess::ProcessError) ((QProcess *)handle)->error(); } QProcess::ProcessState QProcess_state(QProcessH handle) { return (QProcess::ProcessState) ((QProcess *)handle)->state(); } Q_PID QProcess_pid(QProcessH handle) { return (Q_PID) ((QProcess *)handle)->pid(); } bool QProcess_waitForStarted(QProcessH handle, int msecs) { return (bool) ((QProcess *)handle)->waitForStarted(msecs); } bool QProcess_waitForReadyRead(QProcessH handle, int msecs) { return (bool) ((QProcess *)handle)->waitForReadyRead(msecs); } bool QProcess_waitForBytesWritten(QProcessH handle, int msecs) { return (bool) ((QProcess *)handle)->waitForBytesWritten(msecs); } bool QProcess_waitForFinished(QProcessH handle, int msecs) { return (bool) ((QProcess *)handle)->waitForFinished(msecs); } void QProcess_readAllStandardOutput(QProcessH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QProcess *)handle)->readAllStandardOutput(); } void QProcess_readAllStandardError(QProcessH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QProcess *)handle)->readAllStandardError(); } int QProcess_exitCode(QProcessH handle) { return (int) ((QProcess *)handle)->exitCode(); } QProcess::ExitStatus QProcess_exitStatus(QProcessH handle) { return (QProcess::ExitStatus) ((QProcess *)handle)->exitStatus(); } qint64 QProcess_bytesAvailable(QProcessH handle) { return (qint64) ((QProcess *)handle)->bytesAvailable(); } qint64 QProcess_bytesToWrite(QProcessH handle) { return (qint64) ((QProcess *)handle)->bytesToWrite(); } bool QProcess_isSequential(QProcessH handle) { return (bool) ((QProcess *)handle)->isSequential(); } bool QProcess_canReadLine(QProcessH handle) { return (bool) ((QProcess *)handle)->canReadLine(); } void QProcess_close(QProcessH handle) { ((QProcess *)handle)->close(); } bool QProcess_atEnd(QProcessH handle) { return (bool) ((QProcess *)handle)->atEnd(); } int QProcess_execute(PWideString program, const QStringListH arguments) { QString t_program; copyPWideStringToQString(program, t_program); return (int) QProcess::execute(t_program, *(const QStringList*)arguments); } int QProcess_execute2(PWideString program) { QString t_program; copyPWideStringToQString(program, t_program); return (int) QProcess::execute(t_program); } bool QProcess_startDetached(PWideString program, const QStringListH arguments, PWideString workingDirectory, qint64* pid) { QString t_program; QString t_workingDirectory; copyPWideStringToQString(program, t_program); copyPWideStringToQString(workingDirectory, t_workingDirectory); return (bool) QProcess::startDetached(t_program, *(const QStringList*)arguments, t_workingDirectory, pid); } bool QProcess_startDetached2(PWideString program, const QStringListH arguments) { QString t_program; copyPWideStringToQString(program, t_program); return (bool) QProcess::startDetached(t_program, *(const QStringList*)arguments); } bool QProcess_startDetached3(PWideString program) { QString t_program; copyPWideStringToQString(program, t_program); return (bool) QProcess::startDetached(t_program); } void QProcess_systemEnvironment(QStringListH retval) { *(QStringList *)retval = QProcess::systemEnvironment(); } void QProcess_terminate(QProcessH handle) { ((QProcess *)handle)->terminate(); } void QProcess_kill(QProcessH handle) { ((QProcess *)handle)->kill(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtabwidget_c.h0000664000212600021260000000772511677135472017654 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTABWIDGET_C_H #define QTABWIDGET_C_H #include #include "pascalbind.h" C_EXPORT QTabWidgetH QTabWidget_create(QWidgetH parent); C_EXPORT void QTabWidget_destroy(QTabWidgetH handle); C_EXPORT int QTabWidget_addTab(QTabWidgetH handle, QWidgetH widget, PWideString AnonParam2); C_EXPORT int QTabWidget_addTab2(QTabWidgetH handle, QWidgetH widget, const QIconH icon, PWideString label); C_EXPORT int QTabWidget_insertTab(QTabWidgetH handle, int index, QWidgetH widget, PWideString AnonParam3); C_EXPORT int QTabWidget_insertTab2(QTabWidgetH handle, int index, QWidgetH widget, const QIconH icon, PWideString label); C_EXPORT void QTabWidget_removeTab(QTabWidgetH handle, int index); C_EXPORT bool QTabWidget_isTabEnabled(QTabWidgetH handle, int index); C_EXPORT void QTabWidget_setTabEnabled(QTabWidgetH handle, int index, bool AnonParam2); C_EXPORT void QTabWidget_tabText(QTabWidgetH handle, PWideString retval, int index); C_EXPORT void QTabWidget_setTabText(QTabWidgetH handle, int index, PWideString AnonParam2); C_EXPORT void QTabWidget_tabIcon(QTabWidgetH handle, QIconH retval, int index); C_EXPORT void QTabWidget_setTabIcon(QTabWidgetH handle, int index, const QIconH icon); C_EXPORT void QTabWidget_setTabToolTip(QTabWidgetH handle, int index, PWideString tip); C_EXPORT void QTabWidget_tabToolTip(QTabWidgetH handle, PWideString retval, int index); C_EXPORT void QTabWidget_setTabWhatsThis(QTabWidgetH handle, int index, PWideString text); C_EXPORT void QTabWidget_tabWhatsThis(QTabWidgetH handle, PWideString retval, int index); C_EXPORT int QTabWidget_currentIndex(QTabWidgetH handle); C_EXPORT QWidgetH QTabWidget_currentWidget(QTabWidgetH handle); C_EXPORT QWidgetH QTabWidget_widget(QTabWidgetH handle, int index); C_EXPORT int QTabWidget_indexOf(QTabWidgetH handle, QWidgetH widget); C_EXPORT int QTabWidget_count(QTabWidgetH handle); C_EXPORT QTabWidget::TabPosition QTabWidget_tabPosition(QTabWidgetH handle); C_EXPORT void QTabWidget_setTabPosition(QTabWidgetH handle, QTabWidget::TabPosition AnonParam1); C_EXPORT bool QTabWidget_tabsClosable(QTabWidgetH handle); C_EXPORT void QTabWidget_setTabsClosable(QTabWidgetH handle, bool closeable); C_EXPORT bool QTabWidget_isMovable(QTabWidgetH handle); C_EXPORT void QTabWidget_setMovable(QTabWidgetH handle, bool movable); C_EXPORT QTabWidget::TabShape QTabWidget_tabShape(QTabWidgetH handle); C_EXPORT void QTabWidget_setTabShape(QTabWidgetH handle, QTabWidget::TabShape s); C_EXPORT void QTabWidget_sizeHint(QTabWidgetH handle, PSize retval); C_EXPORT void QTabWidget_minimumSizeHint(QTabWidgetH handle, PSize retval); C_EXPORT void QTabWidget_setCornerWidget(QTabWidgetH handle, QWidgetH w, Qt::Corner corner); C_EXPORT QWidgetH QTabWidget_cornerWidget(QTabWidgetH handle, Qt::Corner corner); C_EXPORT Qt::TextElideMode QTabWidget_elideMode(QTabWidgetH handle); C_EXPORT void QTabWidget_setElideMode(QTabWidgetH handle, Qt::TextElideMode AnonParam1); C_EXPORT void QTabWidget_iconSize(QTabWidgetH handle, PSize retval); C_EXPORT void QTabWidget_setIconSize(QTabWidgetH handle, const QSizeH size); C_EXPORT bool QTabWidget_usesScrollButtons(QTabWidgetH handle); C_EXPORT void QTabWidget_setUsesScrollButtons(QTabWidgetH handle, bool useButtons); C_EXPORT bool QTabWidget_documentMode(QTabWidgetH handle); C_EXPORT void QTabWidget_setDocumentMode(QTabWidgetH handle, bool set); C_EXPORT void QTabWidget_clear(QTabWidgetH handle); C_EXPORT void QTabWidget_setCurrentIndex(QTabWidgetH handle, int index); C_EXPORT void QTabWidget_setCurrentWidget(QTabWidgetH handle, QWidgetH widget); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintdialog_hook_c.cpp0000664000212600021260000000156411677135472021564 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qprintdialog_hook_c.h" QPrintDialog_hookH QPrintDialog_hook_create(QObjectH handle) { return (QPrintDialog_hookH) new QPrintDialog_hook((QObject*)handle); } void QPrintDialog_hook_destroy(QPrintDialog_hookH handle) { delete (QPrintDialog_hook *)handle; } void QPrintDialog_hook_hook_accepted(QPrintDialog_hookH handle, QHookH hook) { ((QPrintDialog_hook *)handle)->hook_accepted(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstatusbar_hook_c.cpp0000664000212600021260000000155211677135472021255 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qstatusbar_hook_c.h" QStatusBar_hookH QStatusBar_hook_create(QObjectH handle) { return (QStatusBar_hookH) new QStatusBar_hook((QObject*)handle); } void QStatusBar_hook_destroy(QStatusBar_hookH handle) { delete (QStatusBar_hook *)handle; } void QStatusBar_hook_hook_messageChanged(QStatusBar_hookH handle, QHookH hook) { ((QStatusBar_hook *)handle)->hook_messageChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprogressbar_hook.h0000664000212600021260000000255011677135472020740 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPROGRESSBAR_HOOK_H #define QPROGRESSBAR_HOOK_H #include #include "qwidget_hook.h" class QProgressBar_hook : public QWidget_hook { Q_OBJECT public: QProgressBar_hook(QObject *handle) : QWidget_hook(handle) { valueChanged_event.func = NULL; } void hook_valueChanged(QHook &hook) { if ( !valueChanged_event.func ) connect(handle, SIGNAL(valueChanged(int)), this, SLOT(valueChanged_hook(int))); valueChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(valueChanged(int)), this, SLOT(valueChanged_hook(int))); } private slots: void valueChanged_hook(int value) { if ( valueChanged_event.func ) { typedef void (*func_type)(void *data, int value); (*(func_type)valueChanged_event.func)(valueChanged_event.data, value); } } private: QHook valueChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextbrowser_c.h0000664000212600021260000000417711677135472020270 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTEXTBROWSER_C_H #define QTEXTBROWSER_C_H #include #include "pascalbind.h" C_EXPORT QTextBrowserH QTextBrowser_create(QWidgetH parent); C_EXPORT void QTextBrowser_destroy(QTextBrowserH handle); C_EXPORT void QTextBrowser_source(QTextBrowserH handle, QUrlH retval); C_EXPORT void QTextBrowser_searchPaths(QTextBrowserH handle, QStringListH retval); C_EXPORT void QTextBrowser_setSearchPaths(QTextBrowserH handle, const QStringListH paths); C_EXPORT void QTextBrowser_loadResource(QTextBrowserH handle, QVariantH retval, int type, const QUrlH name); C_EXPORT bool QTextBrowser_isBackwardAvailable(QTextBrowserH handle); C_EXPORT bool QTextBrowser_isForwardAvailable(QTextBrowserH handle); C_EXPORT void QTextBrowser_clearHistory(QTextBrowserH handle); C_EXPORT void QTextBrowser_historyTitle(QTextBrowserH handle, PWideString retval, int AnonParam1); C_EXPORT void QTextBrowser_historyUrl(QTextBrowserH handle, QUrlH retval, int AnonParam1); C_EXPORT int QTextBrowser_backwardHistoryCount(QTextBrowserH handle); C_EXPORT int QTextBrowser_forwardHistoryCount(QTextBrowserH handle); C_EXPORT bool QTextBrowser_openExternalLinks(QTextBrowserH handle); C_EXPORT void QTextBrowser_setOpenExternalLinks(QTextBrowserH handle, bool open); C_EXPORT bool QTextBrowser_openLinks(QTextBrowserH handle); C_EXPORT void QTextBrowser_setOpenLinks(QTextBrowserH handle, bool open); C_EXPORT void QTextBrowser_setSource(QTextBrowserH handle, const QUrlH name); C_EXPORT void QTextBrowser_backward(QTextBrowserH handle); C_EXPORT void QTextBrowser_forward(QTextBrowserH handle); C_EXPORT void QTextBrowser_home(QTextBrowserH handle); C_EXPORT void QTextBrowser_reload(QTextBrowserH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlabel_hook_c.h0000664000212600021260000000150311677135472017765 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLABEL_HOOK_C_H #define QLABEL_HOOK_C_H #include "qlabel_hook.h" C_EXPORT QLabel_hookH QLabel_hook_create(QObjectH handle); C_EXPORT void QLabel_hook_destroy(QLabel_hookH handle); C_EXPORT void QLabel_hook_hook_linkActivated(QLabel_hookH handle, QHookH hook); C_EXPORT void QLabel_hook_hook_linkHovered(QLabel_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsystemtrayicon_hook_c.h0000664000212600021260000000164511677135472022012 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSYSTEMTRAYICON_HOOK_C_H #define QSYSTEMTRAYICON_HOOK_C_H #include "qsystemtrayicon_hook.h" C_EXPORT QSystemTrayIcon_hookH QSystemTrayIcon_hook_create(QObjectH handle); C_EXPORT void QSystemTrayIcon_hook_destroy(QSystemTrayIcon_hookH handle); C_EXPORT void QSystemTrayIcon_hook_hook_activated(QSystemTrayIcon_hookH handle, QHookH hook); C_EXPORT void QSystemTrayIcon_hook_hook_messageClicked(QSystemTrayIcon_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qudpsocket_c.cpp0000664000212600021260000000436411677135472020232 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qudpsocket_c.h" QUdpSocketH QUdpSocket_create(QObjectH parent) { return (QUdpSocketH) new QUdpSocket((QObject*)parent); } void QUdpSocket_destroy(QUdpSocketH handle) { delete (QUdpSocket *)handle; } bool QUdpSocket_bind(QUdpSocketH handle, const QHostAddressH address, quint16 port) { return (bool) ((QUdpSocket *)handle)->bind(*(const QHostAddress*)address, port); } bool QUdpSocket_bind2(QUdpSocketH handle, quint16 port) { return (bool) ((QUdpSocket *)handle)->bind(port); } bool QUdpSocket_bind3(QUdpSocketH handle, const QHostAddressH address, quint16 port, unsigned int mode) { return (bool) ((QUdpSocket *)handle)->bind(*(const QHostAddress*)address, port, (QUdpSocket::BindMode)mode); } bool QUdpSocket_bind4(QUdpSocketH handle, quint16 port, unsigned int mode) { return (bool) ((QUdpSocket *)handle)->bind(port, (QUdpSocket::BindMode)mode); } bool QUdpSocket_hasPendingDatagrams(QUdpSocketH handle) { return (bool) ((QUdpSocket *)handle)->hasPendingDatagrams(); } qint64 QUdpSocket_pendingDatagramSize(QUdpSocketH handle) { return (qint64) ((QUdpSocket *)handle)->pendingDatagramSize(); } qint64 QUdpSocket_readDatagram(QUdpSocketH handle, char* data, qint64 maxlen, QHostAddressH host, quint16* port) { return (qint64) ((QUdpSocket *)handle)->readDatagram(data, maxlen, (QHostAddress*)host, port); } qint64 QUdpSocket_writeDatagram(QUdpSocketH handle, const char* data, qint64 len, const QHostAddressH host, quint16 port) { return (qint64) ((QUdpSocket *)handle)->writeDatagram(data, len, *(const QHostAddress*)host, port); } qint64 QUdpSocket_writeDatagram2(QUdpSocketH handle, const QByteArrayH datagram, const QHostAddressH host, quint16 port) { return (qint64) ((QUdpSocket *)handle)->writeDatagram(*(const QByteArray*)datagram, *(const QHostAddress*)host, port); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebhistory_hook_c.h0000664000212600021260000000153711677135472021114 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBHISTORY_HOOK_C_H #define QWEBHISTORY_HOOK_C_H #include "qwebhistory_hook.h" C_EXPORT QWebHistoryItem_hookH QWebHistoryItem_hook_create(QObjectH handle); C_EXPORT void QWebHistoryItem_hook_destroy(QWebHistoryItem_hookH handle); C_EXPORT QWebHistory_hookH QWebHistory_hook_create(QObjectH handle); C_EXPORT void QWebHistory_hook_destroy(QWebHistory_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qheaderview_hook_c.cpp0000664000212600021260000000452711677135472021375 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qheaderview_hook_c.h" QHeaderView_hookH QHeaderView_hook_create(QObjectH handle) { return (QHeaderView_hookH) new QHeaderView_hook((QObject*)handle); } void QHeaderView_hook_destroy(QHeaderView_hookH handle) { delete (QHeaderView_hook *)handle; } void QHeaderView_hook_hook_sectionMoved(QHeaderView_hookH handle, QHookH hook) { ((QHeaderView_hook *)handle)->hook_sectionMoved(hook); } void QHeaderView_hook_hook_sectionResized(QHeaderView_hookH handle, QHookH hook) { ((QHeaderView_hook *)handle)->hook_sectionResized(hook); } void QHeaderView_hook_hook_sectionPressed(QHeaderView_hookH handle, QHookH hook) { ((QHeaderView_hook *)handle)->hook_sectionPressed(hook); } void QHeaderView_hook_hook_sectionClicked(QHeaderView_hookH handle, QHookH hook) { ((QHeaderView_hook *)handle)->hook_sectionClicked(hook); } void QHeaderView_hook_hook_sectionEntered(QHeaderView_hookH handle, QHookH hook) { ((QHeaderView_hook *)handle)->hook_sectionEntered(hook); } void QHeaderView_hook_hook_sectionDoubleClicked(QHeaderView_hookH handle, QHookH hook) { ((QHeaderView_hook *)handle)->hook_sectionDoubleClicked(hook); } void QHeaderView_hook_hook_sectionCountChanged(QHeaderView_hookH handle, QHookH hook) { ((QHeaderView_hook *)handle)->hook_sectionCountChanged(hook); } void QHeaderView_hook_hook_sectionHandleDoubleClicked(QHeaderView_hookH handle, QHookH hook) { ((QHeaderView_hook *)handle)->hook_sectionHandleDoubleClicked(hook); } void QHeaderView_hook_hook_sectionAutoResize(QHeaderView_hookH handle, QHookH hook) { ((QHeaderView_hook *)handle)->hook_sectionAutoResize(hook); } void QHeaderView_hook_hook_geometriesChanged(QHeaderView_hookH handle, QHookH hook) { ((QHeaderView_hook *)handle)->hook_geometriesChanged(hook); } void QHeaderView_hook_hook_sortIndicatorChanged(QHeaderView_hookH handle, QHookH hook) { ((QHeaderView_hook *)handle)->hook_sortIndicatorChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qitemselectionmodel_c.h0000664000212600021260000001060511677135472021556 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QITEMSELECTIONMODEL_C_H #define QITEMSELECTIONMODEL_C_H #include #include "pascalbind.h" C_EXPORT QItemSelectionRangeH QItemSelectionRange_create(); C_EXPORT void QItemSelectionRange_destroy(QItemSelectionRangeH handle); C_EXPORT QItemSelectionRangeH QItemSelectionRange_create2(const QItemSelectionRangeH other); C_EXPORT QItemSelectionRangeH QItemSelectionRange_create3(const QModelIndexH topLeft, const QModelIndexH bottomRight); C_EXPORT QItemSelectionRangeH QItemSelectionRange_create4(const QModelIndexH index); C_EXPORT int QItemSelectionRange_top(QItemSelectionRangeH handle); C_EXPORT int QItemSelectionRange_left(QItemSelectionRangeH handle); C_EXPORT int QItemSelectionRange_bottom(QItemSelectionRangeH handle); C_EXPORT int QItemSelectionRange_right(QItemSelectionRangeH handle); C_EXPORT int QItemSelectionRange_width(QItemSelectionRangeH handle); C_EXPORT int QItemSelectionRange_height(QItemSelectionRangeH handle); C_EXPORT void QItemSelectionRange_topLeft(QItemSelectionRangeH handle, QModelIndexH retval); C_EXPORT void QItemSelectionRange_bottomRight(QItemSelectionRangeH handle, QModelIndexH retval); C_EXPORT void QItemSelectionRange_parent(QItemSelectionRangeH handle, QModelIndexH retval); C_EXPORT const QAbstractItemModelH QItemSelectionRange_model(QItemSelectionRangeH handle); C_EXPORT bool QItemSelectionRange_contains(QItemSelectionRangeH handle, const QModelIndexH index); C_EXPORT bool QItemSelectionRange_contains2(QItemSelectionRangeH handle, int row, int column, const QModelIndexH parentIndex); C_EXPORT bool QItemSelectionRange_intersects(QItemSelectionRangeH handle, const QItemSelectionRangeH other); C_EXPORT void QItemSelectionRange_intersect(QItemSelectionRangeH handle, QItemSelectionRangeH retval, const QItemSelectionRangeH other); C_EXPORT void QItemSelectionRange_intersected(QItemSelectionRangeH handle, QItemSelectionRangeH retval, const QItemSelectionRangeH other); C_EXPORT bool QItemSelectionRange_isValid(QItemSelectionRangeH handle); C_EXPORT void QItemSelectionRange_indexes(QItemSelectionRangeH handle, PPtrIntArray retval); C_EXPORT QItemSelectionModelH QItemSelectionModel_create(QAbstractItemModelH model); C_EXPORT void QItemSelectionModel_destroy(QItemSelectionModelH handle); C_EXPORT QItemSelectionModelH QItemSelectionModel_create2(QAbstractItemModelH model, QObjectH parent); C_EXPORT void QItemSelectionModel_currentIndex(QItemSelectionModelH handle, QModelIndexH retval); C_EXPORT bool QItemSelectionModel_isSelected(QItemSelectionModelH handle, const QModelIndexH index); C_EXPORT bool QItemSelectionModel_isRowSelected(QItemSelectionModelH handle, int row, const QModelIndexH parent); C_EXPORT bool QItemSelectionModel_isColumnSelected(QItemSelectionModelH handle, int column, const QModelIndexH parent); C_EXPORT bool QItemSelectionModel_rowIntersectsSelection(QItemSelectionModelH handle, int row, const QModelIndexH parent); C_EXPORT bool QItemSelectionModel_columnIntersectsSelection(QItemSelectionModelH handle, int column, const QModelIndexH parent); C_EXPORT bool QItemSelectionModel_hasSelection(QItemSelectionModelH handle); C_EXPORT void QItemSelectionModel_selectedIndexes(QItemSelectionModelH handle, PPtrIntArray retval); C_EXPORT void QItemSelectionModel_selectedRows(QItemSelectionModelH handle, PPtrIntArray retval, int column); C_EXPORT void QItemSelectionModel_selectedColumns(QItemSelectionModelH handle, PPtrIntArray retval, int row); C_EXPORT const QAbstractItemModelH QItemSelectionModel_model(QItemSelectionModelH handle); C_EXPORT void QItemSelectionModel_setCurrentIndex(QItemSelectionModelH handle, const QModelIndexH index, unsigned int command); C_EXPORT void QItemSelectionModel_select(QItemSelectionModelH handle, const QModelIndexH index, unsigned int command); C_EXPORT void QItemSelectionModel_clear(QItemSelectionModelH handle); C_EXPORT void QItemSelectionModel_reset(QItemSelectionModelH handle); C_EXPORT void QItemSelectionModel_clearSelection(QItemSelectionModelH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemview_hook_c.cpp0000664000212600021260000000325511677135472022624 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractitemview_hook_c.h" QAbstractItemView_hookH QAbstractItemView_hook_create(QObjectH handle) { return (QAbstractItemView_hookH) new QAbstractItemView_hook((QObject*)handle); } void QAbstractItemView_hook_destroy(QAbstractItemView_hookH handle) { delete (QAbstractItemView_hook *)handle; } void QAbstractItemView_hook_hook_pressed(QAbstractItemView_hookH handle, QHookH hook) { ((QAbstractItemView_hook *)handle)->hook_pressed(hook); } void QAbstractItemView_hook_hook_clicked(QAbstractItemView_hookH handle, QHookH hook) { ((QAbstractItemView_hook *)handle)->hook_clicked(hook); } void QAbstractItemView_hook_hook_doubleClicked(QAbstractItemView_hookH handle, QHookH hook) { ((QAbstractItemView_hook *)handle)->hook_doubleClicked(hook); } void QAbstractItemView_hook_hook_activated(QAbstractItemView_hookH handle, QHookH hook) { ((QAbstractItemView_hook *)handle)->hook_activated(hook); } void QAbstractItemView_hook_hook_entered(QAbstractItemView_hookH handle, QHookH hook) { ((QAbstractItemView_hook *)handle)->hook_entered(hook); } void QAbstractItemView_hook_hook_viewportEntered(QAbstractItemView_hookH handle, QHookH hook) { ((QAbstractItemView_hook *)handle)->hook_viewportEntered(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmetaobject_c.h0000664000212600021260000001020711677135472020004 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMETAOBJECT_C_H #define QMETAOBJECT_C_H #include #include "pascalbind.h" C_EXPORT QMetaMethodH QMetaMethod_create(); C_EXPORT void QMetaMethod_destroy(QMetaMethodH handle); C_EXPORT const char* QMetaMethod_signature(QMetaMethodH handle); C_EXPORT const char* QMetaMethod_typeName(QMetaMethodH handle); C_EXPORT const char* QMetaMethod_tag(QMetaMethodH handle); C_EXPORT QMetaMethod::Access QMetaMethod_access(QMetaMethodH handle); C_EXPORT QMetaMethod::MethodType QMetaMethod_methodType(QMetaMethodH handle); C_EXPORT int QMetaMethod_attributes(QMetaMethodH handle); C_EXPORT const QMetaObjectH QMetaMethod_enclosingMetaObject(QMetaMethodH handle); C_EXPORT QMetaEnumH QMetaEnum_create(); C_EXPORT void QMetaEnum_destroy(QMetaEnumH handle); C_EXPORT const char* QMetaEnum_name(QMetaEnumH handle); C_EXPORT bool QMetaEnum_isFlag(QMetaEnumH handle); C_EXPORT int QMetaEnum_keyCount(QMetaEnumH handle); C_EXPORT const char* QMetaEnum_key(QMetaEnumH handle, int index); C_EXPORT int QMetaEnum_value(QMetaEnumH handle, int index); C_EXPORT const char* QMetaEnum_scope(QMetaEnumH handle); C_EXPORT int QMetaEnum_keyToValue(QMetaEnumH handle, const char* key); C_EXPORT const char* QMetaEnum_valueToKey(QMetaEnumH handle, int value); C_EXPORT int QMetaEnum_keysToValue(QMetaEnumH handle, const char* keys); C_EXPORT void QMetaEnum_valueToKeys(QMetaEnumH handle, QByteArrayH retval, int value); C_EXPORT const QMetaObjectH QMetaEnum_enclosingMetaObject(QMetaEnumH handle); C_EXPORT bool QMetaEnum_isValid(QMetaEnumH handle); C_EXPORT QMetaPropertyH QMetaProperty_create(); C_EXPORT void QMetaProperty_destroy(QMetaPropertyH handle); C_EXPORT const char* QMetaProperty_name(QMetaPropertyH handle); C_EXPORT const char* QMetaProperty_typeName(QMetaPropertyH handle); C_EXPORT QVariant::Type QMetaProperty_type(QMetaPropertyH handle); C_EXPORT int QMetaProperty_userType(QMetaPropertyH handle); C_EXPORT bool QMetaProperty_isReadable(QMetaPropertyH handle); C_EXPORT bool QMetaProperty_isWritable(QMetaPropertyH handle); C_EXPORT bool QMetaProperty_isResettable(QMetaPropertyH handle); C_EXPORT bool QMetaProperty_isDesignable(QMetaPropertyH handle, const QObjectH obj); C_EXPORT bool QMetaProperty_isScriptable(QMetaPropertyH handle, const QObjectH obj); C_EXPORT bool QMetaProperty_isStored(QMetaPropertyH handle, const QObjectH obj); C_EXPORT bool QMetaProperty_isEditable(QMetaPropertyH handle, const QObjectH obj); C_EXPORT bool QMetaProperty_isUser(QMetaPropertyH handle, const QObjectH obj); C_EXPORT bool QMetaProperty_isFlagType(QMetaPropertyH handle); C_EXPORT bool QMetaProperty_isEnumType(QMetaPropertyH handle); C_EXPORT void QMetaProperty_enumerator(QMetaPropertyH handle, QMetaEnumH retval); C_EXPORT bool QMetaProperty_hasNotifySignal(QMetaPropertyH handle); C_EXPORT void QMetaProperty_notifySignal(QMetaPropertyH handle, QMetaMethodH retval); C_EXPORT int QMetaProperty_notifySignalIndex(QMetaPropertyH handle); C_EXPORT void QMetaProperty_read(QMetaPropertyH handle, QVariantH retval, const QObjectH obj); C_EXPORT bool QMetaProperty_write(QMetaPropertyH handle, QObjectH obj, const QVariantH value); C_EXPORT bool QMetaProperty_reset(QMetaPropertyH handle, QObjectH obj); C_EXPORT bool QMetaProperty_hasStdCppSet(QMetaPropertyH handle); C_EXPORT bool QMetaProperty_isValid(QMetaPropertyH handle); C_EXPORT const QMetaObjectH QMetaProperty_enclosingMetaObject(QMetaPropertyH handle); C_EXPORT QMetaClassInfoH QMetaClassInfo_create(); C_EXPORT void QMetaClassInfo_destroy(QMetaClassInfoH handle); C_EXPORT const char* QMetaClassInfo_name(QMetaClassInfoH handle); C_EXPORT const char* QMetaClassInfo_value(QMetaClassInfoH handle); C_EXPORT const QMetaObjectH QMetaClassInfo_enclosingMetaObject(QMetaClassInfoH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qboxlayout_c.cpp0000664000212600021260000001306611677135472020256 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qboxlayout_c.h" QBoxLayoutH QBoxLayout_create(QBoxLayout::Direction AnonParam1, QWidgetH parent) { return (QBoxLayoutH) new QBoxLayout(AnonParam1, (QWidget*)parent); } void QBoxLayout_destroy(QBoxLayoutH handle) { delete (QBoxLayout *)handle; } QBoxLayout::Direction QBoxLayout_direction(QBoxLayoutH handle) { return (QBoxLayout::Direction) ((QBoxLayout *)handle)->direction(); } void QBoxLayout_setDirection(QBoxLayoutH handle, QBoxLayout::Direction AnonParam1) { ((QBoxLayout *)handle)->setDirection(AnonParam1); } void QBoxLayout_addSpacing(QBoxLayoutH handle, int size) { ((QBoxLayout *)handle)->addSpacing(size); } void QBoxLayout_addStretch(QBoxLayoutH handle, int stretch) { ((QBoxLayout *)handle)->addStretch(stretch); } void QBoxLayout_addSpacerItem(QBoxLayoutH handle, QSpacerItemH spacerItem) { ((QBoxLayout *)handle)->addSpacerItem((QSpacerItem*)spacerItem); } void QBoxLayout_addWidget(QBoxLayoutH handle, QWidgetH AnonParam1, int stretch, unsigned int alignment) { ((QBoxLayout *)handle)->addWidget((QWidget*)AnonParam1, stretch, (Qt::Alignment)alignment); } void QBoxLayout_addLayout(QBoxLayoutH handle, QLayoutH layout, int stretch) { ((QBoxLayout *)handle)->addLayout((QLayout*)layout, stretch); } void QBoxLayout_addStrut(QBoxLayoutH handle, int AnonParam1) { ((QBoxLayout *)handle)->addStrut(AnonParam1); } void QBoxLayout_addItem(QBoxLayoutH handle, QLayoutItemH AnonParam1) { ((QBoxLayout *)handle)->addItem((QLayoutItem*)AnonParam1); } void QBoxLayout_insertSpacing(QBoxLayoutH handle, int index, int size) { ((QBoxLayout *)handle)->insertSpacing(index, size); } void QBoxLayout_insertStretch(QBoxLayoutH handle, int index, int stretch) { ((QBoxLayout *)handle)->insertStretch(index, stretch); } void QBoxLayout_insertSpacerItem(QBoxLayoutH handle, int index, QSpacerItemH spacerItem) { ((QBoxLayout *)handle)->insertSpacerItem(index, (QSpacerItem*)spacerItem); } void QBoxLayout_insertWidget(QBoxLayoutH handle, int index, QWidgetH widget, int stretch, unsigned int alignment) { ((QBoxLayout *)handle)->insertWidget(index, (QWidget*)widget, stretch, (Qt::Alignment)alignment); } void QBoxLayout_insertLayout(QBoxLayoutH handle, int index, QLayoutH layout, int stretch) { ((QBoxLayout *)handle)->insertLayout(index, (QLayout*)layout, stretch); } int QBoxLayout_spacing(QBoxLayoutH handle) { return (int) ((QBoxLayout *)handle)->spacing(); } void QBoxLayout_setSpacing(QBoxLayoutH handle, int spacing) { ((QBoxLayout *)handle)->setSpacing(spacing); } bool QBoxLayout_setStretchFactor(QBoxLayoutH handle, QWidgetH w, int stretch) { return (bool) ((QBoxLayout *)handle)->setStretchFactor((QWidget*)w, stretch); } bool QBoxLayout_setStretchFactor2(QBoxLayoutH handle, QLayoutH l, int stretch) { return (bool) ((QBoxLayout *)handle)->setStretchFactor((QLayout*)l, stretch); } void QBoxLayout_setStretch(QBoxLayoutH handle, int index, int stretch) { ((QBoxLayout *)handle)->setStretch(index, stretch); } int QBoxLayout_stretch(QBoxLayoutH handle, int index) { return (int) ((QBoxLayout *)handle)->stretch(index); } void QBoxLayout_sizeHint(QBoxLayoutH handle, PSize retval) { *(QSize *)retval = ((QBoxLayout *)handle)->sizeHint(); } void QBoxLayout_minimumSize(QBoxLayoutH handle, PSize retval) { *(QSize *)retval = ((QBoxLayout *)handle)->minimumSize(); } void QBoxLayout_maximumSize(QBoxLayoutH handle, PSize retval) { *(QSize *)retval = ((QBoxLayout *)handle)->maximumSize(); } bool QBoxLayout_hasHeightForWidth(QBoxLayoutH handle) { return (bool) ((QBoxLayout *)handle)->hasHeightForWidth(); } int QBoxLayout_heightForWidth(QBoxLayoutH handle, int AnonParam1) { return (int) ((QBoxLayout *)handle)->heightForWidth(AnonParam1); } int QBoxLayout_minimumHeightForWidth(QBoxLayoutH handle, int AnonParam1) { return (int) ((QBoxLayout *)handle)->minimumHeightForWidth(AnonParam1); } unsigned int QBoxLayout_expandingDirections(QBoxLayoutH handle) { return (unsigned int) ((QBoxLayout *)handle)->expandingDirections(); } void QBoxLayout_invalidate(QBoxLayoutH handle) { ((QBoxLayout *)handle)->invalidate(); } QLayoutItemH QBoxLayout_itemAt(QBoxLayoutH handle, int AnonParam1) { return (QLayoutItemH) ((QBoxLayout *)handle)->itemAt(AnonParam1); } QLayoutItemH QBoxLayout_takeAt(QBoxLayoutH handle, int AnonParam1) { return (QLayoutItemH) ((QBoxLayout *)handle)->takeAt(AnonParam1); } int QBoxLayout_count(QBoxLayoutH handle) { return (int) ((QBoxLayout *)handle)->count(); } void QBoxLayout_setGeometry(QBoxLayoutH handle, PRect AnonParam1) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QBoxLayout *)handle)->setGeometry(t_AnonParam1); } QHBoxLayoutH QHBoxLayout_create() { return (QHBoxLayoutH) new QHBoxLayout(); } void QHBoxLayout_destroy(QHBoxLayoutH handle) { delete (QHBoxLayout *)handle; } QHBoxLayoutH QHBoxLayout_create2(QWidgetH parent) { return (QHBoxLayoutH) new QHBoxLayout((QWidget*)parent); } QVBoxLayoutH QVBoxLayout_create() { return (QVBoxLayoutH) new QVBoxLayout(); } void QVBoxLayout_destroy(QVBoxLayoutH handle) { delete (QVBoxLayout *)handle; } QVBoxLayoutH QVBoxLayout_create2(QWidgetH parent) { return (QVBoxLayoutH) new QVBoxLayout((QWidget*)parent); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemdelegate_hook_c.h0000664000212600021260000000230211677135472023061 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTITEMDELEGATE_HOOK_C_H #define QABSTRACTITEMDELEGATE_HOOK_C_H #include "qabstractitemdelegate_hook.h" C_EXPORT QAbstractItemDelegate_hookH QAbstractItemDelegate_hook_create(QObjectH handle); C_EXPORT void QAbstractItemDelegate_hook_destroy(QAbstractItemDelegate_hookH handle); C_EXPORT void QAbstractItemDelegate_hook_hook_commitData(QAbstractItemDelegate_hookH handle, QHookH hook); C_EXPORT void QAbstractItemDelegate_hook_hook_closeEditor(QAbstractItemDelegate_hookH handle, QHookH hook); C_EXPORT void QAbstractItemDelegate_hook_hook_closeEditor2(QAbstractItemDelegate_hookH handle, QHookH hook); C_EXPORT void QAbstractItemDelegate_hook_hook_sizeHintChanged(QAbstractItemDelegate_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebdatabase_c.h0000664000212600021260000000230611677135472020132 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBDATABASE_C_H #define QWEBDATABASE_C_H #include #include "pascalbind.h" C_EXPORT QWebDatabaseH QWebDatabase_create(const QWebDatabaseH other); C_EXPORT void QWebDatabase_destroy(QWebDatabaseH handle); C_EXPORT void QWebDatabase_name(QWebDatabaseH handle, PWideString retval); C_EXPORT void QWebDatabase_displayName(QWebDatabaseH handle, PWideString retval); C_EXPORT qint64 QWebDatabase_expectedSize(QWebDatabaseH handle); C_EXPORT qint64 QWebDatabase_size(QWebDatabaseH handle); C_EXPORT void QWebDatabase_fileName(QWebDatabaseH handle, PWideString retval); C_EXPORT void QWebDatabase_origin(QWebDatabaseH handle, QWebSecurityOriginH retval); C_EXPORT void QWebDatabase_removeDatabase(const QWebDatabaseH db); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractbutton_c.h0000664000212600021260000000507511677135472020735 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTBUTTON_C_H #define QABSTRACTBUTTON_C_H #include #include "pascalbind.h" C_EXPORT void QAbstractButton_setText(QAbstractButtonH handle, PWideString text); C_EXPORT void QAbstractButton_text(QAbstractButtonH handle, PWideString retval); C_EXPORT void QAbstractButton_setIcon(QAbstractButtonH handle, const QIconH icon); C_EXPORT void QAbstractButton_icon(QAbstractButtonH handle, QIconH retval); C_EXPORT void QAbstractButton_iconSize(QAbstractButtonH handle, PSize retval); C_EXPORT void QAbstractButton_setShortcut(QAbstractButtonH handle, const QKeySequenceH key); C_EXPORT void QAbstractButton_shortcut(QAbstractButtonH handle, QKeySequenceH retval); C_EXPORT void QAbstractButton_setCheckable(QAbstractButtonH handle, bool AnonParam1); C_EXPORT bool QAbstractButton_isCheckable(QAbstractButtonH handle); C_EXPORT bool QAbstractButton_isChecked(QAbstractButtonH handle); C_EXPORT void QAbstractButton_setDown(QAbstractButtonH handle, bool AnonParam1); C_EXPORT bool QAbstractButton_isDown(QAbstractButtonH handle); C_EXPORT void QAbstractButton_setAutoRepeat(QAbstractButtonH handle, bool AnonParam1); C_EXPORT bool QAbstractButton_autoRepeat(QAbstractButtonH handle); C_EXPORT void QAbstractButton_setAutoRepeatDelay(QAbstractButtonH handle, int AnonParam1); C_EXPORT int QAbstractButton_autoRepeatDelay(QAbstractButtonH handle); C_EXPORT void QAbstractButton_setAutoRepeatInterval(QAbstractButtonH handle, int AnonParam1); C_EXPORT int QAbstractButton_autoRepeatInterval(QAbstractButtonH handle); C_EXPORT void QAbstractButton_setAutoExclusive(QAbstractButtonH handle, bool AnonParam1); C_EXPORT bool QAbstractButton_autoExclusive(QAbstractButtonH handle); C_EXPORT QButtonGroupH QAbstractButton_group(QAbstractButtonH handle); C_EXPORT void QAbstractButton_setIconSize(QAbstractButtonH handle, const QSizeH size); C_EXPORT void QAbstractButton_animateClick(QAbstractButtonH handle, int msec); C_EXPORT void QAbstractButton_click(QAbstractButtonH handle); C_EXPORT void QAbstractButton_toggle(QAbstractButtonH handle); C_EXPORT void QAbstractButton_setChecked(QAbstractButtonH handle, bool AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclmessageevent_c.cpp0000664000212600021260000000367211677135472021413 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlclmessageevent_c.h" QLCLMessageEventH QLCLMessageEvent_create(QEvent::Type aType) { return (QLCLMessageEventH) new QLCLMessageEvent(aType); } void QLCLMessageEvent_destroy(QLCLMessageEventH handle) { delete (QLCLMessageEvent *)handle; } QLCLMessageEventH QLCLMessageEvent_create2(QEvent::Type aType, PTRUINT aMsg, PTRUINT aWParam, PTRUINT aLParam, PTRUINT aMsgResult) { return (QLCLMessageEventH) new QLCLMessageEvent(aType, aMsg, aWParam, aLParam, aMsgResult); } PTRUINT QLCLMessageEvent_getMsg(QLCLMessageEventH handle) { return (PTRUINT) ((QLCLMessageEvent *)handle)->getMsg(); } PTRUINT QLCLMessageEvent_getWParam(QLCLMessageEventH handle) { return (PTRUINT) ((QLCLMessageEvent *)handle)->getWParam(); } PTRUINT QLCLMessageEvent_getLParam(QLCLMessageEventH handle) { return (PTRUINT) ((QLCLMessageEvent *)handle)->getLParam(); } PTRUINT QLCLMessageEvent_getMsgResult(QLCLMessageEventH handle) { return (PTRUINT) ((QLCLMessageEvent *)handle)->getMsgResult(); } void QLCLMessageEvent_setMsg(QLCLMessageEventH handle, PTRUINT Value) { ((QLCLMessageEvent *)handle)->setMsg(Value); } void QLCLMessageEvent_setWParam(QLCLMessageEventH handle, PTRUINT Value) { ((QLCLMessageEvent *)handle)->setWParam(Value); } void QLCLMessageEvent_setLParam(QLCLMessageEventH handle, PTRUINT Value) { ((QLCLMessageEvent *)handle)->setLParam(Value); } void QLCLMessageEvent_setMsgResult(QLCLMessageEventH handle, PTRUINT Value) { ((QLCLMessageEvent *)handle)->setMsgResult(Value); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtreeview_c.cpp0000664000212600021260000002037311677135472020061 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtreeview_c.h" QTreeViewH QTreeView_create(QWidgetH parent) { return (QTreeViewH) new QTreeView((QWidget*)parent); } void QTreeView_destroy(QTreeViewH handle) { delete (QTreeView *)handle; } void QTreeView_setModel(QTreeViewH handle, QAbstractItemModelH model) { ((QTreeView *)handle)->setModel((QAbstractItemModel*)model); } void QTreeView_setRootIndex(QTreeViewH handle, const QModelIndexH index) { ((QTreeView *)handle)->setRootIndex(*(const QModelIndex*)index); } void QTreeView_setSelectionModel(QTreeViewH handle, QItemSelectionModelH selectionModel) { ((QTreeView *)handle)->setSelectionModel((QItemSelectionModel*)selectionModel); } QHeaderViewH QTreeView_header(QTreeViewH handle) { return (QHeaderViewH) ((QTreeView *)handle)->header(); } void QTreeView_setHeader(QTreeViewH handle, QHeaderViewH header) { ((QTreeView *)handle)->setHeader((QHeaderView*)header); } int QTreeView_autoExpandDelay(QTreeViewH handle) { return (int) ((QTreeView *)handle)->autoExpandDelay(); } void QTreeView_setAutoExpandDelay(QTreeViewH handle, int delay) { ((QTreeView *)handle)->setAutoExpandDelay(delay); } int QTreeView_indentation(QTreeViewH handle) { return (int) ((QTreeView *)handle)->indentation(); } void QTreeView_setIndentation(QTreeViewH handle, int i) { ((QTreeView *)handle)->setIndentation(i); } bool QTreeView_rootIsDecorated(QTreeViewH handle) { return (bool) ((QTreeView *)handle)->rootIsDecorated(); } void QTreeView_setRootIsDecorated(QTreeViewH handle, bool show) { ((QTreeView *)handle)->setRootIsDecorated(show); } bool QTreeView_uniformRowHeights(QTreeViewH handle) { return (bool) ((QTreeView *)handle)->uniformRowHeights(); } void QTreeView_setUniformRowHeights(QTreeViewH handle, bool uniform) { ((QTreeView *)handle)->setUniformRowHeights(uniform); } bool QTreeView_itemsExpandable(QTreeViewH handle) { return (bool) ((QTreeView *)handle)->itemsExpandable(); } void QTreeView_setItemsExpandable(QTreeViewH handle, bool enable) { ((QTreeView *)handle)->setItemsExpandable(enable); } bool QTreeView_expandsOnDoubleClick(QTreeViewH handle) { return (bool) ((QTreeView *)handle)->expandsOnDoubleClick(); } void QTreeView_setExpandsOnDoubleClick(QTreeViewH handle, bool enable) { ((QTreeView *)handle)->setExpandsOnDoubleClick(enable); } int QTreeView_columnViewportPosition(QTreeViewH handle, int column) { return (int) ((QTreeView *)handle)->columnViewportPosition(column); } int QTreeView_columnWidth(QTreeViewH handle, int column) { return (int) ((QTreeView *)handle)->columnWidth(column); } void QTreeView_setColumnWidth(QTreeViewH handle, int column, int width) { ((QTreeView *)handle)->setColumnWidth(column, width); } int QTreeView_columnAt(QTreeViewH handle, int x) { return (int) ((QTreeView *)handle)->columnAt(x); } bool QTreeView_isColumnHidden(QTreeViewH handle, int column) { return (bool) ((QTreeView *)handle)->isColumnHidden(column); } void QTreeView_setColumnHidden(QTreeViewH handle, int column, bool hide) { ((QTreeView *)handle)->setColumnHidden(column, hide); } bool QTreeView_isHeaderHidden(QTreeViewH handle) { return (bool) ((QTreeView *)handle)->isHeaderHidden(); } void QTreeView_setHeaderHidden(QTreeViewH handle, bool hide) { ((QTreeView *)handle)->setHeaderHidden(hide); } bool QTreeView_isRowHidden(QTreeViewH handle, int row, const QModelIndexH parent) { return (bool) ((QTreeView *)handle)->isRowHidden(row, *(const QModelIndex*)parent); } void QTreeView_setRowHidden(QTreeViewH handle, int row, const QModelIndexH parent, bool hide) { ((QTreeView *)handle)->setRowHidden(row, *(const QModelIndex*)parent, hide); } bool QTreeView_isFirstColumnSpanned(QTreeViewH handle, int row, const QModelIndexH parent) { return (bool) ((QTreeView *)handle)->isFirstColumnSpanned(row, *(const QModelIndex*)parent); } void QTreeView_setFirstColumnSpanned(QTreeViewH handle, int row, const QModelIndexH parent, bool span) { ((QTreeView *)handle)->setFirstColumnSpanned(row, *(const QModelIndex*)parent, span); } bool QTreeView_isExpanded(QTreeViewH handle, const QModelIndexH index) { return (bool) ((QTreeView *)handle)->isExpanded(*(const QModelIndex*)index); } void QTreeView_setExpanded(QTreeViewH handle, const QModelIndexH index, bool expand) { ((QTreeView *)handle)->setExpanded(*(const QModelIndex*)index, expand); } void QTreeView_setSortingEnabled(QTreeViewH handle, bool enable) { ((QTreeView *)handle)->setSortingEnabled(enable); } bool QTreeView_isSortingEnabled(QTreeViewH handle) { return (bool) ((QTreeView *)handle)->isSortingEnabled(); } void QTreeView_setAnimated(QTreeViewH handle, bool enable) { ((QTreeView *)handle)->setAnimated(enable); } bool QTreeView_isAnimated(QTreeViewH handle) { return (bool) ((QTreeView *)handle)->isAnimated(); } void QTreeView_setAllColumnsShowFocus(QTreeViewH handle, bool enable) { ((QTreeView *)handle)->setAllColumnsShowFocus(enable); } bool QTreeView_allColumnsShowFocus(QTreeViewH handle) { return (bool) ((QTreeView *)handle)->allColumnsShowFocus(); } void QTreeView_setWordWrap(QTreeViewH handle, bool on) { ((QTreeView *)handle)->setWordWrap(on); } bool QTreeView_wordWrap(QTreeViewH handle) { return (bool) ((QTreeView *)handle)->wordWrap(); } void QTreeView_keyboardSearch(QTreeViewH handle, PWideString search) { QString t_search; copyPWideStringToQString(search, t_search); ((QTreeView *)handle)->keyboardSearch(t_search); } void QTreeView_visualRect(QTreeViewH handle, PRect retval, const QModelIndexH index) { QRect t_retval; t_retval = ((QTreeView *)handle)->visualRect(*(const QModelIndex*)index); copyQRectToPRect(t_retval, retval); } void QTreeView_scrollTo(QTreeViewH handle, const QModelIndexH index, QAbstractItemView::ScrollHint hint) { ((QTreeView *)handle)->scrollTo(*(const QModelIndex*)index, hint); } void QTreeView_indexAt(QTreeViewH handle, QModelIndexH retval, const QPointH p) { *(QModelIndex *)retval = ((QTreeView *)handle)->indexAt(*(const QPoint*)p); } void QTreeView_indexAbove(QTreeViewH handle, QModelIndexH retval, const QModelIndexH index) { *(QModelIndex *)retval = ((QTreeView *)handle)->indexAbove(*(const QModelIndex*)index); } void QTreeView_indexBelow(QTreeViewH handle, QModelIndexH retval, const QModelIndexH index) { *(QModelIndex *)retval = ((QTreeView *)handle)->indexBelow(*(const QModelIndex*)index); } void QTreeView_doItemsLayout(QTreeViewH handle) { ((QTreeView *)handle)->doItemsLayout(); } void QTreeView_reset(QTreeViewH handle) { ((QTreeView *)handle)->reset(); } void QTreeView_sortByColumn(QTreeViewH handle, int column, Qt::SortOrder order) { ((QTreeView *)handle)->sortByColumn(column, order); } void QTreeView_dataChanged(QTreeViewH handle, const QModelIndexH topLeft, const QModelIndexH bottomRight) { ((QTreeView *)handle)->dataChanged(*(const QModelIndex*)topLeft, *(const QModelIndex*)bottomRight); } void QTreeView_hideColumn(QTreeViewH handle, int column) { ((QTreeView *)handle)->hideColumn(column); } void QTreeView_showColumn(QTreeViewH handle, int column) { ((QTreeView *)handle)->showColumn(column); } void QTreeView_expand(QTreeViewH handle, const QModelIndexH index) { ((QTreeView *)handle)->expand(*(const QModelIndex*)index); } void QTreeView_collapse(QTreeViewH handle, const QModelIndexH index) { ((QTreeView *)handle)->collapse(*(const QModelIndex*)index); } void QTreeView_resizeColumnToContents(QTreeViewH handle, int column) { ((QTreeView *)handle)->resizeColumnToContents(column); } void QTreeView_sortByColumn2(QTreeViewH handle, int column) { ((QTreeView *)handle)->sortByColumn(column); } void QTreeView_selectAll(QTreeViewH handle) { ((QTreeView *)handle)->selectAll(); } void QTreeView_expandAll(QTreeViewH handle) { ((QTreeView *)handle)->expandAll(); } void QTreeView_collapseAll(QTreeViewH handle) { ((QTreeView *)handle)->collapseAll(); } void QTreeView_expandToDepth(QTreeViewH handle, int depth) { ((QTreeView *)handle)->expandToDepth(depth); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemview_c.cpp0000664000212600021260000002613211677135472021603 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractitemview_c.h" void QAbstractItemView_setModel(QAbstractItemViewH handle, QAbstractItemModelH model) { ((QAbstractItemView *)handle)->setModel((QAbstractItemModel*)model); } QAbstractItemModelH QAbstractItemView_model(QAbstractItemViewH handle) { return (QAbstractItemModelH) ((QAbstractItemView *)handle)->model(); } void QAbstractItemView_setSelectionModel(QAbstractItemViewH handle, QItemSelectionModelH selectionModel) { ((QAbstractItemView *)handle)->setSelectionModel((QItemSelectionModel*)selectionModel); } QItemSelectionModelH QAbstractItemView_selectionModel(QAbstractItemViewH handle) { return (QItemSelectionModelH) ((QAbstractItemView *)handle)->selectionModel(); } void QAbstractItemView_setItemDelegate(QAbstractItemViewH handle, QAbstractItemDelegateH delegate) { ((QAbstractItemView *)handle)->setItemDelegate((QAbstractItemDelegate*)delegate); } QAbstractItemDelegateH QAbstractItemView_itemDelegate(QAbstractItemViewH handle) { return (QAbstractItemDelegateH) ((QAbstractItemView *)handle)->itemDelegate(); } void QAbstractItemView_setSelectionMode(QAbstractItemViewH handle, QAbstractItemView::SelectionMode mode) { ((QAbstractItemView *)handle)->setSelectionMode(mode); } QAbstractItemView::SelectionMode QAbstractItemView_selectionMode(QAbstractItemViewH handle) { return (QAbstractItemView::SelectionMode) ((QAbstractItemView *)handle)->selectionMode(); } void QAbstractItemView_setSelectionBehavior(QAbstractItemViewH handle, QAbstractItemView::SelectionBehavior behavior) { ((QAbstractItemView *)handle)->setSelectionBehavior(behavior); } QAbstractItemView::SelectionBehavior QAbstractItemView_selectionBehavior(QAbstractItemViewH handle) { return (QAbstractItemView::SelectionBehavior) ((QAbstractItemView *)handle)->selectionBehavior(); } void QAbstractItemView_currentIndex(QAbstractItemViewH handle, QModelIndexH retval) { *(QModelIndex *)retval = ((QAbstractItemView *)handle)->currentIndex(); } void QAbstractItemView_rootIndex(QAbstractItemViewH handle, QModelIndexH retval) { *(QModelIndex *)retval = ((QAbstractItemView *)handle)->rootIndex(); } void QAbstractItemView_setEditTriggers(QAbstractItemViewH handle, unsigned int triggers) { ((QAbstractItemView *)handle)->setEditTriggers((QAbstractItemView::EditTriggers)triggers); } unsigned int QAbstractItemView_editTriggers(QAbstractItemViewH handle) { return (unsigned int) ((QAbstractItemView *)handle)->editTriggers(); } void QAbstractItemView_setVerticalScrollMode(QAbstractItemViewH handle, QAbstractItemView::ScrollMode mode) { ((QAbstractItemView *)handle)->setVerticalScrollMode(mode); } QAbstractItemView::ScrollMode QAbstractItemView_verticalScrollMode(QAbstractItemViewH handle) { return (QAbstractItemView::ScrollMode) ((QAbstractItemView *)handle)->verticalScrollMode(); } void QAbstractItemView_setHorizontalScrollMode(QAbstractItemViewH handle, QAbstractItemView::ScrollMode mode) { ((QAbstractItemView *)handle)->setHorizontalScrollMode(mode); } QAbstractItemView::ScrollMode QAbstractItemView_horizontalScrollMode(QAbstractItemViewH handle) { return (QAbstractItemView::ScrollMode) ((QAbstractItemView *)handle)->horizontalScrollMode(); } void QAbstractItemView_setAutoScroll(QAbstractItemViewH handle, bool enable) { ((QAbstractItemView *)handle)->setAutoScroll(enable); } bool QAbstractItemView_hasAutoScroll(QAbstractItemViewH handle) { return (bool) ((QAbstractItemView *)handle)->hasAutoScroll(); } void QAbstractItemView_setAutoScrollMargin(QAbstractItemViewH handle, int margin) { ((QAbstractItemView *)handle)->setAutoScrollMargin(margin); } int QAbstractItemView_autoScrollMargin(QAbstractItemViewH handle) { return (int) ((QAbstractItemView *)handle)->autoScrollMargin(); } void QAbstractItemView_setTabKeyNavigation(QAbstractItemViewH handle, bool enable) { ((QAbstractItemView *)handle)->setTabKeyNavigation(enable); } bool QAbstractItemView_tabKeyNavigation(QAbstractItemViewH handle) { return (bool) ((QAbstractItemView *)handle)->tabKeyNavigation(); } void QAbstractItemView_setDropIndicatorShown(QAbstractItemViewH handle, bool enable) { ((QAbstractItemView *)handle)->setDropIndicatorShown(enable); } bool QAbstractItemView_showDropIndicator(QAbstractItemViewH handle) { return (bool) ((QAbstractItemView *)handle)->showDropIndicator(); } void QAbstractItemView_setDragEnabled(QAbstractItemViewH handle, bool enable) { ((QAbstractItemView *)handle)->setDragEnabled(enable); } bool QAbstractItemView_dragEnabled(QAbstractItemViewH handle) { return (bool) ((QAbstractItemView *)handle)->dragEnabled(); } void QAbstractItemView_setDragDropOverwriteMode(QAbstractItemViewH handle, bool overwrite) { ((QAbstractItemView *)handle)->setDragDropOverwriteMode(overwrite); } bool QAbstractItemView_dragDropOverwriteMode(QAbstractItemViewH handle) { return (bool) ((QAbstractItemView *)handle)->dragDropOverwriteMode(); } void QAbstractItemView_setDragDropMode(QAbstractItemViewH handle, QAbstractItemView::DragDropMode behavior) { ((QAbstractItemView *)handle)->setDragDropMode(behavior); } QAbstractItemView::DragDropMode QAbstractItemView_dragDropMode(QAbstractItemViewH handle) { return (QAbstractItemView::DragDropMode) ((QAbstractItemView *)handle)->dragDropMode(); } void QAbstractItemView_setAlternatingRowColors(QAbstractItemViewH handle, bool enable) { ((QAbstractItemView *)handle)->setAlternatingRowColors(enable); } bool QAbstractItemView_alternatingRowColors(QAbstractItemViewH handle) { return (bool) ((QAbstractItemView *)handle)->alternatingRowColors(); } void QAbstractItemView_setIconSize(QAbstractItemViewH handle, const QSizeH size) { ((QAbstractItemView *)handle)->setIconSize(*(const QSize*)size); } void QAbstractItemView_iconSize(QAbstractItemViewH handle, PSize retval) { *(QSize *)retval = ((QAbstractItemView *)handle)->iconSize(); } void QAbstractItemView_setTextElideMode(QAbstractItemViewH handle, Qt::TextElideMode mode) { ((QAbstractItemView *)handle)->setTextElideMode(mode); } Qt::TextElideMode QAbstractItemView_textElideMode(QAbstractItemViewH handle) { return (Qt::TextElideMode) ((QAbstractItemView *)handle)->textElideMode(); } void QAbstractItemView_keyboardSearch(QAbstractItemViewH handle, PWideString search) { QString t_search; copyPWideStringToQString(search, t_search); ((QAbstractItemView *)handle)->keyboardSearch(t_search); } void QAbstractItemView_visualRect(QAbstractItemViewH handle, PRect retval, const QModelIndexH index) { QRect t_retval; t_retval = ((QAbstractItemView *)handle)->visualRect(*(const QModelIndex*)index); copyQRectToPRect(t_retval, retval); } void QAbstractItemView_scrollTo(QAbstractItemViewH handle, const QModelIndexH index, QAbstractItemView::ScrollHint hint) { ((QAbstractItemView *)handle)->scrollTo(*(const QModelIndex*)index, hint); } void QAbstractItemView_indexAt(QAbstractItemViewH handle, QModelIndexH retval, const QPointH point) { *(QModelIndex *)retval = ((QAbstractItemView *)handle)->indexAt(*(const QPoint*)point); } void QAbstractItemView_sizeHintForIndex(QAbstractItemViewH handle, PSize retval, const QModelIndexH index) { *(QSize *)retval = ((QAbstractItemView *)handle)->sizeHintForIndex(*(const QModelIndex*)index); } int QAbstractItemView_sizeHintForRow(QAbstractItemViewH handle, int row) { return (int) ((QAbstractItemView *)handle)->sizeHintForRow(row); } int QAbstractItemView_sizeHintForColumn(QAbstractItemViewH handle, int column) { return (int) ((QAbstractItemView *)handle)->sizeHintForColumn(column); } void QAbstractItemView_openPersistentEditor(QAbstractItemViewH handle, const QModelIndexH index) { ((QAbstractItemView *)handle)->openPersistentEditor(*(const QModelIndex*)index); } void QAbstractItemView_closePersistentEditor(QAbstractItemViewH handle, const QModelIndexH index) { ((QAbstractItemView *)handle)->closePersistentEditor(*(const QModelIndex*)index); } void QAbstractItemView_setIndexWidget(QAbstractItemViewH handle, const QModelIndexH index, QWidgetH widget) { ((QAbstractItemView *)handle)->setIndexWidget(*(const QModelIndex*)index, (QWidget*)widget); } QWidgetH QAbstractItemView_indexWidget(QAbstractItemViewH handle, const QModelIndexH index) { return (QWidgetH) ((QAbstractItemView *)handle)->indexWidget(*(const QModelIndex*)index); } void QAbstractItemView_setItemDelegateForRow(QAbstractItemViewH handle, int row, QAbstractItemDelegateH delegate) { ((QAbstractItemView *)handle)->setItemDelegateForRow(row, (QAbstractItemDelegate*)delegate); } QAbstractItemDelegateH QAbstractItemView_itemDelegateForRow(QAbstractItemViewH handle, int row) { return (QAbstractItemDelegateH) ((QAbstractItemView *)handle)->itemDelegateForRow(row); } void QAbstractItemView_setItemDelegateForColumn(QAbstractItemViewH handle, int column, QAbstractItemDelegateH delegate) { ((QAbstractItemView *)handle)->setItemDelegateForColumn(column, (QAbstractItemDelegate*)delegate); } QAbstractItemDelegateH QAbstractItemView_itemDelegateForColumn(QAbstractItemViewH handle, int column) { return (QAbstractItemDelegateH) ((QAbstractItemView *)handle)->itemDelegateForColumn(column); } QAbstractItemDelegateH QAbstractItemView_itemDelegate2(QAbstractItemViewH handle, const QModelIndexH index) { return (QAbstractItemDelegateH) ((QAbstractItemView *)handle)->itemDelegate(*(const QModelIndex*)index); } void QAbstractItemView_inputMethodQuery(QAbstractItemViewH handle, QVariantH retval, Qt::InputMethodQuery query) { *(QVariant *)retval = ((QAbstractItemView *)handle)->inputMethodQuery(query); } void QAbstractItemView_reset(QAbstractItemViewH handle) { ((QAbstractItemView *)handle)->reset(); } void QAbstractItemView_setRootIndex(QAbstractItemViewH handle, const QModelIndexH index) { ((QAbstractItemView *)handle)->setRootIndex(*(const QModelIndex*)index); } void QAbstractItemView_doItemsLayout(QAbstractItemViewH handle) { ((QAbstractItemView *)handle)->doItemsLayout(); } void QAbstractItemView_selectAll(QAbstractItemViewH handle) { ((QAbstractItemView *)handle)->selectAll(); } void QAbstractItemView_edit(QAbstractItemViewH handle, const QModelIndexH index) { ((QAbstractItemView *)handle)->edit(*(const QModelIndex*)index); } void QAbstractItemView_clearSelection(QAbstractItemViewH handle) { ((QAbstractItemView *)handle)->clearSelection(); } void QAbstractItemView_setCurrentIndex(QAbstractItemViewH handle, const QModelIndexH index) { ((QAbstractItemView *)handle)->setCurrentIndex(*(const QModelIndex*)index); } void QAbstractItemView_scrollToTop(QAbstractItemViewH handle) { ((QAbstractItemView *)handle)->scrollToTop(); } void QAbstractItemView_scrollToBottom(QAbstractItemViewH handle) { ((QAbstractItemView *)handle)->scrollToBottom(); } void QAbstractItemView_update(QAbstractItemViewH handle, const QModelIndexH index) { ((QAbstractItemView *)handle)->update(*(const QModelIndex*)index); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkreply_hook_c.cpp0000664000212600021260000000271311677135472022012 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qnetworkreply_hook_c.h" QNetworkReply_hookH QNetworkReply_hook_create(QObjectH handle) { return (QNetworkReply_hookH) new QNetworkReply_hook((QObject*)handle); } void QNetworkReply_hook_destroy(QNetworkReply_hookH handle) { delete (QNetworkReply_hook *)handle; } void QNetworkReply_hook_hook_metaDataChanged(QNetworkReply_hookH handle, QHookH hook) { ((QNetworkReply_hook *)handle)->hook_metaDataChanged(hook); } void QNetworkReply_hook_hook_finished(QNetworkReply_hookH handle, QHookH hook) { ((QNetworkReply_hook *)handle)->hook_finished(hook); } void QNetworkReply_hook_hook_error(QNetworkReply_hookH handle, QHookH hook) { ((QNetworkReply_hook *)handle)->hook_error(hook); } void QNetworkReply_hook_hook_uploadProgress(QNetworkReply_hookH handle, QHookH hook) { ((QNetworkReply_hook *)handle)->hook_uploadProgress(hook); } void QNetworkReply_hook_hook_downloadProgress(QNetworkReply_hookH handle, QHookH hook) { ((QNetworkReply_hook *)handle)->hook_downloadProgress(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemmodel_hook_c.h0000664000212600021260000000553311677135472022420 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTITEMMODEL_HOOK_C_H #define QABSTRACTITEMMODEL_HOOK_C_H #include "qabstractitemmodel_hook.h" C_EXPORT QModelIndex_hookH QModelIndex_hook_create(QObjectH handle); C_EXPORT void QModelIndex_hook_destroy(QModelIndex_hookH handle); C_EXPORT QPersistentModelIndex_hookH QPersistentModelIndex_hook_create(QObjectH handle); C_EXPORT void QPersistentModelIndex_hook_destroy(QPersistentModelIndex_hookH handle); C_EXPORT QAbstractItemModel_hookH QAbstractItemModel_hook_create(QObjectH handle); C_EXPORT void QAbstractItemModel_hook_destroy(QAbstractItemModel_hookH handle); C_EXPORT void QAbstractItemModel_hook_hook_dataChanged(QAbstractItemModel_hookH handle, QHookH hook); C_EXPORT void QAbstractItemModel_hook_hook_headerDataChanged(QAbstractItemModel_hookH handle, QHookH hook); C_EXPORT void QAbstractItemModel_hook_hook_layoutChanged(QAbstractItemModel_hookH handle, QHookH hook); C_EXPORT void QAbstractItemModel_hook_hook_layoutAboutToBeChanged(QAbstractItemModel_hookH handle, QHookH hook); C_EXPORT void QAbstractItemModel_hook_hook_rowsAboutToBeInserted(QAbstractItemModel_hookH handle, QHookH hook); C_EXPORT void QAbstractItemModel_hook_hook_rowsInserted(QAbstractItemModel_hookH handle, QHookH hook); C_EXPORT void QAbstractItemModel_hook_hook_rowsAboutToBeRemoved(QAbstractItemModel_hookH handle, QHookH hook); C_EXPORT void QAbstractItemModel_hook_hook_rowsRemoved(QAbstractItemModel_hookH handle, QHookH hook); C_EXPORT void QAbstractItemModel_hook_hook_columnsAboutToBeInserted(QAbstractItemModel_hookH handle, QHookH hook); C_EXPORT void QAbstractItemModel_hook_hook_columnsInserted(QAbstractItemModel_hookH handle, QHookH hook); C_EXPORT void QAbstractItemModel_hook_hook_columnsAboutToBeRemoved(QAbstractItemModel_hookH handle, QHookH hook); C_EXPORT void QAbstractItemModel_hook_hook_columnsRemoved(QAbstractItemModel_hookH handle, QHookH hook); C_EXPORT void QAbstractItemModel_hook_hook_modelAboutToBeReset(QAbstractItemModel_hookH handle, QHookH hook); C_EXPORT void QAbstractItemModel_hook_hook_modelReset(QAbstractItemModel_hookH handle, QHookH hook); C_EXPORT QAbstractTableModel_hookH QAbstractTableModel_hook_create(QObjectH handle); C_EXPORT void QAbstractTableModel_hook_destroy(QAbstractTableModel_hookH handle); C_EXPORT QAbstractListModel_hookH QAbstractListModel_hook_create(QObjectH handle); C_EXPORT void QAbstractListModel_hook_destroy(QAbstractListModel_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkreply_hook.h0000664000212600021260000001005611677135472021154 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QNETWORKREPLY_HOOK_H #define QNETWORKREPLY_HOOK_H #include #include "qiodevice_hook.h" class QNetworkReply_hook : public QIODevice_hook { Q_OBJECT public: QNetworkReply_hook(QObject *handle) : QIODevice_hook(handle) { metaDataChanged_event.func = NULL; finished_event.func = NULL; error_event.func = NULL; uploadProgress_event.func = NULL; downloadProgress_event.func = NULL; } void hook_metaDataChanged(QHook &hook) { if ( !metaDataChanged_event.func ) connect(handle, SIGNAL(metaDataChanged()), this, SLOT(metaDataChanged_hook())); metaDataChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(metaDataChanged()), this, SLOT(metaDataChanged_hook())); } void hook_finished(QHook &hook) { if ( !finished_event.func ) connect(handle, SIGNAL(finished()), this, SLOT(finished_hook())); finished_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(finished()), this, SLOT(finished_hook())); } void hook_error(QHook &hook) { if ( !error_event.func ) connect(handle, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(error_hook(QNetworkReply::NetworkError))); error_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(error_hook(QNetworkReply::NetworkError))); } void hook_uploadProgress(QHook &hook) { if ( !uploadProgress_event.func ) connect(handle, SIGNAL(uploadProgress(qint64, qint64)), this, SLOT(uploadProgress_hook(qint64, qint64))); uploadProgress_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(uploadProgress(qint64, qint64)), this, SLOT(uploadProgress_hook(qint64, qint64))); } void hook_downloadProgress(QHook &hook) { if ( !downloadProgress_event.func ) connect(handle, SIGNAL(downloadProgress(qint64, qint64)), this, SLOT(downloadProgress_hook(qint64, qint64))); downloadProgress_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(downloadProgress(qint64, qint64)), this, SLOT(downloadProgress_hook(qint64, qint64))); } private slots: void metaDataChanged_hook() { if ( metaDataChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)metaDataChanged_event.func)(metaDataChanged_event.data); } } void finished_hook() { if ( finished_event.func ) { typedef void (*func_type)(void *data); (*(func_type)finished_event.func)(finished_event.data); } } void error_hook(QNetworkReply::NetworkError AnonParam1) { if ( error_event.func ) { typedef void (*func_type)(void *data, QNetworkReply::NetworkError AnonParam1); (*(func_type)error_event.func)(error_event.data, AnonParam1); } } void uploadProgress_hook(qint64 bytesSent, qint64 bytesTotal) { if ( uploadProgress_event.func ) { typedef void (*func_type)(void *data, qint64 bytesSent, qint64 bytesTotal); (*(func_type)uploadProgress_event.func)(uploadProgress_event.data, bytesSent, bytesTotal); } } void downloadProgress_hook(qint64 bytesReceived, qint64 bytesTotal) { if ( downloadProgress_event.func ) { typedef void (*func_type)(void *data, qint64 bytesReceived, qint64 bytesTotal); (*(func_type)downloadProgress_event.func)(downloadProgress_event.data, bytesReceived, bytesTotal); } } private: QHook metaDataChanged_event; QHook finished_event; QHook error_event; QHook uploadProgress_event; QHook downloadProgress_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qiodevice_hook.h0000664000212600021260000000613411677135472020200 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QIODEVICE_HOOK_H #define QIODEVICE_HOOK_H #include #include "qobject_hook.h" class QIODevice_hook : public QObject_hook { Q_OBJECT public: QIODevice_hook(QObject *handle) : QObject_hook(handle) { readyRead_event.func = NULL; bytesWritten_event.func = NULL; aboutToClose_event.func = NULL; readChannelFinished_event.func = NULL; } void hook_readyRead(QHook &hook) { if ( !readyRead_event.func ) connect(handle, SIGNAL(readyRead()), this, SLOT(readyRead_hook())); readyRead_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(readyRead()), this, SLOT(readyRead_hook())); } void hook_bytesWritten(QHook &hook) { if ( !bytesWritten_event.func ) connect(handle, SIGNAL(bytesWritten(qint64)), this, SLOT(bytesWritten_hook(qint64))); bytesWritten_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(bytesWritten(qint64)), this, SLOT(bytesWritten_hook(qint64))); } void hook_aboutToClose(QHook &hook) { if ( !aboutToClose_event.func ) connect(handle, SIGNAL(aboutToClose()), this, SLOT(aboutToClose_hook())); aboutToClose_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(aboutToClose()), this, SLOT(aboutToClose_hook())); } void hook_readChannelFinished(QHook &hook) { if ( !readChannelFinished_event.func ) connect(handle, SIGNAL(readChannelFinished()), this, SLOT(readChannelFinished_hook())); readChannelFinished_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(readChannelFinished()), this, SLOT(readChannelFinished_hook())); } private slots: void readyRead_hook() { if ( readyRead_event.func ) { typedef void (*func_type)(void *data); (*(func_type)readyRead_event.func)(readyRead_event.data); } } void bytesWritten_hook(qint64 bytes) { if ( bytesWritten_event.func ) { typedef void (*func_type)(void *data, qint64 bytes); (*(func_type)bytesWritten_event.func)(bytesWritten_event.data, bytes); } } void aboutToClose_hook() { if ( aboutToClose_event.func ) { typedef void (*func_type)(void *data); (*(func_type)aboutToClose_event.func)(aboutToClose_event.data); } } void readChannelFinished_hook() { if ( readChannelFinished_event.func ) { typedef void (*func_type)(void *data); (*(func_type)readChannelFinished_event.func)(readChannelFinished_event.data); } } private: QHook readyRead_event; QHook bytesWritten_event; QHook aboutToClose_event; QHook readChannelFinished_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintpreviewdialog_hook_c.cpp0000664000212600021260000000171511677135472023164 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qprintpreviewdialog_hook_c.h" QPrintPreviewDialog_hookH QPrintPreviewDialog_hook_create(QObjectH handle) { return (QPrintPreviewDialog_hookH) new QPrintPreviewDialog_hook((QObject*)handle); } void QPrintPreviewDialog_hook_destroy(QPrintPreviewDialog_hookH handle) { delete (QPrintPreviewDialog_hook *)handle; } void QPrintPreviewDialog_hook_hook_paintRequested(QPrintPreviewDialog_hookH handle, QHookH hook) { ((QPrintPreviewDialog_hook *)handle)->hook_paintRequested(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlistview_hook_c.cpp0000664000212600021260000000132511677135472021111 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlistview_hook_c.h" QListView_hookH QListView_hook_create(QObjectH handle) { return (QListView_hookH) new QListView_hook((QObject*)handle); } void QListView_hook_destroy(QListView_hookH handle) { delete (QListView_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebsettings_c.cpp0000664000212600021260000001021311677135472020555 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebsettings_c.h" QWebSettingsH QWebSettings_globalSettings() { return (QWebSettingsH) QWebSettings::globalSettings(); } void QWebSettings_setFontFamily(QWebSettingsH handle, QWebSettings::FontFamily which, PWideString family) { QString t_family; copyPWideStringToQString(family, t_family); ((QWebSettings *)handle)->setFontFamily(which, t_family); } void QWebSettings_fontFamily(QWebSettingsH handle, PWideString retval, QWebSettings::FontFamily which) { QString t_retval; t_retval = ((QWebSettings *)handle)->fontFamily(which); copyQStringToPWideString(t_retval, retval); } void QWebSettings_resetFontFamily(QWebSettingsH handle, QWebSettings::FontFamily which) { ((QWebSettings *)handle)->resetFontFamily(which); } void QWebSettings_setFontSize(QWebSettingsH handle, QWebSettings::FontSize type, int size) { ((QWebSettings *)handle)->setFontSize(type, size); } int QWebSettings_fontSize(QWebSettingsH handle, QWebSettings::FontSize type) { return (int) ((QWebSettings *)handle)->fontSize(type); } void QWebSettings_resetFontSize(QWebSettingsH handle, QWebSettings::FontSize type) { ((QWebSettings *)handle)->resetFontSize(type); } void QWebSettings_setAttribute(QWebSettingsH handle, QWebSettings::WebAttribute attr, bool on) { ((QWebSettings *)handle)->setAttribute(attr, on); } bool QWebSettings_testAttribute(QWebSettingsH handle, QWebSettings::WebAttribute attr) { return (bool) ((QWebSettings *)handle)->testAttribute(attr); } void QWebSettings_resetAttribute(QWebSettingsH handle, QWebSettings::WebAttribute attr) { ((QWebSettings *)handle)->resetAttribute(attr); } void QWebSettings_setUserStyleSheetUrl(QWebSettingsH handle, const QUrlH location) { ((QWebSettings *)handle)->setUserStyleSheetUrl(*(const QUrl*)location); } void QWebSettings_userStyleSheetUrl(QWebSettingsH handle, QUrlH retval) { *(QUrl *)retval = ((QWebSettings *)handle)->userStyleSheetUrl(); } void QWebSettings_setIconDatabasePath(PWideString location) { QString t_location; copyPWideStringToQString(location, t_location); QWebSettings::setIconDatabasePath(t_location); } void QWebSettings_iconDatabasePath(PWideString retval) { QString t_retval; t_retval = QWebSettings::iconDatabasePath(); copyQStringToPWideString(t_retval, retval); } void QWebSettings_clearIconDatabase() { QWebSettings::clearIconDatabase(); } void QWebSettings_iconForUrl(QIconH retval, const QUrlH url) { *(QIcon *)retval = QWebSettings::iconForUrl(*(const QUrl*)url); } void QWebSettings_setWebGraphic(QWebSettings::WebGraphic type, const QPixmapH graphic) { QWebSettings::setWebGraphic(type, *(const QPixmap*)graphic); } void QWebSettings_webGraphic(QPixmapH retval, QWebSettings::WebGraphic type) { *(QPixmap *)retval = QWebSettings::webGraphic(type); } void QWebSettings_setMaximumPagesInCache(int pages) { QWebSettings::setMaximumPagesInCache(pages); } int QWebSettings_maximumPagesInCache() { return (int) QWebSettings::maximumPagesInCache(); } void QWebSettings_setObjectCacheCapacities(int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity) { QWebSettings::setObjectCacheCapacities(cacheMinDeadCapacity, cacheMaxDead, totalCapacity); } void QWebSettings_setOfflineStoragePath(PWideString path) { QString t_path; copyPWideStringToQString(path, t_path); QWebSettings::setOfflineStoragePath(t_path); } void QWebSettings_offlineStoragePath(PWideString retval) { QString t_retval; t_retval = QWebSettings::offlineStoragePath(); copyQStringToPWideString(t_retval, retval); } void QWebSettings_setOfflineStorageDefaultQuota(qint64 maximumSize) { QWebSettings::setOfflineStorageDefaultQuota(maximumSize); } qint64 QWebSettings_offlineStorageDefaultQuota() { return (qint64) QWebSettings::offlineStorageDefaultQuota(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractbutton_hook_c.cpp0000664000212600021260000000271711677135472022310 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractbutton_hook_c.h" QAbstractButton_hookH QAbstractButton_hook_create(QObjectH handle) { return (QAbstractButton_hookH) new QAbstractButton_hook((QObject*)handle); } void QAbstractButton_hook_destroy(QAbstractButton_hookH handle) { delete (QAbstractButton_hook *)handle; } void QAbstractButton_hook_hook_pressed(QAbstractButton_hookH handle, QHookH hook) { ((QAbstractButton_hook *)handle)->hook_pressed(hook); } void QAbstractButton_hook_hook_released(QAbstractButton_hookH handle, QHookH hook) { ((QAbstractButton_hook *)handle)->hook_released(hook); } void QAbstractButton_hook_hook_clicked(QAbstractButton_hookH handle, QHookH hook) { ((QAbstractButton_hook *)handle)->hook_clicked(hook); } void QAbstractButton_hook_hook_clicked2(QAbstractButton_hookH handle, QHookH hook) { ((QAbstractButton_hook *)handle)->hook_clicked2(hook); } void QAbstractButton_hook_hook_toggled(QAbstractButton_hookH handle, QHookH hook) { ((QAbstractButton_hook *)handle)->hook_toggled(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemmodel_hook_c.cpp0000664000212600021260000001025611677135472022751 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractitemmodel_hook_c.h" QModelIndex_hookH QModelIndex_hook_create(QObjectH handle) { return (QModelIndex_hookH) new QModelIndex_hook((QObject*)handle); } void QModelIndex_hook_destroy(QModelIndex_hookH handle) { delete (QModelIndex_hook *)handle; } QPersistentModelIndex_hookH QPersistentModelIndex_hook_create(QObjectH handle) { return (QPersistentModelIndex_hookH) new QPersistentModelIndex_hook((QObject*)handle); } void QPersistentModelIndex_hook_destroy(QPersistentModelIndex_hookH handle) { delete (QPersistentModelIndex_hook *)handle; } QAbstractItemModel_hookH QAbstractItemModel_hook_create(QObjectH handle) { return (QAbstractItemModel_hookH) new QAbstractItemModel_hook((QObject*)handle); } void QAbstractItemModel_hook_destroy(QAbstractItemModel_hookH handle) { delete (QAbstractItemModel_hook *)handle; } void QAbstractItemModel_hook_hook_dataChanged(QAbstractItemModel_hookH handle, QHookH hook) { ((QAbstractItemModel_hook *)handle)->hook_dataChanged(hook); } void QAbstractItemModel_hook_hook_headerDataChanged(QAbstractItemModel_hookH handle, QHookH hook) { ((QAbstractItemModel_hook *)handle)->hook_headerDataChanged(hook); } void QAbstractItemModel_hook_hook_layoutChanged(QAbstractItemModel_hookH handle, QHookH hook) { ((QAbstractItemModel_hook *)handle)->hook_layoutChanged(hook); } void QAbstractItemModel_hook_hook_layoutAboutToBeChanged(QAbstractItemModel_hookH handle, QHookH hook) { ((QAbstractItemModel_hook *)handle)->hook_layoutAboutToBeChanged(hook); } void QAbstractItemModel_hook_hook_rowsAboutToBeInserted(QAbstractItemModel_hookH handle, QHookH hook) { ((QAbstractItemModel_hook *)handle)->hook_rowsAboutToBeInserted(hook); } void QAbstractItemModel_hook_hook_rowsInserted(QAbstractItemModel_hookH handle, QHookH hook) { ((QAbstractItemModel_hook *)handle)->hook_rowsInserted(hook); } void QAbstractItemModel_hook_hook_rowsAboutToBeRemoved(QAbstractItemModel_hookH handle, QHookH hook) { ((QAbstractItemModel_hook *)handle)->hook_rowsAboutToBeRemoved(hook); } void QAbstractItemModel_hook_hook_rowsRemoved(QAbstractItemModel_hookH handle, QHookH hook) { ((QAbstractItemModel_hook *)handle)->hook_rowsRemoved(hook); } void QAbstractItemModel_hook_hook_columnsAboutToBeInserted(QAbstractItemModel_hookH handle, QHookH hook) { ((QAbstractItemModel_hook *)handle)->hook_columnsAboutToBeInserted(hook); } void QAbstractItemModel_hook_hook_columnsInserted(QAbstractItemModel_hookH handle, QHookH hook) { ((QAbstractItemModel_hook *)handle)->hook_columnsInserted(hook); } void QAbstractItemModel_hook_hook_columnsAboutToBeRemoved(QAbstractItemModel_hookH handle, QHookH hook) { ((QAbstractItemModel_hook *)handle)->hook_columnsAboutToBeRemoved(hook); } void QAbstractItemModel_hook_hook_columnsRemoved(QAbstractItemModel_hookH handle, QHookH hook) { ((QAbstractItemModel_hook *)handle)->hook_columnsRemoved(hook); } void QAbstractItemModel_hook_hook_modelAboutToBeReset(QAbstractItemModel_hookH handle, QHookH hook) { ((QAbstractItemModel_hook *)handle)->hook_modelAboutToBeReset(hook); } void QAbstractItemModel_hook_hook_modelReset(QAbstractItemModel_hookH handle, QHookH hook) { ((QAbstractItemModel_hook *)handle)->hook_modelReset(hook); } QAbstractTableModel_hookH QAbstractTableModel_hook_create(QObjectH handle) { return (QAbstractTableModel_hookH) new QAbstractTableModel_hook((QObject*)handle); } void QAbstractTableModel_hook_destroy(QAbstractTableModel_hookH handle) { delete (QAbstractTableModel_hook *)handle; } QAbstractListModel_hookH QAbstractListModel_hook_create(QObjectH handle) { return (QAbstractListModel_hookH) new QAbstractListModel_hook((QObject*)handle); } void QAbstractListModel_hook_destroy(QAbstractListModel_hookH handle) { delete (QAbstractListModel_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qapplication_hook_c.h0000664000212600021260000000233211677135472021212 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QAPPLICATION_HOOK_C_H #define QAPPLICATION_HOOK_C_H #include "qapplication_hook.h" C_EXPORT QApplication_hookH QApplication_hook_create(QObjectH handle); C_EXPORT void QApplication_hook_destroy(QApplication_hookH handle); C_EXPORT void QApplication_hook_hook_lastWindowClosed(QApplication_hookH handle, QHookH hook); C_EXPORT void QApplication_hook_hook_focusChanged(QApplication_hookH handle, QHookH hook); C_EXPORT void QApplication_hook_hook_fontDatabaseChanged(QApplication_hookH handle, QHookH hook); #if defined BINUX || MSWINDOWS || DARWIN C_EXPORT void QApplication_hook_hook_commitDataRequest(QApplication_hookH handle, QHookH hook); C_EXPORT void QApplication_hook_hook_saveStateRequest(QApplication_hookH handle, QHookH hook); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcombobox_hook_c.h0000664000212600021260000000243111677135472020517 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCOMBOBOX_HOOK_C_H #define QCOMBOBOX_HOOK_C_H #include "qcombobox_hook.h" C_EXPORT QComboBox_hookH QComboBox_hook_create(QObjectH handle); C_EXPORT void QComboBox_hook_destroy(QComboBox_hookH handle); C_EXPORT void QComboBox_hook_hook_editTextChanged(QComboBox_hookH handle, QHookH hook); C_EXPORT void QComboBox_hook_hook_activated(QComboBox_hookH handle, QHookH hook); C_EXPORT void QComboBox_hook_hook_activated2(QComboBox_hookH handle, QHookH hook); C_EXPORT void QComboBox_hook_hook_highlighted(QComboBox_hookH handle, QHookH hook); C_EXPORT void QComboBox_hook_hook_highlighted2(QComboBox_hookH handle, QHookH hook); C_EXPORT void QComboBox_hook_hook_currentIndexChanged(QComboBox_hookH handle, QHookH hook); C_EXPORT void QComboBox_hook_hook_currentIndexChanged2(QComboBox_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/pascalbind.h0000664000212600021260000001622411677135472017311 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef PASCALBIND_H #define PASCALBIND_H #include #include #include #include #include #include #include #include #include #include "chandles.h" #if defined(__WIN32__) #define C_EXPORT extern "C" __declspec( dllexport ) #else #define C_EXPORT extern "C" #endif #ifdef __WIN32__ #include #endif typedef bool (*EventFilter)(void *message, long *result); typedef bool (*EventFilter2)(void *message); #if defined _LP64 typedef long long int PTRINT; typedef unsigned long long int PTRUINT; #else typedef int PTRINT; typedef unsigned int PTRUINT; #endif typedef uint WFlags; typedef int QCOORDH; typedef struct { void *func; void *data; } QHook; typedef QHook QHookH; typedef QHook QOverrideHook; typedef QOverrideHook QOverrideHookH; typedef struct { int x_or_y; int y_or_x; } TQtPoint; typedef TQtPoint *PQtPoint; typedef struct { qreal x; qreal y; } TQtPointF; typedef TQtPointF *PQtPointF; typedef struct { int cx; int cy; } TSize; typedef TSize *PSize; typedef struct { unsigned short data; } TQSizePolicy; typedef TQSizePolicy *PQSizePolicy; typedef struct { uint spec; ushort alpha; ushort red; ushort green; ushort blue; ushort pad; } TQColor; typedef TQColor *PQColor; #if defined DARWIN typedef struct CGImage *CGImageRef; #endif //====================== // WideString //====================== typedef void *PWideString; typedef void *PAnsiString; typedef char *PAnsiChar; typedef unsigned short *PWideChar; typedef void (*CopyUnicodeToPWideString)(const QChar *unicode, PWideString ps, int len); typedef PWideChar (*UnicodeOfPWideString)(PWideString ps); typedef int (*LengthOfPWideString)(PWideString ps); typedef void (*InitializePWideString)(PWideString &ps); typedef void (*FinalizePWideString)(PWideString &ps); extern CopyUnicodeToPWideString copyUnicodeToPWideString; extern UnicodeOfPWideString unicodeOfPWideString; extern LengthOfPWideString lengthOfPWideString; extern InitializePWideString initPWideString; extern FinalizePWideString finalPWideString; inline void copyQStringToPWideString(const QString &qs, PWideString ps) { if (qs!=0 && ps) copyUnicodeToPWideString(qs.unicode(), ps, qs.length()); } inline void copyPWideStringToQString(PWideString ps, QString &qs) { qs.setUtf16((ushort *)unicodeOfPWideString(ps), lengthOfPWideString(ps)); } inline void initializePWideString(PAnsiString &pws) { initPWideString(pws); } inline void finalizePWideString(PWideString &pws) { finalPWideString(pws); } C_EXPORT void initPWideStrings(CopyUnicodeToPWideString cutps, UnicodeOfPWideString uops, LengthOfPWideString lops, InitializePWideString ip, FinalizePWideString fp); //======================================================= // QRect // Pascal : left,top,right,bottom // Qt : left,top,right,bottom aka x1,y1,x2,y2 // Qt MAC: top,left,bottom,right aka y1,x1,y2,x2 //======================================================= typedef void *PRect; inline void copyQRectToPRect(const QRect &qr, PRect pr) { #if defined DARWIN ((QRect *)pr)->setLeft(qr.top()); ((QRect *)pr)->setTop(qr.left()); ((QRect *)pr)->setRight(qr.bottom()+1); ((QRect *)pr)->setBottom(qr.right()+1); #else ((QRect *)pr)->setLeft(qr.left()); ((QRect *)pr)->setTop(qr.top()); ((QRect *)pr)->setRight(qr.right()+1); ((QRect *)pr)->setBottom(qr.bottom()+1); #endif } inline void copyPRectToQRect(PRect pr, QRect &qr) { #if defined DARWIN qr.setLeft(((QRect *)pr)->top()); qr.setTop(((QRect *)pr)->left()); qr.setRight(((QRect *)pr)->bottom()-1); qr.setBottom(((QRect *)pr)->right()-1); #else qr.setLeft(((QRect *)pr)->left()); qr.setTop(((QRect *)pr)->top()); qr.setRight(((QRect *)pr)->right()-1); qr.setBottom(((QRect *)pr)->bottom()-1); #endif } //========================= // QList vs PtrIntArray //========================= typedef void *PPtrIntArray; typedef void *(*GetPtrIntArrayAddr)(PPtrIntArray parr); typedef int (*GetPtrIntArrayLength)(PPtrIntArray parr); typedef void (*SetPtrIntArrayLength)(PPtrIntArray parr, int len); extern GetPtrIntArrayAddr getPtrIntArrayAddr; extern GetPtrIntArrayLength getPtrIntArrayLength; extern SetPtrIntArrayLength setPtrIntArrayLength; template Q_OUTOFLINE_TEMPLATE void copyQListTemplateToPtrIntArray(QList &qlist, PPtrIntArray parr) { int len = qlist.count(); setPtrIntArrayLength(parr, len); if (len>0) { PTRINT *array = (PTRINT *)getPtrIntArrayAddr(parr); for (int i = 0; i < len; i++) array[i] = (PTRINT)qlist[i]; } } template Q_OUTOFLINE_TEMPLATE void copyPtrIntArrayToQListTemplate(PPtrIntArray parr,QList &qlist) { int len = getPtrIntArrayLength(parr); qlist.clear(); if (len>0) { PTRINT *array = (PTRINT *)getPtrIntArrayAddr(parr); for (int i = 0; i < len; i++) qlist.append((T)array[i]); } } //=============================================================================== // Only valid for T not castable to PtrInt // will allocate new T to get *T which is castable to PtrInt //=============================================================================== template Q_OUTOFLINE_TEMPLATE void copyQListTemplateToPtrIntArrayWithNew(QList &qlist, PPtrIntArray parr) { int len = qlist.count(); setPtrIntArrayLength(parr, len); if (len>0) { PTRINT *array = (PTRINT *)getPtrIntArrayAddr(parr); for (int i = 0; i < len; i++) array[i] = (PTRINT)(new T(qlist[i])); } } C_EXPORT void initializePPtrIntArray(GetPtrIntArrayAddr gaa, GetPtrIntArrayLength gal, SetPtrIntArrayLength sal); //=============================== // QVector vs TQRealArray //=============================== typedef qreal *PQRealArray; typedef qreal *(*GetQRealArrayAddr)(PQRealArray parr); typedef int (*GetQRealArrayLength)(PQRealArray parr); typedef void (*SetQRealArrayLength)(PQRealArray parr, int len); extern GetQRealArrayAddr getQRealArrayAddr; extern GetQRealArrayLength getQRealArrayLength; extern SetQRealArrayLength setQRealArrayLength; inline void copyQVectorQRealToQRealArray(QVector &qvector, PQRealArray parr) { int len = qvector.size(); setQRealArrayLength(parr, len); if (len>0) { qreal *array = getQRealArrayAddr(parr); for (int i = 0; i < len; i++) array[i] = qvector.at(i); } } inline void copyQRealArrayToQVectorQReal(PQRealArray parr,QVector &qvector) { int len = getQRealArrayLength(parr); qvector.resize(len); if (len>0) { qreal *array = getQRealArrayAddr(parr); for (int i = 0; i < len; i++) qvector[i] = array[i]; } } C_EXPORT void initializeQRealArray(GetQRealArrayAddr gaa, GetQRealArrayLength gal, SetQRealArrayLength sal); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebframe_c.h0000664000212600021260000001166711677135472017472 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBFRAME_C_H #define QWEBFRAME_C_H #include #include "pascalbind.h" C_EXPORT QWebHitTestResultH QWebHitTestResult_create(); C_EXPORT void QWebHitTestResult_destroy(QWebHitTestResultH handle); C_EXPORT QWebHitTestResultH QWebHitTestResult_create2(const QWebHitTestResultH other); C_EXPORT bool QWebHitTestResult_isNull(QWebHitTestResultH handle); C_EXPORT void QWebHitTestResult_pos(QWebHitTestResultH handle, PQtPoint retval); C_EXPORT void QWebHitTestResult_boundingRect(QWebHitTestResultH handle, PRect retval); C_EXPORT void QWebHitTestResult_title(QWebHitTestResultH handle, PWideString retval); C_EXPORT void QWebHitTestResult_linkText(QWebHitTestResultH handle, PWideString retval); C_EXPORT void QWebHitTestResult_linkUrl(QWebHitTestResultH handle, QUrlH retval); C_EXPORT void QWebHitTestResult_linkTitle(QWebHitTestResultH handle, QUrlH retval); C_EXPORT QWebFrameH QWebHitTestResult_linkTargetFrame(QWebHitTestResultH handle); C_EXPORT void QWebHitTestResult_alternateText(QWebHitTestResultH handle, PWideString retval); C_EXPORT void QWebHitTestResult_imageUrl(QWebHitTestResultH handle, QUrlH retval); C_EXPORT void QWebHitTestResult_pixmap(QWebHitTestResultH handle, QPixmapH retval); C_EXPORT bool QWebHitTestResult_isContentEditable(QWebHitTestResultH handle); C_EXPORT bool QWebHitTestResult_isContentSelected(QWebHitTestResultH handle); C_EXPORT QWebFrameH QWebHitTestResult_frame(QWebHitTestResultH handle); C_EXPORT QWebPageH QWebFrame_page(QWebFrameH handle); C_EXPORT void QWebFrame_load(QWebFrameH handle, const QUrlH url); C_EXPORT void QWebFrame_load2(QWebFrameH handle, const QNetworkRequestH request, QNetworkAccessManager::Operation operation, const QByteArrayH body); C_EXPORT void QWebFrame_setHtml(QWebFrameH handle, PWideString html, const QUrlH baseUrl); C_EXPORT void QWebFrame_setContent(QWebFrameH handle, const QByteArrayH data, PWideString mimeType, const QUrlH baseUrl); C_EXPORT void QWebFrame_addToJavaScriptWindowObject(QWebFrameH handle, PWideString name, QObjectH object); C_EXPORT void QWebFrame_toHtml(QWebFrameH handle, PWideString retval); C_EXPORT void QWebFrame_toPlainText(QWebFrameH handle, PWideString retval); C_EXPORT void QWebFrame_renderTreeDump(QWebFrameH handle, PWideString retval); C_EXPORT void QWebFrame_title(QWebFrameH handle, PWideString retval); C_EXPORT void QWebFrame_setUrl(QWebFrameH handle, const QUrlH url); C_EXPORT void QWebFrame_url(QWebFrameH handle, QUrlH retval); C_EXPORT void QWebFrame_icon(QWebFrameH handle, QIconH retval); C_EXPORT void QWebFrame_frameName(QWebFrameH handle, PWideString retval); C_EXPORT QWebFrameH QWebFrame_parentFrame(QWebFrameH handle); C_EXPORT void QWebFrame_childFrames(QWebFrameH handle, PPtrIntArray retval); C_EXPORT Qt::ScrollBarPolicy QWebFrame_scrollBarPolicy(QWebFrameH handle, Qt::Orientation orientation); C_EXPORT void QWebFrame_setScrollBarPolicy(QWebFrameH handle, Qt::Orientation orientation, Qt::ScrollBarPolicy policy); C_EXPORT void QWebFrame_setScrollBarValue(QWebFrameH handle, Qt::Orientation orientation, int value); C_EXPORT int QWebFrame_scrollBarValue(QWebFrameH handle, Qt::Orientation orientation); C_EXPORT int QWebFrame_scrollBarMinimum(QWebFrameH handle, Qt::Orientation orientation); C_EXPORT int QWebFrame_scrollBarMaximum(QWebFrameH handle, Qt::Orientation orientation); C_EXPORT void QWebFrame_scroll(QWebFrameH handle, int AnonParam1, int AnonParam2); C_EXPORT void QWebFrame_scrollPosition(QWebFrameH handle, PQtPoint retval); C_EXPORT void QWebFrame_setScrollPosition(QWebFrameH handle, const QPointH pos); C_EXPORT void QWebFrame_render(QWebFrameH handle, QPainterH painter, const QRegionH clip); C_EXPORT void QWebFrame_render2(QWebFrameH handle, QPainterH painter); C_EXPORT void QWebFrame_setTextSizeMultiplier(QWebFrameH handle, qreal factor); C_EXPORT qreal QWebFrame_textSizeMultiplier(QWebFrameH handle); C_EXPORT qreal QWebFrame_zoomFactor(QWebFrameH handle); C_EXPORT void QWebFrame_setZoomFactor(QWebFrameH handle, qreal factor); C_EXPORT void QWebFrame_pos(QWebFrameH handle, PQtPoint retval); C_EXPORT void QWebFrame_geometry(QWebFrameH handle, PRect retval); C_EXPORT void QWebFrame_contentsSize(QWebFrameH handle, PSize retval); C_EXPORT void QWebFrame_hitTestContent(QWebFrameH handle, QWebHitTestResultH retval, const QPointH pos); C_EXPORT bool QWebFrame_event(QWebFrameH handle, QEventH AnonParam1); C_EXPORT void QWebFrame_evaluateJavaScript(QWebFrameH handle, QVariantH retval, PWideString scriptSource); C_EXPORT void QWebFrame_print(QWebFrameH handle, QPrinterH printer); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractslider_c.h0000664000212600021260000000507511677135472020704 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTSLIDER_C_H #define QABSTRACTSLIDER_C_H #include #include "pascalbind.h" C_EXPORT QAbstractSliderH QAbstractSlider_create(QWidgetH parent); C_EXPORT void QAbstractSlider_destroy(QAbstractSliderH handle); C_EXPORT Qt::Orientation QAbstractSlider_orientation(QAbstractSliderH handle); C_EXPORT void QAbstractSlider_setMinimum(QAbstractSliderH handle, int AnonParam1); C_EXPORT int QAbstractSlider_minimum(QAbstractSliderH handle); C_EXPORT void QAbstractSlider_setMaximum(QAbstractSliderH handle, int AnonParam1); C_EXPORT int QAbstractSlider_maximum(QAbstractSliderH handle); C_EXPORT void QAbstractSlider_setRange(QAbstractSliderH handle, int min, int max); C_EXPORT void QAbstractSlider_setSingleStep(QAbstractSliderH handle, int AnonParam1); C_EXPORT int QAbstractSlider_singleStep(QAbstractSliderH handle); C_EXPORT void QAbstractSlider_setPageStep(QAbstractSliderH handle, int AnonParam1); C_EXPORT int QAbstractSlider_pageStep(QAbstractSliderH handle); C_EXPORT void QAbstractSlider_setTracking(QAbstractSliderH handle, bool enable); C_EXPORT bool QAbstractSlider_hasTracking(QAbstractSliderH handle); C_EXPORT void QAbstractSlider_setSliderDown(QAbstractSliderH handle, bool AnonParam1); C_EXPORT bool QAbstractSlider_isSliderDown(QAbstractSliderH handle); C_EXPORT void QAbstractSlider_setSliderPosition(QAbstractSliderH handle, int AnonParam1); C_EXPORT int QAbstractSlider_sliderPosition(QAbstractSliderH handle); C_EXPORT void QAbstractSlider_setInvertedAppearance(QAbstractSliderH handle, bool AnonParam1); C_EXPORT bool QAbstractSlider_invertedAppearance(QAbstractSliderH handle); C_EXPORT void QAbstractSlider_setInvertedControls(QAbstractSliderH handle, bool AnonParam1); C_EXPORT bool QAbstractSlider_invertedControls(QAbstractSliderH handle); C_EXPORT int QAbstractSlider_value(QAbstractSliderH handle); C_EXPORT void QAbstractSlider_triggerAction(QAbstractSliderH handle, QAbstractSlider::SliderAction action); C_EXPORT void QAbstractSlider_setValue(QAbstractSliderH handle, int AnonParam1); C_EXPORT void QAbstractSlider_setOrientation(QAbstractSliderH handle, Qt::Orientation AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcheckbox_hook_c.cpp0000664000212600021260000000153311677135472021032 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qcheckbox_hook_c.h" QCheckBox_hookH QCheckBox_hook_create(QObjectH handle) { return (QCheckBox_hookH) new QCheckBox_hook((QObject*)handle); } void QCheckBox_hook_destroy(QCheckBox_hookH handle) { delete (QCheckBox_hook *)handle; } void QCheckBox_hook_hook_stateChanged(QCheckBox_hookH handle, QHookH hook) { ((QCheckBox_hook *)handle)->hook_stateChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextcursor_c.cpp0000664000212600021260000002204111677135472020443 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtextcursor_c.h" QTextCursorH QTextCursor_create() { return (QTextCursorH) new QTextCursor(); } void QTextCursor_destroy(QTextCursorH handle) { delete (QTextCursor *)handle; } QTextCursorH QTextCursor_create2(QTextDocumentH document) { return (QTextCursorH) new QTextCursor((QTextDocument*)document); } QTextCursorH QTextCursor_create3(QTextFrameH frame) { return (QTextCursorH) new QTextCursor((QTextFrame*)frame); } QTextCursorH QTextCursor_create4(const QTextBlockH block) { return (QTextCursorH) new QTextCursor(*(const QTextBlock*)block); } QTextCursorH QTextCursor_create6(const QTextCursorH cursor) { return (QTextCursorH) new QTextCursor(*(const QTextCursor*)cursor); } bool QTextCursor_isNull(QTextCursorH handle) { return (bool) ((QTextCursor *)handle)->isNull(); } void QTextCursor_setPosition(QTextCursorH handle, int pos, QTextCursor::MoveMode mode) { ((QTextCursor *)handle)->setPosition(pos, mode); } int QTextCursor_position(QTextCursorH handle) { return (int) ((QTextCursor *)handle)->position(); } int QTextCursor_anchor(QTextCursorH handle) { return (int) ((QTextCursor *)handle)->anchor(); } void QTextCursor_insertText(QTextCursorH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QTextCursor *)handle)->insertText(t_text); } void QTextCursor_insertText2(QTextCursorH handle, PWideString text, const QTextCharFormatH format) { QString t_text; copyPWideStringToQString(text, t_text); ((QTextCursor *)handle)->insertText(t_text, *(const QTextCharFormat*)format); } bool QTextCursor_movePosition(QTextCursorH handle, QTextCursor::MoveOperation op, QTextCursor::MoveMode AnonParam2, int n) { return (bool) ((QTextCursor *)handle)->movePosition(op, AnonParam2, n); } bool QTextCursor_visualNavigation(QTextCursorH handle) { return (bool) ((QTextCursor *)handle)->visualNavigation(); } void QTextCursor_setVisualNavigation(QTextCursorH handle, bool b) { ((QTextCursor *)handle)->setVisualNavigation(b); } void QTextCursor_deleteChar(QTextCursorH handle) { ((QTextCursor *)handle)->deleteChar(); } void QTextCursor_deletePreviousChar(QTextCursorH handle) { ((QTextCursor *)handle)->deletePreviousChar(); } void QTextCursor_select(QTextCursorH handle, QTextCursor::SelectionType selection) { ((QTextCursor *)handle)->select(selection); } bool QTextCursor_hasSelection(QTextCursorH handle) { return (bool) ((QTextCursor *)handle)->hasSelection(); } bool QTextCursor_hasComplexSelection(QTextCursorH handle) { return (bool) ((QTextCursor *)handle)->hasComplexSelection(); } void QTextCursor_removeSelectedText(QTextCursorH handle) { ((QTextCursor *)handle)->removeSelectedText(); } void QTextCursor_clearSelection(QTextCursorH handle) { ((QTextCursor *)handle)->clearSelection(); } int QTextCursor_selectionStart(QTextCursorH handle) { return (int) ((QTextCursor *)handle)->selectionStart(); } int QTextCursor_selectionEnd(QTextCursorH handle) { return (int) ((QTextCursor *)handle)->selectionEnd(); } void QTextCursor_selectedText(QTextCursorH handle, PWideString retval) { QString t_retval; t_retval = ((QTextCursor *)handle)->selectedText(); copyQStringToPWideString(t_retval, retval); } void QTextCursor_selection(QTextCursorH handle, QTextDocumentFragmentH retval) { *(QTextDocumentFragment *)retval = ((QTextCursor *)handle)->selection(); } void QTextCursor_selectedTableCells(QTextCursorH handle, int* firstRow, int* numRows, int* firstColumn, int* numColumns) { ((QTextCursor *)handle)->selectedTableCells(firstRow, numRows, firstColumn, numColumns); } void QTextCursor_block(QTextCursorH handle, QTextBlockH retval) { *(QTextBlock *)retval = ((QTextCursor *)handle)->block(); } void QTextCursor_charFormat(QTextCursorH handle, QTextCharFormatH retval) { *(QTextCharFormat *)retval = ((QTextCursor *)handle)->charFormat(); } void QTextCursor_setCharFormat(QTextCursorH handle, const QTextCharFormatH format) { ((QTextCursor *)handle)->setCharFormat(*(const QTextCharFormat*)format); } void QTextCursor_mergeCharFormat(QTextCursorH handle, const QTextCharFormatH modifier) { ((QTextCursor *)handle)->mergeCharFormat(*(const QTextCharFormat*)modifier); } void QTextCursor_blockFormat(QTextCursorH handle, QTextBlockFormatH retval) { *(QTextBlockFormat *)retval = ((QTextCursor *)handle)->blockFormat(); } void QTextCursor_setBlockFormat(QTextCursorH handle, const QTextBlockFormatH format) { ((QTextCursor *)handle)->setBlockFormat(*(const QTextBlockFormat*)format); } void QTextCursor_mergeBlockFormat(QTextCursorH handle, const QTextBlockFormatH modifier) { ((QTextCursor *)handle)->mergeBlockFormat(*(const QTextBlockFormat*)modifier); } void QTextCursor_blockCharFormat(QTextCursorH handle, QTextCharFormatH retval) { *(QTextCharFormat *)retval = ((QTextCursor *)handle)->blockCharFormat(); } void QTextCursor_setBlockCharFormat(QTextCursorH handle, const QTextCharFormatH format) { ((QTextCursor *)handle)->setBlockCharFormat(*(const QTextCharFormat*)format); } void QTextCursor_mergeBlockCharFormat(QTextCursorH handle, const QTextCharFormatH modifier) { ((QTextCursor *)handle)->mergeBlockCharFormat(*(const QTextCharFormat*)modifier); } bool QTextCursor_atBlockStart(QTextCursorH handle) { return (bool) ((QTextCursor *)handle)->atBlockStart(); } bool QTextCursor_atBlockEnd(QTextCursorH handle) { return (bool) ((QTextCursor *)handle)->atBlockEnd(); } bool QTextCursor_atStart(QTextCursorH handle) { return (bool) ((QTextCursor *)handle)->atStart(); } bool QTextCursor_atEnd(QTextCursorH handle) { return (bool) ((QTextCursor *)handle)->atEnd(); } void QTextCursor_insertBlock(QTextCursorH handle) { ((QTextCursor *)handle)->insertBlock(); } void QTextCursor_insertBlock2(QTextCursorH handle, const QTextBlockFormatH format) { ((QTextCursor *)handle)->insertBlock(*(const QTextBlockFormat*)format); } void QTextCursor_insertBlock3(QTextCursorH handle, const QTextBlockFormatH format, const QTextCharFormatH charFormat) { ((QTextCursor *)handle)->insertBlock(*(const QTextBlockFormat*)format, *(const QTextCharFormat*)charFormat); } QTextListH QTextCursor_currentList(QTextCursorH handle) { return (QTextListH) ((QTextCursor *)handle)->currentList(); } QTextTableH QTextCursor_insertTable(QTextCursorH handle, int rows, int cols, const QTextTableFormatH format) { return (QTextTableH) ((QTextCursor *)handle)->insertTable(rows, cols, *(const QTextTableFormat*)format); } QTextTableH QTextCursor_insertTable2(QTextCursorH handle, int rows, int cols) { return (QTextTableH) ((QTextCursor *)handle)->insertTable(rows, cols); } QTextTableH QTextCursor_currentTable(QTextCursorH handle) { return (QTextTableH) ((QTextCursor *)handle)->currentTable(); } QTextFrameH QTextCursor_insertFrame(QTextCursorH handle, const QTextFrameFormatH format) { return (QTextFrameH) ((QTextCursor *)handle)->insertFrame(*(const QTextFrameFormat*)format); } QTextFrameH QTextCursor_currentFrame(QTextCursorH handle) { return (QTextFrameH) ((QTextCursor *)handle)->currentFrame(); } void QTextCursor_insertFragment(QTextCursorH handle, const QTextDocumentFragmentH fragment) { ((QTextCursor *)handle)->insertFragment(*(const QTextDocumentFragment*)fragment); } void QTextCursor_insertHtml(QTextCursorH handle, PWideString html) { QString t_html; copyPWideStringToQString(html, t_html); ((QTextCursor *)handle)->insertHtml(t_html); } void QTextCursor_insertImage2(QTextCursorH handle, const QTextImageFormatH format) { ((QTextCursor *)handle)->insertImage(*(const QTextImageFormat*)format); } void QTextCursor_insertImage3(QTextCursorH handle, PWideString name) { QString t_name; copyPWideStringToQString(name, t_name); ((QTextCursor *)handle)->insertImage(t_name); } void QTextCursor_insertImage4(QTextCursorH handle, const QImageH image, PWideString name) { QString t_name; copyPWideStringToQString(name, t_name); ((QTextCursor *)handle)->insertImage(*(const QImage*)image, t_name); } void QTextCursor_beginEditBlock(QTextCursorH handle) { ((QTextCursor *)handle)->beginEditBlock(); } void QTextCursor_joinPreviousEditBlock(QTextCursorH handle) { ((QTextCursor *)handle)->joinPreviousEditBlock(); } void QTextCursor_endEditBlock(QTextCursorH handle) { ((QTextCursor *)handle)->endEditBlock(); } bool QTextCursor_isCopyOf(QTextCursorH handle, const QTextCursorH other) { return (bool) ((QTextCursor *)handle)->isCopyOf(*(const QTextCursor*)other); } int QTextCursor_blockNumber(QTextCursorH handle) { return (int) ((QTextCursor *)handle)->blockNumber(); } int QTextCursor_columnNumber(QTextCursorH handle) { return (int) ((QTextCursor *)handle)->columnNumber(); } QTextDocumentH QTextCursor_document(QTextCursorH handle) { return (QTextDocumentH) ((QTextCursor *)handle)->document(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qactiongroup_hook.h0000664000212600021260000000507511677135472020746 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QACTIONGROUP_HOOK_H #define QACTIONGROUP_HOOK_H #include #include "qobject_hook.h" class QActionGroup_hook : public QObject_hook { Q_OBJECT public: QActionGroup_hook(QObject *handle) : QObject_hook(handle) { triggered_event.func = NULL; selected_event.func = NULL; hovered_event.func = NULL; } void hook_triggered(QHook &hook) { if ( !triggered_event.func ) connect(handle, SIGNAL(triggered(QAction*)), this, SLOT(triggered_hook(QAction*))); triggered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(triggered(QAction*)), this, SLOT(triggered_hook(QAction*))); } void hook_selected(QHook &hook) { if ( !selected_event.func ) connect(handle, SIGNAL(selected(QAction*)), this, SLOT(selected_hook(QAction*))); selected_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(selected(QAction*)), this, SLOT(selected_hook(QAction*))); } void hook_hovered(QHook &hook) { if ( !hovered_event.func ) connect(handle, SIGNAL(hovered(QAction*)), this, SLOT(hovered_hook(QAction*))); hovered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(hovered(QAction*)), this, SLOT(hovered_hook(QAction*))); } private slots: void triggered_hook(QAction* AnonParam1) { if ( triggered_event.func ) { typedef void (*func_type)(void *data, QActionH AnonParam1); (*(func_type)triggered_event.func)(triggered_event.data, (QActionH)AnonParam1); } } void selected_hook(QAction* AnonParam1) { if ( selected_event.func ) { typedef void (*func_type)(void *data, QActionH AnonParam1); (*(func_type)selected_event.func)(selected_event.data, (QActionH)AnonParam1); } } void hovered_hook(QAction* AnonParam1) { if ( hovered_event.func ) { typedef void (*func_type)(void *data, QActionH AnonParam1); (*(func_type)hovered_event.func)(hovered_event.data, (QActionH)AnonParam1); } } private: QHook triggered_event; QHook selected_event; QHook hovered_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qgroupbox_c.h0000664000212600021260000000270011677135472017533 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QGROUPBOX_C_H #define QGROUPBOX_C_H #include #include "pascalbind.h" C_EXPORT QGroupBoxH QGroupBox_create(QWidgetH parent); C_EXPORT void QGroupBox_destroy(QGroupBoxH handle); C_EXPORT QGroupBoxH QGroupBox_create2(PWideString title, QWidgetH parent); C_EXPORT void QGroupBox_title(QGroupBoxH handle, PWideString retval); C_EXPORT void QGroupBox_setTitle(QGroupBoxH handle, PWideString title); C_EXPORT unsigned int QGroupBox_alignment(QGroupBoxH handle); C_EXPORT void QGroupBox_setAlignment(QGroupBoxH handle, int alignment); C_EXPORT void QGroupBox_minimumSizeHint(QGroupBoxH handle, PSize retval); C_EXPORT bool QGroupBox_isFlat(QGroupBoxH handle); C_EXPORT void QGroupBox_setFlat(QGroupBoxH handle, bool flat); C_EXPORT bool QGroupBox_isCheckable(QGroupBoxH handle); C_EXPORT void QGroupBox_setCheckable(QGroupBoxH handle, bool checkable); C_EXPORT bool QGroupBox_isChecked(QGroupBoxH handle); C_EXPORT void QGroupBox_setChecked(QGroupBoxH handle, bool checked); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractsocket_hook_c.cpp0000664000212600021260000000323111677135472022255 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractsocket_hook_c.h" QAbstractSocket_hookH QAbstractSocket_hook_create(QObjectH handle) { return (QAbstractSocket_hookH) new QAbstractSocket_hook((QObject*)handle); } void QAbstractSocket_hook_destroy(QAbstractSocket_hookH handle) { delete (QAbstractSocket_hook *)handle; } void QAbstractSocket_hook_hook_hostFound(QAbstractSocket_hookH handle, QHookH hook) { ((QAbstractSocket_hook *)handle)->hook_hostFound(hook); } void QAbstractSocket_hook_hook_connected(QAbstractSocket_hookH handle, QHookH hook) { ((QAbstractSocket_hook *)handle)->hook_connected(hook); } void QAbstractSocket_hook_hook_disconnected(QAbstractSocket_hookH handle, QHookH hook) { ((QAbstractSocket_hook *)handle)->hook_disconnected(hook); } void QAbstractSocket_hook_hook_stateChanged(QAbstractSocket_hookH handle, QHookH hook) { ((QAbstractSocket_hook *)handle)->hook_stateChanged(hook); } void QAbstractSocket_hook_hook_error(QAbstractSocket_hookH handle, QHookH hook) { ((QAbstractSocket_hook *)handle)->hook_error(hook); } void QAbstractSocket_hook_hook_proxyAuthenticationRequired(QAbstractSocket_hookH handle, QHookH hook) { ((QAbstractSocket_hook *)handle)->hook_proxyAuthenticationRequired(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractslider_c.cpp0000664000212600021260000000747311677135472021243 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractslider_c.h" QAbstractSliderH QAbstractSlider_create(QWidgetH parent) { return (QAbstractSliderH) new QAbstractSlider((QWidget*)parent); } void QAbstractSlider_destroy(QAbstractSliderH handle) { delete (QAbstractSlider *)handle; } Qt::Orientation QAbstractSlider_orientation(QAbstractSliderH handle) { return (Qt::Orientation) ((QAbstractSlider *)handle)->orientation(); } void QAbstractSlider_setMinimum(QAbstractSliderH handle, int AnonParam1) { ((QAbstractSlider *)handle)->setMinimum(AnonParam1); } int QAbstractSlider_minimum(QAbstractSliderH handle) { return (int) ((QAbstractSlider *)handle)->minimum(); } void QAbstractSlider_setMaximum(QAbstractSliderH handle, int AnonParam1) { ((QAbstractSlider *)handle)->setMaximum(AnonParam1); } int QAbstractSlider_maximum(QAbstractSliderH handle) { return (int) ((QAbstractSlider *)handle)->maximum(); } void QAbstractSlider_setRange(QAbstractSliderH handle, int min, int max) { ((QAbstractSlider *)handle)->setRange(min, max); } void QAbstractSlider_setSingleStep(QAbstractSliderH handle, int AnonParam1) { ((QAbstractSlider *)handle)->setSingleStep(AnonParam1); } int QAbstractSlider_singleStep(QAbstractSliderH handle) { return (int) ((QAbstractSlider *)handle)->singleStep(); } void QAbstractSlider_setPageStep(QAbstractSliderH handle, int AnonParam1) { ((QAbstractSlider *)handle)->setPageStep(AnonParam1); } int QAbstractSlider_pageStep(QAbstractSliderH handle) { return (int) ((QAbstractSlider *)handle)->pageStep(); } void QAbstractSlider_setTracking(QAbstractSliderH handle, bool enable) { ((QAbstractSlider *)handle)->setTracking(enable); } bool QAbstractSlider_hasTracking(QAbstractSliderH handle) { return (bool) ((QAbstractSlider *)handle)->hasTracking(); } void QAbstractSlider_setSliderDown(QAbstractSliderH handle, bool AnonParam1) { ((QAbstractSlider *)handle)->setSliderDown(AnonParam1); } bool QAbstractSlider_isSliderDown(QAbstractSliderH handle) { return (bool) ((QAbstractSlider *)handle)->isSliderDown(); } void QAbstractSlider_setSliderPosition(QAbstractSliderH handle, int AnonParam1) { ((QAbstractSlider *)handle)->setSliderPosition(AnonParam1); } int QAbstractSlider_sliderPosition(QAbstractSliderH handle) { return (int) ((QAbstractSlider *)handle)->sliderPosition(); } void QAbstractSlider_setInvertedAppearance(QAbstractSliderH handle, bool AnonParam1) { ((QAbstractSlider *)handle)->setInvertedAppearance(AnonParam1); } bool QAbstractSlider_invertedAppearance(QAbstractSliderH handle) { return (bool) ((QAbstractSlider *)handle)->invertedAppearance(); } void QAbstractSlider_setInvertedControls(QAbstractSliderH handle, bool AnonParam1) { ((QAbstractSlider *)handle)->setInvertedControls(AnonParam1); } bool QAbstractSlider_invertedControls(QAbstractSliderH handle) { return (bool) ((QAbstractSlider *)handle)->invertedControls(); } int QAbstractSlider_value(QAbstractSliderH handle) { return (int) ((QAbstractSlider *)handle)->value(); } void QAbstractSlider_triggerAction(QAbstractSliderH handle, QAbstractSlider::SliderAction action) { ((QAbstractSlider *)handle)->triggerAction(action); } void QAbstractSlider_setValue(QAbstractSliderH handle, int AnonParam1) { ((QAbstractSlider *)handle)->setValue(AnonParam1); } void QAbstractSlider_setOrientation(QAbstractSliderH handle, Qt::Orientation AnonParam1) { ((QAbstractSlider *)handle)->setOrientation(AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtcpsocket_hook.h0000664000212600021260000000136311677135472020407 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTCPSOCKET_HOOK_H #define QTCPSOCKET_HOOK_H #include #include "qabstractsocket_hook.h" class QTcpSocket_hook : public QAbstractSocket_hook { Q_OBJECT public: QTcpSocket_hook(QObject *handle) : QAbstractSocket_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlayoutitem_c.cpp0000664000212600021260000001325011677135472020417 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlayoutitem_c.h" void QLayoutItem_sizeHint(QLayoutItemH handle, PSize retval) { *(QSize *)retval = ((QLayoutItem *)handle)->sizeHint(); } void QLayoutItem_minimumSize(QLayoutItemH handle, PSize retval) { *(QSize *)retval = ((QLayoutItem *)handle)->minimumSize(); } void QLayoutItem_maximumSize(QLayoutItemH handle, PSize retval) { *(QSize *)retval = ((QLayoutItem *)handle)->maximumSize(); } unsigned int QLayoutItem_expandingDirections(QLayoutItemH handle) { return (unsigned int) ((QLayoutItem *)handle)->expandingDirections(); } void QLayoutItem_setGeometry(QLayoutItemH handle, PRect AnonParam1) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QLayoutItem *)handle)->setGeometry(t_AnonParam1); } void QLayoutItem_geometry(QLayoutItemH handle, PRect retval) { QRect t_retval; t_retval = ((QLayoutItem *)handle)->geometry(); copyQRectToPRect(t_retval, retval); } bool QLayoutItem_isEmpty(QLayoutItemH handle) { return (bool) ((QLayoutItem *)handle)->isEmpty(); } bool QLayoutItem_hasHeightForWidth(QLayoutItemH handle) { return (bool) ((QLayoutItem *)handle)->hasHeightForWidth(); } int QLayoutItem_heightForWidth(QLayoutItemH handle, int AnonParam1) { return (int) ((QLayoutItem *)handle)->heightForWidth(AnonParam1); } int QLayoutItem_minimumHeightForWidth(QLayoutItemH handle, int AnonParam1) { return (int) ((QLayoutItem *)handle)->minimumHeightForWidth(AnonParam1); } void QLayoutItem_invalidate(QLayoutItemH handle) { ((QLayoutItem *)handle)->invalidate(); } QWidgetH QLayoutItem_widget(QLayoutItemH handle) { return (QWidgetH) ((QLayoutItem *)handle)->widget(); } QLayoutH QLayoutItem_layout(QLayoutItemH handle) { return (QLayoutH) ((QLayoutItem *)handle)->layout(); } QSpacerItemH QLayoutItem_spacerItem(QLayoutItemH handle) { return (QSpacerItemH) ((QLayoutItem *)handle)->spacerItem(); } unsigned int QLayoutItem_alignment(QLayoutItemH handle) { return (unsigned int) ((QLayoutItem *)handle)->alignment(); } void QLayoutItem_setAlignment(QLayoutItemH handle, unsigned int a) { ((QLayoutItem *)handle)->setAlignment((Qt::Alignment)a); } unsigned int QLayoutItem_controlTypes(QLayoutItemH handle) { return (unsigned int) ((QLayoutItem *)handle)->controlTypes(); } QSpacerItemH QSpacerItem_create(int w, int h, QSizePolicy::Policy hData, QSizePolicy::Policy vData) { return (QSpacerItemH) new QSpacerItem(w, h, hData, vData); } void QSpacerItem_destroy(QSpacerItemH handle) { delete (QSpacerItem *)handle; } void QSpacerItem_changeSize(QSpacerItemH handle, int w, int h, QSizePolicy::Policy hData, QSizePolicy::Policy vData) { ((QSpacerItem *)handle)->changeSize(w, h, hData, vData); } void QSpacerItem_sizeHint(QSpacerItemH handle, PSize retval) { *(QSize *)retval = ((QSpacerItem *)handle)->sizeHint(); } void QSpacerItem_minimumSize(QSpacerItemH handle, PSize retval) { *(QSize *)retval = ((QSpacerItem *)handle)->minimumSize(); } void QSpacerItem_maximumSize(QSpacerItemH handle, PSize retval) { *(QSize *)retval = ((QSpacerItem *)handle)->maximumSize(); } unsigned int QSpacerItem_expandingDirections(QSpacerItemH handle) { return (unsigned int) ((QSpacerItem *)handle)->expandingDirections(); } bool QSpacerItem_isEmpty(QSpacerItemH handle) { return (bool) ((QSpacerItem *)handle)->isEmpty(); } void QSpacerItem_setGeometry(QSpacerItemH handle, PRect AnonParam1) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QSpacerItem *)handle)->setGeometry(t_AnonParam1); } void QSpacerItem_geometry(QSpacerItemH handle, PRect retval) { QRect t_retval; t_retval = ((QSpacerItem *)handle)->geometry(); copyQRectToPRect(t_retval, retval); } QSpacerItemH QSpacerItem_spacerItem(QSpacerItemH handle) { return (QSpacerItemH) ((QSpacerItem *)handle)->spacerItem(); } QWidgetItemH QWidgetItem_create(QWidgetH w) { return (QWidgetItemH) new QWidgetItem((QWidget*)w); } void QWidgetItem_destroy(QWidgetItemH handle) { delete (QWidgetItem *)handle; } void QWidgetItem_sizeHint(QWidgetItemH handle, PSize retval) { *(QSize *)retval = ((QWidgetItem *)handle)->sizeHint(); } void QWidgetItem_minimumSize(QWidgetItemH handle, PSize retval) { *(QSize *)retval = ((QWidgetItem *)handle)->minimumSize(); } void QWidgetItem_maximumSize(QWidgetItemH handle, PSize retval) { *(QSize *)retval = ((QWidgetItem *)handle)->maximumSize(); } unsigned int QWidgetItem_expandingDirections(QWidgetItemH handle) { return (unsigned int) ((QWidgetItem *)handle)->expandingDirections(); } bool QWidgetItem_isEmpty(QWidgetItemH handle) { return (bool) ((QWidgetItem *)handle)->isEmpty(); } void QWidgetItem_setGeometry(QWidgetItemH handle, PRect AnonParam1) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QWidgetItem *)handle)->setGeometry(t_AnonParam1); } void QWidgetItem_geometry(QWidgetItemH handle, PRect retval) { QRect t_retval; t_retval = ((QWidgetItem *)handle)->geometry(); copyQRectToPRect(t_retval, retval); } QWidgetH QWidgetItem_widget(QWidgetItemH handle) { return (QWidgetH) ((QWidgetItem *)handle)->widget(); } bool QWidgetItem_hasHeightForWidth(QWidgetItemH handle) { return (bool) ((QWidgetItem *)handle)->hasHeightForWidth(); } int QWidgetItem_heightForWidth(QWidgetItemH handle, int AnonParam1) { return (int) ((QWidgetItem *)handle)->heightForWidth(AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsizegrip_c.cpp0000664000212600021260000000162511677135472020062 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsizegrip_c.h" QSizeGripH QSizeGrip_create(QWidgetH parent) { return (QSizeGripH) new QSizeGrip((QWidget*)parent); } void QSizeGrip_destroy(QSizeGripH handle) { delete (QSizeGrip *)handle; } void QSizeGrip_sizeHint(QSizeGripH handle, PSize retval) { *(QSize *)retval = ((QSizeGrip *)handle)->sizeHint(); } void QSizeGrip_setVisible(QSizeGripH handle, bool AnonParam1) { ((QSizeGrip *)handle)->setVisible(AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclthread_c.h0000664000212600021260000000147511677135472017640 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLCLTHREAD_C_H #define QLCLTHREAD_C_H #include "qlclthread.h" #include "pascalbind.h" C_EXPORT QLCLThreadH QLCLThread_create(QObjectH parent); C_EXPORT void QLCLThread_destroy(QLCLThreadH handle); C_EXPORT void QLCLThread_override_run(QLCLThreadH handle, const QOverrideHook hook); C_EXPORT int QLCLThread_exec(QLCLThreadH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractspinbox_c.cpp0000664000212600021260000001241311677135472021431 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractspinbox_c.h" QAbstractSpinBoxH QAbstractSpinBox_create(QWidgetH parent) { return (QAbstractSpinBoxH) new QAbstractSpinBox((QWidget*)parent); } void QAbstractSpinBox_destroy(QAbstractSpinBoxH handle) { delete (QAbstractSpinBox *)handle; } QAbstractSpinBox::ButtonSymbols QAbstractSpinBox_buttonSymbols(QAbstractSpinBoxH handle) { return (QAbstractSpinBox::ButtonSymbols) ((QAbstractSpinBox *)handle)->buttonSymbols(); } void QAbstractSpinBox_setButtonSymbols(QAbstractSpinBoxH handle, QAbstractSpinBox::ButtonSymbols bs) { ((QAbstractSpinBox *)handle)->setButtonSymbols(bs); } void QAbstractSpinBox_setCorrectionMode(QAbstractSpinBoxH handle, QAbstractSpinBox::CorrectionMode cm) { ((QAbstractSpinBox *)handle)->setCorrectionMode(cm); } QAbstractSpinBox::CorrectionMode QAbstractSpinBox_correctionMode(QAbstractSpinBoxH handle) { return (QAbstractSpinBox::CorrectionMode) ((QAbstractSpinBox *)handle)->correctionMode(); } bool QAbstractSpinBox_hasAcceptableInput(QAbstractSpinBoxH handle) { return (bool) ((QAbstractSpinBox *)handle)->hasAcceptableInput(); } void QAbstractSpinBox_text(QAbstractSpinBoxH handle, PWideString retval) { QString t_retval; t_retval = ((QAbstractSpinBox *)handle)->text(); copyQStringToPWideString(t_retval, retval); } void QAbstractSpinBox_specialValueText(QAbstractSpinBoxH handle, PWideString retval) { QString t_retval; t_retval = ((QAbstractSpinBox *)handle)->specialValueText(); copyQStringToPWideString(t_retval, retval); } void QAbstractSpinBox_setSpecialValueText(QAbstractSpinBoxH handle, PWideString txt) { QString t_txt; copyPWideStringToQString(txt, t_txt); ((QAbstractSpinBox *)handle)->setSpecialValueText(t_txt); } bool QAbstractSpinBox_wrapping(QAbstractSpinBoxH handle) { return (bool) ((QAbstractSpinBox *)handle)->wrapping(); } void QAbstractSpinBox_setWrapping(QAbstractSpinBoxH handle, bool w) { ((QAbstractSpinBox *)handle)->setWrapping(w); } void QAbstractSpinBox_setReadOnly(QAbstractSpinBoxH handle, bool r) { ((QAbstractSpinBox *)handle)->setReadOnly(r); } bool QAbstractSpinBox_isReadOnly(QAbstractSpinBoxH handle) { return (bool) ((QAbstractSpinBox *)handle)->isReadOnly(); } void QAbstractSpinBox_setKeyboardTracking(QAbstractSpinBoxH handle, bool kt) { ((QAbstractSpinBox *)handle)->setKeyboardTracking(kt); } bool QAbstractSpinBox_keyboardTracking(QAbstractSpinBoxH handle) { return (bool) ((QAbstractSpinBox *)handle)->keyboardTracking(); } void QAbstractSpinBox_setAlignment(QAbstractSpinBoxH handle, unsigned int flag) { ((QAbstractSpinBox *)handle)->setAlignment((Qt::Alignment)flag); } unsigned int QAbstractSpinBox_alignment(QAbstractSpinBoxH handle) { return (unsigned int) ((QAbstractSpinBox *)handle)->alignment(); } void QAbstractSpinBox_setFrame(QAbstractSpinBoxH handle, bool AnonParam1) { ((QAbstractSpinBox *)handle)->setFrame(AnonParam1); } bool QAbstractSpinBox_hasFrame(QAbstractSpinBoxH handle) { return (bool) ((QAbstractSpinBox *)handle)->hasFrame(); } void QAbstractSpinBox_setAccelerated(QAbstractSpinBoxH handle, bool on) { ((QAbstractSpinBox *)handle)->setAccelerated(on); } bool QAbstractSpinBox_isAccelerated(QAbstractSpinBoxH handle) { return (bool) ((QAbstractSpinBox *)handle)->isAccelerated(); } void QAbstractSpinBox_sizeHint(QAbstractSpinBoxH handle, PSize retval) { *(QSize *)retval = ((QAbstractSpinBox *)handle)->sizeHint(); } void QAbstractSpinBox_minimumSizeHint(QAbstractSpinBoxH handle, PSize retval) { *(QSize *)retval = ((QAbstractSpinBox *)handle)->minimumSizeHint(); } void QAbstractSpinBox_interpretText(QAbstractSpinBoxH handle) { ((QAbstractSpinBox *)handle)->interpretText(); } bool QAbstractSpinBox_event(QAbstractSpinBoxH handle, QEventH event) { return (bool) ((QAbstractSpinBox *)handle)->event((QEvent*)event); } QValidator::State QAbstractSpinBox_validate(QAbstractSpinBoxH handle, PWideString input, int* pos) { QString t_input; copyPWideStringToQString(input, t_input); QValidator::State t_retval; t_retval = (QValidator::State) ((QAbstractSpinBox *)handle)->validate(t_input, *(int*)pos); copyQStringToPWideString(t_input, input); return t_retval; } void QAbstractSpinBox_fixup(QAbstractSpinBoxH handle, PWideString input) { QString t_input; copyPWideStringToQString(input, t_input); ((QAbstractSpinBox *)handle)->fixup(t_input); copyQStringToPWideString(t_input, input); } void QAbstractSpinBox_stepBy(QAbstractSpinBoxH handle, int steps) { ((QAbstractSpinBox *)handle)->stepBy(steps); } void QAbstractSpinBox_stepUp(QAbstractSpinBoxH handle) { ((QAbstractSpinBox *)handle)->stepUp(); } void QAbstractSpinBox_stepDown(QAbstractSpinBoxH handle) { ((QAbstractSpinBox *)handle)->stepDown(); } void QAbstractSpinBox_selectAll(QAbstractSpinBoxH handle) { ((QAbstractSpinBox *)handle)->selectAll(); } void QAbstractSpinBox_clear(QAbstractSpinBoxH handle) { ((QAbstractSpinBox *)handle)->clear(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qitemselectionmodel_hook_c.h0000664000212600021260000000236111677135472022576 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QITEMSELECTIONMODEL_HOOK_C_H #define QITEMSELECTIONMODEL_HOOK_C_H #include "qitemselectionmodel_hook.h" C_EXPORT QItemSelectionRange_hookH QItemSelectionRange_hook_create(QObjectH handle); C_EXPORT void QItemSelectionRange_hook_destroy(QItemSelectionRange_hookH handle); C_EXPORT QItemSelectionModel_hookH QItemSelectionModel_hook_create(QObjectH handle); C_EXPORT void QItemSelectionModel_hook_destroy(QItemSelectionModel_hookH handle); C_EXPORT void QItemSelectionModel_hook_hook_currentChanged(QItemSelectionModel_hookH handle, QHookH hook); C_EXPORT void QItemSelectionModel_hook_hook_currentRowChanged(QItemSelectionModel_hookH handle, QHookH hook); C_EXPORT void QItemSelectionModel_hook_hook_currentColumnChanged(QItemSelectionModel_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlineedit_c.cpp0000664000212600021260000001733311677135472020026 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlineedit_c.h" QLineEditH QLineEdit_create(QWidgetH parent) { return (QLineEditH) new QLineEdit((QWidget*)parent); } void QLineEdit_destroy(QLineEditH handle) { delete (QLineEdit *)handle; } QLineEditH QLineEdit_create2(PWideString AnonParam1, QWidgetH parent) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); return (QLineEditH) new QLineEdit(t_AnonParam1, (QWidget*)parent); } void QLineEdit_text(QLineEditH handle, PWideString retval) { QString t_retval; t_retval = ((QLineEdit *)handle)->text(); copyQStringToPWideString(t_retval, retval); } void QLineEdit_displayText(QLineEditH handle, PWideString retval) { QString t_retval; t_retval = ((QLineEdit *)handle)->displayText(); copyQStringToPWideString(t_retval, retval); } int QLineEdit_maxLength(QLineEditH handle) { return (int) ((QLineEdit *)handle)->maxLength(); } void QLineEdit_setMaxLength(QLineEditH handle, int AnonParam1) { ((QLineEdit *)handle)->setMaxLength(AnonParam1); } void QLineEdit_setFrame(QLineEditH handle, bool AnonParam1) { ((QLineEdit *)handle)->setFrame(AnonParam1); } bool QLineEdit_hasFrame(QLineEditH handle) { return (bool) ((QLineEdit *)handle)->hasFrame(); } QLineEdit::EchoMode QLineEdit_echoMode(QLineEditH handle) { return (QLineEdit::EchoMode) ((QLineEdit *)handle)->echoMode(); } void QLineEdit_setEchoMode(QLineEditH handle, QLineEdit::EchoMode AnonParam1) { ((QLineEdit *)handle)->setEchoMode(AnonParam1); } bool QLineEdit_isReadOnly(QLineEditH handle) { return (bool) ((QLineEdit *)handle)->isReadOnly(); } void QLineEdit_setReadOnly(QLineEditH handle, bool AnonParam1) { ((QLineEdit *)handle)->setReadOnly(AnonParam1); } void QLineEdit_setValidator(QLineEditH handle, const QValidatorH AnonParam1) { ((QLineEdit *)handle)->setValidator((const QValidator*)AnonParam1); } const QValidatorH QLineEdit_validator(QLineEditH handle) { return (const QValidatorH) ((QLineEdit *)handle)->validator(); } void QLineEdit_setCompleter(QLineEditH handle, QCompleterH completer) { ((QLineEdit *)handle)->setCompleter((QCompleter*)completer); } QCompleterH QLineEdit_completer(QLineEditH handle) { return (QCompleterH) ((QLineEdit *)handle)->completer(); } void QLineEdit_sizeHint(QLineEditH handle, PSize retval) { *(QSize *)retval = ((QLineEdit *)handle)->sizeHint(); } void QLineEdit_minimumSizeHint(QLineEditH handle, PSize retval) { *(QSize *)retval = ((QLineEdit *)handle)->minimumSizeHint(); } int QLineEdit_cursorPosition(QLineEditH handle) { return (int) ((QLineEdit *)handle)->cursorPosition(); } void QLineEdit_setCursorPosition(QLineEditH handle, int AnonParam1) { ((QLineEdit *)handle)->setCursorPosition(AnonParam1); } int QLineEdit_cursorPositionAt(QLineEditH handle, const QPointH pos) { return (int) ((QLineEdit *)handle)->cursorPositionAt(*(const QPoint*)pos); } void QLineEdit_setAlignment(QLineEditH handle, unsigned int flag) { ((QLineEdit *)handle)->setAlignment((Qt::Alignment)flag); } unsigned int QLineEdit_alignment(QLineEditH handle) { return (unsigned int) ((QLineEdit *)handle)->alignment(); } void QLineEdit_cursorForward(QLineEditH handle, bool mark, int steps) { ((QLineEdit *)handle)->cursorForward(mark, steps); } void QLineEdit_cursorBackward(QLineEditH handle, bool mark, int steps) { ((QLineEdit *)handle)->cursorBackward(mark, steps); } void QLineEdit_cursorWordForward(QLineEditH handle, bool mark) { ((QLineEdit *)handle)->cursorWordForward(mark); } void QLineEdit_cursorWordBackward(QLineEditH handle, bool mark) { ((QLineEdit *)handle)->cursorWordBackward(mark); } void QLineEdit_backspace(QLineEditH handle) { ((QLineEdit *)handle)->backspace(); } void QLineEdit_del(QLineEditH handle) { ((QLineEdit *)handle)->del(); } void QLineEdit_home(QLineEditH handle, bool mark) { ((QLineEdit *)handle)->home(mark); } void QLineEdit_end(QLineEditH handle, bool mark) { ((QLineEdit *)handle)->end(mark); } bool QLineEdit_isModified(QLineEditH handle) { return (bool) ((QLineEdit *)handle)->isModified(); } void QLineEdit_setModified(QLineEditH handle, bool AnonParam1) { ((QLineEdit *)handle)->setModified(AnonParam1); } void QLineEdit_setSelection(QLineEditH handle, int AnonParam1, int AnonParam2) { ((QLineEdit *)handle)->setSelection(AnonParam1, AnonParam2); } bool QLineEdit_hasSelectedText(QLineEditH handle) { return (bool) ((QLineEdit *)handle)->hasSelectedText(); } void QLineEdit_selectedText(QLineEditH handle, PWideString retval) { QString t_retval; t_retval = ((QLineEdit *)handle)->selectedText(); copyQStringToPWideString(t_retval, retval); } int QLineEdit_selectionStart(QLineEditH handle) { return (int) ((QLineEdit *)handle)->selectionStart(); } bool QLineEdit_isUndoAvailable(QLineEditH handle) { return (bool) ((QLineEdit *)handle)->isUndoAvailable(); } bool QLineEdit_isRedoAvailable(QLineEditH handle) { return (bool) ((QLineEdit *)handle)->isRedoAvailable(); } void QLineEdit_setDragEnabled(QLineEditH handle, bool b) { ((QLineEdit *)handle)->setDragEnabled(b); } bool QLineEdit_dragEnabled(QLineEditH handle) { return (bool) ((QLineEdit *)handle)->dragEnabled(); } void QLineEdit_inputMask(QLineEditH handle, PWideString retval) { QString t_retval; t_retval = ((QLineEdit *)handle)->inputMask(); copyQStringToPWideString(t_retval, retval); } void QLineEdit_setInputMask(QLineEditH handle, PWideString inputMask) { QString t_inputMask; copyPWideStringToQString(inputMask, t_inputMask); ((QLineEdit *)handle)->setInputMask(t_inputMask); } bool QLineEdit_hasAcceptableInput(QLineEditH handle) { return (bool) ((QLineEdit *)handle)->hasAcceptableInput(); } void QLineEdit_setTextMargins(QLineEditH handle, int left, int top, int right, int bottom) { ((QLineEdit *)handle)->setTextMargins(left, top, right, bottom); } void QLineEdit_getTextMargins(QLineEditH handle, int* left, int* top, int* right, int* bottom) { ((QLineEdit *)handle)->getTextMargins(left, top, right, bottom); } void QLineEdit_setText(QLineEditH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QLineEdit *)handle)->setText(t_AnonParam1); } void QLineEdit_clear(QLineEditH handle) { ((QLineEdit *)handle)->clear(); } void QLineEdit_selectAll(QLineEditH handle) { ((QLineEdit *)handle)->selectAll(); } void QLineEdit_undo(QLineEditH handle) { ((QLineEdit *)handle)->undo(); } void QLineEdit_redo(QLineEditH handle) { ((QLineEdit *)handle)->redo(); } void QLineEdit_cut(QLineEditH handle) { ((QLineEdit *)handle)->cut(); } void QLineEdit_copy(QLineEditH handle) { ((QLineEdit *)handle)->copy(); } void QLineEdit_paste(QLineEditH handle) { ((QLineEdit *)handle)->paste(); } void QLineEdit_deselect(QLineEditH handle) { ((QLineEdit *)handle)->deselect(); } void QLineEdit_insert(QLineEditH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QLineEdit *)handle)->insert(t_AnonParam1); } QMenuH QLineEdit_createStandardContextMenu(QLineEditH handle) { return (QMenuH) ((QLineEdit *)handle)->createStandardContextMenu(); } void QLineEdit_inputMethodQuery(QLineEditH handle, QVariantH retval, Qt::InputMethodQuery AnonParam1) { *(QVariant *)retval = ((QLineEdit *)handle)->inputMethodQuery(AnonParam1); } bool QLineEdit_event(QLineEditH handle, QEventH AnonParam1) { return (bool) ((QLineEdit *)handle)->event((QEvent*)AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclitemdelegate_c.cpp0000664000212600021260000000425111677135472021350 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlclitemdelegate_c.h" QLCLItemDelegateH QLCLItemDelegate_create(QObjectH parent) { return (QLCLItemDelegateH) new QLCLItemDelegate((QObject*)parent); } void QLCLItemDelegate_destroy(QLCLItemDelegateH handle) { delete (QLCLItemDelegate *)handle; } void QLCLItemDelegate_override_sizeHint(QLCLItemDelegateH handle, const QOverrideHook hook) { ((QLCLItemDelegate *)handle)->override_sizeHint(hook); } void QLCLItemDelegate_override_paint(QLCLItemDelegateH handle, const QOverrideHook hook) { ((QLCLItemDelegate *)handle)->override_paint(hook); } void QLCLItemDelegate_override_createEditor(QLCLItemDelegateH handle, const QOverrideHook hook) { ((QLCLItemDelegate *)handle)->override_createEditor(hook); } void QLCLItemDelegate_override_setEditorData(QLCLItemDelegateH handle, const QOverrideHook hook) { ((QLCLItemDelegate *)handle)->override_setEditorData(hook); } void QLCLItemDelegate_override_setModelData(QLCLItemDelegateH handle, const QOverrideHook hook) { ((QLCLItemDelegate *)handle)->override_setModelData(hook); } void QLCLItemDelegate_override_updateEditorGeometry(QLCLItemDelegateH handle, const QOverrideHook hook) { ((QLCLItemDelegate *)handle)->override_updateEditorGeometry(hook); } void QLCLItemDelegate_override_editorEvent(QLCLItemDelegateH handle, const QOverrideHook hook) { ((QLCLItemDelegate *)handle)->override_editorEvent(hook); } bool QLCLItemDelegate_InheritedEditorEvent(QLCLItemDelegateH handle, QEventH event, QAbstractItemModelH model, const QStyleOptionViewItemH option, const QModelIndexH index) { return (bool) ((QLCLItemDelegate *)handle)->InheritedEditorEvent((QEvent*)event, (QAbstractItemModel*)model, *(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsocketnotifier_hook.h0000664000212600021260000000252311677135472021437 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSOCKETNOTIFIER_HOOK_H #define QSOCKETNOTIFIER_HOOK_H #include #include "qobject_hook.h" class QSocketNotifier_hook : public QObject_hook { Q_OBJECT public: QSocketNotifier_hook(QObject *handle) : QObject_hook(handle) { activated_event.func = NULL; } void hook_activated(QHook &hook) { if ( !activated_event.func ) connect(handle, SIGNAL(activated(int)), this, SLOT(activated_hook(int))); activated_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(activated(int)), this, SLOT(activated_hook(int))); } private slots: void activated_hook(int socket) { if ( activated_event.func ) { typedef void (*func_type)(void *data, int socket); (*(func_type)activated_event.func)(activated_event.data, socket); } } private: QHook activated_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qscrollbar_hook_c.h0000664000212600021260000000130111677135472020665 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSCROLLBAR_HOOK_C_H #define QSCROLLBAR_HOOK_C_H #include "qscrollbar_hook.h" C_EXPORT QScrollBar_hookH QScrollBar_hook_create(QObjectH handle); C_EXPORT void QScrollBar_hook_destroy(QScrollBar_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcoreapplication_hook_c.h0000664000212600021260000000165611677135472022073 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCOREAPPLICATION_HOOK_C_H #define QCOREAPPLICATION_HOOK_C_H #include "qcoreapplication_hook.h" C_EXPORT QCoreApplication_hookH QCoreApplication_hook_create(QObjectH handle); C_EXPORT void QCoreApplication_hook_destroy(QCoreApplication_hookH handle); C_EXPORT void QCoreApplication_hook_hook_aboutToQuit(QCoreApplication_hookH handle, QHookH hook); C_EXPORT void QCoreApplication_hook_hook_unixSignal(QCoreApplication_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextedit_c.cpp0000664000212600021260000002703111677135472020057 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtextedit_c.h" QTextEditH QTextEdit_create(QWidgetH parent) { return (QTextEditH) new QTextEdit((QWidget*)parent); } void QTextEdit_destroy(QTextEditH handle) { delete (QTextEdit *)handle; } QTextEditH QTextEdit_create2(PWideString text, QWidgetH parent) { QString t_text; copyPWideStringToQString(text, t_text); return (QTextEditH) new QTextEdit(t_text, (QWidget*)parent); } void QTextEdit_setDocument(QTextEditH handle, QTextDocumentH document) { ((QTextEdit *)handle)->setDocument((QTextDocument*)document); } QTextDocumentH QTextEdit_document(QTextEditH handle) { return (QTextDocumentH) ((QTextEdit *)handle)->document(); } void QTextEdit_setTextCursor(QTextEditH handle, const QTextCursorH cursor) { ((QTextEdit *)handle)->setTextCursor(*(const QTextCursor*)cursor); } void QTextEdit_textCursor(QTextEditH handle, QTextCursorH retval) { *(QTextCursor *)retval = ((QTextEdit *)handle)->textCursor(); } bool QTextEdit_isReadOnly(QTextEditH handle) { return (bool) ((QTextEdit *)handle)->isReadOnly(); } void QTextEdit_setReadOnly(QTextEditH handle, bool ro) { ((QTextEdit *)handle)->setReadOnly(ro); } void QTextEdit_setTextInteractionFlags(QTextEditH handle, unsigned int flags) { ((QTextEdit *)handle)->setTextInteractionFlags((Qt::TextInteractionFlags)flags); } unsigned int QTextEdit_textInteractionFlags(QTextEditH handle) { return (unsigned int) ((QTextEdit *)handle)->textInteractionFlags(); } qreal QTextEdit_fontPointSize(QTextEditH handle) { return (qreal) ((QTextEdit *)handle)->fontPointSize(); } void QTextEdit_fontFamily(QTextEditH handle, PWideString retval) { QString t_retval; t_retval = ((QTextEdit *)handle)->fontFamily(); copyQStringToPWideString(t_retval, retval); } int QTextEdit_fontWeight(QTextEditH handle) { return (int) ((QTextEdit *)handle)->fontWeight(); } bool QTextEdit_fontUnderline(QTextEditH handle) { return (bool) ((QTextEdit *)handle)->fontUnderline(); } bool QTextEdit_fontItalic(QTextEditH handle) { return (bool) ((QTextEdit *)handle)->fontItalic(); } void QTextEdit_textColor(QTextEditH handle, PQColor retval) { *(QColor *)retval = ((QTextEdit *)handle)->textColor(); } void QTextEdit_textBackgroundColor(QTextEditH handle, PQColor retval) { *(QColor *)retval = ((QTextEdit *)handle)->textBackgroundColor(); } void QTextEdit_currentFont(QTextEditH handle, QFontH retval) { *(QFont *)retval = ((QTextEdit *)handle)->currentFont(); } unsigned int QTextEdit_alignment(QTextEditH handle) { return (unsigned int) ((QTextEdit *)handle)->alignment(); } void QTextEdit_mergeCurrentCharFormat(QTextEditH handle, const QTextCharFormatH modifier) { ((QTextEdit *)handle)->mergeCurrentCharFormat(*(const QTextCharFormat*)modifier); } void QTextEdit_setCurrentCharFormat(QTextEditH handle, const QTextCharFormatH format) { ((QTextEdit *)handle)->setCurrentCharFormat(*(const QTextCharFormat*)format); } void QTextEdit_currentCharFormat(QTextEditH handle, QTextCharFormatH retval) { *(QTextCharFormat *)retval = ((QTextEdit *)handle)->currentCharFormat(); } unsigned int QTextEdit_autoFormatting(QTextEditH handle) { return (unsigned int) ((QTextEdit *)handle)->autoFormatting(); } void QTextEdit_setAutoFormatting(QTextEditH handle, unsigned int features) { ((QTextEdit *)handle)->setAutoFormatting((QTextEdit::AutoFormatting)features); } bool QTextEdit_tabChangesFocus(QTextEditH handle) { return (bool) ((QTextEdit *)handle)->tabChangesFocus(); } void QTextEdit_setTabChangesFocus(QTextEditH handle, bool b) { ((QTextEdit *)handle)->setTabChangesFocus(b); } void QTextEdit_setDocumentTitle(QTextEditH handle, PWideString title) { QString t_title; copyPWideStringToQString(title, t_title); ((QTextEdit *)handle)->setDocumentTitle(t_title); } void QTextEdit_documentTitle(QTextEditH handle, PWideString retval) { QString t_retval; t_retval = ((QTextEdit *)handle)->documentTitle(); copyQStringToPWideString(t_retval, retval); } bool QTextEdit_isUndoRedoEnabled(QTextEditH handle) { return (bool) ((QTextEdit *)handle)->isUndoRedoEnabled(); } void QTextEdit_setUndoRedoEnabled(QTextEditH handle, bool enable) { ((QTextEdit *)handle)->setUndoRedoEnabled(enable); } QTextEdit::LineWrapMode QTextEdit_lineWrapMode(QTextEditH handle) { return (QTextEdit::LineWrapMode) ((QTextEdit *)handle)->lineWrapMode(); } void QTextEdit_setLineWrapMode(QTextEditH handle, QTextEdit::LineWrapMode mode) { ((QTextEdit *)handle)->setLineWrapMode(mode); } int QTextEdit_lineWrapColumnOrWidth(QTextEditH handle) { return (int) ((QTextEdit *)handle)->lineWrapColumnOrWidth(); } void QTextEdit_setLineWrapColumnOrWidth(QTextEditH handle, int w) { ((QTextEdit *)handle)->setLineWrapColumnOrWidth(w); } QTextOption::WrapMode QTextEdit_wordWrapMode(QTextEditH handle) { return (QTextOption::WrapMode) ((QTextEdit *)handle)->wordWrapMode(); } void QTextEdit_setWordWrapMode(QTextEditH handle, QTextOption::WrapMode policy) { ((QTextEdit *)handle)->setWordWrapMode(policy); } bool QTextEdit_find(QTextEditH handle, PWideString exp, unsigned int options) { QString t_exp; copyPWideStringToQString(exp, t_exp); return (bool) ((QTextEdit *)handle)->find(t_exp, (QTextDocument::FindFlags)options); } void QTextEdit_toPlainText(QTextEditH handle, PWideString retval) { QString t_retval; t_retval = ((QTextEdit *)handle)->toPlainText(); copyQStringToPWideString(t_retval, retval); } void QTextEdit_toHtml(QTextEditH handle, PWideString retval) { QString t_retval; t_retval = ((QTextEdit *)handle)->toHtml(); copyQStringToPWideString(t_retval, retval); } void QTextEdit_ensureCursorVisible(QTextEditH handle) { ((QTextEdit *)handle)->ensureCursorVisible(); } void QTextEdit_loadResource(QTextEditH handle, QVariantH retval, int type, const QUrlH name) { *(QVariant *)retval = ((QTextEdit *)handle)->loadResource(type, *(const QUrl*)name); } QMenuH QTextEdit_createStandardContextMenu(QTextEditH handle) { return (QMenuH) ((QTextEdit *)handle)->createStandardContextMenu(); } QMenuH QTextEdit_createStandardContextMenu2(QTextEditH handle, const QPointH position) { return (QMenuH) ((QTextEdit *)handle)->createStandardContextMenu(*(const QPoint*)position); } void QTextEdit_cursorForPosition(QTextEditH handle, QTextCursorH retval, const QPointH pos) { *(QTextCursor *)retval = ((QTextEdit *)handle)->cursorForPosition(*(const QPoint*)pos); } void QTextEdit_cursorRect(QTextEditH handle, PRect retval, const QTextCursorH cursor) { QRect t_retval; t_retval = ((QTextEdit *)handle)->cursorRect(*(const QTextCursor*)cursor); copyQRectToPRect(t_retval, retval); } void QTextEdit_cursorRect2(QTextEditH handle, PRect retval) { QRect t_retval; t_retval = ((QTextEdit *)handle)->cursorRect(); copyQRectToPRect(t_retval, retval); } void QTextEdit_anchorAt(QTextEditH handle, PWideString retval, const QPointH pos) { QString t_retval; t_retval = ((QTextEdit *)handle)->anchorAt(*(const QPoint*)pos); copyQStringToPWideString(t_retval, retval); } bool QTextEdit_overwriteMode(QTextEditH handle) { return (bool) ((QTextEdit *)handle)->overwriteMode(); } void QTextEdit_setOverwriteMode(QTextEditH handle, bool overwrite) { ((QTextEdit *)handle)->setOverwriteMode(overwrite); } int QTextEdit_tabStopWidth(QTextEditH handle) { return (int) ((QTextEdit *)handle)->tabStopWidth(); } void QTextEdit_setTabStopWidth(QTextEditH handle, int width) { ((QTextEdit *)handle)->setTabStopWidth(width); } int QTextEdit_cursorWidth(QTextEditH handle) { return (int) ((QTextEdit *)handle)->cursorWidth(); } void QTextEdit_setCursorWidth(QTextEditH handle, int width) { ((QTextEdit *)handle)->setCursorWidth(width); } bool QTextEdit_acceptRichText(QTextEditH handle) { return (bool) ((QTextEdit *)handle)->acceptRichText(); } void QTextEdit_setAcceptRichText(QTextEditH handle, bool accept) { ((QTextEdit *)handle)->setAcceptRichText(accept); } void QTextEdit_moveCursor(QTextEditH handle, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) { ((QTextEdit *)handle)->moveCursor(operation, mode); } bool QTextEdit_canPaste(QTextEditH handle) { return (bool) ((QTextEdit *)handle)->canPaste(); } void QTextEdit_print(QTextEditH handle, QPrinterH printer) { ((QTextEdit *)handle)->print((QPrinter*)printer); } void QTextEdit_setFontPointSize(QTextEditH handle, qreal s) { ((QTextEdit *)handle)->setFontPointSize(s); } void QTextEdit_setFontFamily(QTextEditH handle, PWideString fontFamily) { QString t_fontFamily; copyPWideStringToQString(fontFamily, t_fontFamily); ((QTextEdit *)handle)->setFontFamily(t_fontFamily); } void QTextEdit_setFontWeight(QTextEditH handle, int w) { ((QTextEdit *)handle)->setFontWeight(w); } void QTextEdit_setFontUnderline(QTextEditH handle, bool b) { ((QTextEdit *)handle)->setFontUnderline(b); } void QTextEdit_setFontItalic(QTextEditH handle, bool b) { ((QTextEdit *)handle)->setFontItalic(b); } void QTextEdit_setTextColor(QTextEditH handle, const QColorH c) { ((QTextEdit *)handle)->setTextColor(*(const QColor*)c); } void QTextEdit_setTextBackgroundColor(QTextEditH handle, const QColorH c) { ((QTextEdit *)handle)->setTextBackgroundColor(*(const QColor*)c); } void QTextEdit_setCurrentFont(QTextEditH handle, const QFontH f) { ((QTextEdit *)handle)->setCurrentFont(*(const QFont*)f); } void QTextEdit_setAlignment(QTextEditH handle, unsigned int a) { ((QTextEdit *)handle)->setAlignment((Qt::Alignment)a); } void QTextEdit_setPlainText(QTextEditH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QTextEdit *)handle)->setPlainText(t_text); } void QTextEdit_setHtml(QTextEditH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QTextEdit *)handle)->setHtml(t_text); } void QTextEdit_setText(QTextEditH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QTextEdit *)handle)->setText(t_text); } void QTextEdit_cut(QTextEditH handle) { ((QTextEdit *)handle)->cut(); } void QTextEdit_copy(QTextEditH handle) { ((QTextEdit *)handle)->copy(); } void QTextEdit_paste(QTextEditH handle) { ((QTextEdit *)handle)->paste(); } void QTextEdit_undo(QTextEditH handle) { ((QTextEdit *)handle)->undo(); } void QTextEdit_redo(QTextEditH handle) { ((QTextEdit *)handle)->redo(); } void QTextEdit_clear(QTextEditH handle) { ((QTextEdit *)handle)->clear(); } void QTextEdit_selectAll(QTextEditH handle) { ((QTextEdit *)handle)->selectAll(); } void QTextEdit_insertPlainText(QTextEditH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QTextEdit *)handle)->insertPlainText(t_text); } void QTextEdit_insertHtml(QTextEditH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QTextEdit *)handle)->insertHtml(t_text); } void QTextEdit_append(QTextEditH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QTextEdit *)handle)->append(t_text); } void QTextEdit_scrollToAnchor(QTextEditH handle, PWideString name) { QString t_name; copyPWideStringToQString(name, t_name); ((QTextEdit *)handle)->scrollToAnchor(t_name); } void QTextEdit_zoomIn(QTextEditH handle, int range) { ((QTextEdit *)handle)->zoomIn(range); } void QTextEdit_zoomOut(QTextEditH handle, int range) { ((QTextEdit *)handle)->zoomOut(range); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtablewidget_hook.h0000664000212600021260000002736111677135472020711 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTABLEWIDGET_HOOK_H #define QTABLEWIDGET_HOOK_H #include #include "qobject_hook.h" class QTableWidgetSelectionRange_hook : public QObject_hook { Q_OBJECT public: QTableWidgetSelectionRange_hook(QObject *handle) : QObject_hook(handle) { } }; #include "qobject_hook.h" class QTableWidgetItem_hook : public QObject_hook { Q_OBJECT public: QTableWidgetItem_hook(QObject *handle) : QObject_hook(handle) { } }; #include "qtableview_hook.h" class QTableWidget_hook : public QTableView_hook { Q_OBJECT public: QTableWidget_hook(QObject *handle) : QTableView_hook(handle) { itemPressed_event.func = NULL; itemClicked_event.func = NULL; itemDoubleClicked_event.func = NULL; itemActivated_event.func = NULL; itemEntered_event.func = NULL; itemChanged_event.func = NULL; currentItemChanged_event.func = NULL; itemSelectionChanged_event.func = NULL; cellPressed_event.func = NULL; cellClicked_event.func = NULL; cellDoubleClicked_event.func = NULL; cellActivated_event.func = NULL; cellEntered_event.func = NULL; cellChanged_event.func = NULL; currentCellChanged_event.func = NULL; } void hook_itemPressed(QHook &hook) { if ( !itemPressed_event.func ) connect(handle, SIGNAL(itemPressed(QTableWidgetItem*)), this, SLOT(itemPressed_hook(QTableWidgetItem*))); itemPressed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemPressed(QTableWidgetItem*)), this, SLOT(itemPressed_hook(QTableWidgetItem*))); } void hook_itemClicked(QHook &hook) { if ( !itemClicked_event.func ) connect(handle, SIGNAL(itemClicked(QTableWidgetItem*)), this, SLOT(itemClicked_hook(QTableWidgetItem*))); itemClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemClicked(QTableWidgetItem*)), this, SLOT(itemClicked_hook(QTableWidgetItem*))); } void hook_itemDoubleClicked(QHook &hook) { if ( !itemDoubleClicked_event.func ) connect(handle, SIGNAL(itemDoubleClicked(QTableWidgetItem*)), this, SLOT(itemDoubleClicked_hook(QTableWidgetItem*))); itemDoubleClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemDoubleClicked(QTableWidgetItem*)), this, SLOT(itemDoubleClicked_hook(QTableWidgetItem*))); } void hook_itemActivated(QHook &hook) { if ( !itemActivated_event.func ) connect(handle, SIGNAL(itemActivated(QTableWidgetItem*)), this, SLOT(itemActivated_hook(QTableWidgetItem*))); itemActivated_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemActivated(QTableWidgetItem*)), this, SLOT(itemActivated_hook(QTableWidgetItem*))); } void hook_itemEntered(QHook &hook) { if ( !itemEntered_event.func ) connect(handle, SIGNAL(itemEntered(QTableWidgetItem*)), this, SLOT(itemEntered_hook(QTableWidgetItem*))); itemEntered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemEntered(QTableWidgetItem*)), this, SLOT(itemEntered_hook(QTableWidgetItem*))); } void hook_itemChanged(QHook &hook) { if ( !itemChanged_event.func ) connect(handle, SIGNAL(itemChanged(QTableWidgetItem*)), this, SLOT(itemChanged_hook(QTableWidgetItem*))); itemChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemChanged(QTableWidgetItem*)), this, SLOT(itemChanged_hook(QTableWidgetItem*))); } void hook_currentItemChanged(QHook &hook) { if ( !currentItemChanged_event.func ) connect(handle, SIGNAL(currentItemChanged(QTableWidgetItem*, QTableWidgetItem*)), this, SLOT(currentItemChanged_hook(QTableWidgetItem*, QTableWidgetItem*))); currentItemChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentItemChanged(QTableWidgetItem*, QTableWidgetItem*)), this, SLOT(currentItemChanged_hook(QTableWidgetItem*, QTableWidgetItem*))); } void hook_itemSelectionChanged(QHook &hook) { if ( !itemSelectionChanged_event.func ) connect(handle, SIGNAL(itemSelectionChanged()), this, SLOT(itemSelectionChanged_hook())); itemSelectionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemSelectionChanged()), this, SLOT(itemSelectionChanged_hook())); } void hook_cellPressed(QHook &hook) { if ( !cellPressed_event.func ) connect(handle, SIGNAL(cellPressed(int, int)), this, SLOT(cellPressed_hook(int, int))); cellPressed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(cellPressed(int, int)), this, SLOT(cellPressed_hook(int, int))); } void hook_cellClicked(QHook &hook) { if ( !cellClicked_event.func ) connect(handle, SIGNAL(cellClicked(int, int)), this, SLOT(cellClicked_hook(int, int))); cellClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(cellClicked(int, int)), this, SLOT(cellClicked_hook(int, int))); } void hook_cellDoubleClicked(QHook &hook) { if ( !cellDoubleClicked_event.func ) connect(handle, SIGNAL(cellDoubleClicked(int, int)), this, SLOT(cellDoubleClicked_hook(int, int))); cellDoubleClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(cellDoubleClicked(int, int)), this, SLOT(cellDoubleClicked_hook(int, int))); } void hook_cellActivated(QHook &hook) { if ( !cellActivated_event.func ) connect(handle, SIGNAL(cellActivated(int, int)), this, SLOT(cellActivated_hook(int, int))); cellActivated_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(cellActivated(int, int)), this, SLOT(cellActivated_hook(int, int))); } void hook_cellEntered(QHook &hook) { if ( !cellEntered_event.func ) connect(handle, SIGNAL(cellEntered(int, int)), this, SLOT(cellEntered_hook(int, int))); cellEntered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(cellEntered(int, int)), this, SLOT(cellEntered_hook(int, int))); } void hook_cellChanged(QHook &hook) { if ( !cellChanged_event.func ) connect(handle, SIGNAL(cellChanged(int, int)), this, SLOT(cellChanged_hook(int, int))); cellChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(cellChanged(int, int)), this, SLOT(cellChanged_hook(int, int))); } void hook_currentCellChanged(QHook &hook) { if ( !currentCellChanged_event.func ) connect(handle, SIGNAL(currentCellChanged(int, int, int, int)), this, SLOT(currentCellChanged_hook(int, int, int, int))); currentCellChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentCellChanged(int, int, int, int)), this, SLOT(currentCellChanged_hook(int, int, int, int))); } private slots: void itemPressed_hook(QTableWidgetItem* item) { if ( itemPressed_event.func ) { typedef void (*func_type)(void *data, QTableWidgetItemH item); (*(func_type)itemPressed_event.func)(itemPressed_event.data, (QTableWidgetItemH)item); } } void itemClicked_hook(QTableWidgetItem* item) { if ( itemClicked_event.func ) { typedef void (*func_type)(void *data, QTableWidgetItemH item); (*(func_type)itemClicked_event.func)(itemClicked_event.data, (QTableWidgetItemH)item); } } void itemDoubleClicked_hook(QTableWidgetItem* item) { if ( itemDoubleClicked_event.func ) { typedef void (*func_type)(void *data, QTableWidgetItemH item); (*(func_type)itemDoubleClicked_event.func)(itemDoubleClicked_event.data, (QTableWidgetItemH)item); } } void itemActivated_hook(QTableWidgetItem* item) { if ( itemActivated_event.func ) { typedef void (*func_type)(void *data, QTableWidgetItemH item); (*(func_type)itemActivated_event.func)(itemActivated_event.data, (QTableWidgetItemH)item); } } void itemEntered_hook(QTableWidgetItem* item) { if ( itemEntered_event.func ) { typedef void (*func_type)(void *data, QTableWidgetItemH item); (*(func_type)itemEntered_event.func)(itemEntered_event.data, (QTableWidgetItemH)item); } } void itemChanged_hook(QTableWidgetItem* item) { if ( itemChanged_event.func ) { typedef void (*func_type)(void *data, QTableWidgetItemH item); (*(func_type)itemChanged_event.func)(itemChanged_event.data, (QTableWidgetItemH)item); } } void currentItemChanged_hook(QTableWidgetItem* current, QTableWidgetItem* previous) { if ( currentItemChanged_event.func ) { typedef void (*func_type)(void *data, QTableWidgetItemH current, QTableWidgetItemH previous); (*(func_type)currentItemChanged_event.func)(currentItemChanged_event.data, (QTableWidgetItemH)current, (QTableWidgetItemH)previous); } } void itemSelectionChanged_hook() { if ( itemSelectionChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)itemSelectionChanged_event.func)(itemSelectionChanged_event.data); } } void cellPressed_hook(int row, int column) { if ( cellPressed_event.func ) { typedef void (*func_type)(void *data, int row, int column); (*(func_type)cellPressed_event.func)(cellPressed_event.data, row, column); } } void cellClicked_hook(int row, int column) { if ( cellClicked_event.func ) { typedef void (*func_type)(void *data, int row, int column); (*(func_type)cellClicked_event.func)(cellClicked_event.data, row, column); } } void cellDoubleClicked_hook(int row, int column) { if ( cellDoubleClicked_event.func ) { typedef void (*func_type)(void *data, int row, int column); (*(func_type)cellDoubleClicked_event.func)(cellDoubleClicked_event.data, row, column); } } void cellActivated_hook(int row, int column) { if ( cellActivated_event.func ) { typedef void (*func_type)(void *data, int row, int column); (*(func_type)cellActivated_event.func)(cellActivated_event.data, row, column); } } void cellEntered_hook(int row, int column) { if ( cellEntered_event.func ) { typedef void (*func_type)(void *data, int row, int column); (*(func_type)cellEntered_event.func)(cellEntered_event.data, row, column); } } void cellChanged_hook(int row, int column) { if ( cellChanged_event.func ) { typedef void (*func_type)(void *data, int row, int column); (*(func_type)cellChanged_event.func)(cellChanged_event.data, row, column); } } void currentCellChanged_hook(int currentRow, int currentColumn, int previousRow, int previousColumn) { if ( currentCellChanged_event.func ) { typedef void (*func_type)(void *data, int currentRow, int currentColumn, int previousRow, int previousColumn); (*(func_type)currentCellChanged_event.func)(currentCellChanged_event.data, currentRow, currentColumn, previousRow, previousColumn); } } private: QHook itemPressed_event; QHook itemClicked_event; QHook itemDoubleClicked_event; QHook itemActivated_event; QHook itemEntered_event; QHook itemChanged_event; QHook currentItemChanged_event; QHook itemSelectionChanged_event; QHook cellPressed_event; QHook cellClicked_event; QHook cellDoubleClicked_event; QHook cellActivated_event; QHook cellEntered_event; QHook cellChanged_event; QHook currentCellChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstracttextdocumentlayout_c.cpp0000664000212600021260000000656411677135472023742 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstracttextdocumentlayout_c.h" int QAbstractTextDocumentLayout_hitTest(QAbstractTextDocumentLayoutH handle, const QPointFH point, Qt::HitTestAccuracy accuracy) { return (int) ((QAbstractTextDocumentLayout *)handle)->hitTest(*(const QPointF*)point, accuracy); } void QAbstractTextDocumentLayout_anchorAt(QAbstractTextDocumentLayoutH handle, PWideString retval, const QPointFH pos) { QString t_retval; t_retval = ((QAbstractTextDocumentLayout *)handle)->anchorAt(*(const QPointF*)pos); copyQStringToPWideString(t_retval, retval); } int QAbstractTextDocumentLayout_pageCount(QAbstractTextDocumentLayoutH handle) { return (int) ((QAbstractTextDocumentLayout *)handle)->pageCount(); } void QAbstractTextDocumentLayout_documentSize(QAbstractTextDocumentLayoutH handle, QSizeFH retval) { *(QSizeF *)retval = ((QAbstractTextDocumentLayout *)handle)->documentSize(); } void QAbstractTextDocumentLayout_frameBoundingRect(QAbstractTextDocumentLayoutH handle, QRectFH retval, QTextFrameH frame) { *(QRectF *)retval = ((QAbstractTextDocumentLayout *)handle)->frameBoundingRect((QTextFrame*)frame); } void QAbstractTextDocumentLayout_blockBoundingRect(QAbstractTextDocumentLayoutH handle, QRectFH retval, const QTextBlockH block) { *(QRectF *)retval = ((QAbstractTextDocumentLayout *)handle)->blockBoundingRect(*(const QTextBlock*)block); } void QAbstractTextDocumentLayout_setPaintDevice(QAbstractTextDocumentLayoutH handle, QPaintDeviceH device) { ((QAbstractTextDocumentLayout *)handle)->setPaintDevice((QPaintDevice*)device); } QPaintDeviceH QAbstractTextDocumentLayout_paintDevice(QAbstractTextDocumentLayoutH handle) { return (QPaintDeviceH) ((QAbstractTextDocumentLayout *)handle)->paintDevice(); } QTextDocumentH QAbstractTextDocumentLayout_document(QAbstractTextDocumentLayoutH handle) { return (QTextDocumentH) ((QAbstractTextDocumentLayout *)handle)->document(); } void QAbstractTextDocumentLayout_registerHandler(QAbstractTextDocumentLayoutH handle, int objectType, QObjectH component) { ((QAbstractTextDocumentLayout *)handle)->registerHandler(objectType, (QObject*)component); } QTextObjectInterfaceH QAbstractTextDocumentLayout_handlerForObject(QAbstractTextDocumentLayoutH handle, int objectType) { return (QTextObjectInterfaceH) ((QAbstractTextDocumentLayout *)handle)->handlerForObject(objectType); } void QTextObjectInterface_intrinsicSize(QTextObjectInterfaceH handle, QSizeFH retval, QTextDocumentH doc, int posInDocument, const QTextFormatH format) { *(QSizeF *)retval = ((QTextObjectInterface *)handle)->intrinsicSize((QTextDocument*)doc, posInDocument, *(const QTextFormat*)format); } void QTextObjectInterface_drawObject(QTextObjectInterfaceH handle, QPainterH painter, const QRectFH rect, QTextDocumentH doc, int posInDocument, const QTextFormatH format) { ((QTextObjectInterface *)handle)->drawObject((QPainter*)painter, *(const QRectF*)rect, (QTextDocument*)doc, posInDocument, *(const QTextFormat*)format); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdockwidget_c.cpp0000664000212600021260000000476111677135472020356 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qdockwidget_c.h" QDockWidgetH QDockWidget_create(PWideString title, QWidgetH parent, unsigned int flags) { QString t_title; copyPWideStringToQString(title, t_title); return (QDockWidgetH) new QDockWidget(t_title, (QWidget*)parent, (Qt::WindowFlags)flags); } void QDockWidget_destroy(QDockWidgetH handle) { delete (QDockWidget *)handle; } QDockWidgetH QDockWidget_create2(QWidgetH parent, unsigned int flags) { return (QDockWidgetH) new QDockWidget((QWidget*)parent, (Qt::WindowFlags)flags); } QWidgetH QDockWidget_widget(QDockWidgetH handle) { return (QWidgetH) ((QDockWidget *)handle)->widget(); } void QDockWidget_setWidget(QDockWidgetH handle, QWidgetH widget) { ((QDockWidget *)handle)->setWidget((QWidget*)widget); } void QDockWidget_setFeatures(QDockWidgetH handle, unsigned int features) { ((QDockWidget *)handle)->setFeatures((QDockWidget::DockWidgetFeatures)features); } unsigned int QDockWidget_features(QDockWidgetH handle) { return (unsigned int) ((QDockWidget *)handle)->features(); } void QDockWidget_setFloating(QDockWidgetH handle, bool floating) { ((QDockWidget *)handle)->setFloating(floating); } bool QDockWidget_isFloating(QDockWidgetH handle) { return (bool) ((QDockWidget *)handle)->isFloating(); } void QDockWidget_setAllowedAreas(QDockWidgetH handle, unsigned int areas) { ((QDockWidget *)handle)->setAllowedAreas((Qt::DockWidgetAreas)areas); } unsigned int QDockWidget_allowedAreas(QDockWidgetH handle) { return (unsigned int) ((QDockWidget *)handle)->allowedAreas(); } void QDockWidget_setTitleBarWidget(QDockWidgetH handle, QWidgetH widget) { ((QDockWidget *)handle)->setTitleBarWidget((QWidget*)widget); } QWidgetH QDockWidget_titleBarWidget(QDockWidgetH handle) { return (QWidgetH) ((QDockWidget *)handle)->titleBarWidget(); } bool QDockWidget_isAreaAllowed(QDockWidgetH handle, Qt::DockWidgetArea area) { return (bool) ((QDockWidget *)handle)->isAreaAllowed(area); } QActionH QDockWidget_toggleViewAction(QDockWidgetH handle) { return (QActionH) ((QDockWidget *)handle)->toggleViewAction(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstatusbar_hook_c.h0000664000212600021260000000143211677135472020717 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTATUSBAR_HOOK_C_H #define QSTATUSBAR_HOOK_C_H #include "qstatusbar_hook.h" C_EXPORT QStatusBar_hookH QStatusBar_hook_create(QObjectH handle); C_EXPORT void QStatusBar_hook_destroy(QStatusBar_hookH handle); C_EXPORT void QStatusBar_hook_hook_messageChanged(QStatusBar_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstackedlayout_hook_c.h0000664000212600021260000000163611677135472021571 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTACKEDLAYOUT_HOOK_C_H #define QSTACKEDLAYOUT_HOOK_C_H #include "qstackedlayout_hook.h" C_EXPORT QStackedLayout_hookH QStackedLayout_hook_create(QObjectH handle); C_EXPORT void QStackedLayout_hook_destroy(QStackedLayout_hookH handle); C_EXPORT void QStackedLayout_hook_hook_widgetRemoved(QStackedLayout_hookH handle, QHookH hook); C_EXPORT void QStackedLayout_hook_hook_currentChanged(QStackedLayout_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/flatfuncs.cpp0000664000212600021260000000707711677135472017537 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "flatfuncs.h" #include //======================================================= // Flat function from qglobal.h //======================================================= const char *QtVersion() { return qVersion(); } //======================================================= // Special-Purpose Global Functions Exported by Qt //======================================================= #if defined DARWIN void qt_mac_set_dock_menu(QMenu *menu); void qtmacsetdockmenu(QMenuH handle) { qt_mac_set_dock_menu((QMenu *)handle); } #endif #if defined BINUX void qt_x11_wait_for_window_manager(QWidget *widget); C_EXPORT void qtx11waitforwindowmanager(QWidgetH handle) { qt_x11_wait_for_window_manager((QWidget *)handle); } #endif //======================================================= // Drawing Utility Functions //======================================================= void q_DrawShadeRect(QPainterH p, int x, int y, int w, int h, const QPaletteH pal, bool sunken, int lineWidth, int midLineWidth, const QBrushH fill) { qDrawShadeRect((QPainter*)p, x, y, w, h, *(const QPalette*)pal, sunken, lineWidth, midLineWidth, (const QBrush*)fill); } void q_DrawShadeRect2(QPainterH p, PRect r, const QPaletteH pal, bool sunken, int lineWidth, int midLineWidth, const QBrushH fill) { QRect t_r; copyPRectToQRect(r, t_r); qDrawShadeRect((QPainter*)p, t_r, *(const QPalette*)pal, sunken, lineWidth, midLineWidth, (const QBrush*)fill); } void q_DrawPlainRect(QPainterH p, int x, int y, int w, int h, const QColorH p6, int lineWidth, const QBrushH fill) { qDrawPlainRect((QPainter*)p, x, y, w, h, *(const QColor*)p6, lineWidth, (const QBrush*)fill); } void q_DrawPlainRect2(QPainterH p, PRect r, const QColorH p3, int lineWidth, const QBrushH fill) { QRect t_r; copyPRectToQRect(r, t_r); qDrawPlainRect((QPainter*)p, t_r, *(const QColor*)p3, lineWidth, (const QBrush*)fill); } void q_DrawWinPanel(QPainterH p, int x, int y, int w, int h, const QPaletteH pal, bool sunken, const QBrushH fill) { qDrawWinPanel((QPainter*)p, x, y, w, h, *(const QPalette*)pal, sunken, (const QBrush*)fill); } void q_DrawWinPanel2(QPainterH p, PRect r, const QPaletteH pal, bool sunken, const QBrushH fill) { QRect t_r; copyPRectToQRect(r, t_r); qDrawWinPanel((QPainter*)p, t_r, *(const QPalette*)pal, sunken, (const QBrush*)fill); } void q_DrawShadeLine(QPainterH p, int x1, int y1, int x2, int y2, const QPaletteH palette,bool sunken, int lineWidth, int midLineWidth) { qDrawShadeLine((QPainter*)p, x1, y1, x2, y2, *(const QPalette*) palette, sunken, lineWidth, midLineWidth); } void q_DrawShadePanel(QPainterH p, int x, int y, int w, int h, const QPaletteH palette,bool sunken, int lineWidth, const QBrushH fill) { qDrawShadePanel((QPainter*)p, x, y, w, h, *(const QPalette*) palette, sunken, lineWidth, (const QBrush*) fill); } void q_DrawShadePanel2(QPainterH p, PRect r, const QPaletteH palette,bool sunken, int lineWidth, const QBrushH fill) { QRect t_r; copyPRectToQRect(r, t_r); qDrawShadePanel((QPainter*)p, t_r, *(const QPalette*) palette, sunken, lineWidth, (const QBrush*) fill); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractscrollarea_hook_c.h0000664000212600021260000000140011677135472022555 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTSCROLLAREA_HOOK_C_H #define QABSTRACTSCROLLAREA_HOOK_C_H #include "qabstractscrollarea_hook.h" C_EXPORT QAbstractScrollArea_hookH QAbstractScrollArea_hook_create(QObjectH handle); C_EXPORT void QAbstractScrollArea_hook_destroy(QAbstractScrollArea_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtcpserver_hook_c.cpp0000664000212600021260000000155011677135472021260 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtcpserver_hook_c.h" QTcpServer_hookH QTcpServer_hook_create(QObjectH handle) { return (QTcpServer_hookH) new QTcpServer_hook((QObject*)handle); } void QTcpServer_hook_destroy(QTcpServer_hookH handle) { delete (QTcpServer_hook *)handle; } void QTcpServer_hook_hook_newConnection(QTcpServer_hookH handle, QHookH hook) { ((QTcpServer_hook *)handle)->hook_newConnection(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdialog_hook_c.h0000664000212600021260000000162311677135472020150 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDIALOG_HOOK_C_H #define QDIALOG_HOOK_C_H #include "qdialog_hook.h" C_EXPORT QDialog_hookH QDialog_hook_create(QObjectH handle); C_EXPORT void QDialog_hook_destroy(QDialog_hookH handle); C_EXPORT void QDialog_hook_hook_finished(QDialog_hookH handle, QHookH hook); C_EXPORT void QDialog_hook_hook_accepted(QDialog_hookH handle, QHookH hook); C_EXPORT void QDialog_hook_hook_rejected(QDialog_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/flatfuncs.h0000664000212600021260000000452711677135472017201 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include #include "pascalbind.h" //======================================================= // Flat function from qglobal.h //======================================================= C_EXPORT const char *QtVersion(); //======================================================= // Special-Purpose Global Functions Exported by Qt //======================================================= #if defined DARWIN C_EXPORT void qtmacsetdockmenu(QMenuH handle); #endif #if defined BINUX C_EXPORT void qtx11waitforwindowmanager(QWidgetH handle); #endif //======================================================= // Drawing Utility Functions //======================================================= #include C_EXPORT void q_DrawShadeRect(QPainterH p, int x, int y, int w, int h, const QPaletteH pal, bool sunken, int lineWidth, int midLineWidth, const QBrushH fill); C_EXPORT void q_DrawShadeRect2(QPainterH p, PRect r, const QPaletteH pal, bool sunken, int lineWidth, int midLineWidth, const QBrushH fill); C_EXPORT void q_DrawPlainRect(QPainterH p, int x, int y, int w, int h, const QColorH p6, int lineWidth, const QBrushH fill); C_EXPORT void q_DrawPlainRect2(QPainterH p, PRect r, const QColorH p3, int lineWidth, const QBrushH fill); C_EXPORT void q_DrawWinPanel(QPainterH p, int x, int y, int w, int h, const QPaletteH pal, bool sunken, const QBrushH fill); C_EXPORT void q_DrawWinPanel2(QPainterH p, PRect r, const QPaletteH pal, bool sunken, const QBrushH fill); C_EXPORT void q_DrawShadeLine(QPainterH p, int x1, int y1, int x2, int y2, const QPaletteH palette,bool sunken, int lineWidth, int midLineWidth); C_EXPORT void q_DrawShadePanel(QPainterH p, int x, int y, int w, int h, const QPaletteH palette,bool sunken, int lineWidth, const QBrushH fill); C_EXPORT void q_DrawShadePanel2(QPainterH p, PRect r, const QPaletteH palette,bool sunken, int lineWidth, const QBrushH fill); splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractbutton_hook.h0000664000212600021260000000660511677135472021453 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTBUTTON_HOOK_H #define QABSTRACTBUTTON_HOOK_H #include #include "qwidget_hook.h" class QAbstractButton_hook : public QWidget_hook { Q_OBJECT public: QAbstractButton_hook(QObject *handle) : QWidget_hook(handle) { pressed_event.func = NULL; released_event.func = NULL; clicked_event.func = NULL; clicked2_event.func = NULL; toggled_event.func = NULL; } void hook_pressed(QHook &hook) { if ( !pressed_event.func ) connect(handle, SIGNAL(pressed()), this, SLOT(pressed_hook())); pressed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(pressed()), this, SLOT(pressed_hook())); } void hook_released(QHook &hook) { if ( !released_event.func ) connect(handle, SIGNAL(released()), this, SLOT(released_hook())); released_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(released()), this, SLOT(released_hook())); } void hook_clicked(QHook &hook) { if ( !clicked_event.func ) connect(handle, SIGNAL(clicked(bool)), this, SLOT(clicked_hook(bool))); clicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(clicked(bool)), this, SLOT(clicked_hook(bool))); } void hook_clicked2(QHook &hook) { if ( !clicked2_event.func ) connect(handle, SIGNAL(clicked()), this, SLOT(clicked2_hook())); clicked2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(clicked()), this, SLOT(clicked2_hook())); } void hook_toggled(QHook &hook) { if ( !toggled_event.func ) connect(handle, SIGNAL(toggled(bool)), this, SLOT(toggled_hook(bool))); toggled_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(toggled(bool)), this, SLOT(toggled_hook(bool))); } private slots: void pressed_hook() { if ( pressed_event.func ) { typedef void (*func_type)(void *data); (*(func_type)pressed_event.func)(pressed_event.data); } } void released_hook() { if ( released_event.func ) { typedef void (*func_type)(void *data); (*(func_type)released_event.func)(released_event.data); } } void clicked_hook(bool checked) { if ( clicked_event.func ) { typedef void (*func_type)(void *data, bool checked); (*(func_type)clicked_event.func)(clicked_event.data, checked); } } void clicked2_hook() { if ( clicked2_event.func ) { typedef void (*func_type)(void *data); (*(func_type)clicked2_event.func)(clicked2_event.data); } } void toggled_hook(bool checked) { if ( toggled_event.func ) { typedef void (*func_type)(void *data, bool checked); (*(func_type)toggled_event.func)(toggled_event.data, checked); } } private: QHook pressed_event; QHook released_event; QHook clicked_event; QHook clicked2_event; QHook toggled_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfilesystemwatcher_hook_c.h0000664000212600021260000000171211677135472022452 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFILESYSTEMWATCHER_HOOK_C_H #define QFILESYSTEMWATCHER_HOOK_C_H #include "qfilesystemwatcher_hook.h" C_EXPORT QFileSystemWatcher_hookH QFileSystemWatcher_hook_create(QObjectH handle); C_EXPORT void QFileSystemWatcher_hook_destroy(QFileSystemWatcher_hookH handle); C_EXPORT void QFileSystemWatcher_hook_hook_fileChanged(QFileSystemWatcher_hookH handle, QHookH hook); C_EXPORT void QFileSystemWatcher_hook_hook_directoryChanged(QFileSystemWatcher_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qkeysequence_c.h0000664000212600021260000000302511677135472020210 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QKEYSEQUENCE_C_H #define QKEYSEQUENCE_C_H #include #include "pascalbind.h" C_EXPORT QKeySequenceH QKeySequence_create(); C_EXPORT void QKeySequence_destroy(QKeySequenceH handle); C_EXPORT QKeySequenceH QKeySequence_create2(PWideString key); C_EXPORT QKeySequenceH QKeySequence_create3(int k1, int k2, int k3, int k4); C_EXPORT QKeySequenceH QKeySequence_create4(const QKeySequenceH ks); C_EXPORT QKeySequenceH QKeySequence_create5(QKeySequence::StandardKey key); C_EXPORT uint QKeySequence_count(QKeySequenceH handle); C_EXPORT bool QKeySequence_isEmpty(QKeySequenceH handle); C_EXPORT void QKeySequence_toString(QKeySequenceH handle, PWideString retval, QKeySequence::SequenceFormat format); C_EXPORT void QKeySequence_fromString(QKeySequenceH retval, PWideString str, QKeySequence::SequenceFormat format); C_EXPORT QKeySequence::SequenceMatch QKeySequence_matches(QKeySequenceH handle, const QKeySequenceH seq); C_EXPORT void QKeySequence_mnemonic(QKeySequenceH retval, PWideString text); C_EXPORT bool QKeySequence_isDetached(QKeySequenceH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextbrowser_hook_c.cpp0000664000212600021260000000335611677135472021641 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtextbrowser_hook_c.h" QTextBrowser_hookH QTextBrowser_hook_create(QObjectH handle) { return (QTextBrowser_hookH) new QTextBrowser_hook((QObject*)handle); } void QTextBrowser_hook_destroy(QTextBrowser_hookH handle) { delete (QTextBrowser_hook *)handle; } void QTextBrowser_hook_hook_backwardAvailable(QTextBrowser_hookH handle, QHookH hook) { ((QTextBrowser_hook *)handle)->hook_backwardAvailable(hook); } void QTextBrowser_hook_hook_forwardAvailable(QTextBrowser_hookH handle, QHookH hook) { ((QTextBrowser_hook *)handle)->hook_forwardAvailable(hook); } void QTextBrowser_hook_hook_historyChanged(QTextBrowser_hookH handle, QHookH hook) { ((QTextBrowser_hook *)handle)->hook_historyChanged(hook); } void QTextBrowser_hook_hook_sourceChanged(QTextBrowser_hookH handle, QHookH hook) { ((QTextBrowser_hook *)handle)->hook_sourceChanged(hook); } void QTextBrowser_hook_hook_highlighted(QTextBrowser_hookH handle, QHookH hook) { ((QTextBrowser_hook *)handle)->hook_highlighted(hook); } void QTextBrowser_hook_hook_highlighted2(QTextBrowser_hookH handle, QHookH hook) { ((QTextBrowser_hook *)handle)->hook_highlighted2(hook); } void QTextBrowser_hook_hook_anchorClicked(QTextBrowser_hookH handle, QHookH hook) { ((QTextBrowser_hook *)handle)->hook_anchorClicked(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdrag_c.cpp0000664000212600021260000000423611677135472017144 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qdrag_c.h" QDragH QDrag_create(QWidgetH dragSource) { return (QDragH) new QDrag((QWidget*)dragSource); } void QDrag_destroy(QDragH handle) { delete (QDrag *)handle; } void QDrag_setMimeData(QDragH handle, QMimeDataH data) { ((QDrag *)handle)->setMimeData((QMimeData*)data); } QMimeDataH QDrag_mimeData(QDragH handle) { return (QMimeDataH) ((QDrag *)handle)->mimeData(); } void QDrag_setPixmap(QDragH handle, const QPixmapH AnonParam1) { ((QDrag *)handle)->setPixmap(*(const QPixmap*)AnonParam1); } void QDrag_pixmap(QDragH handle, QPixmapH retval) { *(QPixmap *)retval = ((QDrag *)handle)->pixmap(); } void QDrag_setHotSpot(QDragH handle, const QPointH hotspot) { ((QDrag *)handle)->setHotSpot(*(const QPoint*)hotspot); } void QDrag_hotSpot(QDragH handle, PQtPoint retval) { *(QPoint *)retval = ((QDrag *)handle)->hotSpot(); } QWidgetH QDrag_source(QDragH handle) { return (QWidgetH) ((QDrag *)handle)->source(); } QWidgetH QDrag_target(QDragH handle) { return (QWidgetH) ((QDrag *)handle)->target(); } Qt::DropAction QDrag_start(QDragH handle, unsigned int supportedActions) { return (Qt::DropAction) ((QDrag *)handle)->start((Qt::DropActions)supportedActions); } Qt::DropAction QDrag_exec(QDragH handle, unsigned int supportedActions) { return (Qt::DropAction) ((QDrag *)handle)->exec((Qt::DropActions)supportedActions); } Qt::DropAction QDrag_exec2(QDragH handle, unsigned int supportedActions, Qt::DropAction defaultAction) { return (Qt::DropAction) ((QDrag *)handle)->exec((Qt::DropActions)supportedActions, defaultAction); } void QDrag_setDragCursor(QDragH handle, const QPixmapH cursor, Qt::DropAction action) { ((QDrag *)handle)->setDragCursor(*(const QPixmap*)cursor, action); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qradiobutton_c.h0000664000212600021260000000152411677135472020223 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QRADIOBUTTON_C_H #define QRADIOBUTTON_C_H #include #include "pascalbind.h" C_EXPORT QRadioButtonH QRadioButton_create(QWidgetH parent); C_EXPORT void QRadioButton_destroy(QRadioButtonH handle); C_EXPORT QRadioButtonH QRadioButton_create2(PWideString text, QWidgetH parent); C_EXPORT void QRadioButton_sizeHint(QRadioButtonH handle, PSize retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlcdnumber_hook_c.h0000664000212600021260000000142411677135472020663 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLCDNUMBER_HOOK_C_H #define QLCDNUMBER_HOOK_C_H #include "qlcdnumber_hook.h" C_EXPORT QLCDNumber_hookH QLCDNumber_hook_create(QObjectH handle); C_EXPORT void QLCDNumber_hook_destroy(QLCDNumber_hookH handle); C_EXPORT void QLCDNumber_hook_hook_overflow(QLCDNumber_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemmodel_c.cpp0000664000212600021260000003016511677135472021732 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractitemmodel_c.h" QModelIndexH QModelIndex_create() { return (QModelIndexH) new QModelIndex(); } void QModelIndex_destroy(QModelIndexH handle) { delete (QModelIndex *)handle; } QModelIndexH QModelIndex_create2(const QModelIndexH other) { return (QModelIndexH) new QModelIndex(*(const QModelIndex*)other); } int QModelIndex_row(QModelIndexH handle) { return (int) ((QModelIndex *)handle)->row(); } int QModelIndex_column(QModelIndexH handle) { return (int) ((QModelIndex *)handle)->column(); } void* QModelIndex_internalPointer(QModelIndexH handle) { return (void*) ((QModelIndex *)handle)->internalPointer(); } qint64 QModelIndex_internalId(QModelIndexH handle) { return (qint64) ((QModelIndex *)handle)->internalId(); } void QModelIndex_parent(QModelIndexH handle, QModelIndexH retval) { *(QModelIndex *)retval = ((QModelIndex *)handle)->parent(); } void QModelIndex_sibling(QModelIndexH handle, QModelIndexH retval, int row, int column) { *(QModelIndex *)retval = ((QModelIndex *)handle)->sibling(row, column); } void QModelIndex_child(QModelIndexH handle, QModelIndexH retval, int row, int column) { *(QModelIndex *)retval = ((QModelIndex *)handle)->child(row, column); } void QModelIndex_data(QModelIndexH handle, QVariantH retval, Qt::ItemDataRole role) { *(QVariant *)retval = ((QModelIndex *)handle)->data(role); } unsigned int QModelIndex_flags(QModelIndexH handle) { return (unsigned int) ((QModelIndex *)handle)->flags(); } const QAbstractItemModelH QModelIndex_model(QModelIndexH handle) { return (const QAbstractItemModelH) ((QModelIndex *)handle)->model(); } bool QModelIndex_isValid(QModelIndexH handle) { return (bool) ((QModelIndex *)handle)->isValid(); } QPersistentModelIndexH QPersistentModelIndex_create() { return (QPersistentModelIndexH) new QPersistentModelIndex(); } void QPersistentModelIndex_destroy(QPersistentModelIndexH handle) { delete (QPersistentModelIndex *)handle; } QPersistentModelIndexH QPersistentModelIndex_create2(const QModelIndexH index) { return (QPersistentModelIndexH) new QPersistentModelIndex(*(const QModelIndex*)index); } QPersistentModelIndexH QPersistentModelIndex_create3(const QPersistentModelIndexH other) { return (QPersistentModelIndexH) new QPersistentModelIndex(*(const QPersistentModelIndex*)other); } int QPersistentModelIndex_row(QPersistentModelIndexH handle) { return (int) ((QPersistentModelIndex *)handle)->row(); } int QPersistentModelIndex_column(QPersistentModelIndexH handle) { return (int) ((QPersistentModelIndex *)handle)->column(); } void* QPersistentModelIndex_internalPointer(QPersistentModelIndexH handle) { return (void*) ((QPersistentModelIndex *)handle)->internalPointer(); } qint64 QPersistentModelIndex_internalId(QPersistentModelIndexH handle) { return (qint64) ((QPersistentModelIndex *)handle)->internalId(); } void QPersistentModelIndex_parent(QPersistentModelIndexH handle, QModelIndexH retval) { *(QModelIndex *)retval = ((QPersistentModelIndex *)handle)->parent(); } void QPersistentModelIndex_sibling(QPersistentModelIndexH handle, QModelIndexH retval, int row, int column) { *(QModelIndex *)retval = ((QPersistentModelIndex *)handle)->sibling(row, column); } void QPersistentModelIndex_child(QPersistentModelIndexH handle, QModelIndexH retval, int row, int column) { *(QModelIndex *)retval = ((QPersistentModelIndex *)handle)->child(row, column); } void QPersistentModelIndex_data(QPersistentModelIndexH handle, QVariantH retval, Qt::ItemDataRole role) { *(QVariant *)retval = ((QPersistentModelIndex *)handle)->data(role); } unsigned int QPersistentModelIndex_flags(QPersistentModelIndexH handle) { return (unsigned int) ((QPersistentModelIndex *)handle)->flags(); } const QAbstractItemModelH QPersistentModelIndex_model(QPersistentModelIndexH handle) { return (const QAbstractItemModelH) ((QPersistentModelIndex *)handle)->model(); } bool QPersistentModelIndex_isValid(QPersistentModelIndexH handle) { return (bool) ((QPersistentModelIndex *)handle)->isValid(); } bool QAbstractItemModel_hasIndex(QAbstractItemModelH handle, int row, int column, const QModelIndexH parent) { return (bool) ((QAbstractItemModel *)handle)->hasIndex(row, column, *(const QModelIndex*)parent); } void QAbstractItemModel_index(QAbstractItemModelH handle, QModelIndexH retval, int row, int column, const QModelIndexH parent) { *(QModelIndex *)retval = ((QAbstractItemModel *)handle)->index(row, column, *(const QModelIndex*)parent); } void QAbstractItemModel_parent(QAbstractItemModelH handle, QModelIndexH retval, const QModelIndexH child) { *(QModelIndex *)retval = ((QAbstractItemModel *)handle)->parent(*(const QModelIndex*)child); } void QAbstractItemModel_sibling(QAbstractItemModelH handle, QModelIndexH retval, int row, int column, const QModelIndexH idx) { *(QModelIndex *)retval = ((QAbstractItemModel *)handle)->sibling(row, column, *(const QModelIndex*)idx); } int QAbstractItemModel_rowCount(QAbstractItemModelH handle, const QModelIndexH parent) { return (int) ((QAbstractItemModel *)handle)->rowCount(*(const QModelIndex*)parent); } int QAbstractItemModel_columnCount(QAbstractItemModelH handle, const QModelIndexH parent) { return (int) ((QAbstractItemModel *)handle)->columnCount(*(const QModelIndex*)parent); } bool QAbstractItemModel_hasChildren(QAbstractItemModelH handle, const QModelIndexH parent) { return (bool) ((QAbstractItemModel *)handle)->hasChildren(*(const QModelIndex*)parent); } void QAbstractItemModel_data(QAbstractItemModelH handle, QVariantH retval, const QModelIndexH index, Qt::ItemDataRole role) { *(QVariant *)retval = ((QAbstractItemModel *)handle)->data(*(const QModelIndex*)index, role); } bool QAbstractItemModel_setData(QAbstractItemModelH handle, const QModelIndexH index, const QVariantH value, Qt::ItemDataRole role) { return (bool) ((QAbstractItemModel *)handle)->setData(*(const QModelIndex*)index, *(const QVariant*)value, role); } void QAbstractItemModel_headerData(QAbstractItemModelH handle, QVariantH retval, int section, Qt::Orientation orientation, Qt::ItemDataRole role) { *(QVariant *)retval = ((QAbstractItemModel *)handle)->headerData(section, orientation, role); } bool QAbstractItemModel_setHeaderData(QAbstractItemModelH handle, int section, Qt::Orientation orientation, const QVariantH value, Qt::ItemDataRole role) { return (bool) ((QAbstractItemModel *)handle)->setHeaderData(section, orientation, *(const QVariant*)value, role); } void QAbstractItemModel_mimeTypes(QAbstractItemModelH handle, QStringListH retval) { *(QStringList *)retval = ((QAbstractItemModel *)handle)->mimeTypes(); } bool QAbstractItemModel_dropMimeData(QAbstractItemModelH handle, const QMimeDataH data, Qt::DropAction action, int row, int column, const QModelIndexH parent) { return (bool) ((QAbstractItemModel *)handle)->dropMimeData((const QMimeData*)data, action, row, column, *(const QModelIndex*)parent); } unsigned int QAbstractItemModel_supportedDropActions(QAbstractItemModelH handle) { return (unsigned int) ((QAbstractItemModel *)handle)->supportedDropActions(); } unsigned int QAbstractItemModel_supportedDragActions(QAbstractItemModelH handle) { return (unsigned int) ((QAbstractItemModel *)handle)->supportedDragActions(); } void QAbstractItemModel_setSupportedDragActions(QAbstractItemModelH handle, unsigned int AnonParam1) { ((QAbstractItemModel *)handle)->setSupportedDragActions((Qt::DropActions)AnonParam1); } bool QAbstractItemModel_insertRows(QAbstractItemModelH handle, int row, int count, const QModelIndexH parent) { return (bool) ((QAbstractItemModel *)handle)->insertRows(row, count, *(const QModelIndex*)parent); } bool QAbstractItemModel_insertColumns(QAbstractItemModelH handle, int column, int count, const QModelIndexH parent) { return (bool) ((QAbstractItemModel *)handle)->insertColumns(column, count, *(const QModelIndex*)parent); } bool QAbstractItemModel_removeRows(QAbstractItemModelH handle, int row, int count, const QModelIndexH parent) { return (bool) ((QAbstractItemModel *)handle)->removeRows(row, count, *(const QModelIndex*)parent); } bool QAbstractItemModel_removeColumns(QAbstractItemModelH handle, int column, int count, const QModelIndexH parent) { return (bool) ((QAbstractItemModel *)handle)->removeColumns(column, count, *(const QModelIndex*)parent); } bool QAbstractItemModel_insertRow(QAbstractItemModelH handle, int row, const QModelIndexH parent) { return (bool) ((QAbstractItemModel *)handle)->insertRow(row, *(const QModelIndex*)parent); } bool QAbstractItemModel_insertColumn(QAbstractItemModelH handle, int column, const QModelIndexH parent) { return (bool) ((QAbstractItemModel *)handle)->insertColumn(column, *(const QModelIndex*)parent); } bool QAbstractItemModel_removeRow(QAbstractItemModelH handle, int row, const QModelIndexH parent) { return (bool) ((QAbstractItemModel *)handle)->removeRow(row, *(const QModelIndex*)parent); } bool QAbstractItemModel_removeColumn(QAbstractItemModelH handle, int column, const QModelIndexH parent) { return (bool) ((QAbstractItemModel *)handle)->removeColumn(column, *(const QModelIndex*)parent); } void QAbstractItemModel_fetchMore(QAbstractItemModelH handle, const QModelIndexH parent) { ((QAbstractItemModel *)handle)->fetchMore(*(const QModelIndex*)parent); } bool QAbstractItemModel_canFetchMore(QAbstractItemModelH handle, const QModelIndexH parent) { return (bool) ((QAbstractItemModel *)handle)->canFetchMore(*(const QModelIndex*)parent); } unsigned int QAbstractItemModel_flags(QAbstractItemModelH handle, const QModelIndexH index) { return (unsigned int) ((QAbstractItemModel *)handle)->flags(*(const QModelIndex*)index); } void QAbstractItemModel_sort(QAbstractItemModelH handle, int column, Qt::SortOrder order) { ((QAbstractItemModel *)handle)->sort(column, order); } void QAbstractItemModel_buddy(QAbstractItemModelH handle, QModelIndexH retval, const QModelIndexH index) { *(QModelIndex *)retval = ((QAbstractItemModel *)handle)->buddy(*(const QModelIndex*)index); } void QAbstractItemModel_match(QAbstractItemModelH handle, PPtrIntArray retval, const QModelIndexH start, int role, const QVariantH value, int hits, unsigned int flags) { QList t_retval; t_retval = ((QAbstractItemModel *)handle)->match(*(const QModelIndex*)start, role, *(const QVariant*)value, hits, (Qt::MatchFlags)flags); copyQListTemplateToPtrIntArrayWithNew(t_retval, retval); } void QAbstractItemModel_span(QAbstractItemModelH handle, PSize retval, const QModelIndexH index) { *(QSize *)retval = ((QAbstractItemModel *)handle)->span(*(const QModelIndex*)index); } bool QAbstractItemModel_submit(QAbstractItemModelH handle) { return (bool) ((QAbstractItemModel *)handle)->submit(); } void QAbstractItemModel_revert(QAbstractItemModelH handle) { ((QAbstractItemModel *)handle)->revert(); } void QAbstractTableModel_index(QAbstractTableModelH handle, QModelIndexH retval, int row, int column, const QModelIndexH parent) { *(QModelIndex *)retval = ((QAbstractTableModel *)handle)->index(row, column, *(const QModelIndex*)parent); } bool QAbstractTableModel_dropMimeData(QAbstractTableModelH handle, const QMimeDataH data, Qt::DropAction action, int row, int column, const QModelIndexH parent) { return (bool) ((QAbstractTableModel *)handle)->dropMimeData((const QMimeData*)data, action, row, column, *(const QModelIndex*)parent); } void QAbstractListModel_index(QAbstractListModelH handle, QModelIndexH retval, int row, int column, const QModelIndexH parent) { *(QModelIndex *)retval = ((QAbstractListModel *)handle)->index(row, column, *(const QModelIndex*)parent); } bool QAbstractListModel_dropMimeData(QAbstractListModelH handle, const QMimeDataH data, Qt::DropAction action, int row, int column, const QModelIndexH parent) { return (bool) ((QAbstractListModel *)handle)->dropMimeData((const QMimeData*)data, action, row, column, *(const QModelIndex*)parent); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintpreviewwidget_hook_c.cpp0000664000212600021260000000216511677135472023210 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qprintpreviewwidget_hook_c.h" QPrintPreviewWidget_hookH QPrintPreviewWidget_hook_create(QObjectH handle) { return (QPrintPreviewWidget_hookH) new QPrintPreviewWidget_hook((QObject*)handle); } void QPrintPreviewWidget_hook_destroy(QPrintPreviewWidget_hookH handle) { delete (QPrintPreviewWidget_hook *)handle; } void QPrintPreviewWidget_hook_hook_paintRequested(QPrintPreviewWidget_hookH handle, QHookH hook) { ((QPrintPreviewWidget_hook *)handle)->hook_paintRequested(hook); } void QPrintPreviewWidget_hook_hook_previewChanged(QPrintPreviewWidget_hookH handle, QHookH hook) { ((QPrintPreviewWidget_hook *)handle)->hook_previewChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebsecurityorigin_hook_c.h0000664000212600021260000000137111677135472022466 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBSECURITYORIGIN_HOOK_C_H #define QWEBSECURITYORIGIN_HOOK_C_H #include "qwebsecurityorigin_hook.h" C_EXPORT QWebSecurityOrigin_hookH QWebSecurityOrigin_hook_create(QObjectH handle); C_EXPORT void QWebSecurityOrigin_hook_destroy(QWebSecurityOrigin_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcoreapplication_hook_c.cpp0000664000212600021260000000207511677135472022422 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qcoreapplication_hook_c.h" QCoreApplication_hookH QCoreApplication_hook_create(QObjectH handle) { return (QCoreApplication_hookH) new QCoreApplication_hook((QObject*)handle); } void QCoreApplication_hook_destroy(QCoreApplication_hookH handle) { delete (QCoreApplication_hook *)handle; } void QCoreApplication_hook_hook_aboutToQuit(QCoreApplication_hookH handle, QHookH hook) { ((QCoreApplication_hook *)handle)->hook_aboutToQuit(hook); } void QCoreApplication_hook_hook_unixSignal(QCoreApplication_hookH handle, QHookH hook) { ((QCoreApplication_hook *)handle)->hook_unixSignal(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfile_c.cpp0000664000212600021260000001551011677135472017143 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qfile_c.h" QFileH QFile_create() { return (QFileH) new QFile(); } void QFile_destroy(QFileH handle) { delete (QFile *)handle; } QFileH QFile_create2(PWideString name) { QString t_name; copyPWideStringToQString(name, t_name); return (QFileH) new QFile(t_name); } QFileH QFile_create3(QObjectH parent) { return (QFileH) new QFile((QObject*)parent); } QFileH QFile_create4(PWideString name, QObjectH parent) { QString t_name; copyPWideStringToQString(name, t_name); return (QFileH) new QFile(t_name, (QObject*)parent); } QFile::FileError QFile_error(QFileH handle) { return (QFile::FileError) ((QFile *)handle)->error(); } void QFile_unsetError(QFileH handle) { ((QFile *)handle)->unsetError(); } void QFile_fileName(QFileH handle, PWideString retval) { QString t_retval; t_retval = ((QFile *)handle)->fileName(); copyQStringToPWideString(t_retval, retval); } void QFile_setFileName(QFileH handle, PWideString name) { QString t_name; copyPWideStringToQString(name, t_name); ((QFile *)handle)->setFileName(t_name); } void QFile_encodeName(QByteArrayH retval, PWideString fileName) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); *(QByteArray *)retval = QFile::encodeName(t_fileName); } void QFile_decodeName(PWideString retval, const QByteArrayH localFileName) { QString t_retval; t_retval = QFile::decodeName(*(const QByteArray*)localFileName); copyQStringToPWideString(t_retval, retval); } void QFile_decodeName2(PWideString retval, const char* localFileName) { QString t_retval; t_retval = QFile::decodeName(localFileName); copyQStringToPWideString(t_retval, retval); } bool QFile_exists(QFileH handle) { return (bool) ((QFile *)handle)->exists(); } bool QFile_exists2(PWideString fileName) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (bool) QFile::exists(t_fileName); } void QFile_readLink(QFileH handle, PWideString retval) { QString t_retval; t_retval = ((QFile *)handle)->readLink(); copyQStringToPWideString(t_retval, retval); } void QFile_readLink2(PWideString retval, PWideString fileName) { QString t_retval; QString t_fileName; copyPWideStringToQString(fileName, t_fileName); t_retval = QFile::readLink(t_fileName); copyQStringToPWideString(t_retval, retval); } void QFile_symLinkTarget(QFileH handle, PWideString retval) { QString t_retval; t_retval = ((QFile *)handle)->symLinkTarget(); copyQStringToPWideString(t_retval, retval); } void QFile_symLinkTarget2(PWideString retval, PWideString fileName) { QString t_retval; QString t_fileName; copyPWideStringToQString(fileName, t_fileName); t_retval = QFile::symLinkTarget(t_fileName); copyQStringToPWideString(t_retval, retval); } bool QFile_remove(QFileH handle) { return (bool) ((QFile *)handle)->remove(); } bool QFile_remove2(PWideString fileName) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (bool) QFile::remove(t_fileName); } bool QFile_rename(QFileH handle, PWideString newName) { QString t_newName; copyPWideStringToQString(newName, t_newName); return (bool) ((QFile *)handle)->rename(t_newName); } bool QFile_rename2(PWideString oldName, PWideString newName) { QString t_oldName; QString t_newName; copyPWideStringToQString(oldName, t_oldName); copyPWideStringToQString(newName, t_newName); return (bool) QFile::rename(t_oldName, t_newName); } bool QFile_link(QFileH handle, PWideString newName) { QString t_newName; copyPWideStringToQString(newName, t_newName); return (bool) ((QFile *)handle)->link(t_newName); } bool QFile_link2(PWideString oldname, PWideString newName) { QString t_oldname; QString t_newName; copyPWideStringToQString(oldname, t_oldname); copyPWideStringToQString(newName, t_newName); return (bool) QFile::link(t_oldname, t_newName); } bool QFile_copy(QFileH handle, PWideString newName) { QString t_newName; copyPWideStringToQString(newName, t_newName); return (bool) ((QFile *)handle)->copy(t_newName); } bool QFile_copy2(PWideString fileName, PWideString newName) { QString t_fileName; QString t_newName; copyPWideStringToQString(fileName, t_fileName); copyPWideStringToQString(newName, t_newName); return (bool) QFile::copy(t_fileName, t_newName); } bool QFile_isSequential(QFileH handle) { return (bool) ((QFile *)handle)->isSequential(); } bool QFile_open(QFileH handle, unsigned int flags) { return (bool) ((QFile *)handle)->open((QIODevice::OpenMode)flags); } bool QFile_open2(QFileH handle, int fd, unsigned int flags) { return (bool) ((QFile *)handle)->open(fd, (QIODevice::OpenMode)flags); } void QFile_close(QFileH handle) { ((QFile *)handle)->close(); } qint64 QFile_size(QFileH handle) { return (qint64) ((QFile *)handle)->size(); } qint64 QFile_pos(QFileH handle) { return (qint64) ((QFile *)handle)->pos(); } bool QFile_seek(QFileH handle, qint64 offset) { return (bool) ((QFile *)handle)->seek(offset); } bool QFile_atEnd(QFileH handle) { return (bool) ((QFile *)handle)->atEnd(); } bool QFile_flush(QFileH handle) { return (bool) ((QFile *)handle)->flush(); } bool QFile_resize(QFileH handle, qint64 sz) { return (bool) ((QFile *)handle)->resize(sz); } bool QFile_resize2(PWideString filename, qint64 sz) { QString t_filename; copyPWideStringToQString(filename, t_filename); return (bool) QFile::resize(t_filename, sz); } unsigned int QFile_permissions(QFileH handle) { return (unsigned int) ((QFile *)handle)->permissions(); } unsigned int QFile_permissions2(PWideString filename) { QString t_filename; copyPWideStringToQString(filename, t_filename); return (unsigned int) QFile::permissions(t_filename); } bool QFile_setPermissions(QFileH handle, unsigned int permissionSpec) { return (bool) ((QFile *)handle)->setPermissions((QFile::Permissions)permissionSpec); } bool QFile_setPermissions2(PWideString filename, unsigned int permissionSpec) { QString t_filename; copyPWideStringToQString(filename, t_filename); return (bool) QFile::setPermissions(t_filename, (QFile::Permissions)permissionSpec); } int QFile_handle(QFileH handle) { return (int) ((QFile *)handle)->handle(); } uchar* QFile_map(QFileH handle, qint64 offset, qint64 size, QFile::MemoryMapFlags flags) { return (uchar*) ((QFile *)handle)->map(offset, size, flags); } bool QFile_unmap(QFileH handle, uchar* address) { return (bool) ((QFile *)handle)->unmap(address); } QAbstractFileEngineH QFile_fileEngine(QFileH handle) { return (QAbstractFileEngineH) ((QFile *)handle)->fileEngine(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcheckbox_c.cpp0000664000212600021260000000263311677135472020014 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qcheckbox_c.h" QCheckBoxH QCheckBox_create(QWidgetH parent) { return (QCheckBoxH) new QCheckBox((QWidget*)parent); } void QCheckBox_destroy(QCheckBoxH handle) { delete (QCheckBox *)handle; } QCheckBoxH QCheckBox_create2(PWideString text, QWidgetH parent) { QString t_text; copyPWideStringToQString(text, t_text); return (QCheckBoxH) new QCheckBox(t_text, (QWidget*)parent); } void QCheckBox_sizeHint(QCheckBoxH handle, PSize retval) { *(QSize *)retval = ((QCheckBox *)handle)->sizeHint(); } void QCheckBox_setTristate(QCheckBoxH handle, bool y) { ((QCheckBox *)handle)->setTristate(y); } bool QCheckBox_isTristate(QCheckBoxH handle) { return (bool) ((QCheckBox *)handle)->isTristate(); } Qt::CheckState QCheckBox_checkState(QCheckBoxH handle) { return (Qt::CheckState) ((QCheckBox *)handle)->checkState(); } void QCheckBox_setCheckState(QCheckBoxH handle, Qt::CheckState state) { ((QCheckBox *)handle)->setCheckState(state); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qimagereader_c.cpp0000664000212600021260000001462511677135472020477 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qimagereader_c.h" QImageReaderH QImageReader_create() { return (QImageReaderH) new QImageReader(); } void QImageReader_destroy(QImageReaderH handle) { delete (QImageReader *)handle; } QImageReaderH QImageReader_create2(QIODeviceH device, const QByteArrayH format) { return (QImageReaderH) new QImageReader((QIODevice*)device, *(const QByteArray*)format); } QImageReaderH QImageReader_create3(PWideString fileName, const QByteArrayH format) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (QImageReaderH) new QImageReader(t_fileName, *(const QByteArray*)format); } void QImageReader_setFormat(QImageReaderH handle, const QByteArrayH format) { ((QImageReader *)handle)->setFormat(*(const QByteArray*)format); } void QImageReader_format(QImageReaderH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QImageReader *)handle)->format(); } void QImageReader_setAutoDetectImageFormat(QImageReaderH handle, bool enabled) { ((QImageReader *)handle)->setAutoDetectImageFormat(enabled); } bool QImageReader_autoDetectImageFormat(QImageReaderH handle) { return (bool) ((QImageReader *)handle)->autoDetectImageFormat(); } void QImageReader_setDevice(QImageReaderH handle, QIODeviceH device) { ((QImageReader *)handle)->setDevice((QIODevice*)device); } QIODeviceH QImageReader_device(QImageReaderH handle) { return (QIODeviceH) ((QImageReader *)handle)->device(); } void QImageReader_setFileName(QImageReaderH handle, PWideString fileName) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); ((QImageReader *)handle)->setFileName(t_fileName); } void QImageReader_fileName(QImageReaderH handle, PWideString retval) { QString t_retval; t_retval = ((QImageReader *)handle)->fileName(); copyQStringToPWideString(t_retval, retval); } void QImageReader_size(QImageReaderH handle, PSize retval) { *(QSize *)retval = ((QImageReader *)handle)->size(); } QImage::Format QImageReader_imageFormat(QImageReaderH handle) { return (QImage::Format) ((QImageReader *)handle)->imageFormat(); } void QImageReader_textKeys(QImageReaderH handle, QStringListH retval) { *(QStringList *)retval = ((QImageReader *)handle)->textKeys(); } void QImageReader_text(QImageReaderH handle, PWideString retval, PWideString key) { QString t_retval; QString t_key; copyPWideStringToQString(key, t_key); t_retval = ((QImageReader *)handle)->text(t_key); copyQStringToPWideString(t_retval, retval); } void QImageReader_setClipRect(QImageReaderH handle, PRect rect) { QRect t_rect; copyPRectToQRect(rect, t_rect); ((QImageReader *)handle)->setClipRect(t_rect); } void QImageReader_clipRect(QImageReaderH handle, PRect retval) { QRect t_retval; t_retval = ((QImageReader *)handle)->clipRect(); copyQRectToPRect(t_retval, retval); } void QImageReader_setScaledSize(QImageReaderH handle, const QSizeH size) { ((QImageReader *)handle)->setScaledSize(*(const QSize*)size); } void QImageReader_scaledSize(QImageReaderH handle, PSize retval) { *(QSize *)retval = ((QImageReader *)handle)->scaledSize(); } void QImageReader_setQuality(QImageReaderH handle, int quality) { ((QImageReader *)handle)->setQuality(quality); } int QImageReader_quality(QImageReaderH handle) { return (int) ((QImageReader *)handle)->quality(); } void QImageReader_setScaledClipRect(QImageReaderH handle, PRect rect) { QRect t_rect; copyPRectToQRect(rect, t_rect); ((QImageReader *)handle)->setScaledClipRect(t_rect); } void QImageReader_scaledClipRect(QImageReaderH handle, PRect retval) { QRect t_retval; t_retval = ((QImageReader *)handle)->scaledClipRect(); copyQRectToPRect(t_retval, retval); } void QImageReader_setBackgroundColor(QImageReaderH handle, const QColorH color) { ((QImageReader *)handle)->setBackgroundColor(*(const QColor*)color); } void QImageReader_backgroundColor(QImageReaderH handle, PQColor retval) { *(QColor *)retval = ((QImageReader *)handle)->backgroundColor(); } bool QImageReader_supportsAnimation(QImageReaderH handle) { return (bool) ((QImageReader *)handle)->supportsAnimation(); } bool QImageReader_canRead(QImageReaderH handle) { return (bool) ((QImageReader *)handle)->canRead(); } void QImageReader_read(QImageReaderH handle, QImageH retval) { *(QImage *)retval = ((QImageReader *)handle)->read(); } bool QImageReader_jumpToNextImage(QImageReaderH handle) { return (bool) ((QImageReader *)handle)->jumpToNextImage(); } bool QImageReader_jumpToImage(QImageReaderH handle, int imageNumber) { return (bool) ((QImageReader *)handle)->jumpToImage(imageNumber); } int QImageReader_loopCount(QImageReaderH handle) { return (int) ((QImageReader *)handle)->loopCount(); } int QImageReader_imageCount(QImageReaderH handle) { return (int) ((QImageReader *)handle)->imageCount(); } int QImageReader_nextImageDelay(QImageReaderH handle) { return (int) ((QImageReader *)handle)->nextImageDelay(); } int QImageReader_currentImageNumber(QImageReaderH handle) { return (int) ((QImageReader *)handle)->currentImageNumber(); } void QImageReader_currentImageRect(QImageReaderH handle, PRect retval) { QRect t_retval; t_retval = ((QImageReader *)handle)->currentImageRect(); copyQRectToPRect(t_retval, retval); } QImageReader::ImageReaderError QImageReader_error(QImageReaderH handle) { return (QImageReader::ImageReaderError) ((QImageReader *)handle)->error(); } void QImageReader_errorString(QImageReaderH handle, PWideString retval) { QString t_retval; t_retval = ((QImageReader *)handle)->errorString(); copyQStringToPWideString(t_retval, retval); } bool QImageReader_supportsOption(QImageReaderH handle, QImageIOHandler::ImageOption option) { return (bool) ((QImageReader *)handle)->supportsOption(option); } void QImageReader_imageFormat2(QByteArrayH retval, PWideString fileName) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); *(QByteArray *)retval = QImageReader::imageFormat(t_fileName); } void QImageReader_imageFormat3(QByteArrayH retval, QIODeviceH device) { *(QByteArray *)retval = QImageReader::imageFormat((QIODevice*)device); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qiodevice_c.h0000664000212600021260000000530211677135472017456 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QIODEVICE_C_H #define QIODEVICE_C_H #include #include "pascalbind.h" C_EXPORT unsigned int QIODevice_openMode(QIODeviceH handle); C_EXPORT void QIODevice_setTextModeEnabled(QIODeviceH handle, bool enabled); C_EXPORT bool QIODevice_isTextModeEnabled(QIODeviceH handle); C_EXPORT bool QIODevice_isOpen(QIODeviceH handle); C_EXPORT bool QIODevice_isReadable(QIODeviceH handle); C_EXPORT bool QIODevice_isWritable(QIODeviceH handle); C_EXPORT bool QIODevice_isSequential(QIODeviceH handle); C_EXPORT bool QIODevice_open(QIODeviceH handle, unsigned int mode); C_EXPORT void QIODevice_close(QIODeviceH handle); C_EXPORT qint64 QIODevice_pos(QIODeviceH handle); C_EXPORT qint64 QIODevice_size(QIODeviceH handle); C_EXPORT bool QIODevice_seek(QIODeviceH handle, qint64 pos); C_EXPORT bool QIODevice_atEnd(QIODeviceH handle); C_EXPORT bool QIODevice_reset(QIODeviceH handle); C_EXPORT qint64 QIODevice_bytesAvailable(QIODeviceH handle); C_EXPORT qint64 QIODevice_bytesToWrite(QIODeviceH handle); C_EXPORT qint64 QIODevice_read(QIODeviceH handle, char* data, qint64 maxlen); C_EXPORT void QIODevice_read2(QIODeviceH handle, QByteArrayH retval, qint64 maxlen); C_EXPORT void QIODevice_readAll(QIODeviceH handle, QByteArrayH retval); C_EXPORT qint64 QIODevice_readLine(QIODeviceH handle, char* data, qint64 maxlen); C_EXPORT void QIODevice_readLine2(QIODeviceH handle, QByteArrayH retval, qint64 maxlen); C_EXPORT bool QIODevice_canReadLine(QIODeviceH handle); C_EXPORT qint64 QIODevice_write(QIODeviceH handle, const char* data, qint64 len); C_EXPORT qint64 QIODevice_write2(QIODeviceH handle, const char* data); C_EXPORT qint64 QIODevice_write3(QIODeviceH handle, const QByteArrayH data); C_EXPORT qint64 QIODevice_peek(QIODeviceH handle, char* data, qint64 maxlen); C_EXPORT void QIODevice_peek2(QIODeviceH handle, QByteArrayH retval, qint64 maxlen); C_EXPORT bool QIODevice_waitForReadyRead(QIODeviceH handle, int msecs); C_EXPORT bool QIODevice_waitForBytesWritten(QIODeviceH handle, int msecs); C_EXPORT void QIODevice_ungetChar(QIODeviceH handle, char c); C_EXPORT bool QIODevice_putChar(QIODeviceH handle, char c); C_EXPORT bool QIODevice_getChar(QIODeviceH handle, char* c); C_EXPORT void QIODevice_errorString(QIODeviceH handle, PWideString retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstandarditemmodel_hook.h0000664000212600021260000000322611677135472022110 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTANDARDITEMMODEL_HOOK_H #define QSTANDARDITEMMODEL_HOOK_H #include #include "qobject_hook.h" class QStandardItem_hook : public QObject_hook { Q_OBJECT public: QStandardItem_hook(QObject *handle) : QObject_hook(handle) { } }; #include "qabstractitemmodel_hook.h" class QStandardItemModel_hook : public QAbstractItemModel_hook { Q_OBJECT public: QStandardItemModel_hook(QObject *handle) : QAbstractItemModel_hook(handle) { itemChanged_event.func = NULL; } void hook_itemChanged(QHook &hook) { if ( !itemChanged_event.func ) connect(handle, SIGNAL(itemChanged(QStandardItem*)), this, SLOT(itemChanged_hook(QStandardItem*))); itemChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(itemChanged(QStandardItem*)), this, SLOT(itemChanged_hook(QStandardItem*))); } private slots: void itemChanged_hook(QStandardItem* item) { if ( itemChanged_event.func ) { typedef void (*func_type)(void *data, QStandardItemH item); (*(func_type)itemChanged_event.func)(itemChanged_event.data, (QStandardItemH)item); } } private: QHook itemChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/chandles.h0000664000212600021260000007603011677135472016773 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef CHANDLES_H #define CHANDLES_H #if defined _LP64 typedef long long int PTRINT; typedef unsigned long long int PTRUINT; #else typedef int PTRINT; typedef unsigned int PTRUINT; #endif typedef struct QAbstractButton__ { PTRINT dummy; } *QAbstractButtonH; typedef struct QSizePolicy__ { PTRINT dummy; } *QSizePolicyH; typedef struct QWebHistoryItem_hook__ { PTRINT dummy; } *QWebHistoryItem_hookH; typedef struct QSlider_hook__ { PTRINT dummy; } *QSlider_hookH; typedef struct QGraphicsScene_hook__ { PTRINT dummy; } *QGraphicsScene_hookH; typedef struct QSizeGrip__ { PTRINT dummy; } *QSizeGripH; typedef struct QStyleOptionComboBox__ { PTRINT dummy; } *QStyleOptionComboBoxH; typedef struct QMdiSubWindow_hook__ { PTRINT dummy; } *QMdiSubWindow_hookH; typedef struct QActionGroup_hook__ { PTRINT dummy; } *QActionGroup_hookH; typedef struct QAbstractItemModel_hook__ { PTRINT dummy; } *QAbstractItemModel_hookH; typedef struct QX11Info__ { PTRINT dummy; } *QX11InfoH; typedef struct QAbstractSpinBox__ { PTRINT dummy; } *QAbstractSpinBoxH; typedef struct QTreeView__ { PTRINT dummy; } *QTreeViewH; typedef struct QPoint__ { PTRINT dummy; } *QPointH; typedef struct QGraphicsTextItem__ { PTRINT dummy; } *QGraphicsTextItemH; typedef struct QGraphicsRectItem__ { PTRINT dummy; } *QGraphicsRectItemH; typedef struct QComboBox_hook__ { PTRINT dummy; } *QComboBox_hookH; typedef struct QSpacerItem__ { PTRINT dummy; } *QSpacerItemH; typedef struct QCheckBox_hook__ { PTRINT dummy; } *QCheckBox_hookH; typedef struct QModelIndex__ { PTRINT dummy; } *QModelIndexH; typedef struct QLocale__ { PTRINT dummy; } *QLocaleH; typedef struct QWidget__ { PTRINT dummy; } *QWidgetH; typedef struct QRadialGradient__ { PTRINT dummy; } *QRadialGradientH; typedef struct QStyle__ { PTRINT dummy; } *QStyleH; typedef struct QInputContext__ { PTRINT dummy; } *QInputContextH; typedef struct QWhatsThisClickedEvent__ { PTRINT dummy; } *QWhatsThisClickedEventH; typedef struct QAction_hook__ { PTRINT dummy; } *QAction_hookH; typedef struct QTextOption__ { PTRINT dummy; } *QTextOptionH; typedef struct QStackedWidget_hook__ { PTRINT dummy; } *QStackedWidget_hookH; typedef struct QMessageBox__ { PTRINT dummy; } *QMessageBoxH; typedef struct QProgressDialog_hook__ { PTRINT dummy; } *QProgressDialog_hookH; typedef struct QFileSystemWatcher__ { PTRINT dummy; } *QFileSystemWatcherH; typedef struct QTime__ { PTRINT dummy; } *QTimeH; typedef struct QStyleOptionViewItemV4__ { PTRINT dummy; } *QStyleOptionViewItemV4H; typedef struct QConicalGradient__ { PTRINT dummy; } *QConicalGradientH; typedef struct QSystemTrayIcon_hook__ { PTRINT dummy; } *QSystemTrayIcon_hookH; typedef struct QTreeWidgetItem_hook__ { PTRINT dummy; } *QTreeWidgetItem_hookH; typedef struct QImageReader__ { PTRINT dummy; } *QImageReaderH; typedef struct QNetworkCookie__ { PTRINT dummy; } *QNetworkCookieH; typedef struct QStyleOptionQ3DockWindow__ { PTRINT dummy; } *QStyleOptionQ3DockWindowH; typedef struct QMetaEnum__ { PTRINT dummy; } *QMetaEnumH; typedef struct QWebHistoryInterface_hook__ { PTRINT dummy; } *QWebHistoryInterface_hookH; typedef struct QAbstractFileEngine__ { PTRINT dummy; } *QAbstractFileEngineH; typedef struct QPlainTextDocumentLayout_hook__ { PTRINT dummy; } *QPlainTextDocumentLayout_hookH; typedef struct QLCLWebView__ { PTRINT dummy; } *QLCLWebViewH; typedef struct QTextImageFormat__ { PTRINT dummy; } *QTextImageFormatH; typedef struct QNetworkRequest__ { PTRINT dummy; } *QNetworkRequestH; typedef struct QPrintPreviewWidget__ { PTRINT dummy; } *QPrintPreviewWidgetH; typedef struct QCoreApplication__ { PTRINT dummy; } *QCoreApplicationH; typedef struct QMainWindow_hook__ { PTRINT dummy; } *QMainWindow_hookH; typedef struct QSpinBox_hook__ { PTRINT dummy; } *QSpinBox_hookH; typedef struct QDataStream__ { PTRINT dummy; } *QDataStreamH; typedef struct QByteArray__ { PTRINT dummy; } *QByteArrayH; typedef struct QPrintPreviewDialog_hook__ { PTRINT dummy; } *QPrintPreviewDialog_hookH; typedef struct QLCLAbstractSpinBox__ { PTRINT dummy; } *QLCLAbstractSpinBoxH; typedef struct QMetaClassInfo__ { PTRINT dummy; } *QMetaClassInfoH; typedef struct QImage__ { PTRINT dummy; } *QImageH; typedef struct QTableView_hook__ { PTRINT dummy; } *QTableView_hookH; typedef struct QNetworkProxyQuery__ { PTRINT dummy; } *QNetworkProxyQueryH; typedef struct QTabWidget_hook__ { PTRINT dummy; } *QTabWidget_hookH; typedef struct QTcpServer_hook__ { PTRINT dummy; } *QTcpServer_hookH; typedef struct QStyleOptionGraphicsItem__ { PTRINT dummy; } *QStyleOptionGraphicsItemH; typedef struct QPaintEngine__ { PTRINT dummy; } *QPaintEngineH; typedef struct QHBoxLayout__ { PTRINT dummy; } *QHBoxLayoutH; typedef struct QSplitter_hook__ { PTRINT dummy; } *QSplitter_hookH; typedef struct QPainterPath__ { PTRINT dummy; } *QPainterPathH; typedef struct QStandardItem_hook__ { PTRINT dummy; } *QStandardItem_hookH; typedef struct QGraphicsView__ { PTRINT dummy; } *QGraphicsViewH; typedef struct QPaintDevice__ { PTRINT dummy; } *QPaintDeviceH; typedef struct QHeaderView_hook__ { PTRINT dummy; } *QHeaderView_hookH; typedef struct QNetworkProxy__ { PTRINT dummy; } *QNetworkProxyH; typedef struct QSslCipher__ { PTRINT dummy; } *QSslCipherH; typedef struct QEventLoop__ { PTRINT dummy; } *QEventLoopH; typedef struct QStyleOptionTabBarBase__ { PTRINT dummy; } *QStyleOptionTabBarBaseH; typedef struct QUndoStack__ { PTRINT dummy; } *QUndoStackH; typedef struct QWebPluginFactory__ { PTRINT dummy; } *QWebPluginFactoryH; typedef struct QTextObjectInterface_hook__ { PTRINT dummy; } *QTextObjectInterface_hookH; typedef struct QPersistentModelIndex__ { PTRINT dummy; } *QPersistentModelIndexH; typedef struct QStyleOption__ { PTRINT dummy; } *QStyleOptionH; typedef struct QActionEvent__ { PTRINT dummy; } *QActionEventH; typedef struct QWebSecurityOrigin_hook__ { PTRINT dummy; } *QWebSecurityOrigin_hookH; typedef struct QTimer__ { PTRINT dummy; } *QTimerH; typedef struct QTextObject__ { PTRINT dummy; } *QTextObjectH; typedef struct QAbstractTableModel__ { PTRINT dummy; } *QAbstractTableModelH; typedef struct QMovie__ { PTRINT dummy; } *QMovieH; typedef struct QSslSocket__ { PTRINT dummy; } *QSslSocketH; typedef struct QWebPage_hook__ { PTRINT dummy; } *QWebPage_hookH; typedef struct QTableWidget_hook__ { PTRINT dummy; } *QTableWidget_hookH; typedef struct QPrinterInfo__ { PTRINT dummy; } *QPrinterInfoH; typedef struct QListWidgetItem__ { PTRINT dummy; } *QListWidgetItemH; typedef struct QProgressBar__ { PTRINT dummy; } *QProgressBarH; typedef struct QStyleOptionToolBox__ { PTRINT dummy; } *QStyleOptionToolBoxH; typedef struct QMimeData__ { PTRINT dummy; } *QMimeDataH; typedef struct QColor__ { PTRINT dummy; } *QColorH; typedef struct QListView__ { PTRINT dummy; } *QListViewH; typedef struct QFileOpenEvent__ { PTRINT dummy; } *QFileOpenEventH; typedef struct QLCLThread__ { PTRINT dummy; } *QLCLThreadH; typedef struct QGraphicsPixmapItem__ { PTRINT dummy; } *QGraphicsPixmapItemH; typedef struct QSize__ { PTRINT dummy; } *QSizeH; typedef struct QUdpSocket_hook__ { PTRINT dummy; } *QUdpSocket_hookH; typedef struct QToolButton_hook__ { PTRINT dummy; } *QToolButton_hookH; typedef struct QScrollBar__ { PTRINT dummy; } *QScrollBarH; typedef struct QStatusBar__ { PTRINT dummy; } *QStatusBarH; typedef struct QTextFormat__ { PTRINT dummy; } *QTextFormatH; typedef struct QCursor__ { PTRINT dummy; } *QCursorH; typedef struct QPrinter__ { PTRINT dummy; } *QPrinterH; typedef struct QWebHistory_hook__ { PTRINT dummy; } *QWebHistory_hookH; typedef struct QLCLMessageEvent__ { PTRINT dummy; } *QLCLMessageEventH; typedef struct QKeySequence__ { PTRINT dummy; } *QKeySequenceH; typedef struct QToolBar_hook__ { PTRINT dummy; } *QToolBar_hookH; typedef struct QStyleOptionComplex__ { PTRINT dummy; } *QStyleOptionComplexH; typedef struct QLCLWebPage__ { PTRINT dummy; } *QLCLWebPageH; typedef struct QApplication_hook__ { PTRINT dummy; } *QApplication_hookH; typedef struct QRect__ { PTRINT dummy; } *QRectH; typedef struct QSessionManager__ { PTRINT dummy; } *QSessionManagerH; typedef struct QPainterPathStroker__ { PTRINT dummy; } *QPainterPathStrokerH; typedef struct QColorDialog__ { PTRINT dummy; } *QColorDialogH; typedef struct QItemDelegate__ { PTRINT dummy; } *QItemDelegateH; typedef struct QNetworkReply_hook__ { PTRINT dummy; } *QNetworkReply_hookH; typedef struct QStandardItemModel_hook__ { PTRINT dummy; } *QStandardItemModel_hookH; typedef struct QGraphicsScene__ { PTRINT dummy; } *QGraphicsSceneH; typedef struct QWebHistoryItem__ { PTRINT dummy; } *QWebHistoryItemH; typedef struct QDrag__ { PTRINT dummy; } *QDragH; typedef struct QDir__ { PTRINT dummy; } *QDirH; typedef struct QDesktopServices__ { PTRINT dummy; } *QDesktopServicesH; typedef struct QTreeView_hook__ { PTRINT dummy; } *QTreeView_hookH; typedef struct QMdiArea_hook__ { PTRINT dummy; } *QMdiArea_hookH; typedef struct QTextList__ { PTRINT dummy; } *QTextListH; typedef struct QHeaderView__ { PTRINT dummy; } *QHeaderViewH; typedef struct QPrintDialog__ { PTRINT dummy; } *QPrintDialogH; typedef struct QLineEdit__ { PTRINT dummy; } *QLineEditH; typedef struct QWhatsThis__ { PTRINT dummy; } *QWhatsThisH; typedef struct QStyleOptionDockWidget__ { PTRINT dummy; } *QStyleOptionDockWidgetH; typedef struct QDoubleSpinBox_hook__ { PTRINT dummy; } *QDoubleSpinBox_hookH; typedef struct QMdiArea__ { PTRINT dummy; } *QMdiAreaH; typedef struct QFile__ { PTRINT dummy; } *QFileH; typedef struct QTreeWidget_hook__ { PTRINT dummy; } *QTreeWidget_hookH; typedef struct QTextFragment__ { PTRINT dummy; } *QTextFragmentH; typedef struct QSizeF__ { PTRINT dummy; } *QSizeFH; typedef struct QRegion__ { PTRINT dummy; } *QRegionH; typedef struct QThread__ { PTRINT dummy; } *QThreadH; typedef struct QMenuBar_hook__ { PTRINT dummy; } *QMenuBar_hookH; typedef struct QDoubleValidator__ { PTRINT dummy; } *QDoubleValidatorH; typedef struct QGraphicsEllipseItem__ { PTRINT dummy; } *QGraphicsEllipseItemH; typedef struct QLCDNumber__ { PTRINT dummy; } *QLCDNumberH; typedef struct QPixmap__ { PTRINT dummy; } *QPixmapH; typedef struct QTextBlockFormat__ { PTRINT dummy; } *QTextBlockFormatH; typedef struct QWebHitTestResult_hook__ { PTRINT dummy; } *QWebHitTestResult_hookH; typedef struct QDesktopWidget_hook__ { PTRINT dummy; } *QDesktopWidget_hookH; typedef struct QAbstractPrintDialog_hook__ { PTRINT dummy; } *QAbstractPrintDialog_hookH; typedef struct QContextMenuEvent__ { PTRINT dummy; } *QContextMenuEventH; typedef struct QSystemTrayIcon__ { PTRINT dummy; } *QSystemTrayIconH; typedef struct QTextObjectInterface__ { PTRINT dummy; } *QTextObjectInterfaceH; typedef struct QString__ { PTRINT dummy; } *QStringH; typedef struct QTreeWidget__ { PTRINT dummy; } *QTreeWidgetH; typedef struct QValidator__ { PTRINT dummy; } *QValidatorH; typedef struct QDialog_hook__ { PTRINT dummy; } *QDialog_hookH; typedef struct QStyleOptionProgressBar__ { PTRINT dummy; } *QStyleOptionProgressBarH; typedef struct QMdiSubWindow__ { PTRINT dummy; } *QMdiSubWindowH; typedef struct QIconDragEvent__ { PTRINT dummy; } *QIconDragEventH; typedef struct QTableWidget__ { PTRINT dummy; } *QTableWidgetH; typedef struct QStyleOptionSlider__ { PTRINT dummy; } *QStyleOptionSliderH; typedef struct QBitArray__ { PTRINT dummy; } *QBitArrayH; typedef struct QPushButton__ { PTRINT dummy; } *QPushButtonH; typedef struct QPrintPreviewWidget_hook__ { PTRINT dummy; } *QPrintPreviewWidget_hookH; typedef struct QToolBar__ { PTRINT dummy; } *QToolBarH; typedef struct QDecoration__ { PTRINT dummy; } *QDecorationH; typedef struct QScrollBar_hook__ { PTRINT dummy; } *QScrollBar_hookH; typedef struct QDoubleSpinBox__ { PTRINT dummy; } *QDoubleSpinBoxH; typedef struct QAbstractScrollArea__ { PTRINT dummy; } *QAbstractScrollAreaH; typedef struct QCoreApplication_hook__ { PTRINT dummy; } *QCoreApplication_hookH; typedef struct QImageIOHandler__ { PTRINT dummy; } *QImageIOHandlerH; typedef struct QGraphicsPathItem__ { PTRINT dummy; } *QGraphicsPathItemH; typedef struct QEvent__ { PTRINT dummy; } *QEventH; typedef struct QWebSecurityOrigin__ { PTRINT dummy; } *QWebSecurityOriginH; typedef struct QSslConfiguration__ { PTRINT dummy; } *QSslConfigurationH; typedef struct QAbstractSlider__ { PTRINT dummy; } *QAbstractSliderH; typedef struct QWebPage__ { PTRINT dummy; } *QWebPageH; typedef struct QStyleOptionFrame__ { PTRINT dummy; } *QStyleOptionFrameH; typedef struct QStatusTipEvent__ { PTRINT dummy; } *QStatusTipEventH; typedef struct QNetworkCookieJar__ { PTRINT dummy; } *QNetworkCookieJarH; typedef struct QFontInfo__ { PTRINT dummy; } *QFontInfoH; typedef struct QIntValidator__ { PTRINT dummy; } *QIntValidatorH; typedef struct QMatrix__ { PTRINT dummy; } *QMatrixH; typedef struct QAbstractItemModel__ { PTRINT dummy; } *QAbstractItemModelH; typedef struct QSpinBox__ { PTRINT dummy; } *QSpinBoxH; typedef struct QTextDocument__ { PTRINT dummy; } *QTextDocumentH; typedef struct QPersistentModelIndex_hook__ { PTRINT dummy; } *QPersistentModelIndex_hookH; typedef struct QLCLTabWidget__ { PTRINT dummy; } *QLCLTabWidgetH; typedef struct QProcess__ { PTRINT dummy; } *QProcessH; typedef struct QPlainTextEdit_hook__ { PTRINT dummy; } *QPlainTextEdit_hookH; typedef struct QIconEngineV2__ { PTRINT dummy; } *QIconEngineV2H; typedef struct QDragEnterEvent__ { PTRINT dummy; } *QDragEnterEventH; typedef struct QImageWriter__ { PTRINT dummy; } *QImageWriterH; typedef struct QWebSettings_hook__ { PTRINT dummy; } *QWebSettings_hookH; typedef struct QProcess_hook__ { PTRINT dummy; } *QProcess_hookH; typedef struct QAbstractItemDelegate_hook__ { PTRINT dummy; } *QAbstractItemDelegate_hookH; typedef struct QStackedLayout_hook__ { PTRINT dummy; } *QStackedLayout_hookH; typedef struct QActionGroup__ { PTRINT dummy; } *QActionGroupH; typedef struct QItemEditorCreatorBase__ { PTRINT dummy; } *QItemEditorCreatorBaseH; typedef struct QToolBox_hook__ { PTRINT dummy; } *QToolBox_hookH; typedef struct QWidgetItem__ { PTRINT dummy; } *QWidgetItemH; typedef struct QMenu_hook__ { PTRINT dummy; } *QMenu_hookH; typedef struct QLatin1String__ { PTRINT dummy; } *QLatin1StringH; typedef struct QLayout__ { PTRINT dummy; } *QLayoutH; typedef struct QTextCharFormat__ { PTRINT dummy; } *QTextCharFormatH; typedef struct QStyleHintReturn__ { PTRINT dummy; } *QStyleHintReturnH; typedef struct QToolTip__ { PTRINT dummy; } *QToolTipH; typedef struct QStyleOptionHeader__ { PTRINT dummy; } *QStyleOptionHeaderH; typedef struct QWheelEvent__ { PTRINT dummy; } *QWheelEventH; typedef struct QSslError__ { PTRINT dummy; } *QSslErrorH; typedef struct QStringList__ { PTRINT dummy; } *QStringListH; typedef struct QRegExp__ { PTRINT dummy; } *QRegExpH; typedef struct QFlags__ { PTRINT dummy; } *QFlagsH; typedef struct QTextLine__ { PTRINT dummy; } *QTextLineH; typedef struct QTextBlockUserData__ { PTRINT dummy; } *QTextBlockUserDataH; typedef struct QPrintDialog_hook__ { PTRINT dummy; } *QPrintDialog_hookH; typedef struct QUrl__ { PTRINT dummy; } *QUrlH; typedef struct QTextEdit__ { PTRINT dummy; } *QTextEditH; typedef struct QNetworkProxyFactory__ { PTRINT dummy; } *QNetworkProxyFactoryH; typedef struct QCheckBox__ { PTRINT dummy; } *QCheckBoxH; typedef struct QTcpSocket_hook__ { PTRINT dummy; } *QTcpSocket_hookH; typedef struct QListWidgetItem_hook__ { PTRINT dummy; } *QListWidgetItem_hookH; typedef struct QItemEditorFactory__ { PTRINT dummy; } *QItemEditorFactoryH; typedef struct QFileIconProvider__ { PTRINT dummy; } *QFileIconProviderH; typedef struct QPainter__ { PTRINT dummy; } *QPainterH; typedef struct QVariant__ { PTRINT dummy; } *QVariantH; typedef struct QTextLayout__ { PTRINT dummy; } *QTextLayoutH; typedef struct QHoverEvent__ { PTRINT dummy; } *QHoverEventH; typedef struct QTabBar_hook__ { PTRINT dummy; } *QTabBar_hookH; typedef struct QCompleter__ { PTRINT dummy; } *QCompleterH; typedef struct QThread_hook__ { PTRINT dummy; } *QThread_hookH; typedef struct QTextFrame__ { PTRINT dummy; } *QTextFrameH; typedef struct QPlainTextDocumentLayout__ { PTRINT dummy; } *QPlainTextDocumentLayoutH; typedef struct QLinearGradient__ { PTRINT dummy; } *QLinearGradientH; typedef struct QTextFrameFormat__ { PTRINT dummy; } *QTextFrameFormatH; typedef struct QItemSelectionRange_hook__ { PTRINT dummy; } *QItemSelectionRange_hookH; typedef struct QStandardItemModel__ { PTRINT dummy; } *QStandardItemModelH; typedef struct QWebView_hook__ { PTRINT dummy; } *QWebView_hookH; typedef struct QWebHitTestResult__ { PTRINT dummy; } *QWebHitTestResultH; typedef struct QPicture__ { PTRINT dummy; } *QPictureH; typedef struct QStackedWidget__ { PTRINT dummy; } *QStackedWidgetH; typedef struct QStyleHintReturnVariant__ { PTRINT dummy; } *QStyleHintReturnVariantH; typedef struct QStyleOptionFocusRect__ { PTRINT dummy; } *QStyleOptionFocusRectH; typedef struct QFontDatabase__ { PTRINT dummy; } *QFontDatabaseH; typedef struct QFontMetrics__ { PTRINT dummy; } *QFontMetricsH; typedef struct QDialog__ { PTRINT dummy; } *QDialogH; typedef struct QStyleOptionTabV3__ { PTRINT dummy; } *QStyleOptionTabV3H; typedef struct QStyleOptionTabV2__ { PTRINT dummy; } *QStyleOptionTabV2H; typedef struct QDragMoveEvent__ { PTRINT dummy; } *QDragMoveEventH; typedef struct QTabWidget__ { PTRINT dummy; } *QTabWidgetH; typedef struct QTableWidgetSelectionRange__ { PTRINT dummy; } *QTableWidgetSelectionRangeH; typedef struct QBrush__ { PTRINT dummy; } *QBrushH; typedef struct QIconEngine__ { PTRINT dummy; } *QIconEngineH; typedef struct QSplitter__ { PTRINT dummy; } *QSplitterH; typedef struct QAbstractTableModel_hook__ { PTRINT dummy; } *QAbstractTableModel_hookH; typedef struct QTableWidgetSelectionRange_hook__ { PTRINT dummy; } *QTableWidgetSelectionRange_hookH; typedef struct QToolBox__ { PTRINT dummy; } *QToolBoxH; typedef struct QGraphicsPolygonItem__ { PTRINT dummy; } *QGraphicsPolygonItemH; typedef struct QTabletEvent__ { PTRINT dummy; } *QTabletEventH; typedef struct QStatusBar_hook__ { PTRINT dummy; } *QStatusBar_hookH; typedef struct QAbstractPrintDialog__ { PTRINT dummy; } *QAbstractPrintDialogH; typedef struct QChar__ { PTRINT dummy; } *QCharH; typedef struct QTransform__ { PTRINT dummy; } *QTransformH; typedef struct QUdpSocket__ { PTRINT dummy; } *QUdpSocketH; typedef struct QClipboard_hook__ { PTRINT dummy; } *QClipboard_hookH; typedef struct QTcpSocket__ { PTRINT dummy; } *QTcpSocketH; typedef struct QStyleOptionProgressBarV2__ { PTRINT dummy; } *QStyleOptionProgressBarV2H; typedef struct QShowEvent__ { PTRINT dummy; } *QShowEventH; typedef struct QPageSetupDialog__ { PTRINT dummy; } *QPageSetupDialogH; typedef struct QPolygonF__ { PTRINT dummy; } *QPolygonFH; typedef struct QLabel_hook__ { PTRINT dummy; } *QLabel_hookH; typedef struct QTabBar__ { PTRINT dummy; } *QTabBarH; typedef struct QNetworkAccessManager_hook__ { PTRINT dummy; } *QNetworkAccessManager_hookH; typedef struct QSplitterHandle_hook__ { PTRINT dummy; } *QSplitterHandle_hookH; typedef struct QSslKey__ { PTRINT dummy; } *QSslKeyH; typedef struct QLCLAbstractScrollArea__ { PTRINT dummy; } *QLCLAbstractScrollAreaH; typedef struct QScrollArea__ { PTRINT dummy; } *QScrollAreaH; typedef struct QProgressDialog__ { PTRINT dummy; } *QProgressDialogH; typedef struct QGroupBox__ { PTRINT dummy; } *QGroupBoxH; typedef struct QPaintEvent__ { PTRINT dummy; } *QPaintEventH; typedef struct QCalendarWidget_hook__ { PTRINT dummy; } *QCalendarWidget_hookH; typedef struct QTcpServer__ { PTRINT dummy; } *QTcpServerH; typedef struct QListWidget__ { PTRINT dummy; } *QListWidgetH; typedef struct QStyleOptionTab__ { PTRINT dummy; } *QStyleOptionTabH; typedef struct QWebDatabase__ { PTRINT dummy; } *QWebDatabaseH; typedef struct QInputDialog__ { PTRINT dummy; } *QInputDialogH; typedef struct QAbstractListModel__ { PTRINT dummy; } *QAbstractListModelH; typedef struct QDynamicPropertyChangeEvent__ { PTRINT dummy; } *QDynamicPropertyChangeEventH; typedef struct QAbstractSpinBox_hook__ { PTRINT dummy; } *QAbstractSpinBox_hookH; typedef struct QGradient__ { PTRINT dummy; } *QGradientH; typedef struct QAbstractListModel_hook__ { PTRINT dummy; } *QAbstractListModel_hookH; typedef struct QGraphicsWidget__ { PTRINT dummy; } *QGraphicsWidgetH; typedef struct QApplication__ { PTRINT dummy; } *QApplicationH; typedef struct QFocusEvent__ { PTRINT dummy; } *QFocusEventH; typedef struct QSslCertificate__ { PTRINT dummy; } *QSslCertificateH; typedef struct QPointF__ { PTRINT dummy; } *QPointFH; typedef struct QAbstractSlider_hook__ { PTRINT dummy; } *QAbstractSlider_hookH; typedef struct QToolButton__ { PTRINT dummy; } *QToolButtonH; typedef struct QListWidget_hook__ { PTRINT dummy; } *QListWidget_hookH; typedef struct QMetaProperty__ { PTRINT dummy; } *QMetaPropertyH; typedef struct QLCLNetworkCookieJar__ { PTRINT dummy; } *QLCLNetworkCookieJarH; typedef struct QDateTime__ { PTRINT dummy; } *QDateTimeH; typedef struct QMouseEvent__ { PTRINT dummy; } *QMouseEventH; typedef struct QSystemLocale__ { PTRINT dummy; } *QSystemLocaleH; typedef struct QGraphicsLineItem__ { PTRINT dummy; } *QGraphicsLineItemH; typedef struct QAbstractTextDocumentLayout__ { PTRINT dummy; } *QAbstractTextDocumentLayoutH; typedef struct QRectF__ { PTRINT dummy; } *QRectFH; typedef struct QPolygon__ { PTRINT dummy; } *QPolygonH; typedef struct QGraphicsProxyWidget__ { PTRINT dummy; } *QGraphicsProxyWidgetH; typedef struct QIODevice_hook__ { PTRINT dummy; } *QIODevice_hookH; typedef struct QStyleOptionRubberBand__ { PTRINT dummy; } *QStyleOptionRubberBandH; typedef struct QShortcut__ { PTRINT dummy; } *QShortcutH; typedef struct QRubberBand__ { PTRINT dummy; } *QRubberBandH; typedef struct QAbstractEventDispatcher__ { PTRINT dummy; } *QAbstractEventDispatcherH; typedef struct QClipboard__ { PTRINT dummy; } *QClipboardH; typedef struct QStyleOptionMenuItem__ { PTRINT dummy; } *QStyleOptionMenuItemH; typedef struct QMenu__ { PTRINT dummy; } *QMenuH; typedef struct QStyleFactory__ { PTRINT dummy; } *QStyleFactoryH; typedef struct QWebFrame_hook__ { PTRINT dummy; } *QWebFrame_hookH; typedef struct QCloseEvent__ { PTRINT dummy; } *QCloseEventH; typedef struct QWSEvent__ { PTRINT dummy; } *QWSEventH; typedef struct QGraphicsItemGroup__ { PTRINT dummy; } *QGraphicsItemGroupH; typedef struct QTableWidgetItem_hook__ { PTRINT dummy; } *QTableWidgetItem_hookH; typedef struct QWebView__ { PTRINT dummy; } *QWebViewH; typedef struct QItemSelectionRange__ { PTRINT dummy; } *QItemSelectionRangeH; typedef struct QMoveEvent__ { PTRINT dummy; } *QMoveEventH; typedef struct QNetworkReply__ { PTRINT dummy; } *QNetworkReplyH; typedef struct QPalette__ { PTRINT dummy; } *QPaletteH; typedef struct QAbstractItemView__ { PTRINT dummy; } *QAbstractItemViewH; typedef struct QTextCursor__ { PTRINT dummy; } *QTextCursorH; typedef struct QAbstractSocket_hook__ { PTRINT dummy; } *QAbstractSocket_hookH; typedef struct QAbstractTextDocumentLayout_hook__ { PTRINT dummy; } *QAbstractTextDocumentLayout_hookH; typedef struct QStandardItem__ { PTRINT dummy; } *QStandardItemH; typedef struct QStyleOptionButton__ { PTRINT dummy; } *QStyleOptionButtonH; typedef struct QDropEvent__ { PTRINT dummy; } *QDropEventH; typedef struct QLCDNumber_hook__ { PTRINT dummy; } *QLCDNumber_hookH; typedef struct QSocketNotifier__ { PTRINT dummy; } *QSocketNotifierH; typedef struct QAbstractNetworkCache__ { PTRINT dummy; } *QAbstractNetworkCacheH; typedef struct QFontMetricsF__ { PTRINT dummy; } *QFontMetricsFH; typedef struct QLayoutItem__ { PTRINT dummy; } *QLayoutItemH; typedef struct QFrame__ { PTRINT dummy; } *QFrameH; typedef struct QHideEvent__ { PTRINT dummy; } *QHideEventH; typedef struct QSocketNotifier_hook__ { PTRINT dummy; } *QSocketNotifier_hookH; typedef struct QStyleOptionQ3ListViewItem__ { PTRINT dummy; } *QStyleOptionQ3ListViewItemH; typedef struct QDesktopWidget__ { PTRINT dummy; } *QDesktopWidgetH; typedef struct QModelIndex_hook__ { PTRINT dummy; } *QModelIndex_hookH; typedef struct QDragLeaveEvent__ { PTRINT dummy; } *QDragLeaveEventH; typedef struct QPrintEngine__ { PTRINT dummy; } *QPrintEngineH; typedef struct QItemSelectionModel_hook__ { PTRINT dummy; } *QItemSelectionModel_hookH; typedef struct QMainWindow__ { PTRINT dummy; } *QMainWindowH; typedef struct QTextTableFormat__ { PTRINT dummy; } *QTextTableFormatH; typedef struct QFlag__ { PTRINT dummy; } *QFlagH; typedef struct QFileDialog_hook__ { PTRINT dummy; } *QFileDialog_hookH; typedef struct QTextInlineObject__ { PTRINT dummy; } *QTextInlineObjectH; typedef struct QRadioButton__ { PTRINT dummy; } *QRadioButtonH; typedef struct QStyleHintReturnMask__ { PTRINT dummy; } *QStyleHintReturnMaskH; typedef struct QWebHistory__ { PTRINT dummy; } *QWebHistoryH; typedef struct QComboBox__ { PTRINT dummy; } *QComboBoxH; typedef struct QTableView__ { PTRINT dummy; } *QTableViewH; typedef struct QTextEdit_hook__ { PTRINT dummy; } *QTextEdit_hookH; typedef struct QGridLayout__ { PTRINT dummy; } *QGridLayoutH; typedef struct QAbstractItemDelegate__ { PTRINT dummy; } *QAbstractItemDelegateH; typedef struct QStyleOptionToolButton__ { PTRINT dummy; } *QStyleOptionToolButtonH; typedef struct QLineEdit_hook__ { PTRINT dummy; } *QLineEdit_hookH; typedef struct QTextBrowser__ { PTRINT dummy; } *QTextBrowserH; typedef struct QFont__ { PTRINT dummy; } *QFontH; typedef struct QAbstractButton_hook__ { PTRINT dummy; } *QAbstractButton_hookH; typedef struct QStyleOptionQ3ListView__ { PTRINT dummy; } *QStyleOptionQ3ListViewH; typedef struct QStackedLayout__ { PTRINT dummy; } *QStackedLayoutH; typedef struct QTextDocumentFragment__ { PTRINT dummy; } *QTextDocumentFragmentH; typedef struct QInputEvent__ { PTRINT dummy; } *QInputEventH; typedef struct QGroupBox_hook__ { PTRINT dummy; } *QGroupBox_hookH; typedef struct QWebSettings__ { PTRINT dummy; } *QWebSettingsH; typedef struct QSlider__ { PTRINT dummy; } *QSliderH; typedef struct QMetaObject__ { PTRINT dummy; } *QMetaObjectH; typedef struct QHostAddress__ { PTRINT dummy; } *QHostAddressH; typedef struct QFileInfo__ { PTRINT dummy; } *QFileInfoH; typedef struct QAuthenticator__ { PTRINT dummy; } *QAuthenticatorH; typedef struct QVBoxLayout__ { PTRINT dummy; } *QVBoxLayoutH; typedef struct QTableWidgetItem__ { PTRINT dummy; } *QTableWidgetItemH; typedef struct QLayout_hook__ { PTRINT dummy; } *QLayout_hookH; typedef struct QStyledItemDelegate__ { PTRINT dummy; } *QStyledItemDelegateH; typedef struct QStyleOptionSizeGrip__ { PTRINT dummy; } *QStyleOptionSizeGripH; typedef struct QBitmap__ { PTRINT dummy; } *QBitmapH; typedef struct QTimerEvent__ { PTRINT dummy; } *QTimerEventH; typedef struct QAbstractItemView_hook__ { PTRINT dummy; } *QAbstractItemView_hookH; typedef struct QTextBlock__ { PTRINT dummy; } *QTextBlockH; typedef struct QButtonGroup_hook__ { PTRINT dummy; } *QButtonGroup_hookH; typedef struct QInputMethodEvent__ { PTRINT dummy; } *QInputMethodEventH; typedef struct QDate__ { PTRINT dummy; } *QDateH; typedef struct QStyleOptionTitleBar__ { PTRINT dummy; } *QStyleOptionTitleBarH; typedef struct QWidget_hook__ { PTRINT dummy; } *QWidget_hookH; typedef struct QDockWidget__ { PTRINT dummy; } *QDockWidgetH; typedef struct QLine__ { PTRINT dummy; } *QLineH; typedef struct QWebFrame__ { PTRINT dummy; } *QWebFrameH; typedef struct QObject_hook__ { PTRINT dummy; } *QObject_hookH; typedef struct QTextBlockGroup__ { PTRINT dummy; } *QTextBlockGroupH; typedef struct QPrintPreviewDialog__ { PTRINT dummy; } *QPrintPreviewDialogH; typedef struct QStyleOptionViewItem__ { PTRINT dummy; } *QStyleOptionViewItemH; typedef struct QStyleOptionTabBarBaseV2__ { PTRINT dummy; } *QStyleOptionTabBarBaseV2H; typedef struct QButtonGroup__ { PTRINT dummy; } *QButtonGroupH; typedef struct QTextBrowser_hook__ { PTRINT dummy; } *QTextBrowser_hookH; typedef struct QShortcut_hook__ { PTRINT dummy; } *QShortcut_hookH; typedef struct QSysInfo__ { PTRINT dummy; } *QSysInfoH; typedef struct QListView_hook__ { PTRINT dummy; } *QListView_hookH; typedef struct QStyleOptionGroupBox__ { PTRINT dummy; } *QStyleOptionGroupBoxH; typedef struct QHelpEvent__ { PTRINT dummy; } *QHelpEventH; typedef struct QProgressBar_hook__ { PTRINT dummy; } *QProgressBar_hookH; typedef struct QTreeWidgetItem__ { PTRINT dummy; } *QTreeWidgetItemH; typedef struct QWebHistoryInterface__ { PTRINT dummy; } *QWebHistoryInterfaceH; typedef struct QChildEvent__ { PTRINT dummy; } *QChildEventH; typedef struct QGraphicsItem__ { PTRINT dummy; } *QGraphicsItemH; typedef struct QKeyEvent__ { PTRINT dummy; } *QKeyEventH; typedef struct QAction__ { PTRINT dummy; } *QActionH; typedef struct QItemSelectionModel__ { PTRINT dummy; } *QItemSelectionModelH; typedef struct QLCLItemDelegate__ { PTRINT dummy; } *QLCLItemDelegateH; typedef struct QDrag_hook__ { PTRINT dummy; } *QDrag_hookH; typedef struct QStyleOptionToolBoxV2__ { PTRINT dummy; } *QStyleOptionToolBoxV2H; typedef struct QBoxLayout__ { PTRINT dummy; } *QBoxLayoutH; typedef struct QTimer_hook__ { PTRINT dummy; } *QTimer_hookH; typedef struct QStyleOptionSpinBox__ { PTRINT dummy; } *QStyleOptionSpinBoxH; typedef struct QIcon__ { PTRINT dummy; } *QIconH; typedef struct QPlainTextEdit__ { PTRINT dummy; } *QPlainTextEditH; typedef struct QLineF__ { PTRINT dummy; } *QLineFH; typedef struct QWindowStateChangeEvent__ { PTRINT dummy; } *QWindowStateChangeEventH; typedef struct QFrame_hook__ { PTRINT dummy; } *QFrame_hookH; typedef struct QStyleOptionFrameV3__ { PTRINT dummy; } *QStyleOptionFrameV3H; typedef struct QStyleOptionFrameV2__ { PTRINT dummy; } *QStyleOptionFrameV2H; typedef struct QAbstractScrollArea_hook__ { PTRINT dummy; } *QAbstractScrollArea_hookH; typedef struct QFileDialog__ { PTRINT dummy; } *QFileDialogH; typedef struct QWebDatabase_hook__ { PTRINT dummy; } *QWebDatabase_hookH; typedef struct QAbstractProxyModel__ { PTRINT dummy; } *QAbstractProxyModelH; typedef struct QTranslator__ { PTRINT dummy; } *QTranslatorH; typedef struct QObject__ { PTRINT dummy; } *QObjectH; typedef struct QRegExpValidator__ { PTRINT dummy; } *QRegExpValidatorH; typedef struct QFontDialog__ { PTRINT dummy; } *QFontDialogH; typedef struct QAbstractSocket__ { PTRINT dummy; } *QAbstractSocketH; typedef struct QLabel__ { PTRINT dummy; } *QLabelH; typedef struct QStyleOptionToolBar__ { PTRINT dummy; } *QStyleOptionToolBarH; typedef struct QStyleOptionTabWidgetFrame__ { PTRINT dummy; } *QStyleOptionTabWidgetFrameH; typedef struct QPen__ { PTRINT dummy; } *QPenH; typedef struct QIODevice__ { PTRINT dummy; } *QIODeviceH; typedef struct QMetaMethod__ { PTRINT dummy; } *QMetaMethodH; typedef struct QResizeEvent__ { PTRINT dummy; } *QResizeEventH; typedef struct QMenuBar__ { PTRINT dummy; } *QMenuBarH; typedef struct QNetworkAccessManager__ { PTRINT dummy; } *QNetworkAccessManagerH; typedef struct QShortcutEvent__ { PTRINT dummy; } *QShortcutEventH; typedef struct QPushButton_hook__ { PTRINT dummy; } *QPushButton_hookH; typedef struct QTextTable__ { PTRINT dummy; } *QTextTableH; typedef struct QGraphicsSimpleTextItem__ { PTRINT dummy; } *QGraphicsSimpleTextItemH; typedef struct QSplitterHandle__ { PTRINT dummy; } *QSplitterHandleH; typedef struct QCalendarWidget__ { PTRINT dummy; } *QCalendarWidgetH; typedef struct QFileSystemWatcher_hook__ { PTRINT dummy; } *QFileSystemWatcher_hookH; typedef struct QDockWidget_hook__ { PTRINT dummy; } *QDockWidget_hookH; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qclipboard_hook_c.h0000664000212600021260000000204011677135472020642 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCLIPBOARD_HOOK_C_H #define QCLIPBOARD_HOOK_C_H #include "qclipboard_hook.h" C_EXPORT QClipboard_hookH QClipboard_hook_create(QObjectH handle); C_EXPORT void QClipboard_hook_destroy(QClipboard_hookH handle); C_EXPORT void QClipboard_hook_hook_changed(QClipboard_hookH handle, QHookH hook); C_EXPORT void QClipboard_hook_hook_selectionChanged(QClipboard_hookH handle, QHookH hook); C_EXPORT void QClipboard_hook_hook_findBufferChanged(QClipboard_hookH handle, QHookH hook); C_EXPORT void QClipboard_hook_hook_dataChanged(QClipboard_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstringlist_c.h0000664000212600021260000000534411677135472020077 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTRINGLIST_C_H #define QSTRINGLIST_C_H #include #include "pascalbind.h" C_EXPORT QStringListH QStringList_create(); C_EXPORT void QStringList_destroy(QStringListH handle); C_EXPORT QStringListH QStringList_create2(PWideString i); C_EXPORT QStringListH QStringList_create3(const QStringListH l); C_EXPORT void QStringList_sort(QStringListH handle); C_EXPORT int QStringList_removeDuplicates(QStringListH handle); C_EXPORT void QStringList_join(QStringListH handle, PWideString retval, PWideString sep); C_EXPORT void QStringList_filter(QStringListH handle, QStringListH retval, PWideString str, Qt::CaseSensitivity cs); C_EXPORT QBool QStringList_contains(QStringListH handle, PWideString str, Qt::CaseSensitivity cs); C_EXPORT QStringListH QStringList_replaceInStrings(QStringListH handle, PWideString before, PWideString after, Qt::CaseSensitivity cs); C_EXPORT void QStringList_filter2(QStringListH handle, QStringListH retval, const QRegExpH rx); C_EXPORT QStringListH QStringList_replaceInStrings2(QStringListH handle, const QRegExpH rx, PWideString after); C_EXPORT int QStringList_indexOf(QStringListH handle, const QRegExpH rx, int from); C_EXPORT int QStringList_lastIndexOf(QStringListH handle, const QRegExpH rx, int from); C_EXPORT int QStringList_size(QStringListH handle); C_EXPORT bool QStringList_isEmpty(QStringListH handle); C_EXPORT void QStringList_clear(QStringListH handle); C_EXPORT void QStringList_at(QStringListH handle, PWideString retval, int i); C_EXPORT void QStringList_append(QStringListH handle, PWideString s); C_EXPORT void QStringList_prepend(QStringListH handle, PWideString s); C_EXPORT void QStringList_insert(QStringListH handle, int i, PWideString s); C_EXPORT void QStringList_replace(QStringListH handle, int i, PWideString s); C_EXPORT void QStringList_removeAt(QStringListH handle, int i); C_EXPORT int QStringList_removeAll(QStringListH handle, PWideString s); C_EXPORT void QStringList_takeAt(QStringListH handle, PWideString retval, int i); C_EXPORT void QStringList_takeFirst(QStringListH handle, PWideString retval); C_EXPORT void QStringList_takeLast(QStringListH handle, PWideString retval); C_EXPORT void QStringList_move(QStringListH handle, int from, int to); C_EXPORT void QStringList_swap(QStringListH handle, int i, int j); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstracteventdispatcher_c.cpp0000664000212600021260000000634111677135472023142 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstracteventdispatcher_c.h" QAbstractEventDispatcherH QAbstractEventDispatcher_instance(QThreadH thread) { return (QAbstractEventDispatcherH) QAbstractEventDispatcher::instance((QThread*)thread); } bool QAbstractEventDispatcher_processEvents(QAbstractEventDispatcherH handle, unsigned int flags) { return (bool) ((QAbstractEventDispatcher *)handle)->processEvents((QEventLoop::ProcessEventsFlags)flags); } bool QAbstractEventDispatcher_hasPendingEvents(QAbstractEventDispatcherH handle) { return (bool) ((QAbstractEventDispatcher *)handle)->hasPendingEvents(); } void QAbstractEventDispatcher_registerSocketNotifier(QAbstractEventDispatcherH handle, QSocketNotifierH notifier) { ((QAbstractEventDispatcher *)handle)->registerSocketNotifier((QSocketNotifier*)notifier); } void QAbstractEventDispatcher_unregisterSocketNotifier(QAbstractEventDispatcherH handle, QSocketNotifierH notifier) { ((QAbstractEventDispatcher *)handle)->unregisterSocketNotifier((QSocketNotifier*)notifier); } int QAbstractEventDispatcher_registerTimer(QAbstractEventDispatcherH handle, int interval, QObjectH object) { return (int) ((QAbstractEventDispatcher *)handle)->registerTimer(interval, (QObject*)object); } void QAbstractEventDispatcher_registerTimer2(QAbstractEventDispatcherH handle, int timerId, int interval, QObjectH object) { ((QAbstractEventDispatcher *)handle)->registerTimer(timerId, interval, (QObject*)object); } bool QAbstractEventDispatcher_unregisterTimer(QAbstractEventDispatcherH handle, int timerId) { return (bool) ((QAbstractEventDispatcher *)handle)->unregisterTimer(timerId); } bool QAbstractEventDispatcher_unregisterTimers(QAbstractEventDispatcherH handle, QObjectH object) { return (bool) ((QAbstractEventDispatcher *)handle)->unregisterTimers((QObject*)object); } void QAbstractEventDispatcher_wakeUp(QAbstractEventDispatcherH handle) { ((QAbstractEventDispatcher *)handle)->wakeUp(); } void QAbstractEventDispatcher_interrupt(QAbstractEventDispatcherH handle) { ((QAbstractEventDispatcher *)handle)->interrupt(); } void QAbstractEventDispatcher_flush(QAbstractEventDispatcherH handle) { ((QAbstractEventDispatcher *)handle)->flush(); } void QAbstractEventDispatcher_startingUp(QAbstractEventDispatcherH handle) { ((QAbstractEventDispatcher *)handle)->startingUp(); } void QAbstractEventDispatcher_closingDown(QAbstractEventDispatcherH handle) { ((QAbstractEventDispatcher *)handle)->closingDown(); } EventFilter2 QAbstractEventDispatcher_setEventFilter(QAbstractEventDispatcherH handle, EventFilter2 filter) { return (EventFilter2) ((QAbstractEventDispatcher *)handle)->setEventFilter(filter); } bool QAbstractEventDispatcher_filterEvent(QAbstractEventDispatcherH handle, void* message) { return (bool) ((QAbstractEventDispatcher *)handle)->filterEvent(message); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qrubberband_c.h0000664000212600021260000000232111677135472017773 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QRUBBERBAND_C_H #define QRUBBERBAND_C_H #include #include "pascalbind.h" C_EXPORT QRubberBandH QRubberBand_create(QRubberBand::Shape AnonParam1, QWidgetH AnonParam2); C_EXPORT void QRubberBand_destroy(QRubberBandH handle); C_EXPORT QRubberBand::Shape QRubberBand_shape(QRubberBandH handle); C_EXPORT void QRubberBand_setGeometry(QRubberBandH handle, PRect r); C_EXPORT void QRubberBand_setGeometry2(QRubberBandH handle, int x, int y, int w, int h); C_EXPORT void QRubberBand_move(QRubberBandH handle, int x, int y); C_EXPORT void QRubberBand_move2(QRubberBandH handle, const QPointH p); C_EXPORT void QRubberBand_resize(QRubberBandH handle, int w, int h); C_EXPORT void QRubberBand_resize2(QRubberBandH handle, const QSizeH s); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qthread_hook_c.h0000664000212600021260000000162411677135472020161 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTHREAD_HOOK_C_H #define QTHREAD_HOOK_C_H #include "qthread_hook.h" C_EXPORT QThread_hookH QThread_hook_create(QObjectH handle); C_EXPORT void QThread_hook_destroy(QThread_hookH handle); C_EXPORT void QThread_hook_hook_started(QThread_hookH handle, QHookH hook); C_EXPORT void QThread_hook_hook_finished(QThread_hookH handle, QHookH hook); C_EXPORT void QThread_hook_hook_terminated(QThread_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdesktopwidget_hook_c.h0000664000212600021260000000163111677135472021565 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDESKTOPWIDGET_HOOK_C_H #define QDESKTOPWIDGET_HOOK_C_H #include "qdesktopwidget_hook.h" C_EXPORT QDesktopWidget_hookH QDesktopWidget_hook_create(QObjectH handle); C_EXPORT void QDesktopWidget_hook_destroy(QDesktopWidget_hookH handle); C_EXPORT void QDesktopWidget_hook_hook_resized(QDesktopWidget_hookH handle, QHookH hook); C_EXPORT void QDesktopWidget_hook_hook_workAreaResized(QDesktopWidget_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractspinbox_hook_c.h0000664000212600021260000000152111677135472022114 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTSPINBOX_HOOK_C_H #define QABSTRACTSPINBOX_HOOK_C_H #include "qabstractspinbox_hook.h" C_EXPORT QAbstractSpinBox_hookH QAbstractSpinBox_hook_create(QObjectH handle); C_EXPORT void QAbstractSpinBox_hook_destroy(QAbstractSpinBox_hookH handle); C_EXPORT void QAbstractSpinBox_hook_hook_editingFinished(QAbstractSpinBox_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmenubar_hook.h0000664000212600021260000000365011677135472020042 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMENUBAR_HOOK_H #define QMENUBAR_HOOK_H #include #include "qwidget_hook.h" class QMenuBar_hook : public QWidget_hook { Q_OBJECT public: QMenuBar_hook(QObject *handle) : QWidget_hook(handle) { triggered_event.func = NULL; hovered_event.func = NULL; } void hook_triggered(QHook &hook) { if ( !triggered_event.func ) connect(handle, SIGNAL(triggered(QAction*)), this, SLOT(triggered_hook(QAction*))); triggered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(triggered(QAction*)), this, SLOT(triggered_hook(QAction*))); } void hook_hovered(QHook &hook) { if ( !hovered_event.func ) connect(handle, SIGNAL(hovered(QAction*)), this, SLOT(hovered_hook(QAction*))); hovered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(hovered(QAction*)), this, SLOT(hovered_hook(QAction*))); } private slots: void triggered_hook(QAction* action) { if ( triggered_event.func ) { typedef void (*func_type)(void *data, QActionH action); (*(func_type)triggered_event.func)(triggered_event.data, (QActionH)action); } } void hovered_hook(QAction* action) { if ( hovered_event.func ) { typedef void (*func_type)(void *data, QActionH action); (*(func_type)hovered_event.func)(hovered_event.data, (QActionH)action); } } private: QHook triggered_event; QHook hovered_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlistview_hook.h0000664000212600021260000000136411677135472020257 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLISTVIEW_HOOK_H #define QLISTVIEW_HOOK_H #include #include "qabstractitemview_hook.h" class QListView_hook : public QAbstractItemView_hook { Q_OBJECT public: QListView_hook(QObject *handle) : QAbstractItemView_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcheckbox_c.h0000664000212600021260000000207611677135472017462 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCHECKBOX_C_H #define QCHECKBOX_C_H #include #include "pascalbind.h" C_EXPORT QCheckBoxH QCheckBox_create(QWidgetH parent); C_EXPORT void QCheckBox_destroy(QCheckBoxH handle); C_EXPORT QCheckBoxH QCheckBox_create2(PWideString text, QWidgetH parent); C_EXPORT void QCheckBox_sizeHint(QCheckBoxH handle, PSize retval); C_EXPORT void QCheckBox_setTristate(QCheckBoxH handle, bool y); C_EXPORT bool QCheckBox_isTristate(QCheckBoxH handle); C_EXPORT Qt::CheckState QCheckBox_checkState(QCheckBoxH handle); C_EXPORT void QCheckBox_setCheckState(QCheckBoxH handle, Qt::CheckState state); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsslsocket_c.cpp0000664000212600021260000001454411677135472020244 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsslsocket_c.h" QSslSocketH QSslSocket_create(QObjectH parent) { return (QSslSocketH) new QSslSocket((QObject*)parent); } void QSslSocket_destroy(QSslSocketH handle) { delete (QSslSocket *)handle; } void QSslSocket_connectToHostEncrypted(QSslSocketH handle, PWideString hostName, quint16 port, unsigned int mode) { QString t_hostName; copyPWideStringToQString(hostName, t_hostName); ((QSslSocket *)handle)->connectToHostEncrypted(t_hostName, port, (QIODevice::OpenMode)mode); } QSslSocket::SslMode QSslSocket_mode(QSslSocketH handle) { return (QSslSocket::SslMode) ((QSslSocket *)handle)->mode(); } bool QSslSocket_isEncrypted(QSslSocketH handle) { return (bool) ((QSslSocket *)handle)->isEncrypted(); } QSsl::SslProtocol QSslSocket_protocol(QSslSocketH handle) { return (QSsl::SslProtocol) ((QSslSocket *)handle)->protocol(); } void QSslSocket_setProtocol(QSslSocketH handle, QSsl::SslProtocol protocol) { ((QSslSocket *)handle)->setProtocol(protocol); } QSslSocket::PeerVerifyMode QSslSocket_peerVerifyMode(QSslSocketH handle) { return (QSslSocket::PeerVerifyMode) ((QSslSocket *)handle)->peerVerifyMode(); } void QSslSocket_setPeerVerifyMode(QSslSocketH handle, QSslSocket::PeerVerifyMode mode) { ((QSslSocket *)handle)->setPeerVerifyMode(mode); } int QSslSocket_peerVerifyDepth(QSslSocketH handle) { return (int) ((QSslSocket *)handle)->peerVerifyDepth(); } void QSslSocket_setPeerVerifyDepth(QSslSocketH handle, int depth) { ((QSslSocket *)handle)->setPeerVerifyDepth(depth); } qint64 QSslSocket_bytesAvailable(QSslSocketH handle) { return (qint64) ((QSslSocket *)handle)->bytesAvailable(); } qint64 QSslSocket_bytesToWrite(QSslSocketH handle) { return (qint64) ((QSslSocket *)handle)->bytesToWrite(); } bool QSslSocket_canReadLine(QSslSocketH handle) { return (bool) ((QSslSocket *)handle)->canReadLine(); } void QSslSocket_close(QSslSocketH handle) { ((QSslSocket *)handle)->close(); } bool QSslSocket_atEnd(QSslSocketH handle) { return (bool) ((QSslSocket *)handle)->atEnd(); } bool QSslSocket_flush(QSslSocketH handle) { return (bool) ((QSslSocket *)handle)->flush(); } void QSslSocket_abort(QSslSocketH handle) { ((QSslSocket *)handle)->abort(); } void QSslSocket_setReadBufferSize(QSslSocketH handle, qint64 size) { ((QSslSocket *)handle)->setReadBufferSize(size); } qint64 QSslSocket_encryptedBytesAvailable(QSslSocketH handle) { return (qint64) ((QSslSocket *)handle)->encryptedBytesAvailable(); } qint64 QSslSocket_encryptedBytesToWrite(QSslSocketH handle) { return (qint64) ((QSslSocket *)handle)->encryptedBytesToWrite(); } void QSslSocket_sslConfiguration(QSslSocketH handle, QSslConfigurationH retval) { *(QSslConfiguration *)retval = ((QSslSocket *)handle)->sslConfiguration(); } void QSslSocket_setSslConfiguration(QSslSocketH handle, const QSslConfigurationH config) { ((QSslSocket *)handle)->setSslConfiguration(*(const QSslConfiguration*)config); } void QSslSocket_setLocalCertificate(QSslSocketH handle, const QSslCertificateH certificate) { ((QSslSocket *)handle)->setLocalCertificate(*(const QSslCertificate*)certificate); } void QSslSocket_setLocalCertificate2(QSslSocketH handle, PWideString fileName, QSsl::EncodingFormat format) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); ((QSslSocket *)handle)->setLocalCertificate(t_fileName, format); } void QSslSocket_localCertificate(QSslSocketH handle, QSslCertificateH retval) { *(QSslCertificate *)retval = ((QSslSocket *)handle)->localCertificate(); } void QSslSocket_peerCertificate(QSslSocketH handle, QSslCertificateH retval) { *(QSslCertificate *)retval = ((QSslSocket *)handle)->peerCertificate(); } void QSslSocket_sessionCipher(QSslSocketH handle, QSslCipherH retval) { *(QSslCipher *)retval = ((QSslSocket *)handle)->sessionCipher(); } void QSslSocket_setPrivateKey(QSslSocketH handle, const QSslKeyH key) { ((QSslSocket *)handle)->setPrivateKey(*(const QSslKey*)key); } void QSslSocket_setPrivateKey2(QSslSocketH handle, PWideString fileName, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, const QByteArrayH passPhrase) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); ((QSslSocket *)handle)->setPrivateKey(t_fileName, algorithm, format, *(const QByteArray*)passPhrase); } void QSslSocket_privateKey(QSslSocketH handle, QSslKeyH retval) { *(QSslKey *)retval = ((QSslSocket *)handle)->privateKey(); } void QSslSocket_setCiphers(QSslSocketH handle, PWideString ciphers) { QString t_ciphers; copyPWideStringToQString(ciphers, t_ciphers); ((QSslSocket *)handle)->setCiphers(t_ciphers); } void QSslSocket_addCaCertificate(QSslSocketH handle, const QSslCertificateH certificate) { ((QSslSocket *)handle)->addCaCertificate(*(const QSslCertificate*)certificate); } void QSslSocket_addDefaultCaCertificate(const QSslCertificateH certificate) { QSslSocket::addDefaultCaCertificate(*(const QSslCertificate*)certificate); } bool QSslSocket_waitForConnected(QSslSocketH handle, int msecs) { return (bool) ((QSslSocket *)handle)->waitForConnected(msecs); } bool QSslSocket_waitForEncrypted(QSslSocketH handle, int msecs) { return (bool) ((QSslSocket *)handle)->waitForEncrypted(msecs); } bool QSslSocket_waitForReadyRead(QSslSocketH handle, int msecs) { return (bool) ((QSslSocket *)handle)->waitForReadyRead(msecs); } bool QSslSocket_waitForBytesWritten(QSslSocketH handle, int msecs) { return (bool) ((QSslSocket *)handle)->waitForBytesWritten(msecs); } bool QSslSocket_waitForDisconnected(QSslSocketH handle, int msecs) { return (bool) ((QSslSocket *)handle)->waitForDisconnected(msecs); } bool QSslSocket_supportsSsl() { return (bool) QSslSocket::supportsSsl(); } void QSslSocket_startClientEncryption(QSslSocketH handle) { ((QSslSocket *)handle)->startClientEncryption(); } void QSslSocket_startServerEncryption(QSslSocketH handle) { ((QSslSocket *)handle)->startServerEncryption(); } void QSslSocket_ignoreSslErrors(QSslSocketH handle) { ((QSslSocket *)handle)->ignoreSslErrors(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractsocket_c.cpp0000664000212600021260000001137211677135472021242 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractsocket_c.h" QAbstractSocketH QAbstractSocket_create(QAbstractSocket::SocketType socketType, QObjectH parent) { return (QAbstractSocketH) new QAbstractSocket(socketType, (QObject*)parent); } void QAbstractSocket_destroy(QAbstractSocketH handle) { delete (QAbstractSocket *)handle; } void QAbstractSocket_connectToHost(QAbstractSocketH handle, PWideString hostName, quint16 port, unsigned int mode) { QString t_hostName; copyPWideStringToQString(hostName, t_hostName); ((QAbstractSocket *)handle)->connectToHost(t_hostName, port, (QIODevice::OpenMode)mode); } void QAbstractSocket_connectToHost2(QAbstractSocketH handle, const QHostAddressH address, quint16 port, unsigned int mode) { ((QAbstractSocket *)handle)->connectToHost(*(const QHostAddress*)address, port, (QIODevice::OpenMode)mode); } void QAbstractSocket_disconnectFromHost(QAbstractSocketH handle) { ((QAbstractSocket *)handle)->disconnectFromHost(); } bool QAbstractSocket_isValid(QAbstractSocketH handle) { return (bool) ((QAbstractSocket *)handle)->isValid(); } qint64 QAbstractSocket_bytesAvailable(QAbstractSocketH handle) { return (qint64) ((QAbstractSocket *)handle)->bytesAvailable(); } qint64 QAbstractSocket_bytesToWrite(QAbstractSocketH handle) { return (qint64) ((QAbstractSocket *)handle)->bytesToWrite(); } bool QAbstractSocket_canReadLine(QAbstractSocketH handle) { return (bool) ((QAbstractSocket *)handle)->canReadLine(); } quint16 QAbstractSocket_localPort(QAbstractSocketH handle) { return (quint16) ((QAbstractSocket *)handle)->localPort(); } void QAbstractSocket_localAddress(QAbstractSocketH handle, QHostAddressH retval) { *(QHostAddress *)retval = ((QAbstractSocket *)handle)->localAddress(); } quint16 QAbstractSocket_peerPort(QAbstractSocketH handle) { return (quint16) ((QAbstractSocket *)handle)->peerPort(); } void QAbstractSocket_peerAddress(QAbstractSocketH handle, QHostAddressH retval) { *(QHostAddress *)retval = ((QAbstractSocket *)handle)->peerAddress(); } void QAbstractSocket_peerName(QAbstractSocketH handle, PWideString retval) { QString t_retval; t_retval = ((QAbstractSocket *)handle)->peerName(); copyQStringToPWideString(t_retval, retval); } qint64 QAbstractSocket_readBufferSize(QAbstractSocketH handle) { return (qint64) ((QAbstractSocket *)handle)->readBufferSize(); } void QAbstractSocket_setReadBufferSize(QAbstractSocketH handle, qint64 size) { ((QAbstractSocket *)handle)->setReadBufferSize(size); } void QAbstractSocket_abort(QAbstractSocketH handle) { ((QAbstractSocket *)handle)->abort(); } int QAbstractSocket_socketDescriptor(QAbstractSocketH handle) { return (int) ((QAbstractSocket *)handle)->socketDescriptor(); } QAbstractSocket::SocketType QAbstractSocket_socketType(QAbstractSocketH handle) { return (QAbstractSocket::SocketType) ((QAbstractSocket *)handle)->socketType(); } QAbstractSocket::SocketError QAbstractSocket_error(QAbstractSocketH handle) { return (QAbstractSocket::SocketError) ((QAbstractSocket *)handle)->error(); } void QAbstractSocket_close(QAbstractSocketH handle) { ((QAbstractSocket *)handle)->close(); } bool QAbstractSocket_isSequential(QAbstractSocketH handle) { return (bool) ((QAbstractSocket *)handle)->isSequential(); } bool QAbstractSocket_atEnd(QAbstractSocketH handle) { return (bool) ((QAbstractSocket *)handle)->atEnd(); } bool QAbstractSocket_flush(QAbstractSocketH handle) { return (bool) ((QAbstractSocket *)handle)->flush(); } bool QAbstractSocket_waitForConnected(QAbstractSocketH handle, int msecs) { return (bool) ((QAbstractSocket *)handle)->waitForConnected(msecs); } bool QAbstractSocket_waitForReadyRead(QAbstractSocketH handle, int msecs) { return (bool) ((QAbstractSocket *)handle)->waitForReadyRead(msecs); } bool QAbstractSocket_waitForBytesWritten(QAbstractSocketH handle, int msecs) { return (bool) ((QAbstractSocket *)handle)->waitForBytesWritten(msecs); } bool QAbstractSocket_waitForDisconnected(QAbstractSocketH handle, int msecs) { return (bool) ((QAbstractSocket *)handle)->waitForDisconnected(msecs); } void QAbstractSocket_setProxy(QAbstractSocketH handle, const QNetworkProxyH networkProxy) { ((QAbstractSocket *)handle)->setProxy(*(const QNetworkProxy*)networkProxy); } void QAbstractSocket_proxy(QAbstractSocketH handle, QNetworkProxyH retval) { *(QNetworkProxy *)retval = ((QAbstractSocket *)handle)->proxy(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemdelegate_c.cpp0000664000212600021260000000627011677135472022404 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractitemdelegate_c.h" void QAbstractItemDelegate_paint(QAbstractItemDelegateH handle, QPainterH painter, const QStyleOptionViewItemH option, const QModelIndexH index) { ((QAbstractItemDelegate *)handle)->paint((QPainter*)painter, *(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } void QAbstractItemDelegate_sizeHint(QAbstractItemDelegateH handle, PSize retval, const QStyleOptionViewItemH option, const QModelIndexH index) { *(QSize *)retval = ((QAbstractItemDelegate *)handle)->sizeHint(*(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } QWidgetH QAbstractItemDelegate_createEditor(QAbstractItemDelegateH handle, QWidgetH parent, const QStyleOptionViewItemH option, const QModelIndexH index) { return (QWidgetH) ((QAbstractItemDelegate *)handle)->createEditor((QWidget*)parent, *(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } void QAbstractItemDelegate_setEditorData(QAbstractItemDelegateH handle, QWidgetH editor, const QModelIndexH index) { ((QAbstractItemDelegate *)handle)->setEditorData((QWidget*)editor, *(const QModelIndex*)index); } void QAbstractItemDelegate_setModelData(QAbstractItemDelegateH handle, QWidgetH editor, QAbstractItemModelH model, const QModelIndexH index) { ((QAbstractItemDelegate *)handle)->setModelData((QWidget*)editor, (QAbstractItemModel*)model, *(const QModelIndex*)index); } void QAbstractItemDelegate_updateEditorGeometry(QAbstractItemDelegateH handle, QWidgetH editor, const QStyleOptionViewItemH option, const QModelIndexH index) { ((QAbstractItemDelegate *)handle)->updateEditorGeometry((QWidget*)editor, *(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } bool QAbstractItemDelegate_editorEvent(QAbstractItemDelegateH handle, QEventH event, QAbstractItemModelH model, const QStyleOptionViewItemH option, const QModelIndexH index) { return (bool) ((QAbstractItemDelegate *)handle)->editorEvent((QEvent*)event, (QAbstractItemModel*)model, *(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } void QAbstractItemDelegate_elidedText(PWideString retval, const QFontMetricsH fontMetrics, int width, Qt::TextElideMode mode, PWideString text) { QString t_retval; QString t_text; copyPWideStringToQString(text, t_text); t_retval = QAbstractItemDelegate::elidedText(*(const QFontMetrics*)fontMetrics, width, mode, t_text); copyQStringToPWideString(t_retval, retval); } bool QAbstractItemDelegate_helpEvent(QAbstractItemDelegateH handle, QHelpEventH event, QAbstractItemViewH view, const QStyleOptionViewItemH option, const QModelIndexH index) { return (bool) ((QAbstractItemDelegate *)handle)->helpEvent((QHelpEvent*)event, (QAbstractItemView*)view, *(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclwebview.h0000644000212600021260000000173711677135472017536 0ustar janjan#ifndef QLCLWEBVIEW_H #define QLCLWEBVIEW_H #include #include "pascalbind.h" class QLCLWebView : public QWebView { public: //==================================================================================== QLCLWebView(QWidget * parent = 0 ) : QWebView(parent) { createWindowOverride.func = NULL; }; //==================================================================================== void override_createWindow(const QOverrideHook hook) { createWindowOverride = hook; }; protected: QWebView *createWindow ( QWebPage::WebWindowType type ) { if (createWindowOverride.func) { typedef QWebView * (*func_type)(void *data, QWebPage::WebWindowType type); return (*(func_type)createWindowOverride.func)(createWindowOverride.data, type); } else return QWebView::createWindow(type); }; private: //==================================================================================== QHook createWindowOverride; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qshortcut_c.cpp0000664000212600021260000000456711677135472020111 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qshortcut_c.h" QShortcutH QShortcut_create(QWidgetH parent) { return (QShortcutH) new QShortcut((QWidget*)parent); } void QShortcut_destroy(QShortcutH handle) { delete (QShortcut *)handle; } QShortcutH QShortcut_create2(const QKeySequenceH key, QWidgetH parent, const char* member, const char* ambiguousMember, Qt::ShortcutContext context) { return (QShortcutH) new QShortcut(*(const QKeySequence*)key, (QWidget*)parent, member, ambiguousMember, context); } void QShortcut_setKey(QShortcutH handle, const QKeySequenceH key) { ((QShortcut *)handle)->setKey(*(const QKeySequence*)key); } void QShortcut_key(QShortcutH handle, QKeySequenceH retval) { *(QKeySequence *)retval = ((QShortcut *)handle)->key(); } void QShortcut_setEnabled(QShortcutH handle, bool enable) { ((QShortcut *)handle)->setEnabled(enable); } bool QShortcut_isEnabled(QShortcutH handle) { return (bool) ((QShortcut *)handle)->isEnabled(); } void QShortcut_setContext(QShortcutH handle, Qt::ShortcutContext context) { ((QShortcut *)handle)->setContext(context); } Qt::ShortcutContext QShortcut_context(QShortcutH handle) { return (Qt::ShortcutContext) ((QShortcut *)handle)->context(); } void QShortcut_setWhatsThis(QShortcutH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QShortcut *)handle)->setWhatsThis(t_text); } void QShortcut_whatsThis(QShortcutH handle, PWideString retval) { QString t_retval; t_retval = ((QShortcut *)handle)->whatsThis(); copyQStringToPWideString(t_retval, retval); } void QShortcut_setAutoRepeat(QShortcutH handle, bool on) { ((QShortcut *)handle)->setAutoRepeat(on); } bool QShortcut_autoRepeat(QShortcutH handle) { return (bool) ((QShortcut *)handle)->autoRepeat(); } int QShortcut_id(QShortcutH handle) { return (int) ((QShortcut *)handle)->id(); } QWidgetH QShortcut_parentWidget(QShortcutH handle) { return (QWidgetH) ((QShortcut *)handle)->parentWidget(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qactiongroup_hook_c.cpp0000664000212600021260000000220211677135472021570 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qactiongroup_hook_c.h" QActionGroup_hookH QActionGroup_hook_create(QObjectH handle) { return (QActionGroup_hookH) new QActionGroup_hook((QObject*)handle); } void QActionGroup_hook_destroy(QActionGroup_hookH handle) { delete (QActionGroup_hook *)handle; } void QActionGroup_hook_hook_triggered(QActionGroup_hookH handle, QHookH hook) { ((QActionGroup_hook *)handle)->hook_triggered(hook); } void QActionGroup_hook_hook_selected(QActionGroup_hookH handle, QHookH hook) { ((QActionGroup_hook *)handle)->hook_selected(hook); } void QActionGroup_hook_hook_hovered(QActionGroup_hookH handle, QHookH hook) { ((QActionGroup_hook *)handle)->hook_hovered(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextbrowser_c.cpp0000664000212600021260000000632611677135472020621 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtextbrowser_c.h" QTextBrowserH QTextBrowser_create(QWidgetH parent) { return (QTextBrowserH) new QTextBrowser((QWidget*)parent); } void QTextBrowser_destroy(QTextBrowserH handle) { delete (QTextBrowser *)handle; } void QTextBrowser_source(QTextBrowserH handle, QUrlH retval) { *(QUrl *)retval = ((QTextBrowser *)handle)->source(); } void QTextBrowser_searchPaths(QTextBrowserH handle, QStringListH retval) { *(QStringList *)retval = ((QTextBrowser *)handle)->searchPaths(); } void QTextBrowser_setSearchPaths(QTextBrowserH handle, const QStringListH paths) { ((QTextBrowser *)handle)->setSearchPaths(*(const QStringList*)paths); } void QTextBrowser_loadResource(QTextBrowserH handle, QVariantH retval, int type, const QUrlH name) { *(QVariant *)retval = ((QTextBrowser *)handle)->loadResource(type, *(const QUrl*)name); } bool QTextBrowser_isBackwardAvailable(QTextBrowserH handle) { return (bool) ((QTextBrowser *)handle)->isBackwardAvailable(); } bool QTextBrowser_isForwardAvailable(QTextBrowserH handle) { return (bool) ((QTextBrowser *)handle)->isForwardAvailable(); } void QTextBrowser_clearHistory(QTextBrowserH handle) { ((QTextBrowser *)handle)->clearHistory(); } void QTextBrowser_historyTitle(QTextBrowserH handle, PWideString retval, int AnonParam1) { QString t_retval; t_retval = ((QTextBrowser *)handle)->historyTitle(AnonParam1); copyQStringToPWideString(t_retval, retval); } void QTextBrowser_historyUrl(QTextBrowserH handle, QUrlH retval, int AnonParam1) { *(QUrl *)retval = ((QTextBrowser *)handle)->historyUrl(AnonParam1); } int QTextBrowser_backwardHistoryCount(QTextBrowserH handle) { return (int) ((QTextBrowser *)handle)->backwardHistoryCount(); } int QTextBrowser_forwardHistoryCount(QTextBrowserH handle) { return (int) ((QTextBrowser *)handle)->forwardHistoryCount(); } bool QTextBrowser_openExternalLinks(QTextBrowserH handle) { return (bool) ((QTextBrowser *)handle)->openExternalLinks(); } void QTextBrowser_setOpenExternalLinks(QTextBrowserH handle, bool open) { ((QTextBrowser *)handle)->setOpenExternalLinks(open); } bool QTextBrowser_openLinks(QTextBrowserH handle) { return (bool) ((QTextBrowser *)handle)->openLinks(); } void QTextBrowser_setOpenLinks(QTextBrowserH handle, bool open) { ((QTextBrowser *)handle)->setOpenLinks(open); } void QTextBrowser_setSource(QTextBrowserH handle, const QUrlH name) { ((QTextBrowser *)handle)->setSource(*(const QUrl*)name); } void QTextBrowser_backward(QTextBrowserH handle) { ((QTextBrowser *)handle)->backward(); } void QTextBrowser_forward(QTextBrowserH handle) { ((QTextBrowser *)handle)->forward(); } void QTextBrowser_home(QTextBrowserH handle) { ((QTextBrowser *)handle)->home(); } void QTextBrowser_reload(QTextBrowserH handle) { ((QTextBrowser *)handle)->reload(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qslider_c.h0000664000212600021260000000230211677135472017146 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSLIDER_C_H #define QSLIDER_C_H #include #include "pascalbind.h" C_EXPORT QSliderH QSlider_create(QWidgetH parent); C_EXPORT void QSlider_destroy(QSliderH handle); C_EXPORT QSliderH QSlider_create2(Qt::Orientation orientation, QWidgetH parent); C_EXPORT void QSlider_sizeHint(QSliderH handle, PSize retval); C_EXPORT void QSlider_minimumSizeHint(QSliderH handle, PSize retval); C_EXPORT void QSlider_setTickPosition(QSliderH handle, QSlider::TickPosition position); C_EXPORT QSlider::TickPosition QSlider_tickPosition(QSliderH handle); C_EXPORT void QSlider_setTickInterval(QSliderH handle, int ti); C_EXPORT int QSlider_tickInterval(QSliderH handle); C_EXPORT bool QSlider_event(QSliderH handle, QEventH event); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qgraphicsscene_hook.h0000664000212600021260000000414211677135472021224 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QGRAPHICSSCENE_HOOK_H #define QGRAPHICSSCENE_HOOK_H #include #include "qobject_hook.h" class QGraphicsScene_hook : public QObject_hook { Q_OBJECT public: QGraphicsScene_hook(QObject *handle) : QObject_hook(handle) { sceneRectChanged_event.func = NULL; selectionChanged_event.func = NULL; } void hook_sceneRectChanged(QHook &hook) { if ( !sceneRectChanged_event.func ) connect(handle, SIGNAL(sceneRectChanged(const QRectF&)), this, SLOT(sceneRectChanged_hook(const QRectF&))); sceneRectChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(sceneRectChanged(const QRectF&)), this, SLOT(sceneRectChanged_hook(const QRectF&))); } void hook_selectionChanged(QHook &hook) { if ( !selectionChanged_event.func ) connect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); selectionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); } private slots: void sceneRectChanged_hook(const QRectF& rect) { if ( sceneRectChanged_event.func ) { typedef void (*func_type)(void *data, const QRectFH rect); (*(func_type)sceneRectChanged_event.func)(sceneRectChanged_event.data, (const QRectFH)&rect); } } void selectionChanged_hook() { if ( selectionChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)selectionChanged_event.func)(selectionChanged_event.data); } } private: QHook sceneRectChanged_event; QHook selectionChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmatrix_c.h0000664000212600021260000000537111677135472017201 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMATRIX_C_H #define QMATRIX_C_H #include #include "pascalbind.h" C_EXPORT QMatrixH QMatrix_create(); C_EXPORT void QMatrix_destroy(QMatrixH handle); C_EXPORT QMatrixH QMatrix_create2(qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy); C_EXPORT QMatrixH QMatrix_create3(const QMatrixH matrix); C_EXPORT void QMatrix_setMatrix(QMatrixH handle, qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy); C_EXPORT qreal QMatrix_m11(QMatrixH handle); C_EXPORT qreal QMatrix_m12(QMatrixH handle); C_EXPORT qreal QMatrix_m21(QMatrixH handle); C_EXPORT qreal QMatrix_m22(QMatrixH handle); C_EXPORT qreal QMatrix_dx(QMatrixH handle); C_EXPORT qreal QMatrix_dy(QMatrixH handle); C_EXPORT void QMatrix_map(QMatrixH handle, int x, int y, int* tx, int* ty); C_EXPORT void QMatrix_map2(QMatrixH handle, qreal x, qreal y, qreal* tx, qreal* ty); C_EXPORT void QMatrix_mapRect(QMatrixH handle, PRect retval, PRect AnonParam1); C_EXPORT void QMatrix_mapRect2(QMatrixH handle, QRectFH retval, const QRectFH AnonParam1); C_EXPORT void QMatrix_map3(QMatrixH handle, PQtPoint retval, const QPointH p); C_EXPORT void QMatrix_map4(QMatrixH handle, PQtPointF retval, const QPointFH p); C_EXPORT void QMatrix_map5(QMatrixH handle, QLineH retval, const QLineH l); C_EXPORT void QMatrix_map6(QMatrixH handle, QLineFH retval, const QLineFH l); C_EXPORT void QMatrix_map7(QMatrixH handle, QPolygonFH retval, const QPolygonFH a); C_EXPORT void QMatrix_map8(QMatrixH handle, QPolygonH retval, const QPolygonH a); C_EXPORT void QMatrix_map9(QMatrixH handle, QRegionH retval, const QRegionH r); C_EXPORT void QMatrix_map10(QMatrixH handle, QPainterPathH retval, const QPainterPathH p); C_EXPORT void QMatrix_mapToPolygon(QMatrixH handle, QPolygonH retval, PRect r); C_EXPORT void QMatrix_reset(QMatrixH handle); C_EXPORT bool QMatrix_isIdentity(QMatrixH handle); C_EXPORT QMatrixH QMatrix_translate(QMatrixH handle, qreal dx, qreal dy); C_EXPORT QMatrixH QMatrix_scale(QMatrixH handle, qreal sx, qreal sy); C_EXPORT QMatrixH QMatrix_shear(QMatrixH handle, qreal sh, qreal sv); C_EXPORT QMatrixH QMatrix_rotate(QMatrixH handle, qreal a); C_EXPORT bool QMatrix_isInvertible(QMatrixH handle); C_EXPORT qreal QMatrix_det(QMatrixH handle); C_EXPORT void QMatrix_inverted(QMatrixH handle, QMatrixH retval, bool* invertible); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtableview_hook.h0000664000212600021260000000137111677135472020371 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTABLEVIEW_HOOK_H #define QTABLEVIEW_HOOK_H #include #include "qabstractitemview_hook.h" class QTableView_hook : public QAbstractItemView_hook { Q_OBJECT public: QTableView_hook(QObject *handle) : QAbstractItemView_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsize_c.cpp0000664000212600021260000000753411677135472017205 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsize_c.h" QSizeH QSize_create() { return (QSizeH) new QSize(); } void QSize_destroy(QSizeH handle) { delete (QSize *)handle; } QSizeH QSize_create2(int w, int h) { return (QSizeH) new QSize(w, h); } bool QSize_isNull(QSizeH handle) { return (bool) ((QSize *)handle)->isNull(); } bool QSize_isEmpty(QSizeH handle) { return (bool) ((QSize *)handle)->isEmpty(); } bool QSize_isValid(QSizeH handle) { return (bool) ((QSize *)handle)->isValid(); } int QSize_width(QSizeH handle) { return (int) ((QSize *)handle)->width(); } int QSize_height(QSizeH handle) { return (int) ((QSize *)handle)->height(); } void QSize_setWidth(QSizeH handle, int w) { ((QSize *)handle)->setWidth(w); } void QSize_setHeight(QSizeH handle, int h) { ((QSize *)handle)->setHeight(h); } void QSize_transpose(QSizeH handle) { ((QSize *)handle)->transpose(); } void QSize_scale(QSizeH handle, int w, int h, Qt::AspectRatioMode mode) { ((QSize *)handle)->scale(w, h, mode); } void QSize_scale2(QSizeH handle, const QSizeH s, Qt::AspectRatioMode mode) { ((QSize *)handle)->scale(*(const QSize*)s, mode); } void QSize_expandedTo(QSizeH handle, PSize retval, const QSizeH AnonParam1) { *(QSize *)retval = ((QSize *)handle)->expandedTo(*(const QSize*)AnonParam1); } void QSize_boundedTo(QSizeH handle, PSize retval, const QSizeH AnonParam1) { *(QSize *)retval = ((QSize *)handle)->boundedTo(*(const QSize*)AnonParam1); } int* QSize_rwidth(QSizeH handle) { return (int*) &((QSize *)handle)->rwidth(); } int* QSize_rheight(QSizeH handle) { return (int*) &((QSize *)handle)->rheight(); } QSizeFH QSizeF_create() { return (QSizeFH) new QSizeF(); } void QSizeF_destroy(QSizeFH handle) { delete (QSizeF *)handle; } QSizeFH QSizeF_create2(const QSizeH sz) { return (QSizeFH) new QSizeF(*(const QSize*)sz); } QSizeFH QSizeF_create3(qreal w, qreal h) { return (QSizeFH) new QSizeF(w, h); } bool QSizeF_isNull(QSizeFH handle) { return (bool) ((QSizeF *)handle)->isNull(); } bool QSizeF_isEmpty(QSizeFH handle) { return (bool) ((QSizeF *)handle)->isEmpty(); } bool QSizeF_isValid(QSizeFH handle) { return (bool) ((QSizeF *)handle)->isValid(); } qreal QSizeF_width(QSizeFH handle) { return (qreal) ((QSizeF *)handle)->width(); } qreal QSizeF_height(QSizeFH handle) { return (qreal) ((QSizeF *)handle)->height(); } void QSizeF_setWidth(QSizeFH handle, qreal w) { ((QSizeF *)handle)->setWidth(w); } void QSizeF_setHeight(QSizeFH handle, qreal h) { ((QSizeF *)handle)->setHeight(h); } void QSizeF_transpose(QSizeFH handle) { ((QSizeF *)handle)->transpose(); } void QSizeF_scale(QSizeFH handle, qreal w, qreal h, Qt::AspectRatioMode mode) { ((QSizeF *)handle)->scale(w, h, mode); } void QSizeF_scale2(QSizeFH handle, const QSizeFH s, Qt::AspectRatioMode mode) { ((QSizeF *)handle)->scale(*(const QSizeF*)s, mode); } void QSizeF_expandedTo(QSizeFH handle, QSizeFH retval, const QSizeFH AnonParam1) { *(QSizeF *)retval = ((QSizeF *)handle)->expandedTo(*(const QSizeF*)AnonParam1); } void QSizeF_boundedTo(QSizeFH handle, QSizeFH retval, const QSizeFH AnonParam1) { *(QSizeF *)retval = ((QSizeF *)handle)->boundedTo(*(const QSizeF*)AnonParam1); } qreal* QSizeF_rwidth(QSizeFH handle) { return (qreal*) &((QSizeF *)handle)->rwidth(); } qreal* QSizeF_rheight(QSizeFH handle) { return (qreal*) &((QSizeF *)handle)->rheight(); } void QSizeF_toSize(QSizeFH handle, PSize retval) { *(QSize *)retval = ((QSizeF *)handle)->toSize(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qitemselectionmodel_hook_c.cpp0000664000212600021260000000311411677135472023126 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qitemselectionmodel_hook_c.h" QItemSelectionRange_hookH QItemSelectionRange_hook_create(QObjectH handle) { return (QItemSelectionRange_hookH) new QItemSelectionRange_hook((QObject*)handle); } void QItemSelectionRange_hook_destroy(QItemSelectionRange_hookH handle) { delete (QItemSelectionRange_hook *)handle; } QItemSelectionModel_hookH QItemSelectionModel_hook_create(QObjectH handle) { return (QItemSelectionModel_hookH) new QItemSelectionModel_hook((QObject*)handle); } void QItemSelectionModel_hook_destroy(QItemSelectionModel_hookH handle) { delete (QItemSelectionModel_hook *)handle; } void QItemSelectionModel_hook_hook_currentChanged(QItemSelectionModel_hookH handle, QHookH hook) { ((QItemSelectionModel_hook *)handle)->hook_currentChanged(hook); } void QItemSelectionModel_hook_hook_currentRowChanged(QItemSelectionModel_hookH handle, QHookH hook) { ((QItemSelectionModel_hook *)handle)->hook_currentRowChanged(hook); } void QItemSelectionModel_hook_hook_currentColumnChanged(QItemSelectionModel_hookH handle, QHookH hook) { ((QItemSelectionModel_hook *)handle)->hook_currentColumnChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdialog_c.cpp0000664000212600021260000000475011677135472017467 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qdialog_c.h" QDialogH QDialog_create(QWidgetH parent, unsigned int f) { return (QDialogH) new QDialog((QWidget*)parent, (Qt::WindowFlags)f); } void QDialog_destroy(QDialogH handle) { delete (QDialog *)handle; } int QDialog_result(QDialogH handle) { return (int) ((QDialog *)handle)->result(); } void QDialog_setVisible(QDialogH handle, bool visible) { ((QDialog *)handle)->setVisible(visible); } void QDialog_setOrientation(QDialogH handle, Qt::Orientation orientation) { ((QDialog *)handle)->setOrientation(orientation); } Qt::Orientation QDialog_orientation(QDialogH handle) { return (Qt::Orientation) ((QDialog *)handle)->orientation(); } void QDialog_setExtension(QDialogH handle, QWidgetH extension) { ((QDialog *)handle)->setExtension((QWidget*)extension); } QWidgetH QDialog_extension(QDialogH handle) { return (QWidgetH) ((QDialog *)handle)->extension(); } void QDialog_sizeHint(QDialogH handle, PSize retval) { *(QSize *)retval = ((QDialog *)handle)->sizeHint(); } void QDialog_minimumSizeHint(QDialogH handle, PSize retval) { *(QSize *)retval = ((QDialog *)handle)->minimumSizeHint(); } void QDialog_setSizeGripEnabled(QDialogH handle, bool AnonParam1) { ((QDialog *)handle)->setSizeGripEnabled(AnonParam1); } bool QDialog_isSizeGripEnabled(QDialogH handle) { return (bool) ((QDialog *)handle)->isSizeGripEnabled(); } void QDialog_setModal(QDialogH handle, bool modal) { ((QDialog *)handle)->setModal(modal); } void QDialog_setResult(QDialogH handle, int r) { ((QDialog *)handle)->setResult(r); } void QDialog_open(QDialogH handle) { ((QDialog *)handle)->open(); } int QDialog_exec(QDialogH handle) { return (int) ((QDialog *)handle)->exec(); } void QDialog_done(QDialogH handle, int AnonParam1) { ((QDialog *)handle)->done(AnonParam1); } void QDialog_accept(QDialogH handle) { ((QDialog *)handle)->accept(); } void QDialog_reject(QDialogH handle) { ((QDialog *)handle)->reject(); } void QDialog_showExtension(QDialogH handle, bool AnonParam1) { ((QDialog *)handle)->showExtension(AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprinter_c.cpp0000664000212600021260000002332711677135472017714 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qprinter_c.h" QPrinterH QPrinter_create(QPrinter::PrinterMode mode) { return (QPrinterH) new QPrinter(mode); } void QPrinter_destroy(QPrinterH handle) { delete (QPrinter *)handle; } QPrinterH QPrinter_create2(const QPrinterInfoH printer, QPrinter::PrinterMode mode) { return (QPrinterH) new QPrinter(*(const QPrinterInfo*)printer, mode); } int QPrinter_devType(QPrinterH handle) { return (int) ((QPrinter *)handle)->devType(); } void QPrinter_setOutputFormat(QPrinterH handle, QPrinter::OutputFormat format) { ((QPrinter *)handle)->setOutputFormat(format); } QPrinter::OutputFormat QPrinter_outputFormat(QPrinterH handle) { return (QPrinter::OutputFormat) ((QPrinter *)handle)->outputFormat(); } void QPrinter_setPrinterName(QPrinterH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QPrinter *)handle)->setPrinterName(t_AnonParam1); } void QPrinter_printerName(QPrinterH handle, PWideString retval) { QString t_retval; t_retval = ((QPrinter *)handle)->printerName(); copyQStringToPWideString(t_retval, retval); } bool QPrinter_isValid(QPrinterH handle) { return (bool) ((QPrinter *)handle)->isValid(); } void QPrinter_setOutputFileName(QPrinterH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QPrinter *)handle)->setOutputFileName(t_AnonParam1); } void QPrinter_outputFileName(QPrinterH handle, PWideString retval) { QString t_retval; t_retval = ((QPrinter *)handle)->outputFileName(); copyQStringToPWideString(t_retval, retval); } void QPrinter_setPrintProgram(QPrinterH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QPrinter *)handle)->setPrintProgram(t_AnonParam1); } void QPrinter_printProgram(QPrinterH handle, PWideString retval) { QString t_retval; t_retval = ((QPrinter *)handle)->printProgram(); copyQStringToPWideString(t_retval, retval); } void QPrinter_setDocName(QPrinterH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QPrinter *)handle)->setDocName(t_AnonParam1); } void QPrinter_docName(QPrinterH handle, PWideString retval) { QString t_retval; t_retval = ((QPrinter *)handle)->docName(); copyQStringToPWideString(t_retval, retval); } void QPrinter_setCreator(QPrinterH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QPrinter *)handle)->setCreator(t_AnonParam1); } void QPrinter_creator(QPrinterH handle, PWideString retval) { QString t_retval; t_retval = ((QPrinter *)handle)->creator(); copyQStringToPWideString(t_retval, retval); } void QPrinter_setOrientation(QPrinterH handle, QPrinter::Orientation AnonParam1) { ((QPrinter *)handle)->setOrientation(AnonParam1); } QPrinter::Orientation QPrinter_orientation(QPrinterH handle) { return (QPrinter::Orientation) ((QPrinter *)handle)->orientation(); } void QPrinter_setPageSize(QPrinterH handle, QPrinter::PageSize AnonParam1) { ((QPrinter *)handle)->setPageSize(AnonParam1); } QPrinter::PageSize QPrinter_pageSize(QPrinterH handle) { return (QPrinter::PageSize) ((QPrinter *)handle)->pageSize(); } void QPrinter_setPaperSize(QPrinterH handle, QPrinter::PageSize AnonParam1) { ((QPrinter *)handle)->setPaperSize(AnonParam1); } QPrinter::PageSize QPrinter_paperSize(QPrinterH handle) { return (QPrinter::PageSize) ((QPrinter *)handle)->paperSize(); } void QPrinter_setPaperSize2(QPrinterH handle, const QSizeFH paperSize, QPrinter::Unit unit) { ((QPrinter *)handle)->setPaperSize(*(const QSizeF*)paperSize, unit); } void QPrinter_paperSize2(QPrinterH handle, QSizeFH retval, QPrinter::Unit unit) { *(QSizeF *)retval = ((QPrinter *)handle)->paperSize(unit); } void QPrinter_setPageOrder(QPrinterH handle, QPrinter::PageOrder AnonParam1) { ((QPrinter *)handle)->setPageOrder(AnonParam1); } QPrinter::PageOrder QPrinter_pageOrder(QPrinterH handle) { return (QPrinter::PageOrder) ((QPrinter *)handle)->pageOrder(); } void QPrinter_setResolution(QPrinterH handle, int AnonParam1) { ((QPrinter *)handle)->setResolution(AnonParam1); } int QPrinter_resolution(QPrinterH handle) { return (int) ((QPrinter *)handle)->resolution(); } void QPrinter_setColorMode(QPrinterH handle, QPrinter::ColorMode AnonParam1) { ((QPrinter *)handle)->setColorMode(AnonParam1); } QPrinter::ColorMode QPrinter_colorMode(QPrinterH handle) { return (QPrinter::ColorMode) ((QPrinter *)handle)->colorMode(); } void QPrinter_setCollateCopies(QPrinterH handle, bool collate) { ((QPrinter *)handle)->setCollateCopies(collate); } bool QPrinter_collateCopies(QPrinterH handle) { return (bool) ((QPrinter *)handle)->collateCopies(); } void QPrinter_setFullPage(QPrinterH handle, bool AnonParam1) { ((QPrinter *)handle)->setFullPage(AnonParam1); } bool QPrinter_fullPage(QPrinterH handle) { return (bool) ((QPrinter *)handle)->fullPage(); } void QPrinter_setNumCopies(QPrinterH handle, int AnonParam1) { ((QPrinter *)handle)->setNumCopies(AnonParam1); } int QPrinter_numCopies(QPrinterH handle) { return (int) ((QPrinter *)handle)->numCopies(); } void QPrinter_setPaperSource(QPrinterH handle, QPrinter::PaperSource AnonParam1) { ((QPrinter *)handle)->setPaperSource(AnonParam1); } QPrinter::PaperSource QPrinter_paperSource(QPrinterH handle) { return (QPrinter::PaperSource) ((QPrinter *)handle)->paperSource(); } void QPrinter_setDuplex(QPrinterH handle, QPrinter::DuplexMode duplex) { ((QPrinter *)handle)->setDuplex(duplex); } QPrinter::DuplexMode QPrinter_duplex(QPrinterH handle) { return (QPrinter::DuplexMode) ((QPrinter *)handle)->duplex(); } void QPrinter_supportedResolutions(QPrinterH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QPrinter *)handle)->supportedResolutions(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QPrinter_setFontEmbeddingEnabled(QPrinterH handle, bool enable) { ((QPrinter *)handle)->setFontEmbeddingEnabled(enable); } bool QPrinter_fontEmbeddingEnabled(QPrinterH handle) { return (bool) ((QPrinter *)handle)->fontEmbeddingEnabled(); } void QPrinter_setDoubleSidedPrinting(QPrinterH handle, bool enable) { ((QPrinter *)handle)->setDoubleSidedPrinting(enable); } bool QPrinter_doubleSidedPrinting(QPrinterH handle) { return (bool) ((QPrinter *)handle)->doubleSidedPrinting(); } void QPrinter_paperRect(QPrinterH handle, PRect retval) { QRect t_retval; t_retval = ((QPrinter *)handle)->paperRect(); copyQRectToPRect(t_retval, retval); } void QPrinter_pageRect(QPrinterH handle, PRect retval) { QRect t_retval; t_retval = ((QPrinter *)handle)->pageRect(); copyQRectToPRect(t_retval, retval); } void QPrinter_paperRect2(QPrinterH handle, QRectFH retval, QPrinter::Unit AnonParam1) { *(QRectF *)retval = ((QPrinter *)handle)->paperRect(AnonParam1); } void QPrinter_pageRect2(QPrinterH handle, QRectFH retval, QPrinter::Unit AnonParam1) { *(QRectF *)retval = ((QPrinter *)handle)->pageRect(AnonParam1); } #if defined BINUX || DARWIN || QTOPIA void QPrinter_printerSelectionOption(QPrinterH handle, PWideString retval) { QString t_retval; t_retval = ((QPrinter *)handle)->printerSelectionOption(); copyQStringToPWideString(t_retval, retval); } void QPrinter_setPrinterSelectionOption(QPrinterH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QPrinter *)handle)->setPrinterSelectionOption(t_AnonParam1); } #endif bool QPrinter_newPage(QPrinterH handle) { return (bool) ((QPrinter *)handle)->newPage(); } bool QPrinter_abort(QPrinterH handle) { return (bool) ((QPrinter *)handle)->abort(); } QPrinter::PrinterState QPrinter_printerState(QPrinterH handle) { return (QPrinter::PrinterState) ((QPrinter *)handle)->printerState(); } QPaintEngineH QPrinter_paintEngine(QPrinterH handle) { return (QPaintEngineH) ((QPrinter *)handle)->paintEngine(); } QPrintEngineH QPrinter_printEngine(QPrinterH handle) { return (QPrintEngineH) ((QPrinter *)handle)->printEngine(); } void QPrinter_setFromTo(QPrinterH handle, int fromPage, int toPage) { ((QPrinter *)handle)->setFromTo(fromPage, toPage); } int QPrinter_fromPage(QPrinterH handle) { return (int) ((QPrinter *)handle)->fromPage(); } int QPrinter_toPage(QPrinterH handle) { return (int) ((QPrinter *)handle)->toPage(); } void QPrinter_setPrintRange(QPrinterH handle, QPrinter::PrintRange range) { ((QPrinter *)handle)->setPrintRange(range); } QPrinter::PrintRange QPrinter_printRange(QPrinterH handle) { return (QPrinter::PrintRange) ((QPrinter *)handle)->printRange(); } void QPrinter_setPageMargins(QPrinterH handle, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit) { ((QPrinter *)handle)->setPageMargins(left, top, right, bottom, unit); } void QPrinter_getPageMargins(QPrinterH handle, qreal* left, qreal* top, qreal* right, qreal* bottom, QPrinter::Unit unit) { ((QPrinter *)handle)->getPageMargins(left, top, right, bottom, unit); } #if defined MSWINDOWS void QPrinter_setWinPageSize(QPrinterH handle, int winPageSize) { ((QPrinter *)handle)->setWinPageSize(winPageSize); } int QPrinter_winPageSize(QPrinterH handle) { return (int) ((QPrinter *)handle)->winPageSize(); } HDC QPrinter_getDC(QPrinterH handle) { return (HDC) ((QPrinter *)handle)->getDC(); } void QPrinter_releaseDC(QPrinterH handle, HDC hdc) { ((QPrinter *)handle)->releaseDC(hdc); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextcursor_c.h0000664000212600021260000001245311677135472020116 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTEXTCURSOR_C_H #define QTEXTCURSOR_C_H #include #include "pascalbind.h" C_EXPORT QTextCursorH QTextCursor_create(); C_EXPORT void QTextCursor_destroy(QTextCursorH handle); C_EXPORT QTextCursorH QTextCursor_create2(QTextDocumentH document); C_EXPORT QTextCursorH QTextCursor_create3(QTextFrameH frame); C_EXPORT QTextCursorH QTextCursor_create4(const QTextBlockH block); C_EXPORT QTextCursorH QTextCursor_create6(const QTextCursorH cursor); C_EXPORT bool QTextCursor_isNull(QTextCursorH handle); C_EXPORT void QTextCursor_setPosition(QTextCursorH handle, int pos, QTextCursor::MoveMode mode); C_EXPORT int QTextCursor_position(QTextCursorH handle); C_EXPORT int QTextCursor_anchor(QTextCursorH handle); C_EXPORT void QTextCursor_insertText(QTextCursorH handle, PWideString text); C_EXPORT void QTextCursor_insertText2(QTextCursorH handle, PWideString text, const QTextCharFormatH format); C_EXPORT bool QTextCursor_movePosition(QTextCursorH handle, QTextCursor::MoveOperation op, QTextCursor::MoveMode AnonParam2, int n); C_EXPORT bool QTextCursor_visualNavigation(QTextCursorH handle); C_EXPORT void QTextCursor_setVisualNavigation(QTextCursorH handle, bool b); C_EXPORT void QTextCursor_deleteChar(QTextCursorH handle); C_EXPORT void QTextCursor_deletePreviousChar(QTextCursorH handle); C_EXPORT void QTextCursor_select(QTextCursorH handle, QTextCursor::SelectionType selection); C_EXPORT bool QTextCursor_hasSelection(QTextCursorH handle); C_EXPORT bool QTextCursor_hasComplexSelection(QTextCursorH handle); C_EXPORT void QTextCursor_removeSelectedText(QTextCursorH handle); C_EXPORT void QTextCursor_clearSelection(QTextCursorH handle); C_EXPORT int QTextCursor_selectionStart(QTextCursorH handle); C_EXPORT int QTextCursor_selectionEnd(QTextCursorH handle); C_EXPORT void QTextCursor_selectedText(QTextCursorH handle, PWideString retval); C_EXPORT void QTextCursor_selection(QTextCursorH handle, QTextDocumentFragmentH retval); C_EXPORT void QTextCursor_selectedTableCells(QTextCursorH handle, int* firstRow, int* numRows, int* firstColumn, int* numColumns); C_EXPORT void QTextCursor_block(QTextCursorH handle, QTextBlockH retval); C_EXPORT void QTextCursor_charFormat(QTextCursorH handle, QTextCharFormatH retval); C_EXPORT void QTextCursor_setCharFormat(QTextCursorH handle, const QTextCharFormatH format); C_EXPORT void QTextCursor_mergeCharFormat(QTextCursorH handle, const QTextCharFormatH modifier); C_EXPORT void QTextCursor_blockFormat(QTextCursorH handle, QTextBlockFormatH retval); C_EXPORT void QTextCursor_setBlockFormat(QTextCursorH handle, const QTextBlockFormatH format); C_EXPORT void QTextCursor_mergeBlockFormat(QTextCursorH handle, const QTextBlockFormatH modifier); C_EXPORT void QTextCursor_blockCharFormat(QTextCursorH handle, QTextCharFormatH retval); C_EXPORT void QTextCursor_setBlockCharFormat(QTextCursorH handle, const QTextCharFormatH format); C_EXPORT void QTextCursor_mergeBlockCharFormat(QTextCursorH handle, const QTextCharFormatH modifier); C_EXPORT bool QTextCursor_atBlockStart(QTextCursorH handle); C_EXPORT bool QTextCursor_atBlockEnd(QTextCursorH handle); C_EXPORT bool QTextCursor_atStart(QTextCursorH handle); C_EXPORT bool QTextCursor_atEnd(QTextCursorH handle); C_EXPORT void QTextCursor_insertBlock(QTextCursorH handle); C_EXPORT void QTextCursor_insertBlock2(QTextCursorH handle, const QTextBlockFormatH format); C_EXPORT void QTextCursor_insertBlock3(QTextCursorH handle, const QTextBlockFormatH format, const QTextCharFormatH charFormat); C_EXPORT QTextListH QTextCursor_currentList(QTextCursorH handle); C_EXPORT QTextTableH QTextCursor_insertTable(QTextCursorH handle, int rows, int cols, const QTextTableFormatH format); C_EXPORT QTextTableH QTextCursor_insertTable2(QTextCursorH handle, int rows, int cols); C_EXPORT QTextTableH QTextCursor_currentTable(QTextCursorH handle); C_EXPORT QTextFrameH QTextCursor_insertFrame(QTextCursorH handle, const QTextFrameFormatH format); C_EXPORT QTextFrameH QTextCursor_currentFrame(QTextCursorH handle); C_EXPORT void QTextCursor_insertFragment(QTextCursorH handle, const QTextDocumentFragmentH fragment); C_EXPORT void QTextCursor_insertHtml(QTextCursorH handle, PWideString html); C_EXPORT void QTextCursor_insertImage2(QTextCursorH handle, const QTextImageFormatH format); C_EXPORT void QTextCursor_insertImage3(QTextCursorH handle, PWideString name); C_EXPORT void QTextCursor_insertImage4(QTextCursorH handle, const QImageH image, PWideString name); C_EXPORT void QTextCursor_beginEditBlock(QTextCursorH handle); C_EXPORT void QTextCursor_joinPreviousEditBlock(QTextCursorH handle); C_EXPORT void QTextCursor_endEditBlock(QTextCursorH handle); C_EXPORT bool QTextCursor_isCopyOf(QTextCursorH handle, const QTextCursorH other); C_EXPORT int QTextCursor_blockNumber(QTextCursorH handle); C_EXPORT int QTextCursor_columnNumber(QTextCursorH handle); C_EXPORT QTextDocumentH QTextCursor_document(QTextCursorH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfilesystemwatcher_hook.h0000664000212600021260000000460711677135472022156 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFILESYSTEMWATCHER_HOOK_H #define QFILESYSTEMWATCHER_HOOK_H #include #include "qobject_hook.h" class QFileSystemWatcher_hook : public QObject_hook { Q_OBJECT public: QFileSystemWatcher_hook(QObject *handle) : QObject_hook(handle) { fileChanged_event.func = NULL; directoryChanged_event.func = NULL; } void hook_fileChanged(QHook &hook) { if ( !fileChanged_event.func ) connect(handle, SIGNAL(fileChanged(const QString&)), this, SLOT(fileChanged_hook(const QString&))); fileChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(fileChanged(const QString&)), this, SLOT(fileChanged_hook(const QString&))); } void hook_directoryChanged(QHook &hook) { if ( !directoryChanged_event.func ) connect(handle, SIGNAL(directoryChanged(const QString&)), this, SLOT(directoryChanged_hook(const QString&))); directoryChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(directoryChanged(const QString&)), this, SLOT(directoryChanged_hook(const QString&))); } private slots: void fileChanged_hook(const QString& path) { if ( fileChanged_event.func ) { typedef void (*func_type)(void *data, PWideString path); PWideString t_path; initializePWideString(t_path); copyQStringToPWideString(path, t_path); (*(func_type)fileChanged_event.func)(fileChanged_event.data, t_path); finalizePWideString(t_path); } } void directoryChanged_hook(const QString& path) { if ( directoryChanged_event.func ) { typedef void (*func_type)(void *data, PWideString path); PWideString t_path; initializePWideString(t_path); copyQStringToPWideString(path, t_path); (*(func_type)directoryChanged_event.func)(directoryChanged_event.data, t_path); finalizePWideString(t_path); } } private: QHook fileChanged_event; QHook directoryChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmenu_hook_c.cpp0000664000212600021260000000221111677135472020202 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qmenu_hook_c.h" QMenu_hookH QMenu_hook_create(QObjectH handle) { return (QMenu_hookH) new QMenu_hook((QObject*)handle); } void QMenu_hook_destroy(QMenu_hookH handle) { delete (QMenu_hook *)handle; } void QMenu_hook_hook_aboutToShow(QMenu_hookH handle, QHookH hook) { ((QMenu_hook *)handle)->hook_aboutToShow(hook); } void QMenu_hook_hook_aboutToHide(QMenu_hookH handle, QHookH hook) { ((QMenu_hook *)handle)->hook_aboutToHide(hook); } void QMenu_hook_hook_triggered(QMenu_hookH handle, QHookH hook) { ((QMenu_hook *)handle)->hook_triggered(hook); } void QMenu_hook_hook_hovered(QMenu_hookH handle, QHookH hook) { ((QMenu_hook *)handle)->hook_hovered(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkaccessmanager_hook_c.cpp0000664000212600021260000000253511677135472023455 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qnetworkaccessmanager_hook_c.h" QNetworkAccessManager_hookH QNetworkAccessManager_hook_create(QObjectH handle) { return (QNetworkAccessManager_hookH) new QNetworkAccessManager_hook((QObject*)handle); } void QNetworkAccessManager_hook_destroy(QNetworkAccessManager_hookH handle) { delete (QNetworkAccessManager_hook *)handle; } void QNetworkAccessManager_hook_hook_proxyAuthenticationRequired(QNetworkAccessManager_hookH handle, QHookH hook) { ((QNetworkAccessManager_hook *)handle)->hook_proxyAuthenticationRequired(hook); } void QNetworkAccessManager_hook_hook_authenticationRequired(QNetworkAccessManager_hookH handle, QHookH hook) { ((QNetworkAccessManager_hook *)handle)->hook_authenticationRequired(hook); } void QNetworkAccessManager_hook_hook_finished(QNetworkAccessManager_hookH handle, QHookH hook) { ((QNetworkAccessManager_hook *)handle)->hook_finished(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qobject_hook.h0000664000212600021260000000361411677135472017657 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QOBJECT_HOOK_H #define QOBJECT_HOOK_H #include #include "pascalbind.h" class QObject_hook : public QObject { Q_OBJECT public: QObject_hook(QObject *handle) : QObject(NULL) { this->handle = handle; this->events.func = NULL; this->destroyed_event.func = NULL; connect(handle, SIGNAL(destroyed()), this, SLOT(destroyed_hook())); } virtual ~QObject_hook() { if (handle) { handle->removeEventFilter(this); handle->disconnect(this); handle = NULL; } } void hook_events(QHook &hook) { if (handle) { if (!events.func) { handle->installEventFilter(this); events = hook; } if (!hook.func) handle->removeEventFilter(this); events = hook; } } void hook_destroyed(QHook &hook) { destroyed_event = hook; } protected: QObject *handle; virtual bool eventFilter(QObject *sender, QEvent *event) { if (events.func) { typedef bool (*func_type)(void *data, QObject *sender, QEvent *event); return (*(func_type)events.func)(events.data, sender, event); } else return false; } private slots: void destroyed_hook() { if ( destroyed_event.func ) { typedef void (*func_type)(void *data); (*(func_type)destroyed_event.func)(destroyed_event.data); } handle = NULL; } private: QHook events; QHook destroyed_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qspinbox_c.h0000664000212600021260000000625611677135472017362 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSPINBOX_C_H #define QSPINBOX_C_H #include #include "pascalbind.h" C_EXPORT QSpinBoxH QSpinBox_create(QWidgetH parent); C_EXPORT void QSpinBox_destroy(QSpinBoxH handle); C_EXPORT int QSpinBox_value(QSpinBoxH handle); C_EXPORT void QSpinBox_prefix(QSpinBoxH handle, PWideString retval); C_EXPORT void QSpinBox_setPrefix(QSpinBoxH handle, PWideString prefix); C_EXPORT void QSpinBox_suffix(QSpinBoxH handle, PWideString retval); C_EXPORT void QSpinBox_setSuffix(QSpinBoxH handle, PWideString suffix); C_EXPORT void QSpinBox_cleanText(QSpinBoxH handle, PWideString retval); C_EXPORT int QSpinBox_singleStep(QSpinBoxH handle); C_EXPORT void QSpinBox_setSingleStep(QSpinBoxH handle, int val); C_EXPORT int QSpinBox_minimum(QSpinBoxH handle); C_EXPORT void QSpinBox_setMinimum(QSpinBoxH handle, int min); C_EXPORT int QSpinBox_maximum(QSpinBoxH handle); C_EXPORT void QSpinBox_setMaximum(QSpinBoxH handle, int max); C_EXPORT void QSpinBox_setRange(QSpinBoxH handle, int min, int max); C_EXPORT void QSpinBox_setValue(QSpinBoxH handle, int val); C_EXPORT QDoubleSpinBoxH QDoubleSpinBox_create(QWidgetH parent); C_EXPORT void QDoubleSpinBox_destroy(QDoubleSpinBoxH handle); C_EXPORT double QDoubleSpinBox_value(QDoubleSpinBoxH handle); C_EXPORT void QDoubleSpinBox_prefix(QDoubleSpinBoxH handle, PWideString retval); C_EXPORT void QDoubleSpinBox_setPrefix(QDoubleSpinBoxH handle, PWideString prefix); C_EXPORT void QDoubleSpinBox_suffix(QDoubleSpinBoxH handle, PWideString retval); C_EXPORT void QDoubleSpinBox_setSuffix(QDoubleSpinBoxH handle, PWideString suffix); C_EXPORT void QDoubleSpinBox_cleanText(QDoubleSpinBoxH handle, PWideString retval); C_EXPORT double QDoubleSpinBox_singleStep(QDoubleSpinBoxH handle); C_EXPORT void QDoubleSpinBox_setSingleStep(QDoubleSpinBoxH handle, double val); C_EXPORT double QDoubleSpinBox_minimum(QDoubleSpinBoxH handle); C_EXPORT void QDoubleSpinBox_setMinimum(QDoubleSpinBoxH handle, double min); C_EXPORT double QDoubleSpinBox_maximum(QDoubleSpinBoxH handle); C_EXPORT void QDoubleSpinBox_setMaximum(QDoubleSpinBoxH handle, double max); C_EXPORT void QDoubleSpinBox_setRange(QDoubleSpinBoxH handle, double min, double max); C_EXPORT int QDoubleSpinBox_decimals(QDoubleSpinBoxH handle); C_EXPORT void QDoubleSpinBox_setDecimals(QDoubleSpinBoxH handle, int prec); C_EXPORT QValidator::State QDoubleSpinBox_validate(QDoubleSpinBoxH handle, PWideString input, int* pos); C_EXPORT double QDoubleSpinBox_valueFromText(QDoubleSpinBoxH handle, PWideString text); C_EXPORT void QDoubleSpinBox_textFromValue(QDoubleSpinBoxH handle, PWideString retval, double val); C_EXPORT void QDoubleSpinBox_fixup(QDoubleSpinBoxH handle, PWideString str); C_EXPORT void QDoubleSpinBox_setValue(QDoubleSpinBoxH handle, double val); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfontdatabase_c.cpp0000664000212600021260000001525711677135472020667 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qfontdatabase_c.h" void QFontDatabase_standardSizes(PPtrIntArray retval) { QList t_retval; t_retval = QFontDatabase::standardSizes(); copyQListTemplateToPtrIntArray(t_retval, retval); } QFontDatabaseH QFontDatabase_create() { return (QFontDatabaseH) new QFontDatabase(); } void QFontDatabase_destroy(QFontDatabaseH handle) { delete (QFontDatabase *)handle; } void QFontDatabase_writingSystems(QFontDatabaseH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QFontDatabase *)handle)->writingSystems(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QFontDatabase_writingSystems2(QFontDatabaseH handle, PPtrIntArray retval, PWideString family) { QList t_retval; QString t_family; copyPWideStringToQString(family, t_family); t_retval = ((QFontDatabase *)handle)->writingSystems(t_family); copyQListTemplateToPtrIntArray(t_retval, retval); } void QFontDatabase_families(QFontDatabaseH handle, QStringListH retval, QFontDatabase::WritingSystem writingSystem) { *(QStringList *)retval = ((QFontDatabase *)handle)->families(writingSystem); } void QFontDatabase_styles(QFontDatabaseH handle, QStringListH retval, PWideString family) { QString t_family; copyPWideStringToQString(family, t_family); *(QStringList *)retval = ((QFontDatabase *)handle)->styles(t_family); } void QFontDatabase_pointSizes(QFontDatabaseH handle, PPtrIntArray retval, PWideString family, PWideString style) { QList t_retval; QString t_family; QString t_style; copyPWideStringToQString(family, t_family); copyPWideStringToQString(style, t_style); t_retval = ((QFontDatabase *)handle)->pointSizes(t_family, t_style); copyQListTemplateToPtrIntArray(t_retval, retval); } void QFontDatabase_smoothSizes(QFontDatabaseH handle, PPtrIntArray retval, PWideString family, PWideString style) { QList t_retval; QString t_family; QString t_style; copyPWideStringToQString(family, t_family); copyPWideStringToQString(style, t_style); t_retval = ((QFontDatabase *)handle)->smoothSizes(t_family, t_style); copyQListTemplateToPtrIntArray(t_retval, retval); } void QFontDatabase_styleString(QFontDatabaseH handle, PWideString retval, const QFontH font) { QString t_retval; t_retval = ((QFontDatabase *)handle)->styleString(*(const QFont*)font); copyQStringToPWideString(t_retval, retval); } void QFontDatabase_styleString2(QFontDatabaseH handle, PWideString retval, const QFontInfoH fontInfo) { QString t_retval; t_retval = ((QFontDatabase *)handle)->styleString(*(const QFontInfo*)fontInfo); copyQStringToPWideString(t_retval, retval); } void QFontDatabase_font(QFontDatabaseH handle, QFontH retval, PWideString family, PWideString style, int pointSize) { QString t_family; QString t_style; copyPWideStringToQString(family, t_family); copyPWideStringToQString(style, t_style); *(QFont *)retval = ((QFontDatabase *)handle)->font(t_family, t_style, pointSize); } bool QFontDatabase_isBitmapScalable(QFontDatabaseH handle, PWideString family, PWideString style) { QString t_family; QString t_style; copyPWideStringToQString(family, t_family); copyPWideStringToQString(style, t_style); return (bool) ((QFontDatabase *)handle)->isBitmapScalable(t_family, t_style); } bool QFontDatabase_isSmoothlyScalable(QFontDatabaseH handle, PWideString family, PWideString style) { QString t_family; QString t_style; copyPWideStringToQString(family, t_family); copyPWideStringToQString(style, t_style); return (bool) ((QFontDatabase *)handle)->isSmoothlyScalable(t_family, t_style); } bool QFontDatabase_isScalable(QFontDatabaseH handle, PWideString family, PWideString style) { QString t_family; QString t_style; copyPWideStringToQString(family, t_family); copyPWideStringToQString(style, t_style); return (bool) ((QFontDatabase *)handle)->isScalable(t_family, t_style); } bool QFontDatabase_isFixedPitch(QFontDatabaseH handle, PWideString family, PWideString style) { QString t_family; QString t_style; copyPWideStringToQString(family, t_family); copyPWideStringToQString(style, t_style); return (bool) ((QFontDatabase *)handle)->isFixedPitch(t_family, t_style); } bool QFontDatabase_italic(QFontDatabaseH handle, PWideString family, PWideString style) { QString t_family; QString t_style; copyPWideStringToQString(family, t_family); copyPWideStringToQString(style, t_style); return (bool) ((QFontDatabase *)handle)->italic(t_family, t_style); } bool QFontDatabase_bold(QFontDatabaseH handle, PWideString family, PWideString style) { QString t_family; QString t_style; copyPWideStringToQString(family, t_family); copyPWideStringToQString(style, t_style); return (bool) ((QFontDatabase *)handle)->bold(t_family, t_style); } int QFontDatabase_weight(QFontDatabaseH handle, PWideString family, PWideString style) { QString t_family; QString t_style; copyPWideStringToQString(family, t_family); copyPWideStringToQString(style, t_style); return (int) ((QFontDatabase *)handle)->weight(t_family, t_style); } void QFontDatabase_writingSystemName(PWideString retval, QFontDatabase::WritingSystem writingSystem) { QString t_retval; t_retval = QFontDatabase::writingSystemName(writingSystem); copyQStringToPWideString(t_retval, retval); } void QFontDatabase_writingSystemSample(PWideString retval, QFontDatabase::WritingSystem writingSystem) { QString t_retval; t_retval = QFontDatabase::writingSystemSample(writingSystem); copyQStringToPWideString(t_retval, retval); } int QFontDatabase_addApplicationFont(PWideString fileName) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (int) QFontDatabase::addApplicationFont(t_fileName); } int QFontDatabase_addApplicationFontFromData(const QByteArrayH fontData) { return (int) QFontDatabase::addApplicationFontFromData(*(const QByteArray*)fontData); } void QFontDatabase_applicationFontFamilies(QStringListH retval, int id) { *(QStringList *)retval = QFontDatabase::applicationFontFamilies(id); } bool QFontDatabase_removeApplicationFont(int id) { return (bool) QFontDatabase::removeApplicationFont(id); } bool QFontDatabase_removeAllApplicationFonts() { return (bool) QFontDatabase::removeAllApplicationFonts(); } bool QFontDatabase_supportsThreadedFontRendering() { return (bool) QFontDatabase::supportsThreadedFontRendering(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qbuttongroup_hook_c.cpp0000664000212600021260000000313511677135472021634 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qbuttongroup_hook_c.h" QButtonGroup_hookH QButtonGroup_hook_create(QObjectH handle) { return (QButtonGroup_hookH) new QButtonGroup_hook((QObject*)handle); } void QButtonGroup_hook_destroy(QButtonGroup_hookH handle) { delete (QButtonGroup_hook *)handle; } void QButtonGroup_hook_hook_buttonClicked(QButtonGroup_hookH handle, QHookH hook) { ((QButtonGroup_hook *)handle)->hook_buttonClicked(hook); } void QButtonGroup_hook_hook_buttonClicked2(QButtonGroup_hookH handle, QHookH hook) { ((QButtonGroup_hook *)handle)->hook_buttonClicked2(hook); } void QButtonGroup_hook_hook_buttonPressed(QButtonGroup_hookH handle, QHookH hook) { ((QButtonGroup_hook *)handle)->hook_buttonPressed(hook); } void QButtonGroup_hook_hook_buttonPressed2(QButtonGroup_hookH handle, QHookH hook) { ((QButtonGroup_hook *)handle)->hook_buttonPressed2(hook); } void QButtonGroup_hook_hook_buttonReleased(QButtonGroup_hookH handle, QHookH hook) { ((QButtonGroup_hook *)handle)->hook_buttonReleased(hook); } void QButtonGroup_hook_hook_buttonReleased2(QButtonGroup_hookH handle, QHookH hook) { ((QButtonGroup_hook *)handle)->hook_buttonReleased2(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebpage_hook_c.cpp0000664000212600021260000000767211677135472020670 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebpage_hook_c.h" QWebPage_hookH QWebPage_hook_create(QObjectH handle) { return (QWebPage_hookH) new QWebPage_hook((QObject*)handle); } void QWebPage_hook_destroy(QWebPage_hookH handle) { delete (QWebPage_hook *)handle; } void QWebPage_hook_hook_loadStarted(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_loadStarted(hook); } void QWebPage_hook_hook_loadProgress(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_loadProgress(hook); } void QWebPage_hook_hook_loadFinished(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_loadFinished(hook); } void QWebPage_hook_hook_linkHovered(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_linkHovered(hook); } void QWebPage_hook_hook_statusBarMessage(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_statusBarMessage(hook); } void QWebPage_hook_hook_selectionChanged(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_selectionChanged(hook); } void QWebPage_hook_hook_frameCreated(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_frameCreated(hook); } void QWebPage_hook_hook_geometryChangeRequested(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_geometryChangeRequested(hook); } void QWebPage_hook_hook_repaintRequested(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_repaintRequested(hook); } void QWebPage_hook_hook_scrollRequested(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_scrollRequested(hook); } void QWebPage_hook_hook_windowCloseRequested(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_windowCloseRequested(hook); } void QWebPage_hook_hook_printRequested(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_printRequested(hook); } void QWebPage_hook_hook_linkClicked(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_linkClicked(hook); } void QWebPage_hook_hook_toolBarVisibilityChangeRequested(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_toolBarVisibilityChangeRequested(hook); } void QWebPage_hook_hook_statusBarVisibilityChangeRequested(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_statusBarVisibilityChangeRequested(hook); } void QWebPage_hook_hook_menuBarVisibilityChangeRequested(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_menuBarVisibilityChangeRequested(hook); } void QWebPage_hook_hook_unsupportedContent(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_unsupportedContent(hook); } void QWebPage_hook_hook_downloadRequested(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_downloadRequested(hook); } void QWebPage_hook_hook_microFocusChanged(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_microFocusChanged(hook); } void QWebPage_hook_hook_contentsChanged(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_contentsChanged(hook); } void QWebPage_hook_hook_databaseQuotaExceeded(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_databaseQuotaExceeded(hook); } void QWebPage_hook_hook_saveFrameStateRequested(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_saveFrameStateRequested(hook); } void QWebPage_hook_hook_restoreFrameStateRequested(QWebPage_hookH handle, QHookH hook) { ((QWebPage_hook *)handle)->hook_restoreFrameStateRequested(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwidget_c.h0000664000212600021260000004113011677135472017151 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWIDGET_C_H #define QWIDGET_C_H #include #include "pascalbind.h" C_EXPORT QWidgetH QWidget_create(QWidgetH parent, unsigned int f); C_EXPORT void QWidget_destroy(QWidgetH handle); C_EXPORT int QWidget_devType(QWidgetH handle); C_EXPORT unsigned int QWidget_winId(QWidgetH handle); C_EXPORT void QWidget_createWinId(QWidgetH handle); C_EXPORT unsigned int QWidget_internalWinId(QWidgetH handle); C_EXPORT unsigned int QWidget_effectiveWinId(QWidgetH handle); C_EXPORT QStyleH QWidget_style(QWidgetH handle); C_EXPORT void QWidget_setStyle(QWidgetH handle, QStyleH AnonParam1); C_EXPORT bool QWidget_isTopLevel(QWidgetH handle); C_EXPORT bool QWidget_isWindow(QWidgetH handle); C_EXPORT bool QWidget_isModal(QWidgetH handle); C_EXPORT Qt::WindowModality QWidget_windowModality(QWidgetH handle); C_EXPORT void QWidget_setWindowModality(QWidgetH handle, Qt::WindowModality windowModality); C_EXPORT bool QWidget_isEnabled(QWidgetH handle); C_EXPORT bool QWidget_isEnabledTo(QWidgetH handle, QWidgetH AnonParam1); C_EXPORT bool QWidget_isEnabledToTLW(QWidgetH handle); C_EXPORT void QWidget_setEnabled(QWidgetH handle, bool AnonParam1); C_EXPORT void QWidget_setDisabled(QWidgetH handle, bool AnonParam1); C_EXPORT void QWidget_setWindowModified(QWidgetH handle, bool AnonParam1); C_EXPORT void QWidget_frameGeometry(QWidgetH handle, PRect retval); C_EXPORT void QWidget_geometry(QWidgetH handle, PRect retval); C_EXPORT void QWidget_normalGeometry(QWidgetH handle, PRect retval); C_EXPORT int QWidget_x(QWidgetH handle); C_EXPORT int QWidget_y(QWidgetH handle); C_EXPORT void QWidget_pos(QWidgetH handle, PQtPoint retval); C_EXPORT void QWidget_frameSize(QWidgetH handle, PSize retval); C_EXPORT void QWidget_size(QWidgetH handle, PSize retval); C_EXPORT int QWidget_width(QWidgetH handle); C_EXPORT int QWidget_height(QWidgetH handle); C_EXPORT void QWidget_rect(QWidgetH handle, PRect retval); C_EXPORT void QWidget_childrenRect(QWidgetH handle, PRect retval); C_EXPORT void QWidget_childrenRegion(QWidgetH handle, QRegionH retval); C_EXPORT void QWidget_minimumSize(QWidgetH handle, PSize retval); C_EXPORT void QWidget_maximumSize(QWidgetH handle, PSize retval); C_EXPORT int QWidget_minimumWidth(QWidgetH handle); C_EXPORT int QWidget_minimumHeight(QWidgetH handle); C_EXPORT int QWidget_maximumWidth(QWidgetH handle); C_EXPORT int QWidget_maximumHeight(QWidgetH handle); C_EXPORT void QWidget_setMinimumSize(QWidgetH handle, const QSizeH AnonParam1); C_EXPORT void QWidget_setMinimumSize2(QWidgetH handle, int minw, int minh); C_EXPORT void QWidget_setMaximumSize(QWidgetH handle, const QSizeH AnonParam1); C_EXPORT void QWidget_setMaximumSize2(QWidgetH handle, int maxw, int maxh); C_EXPORT void QWidget_setMinimumWidth(QWidgetH handle, int minw); C_EXPORT void QWidget_setMinimumHeight(QWidgetH handle, int minh); C_EXPORT void QWidget_setMaximumWidth(QWidgetH handle, int maxw); C_EXPORT void QWidget_setMaximumHeight(QWidgetH handle, int maxh); C_EXPORT void QWidget_sizeIncrement(QWidgetH handle, PSize retval); C_EXPORT void QWidget_setSizeIncrement(QWidgetH handle, const QSizeH AnonParam1); C_EXPORT void QWidget_setSizeIncrement2(QWidgetH handle, int w, int h); C_EXPORT void QWidget_baseSize(QWidgetH handle, PSize retval); C_EXPORT void QWidget_setBaseSize(QWidgetH handle, const QSizeH AnonParam1); C_EXPORT void QWidget_setBaseSize2(QWidgetH handle, int basew, int baseh); C_EXPORT void QWidget_setFixedSize(QWidgetH handle, const QSizeH AnonParam1); C_EXPORT void QWidget_setFixedSize2(QWidgetH handle, int w, int h); C_EXPORT void QWidget_setFixedWidth(QWidgetH handle, int w); C_EXPORT void QWidget_setFixedHeight(QWidgetH handle, int h); C_EXPORT void QWidget_mapToGlobal(QWidgetH handle, PQtPoint retval, const QPointH AnonParam1); C_EXPORT void QWidget_mapFromGlobal(QWidgetH handle, PQtPoint retval, const QPointH AnonParam1); C_EXPORT void QWidget_mapToParent(QWidgetH handle, PQtPoint retval, const QPointH AnonParam1); C_EXPORT void QWidget_mapFromParent(QWidgetH handle, PQtPoint retval, const QPointH AnonParam1); C_EXPORT void QWidget_mapTo(QWidgetH handle, PQtPoint retval, QWidgetH AnonParam1, const QPointH AnonParam2); C_EXPORT void QWidget_mapFrom(QWidgetH handle, PQtPoint retval, QWidgetH AnonParam1, const QPointH AnonParam2); C_EXPORT QWidgetH QWidget_window(QWidgetH handle); C_EXPORT QWidgetH QWidget_nativeParentWidget(QWidgetH handle); C_EXPORT QWidgetH QWidget_topLevelWidget(QWidgetH handle); C_EXPORT const QPaletteH QWidget_palette(QWidgetH handle); C_EXPORT void QWidget_setPalette(QWidgetH handle, const QPaletteH AnonParam1); C_EXPORT void QWidget_setBackgroundRole(QWidgetH handle, QPalette::ColorRole AnonParam1); C_EXPORT QPalette::ColorRole QWidget_backgroundRole(QWidgetH handle); C_EXPORT void QWidget_setForegroundRole(QWidgetH handle, QPalette::ColorRole AnonParam1); C_EXPORT QPalette::ColorRole QWidget_foregroundRole(QWidgetH handle); C_EXPORT const QFontH QWidget_font(QWidgetH handle); C_EXPORT void QWidget_setFont(QWidgetH handle, const QFontH AnonParam1); C_EXPORT void QWidget_fontMetrics(QWidgetH handle, QFontMetricsH retval); C_EXPORT void QWidget_fontInfo(QWidgetH handle, QFontInfoH retval); C_EXPORT void QWidget_cursor(QWidgetH handle, QCursorH retval); C_EXPORT void QWidget_setCursor(QWidgetH handle, const QCursorH AnonParam1); C_EXPORT void QWidget_unsetCursor(QWidgetH handle); C_EXPORT void QWidget_setMouseTracking(QWidgetH handle, bool enable); C_EXPORT bool QWidget_hasMouseTracking(QWidgetH handle); C_EXPORT bool QWidget_underMouse(QWidgetH handle); C_EXPORT void QWidget_setMask(QWidgetH handle, const QBitmapH AnonParam1); C_EXPORT void QWidget_setMask2(QWidgetH handle, const QRegionH AnonParam1); C_EXPORT void QWidget_mask(QWidgetH handle, QRegionH retval); C_EXPORT void QWidget_clearMask(QWidgetH handle); C_EXPORT void QWidget_render(QWidgetH handle, QPaintDeviceH target, const QPointH targetOffset, const QRegionH sourceRegion, unsigned int renderFlags); C_EXPORT void QWidget_render2(QWidgetH handle, QPainterH painter, const QPointH targetOffset, const QRegionH sourceRegion, unsigned int renderFlags); C_EXPORT void QWidget_setWindowTitle(QWidgetH handle, PWideString AnonParam1); C_EXPORT void QWidget_setStyleSheet(QWidgetH handle, PWideString styleSheet); C_EXPORT void QWidget_styleSheet(QWidgetH handle, PWideString retval); C_EXPORT void QWidget_windowTitle(QWidgetH handle, PWideString retval); C_EXPORT void QWidget_setWindowIcon(QWidgetH handle, const QIconH icon); C_EXPORT void QWidget_windowIcon(QWidgetH handle, QIconH retval); C_EXPORT void QWidget_setWindowIconText(QWidgetH handle, PWideString AnonParam1); C_EXPORT void QWidget_windowIconText(QWidgetH handle, PWideString retval); C_EXPORT void QWidget_setWindowRole(QWidgetH handle, PWideString AnonParam1); C_EXPORT void QWidget_windowRole(QWidgetH handle, PWideString retval); C_EXPORT void QWidget_setWindowFilePath(QWidgetH handle, PWideString filePath); C_EXPORT void QWidget_windowFilePath(QWidgetH handle, PWideString retval); C_EXPORT void QWidget_setWindowOpacity(QWidgetH handle, qreal level); C_EXPORT qreal QWidget_windowOpacity(QWidgetH handle); C_EXPORT bool QWidget_isWindowModified(QWidgetH handle); C_EXPORT void QWidget_setToolTip(QWidgetH handle, PWideString AnonParam1); C_EXPORT void QWidget_toolTip(QWidgetH handle, PWideString retval); C_EXPORT void QWidget_setStatusTip(QWidgetH handle, PWideString AnonParam1); C_EXPORT void QWidget_statusTip(QWidgetH handle, PWideString retval); C_EXPORT void QWidget_setWhatsThis(QWidgetH handle, PWideString AnonParam1); C_EXPORT void QWidget_whatsThis(QWidgetH handle, PWideString retval); C_EXPORT void QWidget_accessibleName(QWidgetH handle, PWideString retval); C_EXPORT void QWidget_setAccessibleName(QWidgetH handle, PWideString name); C_EXPORT void QWidget_accessibleDescription(QWidgetH handle, PWideString retval); C_EXPORT void QWidget_setAccessibleDescription(QWidgetH handle, PWideString description); C_EXPORT void QWidget_setLayoutDirection(QWidgetH handle, Qt::LayoutDirection direction); C_EXPORT Qt::LayoutDirection QWidget_layoutDirection(QWidgetH handle); C_EXPORT void QWidget_unsetLayoutDirection(QWidgetH handle); C_EXPORT void QWidget_setLocale(QWidgetH handle, const QLocaleH locale); C_EXPORT void QWidget_locale(QWidgetH handle, QLocaleH retval); C_EXPORT void QWidget_unsetLocale(QWidgetH handle); C_EXPORT bool QWidget_isRightToLeft(QWidgetH handle); C_EXPORT bool QWidget_isLeftToRight(QWidgetH handle); C_EXPORT void QWidget_setFocus(QWidgetH handle); C_EXPORT bool QWidget_isActiveWindow(QWidgetH handle); C_EXPORT void QWidget_activateWindow(QWidgetH handle); C_EXPORT void QWidget_clearFocus(QWidgetH handle); C_EXPORT void QWidget_setFocus2(QWidgetH handle, Qt::FocusReason reason); C_EXPORT Qt::FocusPolicy QWidget_focusPolicy(QWidgetH handle); C_EXPORT void QWidget_setFocusPolicy(QWidgetH handle, Qt::FocusPolicy policy); C_EXPORT bool QWidget_hasFocus(QWidgetH handle); C_EXPORT void QWidget_setTabOrder(QWidgetH AnonParam1, QWidgetH AnonParam2); C_EXPORT void QWidget_setFocusProxy(QWidgetH handle, QWidgetH AnonParam1); C_EXPORT QWidgetH QWidget_focusProxy(QWidgetH handle); C_EXPORT Qt::ContextMenuPolicy QWidget_contextMenuPolicy(QWidgetH handle); C_EXPORT void QWidget_setContextMenuPolicy(QWidgetH handle, Qt::ContextMenuPolicy policy); C_EXPORT void QWidget_grabMouse(QWidgetH handle); C_EXPORT void QWidget_grabMouse2(QWidgetH handle, const QCursorH AnonParam1); C_EXPORT void QWidget_releaseMouse(QWidgetH handle); C_EXPORT void QWidget_grabKeyboard(QWidgetH handle); C_EXPORT void QWidget_releaseKeyboard(QWidgetH handle); C_EXPORT int QWidget_grabShortcut(QWidgetH handle, const QKeySequenceH key, Qt::ShortcutContext context); C_EXPORT void QWidget_releaseShortcut(QWidgetH handle, int id); C_EXPORT void QWidget_setShortcutEnabled(QWidgetH handle, int id, bool enable); C_EXPORT void QWidget_setShortcutAutoRepeat(QWidgetH handle, int id, bool enable); C_EXPORT QWidgetH QWidget_mouseGrabber(); C_EXPORT QWidgetH QWidget_keyboardGrabber(); C_EXPORT bool QWidget_updatesEnabled(QWidgetH handle); C_EXPORT void QWidget_setUpdatesEnabled(QWidgetH handle, bool enable); C_EXPORT QGraphicsProxyWidgetH QWidget_graphicsProxyWidget(QWidgetH handle); C_EXPORT void QWidget_update(QWidgetH handle); C_EXPORT void QWidget_repaint(QWidgetH handle); C_EXPORT void QWidget_update2(QWidgetH handle, int x, int y, int w, int h); C_EXPORT void QWidget_update3(QWidgetH handle, PRect AnonParam1); C_EXPORT void QWidget_update4(QWidgetH handle, const QRegionH AnonParam1); C_EXPORT void QWidget_repaint2(QWidgetH handle, int x, int y, int w, int h); C_EXPORT void QWidget_repaint3(QWidgetH handle, PRect AnonParam1); C_EXPORT void QWidget_repaint4(QWidgetH handle, const QRegionH AnonParam1); C_EXPORT void QWidget_setVisible(QWidgetH handle, bool visible); C_EXPORT void QWidget_setHidden(QWidgetH handle, bool hidden); C_EXPORT void QWidget_show(QWidgetH handle); C_EXPORT void QWidget_hide(QWidgetH handle); C_EXPORT void QWidget_setShown(QWidgetH handle, bool shown); C_EXPORT void QWidget_showMinimized(QWidgetH handle); C_EXPORT void QWidget_showMaximized(QWidgetH handle); C_EXPORT void QWidget_showFullScreen(QWidgetH handle); C_EXPORT void QWidget_showNormal(QWidgetH handle); C_EXPORT bool QWidget_close(QWidgetH handle); C_EXPORT void QWidget_raise(QWidgetH handle); C_EXPORT void QWidget_lower(QWidgetH handle); C_EXPORT void QWidget_stackUnder(QWidgetH handle, QWidgetH AnonParam1); C_EXPORT void QWidget_move(QWidgetH handle, int x, int y); C_EXPORT void QWidget_move2(QWidgetH handle, const QPointH AnonParam1); C_EXPORT void QWidget_resize(QWidgetH handle, int w, int h); C_EXPORT void QWidget_resize2(QWidgetH handle, const QSizeH AnonParam1); C_EXPORT void QWidget_setGeometry(QWidgetH handle, int x, int y, int w, int h); C_EXPORT void QWidget_setGeometry2(QWidgetH handle, PRect AnonParam1); C_EXPORT void QWidget_saveGeometry(QWidgetH handle, QByteArrayH retval); C_EXPORT bool QWidget_restoreGeometry(QWidgetH handle, const QByteArrayH geometry); C_EXPORT void QWidget_adjustSize(QWidgetH handle); C_EXPORT bool QWidget_isVisible(QWidgetH handle); C_EXPORT bool QWidget_isVisibleTo(QWidgetH handle, QWidgetH AnonParam1); C_EXPORT bool QWidget_isHidden(QWidgetH handle); C_EXPORT bool QWidget_isMinimized(QWidgetH handle); C_EXPORT bool QWidget_isMaximized(QWidgetH handle); C_EXPORT bool QWidget_isFullScreen(QWidgetH handle); C_EXPORT unsigned int QWidget_windowState(QWidgetH handle); C_EXPORT void QWidget_setWindowState(QWidgetH handle, unsigned int state); C_EXPORT void QWidget_overrideWindowState(QWidgetH handle, unsigned int state); C_EXPORT void QWidget_sizeHint(QWidgetH handle, PSize retval); C_EXPORT void QWidget_minimumSizeHint(QWidgetH handle, PSize retval); C_EXPORT void QWidget_sizePolicy(QWidgetH handle, PQSizePolicy retval); C_EXPORT void QWidget_setSizePolicy(QWidgetH handle, PQSizePolicy AnonParam1); C_EXPORT void QWidget_setSizePolicy2(QWidgetH handle, QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical); C_EXPORT int QWidget_heightForWidth(QWidgetH handle, int AnonParam1); C_EXPORT void QWidget_visibleRegion(QWidgetH handle, QRegionH retval); C_EXPORT void QWidget_setContentsMargins(QWidgetH handle, int left, int top, int right, int bottom); C_EXPORT void QWidget_getContentsMargins(QWidgetH handle, int* left, int* top, int* right, int* bottom); C_EXPORT void QWidget_contentsRect(QWidgetH handle, PRect retval); C_EXPORT QLayoutH QWidget_layout(QWidgetH handle); C_EXPORT void QWidget_setLayout(QWidgetH handle, QLayoutH AnonParam1); C_EXPORT void QWidget_updateGeometry(QWidgetH handle); C_EXPORT void QWidget_setParent(QWidgetH handle, QWidgetH parent); C_EXPORT void QWidget_setParent2(QWidgetH handle, QWidgetH parent, unsigned int f); C_EXPORT void QWidget_scroll(QWidgetH handle, int dx, int dy); C_EXPORT void QWidget_scroll2(QWidgetH handle, int dx, int dy, PRect AnonParam3); C_EXPORT QWidgetH QWidget_focusWidget(QWidgetH handle); C_EXPORT QWidgetH QWidget_nextInFocusChain(QWidgetH handle); C_EXPORT bool QWidget_acceptDrops(QWidgetH handle); C_EXPORT void QWidget_setAcceptDrops(QWidgetH handle, bool on); C_EXPORT void QWidget_addAction(QWidgetH handle, QActionH action); C_EXPORT void QWidget_addActions(QWidgetH handle, PPtrIntArray actions); C_EXPORT void QWidget_insertAction(QWidgetH handle, QActionH before, QActionH action); C_EXPORT void QWidget_insertActions(QWidgetH handle, QActionH before, PPtrIntArray actions); C_EXPORT void QWidget_removeAction(QWidgetH handle, QActionH action); C_EXPORT void QWidget_actions(QWidgetH handle, PPtrIntArray retval); C_EXPORT QWidgetH QWidget_parentWidget(QWidgetH handle); C_EXPORT void QWidget_setWindowFlags(QWidgetH handle, unsigned int type); C_EXPORT unsigned int QWidget_windowFlags(QWidgetH handle); C_EXPORT void QWidget_overrideWindowFlags(QWidgetH handle, unsigned int type); C_EXPORT Qt::WindowType QWidget_windowType(QWidgetH handle); C_EXPORT QWidgetH QWidget_find(unsigned int AnonParam1); C_EXPORT QWidgetH QWidget_childAt(QWidgetH handle, int x, int y); C_EXPORT QWidgetH QWidget_childAt2(QWidgetH handle, const QPointH p); #if defined BINUX C_EXPORT const QX11InfoH QWidget_x11Info(QWidgetH handle); C_EXPORT Qt::HANDLE QWidget_x11PictureHandle(QWidgetH handle); #endif #if defined BINUX || DARWIN || QTOPIA C_EXPORT Qt::HANDLE QWidget_handle(QWidgetH handle); #endif C_EXPORT void QWidget_setAttribute(QWidgetH handle, Qt::WidgetAttribute AnonParam1, bool on); C_EXPORT bool QWidget_testAttribute(QWidgetH handle, Qt::WidgetAttribute AnonParam1); C_EXPORT QPaintEngineH QWidget_paintEngine(QWidgetH handle); C_EXPORT void QWidget_ensurePolished(QWidgetH handle); C_EXPORT QInputContextH QWidget_inputContext(QWidgetH handle); C_EXPORT void QWidget_setInputContext(QWidgetH handle, QInputContextH AnonParam1); C_EXPORT bool QWidget_isAncestorOf(QWidgetH handle, const QWidgetH child); C_EXPORT bool QWidget_autoFillBackground(QWidgetH handle); C_EXPORT void QWidget_setAutoFillBackground(QWidgetH handle, bool enabled); C_EXPORT void QWidget_inputMethodQuery(QWidgetH handle, QVariantH retval, Qt::InputMethodQuery AnonParam1); #if defined MSWINDOWS C_EXPORT HDC QWidget_getDC(QWidgetH handle); C_EXPORT void QWidget_releaseDC(QWidgetH handle, HDC AnonParam1); #endif #if defined DARWIN C_EXPORT Qt::HANDLE QWidget_macQDHandle(QWidgetH handle); C_EXPORT Qt::HANDLE QWidget_macCGHandle(QWidgetH handle); #endif C_EXPORT QPaintDeviceH QWidget_to_QPaintDevice(QWidgetH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpixmap_c.cpp0000664000212600021260000002374611677135472017534 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qpixmap_c.h" QPixmapH QPixmap_create() { return (QPixmapH) new QPixmap(); } void QPixmap_destroy(QPixmapH handle) { delete (QPixmap *)handle; } QPixmapH QPixmap_create2(int w, int h) { return (QPixmapH) new QPixmap(w, h); } QPixmapH QPixmap_create3(const QSizeH AnonParam1) { return (QPixmapH) new QPixmap(*(const QSize*)AnonParam1); } QPixmapH QPixmap_create4(PWideString fileName, const char* format, unsigned int flags) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (QPixmapH) new QPixmap(t_fileName, format, (Qt::ImageConversionFlags)flags); } QPixmapH QPixmap_create5(const char* const xpm) { return (QPixmapH) new QPixmap(xpm); } QPixmapH QPixmap_create6(const QPixmapH AnonParam1) { return (QPixmapH) new QPixmap(*(const QPixmap*)AnonParam1); } bool QPixmap_isNull(QPixmapH handle) { return (bool) ((QPixmap *)handle)->isNull(); } int QPixmap_devType(QPixmapH handle) { return (int) ((QPixmap *)handle)->devType(); } int QPixmap_width(QPixmapH handle) { return (int) ((QPixmap *)handle)->width(); } int QPixmap_height(QPixmapH handle) { return (int) ((QPixmap *)handle)->height(); } void QPixmap_size(QPixmapH handle, PSize retval) { *(QSize *)retval = ((QPixmap *)handle)->size(); } void QPixmap_rect(QPixmapH handle, PRect retval) { QRect t_retval; t_retval = ((QPixmap *)handle)->rect(); copyQRectToPRect(t_retval, retval); } int QPixmap_depth(QPixmapH handle) { return (int) ((QPixmap *)handle)->depth(); } int QPixmap_defaultDepth() { return (int) QPixmap::defaultDepth(); } void QPixmap_fill(QPixmapH handle, const QColorH fillColor) { ((QPixmap *)handle)->fill(*(const QColor*)fillColor); } void QPixmap_fill2(QPixmapH handle, const QWidgetH widget, const QPointH ofs) { ((QPixmap *)handle)->fill((const QWidget*)widget, *(const QPoint*)ofs); } void QPixmap_fill3(QPixmapH handle, const QWidgetH widget, int xofs, int yofs) { ((QPixmap *)handle)->fill((const QWidget*)widget, xofs, yofs); } void QPixmap_mask(QPixmapH handle, QBitmapH retval) { *(QBitmap *)retval = ((QPixmap *)handle)->mask(); } void QPixmap_setMask(QPixmapH handle, const QBitmapH AnonParam1) { ((QPixmap *)handle)->setMask(*(const QBitmap*)AnonParam1); } void QPixmap_alphaChannel(QPixmapH handle, QPixmapH retval) { *(QPixmap *)retval = ((QPixmap *)handle)->alphaChannel(); } void QPixmap_setAlphaChannel(QPixmapH handle, const QPixmapH AnonParam1) { ((QPixmap *)handle)->setAlphaChannel(*(const QPixmap*)AnonParam1); } bool QPixmap_hasAlpha(QPixmapH handle) { return (bool) ((QPixmap *)handle)->hasAlpha(); } bool QPixmap_hasAlphaChannel(QPixmapH handle) { return (bool) ((QPixmap *)handle)->hasAlphaChannel(); } void QPixmap_createHeuristicMask(QPixmapH handle, QBitmapH retval, bool clipTight) { *(QBitmap *)retval = ((QPixmap *)handle)->createHeuristicMask(clipTight); } void QPixmap_createMaskFromColor(QPixmapH handle, QBitmapH retval, const QColorH maskColor) { *(QBitmap *)retval = ((QPixmap *)handle)->createMaskFromColor(*(const QColor*)maskColor); } void QPixmap_createMaskFromColor2(QPixmapH handle, QBitmapH retval, const QColorH maskColor, Qt::MaskMode mode) { *(QBitmap *)retval = ((QPixmap *)handle)->createMaskFromColor(*(const QColor*)maskColor, mode); } void QPixmap_grabWindow(QPixmapH retval, unsigned int AnonParam1, int x, int y, int w, int h) { *(QPixmap *)retval = QPixmap::grabWindow((WId)AnonParam1, x, y, w, h); } void QPixmap_grabWidget(QPixmapH retval, QWidgetH widget, PRect rect) { QRect t_rect; copyPRectToQRect(rect, t_rect); *(QPixmap *)retval = QPixmap::grabWidget((QWidget*)widget, t_rect); } void QPixmap_grabWidget2(QPixmapH retval, QWidgetH widget, int x, int y, int w, int h) { *(QPixmap *)retval = QPixmap::grabWidget((QWidget*)widget, x, y, w, h); } void QPixmap_scaled(QPixmapH handle, QPixmapH retval, int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) { *(QPixmap *)retval = ((QPixmap *)handle)->scaled(w, h, aspectMode, mode); } void QPixmap_scaled2(QPixmapH handle, QPixmapH retval, const QSizeH s, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode) { *(QPixmap *)retval = ((QPixmap *)handle)->scaled(*(const QSize*)s, aspectMode, mode); } void QPixmap_scaledToWidth(QPixmapH handle, QPixmapH retval, int w, Qt::TransformationMode mode) { *(QPixmap *)retval = ((QPixmap *)handle)->scaledToWidth(w, mode); } void QPixmap_scaledToHeight(QPixmapH handle, QPixmapH retval, int h, Qt::TransformationMode mode) { *(QPixmap *)retval = ((QPixmap *)handle)->scaledToHeight(h, mode); } void QPixmap_transformed(QPixmapH handle, QPixmapH retval, const QMatrixH AnonParam1, Qt::TransformationMode mode) { *(QPixmap *)retval = ((QPixmap *)handle)->transformed(*(const QMatrix*)AnonParam1, mode); } void QPixmap_trueMatrix(QMatrixH retval, const QMatrixH m, int w, int h) { *(QMatrix *)retval = QPixmap::trueMatrix(*(const QMatrix*)m, w, h); } void QPixmap_transformed2(QPixmapH handle, QPixmapH retval, const QTransformH AnonParam1, Qt::TransformationMode mode) { *(QPixmap *)retval = ((QPixmap *)handle)->transformed(*(const QTransform*)AnonParam1, mode); } void QPixmap_trueMatrix2(QTransformH retval, const QTransformH m, int w, int h) { *(QTransform *)retval = QPixmap::trueMatrix(*(const QTransform*)m, w, h); } void QPixmap_toImage(QPixmapH handle, QImageH retval) { *(QImage *)retval = ((QPixmap *)handle)->toImage(); } void QPixmap_fromImage(QPixmapH retval, const QImageH image, unsigned int flags) { *(QPixmap *)retval = QPixmap::fromImage(*(const QImage*)image, (Qt::ImageConversionFlags)flags); } bool QPixmap_load(QPixmapH handle, PWideString fileName, const char* format, unsigned int flags) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (bool) ((QPixmap *)handle)->load(t_fileName, format, (Qt::ImageConversionFlags)flags); } bool QPixmap_loadFromData(QPixmapH handle, const uchar* buf, uint len, const char* format, unsigned int flags) { return (bool) ((QPixmap *)handle)->loadFromData(buf, len, format, (Qt::ImageConversionFlags)flags); } bool QPixmap_loadFromData2(QPixmapH handle, const QByteArrayH data, const char* format, unsigned int flags) { return (bool) ((QPixmap *)handle)->loadFromData(*(const QByteArray*)data, format, (Qt::ImageConversionFlags)flags); } bool QPixmap_save(QPixmapH handle, PWideString fileName, const char* format, int quality) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (bool) ((QPixmap *)handle)->save(t_fileName, format, quality); } bool QPixmap_save2(QPixmapH handle, QIODeviceH device, const char* format, int quality) { return (bool) ((QPixmap *)handle)->save((QIODevice*)device, format, quality); } void QPixmap_copy(QPixmapH handle, QPixmapH retval, int x, int y, int width, int height) { *(QPixmap *)retval = ((QPixmap *)handle)->copy(x, y, width, height); } void QPixmap_copy2(QPixmapH handle, QPixmapH retval, PRect rect) { QRect t_rect; copyPRectToQRect(rect, t_rect); *(QPixmap *)retval = ((QPixmap *)handle)->copy(t_rect); } int QPixmap_serialNumber(QPixmapH handle) { return (int) ((QPixmap *)handle)->serialNumber(); } qint64 QPixmap_cacheKey(QPixmapH handle) { return (qint64) ((QPixmap *)handle)->cacheKey(); } bool QPixmap_isDetached(QPixmapH handle) { return (bool) ((QPixmap *)handle)->isDetached(); } void QPixmap_detach(QPixmapH handle) { ((QPixmap *)handle)->detach(); } bool QPixmap_isQBitmap(QPixmapH handle) { return (bool) ((QPixmap *)handle)->isQBitmap(); } #if defined BINUX void QPixmap_fromX11Pixmap(QPixmapH retval, Qt::HANDLE pixmap, QPixmap::ShareMode mode) { *(QPixmap *)retval = QPixmap::fromX11Pixmap(pixmap, mode); } int QPixmap_x11SetDefaultScreen(int screen) { return (int) QPixmap::x11SetDefaultScreen(screen); } void QPixmap_x11SetScreen(QPixmapH handle, int screen) { ((QPixmap *)handle)->x11SetScreen(screen); } const QX11InfoH QPixmap_x11Info(QPixmapH handle) { return (const QX11InfoH) &((QPixmap *)handle)->x11Info(); } Qt::HANDLE QPixmap_x11PictureHandle(QPixmapH handle) { return (Qt::HANDLE) ((QPixmap *)handle)->x11PictureHandle(); } #endif #if defined BINUX || QTOPIA Qt::HANDLE QPixmap_handle(QPixmapH handle) { return (Qt::HANDLE) ((QPixmap *)handle)->handle(); } #endif QPaintEngineH QPixmap_paintEngine(QPixmapH handle) { return (QPaintEngineH) ((QPixmap *)handle)->paintEngine(); } #if defined MSWINDOWS HBITMAP QPixmap_toWinHBITMAP(QPixmapH handle, QPixmap::HBitmapFormat format) { return (HBITMAP) ((QPixmap *)handle)->toWinHBITMAP(format); } void QPixmap_fromWinHBITMAP(QPixmapH retval, HBITMAP hbitmap, QPixmap::HBitmapFormat format) { *(QPixmap *)retval = QPixmap::fromWinHBITMAP(hbitmap, format); } #endif #if defined DARWIN CGImageRef QPixmap_toMacCGImageRef(QPixmapH handle) { return (CGImageRef) ((QPixmap *)handle)->toMacCGImageRef(); } void QPixmap_fromMacCGImageRef(QPixmapH retval, CGImageRef image) { *(QPixmap *)retval = QPixmap::fromMacCGImageRef(image); } Qt::HANDLE QPixmap_macQDHandle(QPixmapH handle) { return (Qt::HANDLE) ((QPixmap *)handle)->macQDHandle(); } Qt::HANDLE QPixmap_macQDAlphaHandle(QPixmapH handle) { return (Qt::HANDLE) ((QPixmap *)handle)->macQDAlphaHandle(); } Qt::HANDLE QPixmap_macCGHandle(QPixmapH handle) { return (Qt::HANDLE) ((QPixmap *)handle)->macCGHandle(); } #endif #if defined QTOPIA const uchar* QPixmap_qwsBits(QPixmapH handle) { return (const uchar*) ((QPixmap *)handle)->qwsBits(); } int QPixmap_qwsBytesPerLine(QPixmapH handle) { return (int) ((QPixmap *)handle)->qwsBytesPerLine(); } QRgb * QPixmap_clut(QPixmapH handle) { return (QRgb *) ((QPixmap *)handle)->clut(); } int QPixmap_numCols(QPixmapH handle) { return (int) ((QPixmap *)handle)->numCols(); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebframe_c.cpp0000664000212600021260000002150411677135472020014 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebframe_c.h" QWebHitTestResultH QWebHitTestResult_create() { return (QWebHitTestResultH) new QWebHitTestResult(); } void QWebHitTestResult_destroy(QWebHitTestResultH handle) { delete (QWebHitTestResult *)handle; } QWebHitTestResultH QWebHitTestResult_create2(const QWebHitTestResultH other) { return (QWebHitTestResultH) new QWebHitTestResult(*(const QWebHitTestResult*)other); } bool QWebHitTestResult_isNull(QWebHitTestResultH handle) { return (bool) ((QWebHitTestResult *)handle)->isNull(); } void QWebHitTestResult_pos(QWebHitTestResultH handle, PQtPoint retval) { *(QPoint *)retval = ((QWebHitTestResult *)handle)->pos(); } void QWebHitTestResult_boundingRect(QWebHitTestResultH handle, PRect retval) { QRect t_retval; t_retval = ((QWebHitTestResult *)handle)->boundingRect(); copyQRectToPRect(t_retval, retval); } void QWebHitTestResult_title(QWebHitTestResultH handle, PWideString retval) { QString t_retval; t_retval = ((QWebHitTestResult *)handle)->title(); copyQStringToPWideString(t_retval, retval); } void QWebHitTestResult_linkText(QWebHitTestResultH handle, PWideString retval) { QString t_retval; t_retval = ((QWebHitTestResult *)handle)->linkText(); copyQStringToPWideString(t_retval, retval); } void QWebHitTestResult_linkUrl(QWebHitTestResultH handle, QUrlH retval) { *(QUrl *)retval = ((QWebHitTestResult *)handle)->linkUrl(); } void QWebHitTestResult_linkTitle(QWebHitTestResultH handle, QUrlH retval) { *(QUrl *)retval = ((QWebHitTestResult *)handle)->linkTitle(); } QWebFrameH QWebHitTestResult_linkTargetFrame(QWebHitTestResultH handle) { return (QWebFrameH) ((QWebHitTestResult *)handle)->linkTargetFrame(); } void QWebHitTestResult_alternateText(QWebHitTestResultH handle, PWideString retval) { QString t_retval; t_retval = ((QWebHitTestResult *)handle)->alternateText(); copyQStringToPWideString(t_retval, retval); } void QWebHitTestResult_imageUrl(QWebHitTestResultH handle, QUrlH retval) { *(QUrl *)retval = ((QWebHitTestResult *)handle)->imageUrl(); } void QWebHitTestResult_pixmap(QWebHitTestResultH handle, QPixmapH retval) { *(QPixmap *)retval = ((QWebHitTestResult *)handle)->pixmap(); } bool QWebHitTestResult_isContentEditable(QWebHitTestResultH handle) { return (bool) ((QWebHitTestResult *)handle)->isContentEditable(); } bool QWebHitTestResult_isContentSelected(QWebHitTestResultH handle) { return (bool) ((QWebHitTestResult *)handle)->isContentSelected(); } QWebFrameH QWebHitTestResult_frame(QWebHitTestResultH handle) { return (QWebFrameH) ((QWebHitTestResult *)handle)->frame(); } QWebPageH QWebFrame_page(QWebFrameH handle) { return (QWebPageH) ((QWebFrame *)handle)->page(); } void QWebFrame_load(QWebFrameH handle, const QUrlH url) { ((QWebFrame *)handle)->load(*(const QUrl*)url); } void QWebFrame_load2(QWebFrameH handle, const QNetworkRequestH request, QNetworkAccessManager::Operation operation, const QByteArrayH body) { ((QWebFrame *)handle)->load(*(const QNetworkRequest*)request, operation, *(const QByteArray*)body); } void QWebFrame_setHtml(QWebFrameH handle, PWideString html, const QUrlH baseUrl) { QString t_html; copyPWideStringToQString(html, t_html); ((QWebFrame *)handle)->setHtml(t_html, *(const QUrl*)baseUrl); } void QWebFrame_setContent(QWebFrameH handle, const QByteArrayH data, PWideString mimeType, const QUrlH baseUrl) { QString t_mimeType; copyPWideStringToQString(mimeType, t_mimeType); ((QWebFrame *)handle)->setContent(*(const QByteArray*)data, t_mimeType, *(const QUrl*)baseUrl); } void QWebFrame_addToJavaScriptWindowObject(QWebFrameH handle, PWideString name, QObjectH object) { QString t_name; copyPWideStringToQString(name, t_name); ((QWebFrame *)handle)->addToJavaScriptWindowObject(t_name, (QObject*)object); } void QWebFrame_toHtml(QWebFrameH handle, PWideString retval) { QString t_retval; t_retval = ((QWebFrame *)handle)->toHtml(); copyQStringToPWideString(t_retval, retval); } void QWebFrame_toPlainText(QWebFrameH handle, PWideString retval) { QString t_retval; t_retval = ((QWebFrame *)handle)->toPlainText(); copyQStringToPWideString(t_retval, retval); } void QWebFrame_renderTreeDump(QWebFrameH handle, PWideString retval) { QString t_retval; t_retval = ((QWebFrame *)handle)->renderTreeDump(); copyQStringToPWideString(t_retval, retval); } void QWebFrame_title(QWebFrameH handle, PWideString retval) { QString t_retval; t_retval = ((QWebFrame *)handle)->title(); copyQStringToPWideString(t_retval, retval); } void QWebFrame_setUrl(QWebFrameH handle, const QUrlH url) { ((QWebFrame *)handle)->setUrl(*(const QUrl*)url); } void QWebFrame_url(QWebFrameH handle, QUrlH retval) { *(QUrl *)retval = ((QWebFrame *)handle)->url(); } void QWebFrame_icon(QWebFrameH handle, QIconH retval) { *(QIcon *)retval = ((QWebFrame *)handle)->icon(); } void QWebFrame_frameName(QWebFrameH handle, PWideString retval) { QString t_retval; t_retval = ((QWebFrame *)handle)->frameName(); copyQStringToPWideString(t_retval, retval); } QWebFrameH QWebFrame_parentFrame(QWebFrameH handle) { return (QWebFrameH) ((QWebFrame *)handle)->parentFrame(); } void QWebFrame_childFrames(QWebFrameH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QWebFrame *)handle)->childFrames(); copyQListTemplateToPtrIntArray(t_retval, retval); } Qt::ScrollBarPolicy QWebFrame_scrollBarPolicy(QWebFrameH handle, Qt::Orientation orientation) { return (Qt::ScrollBarPolicy) ((QWebFrame *)handle)->scrollBarPolicy(orientation); } void QWebFrame_setScrollBarPolicy(QWebFrameH handle, Qt::Orientation orientation, Qt::ScrollBarPolicy policy) { ((QWebFrame *)handle)->setScrollBarPolicy(orientation, policy); } void QWebFrame_setScrollBarValue(QWebFrameH handle, Qt::Orientation orientation, int value) { ((QWebFrame *)handle)->setScrollBarValue(orientation, value); } int QWebFrame_scrollBarValue(QWebFrameH handle, Qt::Orientation orientation) { return (int) ((QWebFrame *)handle)->scrollBarValue(orientation); } int QWebFrame_scrollBarMinimum(QWebFrameH handle, Qt::Orientation orientation) { return (int) ((QWebFrame *)handle)->scrollBarMinimum(orientation); } int QWebFrame_scrollBarMaximum(QWebFrameH handle, Qt::Orientation orientation) { return (int) ((QWebFrame *)handle)->scrollBarMaximum(orientation); } void QWebFrame_scroll(QWebFrameH handle, int AnonParam1, int AnonParam2) { ((QWebFrame *)handle)->scroll(AnonParam1, AnonParam2); } void QWebFrame_scrollPosition(QWebFrameH handle, PQtPoint retval) { *(QPoint *)retval = ((QWebFrame *)handle)->scrollPosition(); } void QWebFrame_setScrollPosition(QWebFrameH handle, const QPointH pos) { ((QWebFrame *)handle)->setScrollPosition(*(const QPoint*)pos); } void QWebFrame_render(QWebFrameH handle, QPainterH painter, const QRegionH clip) { ((QWebFrame *)handle)->render((QPainter*)painter, *(const QRegion*)clip); } void QWebFrame_render2(QWebFrameH handle, QPainterH painter) { ((QWebFrame *)handle)->render((QPainter*)painter); } void QWebFrame_setTextSizeMultiplier(QWebFrameH handle, qreal factor) { ((QWebFrame *)handle)->setTextSizeMultiplier(factor); } qreal QWebFrame_textSizeMultiplier(QWebFrameH handle) { return (qreal) ((QWebFrame *)handle)->textSizeMultiplier(); } qreal QWebFrame_zoomFactor(QWebFrameH handle) { return (qreal) ((QWebFrame *)handle)->zoomFactor(); } void QWebFrame_setZoomFactor(QWebFrameH handle, qreal factor) { ((QWebFrame *)handle)->setZoomFactor(factor); } void QWebFrame_pos(QWebFrameH handle, PQtPoint retval) { *(QPoint *)retval = ((QWebFrame *)handle)->pos(); } void QWebFrame_geometry(QWebFrameH handle, PRect retval) { QRect t_retval; t_retval = ((QWebFrame *)handle)->geometry(); copyQRectToPRect(t_retval, retval); } void QWebFrame_contentsSize(QWebFrameH handle, PSize retval) { *(QSize *)retval = ((QWebFrame *)handle)->contentsSize(); } void QWebFrame_hitTestContent(QWebFrameH handle, QWebHitTestResultH retval, const QPointH pos) { *(QWebHitTestResult *)retval = ((QWebFrame *)handle)->hitTestContent(*(const QPoint*)pos); } bool QWebFrame_event(QWebFrameH handle, QEventH AnonParam1) { return (bool) ((QWebFrame *)handle)->event((QEvent*)AnonParam1); } void QWebFrame_evaluateJavaScript(QWebFrameH handle, QVariantH retval, PWideString scriptSource) { QString t_scriptSource; copyPWideStringToQString(scriptSource, t_scriptSource); *(QVariant *)retval = ((QWebFrame *)handle)->evaluateJavaScript(t_scriptSource); } void QWebFrame_print(QWebFrameH handle, QPrinterH printer) { ((QWebFrame *)handle)->print((QPrinter*)printer); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdesktopwidget_hook.h0000664000212600021260000000373411677135472021271 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDESKTOPWIDGET_HOOK_H #define QDESKTOPWIDGET_HOOK_H #include #include "qwidget_hook.h" class QDesktopWidget_hook : public QWidget_hook { Q_OBJECT public: QDesktopWidget_hook(QObject *handle) : QWidget_hook(handle) { resized_event.func = NULL; workAreaResized_event.func = NULL; } void hook_resized(QHook &hook) { if ( !resized_event.func ) connect(handle, SIGNAL(resized(int)), this, SLOT(resized_hook(int))); resized_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(resized(int)), this, SLOT(resized_hook(int))); } void hook_workAreaResized(QHook &hook) { if ( !workAreaResized_event.func ) connect(handle, SIGNAL(workAreaResized(int)), this, SLOT(workAreaResized_hook(int))); workAreaResized_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(workAreaResized(int)), this, SLOT(workAreaResized_hook(int))); } private slots: void resized_hook(int AnonParam1) { if ( resized_event.func ) { typedef void (*func_type)(void *data, int AnonParam1); (*(func_type)resized_event.func)(resized_event.data, AnonParam1); } } void workAreaResized_hook(int AnonParam1) { if ( workAreaResized_event.func ) { typedef void (*func_type)(void *data, int AnonParam1); (*(func_type)workAreaResized_event.func)(workAreaResized_event.data, AnonParam1); } } private: QHook resized_event; QHook workAreaResized_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtreewidget_c.cpp0000664000212600021260000005012611677135472020371 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtreewidget_c.h" QTreeWidgetItemH QTreeWidgetItem_create(int type) { return (QTreeWidgetItemH) new QTreeWidgetItem(type); } void QTreeWidgetItem_destroy(QTreeWidgetItemH handle) { delete (QTreeWidgetItem *)handle; } QTreeWidgetItemH QTreeWidgetItem_create2(const QStringListH strings, int type) { return (QTreeWidgetItemH) new QTreeWidgetItem(*(const QStringList*)strings, type); } QTreeWidgetItemH QTreeWidgetItem_create3(QTreeWidgetH view, int type) { return (QTreeWidgetItemH) new QTreeWidgetItem((QTreeWidget*)view, type); } QTreeWidgetItemH QTreeWidgetItem_create4(QTreeWidgetH view, const QStringListH strings, int type) { return (QTreeWidgetItemH) new QTreeWidgetItem((QTreeWidget*)view, *(const QStringList*)strings, type); } QTreeWidgetItemH QTreeWidgetItem_create5(QTreeWidgetH view, QTreeWidgetItemH after, int type) { return (QTreeWidgetItemH) new QTreeWidgetItem((QTreeWidget*)view, (QTreeWidgetItem*)after, type); } QTreeWidgetItemH QTreeWidgetItem_create6(QTreeWidgetItemH parent, int type) { return (QTreeWidgetItemH) new QTreeWidgetItem((QTreeWidgetItem*)parent, type); } QTreeWidgetItemH QTreeWidgetItem_create7(QTreeWidgetItemH parent, const QStringListH strings, int type) { return (QTreeWidgetItemH) new QTreeWidgetItem((QTreeWidgetItem*)parent, *(const QStringList*)strings, type); } QTreeWidgetItemH QTreeWidgetItem_create8(QTreeWidgetItemH parent, QTreeWidgetItemH after, int type) { return (QTreeWidgetItemH) new QTreeWidgetItem((QTreeWidgetItem*)parent, (QTreeWidgetItem*)after, type); } QTreeWidgetItemH QTreeWidgetItem_create9(const QTreeWidgetItemH other) { return (QTreeWidgetItemH) new QTreeWidgetItem(*(const QTreeWidgetItem*)other); } QTreeWidgetItemH QTreeWidgetItem_clone(QTreeWidgetItemH handle) { return (QTreeWidgetItemH) ((QTreeWidgetItem *)handle)->clone(); } QTreeWidgetH QTreeWidgetItem_treeWidget(QTreeWidgetItemH handle) { return (QTreeWidgetH) ((QTreeWidgetItem *)handle)->treeWidget(); } void QTreeWidgetItem_setSelected(QTreeWidgetItemH handle, bool select) { ((QTreeWidgetItem *)handle)->setSelected(select); } bool QTreeWidgetItem_isSelected(QTreeWidgetItemH handle) { return (bool) ((QTreeWidgetItem *)handle)->isSelected(); } void QTreeWidgetItem_setHidden(QTreeWidgetItemH handle, bool hide) { ((QTreeWidgetItem *)handle)->setHidden(hide); } bool QTreeWidgetItem_isHidden(QTreeWidgetItemH handle) { return (bool) ((QTreeWidgetItem *)handle)->isHidden(); } void QTreeWidgetItem_setExpanded(QTreeWidgetItemH handle, bool expand) { ((QTreeWidgetItem *)handle)->setExpanded(expand); } bool QTreeWidgetItem_isExpanded(QTreeWidgetItemH handle) { return (bool) ((QTreeWidgetItem *)handle)->isExpanded(); } void QTreeWidgetItem_setFirstColumnSpanned(QTreeWidgetItemH handle, bool span) { ((QTreeWidgetItem *)handle)->setFirstColumnSpanned(span); } bool QTreeWidgetItem_isFirstColumnSpanned(QTreeWidgetItemH handle) { return (bool) ((QTreeWidgetItem *)handle)->isFirstColumnSpanned(); } void QTreeWidgetItem_setDisabled(QTreeWidgetItemH handle, bool disabled) { ((QTreeWidgetItem *)handle)->setDisabled(disabled); } bool QTreeWidgetItem_isDisabled(QTreeWidgetItemH handle) { return (bool) ((QTreeWidgetItem *)handle)->isDisabled(); } void QTreeWidgetItem_setChildIndicatorPolicy(QTreeWidgetItemH handle, QTreeWidgetItem::ChildIndicatorPolicy policy) { ((QTreeWidgetItem *)handle)->setChildIndicatorPolicy(policy); } QTreeWidgetItem::ChildIndicatorPolicy QTreeWidgetItem_childIndicatorPolicy(QTreeWidgetItemH handle) { return (QTreeWidgetItem::ChildIndicatorPolicy) ((QTreeWidgetItem *)handle)->childIndicatorPolicy(); } unsigned int QTreeWidgetItem_flags(QTreeWidgetItemH handle) { return (unsigned int) ((QTreeWidgetItem *)handle)->flags(); } void QTreeWidgetItem_setFlags(QTreeWidgetItemH handle, unsigned int flags) { ((QTreeWidgetItem *)handle)->setFlags((Qt::ItemFlags)flags); } void QTreeWidgetItem_text(QTreeWidgetItemH handle, PWideString retval, int column) { QString t_retval; t_retval = ((QTreeWidgetItem *)handle)->text(column); copyQStringToPWideString(t_retval, retval); } void QTreeWidgetItem_setText(QTreeWidgetItemH handle, int column, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QTreeWidgetItem *)handle)->setText(column, t_text); } void QTreeWidgetItem_icon(QTreeWidgetItemH handle, QIconH retval, int column) { *(QIcon *)retval = ((QTreeWidgetItem *)handle)->icon(column); } void QTreeWidgetItem_setIcon(QTreeWidgetItemH handle, int column, const QIconH icon) { ((QTreeWidgetItem *)handle)->setIcon(column, *(const QIcon*)icon); } void QTreeWidgetItem_statusTip(QTreeWidgetItemH handle, PWideString retval, int column) { QString t_retval; t_retval = ((QTreeWidgetItem *)handle)->statusTip(column); copyQStringToPWideString(t_retval, retval); } void QTreeWidgetItem_setStatusTip(QTreeWidgetItemH handle, int column, PWideString statusTip) { QString t_statusTip; copyPWideStringToQString(statusTip, t_statusTip); ((QTreeWidgetItem *)handle)->setStatusTip(column, t_statusTip); } void QTreeWidgetItem_toolTip(QTreeWidgetItemH handle, PWideString retval, int column) { QString t_retval; t_retval = ((QTreeWidgetItem *)handle)->toolTip(column); copyQStringToPWideString(t_retval, retval); } void QTreeWidgetItem_setToolTip(QTreeWidgetItemH handle, int column, PWideString toolTip) { QString t_toolTip; copyPWideStringToQString(toolTip, t_toolTip); ((QTreeWidgetItem *)handle)->setToolTip(column, t_toolTip); } void QTreeWidgetItem_whatsThis(QTreeWidgetItemH handle, PWideString retval, int column) { QString t_retval; t_retval = ((QTreeWidgetItem *)handle)->whatsThis(column); copyQStringToPWideString(t_retval, retval); } void QTreeWidgetItem_setWhatsThis(QTreeWidgetItemH handle, int column, PWideString whatsThis) { QString t_whatsThis; copyPWideStringToQString(whatsThis, t_whatsThis); ((QTreeWidgetItem *)handle)->setWhatsThis(column, t_whatsThis); } void QTreeWidgetItem_font(QTreeWidgetItemH handle, QFontH retval, int column) { *(QFont *)retval = ((QTreeWidgetItem *)handle)->font(column); } void QTreeWidgetItem_setFont(QTreeWidgetItemH handle, int column, const QFontH font) { ((QTreeWidgetItem *)handle)->setFont(column, *(const QFont*)font); } int QTreeWidgetItem_textAlignment(QTreeWidgetItemH handle, int column) { return (int) ((QTreeWidgetItem *)handle)->textAlignment(column); } void QTreeWidgetItem_setTextAlignment(QTreeWidgetItemH handle, int column, int alignment) { ((QTreeWidgetItem *)handle)->setTextAlignment(column, alignment); } void QTreeWidgetItem_backgroundColor(QTreeWidgetItemH handle, PQColor retval, int column) { *(QColor *)retval = ((QTreeWidgetItem *)handle)->backgroundColor(column); } void QTreeWidgetItem_setBackgroundColor(QTreeWidgetItemH handle, int column, const QColorH color) { ((QTreeWidgetItem *)handle)->setBackgroundColor(column, *(const QColor*)color); } void QTreeWidgetItem_background(QTreeWidgetItemH handle, QBrushH retval, int column) { *(QBrush *)retval = ((QTreeWidgetItem *)handle)->background(column); } void QTreeWidgetItem_setBackground(QTreeWidgetItemH handle, int column, const QBrushH brush) { ((QTreeWidgetItem *)handle)->setBackground(column, *(const QBrush*)brush); } void QTreeWidgetItem_textColor(QTreeWidgetItemH handle, PQColor retval, int column) { *(QColor *)retval = ((QTreeWidgetItem *)handle)->textColor(column); } void QTreeWidgetItem_setTextColor(QTreeWidgetItemH handle, int column, const QColorH color) { ((QTreeWidgetItem *)handle)->setTextColor(column, *(const QColor*)color); } void QTreeWidgetItem_foreground(QTreeWidgetItemH handle, QBrushH retval, int column) { *(QBrush *)retval = ((QTreeWidgetItem *)handle)->foreground(column); } void QTreeWidgetItem_setForeground(QTreeWidgetItemH handle, int column, const QBrushH brush) { ((QTreeWidgetItem *)handle)->setForeground(column, *(const QBrush*)brush); } Qt::CheckState QTreeWidgetItem_checkState(QTreeWidgetItemH handle, int column) { return (Qt::CheckState) ((QTreeWidgetItem *)handle)->checkState(column); } void QTreeWidgetItem_setCheckState(QTreeWidgetItemH handle, int column, Qt::CheckState state) { ((QTreeWidgetItem *)handle)->setCheckState(column, state); } void QTreeWidgetItem_sizeHint(QTreeWidgetItemH handle, PSize retval, int column) { *(QSize *)retval = ((QTreeWidgetItem *)handle)->sizeHint(column); } void QTreeWidgetItem_setSizeHint(QTreeWidgetItemH handle, int column, const QSizeH size) { ((QTreeWidgetItem *)handle)->setSizeHint(column, *(const QSize*)size); } void QTreeWidgetItem_data(QTreeWidgetItemH handle, QVariantH retval, int column, int role) { *(QVariant *)retval = ((QTreeWidgetItem *)handle)->data(column, role); } void QTreeWidgetItem_setData(QTreeWidgetItemH handle, int column, int role, const QVariantH value) { ((QTreeWidgetItem *)handle)->setData(column, role, *(const QVariant*)value); } void QTreeWidgetItem_read(QTreeWidgetItemH handle, QDataStreamH in) { ((QTreeWidgetItem *)handle)->read(*(QDataStream*)in); } void QTreeWidgetItem_write(QTreeWidgetItemH handle, QDataStreamH out) { ((QTreeWidgetItem *)handle)->write(*(QDataStream*)out); } QTreeWidgetItemH QTreeWidgetItem_parent(QTreeWidgetItemH handle) { return (QTreeWidgetItemH) ((QTreeWidgetItem *)handle)->parent(); } QTreeWidgetItemH QTreeWidgetItem_child(QTreeWidgetItemH handle, int index) { return (QTreeWidgetItemH) ((QTreeWidgetItem *)handle)->child(index); } int QTreeWidgetItem_childCount(QTreeWidgetItemH handle) { return (int) ((QTreeWidgetItem *)handle)->childCount(); } int QTreeWidgetItem_columnCount(QTreeWidgetItemH handle) { return (int) ((QTreeWidgetItem *)handle)->columnCount(); } int QTreeWidgetItem_indexOfChild(QTreeWidgetItemH handle, QTreeWidgetItemH child) { return (int) ((QTreeWidgetItem *)handle)->indexOfChild((QTreeWidgetItem*)child); } void QTreeWidgetItem_addChild(QTreeWidgetItemH handle, QTreeWidgetItemH child) { ((QTreeWidgetItem *)handle)->addChild((QTreeWidgetItem*)child); } void QTreeWidgetItem_insertChild(QTreeWidgetItemH handle, int index, QTreeWidgetItemH child) { ((QTreeWidgetItem *)handle)->insertChild(index, (QTreeWidgetItem*)child); } void QTreeWidgetItem_removeChild(QTreeWidgetItemH handle, QTreeWidgetItemH child) { ((QTreeWidgetItem *)handle)->removeChild((QTreeWidgetItem*)child); } QTreeWidgetItemH QTreeWidgetItem_takeChild(QTreeWidgetItemH handle, int index) { return (QTreeWidgetItemH) ((QTreeWidgetItem *)handle)->takeChild(index); } void QTreeWidgetItem_addChildren(QTreeWidgetItemH handle, PPtrIntArray children) { QList t_children; copyPtrIntArrayToQListTemplate(children, t_children); ((QTreeWidgetItem *)handle)->addChildren(t_children); } void QTreeWidgetItem_insertChildren(QTreeWidgetItemH handle, int index, PPtrIntArray children) { QList t_children; copyPtrIntArrayToQListTemplate(children, t_children); ((QTreeWidgetItem *)handle)->insertChildren(index, t_children); } void QTreeWidgetItem_takeChildren(QTreeWidgetItemH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QTreeWidgetItem *)handle)->takeChildren(); copyQListTemplateToPtrIntArray(t_retval, retval); } int QTreeWidgetItem_type(QTreeWidgetItemH handle) { return (int) ((QTreeWidgetItem *)handle)->type(); } void QTreeWidgetItem_sortChildren(QTreeWidgetItemH handle, int column, Qt::SortOrder order) { ((QTreeWidgetItem *)handle)->sortChildren(column, order); } QTreeWidgetH QTreeWidget_create(QWidgetH parent) { return (QTreeWidgetH) new QTreeWidget((QWidget*)parent); } void QTreeWidget_destroy(QTreeWidgetH handle) { delete (QTreeWidget *)handle; } int QTreeWidget_columnCount(QTreeWidgetH handle) { return (int) ((QTreeWidget *)handle)->columnCount(); } void QTreeWidget_setColumnCount(QTreeWidgetH handle, int columns) { ((QTreeWidget *)handle)->setColumnCount(columns); } QTreeWidgetItemH QTreeWidget_invisibleRootItem(QTreeWidgetH handle) { return (QTreeWidgetItemH) ((QTreeWidget *)handle)->invisibleRootItem(); } QTreeWidgetItemH QTreeWidget_topLevelItem(QTreeWidgetH handle, int index) { return (QTreeWidgetItemH) ((QTreeWidget *)handle)->topLevelItem(index); } int QTreeWidget_topLevelItemCount(QTreeWidgetH handle) { return (int) ((QTreeWidget *)handle)->topLevelItemCount(); } void QTreeWidget_insertTopLevelItem(QTreeWidgetH handle, int index, QTreeWidgetItemH item) { ((QTreeWidget *)handle)->insertTopLevelItem(index, (QTreeWidgetItem*)item); } void QTreeWidget_addTopLevelItem(QTreeWidgetH handle, QTreeWidgetItemH item) { ((QTreeWidget *)handle)->addTopLevelItem((QTreeWidgetItem*)item); } QTreeWidgetItemH QTreeWidget_takeTopLevelItem(QTreeWidgetH handle, int index) { return (QTreeWidgetItemH) ((QTreeWidget *)handle)->takeTopLevelItem(index); } int QTreeWidget_indexOfTopLevelItem(QTreeWidgetH handle, QTreeWidgetItemH item) { return (int) ((QTreeWidget *)handle)->indexOfTopLevelItem((QTreeWidgetItem*)item); } void QTreeWidget_insertTopLevelItems(QTreeWidgetH handle, int index, PPtrIntArray items) { QList t_items; copyPtrIntArrayToQListTemplate(items, t_items); ((QTreeWidget *)handle)->insertTopLevelItems(index, t_items); } void QTreeWidget_addTopLevelItems(QTreeWidgetH handle, PPtrIntArray items) { QList t_items; copyPtrIntArrayToQListTemplate(items, t_items); ((QTreeWidget *)handle)->addTopLevelItems(t_items); } QTreeWidgetItemH QTreeWidget_headerItem(QTreeWidgetH handle) { return (QTreeWidgetItemH) ((QTreeWidget *)handle)->headerItem(); } void QTreeWidget_setHeaderItem(QTreeWidgetH handle, QTreeWidgetItemH item) { ((QTreeWidget *)handle)->setHeaderItem((QTreeWidgetItem*)item); } void QTreeWidget_setHeaderLabels(QTreeWidgetH handle, const QStringListH labels) { ((QTreeWidget *)handle)->setHeaderLabels(*(const QStringList*)labels); } void QTreeWidget_setHeaderLabel(QTreeWidgetH handle, PWideString label) { QString t_label; copyPWideStringToQString(label, t_label); ((QTreeWidget *)handle)->setHeaderLabel(t_label); } QTreeWidgetItemH QTreeWidget_currentItem(QTreeWidgetH handle) { return (QTreeWidgetItemH) ((QTreeWidget *)handle)->currentItem(); } int QTreeWidget_currentColumn(QTreeWidgetH handle) { return (int) ((QTreeWidget *)handle)->currentColumn(); } void QTreeWidget_setCurrentItem(QTreeWidgetH handle, QTreeWidgetItemH item) { ((QTreeWidget *)handle)->setCurrentItem((QTreeWidgetItem*)item); } void QTreeWidget_setCurrentItem2(QTreeWidgetH handle, QTreeWidgetItemH item, int column) { ((QTreeWidget *)handle)->setCurrentItem((QTreeWidgetItem*)item, column); } void QTreeWidget_setCurrentItem3(QTreeWidgetH handle, QTreeWidgetItemH item, int column, unsigned int command) { ((QTreeWidget *)handle)->setCurrentItem((QTreeWidgetItem*)item, column, (QItemSelectionModel::SelectionFlags)command); } QTreeWidgetItemH QTreeWidget_itemAt(QTreeWidgetH handle, const QPointH p) { return (QTreeWidgetItemH) ((QTreeWidget *)handle)->itemAt(*(const QPoint*)p); } QTreeWidgetItemH QTreeWidget_itemAt2(QTreeWidgetH handle, int x, int y) { return (QTreeWidgetItemH) ((QTreeWidget *)handle)->itemAt(x, y); } void QTreeWidget_visualItemRect(QTreeWidgetH handle, PRect retval, const QTreeWidgetItemH item) { QRect t_retval; t_retval = ((QTreeWidget *)handle)->visualItemRect((const QTreeWidgetItem*)item); copyQRectToPRect(t_retval, retval); } int QTreeWidget_sortColumn(QTreeWidgetH handle) { return (int) ((QTreeWidget *)handle)->sortColumn(); } void QTreeWidget_sortItems(QTreeWidgetH handle, int column, Qt::SortOrder order) { ((QTreeWidget *)handle)->sortItems(column, order); } void QTreeWidget_setSortingEnabled(QTreeWidgetH handle, bool enable) { ((QTreeWidget *)handle)->setSortingEnabled(enable); } bool QTreeWidget_isSortingEnabled(QTreeWidgetH handle) { return (bool) ((QTreeWidget *)handle)->isSortingEnabled(); } void QTreeWidget_editItem(QTreeWidgetH handle, QTreeWidgetItemH item, int column) { ((QTreeWidget *)handle)->editItem((QTreeWidgetItem*)item, column); } void QTreeWidget_openPersistentEditor(QTreeWidgetH handle, QTreeWidgetItemH item, int column) { ((QTreeWidget *)handle)->openPersistentEditor((QTreeWidgetItem*)item, column); } void QTreeWidget_closePersistentEditor(QTreeWidgetH handle, QTreeWidgetItemH item, int column) { ((QTreeWidget *)handle)->closePersistentEditor((QTreeWidgetItem*)item, column); } QWidgetH QTreeWidget_itemWidget(QTreeWidgetH handle, QTreeWidgetItemH item, int column) { return (QWidgetH) ((QTreeWidget *)handle)->itemWidget((QTreeWidgetItem*)item, column); } void QTreeWidget_setItemWidget(QTreeWidgetH handle, QTreeWidgetItemH item, int column, QWidgetH widget) { ((QTreeWidget *)handle)->setItemWidget((QTreeWidgetItem*)item, column, (QWidget*)widget); } void QTreeWidget_removeItemWidget(QTreeWidgetH handle, QTreeWidgetItemH item, int column) { ((QTreeWidget *)handle)->removeItemWidget((QTreeWidgetItem*)item, column); } bool QTreeWidget_isItemSelected(QTreeWidgetH handle, const QTreeWidgetItemH item) { return (bool) ((QTreeWidget *)handle)->isItemSelected((const QTreeWidgetItem*)item); } void QTreeWidget_setItemSelected(QTreeWidgetH handle, const QTreeWidgetItemH item, bool select) { ((QTreeWidget *)handle)->setItemSelected((const QTreeWidgetItem*)item, select); } void QTreeWidget_selectedItems(QTreeWidgetH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QTreeWidget *)handle)->selectedItems(); copyQListTemplateToPtrIntArray(t_retval, retval); } void QTreeWidget_findItems(QTreeWidgetH handle, PPtrIntArray retval, PWideString text, unsigned int flags, int column) { QList t_retval; QString t_text; copyPWideStringToQString(text, t_text); t_retval = ((QTreeWidget *)handle)->findItems(t_text, (Qt::MatchFlags)flags, column); copyQListTemplateToPtrIntArray(t_retval, retval); } bool QTreeWidget_isItemHidden(QTreeWidgetH handle, const QTreeWidgetItemH item) { return (bool) ((QTreeWidget *)handle)->isItemHidden((const QTreeWidgetItem*)item); } void QTreeWidget_setItemHidden(QTreeWidgetH handle, const QTreeWidgetItemH item, bool hide) { ((QTreeWidget *)handle)->setItemHidden((const QTreeWidgetItem*)item, hide); } bool QTreeWidget_isItemExpanded(QTreeWidgetH handle, const QTreeWidgetItemH item) { return (bool) ((QTreeWidget *)handle)->isItemExpanded((const QTreeWidgetItem*)item); } void QTreeWidget_setItemExpanded(QTreeWidgetH handle, const QTreeWidgetItemH item, bool expand) { ((QTreeWidget *)handle)->setItemExpanded((const QTreeWidgetItem*)item, expand); } bool QTreeWidget_isFirstItemColumnSpanned(QTreeWidgetH handle, const QTreeWidgetItemH item) { return (bool) ((QTreeWidget *)handle)->isFirstItemColumnSpanned((const QTreeWidgetItem*)item); } void QTreeWidget_setFirstItemColumnSpanned(QTreeWidgetH handle, const QTreeWidgetItemH item, bool span) { ((QTreeWidget *)handle)->setFirstItemColumnSpanned((const QTreeWidgetItem*)item, span); } QTreeWidgetItemH QTreeWidget_itemAbove(QTreeWidgetH handle, const QTreeWidgetItemH item) { return (QTreeWidgetItemH) ((QTreeWidget *)handle)->itemAbove((const QTreeWidgetItem*)item); } QTreeWidgetItemH QTreeWidget_itemBelow(QTreeWidgetH handle, const QTreeWidgetItemH item) { return (QTreeWidgetItemH) ((QTreeWidget *)handle)->itemBelow((const QTreeWidgetItem*)item); } void QTreeWidget_setSelectionModel(QTreeWidgetH handle, QItemSelectionModelH selectionModel) { ((QTreeWidget *)handle)->setSelectionModel((QItemSelectionModel*)selectionModel); } void QTreeWidget_scrollToItem(QTreeWidgetH handle, const QTreeWidgetItemH item, QAbstractItemView::ScrollHint hint) { ((QTreeWidget *)handle)->scrollToItem((const QTreeWidgetItem*)item, hint); } void QTreeWidget_expandItem(QTreeWidgetH handle, const QTreeWidgetItemH item) { ((QTreeWidget *)handle)->expandItem((const QTreeWidgetItem*)item); } void QTreeWidget_collapseItem(QTreeWidgetH handle, const QTreeWidgetItemH item) { ((QTreeWidget *)handle)->collapseItem((const QTreeWidgetItem*)item); } void QTreeWidget_clear(QTreeWidgetH handle) { ((QTreeWidget *)handle)->clear(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebsettings_c.h0000664000212600021260000000514111677135472020226 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBSETTINGS_C_H #define QWEBSETTINGS_C_H #include #include "pascalbind.h" C_EXPORT QWebSettingsH QWebSettings_globalSettings(); C_EXPORT void QWebSettings_setFontFamily(QWebSettingsH handle, QWebSettings::FontFamily which, PWideString family); C_EXPORT void QWebSettings_fontFamily(QWebSettingsH handle, PWideString retval, QWebSettings::FontFamily which); C_EXPORT void QWebSettings_resetFontFamily(QWebSettingsH handle, QWebSettings::FontFamily which); C_EXPORT void QWebSettings_setFontSize(QWebSettingsH handle, QWebSettings::FontSize type, int size); C_EXPORT int QWebSettings_fontSize(QWebSettingsH handle, QWebSettings::FontSize type); C_EXPORT void QWebSettings_resetFontSize(QWebSettingsH handle, QWebSettings::FontSize type); C_EXPORT void QWebSettings_setAttribute(QWebSettingsH handle, QWebSettings::WebAttribute attr, bool on); C_EXPORT bool QWebSettings_testAttribute(QWebSettingsH handle, QWebSettings::WebAttribute attr); C_EXPORT void QWebSettings_resetAttribute(QWebSettingsH handle, QWebSettings::WebAttribute attr); C_EXPORT void QWebSettings_setUserStyleSheetUrl(QWebSettingsH handle, const QUrlH location); C_EXPORT void QWebSettings_userStyleSheetUrl(QWebSettingsH handle, QUrlH retval); C_EXPORT void QWebSettings_setIconDatabasePath(PWideString location); C_EXPORT void QWebSettings_iconDatabasePath(PWideString retval); C_EXPORT void QWebSettings_clearIconDatabase(); C_EXPORT void QWebSettings_iconForUrl(QIconH retval, const QUrlH url); C_EXPORT void QWebSettings_setWebGraphic(QWebSettings::WebGraphic type, const QPixmapH graphic); C_EXPORT void QWebSettings_webGraphic(QPixmapH retval, QWebSettings::WebGraphic type); C_EXPORT void QWebSettings_setMaximumPagesInCache(int pages); C_EXPORT int QWebSettings_maximumPagesInCache(); C_EXPORT void QWebSettings_setObjectCacheCapacities(int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity); C_EXPORT void QWebSettings_setOfflineStoragePath(PWideString path); C_EXPORT void QWebSettings_offlineStoragePath(PWideString retval); C_EXPORT void QWebSettings_setOfflineStorageDefaultQuota(qint64 maximumSize); C_EXPORT qint64 QWebSettings_offlineStorageDefaultQuota(); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcombobox_c.cpp0000664000212600021260000002322611677135472020037 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qcombobox_c.h" QComboBoxH QComboBox_create(QWidgetH parent) { return (QComboBoxH) new QComboBox((QWidget*)parent); } void QComboBox_destroy(QComboBoxH handle) { delete (QComboBox *)handle; } int QComboBox_maxVisibleItems(QComboBoxH handle) { return (int) ((QComboBox *)handle)->maxVisibleItems(); } void QComboBox_setMaxVisibleItems(QComboBoxH handle, int maxItems) { ((QComboBox *)handle)->setMaxVisibleItems(maxItems); } int QComboBox_count(QComboBoxH handle) { return (int) ((QComboBox *)handle)->count(); } void QComboBox_setMaxCount(QComboBoxH handle, int max) { ((QComboBox *)handle)->setMaxCount(max); } int QComboBox_maxCount(QComboBoxH handle) { return (int) ((QComboBox *)handle)->maxCount(); } bool QComboBox_autoCompletion(QComboBoxH handle) { return (bool) ((QComboBox *)handle)->autoCompletion(); } void QComboBox_setAutoCompletion(QComboBoxH handle, bool enable) { ((QComboBox *)handle)->setAutoCompletion(enable); } Qt::CaseSensitivity QComboBox_autoCompletionCaseSensitivity(QComboBoxH handle) { return (Qt::CaseSensitivity) ((QComboBox *)handle)->autoCompletionCaseSensitivity(); } void QComboBox_setAutoCompletionCaseSensitivity(QComboBoxH handle, Qt::CaseSensitivity sensitivity) { ((QComboBox *)handle)->setAutoCompletionCaseSensitivity(sensitivity); } bool QComboBox_duplicatesEnabled(QComboBoxH handle) { return (bool) ((QComboBox *)handle)->duplicatesEnabled(); } void QComboBox_setDuplicatesEnabled(QComboBoxH handle, bool enable) { ((QComboBox *)handle)->setDuplicatesEnabled(enable); } void QComboBox_setFrame(QComboBoxH handle, bool AnonParam1) { ((QComboBox *)handle)->setFrame(AnonParam1); } bool QComboBox_hasFrame(QComboBoxH handle) { return (bool) ((QComboBox *)handle)->hasFrame(); } int QComboBox_findText(QComboBoxH handle, PWideString text, unsigned int flags) { QString t_text; copyPWideStringToQString(text, t_text); return (int) ((QComboBox *)handle)->findText(t_text, (Qt::MatchFlags)flags); } int QComboBox_findData(QComboBoxH handle, const QVariantH data, Qt::ItemDataRole role, unsigned int flags) { return (int) ((QComboBox *)handle)->findData(*(const QVariant*)data, role, (Qt::MatchFlags)flags); } QComboBox::InsertPolicy QComboBox_insertPolicy(QComboBoxH handle) { return (QComboBox::InsertPolicy) ((QComboBox *)handle)->insertPolicy(); } void QComboBox_setInsertPolicy(QComboBoxH handle, QComboBox::InsertPolicy policy) { ((QComboBox *)handle)->setInsertPolicy(policy); } QComboBox::SizeAdjustPolicy QComboBox_sizeAdjustPolicy(QComboBoxH handle) { return (QComboBox::SizeAdjustPolicy) ((QComboBox *)handle)->sizeAdjustPolicy(); } void QComboBox_setSizeAdjustPolicy(QComboBoxH handle, QComboBox::SizeAdjustPolicy policy) { ((QComboBox *)handle)->setSizeAdjustPolicy(policy); } int QComboBox_minimumContentsLength(QComboBoxH handle) { return (int) ((QComboBox *)handle)->minimumContentsLength(); } void QComboBox_setMinimumContentsLength(QComboBoxH handle, int characters) { ((QComboBox *)handle)->setMinimumContentsLength(characters); } void QComboBox_iconSize(QComboBoxH handle, PSize retval) { *(QSize *)retval = ((QComboBox *)handle)->iconSize(); } void QComboBox_setIconSize(QComboBoxH handle, const QSizeH size) { ((QComboBox *)handle)->setIconSize(*(const QSize*)size); } bool QComboBox_isEditable(QComboBoxH handle) { return (bool) ((QComboBox *)handle)->isEditable(); } void QComboBox_setEditable(QComboBoxH handle, bool editable) { ((QComboBox *)handle)->setEditable(editable); } void QComboBox_setLineEdit(QComboBoxH handle, QLineEditH edit) { ((QComboBox *)handle)->setLineEdit((QLineEdit*)edit); } QLineEditH QComboBox_lineEdit(QComboBoxH handle) { return (QLineEditH) ((QComboBox *)handle)->lineEdit(); } void QComboBox_setValidator(QComboBoxH handle, const QValidatorH v) { ((QComboBox *)handle)->setValidator((const QValidator*)v); } const QValidatorH QComboBox_validator(QComboBoxH handle) { return (const QValidatorH) ((QComboBox *)handle)->validator(); } void QComboBox_setCompleter(QComboBoxH handle, QCompleterH c) { ((QComboBox *)handle)->setCompleter((QCompleter*)c); } QCompleterH QComboBox_completer(QComboBoxH handle) { return (QCompleterH) ((QComboBox *)handle)->completer(); } QAbstractItemDelegateH QComboBox_itemDelegate(QComboBoxH handle) { return (QAbstractItemDelegateH) ((QComboBox *)handle)->itemDelegate(); } void QComboBox_setItemDelegate(QComboBoxH handle, QAbstractItemDelegateH delegate) { ((QComboBox *)handle)->setItemDelegate((QAbstractItemDelegate*)delegate); } QAbstractItemModelH QComboBox_model(QComboBoxH handle) { return (QAbstractItemModelH) ((QComboBox *)handle)->model(); } void QComboBox_setModel(QComboBoxH handle, QAbstractItemModelH model) { ((QComboBox *)handle)->setModel((QAbstractItemModel*)model); } void QComboBox_rootModelIndex(QComboBoxH handle, QModelIndexH retval) { *(QModelIndex *)retval = ((QComboBox *)handle)->rootModelIndex(); } void QComboBox_setRootModelIndex(QComboBoxH handle, const QModelIndexH index) { ((QComboBox *)handle)->setRootModelIndex(*(const QModelIndex*)index); } int QComboBox_modelColumn(QComboBoxH handle) { return (int) ((QComboBox *)handle)->modelColumn(); } void QComboBox_setModelColumn(QComboBoxH handle, int visibleColumn) { ((QComboBox *)handle)->setModelColumn(visibleColumn); } int QComboBox_currentIndex(QComboBoxH handle) { return (int) ((QComboBox *)handle)->currentIndex(); } void QComboBox_currentText(QComboBoxH handle, PWideString retval) { QString t_retval; t_retval = ((QComboBox *)handle)->currentText(); copyQStringToPWideString(t_retval, retval); } void QComboBox_itemText(QComboBoxH handle, PWideString retval, int index) { QString t_retval; t_retval = ((QComboBox *)handle)->itemText(index); copyQStringToPWideString(t_retval, retval); } void QComboBox_itemIcon(QComboBoxH handle, QIconH retval, int index) { *(QIcon *)retval = ((QComboBox *)handle)->itemIcon(index); } void QComboBox_itemData(QComboBoxH handle, QVariantH retval, int index, Qt::ItemDataRole role) { *(QVariant *)retval = ((QComboBox *)handle)->itemData(index, role); } void QComboBox_addItem(QComboBoxH handle, PWideString text, const QVariantH userData) { QString t_text; copyPWideStringToQString(text, t_text); ((QComboBox *)handle)->addItem(t_text, *(const QVariant*)userData); } void QComboBox_addItem2(QComboBoxH handle, const QIconH icon, PWideString text, const QVariantH userData) { QString t_text; copyPWideStringToQString(text, t_text); ((QComboBox *)handle)->addItem(*(const QIcon*)icon, t_text, *(const QVariant*)userData); } void QComboBox_addItems(QComboBoxH handle, const QStringListH texts) { ((QComboBox *)handle)->addItems(*(const QStringList*)texts); } void QComboBox_insertItem(QComboBoxH handle, int index, PWideString text, const QVariantH userData) { QString t_text; copyPWideStringToQString(text, t_text); ((QComboBox *)handle)->insertItem(index, t_text, *(const QVariant*)userData); } void QComboBox_insertItem2(QComboBoxH handle, int index, const QIconH icon, PWideString text, const QVariantH userData) { QString t_text; copyPWideStringToQString(text, t_text); ((QComboBox *)handle)->insertItem(index, *(const QIcon*)icon, t_text, *(const QVariant*)userData); } void QComboBox_insertItems(QComboBoxH handle, int index, const QStringListH texts) { ((QComboBox *)handle)->insertItems(index, *(const QStringList*)texts); } void QComboBox_insertSeparator(QComboBoxH handle, int index) { ((QComboBox *)handle)->insertSeparator(index); } void QComboBox_removeItem(QComboBoxH handle, int index) { ((QComboBox *)handle)->removeItem(index); } void QComboBox_setItemText(QComboBoxH handle, int index, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QComboBox *)handle)->setItemText(index, t_text); } void QComboBox_setItemIcon(QComboBoxH handle, int index, const QIconH icon) { ((QComboBox *)handle)->setItemIcon(index, *(const QIcon*)icon); } void QComboBox_setItemData(QComboBoxH handle, int index, const QVariantH value, Qt::ItemDataRole role) { ((QComboBox *)handle)->setItemData(index, *(const QVariant*)value, role); } QAbstractItemViewH QComboBox_view(QComboBoxH handle) { return (QAbstractItemViewH) ((QComboBox *)handle)->view(); } void QComboBox_setView(QComboBoxH handle, QAbstractItemViewH itemView) { ((QComboBox *)handle)->setView((QAbstractItemView*)itemView); } void QComboBox_sizeHint(QComboBoxH handle, PSize retval) { *(QSize *)retval = ((QComboBox *)handle)->sizeHint(); } void QComboBox_minimumSizeHint(QComboBoxH handle, PSize retval) { *(QSize *)retval = ((QComboBox *)handle)->minimumSizeHint(); } void QComboBox_showPopup(QComboBoxH handle) { ((QComboBox *)handle)->showPopup(); } void QComboBox_hidePopup(QComboBoxH handle) { ((QComboBox *)handle)->hidePopup(); } bool QComboBox_event(QComboBoxH handle, QEventH event) { return (bool) ((QComboBox *)handle)->event((QEvent*)event); } void QComboBox_clear(QComboBoxH handle) { ((QComboBox *)handle)->clear(); } void QComboBox_clearEditText(QComboBoxH handle) { ((QComboBox *)handle)->clearEditText(); } void QComboBox_setEditText(QComboBoxH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QComboBox *)handle)->setEditText(t_text); } void QComboBox_setCurrentIndex(QComboBoxH handle, int index) { ((QComboBox *)handle)->setCurrentIndex(index); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstatusbar_c.cpp0000664000212600021260000000430411677135472020233 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qstatusbar_c.h" QStatusBarH QStatusBar_create(QWidgetH parent) { return (QStatusBarH) new QStatusBar((QWidget*)parent); } void QStatusBar_destroy(QStatusBarH handle) { delete (QStatusBar *)handle; } void QStatusBar_addWidget(QStatusBarH handle, QWidgetH widget, int stretch) { ((QStatusBar *)handle)->addWidget((QWidget*)widget, stretch); } int QStatusBar_insertWidget(QStatusBarH handle, int index, QWidgetH widget, int stretch) { return (int) ((QStatusBar *)handle)->insertWidget(index, (QWidget*)widget, stretch); } void QStatusBar_addPermanentWidget(QStatusBarH handle, QWidgetH widget, int stretch) { ((QStatusBar *)handle)->addPermanentWidget((QWidget*)widget, stretch); } int QStatusBar_insertPermanentWidget(QStatusBarH handle, int index, QWidgetH widget, int stretch) { return (int) ((QStatusBar *)handle)->insertPermanentWidget(index, (QWidget*)widget, stretch); } void QStatusBar_removeWidget(QStatusBarH handle, QWidgetH widget) { ((QStatusBar *)handle)->removeWidget((QWidget*)widget); } void QStatusBar_setSizeGripEnabled(QStatusBarH handle, bool AnonParam1) { ((QStatusBar *)handle)->setSizeGripEnabled(AnonParam1); } bool QStatusBar_isSizeGripEnabled(QStatusBarH handle) { return (bool) ((QStatusBar *)handle)->isSizeGripEnabled(); } void QStatusBar_currentMessage(QStatusBarH handle, PWideString retval) { QString t_retval; t_retval = ((QStatusBar *)handle)->currentMessage(); copyQStringToPWideString(t_retval, retval); } void QStatusBar_showMessage(QStatusBarH handle, PWideString text, int timeout) { QString t_text; copyPWideStringToQString(text, t_text); ((QStatusBar *)handle)->showMessage(t_text, timeout); } void QStatusBar_clearMessage(QStatusBarH handle) { ((QStatusBar *)handle)->clearMessage(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemdelegate_hook_c.cpp0000664000212600021260000000273511677135472023426 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractitemdelegate_hook_c.h" QAbstractItemDelegate_hookH QAbstractItemDelegate_hook_create(QObjectH handle) { return (QAbstractItemDelegate_hookH) new QAbstractItemDelegate_hook((QObject*)handle); } void QAbstractItemDelegate_hook_destroy(QAbstractItemDelegate_hookH handle) { delete (QAbstractItemDelegate_hook *)handle; } void QAbstractItemDelegate_hook_hook_commitData(QAbstractItemDelegate_hookH handle, QHookH hook) { ((QAbstractItemDelegate_hook *)handle)->hook_commitData(hook); } void QAbstractItemDelegate_hook_hook_closeEditor(QAbstractItemDelegate_hookH handle, QHookH hook) { ((QAbstractItemDelegate_hook *)handle)->hook_closeEditor(hook); } void QAbstractItemDelegate_hook_hook_closeEditor2(QAbstractItemDelegate_hookH handle, QHookH hook) { ((QAbstractItemDelegate_hook *)handle)->hook_closeEditor2(hook); } void QAbstractItemDelegate_hook_hook_sizeHintChanged(QAbstractItemDelegate_hookH handle, QHookH hook) { ((QAbstractItemDelegate_hook *)handle)->hook_sizeHintChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemmodel_hook.h0000664000212600021260000003133011677135472022110 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTITEMMODEL_HOOK_H #define QABSTRACTITEMMODEL_HOOK_H #include #include "qobject_hook.h" class QModelIndex_hook : public QObject_hook { Q_OBJECT public: QModelIndex_hook(QObject *handle) : QObject_hook(handle) { } }; #include "qobject_hook.h" class QPersistentModelIndex_hook : public QObject_hook { Q_OBJECT public: QPersistentModelIndex_hook(QObject *handle) : QObject_hook(handle) { } }; #include "qobject_hook.h" class QAbstractItemModel_hook : public QObject_hook { Q_OBJECT public: QAbstractItemModel_hook(QObject *handle) : QObject_hook(handle) { dataChanged_event.func = NULL; headerDataChanged_event.func = NULL; layoutChanged_event.func = NULL; layoutAboutToBeChanged_event.func = NULL; rowsAboutToBeInserted_event.func = NULL; rowsInserted_event.func = NULL; rowsAboutToBeRemoved_event.func = NULL; rowsRemoved_event.func = NULL; columnsAboutToBeInserted_event.func = NULL; columnsInserted_event.func = NULL; columnsAboutToBeRemoved_event.func = NULL; columnsRemoved_event.func = NULL; modelAboutToBeReset_event.func = NULL; modelReset_event.func = NULL; } void hook_dataChanged(QHook &hook) { if ( !dataChanged_event.func ) connect(handle, SIGNAL(dataChanged(const QModelIndex&, const QModelIndex&)), this, SLOT(dataChanged_hook(const QModelIndex&, const QModelIndex&))); dataChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(dataChanged(const QModelIndex&, const QModelIndex&)), this, SLOT(dataChanged_hook(const QModelIndex&, const QModelIndex&))); } void hook_headerDataChanged(QHook &hook) { if ( !headerDataChanged_event.func ) connect(handle, SIGNAL(headerDataChanged(Qt::Orientation, int, int)), this, SLOT(headerDataChanged_hook(Qt::Orientation, int, int))); headerDataChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(headerDataChanged(Qt::Orientation, int, int)), this, SLOT(headerDataChanged_hook(Qt::Orientation, int, int))); } void hook_layoutChanged(QHook &hook) { if ( !layoutChanged_event.func ) connect(handle, SIGNAL(layoutChanged()), this, SLOT(layoutChanged_hook())); layoutChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(layoutChanged()), this, SLOT(layoutChanged_hook())); } void hook_layoutAboutToBeChanged(QHook &hook) { if ( !layoutAboutToBeChanged_event.func ) connect(handle, SIGNAL(layoutAboutToBeChanged()), this, SLOT(layoutAboutToBeChanged_hook())); layoutAboutToBeChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(layoutAboutToBeChanged()), this, SLOT(layoutAboutToBeChanged_hook())); } void hook_rowsAboutToBeInserted(QHook &hook) { if ( !rowsAboutToBeInserted_event.func ) connect(handle, SIGNAL(rowsAboutToBeInserted(const QModelIndex&, int, int)), this, SLOT(rowsAboutToBeInserted_hook(const QModelIndex&, int, int))); rowsAboutToBeInserted_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(rowsAboutToBeInserted(const QModelIndex&, int, int)), this, SLOT(rowsAboutToBeInserted_hook(const QModelIndex&, int, int))); } void hook_rowsInserted(QHook &hook) { if ( !rowsInserted_event.func ) connect(handle, SIGNAL(rowsInserted(const QModelIndex&, int, int)), this, SLOT(rowsInserted_hook(const QModelIndex&, int, int))); rowsInserted_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(rowsInserted(const QModelIndex&, int, int)), this, SLOT(rowsInserted_hook(const QModelIndex&, int, int))); } void hook_rowsAboutToBeRemoved(QHook &hook) { if ( !rowsAboutToBeRemoved_event.func ) connect(handle, SIGNAL(rowsAboutToBeRemoved(const QModelIndex&, int, int)), this, SLOT(rowsAboutToBeRemoved_hook(const QModelIndex&, int, int))); rowsAboutToBeRemoved_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(rowsAboutToBeRemoved(const QModelIndex&, int, int)), this, SLOT(rowsAboutToBeRemoved_hook(const QModelIndex&, int, int))); } void hook_rowsRemoved(QHook &hook) { if ( !rowsRemoved_event.func ) connect(handle, SIGNAL(rowsRemoved(const QModelIndex&, int, int)), this, SLOT(rowsRemoved_hook(const QModelIndex&, int, int))); rowsRemoved_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(rowsRemoved(const QModelIndex&, int, int)), this, SLOT(rowsRemoved_hook(const QModelIndex&, int, int))); } void hook_columnsAboutToBeInserted(QHook &hook) { if ( !columnsAboutToBeInserted_event.func ) connect(handle, SIGNAL(columnsAboutToBeInserted(const QModelIndex&, int, int)), this, SLOT(columnsAboutToBeInserted_hook(const QModelIndex&, int, int))); columnsAboutToBeInserted_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(columnsAboutToBeInserted(const QModelIndex&, int, int)), this, SLOT(columnsAboutToBeInserted_hook(const QModelIndex&, int, int))); } void hook_columnsInserted(QHook &hook) { if ( !columnsInserted_event.func ) connect(handle, SIGNAL(columnsInserted(const QModelIndex&, int, int)), this, SLOT(columnsInserted_hook(const QModelIndex&, int, int))); columnsInserted_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(columnsInserted(const QModelIndex&, int, int)), this, SLOT(columnsInserted_hook(const QModelIndex&, int, int))); } void hook_columnsAboutToBeRemoved(QHook &hook) { if ( !columnsAboutToBeRemoved_event.func ) connect(handle, SIGNAL(columnsAboutToBeRemoved(const QModelIndex&, int, int)), this, SLOT(columnsAboutToBeRemoved_hook(const QModelIndex&, int, int))); columnsAboutToBeRemoved_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(columnsAboutToBeRemoved(const QModelIndex&, int, int)), this, SLOT(columnsAboutToBeRemoved_hook(const QModelIndex&, int, int))); } void hook_columnsRemoved(QHook &hook) { if ( !columnsRemoved_event.func ) connect(handle, SIGNAL(columnsRemoved(const QModelIndex&, int, int)), this, SLOT(columnsRemoved_hook(const QModelIndex&, int, int))); columnsRemoved_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(columnsRemoved(const QModelIndex&, int, int)), this, SLOT(columnsRemoved_hook(const QModelIndex&, int, int))); } void hook_modelAboutToBeReset(QHook &hook) { if ( !modelAboutToBeReset_event.func ) connect(handle, SIGNAL(modelAboutToBeReset()), this, SLOT(modelAboutToBeReset_hook())); modelAboutToBeReset_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(modelAboutToBeReset()), this, SLOT(modelAboutToBeReset_hook())); } void hook_modelReset(QHook &hook) { if ( !modelReset_event.func ) connect(handle, SIGNAL(modelReset()), this, SLOT(modelReset_hook())); modelReset_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(modelReset()), this, SLOT(modelReset_hook())); } private slots: void dataChanged_hook(const QModelIndex& topLeft, const QModelIndex& bottomRight) { if ( dataChanged_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH topLeft, const QModelIndexH bottomRight); (*(func_type)dataChanged_event.func)(dataChanged_event.data, (const QModelIndexH)&topLeft, (const QModelIndexH)&bottomRight); } } void headerDataChanged_hook(Qt::Orientation orientation, int first, int last) { if ( headerDataChanged_event.func ) { typedef void (*func_type)(void *data, Qt::Orientation orientation, int first, int last); (*(func_type)headerDataChanged_event.func)(headerDataChanged_event.data, orientation, first, last); } } void layoutChanged_hook() { if ( layoutChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)layoutChanged_event.func)(layoutChanged_event.data); } } void layoutAboutToBeChanged_hook() { if ( layoutAboutToBeChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)layoutAboutToBeChanged_event.func)(layoutAboutToBeChanged_event.data); } } void rowsAboutToBeInserted_hook(const QModelIndex& parent, int first, int last) { if ( rowsAboutToBeInserted_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH parent, int first, int last); (*(func_type)rowsAboutToBeInserted_event.func)(rowsAboutToBeInserted_event.data, (const QModelIndexH)&parent, first, last); } } void rowsInserted_hook(const QModelIndex& parent, int first, int last) { if ( rowsInserted_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH parent, int first, int last); (*(func_type)rowsInserted_event.func)(rowsInserted_event.data, (const QModelIndexH)&parent, first, last); } } void rowsAboutToBeRemoved_hook(const QModelIndex& parent, int first, int last) { if ( rowsAboutToBeRemoved_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH parent, int first, int last); (*(func_type)rowsAboutToBeRemoved_event.func)(rowsAboutToBeRemoved_event.data, (const QModelIndexH)&parent, first, last); } } void rowsRemoved_hook(const QModelIndex& parent, int first, int last) { if ( rowsRemoved_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH parent, int first, int last); (*(func_type)rowsRemoved_event.func)(rowsRemoved_event.data, (const QModelIndexH)&parent, first, last); } } void columnsAboutToBeInserted_hook(const QModelIndex& parent, int first, int last) { if ( columnsAboutToBeInserted_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH parent, int first, int last); (*(func_type)columnsAboutToBeInserted_event.func)(columnsAboutToBeInserted_event.data, (const QModelIndexH)&parent, first, last); } } void columnsInserted_hook(const QModelIndex& parent, int first, int last) { if ( columnsInserted_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH parent, int first, int last); (*(func_type)columnsInserted_event.func)(columnsInserted_event.data, (const QModelIndexH)&parent, first, last); } } void columnsAboutToBeRemoved_hook(const QModelIndex& parent, int first, int last) { if ( columnsAboutToBeRemoved_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH parent, int first, int last); (*(func_type)columnsAboutToBeRemoved_event.func)(columnsAboutToBeRemoved_event.data, (const QModelIndexH)&parent, first, last); } } void columnsRemoved_hook(const QModelIndex& parent, int first, int last) { if ( columnsRemoved_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH parent, int first, int last); (*(func_type)columnsRemoved_event.func)(columnsRemoved_event.data, (const QModelIndexH)&parent, first, last); } } void modelAboutToBeReset_hook() { if ( modelAboutToBeReset_event.func ) { typedef void (*func_type)(void *data); (*(func_type)modelAboutToBeReset_event.func)(modelAboutToBeReset_event.data); } } void modelReset_hook() { if ( modelReset_event.func ) { typedef void (*func_type)(void *data); (*(func_type)modelReset_event.func)(modelReset_event.data); } } private: QHook dataChanged_event; QHook headerDataChanged_event; QHook layoutChanged_event; QHook layoutAboutToBeChanged_event; QHook rowsAboutToBeInserted_event; QHook rowsInserted_event; QHook rowsAboutToBeRemoved_event; QHook rowsRemoved_event; QHook columnsAboutToBeInserted_event; QHook columnsInserted_event; QHook columnsAboutToBeRemoved_event; QHook columnsRemoved_event; QHook modelAboutToBeReset_event; QHook modelReset_event; }; #include "qabstractitemmodel_hook.h" class QAbstractTableModel_hook : public QAbstractItemModel_hook { Q_OBJECT public: QAbstractTableModel_hook(QObject *handle) : QAbstractItemModel_hook(handle) { } }; #include "qabstractitemmodel_hook.h" class QAbstractListModel_hook : public QAbstractItemModel_hook { Q_OBJECT public: QAbstractListModel_hook(QObject *handle) : QAbstractItemModel_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfontdialog_c.h0000664000212600021260000000364511677135472020025 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFONTDIALOG_C_H #define QFONTDIALOG_C_H #include #include "pascalbind.h" C_EXPORT QFontDialogH QFontDialog_create(QWidgetH parent); C_EXPORT void QFontDialog_destroy(QFontDialogH handle); C_EXPORT QFontDialogH QFontDialog_create2(const QFontH initial, QWidgetH parent); C_EXPORT void QFontDialog_setCurrentFont(QFontDialogH handle, const QFontH font); C_EXPORT void QFontDialog_currentFont(QFontDialogH handle, QFontH retval); C_EXPORT void QFontDialog_selectedFont(QFontDialogH handle, QFontH retval); C_EXPORT void QFontDialog_setOption(QFontDialogH handle, QFontDialog::FontDialogOption option, bool on); C_EXPORT bool QFontDialog_testOption(QFontDialogH handle, QFontDialog::FontDialogOption option); C_EXPORT void QFontDialog_setOptions(QFontDialogH handle, unsigned int options); C_EXPORT unsigned int QFontDialog_options(QFontDialogH handle); C_EXPORT void QFontDialog_open(QFontDialogH handle, QObjectH receiver, const char* member); C_EXPORT void QFontDialog_setVisible(QFontDialogH handle, bool visible); C_EXPORT void QFontDialog_getFont(QFontH retval, bool* ok, const QFontH initial, QWidgetH parent, PWideString title, unsigned int options); C_EXPORT void QFontDialog_getFont2(QFontH retval, bool* ok, const QFontH initial, QWidgetH parent, PWideString title); C_EXPORT void QFontDialog_getFont3(QFontH retval, bool* ok, const QFontH initial, QWidgetH parent); C_EXPORT void QFontDialog_getFont4(QFontH retval, bool* ok, QWidgetH parent); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextlayout_c.h0000664000212600021260000001333211677135472020113 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTEXTLAYOUT_C_H #define QTEXTLAYOUT_C_H #include #include "pascalbind.h" C_EXPORT QTextInlineObjectH QTextInlineObject_create(); C_EXPORT void QTextInlineObject_destroy(QTextInlineObjectH handle); C_EXPORT bool QTextInlineObject_isValid(QTextInlineObjectH handle); C_EXPORT void QTextInlineObject_rect(QTextInlineObjectH handle, QRectFH retval); C_EXPORT qreal QTextInlineObject_width(QTextInlineObjectH handle); C_EXPORT qreal QTextInlineObject_ascent(QTextInlineObjectH handle); C_EXPORT qreal QTextInlineObject_descent(QTextInlineObjectH handle); C_EXPORT qreal QTextInlineObject_height(QTextInlineObjectH handle); C_EXPORT Qt::LayoutDirection QTextInlineObject_textDirection(QTextInlineObjectH handle); C_EXPORT void QTextInlineObject_setWidth(QTextInlineObjectH handle, qreal w); C_EXPORT void QTextInlineObject_setAscent(QTextInlineObjectH handle, qreal a); C_EXPORT void QTextInlineObject_setDescent(QTextInlineObjectH handle, qreal d); C_EXPORT int QTextInlineObject_textPosition(QTextInlineObjectH handle); C_EXPORT int QTextInlineObject_formatIndex(QTextInlineObjectH handle); C_EXPORT void QTextInlineObject_format(QTextInlineObjectH handle, QTextFormatH retval); C_EXPORT QTextLayoutH QTextLayout_create(); C_EXPORT void QTextLayout_destroy(QTextLayoutH handle); C_EXPORT QTextLayoutH QTextLayout_create2(PWideString text); C_EXPORT QTextLayoutH QTextLayout_create3(PWideString text, const QFontH font, QPaintDeviceH paintdevice); C_EXPORT QTextLayoutH QTextLayout_create4(const QTextBlockH b); C_EXPORT void QTextLayout_setFont(QTextLayoutH handle, const QFontH f); C_EXPORT void QTextLayout_font(QTextLayoutH handle, QFontH retval); C_EXPORT void QTextLayout_setText(QTextLayoutH handle, PWideString string); C_EXPORT void QTextLayout_text(QTextLayoutH handle, PWideString retval); C_EXPORT void QTextLayout_setTextOption(QTextLayoutH handle, const QTextOptionH option); C_EXPORT void QTextLayout_textOption(QTextLayoutH handle, QTextOptionH retval); C_EXPORT void QTextLayout_setPreeditArea(QTextLayoutH handle, int position, PWideString text); C_EXPORT int QTextLayout_preeditAreaPosition(QTextLayoutH handle); C_EXPORT void QTextLayout_preeditAreaText(QTextLayoutH handle, PWideString retval); C_EXPORT void QTextLayout_clearAdditionalFormats(QTextLayoutH handle); C_EXPORT void QTextLayout_setCacheEnabled(QTextLayoutH handle, bool enable); C_EXPORT bool QTextLayout_cacheEnabled(QTextLayoutH handle); C_EXPORT void QTextLayout_beginLayout(QTextLayoutH handle); C_EXPORT void QTextLayout_endLayout(QTextLayoutH handle); C_EXPORT void QTextLayout_clearLayout(QTextLayoutH handle); C_EXPORT void QTextLayout_createLine(QTextLayoutH handle, QTextLineH retval); C_EXPORT int QTextLayout_lineCount(QTextLayoutH handle); C_EXPORT void QTextLayout_lineAt(QTextLayoutH handle, QTextLineH retval, int i); C_EXPORT void QTextLayout_lineForTextPosition(QTextLayoutH handle, QTextLineH retval, int pos); C_EXPORT bool QTextLayout_isValidCursorPosition(QTextLayoutH handle, int pos); C_EXPORT int QTextLayout_nextCursorPosition(QTextLayoutH handle, int oldPos, QTextLayout::CursorMode mode); C_EXPORT int QTextLayout_previousCursorPosition(QTextLayoutH handle, int oldPos, QTextLayout::CursorMode mode); C_EXPORT void QTextLayout_drawCursor(QTextLayoutH handle, QPainterH p, const QPointFH pos, int cursorPosition); C_EXPORT void QTextLayout_drawCursor2(QTextLayoutH handle, QPainterH p, const QPointFH pos, int cursorPosition, int width); C_EXPORT void QTextLayout_position(QTextLayoutH handle, PQtPointF retval); C_EXPORT void QTextLayout_setPosition(QTextLayoutH handle, const QPointFH p); C_EXPORT void QTextLayout_boundingRect(QTextLayoutH handle, QRectFH retval); C_EXPORT qreal QTextLayout_minimumWidth(QTextLayoutH handle); C_EXPORT qreal QTextLayout_maximumWidth(QTextLayoutH handle); C_EXPORT void QTextLayout_setFlags(QTextLayoutH handle, int flags); C_EXPORT QTextLineH QTextLine_create(); C_EXPORT void QTextLine_destroy(QTextLineH handle); C_EXPORT bool QTextLine_isValid(QTextLineH handle); C_EXPORT void QTextLine_rect(QTextLineH handle, QRectFH retval); C_EXPORT qreal QTextLine_x(QTextLineH handle); C_EXPORT qreal QTextLine_y(QTextLineH handle); C_EXPORT qreal QTextLine_width(QTextLineH handle); C_EXPORT qreal QTextLine_ascent(QTextLineH handle); C_EXPORT qreal QTextLine_descent(QTextLineH handle); C_EXPORT qreal QTextLine_height(QTextLineH handle); C_EXPORT qreal QTextLine_naturalTextWidth(QTextLineH handle); C_EXPORT void QTextLine_naturalTextRect(QTextLineH handle, QRectFH retval); C_EXPORT qreal QTextLine_cursorToX(QTextLineH handle, int* cursorPos, QTextLine::Edge edge); C_EXPORT qreal QTextLine_cursorToX2(QTextLineH handle, int cursorPos, QTextLine::Edge edge); C_EXPORT int QTextLine_xToCursor(QTextLineH handle, qreal x, QTextLine::CursorPosition AnonParam2); C_EXPORT void QTextLine_setLineWidth(QTextLineH handle, qreal width); C_EXPORT void QTextLine_setNumColumns(QTextLineH handle, int columns); C_EXPORT void QTextLine_setNumColumns2(QTextLineH handle, int columns, qreal alignmentWidth); C_EXPORT void QTextLine_setPosition(QTextLineH handle, const QPointFH pos); C_EXPORT void QTextLine_position(QTextLineH handle, PQtPointF retval); C_EXPORT int QTextLine_textStart(QTextLineH handle); C_EXPORT int QTextLine_textLength(QTextLineH handle); C_EXPORT int QTextLine_lineNumber(QTextLineH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsessionmanager_c.cpp0000664000212600021260000000654711677135472021254 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsessionmanager_c.h" #if defined BINUX || MSWINDOWS || DARWIN void QSessionManager_sessionId(QSessionManagerH handle, PWideString retval) { QString t_retval; t_retval = ((QSessionManager *)handle)->sessionId(); copyQStringToPWideString(t_retval, retval); } void QSessionManager_sessionKey(QSessionManagerH handle, PWideString retval) { QString t_retval; t_retval = ((QSessionManager *)handle)->sessionKey(); copyQStringToPWideString(t_retval, retval); } #endif #if defined BINUX || DARWIN void* QSessionManager_handle(QSessionManagerH handle) { return (void*) ((QSessionManager *)handle)->handle(); } #endif #if defined BINUX || MSWINDOWS || DARWIN bool QSessionManager_allowsInteraction(QSessionManagerH handle) { return (bool) ((QSessionManager *)handle)->allowsInteraction(); } bool QSessionManager_allowsErrorInteraction(QSessionManagerH handle) { return (bool) ((QSessionManager *)handle)->allowsErrorInteraction(); } void QSessionManager_release(QSessionManagerH handle) { ((QSessionManager *)handle)->release(); } void QSessionManager_cancel(QSessionManagerH handle) { ((QSessionManager *)handle)->cancel(); } void QSessionManager_setRestartHint(QSessionManagerH handle, QSessionManager::RestartHint AnonParam1) { ((QSessionManager *)handle)->setRestartHint(AnonParam1); } QSessionManager::RestartHint QSessionManager_restartHint(QSessionManagerH handle) { return (QSessionManager::RestartHint) ((QSessionManager *)handle)->restartHint(); } void QSessionManager_setRestartCommand(QSessionManagerH handle, const QStringListH AnonParam1) { ((QSessionManager *)handle)->setRestartCommand(*(const QStringList*)AnonParam1); } void QSessionManager_restartCommand(QSessionManagerH handle, QStringListH retval) { *(QStringList *)retval = ((QSessionManager *)handle)->restartCommand(); } void QSessionManager_setDiscardCommand(QSessionManagerH handle, const QStringListH AnonParam1) { ((QSessionManager *)handle)->setDiscardCommand(*(const QStringList*)AnonParam1); } void QSessionManager_discardCommand(QSessionManagerH handle, QStringListH retval) { *(QStringList *)retval = ((QSessionManager *)handle)->discardCommand(); } void QSessionManager_setManagerProperty(QSessionManagerH handle, PWideString name, PWideString value) { QString t_name; QString t_value; copyPWideStringToQString(name, t_name); copyPWideStringToQString(value, t_value); ((QSessionManager *)handle)->setManagerProperty(t_name, t_value); } void QSessionManager_setManagerProperty2(QSessionManagerH handle, PWideString name, const QStringListH value) { QString t_name; copyPWideStringToQString(name, t_name); ((QSessionManager *)handle)->setManagerProperty(t_name, *(const QStringList*)value); } bool QSessionManager_isPhase2(QSessionManagerH handle) { return (bool) ((QSessionManager *)handle)->isPhase2(); } void QSessionManager_requestPhase2(QSessionManagerH handle) { ((QSessionManager *)handle)->requestPhase2(); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmimedata_c.cpp0000664000212600021260000000650211677135472020006 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qmimedata_c.h" QMimeDataH QMimeData_create() { return (QMimeDataH) new QMimeData(); } void QMimeData_destroy(QMimeDataH handle) { delete (QMimeData *)handle; } bool QMimeData_hasUrls(QMimeDataH handle) { return (bool) ((QMimeData *)handle)->hasUrls(); } void QMimeData_text(QMimeDataH handle, PWideString retval) { QString t_retval; t_retval = ((QMimeData *)handle)->text(); copyQStringToPWideString(t_retval, retval); } void QMimeData_setText(QMimeDataH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QMimeData *)handle)->setText(t_text); } bool QMimeData_hasText(QMimeDataH handle) { return (bool) ((QMimeData *)handle)->hasText(); } void QMimeData_html(QMimeDataH handle, PWideString retval) { QString t_retval; t_retval = ((QMimeData *)handle)->html(); copyQStringToPWideString(t_retval, retval); } void QMimeData_setHtml(QMimeDataH handle, PWideString html) { QString t_html; copyPWideStringToQString(html, t_html); ((QMimeData *)handle)->setHtml(t_html); } bool QMimeData_hasHtml(QMimeDataH handle) { return (bool) ((QMimeData *)handle)->hasHtml(); } void QMimeData_imageData(QMimeDataH handle, QVariantH retval) { *(QVariant *)retval = ((QMimeData *)handle)->imageData(); } void QMimeData_setImageData(QMimeDataH handle, const QVariantH image) { ((QMimeData *)handle)->setImageData(*(const QVariant*)image); } bool QMimeData_hasImage(QMimeDataH handle) { return (bool) ((QMimeData *)handle)->hasImage(); } void QMimeData_colorData(QMimeDataH handle, QVariantH retval) { *(QVariant *)retval = ((QMimeData *)handle)->colorData(); } void QMimeData_setColorData(QMimeDataH handle, const QVariantH color) { ((QMimeData *)handle)->setColorData(*(const QVariant*)color); } bool QMimeData_hasColor(QMimeDataH handle) { return (bool) ((QMimeData *)handle)->hasColor(); } void QMimeData_data(QMimeDataH handle, QByteArrayH retval, PWideString mimetype) { QString t_mimetype; copyPWideStringToQString(mimetype, t_mimetype); *(QByteArray *)retval = ((QMimeData *)handle)->data(t_mimetype); } void QMimeData_setData(QMimeDataH handle, PWideString mimetype, const QByteArrayH data) { QString t_mimetype; copyPWideStringToQString(mimetype, t_mimetype); ((QMimeData *)handle)->setData(t_mimetype, *(const QByteArray*)data); } void QMimeData_removeFormat(QMimeDataH handle, PWideString mimetype) { QString t_mimetype; copyPWideStringToQString(mimetype, t_mimetype); ((QMimeData *)handle)->removeFormat(t_mimetype); } bool QMimeData_hasFormat(QMimeDataH handle, PWideString mimetype) { QString t_mimetype; copyPWideStringToQString(mimetype, t_mimetype); return (bool) ((QMimeData *)handle)->hasFormat(t_mimetype); } void QMimeData_formats(QMimeDataH handle, QStringListH retval) { *(QStringList *)retval = ((QMimeData *)handle)->formats(); } void QMimeData_clear(QMimeDataH handle) { ((QMimeData *)handle)->clear(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsocketnotifier_hook_c.h0000664000212600021260000000150211677135472021735 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSOCKETNOTIFIER_HOOK_C_H #define QSOCKETNOTIFIER_HOOK_C_H #include "qsocketnotifier_hook.h" C_EXPORT QSocketNotifier_hookH QSocketNotifier_hook_create(QObjectH handle); C_EXPORT void QSocketNotifier_hook_destroy(QSocketNotifier_hookH handle); C_EXPORT void QSocketNotifier_hook_hook_activated(QSocketNotifier_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlcltabwidget.h0000644000212600021260000000043111677135472020026 0ustar janjan#ifndef QLCLTABWIDGET_H #define QLCLTABWIDGET_H #include class QLCLTabWidget : public QTabWidget { public: static QTabBar *tabBarHandle(QTabWidget *protectedhandle) { return reinterpret_cast(protectedhandle)->tabBar(); } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractscrollarea_hook_c.cpp0000664000212600021260000000144511677135472023121 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractscrollarea_hook_c.h" QAbstractScrollArea_hookH QAbstractScrollArea_hook_create(QObjectH handle) { return (QAbstractScrollArea_hookH) new QAbstractScrollArea_hook((QObject*)handle); } void QAbstractScrollArea_hook_destroy(QAbstractScrollArea_hookH handle) { delete (QAbstractScrollArea_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qclipboard_c.h0000664000212600021260000000347611677135472017640 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCLIPBOARD_C_H #define QCLIPBOARD_C_H #include #include "pascalbind.h" C_EXPORT void QClipboard_clear(QClipboardH handle, QClipboard::Mode mode); C_EXPORT bool QClipboard_supportsSelection(QClipboardH handle); C_EXPORT bool QClipboard_supportsFindBuffer(QClipboardH handle); C_EXPORT bool QClipboard_ownsSelection(QClipboardH handle); C_EXPORT bool QClipboard_ownsClipboard(QClipboardH handle); C_EXPORT bool QClipboard_ownsFindBuffer(QClipboardH handle); C_EXPORT void QClipboard_text(QClipboardH handle, PWideString retval, QClipboard::Mode mode); C_EXPORT void QClipboard_text2(QClipboardH handle, PWideString retval, PWideString subtype, QClipboard::Mode mode); C_EXPORT void QClipboard_setText(QClipboardH handle, PWideString AnonParam1, QClipboard::Mode mode); C_EXPORT const QMimeDataH QClipboard_mimeData(QClipboardH handle, QClipboard::Mode mode); C_EXPORT void QClipboard_setMimeData(QClipboardH handle, QMimeDataH data, QClipboard::Mode mode); C_EXPORT void QClipboard_image(QClipboardH handle, QImageH retval, QClipboard::Mode mode); C_EXPORT void QClipboard_pixmap(QClipboardH handle, QPixmapH retval, QClipboard::Mode mode); C_EXPORT void QClipboard_setImage(QClipboardH handle, const QImageH AnonParam1, QClipboard::Mode mode); C_EXPORT void QClipboard_setPixmap(QClipboardH handle, const QPixmapH AnonParam1, QClipboard::Mode mode); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcoreevent_c.h0000664000212600021260000000347311677135472017670 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCOREEVENT_C_H #define QCOREEVENT_C_H #include #include "pascalbind.h" C_EXPORT QEventH QEvent_create(QEvent::Type type); C_EXPORT void QEvent_destroy(QEventH handle); C_EXPORT QEvent::Type QEvent_type(QEventH handle); C_EXPORT bool QEvent_spontaneous(QEventH handle); C_EXPORT void QEvent_setAccepted(QEventH handle, bool accepted); C_EXPORT bool QEvent_isAccepted(QEventH handle); C_EXPORT void QEvent_accept(QEventH handle); C_EXPORT void QEvent_ignore(QEventH handle); C_EXPORT int QEvent_registerEventType(int hint); C_EXPORT QTimerEventH QTimerEvent_create(int timerId); C_EXPORT void QTimerEvent_destroy(QTimerEventH handle); C_EXPORT int QTimerEvent_timerId(QTimerEventH handle); C_EXPORT QChildEventH QChildEvent_create(QEvent::Type type, QObjectH child); C_EXPORT void QChildEvent_destroy(QChildEventH handle); C_EXPORT QObjectH QChildEvent_child(QChildEventH handle); C_EXPORT bool QChildEvent_added(QChildEventH handle); C_EXPORT bool QChildEvent_polished(QChildEventH handle); C_EXPORT bool QChildEvent_removed(QChildEventH handle); C_EXPORT QDynamicPropertyChangeEventH QDynamicPropertyChangeEvent_create(const QByteArrayH name); C_EXPORT void QDynamicPropertyChangeEvent_destroy(QDynamicPropertyChangeEventH handle); C_EXPORT void QDynamicPropertyChangeEvent_propertyName(QDynamicPropertyChangeEventH handle, QByteArrayH retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpalette_c.h0000664000212600021260000001054011677135472017325 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPALETTE_C_H #define QPALETTE_C_H #include #include "pascalbind.h" C_EXPORT QPaletteH QPalette_create(); C_EXPORT void QPalette_destroy(QPaletteH handle); C_EXPORT QPaletteH QPalette_create2(const QColorH button); C_EXPORT QPaletteH QPalette_create3(Qt::GlobalColor button); C_EXPORT QPaletteH QPalette_create4(const QColorH button, const QColorH window); C_EXPORT QPaletteH QPalette_create5(const QBrushH windowText, const QBrushH button, const QBrushH light, const QBrushH dark, const QBrushH mid, const QBrushH text, const QBrushH bright_text, const QBrushH base, const QBrushH window); C_EXPORT QPaletteH QPalette_create6(const QColorH windowText, const QColorH window, const QColorH light, const QColorH dark, const QColorH mid, const QColorH text, const QColorH base); C_EXPORT QPaletteH QPalette_create7(const QPaletteH palette); C_EXPORT QPalette::ColorGroup QPalette_currentColorGroup(QPaletteH handle); C_EXPORT void QPalette_setCurrentColorGroup(QPaletteH handle, QPalette::ColorGroup cg); C_EXPORT const QColorH QPalette_color(QPaletteH handle, QPalette::ColorGroup cg, QPalette::ColorRole cr); C_EXPORT const QBrushH QPalette_brush(QPaletteH handle, QPalette::ColorGroup cg, QPalette::ColorRole cr); C_EXPORT void QPalette_setColor(QPaletteH handle, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QColorH color); C_EXPORT void QPalette_setColor2(QPaletteH handle, QPalette::ColorRole cr, const QColorH color); C_EXPORT void QPalette_setBrush(QPaletteH handle, QPalette::ColorRole cr, const QBrushH brush); C_EXPORT bool QPalette_isBrushSet(QPaletteH handle, QPalette::ColorGroup cg, QPalette::ColorRole cr); C_EXPORT void QPalette_setBrush2(QPaletteH handle, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QBrushH brush); C_EXPORT void QPalette_setColorGroup(QPaletteH handle, QPalette::ColorGroup cr, const QBrushH windowText, const QBrushH button, const QBrushH light, const QBrushH dark, const QBrushH mid, const QBrushH text, const QBrushH bright_text, const QBrushH base, const QBrushH window); C_EXPORT bool QPalette_isEqual(QPaletteH handle, QPalette::ColorGroup cr1, QPalette::ColorGroup cr2); C_EXPORT const QColorH QPalette_color2(QPaletteH handle, QPalette::ColorRole cr); C_EXPORT const QBrushH QPalette_brush2(QPaletteH handle, QPalette::ColorRole cr); C_EXPORT const QBrushH QPalette_foreground(QPaletteH handle); C_EXPORT const QBrushH QPalette_windowText(QPaletteH handle); C_EXPORT const QBrushH QPalette_button(QPaletteH handle); C_EXPORT const QBrushH QPalette_light(QPaletteH handle); C_EXPORT const QBrushH QPalette_dark(QPaletteH handle); C_EXPORT const QBrushH QPalette_mid(QPaletteH handle); C_EXPORT const QBrushH QPalette_text(QPaletteH handle); C_EXPORT const QBrushH QPalette_base(QPaletteH handle); C_EXPORT const QBrushH QPalette_alternateBase(QPaletteH handle); C_EXPORT const QBrushH QPalette_toolTipBase(QPaletteH handle); C_EXPORT const QBrushH QPalette_toolTipText(QPaletteH handle); C_EXPORT const QBrushH QPalette_background(QPaletteH handle); C_EXPORT const QBrushH QPalette_window(QPaletteH handle); C_EXPORT const QBrushH QPalette_midlight(QPaletteH handle); C_EXPORT const QBrushH QPalette_brightText(QPaletteH handle); C_EXPORT const QBrushH QPalette_buttonText(QPaletteH handle); C_EXPORT const QBrushH QPalette_shadow(QPaletteH handle); C_EXPORT const QBrushH QPalette_highlight(QPaletteH handle); C_EXPORT const QBrushH QPalette_highlightedText(QPaletteH handle); C_EXPORT const QBrushH QPalette_link(QPaletteH handle); C_EXPORT const QBrushH QPalette_linkVisited(QPaletteH handle); C_EXPORT bool QPalette_isCopyOf(QPaletteH handle, const QPaletteH p); C_EXPORT int QPalette_serialNumber(QPaletteH handle); C_EXPORT qint64 QPalette_cacheKey(QPaletteH handle); C_EXPORT void QPalette_resolve(QPaletteH handle, QPaletteH retval, const QPaletteH AnonParam1); C_EXPORT uint QPalette_resolve2(QPaletteH handle); C_EXPORT void QPalette_resolve3(QPaletteH handle, uint mask); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmdisubwindow_c.cpp0000664000212600021260000000606411677135472020743 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qmdisubwindow_c.h" QMdiSubWindowH QMdiSubWindow_create(QWidgetH parent, unsigned int flags) { return (QMdiSubWindowH) new QMdiSubWindow((QWidget*)parent, (Qt::WindowFlags)flags); } void QMdiSubWindow_destroy(QMdiSubWindowH handle) { delete (QMdiSubWindow *)handle; } void QMdiSubWindow_sizeHint(QMdiSubWindowH handle, PSize retval) { *(QSize *)retval = ((QMdiSubWindow *)handle)->sizeHint(); } void QMdiSubWindow_minimumSizeHint(QMdiSubWindowH handle, PSize retval) { *(QSize *)retval = ((QMdiSubWindow *)handle)->minimumSizeHint(); } void QMdiSubWindow_setWidget(QMdiSubWindowH handle, QWidgetH widget) { ((QMdiSubWindow *)handle)->setWidget((QWidget*)widget); } QWidgetH QMdiSubWindow_widget(QMdiSubWindowH handle) { return (QWidgetH) ((QMdiSubWindow *)handle)->widget(); } QWidgetH QMdiSubWindow_maximizedButtonsWidget(QMdiSubWindowH handle) { return (QWidgetH) ((QMdiSubWindow *)handle)->maximizedButtonsWidget(); } QWidgetH QMdiSubWindow_maximizedSystemMenuIconWidget(QMdiSubWindowH handle) { return (QWidgetH) ((QMdiSubWindow *)handle)->maximizedSystemMenuIconWidget(); } bool QMdiSubWindow_isShaded(QMdiSubWindowH handle) { return (bool) ((QMdiSubWindow *)handle)->isShaded(); } void QMdiSubWindow_setOption(QMdiSubWindowH handle, QMdiSubWindow::SubWindowOption option, bool on) { ((QMdiSubWindow *)handle)->setOption(option, on); } bool QMdiSubWindow_testOption(QMdiSubWindowH handle, QMdiSubWindow::SubWindowOption AnonParam1) { return (bool) ((QMdiSubWindow *)handle)->testOption(AnonParam1); } void QMdiSubWindow_setKeyboardSingleStep(QMdiSubWindowH handle, int step) { ((QMdiSubWindow *)handle)->setKeyboardSingleStep(step); } int QMdiSubWindow_keyboardSingleStep(QMdiSubWindowH handle) { return (int) ((QMdiSubWindow *)handle)->keyboardSingleStep(); } void QMdiSubWindow_setKeyboardPageStep(QMdiSubWindowH handle, int step) { ((QMdiSubWindow *)handle)->setKeyboardPageStep(step); } int QMdiSubWindow_keyboardPageStep(QMdiSubWindowH handle) { return (int) ((QMdiSubWindow *)handle)->keyboardPageStep(); } void QMdiSubWindow_setSystemMenu(QMdiSubWindowH handle, QMenuH systemMenu) { ((QMdiSubWindow *)handle)->setSystemMenu((QMenu*)systemMenu); } QMenuH QMdiSubWindow_systemMenu(QMdiSubWindowH handle) { return (QMenuH) ((QMdiSubWindow *)handle)->systemMenu(); } QMdiAreaH QMdiSubWindow_mdiArea(QMdiSubWindowH handle) { return (QMdiAreaH) ((QMdiSubWindow *)handle)->mdiArea(); } void QMdiSubWindow_showSystemMenu(QMdiSubWindowH handle) { ((QMdiSubWindow *)handle)->showSystemMenu(); } void QMdiSubWindow_showShaded(QMdiSubWindowH handle) { ((QMdiSubWindow *)handle)->showShaded(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsocketnotifier_c.h0000664000212600021260000000203611677135472020720 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSOCKETNOTIFIER_C_H #define QSOCKETNOTIFIER_C_H #include #include "pascalbind.h" C_EXPORT QSocketNotifierH QSocketNotifier_create(int socket, QSocketNotifier::Type AnonParam2, QObjectH parent); C_EXPORT void QSocketNotifier_destroy(QSocketNotifierH handle); C_EXPORT int QSocketNotifier_socket(QSocketNotifierH handle); C_EXPORT QSocketNotifier::Type QSocketNotifier_type(QSocketNotifierH handle); C_EXPORT bool QSocketNotifier_isEnabled(QSocketNotifierH handle); C_EXPORT void QSocketNotifier_setEnabled(QSocketNotifierH handle, bool AnonParam1); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbar_hook_c.cpp0000664000212600021260000000303511677135472020705 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtoolbar_hook_c.h" QToolBar_hookH QToolBar_hook_create(QObjectH handle) { return (QToolBar_hookH) new QToolBar_hook((QObject*)handle); } void QToolBar_hook_destroy(QToolBar_hookH handle) { delete (QToolBar_hook *)handle; } void QToolBar_hook_hook_actionTriggered(QToolBar_hookH handle, QHookH hook) { ((QToolBar_hook *)handle)->hook_actionTriggered(hook); } void QToolBar_hook_hook_movableChanged(QToolBar_hookH handle, QHookH hook) { ((QToolBar_hook *)handle)->hook_movableChanged(hook); } void QToolBar_hook_hook_allowedAreasChanged(QToolBar_hookH handle, QHookH hook) { ((QToolBar_hook *)handle)->hook_allowedAreasChanged(hook); } void QToolBar_hook_hook_orientationChanged(QToolBar_hookH handle, QHookH hook) { ((QToolBar_hook *)handle)->hook_orientationChanged(hook); } void QToolBar_hook_hook_iconSizeChanged(QToolBar_hookH handle, QHookH hook) { ((QToolBar_hook *)handle)->hook_iconSizeChanged(hook); } void QToolBar_hook_hook_toolButtonStyleChanged(QToolBar_hookH handle, QHookH hook) { ((QToolBar_hook *)handle)->hook_toolButtonStyleChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qbrush_c.cpp0000664000212600021260000002213311677135472017346 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qbrush_c.h" QBrushH QBrush_create() { return (QBrushH) new QBrush(); } void QBrush_destroy(QBrushH handle) { delete (QBrush *)handle; } QBrushH QBrush_create2(Qt::BrushStyle bs) { return (QBrushH) new QBrush(bs); } QBrushH QBrush_create3(const QColorH color, Qt::BrushStyle bs) { return (QBrushH) new QBrush(*(const QColor*)color, bs); } QBrushH QBrush_create4(Qt::GlobalColor color, Qt::BrushStyle bs) { return (QBrushH) new QBrush(color, bs); } QBrushH QBrush_create5(const QColorH color, const QPixmapH pixmap) { return (QBrushH) new QBrush(*(const QColor*)color, *(const QPixmap*)pixmap); } QBrushH QBrush_create6(Qt::GlobalColor color, const QPixmapH pixmap) { return (QBrushH) new QBrush(color, *(const QPixmap*)pixmap); } QBrushH QBrush_create7(const QPixmapH pixmap) { return (QBrushH) new QBrush(*(const QPixmap*)pixmap); } QBrushH QBrush_create8(const QImageH image) { return (QBrushH) new QBrush(*(const QImage*)image); } QBrushH QBrush_create9(const QBrushH brush) { return (QBrushH) new QBrush(*(const QBrush*)brush); } QBrushH QBrush_create10(const QGradientH gradient) { return (QBrushH) new QBrush(*(const QGradient*)gradient); } Qt::BrushStyle QBrush_style(QBrushH handle) { return (Qt::BrushStyle) ((QBrush *)handle)->style(); } void QBrush_setStyle(QBrushH handle, Qt::BrushStyle AnonParam1) { ((QBrush *)handle)->setStyle(AnonParam1); } const QMatrixH QBrush_matrix(QBrushH handle) { return (const QMatrixH) &((QBrush *)handle)->matrix(); } void QBrush_setMatrix(QBrushH handle, const QMatrixH mat) { ((QBrush *)handle)->setMatrix(*(const QMatrix*)mat); } void QBrush_transform(QBrushH handle, QTransformH retval) { *(QTransform *)retval = ((QBrush *)handle)->transform(); } void QBrush_setTransform(QBrushH handle, const QTransformH AnonParam1) { ((QBrush *)handle)->setTransform(*(const QTransform*)AnonParam1); } void QBrush_texture(QBrushH handle, QPixmapH retval) { *(QPixmap *)retval = ((QBrush *)handle)->texture(); } void QBrush_setTexture(QBrushH handle, const QPixmapH pixmap) { ((QBrush *)handle)->setTexture(*(const QPixmap*)pixmap); } void QBrush_textureImage(QBrushH handle, QImageH retval) { *(QImage *)retval = ((QBrush *)handle)->textureImage(); } void QBrush_setTextureImage(QBrushH handle, const QImageH image) { ((QBrush *)handle)->setTextureImage(*(const QImage*)image); } const QColorH QBrush_color(QBrushH handle) { return (const QColorH) &((QBrush *)handle)->color(); } void QBrush_setColor(QBrushH handle, const QColorH color) { ((QBrush *)handle)->setColor(*(const QColor*)color); } void QBrush_setColor2(QBrushH handle, Qt::GlobalColor color) { ((QBrush *)handle)->setColor(color); } const QGradientH QBrush_gradient(QBrushH handle) { return (const QGradientH) ((QBrush *)handle)->gradient(); } bool QBrush_isOpaque(QBrushH handle) { return (bool) ((QBrush *)handle)->isOpaque(); } bool QBrush_isDetached(QBrushH handle) { return (bool) ((QBrush *)handle)->isDetached(); } QGradientH QGradient_create() { return (QGradientH) new QGradient(); } void QGradient_destroy(QGradientH handle) { delete (QGradient *)handle; } QGradient::Type QGradient_type(QGradientH handle) { return (QGradient::Type) ((QGradient *)handle)->type(); } void QGradient_setSpread(QGradientH handle, QGradient::Spread spread) { ((QGradient *)handle)->setSpread(spread); } QGradient::Spread QGradient_spread(QGradientH handle) { return (QGradient::Spread) ((QGradient *)handle)->spread(); } void QGradient_setColorAt(QGradientH handle, qreal pos, const QColorH color) { ((QGradient *)handle)->setColorAt(pos, *(const QColor*)color); } QGradient::CoordinateMode QGradient_coordinateMode(QGradientH handle) { return (QGradient::CoordinateMode) ((QGradient *)handle)->coordinateMode(); } void QGradient_setCoordinateMode(QGradientH handle, QGradient::CoordinateMode mode) { ((QGradient *)handle)->setCoordinateMode(mode); } QGradient::InterpolationMode QGradient_interpolationMode(QGradientH handle) { return (QGradient::InterpolationMode) ((QGradient *)handle)->interpolationMode(); } void QGradient_setInterpolationMode(QGradientH handle, QGradient::InterpolationMode mode) { ((QGradient *)handle)->setInterpolationMode(mode); } QLinearGradientH QLinearGradient_create() { return (QLinearGradientH) new QLinearGradient(); } void QLinearGradient_destroy(QLinearGradientH handle) { delete (QLinearGradient *)handle; } QLinearGradientH QLinearGradient_create2(const QPointFH start, const QPointFH finalStop) { return (QLinearGradientH) new QLinearGradient(*(const QPointF*)start, *(const QPointF*)finalStop); } QLinearGradientH QLinearGradient_create3(qreal xStart, qreal yStart, qreal xFinalStop, qreal yFinalStop) { return (QLinearGradientH) new QLinearGradient(xStart, yStart, xFinalStop, yFinalStop); } void QLinearGradient_start(QLinearGradientH handle, PQtPointF retval) { *(QPointF *)retval = ((QLinearGradient *)handle)->start(); } void QLinearGradient_setStart(QLinearGradientH handle, const QPointFH start) { ((QLinearGradient *)handle)->setStart(*(const QPointF*)start); } void QLinearGradient_setStart2(QLinearGradientH handle, qreal x, qreal y) { ((QLinearGradient *)handle)->setStart(x, y); } void QLinearGradient_finalStop(QLinearGradientH handle, PQtPointF retval) { *(QPointF *)retval = ((QLinearGradient *)handle)->finalStop(); } void QLinearGradient_setFinalStop(QLinearGradientH handle, const QPointFH stop) { ((QLinearGradient *)handle)->setFinalStop(*(const QPointF*)stop); } void QLinearGradient_setFinalStop2(QLinearGradientH handle, qreal x, qreal y) { ((QLinearGradient *)handle)->setFinalStop(x, y); } QRadialGradientH QRadialGradient_create() { return (QRadialGradientH) new QRadialGradient(); } void QRadialGradient_destroy(QRadialGradientH handle) { delete (QRadialGradient *)handle; } QRadialGradientH QRadialGradient_create2(const QPointFH center, qreal radius, const QPointFH focalPoint) { return (QRadialGradientH) new QRadialGradient(*(const QPointF*)center, radius, *(const QPointF*)focalPoint); } QRadialGradientH QRadialGradient_create3(qreal cx, qreal cy, qreal radius, qreal fx, qreal fy) { return (QRadialGradientH) new QRadialGradient(cx, cy, radius, fx, fy); } QRadialGradientH QRadialGradient_create4(const QPointFH center, qreal radius) { return (QRadialGradientH) new QRadialGradient(*(const QPointF*)center, radius); } QRadialGradientH QRadialGradient_create5(qreal cx, qreal cy, qreal radius) { return (QRadialGradientH) new QRadialGradient(cx, cy, radius); } void QRadialGradient_center(QRadialGradientH handle, PQtPointF retval) { *(QPointF *)retval = ((QRadialGradient *)handle)->center(); } void QRadialGradient_setCenter(QRadialGradientH handle, const QPointFH center) { ((QRadialGradient *)handle)->setCenter(*(const QPointF*)center); } void QRadialGradient_setCenter2(QRadialGradientH handle, qreal x, qreal y) { ((QRadialGradient *)handle)->setCenter(x, y); } void QRadialGradient_focalPoint(QRadialGradientH handle, PQtPointF retval) { *(QPointF *)retval = ((QRadialGradient *)handle)->focalPoint(); } void QRadialGradient_setFocalPoint(QRadialGradientH handle, const QPointFH focalPoint) { ((QRadialGradient *)handle)->setFocalPoint(*(const QPointF*)focalPoint); } void QRadialGradient_setFocalPoint2(QRadialGradientH handle, qreal x, qreal y) { ((QRadialGradient *)handle)->setFocalPoint(x, y); } qreal QRadialGradient_radius(QRadialGradientH handle) { return (qreal) ((QRadialGradient *)handle)->radius(); } void QRadialGradient_setRadius(QRadialGradientH handle, qreal radius) { ((QRadialGradient *)handle)->setRadius(radius); } QConicalGradientH QConicalGradient_create() { return (QConicalGradientH) new QConicalGradient(); } void QConicalGradient_destroy(QConicalGradientH handle) { delete (QConicalGradient *)handle; } QConicalGradientH QConicalGradient_create2(const QPointFH center, qreal startAngle) { return (QConicalGradientH) new QConicalGradient(*(const QPointF*)center, startAngle); } QConicalGradientH QConicalGradient_create3(qreal cx, qreal cy, qreal startAngle) { return (QConicalGradientH) new QConicalGradient(cx, cy, startAngle); } void QConicalGradient_center(QConicalGradientH handle, PQtPointF retval) { *(QPointF *)retval = ((QConicalGradient *)handle)->center(); } void QConicalGradient_setCenter(QConicalGradientH handle, const QPointFH center) { ((QConicalGradient *)handle)->setCenter(*(const QPointF*)center); } void QConicalGradient_setCenter2(QConicalGradientH handle, qreal x, qreal y) { ((QConicalGradient *)handle)->setCenter(x, y); } qreal QConicalGradient_angle(QConicalGradientH handle) { return (qreal) ((QConicalGradient *)handle)->angle(); } void QConicalGradient_setAngle(QConicalGradientH handle, qreal angle) { ((QConicalGradient *)handle)->setAngle(angle); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpolygon_c.h0000664000212600021260000000603711677135472017364 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPOLYGON_C_H #define QPOLYGON_C_H #include #include "pascalbind.h" C_EXPORT QPolygonH QPolygon_create(); C_EXPORT void QPolygon_destroy(QPolygonH handle); C_EXPORT QPolygonH QPolygon_create2(int size); C_EXPORT QPolygonH QPolygon_create3(const QPolygonH a); C_EXPORT QPolygonH QPolygon_create4(PRect r, bool closed); C_EXPORT QPolygonH QPolygon_create5(int nPoints, const int* points); C_EXPORT void QPolygon_translate(QPolygonH handle, int dx, int dy); C_EXPORT void QPolygon_translate2(QPolygonH handle, const QPointH offset); C_EXPORT void QPolygon_boundingRect(QPolygonH handle, PRect retval); C_EXPORT void QPolygon_point(QPolygonH handle, int i, int* x, int* y); C_EXPORT void QPolygon_point2(QPolygonH handle, PQtPoint retval, int i); C_EXPORT void QPolygon_setPoint(QPolygonH handle, int index, int x, int y); C_EXPORT void QPolygon_setPoint2(QPolygonH handle, int index, const QPointH p); C_EXPORT void QPolygon_setPoints(QPolygonH handle, int nPoints, const int* points); C_EXPORT void QPolygon_putPoints(QPolygonH handle, int index, int nPoints, const int* points); C_EXPORT void QPolygon_putPoints3(QPolygonH handle, int index, int nPoints, const QPolygonH from, int fromIndex); C_EXPORT bool QPolygon_containsPoint(QPolygonH handle, const QPointH pt, Qt::FillRule fillRule); C_EXPORT void QPolygon_united(QPolygonH handle, QPolygonH retval, const QPolygonH r); C_EXPORT void QPolygon_intersected(QPolygonH handle, QPolygonH retval, const QPolygonH r); C_EXPORT void QPolygon_subtracted(QPolygonH handle, QPolygonH retval, const QPolygonH r); C_EXPORT QPolygonFH QPolygonF_create(); C_EXPORT void QPolygonF_destroy(QPolygonFH handle); C_EXPORT QPolygonFH QPolygonF_create2(int size); C_EXPORT QPolygonFH QPolygonF_create3(const QPolygonFH a); C_EXPORT QPolygonFH QPolygonF_create4(const QRectFH r); C_EXPORT QPolygonFH QPolygonF_create5(const QPolygonH a); C_EXPORT void QPolygonF_translate(QPolygonFH handle, qreal dx, qreal dy); C_EXPORT void QPolygonF_translate2(QPolygonFH handle, const QPointFH offset); C_EXPORT void QPolygonF_toPolygon(QPolygonFH handle, QPolygonH retval); C_EXPORT bool QPolygonF_isClosed(QPolygonFH handle); C_EXPORT void QPolygonF_boundingRect(QPolygonFH handle, QRectFH retval); C_EXPORT bool QPolygonF_containsPoint(QPolygonFH handle, const QPointFH pt, Qt::FillRule fillRule); C_EXPORT void QPolygonF_united(QPolygonFH handle, QPolygonFH retval, const QPolygonFH r); C_EXPORT void QPolygonF_intersected(QPolygonFH handle, QPolygonFH retval, const QPolygonFH r); C_EXPORT void QPolygonF_subtracted(QPolygonFH handle, QPolygonFH retval, const QPolygonFH r); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmdisubwindow_hook_c.cpp0000664000212600021260000000205311677135472021755 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qmdisubwindow_hook_c.h" QMdiSubWindow_hookH QMdiSubWindow_hook_create(QObjectH handle) { return (QMdiSubWindow_hookH) new QMdiSubWindow_hook((QObject*)handle); } void QMdiSubWindow_hook_destroy(QMdiSubWindow_hookH handle) { delete (QMdiSubWindow_hook *)handle; } void QMdiSubWindow_hook_hook_windowStateChanged(QMdiSubWindow_hookH handle, QHookH hook) { ((QMdiSubWindow_hook *)handle)->hook_windowStateChanged(hook); } void QMdiSubWindow_hook_hook_aboutToActivate(QMdiSubWindow_hookH handle, QHookH hook) { ((QMdiSubWindow_hook *)handle)->hook_aboutToActivate(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcalendarwidget_c.h0000664000212600021260000001066311677135472020652 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCALENDARWIDGET_C_H #define QCALENDARWIDGET_C_H #include #include "pascalbind.h" C_EXPORT QCalendarWidgetH QCalendarWidget_create(QWidgetH parent); C_EXPORT void QCalendarWidget_destroy(QCalendarWidgetH handle); C_EXPORT void QCalendarWidget_sizeHint(QCalendarWidgetH handle, PSize retval); C_EXPORT void QCalendarWidget_minimumSizeHint(QCalendarWidgetH handle, PSize retval); C_EXPORT void QCalendarWidget_selectedDate(QCalendarWidgetH handle, QDateH retval); C_EXPORT int QCalendarWidget_yearShown(QCalendarWidgetH handle); C_EXPORT int QCalendarWidget_monthShown(QCalendarWidgetH handle); C_EXPORT void QCalendarWidget_minimumDate(QCalendarWidgetH handle, QDateH retval); C_EXPORT void QCalendarWidget_setMinimumDate(QCalendarWidgetH handle, const QDateH date); C_EXPORT void QCalendarWidget_maximumDate(QCalendarWidgetH handle, QDateH retval); C_EXPORT void QCalendarWidget_setMaximumDate(QCalendarWidgetH handle, const QDateH date); C_EXPORT Qt::DayOfWeek QCalendarWidget_firstDayOfWeek(QCalendarWidgetH handle); C_EXPORT void QCalendarWidget_setFirstDayOfWeek(QCalendarWidgetH handle, Qt::DayOfWeek dayOfWeek); C_EXPORT bool QCalendarWidget_isHeaderVisible(QCalendarWidgetH handle); C_EXPORT void QCalendarWidget_setHeaderVisible(QCalendarWidgetH handle, bool show); C_EXPORT bool QCalendarWidget_isNavigationBarVisible(QCalendarWidgetH handle); C_EXPORT bool QCalendarWidget_isGridVisible(QCalendarWidgetH handle); C_EXPORT QCalendarWidget::SelectionMode QCalendarWidget_selectionMode(QCalendarWidgetH handle); C_EXPORT void QCalendarWidget_setSelectionMode(QCalendarWidgetH handle, QCalendarWidget::SelectionMode mode); C_EXPORT QCalendarWidget::HorizontalHeaderFormat QCalendarWidget_horizontalHeaderFormat(QCalendarWidgetH handle); C_EXPORT void QCalendarWidget_setHorizontalHeaderFormat(QCalendarWidgetH handle, QCalendarWidget::HorizontalHeaderFormat format); C_EXPORT QCalendarWidget::VerticalHeaderFormat QCalendarWidget_verticalHeaderFormat(QCalendarWidgetH handle); C_EXPORT void QCalendarWidget_setVerticalHeaderFormat(QCalendarWidgetH handle, QCalendarWidget::VerticalHeaderFormat format); C_EXPORT void QCalendarWidget_headerTextFormat(QCalendarWidgetH handle, QTextCharFormatH retval); C_EXPORT void QCalendarWidget_setHeaderTextFormat(QCalendarWidgetH handle, const QTextCharFormatH format); C_EXPORT void QCalendarWidget_weekdayTextFormat(QCalendarWidgetH handle, QTextCharFormatH retval, Qt::DayOfWeek dayOfWeek); C_EXPORT void QCalendarWidget_setWeekdayTextFormat(QCalendarWidgetH handle, Qt::DayOfWeek dayOfWeek, const QTextCharFormatH format); C_EXPORT void QCalendarWidget_dateTextFormat2(QCalendarWidgetH handle, QTextCharFormatH retval, const QDateH date); C_EXPORT void QCalendarWidget_setDateTextFormat(QCalendarWidgetH handle, const QDateH date, const QTextCharFormatH format); C_EXPORT bool QCalendarWidget_isDateEditEnabled(QCalendarWidgetH handle); C_EXPORT void QCalendarWidget_setDateEditEnabled(QCalendarWidgetH handle, bool enable); C_EXPORT int QCalendarWidget_dateEditAcceptDelay(QCalendarWidgetH handle); C_EXPORT void QCalendarWidget_setDateEditAcceptDelay(QCalendarWidgetH handle, int delay); C_EXPORT void QCalendarWidget_setSelectedDate(QCalendarWidgetH handle, const QDateH date); C_EXPORT void QCalendarWidget_setDateRange(QCalendarWidgetH handle, const QDateH min, const QDateH max); C_EXPORT void QCalendarWidget_setCurrentPage(QCalendarWidgetH handle, int year, int month); C_EXPORT void QCalendarWidget_setGridVisible(QCalendarWidgetH handle, bool show); C_EXPORT void QCalendarWidget_setNavigationBarVisible(QCalendarWidgetH handle, bool visible); C_EXPORT void QCalendarWidget_showNextMonth(QCalendarWidgetH handle); C_EXPORT void QCalendarWidget_showPreviousMonth(QCalendarWidgetH handle); C_EXPORT void QCalendarWidget_showNextYear(QCalendarWidgetH handle); C_EXPORT void QCalendarWidget_showPreviousYear(QCalendarWidgetH handle); C_EXPORT void QCalendarWidget_showSelectedDate(QCalendarWidgetH handle); C_EXPORT void QCalendarWidget_showToday(QCalendarWidgetH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractsocket_hook.h0000664000212600021260000001161111677135472021421 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTSOCKET_HOOK_H #define QABSTRACTSOCKET_HOOK_H #include #include "qiodevice_hook.h" class QAbstractSocket_hook : public QIODevice_hook { Q_OBJECT public: QAbstractSocket_hook(QObject *handle) : QIODevice_hook(handle) { hostFound_event.func = NULL; connected_event.func = NULL; disconnected_event.func = NULL; stateChanged_event.func = NULL; error_event.func = NULL; proxyAuthenticationRequired_event.func = NULL; } void hook_hostFound(QHook &hook) { if ( !hostFound_event.func ) connect(handle, SIGNAL(hostFound()), this, SLOT(hostFound_hook())); hostFound_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(hostFound()), this, SLOT(hostFound_hook())); } void hook_connected(QHook &hook) { if ( !connected_event.func ) connect(handle, SIGNAL(connected()), this, SLOT(connected_hook())); connected_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(connected()), this, SLOT(connected_hook())); } void hook_disconnected(QHook &hook) { if ( !disconnected_event.func ) connect(handle, SIGNAL(disconnected()), this, SLOT(disconnected_hook())); disconnected_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(disconnected()), this, SLOT(disconnected_hook())); } void hook_stateChanged(QHook &hook) { if ( !stateChanged_event.func ) connect(handle, SIGNAL(stateChanged(QAbstractSocket::SocketState)), this, SLOT(stateChanged_hook(QAbstractSocket::SocketState))); stateChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(stateChanged(QAbstractSocket::SocketState)), this, SLOT(stateChanged_hook(QAbstractSocket::SocketState))); } void hook_error(QHook &hook) { if ( !error_event.func ) connect(handle, SIGNAL(error(QAbstractSocket::SocketError)), this, SLOT(error_hook(QAbstractSocket::SocketError))); error_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(error(QAbstractSocket::SocketError)), this, SLOT(error_hook(QAbstractSocket::SocketError))); } void hook_proxyAuthenticationRequired(QHook &hook) { if ( !proxyAuthenticationRequired_event.func ) connect(handle, SIGNAL(proxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*)), this, SLOT(proxyAuthenticationRequired_hook(const QNetworkProxy&, QAuthenticator*))); proxyAuthenticationRequired_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(proxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*)), this, SLOT(proxyAuthenticationRequired_hook(const QNetworkProxy&, QAuthenticator*))); } private slots: void hostFound_hook() { if ( hostFound_event.func ) { typedef void (*func_type)(void *data); (*(func_type)hostFound_event.func)(hostFound_event.data); } } void connected_hook() { if ( connected_event.func ) { typedef void (*func_type)(void *data); (*(func_type)connected_event.func)(connected_event.data); } } void disconnected_hook() { if ( disconnected_event.func ) { typedef void (*func_type)(void *data); (*(func_type)disconnected_event.func)(disconnected_event.data); } } void stateChanged_hook(QAbstractSocket::SocketState AnonParam1) { if ( stateChanged_event.func ) { typedef void (*func_type)(void *data, QAbstractSocket::SocketState AnonParam1); (*(func_type)stateChanged_event.func)(stateChanged_event.data, AnonParam1); } } void error_hook(QAbstractSocket::SocketError AnonParam1) { if ( error_event.func ) { typedef void (*func_type)(void *data, QAbstractSocket::SocketError AnonParam1); (*(func_type)error_event.func)(error_event.data, AnonParam1); } } void proxyAuthenticationRequired_hook(const QNetworkProxy& proxy, QAuthenticator* authenticator) { if ( proxyAuthenticationRequired_event.func ) { typedef void (*func_type)(void *data, const QNetworkProxyH proxy, QAuthenticatorH authenticator); (*(func_type)proxyAuthenticationRequired_event.func)(proxyAuthenticationRequired_event.data, (const QNetworkProxyH)&proxy, (QAuthenticatorH)authenticator); } } private: QHook hostFound_event; QHook connected_event; QHook disconnected_event; QHook stateChanged_event; QHook error_event; QHook proxyAuthenticationRequired_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qchar_c.h0000664000212600021260000000621311677135472016606 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCHAR_C_H #define QCHAR_C_H #include #include "pascalbind.h" C_EXPORT QCharH QChar_create(); C_EXPORT void QChar_destroy(QCharH handle); C_EXPORT QCharH QChar_create2(char c); C_EXPORT QCharH QChar_create4(unsigned char c, unsigned char r); C_EXPORT QCharH QChar_create5(ushort rc); C_EXPORT QCharH QChar_create6(short rc); C_EXPORT QCharH QChar_create7(uint rc); C_EXPORT QCharH QChar_create8(int rc); C_EXPORT QCharH QChar_create9(QChar::SpecialCharacter sc); C_EXPORT QChar::Category QChar_category(QCharH handle); C_EXPORT QChar::Direction QChar_direction(QCharH handle); C_EXPORT QChar::Joining QChar_joining(QCharH handle); C_EXPORT bool QChar_hasMirrored(QCharH handle); C_EXPORT unsigned char QChar_combiningClass(QCharH handle); C_EXPORT void QChar_mirroredChar(QCharH handle, PWideChar retval); C_EXPORT void QChar_decomposition(QCharH handle, PWideString retval); C_EXPORT QChar::Decomposition QChar_decompositionTag(QCharH handle); C_EXPORT int QChar_digitValue(QCharH handle); C_EXPORT void QChar_toLower(QCharH handle, PWideChar retval); C_EXPORT void QChar_toUpper(QCharH handle, PWideChar retval); C_EXPORT void QChar_toTitleCase(QCharH handle, PWideChar retval); C_EXPORT void QChar_toCaseFolded(QCharH handle, PWideChar retval); C_EXPORT QChar::UnicodeVersion QChar_unicodeVersion(QCharH handle); C_EXPORT char QChar_toAscii(QCharH handle); C_EXPORT char QChar_toLatin1(QCharH handle); C_EXPORT ushort QChar_unicode(QCharH handle); C_EXPORT void QChar_fromAscii(PWideChar retval, char c); C_EXPORT void QChar_fromLatin1(PWideChar retval, char c); C_EXPORT bool QChar_isNull(QCharH handle); C_EXPORT bool QChar_isPrint(QCharH handle); C_EXPORT bool QChar_isPunct(QCharH handle); C_EXPORT bool QChar_isSpace(QCharH handle); C_EXPORT bool QChar_isMark(QCharH handle); C_EXPORT bool QChar_isLetter(QCharH handle); C_EXPORT bool QChar_isNumber(QCharH handle); C_EXPORT bool QChar_isLetterOrNumber(QCharH handle); C_EXPORT bool QChar_isDigit(QCharH handle); C_EXPORT bool QChar_isSymbol(QCharH handle); C_EXPORT bool QChar_isLower(QCharH handle); C_EXPORT bool QChar_isUpper(QCharH handle); C_EXPORT bool QChar_isTitleCase(QCharH handle); C_EXPORT bool QChar_isHighSurrogate(QCharH handle); C_EXPORT bool QChar_isLowSurrogate(QCharH handle); C_EXPORT unsigned char QChar_cell(QCharH handle); C_EXPORT unsigned char QChar_row(QCharH handle); C_EXPORT void QChar_setCell(QCharH handle, unsigned char cell); C_EXPORT void QChar_setRow(QCharH handle, unsigned char row); C_EXPORT uint QChar_surrogateToUcs4(ushort high, ushort low); C_EXPORT uint QChar_surrogateToUcs42(PWideChar high, PWideChar low); C_EXPORT ushort QChar_highSurrogate(uint ucs4); C_EXPORT ushort QChar_lowSurrogate(uint ucs4); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextedit_hook.h0000664000212600021260000001250711677135472020244 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTEXTEDIT_HOOK_H #define QTEXTEDIT_HOOK_H #include #include "qabstractscrollarea_hook.h" class QTextEdit_hook : public QAbstractScrollArea_hook { Q_OBJECT public: QTextEdit_hook(QObject *handle) : QAbstractScrollArea_hook(handle) { textChanged_event.func = NULL; undoAvailable_event.func = NULL; redoAvailable_event.func = NULL; currentCharFormatChanged_event.func = NULL; copyAvailable_event.func = NULL; selectionChanged_event.func = NULL; cursorPositionChanged_event.func = NULL; } void hook_textChanged(QHook &hook) { if ( !textChanged_event.func ) connect(handle, SIGNAL(textChanged()), this, SLOT(textChanged_hook())); textChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(textChanged()), this, SLOT(textChanged_hook())); } void hook_undoAvailable(QHook &hook) { if ( !undoAvailable_event.func ) connect(handle, SIGNAL(undoAvailable(bool)), this, SLOT(undoAvailable_hook(bool))); undoAvailable_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(undoAvailable(bool)), this, SLOT(undoAvailable_hook(bool))); } void hook_redoAvailable(QHook &hook) { if ( !redoAvailable_event.func ) connect(handle, SIGNAL(redoAvailable(bool)), this, SLOT(redoAvailable_hook(bool))); redoAvailable_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(redoAvailable(bool)), this, SLOT(redoAvailable_hook(bool))); } void hook_currentCharFormatChanged(QHook &hook) { if ( !currentCharFormatChanged_event.func ) connect(handle, SIGNAL(currentCharFormatChanged(const QTextCharFormat&)), this, SLOT(currentCharFormatChanged_hook(const QTextCharFormat&))); currentCharFormatChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentCharFormatChanged(const QTextCharFormat&)), this, SLOT(currentCharFormatChanged_hook(const QTextCharFormat&))); } void hook_copyAvailable(QHook &hook) { if ( !copyAvailable_event.func ) connect(handle, SIGNAL(copyAvailable(bool)), this, SLOT(copyAvailable_hook(bool))); copyAvailable_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(copyAvailable(bool)), this, SLOT(copyAvailable_hook(bool))); } void hook_selectionChanged(QHook &hook) { if ( !selectionChanged_event.func ) connect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); selectionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); } void hook_cursorPositionChanged(QHook &hook) { if ( !cursorPositionChanged_event.func ) connect(handle, SIGNAL(cursorPositionChanged()), this, SLOT(cursorPositionChanged_hook())); cursorPositionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(cursorPositionChanged()), this, SLOT(cursorPositionChanged_hook())); } private slots: void textChanged_hook() { if ( textChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)textChanged_event.func)(textChanged_event.data); } } void undoAvailable_hook(bool b) { if ( undoAvailable_event.func ) { typedef void (*func_type)(void *data, bool b); (*(func_type)undoAvailable_event.func)(undoAvailable_event.data, b); } } void redoAvailable_hook(bool b) { if ( redoAvailable_event.func ) { typedef void (*func_type)(void *data, bool b); (*(func_type)redoAvailable_event.func)(redoAvailable_event.data, b); } } void currentCharFormatChanged_hook(const QTextCharFormat& format) { if ( currentCharFormatChanged_event.func ) { typedef void (*func_type)(void *data, const QTextCharFormatH format); (*(func_type)currentCharFormatChanged_event.func)(currentCharFormatChanged_event.data, (const QTextCharFormatH)&format); } } void copyAvailable_hook(bool b) { if ( copyAvailable_event.func ) { typedef void (*func_type)(void *data, bool b); (*(func_type)copyAvailable_event.func)(copyAvailable_event.data, b); } } void selectionChanged_hook() { if ( selectionChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)selectionChanged_event.func)(selectionChanged_event.data); } } void cursorPositionChanged_hook() { if ( cursorPositionChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)cursorPositionChanged_event.func)(cursorPositionChanged_event.data); } } private: QHook textChanged_event; QHook undoAvailable_event; QHook redoAvailable_event; QHook currentCharFormatChanged_event; QHook copyAvailable_event; QHook selectionChanged_event; QHook cursorPositionChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qiodevice_hook_c.cpp0000664000212600021260000000236511677135472021037 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qiodevice_hook_c.h" QIODevice_hookH QIODevice_hook_create(QObjectH handle) { return (QIODevice_hookH) new QIODevice_hook((QObject*)handle); } void QIODevice_hook_destroy(QIODevice_hookH handle) { delete (QIODevice_hook *)handle; } void QIODevice_hook_hook_readyRead(QIODevice_hookH handle, QHookH hook) { ((QIODevice_hook *)handle)->hook_readyRead(hook); } void QIODevice_hook_hook_bytesWritten(QIODevice_hookH handle, QHookH hook) { ((QIODevice_hook *)handle)->hook_bytesWritten(hook); } void QIODevice_hook_hook_aboutToClose(QIODevice_hookH handle, QHookH hook) { ((QIODevice_hook *)handle)->hook_aboutToClose(hook); } void QIODevice_hook_hook_readChannelFinished(QIODevice_hookH handle, QHookH hook) { ((QIODevice_hook *)handle)->hook_readChannelFinished(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstandarditemmodel_c.cpp0000664000212600021260000005634511677135472021737 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qstandarditemmodel_c.h" QStandardItemH QStandardItem_create() { return (QStandardItemH) new QStandardItem(); } void QStandardItem_destroy(QStandardItemH handle) { delete (QStandardItem *)handle; } QStandardItemH QStandardItem_create2(PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (QStandardItemH) new QStandardItem(t_text); } QStandardItemH QStandardItem_create3(const QIconH icon, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (QStandardItemH) new QStandardItem(*(const QIcon*)icon, t_text); } QStandardItemH QStandardItem_create4(int rows, int columns) { return (QStandardItemH) new QStandardItem(rows, columns); } void QStandardItem_data(QStandardItemH handle, QVariantH retval, Qt::ItemDataRole role) { *(QVariant *)retval = ((QStandardItem *)handle)->data(role); } void QStandardItem_setData(QStandardItemH handle, const QVariantH value, Qt::ItemDataRole role) { ((QStandardItem *)handle)->setData(*(const QVariant*)value, role); } void QStandardItem_text(QStandardItemH handle, PWideString retval) { QString t_retval; t_retval = ((QStandardItem *)handle)->text(); copyQStringToPWideString(t_retval, retval); } void QStandardItem_setText(QStandardItemH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QStandardItem *)handle)->setText(t_text); } void QStandardItem_icon(QStandardItemH handle, QIconH retval) { *(QIcon *)retval = ((QStandardItem *)handle)->icon(); } void QStandardItem_setIcon(QStandardItemH handle, const QIconH icon) { ((QStandardItem *)handle)->setIcon(*(const QIcon*)icon); } void QStandardItem_toolTip(QStandardItemH handle, PWideString retval) { QString t_retval; t_retval = ((QStandardItem *)handle)->toolTip(); copyQStringToPWideString(t_retval, retval); } void QStandardItem_setToolTip(QStandardItemH handle, PWideString toolTip) { QString t_toolTip; copyPWideStringToQString(toolTip, t_toolTip); ((QStandardItem *)handle)->setToolTip(t_toolTip); } void QStandardItem_statusTip(QStandardItemH handle, PWideString retval) { QString t_retval; t_retval = ((QStandardItem *)handle)->statusTip(); copyQStringToPWideString(t_retval, retval); } void QStandardItem_setStatusTip(QStandardItemH handle, PWideString statusTip) { QString t_statusTip; copyPWideStringToQString(statusTip, t_statusTip); ((QStandardItem *)handle)->setStatusTip(t_statusTip); } void QStandardItem_whatsThis(QStandardItemH handle, PWideString retval) { QString t_retval; t_retval = ((QStandardItem *)handle)->whatsThis(); copyQStringToPWideString(t_retval, retval); } void QStandardItem_setWhatsThis(QStandardItemH handle, PWideString whatsThis) { QString t_whatsThis; copyPWideStringToQString(whatsThis, t_whatsThis); ((QStandardItem *)handle)->setWhatsThis(t_whatsThis); } void QStandardItem_sizeHint(QStandardItemH handle, PSize retval) { *(QSize *)retval = ((QStandardItem *)handle)->sizeHint(); } void QStandardItem_setSizeHint(QStandardItemH handle, const QSizeH sizeHint) { ((QStandardItem *)handle)->setSizeHint(*(const QSize*)sizeHint); } void QStandardItem_font(QStandardItemH handle, QFontH retval) { *(QFont *)retval = ((QStandardItem *)handle)->font(); } void QStandardItem_setFont(QStandardItemH handle, const QFontH font) { ((QStandardItem *)handle)->setFont(*(const QFont*)font); } unsigned int QStandardItem_textAlignment(QStandardItemH handle) { return (unsigned int) ((QStandardItem *)handle)->textAlignment(); } void QStandardItem_setTextAlignment(QStandardItemH handle, unsigned int textAlignment) { ((QStandardItem *)handle)->setTextAlignment((Qt::Alignment)textAlignment); } void QStandardItem_background(QStandardItemH handle, QBrushH retval) { *(QBrush *)retval = ((QStandardItem *)handle)->background(); } void QStandardItem_setBackground(QStandardItemH handle, const QBrushH brush) { ((QStandardItem *)handle)->setBackground(*(const QBrush*)brush); } void QStandardItem_foreground(QStandardItemH handle, QBrushH retval) { *(QBrush *)retval = ((QStandardItem *)handle)->foreground(); } void QStandardItem_setForeground(QStandardItemH handle, const QBrushH brush) { ((QStandardItem *)handle)->setForeground(*(const QBrush*)brush); } Qt::CheckState QStandardItem_checkState(QStandardItemH handle) { return (Qt::CheckState) ((QStandardItem *)handle)->checkState(); } void QStandardItem_setCheckState(QStandardItemH handle, Qt::CheckState checkState) { ((QStandardItem *)handle)->setCheckState(checkState); } void QStandardItem_accessibleText(QStandardItemH handle, PWideString retval) { QString t_retval; t_retval = ((QStandardItem *)handle)->accessibleText(); copyQStringToPWideString(t_retval, retval); } void QStandardItem_setAccessibleText(QStandardItemH handle, PWideString accessibleText) { QString t_accessibleText; copyPWideStringToQString(accessibleText, t_accessibleText); ((QStandardItem *)handle)->setAccessibleText(t_accessibleText); } void QStandardItem_accessibleDescription(QStandardItemH handle, PWideString retval) { QString t_retval; t_retval = ((QStandardItem *)handle)->accessibleDescription(); copyQStringToPWideString(t_retval, retval); } void QStandardItem_setAccessibleDescription(QStandardItemH handle, PWideString accessibleDescription) { QString t_accessibleDescription; copyPWideStringToQString(accessibleDescription, t_accessibleDescription); ((QStandardItem *)handle)->setAccessibleDescription(t_accessibleDescription); } unsigned int QStandardItem_flags(QStandardItemH handle) { return (unsigned int) ((QStandardItem *)handle)->flags(); } void QStandardItem_setFlags(QStandardItemH handle, unsigned int flags) { ((QStandardItem *)handle)->setFlags((Qt::ItemFlags)flags); } bool QStandardItem_isEnabled(QStandardItemH handle) { return (bool) ((QStandardItem *)handle)->isEnabled(); } void QStandardItem_setEnabled(QStandardItemH handle, bool enabled) { ((QStandardItem *)handle)->setEnabled(enabled); } bool QStandardItem_isEditable(QStandardItemH handle) { return (bool) ((QStandardItem *)handle)->isEditable(); } void QStandardItem_setEditable(QStandardItemH handle, bool editable) { ((QStandardItem *)handle)->setEditable(editable); } bool QStandardItem_isSelectable(QStandardItemH handle) { return (bool) ((QStandardItem *)handle)->isSelectable(); } void QStandardItem_setSelectable(QStandardItemH handle, bool selectable) { ((QStandardItem *)handle)->setSelectable(selectable); } bool QStandardItem_isCheckable(QStandardItemH handle) { return (bool) ((QStandardItem *)handle)->isCheckable(); } void QStandardItem_setCheckable(QStandardItemH handle, bool checkable) { ((QStandardItem *)handle)->setCheckable(checkable); } bool QStandardItem_isTristate(QStandardItemH handle) { return (bool) ((QStandardItem *)handle)->isTristate(); } void QStandardItem_setTristate(QStandardItemH handle, bool tristate) { ((QStandardItem *)handle)->setTristate(tristate); } bool QStandardItem_isDragEnabled(QStandardItemH handle) { return (bool) ((QStandardItem *)handle)->isDragEnabled(); } void QStandardItem_setDragEnabled(QStandardItemH handle, bool dragEnabled) { ((QStandardItem *)handle)->setDragEnabled(dragEnabled); } bool QStandardItem_isDropEnabled(QStandardItemH handle) { return (bool) ((QStandardItem *)handle)->isDropEnabled(); } void QStandardItem_setDropEnabled(QStandardItemH handle, bool dropEnabled) { ((QStandardItem *)handle)->setDropEnabled(dropEnabled); } QStandardItemH QStandardItem_parent(QStandardItemH handle) { return (QStandardItemH) ((QStandardItem *)handle)->parent(); } int QStandardItem_row(QStandardItemH handle) { return (int) ((QStandardItem *)handle)->row(); } int QStandardItem_column(QStandardItemH handle) { return (int) ((QStandardItem *)handle)->column(); } void QStandardItem_index(QStandardItemH handle, QModelIndexH retval) { *(QModelIndex *)retval = ((QStandardItem *)handle)->index(); } QStandardItemModelH QStandardItem_model(QStandardItemH handle) { return (QStandardItemModelH) ((QStandardItem *)handle)->model(); } int QStandardItem_rowCount(QStandardItemH handle) { return (int) ((QStandardItem *)handle)->rowCount(); } void QStandardItem_setRowCount(QStandardItemH handle, int rows) { ((QStandardItem *)handle)->setRowCount(rows); } int QStandardItem_columnCount(QStandardItemH handle) { return (int) ((QStandardItem *)handle)->columnCount(); } void QStandardItem_setColumnCount(QStandardItemH handle, int columns) { ((QStandardItem *)handle)->setColumnCount(columns); } bool QStandardItem_hasChildren(QStandardItemH handle) { return (bool) ((QStandardItem *)handle)->hasChildren(); } QStandardItemH QStandardItem_child(QStandardItemH handle, int row, int column) { return (QStandardItemH) ((QStandardItem *)handle)->child(row, column); } void QStandardItem_setChild(QStandardItemH handle, int row, int column, QStandardItemH item) { ((QStandardItem *)handle)->setChild(row, column, (QStandardItem*)item); } void QStandardItem_setChild2(QStandardItemH handle, int row, QStandardItemH item) { ((QStandardItem *)handle)->setChild(row, (QStandardItem*)item); } void QStandardItem_insertRow(QStandardItemH handle, int row, PPtrIntArray items) { QList t_items; copyPtrIntArrayToQListTemplate(items, t_items); ((QStandardItem *)handle)->insertRow(row, t_items); } void QStandardItem_insertColumn(QStandardItemH handle, int column, PPtrIntArray items) { QList t_items; copyPtrIntArrayToQListTemplate(items, t_items); ((QStandardItem *)handle)->insertColumn(column, t_items); } void QStandardItem_insertRows(QStandardItemH handle, int row, PPtrIntArray items) { QList t_items; copyPtrIntArrayToQListTemplate(items, t_items); ((QStandardItem *)handle)->insertRows(row, t_items); } void QStandardItem_insertRows2(QStandardItemH handle, int row, int count) { ((QStandardItem *)handle)->insertRows(row, count); } void QStandardItem_insertColumns(QStandardItemH handle, int column, int count) { ((QStandardItem *)handle)->insertColumns(column, count); } void QStandardItem_removeRow(QStandardItemH handle, int row) { ((QStandardItem *)handle)->removeRow(row); } void QStandardItem_removeColumn(QStandardItemH handle, int column) { ((QStandardItem *)handle)->removeColumn(column); } void QStandardItem_removeRows(QStandardItemH handle, int row, int count) { ((QStandardItem *)handle)->removeRows(row, count); } void QStandardItem_removeColumns(QStandardItemH handle, int column, int count) { ((QStandardItem *)handle)->removeColumns(column, count); } void QStandardItem_appendRow(QStandardItemH handle, PPtrIntArray items) { QList t_items; copyPtrIntArrayToQListTemplate(items, t_items); ((QStandardItem *)handle)->appendRow(t_items); } void QStandardItem_appendRows(QStandardItemH handle, PPtrIntArray items) { QList t_items; copyPtrIntArrayToQListTemplate(items, t_items); ((QStandardItem *)handle)->appendRows(t_items); } void QStandardItem_appendColumn(QStandardItemH handle, PPtrIntArray items) { QList t_items; copyPtrIntArrayToQListTemplate(items, t_items); ((QStandardItem *)handle)->appendColumn(t_items); } void QStandardItem_insertRow2(QStandardItemH handle, int row, QStandardItemH item) { ((QStandardItem *)handle)->insertRow(row, (QStandardItem*)item); } void QStandardItem_appendRow2(QStandardItemH handle, QStandardItemH item) { ((QStandardItem *)handle)->appendRow((QStandardItem*)item); } QStandardItemH QStandardItem_takeChild(QStandardItemH handle, int row, int column) { return (QStandardItemH) ((QStandardItem *)handle)->takeChild(row, column); } void QStandardItem_takeRow(QStandardItemH handle, PPtrIntArray retval, int row) { QList t_retval; t_retval = ((QStandardItem *)handle)->takeRow(row); copyQListTemplateToPtrIntArray(t_retval, retval); } void QStandardItem_takeColumn(QStandardItemH handle, PPtrIntArray retval, int column) { QList t_retval; t_retval = ((QStandardItem *)handle)->takeColumn(column); copyQListTemplateToPtrIntArray(t_retval, retval); } void QStandardItem_sortChildren(QStandardItemH handle, int column, Qt::SortOrder order) { ((QStandardItem *)handle)->sortChildren(column, order); } QStandardItemH QStandardItem_clone(QStandardItemH handle) { return (QStandardItemH) ((QStandardItem *)handle)->clone(); } int QStandardItem_type(QStandardItemH handle) { return (int) ((QStandardItem *)handle)->type(); } void QStandardItem_read(QStandardItemH handle, QDataStreamH in) { ((QStandardItem *)handle)->read(*(QDataStream*)in); } void QStandardItem_write(QStandardItemH handle, QDataStreamH out) { ((QStandardItem *)handle)->write(*(QDataStream*)out); } QStandardItemModelH QStandardItemModel_create(QObjectH parent) { return (QStandardItemModelH) new QStandardItemModel((QObject*)parent); } void QStandardItemModel_destroy(QStandardItemModelH handle) { delete (QStandardItemModel *)handle; } QStandardItemModelH QStandardItemModel_create2(int rows, int columns, QObjectH parent) { return (QStandardItemModelH) new QStandardItemModel(rows, columns, (QObject*)parent); } void QStandardItemModel_index(QStandardItemModelH handle, QModelIndexH retval, int row, int column, const QModelIndexH parent) { *(QModelIndex *)retval = ((QStandardItemModel *)handle)->index(row, column, *(const QModelIndex*)parent); } void QStandardItemModel_parent(QStandardItemModelH handle, QModelIndexH retval, const QModelIndexH child) { *(QModelIndex *)retval = ((QStandardItemModel *)handle)->parent(*(const QModelIndex*)child); } int QStandardItemModel_rowCount(QStandardItemModelH handle, const QModelIndexH parent) { return (int) ((QStandardItemModel *)handle)->rowCount(*(const QModelIndex*)parent); } int QStandardItemModel_columnCount(QStandardItemModelH handle, const QModelIndexH parent) { return (int) ((QStandardItemModel *)handle)->columnCount(*(const QModelIndex*)parent); } bool QStandardItemModel_hasChildren(QStandardItemModelH handle, const QModelIndexH parent) { return (bool) ((QStandardItemModel *)handle)->hasChildren(*(const QModelIndex*)parent); } void QStandardItemModel_data(QStandardItemModelH handle, QVariantH retval, const QModelIndexH index, Qt::ItemDataRole role) { *(QVariant *)retval = ((QStandardItemModel *)handle)->data(*(const QModelIndex*)index, role); } bool QStandardItemModel_setData(QStandardItemModelH handle, const QModelIndexH index, const QVariantH value, Qt::ItemDataRole role) { return (bool) ((QStandardItemModel *)handle)->setData(*(const QModelIndex*)index, *(const QVariant*)value, role); } void QStandardItemModel_headerData(QStandardItemModelH handle, QVariantH retval, int section, Qt::Orientation orientation, Qt::ItemDataRole role) { *(QVariant *)retval = ((QStandardItemModel *)handle)->headerData(section, orientation, role); } bool QStandardItemModel_setHeaderData(QStandardItemModelH handle, int section, Qt::Orientation orientation, const QVariantH value, Qt::ItemDataRole role) { return (bool) ((QStandardItemModel *)handle)->setHeaderData(section, orientation, *(const QVariant*)value, role); } bool QStandardItemModel_insertRows(QStandardItemModelH handle, int row, int count, const QModelIndexH parent) { return (bool) ((QStandardItemModel *)handle)->insertRows(row, count, *(const QModelIndex*)parent); } bool QStandardItemModel_insertColumns(QStandardItemModelH handle, int column, int count, const QModelIndexH parent) { return (bool) ((QStandardItemModel *)handle)->insertColumns(column, count, *(const QModelIndex*)parent); } bool QStandardItemModel_removeRows(QStandardItemModelH handle, int row, int count, const QModelIndexH parent) { return (bool) ((QStandardItemModel *)handle)->removeRows(row, count, *(const QModelIndex*)parent); } bool QStandardItemModel_removeColumns(QStandardItemModelH handle, int column, int count, const QModelIndexH parent) { return (bool) ((QStandardItemModel *)handle)->removeColumns(column, count, *(const QModelIndex*)parent); } unsigned int QStandardItemModel_flags(QStandardItemModelH handle, const QModelIndexH index) { return (unsigned int) ((QStandardItemModel *)handle)->flags(*(const QModelIndex*)index); } unsigned int QStandardItemModel_supportedDropActions(QStandardItemModelH handle) { return (unsigned int) ((QStandardItemModel *)handle)->supportedDropActions(); } void QStandardItemModel_clear(QStandardItemModelH handle) { ((QStandardItemModel *)handle)->clear(); } void QStandardItemModel_sort(QStandardItemModelH handle, int column, Qt::SortOrder order) { ((QStandardItemModel *)handle)->sort(column, order); } QStandardItemH QStandardItemModel_itemFromIndex(QStandardItemModelH handle, const QModelIndexH index) { return (QStandardItemH) ((QStandardItemModel *)handle)->itemFromIndex(*(const QModelIndex*)index); } void QStandardItemModel_indexFromItem(QStandardItemModelH handle, QModelIndexH retval, const QStandardItemH item) { *(QModelIndex *)retval = ((QStandardItemModel *)handle)->indexFromItem((const QStandardItem*)item); } QStandardItemH QStandardItemModel_item(QStandardItemModelH handle, int row, int column) { return (QStandardItemH) ((QStandardItemModel *)handle)->item(row, column); } void QStandardItemModel_setItem(QStandardItemModelH handle, int row, int column, QStandardItemH item) { ((QStandardItemModel *)handle)->setItem(row, column, (QStandardItem*)item); } void QStandardItemModel_setItem2(QStandardItemModelH handle, int row, QStandardItemH item) { ((QStandardItemModel *)handle)->setItem(row, (QStandardItem*)item); } QStandardItemH QStandardItemModel_invisibleRootItem(QStandardItemModelH handle) { return (QStandardItemH) ((QStandardItemModel *)handle)->invisibleRootItem(); } QStandardItemH QStandardItemModel_horizontalHeaderItem(QStandardItemModelH handle, int column) { return (QStandardItemH) ((QStandardItemModel *)handle)->horizontalHeaderItem(column); } void QStandardItemModel_setHorizontalHeaderItem(QStandardItemModelH handle, int column, QStandardItemH item) { ((QStandardItemModel *)handle)->setHorizontalHeaderItem(column, (QStandardItem*)item); } QStandardItemH QStandardItemModel_verticalHeaderItem(QStandardItemModelH handle, int row) { return (QStandardItemH) ((QStandardItemModel *)handle)->verticalHeaderItem(row); } void QStandardItemModel_setVerticalHeaderItem(QStandardItemModelH handle, int row, QStandardItemH item) { ((QStandardItemModel *)handle)->setVerticalHeaderItem(row, (QStandardItem*)item); } void QStandardItemModel_setHorizontalHeaderLabels(QStandardItemModelH handle, const QStringListH labels) { ((QStandardItemModel *)handle)->setHorizontalHeaderLabels(*(const QStringList*)labels); } void QStandardItemModel_setVerticalHeaderLabels(QStandardItemModelH handle, const QStringListH labels) { ((QStandardItemModel *)handle)->setVerticalHeaderLabels(*(const QStringList*)labels); } void QStandardItemModel_setRowCount(QStandardItemModelH handle, int rows) { ((QStandardItemModel *)handle)->setRowCount(rows); } void QStandardItemModel_setColumnCount(QStandardItemModelH handle, int columns) { ((QStandardItemModel *)handle)->setColumnCount(columns); } void QStandardItemModel_appendRow(QStandardItemModelH handle, PPtrIntArray items) { QList t_items; copyPtrIntArrayToQListTemplate(items, t_items); ((QStandardItemModel *)handle)->appendRow(t_items); } void QStandardItemModel_appendColumn(QStandardItemModelH handle, PPtrIntArray items) { QList t_items; copyPtrIntArrayToQListTemplate(items, t_items); ((QStandardItemModel *)handle)->appendColumn(t_items); } void QStandardItemModel_appendRow2(QStandardItemModelH handle, QStandardItemH item) { ((QStandardItemModel *)handle)->appendRow((QStandardItem*)item); } void QStandardItemModel_insertRow(QStandardItemModelH handle, int row, PPtrIntArray items) { QList t_items; copyPtrIntArrayToQListTemplate(items, t_items); ((QStandardItemModel *)handle)->insertRow(row, t_items); } void QStandardItemModel_insertColumn(QStandardItemModelH handle, int column, PPtrIntArray items) { QList t_items; copyPtrIntArrayToQListTemplate(items, t_items); ((QStandardItemModel *)handle)->insertColumn(column, t_items); } void QStandardItemModel_insertRow2(QStandardItemModelH handle, int row, QStandardItemH item) { ((QStandardItemModel *)handle)->insertRow(row, (QStandardItem*)item); } bool QStandardItemModel_insertRow3(QStandardItemModelH handle, int row, const QModelIndexH parent) { return (bool) ((QStandardItemModel *)handle)->insertRow(row, *(const QModelIndex*)parent); } bool QStandardItemModel_insertColumn2(QStandardItemModelH handle, int column, const QModelIndexH parent) { return (bool) ((QStandardItemModel *)handle)->insertColumn(column, *(const QModelIndex*)parent); } QStandardItemH QStandardItemModel_takeItem(QStandardItemModelH handle, int row, int column) { return (QStandardItemH) ((QStandardItemModel *)handle)->takeItem(row, column); } void QStandardItemModel_takeRow(QStandardItemModelH handle, PPtrIntArray retval, int row) { QList t_retval; t_retval = ((QStandardItemModel *)handle)->takeRow(row); copyQListTemplateToPtrIntArray(t_retval, retval); } void QStandardItemModel_takeColumn(QStandardItemModelH handle, PPtrIntArray retval, int column) { QList t_retval; t_retval = ((QStandardItemModel *)handle)->takeColumn(column); copyQListTemplateToPtrIntArray(t_retval, retval); } QStandardItemH QStandardItemModel_takeHorizontalHeaderItem(QStandardItemModelH handle, int column) { return (QStandardItemH) ((QStandardItemModel *)handle)->takeHorizontalHeaderItem(column); } QStandardItemH QStandardItemModel_takeVerticalHeaderItem(QStandardItemModelH handle, int row) { return (QStandardItemH) ((QStandardItemModel *)handle)->takeVerticalHeaderItem(row); } const QStandardItemH QStandardItemModel_itemPrototype(QStandardItemModelH handle) { return (const QStandardItemH) ((QStandardItemModel *)handle)->itemPrototype(); } void QStandardItemModel_setItemPrototype(QStandardItemModelH handle, const QStandardItemH item) { ((QStandardItemModel *)handle)->setItemPrototype((const QStandardItem*)item); } void QStandardItemModel_findItems(QStandardItemModelH handle, PPtrIntArray retval, PWideString text, unsigned int flags, int column) { QList t_retval; QString t_text; copyPWideStringToQString(text, t_text); t_retval = ((QStandardItemModel *)handle)->findItems(t_text, (Qt::MatchFlags)flags, column); copyQListTemplateToPtrIntArray(t_retval, retval); } int QStandardItemModel_sortRole(QStandardItemModelH handle) { return (int) ((QStandardItemModel *)handle)->sortRole(); } void QStandardItemModel_setSortRole(QStandardItemModelH handle, int role) { ((QStandardItemModel *)handle)->setSortRole(role); } void QStandardItemModel_mimeTypes(QStandardItemModelH handle, QStringListH retval) { *(QStringList *)retval = ((QStandardItemModel *)handle)->mimeTypes(); } bool QStandardItemModel_dropMimeData(QStandardItemModelH handle, const QMimeDataH data, Qt::DropAction action, int row, int column, const QModelIndexH parent) { return (bool) ((QStandardItemModel *)handle)->dropMimeData((const QMimeData*)data, action, row, column, *(const QModelIndex*)parent); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstandarditemmodel_hook_c.cpp0000664000212600021260000000225711677135472022750 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qstandarditemmodel_hook_c.h" QStandardItem_hookH QStandardItem_hook_create(QObjectH handle) { return (QStandardItem_hookH) new QStandardItem_hook((QObject*)handle); } void QStandardItem_hook_destroy(QStandardItem_hookH handle) { delete (QStandardItem_hook *)handle; } QStandardItemModel_hookH QStandardItemModel_hook_create(QObjectH handle) { return (QStandardItemModel_hookH) new QStandardItemModel_hook((QObject*)handle); } void QStandardItemModel_hook_destroy(QStandardItemModel_hookH handle) { delete (QStandardItemModel_hook *)handle; } void QStandardItemModel_hook_hook_itemChanged(QStandardItemModel_hookH handle, QHookH hook) { ((QStandardItemModel_hook *)handle)->hook_itemChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtcpsocket_c.h0000664000212600021260000000126311677135472017670 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTCPSOCKET_C_H #define QTCPSOCKET_C_H #include #include "pascalbind.h" C_EXPORT QTcpSocketH QTcpSocket_create(QObjectH parent); C_EXPORT void QTcpSocket_destroy(QTcpSocketH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsslconfiguration_c.h0000664000212600021260000000423011677135472021257 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSSLCONFIGURATION_C_H #define QSSLCONFIGURATION_C_H #include #include "pascalbind.h" C_EXPORT QSslConfigurationH QSslConfiguration_create(); C_EXPORT void QSslConfiguration_destroy(QSslConfigurationH handle); C_EXPORT QSslConfigurationH QSslConfiguration_create2(const QSslConfigurationH other); C_EXPORT bool QSslConfiguration_isNull(QSslConfigurationH handle); C_EXPORT QSsl::SslProtocol QSslConfiguration_protocol(QSslConfigurationH handle); C_EXPORT void QSslConfiguration_setProtocol(QSslConfigurationH handle, QSsl::SslProtocol protocol); C_EXPORT QSslSocket::PeerVerifyMode QSslConfiguration_peerVerifyMode(QSslConfigurationH handle); C_EXPORT void QSslConfiguration_setPeerVerifyMode(QSslConfigurationH handle, QSslSocket::PeerVerifyMode mode); C_EXPORT int QSslConfiguration_peerVerifyDepth(QSslConfigurationH handle); C_EXPORT void QSslConfiguration_setPeerVerifyDepth(QSslConfigurationH handle, int depth); C_EXPORT void QSslConfiguration_localCertificate(QSslConfigurationH handle, QSslCertificateH retval); C_EXPORT void QSslConfiguration_setLocalCertificate(QSslConfigurationH handle, const QSslCertificateH certificate); C_EXPORT void QSslConfiguration_peerCertificate(QSslConfigurationH handle, QSslCertificateH retval); C_EXPORT void QSslConfiguration_sessionCipher(QSslConfigurationH handle, QSslCipherH retval); C_EXPORT void QSslConfiguration_privateKey(QSslConfigurationH handle, QSslKeyH retval); C_EXPORT void QSslConfiguration_setPrivateKey(QSslConfigurationH handle, const QSslKeyH key); C_EXPORT void QSslConfiguration_defaultConfiguration(QSslConfigurationH retval); C_EXPORT void QSslConfiguration_setDefaultConfiguration(const QSslConfigurationH configuration); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfontdialog_c.cpp0000664000212600021260000000572011677135472020354 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qfontdialog_c.h" QFontDialogH QFontDialog_create(QWidgetH parent) { return (QFontDialogH) new QFontDialog((QWidget*)parent); } void QFontDialog_destroy(QFontDialogH handle) { delete (QFontDialog *)handle; } QFontDialogH QFontDialog_create2(const QFontH initial, QWidgetH parent) { return (QFontDialogH) new QFontDialog(*(const QFont*)initial, (QWidget*)parent); } void QFontDialog_setCurrentFont(QFontDialogH handle, const QFontH font) { ((QFontDialog *)handle)->setCurrentFont(*(const QFont*)font); } void QFontDialog_currentFont(QFontDialogH handle, QFontH retval) { *(QFont *)retval = ((QFontDialog *)handle)->currentFont(); } void QFontDialog_selectedFont(QFontDialogH handle, QFontH retval) { *(QFont *)retval = ((QFontDialog *)handle)->selectedFont(); } void QFontDialog_setOption(QFontDialogH handle, QFontDialog::FontDialogOption option, bool on) { ((QFontDialog *)handle)->setOption(option, on); } bool QFontDialog_testOption(QFontDialogH handle, QFontDialog::FontDialogOption option) { return (bool) ((QFontDialog *)handle)->testOption(option); } void QFontDialog_setOptions(QFontDialogH handle, unsigned int options) { ((QFontDialog *)handle)->setOptions((QFontDialog::FontDialogOptions)options); } unsigned int QFontDialog_options(QFontDialogH handle) { return (unsigned int) ((QFontDialog *)handle)->options(); } void QFontDialog_open(QFontDialogH handle, QObjectH receiver, const char* member) { ((QFontDialog *)handle)->open((QObject*)receiver, member); } void QFontDialog_setVisible(QFontDialogH handle, bool visible) { ((QFontDialog *)handle)->setVisible(visible); } void QFontDialog_getFont(QFontH retval, bool* ok, const QFontH initial, QWidgetH parent, PWideString title, unsigned int options) { QString t_title; copyPWideStringToQString(title, t_title); *(QFont *)retval = QFontDialog::getFont(ok, *(const QFont*)initial, (QWidget*)parent, t_title, (QFontDialog::FontDialogOptions)options); } void QFontDialog_getFont2(QFontH retval, bool* ok, const QFontH initial, QWidgetH parent, PWideString title) { QString t_title; copyPWideStringToQString(title, t_title); *(QFont *)retval = QFontDialog::getFont(ok, *(const QFont*)initial, (QWidget*)parent, t_title); } void QFontDialog_getFont3(QFontH retval, bool* ok, const QFontH initial, QWidgetH parent) { *(QFont *)retval = QFontDialog::getFont(ok, *(const QFont*)initial, (QWidget*)parent); } void QFontDialog_getFont4(QFontH retval, bool* ok, QWidgetH parent) { *(QFont *)retval = QFontDialog::getFont(ok, (QWidget*)parent); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsslkey_c.cpp0000664000212600021260000000425311677135472017540 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsslkey_c.h" QSslKeyH QSslKey_create() { return (QSslKeyH) new QSslKey(); } void QSslKey_destroy(QSslKeyH handle) { delete (QSslKey *)handle; } QSslKeyH QSslKey_create2(const QByteArrayH encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArrayH passPhrase) { return (QSslKeyH) new QSslKey(*(const QByteArray*)encoded, algorithm, format, type, *(const QByteArray*)passPhrase); } QSslKeyH QSslKey_create3(QIODeviceH device, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, QSsl::KeyType type, const QByteArrayH passPhrase) { return (QSslKeyH) new QSslKey((QIODevice*)device, algorithm, format, type, *(const QByteArray*)passPhrase); } QSslKeyH QSslKey_create4(const QSslKeyH other) { return (QSslKeyH) new QSslKey(*(const QSslKey*)other); } bool QSslKey_isNull(QSslKeyH handle) { return (bool) ((QSslKey *)handle)->isNull(); } void QSslKey_clear(QSslKeyH handle) { ((QSslKey *)handle)->clear(); } int QSslKey_length(QSslKeyH handle) { return (int) ((QSslKey *)handle)->length(); } QSsl::KeyType QSslKey_type(QSslKeyH handle) { return (QSsl::KeyType) ((QSslKey *)handle)->type(); } QSsl::KeyAlgorithm QSslKey_algorithm(QSslKeyH handle) { return (QSsl::KeyAlgorithm) ((QSslKey *)handle)->algorithm(); } void QSslKey_toPem(QSslKeyH handle, QByteArrayH retval, const QByteArrayH passPhrase) { *(QByteArray *)retval = ((QSslKey *)handle)->toPem(*(const QByteArray*)passPhrase); } void QSslKey_toDer(QSslKeyH handle, QByteArrayH retval, const QByteArrayH passPhrase) { *(QByteArray *)retval = ((QSslKey *)handle)->toDer(*(const QByteArray*)passPhrase); } Qt::HANDLE QSslKey_handle(QSslKeyH handle) { return (Qt::HANDLE) ((QSslKey *)handle)->handle(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstyleditemdelegate_c.cpp0000664000212600021260000000577611677135472022117 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qstyleditemdelegate_c.h" QStyledItemDelegateH QStyledItemDelegate_create(QObjectH parent) { return (QStyledItemDelegateH) new QStyledItemDelegate((QObject*)parent); } void QStyledItemDelegate_destroy(QStyledItemDelegateH handle) { delete (QStyledItemDelegate *)handle; } void QStyledItemDelegate_paint(QStyledItemDelegateH handle, QPainterH painter, const QStyleOptionViewItemH option, const QModelIndexH index) { ((QStyledItemDelegate *)handle)->paint((QPainter*)painter, *(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } void QStyledItemDelegate_sizeHint(QStyledItemDelegateH handle, PSize retval, const QStyleOptionViewItemH option, const QModelIndexH index) { *(QSize *)retval = ((QStyledItemDelegate *)handle)->sizeHint(*(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } QWidgetH QStyledItemDelegate_createEditor(QStyledItemDelegateH handle, QWidgetH parent, const QStyleOptionViewItemH option, const QModelIndexH index) { return (QWidgetH) ((QStyledItemDelegate *)handle)->createEditor((QWidget*)parent, *(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } void QStyledItemDelegate_setEditorData(QStyledItemDelegateH handle, QWidgetH editor, const QModelIndexH index) { ((QStyledItemDelegate *)handle)->setEditorData((QWidget*)editor, *(const QModelIndex*)index); } void QStyledItemDelegate_setModelData(QStyledItemDelegateH handle, QWidgetH editor, QAbstractItemModelH model, const QModelIndexH index) { ((QStyledItemDelegate *)handle)->setModelData((QWidget*)editor, (QAbstractItemModel*)model, *(const QModelIndex*)index); } void QStyledItemDelegate_updateEditorGeometry(QStyledItemDelegateH handle, QWidgetH editor, const QStyleOptionViewItemH option, const QModelIndexH index) { ((QStyledItemDelegate *)handle)->updateEditorGeometry((QWidget*)editor, *(const QStyleOptionViewItem*)option, *(const QModelIndex*)index); } QItemEditorFactoryH QStyledItemDelegate_itemEditorFactory(QStyledItemDelegateH handle) { return (QItemEditorFactoryH) ((QStyledItemDelegate *)handle)->itemEditorFactory(); } void QStyledItemDelegate_setItemEditorFactory(QStyledItemDelegateH handle, QItemEditorFactoryH factory) { ((QStyledItemDelegate *)handle)->setItemEditorFactory((QItemEditorFactory*)factory); } void QStyledItemDelegate_displayText(QStyledItemDelegateH handle, PWideString retval, const QVariantH value, const QLocaleH locale) { QString t_retval; t_retval = ((QStyledItemDelegate *)handle)->displayText(*(const QVariant*)value, *(const QLocale*)locale); copyQStringToPWideString(t_retval, retval); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpushbutton_c.h0000664000212600021260000000310011677135472020074 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPUSHBUTTON_C_H #define QPUSHBUTTON_C_H #include #include "pascalbind.h" C_EXPORT QPushButtonH QPushButton_create(QWidgetH parent); C_EXPORT void QPushButton_destroy(QPushButtonH handle); C_EXPORT QPushButtonH QPushButton_create2(PWideString text, QWidgetH parent); C_EXPORT QPushButtonH QPushButton_create3(const QIconH icon, PWideString text, QWidgetH parent); C_EXPORT void QPushButton_sizeHint(QPushButtonH handle, PSize retval); C_EXPORT void QPushButton_minimumSizeHint(QPushButtonH handle, PSize retval); C_EXPORT bool QPushButton_autoDefault(QPushButtonH handle); C_EXPORT void QPushButton_setAutoDefault(QPushButtonH handle, bool AnonParam1); C_EXPORT bool QPushButton_isDefault(QPushButtonH handle); C_EXPORT void QPushButton_setDefault(QPushButtonH handle, bool AnonParam1); C_EXPORT void QPushButton_setMenu(QPushButtonH handle, QMenuH menu); C_EXPORT QMenuH QPushButton_menu(QPushButtonH handle); C_EXPORT void QPushButton_setFlat(QPushButtonH handle, bool AnonParam1); C_EXPORT bool QPushButton_isFlat(QPushButtonH handle); C_EXPORT void QPushButton_showMenu(QPushButtonH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstyle_c.cpp0000664000212600021260000001767211677135472017377 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qstyle_c.h" void QStyle_polish(QStyleH handle, QWidgetH AnonParam1) { ((QStyle *)handle)->polish((QWidget*)AnonParam1); } void QStyle_unpolish(QStyleH handle, QWidgetH AnonParam1) { ((QStyle *)handle)->unpolish((QWidget*)AnonParam1); } void QStyle_polish2(QStyleH handle, QApplicationH AnonParam1) { ((QStyle *)handle)->polish((QApplication*)AnonParam1); } void QStyle_unpolish2(QStyleH handle, QApplicationH AnonParam1) { ((QStyle *)handle)->unpolish((QApplication*)AnonParam1); } void QStyle_polish3(QStyleH handle, QPaletteH AnonParam1) { ((QStyle *)handle)->polish(*(QPalette*)AnonParam1); } void QStyle_itemTextRect(QStyleH handle, PRect retval, const QFontMetricsH fm, PRect r, int flags, bool enabled, PWideString text) { QRect t_retval; QRect t_r; QString t_text; copyPRectToQRect(r, t_r); copyPWideStringToQString(text, t_text); t_retval = ((QStyle *)handle)->itemTextRect(*(const QFontMetrics*)fm, t_r, flags, enabled, t_text); copyQRectToPRect(t_retval, retval); } void QStyle_itemPixmapRect(QStyleH handle, PRect retval, PRect r, int flags, const QPixmapH pixmap) { QRect t_retval; QRect t_r; copyPRectToQRect(r, t_r); t_retval = ((QStyle *)handle)->itemPixmapRect(t_r, flags, *(const QPixmap*)pixmap); copyQRectToPRect(t_retval, retval); } void QStyle_drawItemText(QStyleH handle, QPainterH painter, PRect rect, int flags, const QPaletteH pal, bool enabled, PWideString text, QPalette::ColorRole textRole) { QRect t_rect; QString t_text; copyPRectToQRect(rect, t_rect); copyPWideStringToQString(text, t_text); ((QStyle *)handle)->drawItemText((QPainter*)painter, t_rect, flags, *(const QPalette*)pal, enabled, t_text, textRole); } void QStyle_drawItemPixmap(QStyleH handle, QPainterH painter, PRect rect, int alignment, const QPixmapH pixmap) { QRect t_rect; copyPRectToQRect(rect, t_rect); ((QStyle *)handle)->drawItemPixmap((QPainter*)painter, t_rect, alignment, *(const QPixmap*)pixmap); } void QStyle_standardPalette(QStyleH handle, QPaletteH retval) { *(QPalette *)retval = ((QStyle *)handle)->standardPalette(); } void QStyle_drawPrimitive(QStyleH handle, QStyle::PrimitiveElement pe, const QStyleOptionH opt, QPainterH p, const QWidgetH w) { ((QStyle *)handle)->drawPrimitive(pe, (const QStyleOption*)opt, (QPainter*)p, (const QWidget*)w); } void QStyle_drawControl(QStyleH handle, QStyle::ControlElement element, const QStyleOptionH opt, QPainterH p, const QWidgetH w) { ((QStyle *)handle)->drawControl(element, (const QStyleOption*)opt, (QPainter*)p, (const QWidget*)w); } void QStyle_subElementRect(QStyleH handle, PRect retval, QStyle::SubElement subElement, const QStyleOptionH option, const QWidgetH widget) { QRect t_retval; t_retval = ((QStyle *)handle)->subElementRect(subElement, (const QStyleOption*)option, (const QWidget*)widget); copyQRectToPRect(t_retval, retval); } void QStyle_drawComplexControl(QStyleH handle, QStyle::ComplexControl cc, const QStyleOptionComplexH opt, QPainterH p, const QWidgetH widget) { ((QStyle *)handle)->drawComplexControl(cc, (const QStyleOptionComplex*)opt, (QPainter*)p, (const QWidget*)widget); } QStyle::SubControl QStyle_hitTestComplexControl(QStyleH handle, QStyle::ComplexControl cc, const QStyleOptionComplexH opt, const QPointH pt, const QWidgetH widget) { return (QStyle::SubControl) ((QStyle *)handle)->hitTestComplexControl(cc, (const QStyleOptionComplex*)opt, *(const QPoint*)pt, (const QWidget*)widget); } void QStyle_subControlRect(QStyleH handle, PRect retval, QStyle::ComplexControl cc, const QStyleOptionComplexH opt, QStyle::SubControl sc, const QWidgetH widget) { QRect t_retval; t_retval = ((QStyle *)handle)->subControlRect(cc, (const QStyleOptionComplex*)opt, sc, (const QWidget*)widget); copyQRectToPRect(t_retval, retval); } int QStyle_pixelMetric(QStyleH handle, QStyle::PixelMetric metric, const QStyleOptionH option, const QWidgetH widget) { return (int) ((QStyle *)handle)->pixelMetric(metric, (const QStyleOption*)option, (const QWidget*)widget); } void QStyle_sizeFromContents(QStyleH handle, PSize retval, QStyle::ContentsType ct, const QStyleOptionH opt, const QSizeH contentsSize, const QWidgetH w) { *(QSize *)retval = ((QStyle *)handle)->sizeFromContents(ct, (const QStyleOption*)opt, *(const QSize*)contentsSize, (const QWidget*)w); } int QStyle_styleHint(QStyleH handle, QStyle::StyleHint stylehint, const QStyleOptionH opt, const QWidgetH widget, QStyleHintReturnH returnData) { return (int) ((QStyle *)handle)->styleHint(stylehint, (const QStyleOption*)opt, (const QWidget*)widget, (QStyleHintReturn*)returnData); } void QStyle_standardPixmap(QStyleH handle, QPixmapH retval, QStyle::StandardPixmap standardPixmap, const QStyleOptionH opt, const QWidgetH widget) { *(QPixmap *)retval = ((QStyle *)handle)->standardPixmap(standardPixmap, (const QStyleOption*)opt, (const QWidget*)widget); } void QStyle_standardIcon(QStyleH handle, QIconH retval, QStyle::StandardPixmap standardIcon, const QStyleOptionH option, const QWidgetH widget) { *(QIcon *)retval = ((QStyle *)handle)->standardIcon(standardIcon, (const QStyleOption*)option, (const QWidget*)widget); } void QStyle_generatedIconPixmap(QStyleH handle, QPixmapH retval, QIcon::Mode iconMode, const QPixmapH pixmap, const QStyleOptionH opt) { *(QPixmap *)retval = ((QStyle *)handle)->generatedIconPixmap(iconMode, *(const QPixmap*)pixmap, (const QStyleOption*)opt); } void QStyle_visualRect(PRect retval, Qt::LayoutDirection direction, PRect boundingRect, PRect logicalRect) { QRect t_retval; QRect t_boundingRect; QRect t_logicalRect; copyPRectToQRect(boundingRect, t_boundingRect); copyPRectToQRect(logicalRect, t_logicalRect); t_retval = QStyle::visualRect(direction, t_boundingRect, t_logicalRect); copyQRectToPRect(t_retval, retval); } void QStyle_visualPos(PQtPoint retval, Qt::LayoutDirection direction, PRect boundingRect, const QPointH logicalPos) { QRect t_boundingRect; copyPRectToQRect(boundingRect, t_boundingRect); *(QPoint *)retval = QStyle::visualPos(direction, t_boundingRect, *(const QPoint*)logicalPos); } int QStyle_sliderPositionFromValue(int min, int max, int val, int space, bool upsideDown) { return (int) QStyle::sliderPositionFromValue(min, max, val, space, upsideDown); } int QStyle_sliderValueFromPosition(int min, int max, int pos, int space, bool upsideDown) { return (int) QStyle::sliderValueFromPosition(min, max, pos, space, upsideDown); } unsigned int QStyle_visualAlignment(Qt::LayoutDirection direction, unsigned int alignment) { return (unsigned int) QStyle::visualAlignment(direction, (Qt::Alignment)alignment); } void QStyle_alignedRect(PRect retval, Qt::LayoutDirection direction, unsigned int alignment, const QSizeH size, PRect rectangle) { QRect t_retval; QRect t_rectangle; copyPRectToQRect(rectangle, t_rectangle); t_retval = QStyle::alignedRect(direction, (Qt::Alignment)alignment, *(const QSize*)size, t_rectangle); copyQRectToPRect(t_retval, retval); } int QStyle_layoutSpacing(QStyleH handle, QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOptionH option, const QWidgetH widget) { return (int) ((QStyle *)handle)->layoutSpacing(control1, control2, orientation, (const QStyleOption*)option, (const QWidget*)widget); } int QStyle_combinedLayoutSpacing(QStyleH handle, unsigned int controls1, unsigned int controls2, Qt::Orientation orientation, QStyleOptionH option, QWidgetH widget) { return (int) ((QStyle *)handle)->combinedLayoutSpacing((QSizePolicy::ControlTypes)controls1, (QSizePolicy::ControlTypes)controls2, orientation, (QStyleOption*)option, (QWidget*)widget); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebhistoryinterface_hook_c.cpp0000664000212600021260000000145511677135472023327 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebhistoryinterface_hook_c.h" QWebHistoryInterface_hookH QWebHistoryInterface_hook_create(QObjectH handle) { return (QWebHistoryInterface_hookH) new QWebHistoryInterface_hook((QObject*)handle); } void QWebHistoryInterface_hook_destroy(QWebHistoryInterface_hookH handle) { delete (QWebHistoryInterface_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpainterpath_c.cpp0000664000212600021260000003107511677135472020547 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qpainterpath_c.h" QPainterPathH QPainterPath_create() { return (QPainterPathH) new QPainterPath(); } void QPainterPath_destroy(QPainterPathH handle) { delete (QPainterPath *)handle; } QPainterPathH QPainterPath_create2(const QPointFH startPoint) { return (QPainterPathH) new QPainterPath(*(const QPointF*)startPoint); } QPainterPathH QPainterPath_create3(const QPainterPathH other) { return (QPainterPathH) new QPainterPath(*(const QPainterPath*)other); } void QPainterPath_closeSubpath(QPainterPathH handle) { ((QPainterPath *)handle)->closeSubpath(); } void QPainterPath_moveTo(QPainterPathH handle, const QPointFH p) { ((QPainterPath *)handle)->moveTo(*(const QPointF*)p); } void QPainterPath_moveTo2(QPainterPathH handle, qreal x, qreal y) { ((QPainterPath *)handle)->moveTo(x, y); } void QPainterPath_lineTo(QPainterPathH handle, const QPointFH p) { ((QPainterPath *)handle)->lineTo(*(const QPointF*)p); } void QPainterPath_lineTo2(QPainterPathH handle, qreal x, qreal y) { ((QPainterPath *)handle)->lineTo(x, y); } void QPainterPath_arcMoveTo(QPainterPathH handle, const QRectFH rect, qreal angle) { ((QPainterPath *)handle)->arcMoveTo(*(const QRectF*)rect, angle); } void QPainterPath_arcMoveTo2(QPainterPathH handle, qreal x, qreal y, qreal w, qreal h, qreal angle) { ((QPainterPath *)handle)->arcMoveTo(x, y, w, h, angle); } void QPainterPath_arcTo(QPainterPathH handle, const QRectFH rect, qreal startAngle, qreal arcLength) { ((QPainterPath *)handle)->arcTo(*(const QRectF*)rect, startAngle, arcLength); } void QPainterPath_arcTo2(QPainterPathH handle, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength) { ((QPainterPath *)handle)->arcTo(x, y, w, h, startAngle, arcLength); } void QPainterPath_cubicTo(QPainterPathH handle, const QPointFH ctrlPt1, const QPointFH ctrlPt2, const QPointFH endPt) { ((QPainterPath *)handle)->cubicTo(*(const QPointF*)ctrlPt1, *(const QPointF*)ctrlPt2, *(const QPointF*)endPt); } void QPainterPath_cubicTo2(QPainterPathH handle, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty) { ((QPainterPath *)handle)->cubicTo(ctrlPt1x, ctrlPt1y, ctrlPt2x, ctrlPt2y, endPtx, endPty); } void QPainterPath_quadTo(QPainterPathH handle, const QPointFH ctrlPt, const QPointFH endPt) { ((QPainterPath *)handle)->quadTo(*(const QPointF*)ctrlPt, *(const QPointF*)endPt); } void QPainterPath_quadTo2(QPainterPathH handle, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty) { ((QPainterPath *)handle)->quadTo(ctrlPtx, ctrlPty, endPtx, endPty); } void QPainterPath_currentPosition(QPainterPathH handle, PQtPointF retval) { *(QPointF *)retval = ((QPainterPath *)handle)->currentPosition(); } void QPainterPath_addRect(QPainterPathH handle, const QRectFH rect) { ((QPainterPath *)handle)->addRect(*(const QRectF*)rect); } void QPainterPath_addRect2(QPainterPathH handle, qreal x, qreal y, qreal w, qreal h) { ((QPainterPath *)handle)->addRect(x, y, w, h); } void QPainterPath_addEllipse(QPainterPathH handle, const QRectFH rect) { ((QPainterPath *)handle)->addEllipse(*(const QRectF*)rect); } void QPainterPath_addEllipse2(QPainterPathH handle, qreal x, qreal y, qreal w, qreal h) { ((QPainterPath *)handle)->addEllipse(x, y, w, h); } void QPainterPath_addEllipse3(QPainterPathH handle, const QPointFH center, qreal rx, qreal ry) { ((QPainterPath *)handle)->addEllipse(*(const QPointF*)center, rx, ry); } void QPainterPath_addPolygon(QPainterPathH handle, const QPolygonFH polygon) { ((QPainterPath *)handle)->addPolygon(*(const QPolygonF*)polygon); } void QPainterPath_addText(QPainterPathH handle, const QPointFH point, const QFontH f, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QPainterPath *)handle)->addText(*(const QPointF*)point, *(const QFont*)f, t_text); } void QPainterPath_addText2(QPainterPathH handle, qreal x, qreal y, const QFontH f, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QPainterPath *)handle)->addText(x, y, *(const QFont*)f, t_text); } void QPainterPath_addPath(QPainterPathH handle, const QPainterPathH path) { ((QPainterPath *)handle)->addPath(*(const QPainterPath*)path); } void QPainterPath_addRegion(QPainterPathH handle, const QRegionH region) { ((QPainterPath *)handle)->addRegion(*(const QRegion*)region); } void QPainterPath_addRoundedRect(QPainterPathH handle, const QRectFH rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) { ((QPainterPath *)handle)->addRoundedRect(*(const QRectF*)rect, xRadius, yRadius, mode); } void QPainterPath_addRoundedRect2(QPainterPathH handle, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) { ((QPainterPath *)handle)->addRoundedRect(x, y, w, h, xRadius, yRadius, mode); } void QPainterPath_addRoundRect(QPainterPathH handle, const QRectFH rect, int xRnd, int yRnd) { ((QPainterPath *)handle)->addRoundRect(*(const QRectF*)rect, xRnd, yRnd); } void QPainterPath_addRoundRect2(QPainterPathH handle, qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd) { ((QPainterPath *)handle)->addRoundRect(x, y, w, h, xRnd, yRnd); } void QPainterPath_addRoundRect3(QPainterPathH handle, const QRectFH rect, int roundness) { ((QPainterPath *)handle)->addRoundRect(*(const QRectF*)rect, roundness); } void QPainterPath_addRoundRect4(QPainterPathH handle, qreal x, qreal y, qreal w, qreal h, int roundness) { ((QPainterPath *)handle)->addRoundRect(x, y, w, h, roundness); } void QPainterPath_connectPath(QPainterPathH handle, const QPainterPathH path) { ((QPainterPath *)handle)->connectPath(*(const QPainterPath*)path); } bool QPainterPath_contains(QPainterPathH handle, const QPointFH pt) { return (bool) ((QPainterPath *)handle)->contains(*(const QPointF*)pt); } bool QPainterPath_contains2(QPainterPathH handle, const QRectFH rect) { return (bool) ((QPainterPath *)handle)->contains(*(const QRectF*)rect); } bool QPainterPath_intersects(QPainterPathH handle, const QRectFH rect) { return (bool) ((QPainterPath *)handle)->intersects(*(const QRectF*)rect); } void QPainterPath_boundingRect(QPainterPathH handle, QRectFH retval) { *(QRectF *)retval = ((QPainterPath *)handle)->boundingRect(); } void QPainterPath_controlPointRect(QPainterPathH handle, QRectFH retval) { *(QRectF *)retval = ((QPainterPath *)handle)->controlPointRect(); } Qt::FillRule QPainterPath_fillRule(QPainterPathH handle) { return (Qt::FillRule) ((QPainterPath *)handle)->fillRule(); } void QPainterPath_setFillRule(QPainterPathH handle, Qt::FillRule fillRule) { ((QPainterPath *)handle)->setFillRule(fillRule); } bool QPainterPath_isEmpty(QPainterPathH handle) { return (bool) ((QPainterPath *)handle)->isEmpty(); } void QPainterPath_toReversed(QPainterPathH handle, QPainterPathH retval) { *(QPainterPath *)retval = ((QPainterPath *)handle)->toReversed(); } void QPainterPath_toFillPolygon(QPainterPathH handle, QPolygonFH retval, const QMatrixH matrix) { *(QPolygonF *)retval = ((QPainterPath *)handle)->toFillPolygon(*(const QMatrix*)matrix); } void QPainterPath_toFillPolygon2(QPainterPathH handle, QPolygonFH retval, const QTransformH matrix) { *(QPolygonF *)retval = ((QPainterPath *)handle)->toFillPolygon(*(const QTransform*)matrix); } int QPainterPath_elementCount(QPainterPathH handle) { return (int) ((QPainterPath *)handle)->elementCount(); } const QPainterPath::Element* QPainterPath_elementAt(QPainterPathH handle, int i) { return (const QPainterPath::Element*) &((QPainterPath *)handle)->elementAt(i); } void QPainterPath_setElementPositionAt(QPainterPathH handle, int i, qreal x, qreal y) { ((QPainterPath *)handle)->setElementPositionAt(i, x, y); } qreal QPainterPath_length(QPainterPathH handle) { return (qreal) ((QPainterPath *)handle)->length(); } qreal QPainterPath_percentAtLength(QPainterPathH handle, qreal t) { return (qreal) ((QPainterPath *)handle)->percentAtLength(t); } void QPainterPath_pointAtPercent(QPainterPathH handle, PQtPointF retval, qreal t) { *(QPointF *)retval = ((QPainterPath *)handle)->pointAtPercent(t); } qreal QPainterPath_angleAtPercent(QPainterPathH handle, qreal t) { return (qreal) ((QPainterPath *)handle)->angleAtPercent(t); } qreal QPainterPath_slopeAtPercent(QPainterPathH handle, qreal t) { return (qreal) ((QPainterPath *)handle)->slopeAtPercent(t); } bool QPainterPath_intersects2(QPainterPathH handle, const QPainterPathH p) { return (bool) ((QPainterPath *)handle)->intersects(*(const QPainterPath*)p); } bool QPainterPath_contains3(QPainterPathH handle, const QPainterPathH p) { return (bool) ((QPainterPath *)handle)->contains(*(const QPainterPath*)p); } void QPainterPath_united(QPainterPathH handle, QPainterPathH retval, const QPainterPathH r) { *(QPainterPath *)retval = ((QPainterPath *)handle)->united(*(const QPainterPath*)r); } void QPainterPath_intersected(QPainterPathH handle, QPainterPathH retval, const QPainterPathH r) { *(QPainterPath *)retval = ((QPainterPath *)handle)->intersected(*(const QPainterPath*)r); } void QPainterPath_subtracted(QPainterPathH handle, QPainterPathH retval, const QPainterPathH r) { *(QPainterPath *)retval = ((QPainterPath *)handle)->subtracted(*(const QPainterPath*)r); } void QPainterPath_subtractedInverted(QPainterPathH handle, QPainterPathH retval, const QPainterPathH r) { *(QPainterPath *)retval = ((QPainterPath *)handle)->subtractedInverted(*(const QPainterPath*)r); } void QPainterPath_simplified(QPainterPathH handle, QPainterPathH retval) { *(QPainterPath *)retval = ((QPainterPath *)handle)->simplified(); } QPainterPathStrokerH QPainterPathStroker_create() { return (QPainterPathStrokerH) new QPainterPathStroker(); } void QPainterPathStroker_destroy(QPainterPathStrokerH handle) { delete (QPainterPathStroker *)handle; } void QPainterPathStroker_setWidth(QPainterPathStrokerH handle, qreal width) { ((QPainterPathStroker *)handle)->setWidth(width); } qreal QPainterPathStroker_width(QPainterPathStrokerH handle) { return (qreal) ((QPainterPathStroker *)handle)->width(); } void QPainterPathStroker_setCapStyle(QPainterPathStrokerH handle, Qt::PenCapStyle style) { ((QPainterPathStroker *)handle)->setCapStyle(style); } Qt::PenCapStyle QPainterPathStroker_capStyle(QPainterPathStrokerH handle) { return (Qt::PenCapStyle) ((QPainterPathStroker *)handle)->capStyle(); } void QPainterPathStroker_setJoinStyle(QPainterPathStrokerH handle, Qt::PenJoinStyle style) { ((QPainterPathStroker *)handle)->setJoinStyle(style); } Qt::PenJoinStyle QPainterPathStroker_joinStyle(QPainterPathStrokerH handle) { return (Qt::PenJoinStyle) ((QPainterPathStroker *)handle)->joinStyle(); } void QPainterPathStroker_setMiterLimit(QPainterPathStrokerH handle, qreal length) { ((QPainterPathStroker *)handle)->setMiterLimit(length); } qreal QPainterPathStroker_miterLimit(QPainterPathStrokerH handle) { return (qreal) ((QPainterPathStroker *)handle)->miterLimit(); } void QPainterPathStroker_setCurveThreshold(QPainterPathStrokerH handle, qreal threshold) { ((QPainterPathStroker *)handle)->setCurveThreshold(threshold); } qreal QPainterPathStroker_curveThreshold(QPainterPathStrokerH handle) { return (qreal) ((QPainterPathStroker *)handle)->curveThreshold(); } void QPainterPathStroker_setDashPattern(QPainterPathStrokerH handle, Qt::PenStyle AnonParam1) { ((QPainterPathStroker *)handle)->setDashPattern(AnonParam1); } void QPainterPathStroker_setDashPattern2(QPainterPathStrokerH handle, PQRealArray dashPattern) { QVector t_dashPattern; copyQRealArrayToQVectorQReal(dashPattern, t_dashPattern); ((QPainterPathStroker *)handle)->setDashPattern(t_dashPattern); } void QPainterPathStroker_dashPattern(QPainterPathStrokerH handle, PQRealArray retval) { QVector t_retval; t_retval = ((QPainterPathStroker *)handle)->dashPattern(); copyQVectorQRealToQRealArray(t_retval, retval); } void QPainterPathStroker_setDashOffset(QPainterPathStrokerH handle, qreal offset) { ((QPainterPathStroker *)handle)->setDashOffset(offset); } qreal QPainterPathStroker_dashOffset(QPainterPathStrokerH handle) { return (qreal) ((QPainterPathStroker *)handle)->dashOffset(); } void QPainterPathStroker_createStroke(QPainterPathStrokerH handle, QPainterPathH retval, const QPainterPathH path) { *(QPainterPath *)retval = ((QPainterPathStroker *)handle)->createStroke(*(const QPainterPath*)path); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qplaintextedit_hook_c.cpp0000664000212600021260000000466211677135472022130 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qplaintextedit_hook_c.h" QPlainTextEdit_hookH QPlainTextEdit_hook_create(QObjectH handle) { return (QPlainTextEdit_hookH) new QPlainTextEdit_hook((QObject*)handle); } void QPlainTextEdit_hook_destroy(QPlainTextEdit_hookH handle) { delete (QPlainTextEdit_hook *)handle; } void QPlainTextEdit_hook_hook_textChanged(QPlainTextEdit_hookH handle, QHookH hook) { ((QPlainTextEdit_hook *)handle)->hook_textChanged(hook); } void QPlainTextEdit_hook_hook_undoAvailable(QPlainTextEdit_hookH handle, QHookH hook) { ((QPlainTextEdit_hook *)handle)->hook_undoAvailable(hook); } void QPlainTextEdit_hook_hook_redoAvailable(QPlainTextEdit_hookH handle, QHookH hook) { ((QPlainTextEdit_hook *)handle)->hook_redoAvailable(hook); } void QPlainTextEdit_hook_hook_copyAvailable(QPlainTextEdit_hookH handle, QHookH hook) { ((QPlainTextEdit_hook *)handle)->hook_copyAvailable(hook); } void QPlainTextEdit_hook_hook_selectionChanged(QPlainTextEdit_hookH handle, QHookH hook) { ((QPlainTextEdit_hook *)handle)->hook_selectionChanged(hook); } void QPlainTextEdit_hook_hook_cursorPositionChanged(QPlainTextEdit_hookH handle, QHookH hook) { ((QPlainTextEdit_hook *)handle)->hook_cursorPositionChanged(hook); } void QPlainTextEdit_hook_hook_updateRequest(QPlainTextEdit_hookH handle, QHookH hook) { ((QPlainTextEdit_hook *)handle)->hook_updateRequest(hook); } void QPlainTextEdit_hook_hook_blockCountChanged(QPlainTextEdit_hookH handle, QHookH hook) { ((QPlainTextEdit_hook *)handle)->hook_blockCountChanged(hook); } void QPlainTextEdit_hook_hook_modificationChanged(QPlainTextEdit_hookH handle, QHookH hook) { ((QPlainTextEdit_hook *)handle)->hook_modificationChanged(hook); } QPlainTextDocumentLayout_hookH QPlainTextDocumentLayout_hook_create(QObjectH handle) { return (QPlainTextDocumentLayout_hookH) new QPlainTextDocumentLayout_hook((QObject*)handle); } void QPlainTextDocumentLayout_hook_destroy(QPlainTextDocumentLayout_hookH handle) { delete (QPlainTextDocumentLayout_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprocess_c.h0000664000212600021260000000751211677135472017352 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPROCESS_C_H #define QPROCESS_C_H #include #include "pascalbind.h" C_EXPORT QProcessH QProcess_create(QObjectH parent); C_EXPORT void QProcess_destroy(QProcessH handle); C_EXPORT void QProcess_start(QProcessH handle, PWideString program, const QStringListH arguments, unsigned int mode); C_EXPORT void QProcess_start2(QProcessH handle, PWideString program, unsigned int mode); C_EXPORT QProcess::ProcessChannelMode QProcess_readChannelMode(QProcessH handle); C_EXPORT void QProcess_setReadChannelMode(QProcessH handle, QProcess::ProcessChannelMode mode); C_EXPORT QProcess::ProcessChannelMode QProcess_processChannelMode(QProcessH handle); C_EXPORT void QProcess_setProcessChannelMode(QProcessH handle, QProcess::ProcessChannelMode mode); C_EXPORT QProcess::ProcessChannel QProcess_readChannel(QProcessH handle); C_EXPORT void QProcess_setReadChannel(QProcessH handle, QProcess::ProcessChannel channel); C_EXPORT void QProcess_closeReadChannel(QProcessH handle, QProcess::ProcessChannel channel); C_EXPORT void QProcess_closeWriteChannel(QProcessH handle); C_EXPORT void QProcess_setStandardInputFile(QProcessH handle, PWideString fileName); C_EXPORT void QProcess_setStandardOutputFile(QProcessH handle, PWideString fileName, unsigned int mode); C_EXPORT void QProcess_setStandardErrorFile(QProcessH handle, PWideString fileName, unsigned int mode); C_EXPORT void QProcess_setStandardOutputProcess(QProcessH handle, QProcessH destination); C_EXPORT void QProcess_workingDirectory(QProcessH handle, PWideString retval); C_EXPORT void QProcess_setWorkingDirectory(QProcessH handle, PWideString dir); C_EXPORT void QProcess_setEnvironment(QProcessH handle, const QStringListH environment); C_EXPORT void QProcess_environment(QProcessH handle, QStringListH retval); C_EXPORT QProcess::ProcessError QProcess_error(QProcessH handle); C_EXPORT QProcess::ProcessState QProcess_state(QProcessH handle); C_EXPORT Q_PID QProcess_pid(QProcessH handle); C_EXPORT bool QProcess_waitForStarted(QProcessH handle, int msecs); C_EXPORT bool QProcess_waitForReadyRead(QProcessH handle, int msecs); C_EXPORT bool QProcess_waitForBytesWritten(QProcessH handle, int msecs); C_EXPORT bool QProcess_waitForFinished(QProcessH handle, int msecs); C_EXPORT void QProcess_readAllStandardOutput(QProcessH handle, QByteArrayH retval); C_EXPORT void QProcess_readAllStandardError(QProcessH handle, QByteArrayH retval); C_EXPORT int QProcess_exitCode(QProcessH handle); C_EXPORT QProcess::ExitStatus QProcess_exitStatus(QProcessH handle); C_EXPORT qint64 QProcess_bytesAvailable(QProcessH handle); C_EXPORT qint64 QProcess_bytesToWrite(QProcessH handle); C_EXPORT bool QProcess_isSequential(QProcessH handle); C_EXPORT bool QProcess_canReadLine(QProcessH handle); C_EXPORT void QProcess_close(QProcessH handle); C_EXPORT bool QProcess_atEnd(QProcessH handle); C_EXPORT int QProcess_execute(PWideString program, const QStringListH arguments); C_EXPORT int QProcess_execute2(PWideString program); C_EXPORT bool QProcess_startDetached(PWideString program, const QStringListH arguments, PWideString workingDirectory, qint64* pid); C_EXPORT bool QProcess_startDetached2(PWideString program, const QStringListH arguments); C_EXPORT bool QProcess_startDetached3(PWideString program); C_EXPORT void QProcess_systemEnvironment(QStringListH retval); C_EXPORT void QProcess_terminate(QProcessH handle); C_EXPORT void QProcess_kill(QProcessH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintpreviewwidget_c.cpp0000664000212600021260000001035011677135472022163 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qprintpreviewwidget_c.h" QPrintPreviewWidgetH QPrintPreviewWidget_create(QPrinterH printer, QWidgetH parent, unsigned int flags) { return (QPrintPreviewWidgetH) new QPrintPreviewWidget((QPrinter*)printer, (QWidget*)parent, (Qt::WindowFlags)flags); } void QPrintPreviewWidget_destroy(QPrintPreviewWidgetH handle) { delete (QPrintPreviewWidget *)handle; } QPrintPreviewWidgetH QPrintPreviewWidget_create2(QWidgetH parent, unsigned int flags) { return (QPrintPreviewWidgetH) new QPrintPreviewWidget((QWidget*)parent, (Qt::WindowFlags)flags); } qreal QPrintPreviewWidget_zoomFactor(QPrintPreviewWidgetH handle) { return (qreal) ((QPrintPreviewWidget *)handle)->zoomFactor(); } QPrinter::Orientation QPrintPreviewWidget_orientation(QPrintPreviewWidgetH handle) { return (QPrinter::Orientation) ((QPrintPreviewWidget *)handle)->orientation(); } QPrintPreviewWidget::ViewMode QPrintPreviewWidget_viewMode(QPrintPreviewWidgetH handle) { return (QPrintPreviewWidget::ViewMode) ((QPrintPreviewWidget *)handle)->viewMode(); } QPrintPreviewWidget::ZoomMode QPrintPreviewWidget_zoomMode(QPrintPreviewWidgetH handle) { return (QPrintPreviewWidget::ZoomMode) ((QPrintPreviewWidget *)handle)->zoomMode(); } int QPrintPreviewWidget_currentPage(QPrintPreviewWidgetH handle) { return (int) ((QPrintPreviewWidget *)handle)->currentPage(); } int QPrintPreviewWidget_numPages(QPrintPreviewWidgetH handle) { return (int) ((QPrintPreviewWidget *)handle)->numPages(); } void QPrintPreviewWidget_setVisible(QPrintPreviewWidgetH handle, bool visible) { ((QPrintPreviewWidget *)handle)->setVisible(visible); } void QPrintPreviewWidget_print(QPrintPreviewWidgetH handle) { ((QPrintPreviewWidget *)handle)->print(); } void QPrintPreviewWidget_zoomIn(QPrintPreviewWidgetH handle, qreal zoom) { ((QPrintPreviewWidget *)handle)->zoomIn(zoom); } void QPrintPreviewWidget_zoomOut(QPrintPreviewWidgetH handle, qreal zoom) { ((QPrintPreviewWidget *)handle)->zoomOut(zoom); } void QPrintPreviewWidget_setZoomFactor(QPrintPreviewWidgetH handle, qreal zoomFactor) { ((QPrintPreviewWidget *)handle)->setZoomFactor(zoomFactor); } void QPrintPreviewWidget_setOrientation(QPrintPreviewWidgetH handle, QPrinter::Orientation orientation) { ((QPrintPreviewWidget *)handle)->setOrientation(orientation); } void QPrintPreviewWidget_setViewMode(QPrintPreviewWidgetH handle, QPrintPreviewWidget::ViewMode viewMode) { ((QPrintPreviewWidget *)handle)->setViewMode(viewMode); } void QPrintPreviewWidget_setZoomMode(QPrintPreviewWidgetH handle, QPrintPreviewWidget::ZoomMode zoomMode) { ((QPrintPreviewWidget *)handle)->setZoomMode(zoomMode); } void QPrintPreviewWidget_setCurrentPage(QPrintPreviewWidgetH handle, int pageNumber) { ((QPrintPreviewWidget *)handle)->setCurrentPage(pageNumber); } void QPrintPreviewWidget_fitToWidth(QPrintPreviewWidgetH handle) { ((QPrintPreviewWidget *)handle)->fitToWidth(); } void QPrintPreviewWidget_fitInView(QPrintPreviewWidgetH handle) { ((QPrintPreviewWidget *)handle)->fitInView(); } void QPrintPreviewWidget_setLandscapeOrientation(QPrintPreviewWidgetH handle) { ((QPrintPreviewWidget *)handle)->setLandscapeOrientation(); } void QPrintPreviewWidget_setPortraitOrientation(QPrintPreviewWidgetH handle) { ((QPrintPreviewWidget *)handle)->setPortraitOrientation(); } void QPrintPreviewWidget_setSinglePageViewMode(QPrintPreviewWidgetH handle) { ((QPrintPreviewWidget *)handle)->setSinglePageViewMode(); } void QPrintPreviewWidget_setFacingPagesViewMode(QPrintPreviewWidgetH handle) { ((QPrintPreviewWidget *)handle)->setFacingPagesViewMode(); } void QPrintPreviewWidget_setAllPagesViewMode(QPrintPreviewWidgetH handle) { ((QPrintPreviewWidget *)handle)->setAllPagesViewMode(); } void QPrintPreviewWidget_updatePreview(QPrintPreviewWidgetH handle) { ((QPrintPreviewWidget *)handle)->updatePreview(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtcpsocket_hook_c.h0000664000212600021260000000130111677135472020701 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTCPSOCKET_HOOK_C_H #define QTCPSOCKET_HOOK_C_H #include "qtcpsocket_hook.h" C_EXPORT QTcpSocket_hookH QTcpSocket_hook_create(QObjectH handle); C_EXPORT void QTcpSocket_hook_destroy(QTcpSocket_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qframe_c.cpp0000664000212600021260000000441011677135472017313 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qframe_c.h" QFrameH QFrame_create(QWidgetH parent, unsigned int f) { return (QFrameH) new QFrame((QWidget*)parent, (Qt::WindowFlags)f); } void QFrame_destroy(QFrameH handle) { delete (QFrame *)handle; } int QFrame_frameStyle(QFrameH handle) { return (int) ((QFrame *)handle)->frameStyle(); } void QFrame_setFrameStyle(QFrameH handle, int AnonParam1) { ((QFrame *)handle)->setFrameStyle(AnonParam1); } int QFrame_frameWidth(QFrameH handle) { return (int) ((QFrame *)handle)->frameWidth(); } void QFrame_sizeHint(QFrameH handle, PSize retval) { *(QSize *)retval = ((QFrame *)handle)->sizeHint(); } QFrame::Shape QFrame_frameShape(QFrameH handle) { return (QFrame::Shape) ((QFrame *)handle)->frameShape(); } void QFrame_setFrameShape(QFrameH handle, QFrame::Shape AnonParam1) { ((QFrame *)handle)->setFrameShape(AnonParam1); } QFrame::Shadow QFrame_frameShadow(QFrameH handle) { return (QFrame::Shadow) ((QFrame *)handle)->frameShadow(); } void QFrame_setFrameShadow(QFrameH handle, QFrame::Shadow AnonParam1) { ((QFrame *)handle)->setFrameShadow(AnonParam1); } int QFrame_lineWidth(QFrameH handle) { return (int) ((QFrame *)handle)->lineWidth(); } void QFrame_setLineWidth(QFrameH handle, int AnonParam1) { ((QFrame *)handle)->setLineWidth(AnonParam1); } int QFrame_midLineWidth(QFrameH handle) { return (int) ((QFrame *)handle)->midLineWidth(); } void QFrame_setMidLineWidth(QFrameH handle, int AnonParam1) { ((QFrame *)handle)->setMidLineWidth(AnonParam1); } void QFrame_frameRect(QFrameH handle, PRect retval) { QRect t_retval; t_retval = ((QFrame *)handle)->frameRect(); copyQRectToPRect(t_retval, retval); } void QFrame_setFrameRect(QFrameH handle, PRect AnonParam1) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QFrame *)handle)->setFrameRect(t_AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qframe_hook.h0000664000212600021260000000130711677135472017500 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFRAME_HOOK_H #define QFRAME_HOOK_H #include #include "qwidget_hook.h" class QFrame_hook : public QWidget_hook { Q_OBJECT public: QFrame_hook(QObject *handle) : QWidget_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qudpsocket_c.h0000664000212600021260000000304211677135472017667 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QUDPSOCKET_C_H #define QUDPSOCKET_C_H #include #include "pascalbind.h" C_EXPORT QUdpSocketH QUdpSocket_create(QObjectH parent); C_EXPORT void QUdpSocket_destroy(QUdpSocketH handle); C_EXPORT bool QUdpSocket_bind(QUdpSocketH handle, const QHostAddressH address, quint16 port); C_EXPORT bool QUdpSocket_bind2(QUdpSocketH handle, quint16 port); C_EXPORT bool QUdpSocket_bind3(QUdpSocketH handle, const QHostAddressH address, quint16 port, unsigned int mode); C_EXPORT bool QUdpSocket_bind4(QUdpSocketH handle, quint16 port, unsigned int mode); C_EXPORT bool QUdpSocket_hasPendingDatagrams(QUdpSocketH handle); C_EXPORT qint64 QUdpSocket_pendingDatagramSize(QUdpSocketH handle); C_EXPORT qint64 QUdpSocket_readDatagram(QUdpSocketH handle, char* data, qint64 maxlen, QHostAddressH host, quint16* port); C_EXPORT qint64 QUdpSocket_writeDatagram(QUdpSocketH handle, const char* data, qint64 len, const QHostAddressH host, quint16 port); C_EXPORT qint64 QUdpSocket_writeDatagram2(QUdpSocketH handle, const QByteArrayH datagram, const QHostAddressH host, quint16 port); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qslider_hook_c.cpp0000664000212600021260000000130511677135472020523 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qslider_hook_c.h" QSlider_hookH QSlider_hook_create(QObjectH handle) { return (QSlider_hookH) new QSlider_hook((QObject*)handle); } void QSlider_hook_destroy(QSlider_hookH handle) { delete (QSlider_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmainwindow_c.cpp0000664000212600021260000002025111677135472020376 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qmainwindow_c.h" QMainWindowH QMainWindow_create(QWidgetH parent, unsigned int flags) { return (QMainWindowH) new QMainWindow((QWidget*)parent, (Qt::WindowFlags)flags); } void QMainWindow_destroy(QMainWindowH handle) { delete (QMainWindow *)handle; } void QMainWindow_iconSize(QMainWindowH handle, PSize retval) { *(QSize *)retval = ((QMainWindow *)handle)->iconSize(); } void QMainWindow_setIconSize(QMainWindowH handle, const QSizeH iconSize) { ((QMainWindow *)handle)->setIconSize(*(const QSize*)iconSize); } Qt::ToolButtonStyle QMainWindow_toolButtonStyle(QMainWindowH handle) { return (Qt::ToolButtonStyle) ((QMainWindow *)handle)->toolButtonStyle(); } void QMainWindow_setToolButtonStyle(QMainWindowH handle, Qt::ToolButtonStyle toolButtonStyle) { ((QMainWindow *)handle)->setToolButtonStyle(toolButtonStyle); } bool QMainWindow_isAnimated(QMainWindowH handle) { return (bool) ((QMainWindow *)handle)->isAnimated(); } bool QMainWindow_isDockNestingEnabled(QMainWindowH handle) { return (bool) ((QMainWindow *)handle)->isDockNestingEnabled(); } bool QMainWindow_documentMode(QMainWindowH handle) { return (bool) ((QMainWindow *)handle)->documentMode(); } void QMainWindow_setDocumentMode(QMainWindowH handle, bool enabled) { ((QMainWindow *)handle)->setDocumentMode(enabled); } QTabWidget::TabShape QMainWindow_tabShape(QMainWindowH handle) { return (QTabWidget::TabShape) ((QMainWindow *)handle)->tabShape(); } void QMainWindow_setTabShape(QMainWindowH handle, QTabWidget::TabShape tabShape) { ((QMainWindow *)handle)->setTabShape(tabShape); } QTabWidget::TabPosition QMainWindow_tabPosition(QMainWindowH handle, Qt::DockWidgetArea area) { return (QTabWidget::TabPosition) ((QMainWindow *)handle)->tabPosition(area); } void QMainWindow_setTabPosition(QMainWindowH handle, unsigned int areas, QTabWidget::TabPosition tabPosition) { ((QMainWindow *)handle)->setTabPosition((Qt::DockWidgetAreas)areas, tabPosition); } void QMainWindow_setDockOptions(QMainWindowH handle, unsigned int options) { ((QMainWindow *)handle)->setDockOptions((QMainWindow::DockOptions)options); } unsigned int QMainWindow_dockOptions(QMainWindowH handle) { return (unsigned int) ((QMainWindow *)handle)->dockOptions(); } bool QMainWindow_isSeparator(QMainWindowH handle, const QPointH pos) { return (bool) ((QMainWindow *)handle)->isSeparator(*(const QPoint*)pos); } QMenuBarH QMainWindow_menuBar(QMainWindowH handle) { return (QMenuBarH) ((QMainWindow *)handle)->menuBar(); } void QMainWindow_setMenuBar(QMainWindowH handle, QMenuBarH menubar) { ((QMainWindow *)handle)->setMenuBar((QMenuBar*)menubar); } QWidgetH QMainWindow_menuWidget(QMainWindowH handle) { return (QWidgetH) ((QMainWindow *)handle)->menuWidget(); } void QMainWindow_setMenuWidget(QMainWindowH handle, QWidgetH menubar) { ((QMainWindow *)handle)->setMenuWidget((QWidget*)menubar); } QStatusBarH QMainWindow_statusBar(QMainWindowH handle) { return (QStatusBarH) ((QMainWindow *)handle)->statusBar(); } void QMainWindow_setStatusBar(QMainWindowH handle, QStatusBarH statusbar) { ((QMainWindow *)handle)->setStatusBar((QStatusBar*)statusbar); } QWidgetH QMainWindow_centralWidget(QMainWindowH handle) { return (QWidgetH) ((QMainWindow *)handle)->centralWidget(); } void QMainWindow_setCentralWidget(QMainWindowH handle, QWidgetH widget) { ((QMainWindow *)handle)->setCentralWidget((QWidget*)widget); } void QMainWindow_setCorner(QMainWindowH handle, Qt::Corner corner, Qt::DockWidgetArea area) { ((QMainWindow *)handle)->setCorner(corner, area); } Qt::DockWidgetArea QMainWindow_corner(QMainWindowH handle, Qt::Corner corner) { return (Qt::DockWidgetArea) ((QMainWindow *)handle)->corner(corner); } void QMainWindow_addToolBarBreak(QMainWindowH handle, Qt::ToolBarArea area) { ((QMainWindow *)handle)->addToolBarBreak(area); } void QMainWindow_insertToolBarBreak(QMainWindowH handle, QToolBarH before) { ((QMainWindow *)handle)->insertToolBarBreak((QToolBar*)before); } void QMainWindow_addToolBar(QMainWindowH handle, Qt::ToolBarArea area, QToolBarH toolbar) { ((QMainWindow *)handle)->addToolBar(area, (QToolBar*)toolbar); } void QMainWindow_addToolBar2(QMainWindowH handle, QToolBarH toolbar) { ((QMainWindow *)handle)->addToolBar((QToolBar*)toolbar); } QToolBarH QMainWindow_addToolBar3(QMainWindowH handle, PWideString title) { QString t_title; copyPWideStringToQString(title, t_title); return (QToolBarH) ((QMainWindow *)handle)->addToolBar(t_title); } void QMainWindow_insertToolBar(QMainWindowH handle, QToolBarH before, QToolBarH toolbar) { ((QMainWindow *)handle)->insertToolBar((QToolBar*)before, (QToolBar*)toolbar); } void QMainWindow_removeToolBar(QMainWindowH handle, QToolBarH toolbar) { ((QMainWindow *)handle)->removeToolBar((QToolBar*)toolbar); } void QMainWindow_removeToolBarBreak(QMainWindowH handle, QToolBarH before) { ((QMainWindow *)handle)->removeToolBarBreak((QToolBar*)before); } void QMainWindow_setUnifiedTitleAndToolBarOnMac(QMainWindowH handle, bool set) { ((QMainWindow *)handle)->setUnifiedTitleAndToolBarOnMac(set); } bool QMainWindow_unifiedTitleAndToolBarOnMac(QMainWindowH handle) { return (bool) ((QMainWindow *)handle)->unifiedTitleAndToolBarOnMac(); } Qt::ToolBarArea QMainWindow_toolBarArea(QMainWindowH handle, QToolBarH toolbar) { return (Qt::ToolBarArea) ((QMainWindow *)handle)->toolBarArea((QToolBar*)toolbar); } bool QMainWindow_toolBarBreak(QMainWindowH handle, QToolBarH toolbar) { return (bool) ((QMainWindow *)handle)->toolBarBreak((QToolBar*)toolbar); } void QMainWindow_addDockWidget(QMainWindowH handle, Qt::DockWidgetArea area, QDockWidgetH dockwidget) { ((QMainWindow *)handle)->addDockWidget(area, (QDockWidget*)dockwidget); } void QMainWindow_addDockWidget2(QMainWindowH handle, Qt::DockWidgetArea area, QDockWidgetH dockwidget, Qt::Orientation orientation) { ((QMainWindow *)handle)->addDockWidget(area, (QDockWidget*)dockwidget, orientation); } void QMainWindow_splitDockWidget(QMainWindowH handle, QDockWidgetH after, QDockWidgetH dockwidget, Qt::Orientation orientation) { ((QMainWindow *)handle)->splitDockWidget((QDockWidget*)after, (QDockWidget*)dockwidget, orientation); } void QMainWindow_tabifyDockWidget(QMainWindowH handle, QDockWidgetH first, QDockWidgetH second) { ((QMainWindow *)handle)->tabifyDockWidget((QDockWidget*)first, (QDockWidget*)second); } void QMainWindow_tabifiedDockWidgets(QMainWindowH handle, PPtrIntArray retval, QDockWidgetH dockwidget) { QList t_retval; t_retval = ((QMainWindow *)handle)->tabifiedDockWidgets((QDockWidget*)dockwidget); copyQListTemplateToPtrIntArray(t_retval, retval); } void QMainWindow_removeDockWidget(QMainWindowH handle, QDockWidgetH dockwidget) { ((QMainWindow *)handle)->removeDockWidget((QDockWidget*)dockwidget); } bool QMainWindow_restoreDockWidget(QMainWindowH handle, QDockWidgetH dockwidget) { return (bool) ((QMainWindow *)handle)->restoreDockWidget((QDockWidget*)dockwidget); } Qt::DockWidgetArea QMainWindow_dockWidgetArea(QMainWindowH handle, QDockWidgetH dockwidget) { return (Qt::DockWidgetArea) ((QMainWindow *)handle)->dockWidgetArea((QDockWidget*)dockwidget); } void QMainWindow_saveState(QMainWindowH handle, QByteArrayH retval, int version) { *(QByteArray *)retval = ((QMainWindow *)handle)->saveState(version); } bool QMainWindow_restoreState(QMainWindowH handle, const QByteArrayH state, int version) { return (bool) ((QMainWindow *)handle)->restoreState(*(const QByteArray*)state, version); } QMenuH QMainWindow_createPopupMenu(QMainWindowH handle) { return (QMenuH) ((QMainWindow *)handle)->createPopupMenu(); } void QMainWindow_setAnimated(QMainWindowH handle, bool enabled) { ((QMainWindow *)handle)->setAnimated(enabled); } void QMainWindow_setDockNestingEnabled(QMainWindowH handle, bool enabled) { ((QMainWindow *)handle)->setDockNestingEnabled(enabled); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmenu_c.h0000664000212600021260000000631211677135472016635 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMENU_C_H #define QMENU_C_H #include #include "pascalbind.h" C_EXPORT QMenuH QMenu_create(QWidgetH parent); C_EXPORT void QMenu_destroy(QMenuH handle); C_EXPORT QMenuH QMenu_create2(PWideString title, QWidgetH parent); C_EXPORT QActionH QMenu_addAction(QMenuH handle, PWideString text); C_EXPORT QActionH QMenu_addAction2(QMenuH handle, const QIconH icon, PWideString text); C_EXPORT QActionH QMenu_addAction3(QMenuH handle, PWideString text, const QObjectH receiver, const char* member, const QKeySequenceH shortcut); C_EXPORT QActionH QMenu_addAction4(QMenuH handle, const QIconH icon, PWideString text, const QObjectH receiver, const char* member, const QKeySequenceH shortcut); C_EXPORT QActionH QMenu_addMenu(QMenuH handle, QMenuH menu); C_EXPORT QMenuH QMenu_addMenu2(QMenuH handle, PWideString title); C_EXPORT QMenuH QMenu_addMenu3(QMenuH handle, const QIconH icon, PWideString title); C_EXPORT QActionH QMenu_addSeparator(QMenuH handle); C_EXPORT QActionH QMenu_insertMenu(QMenuH handle, QActionH before, QMenuH menu); C_EXPORT QActionH QMenu_insertSeparator(QMenuH handle, QActionH before); C_EXPORT bool QMenu_isEmpty(QMenuH handle); C_EXPORT void QMenu_clear(QMenuH handle); C_EXPORT void QMenu_setTearOffEnabled(QMenuH handle, bool AnonParam1); C_EXPORT bool QMenu_isTearOffEnabled(QMenuH handle); C_EXPORT bool QMenu_isTearOffMenuVisible(QMenuH handle); C_EXPORT void QMenu_hideTearOffMenu(QMenuH handle); C_EXPORT void QMenu_setDefaultAction(QMenuH handle, QActionH AnonParam1); C_EXPORT QActionH QMenu_defaultAction(QMenuH handle); C_EXPORT void QMenu_setActiveAction(QMenuH handle, QActionH act); C_EXPORT QActionH QMenu_activeAction(QMenuH handle); C_EXPORT void QMenu_popup(QMenuH handle, const QPointH pos, QActionH at); C_EXPORT QActionH QMenu_exec(QMenuH handle); C_EXPORT QActionH QMenu_exec2(QMenuH handle, const QPointH pos, QActionH at); C_EXPORT QActionH QMenu_exec3(PPtrIntArray actions, const QPointH pos, QActionH at); C_EXPORT QActionH QMenu_exec4(PPtrIntArray actions, const QPointH pos, QActionH at, QWidgetH parent); C_EXPORT void QMenu_sizeHint(QMenuH handle, PSize retval); C_EXPORT void QMenu_actionGeometry(QMenuH handle, PRect retval, QActionH AnonParam1); C_EXPORT QActionH QMenu_actionAt(QMenuH handle, const QPointH AnonParam1); C_EXPORT QActionH QMenu_menuAction(QMenuH handle); C_EXPORT void QMenu_title(QMenuH handle, PWideString retval); C_EXPORT void QMenu_setTitle(QMenuH handle, PWideString title); C_EXPORT void QMenu_icon(QMenuH handle, QIconH retval); C_EXPORT void QMenu_setIcon(QMenuH handle, const QIconH icon); C_EXPORT void QMenu_setNoReplayFor(QMenuH handle, QWidgetH widget); C_EXPORT bool QMenu_separatorsCollapsible(QMenuH handle); C_EXPORT void QMenu_setSeparatorsCollapsible(QMenuH handle, bool collapse); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qurl_c.cpp0000664000212600021260000002752211677135472017034 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qurl_c.h" QUrlH QUrl_create() { return (QUrlH) new QUrl(); } void QUrl_destroy(QUrlH handle) { delete (QUrl *)handle; } QUrlH QUrl_create2(PWideString url) { QString t_url; copyPWideStringToQString(url, t_url); return (QUrlH) new QUrl(t_url); } QUrlH QUrl_create3(PWideString url, QUrl::ParsingMode mode) { QString t_url; copyPWideStringToQString(url, t_url); return (QUrlH) new QUrl(t_url, mode); } QUrlH QUrl_create4(const QUrlH copy) { return (QUrlH) new QUrl(*(const QUrl*)copy); } void QUrl_setUrl(QUrlH handle, PWideString url) { QString t_url; copyPWideStringToQString(url, t_url); ((QUrl *)handle)->setUrl(t_url); } void QUrl_setUrl2(QUrlH handle, PWideString url, QUrl::ParsingMode mode) { QString t_url; copyPWideStringToQString(url, t_url); ((QUrl *)handle)->setUrl(t_url, mode); } void QUrl_setEncodedUrl(QUrlH handle, const QByteArrayH url) { ((QUrl *)handle)->setEncodedUrl(*(const QByteArray*)url); } void QUrl_setEncodedUrl2(QUrlH handle, const QByteArrayH url, QUrl::ParsingMode mode) { ((QUrl *)handle)->setEncodedUrl(*(const QByteArray*)url, mode); } bool QUrl_isValid(QUrlH handle) { return (bool) ((QUrl *)handle)->isValid(); } bool QUrl_isEmpty(QUrlH handle) { return (bool) ((QUrl *)handle)->isEmpty(); } void QUrl_clear(QUrlH handle) { ((QUrl *)handle)->clear(); } void QUrl_setScheme(QUrlH handle, PWideString scheme) { QString t_scheme; copyPWideStringToQString(scheme, t_scheme); ((QUrl *)handle)->setScheme(t_scheme); } void QUrl_scheme(QUrlH handle, PWideString retval) { QString t_retval; t_retval = ((QUrl *)handle)->scheme(); copyQStringToPWideString(t_retval, retval); } void QUrl_setAuthority(QUrlH handle, PWideString authority) { QString t_authority; copyPWideStringToQString(authority, t_authority); ((QUrl *)handle)->setAuthority(t_authority); } void QUrl_authority(QUrlH handle, PWideString retval) { QString t_retval; t_retval = ((QUrl *)handle)->authority(); copyQStringToPWideString(t_retval, retval); } void QUrl_setUserInfo(QUrlH handle, PWideString userInfo) { QString t_userInfo; copyPWideStringToQString(userInfo, t_userInfo); ((QUrl *)handle)->setUserInfo(t_userInfo); } void QUrl_userInfo(QUrlH handle, PWideString retval) { QString t_retval; t_retval = ((QUrl *)handle)->userInfo(); copyQStringToPWideString(t_retval, retval); } void QUrl_setUserName(QUrlH handle, PWideString userName) { QString t_userName; copyPWideStringToQString(userName, t_userName); ((QUrl *)handle)->setUserName(t_userName); } void QUrl_userName(QUrlH handle, PWideString retval) { QString t_retval; t_retval = ((QUrl *)handle)->userName(); copyQStringToPWideString(t_retval, retval); } void QUrl_setEncodedUserName(QUrlH handle, const QByteArrayH userName) { ((QUrl *)handle)->setEncodedUserName(*(const QByteArray*)userName); } void QUrl_encodedUserName(QUrlH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QUrl *)handle)->encodedUserName(); } void QUrl_setPassword(QUrlH handle, PWideString password) { QString t_password; copyPWideStringToQString(password, t_password); ((QUrl *)handle)->setPassword(t_password); } void QUrl_password(QUrlH handle, PWideString retval) { QString t_retval; t_retval = ((QUrl *)handle)->password(); copyQStringToPWideString(t_retval, retval); } void QUrl_setEncodedPassword(QUrlH handle, const QByteArrayH password) { ((QUrl *)handle)->setEncodedPassword(*(const QByteArray*)password); } void QUrl_encodedPassword(QUrlH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QUrl *)handle)->encodedPassword(); } void QUrl_setHost(QUrlH handle, PWideString host) { QString t_host; copyPWideStringToQString(host, t_host); ((QUrl *)handle)->setHost(t_host); } void QUrl_host(QUrlH handle, PWideString retval) { QString t_retval; t_retval = ((QUrl *)handle)->host(); copyQStringToPWideString(t_retval, retval); } void QUrl_setEncodedHost(QUrlH handle, const QByteArrayH host) { ((QUrl *)handle)->setEncodedHost(*(const QByteArray*)host); } void QUrl_encodedHost(QUrlH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QUrl *)handle)->encodedHost(); } void QUrl_setPort(QUrlH handle, int port) { ((QUrl *)handle)->setPort(port); } int QUrl_port(QUrlH handle) { return (int) ((QUrl *)handle)->port(); } int QUrl_port2(QUrlH handle, int defaultPort) { return (int) ((QUrl *)handle)->port(defaultPort); } void QUrl_setPath(QUrlH handle, PWideString path) { QString t_path; copyPWideStringToQString(path, t_path); ((QUrl *)handle)->setPath(t_path); } void QUrl_path(QUrlH handle, PWideString retval) { QString t_retval; t_retval = ((QUrl *)handle)->path(); copyQStringToPWideString(t_retval, retval); } void QUrl_setEncodedPath(QUrlH handle, const QByteArrayH path) { ((QUrl *)handle)->setEncodedPath(*(const QByteArray*)path); } void QUrl_encodedPath(QUrlH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QUrl *)handle)->encodedPath(); } bool QUrl_hasQuery(QUrlH handle) { return (bool) ((QUrl *)handle)->hasQuery(); } void QUrl_setEncodedQuery(QUrlH handle, const QByteArrayH query) { ((QUrl *)handle)->setEncodedQuery(*(const QByteArray*)query); } void QUrl_encodedQuery(QUrlH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QUrl *)handle)->encodedQuery(); } void QUrl_setQueryDelimiters(QUrlH handle, char valueDelimiter, char pairDelimiter) { ((QUrl *)handle)->setQueryDelimiters(valueDelimiter, pairDelimiter); } char QUrl_queryValueDelimiter(QUrlH handle) { return (char) ((QUrl *)handle)->queryValueDelimiter(); } char QUrl_queryPairDelimiter(QUrlH handle) { return (char) ((QUrl *)handle)->queryPairDelimiter(); } void QUrl_addQueryItem(QUrlH handle, PWideString key, PWideString value) { QString t_key; QString t_value; copyPWideStringToQString(key, t_key); copyPWideStringToQString(value, t_value); ((QUrl *)handle)->addQueryItem(t_key, t_value); } bool QUrl_hasQueryItem(QUrlH handle, PWideString key) { QString t_key; copyPWideStringToQString(key, t_key); return (bool) ((QUrl *)handle)->hasQueryItem(t_key); } void QUrl_queryItemValue(QUrlH handle, PWideString retval, PWideString key) { QString t_retval; QString t_key; copyPWideStringToQString(key, t_key); t_retval = ((QUrl *)handle)->queryItemValue(t_key); copyQStringToPWideString(t_retval, retval); } void QUrl_allQueryItemValues(QUrlH handle, QStringListH retval, PWideString key) { QString t_key; copyPWideStringToQString(key, t_key); *(QStringList *)retval = ((QUrl *)handle)->allQueryItemValues(t_key); } void QUrl_removeQueryItem(QUrlH handle, PWideString key) { QString t_key; copyPWideStringToQString(key, t_key); ((QUrl *)handle)->removeQueryItem(t_key); } void QUrl_removeAllQueryItems(QUrlH handle, PWideString key) { QString t_key; copyPWideStringToQString(key, t_key); ((QUrl *)handle)->removeAllQueryItems(t_key); } void QUrl_addEncodedQueryItem(QUrlH handle, const QByteArrayH key, const QByteArrayH value) { ((QUrl *)handle)->addEncodedQueryItem(*(const QByteArray*)key, *(const QByteArray*)value); } bool QUrl_hasEncodedQueryItem(QUrlH handle, const QByteArrayH key) { return (bool) ((QUrl *)handle)->hasEncodedQueryItem(*(const QByteArray*)key); } void QUrl_encodedQueryItemValue(QUrlH handle, QByteArrayH retval, const QByteArrayH key) { *(QByteArray *)retval = ((QUrl *)handle)->encodedQueryItemValue(*(const QByteArray*)key); } void QUrl_removeEncodedQueryItem(QUrlH handle, const QByteArrayH key) { ((QUrl *)handle)->removeEncodedQueryItem(*(const QByteArray*)key); } void QUrl_removeAllEncodedQueryItems(QUrlH handle, const QByteArrayH key) { ((QUrl *)handle)->removeAllEncodedQueryItems(*(const QByteArray*)key); } void QUrl_setFragment(QUrlH handle, PWideString fragment) { QString t_fragment; copyPWideStringToQString(fragment, t_fragment); ((QUrl *)handle)->setFragment(t_fragment); } void QUrl_fragment(QUrlH handle, PWideString retval) { QString t_retval; t_retval = ((QUrl *)handle)->fragment(); copyQStringToPWideString(t_retval, retval); } void QUrl_setEncodedFragment(QUrlH handle, const QByteArrayH fragment) { ((QUrl *)handle)->setEncodedFragment(*(const QByteArray*)fragment); } void QUrl_encodedFragment(QUrlH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QUrl *)handle)->encodedFragment(); } bool QUrl_hasFragment(QUrlH handle) { return (bool) ((QUrl *)handle)->hasFragment(); } void QUrl_resolved(QUrlH handle, QUrlH retval, const QUrlH relative) { *(QUrl *)retval = ((QUrl *)handle)->resolved(*(const QUrl*)relative); } bool QUrl_isRelative(QUrlH handle) { return (bool) ((QUrl *)handle)->isRelative(); } bool QUrl_isParentOf(QUrlH handle, const QUrlH url) { return (bool) ((QUrl *)handle)->isParentOf(*(const QUrl*)url); } void QUrl_fromLocalFile(QUrlH retval, PWideString localfile) { QString t_localfile; copyPWideStringToQString(localfile, t_localfile); *(QUrl *)retval = QUrl::fromLocalFile(t_localfile); } void QUrl_toLocalFile(QUrlH handle, PWideString retval) { QString t_retval; t_retval = ((QUrl *)handle)->toLocalFile(); copyQStringToPWideString(t_retval, retval); } void QUrl_toString(QUrlH handle, PWideString retval, unsigned int options) { QString t_retval; t_retval = ((QUrl *)handle)->toString((QUrl::FormattingOptions)options); copyQStringToPWideString(t_retval, retval); } void QUrl_toEncoded(QUrlH handle, QByteArrayH retval, unsigned int options) { *(QByteArray *)retval = ((QUrl *)handle)->toEncoded((QUrl::FormattingOptions)options); } void QUrl_fromEncoded(QUrlH retval, const QByteArrayH url) { *(QUrl *)retval = QUrl::fromEncoded(*(const QByteArray*)url); } void QUrl_fromEncoded2(QUrlH retval, const QByteArrayH url, QUrl::ParsingMode mode) { *(QUrl *)retval = QUrl::fromEncoded(*(const QByteArray*)url, mode); } void QUrl_detach(QUrlH handle) { ((QUrl *)handle)->detach(); } bool QUrl_isDetached(QUrlH handle) { return (bool) ((QUrl *)handle)->isDetached(); } void QUrl_fromPercentEncoding(PWideString retval, const QByteArrayH AnonParam1) { QString t_retval; t_retval = QUrl::fromPercentEncoding(*(const QByteArray*)AnonParam1); copyQStringToPWideString(t_retval, retval); } void QUrl_toPercentEncoding(QByteArrayH retval, PWideString AnonParam1, const QByteArrayH exclude, const QByteArrayH include) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); *(QByteArray *)retval = QUrl::toPercentEncoding(t_AnonParam1, *(const QByteArray*)exclude, *(const QByteArray*)include); } void QUrl_fromPunycode(PWideString retval, const QByteArrayH AnonParam1) { QString t_retval; t_retval = QUrl::fromPunycode(*(const QByteArray*)AnonParam1); copyQStringToPWideString(t_retval, retval); } void QUrl_toPunycode(QByteArrayH retval, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); *(QByteArray *)retval = QUrl::toPunycode(t_AnonParam1); } void QUrl_fromAce(PWideString retval, const QByteArrayH AnonParam1) { QString t_retval; t_retval = QUrl::fromAce(*(const QByteArray*)AnonParam1); copyQStringToPWideString(t_retval, retval); } void QUrl_toAce(QByteArrayH retval, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); *(QByteArray *)retval = QUrl::toAce(t_AnonParam1); } void QUrl_idnWhitelist(QStringListH retval) { *(QStringList *)retval = QUrl::idnWhitelist(); } void QUrl_setIdnWhitelist(const QStringListH AnonParam1) { QUrl::setIdnWhitelist(*(const QStringList*)AnonParam1); } void QUrl_errorString(QUrlH handle, PWideString retval) { QString t_retval; t_retval = ((QUrl *)handle)->errorString(); copyQStringToPWideString(t_retval, retval); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclnetworkcookie_c.h0000664000212600021260000000170311677135472021246 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLCLNETWORKCOOKIE_C_H #define QLCLNETWORKCOOKIE_C_H #include "qlclnetworkcookie.h" #include "pascalbind.h" C_EXPORT QLCLNetworkCookieJarH QLCLNetworkCookieJar_create(QObjectH parent); C_EXPORT void QLCLNetworkCookieJar_destroy(QLCLNetworkCookieJarH handle); C_EXPORT void QLCLNetworkCookieJar_setRawCookies(QLCLNetworkCookieJarH handle, const char* rawCookies); C_EXPORT void QLCLNetworkCookieJar_getRawCookies(QLCLNetworkCookieJarH handle, QByteArrayH rawCookies); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtranslator_c.cpp0000664000212600021260000000405011677135472020412 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtranslator_c.h" QTranslatorH QTranslator_create(QObjectH parent) { return (QTranslatorH) new QTranslator((QObject*)parent); } void QTranslator_destroy(QTranslatorH handle) { delete (QTranslator *)handle; } void QTranslator_translate(QTranslatorH handle, PWideString retval, const char* context, const char* sourceText, const char* disambiguation) { QString t_retval; t_retval = ((QTranslator *)handle)->translate(context, sourceText, disambiguation); copyQStringToPWideString(t_retval, retval); } void QTranslator_translate2(QTranslatorH handle, PWideString retval, const char* context, const char* sourceText, const char* disambiguation, int n) { QString t_retval; t_retval = ((QTranslator *)handle)->translate(context, sourceText, disambiguation, n); copyQStringToPWideString(t_retval, retval); } bool QTranslator_isEmpty(QTranslatorH handle) { return (bool) ((QTranslator *)handle)->isEmpty(); } bool QTranslator_load(QTranslatorH handle, PWideString filename, PWideString directory, PWideString search_delimiters, PWideString suffix) { QString t_filename; QString t_directory; QString t_search_delimiters; QString t_suffix; copyPWideStringToQString(filename, t_filename); copyPWideStringToQString(directory, t_directory); copyPWideStringToQString(search_delimiters, t_search_delimiters); copyPWideStringToQString(suffix, t_suffix); return (bool) ((QTranslator *)handle)->load(t_filename, t_directory, t_search_delimiters, t_suffix); } bool QTranslator_load2(QTranslatorH handle, const uchar* data, int len) { return (bool) ((QTranslator *)handle)->load(data, len); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcolor_c.h0000664000212600021260000001212611677135472017007 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCOLOR_C_H #define QCOLOR_C_H #include #include "pascalbind.h" C_EXPORT QColorH QColor_create(); C_EXPORT void QColor_destroy(QColorH handle); C_EXPORT QColorH QColor_create2(Qt::GlobalColor color); C_EXPORT QColorH QColor_create3(int r, int g, int b, int a); C_EXPORT QColorH QColor_create4(QRgb rgb); C_EXPORT QColorH QColor_create5(PWideString name); C_EXPORT QColorH QColor_create6(const char* name); C_EXPORT QColorH QColor_create7(const QColorH color); C_EXPORT QColorH QColor_create8(QColor::Spec spec); C_EXPORT bool QColor_isValid(QColorH handle); C_EXPORT void QColor_name(QColorH handle, PWideString retval); C_EXPORT void QColor_setNamedColor(QColorH handle, PWideString name); C_EXPORT void QColor_colorNames(QStringListH retval); C_EXPORT QColor::Spec QColor_spec(QColorH handle); C_EXPORT int QColor_alpha(QColorH handle); C_EXPORT void QColor_setAlpha(QColorH handle, int alpha); C_EXPORT qreal QColor_alphaF(QColorH handle); C_EXPORT void QColor_setAlphaF(QColorH handle, qreal alpha); C_EXPORT int QColor_red(QColorH handle); C_EXPORT int QColor_green(QColorH handle); C_EXPORT int QColor_blue(QColorH handle); C_EXPORT void QColor_setRed(QColorH handle, int red); C_EXPORT void QColor_setGreen(QColorH handle, int green); C_EXPORT void QColor_setBlue(QColorH handle, int blue); C_EXPORT qreal QColor_redF(QColorH handle); C_EXPORT qreal QColor_greenF(QColorH handle); C_EXPORT qreal QColor_blueF(QColorH handle); C_EXPORT void QColor_setRedF(QColorH handle, qreal red); C_EXPORT void QColor_setGreenF(QColorH handle, qreal green); C_EXPORT void QColor_setBlueF(QColorH handle, qreal blue); C_EXPORT void QColor_getRgb(QColorH handle, int* r, int* g, int* b, int* a); C_EXPORT void QColor_setRgb(QColorH handle, int r, int g, int b, int a); C_EXPORT void QColor_getRgbF(QColorH handle, qreal* r, qreal* g, qreal* b, qreal* a); C_EXPORT void QColor_setRgbF(QColorH handle, qreal r, qreal g, qreal b, qreal a); C_EXPORT QRgb QColor_rgba(QColorH handle); C_EXPORT void QColor_setRgba(QColorH handle, QRgb rgba); C_EXPORT QRgb QColor_rgb(QColorH handle); C_EXPORT void QColor_setRgb2(QColorH handle, QRgb rgb); C_EXPORT int QColor_hue(QColorH handle); C_EXPORT int QColor_saturation(QColorH handle); C_EXPORT int QColor_value(QColorH handle); C_EXPORT qreal QColor_hueF(QColorH handle); C_EXPORT qreal QColor_saturationF(QColorH handle); C_EXPORT qreal QColor_valueF(QColorH handle); C_EXPORT void QColor_getHsv(QColorH handle, int* h, int* s, int* v, int* a); C_EXPORT void QColor_setHsv(QColorH handle, int h, int s, int v, int a); C_EXPORT void QColor_getHsvF(QColorH handle, qreal* h, qreal* s, qreal* v, qreal* a); C_EXPORT void QColor_setHsvF(QColorH handle, qreal h, qreal s, qreal v, qreal a); C_EXPORT int QColor_cyan(QColorH handle); C_EXPORT int QColor_magenta(QColorH handle); C_EXPORT int QColor_yellow(QColorH handle); C_EXPORT int QColor_black(QColorH handle); C_EXPORT qreal QColor_cyanF(QColorH handle); C_EXPORT qreal QColor_magentaF(QColorH handle); C_EXPORT qreal QColor_yellowF(QColorH handle); C_EXPORT qreal QColor_blackF(QColorH handle); C_EXPORT void QColor_getCmyk(QColorH handle, int* c, int* m, int* y, int* k, int* a); C_EXPORT void QColor_setCmyk(QColorH handle, int c, int m, int y, int k, int a); C_EXPORT void QColor_getCmykF(QColorH handle, qreal* c, qreal* m, qreal* y, qreal* k, qreal* a); C_EXPORT void QColor_setCmykF(QColorH handle, qreal c, qreal m, qreal y, qreal k, qreal a); C_EXPORT void QColor_toRgb(QColorH handle, PQColor retval); C_EXPORT void QColor_toHsv(QColorH handle, PQColor retval); C_EXPORT void QColor_toCmyk(QColorH handle, PQColor retval); C_EXPORT void QColor_convertTo(QColorH handle, PQColor retval, QColor::Spec colorSpec); C_EXPORT void QColor_fromRgb(PQColor retval, QRgb rgb); C_EXPORT void QColor_fromRgba(PQColor retval, QRgb rgba); C_EXPORT void QColor_fromRgb2(PQColor retval, int r, int g, int b, int a); C_EXPORT void QColor_fromRgbF(PQColor retval, qreal r, qreal g, qreal b, qreal a); C_EXPORT void QColor_fromHsv(PQColor retval, int h, int s, int v, int a); C_EXPORT void QColor_fromHsvF(PQColor retval, qreal h, qreal s, qreal v, qreal a); C_EXPORT void QColor_fromCmyk(PQColor retval, int c, int m, int y, int k, int a); C_EXPORT void QColor_fromCmykF(PQColor retval, qreal c, qreal m, qreal y, qreal k, qreal a); C_EXPORT void QColor_light(QColorH handle, PQColor retval, int f); C_EXPORT void QColor_lighter(QColorH handle, PQColor retval, int f); C_EXPORT void QColor_dark(QColorH handle, PQColor retval, int f); C_EXPORT void QColor_darker(QColorH handle, PQColor retval, int f); #if defined BINUX C_EXPORT bool QColor_allowX11ColorNames(); C_EXPORT void QColor_setAllowX11ColorNames(bool enabled); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpixmap_c.h0000664000212600021260000001350611677135472017172 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPIXMAP_C_H #define QPIXMAP_C_H #include #include "pascalbind.h" C_EXPORT QPixmapH QPixmap_create(); C_EXPORT void QPixmap_destroy(QPixmapH handle); C_EXPORT QPixmapH QPixmap_create2(int w, int h); C_EXPORT QPixmapH QPixmap_create3(const QSizeH AnonParam1); C_EXPORT QPixmapH QPixmap_create4(PWideString fileName, const char* format, unsigned int flags); C_EXPORT QPixmapH QPixmap_create5(const char* const xpm); C_EXPORT QPixmapH QPixmap_create6(const QPixmapH AnonParam1); C_EXPORT bool QPixmap_isNull(QPixmapH handle); C_EXPORT int QPixmap_devType(QPixmapH handle); C_EXPORT int QPixmap_width(QPixmapH handle); C_EXPORT int QPixmap_height(QPixmapH handle); C_EXPORT void QPixmap_size(QPixmapH handle, PSize retval); C_EXPORT void QPixmap_rect(QPixmapH handle, PRect retval); C_EXPORT int QPixmap_depth(QPixmapH handle); C_EXPORT int QPixmap_defaultDepth(); C_EXPORT void QPixmap_fill(QPixmapH handle, const QColorH fillColor); C_EXPORT void QPixmap_fill2(QPixmapH handle, const QWidgetH widget, const QPointH ofs); C_EXPORT void QPixmap_fill3(QPixmapH handle, const QWidgetH widget, int xofs, int yofs); C_EXPORT void QPixmap_mask(QPixmapH handle, QBitmapH retval); C_EXPORT void QPixmap_setMask(QPixmapH handle, const QBitmapH AnonParam1); C_EXPORT void QPixmap_alphaChannel(QPixmapH handle, QPixmapH retval); C_EXPORT void QPixmap_setAlphaChannel(QPixmapH handle, const QPixmapH AnonParam1); C_EXPORT bool QPixmap_hasAlpha(QPixmapH handle); C_EXPORT bool QPixmap_hasAlphaChannel(QPixmapH handle); C_EXPORT void QPixmap_createHeuristicMask(QPixmapH handle, QBitmapH retval, bool clipTight); C_EXPORT void QPixmap_createMaskFromColor(QPixmapH handle, QBitmapH retval, const QColorH maskColor); C_EXPORT void QPixmap_createMaskFromColor2(QPixmapH handle, QBitmapH retval, const QColorH maskColor, Qt::MaskMode mode); C_EXPORT void QPixmap_grabWindow(QPixmapH retval, unsigned int AnonParam1, int x, int y, int w, int h); C_EXPORT void QPixmap_grabWidget(QPixmapH retval, QWidgetH widget, PRect rect); C_EXPORT void QPixmap_grabWidget2(QPixmapH retval, QWidgetH widget, int x, int y, int w, int h); C_EXPORT void QPixmap_scaled(QPixmapH handle, QPixmapH retval, int w, int h, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode); C_EXPORT void QPixmap_scaled2(QPixmapH handle, QPixmapH retval, const QSizeH s, Qt::AspectRatioMode aspectMode, Qt::TransformationMode mode); C_EXPORT void QPixmap_scaledToWidth(QPixmapH handle, QPixmapH retval, int w, Qt::TransformationMode mode); C_EXPORT void QPixmap_scaledToHeight(QPixmapH handle, QPixmapH retval, int h, Qt::TransformationMode mode); C_EXPORT void QPixmap_transformed(QPixmapH handle, QPixmapH retval, const QMatrixH AnonParam1, Qt::TransformationMode mode); C_EXPORT void QPixmap_trueMatrix(QMatrixH retval, const QMatrixH m, int w, int h); C_EXPORT void QPixmap_transformed2(QPixmapH handle, QPixmapH retval, const QTransformH AnonParam1, Qt::TransformationMode mode); C_EXPORT void QPixmap_trueMatrix2(QTransformH retval, const QTransformH m, int w, int h); C_EXPORT void QPixmap_toImage(QPixmapH handle, QImageH retval); C_EXPORT void QPixmap_fromImage(QPixmapH retval, const QImageH image, unsigned int flags); C_EXPORT bool QPixmap_load(QPixmapH handle, PWideString fileName, const char* format, unsigned int flags); C_EXPORT bool QPixmap_loadFromData(QPixmapH handle, const uchar* buf, uint len, const char* format, unsigned int flags); C_EXPORT bool QPixmap_loadFromData2(QPixmapH handle, const QByteArrayH data, const char* format, unsigned int flags); C_EXPORT bool QPixmap_save(QPixmapH handle, PWideString fileName, const char* format, int quality); C_EXPORT bool QPixmap_save2(QPixmapH handle, QIODeviceH device, const char* format, int quality); C_EXPORT void QPixmap_copy(QPixmapH handle, QPixmapH retval, int x, int y, int width, int height); C_EXPORT void QPixmap_copy2(QPixmapH handle, QPixmapH retval, PRect rect); C_EXPORT int QPixmap_serialNumber(QPixmapH handle); C_EXPORT qint64 QPixmap_cacheKey(QPixmapH handle); C_EXPORT bool QPixmap_isDetached(QPixmapH handle); C_EXPORT void QPixmap_detach(QPixmapH handle); C_EXPORT bool QPixmap_isQBitmap(QPixmapH handle); #if defined BINUX C_EXPORT void QPixmap_fromX11Pixmap(QPixmapH retval, Qt::HANDLE pixmap, QPixmap::ShareMode mode); C_EXPORT int QPixmap_x11SetDefaultScreen(int screen); C_EXPORT void QPixmap_x11SetScreen(QPixmapH handle, int screen); C_EXPORT const QX11InfoH QPixmap_x11Info(QPixmapH handle); C_EXPORT Qt::HANDLE QPixmap_x11PictureHandle(QPixmapH handle); #endif #if defined BINUX || QTOPIA C_EXPORT Qt::HANDLE QPixmap_handle(QPixmapH handle); #endif C_EXPORT QPaintEngineH QPixmap_paintEngine(QPixmapH handle); #if defined MSWINDOWS C_EXPORT HBITMAP QPixmap_toWinHBITMAP(QPixmapH handle, QPixmap::HBitmapFormat format); C_EXPORT void QPixmap_fromWinHBITMAP(QPixmapH retval, HBITMAP hbitmap, QPixmap::HBitmapFormat format); #endif #if defined DARWIN C_EXPORT CGImageRef QPixmap_toMacCGImageRef(QPixmapH handle); C_EXPORT void QPixmap_fromMacCGImageRef(QPixmapH retval, CGImageRef image); C_EXPORT Qt::HANDLE QPixmap_macQDHandle(QPixmapH handle); C_EXPORT Qt::HANDLE QPixmap_macQDAlphaHandle(QPixmapH handle); C_EXPORT Qt::HANDLE QPixmap_macCGHandle(QPixmapH handle); #endif #if defined QTOPIA C_EXPORT const uchar* QPixmap_qwsBits(QPixmapH handle); C_EXPORT int QPixmap_qwsBytesPerLine(QPixmapH handle); C_EXPORT QRgb * QPixmap_clut(QPixmapH handle); C_EXPORT int QPixmap_numCols(QPixmapH handle); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfilesystemwatcher_hook_c.cpp0000664000212600021260000000214511677135472023006 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qfilesystemwatcher_hook_c.h" QFileSystemWatcher_hookH QFileSystemWatcher_hook_create(QObjectH handle) { return (QFileSystemWatcher_hookH) new QFileSystemWatcher_hook((QObject*)handle); } void QFileSystemWatcher_hook_destroy(QFileSystemWatcher_hookH handle) { delete (QFileSystemWatcher_hook *)handle; } void QFileSystemWatcher_hook_hook_fileChanged(QFileSystemWatcher_hookH handle, QHookH hook) { ((QFileSystemWatcher_hook *)handle)->hook_fileChanged(hook); } void QFileSystemWatcher_hook_hook_directoryChanged(QFileSystemWatcher_hookH handle, QHookH hook) { ((QFileSystemWatcher_hook *)handle)->hook_directoryChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstackedlayout_hook.h0000664000212600021260000000377711677135472021277 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTACKEDLAYOUT_HOOK_H #define QSTACKEDLAYOUT_HOOK_H #include #include "qlayout_hook.h" class QStackedLayout_hook : public QLayout_hook { Q_OBJECT public: QStackedLayout_hook(QObject *handle) : QLayout_hook(handle) { widgetRemoved_event.func = NULL; currentChanged_event.func = NULL; } void hook_widgetRemoved(QHook &hook) { if ( !widgetRemoved_event.func ) connect(handle, SIGNAL(widgetRemoved(int)), this, SLOT(widgetRemoved_hook(int))); widgetRemoved_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(widgetRemoved(int)), this, SLOT(widgetRemoved_hook(int))); } void hook_currentChanged(QHook &hook) { if ( !currentChanged_event.func ) connect(handle, SIGNAL(currentChanged(int)), this, SLOT(currentChanged_hook(int))); currentChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentChanged(int)), this, SLOT(currentChanged_hook(int))); } private slots: void widgetRemoved_hook(int index) { if ( widgetRemoved_event.func ) { typedef void (*func_type)(void *data, int index); (*(func_type)widgetRemoved_event.func)(widgetRemoved_event.data, index); } } void currentChanged_hook(int index) { if ( currentChanged_event.func ) { typedef void (*func_type)(void *data, int index); (*(func_type)currentChanged_event.func)(currentChanged_event.data, index); } } private: QHook widgetRemoved_event; QHook currentChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qactiongroup_hook_c.h0000664000212600021260000000172411677135472021245 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QACTIONGROUP_HOOK_C_H #define QACTIONGROUP_HOOK_C_H #include "qactiongroup_hook.h" C_EXPORT QActionGroup_hookH QActionGroup_hook_create(QObjectH handle); C_EXPORT void QActionGroup_hook_destroy(QActionGroup_hookH handle); C_EXPORT void QActionGroup_hook_hook_triggered(QActionGroup_hookH handle, QHookH hook); C_EXPORT void QActionGroup_hook_hook_selected(QActionGroup_hookH handle, QHookH hook); C_EXPORT void QActionGroup_hook_hook_hovered(QActionGroup_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstackedlayout_c.h0000664000212600021260000000412211677135472020542 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTACKEDLAYOUT_C_H #define QSTACKEDLAYOUT_C_H #include #include "pascalbind.h" C_EXPORT QStackedLayoutH QStackedLayout_create(); C_EXPORT void QStackedLayout_destroy(QStackedLayoutH handle); C_EXPORT QStackedLayoutH QStackedLayout_create2(QWidgetH parent); C_EXPORT QStackedLayoutH QStackedLayout_create3(QLayoutH parentLayout); C_EXPORT int QStackedLayout_addWidget(QStackedLayoutH handle, QWidgetH w); C_EXPORT int QStackedLayout_insertWidget(QStackedLayoutH handle, int index, QWidgetH w); C_EXPORT QWidgetH QStackedLayout_currentWidget(QStackedLayoutH handle); C_EXPORT int QStackedLayout_currentIndex(QStackedLayoutH handle); C_EXPORT QWidgetH QStackedLayout_widget(QStackedLayoutH handle, int AnonParam1); C_EXPORT int QStackedLayout_count(QStackedLayoutH handle); C_EXPORT QStackedLayout::StackingMode QStackedLayout_stackingMode(QStackedLayoutH handle); C_EXPORT void QStackedLayout_setStackingMode(QStackedLayoutH handle, QStackedLayout::StackingMode stackingMode); C_EXPORT void QStackedLayout_addItem(QStackedLayoutH handle, QLayoutItemH item); C_EXPORT void QStackedLayout_sizeHint(QStackedLayoutH handle, PSize retval); C_EXPORT void QStackedLayout_minimumSize(QStackedLayoutH handle, PSize retval); C_EXPORT QLayoutItemH QStackedLayout_itemAt(QStackedLayoutH handle, int AnonParam1); C_EXPORT QLayoutItemH QStackedLayout_takeAt(QStackedLayoutH handle, int AnonParam1); C_EXPORT void QStackedLayout_setGeometry(QStackedLayoutH handle, PRect rect); C_EXPORT void QStackedLayout_setCurrentIndex(QStackedLayoutH handle, int index); C_EXPORT void QStackedLayout_setCurrentWidget(QStackedLayoutH handle, QWidgetH w); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintpreviewwidget_hook_c.h0000664000212600021260000000172611677135472022657 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPRINTPREVIEWWIDGET_HOOK_C_H #define QPRINTPREVIEWWIDGET_HOOK_C_H #include "qprintpreviewwidget_hook.h" C_EXPORT QPrintPreviewWidget_hookH QPrintPreviewWidget_hook_create(QObjectH handle); C_EXPORT void QPrintPreviewWidget_hook_destroy(QPrintPreviewWidget_hookH handle); C_EXPORT void QPrintPreviewWidget_hook_hook_paintRequested(QPrintPreviewWidget_hookH handle, QHookH hook); C_EXPORT void QPrintPreviewWidget_hook_hook_previewChanged(QPrintPreviewWidget_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdir_c.cpp0000664000212600021260000002437711677135472017015 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qdir_c.h" QDirH QDir_create(const QDirH AnonParam1) { return (QDirH) new QDir(*(const QDir*)AnonParam1); } void QDir_destroy(QDirH handle) { delete (QDir *)handle; } QDirH QDir_create2(PWideString path) { QString t_path; copyPWideStringToQString(path, t_path); return (QDirH) new QDir(t_path); } QDirH QDir_create3(PWideString path, PWideString nameFilter, unsigned int sort, unsigned int filter) { QString t_path; QString t_nameFilter; copyPWideStringToQString(path, t_path); copyPWideStringToQString(nameFilter, t_nameFilter); return (QDirH) new QDir(t_path, t_nameFilter, (QDir::SortFlags)sort, (QDir::Filters)filter); } void QDir_setPath(QDirH handle, PWideString path) { QString t_path; copyPWideStringToQString(path, t_path); ((QDir *)handle)->setPath(t_path); } void QDir_path(QDirH handle, PWideString retval) { QString t_retval; t_retval = ((QDir *)handle)->path(); copyQStringToPWideString(t_retval, retval); } void QDir_absolutePath(QDirH handle, PWideString retval) { QString t_retval; t_retval = ((QDir *)handle)->absolutePath(); copyQStringToPWideString(t_retval, retval); } void QDir_canonicalPath(QDirH handle, PWideString retval) { QString t_retval; t_retval = ((QDir *)handle)->canonicalPath(); copyQStringToPWideString(t_retval, retval); } void QDir_addResourceSearchPath(PWideString path) { QString t_path; copyPWideStringToQString(path, t_path); QDir::addResourceSearchPath(t_path); } void QDir_setSearchPaths(PWideString prefix, const QStringListH searchPaths) { QString t_prefix; copyPWideStringToQString(prefix, t_prefix); QDir::setSearchPaths(t_prefix, *(const QStringList*)searchPaths); } void QDir_addSearchPath(PWideString prefix, PWideString path) { QString t_prefix; QString t_path; copyPWideStringToQString(prefix, t_prefix); copyPWideStringToQString(path, t_path); QDir::addSearchPath(t_prefix, t_path); } void QDir_searchPaths(QStringListH retval, PWideString prefix) { QString t_prefix; copyPWideStringToQString(prefix, t_prefix); *(QStringList *)retval = QDir::searchPaths(t_prefix); } void QDir_dirName(QDirH handle, PWideString retval) { QString t_retval; t_retval = ((QDir *)handle)->dirName(); copyQStringToPWideString(t_retval, retval); } void QDir_filePath(QDirH handle, PWideString retval, PWideString fileName) { QString t_retval; QString t_fileName; copyPWideStringToQString(fileName, t_fileName); t_retval = ((QDir *)handle)->filePath(t_fileName); copyQStringToPWideString(t_retval, retval); } void QDir_absoluteFilePath(QDirH handle, PWideString retval, PWideString fileName) { QString t_retval; QString t_fileName; copyPWideStringToQString(fileName, t_fileName); t_retval = ((QDir *)handle)->absoluteFilePath(t_fileName); copyQStringToPWideString(t_retval, retval); } void QDir_relativeFilePath(QDirH handle, PWideString retval, PWideString fileName) { QString t_retval; QString t_fileName; copyPWideStringToQString(fileName, t_fileName); t_retval = ((QDir *)handle)->relativeFilePath(t_fileName); copyQStringToPWideString(t_retval, retval); } void QDir_toNativeSeparators(PWideString retval, PWideString pathName) { QString t_retval; QString t_pathName; copyPWideStringToQString(pathName, t_pathName); t_retval = QDir::toNativeSeparators(t_pathName); copyQStringToPWideString(t_retval, retval); } void QDir_fromNativeSeparators(PWideString retval, PWideString pathName) { QString t_retval; QString t_pathName; copyPWideStringToQString(pathName, t_pathName); t_retval = QDir::fromNativeSeparators(t_pathName); copyQStringToPWideString(t_retval, retval); } bool QDir_cd(QDirH handle, PWideString dirName) { QString t_dirName; copyPWideStringToQString(dirName, t_dirName); return (bool) ((QDir *)handle)->cd(t_dirName); } bool QDir_cdUp(QDirH handle) { return (bool) ((QDir *)handle)->cdUp(); } void QDir_nameFilters(QDirH handle, QStringListH retval) { *(QStringList *)retval = ((QDir *)handle)->nameFilters(); } void QDir_setNameFilters(QDirH handle, const QStringListH nameFilters) { ((QDir *)handle)->setNameFilters(*(const QStringList*)nameFilters); } unsigned int QDir_filter(QDirH handle) { return (unsigned int) ((QDir *)handle)->filter(); } void QDir_setFilter(QDirH handle, unsigned int filter) { ((QDir *)handle)->setFilter((QDir::Filters)filter); } unsigned int QDir_sorting(QDirH handle) { return (unsigned int) ((QDir *)handle)->sorting(); } void QDir_setSorting(QDirH handle, unsigned int sort) { ((QDir *)handle)->setSorting((QDir::SortFlags)sort); } uint QDir_count(QDirH handle) { return (uint) ((QDir *)handle)->count(); } void QDir_nameFiltersFromString(QStringListH retval, PWideString nameFilter) { QString t_nameFilter; copyPWideStringToQString(nameFilter, t_nameFilter); *(QStringList *)retval = QDir::nameFiltersFromString(t_nameFilter); } void QDir_entryList(QDirH handle, QStringListH retval, unsigned int filters, unsigned int sort) { *(QStringList *)retval = ((QDir *)handle)->entryList((QDir::Filters)filters, (QDir::SortFlags)sort); } void QDir_entryList2(QDirH handle, QStringListH retval, const QStringListH nameFilters, unsigned int filters, unsigned int sort) { *(QStringList *)retval = ((QDir *)handle)->entryList(*(const QStringList*)nameFilters, (QDir::Filters)filters, (QDir::SortFlags)sort); } void QDir_entryInfoList(QDirH handle, PPtrIntArray retval, unsigned int filters, unsigned int sort) { QFileInfoList t_retval; t_retval = ((QDir *)handle)->entryInfoList((QDir::Filters)filters, (QDir::SortFlags)sort); copyQListTemplateToPtrIntArrayWithNew(t_retval, retval); } void QDir_entryInfoList2(QDirH handle, PPtrIntArray retval, const QStringListH nameFilters, unsigned int filters, unsigned int sort) { QFileInfoList t_retval; t_retval = ((QDir *)handle)->entryInfoList(*(const QStringList*)nameFilters, (QDir::Filters)filters, (QDir::SortFlags)sort); copyQListTemplateToPtrIntArrayWithNew(t_retval, retval); } bool QDir_mkdir(QDirH handle, PWideString dirName) { QString t_dirName; copyPWideStringToQString(dirName, t_dirName); return (bool) ((QDir *)handle)->mkdir(t_dirName); } bool QDir_rmdir(QDirH handle, PWideString dirName) { QString t_dirName; copyPWideStringToQString(dirName, t_dirName); return (bool) ((QDir *)handle)->rmdir(t_dirName); } bool QDir_mkpath(QDirH handle, PWideString dirPath) { QString t_dirPath; copyPWideStringToQString(dirPath, t_dirPath); return (bool) ((QDir *)handle)->mkpath(t_dirPath); } bool QDir_rmpath(QDirH handle, PWideString dirPath) { QString t_dirPath; copyPWideStringToQString(dirPath, t_dirPath); return (bool) ((QDir *)handle)->rmpath(t_dirPath); } bool QDir_isReadable(QDirH handle) { return (bool) ((QDir *)handle)->isReadable(); } bool QDir_exists(QDirH handle) { return (bool) ((QDir *)handle)->exists(); } bool QDir_isRoot(QDirH handle) { return (bool) ((QDir *)handle)->isRoot(); } bool QDir_isRelativePath(PWideString path) { QString t_path; copyPWideStringToQString(path, t_path); return (bool) QDir::isRelativePath(t_path); } bool QDir_isAbsolutePath(PWideString path) { QString t_path; copyPWideStringToQString(path, t_path); return (bool) QDir::isAbsolutePath(t_path); } bool QDir_isRelative(QDirH handle) { return (bool) ((QDir *)handle)->isRelative(); } bool QDir_isAbsolute(QDirH handle) { return (bool) ((QDir *)handle)->isAbsolute(); } bool QDir_makeAbsolute(QDirH handle) { return (bool) ((QDir *)handle)->makeAbsolute(); } bool QDir_remove(QDirH handle, PWideString fileName) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (bool) ((QDir *)handle)->remove(t_fileName); } bool QDir_rename(QDirH handle, PWideString oldName, PWideString newName) { QString t_oldName; QString t_newName; copyPWideStringToQString(oldName, t_oldName); copyPWideStringToQString(newName, t_newName); return (bool) ((QDir *)handle)->rename(t_oldName, t_newName); } bool QDir_exists2(QDirH handle, PWideString name) { QString t_name; copyPWideStringToQString(name, t_name); return (bool) ((QDir *)handle)->exists(t_name); } void QDir_drives(PPtrIntArray retval) { QFileInfoList t_retval; t_retval = QDir::drives(); copyQListTemplateToPtrIntArrayWithNew(t_retval, retval); } void QDir_separator(PWideChar retval) { *(QChar *)retval = QDir::separator(); } bool QDir_setCurrent(PWideString path) { QString t_path; copyPWideStringToQString(path, t_path); return (bool) QDir::setCurrent(t_path); } void QDir_current(QDirH retval) { *(QDir *)retval = QDir::current(); } void QDir_currentPath(PWideString retval) { QString t_retval; t_retval = QDir::currentPath(); copyQStringToPWideString(t_retval, retval); } void QDir_home(QDirH retval) { *(QDir *)retval = QDir::home(); } void QDir_homePath(PWideString retval) { QString t_retval; t_retval = QDir::homePath(); copyQStringToPWideString(t_retval, retval); } void QDir_root(QDirH retval) { *(QDir *)retval = QDir::root(); } void QDir_rootPath(PWideString retval) { QString t_retval; t_retval = QDir::rootPath(); copyQStringToPWideString(t_retval, retval); } void QDir_temp(QDirH retval) { *(QDir *)retval = QDir::temp(); } void QDir_tempPath(PWideString retval) { QString t_retval; t_retval = QDir::tempPath(); copyQStringToPWideString(t_retval, retval); } bool QDir_match(const QStringListH filters, PWideString fileName) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (bool) QDir::match(*(const QStringList*)filters, t_fileName); } bool QDir_match2(PWideString filter, PWideString fileName) { QString t_filter; QString t_fileName; copyPWideStringToQString(filter, t_filter); copyPWideStringToQString(fileName, t_fileName); return (bool) QDir::match(t_filter, t_fileName); } void QDir_cleanPath(PWideString retval, PWideString path) { QString t_retval; QString t_path; copyPWideStringToQString(path, t_path); t_retval = QDir::cleanPath(t_path); copyQStringToPWideString(t_retval, retval); } void QDir_refresh(QDirH handle) { ((QDir *)handle)->refresh(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbutton_hook_c.cpp0000664000212600021260000000155311677135472021457 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtoolbutton_hook_c.h" QToolButton_hookH QToolButton_hook_create(QObjectH handle) { return (QToolButton_hookH) new QToolButton_hook((QObject*)handle); } void QToolButton_hook_destroy(QToolButton_hookH handle) { delete (QToolButton_hook *)handle; } void QToolButton_hook_hook_triggered(QToolButton_hookH handle, QHookH hook) { ((QToolButton_hook *)handle)->hook_triggered(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractprintdialog_c.h0000664000212600021260000000357211677135472021736 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTPRINTDIALOG_C_H #define QABSTRACTPRINTDIALOG_C_H #include #include "pascalbind.h" C_EXPORT int QAbstractPrintDialog_exec(QAbstractPrintDialogH handle); C_EXPORT void QAbstractPrintDialog_addEnabledOption(QAbstractPrintDialogH handle, QAbstractPrintDialog::PrintDialogOption option); C_EXPORT void QAbstractPrintDialog_setEnabledOptions(QAbstractPrintDialogH handle, unsigned int options); C_EXPORT unsigned int QAbstractPrintDialog_enabledOptions(QAbstractPrintDialogH handle); C_EXPORT bool QAbstractPrintDialog_isOptionEnabled(QAbstractPrintDialogH handle, QAbstractPrintDialog::PrintDialogOption option); C_EXPORT void QAbstractPrintDialog_setPrintRange(QAbstractPrintDialogH handle, QAbstractPrintDialog::PrintRange range); C_EXPORT QAbstractPrintDialog::PrintRange QAbstractPrintDialog_printRange(QAbstractPrintDialogH handle); C_EXPORT void QAbstractPrintDialog_setMinMax(QAbstractPrintDialogH handle, int min, int max); C_EXPORT int QAbstractPrintDialog_minPage(QAbstractPrintDialogH handle); C_EXPORT int QAbstractPrintDialog_maxPage(QAbstractPrintDialogH handle); C_EXPORT void QAbstractPrintDialog_setFromTo(QAbstractPrintDialogH handle, int fromPage, int toPage); C_EXPORT int QAbstractPrintDialog_fromPage(QAbstractPrintDialogH handle); C_EXPORT int QAbstractPrintDialog_toPage(QAbstractPrintDialogH handle); C_EXPORT QPrinterH QAbstractPrintDialog_printer(QAbstractPrintDialogH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtabwidget_hook_c.h0000664000212600021260000000156611677135472020671 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTABWIDGET_HOOK_C_H #define QTABWIDGET_HOOK_C_H #include "qtabwidget_hook.h" C_EXPORT QTabWidget_hookH QTabWidget_hook_create(QObjectH handle); C_EXPORT void QTabWidget_hook_destroy(QTabWidget_hookH handle); C_EXPORT void QTabWidget_hook_hook_currentChanged(QTabWidget_hookH handle, QHookH hook); C_EXPORT void QTabWidget_hook_hook_tabCloseRequested(QTabWidget_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstracttextdocumentlayout_hook.h0000664000212600021260000001035611677135472024117 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTTEXTDOCUMENTLAYOUT_HOOK_H #define QABSTRACTTEXTDOCUMENTLAYOUT_HOOK_H #include #include "qobject_hook.h" class QAbstractTextDocumentLayout_hook : public QObject_hook { Q_OBJECT public: QAbstractTextDocumentLayout_hook(QObject *handle) : QObject_hook(handle) { update_event.func = NULL; update2_event.func = NULL; updateBlock_event.func = NULL; documentSizeChanged_event.func = NULL; pageCountChanged_event.func = NULL; } void hook_update(QHook &hook) { if ( !update_event.func ) connect(handle, SIGNAL(update(const QRectF&)), this, SLOT(update_hook(const QRectF&))); update_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(update(const QRectF&)), this, SLOT(update_hook(const QRectF&))); } void hook_update2(QHook &hook) { if ( !update2_event.func ) connect(handle, SIGNAL(update()), this, SLOT(update2_hook())); update2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(update()), this, SLOT(update2_hook())); } void hook_updateBlock(QHook &hook) { if ( !updateBlock_event.func ) connect(handle, SIGNAL(updateBlock(const QTextBlock&)), this, SLOT(updateBlock_hook(const QTextBlock&))); updateBlock_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(updateBlock(const QTextBlock&)), this, SLOT(updateBlock_hook(const QTextBlock&))); } void hook_documentSizeChanged(QHook &hook) { if ( !documentSizeChanged_event.func ) connect(handle, SIGNAL(documentSizeChanged(const QSizeF&)), this, SLOT(documentSizeChanged_hook(const QSizeF&))); documentSizeChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(documentSizeChanged(const QSizeF&)), this, SLOT(documentSizeChanged_hook(const QSizeF&))); } void hook_pageCountChanged(QHook &hook) { if ( !pageCountChanged_event.func ) connect(handle, SIGNAL(pageCountChanged(int)), this, SLOT(pageCountChanged_hook(int))); pageCountChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(pageCountChanged(int)), this, SLOT(pageCountChanged_hook(int))); } private slots: void update_hook(const QRectF& AnonParam1) { if ( update_event.func ) { typedef void (*func_type)(void *data, const QRectFH AnonParam1); (*(func_type)update_event.func)(update_event.data, (const QRectFH)&AnonParam1); } } void update2_hook() { if ( update2_event.func ) { typedef void (*func_type)(void *data); (*(func_type)update2_event.func)(update2_event.data); } } void updateBlock_hook(const QTextBlock& block) { if ( updateBlock_event.func ) { typedef void (*func_type)(void *data, const QTextBlockH block); (*(func_type)updateBlock_event.func)(updateBlock_event.data, (const QTextBlockH)&block); } } void documentSizeChanged_hook(const QSizeF& newSize) { if ( documentSizeChanged_event.func ) { typedef void (*func_type)(void *data, const QSizeFH newSize); (*(func_type)documentSizeChanged_event.func)(documentSizeChanged_event.data, (const QSizeFH)&newSize); } } void pageCountChanged_hook(int newPages) { if ( pageCountChanged_event.func ) { typedef void (*func_type)(void *data, int newPages); (*(func_type)pageCountChanged_event.func)(pageCountChanged_event.data, newPages); } } private: QHook update_event; QHook update2_event; QHook updateBlock_event; QHook documentSizeChanged_event; QHook pageCountChanged_event; }; #include "qobject_hook.h" class QTextObjectInterface_hook : public QObject_hook { Q_OBJECT public: QTextObjectInterface_hook(QObject *handle) : QObject_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsize_c.h0000664000212600021260000000477711677135472016660 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSIZE_C_H #define QSIZE_C_H #include #include "pascalbind.h" C_EXPORT QSizeH QSize_create(); C_EXPORT void QSize_destroy(QSizeH handle); C_EXPORT QSizeH QSize_create2(int w, int h); C_EXPORT bool QSize_isNull(QSizeH handle); C_EXPORT bool QSize_isEmpty(QSizeH handle); C_EXPORT bool QSize_isValid(QSizeH handle); C_EXPORT int QSize_width(QSizeH handle); C_EXPORT int QSize_height(QSizeH handle); C_EXPORT void QSize_setWidth(QSizeH handle, int w); C_EXPORT void QSize_setHeight(QSizeH handle, int h); C_EXPORT void QSize_transpose(QSizeH handle); C_EXPORT void QSize_scale(QSizeH handle, int w, int h, Qt::AspectRatioMode mode); C_EXPORT void QSize_scale2(QSizeH handle, const QSizeH s, Qt::AspectRatioMode mode); C_EXPORT void QSize_expandedTo(QSizeH handle, PSize retval, const QSizeH AnonParam1); C_EXPORT void QSize_boundedTo(QSizeH handle, PSize retval, const QSizeH AnonParam1); C_EXPORT int* QSize_rwidth(QSizeH handle); C_EXPORT int* QSize_rheight(QSizeH handle); C_EXPORT QSizeFH QSizeF_create(); C_EXPORT void QSizeF_destroy(QSizeFH handle); C_EXPORT QSizeFH QSizeF_create2(const QSizeH sz); C_EXPORT QSizeFH QSizeF_create3(qreal w, qreal h); C_EXPORT bool QSizeF_isNull(QSizeFH handle); C_EXPORT bool QSizeF_isEmpty(QSizeFH handle); C_EXPORT bool QSizeF_isValid(QSizeFH handle); C_EXPORT qreal QSizeF_width(QSizeFH handle); C_EXPORT qreal QSizeF_height(QSizeFH handle); C_EXPORT void QSizeF_setWidth(QSizeFH handle, qreal w); C_EXPORT void QSizeF_setHeight(QSizeFH handle, qreal h); C_EXPORT void QSizeF_transpose(QSizeFH handle); C_EXPORT void QSizeF_scale(QSizeFH handle, qreal w, qreal h, Qt::AspectRatioMode mode); C_EXPORT void QSizeF_scale2(QSizeFH handle, const QSizeFH s, Qt::AspectRatioMode mode); C_EXPORT void QSizeF_expandedTo(QSizeFH handle, QSizeFH retval, const QSizeFH AnonParam1); C_EXPORT void QSizeF_boundedTo(QSizeFH handle, QSizeFH retval, const QSizeFH AnonParam1); C_EXPORT qreal* QSizeF_rwidth(QSizeFH handle); C_EXPORT qreal* QSizeF_rheight(QSizeFH handle); C_EXPORT void QSizeF_toSize(QSizeFH handle, PSize retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclwebpage_c.cpp0000664000212600021260000000211411677135472020325 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlclwebpage_c.h" QLCLWebPageH QLCLWebPage_create(QObjectH parent) { return (QLCLWebPageH) new QLCLWebPage((QObject*)parent); } void QLCLWebPage_destroy(QLCLWebPageH handle) { delete (QLCLWebPage *)handle; } void QLCLWebPage_override_userAgentForUrl(QLCLWebPageH handle, const QOverrideHook hook) { ((QLCLWebPage *)handle)->override_userAgentForUrl(hook); } void QLCLWebPage_DefaultUserAgentForUrl(QLCLWebPageH handle, PWideString retval, const QUrlH url) { QString t_retval; t_retval = ((QLCLWebPage *)handle)->DefaultUserAgentForUrl(*(const QUrl*)url); copyQStringToPWideString(t_retval, retval); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmainwindow_c.h0000664000212600021260000001167111677135472020051 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMAINWINDOW_C_H #define QMAINWINDOW_C_H #include #include "pascalbind.h" C_EXPORT QMainWindowH QMainWindow_create(QWidgetH parent, unsigned int flags); C_EXPORT void QMainWindow_destroy(QMainWindowH handle); C_EXPORT void QMainWindow_iconSize(QMainWindowH handle, PSize retval); C_EXPORT void QMainWindow_setIconSize(QMainWindowH handle, const QSizeH iconSize); C_EXPORT Qt::ToolButtonStyle QMainWindow_toolButtonStyle(QMainWindowH handle); C_EXPORT void QMainWindow_setToolButtonStyle(QMainWindowH handle, Qt::ToolButtonStyle toolButtonStyle); C_EXPORT bool QMainWindow_isAnimated(QMainWindowH handle); C_EXPORT bool QMainWindow_isDockNestingEnabled(QMainWindowH handle); C_EXPORT bool QMainWindow_documentMode(QMainWindowH handle); C_EXPORT void QMainWindow_setDocumentMode(QMainWindowH handle, bool enabled); C_EXPORT QTabWidget::TabShape QMainWindow_tabShape(QMainWindowH handle); C_EXPORT void QMainWindow_setTabShape(QMainWindowH handle, QTabWidget::TabShape tabShape); C_EXPORT QTabWidget::TabPosition QMainWindow_tabPosition(QMainWindowH handle, Qt::DockWidgetArea area); C_EXPORT void QMainWindow_setTabPosition(QMainWindowH handle, unsigned int areas, QTabWidget::TabPosition tabPosition); C_EXPORT void QMainWindow_setDockOptions(QMainWindowH handle, unsigned int options); C_EXPORT unsigned int QMainWindow_dockOptions(QMainWindowH handle); C_EXPORT bool QMainWindow_isSeparator(QMainWindowH handle, const QPointH pos); C_EXPORT QMenuBarH QMainWindow_menuBar(QMainWindowH handle); C_EXPORT void QMainWindow_setMenuBar(QMainWindowH handle, QMenuBarH menubar); C_EXPORT QWidgetH QMainWindow_menuWidget(QMainWindowH handle); C_EXPORT void QMainWindow_setMenuWidget(QMainWindowH handle, QWidgetH menubar); C_EXPORT QStatusBarH QMainWindow_statusBar(QMainWindowH handle); C_EXPORT void QMainWindow_setStatusBar(QMainWindowH handle, QStatusBarH statusbar); C_EXPORT QWidgetH QMainWindow_centralWidget(QMainWindowH handle); C_EXPORT void QMainWindow_setCentralWidget(QMainWindowH handle, QWidgetH widget); C_EXPORT void QMainWindow_setCorner(QMainWindowH handle, Qt::Corner corner, Qt::DockWidgetArea area); C_EXPORT Qt::DockWidgetArea QMainWindow_corner(QMainWindowH handle, Qt::Corner corner); C_EXPORT void QMainWindow_addToolBarBreak(QMainWindowH handle, Qt::ToolBarArea area); C_EXPORT void QMainWindow_insertToolBarBreak(QMainWindowH handle, QToolBarH before); C_EXPORT void QMainWindow_addToolBar(QMainWindowH handle, Qt::ToolBarArea area, QToolBarH toolbar); C_EXPORT void QMainWindow_addToolBar2(QMainWindowH handle, QToolBarH toolbar); C_EXPORT QToolBarH QMainWindow_addToolBar3(QMainWindowH handle, PWideString title); C_EXPORT void QMainWindow_insertToolBar(QMainWindowH handle, QToolBarH before, QToolBarH toolbar); C_EXPORT void QMainWindow_removeToolBar(QMainWindowH handle, QToolBarH toolbar); C_EXPORT void QMainWindow_removeToolBarBreak(QMainWindowH handle, QToolBarH before); C_EXPORT void QMainWindow_setUnifiedTitleAndToolBarOnMac(QMainWindowH handle, bool set); C_EXPORT bool QMainWindow_unifiedTitleAndToolBarOnMac(QMainWindowH handle); C_EXPORT Qt::ToolBarArea QMainWindow_toolBarArea(QMainWindowH handle, QToolBarH toolbar); C_EXPORT bool QMainWindow_toolBarBreak(QMainWindowH handle, QToolBarH toolbar); C_EXPORT void QMainWindow_addDockWidget(QMainWindowH handle, Qt::DockWidgetArea area, QDockWidgetH dockwidget); C_EXPORT void QMainWindow_addDockWidget2(QMainWindowH handle, Qt::DockWidgetArea area, QDockWidgetH dockwidget, Qt::Orientation orientation); C_EXPORT void QMainWindow_splitDockWidget(QMainWindowH handle, QDockWidgetH after, QDockWidgetH dockwidget, Qt::Orientation orientation); C_EXPORT void QMainWindow_tabifyDockWidget(QMainWindowH handle, QDockWidgetH first, QDockWidgetH second); C_EXPORT void QMainWindow_tabifiedDockWidgets(QMainWindowH handle, PPtrIntArray retval, QDockWidgetH dockwidget); C_EXPORT void QMainWindow_removeDockWidget(QMainWindowH handle, QDockWidgetH dockwidget); C_EXPORT bool QMainWindow_restoreDockWidget(QMainWindowH handle, QDockWidgetH dockwidget); C_EXPORT Qt::DockWidgetArea QMainWindow_dockWidgetArea(QMainWindowH handle, QDockWidgetH dockwidget); C_EXPORT void QMainWindow_saveState(QMainWindowH handle, QByteArrayH retval, int version); C_EXPORT bool QMainWindow_restoreState(QMainWindowH handle, const QByteArrayH state, int version); C_EXPORT QMenuH QMainWindow_createPopupMenu(QMainWindowH handle); C_EXPORT void QMainWindow_setAnimated(QMainWindowH handle, bool enabled); C_EXPORT void QMainWindow_setDockNestingEnabled(QMainWindowH handle, bool enabled); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmetaobject_c.cpp0000664000212600021260000001563511677135472020351 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qmetaobject_c.h" QMetaMethodH QMetaMethod_create() { return (QMetaMethodH) new QMetaMethod(); } void QMetaMethod_destroy(QMetaMethodH handle) { delete (QMetaMethod *)handle; } const char* QMetaMethod_signature(QMetaMethodH handle) { return (const char*) ((QMetaMethod *)handle)->signature(); } const char* QMetaMethod_typeName(QMetaMethodH handle) { return (const char*) ((QMetaMethod *)handle)->typeName(); } const char* QMetaMethod_tag(QMetaMethodH handle) { return (const char*) ((QMetaMethod *)handle)->tag(); } QMetaMethod::Access QMetaMethod_access(QMetaMethodH handle) { return (QMetaMethod::Access) ((QMetaMethod *)handle)->access(); } QMetaMethod::MethodType QMetaMethod_methodType(QMetaMethodH handle) { return (QMetaMethod::MethodType) ((QMetaMethod *)handle)->methodType(); } int QMetaMethod_attributes(QMetaMethodH handle) { return (int) ((QMetaMethod *)handle)->attributes(); } const QMetaObjectH QMetaMethod_enclosingMetaObject(QMetaMethodH handle) { return (const QMetaObjectH) ((QMetaMethod *)handle)->enclosingMetaObject(); } QMetaEnumH QMetaEnum_create() { return (QMetaEnumH) new QMetaEnum(); } void QMetaEnum_destroy(QMetaEnumH handle) { delete (QMetaEnum *)handle; } const char* QMetaEnum_name(QMetaEnumH handle) { return (const char*) ((QMetaEnum *)handle)->name(); } bool QMetaEnum_isFlag(QMetaEnumH handle) { return (bool) ((QMetaEnum *)handle)->isFlag(); } int QMetaEnum_keyCount(QMetaEnumH handle) { return (int) ((QMetaEnum *)handle)->keyCount(); } const char* QMetaEnum_key(QMetaEnumH handle, int index) { return (const char*) ((QMetaEnum *)handle)->key(index); } int QMetaEnum_value(QMetaEnumH handle, int index) { return (int) ((QMetaEnum *)handle)->value(index); } const char* QMetaEnum_scope(QMetaEnumH handle) { return (const char*) ((QMetaEnum *)handle)->scope(); } int QMetaEnum_keyToValue(QMetaEnumH handle, const char* key) { return (int) ((QMetaEnum *)handle)->keyToValue(key); } const char* QMetaEnum_valueToKey(QMetaEnumH handle, int value) { return (const char*) ((QMetaEnum *)handle)->valueToKey(value); } int QMetaEnum_keysToValue(QMetaEnumH handle, const char* keys) { return (int) ((QMetaEnum *)handle)->keysToValue(keys); } void QMetaEnum_valueToKeys(QMetaEnumH handle, QByteArrayH retval, int value) { *(QByteArray *)retval = ((QMetaEnum *)handle)->valueToKeys(value); } const QMetaObjectH QMetaEnum_enclosingMetaObject(QMetaEnumH handle) { return (const QMetaObjectH) ((QMetaEnum *)handle)->enclosingMetaObject(); } bool QMetaEnum_isValid(QMetaEnumH handle) { return (bool) ((QMetaEnum *)handle)->isValid(); } QMetaPropertyH QMetaProperty_create() { return (QMetaPropertyH) new QMetaProperty(); } void QMetaProperty_destroy(QMetaPropertyH handle) { delete (QMetaProperty *)handle; } const char* QMetaProperty_name(QMetaPropertyH handle) { return (const char*) ((QMetaProperty *)handle)->name(); } const char* QMetaProperty_typeName(QMetaPropertyH handle) { return (const char*) ((QMetaProperty *)handle)->typeName(); } QVariant::Type QMetaProperty_type(QMetaPropertyH handle) { return (QVariant::Type) ((QMetaProperty *)handle)->type(); } int QMetaProperty_userType(QMetaPropertyH handle) { return (int) ((QMetaProperty *)handle)->userType(); } bool QMetaProperty_isReadable(QMetaPropertyH handle) { return (bool) ((QMetaProperty *)handle)->isReadable(); } bool QMetaProperty_isWritable(QMetaPropertyH handle) { return (bool) ((QMetaProperty *)handle)->isWritable(); } bool QMetaProperty_isResettable(QMetaPropertyH handle) { return (bool) ((QMetaProperty *)handle)->isResettable(); } bool QMetaProperty_isDesignable(QMetaPropertyH handle, const QObjectH obj) { return (bool) ((QMetaProperty *)handle)->isDesignable((const QObject*)obj); } bool QMetaProperty_isScriptable(QMetaPropertyH handle, const QObjectH obj) { return (bool) ((QMetaProperty *)handle)->isScriptable((const QObject*)obj); } bool QMetaProperty_isStored(QMetaPropertyH handle, const QObjectH obj) { return (bool) ((QMetaProperty *)handle)->isStored((const QObject*)obj); } bool QMetaProperty_isEditable(QMetaPropertyH handle, const QObjectH obj) { return (bool) ((QMetaProperty *)handle)->isEditable((const QObject*)obj); } bool QMetaProperty_isUser(QMetaPropertyH handle, const QObjectH obj) { return (bool) ((QMetaProperty *)handle)->isUser((const QObject*)obj); } bool QMetaProperty_isFlagType(QMetaPropertyH handle) { return (bool) ((QMetaProperty *)handle)->isFlagType(); } bool QMetaProperty_isEnumType(QMetaPropertyH handle) { return (bool) ((QMetaProperty *)handle)->isEnumType(); } void QMetaProperty_enumerator(QMetaPropertyH handle, QMetaEnumH retval) { *(QMetaEnum *)retval = ((QMetaProperty *)handle)->enumerator(); } bool QMetaProperty_hasNotifySignal(QMetaPropertyH handle) { return (bool) ((QMetaProperty *)handle)->hasNotifySignal(); } void QMetaProperty_notifySignal(QMetaPropertyH handle, QMetaMethodH retval) { *(QMetaMethod *)retval = ((QMetaProperty *)handle)->notifySignal(); } int QMetaProperty_notifySignalIndex(QMetaPropertyH handle) { return (int) ((QMetaProperty *)handle)->notifySignalIndex(); } void QMetaProperty_read(QMetaPropertyH handle, QVariantH retval, const QObjectH obj) { *(QVariant *)retval = ((QMetaProperty *)handle)->read((const QObject*)obj); } bool QMetaProperty_write(QMetaPropertyH handle, QObjectH obj, const QVariantH value) { return (bool) ((QMetaProperty *)handle)->write((QObject*)obj, *(const QVariant*)value); } bool QMetaProperty_reset(QMetaPropertyH handle, QObjectH obj) { return (bool) ((QMetaProperty *)handle)->reset((QObject*)obj); } bool QMetaProperty_hasStdCppSet(QMetaPropertyH handle) { return (bool) ((QMetaProperty *)handle)->hasStdCppSet(); } bool QMetaProperty_isValid(QMetaPropertyH handle) { return (bool) ((QMetaProperty *)handle)->isValid(); } const QMetaObjectH QMetaProperty_enclosingMetaObject(QMetaPropertyH handle) { return (const QMetaObjectH) ((QMetaProperty *)handle)->enclosingMetaObject(); } QMetaClassInfoH QMetaClassInfo_create() { return (QMetaClassInfoH) new QMetaClassInfo(); } void QMetaClassInfo_destroy(QMetaClassInfoH handle) { delete (QMetaClassInfo *)handle; } const char* QMetaClassInfo_name(QMetaClassInfoH handle) { return (const char*) ((QMetaClassInfo *)handle)->name(); } const char* QMetaClassInfo_value(QMetaClassInfoH handle) { return (const char*) ((QMetaClassInfo *)handle)->value(); } const QMetaObjectH QMetaClassInfo_enclosingMetaObject(QMetaClassInfoH handle) { return (const QMetaObjectH) ((QMetaClassInfo *)handle)->enclosingMetaObject(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qapplication_c.h0000664000212600021260000001565711677135472020210 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QAPPLICATION_C_H #define QAPPLICATION_C_H #include #include "pascalbind.h" C_EXPORT QApplicationH QApplication_create(int* argc, char** argv, int AnonParam3); C_EXPORT void QApplication_destroy(QApplicationH handle); C_EXPORT QApplicationH QApplication_create2(int* argc, char** argv, bool GUIenabled, int AnonParam4); C_EXPORT QApplicationH QApplication_create3(int* argc, char** argv, QApplication::Type AnonParam3, int AnonParam4); #if defined BINUX C_EXPORT QApplicationH QApplication_create4(Display* dpy, Qt::HANDLE visual, Qt::HANDLE cmap, int AnonParam4); C_EXPORT QApplicationH QApplication_create5(Display* dpy, int* argc, char** argv, Qt::HANDLE visual, Qt::HANDLE cmap, int AnonParam6); #endif C_EXPORT QApplication::Type QApplication_type(); C_EXPORT QStyleH QApplication_style(); C_EXPORT void QApplication_setStyle(QStyleH AnonParam1); C_EXPORT QStyleH QApplication_setStyle2(PWideString AnonParam1); C_EXPORT int QApplication_colorSpec(); C_EXPORT void QApplication_setColorSpec(int AnonParam1); C_EXPORT void QApplication_setGraphicsSystem(PWideString AnonParam1); C_EXPORT QCursorH QApplication_overrideCursor(); C_EXPORT void QApplication_setOverrideCursor(const QCursorH AnonParam1); C_EXPORT void QApplication_changeOverrideCursor(const QCursorH AnonParam1); C_EXPORT void QApplication_restoreOverrideCursor(); C_EXPORT void QApplication_palette(QPaletteH retval); C_EXPORT void QApplication_palette2(QPaletteH retval, const QWidgetH AnonParam1); C_EXPORT void QApplication_palette3(QPaletteH retval, const char* className); C_EXPORT void QApplication_setPalette(const QPaletteH AnonParam1, const char* className); C_EXPORT void QApplication_font(QFontH retval); C_EXPORT void QApplication_font2(QFontH retval, const QWidgetH AnonParam1); C_EXPORT void QApplication_font3(QFontH retval, const char* className); C_EXPORT void QApplication_setFont(const QFontH AnonParam1, const char* className); C_EXPORT void QApplication_fontMetrics(QFontMetricsH retval); C_EXPORT void QApplication_setWindowIcon(const QIconH icon); C_EXPORT void QApplication_windowIcon(QIconH retval); C_EXPORT QDesktopWidgetH QApplication_desktop(); C_EXPORT QWidgetH QApplication_activePopupWidget(); C_EXPORT QWidgetH QApplication_activeModalWidget(); C_EXPORT QClipboardH QApplication_clipboard(); C_EXPORT QWidgetH QApplication_focusWidget(); C_EXPORT QWidgetH QApplication_activeWindow(); C_EXPORT void QApplication_setActiveWindow(QWidgetH act); C_EXPORT QWidgetH QApplication_widgetAt(const QPointH p); C_EXPORT QWidgetH QApplication_widgetAt2(int x, int y); C_EXPORT QWidgetH QApplication_topLevelAt(const QPointH p); C_EXPORT QWidgetH QApplication_topLevelAt2(int x, int y); C_EXPORT void QApplication_syncX(); C_EXPORT void QApplication_beep(); C_EXPORT void QApplication_alert(QWidgetH widget, int duration); C_EXPORT unsigned int QApplication_keyboardModifiers(); C_EXPORT unsigned int QApplication_mouseButtons(); C_EXPORT void QApplication_setDesktopSettingsAware(bool AnonParam1); C_EXPORT bool QApplication_desktopSettingsAware(); C_EXPORT void QApplication_setCursorFlashTime(int AnonParam1); C_EXPORT int QApplication_cursorFlashTime(); C_EXPORT void QApplication_setDoubleClickInterval(int AnonParam1); C_EXPORT int QApplication_doubleClickInterval(); C_EXPORT void QApplication_setKeyboardInputInterval(int AnonParam1); C_EXPORT int QApplication_keyboardInputInterval(); C_EXPORT void QApplication_setWheelScrollLines(int AnonParam1); C_EXPORT int QApplication_wheelScrollLines(); C_EXPORT void QApplication_setGlobalStrut(const QSizeH AnonParam1); C_EXPORT void QApplication_globalStrut(PSize retval); C_EXPORT void QApplication_setStartDragTime(int ms); C_EXPORT int QApplication_startDragTime(); C_EXPORT void QApplication_setStartDragDistance(int l); C_EXPORT int QApplication_startDragDistance(); C_EXPORT void QApplication_setLayoutDirection(Qt::LayoutDirection direction); C_EXPORT Qt::LayoutDirection QApplication_layoutDirection(); C_EXPORT bool QApplication_isRightToLeft(); C_EXPORT bool QApplication_isLeftToRight(); C_EXPORT bool QApplication_isEffectEnabled(Qt::UIEffect AnonParam1); C_EXPORT void QApplication_setEffectEnabled(Qt::UIEffect AnonParam1, bool enable); #if defined BINUX C_EXPORT bool QApplication_x11EventFilter(QApplicationH handle, XEvent* AnonParam1); C_EXPORT int QApplication_x11ClientMessage(QApplicationH handle, QWidgetH AnonParam1, XEvent* AnonParam2, bool passive_only); C_EXPORT int QApplication_x11ProcessEvent(QApplicationH handle, XEvent* AnonParam1); #endif #if defined BINUX || MSWINDOWS || DARWIN C_EXPORT bool QApplication_isSessionRestored(QApplicationH handle); C_EXPORT void QApplication_sessionId(QApplicationH handle, PWideString retval); C_EXPORT void QApplication_sessionKey(QApplicationH handle, PWideString retval); C_EXPORT void QApplication_commitData(QApplicationH handle, QSessionManagerH sm); C_EXPORT void QApplication_saveState(QApplicationH handle, QSessionManagerH sm); #endif C_EXPORT void QApplication_setInputContext(QApplicationH handle, QInputContextH AnonParam1); C_EXPORT QInputContextH QApplication_inputContext(QApplicationH handle); C_EXPORT void QApplication_keyboardInputLocale(QLocaleH retval); C_EXPORT Qt::LayoutDirection QApplication_keyboardInputDirection(); C_EXPORT int QApplication_exec(); C_EXPORT bool QApplication_notify(QApplicationH handle, QObjectH AnonParam1, QEventH AnonParam2); C_EXPORT void QApplication_setQuitOnLastWindowClosed(bool quit); C_EXPORT bool QApplication_quitOnLastWindowClosed(); C_EXPORT void QApplication_styleSheet(QApplicationH handle, PWideString retval); C_EXPORT void QApplication_setStyleSheet(QApplicationH handle, PWideString sheet); C_EXPORT void QApplication_closeAllWindows(); C_EXPORT void QApplication_aboutQt(); #if defined MSWINDOWS C_EXPORT void QApplication_winFocus(QApplicationH handle, QWidgetH AnonParam1, bool AnonParam2); C_EXPORT void QApplication_winMouseButtonUp(); #endif #if defined DARWIN C_EXPORT bool QApplication_macEventFilter(QApplicationH handle, EventHandlerCallRef AnonParam1, EventRef AnonParam2); #endif #if defined QTOPIA C_EXPORT bool QApplication_qwsEventFilter(QApplicationH handle, QWSEventH AnonParam1); C_EXPORT int QApplication_qwsProcessEvent(QApplicationH handle, QWSEventH AnonParam1); C_EXPORT void QApplication_qwsSetCustomColors(QApplicationH handle, QRgb * colortable, int start, int numColors); C_EXPORT QDecorationH QApplication_qwsDecoration(); C_EXPORT void QApplication_qwsSetDecoration(QDecorationH AnonParam1); C_EXPORT QDecorationH QApplication_qwsSetDecoration2(PWideString decoration); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qgroupbox_hook.h0000664000212600021260000000454711677135472020264 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QGROUPBOX_HOOK_H #define QGROUPBOX_HOOK_H #include #include "qwidget_hook.h" class QGroupBox_hook : public QWidget_hook { Q_OBJECT public: QGroupBox_hook(QObject *handle) : QWidget_hook(handle) { clicked_event.func = NULL; clicked2_event.func = NULL; toggled_event.func = NULL; } void hook_clicked(QHook &hook) { if ( !clicked_event.func ) connect(handle, SIGNAL(clicked(bool)), this, SLOT(clicked_hook(bool))); clicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(clicked(bool)), this, SLOT(clicked_hook(bool))); } void hook_clicked2(QHook &hook) { if ( !clicked2_event.func ) connect(handle, SIGNAL(clicked()), this, SLOT(clicked2_hook())); clicked2_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(clicked()), this, SLOT(clicked2_hook())); } void hook_toggled(QHook &hook) { if ( !toggled_event.func ) connect(handle, SIGNAL(toggled(bool)), this, SLOT(toggled_hook(bool))); toggled_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(toggled(bool)), this, SLOT(toggled_hook(bool))); } private slots: void clicked_hook(bool checked) { if ( clicked_event.func ) { typedef void (*func_type)(void *data, bool checked); (*(func_type)clicked_event.func)(clicked_event.data, checked); } } void clicked2_hook() { if ( clicked2_event.func ) { typedef void (*func_type)(void *data); (*(func_type)clicked2_event.func)(clicked2_event.data); } } void toggled_hook(bool AnonParam1) { if ( toggled_event.func ) { typedef void (*func_type)(void *data, bool AnonParam1); (*(func_type)toggled_event.func)(toggled_event.data, AnonParam1); } } private: QHook clicked_event; QHook clicked2_event; QHook toggled_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstackedwidget_c.cpp0000664000212600021260000000402211677135472021042 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qstackedwidget_c.h" QStackedWidgetH QStackedWidget_create(QWidgetH parent) { return (QStackedWidgetH) new QStackedWidget((QWidget*)parent); } void QStackedWidget_destroy(QStackedWidgetH handle) { delete (QStackedWidget *)handle; } int QStackedWidget_addWidget(QStackedWidgetH handle, QWidgetH w) { return (int) ((QStackedWidget *)handle)->addWidget((QWidget*)w); } int QStackedWidget_insertWidget(QStackedWidgetH handle, int index, QWidgetH w) { return (int) ((QStackedWidget *)handle)->insertWidget(index, (QWidget*)w); } void QStackedWidget_removeWidget(QStackedWidgetH handle, QWidgetH w) { ((QStackedWidget *)handle)->removeWidget((QWidget*)w); } QWidgetH QStackedWidget_currentWidget(QStackedWidgetH handle) { return (QWidgetH) ((QStackedWidget *)handle)->currentWidget(); } int QStackedWidget_currentIndex(QStackedWidgetH handle) { return (int) ((QStackedWidget *)handle)->currentIndex(); } int QStackedWidget_indexOf(QStackedWidgetH handle, QWidgetH AnonParam1) { return (int) ((QStackedWidget *)handle)->indexOf((QWidget*)AnonParam1); } QWidgetH QStackedWidget_widget(QStackedWidgetH handle, int AnonParam1) { return (QWidgetH) ((QStackedWidget *)handle)->widget(AnonParam1); } int QStackedWidget_count(QStackedWidgetH handle) { return (int) ((QStackedWidget *)handle)->count(); } void QStackedWidget_setCurrentIndex(QStackedWidgetH handle, int index) { ((QStackedWidget *)handle)->setCurrentIndex(index); } void QStackedWidget_setCurrentWidget(QStackedWidgetH handle, QWidgetH w) { ((QStackedWidget *)handle)->setCurrentWidget((QWidget*)w); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmdiarea_hook.h0000664000212600021260000000304711677135472020013 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMDIAREA_HOOK_H #define QMDIAREA_HOOK_H #include #include "qabstractscrollarea_hook.h" class QMdiArea_hook : public QAbstractScrollArea_hook { Q_OBJECT public: QMdiArea_hook(QObject *handle) : QAbstractScrollArea_hook(handle) { subWindowActivated_event.func = NULL; } void hook_subWindowActivated(QHook &hook) { if ( !subWindowActivated_event.func ) connect(handle, SIGNAL(subWindowActivated(QMdiSubWindow*)), this, SLOT(subWindowActivated_hook(QMdiSubWindow*))); subWindowActivated_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(subWindowActivated(QMdiSubWindow*)), this, SLOT(subWindowActivated_hook(QMdiSubWindow*))); } private slots: void subWindowActivated_hook(QMdiSubWindow* AnonParam1) { if ( subWindowActivated_event.func ) { typedef void (*func_type)(void *data, QMdiSubWindowH AnonParam1); (*(func_type)subWindowActivated_event.func)(subWindowActivated_event.data, (QMdiSubWindowH)AnonParam1); } } private: QHook subWindowActivated_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprogressbar_hook_c.cpp0000664000212600021260000000157411677135472021602 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qprogressbar_hook_c.h" QProgressBar_hookH QProgressBar_hook_create(QObjectH handle) { return (QProgressBar_hookH) new QProgressBar_hook((QObject*)handle); } void QProgressBar_hook_destroy(QProgressBar_hookH handle) { delete (QProgressBar_hook *)handle; } void QProgressBar_hook_hook_valueChanged(QProgressBar_hookH handle, QHookH hook) { ((QProgressBar_hook *)handle)->hook_valueChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlayout_c.h0000664000212600021260000000624611677135472017214 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLAYOUT_C_H #define QLAYOUT_C_H #include #include "pascalbind.h" C_EXPORT int QLayout_margin(QLayoutH handle); C_EXPORT int QLayout_spacing(QLayoutH handle); C_EXPORT void QLayout_setMargin(QLayoutH handle, int AnonParam1); C_EXPORT void QLayout_setSpacing(QLayoutH handle, int AnonParam1); C_EXPORT void QLayout_setContentsMargins(QLayoutH handle, int left, int top, int right, int bottom); C_EXPORT void QLayout_getContentsMargins(QLayoutH handle, int* left, int* top, int* right, int* bottom); C_EXPORT void QLayout_contentsRect(QLayoutH handle, PRect retval); C_EXPORT bool QLayout_setAlignment(QLayoutH handle, QWidgetH w, unsigned int alignment); C_EXPORT bool QLayout_setAlignment2(QLayoutH handle, QLayoutH l, unsigned int alignment); C_EXPORT void QLayout_setSizeConstraint(QLayoutH handle, QLayout::SizeConstraint AnonParam1); C_EXPORT QLayout::SizeConstraint QLayout_sizeConstraint(QLayoutH handle); C_EXPORT void QLayout_setMenuBar(QLayoutH handle, QWidgetH w); C_EXPORT QWidgetH QLayout_menuBar(QLayoutH handle); C_EXPORT QWidgetH QLayout_parentWidget(QLayoutH handle); C_EXPORT void QLayout_invalidate(QLayoutH handle); C_EXPORT void QLayout_geometry(QLayoutH handle, PRect retval); C_EXPORT bool QLayout_activate(QLayoutH handle); C_EXPORT void QLayout_update(QLayoutH handle); C_EXPORT void QLayout_addWidget(QLayoutH handle, QWidgetH w); C_EXPORT void QLayout_addItem(QLayoutH handle, QLayoutItemH AnonParam1); C_EXPORT void QLayout_removeWidget(QLayoutH handle, QWidgetH w); C_EXPORT void QLayout_removeItem(QLayoutH handle, QLayoutItemH AnonParam1); C_EXPORT unsigned int QLayout_expandingDirections(QLayoutH handle); C_EXPORT void QLayout_minimumSize(QLayoutH handle, PSize retval); C_EXPORT void QLayout_maximumSize(QLayoutH handle, PSize retval); C_EXPORT void QLayout_setGeometry(QLayoutH handle, PRect AnonParam1); C_EXPORT QLayoutItemH QLayout_itemAt(QLayoutH handle, int index); C_EXPORT QLayoutItemH QLayout_takeAt(QLayoutH handle, int index); C_EXPORT int QLayout_indexOf(QLayoutH handle, QWidgetH AnonParam1); C_EXPORT int QLayout_count(QLayoutH handle); C_EXPORT bool QLayout_isEmpty(QLayoutH handle); C_EXPORT int QLayout_totalHeightForWidth(QLayoutH handle, int w); C_EXPORT void QLayout_totalMinimumSize(QLayoutH handle, PSize retval); C_EXPORT void QLayout_totalMaximumSize(QLayoutH handle, PSize retval); C_EXPORT void QLayout_totalSizeHint(QLayoutH handle, PSize retval); C_EXPORT QLayoutH QLayout_layout(QLayoutH handle); C_EXPORT void QLayout_setEnabled(QLayoutH handle, bool AnonParam1); C_EXPORT bool QLayout_isEnabled(QLayoutH handle); C_EXPORT void QLayout_closestAcceptableSize(PSize retval, const QWidgetH w, const QSizeH s); C_EXPORT QLayoutItemH QLayout_to_QLayoutItem(QLayoutH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsessionmanager_c.h0000664000212600021260000000422711677135472020712 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSESSIONMANAGER_C_H #define QSESSIONMANAGER_C_H #include #include "pascalbind.h" #if defined BINUX || MSWINDOWS || DARWIN C_EXPORT void QSessionManager_sessionId(QSessionManagerH handle, PWideString retval); C_EXPORT void QSessionManager_sessionKey(QSessionManagerH handle, PWideString retval); #endif #if defined BINUX || DARWIN C_EXPORT void* QSessionManager_handle(QSessionManagerH handle); #endif #if defined BINUX || MSWINDOWS || DARWIN C_EXPORT bool QSessionManager_allowsInteraction(QSessionManagerH handle); C_EXPORT bool QSessionManager_allowsErrorInteraction(QSessionManagerH handle); C_EXPORT void QSessionManager_release(QSessionManagerH handle); C_EXPORT void QSessionManager_cancel(QSessionManagerH handle); C_EXPORT void QSessionManager_setRestartHint(QSessionManagerH handle, QSessionManager::RestartHint AnonParam1); C_EXPORT QSessionManager::RestartHint QSessionManager_restartHint(QSessionManagerH handle); C_EXPORT void QSessionManager_setRestartCommand(QSessionManagerH handle, const QStringListH AnonParam1); C_EXPORT void QSessionManager_restartCommand(QSessionManagerH handle, QStringListH retval); C_EXPORT void QSessionManager_setDiscardCommand(QSessionManagerH handle, const QStringListH AnonParam1); C_EXPORT void QSessionManager_discardCommand(QSessionManagerH handle, QStringListH retval); C_EXPORT void QSessionManager_setManagerProperty(QSessionManagerH handle, PWideString name, PWideString value); C_EXPORT void QSessionManager_setManagerProperty2(QSessionManagerH handle, PWideString name, const QStringListH value); C_EXPORT bool QSessionManager_isPhase2(QSessionManagerH handle); C_EXPORT void QSessionManager_requestPhase2(QSessionManagerH handle); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclabstractscrollarea_c.h0000664000212600021260000000175511677135472022245 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLCLABSTRACTSCROLLAREA_C_H #define QLCLABSTRACTSCROLLAREA_C_H #include "qlclabstractscrollarea.h" #include "pascalbind.h" C_EXPORT QLCLAbstractScrollAreaH QLCLAbstractScrollArea_create(QWidgetH parent); C_EXPORT void QLCLAbstractScrollArea_destroy(QLCLAbstractScrollAreaH handle); C_EXPORT void QLCLAbstractScrollArea_override_viewportEvent(QLCLAbstractScrollAreaH handle, const QOverrideHook hook); C_EXPORT bool QLCLAbstractScrollArea_InheritedViewportEvent(QLCLAbstractScrollAreaH handle, QEventH event); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qitemdelegate_c.h0000664000212600021260000000347311677135472020327 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QITEMDELEGATE_C_H #define QITEMDELEGATE_C_H #include #include "pascalbind.h" C_EXPORT QItemDelegateH QItemDelegate_create(QObjectH parent); C_EXPORT void QItemDelegate_destroy(QItemDelegateH handle); C_EXPORT bool QItemDelegate_hasClipping(QItemDelegateH handle); C_EXPORT void QItemDelegate_setClipping(QItemDelegateH handle, bool clip); C_EXPORT void QItemDelegate_paint(QItemDelegateH handle, QPainterH painter, const QStyleOptionViewItemH option, const QModelIndexH index); C_EXPORT void QItemDelegate_sizeHint(QItemDelegateH handle, PSize retval, const QStyleOptionViewItemH option, const QModelIndexH index); C_EXPORT QWidgetH QItemDelegate_createEditor(QItemDelegateH handle, QWidgetH parent, const QStyleOptionViewItemH option, const QModelIndexH index); C_EXPORT void QItemDelegate_setEditorData(QItemDelegateH handle, QWidgetH editor, const QModelIndexH index); C_EXPORT void QItemDelegate_setModelData(QItemDelegateH handle, QWidgetH editor, QAbstractItemModelH model, const QModelIndexH index); C_EXPORT void QItemDelegate_updateEditorGeometry(QItemDelegateH handle, QWidgetH editor, const QStyleOptionViewItemH option, const QModelIndexH index); C_EXPORT QItemEditorFactoryH QItemDelegate_itemEditorFactory(QItemDelegateH handle); C_EXPORT void QItemDelegate_setItemEditorFactory(QItemDelegateH handle, QItemEditorFactoryH factory); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstringlist_c.cpp0000664000212600021260000001172411677135472020431 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qstringlist_c.h" QStringListH QStringList_create() { return (QStringListH) new QStringList(); } void QStringList_destroy(QStringListH handle) { delete (QStringList *)handle; } QStringListH QStringList_create2(PWideString i) { QString t_i; copyPWideStringToQString(i, t_i); return (QStringListH) new QStringList(t_i); } QStringListH QStringList_create3(const QStringListH l) { return (QStringListH) new QStringList(*(const QStringList*)l); } void QStringList_sort(QStringListH handle) { ((QStringList *)handle)->sort(); } int QStringList_removeDuplicates(QStringListH handle) { return (int) ((QStringList *)handle)->removeDuplicates(); } void QStringList_join(QStringListH handle, PWideString retval, PWideString sep) { QString t_retval; QString t_sep; copyPWideStringToQString(sep, t_sep); t_retval = ((QStringList *)handle)->join(t_sep); copyQStringToPWideString(t_retval, retval); } void QStringList_filter(QStringListH handle, QStringListH retval, PWideString str, Qt::CaseSensitivity cs) { QString t_str; copyPWideStringToQString(str, t_str); *(QStringList *)retval = ((QStringList *)handle)->filter(t_str, cs); } QBool QStringList_contains(QStringListH handle, PWideString str, Qt::CaseSensitivity cs) { QString t_str; copyPWideStringToQString(str, t_str); return (QBool) ((QStringList *)handle)->contains(t_str, cs); } QStringListH QStringList_replaceInStrings(QStringListH handle, PWideString before, PWideString after, Qt::CaseSensitivity cs) { QString t_before; QString t_after; copyPWideStringToQString(before, t_before); copyPWideStringToQString(after, t_after); return (QStringListH) &((QStringList *)handle)->replaceInStrings(t_before, t_after, cs); } void QStringList_filter2(QStringListH handle, QStringListH retval, const QRegExpH rx) { *(QStringList *)retval = ((QStringList *)handle)->filter(*(const QRegExp*)rx); } QStringListH QStringList_replaceInStrings2(QStringListH handle, const QRegExpH rx, PWideString after) { QString t_after; copyPWideStringToQString(after, t_after); return (QStringListH) &((QStringList *)handle)->replaceInStrings(*(const QRegExp*)rx, t_after); } int QStringList_indexOf(QStringListH handle, const QRegExpH rx, int from) { return (int) ((QStringList *)handle)->indexOf(*(const QRegExp*)rx, from); } int QStringList_lastIndexOf(QStringListH handle, const QRegExpH rx, int from) { return (int) ((QStringList *)handle)->lastIndexOf(*(const QRegExp*)rx, from); } int QStringList_size(QStringListH handle) { return (int) ((QStringList *)handle)->size(); } bool QStringList_isEmpty(QStringListH handle) { return (bool) ((QStringList *)handle)->isEmpty(); } void QStringList_clear(QStringListH handle) { ((QStringList *)handle)->clear(); } void QStringList_at(QStringListH handle, PWideString retval, int i) { QString t_retval; t_retval = ((QStringList *)handle)->at(i); copyQStringToPWideString(t_retval, retval); } void QStringList_append(QStringListH handle, PWideString s) { QString t_s; copyPWideStringToQString(s, t_s); ((QStringList *)handle)->append(t_s); } void QStringList_prepend(QStringListH handle, PWideString s) { QString t_s; copyPWideStringToQString(s, t_s); ((QStringList *)handle)->prepend(t_s); } void QStringList_insert(QStringListH handle, int i, PWideString s) { QString t_s; copyPWideStringToQString(s, t_s); ((QStringList *)handle)->insert(i, t_s); } void QStringList_replace(QStringListH handle, int i, PWideString s) { QString t_s; copyPWideStringToQString(s, t_s); ((QStringList *)handle)->replace(i, t_s); } void QStringList_removeAt(QStringListH handle, int i) { ((QStringList *)handle)->removeAt(i); } int QStringList_removeAll(QStringListH handle, PWideString s) { QString t_s; copyPWideStringToQString(s, t_s); return (int) ((QStringList *)handle)->removeAll(t_s); } void QStringList_takeAt(QStringListH handle, PWideString retval, int i) { QString t_retval; t_retval = ((QStringList *)handle)->takeAt(i); copyQStringToPWideString(t_retval, retval); } void QStringList_takeFirst(QStringListH handle, PWideString retval) { QString t_retval; t_retval = ((QStringList *)handle)->takeFirst(); copyQStringToPWideString(t_retval, retval); } void QStringList_takeLast(QStringListH handle, PWideString retval) { QString t_retval; t_retval = ((QStringList *)handle)->takeLast(); copyQStringToPWideString(t_retval, retval); } void QStringList_move(QStringListH handle, int from, int to) { ((QStringList *)handle)->move(from, to); } void QStringList_swap(QStringListH handle, int i, int j) { ((QStringList *)handle)->swap(i, j); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qthread_c.h0000664000212600021260000000273511677135472017145 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTHREAD_C_H #define QTHREAD_C_H #include #include "pascalbind.h" C_EXPORT Qt::HANDLE QThread_currentThreadId(); C_EXPORT QThreadH QThread_currentThread(); C_EXPORT int QThread_idealThreadCount(); C_EXPORT void QThread_yieldCurrentThread(); C_EXPORT QThreadH QThread_create(QObjectH parent); C_EXPORT void QThread_destroy(QThreadH handle); C_EXPORT void QThread_setPriority(QThreadH handle, QThread::Priority priority); C_EXPORT QThread::Priority QThread_priority(QThreadH handle); C_EXPORT bool QThread_isFinished(QThreadH handle); C_EXPORT bool QThread_isRunning(QThreadH handle); C_EXPORT void QThread_setStackSize(QThreadH handle, uint stackSize); C_EXPORT uint QThread_stackSize(QThreadH handle); C_EXPORT void QThread_exit(QThreadH handle, int retcode); C_EXPORT void QThread_start(QThreadH handle, QThread::Priority AnonParam1); C_EXPORT void QThread_terminate(QThreadH handle); C_EXPORT void QThread_quit(QThreadH handle); C_EXPORT bool QThread_wait(QThreadH handle, unsigned long time); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfilesystemwatcher_c.h0000664000212600021260000000256411677135472021440 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFILESYSTEMWATCHER_C_H #define QFILESYSTEMWATCHER_C_H #include #include "pascalbind.h" C_EXPORT QFileSystemWatcherH QFileSystemWatcher_create(QObjectH parent); C_EXPORT void QFileSystemWatcher_destroy(QFileSystemWatcherH handle); C_EXPORT QFileSystemWatcherH QFileSystemWatcher_create2(const QStringListH paths, QObjectH parent); C_EXPORT void QFileSystemWatcher_addPath(QFileSystemWatcherH handle, PWideString file); C_EXPORT void QFileSystemWatcher_addPaths(QFileSystemWatcherH handle, const QStringListH files); C_EXPORT void QFileSystemWatcher_removePath(QFileSystemWatcherH handle, PWideString file); C_EXPORT void QFileSystemWatcher_removePaths(QFileSystemWatcherH handle, const QStringListH files); C_EXPORT void QFileSystemWatcher_files(QFileSystemWatcherH handle, QStringListH retval); C_EXPORT void QFileSystemWatcher_directories(QFileSystemWatcherH handle, QStringListH retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qgridlayout_c.cpp0000664000212600021260000001511511677135472020410 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qgridlayout_c.h" QGridLayoutH QGridLayout_create(QWidgetH parent) { return (QGridLayoutH) new QGridLayout((QWidget*)parent); } void QGridLayout_destroy(QGridLayoutH handle) { delete (QGridLayout *)handle; } QGridLayoutH QGridLayout_create2() { return (QGridLayoutH) new QGridLayout(); } void QGridLayout_sizeHint(QGridLayoutH handle, PSize retval) { *(QSize *)retval = ((QGridLayout *)handle)->sizeHint(); } void QGridLayout_minimumSize(QGridLayoutH handle, PSize retval) { *(QSize *)retval = ((QGridLayout *)handle)->minimumSize(); } void QGridLayout_maximumSize(QGridLayoutH handle, PSize retval) { *(QSize *)retval = ((QGridLayout *)handle)->maximumSize(); } void QGridLayout_setHorizontalSpacing(QGridLayoutH handle, int spacing) { ((QGridLayout *)handle)->setHorizontalSpacing(spacing); } int QGridLayout_horizontalSpacing(QGridLayoutH handle) { return (int) ((QGridLayout *)handle)->horizontalSpacing(); } void QGridLayout_setVerticalSpacing(QGridLayoutH handle, int spacing) { ((QGridLayout *)handle)->setVerticalSpacing(spacing); } int QGridLayout_verticalSpacing(QGridLayoutH handle) { return (int) ((QGridLayout *)handle)->verticalSpacing(); } void QGridLayout_setSpacing(QGridLayoutH handle, int spacing) { ((QGridLayout *)handle)->setSpacing(spacing); } int QGridLayout_spacing(QGridLayoutH handle) { return (int) ((QGridLayout *)handle)->spacing(); } void QGridLayout_setRowStretch(QGridLayoutH handle, int row, int stretch) { ((QGridLayout *)handle)->setRowStretch(row, stretch); } void QGridLayout_setColumnStretch(QGridLayoutH handle, int column, int stretch) { ((QGridLayout *)handle)->setColumnStretch(column, stretch); } int QGridLayout_rowStretch(QGridLayoutH handle, int row) { return (int) ((QGridLayout *)handle)->rowStretch(row); } int QGridLayout_columnStretch(QGridLayoutH handle, int column) { return (int) ((QGridLayout *)handle)->columnStretch(column); } void QGridLayout_setRowMinimumHeight(QGridLayoutH handle, int row, int minSize) { ((QGridLayout *)handle)->setRowMinimumHeight(row, minSize); } void QGridLayout_setColumnMinimumWidth(QGridLayoutH handle, int column, int minSize) { ((QGridLayout *)handle)->setColumnMinimumWidth(column, minSize); } int QGridLayout_rowMinimumHeight(QGridLayoutH handle, int row) { return (int) ((QGridLayout *)handle)->rowMinimumHeight(row); } int QGridLayout_columnMinimumWidth(QGridLayoutH handle, int column) { return (int) ((QGridLayout *)handle)->columnMinimumWidth(column); } int QGridLayout_columnCount(QGridLayoutH handle) { return (int) ((QGridLayout *)handle)->columnCount(); } int QGridLayout_rowCount(QGridLayoutH handle) { return (int) ((QGridLayout *)handle)->rowCount(); } void QGridLayout_cellRect(QGridLayoutH handle, PRect retval, int row, int column) { QRect t_retval; t_retval = ((QGridLayout *)handle)->cellRect(row, column); copyQRectToPRect(t_retval, retval); } bool QGridLayout_hasHeightForWidth(QGridLayoutH handle) { return (bool) ((QGridLayout *)handle)->hasHeightForWidth(); } int QGridLayout_heightForWidth(QGridLayoutH handle, int AnonParam1) { return (int) ((QGridLayout *)handle)->heightForWidth(AnonParam1); } int QGridLayout_minimumHeightForWidth(QGridLayoutH handle, int AnonParam1) { return (int) ((QGridLayout *)handle)->minimumHeightForWidth(AnonParam1); } unsigned int QGridLayout_expandingDirections(QGridLayoutH handle) { return (unsigned int) ((QGridLayout *)handle)->expandingDirections(); } void QGridLayout_invalidate(QGridLayoutH handle) { ((QGridLayout *)handle)->invalidate(); } void QGridLayout_addWidget(QGridLayoutH handle, QWidgetH w) { ((QGridLayout *)handle)->addWidget((QWidget*)w); } void QGridLayout_addWidget2(QGridLayoutH handle, QWidgetH AnonParam1, int row, int column, unsigned int AnonParam4) { ((QGridLayout *)handle)->addWidget((QWidget*)AnonParam1, row, column, (Qt::Alignment)AnonParam4); } void QGridLayout_addWidget3(QGridLayoutH handle, QWidgetH AnonParam1, int row, int column, int rowSpan, int columnSpan, unsigned int AnonParam6) { ((QGridLayout *)handle)->addWidget((QWidget*)AnonParam1, row, column, rowSpan, columnSpan, (Qt::Alignment)AnonParam6); } void QGridLayout_addLayout(QGridLayoutH handle, QLayoutH AnonParam1, int row, int column, unsigned int AnonParam4) { ((QGridLayout *)handle)->addLayout((QLayout*)AnonParam1, row, column, (Qt::Alignment)AnonParam4); } void QGridLayout_addLayout2(QGridLayoutH handle, QLayoutH AnonParam1, int row, int column, int rowSpan, int columnSpan, unsigned int AnonParam6) { ((QGridLayout *)handle)->addLayout((QLayout*)AnonParam1, row, column, rowSpan, columnSpan, (Qt::Alignment)AnonParam6); } void QGridLayout_setOriginCorner(QGridLayoutH handle, Qt::Corner AnonParam1) { ((QGridLayout *)handle)->setOriginCorner(AnonParam1); } Qt::Corner QGridLayout_originCorner(QGridLayoutH handle) { return (Qt::Corner) ((QGridLayout *)handle)->originCorner(); } QLayoutItemH QGridLayout_itemAt(QGridLayoutH handle, int index) { return (QLayoutItemH) ((QGridLayout *)handle)->itemAt(index); } QLayoutItemH QGridLayout_itemAtPosition(QGridLayoutH handle, int row, int column) { return (QLayoutItemH) ((QGridLayout *)handle)->itemAtPosition(row, column); } QLayoutItemH QGridLayout_takeAt(QGridLayoutH handle, int index) { return (QLayoutItemH) ((QGridLayout *)handle)->takeAt(index); } int QGridLayout_count(QGridLayoutH handle) { return (int) ((QGridLayout *)handle)->count(); } void QGridLayout_setGeometry(QGridLayoutH handle, PRect AnonParam1) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QGridLayout *)handle)->setGeometry(t_AnonParam1); } void QGridLayout_addItem(QGridLayoutH handle, QLayoutItemH item, int row, int column, int rowSpan, int columnSpan, unsigned int AnonParam6) { ((QGridLayout *)handle)->addItem((QLayoutItem*)item, row, column, rowSpan, columnSpan, (Qt::Alignment)AnonParam6); } void QGridLayout_setDefaultPositioning(QGridLayoutH handle, int n, Qt::Orientation orient) { ((QGridLayout *)handle)->setDefaultPositioning(n, orient); } void QGridLayout_getItemPosition(QGridLayoutH handle, int idx, int* row, int* column, int* rowSpan, int* columnSpan) { ((QGridLayout *)handle)->getItemPosition(idx, row, column, rowSpan, columnSpan); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qgroupbox_hook_c.cpp0000664000212600021260000000211311677135472021104 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qgroupbox_hook_c.h" QGroupBox_hookH QGroupBox_hook_create(QObjectH handle) { return (QGroupBox_hookH) new QGroupBox_hook((QObject*)handle); } void QGroupBox_hook_destroy(QGroupBox_hookH handle) { delete (QGroupBox_hook *)handle; } void QGroupBox_hook_hook_clicked(QGroupBox_hookH handle, QHookH hook) { ((QGroupBox_hook *)handle)->hook_clicked(hook); } void QGroupBox_hook_hook_clicked2(QGroupBox_hookH handle, QHookH hook) { ((QGroupBox_hook *)handle)->hook_clicked2(hook); } void QGroupBox_hook_hook_toggled(QGroupBox_hookH handle, QHookH hook) { ((QGroupBox_hook *)handle)->hook_toggled(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractprintdialog_hook_c.h0000664000212600021260000000140711677135472022751 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTPRINTDIALOG_HOOK_C_H #define QABSTRACTPRINTDIALOG_HOOK_C_H #include "qabstractprintdialog_hook.h" C_EXPORT QAbstractPrintDialog_hookH QAbstractPrintDialog_hook_create(QObjectH handle); C_EXPORT void QAbstractPrintDialog_hook_destroy(QAbstractPrintDialog_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpagesetupdialog_c.cpp0000664000212600021260000000522311677135472021401 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qpagesetupdialog_c.h" QPageSetupDialogH QPageSetupDialog_create(QPrinterH printer, QWidgetH parent) { return (QPageSetupDialogH) new QPageSetupDialog((QPrinter*)printer, (QWidget*)parent); } void QPageSetupDialog_destroy(QPageSetupDialogH handle) { delete (QPageSetupDialog *)handle; } QPageSetupDialogH QPageSetupDialog_create2(QWidgetH parent) { return (QPageSetupDialogH) new QPageSetupDialog((QWidget*)parent); } void QPageSetupDialog_addEnabledOption(QPageSetupDialogH handle, QPageSetupDialog::PageSetupDialogOption option) { ((QPageSetupDialog *)handle)->addEnabledOption(option); } void QPageSetupDialog_setEnabledOptions(QPageSetupDialogH handle, unsigned int options) { ((QPageSetupDialog *)handle)->setEnabledOptions((QPageSetupDialog::PageSetupDialogOptions)options); } unsigned int QPageSetupDialog_enabledOptions(QPageSetupDialogH handle) { return (unsigned int) ((QPageSetupDialog *)handle)->enabledOptions(); } bool QPageSetupDialog_isOptionEnabled(QPageSetupDialogH handle, QPageSetupDialog::PageSetupDialogOption option) { return (bool) ((QPageSetupDialog *)handle)->isOptionEnabled(option); } void QPageSetupDialog_setOption(QPageSetupDialogH handle, QPageSetupDialog::PageSetupDialogOption option, bool on) { ((QPageSetupDialog *)handle)->setOption(option, on); } bool QPageSetupDialog_testOption(QPageSetupDialogH handle, QPageSetupDialog::PageSetupDialogOption option) { return (bool) ((QPageSetupDialog *)handle)->testOption(option); } void QPageSetupDialog_setOptions(QPageSetupDialogH handle, unsigned int options) { ((QPageSetupDialog *)handle)->setOptions((QPageSetupDialog::PageSetupDialogOptions)options); } unsigned int QPageSetupDialog_options(QPageSetupDialogH handle) { return (unsigned int) ((QPageSetupDialog *)handle)->options(); } int QPageSetupDialog_exec(QPageSetupDialogH handle) { return (int) ((QPageSetupDialog *)handle)->exec(); } void QPageSetupDialog_open(QPageSetupDialogH handle, QObjectH receiver, const char* member) { ((QPageSetupDialog *)handle)->open((QObject*)receiver, member); } #if defined DARWIN void QPageSetupDialog_setVisible(QPageSetupDialogH handle, bool visible) { ((QPageSetupDialog *)handle)->setVisible(visible); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstackedlayout_c.cpp0000664000212600021260000000623711677135472021106 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qstackedlayout_c.h" QStackedLayoutH QStackedLayout_create() { return (QStackedLayoutH) new QStackedLayout(); } void QStackedLayout_destroy(QStackedLayoutH handle) { delete (QStackedLayout *)handle; } QStackedLayoutH QStackedLayout_create2(QWidgetH parent) { return (QStackedLayoutH) new QStackedLayout((QWidget*)parent); } QStackedLayoutH QStackedLayout_create3(QLayoutH parentLayout) { return (QStackedLayoutH) new QStackedLayout((QLayout*)parentLayout); } int QStackedLayout_addWidget(QStackedLayoutH handle, QWidgetH w) { return (int) ((QStackedLayout *)handle)->addWidget((QWidget*)w); } int QStackedLayout_insertWidget(QStackedLayoutH handle, int index, QWidgetH w) { return (int) ((QStackedLayout *)handle)->insertWidget(index, (QWidget*)w); } QWidgetH QStackedLayout_currentWidget(QStackedLayoutH handle) { return (QWidgetH) ((QStackedLayout *)handle)->currentWidget(); } int QStackedLayout_currentIndex(QStackedLayoutH handle) { return (int) ((QStackedLayout *)handle)->currentIndex(); } QWidgetH QStackedLayout_widget(QStackedLayoutH handle, int AnonParam1) { return (QWidgetH) ((QStackedLayout *)handle)->widget(AnonParam1); } int QStackedLayout_count(QStackedLayoutH handle) { return (int) ((QStackedLayout *)handle)->count(); } QStackedLayout::StackingMode QStackedLayout_stackingMode(QStackedLayoutH handle) { return (QStackedLayout::StackingMode) ((QStackedLayout *)handle)->stackingMode(); } void QStackedLayout_setStackingMode(QStackedLayoutH handle, QStackedLayout::StackingMode stackingMode) { ((QStackedLayout *)handle)->setStackingMode(stackingMode); } void QStackedLayout_addItem(QStackedLayoutH handle, QLayoutItemH item) { ((QStackedLayout *)handle)->addItem((QLayoutItem*)item); } void QStackedLayout_sizeHint(QStackedLayoutH handle, PSize retval) { *(QSize *)retval = ((QStackedLayout *)handle)->sizeHint(); } void QStackedLayout_minimumSize(QStackedLayoutH handle, PSize retval) { *(QSize *)retval = ((QStackedLayout *)handle)->minimumSize(); } QLayoutItemH QStackedLayout_itemAt(QStackedLayoutH handle, int AnonParam1) { return (QLayoutItemH) ((QStackedLayout *)handle)->itemAt(AnonParam1); } QLayoutItemH QStackedLayout_takeAt(QStackedLayoutH handle, int AnonParam1) { return (QLayoutItemH) ((QStackedLayout *)handle)->takeAt(AnonParam1); } void QStackedLayout_setGeometry(QStackedLayoutH handle, PRect rect) { QRect t_rect; copyPRectToQRect(rect, t_rect); ((QStackedLayout *)handle)->setGeometry(t_rect); } void QStackedLayout_setCurrentIndex(QStackedLayoutH handle, int index) { ((QStackedLayout *)handle)->setCurrentIndex(index); } void QStackedLayout_setCurrentWidget(QStackedLayoutH handle, QWidgetH w) { ((QStackedLayout *)handle)->setCurrentWidget((QWidget*)w); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsystemtrayicon_c.cpp0000664000212600021260000000562211677135472021324 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsystemtrayicon_c.h" QSystemTrayIconH QSystemTrayIcon_create(QObjectH parent) { return (QSystemTrayIconH) new QSystemTrayIcon((QObject*)parent); } void QSystemTrayIcon_destroy(QSystemTrayIconH handle) { delete (QSystemTrayIcon *)handle; } QSystemTrayIconH QSystemTrayIcon_create2(const QIconH icon, QObjectH parent) { return (QSystemTrayIconH) new QSystemTrayIcon(*(const QIcon*)icon, (QObject*)parent); } void QSystemTrayIcon_setContextMenu(QSystemTrayIconH handle, QMenuH menu) { ((QSystemTrayIcon *)handle)->setContextMenu((QMenu*)menu); } QMenuH QSystemTrayIcon_contextMenu(QSystemTrayIconH handle) { return (QMenuH) ((QSystemTrayIcon *)handle)->contextMenu(); } void QSystemTrayIcon_icon(QSystemTrayIconH handle, QIconH retval) { *(QIcon *)retval = ((QSystemTrayIcon *)handle)->icon(); } void QSystemTrayIcon_setIcon(QSystemTrayIconH handle, const QIconH icon) { ((QSystemTrayIcon *)handle)->setIcon(*(const QIcon*)icon); } void QSystemTrayIcon_toolTip(QSystemTrayIconH handle, PWideString retval) { QString t_retval; t_retval = ((QSystemTrayIcon *)handle)->toolTip(); copyQStringToPWideString(t_retval, retval); } void QSystemTrayIcon_setToolTip(QSystemTrayIconH handle, PWideString tip) { QString t_tip; copyPWideStringToQString(tip, t_tip); ((QSystemTrayIcon *)handle)->setToolTip(t_tip); } bool QSystemTrayIcon_isSystemTrayAvailable() { return (bool) QSystemTrayIcon::isSystemTrayAvailable(); } bool QSystemTrayIcon_supportsMessages() { return (bool) QSystemTrayIcon::supportsMessages(); } void QSystemTrayIcon_showMessage(QSystemTrayIconH handle, PWideString title, PWideString msg, QSystemTrayIcon::MessageIcon icon, int msecs) { QString t_title; QString t_msg; copyPWideStringToQString(title, t_title); copyPWideStringToQString(msg, t_msg); ((QSystemTrayIcon *)handle)->showMessage(t_title, t_msg, icon, msecs); } void QSystemTrayIcon_geometry(QSystemTrayIconH handle, PRect retval) { QRect t_retval; t_retval = ((QSystemTrayIcon *)handle)->geometry(); copyQRectToPRect(t_retval, retval); } bool QSystemTrayIcon_isVisible(QSystemTrayIconH handle) { return (bool) ((QSystemTrayIcon *)handle)->isVisible(); } void QSystemTrayIcon_setVisible(QSystemTrayIconH handle, bool visible) { ((QSystemTrayIcon *)handle)->setVisible(visible); } void QSystemTrayIcon_show(QSystemTrayIconH handle) { ((QSystemTrayIcon *)handle)->show(); } void QSystemTrayIcon_hide(QSystemTrayIconH handle) { ((QSystemTrayIcon *)handle)->hide(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclmessageevent_c.h0000664000212600021260000000273011677135472021052 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLCLMESSAGEEVENT_C_H #define QLCLMESSAGEEVENT_C_H #include "qlclmessageevent.h" #include "pascalbind.h" C_EXPORT QLCLMessageEventH QLCLMessageEvent_create(QEvent::Type aType); C_EXPORT void QLCLMessageEvent_destroy(QLCLMessageEventH handle); C_EXPORT QLCLMessageEventH QLCLMessageEvent_create2(QEvent::Type aType, PTRUINT aMsg, PTRUINT aWParam, PTRUINT aLParam, PTRUINT aMsgResult); C_EXPORT PTRUINT QLCLMessageEvent_getMsg(QLCLMessageEventH handle); C_EXPORT PTRUINT QLCLMessageEvent_getWParam(QLCLMessageEventH handle); C_EXPORT PTRUINT QLCLMessageEvent_getLParam(QLCLMessageEventH handle); C_EXPORT PTRUINT QLCLMessageEvent_getMsgResult(QLCLMessageEventH handle); C_EXPORT void QLCLMessageEvent_setMsg(QLCLMessageEventH handle, PTRUINT Value); C_EXPORT void QLCLMessageEvent_setWParam(QLCLMessageEventH handle, PTRUINT Value); C_EXPORT void QLCLMessageEvent_setLParam(QLCLMessageEventH handle, PTRUINT Value); C_EXPORT void QLCLMessageEvent_setMsgResult(QLCLMessageEventH handle, PTRUINT Value); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qbuttongroup_c.h0000664000212600021260000000304711677135472020263 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QBUTTONGROUP_C_H #define QBUTTONGROUP_C_H #include #include "pascalbind.h" C_EXPORT QButtonGroupH QButtonGroup_create(QObjectH parent); C_EXPORT void QButtonGroup_destroy(QButtonGroupH handle); C_EXPORT void QButtonGroup_setExclusive(QButtonGroupH handle, bool AnonParam1); C_EXPORT bool QButtonGroup_exclusive(QButtonGroupH handle); C_EXPORT void QButtonGroup_addButton(QButtonGroupH handle, QAbstractButtonH AnonParam1); C_EXPORT void QButtonGroup_addButton2(QButtonGroupH handle, QAbstractButtonH AnonParam1, int id); C_EXPORT void QButtonGroup_removeButton(QButtonGroupH handle, QAbstractButtonH AnonParam1); C_EXPORT void QButtonGroup_buttons(QButtonGroupH handle, PPtrIntArray retval); C_EXPORT QAbstractButtonH QButtonGroup_checkedButton(QButtonGroupH handle); C_EXPORT QAbstractButtonH QButtonGroup_button(QButtonGroupH handle, int id); C_EXPORT void QButtonGroup_setId(QButtonGroupH handle, QAbstractButtonH button, int id); C_EXPORT int QButtonGroup_id(QButtonGroupH handle, QAbstractButtonH button); C_EXPORT int QButtonGroup_checkedId(QButtonGroupH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfont_c.cpp0000664000212600021260000002204211677135472017170 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qfont_c.h" QFontH QFont_create() { return (QFontH) new QFont(); } void QFont_destroy(QFontH handle) { delete (QFont *)handle; } QFontH QFont_create2(PWideString family, int pointSize, int weight, bool italic) { QString t_family; copyPWideStringToQString(family, t_family); return (QFontH) new QFont(t_family, pointSize, weight, italic); } QFontH QFont_create3(const QFontH AnonParam1, QPaintDeviceH pd) { return (QFontH) new QFont(*(const QFont*)AnonParam1, (QPaintDevice*)pd); } QFontH QFont_create4(const QFontH AnonParam1) { return (QFontH) new QFont(*(const QFont*)AnonParam1); } void QFont_family(QFontH handle, PWideString retval) { QString t_retval; t_retval = ((QFont *)handle)->family(); copyQStringToPWideString(t_retval, retval); } void QFont_setFamily(QFontH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QFont *)handle)->setFamily(t_AnonParam1); } int QFont_pointSize(QFontH handle) { return (int) ((QFont *)handle)->pointSize(); } void QFont_setPointSize(QFontH handle, int AnonParam1) { ((QFont *)handle)->setPointSize(AnonParam1); } qreal QFont_pointSizeF(QFontH handle) { return (qreal) ((QFont *)handle)->pointSizeF(); } void QFont_setPointSizeF(QFontH handle, qreal AnonParam1) { ((QFont *)handle)->setPointSizeF(AnonParam1); } int QFont_pixelSize(QFontH handle) { return (int) ((QFont *)handle)->pixelSize(); } void QFont_setPixelSize(QFontH handle, int AnonParam1) { ((QFont *)handle)->setPixelSize(AnonParam1); } int QFont_weight(QFontH handle) { return (int) ((QFont *)handle)->weight(); } void QFont_setWeight(QFontH handle, int AnonParam1) { ((QFont *)handle)->setWeight(AnonParam1); } bool QFont_bold(QFontH handle) { return (bool) ((QFont *)handle)->bold(); } void QFont_setBold(QFontH handle, bool AnonParam1) { ((QFont *)handle)->setBold(AnonParam1); } void QFont_setStyle(QFontH handle, QFont::Style style) { ((QFont *)handle)->setStyle(style); } QFont::Style QFont_style(QFontH handle) { return (QFont::Style) ((QFont *)handle)->style(); } bool QFont_italic(QFontH handle) { return (bool) ((QFont *)handle)->italic(); } void QFont_setItalic(QFontH handle, bool b) { ((QFont *)handle)->setItalic(b); } bool QFont_underline(QFontH handle) { return (bool) ((QFont *)handle)->underline(); } void QFont_setUnderline(QFontH handle, bool AnonParam1) { ((QFont *)handle)->setUnderline(AnonParam1); } bool QFont_overline(QFontH handle) { return (bool) ((QFont *)handle)->overline(); } void QFont_setOverline(QFontH handle, bool AnonParam1) { ((QFont *)handle)->setOverline(AnonParam1); } bool QFont_strikeOut(QFontH handle) { return (bool) ((QFont *)handle)->strikeOut(); } void QFont_setStrikeOut(QFontH handle, bool AnonParam1) { ((QFont *)handle)->setStrikeOut(AnonParam1); } bool QFont_fixedPitch(QFontH handle) { return (bool) ((QFont *)handle)->fixedPitch(); } void QFont_setFixedPitch(QFontH handle, bool AnonParam1) { ((QFont *)handle)->setFixedPitch(AnonParam1); } bool QFont_kerning(QFontH handle) { return (bool) ((QFont *)handle)->kerning(); } void QFont_setKerning(QFontH handle, bool AnonParam1) { ((QFont *)handle)->setKerning(AnonParam1); } QFont::StyleHint QFont_styleHint(QFontH handle) { return (QFont::StyleHint) ((QFont *)handle)->styleHint(); } QFont::StyleStrategy QFont_styleStrategy(QFontH handle) { return (QFont::StyleStrategy) ((QFont *)handle)->styleStrategy(); } void QFont_setStyleHint(QFontH handle, QFont::StyleHint AnonParam1, QFont::StyleStrategy AnonParam2) { ((QFont *)handle)->setStyleHint(AnonParam1, AnonParam2); } void QFont_setStyleStrategy(QFontH handle, QFont::StyleStrategy s) { ((QFont *)handle)->setStyleStrategy(s); } int QFont_stretch(QFontH handle) { return (int) ((QFont *)handle)->stretch(); } void QFont_setStretch(QFontH handle, int AnonParam1) { ((QFont *)handle)->setStretch(AnonParam1); } qreal QFont_letterSpacing(QFontH handle) { return (qreal) ((QFont *)handle)->letterSpacing(); } QFont::SpacingType QFont_letterSpacingType(QFontH handle) { return (QFont::SpacingType) ((QFont *)handle)->letterSpacingType(); } void QFont_setLetterSpacing(QFontH handle, QFont::SpacingType type, qreal spacing) { ((QFont *)handle)->setLetterSpacing(type, spacing); } qreal QFont_wordSpacing(QFontH handle) { return (qreal) ((QFont *)handle)->wordSpacing(); } void QFont_setWordSpacing(QFontH handle, qreal spacing) { ((QFont *)handle)->setWordSpacing(spacing); } void QFont_setCapitalization(QFontH handle, QFont::Capitalization AnonParam1) { ((QFont *)handle)->setCapitalization(AnonParam1); } QFont::Capitalization QFont_capitalization(QFontH handle) { return (QFont::Capitalization) ((QFont *)handle)->capitalization(); } bool QFont_rawMode(QFontH handle) { return (bool) ((QFont *)handle)->rawMode(); } void QFont_setRawMode(QFontH handle, bool AnonParam1) { ((QFont *)handle)->setRawMode(AnonParam1); } bool QFont_exactMatch(QFontH handle) { return (bool) ((QFont *)handle)->exactMatch(); } bool QFont_isCopyOf(QFontH handle, const QFontH AnonParam1) { return (bool) ((QFont *)handle)->isCopyOf(*(const QFont*)AnonParam1); } #if defined BINUX || DARWIN || QTOPIA Qt::HANDLE QFont_handle(QFontH handle) { return (Qt::HANDLE) ((QFont *)handle)->handle(); } #endif void QFont_setRawName(QFontH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QFont *)handle)->setRawName(t_AnonParam1); } void QFont_rawName(QFontH handle, PWideString retval) { QString t_retval; t_retval = ((QFont *)handle)->rawName(); copyQStringToPWideString(t_retval, retval); } void QFont_key(QFontH handle, PWideString retval) { QString t_retval; t_retval = ((QFont *)handle)->key(); copyQStringToPWideString(t_retval, retval); } void QFont_toString(QFontH handle, PWideString retval) { QString t_retval; t_retval = ((QFont *)handle)->toString(); copyQStringToPWideString(t_retval, retval); } bool QFont_fromString(QFontH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); return (bool) ((QFont *)handle)->fromString(t_AnonParam1); } void QFont_substitute(PWideString retval, PWideString AnonParam1) { QString t_retval; QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); t_retval = QFont::substitute(t_AnonParam1); copyQStringToPWideString(t_retval, retval); } void QFont_substitutes(QStringListH retval, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); *(QStringList *)retval = QFont::substitutes(t_AnonParam1); } void QFont_substitutions(QStringListH retval) { *(QStringList *)retval = QFont::substitutions(); } void QFont_insertSubstitution(PWideString AnonParam1, PWideString AnonParam2) { QString t_AnonParam1; QString t_AnonParam2; copyPWideStringToQString(AnonParam1, t_AnonParam1); copyPWideStringToQString(AnonParam2, t_AnonParam2); QFont::insertSubstitution(t_AnonParam1, t_AnonParam2); } void QFont_insertSubstitutions(PWideString AnonParam1, const QStringListH AnonParam2) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); QFont::insertSubstitutions(t_AnonParam1, *(const QStringList*)AnonParam2); } void QFont_removeSubstitution(PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); QFont::removeSubstitution(t_AnonParam1); } void QFont_initialize() { QFont::initialize(); } void QFont_cleanup() { QFont::cleanup(); } #if defined BINUX || MSWINDOWS || DARWIN void QFont_cacheStatistics() { QFont::cacheStatistics(); } #endif void QFont_defaultFamily(QFontH handle, PWideString retval) { QString t_retval; t_retval = ((QFont *)handle)->defaultFamily(); copyQStringToPWideString(t_retval, retval); } void QFont_lastResortFamily(QFontH handle, PWideString retval) { QString t_retval; t_retval = ((QFont *)handle)->lastResortFamily(); copyQStringToPWideString(t_retval, retval); } void QFont_lastResortFont(QFontH handle, PWideString retval) { QString t_retval; t_retval = ((QFont *)handle)->lastResortFont(); copyQStringToPWideString(t_retval, retval); } void QFont_resolve(QFontH handle, QFontH retval, const QFontH AnonParam1) { *(QFont *)retval = ((QFont *)handle)->resolve(*(const QFont*)AnonParam1); } uint QFont_resolve2(QFontH handle) { return (uint) ((QFont *)handle)->resolve(); } void QFont_resolve3(QFontH handle, uint mask) { ((QFont *)handle)->resolve(mask); } #if defined MSWINDOWS HFONT QFont_handle2(QFontH handle) { return (HFONT) ((QFont *)handle)->handle(); } #endif #if defined DARWIN quint32 QFont_macFontID(QFontH handle) { return (quint32) ((QFont *)handle)->macFontID(); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qauthenticator_c.h0000664000212600021260000000243611677135472020546 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QAUTHENTICATOR_C_H #define QAUTHENTICATOR_C_H #include #include "pascalbind.h" C_EXPORT QAuthenticatorH QAuthenticator_create(); C_EXPORT void QAuthenticator_destroy(QAuthenticatorH handle); C_EXPORT QAuthenticatorH QAuthenticator_create2(const QAuthenticatorH other); C_EXPORT void QAuthenticator_user(QAuthenticatorH handle, PWideString retval); C_EXPORT void QAuthenticator_setUser(QAuthenticatorH handle, PWideString user); C_EXPORT void QAuthenticator_password(QAuthenticatorH handle, PWideString retval); C_EXPORT void QAuthenticator_setPassword(QAuthenticatorH handle, PWideString password); C_EXPORT void QAuthenticator_realm(QAuthenticatorH handle, PWideString retval); C_EXPORT bool QAuthenticator_isNull(QAuthenticatorH handle); C_EXPORT void QAuthenticator_detach(QAuthenticatorH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstackedwidget_hook_c.cpp0000664000212600021260000000205511677135472022066 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qstackedwidget_hook_c.h" QStackedWidget_hookH QStackedWidget_hook_create(QObjectH handle) { return (QStackedWidget_hookH) new QStackedWidget_hook((QObject*)handle); } void QStackedWidget_hook_destroy(QStackedWidget_hookH handle) { delete (QStackedWidget_hook *)handle; } void QStackedWidget_hook_hook_currentChanged(QStackedWidget_hookH handle, QHookH hook) { ((QStackedWidget_hook *)handle)->hook_currentChanged(hook); } void QStackedWidget_hook_hook_widgetRemoved(QStackedWidget_hookH handle, QHookH hook) { ((QStackedWidget_hook *)handle)->hook_widgetRemoved(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlcltabwidget_c.cpp0000664000212600021260000000122111677135472020663 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlcltabwidget_c.h" QTabBarH QLCLTabWidget_tabBarHandle(QTabWidgetH protectedhandle) { return (QTabBarH) QLCLTabWidget::tabBarHandle((QTabWidget*)protectedhandle); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprogressbar_c.cpp0000664000212600021260000000727411677135472020565 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qprogressbar_c.h" QProgressBarH QProgressBar_create(QWidgetH parent) { return (QProgressBarH) new QProgressBar((QWidget*)parent); } void QProgressBar_destroy(QProgressBarH handle) { delete (QProgressBar *)handle; } int QProgressBar_minimum(QProgressBarH handle) { return (int) ((QProgressBar *)handle)->minimum(); } int QProgressBar_maximum(QProgressBarH handle) { return (int) ((QProgressBar *)handle)->maximum(); } int QProgressBar_value(QProgressBarH handle) { return (int) ((QProgressBar *)handle)->value(); } void QProgressBar_text(QProgressBarH handle, PWideString retval) { QString t_retval; t_retval = ((QProgressBar *)handle)->text(); copyQStringToPWideString(t_retval, retval); } void QProgressBar_setTextVisible(QProgressBarH handle, bool visible) { ((QProgressBar *)handle)->setTextVisible(visible); } bool QProgressBar_isTextVisible(QProgressBarH handle) { return (bool) ((QProgressBar *)handle)->isTextVisible(); } unsigned int QProgressBar_alignment(QProgressBarH handle) { return (unsigned int) ((QProgressBar *)handle)->alignment(); } void QProgressBar_setAlignment(QProgressBarH handle, unsigned int alignment) { ((QProgressBar *)handle)->setAlignment((Qt::Alignment)alignment); } void QProgressBar_sizeHint(QProgressBarH handle, PSize retval) { *(QSize *)retval = ((QProgressBar *)handle)->sizeHint(); } void QProgressBar_minimumSizeHint(QProgressBarH handle, PSize retval) { *(QSize *)retval = ((QProgressBar *)handle)->minimumSizeHint(); } Qt::Orientation QProgressBar_orientation(QProgressBarH handle) { return (Qt::Orientation) ((QProgressBar *)handle)->orientation(); } void QProgressBar_setInvertedAppearance(QProgressBarH handle, bool invert) { ((QProgressBar *)handle)->setInvertedAppearance(invert); } bool QProgressBar_invertedAppearance(QProgressBarH handle) { return (bool) ((QProgressBar *)handle)->invertedAppearance(); } void QProgressBar_setTextDirection(QProgressBarH handle, QProgressBar::Direction textDirection) { ((QProgressBar *)handle)->setTextDirection(textDirection); } QProgressBar::Direction QProgressBar_textDirection(QProgressBarH handle) { return (QProgressBar::Direction) ((QProgressBar *)handle)->textDirection(); } void QProgressBar_setFormat(QProgressBarH handle, PWideString format) { QString t_format; copyPWideStringToQString(format, t_format); ((QProgressBar *)handle)->setFormat(t_format); } void QProgressBar_format(QProgressBarH handle, PWideString retval) { QString t_retval; t_retval = ((QProgressBar *)handle)->format(); copyQStringToPWideString(t_retval, retval); } void QProgressBar_reset(QProgressBarH handle) { ((QProgressBar *)handle)->reset(); } void QProgressBar_setRange(QProgressBarH handle, int minimum, int maximum) { ((QProgressBar *)handle)->setRange(minimum, maximum); } void QProgressBar_setMinimum(QProgressBarH handle, int minimum) { ((QProgressBar *)handle)->setMinimum(minimum); } void QProgressBar_setMaximum(QProgressBarH handle, int maximum) { ((QProgressBar *)handle)->setMaximum(maximum); } void QProgressBar_setValue(QProgressBarH handle, int value) { ((QProgressBar *)handle)->setValue(value); } void QProgressBar_setOrientation(QProgressBarH handle, Qt::Orientation AnonParam1) { ((QProgressBar *)handle)->setOrientation(AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qscrollbar_c.h0000664000212600021260000000161511677135472017655 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSCROLLBAR_C_H #define QSCROLLBAR_C_H #include #include "pascalbind.h" C_EXPORT QScrollBarH QScrollBar_create(QWidgetH parent); C_EXPORT void QScrollBar_destroy(QScrollBarH handle); C_EXPORT QScrollBarH QScrollBar_create2(Qt::Orientation AnonParam1, QWidgetH parent); C_EXPORT void QScrollBar_sizeHint(QScrollBarH handle, PSize retval); C_EXPORT bool QScrollBar_event(QScrollBarH handle, QEventH event); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdatetime_c.h0000664000212600021260000001506611677135472017473 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDATETIME_C_H #define QDATETIME_C_H #include #include "pascalbind.h" C_EXPORT QDateH QDate_create(); C_EXPORT void QDate_destroy(QDateH handle); C_EXPORT QDateH QDate_create2(int y, int m, int d); C_EXPORT bool QDate_isNull(QDateH handle); C_EXPORT bool QDate_isValid(QDateH handle); C_EXPORT int QDate_year(QDateH handle); C_EXPORT int QDate_month(QDateH handle); C_EXPORT int QDate_day(QDateH handle); C_EXPORT int QDate_dayOfWeek(QDateH handle); C_EXPORT int QDate_dayOfYear(QDateH handle); C_EXPORT int QDate_daysInMonth(QDateH handle); C_EXPORT int QDate_daysInYear(QDateH handle); C_EXPORT int QDate_weekNumber(QDateH handle, int* yearNum); C_EXPORT void QDate_shortMonthName(PWideString retval, int month); C_EXPORT void QDate_shortMonthName2(PWideString retval, int month, QDate::MonthNameType type); C_EXPORT void QDate_shortDayName(PWideString retval, int weekday); C_EXPORT void QDate_shortDayName2(PWideString retval, int weekday, QDate::MonthNameType type); C_EXPORT void QDate_longMonthName(PWideString retval, int month); C_EXPORT void QDate_longMonthName2(PWideString retval, int month, QDate::MonthNameType type); C_EXPORT void QDate_longDayName(PWideString retval, int weekday); C_EXPORT void QDate_longDayName2(PWideString retval, int weekday, QDate::MonthNameType type); C_EXPORT void QDate_toString(QDateH handle, PWideString retval, Qt::DateFormat f); C_EXPORT void QDate_toString2(QDateH handle, PWideString retval, PWideString format); C_EXPORT bool QDate_setYMD(QDateH handle, int y, int m, int d); C_EXPORT bool QDate_setDate(QDateH handle, int year, int month, int day); C_EXPORT void QDate_getDate(QDateH handle, int* year, int* month, int* day); C_EXPORT void QDate_addDays(QDateH handle, QDateH retval, int days); C_EXPORT void QDate_addMonths(QDateH handle, QDateH retval, int months); C_EXPORT void QDate_addYears(QDateH handle, QDateH retval, int years); C_EXPORT int QDate_daysTo(QDateH handle, const QDateH AnonParam1); C_EXPORT void QDate_currentDate(QDateH retval); C_EXPORT void QDate_fromString(QDateH retval, PWideString s, Qt::DateFormat f); C_EXPORT void QDate_fromString2(QDateH retval, PWideString s, PWideString format); C_EXPORT bool QDate_isValid2(int y, int m, int d); C_EXPORT bool QDate_isLeapYear(int year); C_EXPORT uint QDate_gregorianToJulian(int y, int m, int d); C_EXPORT void QDate_julianToGregorian(uint jd, int* y, int* m, int* d); C_EXPORT void QDate_fromJulianDay(QDateH retval, int jd); C_EXPORT int QDate_toJulianDay(QDateH handle); C_EXPORT QTimeH QTime_create(); C_EXPORT void QTime_destroy(QTimeH handle); C_EXPORT QTimeH QTime_create2(int h, int m, int s, int ms); C_EXPORT bool QTime_isNull(QTimeH handle); C_EXPORT bool QTime_isValid(QTimeH handle); C_EXPORT int QTime_hour(QTimeH handle); C_EXPORT int QTime_minute(QTimeH handle); C_EXPORT int QTime_second(QTimeH handle); C_EXPORT int QTime_msec(QTimeH handle); C_EXPORT void QTime_toString(QTimeH handle, PWideString retval, Qt::DateFormat f); C_EXPORT void QTime_toString2(QTimeH handle, PWideString retval, PWideString format); C_EXPORT bool QTime_setHMS(QTimeH handle, int h, int m, int s, int ms); C_EXPORT void QTime_addSecs(QTimeH handle, QTimeH retval, int secs); C_EXPORT int QTime_secsTo(QTimeH handle, const QTimeH AnonParam1); C_EXPORT void QTime_addMSecs(QTimeH handle, QTimeH retval, int ms); C_EXPORT int QTime_msecsTo(QTimeH handle, const QTimeH AnonParam1); C_EXPORT void QTime_currentTime(QTimeH retval); C_EXPORT void QTime_fromString(QTimeH retval, PWideString s, Qt::DateFormat f); C_EXPORT void QTime_fromString2(QTimeH retval, PWideString s, PWideString format); C_EXPORT bool QTime_isValid2(int h, int m, int s, int ms); C_EXPORT void QTime_start(QTimeH handle); C_EXPORT int QTime_restart(QTimeH handle); C_EXPORT int QTime_elapsed(QTimeH handle); C_EXPORT QDateTimeH QDateTime_create(); C_EXPORT void QDateTime_destroy(QDateTimeH handle); C_EXPORT QDateTimeH QDateTime_create2(const QDateH AnonParam1); C_EXPORT QDateTimeH QDateTime_create3(const QDateH AnonParam1, const QTimeH AnonParam2, Qt::TimeSpec spec); C_EXPORT QDateTimeH QDateTime_create4(const QDateTimeH other); C_EXPORT bool QDateTime_isNull(QDateTimeH handle); C_EXPORT bool QDateTime_isValid(QDateTimeH handle); C_EXPORT void QDateTime_date(QDateTimeH handle, QDateH retval); C_EXPORT void QDateTime_time(QDateTimeH handle, QTimeH retval); C_EXPORT Qt::TimeSpec QDateTime_timeSpec(QDateTimeH handle); C_EXPORT uint QDateTime_toTime_t(QDateTimeH handle); C_EXPORT void QDateTime_setDate(QDateTimeH handle, const QDateH date); C_EXPORT void QDateTime_setTime(QDateTimeH handle, const QTimeH time); C_EXPORT void QDateTime_setTimeSpec(QDateTimeH handle, Qt::TimeSpec spec); C_EXPORT void QDateTime_setTime_t(QDateTimeH handle, uint secsSince1Jan1970UTC); C_EXPORT void QDateTime_toString(QDateTimeH handle, PWideString retval, Qt::DateFormat f); C_EXPORT void QDateTime_toString2(QDateTimeH handle, PWideString retval, PWideString format); C_EXPORT void QDateTime_addDays(QDateTimeH handle, QDateTimeH retval, int days); C_EXPORT void QDateTime_addMonths(QDateTimeH handle, QDateTimeH retval, int months); C_EXPORT void QDateTime_addYears(QDateTimeH handle, QDateTimeH retval, int years); C_EXPORT void QDateTime_addSecs(QDateTimeH handle, QDateTimeH retval, int secs); C_EXPORT void QDateTime_addMSecs(QDateTimeH handle, QDateTimeH retval, qint64 msecs); C_EXPORT void QDateTime_toTimeSpec(QDateTimeH handle, QDateTimeH retval, Qt::TimeSpec spec); C_EXPORT void QDateTime_toLocalTime(QDateTimeH handle, QDateTimeH retval); C_EXPORT void QDateTime_toUTC(QDateTimeH handle, QDateTimeH retval); C_EXPORT int QDateTime_daysTo(QDateTimeH handle, const QDateTimeH AnonParam1); C_EXPORT int QDateTime_secsTo(QDateTimeH handle, const QDateTimeH AnonParam1); C_EXPORT void QDateTime_setUtcOffset(QDateTimeH handle, int seconds); C_EXPORT int QDateTime_utcOffset(QDateTimeH handle); C_EXPORT void QDateTime_currentDateTime(QDateTimeH retval); C_EXPORT void QDateTime_fromString(QDateTimeH retval, PWideString s, Qt::DateFormat f); C_EXPORT void QDateTime_fromString2(QDateTimeH retval, PWideString s, PWideString format); C_EXPORT void QDateTime_fromTime_t(QDateTimeH retval, uint secsSince1Jan1970UTC); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qimagewriter_c.cpp0000664000212600021260000001002211677135472020534 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qimagewriter_c.h" QImageWriterH QImageWriter_create() { return (QImageWriterH) new QImageWriter(); } void QImageWriter_destroy(QImageWriterH handle) { delete (QImageWriter *)handle; } QImageWriterH QImageWriter_create2(QIODeviceH device, const QByteArrayH format) { return (QImageWriterH) new QImageWriter((QIODevice*)device, *(const QByteArray*)format); } QImageWriterH QImageWriter_create3(PWideString fileName, const QByteArrayH format) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); return (QImageWriterH) new QImageWriter(t_fileName, *(const QByteArray*)format); } void QImageWriter_setFormat(QImageWriterH handle, const QByteArrayH format) { ((QImageWriter *)handle)->setFormat(*(const QByteArray*)format); } void QImageWriter_format(QImageWriterH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QImageWriter *)handle)->format(); } void QImageWriter_setDevice(QImageWriterH handle, QIODeviceH device) { ((QImageWriter *)handle)->setDevice((QIODevice*)device); } QIODeviceH QImageWriter_device(QImageWriterH handle) { return (QIODeviceH) ((QImageWriter *)handle)->device(); } void QImageWriter_setFileName(QImageWriterH handle, PWideString fileName) { QString t_fileName; copyPWideStringToQString(fileName, t_fileName); ((QImageWriter *)handle)->setFileName(t_fileName); } void QImageWriter_fileName(QImageWriterH handle, PWideString retval) { QString t_retval; t_retval = ((QImageWriter *)handle)->fileName(); copyQStringToPWideString(t_retval, retval); } void QImageWriter_setQuality(QImageWriterH handle, int quality) { ((QImageWriter *)handle)->setQuality(quality); } int QImageWriter_quality(QImageWriterH handle) { return (int) ((QImageWriter *)handle)->quality(); } void QImageWriter_setCompression(QImageWriterH handle, int compression) { ((QImageWriter *)handle)->setCompression(compression); } int QImageWriter_compression(QImageWriterH handle) { return (int) ((QImageWriter *)handle)->compression(); } void QImageWriter_setGamma(QImageWriterH handle, float gamma) { ((QImageWriter *)handle)->setGamma(gamma); } float QImageWriter_gamma(QImageWriterH handle) { return (float) ((QImageWriter *)handle)->gamma(); } void QImageWriter_setDescription(QImageWriterH handle, PWideString description) { QString t_description; copyPWideStringToQString(description, t_description); ((QImageWriter *)handle)->setDescription(t_description); } void QImageWriter_description(QImageWriterH handle, PWideString retval) { QString t_retval; t_retval = ((QImageWriter *)handle)->description(); copyQStringToPWideString(t_retval, retval); } void QImageWriter_setText(QImageWriterH handle, PWideString key, PWideString text) { QString t_key; QString t_text; copyPWideStringToQString(key, t_key); copyPWideStringToQString(text, t_text); ((QImageWriter *)handle)->setText(t_key, t_text); } bool QImageWriter_canWrite(QImageWriterH handle) { return (bool) ((QImageWriter *)handle)->canWrite(); } bool QImageWriter_write(QImageWriterH handle, const QImageH image) { return (bool) ((QImageWriter *)handle)->write(*(const QImage*)image); } QImageWriter::ImageWriterError QImageWriter_error(QImageWriterH handle) { return (QImageWriter::ImageWriterError) ((QImageWriter *)handle)->error(); } void QImageWriter_errorString(QImageWriterH handle, PWideString retval) { QString t_retval; t_retval = ((QImageWriter *)handle)->errorString(); copyQStringToPWideString(t_retval, retval); } bool QImageWriter_supportsOption(QImageWriterH handle, QImageIOHandler::ImageOption option) { return (bool) ((QImageWriter *)handle)->supportsOption(option); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qthread_hook_c.cpp0000664000212600021260000000205711677135472020515 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qthread_hook_c.h" QThread_hookH QThread_hook_create(QObjectH handle) { return (QThread_hookH) new QThread_hook((QObject*)handle); } void QThread_hook_destroy(QThread_hookH handle) { delete (QThread_hook *)handle; } void QThread_hook_hook_started(QThread_hookH handle, QHookH hook) { ((QThread_hook *)handle)->hook_started(hook); } void QThread_hook_hook_finished(QThread_hookH handle, QHookH hook) { ((QThread_hook *)handle)->hook_finished(hook); } void QThread_hook_hook_terminated(QThread_hookH handle, QHookH hook) { ((QThread_hook *)handle)->hook_terminated(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintdialog_c.cpp0000664000212600021260000000410611677135472020537 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qprintdialog_c.h" QPrintDialogH QPrintDialog_create(QPrinterH printer, QWidgetH parent) { return (QPrintDialogH) new QPrintDialog((QPrinter*)printer, (QWidget*)parent); } void QPrintDialog_destroy(QPrintDialogH handle) { delete (QPrintDialog *)handle; } QPrintDialogH QPrintDialog_create2(QWidgetH parent) { return (QPrintDialogH) new QPrintDialog((QWidget*)parent); } int QPrintDialog_exec(QPrintDialogH handle) { return (int) ((QPrintDialog *)handle)->exec(); } #if defined BINUX || QTOPIA void QPrintDialog_accept(QPrintDialogH handle) { ((QPrintDialog *)handle)->accept(); } #endif void QPrintDialog_done(QPrintDialogH handle, int result) { ((QPrintDialog *)handle)->done(result); } void QPrintDialog_setOption(QPrintDialogH handle, QAbstractPrintDialog::PrintDialogOption option, bool on) { ((QPrintDialog *)handle)->setOption(option, on); } bool QPrintDialog_testOption(QPrintDialogH handle, QAbstractPrintDialog::PrintDialogOption option) { return (bool) ((QPrintDialog *)handle)->testOption(option); } void QPrintDialog_setOptions(QPrintDialogH handle, unsigned int options) { ((QPrintDialog *)handle)->setOptions((QAbstractPrintDialog::PrintDialogOptions)options); } unsigned int QPrintDialog_options(QPrintDialogH handle) { return (unsigned int) ((QPrintDialog *)handle)->options(); } #if defined BINUX || DARWIN || QTOPIA void QPrintDialog_setVisible(QPrintDialogH handle, bool visible) { ((QPrintDialog *)handle)->setVisible(visible); } #endif void QPrintDialog_open(QPrintDialogH handle, QObjectH receiver, const char* member) { ((QPrintDialog *)handle)->open((QObject*)receiver, member); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qrect_c.cpp0000664000212600021260000003606711677135472017173 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qrect_c.h" QRectH QRect_create() { return (QRectH) new QRect(); } void QRect_destroy(QRectH handle) { delete (QRect *)handle; } QRectH QRect_create2(const QPointH topleft, const QPointH bottomright) { return (QRectH) new QRect(*(const QPoint*)topleft, *(const QPoint*)bottomright); } QRectH QRect_create3(const QPointH topleft, const QSizeH size) { return (QRectH) new QRect(*(const QPoint*)topleft, *(const QSize*)size); } QRectH QRect_create4(int left, int top, int width, int height) { return (QRectH) new QRect(left, top, width, height); } bool QRect_isNull(QRectH handle) { return (bool) ((QRect *)handle)->isNull(); } bool QRect_isEmpty(QRectH handle) { return (bool) ((QRect *)handle)->isEmpty(); } bool QRect_isValid(QRectH handle) { return (bool) ((QRect *)handle)->isValid(); } int QRect_left(QRectH handle) { return (int) ((QRect *)handle)->left(); } int QRect_top(QRectH handle) { return (int) ((QRect *)handle)->top(); } int QRect_right(QRectH handle) { return (int) ((QRect *)handle)->right(); } int QRect_bottom(QRectH handle) { return (int) ((QRect *)handle)->bottom(); } void QRect_normalized(QRectH handle, PRect retval) { QRect t_retval; t_retval = ((QRect *)handle)->normalized(); copyQRectToPRect(t_retval, retval); } int QRect_x(QRectH handle) { return (int) ((QRect *)handle)->x(); } int QRect_y(QRectH handle) { return (int) ((QRect *)handle)->y(); } void QRect_setLeft(QRectH handle, int pos) { ((QRect *)handle)->setLeft(pos); } void QRect_setTop(QRectH handle, int pos) { ((QRect *)handle)->setTop(pos); } void QRect_setRight(QRectH handle, int pos) { ((QRect *)handle)->setRight(pos); } void QRect_setBottom(QRectH handle, int pos) { ((QRect *)handle)->setBottom(pos); } void QRect_setX(QRectH handle, int x) { ((QRect *)handle)->setX(x); } void QRect_setY(QRectH handle, int y) { ((QRect *)handle)->setY(y); } void QRect_setTopLeft(QRectH handle, const QPointH p) { ((QRect *)handle)->setTopLeft(*(const QPoint*)p); } void QRect_setBottomRight(QRectH handle, const QPointH p) { ((QRect *)handle)->setBottomRight(*(const QPoint*)p); } void QRect_setTopRight(QRectH handle, const QPointH p) { ((QRect *)handle)->setTopRight(*(const QPoint*)p); } void QRect_setBottomLeft(QRectH handle, const QPointH p) { ((QRect *)handle)->setBottomLeft(*(const QPoint*)p); } void QRect_topLeft(QRectH handle, PQtPoint retval) { *(QPoint *)retval = ((QRect *)handle)->topLeft(); } void QRect_bottomRight(QRectH handle, PQtPoint retval) { *(QPoint *)retval = ((QRect *)handle)->bottomRight(); } void QRect_topRight(QRectH handle, PQtPoint retval) { *(QPoint *)retval = ((QRect *)handle)->topRight(); } void QRect_bottomLeft(QRectH handle, PQtPoint retval) { *(QPoint *)retval = ((QRect *)handle)->bottomLeft(); } void QRect_center(QRectH handle, PQtPoint retval) { *(QPoint *)retval = ((QRect *)handle)->center(); } void QRect_moveLeft(QRectH handle, int pos) { ((QRect *)handle)->moveLeft(pos); } void QRect_moveTop(QRectH handle, int pos) { ((QRect *)handle)->moveTop(pos); } void QRect_moveRight(QRectH handle, int pos) { ((QRect *)handle)->moveRight(pos); } void QRect_moveBottom(QRectH handle, int pos) { ((QRect *)handle)->moveBottom(pos); } void QRect_moveTopLeft(QRectH handle, const QPointH p) { ((QRect *)handle)->moveTopLeft(*(const QPoint*)p); } void QRect_moveBottomRight(QRectH handle, const QPointH p) { ((QRect *)handle)->moveBottomRight(*(const QPoint*)p); } void QRect_moveTopRight(QRectH handle, const QPointH p) { ((QRect *)handle)->moveTopRight(*(const QPoint*)p); } void QRect_moveBottomLeft(QRectH handle, const QPointH p) { ((QRect *)handle)->moveBottomLeft(*(const QPoint*)p); } void QRect_moveCenter(QRectH handle, const QPointH p) { ((QRect *)handle)->moveCenter(*(const QPoint*)p); } void QRect_translate(QRectH handle, int dx, int dy) { ((QRect *)handle)->translate(dx, dy); } void QRect_translate2(QRectH handle, const QPointH p) { ((QRect *)handle)->translate(*(const QPoint*)p); } void QRect_translated(QRectH handle, PRect retval, int dx, int dy) { QRect t_retval; t_retval = ((QRect *)handle)->translated(dx, dy); copyQRectToPRect(t_retval, retval); } void QRect_translated2(QRectH handle, PRect retval, const QPointH p) { QRect t_retval; t_retval = ((QRect *)handle)->translated(*(const QPoint*)p); copyQRectToPRect(t_retval, retval); } void QRect_moveTo(QRectH handle, int x, int t) { ((QRect *)handle)->moveTo(x, t); } void QRect_moveTo2(QRectH handle, const QPointH p) { ((QRect *)handle)->moveTo(*(const QPoint*)p); } void QRect_setRect(QRectH handle, int x, int y, int w, int h) { ((QRect *)handle)->setRect(x, y, w, h); } void QRect_getRect(QRectH handle, int* x, int* y, int* w, int* h) { ((QRect *)handle)->getRect(x, y, w, h); } void QRect_setCoords(QRectH handle, int x1, int y1, int x2, int y2) { ((QRect *)handle)->setCoords(x1, y1, x2, y2); } void QRect_getCoords(QRectH handle, int* x1, int* y1, int* x2, int* y2) { ((QRect *)handle)->getCoords(x1, y1, x2, y2); } void QRect_adjust(QRectH handle, int x1, int y1, int x2, int y2) { ((QRect *)handle)->adjust(x1, y1, x2, y2); } void QRect_adjusted(QRectH handle, PRect retval, int x1, int y1, int x2, int y2) { QRect t_retval; t_retval = ((QRect *)handle)->adjusted(x1, y1, x2, y2); copyQRectToPRect(t_retval, retval); } void QRect_size(QRectH handle, PSize retval) { *(QSize *)retval = ((QRect *)handle)->size(); } int QRect_width(QRectH handle) { return (int) ((QRect *)handle)->width(); } int QRect_height(QRectH handle) { return (int) ((QRect *)handle)->height(); } void QRect_setWidth(QRectH handle, int w) { ((QRect *)handle)->setWidth(w); } void QRect_setHeight(QRectH handle, int h) { ((QRect *)handle)->setHeight(h); } void QRect_setSize(QRectH handle, const QSizeH s) { ((QRect *)handle)->setSize(*(const QSize*)s); } bool QRect_contains(QRectH handle, const QPointH p, bool proper) { return (bool) ((QRect *)handle)->contains(*(const QPoint*)p, proper); } bool QRect_contains2(QRectH handle, int x, int y) { return (bool) ((QRect *)handle)->contains(x, y); } bool QRect_contains3(QRectH handle, int x, int y, bool proper) { return (bool) ((QRect *)handle)->contains(x, y, proper); } bool QRect_contains4(QRectH handle, PRect r, bool proper) { QRect t_r; copyPRectToQRect(r, t_r); return (bool) ((QRect *)handle)->contains(t_r, proper); } void QRect_unite(QRectH handle, PRect retval, PRect r) { QRect t_retval; QRect t_r; copyPRectToQRect(r, t_r); t_retval = ((QRect *)handle)->unite(t_r); copyQRectToPRect(t_retval, retval); } void QRect_united(QRectH handle, PRect retval, PRect other) { QRect t_retval; QRect t_other; copyPRectToQRect(other, t_other); t_retval = ((QRect *)handle)->united(t_other); copyQRectToPRect(t_retval, retval); } void QRect_intersect(QRectH handle, PRect retval, PRect r) { QRect t_retval; QRect t_r; copyPRectToQRect(r, t_r); t_retval = ((QRect *)handle)->intersect(t_r); copyQRectToPRect(t_retval, retval); } void QRect_intersected(QRectH handle, PRect retval, PRect other) { QRect t_retval; QRect t_other; copyPRectToQRect(other, t_other); t_retval = ((QRect *)handle)->intersected(t_other); copyQRectToPRect(t_retval, retval); } bool QRect_intersects(QRectH handle, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); return (bool) ((QRect *)handle)->intersects(t_r); } QRectFH QRectF_create() { return (QRectFH) new QRectF(); } void QRectF_destroy(QRectFH handle) { delete (QRectF *)handle; } QRectFH QRectF_create2(const QPointFH topleft, const QSizeFH size) { return (QRectFH) new QRectF(*(const QPointF*)topleft, *(const QSizeF*)size); } QRectFH QRectF_create3(const QPointFH topleft, const QPointFH bottomRight) { return (QRectFH) new QRectF(*(const QPointF*)topleft, *(const QPointF*)bottomRight); } QRectFH QRectF_create4(qreal left, qreal top, qreal width, qreal height) { return (QRectFH) new QRectF(left, top, width, height); } QRectFH QRectF_create5(PRect rect) { QRect t_rect; copyPRectToQRect(rect, t_rect); return (QRectFH) new QRectF(t_rect); } bool QRectF_isNull(QRectFH handle) { return (bool) ((QRectF *)handle)->isNull(); } bool QRectF_isEmpty(QRectFH handle) { return (bool) ((QRectF *)handle)->isEmpty(); } bool QRectF_isValid(QRectFH handle) { return (bool) ((QRectF *)handle)->isValid(); } void QRectF_normalized(QRectFH handle, QRectFH retval) { *(QRectF *)retval = ((QRectF *)handle)->normalized(); } qreal QRectF_left(QRectFH handle) { return (qreal) ((QRectF *)handle)->left(); } qreal QRectF_top(QRectFH handle) { return (qreal) ((QRectF *)handle)->top(); } qreal QRectF_right(QRectFH handle) { return (qreal) ((QRectF *)handle)->right(); } qreal QRectF_bottom(QRectFH handle) { return (qreal) ((QRectF *)handle)->bottom(); } qreal QRectF_x(QRectFH handle) { return (qreal) ((QRectF *)handle)->x(); } qreal QRectF_y(QRectFH handle) { return (qreal) ((QRectF *)handle)->y(); } void QRectF_setLeft(QRectFH handle, qreal pos) { ((QRectF *)handle)->setLeft(pos); } void QRectF_setTop(QRectFH handle, qreal pos) { ((QRectF *)handle)->setTop(pos); } void QRectF_setRight(QRectFH handle, qreal pos) { ((QRectF *)handle)->setRight(pos); } void QRectF_setBottom(QRectFH handle, qreal pos) { ((QRectF *)handle)->setBottom(pos); } void QRectF_setX(QRectFH handle, qreal pos) { ((QRectF *)handle)->setX(pos); } void QRectF_setY(QRectFH handle, qreal pos) { ((QRectF *)handle)->setY(pos); } void QRectF_topLeft(QRectFH handle, PQtPointF retval) { *(QPointF *)retval = ((QRectF *)handle)->topLeft(); } void QRectF_bottomRight(QRectFH handle, PQtPointF retval) { *(QPointF *)retval = ((QRectF *)handle)->bottomRight(); } void QRectF_topRight(QRectFH handle, PQtPointF retval) { *(QPointF *)retval = ((QRectF *)handle)->topRight(); } void QRectF_bottomLeft(QRectFH handle, PQtPointF retval) { *(QPointF *)retval = ((QRectF *)handle)->bottomLeft(); } void QRectF_center(QRectFH handle, PQtPointF retval) { *(QPointF *)retval = ((QRectF *)handle)->center(); } void QRectF_setTopLeft(QRectFH handle, const QPointFH p) { ((QRectF *)handle)->setTopLeft(*(const QPointF*)p); } void QRectF_setBottomRight(QRectFH handle, const QPointFH p) { ((QRectF *)handle)->setBottomRight(*(const QPointF*)p); } void QRectF_setTopRight(QRectFH handle, const QPointFH p) { ((QRectF *)handle)->setTopRight(*(const QPointF*)p); } void QRectF_setBottomLeft(QRectFH handle, const QPointFH p) { ((QRectF *)handle)->setBottomLeft(*(const QPointF*)p); } void QRectF_moveLeft(QRectFH handle, qreal pos) { ((QRectF *)handle)->moveLeft(pos); } void QRectF_moveTop(QRectFH handle, qreal pos) { ((QRectF *)handle)->moveTop(pos); } void QRectF_moveRight(QRectFH handle, qreal pos) { ((QRectF *)handle)->moveRight(pos); } void QRectF_moveBottom(QRectFH handle, qreal pos) { ((QRectF *)handle)->moveBottom(pos); } void QRectF_moveTopLeft(QRectFH handle, const QPointFH p) { ((QRectF *)handle)->moveTopLeft(*(const QPointF*)p); } void QRectF_moveBottomRight(QRectFH handle, const QPointFH p) { ((QRectF *)handle)->moveBottomRight(*(const QPointF*)p); } void QRectF_moveTopRight(QRectFH handle, const QPointFH p) { ((QRectF *)handle)->moveTopRight(*(const QPointF*)p); } void QRectF_moveBottomLeft(QRectFH handle, const QPointFH p) { ((QRectF *)handle)->moveBottomLeft(*(const QPointF*)p); } void QRectF_moveCenter(QRectFH handle, const QPointFH p) { ((QRectF *)handle)->moveCenter(*(const QPointF*)p); } void QRectF_translate(QRectFH handle, qreal dx, qreal dy) { ((QRectF *)handle)->translate(dx, dy); } void QRectF_translate2(QRectFH handle, const QPointFH p) { ((QRectF *)handle)->translate(*(const QPointF*)p); } void QRectF_translated(QRectFH handle, QRectFH retval, qreal dx, qreal dy) { *(QRectF *)retval = ((QRectF *)handle)->translated(dx, dy); } void QRectF_translated2(QRectFH handle, QRectFH retval, const QPointFH p) { *(QRectF *)retval = ((QRectF *)handle)->translated(*(const QPointF*)p); } void QRectF_moveTo(QRectFH handle, qreal x, qreal t) { ((QRectF *)handle)->moveTo(x, t); } void QRectF_moveTo2(QRectFH handle, const QPointFH p) { ((QRectF *)handle)->moveTo(*(const QPointF*)p); } void QRectF_setRect(QRectFH handle, qreal x, qreal y, qreal w, qreal h) { ((QRectF *)handle)->setRect(x, y, w, h); } void QRectF_getRect(QRectFH handle, qreal* x, qreal* y, qreal* w, qreal* h) { ((QRectF *)handle)->getRect(x, y, w, h); } void QRectF_setCoords(QRectFH handle, qreal x1, qreal y1, qreal x2, qreal y2) { ((QRectF *)handle)->setCoords(x1, y1, x2, y2); } void QRectF_getCoords(QRectFH handle, qreal* x1, qreal* y1, qreal* x2, qreal* y2) { ((QRectF *)handle)->getCoords(x1, y1, x2, y2); } void QRectF_adjust(QRectFH handle, qreal x1, qreal y1, qreal x2, qreal y2) { ((QRectF *)handle)->adjust(x1, y1, x2, y2); } void QRectF_adjusted(QRectFH handle, QRectFH retval, qreal x1, qreal y1, qreal x2, qreal y2) { *(QRectF *)retval = ((QRectF *)handle)->adjusted(x1, y1, x2, y2); } void QRectF_size(QRectFH handle, QSizeFH retval) { *(QSizeF *)retval = ((QRectF *)handle)->size(); } qreal QRectF_width(QRectFH handle) { return (qreal) ((QRectF *)handle)->width(); } qreal QRectF_height(QRectFH handle) { return (qreal) ((QRectF *)handle)->height(); } void QRectF_setWidth(QRectFH handle, qreal w) { ((QRectF *)handle)->setWidth(w); } void QRectF_setHeight(QRectFH handle, qreal h) { ((QRectF *)handle)->setHeight(h); } void QRectF_setSize(QRectFH handle, const QSizeFH s) { ((QRectF *)handle)->setSize(*(const QSizeF*)s); } bool QRectF_contains(QRectFH handle, const QPointFH p) { return (bool) ((QRectF *)handle)->contains(*(const QPointF*)p); } bool QRectF_contains2(QRectFH handle, qreal x, qreal y) { return (bool) ((QRectF *)handle)->contains(x, y); } bool QRectF_contains3(QRectFH handle, const QRectFH r) { return (bool) ((QRectF *)handle)->contains(*(const QRectF*)r); } void QRectF_unite(QRectFH handle, QRectFH retval, const QRectFH r) { *(QRectF *)retval = ((QRectF *)handle)->unite(*(const QRectF*)r); } void QRectF_united(QRectFH handle, QRectFH retval, const QRectFH other) { *(QRectF *)retval = ((QRectF *)handle)->united(*(const QRectF*)other); } void QRectF_intersect(QRectFH handle, QRectFH retval, const QRectFH r) { *(QRectF *)retval = ((QRectF *)handle)->intersect(*(const QRectF*)r); } void QRectF_intersected(QRectFH handle, QRectFH retval, const QRectFH other) { *(QRectF *)retval = ((QRectF *)handle)->intersected(*(const QRectF*)other); } bool QRectF_intersects(QRectFH handle, const QRectFH r) { return (bool) ((QRectF *)handle)->intersects(*(const QRectF*)r); } void QRectF_toRect(QRectFH handle, PRect retval) { QRect t_retval; t_retval = ((QRectF *)handle)->toRect(); copyQRectToPRect(t_retval, retval); } void QRectF_toAlignedRect(QRectFH handle, PRect retval) { QRect t_retval; t_retval = ((QRectF *)handle)->toAlignedRect(); copyQRectToPRect(t_retval, retval); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpushbutton_c.cpp0000664000212600021260000000451311677135472020440 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qpushbutton_c.h" QPushButtonH QPushButton_create(QWidgetH parent) { return (QPushButtonH) new QPushButton((QWidget*)parent); } void QPushButton_destroy(QPushButtonH handle) { delete (QPushButton *)handle; } QPushButtonH QPushButton_create2(PWideString text, QWidgetH parent) { QString t_text; copyPWideStringToQString(text, t_text); return (QPushButtonH) new QPushButton(t_text, (QWidget*)parent); } QPushButtonH QPushButton_create3(const QIconH icon, PWideString text, QWidgetH parent) { QString t_text; copyPWideStringToQString(text, t_text); return (QPushButtonH) new QPushButton(*(const QIcon*)icon, t_text, (QWidget*)parent); } void QPushButton_sizeHint(QPushButtonH handle, PSize retval) { *(QSize *)retval = ((QPushButton *)handle)->sizeHint(); } void QPushButton_minimumSizeHint(QPushButtonH handle, PSize retval) { *(QSize *)retval = ((QPushButton *)handle)->minimumSizeHint(); } bool QPushButton_autoDefault(QPushButtonH handle) { return (bool) ((QPushButton *)handle)->autoDefault(); } void QPushButton_setAutoDefault(QPushButtonH handle, bool AnonParam1) { ((QPushButton *)handle)->setAutoDefault(AnonParam1); } bool QPushButton_isDefault(QPushButtonH handle) { return (bool) ((QPushButton *)handle)->isDefault(); } void QPushButton_setDefault(QPushButtonH handle, bool AnonParam1) { ((QPushButton *)handle)->setDefault(AnonParam1); } void QPushButton_setMenu(QPushButtonH handle, QMenuH menu) { ((QPushButton *)handle)->setMenu((QMenu*)menu); } QMenuH QPushButton_menu(QPushButtonH handle) { return (QMenuH) ((QPushButton *)handle)->menu(); } void QPushButton_setFlat(QPushButtonH handle, bool AnonParam1) { ((QPushButton *)handle)->setFlat(AnonParam1); } bool QPushButton_isFlat(QPushButtonH handle) { return (bool) ((QPushButton *)handle)->isFlat(); } void QPushButton_showMenu(QPushButtonH handle) { ((QPushButton *)handle)->showMenu(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qgroupbox_hook_c.h0000664000212600021260000000165311677135472020561 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QGROUPBOX_HOOK_C_H #define QGROUPBOX_HOOK_C_H #include "qgroupbox_hook.h" C_EXPORT QGroupBox_hookH QGroupBox_hook_create(QObjectH handle); C_EXPORT void QGroupBox_hook_destroy(QGroupBox_hookH handle); C_EXPORT void QGroupBox_hook_hook_clicked(QGroupBox_hookH handle, QHookH hook); C_EXPORT void QGroupBox_hook_hook_clicked2(QGroupBox_hookH handle, QHookH hook); C_EXPORT void QGroupBox_hook_hook_toggled(QGroupBox_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qaction_hook_c.cpp0000664000212600021260000000243511677135472020523 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qaction_hook_c.h" QAction_hookH QAction_hook_create(QObjectH handle) { return (QAction_hookH) new QAction_hook((QObject*)handle); } void QAction_hook_destroy(QAction_hookH handle) { delete (QAction_hook *)handle; } void QAction_hook_hook_changed(QAction_hookH handle, QHookH hook) { ((QAction_hook *)handle)->hook_changed(hook); } void QAction_hook_hook_triggered(QAction_hookH handle, QHookH hook) { ((QAction_hook *)handle)->hook_triggered(hook); } void QAction_hook_hook_triggered2(QAction_hookH handle, QHookH hook) { ((QAction_hook *)handle)->hook_triggered2(hook); } void QAction_hook_hook_hovered(QAction_hookH handle, QHookH hook) { ((QAction_hook *)handle)->hook_hovered(hook); } void QAction_hook_hook_toggled(QAction_hookH handle, QHookH hook) { ((QAction_hook *)handle)->hook_toggled(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpushbutton_hook_c.h0000664000212600021260000000131011677135472021115 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPUSHBUTTON_HOOK_C_H #define QPUSHBUTTON_HOOK_C_H #include "qpushbutton_hook.h" C_EXPORT QPushButton_hookH QPushButton_hook_create(QObjectH handle); C_EXPORT void QPushButton_hook_destroy(QPushButton_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractbutton_hook_c.h0000664000212600021260000000226211677135472021750 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTBUTTON_HOOK_C_H #define QABSTRACTBUTTON_HOOK_C_H #include "qabstractbutton_hook.h" C_EXPORT QAbstractButton_hookH QAbstractButton_hook_create(QObjectH handle); C_EXPORT void QAbstractButton_hook_destroy(QAbstractButton_hookH handle); C_EXPORT void QAbstractButton_hook_hook_pressed(QAbstractButton_hookH handle, QHookH hook); C_EXPORT void QAbstractButton_hook_hook_released(QAbstractButton_hookH handle, QHookH hook); C_EXPORT void QAbstractButton_hook_hook_clicked(QAbstractButton_hookH handle, QHookH hook); C_EXPORT void QAbstractButton_hook_hook_clicked2(QAbstractButton_hookH handle, QHookH hook); C_EXPORT void QAbstractButton_hook_hook_toggled(QAbstractButton_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qbytearray_c.h0000664000212600021260000002272411677135472017700 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QBYTEARRAY_C_H #define QBYTEARRAY_C_H #include #include "pascalbind.h" C_EXPORT QByteArrayH QByteArray_create(); C_EXPORT void QByteArray_destroy(QByteArrayH handle); C_EXPORT QByteArrayH QByteArray_create2(const char* AnonParam1); C_EXPORT QByteArrayH QByteArray_create3(const char* AnonParam1, int size); C_EXPORT QByteArrayH QByteArray_create4(int size, char c); C_EXPORT QByteArrayH QByteArray_create5(const QByteArrayH AnonParam1); C_EXPORT int QByteArray_size(QByteArrayH handle); C_EXPORT bool QByteArray_isEmpty(QByteArrayH handle); C_EXPORT void QByteArray_resize(QByteArrayH handle, int size); C_EXPORT QByteArrayH QByteArray_fill(QByteArrayH handle, char c, int size); C_EXPORT int QByteArray_capacity(QByteArrayH handle); C_EXPORT void QByteArray_reserve(QByteArrayH handle, int size); C_EXPORT void QByteArray_squeeze(QByteArrayH handle); C_EXPORT char* QByteArray_data(QByteArrayH handle); C_EXPORT const char* QByteArray_constData(QByteArrayH handle); C_EXPORT void QByteArray_detach(QByteArrayH handle); C_EXPORT bool QByteArray_isDetached(QByteArrayH handle); C_EXPORT void QByteArray_clear(QByteArrayH handle); C_EXPORT char QByteArray_at(QByteArrayH handle, int i); C_EXPORT int QByteArray_indexOf(QByteArrayH handle, char c, int from); C_EXPORT int QByteArray_indexOf2(QByteArrayH handle, const char* c, int from); C_EXPORT int QByteArray_indexOf3(QByteArrayH handle, const QByteArrayH a, int from); C_EXPORT int QByteArray_lastIndexOf(QByteArrayH handle, char c, int from); C_EXPORT int QByteArray_lastIndexOf2(QByteArrayH handle, const char* c, int from); C_EXPORT int QByteArray_lastIndexOf3(QByteArrayH handle, const QByteArrayH a, int from); C_EXPORT QBool QByteArray_contains(QByteArrayH handle, char c); C_EXPORT QBool QByteArray_contains2(QByteArrayH handle, const char* a); C_EXPORT QBool QByteArray_contains3(QByteArrayH handle, const QByteArrayH a); C_EXPORT int QByteArray_count(QByteArrayH handle, char c); C_EXPORT int QByteArray_count2(QByteArrayH handle, const char* a); C_EXPORT int QByteArray_count3(QByteArrayH handle, const QByteArrayH a); C_EXPORT void QByteArray_left(QByteArrayH handle, QByteArrayH retval, int len); C_EXPORT void QByteArray_right(QByteArrayH handle, QByteArrayH retval, int len); C_EXPORT void QByteArray_mid(QByteArrayH handle, QByteArrayH retval, int index, int len); C_EXPORT bool QByteArray_startsWith(QByteArrayH handle, const QByteArrayH a); C_EXPORT bool QByteArray_startsWith2(QByteArrayH handle, char c); C_EXPORT bool QByteArray_startsWith3(QByteArrayH handle, const char* c); C_EXPORT bool QByteArray_endsWith(QByteArrayH handle, const QByteArrayH a); C_EXPORT bool QByteArray_endsWith2(QByteArrayH handle, char c); C_EXPORT bool QByteArray_endsWith3(QByteArrayH handle, const char* c); C_EXPORT void QByteArray_truncate(QByteArrayH handle, int pos); C_EXPORT void QByteArray_chop(QByteArrayH handle, int n); C_EXPORT void QByteArray_toLower(QByteArrayH handle, QByteArrayH retval); C_EXPORT void QByteArray_toUpper(QByteArrayH handle, QByteArrayH retval); C_EXPORT void QByteArray_trimmed(QByteArrayH handle, QByteArrayH retval); C_EXPORT void QByteArray_simplified(QByteArrayH handle, QByteArrayH retval); C_EXPORT void QByteArray_leftJustified(QByteArrayH handle, QByteArrayH retval, int width, char fill, bool truncate); C_EXPORT void QByteArray_rightJustified(QByteArrayH handle, QByteArrayH retval, int width, char fill, bool truncate); C_EXPORT QByteArrayH QByteArray_prepend(QByteArrayH handle, char c); C_EXPORT QByteArrayH QByteArray_prepend2(QByteArrayH handle, const char* s); C_EXPORT QByteArrayH QByteArray_prepend3(QByteArrayH handle, const QByteArrayH a); C_EXPORT QByteArrayH QByteArray_append(QByteArrayH handle, char c); C_EXPORT QByteArrayH QByteArray_append2(QByteArrayH handle, const char* s); C_EXPORT QByteArrayH QByteArray_append3(QByteArrayH handle, const char* s, int len); C_EXPORT QByteArrayH QByteArray_append4(QByteArrayH handle, const QByteArrayH a); C_EXPORT QByteArrayH QByteArray_insert(QByteArrayH handle, int i, char c); C_EXPORT QByteArrayH QByteArray_insert2(QByteArrayH handle, int i, const char* s); C_EXPORT QByteArrayH QByteArray_insert3(QByteArrayH handle, int i, const QByteArrayH a); C_EXPORT QByteArrayH QByteArray_remove(QByteArrayH handle, int index, int len); C_EXPORT QByteArrayH QByteArray_replace(QByteArrayH handle, int index, int len, const char* s); C_EXPORT QByteArrayH QByteArray_replace2(QByteArrayH handle, int index, int len, const QByteArrayH s); C_EXPORT QByteArrayH QByteArray_replace3(QByteArrayH handle, char before, const char* after); C_EXPORT QByteArrayH QByteArray_replace4(QByteArrayH handle, char before, const QByteArrayH after); C_EXPORT QByteArrayH QByteArray_replace5(QByteArrayH handle, const char* before, const char* after); C_EXPORT QByteArrayH QByteArray_replace6(QByteArrayH handle, const char* before, int bsize, const char* after, int asize); C_EXPORT QByteArrayH QByteArray_replace7(QByteArrayH handle, const QByteArrayH before, const QByteArrayH after); C_EXPORT QByteArrayH QByteArray_replace8(QByteArrayH handle, const QByteArrayH before, const char* after); C_EXPORT QByteArrayH QByteArray_replace9(QByteArrayH handle, const char* before, const QByteArrayH after); C_EXPORT QByteArrayH QByteArray_replace10(QByteArrayH handle, char before, char after); C_EXPORT void QByteArray_repeated(QByteArrayH handle, QByteArrayH retval, int times); C_EXPORT QByteArrayH QByteArray_append5(QByteArrayH handle, PWideString s); C_EXPORT QByteArrayH QByteArray_insert4(QByteArrayH handle, int i, PWideString s); C_EXPORT QByteArrayH QByteArray_replace11(QByteArrayH handle, PWideString before, const char* after); C_EXPORT QByteArrayH QByteArray_replace12(QByteArrayH handle, char c, PWideString after); C_EXPORT QByteArrayH QByteArray_replace13(QByteArrayH handle, PWideString before, const QByteArrayH after); C_EXPORT int QByteArray_indexOf4(QByteArrayH handle, PWideString s, int from); C_EXPORT int QByteArray_lastIndexOf4(QByteArrayH handle, PWideString s, int from); C_EXPORT short QByteArray_toShort(QByteArrayH handle, bool* ok, int base); C_EXPORT ushort QByteArray_toUShort(QByteArrayH handle, bool* ok, int base); C_EXPORT int QByteArray_toInt(QByteArrayH handle, bool* ok, int base); C_EXPORT uint QByteArray_toUInt(QByteArrayH handle, bool* ok, int base); C_EXPORT long QByteArray_toLong(QByteArrayH handle, bool* ok, int base); C_EXPORT ulong QByteArray_toULong(QByteArrayH handle, bool* ok, int base); C_EXPORT qlonglong QByteArray_toLongLong(QByteArrayH handle, bool* ok, int base); C_EXPORT qulonglong QByteArray_toULongLong(QByteArrayH handle, bool* ok, int base); C_EXPORT float QByteArray_toFloat(QByteArrayH handle, bool* ok); C_EXPORT double QByteArray_toDouble(QByteArrayH handle, bool* ok); C_EXPORT void QByteArray_toBase64(QByteArrayH handle, QByteArrayH retval); C_EXPORT void QByteArray_toHex(QByteArrayH handle, QByteArrayH retval); C_EXPORT void QByteArray_toPercentEncoding(QByteArrayH handle, QByteArrayH retval, const QByteArrayH exclude, const QByteArrayH include, char percent); C_EXPORT QByteArrayH QByteArray_setNum(QByteArrayH handle, short AnonParam1, int base); C_EXPORT QByteArrayH QByteArray_setNum2(QByteArrayH handle, ushort AnonParam1, int base); C_EXPORT QByteArrayH QByteArray_setNum3(QByteArrayH handle, int AnonParam1, int base); C_EXPORT QByteArrayH QByteArray_setNum4(QByteArrayH handle, uint AnonParam1, int base); C_EXPORT QByteArrayH QByteArray_setNum5(QByteArrayH handle, qlonglong AnonParam1, int base); C_EXPORT QByteArrayH QByteArray_setNum6(QByteArrayH handle, qulonglong AnonParam1, int base); C_EXPORT QByteArrayH QByteArray_setNum7(QByteArrayH handle, float AnonParam1, char f, int prec); C_EXPORT QByteArrayH QByteArray_setNum8(QByteArrayH handle, double AnonParam1, char f, int prec); C_EXPORT void QByteArray_number(QByteArrayH retval, int AnonParam1, int base); C_EXPORT void QByteArray_number2(QByteArrayH retval, uint AnonParam1, int base); C_EXPORT void QByteArray_number3(QByteArrayH retval, qlonglong AnonParam1, int base); C_EXPORT void QByteArray_number4(QByteArrayH retval, qulonglong AnonParam1, int base); C_EXPORT void QByteArray_number5(QByteArrayH retval, double AnonParam1, char f, int prec); C_EXPORT void QByteArray_fromRawData(QByteArrayH retval, const char* AnonParam1, int size); C_EXPORT void QByteArray_fromBase64(QByteArrayH retval, const QByteArrayH base64); C_EXPORT void QByteArray_fromHex(QByteArrayH retval, const QByteArrayH hexEncoded); C_EXPORT void QByteArray_fromPercentEncoding(QByteArrayH retval, const QByteArrayH pctEncoded, char percent); C_EXPORT void QByteArray_push_back(QByteArrayH handle, char c); C_EXPORT void QByteArray_push_back2(QByteArrayH handle, const char* c); C_EXPORT void QByteArray_push_back3(QByteArrayH handle, const QByteArrayH a); C_EXPORT void QByteArray_push_front(QByteArrayH handle, char c); C_EXPORT void QByteArray_push_front2(QByteArrayH handle, const char* c); C_EXPORT void QByteArray_push_front3(QByteArrayH handle, const QByteArrayH a); C_EXPORT int QByteArray_count4(QByteArrayH handle); C_EXPORT int QByteArray_length(QByteArrayH handle); C_EXPORT bool QByteArray_isNull(QByteArrayH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qvariant_c.cpp0000664000212600021260000001763711677135472017704 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qvariant_c.h" QVariantH QVariant_create() { return (QVariantH) new QVariant(); } void QVariant_destroy(QVariantH handle) { delete (QVariant *)handle; } QVariantH QVariant_create3(int typeOrUserType, const void* copy) { return (QVariantH) new QVariant(typeOrUserType, copy); } QVariantH QVariant_create4(const QVariantH other) { return (QVariantH) new QVariant(*(const QVariant*)other); } QVariantH QVariant_create5(QDataStreamH s) { return (QVariantH) new QVariant(*(QDataStream*)s); } QVariantH QVariant_create6(int i) { return (QVariantH) new QVariant(i); } QVariantH QVariant_create8(qlonglong ll) { return (QVariantH) new QVariant(ll); } QVariantH QVariant_create9(qulonglong ull) { return (QVariantH) new QVariant(ull); } QVariantH QVariant_create10(bool b) { return (QVariantH) new QVariant(b); } QVariantH QVariant_create11(double d) { return (QVariantH) new QVariant(d); } QVariantH QVariant_create12(const char* str) { return (QVariantH) new QVariant(str); } QVariantH QVariant_create13(const QByteArrayH bytearray) { return (QVariantH) new QVariant(*(const QByteArray*)bytearray); } QVariantH QVariant_create14(const QBitArrayH bitarray) { return (QVariantH) new QVariant(*(const QBitArray*)bitarray); } QVariantH QVariant_create15(PWideString string) { QString t_string; copyPWideStringToQString(string, t_string); return (QVariantH) new QVariant(t_string); } QVariantH QVariant_create16(const QLatin1StringH string) { return (QVariantH) new QVariant(*(const QLatin1String*)string); } QVariantH QVariant_create17(const QStringListH stringlist) { return (QVariantH) new QVariant(*(const QStringList*)stringlist); } QVariantH QVariant_create18(const QCharH qchar) { return (QVariantH) new QVariant(*(const QChar*)qchar); } QVariantH QVariant_create19(const QDateH date) { return (QVariantH) new QVariant(*(const QDate*)date); } QVariantH QVariant_create20(const QTimeH time) { return (QVariantH) new QVariant(*(const QTime*)time); } QVariantH QVariant_create21(const QDateTimeH datetime) { return (QVariantH) new QVariant(*(const QDateTime*)datetime); } QVariantH QVariant_create25(const QPointFH pt) { return (QVariantH) new QVariant(*(const QPointF*)pt); } QVariantH QVariant_create26(const QLineH line) { return (QVariantH) new QVariant(*(const QLine*)line); } QVariantH QVariant_create27(const QLineFH line) { return (QVariantH) new QVariant(*(const QLineF*)line); } QVariantH QVariant_create28(PRect rect) { QRect t_rect; copyPRectToQRect(rect, t_rect); return (QVariantH) new QVariant(t_rect); } QVariantH QVariant_create29(const QRectFH rect) { return (QVariantH) new QVariant(*(const QRectF*)rect); } QVariantH QVariant_create30(const QUrlH url) { return (QVariantH) new QVariant(*(const QUrl*)url); } QVariantH QVariant_create31(const QLocaleH locale) { return (QVariantH) new QVariant(*(const QLocale*)locale); } QVariantH QVariant_create32(const QRegExpH regExp) { return (QVariantH) new QVariant(*(const QRegExp*)regExp); } QVariantH QVariant_create33(Qt::GlobalColor color) { return (QVariantH) new QVariant(color); } QVariant::Type QVariant_type(QVariantH handle) { return (QVariant::Type) ((QVariant *)handle)->type(); } int QVariant_userType(QVariantH handle) { return (int) ((QVariant *)handle)->userType(); } const char* QVariant_typeName(QVariantH handle) { return (const char*) ((QVariant *)handle)->typeName(); } bool QVariant_canConvert(QVariantH handle, QVariant::Type t) { return (bool) ((QVariant *)handle)->canConvert(t); } bool QVariant_convert(QVariantH handle, QVariant::Type t) { return (bool) ((QVariant *)handle)->convert(t); } bool QVariant_isValid(QVariantH handle) { return (bool) ((QVariant *)handle)->isValid(); } bool QVariant_isNull(QVariantH handle) { return (bool) ((QVariant *)handle)->isNull(); } void QVariant_clear(QVariantH handle) { ((QVariant *)handle)->clear(); } void QVariant_detach(QVariantH handle) { ((QVariant *)handle)->detach(); } bool QVariant_isDetached(QVariantH handle) { return (bool) ((QVariant *)handle)->isDetached(); } int QVariant_toInt(QVariantH handle, bool* ok) { return (int) ((QVariant *)handle)->toInt(ok); } uint QVariant_toUInt(QVariantH handle, bool* ok) { return (uint) ((QVariant *)handle)->toUInt(ok); } qlonglong QVariant_toLongLong(QVariantH handle, bool* ok) { return (qlonglong) ((QVariant *)handle)->toLongLong(ok); } qulonglong QVariant_toULongLong(QVariantH handle, bool* ok) { return (qulonglong) ((QVariant *)handle)->toULongLong(ok); } bool QVariant_toBool(QVariantH handle) { return (bool) ((QVariant *)handle)->toBool(); } double QVariant_toDouble(QVariantH handle, bool* ok) { return (double) ((QVariant *)handle)->toDouble(ok); } void QVariant_toByteArray(QVariantH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QVariant *)handle)->toByteArray(); } void QVariant_toBitArray(QVariantH handle, QBitArrayH retval) { *(QBitArray *)retval = ((QVariant *)handle)->toBitArray(); } void QVariant_toString(QVariantH handle, PWideString retval) { QString t_retval; t_retval = ((QVariant *)handle)->toString(); copyQStringToPWideString(t_retval, retval); } void QVariant_toStringList(QVariantH handle, QStringListH retval) { *(QStringList *)retval = ((QVariant *)handle)->toStringList(); } void QVariant_toChar(QVariantH handle, PWideChar retval) { *(QChar *)retval = ((QVariant *)handle)->toChar(); } void QVariant_toDate(QVariantH handle, QDateH retval) { *(QDate *)retval = ((QVariant *)handle)->toDate(); } void QVariant_toTime(QVariantH handle, QTimeH retval) { *(QTime *)retval = ((QVariant *)handle)->toTime(); } void QVariant_toDateTime(QVariantH handle, QDateTimeH retval) { *(QDateTime *)retval = ((QVariant *)handle)->toDateTime(); } void QVariant_toPoint(QVariantH handle, PQtPoint retval) { *(QPoint *)retval = ((QVariant *)handle)->toPoint(); } void QVariant_toPointF(QVariantH handle, PQtPointF retval) { *(QPointF *)retval = ((QVariant *)handle)->toPointF(); } void QVariant_toRect(QVariantH handle, PRect retval) { QRect t_retval; t_retval = ((QVariant *)handle)->toRect(); copyQRectToPRect(t_retval, retval); } void QVariant_toSize(QVariantH handle, PSize retval) { *(QSize *)retval = ((QVariant *)handle)->toSize(); } void QVariant_toSizeF(QVariantH handle, QSizeFH retval) { *(QSizeF *)retval = ((QVariant *)handle)->toSizeF(); } void QVariant_toLine(QVariantH handle, QLineH retval) { *(QLine *)retval = ((QVariant *)handle)->toLine(); } void QVariant_toLineF(QVariantH handle, QLineFH retval) { *(QLineF *)retval = ((QVariant *)handle)->toLineF(); } void QVariant_toRectF(QVariantH handle, QRectFH retval) { *(QRectF *)retval = ((QVariant *)handle)->toRectF(); } void QVariant_toUrl(QVariantH handle, QUrlH retval) { *(QUrl *)retval = ((QVariant *)handle)->toUrl(); } void QVariant_toLocale(QVariantH handle, QLocaleH retval) { *(QLocale *)retval = ((QVariant *)handle)->toLocale(); } void QVariant_toRegExp(QVariantH handle, QRegExpH retval) { *(QRegExp *)retval = ((QVariant *)handle)->toRegExp(); } void QVariant_load(QVariantH handle, QDataStreamH ds) { ((QVariant *)handle)->load(*(QDataStream*)ds); } void QVariant_save(QVariantH handle, QDataStreamH ds) { ((QVariant *)handle)->save(*(QDataStream*)ds); } const char* QVariant_typeToName(QVariant::Type type) { return (const char*) QVariant::typeToName(type); } QVariant::Type QVariant_nameToType(const char* name) { return (QVariant::Type) QVariant::nameToType(name); } const void* QVariant_constData(QVariantH handle) { return (const void*) ((QVariant *)handle)->constData(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtabbar_hook_c.cpp0000664000212600021260000000211311677135472020472 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtabbar_hook_c.h" QTabBar_hookH QTabBar_hook_create(QObjectH handle) { return (QTabBar_hookH) new QTabBar_hook((QObject*)handle); } void QTabBar_hook_destroy(QTabBar_hookH handle) { delete (QTabBar_hook *)handle; } void QTabBar_hook_hook_currentChanged(QTabBar_hookH handle, QHookH hook) { ((QTabBar_hook *)handle)->hook_currentChanged(hook); } void QTabBar_hook_hook_tabCloseRequested(QTabBar_hookH handle, QHookH hook) { ((QTabBar_hook *)handle)->hook_tabCloseRequested(hook); } void QTabBar_hook_hook_tabMoved(QTabBar_hookH handle, QHookH hook) { ((QTabBar_hook *)handle)->hook_tabMoved(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtreeview_hook.h0000664000212600021260000000414011677135472020236 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTREEVIEW_HOOK_H #define QTREEVIEW_HOOK_H #include #include "qabstractitemview_hook.h" class QTreeView_hook : public QAbstractItemView_hook { Q_OBJECT public: QTreeView_hook(QObject *handle) : QAbstractItemView_hook(handle) { expanded_event.func = NULL; collapsed_event.func = NULL; } void hook_expanded(QHook &hook) { if ( !expanded_event.func ) connect(handle, SIGNAL(expanded(const QModelIndex&)), this, SLOT(expanded_hook(const QModelIndex&))); expanded_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(expanded(const QModelIndex&)), this, SLOT(expanded_hook(const QModelIndex&))); } void hook_collapsed(QHook &hook) { if ( !collapsed_event.func ) connect(handle, SIGNAL(collapsed(const QModelIndex&)), this, SLOT(collapsed_hook(const QModelIndex&))); collapsed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(collapsed(const QModelIndex&)), this, SLOT(collapsed_hook(const QModelIndex&))); } private slots: void expanded_hook(const QModelIndex& index) { if ( expanded_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH index); (*(func_type)expanded_event.func)(expanded_event.data, (const QModelIndexH)&index); } } void collapsed_hook(const QModelIndex& index) { if ( collapsed_event.func ) { typedef void (*func_type)(void *data, const QModelIndexH index); (*(func_type)collapsed_event.func)(collapsed_event.data, (const QModelIndexH)&index); } } private: QHook expanded_event; QHook collapsed_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtimer_c.cpp0000664000212600021260000000305211677135472017342 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtimer_c.h" QTimerH QTimer_create(QObjectH parent) { return (QTimerH) new QTimer((QObject*)parent); } void QTimer_destroy(QTimerH handle) { delete (QTimer *)handle; } bool QTimer_isActive(QTimerH handle) { return (bool) ((QTimer *)handle)->isActive(); } int QTimer_timerId(QTimerH handle) { return (int) ((QTimer *)handle)->timerId(); } void QTimer_setInterval(QTimerH handle, int msec) { ((QTimer *)handle)->setInterval(msec); } int QTimer_interval(QTimerH handle) { return (int) ((QTimer *)handle)->interval(); } void QTimer_setSingleShot(QTimerH handle, bool singleShot) { ((QTimer *)handle)->setSingleShot(singleShot); } bool QTimer_isSingleShot(QTimerH handle) { return (bool) ((QTimer *)handle)->isSingleShot(); } void QTimer_singleShot(int msec, QObjectH receiver, const char* member) { QTimer::singleShot(msec, (QObject*)receiver, member); } void QTimer_start(QTimerH handle, int msec) { ((QTimer *)handle)->start(msec); } void QTimer_start2(QTimerH handle) { ((QTimer *)handle)->start(); } void QTimer_stop(QTimerH handle) { ((QTimer *)handle)->stop(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcheckbox_hook_c.h0000664000212600021260000000141711677135472020500 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCHECKBOX_HOOK_C_H #define QCHECKBOX_HOOK_C_H #include "qcheckbox_hook.h" C_EXPORT QCheckBox_hookH QCheckBox_hook_create(QObjectH handle); C_EXPORT void QCheckBox_hook_destroy(QCheckBox_hookH handle); C_EXPORT void QCheckBox_hook_hook_stateChanged(QCheckBox_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpainter_c.h0000664000212600021260000004144211677135472017336 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPAINTER_C_H #define QPAINTER_C_H #include #include "pascalbind.h" C_EXPORT QPainterH QPainter_create(); C_EXPORT void QPainter_destroy(QPainterH handle); C_EXPORT QPainterH QPainter_create2(QPaintDeviceH AnonParam1); C_EXPORT QPaintDeviceH QPainter_device(QPainterH handle); C_EXPORT bool QPainter_begin(QPainterH handle, QPaintDeviceH AnonParam1); C_EXPORT bool QPainter_end(QPainterH handle); C_EXPORT bool QPainter_isActive(QPainterH handle); C_EXPORT void QPainter_initFrom(QPainterH handle, const QWidgetH widget); C_EXPORT void QPainter_setCompositionMode(QPainterH handle, QPainter::CompositionMode mode); C_EXPORT QPainter::CompositionMode QPainter_compositionMode(QPainterH handle); C_EXPORT const QFontH QPainter_font(QPainterH handle); C_EXPORT void QPainter_setFont(QPainterH handle, const QFontH f); C_EXPORT void QPainter_fontMetrics(QPainterH handle, QFontMetricsH retval); C_EXPORT void QPainter_fontInfo(QPainterH handle, QFontInfoH retval); C_EXPORT void QPainter_setPen(QPainterH handle, const QColorH color); C_EXPORT void QPainter_setPen2(QPainterH handle, const QPenH pen); C_EXPORT void QPainter_setPen3(QPainterH handle, Qt::PenStyle style); C_EXPORT const QPenH QPainter_pen(QPainterH handle); C_EXPORT void QPainter_setBrush(QPainterH handle, const QBrushH brush); C_EXPORT void QPainter_setBrush2(QPainterH handle, Qt::BrushStyle style); C_EXPORT const QBrushH QPainter_brush(QPainterH handle); C_EXPORT void QPainter_setBackgroundMode(QPainterH handle, Qt::BGMode mode); C_EXPORT Qt::BGMode QPainter_backgroundMode(QPainterH handle); C_EXPORT void QPainter_brushOrigin(QPainterH handle, PQtPoint retval); C_EXPORT void QPainter_setBrushOrigin(QPainterH handle, int x, int y); C_EXPORT void QPainter_setBrushOrigin2(QPainterH handle, const QPointH AnonParam1); C_EXPORT void QPainter_setBrushOrigin3(QPainterH handle, const QPointFH AnonParam1); C_EXPORT void QPainter_setBackground(QPainterH handle, const QBrushH bg); C_EXPORT const QBrushH QPainter_background(QPainterH handle); C_EXPORT qreal QPainter_opacity(QPainterH handle); C_EXPORT void QPainter_setOpacity(QPainterH handle, qreal opacity); C_EXPORT void QPainter_clipRegion(QPainterH handle, QRegionH retval); C_EXPORT void QPainter_clipPath(QPainterH handle, QPainterPathH retval); C_EXPORT void QPainter_setClipRect(QPainterH handle, const QRectFH AnonParam1, Qt::ClipOperation op); C_EXPORT void QPainter_setClipRect2(QPainterH handle, PRect AnonParam1, Qt::ClipOperation op); C_EXPORT void QPainter_setClipRect3(QPainterH handle, int x, int y, int w, int h, Qt::ClipOperation op); C_EXPORT void QPainter_setClipRegion(QPainterH handle, const QRegionH AnonParam1, Qt::ClipOperation op); C_EXPORT void QPainter_setClipPath(QPainterH handle, const QPainterPathH path, Qt::ClipOperation op); C_EXPORT void QPainter_setClipping(QPainterH handle, bool enable); C_EXPORT bool QPainter_hasClipping(QPainterH handle); C_EXPORT void QPainter_save(QPainterH handle); C_EXPORT void QPainter_restore(QPainterH handle); C_EXPORT void QPainter_setMatrix(QPainterH handle, const QMatrixH matrix, bool combine); C_EXPORT const QMatrixH QPainter_matrix(QPainterH handle); C_EXPORT const QMatrixH QPainter_deviceMatrix(QPainterH handle); C_EXPORT void QPainter_resetMatrix(QPainterH handle); C_EXPORT void QPainter_setTransform(QPainterH handle, const QTransformH transform, bool combine); C_EXPORT const QTransformH QPainter_transform(QPainterH handle); C_EXPORT const QTransformH QPainter_deviceTransform(QPainterH handle); C_EXPORT void QPainter_resetTransform(QPainterH handle); C_EXPORT void QPainter_setWorldMatrix(QPainterH handle, const QMatrixH matrix, bool combine); C_EXPORT const QMatrixH QPainter_worldMatrix(QPainterH handle); C_EXPORT void QPainter_setWorldTransform(QPainterH handle, const QTransformH matrix, bool combine); C_EXPORT const QTransformH QPainter_worldTransform(QPainterH handle); C_EXPORT void QPainter_combinedMatrix(QPainterH handle, QMatrixH retval); C_EXPORT void QPainter_combinedTransform(QPainterH handle, QTransformH retval); C_EXPORT void QPainter_setMatrixEnabled(QPainterH handle, bool enabled); C_EXPORT bool QPainter_matrixEnabled(QPainterH handle); C_EXPORT void QPainter_setWorldMatrixEnabled(QPainterH handle, bool enabled); C_EXPORT bool QPainter_worldMatrixEnabled(QPainterH handle); C_EXPORT void QPainter_scale(QPainterH handle, qreal sx, qreal sy); C_EXPORT void QPainter_shear(QPainterH handle, qreal sh, qreal sv); C_EXPORT void QPainter_rotate(QPainterH handle, qreal a); C_EXPORT void QPainter_translate(QPainterH handle, const QPointFH offset); C_EXPORT void QPainter_translate2(QPainterH handle, const QPointH offset); C_EXPORT void QPainter_translate3(QPainterH handle, qreal dx, qreal dy); C_EXPORT void QPainter_window(QPainterH handle, PRect retval); C_EXPORT void QPainter_setWindow(QPainterH handle, PRect window); C_EXPORT void QPainter_setWindow2(QPainterH handle, int x, int y, int w, int h); C_EXPORT void QPainter_viewport(QPainterH handle, PRect retval); C_EXPORT void QPainter_setViewport(QPainterH handle, PRect viewport); C_EXPORT void QPainter_setViewport2(QPainterH handle, int x, int y, int w, int h); C_EXPORT void QPainter_setViewTransformEnabled(QPainterH handle, bool enable); C_EXPORT bool QPainter_viewTransformEnabled(QPainterH handle); C_EXPORT void QPainter_strokePath(QPainterH handle, const QPainterPathH path, const QPenH pen); C_EXPORT void QPainter_fillPath(QPainterH handle, const QPainterPathH path, const QBrushH brush); C_EXPORT void QPainter_drawPath(QPainterH handle, const QPainterPathH path); C_EXPORT void QPainter_drawPoint(QPainterH handle, const QPointFH pt); C_EXPORT void QPainter_drawPoint2(QPainterH handle, const QPointH p); C_EXPORT void QPainter_drawPoint3(QPainterH handle, int x, int y); C_EXPORT void QPainter_drawPoints(QPainterH handle, const QPointFH points, int pointCount); C_EXPORT void QPainter_drawPoints2(QPainterH handle, const QPolygonFH points); C_EXPORT void QPainter_drawPoints3(QPainterH handle, const QPointH points, int pointCount); C_EXPORT void QPainter_drawPoints4(QPainterH handle, const QPolygonH points); C_EXPORT void QPainter_drawLine(QPainterH handle, const QLineFH line); C_EXPORT void QPainter_drawLine2(QPainterH handle, const QLineH line); C_EXPORT void QPainter_drawLine3(QPainterH handle, int x1, int y1, int x2, int y2); C_EXPORT void QPainter_drawLine4(QPainterH handle, const QPointH p1, const QPointH p2); C_EXPORT void QPainter_drawLine5(QPainterH handle, const QPointFH p1, const QPointFH p2); C_EXPORT void QPainter_drawLines(QPainterH handle, const QLineFH lines, int lineCount); C_EXPORT void QPainter_drawLines2(QPainterH handle, const QPointFH pointPairs, int lineCount); C_EXPORT void QPainter_drawLines3(QPainterH handle, const QLineH lines, int lineCount); C_EXPORT void QPainter_drawLines4(QPainterH handle, const QPointH pointPairs, int lineCount); C_EXPORT void QPainter_drawRect(QPainterH handle, const QRectFH rect); C_EXPORT void QPainter_drawRect2(QPainterH handle, int x1, int y1, int w, int h); C_EXPORT void QPainter_drawRect3(QPainterH handle, PRect rect); C_EXPORT void QPainter_drawRects(QPainterH handle, const QRectFH rects, int rectCount); C_EXPORT void QPainter_drawRects2(QPainterH handle, PRect rects, int rectCount); C_EXPORT void QPainter_drawEllipse(QPainterH handle, const QRectFH r); C_EXPORT void QPainter_drawEllipse2(QPainterH handle, PRect r); C_EXPORT void QPainter_drawEllipse3(QPainterH handle, int x, int y, int w, int h); C_EXPORT void QPainter_drawEllipse4(QPainterH handle, const QPointFH center, qreal rx, qreal ry); C_EXPORT void QPainter_drawEllipse5(QPainterH handle, const QPointH center, int rx, int ry); C_EXPORT void QPainter_drawPolyline(QPainterH handle, const QPointFH points, int pointCount); C_EXPORT void QPainter_drawPolyline2(QPainterH handle, const QPolygonFH polyline); C_EXPORT void QPainter_drawPolyline3(QPainterH handle, const QPointH points, int pointCount); C_EXPORT void QPainter_drawPolyline4(QPainterH handle, const QPolygonH polygon); C_EXPORT void QPainter_drawPolygon(QPainterH handle, const QPointFH points, int pointCount, Qt::FillRule fillRule); C_EXPORT void QPainter_drawPolygon2(QPainterH handle, const QPolygonFH polygon, Qt::FillRule fillRule); C_EXPORT void QPainter_drawPolygon3(QPainterH handle, const QPointH points, int pointCount, Qt::FillRule fillRule); C_EXPORT void QPainter_drawPolygon4(QPainterH handle, const QPolygonH polygon, Qt::FillRule fillRule); C_EXPORT void QPainter_drawConvexPolygon(QPainterH handle, const QPointFH points, int pointCount); C_EXPORT void QPainter_drawConvexPolygon2(QPainterH handle, const QPolygonFH polygon); C_EXPORT void QPainter_drawConvexPolygon3(QPainterH handle, const QPointH points, int pointCount); C_EXPORT void QPainter_drawConvexPolygon4(QPainterH handle, const QPolygonH polygon); C_EXPORT void QPainter_drawArc(QPainterH handle, const QRectFH rect, int a, int alen); C_EXPORT void QPainter_drawArc2(QPainterH handle, PRect AnonParam1, int a, int alen); C_EXPORT void QPainter_drawArc3(QPainterH handle, int x, int y, int w, int h, int a, int alen); C_EXPORT void QPainter_drawPie(QPainterH handle, const QRectFH rect, int a, int alen); C_EXPORT void QPainter_drawPie2(QPainterH handle, int x, int y, int w, int h, int a, int alen); C_EXPORT void QPainter_drawPie3(QPainterH handle, PRect AnonParam1, int a, int alen); C_EXPORT void QPainter_drawChord(QPainterH handle, const QRectFH rect, int a, int alen); C_EXPORT void QPainter_drawChord2(QPainterH handle, int x, int y, int w, int h, int a, int alen); C_EXPORT void QPainter_drawChord3(QPainterH handle, PRect AnonParam1, int a, int alen); C_EXPORT void QPainter_drawRoundedRect(QPainterH handle, const QRectFH rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode); C_EXPORT void QPainter_drawRoundedRect2(QPainterH handle, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode); C_EXPORT void QPainter_drawRoundedRect3(QPainterH handle, PRect rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode); C_EXPORT void QPainter_drawRoundRect(QPainterH handle, const QRectFH r, int xround, int yround); C_EXPORT void QPainter_drawRoundRect2(QPainterH handle, int x, int y, int w, int h, int AnonParam5, int AnonParam6); C_EXPORT void QPainter_drawRoundRect3(QPainterH handle, PRect r, int xround, int yround); C_EXPORT void QPainter_drawTiledPixmap(QPainterH handle, const QRectFH rect, const QPixmapH pm, const QPointFH offset); C_EXPORT void QPainter_drawTiledPixmap2(QPainterH handle, int x, int y, int w, int h, const QPixmapH AnonParam5, int sx, int sy); C_EXPORT void QPainter_drawTiledPixmap3(QPainterH handle, PRect AnonParam1, const QPixmapH AnonParam2, const QPointH AnonParam3); C_EXPORT void QPainter_drawPicture(QPainterH handle, const QPointFH p, const QPictureH picture); C_EXPORT void QPainter_drawPicture2(QPainterH handle, int x, int y, const QPictureH picture); C_EXPORT void QPainter_drawPicture3(QPainterH handle, const QPointH p, const QPictureH picture); C_EXPORT void QPainter_drawPixmap(QPainterH handle, const QRectFH targetRect, const QPixmapH pixmap, const QRectFH sourceRect); C_EXPORT void QPainter_drawPixmap2(QPainterH handle, PRect targetRect, const QPixmapH pixmap, PRect sourceRect); C_EXPORT void QPainter_drawPixmap3(QPainterH handle, int x, int y, int w, int h, const QPixmapH pm, int sx, int sy, int sw, int sh); C_EXPORT void QPainter_drawPixmap4(QPainterH handle, int x, int y, const QPixmapH pm, int sx, int sy, int sw, int sh); C_EXPORT void QPainter_drawPixmap5(QPainterH handle, const QPointFH p, const QPixmapH pm, const QRectFH sr); C_EXPORT void QPainter_drawPixmap6(QPainterH handle, const QPointH p, const QPixmapH pm, PRect sr); C_EXPORT void QPainter_drawPixmap7(QPainterH handle, const QPointFH p, const QPixmapH pm); C_EXPORT void QPainter_drawPixmap8(QPainterH handle, const QPointH p, const QPixmapH pm); C_EXPORT void QPainter_drawPixmap9(QPainterH handle, int x, int y, const QPixmapH pm); C_EXPORT void QPainter_drawPixmap10(QPainterH handle, PRect r, const QPixmapH pm); C_EXPORT void QPainter_drawPixmap11(QPainterH handle, int x, int y, int w, int h, const QPixmapH pm); C_EXPORT void QPainter_drawImage(QPainterH handle, const QRectFH targetRect, const QImageH image, const QRectFH sourceRect, unsigned int flags); C_EXPORT void QPainter_drawImage2(QPainterH handle, PRect targetRect, const QImageH image, PRect sourceRect, unsigned int flags); C_EXPORT void QPainter_drawImage3(QPainterH handle, const QPointFH p, const QImageH image, const QRectFH sr, unsigned int flags); C_EXPORT void QPainter_drawImage4(QPainterH handle, const QPointH p, const QImageH image, PRect sr, unsigned int flags); C_EXPORT void QPainter_drawImage5(QPainterH handle, const QRectFH r, const QImageH image); C_EXPORT void QPainter_drawImage6(QPainterH handle, PRect r, const QImageH image); C_EXPORT void QPainter_drawImage7(QPainterH handle, const QPointFH p, const QImageH image); C_EXPORT void QPainter_drawImage8(QPainterH handle, const QPointH p, const QImageH image); C_EXPORT void QPainter_drawImage9(QPainterH handle, int x, int y, const QImageH image, int sx, int sy, int sw, int sh, unsigned int flags); C_EXPORT void QPainter_setLayoutDirection(QPainterH handle, Qt::LayoutDirection direction); C_EXPORT Qt::LayoutDirection QPainter_layoutDirection(QPainterH handle); C_EXPORT void QPainter_drawText(QPainterH handle, const QPointFH p, PWideString s); C_EXPORT void QPainter_drawText2(QPainterH handle, const QPointH p, PWideString s); C_EXPORT void QPainter_drawText3(QPainterH handle, int x, int y, PWideString s); C_EXPORT void QPainter_drawText4(QPainterH handle, const QPointFH p, PWideString str, int tf, int justificationPadding); C_EXPORT void QPainter_drawText5(QPainterH handle, const QRectFH r, int flags, PWideString text, QRectFH br); C_EXPORT void QPainter_drawText6(QPainterH handle, PRect r, int flags, PWideString text, PRect br); C_EXPORT void QPainter_drawText7(QPainterH handle, int x, int y, int w, int h, int flags, PWideString text, PRect br); C_EXPORT void QPainter_drawText8(QPainterH handle, const QRectFH r, PWideString text, const QTextOptionH o); C_EXPORT void QPainter_boundingRect(QPainterH handle, QRectFH retval, const QRectFH rect, int flags, PWideString text); C_EXPORT void QPainter_boundingRect2(QPainterH handle, PRect retval, PRect rect, int flags, PWideString text); C_EXPORT void QPainter_boundingRect3(QPainterH handle, PRect retval, int x, int y, int w, int h, int flags, PWideString text); C_EXPORT void QPainter_boundingRect4(QPainterH handle, QRectFH retval, const QRectFH rect, PWideString text, const QTextOptionH o); C_EXPORT void QPainter_fillRect(QPainterH handle, const QRectFH AnonParam1, const QBrushH AnonParam2); C_EXPORT void QPainter_fillRect2(QPainterH handle, int x, int y, int w, int h, const QBrushH AnonParam5); C_EXPORT void QPainter_fillRect3(QPainterH handle, PRect AnonParam1, const QBrushH AnonParam2); C_EXPORT void QPainter_fillRect4(QPainterH handle, const QRectFH AnonParam1, const QColorH color); C_EXPORT void QPainter_fillRect5(QPainterH handle, int x, int y, int w, int h, const QColorH color); C_EXPORT void QPainter_fillRect6(QPainterH handle, PRect AnonParam1, const QColorH color); C_EXPORT void QPainter_fillRect7(QPainterH handle, int x, int y, int w, int h, Qt::GlobalColor c); C_EXPORT void QPainter_fillRect8(QPainterH handle, PRect r, Qt::GlobalColor c); C_EXPORT void QPainter_fillRect9(QPainterH handle, const QRectFH r, Qt::GlobalColor c); C_EXPORT void QPainter_fillRect10(QPainterH handle, int x, int y, int w, int h, Qt::BrushStyle style); C_EXPORT void QPainter_fillRect11(QPainterH handle, PRect r, Qt::BrushStyle style); C_EXPORT void QPainter_fillRect12(QPainterH handle, const QRectFH r, Qt::BrushStyle style); C_EXPORT void QPainter_eraseRect(QPainterH handle, const QRectFH AnonParam1); C_EXPORT void QPainter_eraseRect2(QPainterH handle, int x, int y, int w, int h); C_EXPORT void QPainter_eraseRect3(QPainterH handle, PRect AnonParam1); C_EXPORT void QPainter_setRenderHint(QPainterH handle, QPainter::RenderHint hint, bool on); C_EXPORT void QPainter_setRenderHints(QPainterH handle, unsigned int hints, bool on); C_EXPORT unsigned int QPainter_renderHints(QPainterH handle); C_EXPORT bool QPainter_testRenderHint(QPainterH handle, QPainter::RenderHint hint); C_EXPORT QPaintEngineH QPainter_paintEngine(QPainterH handle); C_EXPORT void QPainter_setRedirected(const QPaintDeviceH device, QPaintDeviceH replacement, const QPointH offset); C_EXPORT QPaintDeviceH QPainter_redirected(const QPaintDeviceH device, QPointH offset); C_EXPORT void QPainter_restoreRedirected(const QPaintDeviceH device); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsizepolicy_c.cpp0000664000212600021260000000554111677135472020421 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsizepolicy_c.h" QSizePolicyH QSizePolicy_create() { return (QSizePolicyH) new QSizePolicy(); } void QSizePolicy_destroy(QSizePolicyH handle) { delete (QSizePolicy *)handle; } QSizePolicyH QSizePolicy_create2(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical) { return (QSizePolicyH) new QSizePolicy(horizontal, vertical); } QSizePolicyH QSizePolicy_create3(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical, QSizePolicy::ControlType type) { return (QSizePolicyH) new QSizePolicy(horizontal, vertical, type); } QSizePolicy::Policy QSizePolicy_horizontalPolicy(QSizePolicyH handle) { return (QSizePolicy::Policy) ((QSizePolicy *)handle)->horizontalPolicy(); } QSizePolicy::Policy QSizePolicy_verticalPolicy(QSizePolicyH handle) { return (QSizePolicy::Policy) ((QSizePolicy *)handle)->verticalPolicy(); } QSizePolicy::ControlType QSizePolicy_controlType(QSizePolicyH handle) { return (QSizePolicy::ControlType) ((QSizePolicy *)handle)->controlType(); } void QSizePolicy_setHorizontalPolicy(QSizePolicyH handle, QSizePolicy::Policy d) { ((QSizePolicy *)handle)->setHorizontalPolicy(d); } void QSizePolicy_setVerticalPolicy(QSizePolicyH handle, QSizePolicy::Policy d) { ((QSizePolicy *)handle)->setVerticalPolicy(d); } void QSizePolicy_setControlType(QSizePolicyH handle, QSizePolicy::ControlType type) { ((QSizePolicy *)handle)->setControlType(type); } unsigned int QSizePolicy_expandingDirections(QSizePolicyH handle) { return (unsigned int) ((QSizePolicy *)handle)->expandingDirections(); } void QSizePolicy_setHeightForWidth(QSizePolicyH handle, bool b) { ((QSizePolicy *)handle)->setHeightForWidth(b); } bool QSizePolicy_hasHeightForWidth(QSizePolicyH handle) { return (bool) ((QSizePolicy *)handle)->hasHeightForWidth(); } int QSizePolicy_horizontalStretch(QSizePolicyH handle) { return (int) ((QSizePolicy *)handle)->horizontalStretch(); } int QSizePolicy_verticalStretch(QSizePolicyH handle) { return (int) ((QSizePolicy *)handle)->verticalStretch(); } void QSizePolicy_setHorizontalStretch(QSizePolicyH handle, unsigned char stretchFactor) { ((QSizePolicy *)handle)->setHorizontalStretch((uchar)stretchFactor); } void QSizePolicy_setVerticalStretch(QSizePolicyH handle, unsigned char stretchFactor) { ((QSizePolicy *)handle)->setVerticalStretch((uchar)stretchFactor); } void QSizePolicy_transpose(QSizePolicyH handle) { ((QSizePolicy *)handle)->transpose(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qitemeditorfactory_c.cpp0000664000212600021260000000371611677135472021766 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qitemeditorfactory_c.h" QWidgetH QItemEditorCreatorBase_createWidget(QItemEditorCreatorBaseH handle, QWidgetH parent) { return (QWidgetH) ((QItemEditorCreatorBase *)handle)->createWidget((QWidget*)parent); } void QItemEditorCreatorBase_valuePropertyName(QItemEditorCreatorBaseH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QItemEditorCreatorBase *)handle)->valuePropertyName(); } QItemEditorFactoryH QItemEditorFactory_create() { return (QItemEditorFactoryH) new QItemEditorFactory(); } void QItemEditorFactory_destroy(QItemEditorFactoryH handle) { delete (QItemEditorFactory *)handle; } QWidgetH QItemEditorFactory_createEditor(QItemEditorFactoryH handle, QVariant::Type type, QWidgetH parent) { return (QWidgetH) ((QItemEditorFactory *)handle)->createEditor(type, (QWidget*)parent); } void QItemEditorFactory_valuePropertyName(QItemEditorFactoryH handle, QByteArrayH retval, QVariant::Type type) { *(QByteArray *)retval = ((QItemEditorFactory *)handle)->valuePropertyName(type); } void QItemEditorFactory_registerEditor(QItemEditorFactoryH handle, QVariant::Type type, QItemEditorCreatorBaseH creator) { ((QItemEditorFactory *)handle)->registerEditor(type, (QItemEditorCreatorBase*)creator); } const QItemEditorFactoryH QItemEditorFactory_defaultFactory() { return (const QItemEditorFactoryH) QItemEditorFactory::defaultFactory(); } void QItemEditorFactory_setDefaultFactory(QItemEditorFactoryH factory) { QItemEditorFactory::setDefaultFactory((QItemEditorFactory*)factory); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfiledialog_hook_c.cpp0000664000212600021260000000266311677135472021350 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qfiledialog_hook_c.h" QFileDialog_hookH QFileDialog_hook_create(QObjectH handle) { return (QFileDialog_hookH) new QFileDialog_hook((QObject*)handle); } void QFileDialog_hook_destroy(QFileDialog_hookH handle) { delete (QFileDialog_hook *)handle; } void QFileDialog_hook_hook_fileSelected(QFileDialog_hookH handle, QHookH hook) { ((QFileDialog_hook *)handle)->hook_fileSelected(hook); } void QFileDialog_hook_hook_filesSelected(QFileDialog_hookH handle, QHookH hook) { ((QFileDialog_hook *)handle)->hook_filesSelected(hook); } void QFileDialog_hook_hook_currentChanged(QFileDialog_hookH handle, QHookH hook) { ((QFileDialog_hook *)handle)->hook_currentChanged(hook); } void QFileDialog_hook_hook_directoryEntered(QFileDialog_hookH handle, QHookH hook) { ((QFileDialog_hook *)handle)->hook_directoryEntered(hook); } void QFileDialog_hook_hook_filterSelected(QFileDialog_hookH handle, QHookH hook) { ((QFileDialog_hook *)handle)->hook_filterSelected(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsplitter_hook_c.cpp0000664000212600021260000000213611677135472021112 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qsplitter_hook_c.h" QSplitter_hookH QSplitter_hook_create(QObjectH handle) { return (QSplitter_hookH) new QSplitter_hook((QObject*)handle); } void QSplitter_hook_destroy(QSplitter_hookH handle) { delete (QSplitter_hook *)handle; } void QSplitter_hook_hook_splitterMoved(QSplitter_hookH handle, QHookH hook) { ((QSplitter_hook *)handle)->hook_splitterMoved(hook); } QSplitterHandle_hookH QSplitterHandle_hook_create(QObjectH handle) { return (QSplitterHandle_hookH) new QSplitterHandle_hook((QObject*)handle); } void QSplitterHandle_hook_destroy(QSplitterHandle_hookH handle) { delete (QSplitterHandle_hook *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtabbar_c.cpp0000664000212600021260000001624111677135472017461 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtabbar_c.h" QTabBarH QTabBar_create(QWidgetH parent) { return (QTabBarH) new QTabBar((QWidget*)parent); } void QTabBar_destroy(QTabBarH handle) { delete (QTabBar *)handle; } QTabBar::Shape QTabBar_shape(QTabBarH handle) { return (QTabBar::Shape) ((QTabBar *)handle)->shape(); } void QTabBar_setShape(QTabBarH handle, QTabBar::Shape shape) { ((QTabBar *)handle)->setShape(shape); } int QTabBar_addTab(QTabBarH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (int) ((QTabBar *)handle)->addTab(t_text); } int QTabBar_addTab2(QTabBarH handle, const QIconH icon, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (int) ((QTabBar *)handle)->addTab(*(const QIcon*)icon, t_text); } int QTabBar_insertTab(QTabBarH handle, int index, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (int) ((QTabBar *)handle)->insertTab(index, t_text); } int QTabBar_insertTab2(QTabBarH handle, int index, const QIconH icon, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (int) ((QTabBar *)handle)->insertTab(index, *(const QIcon*)icon, t_text); } void QTabBar_removeTab(QTabBarH handle, int index) { ((QTabBar *)handle)->removeTab(index); } void QTabBar_moveTab(QTabBarH handle, int from, int to) { ((QTabBar *)handle)->moveTab(from, to); } bool QTabBar_isTabEnabled(QTabBarH handle, int index) { return (bool) ((QTabBar *)handle)->isTabEnabled(index); } void QTabBar_setTabEnabled(QTabBarH handle, int index, bool AnonParam2) { ((QTabBar *)handle)->setTabEnabled(index, AnonParam2); } void QTabBar_tabText(QTabBarH handle, PWideString retval, int index) { QString t_retval; t_retval = ((QTabBar *)handle)->tabText(index); copyQStringToPWideString(t_retval, retval); } void QTabBar_setTabText(QTabBarH handle, int index, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QTabBar *)handle)->setTabText(index, t_text); } void QTabBar_tabTextColor(QTabBarH handle, PQColor retval, int index) { *(QColor *)retval = ((QTabBar *)handle)->tabTextColor(index); } void QTabBar_setTabTextColor(QTabBarH handle, int index, const QColorH color) { ((QTabBar *)handle)->setTabTextColor(index, *(const QColor*)color); } void QTabBar_tabIcon(QTabBarH handle, QIconH retval, int index) { *(QIcon *)retval = ((QTabBar *)handle)->tabIcon(index); } void QTabBar_setTabIcon(QTabBarH handle, int index, const QIconH icon) { ((QTabBar *)handle)->setTabIcon(index, *(const QIcon*)icon); } Qt::TextElideMode QTabBar_elideMode(QTabBarH handle) { return (Qt::TextElideMode) ((QTabBar *)handle)->elideMode(); } void QTabBar_setElideMode(QTabBarH handle, Qt::TextElideMode AnonParam1) { ((QTabBar *)handle)->setElideMode(AnonParam1); } void QTabBar_setTabToolTip(QTabBarH handle, int index, PWideString tip) { QString t_tip; copyPWideStringToQString(tip, t_tip); ((QTabBar *)handle)->setTabToolTip(index, t_tip); } void QTabBar_tabToolTip(QTabBarH handle, PWideString retval, int index) { QString t_retval; t_retval = ((QTabBar *)handle)->tabToolTip(index); copyQStringToPWideString(t_retval, retval); } void QTabBar_setTabWhatsThis(QTabBarH handle, int index, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QTabBar *)handle)->setTabWhatsThis(index, t_text); } void QTabBar_tabWhatsThis(QTabBarH handle, PWideString retval, int index) { QString t_retval; t_retval = ((QTabBar *)handle)->tabWhatsThis(index); copyQStringToPWideString(t_retval, retval); } void QTabBar_setTabData(QTabBarH handle, int index, const QVariantH data) { ((QTabBar *)handle)->setTabData(index, *(const QVariant*)data); } void QTabBar_tabData(QTabBarH handle, QVariantH retval, int index) { *(QVariant *)retval = ((QTabBar *)handle)->tabData(index); } void QTabBar_tabRect(QTabBarH handle, PRect retval, int index) { QRect t_retval; t_retval = ((QTabBar *)handle)->tabRect(index); copyQRectToPRect(t_retval, retval); } int QTabBar_tabAt(QTabBarH handle, const QPointH pos) { return (int) ((QTabBar *)handle)->tabAt(*(const QPoint*)pos); } int QTabBar_currentIndex(QTabBarH handle) { return (int) ((QTabBar *)handle)->currentIndex(); } int QTabBar_count(QTabBarH handle) { return (int) ((QTabBar *)handle)->count(); } void QTabBar_sizeHint(QTabBarH handle, PSize retval) { *(QSize *)retval = ((QTabBar *)handle)->sizeHint(); } void QTabBar_minimumSizeHint(QTabBarH handle, PSize retval) { *(QSize *)retval = ((QTabBar *)handle)->minimumSizeHint(); } void QTabBar_setDrawBase(QTabBarH handle, bool drawTheBase) { ((QTabBar *)handle)->setDrawBase(drawTheBase); } bool QTabBar_drawBase(QTabBarH handle) { return (bool) ((QTabBar *)handle)->drawBase(); } void QTabBar_iconSize(QTabBarH handle, PSize retval) { *(QSize *)retval = ((QTabBar *)handle)->iconSize(); } void QTabBar_setIconSize(QTabBarH handle, const QSizeH size) { ((QTabBar *)handle)->setIconSize(*(const QSize*)size); } bool QTabBar_usesScrollButtons(QTabBarH handle) { return (bool) ((QTabBar *)handle)->usesScrollButtons(); } void QTabBar_setUsesScrollButtons(QTabBarH handle, bool useButtons) { ((QTabBar *)handle)->setUsesScrollButtons(useButtons); } bool QTabBar_tabsClosable(QTabBarH handle) { return (bool) ((QTabBar *)handle)->tabsClosable(); } void QTabBar_setTabsClosable(QTabBarH handle, bool closable) { ((QTabBar *)handle)->setTabsClosable(closable); } void QTabBar_setTabButton(QTabBarH handle, int index, QTabBar::ButtonPosition position, QWidgetH widget) { ((QTabBar *)handle)->setTabButton(index, position, (QWidget*)widget); } QWidgetH QTabBar_tabButton(QTabBarH handle, int index, QTabBar::ButtonPosition position) { return (QWidgetH) ((QTabBar *)handle)->tabButton(index, position); } QTabBar::SelectionBehavior QTabBar_selectionBehaviorOnRemove(QTabBarH handle) { return (QTabBar::SelectionBehavior) ((QTabBar *)handle)->selectionBehaviorOnRemove(); } void QTabBar_setSelectionBehaviorOnRemove(QTabBarH handle, QTabBar::SelectionBehavior behavior) { ((QTabBar *)handle)->setSelectionBehaviorOnRemove(behavior); } bool QTabBar_expanding(QTabBarH handle) { return (bool) ((QTabBar *)handle)->expanding(); } void QTabBar_setExpanding(QTabBarH handle, bool enabled) { ((QTabBar *)handle)->setExpanding(enabled); } bool QTabBar_isMovable(QTabBarH handle) { return (bool) ((QTabBar *)handle)->isMovable(); } void QTabBar_setMovable(QTabBarH handle, bool movable) { ((QTabBar *)handle)->setMovable(movable); } bool QTabBar_documentMode(QTabBarH handle) { return (bool) ((QTabBar *)handle)->documentMode(); } void QTabBar_setDocumentMode(QTabBarH handle, bool set) { ((QTabBar *)handle)->setDocumentMode(set); } void QTabBar_setCurrentIndex(QTabBarH handle, int index) { ((QTabBar *)handle)->setCurrentIndex(index); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtablewidget_c.h0000664000212600021260000002333011677135472020163 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTABLEWIDGET_C_H #define QTABLEWIDGET_C_H #include #include "pascalbind.h" C_EXPORT QTableWidgetSelectionRangeH QTableWidgetSelectionRange_create(); C_EXPORT void QTableWidgetSelectionRange_destroy(QTableWidgetSelectionRangeH handle); C_EXPORT QTableWidgetSelectionRangeH QTableWidgetSelectionRange_create2(int top, int left, int bottom, int right); C_EXPORT QTableWidgetSelectionRangeH QTableWidgetSelectionRange_create3(const QTableWidgetSelectionRangeH other); C_EXPORT int QTableWidgetSelectionRange_topRow(QTableWidgetSelectionRangeH handle); C_EXPORT int QTableWidgetSelectionRange_bottomRow(QTableWidgetSelectionRangeH handle); C_EXPORT int QTableWidgetSelectionRange_leftColumn(QTableWidgetSelectionRangeH handle); C_EXPORT int QTableWidgetSelectionRange_rightColumn(QTableWidgetSelectionRangeH handle); C_EXPORT int QTableWidgetSelectionRange_rowCount(QTableWidgetSelectionRangeH handle); C_EXPORT int QTableWidgetSelectionRange_columnCount(QTableWidgetSelectionRangeH handle); C_EXPORT QTableWidgetItemH QTableWidgetItem_create(int type); C_EXPORT void QTableWidgetItem_destroy(QTableWidgetItemH handle); C_EXPORT QTableWidgetItemH QTableWidgetItem_create2(PWideString text, int type); C_EXPORT QTableWidgetItemH QTableWidgetItem_create3(const QIconH icon, PWideString text, int type); C_EXPORT QTableWidgetItemH QTableWidgetItem_create4(const QTableWidgetItemH other); C_EXPORT QTableWidgetItemH QTableWidgetItem_clone(QTableWidgetItemH handle); C_EXPORT QTableWidgetH QTableWidgetItem_tableWidget(QTableWidgetItemH handle); C_EXPORT int QTableWidgetItem_row(QTableWidgetItemH handle); C_EXPORT int QTableWidgetItem_column(QTableWidgetItemH handle); C_EXPORT void QTableWidgetItem_setSelected(QTableWidgetItemH handle, bool select); C_EXPORT bool QTableWidgetItem_isSelected(QTableWidgetItemH handle); C_EXPORT unsigned int QTableWidgetItem_flags(QTableWidgetItemH handle); C_EXPORT void QTableWidgetItem_setFlags(QTableWidgetItemH handle, unsigned int flags); C_EXPORT void QTableWidgetItem_text(QTableWidgetItemH handle, PWideString retval); C_EXPORT void QTableWidgetItem_setText(QTableWidgetItemH handle, PWideString text); C_EXPORT void QTableWidgetItem_icon(QTableWidgetItemH handle, QIconH retval); C_EXPORT void QTableWidgetItem_setIcon(QTableWidgetItemH handle, const QIconH icon); C_EXPORT void QTableWidgetItem_statusTip(QTableWidgetItemH handle, PWideString retval); C_EXPORT void QTableWidgetItem_setStatusTip(QTableWidgetItemH handle, PWideString statusTip); C_EXPORT void QTableWidgetItem_toolTip(QTableWidgetItemH handle, PWideString retval); C_EXPORT void QTableWidgetItem_setToolTip(QTableWidgetItemH handle, PWideString toolTip); C_EXPORT void QTableWidgetItem_whatsThis(QTableWidgetItemH handle, PWideString retval); C_EXPORT void QTableWidgetItem_setWhatsThis(QTableWidgetItemH handle, PWideString whatsThis); C_EXPORT void QTableWidgetItem_font(QTableWidgetItemH handle, QFontH retval); C_EXPORT void QTableWidgetItem_setFont(QTableWidgetItemH handle, const QFontH font); C_EXPORT int QTableWidgetItem_textAlignment(QTableWidgetItemH handle); C_EXPORT void QTableWidgetItem_setTextAlignment(QTableWidgetItemH handle, int alignment); C_EXPORT void QTableWidgetItem_backgroundColor(QTableWidgetItemH handle, PQColor retval); C_EXPORT void QTableWidgetItem_setBackgroundColor(QTableWidgetItemH handle, const QColorH color); C_EXPORT void QTableWidgetItem_background(QTableWidgetItemH handle, QBrushH retval); C_EXPORT void QTableWidgetItem_setBackground(QTableWidgetItemH handle, const QBrushH brush); C_EXPORT void QTableWidgetItem_textColor(QTableWidgetItemH handle, PQColor retval); C_EXPORT void QTableWidgetItem_setTextColor(QTableWidgetItemH handle, const QColorH color); C_EXPORT void QTableWidgetItem_foreground(QTableWidgetItemH handle, QBrushH retval); C_EXPORT void QTableWidgetItem_setForeground(QTableWidgetItemH handle, const QBrushH brush); C_EXPORT Qt::CheckState QTableWidgetItem_checkState(QTableWidgetItemH handle); C_EXPORT void QTableWidgetItem_setCheckState(QTableWidgetItemH handle, Qt::CheckState state); C_EXPORT void QTableWidgetItem_sizeHint(QTableWidgetItemH handle, PSize retval); C_EXPORT void QTableWidgetItem_setSizeHint(QTableWidgetItemH handle, const QSizeH size); C_EXPORT void QTableWidgetItem_data(QTableWidgetItemH handle, QVariantH retval, int role); C_EXPORT void QTableWidgetItem_setData(QTableWidgetItemH handle, int role, const QVariantH value); C_EXPORT void QTableWidgetItem_read(QTableWidgetItemH handle, QDataStreamH in); C_EXPORT void QTableWidgetItem_write(QTableWidgetItemH handle, QDataStreamH out); C_EXPORT int QTableWidgetItem_type(QTableWidgetItemH handle); C_EXPORT QTableWidgetH QTableWidget_create(QWidgetH parent); C_EXPORT void QTableWidget_destroy(QTableWidgetH handle); C_EXPORT QTableWidgetH QTableWidget_create2(int rows, int columns, QWidgetH parent); C_EXPORT void QTableWidget_setRowCount(QTableWidgetH handle, int rows); C_EXPORT int QTableWidget_rowCount(QTableWidgetH handle); C_EXPORT void QTableWidget_setColumnCount(QTableWidgetH handle, int columns); C_EXPORT int QTableWidget_columnCount(QTableWidgetH handle); C_EXPORT int QTableWidget_row(QTableWidgetH handle, const QTableWidgetItemH item); C_EXPORT int QTableWidget_column(QTableWidgetH handle, const QTableWidgetItemH item); C_EXPORT QTableWidgetItemH QTableWidget_item(QTableWidgetH handle, int row, int column); C_EXPORT void QTableWidget_setItem(QTableWidgetH handle, int row, int column, QTableWidgetItemH item); C_EXPORT QTableWidgetItemH QTableWidget_takeItem(QTableWidgetH handle, int row, int column); C_EXPORT QTableWidgetItemH QTableWidget_verticalHeaderItem(QTableWidgetH handle, int row); C_EXPORT void QTableWidget_setVerticalHeaderItem(QTableWidgetH handle, int row, QTableWidgetItemH item); C_EXPORT QTableWidgetItemH QTableWidget_takeVerticalHeaderItem(QTableWidgetH handle, int row); C_EXPORT QTableWidgetItemH QTableWidget_horizontalHeaderItem(QTableWidgetH handle, int column); C_EXPORT void QTableWidget_setHorizontalHeaderItem(QTableWidgetH handle, int column, QTableWidgetItemH item); C_EXPORT QTableWidgetItemH QTableWidget_takeHorizontalHeaderItem(QTableWidgetH handle, int column); C_EXPORT void QTableWidget_setVerticalHeaderLabels(QTableWidgetH handle, const QStringListH labels); C_EXPORT void QTableWidget_setHorizontalHeaderLabels(QTableWidgetH handle, const QStringListH labels); C_EXPORT int QTableWidget_currentRow(QTableWidgetH handle); C_EXPORT int QTableWidget_currentColumn(QTableWidgetH handle); C_EXPORT QTableWidgetItemH QTableWidget_currentItem(QTableWidgetH handle); C_EXPORT void QTableWidget_setCurrentItem(QTableWidgetH handle, QTableWidgetItemH item); C_EXPORT void QTableWidget_setCurrentItem2(QTableWidgetH handle, QTableWidgetItemH item, unsigned int command); C_EXPORT void QTableWidget_setCurrentCell(QTableWidgetH handle, int row, int column); C_EXPORT void QTableWidget_setCurrentCell2(QTableWidgetH handle, int row, int column, unsigned int command); C_EXPORT void QTableWidget_sortItems(QTableWidgetH handle, int column, Qt::SortOrder order); C_EXPORT void QTableWidget_setSortingEnabled(QTableWidgetH handle, bool enable); C_EXPORT bool QTableWidget_isSortingEnabled(QTableWidgetH handle); C_EXPORT void QTableWidget_editItem(QTableWidgetH handle, QTableWidgetItemH item); C_EXPORT void QTableWidget_openPersistentEditor(QTableWidgetH handle, QTableWidgetItemH item); C_EXPORT void QTableWidget_closePersistentEditor(QTableWidgetH handle, QTableWidgetItemH item); C_EXPORT QWidgetH QTableWidget_cellWidget(QTableWidgetH handle, int row, int column); C_EXPORT void QTableWidget_setCellWidget(QTableWidgetH handle, int row, int column, QWidgetH widget); C_EXPORT void QTableWidget_removeCellWidget(QTableWidgetH handle, int row, int column); C_EXPORT bool QTableWidget_isItemSelected(QTableWidgetH handle, const QTableWidgetItemH item); C_EXPORT void QTableWidget_setItemSelected(QTableWidgetH handle, const QTableWidgetItemH item, bool select); C_EXPORT void QTableWidget_setRangeSelected(QTableWidgetH handle, const QTableWidgetSelectionRangeH range, bool select); C_EXPORT void QTableWidget_selectedItems(QTableWidgetH handle, PPtrIntArray retval); C_EXPORT void QTableWidget_findItems(QTableWidgetH handle, PPtrIntArray retval, PWideString text, unsigned int flags); C_EXPORT int QTableWidget_visualRow(QTableWidgetH handle, int logicalRow); C_EXPORT int QTableWidget_visualColumn(QTableWidgetH handle, int logicalColumn); C_EXPORT QTableWidgetItemH QTableWidget_itemAt(QTableWidgetH handle, const QPointH p); C_EXPORT QTableWidgetItemH QTableWidget_itemAt2(QTableWidgetH handle, int x, int y); C_EXPORT void QTableWidget_visualItemRect(QTableWidgetH handle, PRect retval, const QTableWidgetItemH item); C_EXPORT const QTableWidgetItemH QTableWidget_itemPrototype(QTableWidgetH handle); C_EXPORT void QTableWidget_setItemPrototype(QTableWidgetH handle, const QTableWidgetItemH item); C_EXPORT void QTableWidget_scrollToItem(QTableWidgetH handle, const QTableWidgetItemH item, QAbstractItemView::ScrollHint hint); C_EXPORT void QTableWidget_insertRow(QTableWidgetH handle, int row); C_EXPORT void QTableWidget_insertColumn(QTableWidgetH handle, int column); C_EXPORT void QTableWidget_removeRow(QTableWidgetH handle, int row); C_EXPORT void QTableWidget_removeColumn(QTableWidgetH handle, int column); C_EXPORT void QTableWidget_clear(QTableWidgetH handle); C_EXPORT void QTableWidget_clearContents(QTableWidgetH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprintpreviewwidget_c.h0000664000212600021260000000553611677135472021642 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPRINTPREVIEWWIDGET_C_H #define QPRINTPREVIEWWIDGET_C_H #include #include "pascalbind.h" C_EXPORT QPrintPreviewWidgetH QPrintPreviewWidget_create(QPrinterH printer, QWidgetH parent, unsigned int flags); C_EXPORT void QPrintPreviewWidget_destroy(QPrintPreviewWidgetH handle); C_EXPORT QPrintPreviewWidgetH QPrintPreviewWidget_create2(QWidgetH parent, unsigned int flags); C_EXPORT qreal QPrintPreviewWidget_zoomFactor(QPrintPreviewWidgetH handle); C_EXPORT QPrinter::Orientation QPrintPreviewWidget_orientation(QPrintPreviewWidgetH handle); C_EXPORT QPrintPreviewWidget::ViewMode QPrintPreviewWidget_viewMode(QPrintPreviewWidgetH handle); C_EXPORT QPrintPreviewWidget::ZoomMode QPrintPreviewWidget_zoomMode(QPrintPreviewWidgetH handle); C_EXPORT int QPrintPreviewWidget_currentPage(QPrintPreviewWidgetH handle); C_EXPORT int QPrintPreviewWidget_numPages(QPrintPreviewWidgetH handle); C_EXPORT void QPrintPreviewWidget_setVisible(QPrintPreviewWidgetH handle, bool visible); C_EXPORT void QPrintPreviewWidget_print(QPrintPreviewWidgetH handle); C_EXPORT void QPrintPreviewWidget_zoomIn(QPrintPreviewWidgetH handle, qreal zoom); C_EXPORT void QPrintPreviewWidget_zoomOut(QPrintPreviewWidgetH handle, qreal zoom); C_EXPORT void QPrintPreviewWidget_setZoomFactor(QPrintPreviewWidgetH handle, qreal zoomFactor); C_EXPORT void QPrintPreviewWidget_setOrientation(QPrintPreviewWidgetH handle, QPrinter::Orientation orientation); C_EXPORT void QPrintPreviewWidget_setViewMode(QPrintPreviewWidgetH handle, QPrintPreviewWidget::ViewMode viewMode); C_EXPORT void QPrintPreviewWidget_setZoomMode(QPrintPreviewWidgetH handle, QPrintPreviewWidget::ZoomMode zoomMode); C_EXPORT void QPrintPreviewWidget_setCurrentPage(QPrintPreviewWidgetH handle, int pageNumber); C_EXPORT void QPrintPreviewWidget_fitToWidth(QPrintPreviewWidgetH handle); C_EXPORT void QPrintPreviewWidget_fitInView(QPrintPreviewWidgetH handle); C_EXPORT void QPrintPreviewWidget_setLandscapeOrientation(QPrintPreviewWidgetH handle); C_EXPORT void QPrintPreviewWidget_setPortraitOrientation(QPrintPreviewWidgetH handle); C_EXPORT void QPrintPreviewWidget_setSinglePageViewMode(QPrintPreviewWidgetH handle); C_EXPORT void QPrintPreviewWidget_setFacingPagesViewMode(QPrintPreviewWidgetH handle); C_EXPORT void QPrintPreviewWidget_setAllPagesViewMode(QPrintPreviewWidgetH handle); C_EXPORT void QPrintPreviewWidget_updatePreview(QPrintPreviewWidgetH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpolygon_c.cpp0000664000212600021260000001151311677135472017712 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qpolygon_c.h" QPolygonH QPolygon_create() { return (QPolygonH) new QPolygon(); } void QPolygon_destroy(QPolygonH handle) { delete (QPolygon *)handle; } QPolygonH QPolygon_create2(int size) { return (QPolygonH) new QPolygon(size); } QPolygonH QPolygon_create3(const QPolygonH a) { return (QPolygonH) new QPolygon(*(const QPolygon*)a); } QPolygonH QPolygon_create4(PRect r, bool closed) { QRect t_r; copyPRectToQRect(r, t_r); return (QPolygonH) new QPolygon(t_r, closed); } QPolygonH QPolygon_create5(int nPoints, const int* points) { return (QPolygonH) new QPolygon(nPoints, points); } void QPolygon_translate(QPolygonH handle, int dx, int dy) { ((QPolygon *)handle)->translate(dx, dy); } void QPolygon_translate2(QPolygonH handle, const QPointH offset) { ((QPolygon *)handle)->translate(*(const QPoint*)offset); } void QPolygon_boundingRect(QPolygonH handle, PRect retval) { QRect t_retval; t_retval = ((QPolygon *)handle)->boundingRect(); copyQRectToPRect(t_retval, retval); } void QPolygon_point(QPolygonH handle, int i, int* x, int* y) { ((QPolygon *)handle)->point(i, x, y); } void QPolygon_point2(QPolygonH handle, PQtPoint retval, int i) { *(QPoint *)retval = ((QPolygon *)handle)->point(i); } void QPolygon_setPoint(QPolygonH handle, int index, int x, int y) { ((QPolygon *)handle)->setPoint(index, x, y); } void QPolygon_setPoint2(QPolygonH handle, int index, const QPointH p) { ((QPolygon *)handle)->setPoint(index, *(const QPoint*)p); } void QPolygon_setPoints(QPolygonH handle, int nPoints, const int* points) { ((QPolygon *)handle)->setPoints(nPoints, points); } void QPolygon_putPoints(QPolygonH handle, int index, int nPoints, const int* points) { ((QPolygon *)handle)->putPoints(index, nPoints, points); } void QPolygon_putPoints3(QPolygonH handle, int index, int nPoints, const QPolygonH from, int fromIndex) { ((QPolygon *)handle)->putPoints(index, nPoints, *(const QPolygon*)from, fromIndex); } bool QPolygon_containsPoint(QPolygonH handle, const QPointH pt, Qt::FillRule fillRule) { return (bool) ((QPolygon *)handle)->containsPoint(*(const QPoint*)pt, fillRule); } void QPolygon_united(QPolygonH handle, QPolygonH retval, const QPolygonH r) { *(QPolygon *)retval = ((QPolygon *)handle)->united(*(const QPolygon*)r); } void QPolygon_intersected(QPolygonH handle, QPolygonH retval, const QPolygonH r) { *(QPolygon *)retval = ((QPolygon *)handle)->intersected(*(const QPolygon*)r); } void QPolygon_subtracted(QPolygonH handle, QPolygonH retval, const QPolygonH r) { *(QPolygon *)retval = ((QPolygon *)handle)->subtracted(*(const QPolygon*)r); } QPolygonFH QPolygonF_create() { return (QPolygonFH) new QPolygonF(); } void QPolygonF_destroy(QPolygonFH handle) { delete (QPolygonF *)handle; } QPolygonFH QPolygonF_create2(int size) { return (QPolygonFH) new QPolygonF(size); } QPolygonFH QPolygonF_create3(const QPolygonFH a) { return (QPolygonFH) new QPolygonF(*(const QPolygonF*)a); } QPolygonFH QPolygonF_create4(const QRectFH r) { return (QPolygonFH) new QPolygonF(*(const QRectF*)r); } QPolygonFH QPolygonF_create5(const QPolygonH a) { return (QPolygonFH) new QPolygonF(*(const QPolygon*)a); } void QPolygonF_translate(QPolygonFH handle, qreal dx, qreal dy) { ((QPolygonF *)handle)->translate(dx, dy); } void QPolygonF_translate2(QPolygonFH handle, const QPointFH offset) { ((QPolygonF *)handle)->translate(*(const QPointF*)offset); } void QPolygonF_toPolygon(QPolygonFH handle, QPolygonH retval) { *(QPolygon *)retval = ((QPolygonF *)handle)->toPolygon(); } bool QPolygonF_isClosed(QPolygonFH handle) { return (bool) ((QPolygonF *)handle)->isClosed(); } void QPolygonF_boundingRect(QPolygonFH handle, QRectFH retval) { *(QRectF *)retval = ((QPolygonF *)handle)->boundingRect(); } bool QPolygonF_containsPoint(QPolygonFH handle, const QPointFH pt, Qt::FillRule fillRule) { return (bool) ((QPolygonF *)handle)->containsPoint(*(const QPointF*)pt, fillRule); } void QPolygonF_united(QPolygonFH handle, QPolygonFH retval, const QPolygonFH r) { *(QPolygonF *)retval = ((QPolygonF *)handle)->united(*(const QPolygonF*)r); } void QPolygonF_intersected(QPolygonFH handle, QPolygonFH retval, const QPolygonFH r) { *(QPolygonF *)retval = ((QPolygonF *)handle)->intersected(*(const QPolygonF*)r); } void QPolygonF_subtracted(QPolygonFH handle, QPolygonFH retval, const QPolygonFH r) { *(QPolygonF *)retval = ((QPolygonF *)handle)->subtracted(*(const QPolygonF*)r); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlclabstractscrollarea_c.cpp0000664000212600021260000000221411677135472022567 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlclabstractscrollarea_c.h" QLCLAbstractScrollAreaH QLCLAbstractScrollArea_create(QWidgetH parent) { return (QLCLAbstractScrollAreaH) new QLCLAbstractScrollArea((QWidget*)parent); } void QLCLAbstractScrollArea_destroy(QLCLAbstractScrollAreaH handle) { delete (QLCLAbstractScrollArea *)handle; } void QLCLAbstractScrollArea_override_viewportEvent(QLCLAbstractScrollAreaH handle, const QOverrideHook hook) { ((QLCLAbstractScrollArea *)handle)->override_viewportEvent(hook); } bool QLCLAbstractScrollArea_InheritedViewportEvent(QLCLAbstractScrollAreaH handle, QEventH event) { return (bool) ((QLCLAbstractScrollArea *)handle)->InheritedViewportEvent((QEvent*)event); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfileinfo_c.h0000664000212600021260000000752211677135472017470 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QFILEINFO_C_H #define QFILEINFO_C_H #include #include "pascalbind.h" C_EXPORT QFileInfoH QFileInfo_create(); C_EXPORT void QFileInfo_destroy(QFileInfoH handle); C_EXPORT QFileInfoH QFileInfo_create2(PWideString file); C_EXPORT QFileInfoH QFileInfo_create3(const QFileH file); C_EXPORT QFileInfoH QFileInfo_create4(const QDirH dir, PWideString file); C_EXPORT QFileInfoH QFileInfo_create5(const QFileInfoH fileinfo); C_EXPORT void QFileInfo_setFile(QFileInfoH handle, PWideString file); C_EXPORT void QFileInfo_setFile2(QFileInfoH handle, const QFileH file); C_EXPORT void QFileInfo_setFile3(QFileInfoH handle, const QDirH dir, PWideString file); C_EXPORT bool QFileInfo_exists(QFileInfoH handle); C_EXPORT void QFileInfo_refresh(QFileInfoH handle); C_EXPORT void QFileInfo_filePath(QFileInfoH handle, PWideString retval); C_EXPORT void QFileInfo_absoluteFilePath(QFileInfoH handle, PWideString retval); C_EXPORT void QFileInfo_canonicalFilePath(QFileInfoH handle, PWideString retval); C_EXPORT void QFileInfo_fileName(QFileInfoH handle, PWideString retval); C_EXPORT void QFileInfo_baseName(QFileInfoH handle, PWideString retval); C_EXPORT void QFileInfo_completeBaseName(QFileInfoH handle, PWideString retval); C_EXPORT void QFileInfo_suffix(QFileInfoH handle, PWideString retval); C_EXPORT void QFileInfo_bundleName(QFileInfoH handle, PWideString retval); C_EXPORT void QFileInfo_completeSuffix(QFileInfoH handle, PWideString retval); C_EXPORT void QFileInfo_path(QFileInfoH handle, PWideString retval); C_EXPORT void QFileInfo_absolutePath(QFileInfoH handle, PWideString retval); C_EXPORT void QFileInfo_canonicalPath(QFileInfoH handle, PWideString retval); C_EXPORT void QFileInfo_dir(QFileInfoH handle, QDirH retval); C_EXPORT void QFileInfo_absoluteDir(QFileInfoH handle, QDirH retval); C_EXPORT bool QFileInfo_isReadable(QFileInfoH handle); C_EXPORT bool QFileInfo_isWritable(QFileInfoH handle); C_EXPORT bool QFileInfo_isExecutable(QFileInfoH handle); C_EXPORT bool QFileInfo_isHidden(QFileInfoH handle); C_EXPORT bool QFileInfo_isRelative(QFileInfoH handle); C_EXPORT bool QFileInfo_isAbsolute(QFileInfoH handle); C_EXPORT bool QFileInfo_makeAbsolute(QFileInfoH handle); C_EXPORT bool QFileInfo_isFile(QFileInfoH handle); C_EXPORT bool QFileInfo_isDir(QFileInfoH handle); C_EXPORT bool QFileInfo_isSymLink(QFileInfoH handle); C_EXPORT bool QFileInfo_isRoot(QFileInfoH handle); C_EXPORT bool QFileInfo_isBundle(QFileInfoH handle); C_EXPORT void QFileInfo_readLink(QFileInfoH handle, PWideString retval); C_EXPORT void QFileInfo_symLinkTarget(QFileInfoH handle, PWideString retval); C_EXPORT void QFileInfo_owner(QFileInfoH handle, PWideString retval); C_EXPORT uint QFileInfo_ownerId(QFileInfoH handle); C_EXPORT void QFileInfo_group(QFileInfoH handle, PWideString retval); C_EXPORT uint QFileInfo_groupId(QFileInfoH handle); C_EXPORT bool QFileInfo_permission(QFileInfoH handle, unsigned int permissions); C_EXPORT unsigned int QFileInfo_permissions(QFileInfoH handle); C_EXPORT qint64 QFileInfo_size(QFileInfoH handle); C_EXPORT void QFileInfo_created(QFileInfoH handle, QDateTimeH retval); C_EXPORT void QFileInfo_lastModified(QFileInfoH handle, QDateTimeH retval); C_EXPORT void QFileInfo_lastRead(QFileInfoH handle, QDateTimeH retval); C_EXPORT void QFileInfo_detach(QFileInfoH handle); C_EXPORT bool QFileInfo_caching(QFileInfoH handle); C_EXPORT void QFileInfo_setCaching(QFileInfoH handle, bool on); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractspinbox_hook.h0000664000212600021260000000257411677135472021623 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTSPINBOX_HOOK_H #define QABSTRACTSPINBOX_HOOK_H #include #include "qwidget_hook.h" class QAbstractSpinBox_hook : public QWidget_hook { Q_OBJECT public: QAbstractSpinBox_hook(QObject *handle) : QWidget_hook(handle) { editingFinished_event.func = NULL; } void hook_editingFinished(QHook &hook) { if ( !editingFinished_event.func ) connect(handle, SIGNAL(editingFinished()), this, SLOT(editingFinished_hook())); editingFinished_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(editingFinished()), this, SLOT(editingFinished_hook())); } private slots: void editingFinished_hook() { if ( editingFinished_event.func ) { typedef void (*func_type)(void *data); (*(func_type)editingFinished_event.func)(editingFinished_event.data); } } private: QHook editingFinished_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdesktopservices_c.cpp0000664000212600021260000000267411677135472021450 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qdesktopservices_c.h" bool QDesktopServices_openUrl(const QUrlH url) { return (bool) QDesktopServices::openUrl(*(const QUrl*)url); } void QDesktopServices_setUrlHandler(PWideString scheme, QObjectH receiver, const char* method) { QString t_scheme; copyPWideStringToQString(scheme, t_scheme); QDesktopServices::setUrlHandler(t_scheme, (QObject*)receiver, method); } void QDesktopServices_unsetUrlHandler(PWideString scheme) { QString t_scheme; copyPWideStringToQString(scheme, t_scheme); QDesktopServices::unsetUrlHandler(t_scheme); } void QDesktopServices_storageLocation(PWideString retval, QDesktopServices::StandardLocation type) { QString t_retval; t_retval = QDesktopServices::storageLocation(type); copyQStringToPWideString(t_retval, retval); } void QDesktopServices_displayName(PWideString retval, QDesktopServices::StandardLocation type) { QString t_retval; t_retval = QDesktopServices::displayName(type); copyQStringToPWideString(t_retval, retval); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qicon_c.h0000664000212600021260000000407611677135472016626 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QICON_C_H #define QICON_C_H #include #include "pascalbind.h" C_EXPORT QIconH QIcon_create(); C_EXPORT void QIcon_destroy(QIconH handle); C_EXPORT QIconH QIcon_create2(const QPixmapH pixmap); C_EXPORT QIconH QIcon_create3(const QIconH other); C_EXPORT QIconH QIcon_create4(PWideString fileName); C_EXPORT QIconH QIcon_create5(QIconEngineH engine); C_EXPORT QIconH QIcon_create6(QIconEngineV2H engine); C_EXPORT void QIcon_pixmap(QIconH handle, QPixmapH retval, const QSizeH size, QIcon::Mode mode, QIcon::State state); C_EXPORT void QIcon_pixmap2(QIconH handle, QPixmapH retval, int w, int h, QIcon::Mode mode, QIcon::State state); C_EXPORT void QIcon_pixmap3(QIconH handle, QPixmapH retval, int extent, QIcon::Mode mode, QIcon::State state); C_EXPORT void QIcon_actualSize(QIconH handle, PSize retval, const QSizeH size, QIcon::Mode mode, QIcon::State state); C_EXPORT void QIcon_paint(QIconH handle, QPainterH painter, PRect rect, unsigned int alignment, QIcon::Mode mode, QIcon::State state); C_EXPORT void QIcon_paint2(QIconH handle, QPainterH painter, int x, int y, int w, int h, unsigned int alignment, QIcon::Mode mode, QIcon::State state); C_EXPORT bool QIcon_isNull(QIconH handle); C_EXPORT bool QIcon_isDetached(QIconH handle); C_EXPORT void QIcon_detach(QIconH handle); C_EXPORT int QIcon_serialNumber(QIconH handle); C_EXPORT qint64 QIcon_cacheKey(QIconH handle); C_EXPORT void QIcon_addPixmap(QIconH handle, const QPixmapH pixmap, QIcon::Mode mode, QIcon::State state); C_EXPORT void QIcon_addFile(QIconH handle, PWideString fileName, const QSizeH size, QIcon::Mode mode, QIcon::State state); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlabel_c.h0000664000212600021260000000527411677135472016756 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QLABEL_C_H #define QLABEL_C_H #include #include "pascalbind.h" C_EXPORT QLabelH QLabel_create(QWidgetH parent, unsigned int f); C_EXPORT void QLabel_destroy(QLabelH handle); C_EXPORT QLabelH QLabel_create2(PWideString text, QWidgetH parent, unsigned int f); C_EXPORT void QLabel_text(QLabelH handle, PWideString retval); C_EXPORT const QPixmapH QLabel_pixmap(QLabelH handle); C_EXPORT const QPictureH QLabel_picture(QLabelH handle); C_EXPORT QMovieH QLabel_movie(QLabelH handle); C_EXPORT Qt::TextFormat QLabel_textFormat(QLabelH handle); C_EXPORT void QLabel_setTextFormat(QLabelH handle, Qt::TextFormat AnonParam1); C_EXPORT unsigned int QLabel_alignment(QLabelH handle); C_EXPORT void QLabel_setAlignment(QLabelH handle, unsigned int AnonParam1); C_EXPORT void QLabel_setWordWrap(QLabelH handle, bool on); C_EXPORT bool QLabel_wordWrap(QLabelH handle); C_EXPORT int QLabel_indent(QLabelH handle); C_EXPORT void QLabel_setIndent(QLabelH handle, int AnonParam1); C_EXPORT int QLabel_margin(QLabelH handle); C_EXPORT void QLabel_setMargin(QLabelH handle, int AnonParam1); C_EXPORT bool QLabel_hasScaledContents(QLabelH handle); C_EXPORT void QLabel_setScaledContents(QLabelH handle, bool AnonParam1); C_EXPORT void QLabel_sizeHint(QLabelH handle, PSize retval); C_EXPORT void QLabel_minimumSizeHint(QLabelH handle, PSize retval); C_EXPORT void QLabel_setBuddy(QLabelH handle, QWidgetH AnonParam1); C_EXPORT QWidgetH QLabel_buddy(QLabelH handle); C_EXPORT int QLabel_heightForWidth(QLabelH handle, int AnonParam1); C_EXPORT bool QLabel_openExternalLinks(QLabelH handle); C_EXPORT void QLabel_setOpenExternalLinks(QLabelH handle, bool open); C_EXPORT void QLabel_setTextInteractionFlags(QLabelH handle, unsigned int flags); C_EXPORT unsigned int QLabel_textInteractionFlags(QLabelH handle); C_EXPORT void QLabel_setText(QLabelH handle, PWideString AnonParam1); C_EXPORT void QLabel_setPixmap(QLabelH handle, const QPixmapH AnonParam1); C_EXPORT void QLabel_setPicture(QLabelH handle, const QPictureH AnonParam1); C_EXPORT void QLabel_setMovie(QLabelH handle, QMovieH movie); C_EXPORT void QLabel_setNum(QLabelH handle, int AnonParam1); C_EXPORT void QLabel_setNum2(QLabelH handle, double AnonParam1); C_EXPORT void QLabel_clear(QLabelH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractscrollarea_hook.h0000664000212600021260000000140511677135472022260 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTSCROLLAREA_HOOK_H #define QABSTRACTSCROLLAREA_HOOK_H #include #include "qframe_hook.h" class QAbstractScrollArea_hook : public QFrame_hook { Q_OBJECT public: QAbstractScrollArea_hook(QObject *handle) : QFrame_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebview_hook_c.h0000664000212600021260000000264111677135472020362 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBVIEW_HOOK_C_H #define QWEBVIEW_HOOK_C_H #include "qwebview_hook.h" C_EXPORT QWebView_hookH QWebView_hook_create(QObjectH handle); C_EXPORT void QWebView_hook_destroy(QWebView_hookH handle); C_EXPORT void QWebView_hook_hook_loadStarted(QWebView_hookH handle, QHookH hook); C_EXPORT void QWebView_hook_hook_loadProgress(QWebView_hookH handle, QHookH hook); C_EXPORT void QWebView_hook_hook_loadFinished(QWebView_hookH handle, QHookH hook); C_EXPORT void QWebView_hook_hook_titleChanged(QWebView_hookH handle, QHookH hook); C_EXPORT void QWebView_hook_hook_statusBarMessage(QWebView_hookH handle, QHookH hook); C_EXPORT void QWebView_hook_hook_linkClicked(QWebView_hookH handle, QHookH hook); C_EXPORT void QWebView_hook_hook_selectionChanged(QWebView_hookH handle, QHookH hook); C_EXPORT void QWebView_hook_hook_iconChanged(QWebView_hookH handle, QHookH hook); C_EXPORT void QWebView_hook_hook_urlChanged(QWebView_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpainterpath_c.h0000664000212600021260000001714511677135472020216 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPAINTERPATH_C_H #define QPAINTERPATH_C_H #include #include "pascalbind.h" C_EXPORT QPainterPathH QPainterPath_create(); C_EXPORT void QPainterPath_destroy(QPainterPathH handle); C_EXPORT QPainterPathH QPainterPath_create2(const QPointFH startPoint); C_EXPORT QPainterPathH QPainterPath_create3(const QPainterPathH other); C_EXPORT void QPainterPath_closeSubpath(QPainterPathH handle); C_EXPORT void QPainterPath_moveTo(QPainterPathH handle, const QPointFH p); C_EXPORT void QPainterPath_moveTo2(QPainterPathH handle, qreal x, qreal y); C_EXPORT void QPainterPath_lineTo(QPainterPathH handle, const QPointFH p); C_EXPORT void QPainterPath_lineTo2(QPainterPathH handle, qreal x, qreal y); C_EXPORT void QPainterPath_arcMoveTo(QPainterPathH handle, const QRectFH rect, qreal angle); C_EXPORT void QPainterPath_arcMoveTo2(QPainterPathH handle, qreal x, qreal y, qreal w, qreal h, qreal angle); C_EXPORT void QPainterPath_arcTo(QPainterPathH handle, const QRectFH rect, qreal startAngle, qreal arcLength); C_EXPORT void QPainterPath_arcTo2(QPainterPathH handle, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength); C_EXPORT void QPainterPath_cubicTo(QPainterPathH handle, const QPointFH ctrlPt1, const QPointFH ctrlPt2, const QPointFH endPt); C_EXPORT void QPainterPath_cubicTo2(QPainterPathH handle, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty); C_EXPORT void QPainterPath_quadTo(QPainterPathH handle, const QPointFH ctrlPt, const QPointFH endPt); C_EXPORT void QPainterPath_quadTo2(QPainterPathH handle, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty); C_EXPORT void QPainterPath_currentPosition(QPainterPathH handle, PQtPointF retval); C_EXPORT void QPainterPath_addRect(QPainterPathH handle, const QRectFH rect); C_EXPORT void QPainterPath_addRect2(QPainterPathH handle, qreal x, qreal y, qreal w, qreal h); C_EXPORT void QPainterPath_addEllipse(QPainterPathH handle, const QRectFH rect); C_EXPORT void QPainterPath_addEllipse2(QPainterPathH handle, qreal x, qreal y, qreal w, qreal h); C_EXPORT void QPainterPath_addEllipse3(QPainterPathH handle, const QPointFH center, qreal rx, qreal ry); C_EXPORT void QPainterPath_addPolygon(QPainterPathH handle, const QPolygonFH polygon); C_EXPORT void QPainterPath_addText(QPainterPathH handle, const QPointFH point, const QFontH f, PWideString text); C_EXPORT void QPainterPath_addText2(QPainterPathH handle, qreal x, qreal y, const QFontH f, PWideString text); C_EXPORT void QPainterPath_addPath(QPainterPathH handle, const QPainterPathH path); C_EXPORT void QPainterPath_addRegion(QPainterPathH handle, const QRegionH region); C_EXPORT void QPainterPath_addRoundedRect(QPainterPathH handle, const QRectFH rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode); C_EXPORT void QPainterPath_addRoundedRect2(QPainterPathH handle, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode); C_EXPORT void QPainterPath_addRoundRect(QPainterPathH handle, const QRectFH rect, int xRnd, int yRnd); C_EXPORT void QPainterPath_addRoundRect2(QPainterPathH handle, qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd); C_EXPORT void QPainterPath_addRoundRect3(QPainterPathH handle, const QRectFH rect, int roundness); C_EXPORT void QPainterPath_addRoundRect4(QPainterPathH handle, qreal x, qreal y, qreal w, qreal h, int roundness); C_EXPORT void QPainterPath_connectPath(QPainterPathH handle, const QPainterPathH path); C_EXPORT bool QPainterPath_contains(QPainterPathH handle, const QPointFH pt); C_EXPORT bool QPainterPath_contains2(QPainterPathH handle, const QRectFH rect); C_EXPORT bool QPainterPath_intersects(QPainterPathH handle, const QRectFH rect); C_EXPORT void QPainterPath_boundingRect(QPainterPathH handle, QRectFH retval); C_EXPORT void QPainterPath_controlPointRect(QPainterPathH handle, QRectFH retval); C_EXPORT Qt::FillRule QPainterPath_fillRule(QPainterPathH handle); C_EXPORT void QPainterPath_setFillRule(QPainterPathH handle, Qt::FillRule fillRule); C_EXPORT bool QPainterPath_isEmpty(QPainterPathH handle); C_EXPORT void QPainterPath_toReversed(QPainterPathH handle, QPainterPathH retval); C_EXPORT void QPainterPath_toFillPolygon(QPainterPathH handle, QPolygonFH retval, const QMatrixH matrix); C_EXPORT void QPainterPath_toFillPolygon2(QPainterPathH handle, QPolygonFH retval, const QTransformH matrix); C_EXPORT int QPainterPath_elementCount(QPainterPathH handle); C_EXPORT const QPainterPath::Element* QPainterPath_elementAt(QPainterPathH handle, int i); C_EXPORT void QPainterPath_setElementPositionAt(QPainterPathH handle, int i, qreal x, qreal y); C_EXPORT qreal QPainterPath_length(QPainterPathH handle); C_EXPORT qreal QPainterPath_percentAtLength(QPainterPathH handle, qreal t); C_EXPORT void QPainterPath_pointAtPercent(QPainterPathH handle, PQtPointF retval, qreal t); C_EXPORT qreal QPainterPath_angleAtPercent(QPainterPathH handle, qreal t); C_EXPORT qreal QPainterPath_slopeAtPercent(QPainterPathH handle, qreal t); C_EXPORT bool QPainterPath_intersects2(QPainterPathH handle, const QPainterPathH p); C_EXPORT bool QPainterPath_contains3(QPainterPathH handle, const QPainterPathH p); C_EXPORT void QPainterPath_united(QPainterPathH handle, QPainterPathH retval, const QPainterPathH r); C_EXPORT void QPainterPath_intersected(QPainterPathH handle, QPainterPathH retval, const QPainterPathH r); C_EXPORT void QPainterPath_subtracted(QPainterPathH handle, QPainterPathH retval, const QPainterPathH r); C_EXPORT void QPainterPath_subtractedInverted(QPainterPathH handle, QPainterPathH retval, const QPainterPathH r); C_EXPORT void QPainterPath_simplified(QPainterPathH handle, QPainterPathH retval); C_EXPORT QPainterPathStrokerH QPainterPathStroker_create(); C_EXPORT void QPainterPathStroker_destroy(QPainterPathStrokerH handle); C_EXPORT void QPainterPathStroker_setWidth(QPainterPathStrokerH handle, qreal width); C_EXPORT qreal QPainterPathStroker_width(QPainterPathStrokerH handle); C_EXPORT void QPainterPathStroker_setCapStyle(QPainterPathStrokerH handle, Qt::PenCapStyle style); C_EXPORT Qt::PenCapStyle QPainterPathStroker_capStyle(QPainterPathStrokerH handle); C_EXPORT void QPainterPathStroker_setJoinStyle(QPainterPathStrokerH handle, Qt::PenJoinStyle style); C_EXPORT Qt::PenJoinStyle QPainterPathStroker_joinStyle(QPainterPathStrokerH handle); C_EXPORT void QPainterPathStroker_setMiterLimit(QPainterPathStrokerH handle, qreal length); C_EXPORT qreal QPainterPathStroker_miterLimit(QPainterPathStrokerH handle); C_EXPORT void QPainterPathStroker_setCurveThreshold(QPainterPathStrokerH handle, qreal threshold); C_EXPORT qreal QPainterPathStroker_curveThreshold(QPainterPathStrokerH handle); C_EXPORT void QPainterPathStroker_setDashPattern(QPainterPathStrokerH handle, Qt::PenStyle AnonParam1); C_EXPORT void QPainterPathStroker_setDashPattern2(QPainterPathStrokerH handle, PQRealArray dashPattern); C_EXPORT void QPainterPathStroker_dashPattern(QPainterPathStrokerH handle, PQRealArray retval); C_EXPORT void QPainterPathStroker_setDashOffset(QPainterPathStrokerH handle, qreal offset); C_EXPORT qreal QPainterPathStroker_dashOffset(QPainterPathStrokerH handle); C_EXPORT void QPainterPathStroker_createStroke(QPainterPathStrokerH handle, QPainterPathH retval, const QPainterPathH path); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebhistory_c.cpp0000664000212600021260000001025311677135472020422 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwebhistory_c.h" QWebHistoryItemH QWebHistoryItem_create(const QWebHistoryItemH other) { return (QWebHistoryItemH) new QWebHistoryItem(*(const QWebHistoryItem*)other); } void QWebHistoryItem_destroy(QWebHistoryItemH handle) { delete (QWebHistoryItem *)handle; } void QWebHistoryItem_originalUrl(QWebHistoryItemH handle, QUrlH retval) { *(QUrl *)retval = ((QWebHistoryItem *)handle)->originalUrl(); } void QWebHistoryItem_url(QWebHistoryItemH handle, QUrlH retval) { *(QUrl *)retval = ((QWebHistoryItem *)handle)->url(); } void QWebHistoryItem_title(QWebHistoryItemH handle, PWideString retval) { QString t_retval; t_retval = ((QWebHistoryItem *)handle)->title(); copyQStringToPWideString(t_retval, retval); } void QWebHistoryItem_lastVisited(QWebHistoryItemH handle, QDateTimeH retval) { *(QDateTime *)retval = ((QWebHistoryItem *)handle)->lastVisited(); } void QWebHistoryItem_icon(QWebHistoryItemH handle, QIconH retval) { *(QIcon *)retval = ((QWebHistoryItem *)handle)->icon(); } void QWebHistoryItem_userData(QWebHistoryItemH handle, QVariantH retval) { *(QVariant *)retval = ((QWebHistoryItem *)handle)->userData(); } void QWebHistoryItem_setUserData(QWebHistoryItemH handle, const QVariantH userData) { ((QWebHistoryItem *)handle)->setUserData(*(const QVariant*)userData); } bool QWebHistoryItem_isValid(QWebHistoryItemH handle) { return (bool) ((QWebHistoryItem *)handle)->isValid(); } void QWebHistory_clear(QWebHistoryH handle) { ((QWebHistory *)handle)->clear(); } void QWebHistory_items(QWebHistoryH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QWebHistory *)handle)->items(); copyQListTemplateToPtrIntArrayWithNew(t_retval, retval); } void QWebHistory_backItems(QWebHistoryH handle, PPtrIntArray retval, int maxItems) { QList t_retval; t_retval = ((QWebHistory *)handle)->backItems(maxItems); copyQListTemplateToPtrIntArrayWithNew(t_retval, retval); } void QWebHistory_forwardItems(QWebHistoryH handle, PPtrIntArray retval, int maxItems) { QList t_retval; t_retval = ((QWebHistory *)handle)->forwardItems(maxItems); copyQListTemplateToPtrIntArrayWithNew(t_retval, retval); } bool QWebHistory_canGoBack(QWebHistoryH handle) { return (bool) ((QWebHistory *)handle)->canGoBack(); } bool QWebHistory_canGoForward(QWebHistoryH handle) { return (bool) ((QWebHistory *)handle)->canGoForward(); } void QWebHistory_back(QWebHistoryH handle) { ((QWebHistory *)handle)->back(); } void QWebHistory_forward(QWebHistoryH handle) { ((QWebHistory *)handle)->forward(); } void QWebHistory_goToItem(QWebHistoryH handle, const QWebHistoryItemH item) { ((QWebHistory *)handle)->goToItem(*(const QWebHistoryItem*)item); } void QWebHistory_backItem(QWebHistoryH handle, QWebHistoryItemH retval) { *(QWebHistoryItem *)retval = ((QWebHistory *)handle)->backItem(); } void QWebHistory_currentItem(QWebHistoryH handle, QWebHistoryItemH retval) { *(QWebHistoryItem *)retval = ((QWebHistory *)handle)->currentItem(); } void QWebHistory_forwardItem(QWebHistoryH handle, QWebHistoryItemH retval) { *(QWebHistoryItem *)retval = ((QWebHistory *)handle)->forwardItem(); } void QWebHistory_itemAt(QWebHistoryH handle, QWebHistoryItemH retval, int i) { *(QWebHistoryItem *)retval = ((QWebHistory *)handle)->itemAt(i); } int QWebHistory_currentItemIndex(QWebHistoryH handle) { return (int) ((QWebHistory *)handle)->currentItemIndex(); } int QWebHistory_count(QWebHistoryH handle) { return (int) ((QWebHistory *)handle)->count(); } int QWebHistory_maximumItemCount(QWebHistoryH handle) { return (int) ((QWebHistory *)handle)->maximumItemCount(); } void QWebHistory_setMaximumItemCount(QWebHistoryH handle, int count) { ((QWebHistory *)handle)->setMaximumItemCount(count); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qplaintextedit_hook_c.h0000664000212600021260000000341311677135472021566 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPLAINTEXTEDIT_HOOK_C_H #define QPLAINTEXTEDIT_HOOK_C_H #include "qplaintextedit_hook.h" C_EXPORT QPlainTextEdit_hookH QPlainTextEdit_hook_create(QObjectH handle); C_EXPORT void QPlainTextEdit_hook_destroy(QPlainTextEdit_hookH handle); C_EXPORT void QPlainTextEdit_hook_hook_textChanged(QPlainTextEdit_hookH handle, QHookH hook); C_EXPORT void QPlainTextEdit_hook_hook_undoAvailable(QPlainTextEdit_hookH handle, QHookH hook); C_EXPORT void QPlainTextEdit_hook_hook_redoAvailable(QPlainTextEdit_hookH handle, QHookH hook); C_EXPORT void QPlainTextEdit_hook_hook_copyAvailable(QPlainTextEdit_hookH handle, QHookH hook); C_EXPORT void QPlainTextEdit_hook_hook_selectionChanged(QPlainTextEdit_hookH handle, QHookH hook); C_EXPORT void QPlainTextEdit_hook_hook_cursorPositionChanged(QPlainTextEdit_hookH handle, QHookH hook); C_EXPORT void QPlainTextEdit_hook_hook_updateRequest(QPlainTextEdit_hookH handle, QHookH hook); C_EXPORT void QPlainTextEdit_hook_hook_blockCountChanged(QPlainTextEdit_hookH handle, QHookH hook); C_EXPORT void QPlainTextEdit_hook_hook_modificationChanged(QPlainTextEdit_hookH handle, QHookH hook); C_EXPORT QPlainTextDocumentLayout_hookH QPlainTextDocumentLayout_hook_create(QObjectH handle); C_EXPORT void QPlainTextDocumentLayout_hook_destroy(QPlainTextDocumentLayout_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qstring_c.h0000664000212600021260000003656011677135472017207 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSTRING_C_H #define QSTRING_C_H #include #include "pascalbind.h" C_EXPORT QStringH QString_create(); C_EXPORT void QString_destroy(QStringH handle); C_EXPORT QStringH QString_create2(const QCharH unicode, int size); C_EXPORT QStringH QString_create3(PWideChar c); C_EXPORT QStringH QString_create5(const QLatin1StringH latin1); C_EXPORT QStringH QString_create6(PWideString AnonParam1); C_EXPORT int QString_size(QStringH handle); C_EXPORT int QString_count(QStringH handle); C_EXPORT int QString_length(QStringH handle); C_EXPORT bool QString_isEmpty(QStringH handle); C_EXPORT void QString_resize(QStringH handle, int size); C_EXPORT void QString_fill(QStringH handle, PWideString retval, PWideChar c, int size); C_EXPORT void QString_truncate(QStringH handle, int pos); C_EXPORT void QString_chop(QStringH handle, int n); C_EXPORT int QString_capacity(QStringH handle); C_EXPORT void QString_reserve(QStringH handle, int size); C_EXPORT void QString_squeeze(QStringH handle); C_EXPORT const QCharH QString_unicode(QStringH handle); C_EXPORT QCharH QString_data(QStringH handle); C_EXPORT const QCharH QString_constData(QStringH handle); C_EXPORT void QString_detach(QStringH handle); C_EXPORT bool QString_isDetached(QStringH handle); C_EXPORT void QString_clear(QStringH handle); C_EXPORT void QString_at(QStringH handle, PWideChar retval, int i); C_EXPORT void QString_arg(QStringH handle, PWideString retval, qlonglong a, int fieldwidth, int base, const QCharH fillChar); C_EXPORT void QString_arg2(QStringH handle, PWideString retval, qulonglong a, int fieldwidth, int base, const QCharH fillChar); C_EXPORT void QString_arg4(QStringH handle, PWideString retval, ulong a, int fieldwidth, int base, const QCharH fillChar); C_EXPORT void QString_arg7(QStringH handle, PWideString retval, short a, int fieldWidth, int base, const QCharH fillChar); C_EXPORT void QString_arg8(QStringH handle, PWideString retval, ushort a, int fieldWidth, int base, const QCharH fillChar); C_EXPORT void QString_arg9(QStringH handle, PWideString retval, double a, int fieldWidth, char fmt, int prec, const QCharH fillChar); C_EXPORT void QString_arg10(QStringH handle, PWideString retval, char a, int fieldWidth, const QCharH fillChar); C_EXPORT void QString_arg11(QStringH handle, PWideString retval, PWideChar a, int fieldWidth, const QCharH fillChar); C_EXPORT void QString_arg12(QStringH handle, PWideString retval, PWideString a, int fieldWidth, const QCharH fillChar); C_EXPORT void QString_arg13(QStringH handle, PWideString retval, PWideString a1, PWideString a2); C_EXPORT void QString_arg14(QStringH handle, PWideString retval, PWideString a1, PWideString a2, PWideString a3); C_EXPORT void QString_arg15(QStringH handle, PWideString retval, PWideString a1, PWideString a2, PWideString a3, PWideString a4); C_EXPORT void QString_arg16(QStringH handle, PWideString retval, PWideString a1, PWideString a2, PWideString a3, PWideString a4, PWideString a5); C_EXPORT void QString_arg17(QStringH handle, PWideString retval, PWideString a1, PWideString a2, PWideString a3, PWideString a4, PWideString a5, PWideString a6); C_EXPORT void QString_arg18(QStringH handle, PWideString retval, PWideString a1, PWideString a2, PWideString a3, PWideString a4, PWideString a5, PWideString a6, PWideString a7); C_EXPORT void QString_arg19(QStringH handle, PWideString retval, PWideString a1, PWideString a2, PWideString a3, PWideString a4, PWideString a5, PWideString a6, PWideString a7, PWideString a8); C_EXPORT void QString_arg20(QStringH handle, PWideString retval, PWideString a1, PWideString a2, PWideString a3, PWideString a4, PWideString a5, PWideString a6, PWideString a7, PWideString a8, PWideString a9); C_EXPORT int QString_indexOf(QStringH handle, PWideChar c, int from, Qt::CaseSensitivity cs); C_EXPORT int QString_indexOf2(QStringH handle, PWideString s, int from, Qt::CaseSensitivity cs); C_EXPORT int QString_indexOf3(QStringH handle, const QLatin1StringH s, int from, Qt::CaseSensitivity cs); C_EXPORT int QString_lastIndexOf(QStringH handle, PWideChar c, int from, Qt::CaseSensitivity cs); C_EXPORT int QString_lastIndexOf2(QStringH handle, PWideString s, int from, Qt::CaseSensitivity cs); C_EXPORT int QString_lastIndexOf3(QStringH handle, const QLatin1StringH s, int from, Qt::CaseSensitivity cs); C_EXPORT QBool QString_contains(QStringH handle, PWideChar c, Qt::CaseSensitivity cs); C_EXPORT QBool QString_contains2(QStringH handle, PWideString s, Qt::CaseSensitivity cs); C_EXPORT int QString_count2(QStringH handle, PWideChar c, Qt::CaseSensitivity cs); C_EXPORT int QString_count3(QStringH handle, PWideString s, Qt::CaseSensitivity cs); C_EXPORT int QString_indexOf4(QStringH handle, const QRegExpH AnonParam1, int from); C_EXPORT int QString_lastIndexOf4(QStringH handle, const QRegExpH AnonParam1, int from); C_EXPORT QBool QString_contains3(QStringH handle, const QRegExpH rx); C_EXPORT int QString_count4(QStringH handle, const QRegExpH AnonParam1); C_EXPORT void QString_section(QStringH handle, PWideString retval, PWideChar sep, int start, int end, unsigned int flags); C_EXPORT void QString_section2(QStringH handle, PWideString retval, PWideString in_sep, int start, int end, unsigned int flags); C_EXPORT void QString_section3(QStringH handle, PWideString retval, const QRegExpH reg, int start, int end, unsigned int flags); C_EXPORT void QString_left(QStringH handle, PWideString retval, int n); C_EXPORT void QString_right(QStringH handle, PWideString retval, int n); C_EXPORT void QString_mid(QStringH handle, PWideString retval, int position, int n); C_EXPORT bool QString_startsWith(QStringH handle, PWideString s, Qt::CaseSensitivity cs); C_EXPORT bool QString_startsWith2(QStringH handle, const QLatin1StringH s, Qt::CaseSensitivity cs); C_EXPORT bool QString_startsWith3(QStringH handle, const QCharH c, Qt::CaseSensitivity cs); C_EXPORT bool QString_endsWith(QStringH handle, PWideString s, Qt::CaseSensitivity cs); C_EXPORT bool QString_endsWith2(QStringH handle, const QLatin1StringH s, Qt::CaseSensitivity cs); C_EXPORT bool QString_endsWith3(QStringH handle, const QCharH c, Qt::CaseSensitivity cs); C_EXPORT void QString_leftJustified(QStringH handle, PWideString retval, int width, PWideChar fill, bool trunc); C_EXPORT void QString_rightJustified(QStringH handle, PWideString retval, int width, PWideChar fill, bool trunc); C_EXPORT void QString_toLower(QStringH handle, PWideString retval); C_EXPORT void QString_toUpper(QStringH handle, PWideString retval); C_EXPORT void QString_toCaseFolded(QStringH handle, PWideString retval); C_EXPORT void QString_trimmed(QStringH handle, PWideString retval); C_EXPORT void QString_simplified(QStringH handle, PWideString retval); C_EXPORT void QString_insert(QStringH handle, PWideString retval, int i, PWideChar c); C_EXPORT void QString_insert2(QStringH handle, PWideString retval, int i, const QCharH uc, int len); C_EXPORT void QString_insert3(QStringH handle, PWideString retval, int i, PWideString s); C_EXPORT void QString_insert4(QStringH handle, PWideString retval, int i, const QLatin1StringH s); C_EXPORT void QString_append(QStringH handle, PWideString retval, PWideChar c); C_EXPORT void QString_append2(QStringH handle, PWideString retval, PWideString s); C_EXPORT void QString_append3(QStringH handle, PWideString retval, const QLatin1StringH s); C_EXPORT void QString_prepend(QStringH handle, PWideString retval, PWideChar c); C_EXPORT void QString_prepend2(QStringH handle, PWideString retval, PWideString s); C_EXPORT void QString_prepend3(QStringH handle, PWideString retval, const QLatin1StringH s); C_EXPORT void QString_remove(QStringH handle, PWideString retval, int i, int len); C_EXPORT void QString_remove2(QStringH handle, PWideString retval, PWideChar c, Qt::CaseSensitivity cs); C_EXPORT void QString_remove3(QStringH handle, PWideString retval, PWideString s, Qt::CaseSensitivity cs); C_EXPORT void QString_replace(QStringH handle, PWideString retval, int i, int len, PWideChar after); C_EXPORT void QString_replace2(QStringH handle, PWideString retval, int i, int len, const QCharH s, int slen); C_EXPORT void QString_replace3(QStringH handle, PWideString retval, int i, int len, PWideString after); C_EXPORT void QString_replace4(QStringH handle, PWideString retval, PWideChar before, PWideChar after, Qt::CaseSensitivity cs); C_EXPORT void QString_replace5(QStringH handle, PWideString retval, const QCharH before, int blen, const QCharH after, int alen, Qt::CaseSensitivity cs); C_EXPORT void QString_replace6(QStringH handle, PWideString retval, const QLatin1StringH before, const QLatin1StringH after, Qt::CaseSensitivity cs); C_EXPORT void QString_replace7(QStringH handle, PWideString retval, const QLatin1StringH before, PWideString after, Qt::CaseSensitivity cs); C_EXPORT void QString_replace8(QStringH handle, PWideString retval, PWideString before, const QLatin1StringH after, Qt::CaseSensitivity cs); C_EXPORT void QString_replace9(QStringH handle, PWideString retval, PWideString before, PWideString after, Qt::CaseSensitivity cs); C_EXPORT void QString_replace10(QStringH handle, PWideString retval, PWideChar c, PWideString after, Qt::CaseSensitivity cs); C_EXPORT void QString_replace11(QStringH handle, PWideString retval, PWideChar c, const QLatin1StringH after, Qt::CaseSensitivity cs); C_EXPORT void QString_replace12(QStringH handle, PWideString retval, const QRegExpH rx, PWideString after); C_EXPORT void QString_remove4(QStringH handle, PWideString retval, const QRegExpH rx); C_EXPORT void QString_split(QStringH handle, QStringListH retval, PWideString sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs); C_EXPORT void QString_split2(QStringH handle, QStringListH retval, const QCharH sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs); C_EXPORT void QString_split3(QStringH handle, QStringListH retval, const QRegExpH sep, QString::SplitBehavior behavior); C_EXPORT void QString_normalized(QStringH handle, PWideString retval, QString::NormalizationForm mode); C_EXPORT void QString_normalized2(QStringH handle, PWideString retval, QString::NormalizationForm mode, QChar::UnicodeVersion version); C_EXPORT void QString_repeated(QStringH handle, PWideString retval, int times); C_EXPORT const ushort* QString_utf16(QStringH handle); C_EXPORT void QString_toAscii(QStringH handle, QByteArrayH retval); C_EXPORT void QString_toLatin1(QStringH handle, QByteArrayH retval); C_EXPORT void QString_toUtf8(QStringH handle, QByteArrayH retval); C_EXPORT void QString_toLocal8Bit(QStringH handle, QByteArrayH retval); C_EXPORT void QString_fromAscii(PWideString retval, const char* AnonParam1, int size); C_EXPORT void QString_fromLatin1(PWideString retval, const char* AnonParam1, int size); C_EXPORT void QString_fromUtf8(PWideString retval, const char* AnonParam1, int size); C_EXPORT void QString_fromLocal8Bit(PWideString retval, const char* AnonParam1, int size); C_EXPORT void QString_fromUtf16(PWideString retval, const ushort* AnonParam1, int size); C_EXPORT void QString_fromUcs4(PWideString retval, const uint* AnonParam1, int size); C_EXPORT void QString_fromRawData(PWideString retval, const QCharH AnonParam1, int size); C_EXPORT int QString_toWCharArray(QStringH handle, wchar_t* array); C_EXPORT void QString_fromWCharArray(PWideString retval, const wchar_t* AnonParam1, int size); C_EXPORT void QString_setUnicode(QStringH handle, PWideString retval, const QCharH unicode, int size); C_EXPORT void QString_setUtf16(QStringH handle, PWideString retval, const ushort* utf16, int size); C_EXPORT int QString_compare(QStringH handle, PWideString s); C_EXPORT int QString_compare2(QStringH handle, PWideString s, Qt::CaseSensitivity cs); C_EXPORT int QString_compare3(QStringH handle, const QLatin1StringH other, Qt::CaseSensitivity cs); C_EXPORT int QString_compare4(PWideString s1, PWideString s2); C_EXPORT int QString_compare5(PWideString s1, PWideString s2, Qt::CaseSensitivity cs); C_EXPORT int QString_compare6(PWideString s1, const QLatin1StringH s2, Qt::CaseSensitivity cs); C_EXPORT int QString_compare7(const QLatin1StringH s1, PWideString s2, Qt::CaseSensitivity cs); C_EXPORT int QString_localeAwareCompare(QStringH handle, PWideString s); C_EXPORT int QString_localeAwareCompare2(PWideString s1, PWideString s2); C_EXPORT short QString_toShort(QStringH handle, bool* ok, int base); C_EXPORT ushort QString_toUShort(QStringH handle, bool* ok, int base); C_EXPORT int QString_toInt(QStringH handle, bool* ok, int base); C_EXPORT uint QString_toUInt(QStringH handle, bool* ok, int base); C_EXPORT long QString_toLong(QStringH handle, bool* ok, int base); C_EXPORT ulong QString_toULong(QStringH handle, bool* ok, int base); C_EXPORT qlonglong QString_toLongLong(QStringH handle, bool* ok, int base); C_EXPORT qulonglong QString_toULongLong(QStringH handle, bool* ok, int base); C_EXPORT float QString_toFloat(QStringH handle, bool* ok); C_EXPORT double QString_toDouble(QStringH handle, bool* ok); C_EXPORT void QString_setNum(QStringH handle, PWideString retval, short AnonParam1, int base); C_EXPORT void QString_setNum2(QStringH handle, PWideString retval, ushort AnonParam1, int base); C_EXPORT void QString_setNum3(QStringH handle, PWideString retval, int AnonParam1, int base); C_EXPORT void QString_setNum4(QStringH handle, PWideString retval, uint AnonParam1, int base); C_EXPORT void QString_setNum7(QStringH handle, PWideString retval, qlonglong AnonParam1, int base); C_EXPORT void QString_setNum8(QStringH handle, PWideString retval, qulonglong AnonParam1, int base); C_EXPORT void QString_setNum9(QStringH handle, PWideString retval, float AnonParam1, char f, int prec); C_EXPORT void QString_setNum10(QStringH handle, PWideString retval, double AnonParam1, char f, int prec); C_EXPORT void QString_number(PWideString retval, int AnonParam1, int base); C_EXPORT void QString_number2(PWideString retval, uint AnonParam1, int base); C_EXPORT void QString_number5(PWideString retval, qlonglong AnonParam1, int base); C_EXPORT void QString_number6(PWideString retval, qulonglong AnonParam1, int base); C_EXPORT void QString_number7(PWideString retval, double AnonParam1, char f, int prec); C_EXPORT QStringH QString_create7(const char* ch); C_EXPORT QStringH QString_create8(const QByteArrayH a); C_EXPORT void QString_prepend4(QStringH handle, PWideString retval, const char* s); C_EXPORT void QString_prepend5(QStringH handle, PWideString retval, const QByteArrayH s); C_EXPORT void QString_append4(QStringH handle, PWideString retval, const char* s); C_EXPORT void QString_append5(QStringH handle, PWideString retval, const QByteArrayH s); C_EXPORT void QString_push_back(QStringH handle, PWideChar c); C_EXPORT void QString_push_back2(QStringH handle, PWideString s); C_EXPORT void QString_push_front(QStringH handle, PWideChar c); C_EXPORT void QString_push_front2(QStringH handle, PWideString s); C_EXPORT bool QString_isNull(QStringH handle); C_EXPORT bool QString_isSimpleText(QStringH handle); C_EXPORT bool QString_isRightToLeft(QStringH handle); C_EXPORT QLatin1StringH QLatin1String_create(const char* s); C_EXPORT void QLatin1String_destroy(QLatin1StringH handle); C_EXPORT const char* QLatin1String_latin1(QLatin1StringH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwidget_c.cpp0000664000212600021260000007425211677135472017517 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qwidget_c.h" QWidgetH QWidget_create(QWidgetH parent, unsigned int f) { return (QWidgetH) new QWidget((QWidget*)parent, (Qt::WindowFlags)f); } void QWidget_destroy(QWidgetH handle) { delete (QWidget *)handle; } int QWidget_devType(QWidgetH handle) { return (int) ((QWidget *)handle)->devType(); } unsigned int QWidget_winId(QWidgetH handle) { return (unsigned int) ((QWidget *)handle)->winId(); } void QWidget_createWinId(QWidgetH handle) { ((QWidget *)handle)->createWinId(); } unsigned int QWidget_internalWinId(QWidgetH handle) { return (unsigned int) ((QWidget *)handle)->internalWinId(); } unsigned int QWidget_effectiveWinId(QWidgetH handle) { return (unsigned int) ((QWidget *)handle)->effectiveWinId(); } QStyleH QWidget_style(QWidgetH handle) { return (QStyleH) ((QWidget *)handle)->style(); } void QWidget_setStyle(QWidgetH handle, QStyleH AnonParam1) { ((QWidget *)handle)->setStyle((QStyle*)AnonParam1); } bool QWidget_isTopLevel(QWidgetH handle) { return (bool) ((QWidget *)handle)->isTopLevel(); } bool QWidget_isWindow(QWidgetH handle) { return (bool) ((QWidget *)handle)->isWindow(); } bool QWidget_isModal(QWidgetH handle) { return (bool) ((QWidget *)handle)->isModal(); } Qt::WindowModality QWidget_windowModality(QWidgetH handle) { return (Qt::WindowModality) ((QWidget *)handle)->windowModality(); } void QWidget_setWindowModality(QWidgetH handle, Qt::WindowModality windowModality) { ((QWidget *)handle)->setWindowModality(windowModality); } bool QWidget_isEnabled(QWidgetH handle) { return (bool) ((QWidget *)handle)->isEnabled(); } bool QWidget_isEnabledTo(QWidgetH handle, QWidgetH AnonParam1) { return (bool) ((QWidget *)handle)->isEnabledTo((QWidget*)AnonParam1); } bool QWidget_isEnabledToTLW(QWidgetH handle) { return (bool) ((QWidget *)handle)->isEnabledToTLW(); } void QWidget_setEnabled(QWidgetH handle, bool AnonParam1) { ((QWidget *)handle)->setEnabled(AnonParam1); } void QWidget_setDisabled(QWidgetH handle, bool AnonParam1) { ((QWidget *)handle)->setDisabled(AnonParam1); } void QWidget_setWindowModified(QWidgetH handle, bool AnonParam1) { ((QWidget *)handle)->setWindowModified(AnonParam1); } void QWidget_frameGeometry(QWidgetH handle, PRect retval) { QRect t_retval; t_retval = ((QWidget *)handle)->frameGeometry(); copyQRectToPRect(t_retval, retval); } void QWidget_geometry(QWidgetH handle, PRect retval) { QRect t_retval; t_retval = ((QWidget *)handle)->geometry(); copyQRectToPRect(t_retval, retval); } void QWidget_normalGeometry(QWidgetH handle, PRect retval) { QRect t_retval; t_retval = ((QWidget *)handle)->normalGeometry(); copyQRectToPRect(t_retval, retval); } int QWidget_x(QWidgetH handle) { return (int) ((QWidget *)handle)->x(); } int QWidget_y(QWidgetH handle) { return (int) ((QWidget *)handle)->y(); } void QWidget_pos(QWidgetH handle, PQtPoint retval) { *(QPoint *)retval = ((QWidget *)handle)->pos(); } void QWidget_frameSize(QWidgetH handle, PSize retval) { *(QSize *)retval = ((QWidget *)handle)->frameSize(); } void QWidget_size(QWidgetH handle, PSize retval) { *(QSize *)retval = ((QWidget *)handle)->size(); } int QWidget_width(QWidgetH handle) { return (int) ((QWidget *)handle)->width(); } int QWidget_height(QWidgetH handle) { return (int) ((QWidget *)handle)->height(); } void QWidget_rect(QWidgetH handle, PRect retval) { QRect t_retval; t_retval = ((QWidget *)handle)->rect(); copyQRectToPRect(t_retval, retval); } void QWidget_childrenRect(QWidgetH handle, PRect retval) { QRect t_retval; t_retval = ((QWidget *)handle)->childrenRect(); copyQRectToPRect(t_retval, retval); } void QWidget_childrenRegion(QWidgetH handle, QRegionH retval) { *(QRegion *)retval = ((QWidget *)handle)->childrenRegion(); } void QWidget_minimumSize(QWidgetH handle, PSize retval) { *(QSize *)retval = ((QWidget *)handle)->minimumSize(); } void QWidget_maximumSize(QWidgetH handle, PSize retval) { *(QSize *)retval = ((QWidget *)handle)->maximumSize(); } int QWidget_minimumWidth(QWidgetH handle) { return (int) ((QWidget *)handle)->minimumWidth(); } int QWidget_minimumHeight(QWidgetH handle) { return (int) ((QWidget *)handle)->minimumHeight(); } int QWidget_maximumWidth(QWidgetH handle) { return (int) ((QWidget *)handle)->maximumWidth(); } int QWidget_maximumHeight(QWidgetH handle) { return (int) ((QWidget *)handle)->maximumHeight(); } void QWidget_setMinimumSize(QWidgetH handle, const QSizeH AnonParam1) { ((QWidget *)handle)->setMinimumSize(*(const QSize*)AnonParam1); } void QWidget_setMinimumSize2(QWidgetH handle, int minw, int minh) { ((QWidget *)handle)->setMinimumSize(minw, minh); } void QWidget_setMaximumSize(QWidgetH handle, const QSizeH AnonParam1) { ((QWidget *)handle)->setMaximumSize(*(const QSize*)AnonParam1); } void QWidget_setMaximumSize2(QWidgetH handle, int maxw, int maxh) { ((QWidget *)handle)->setMaximumSize(maxw, maxh); } void QWidget_setMinimumWidth(QWidgetH handle, int minw) { ((QWidget *)handle)->setMinimumWidth(minw); } void QWidget_setMinimumHeight(QWidgetH handle, int minh) { ((QWidget *)handle)->setMinimumHeight(minh); } void QWidget_setMaximumWidth(QWidgetH handle, int maxw) { ((QWidget *)handle)->setMaximumWidth(maxw); } void QWidget_setMaximumHeight(QWidgetH handle, int maxh) { ((QWidget *)handle)->setMaximumHeight(maxh); } void QWidget_sizeIncrement(QWidgetH handle, PSize retval) { *(QSize *)retval = ((QWidget *)handle)->sizeIncrement(); } void QWidget_setSizeIncrement(QWidgetH handle, const QSizeH AnonParam1) { ((QWidget *)handle)->setSizeIncrement(*(const QSize*)AnonParam1); } void QWidget_setSizeIncrement2(QWidgetH handle, int w, int h) { ((QWidget *)handle)->setSizeIncrement(w, h); } void QWidget_baseSize(QWidgetH handle, PSize retval) { *(QSize *)retval = ((QWidget *)handle)->baseSize(); } void QWidget_setBaseSize(QWidgetH handle, const QSizeH AnonParam1) { ((QWidget *)handle)->setBaseSize(*(const QSize*)AnonParam1); } void QWidget_setBaseSize2(QWidgetH handle, int basew, int baseh) { ((QWidget *)handle)->setBaseSize(basew, baseh); } void QWidget_setFixedSize(QWidgetH handle, const QSizeH AnonParam1) { ((QWidget *)handle)->setFixedSize(*(const QSize*)AnonParam1); } void QWidget_setFixedSize2(QWidgetH handle, int w, int h) { ((QWidget *)handle)->setFixedSize(w, h); } void QWidget_setFixedWidth(QWidgetH handle, int w) { ((QWidget *)handle)->setFixedWidth(w); } void QWidget_setFixedHeight(QWidgetH handle, int h) { ((QWidget *)handle)->setFixedHeight(h); } void QWidget_mapToGlobal(QWidgetH handle, PQtPoint retval, const QPointH AnonParam1) { *(QPoint *)retval = ((QWidget *)handle)->mapToGlobal(*(const QPoint*)AnonParam1); } void QWidget_mapFromGlobal(QWidgetH handle, PQtPoint retval, const QPointH AnonParam1) { *(QPoint *)retval = ((QWidget *)handle)->mapFromGlobal(*(const QPoint*)AnonParam1); } void QWidget_mapToParent(QWidgetH handle, PQtPoint retval, const QPointH AnonParam1) { *(QPoint *)retval = ((QWidget *)handle)->mapToParent(*(const QPoint*)AnonParam1); } void QWidget_mapFromParent(QWidgetH handle, PQtPoint retval, const QPointH AnonParam1) { *(QPoint *)retval = ((QWidget *)handle)->mapFromParent(*(const QPoint*)AnonParam1); } void QWidget_mapTo(QWidgetH handle, PQtPoint retval, QWidgetH AnonParam1, const QPointH AnonParam2) { *(QPoint *)retval = ((QWidget *)handle)->mapTo((QWidget*)AnonParam1, *(const QPoint*)AnonParam2); } void QWidget_mapFrom(QWidgetH handle, PQtPoint retval, QWidgetH AnonParam1, const QPointH AnonParam2) { *(QPoint *)retval = ((QWidget *)handle)->mapFrom((QWidget*)AnonParam1, *(const QPoint*)AnonParam2); } QWidgetH QWidget_window(QWidgetH handle) { return (QWidgetH) ((QWidget *)handle)->window(); } QWidgetH QWidget_nativeParentWidget(QWidgetH handle) { return (QWidgetH) ((QWidget *)handle)->nativeParentWidget(); } QWidgetH QWidget_topLevelWidget(QWidgetH handle) { return (QWidgetH) ((QWidget *)handle)->topLevelWidget(); } const QPaletteH QWidget_palette(QWidgetH handle) { return (const QPaletteH) &((QWidget *)handle)->palette(); } void QWidget_setPalette(QWidgetH handle, const QPaletteH AnonParam1) { ((QWidget *)handle)->setPalette(*(const QPalette*)AnonParam1); } void QWidget_setBackgroundRole(QWidgetH handle, QPalette::ColorRole AnonParam1) { ((QWidget *)handle)->setBackgroundRole(AnonParam1); } QPalette::ColorRole QWidget_backgroundRole(QWidgetH handle) { return (QPalette::ColorRole) ((QWidget *)handle)->backgroundRole(); } void QWidget_setForegroundRole(QWidgetH handle, QPalette::ColorRole AnonParam1) { ((QWidget *)handle)->setForegroundRole(AnonParam1); } QPalette::ColorRole QWidget_foregroundRole(QWidgetH handle) { return (QPalette::ColorRole) ((QWidget *)handle)->foregroundRole(); } const QFontH QWidget_font(QWidgetH handle) { return (const QFontH) &((QWidget *)handle)->font(); } void QWidget_setFont(QWidgetH handle, const QFontH AnonParam1) { ((QWidget *)handle)->setFont(*(const QFont*)AnonParam1); } void QWidget_fontMetrics(QWidgetH handle, QFontMetricsH retval) { *(QFontMetrics *)retval = ((QWidget *)handle)->fontMetrics(); } void QWidget_fontInfo(QWidgetH handle, QFontInfoH retval) { *(QFontInfo *)retval = ((QWidget *)handle)->fontInfo(); } void QWidget_cursor(QWidgetH handle, QCursorH retval) { *(QCursor *)retval = ((QWidget *)handle)->cursor(); } void QWidget_setCursor(QWidgetH handle, const QCursorH AnonParam1) { ((QWidget *)handle)->setCursor(*(const QCursor*)AnonParam1); } void QWidget_unsetCursor(QWidgetH handle) { ((QWidget *)handle)->unsetCursor(); } void QWidget_setMouseTracking(QWidgetH handle, bool enable) { ((QWidget *)handle)->setMouseTracking(enable); } bool QWidget_hasMouseTracking(QWidgetH handle) { return (bool) ((QWidget *)handle)->hasMouseTracking(); } bool QWidget_underMouse(QWidgetH handle) { return (bool) ((QWidget *)handle)->underMouse(); } void QWidget_setMask(QWidgetH handle, const QBitmapH AnonParam1) { ((QWidget *)handle)->setMask(*(const QBitmap*)AnonParam1); } void QWidget_setMask2(QWidgetH handle, const QRegionH AnonParam1) { ((QWidget *)handle)->setMask(*(const QRegion*)AnonParam1); } void QWidget_mask(QWidgetH handle, QRegionH retval) { *(QRegion *)retval = ((QWidget *)handle)->mask(); } void QWidget_clearMask(QWidgetH handle) { ((QWidget *)handle)->clearMask(); } void QWidget_render(QWidgetH handle, QPaintDeviceH target, const QPointH targetOffset, const QRegionH sourceRegion, unsigned int renderFlags) { ((QWidget *)handle)->render((QPaintDevice*)target, *(const QPoint*)targetOffset, *(const QRegion*)sourceRegion, (QWidget::RenderFlags)renderFlags); } void QWidget_render2(QWidgetH handle, QPainterH painter, const QPointH targetOffset, const QRegionH sourceRegion, unsigned int renderFlags) { ((QWidget *)handle)->render((QPainter*)painter, *(const QPoint*)targetOffset, *(const QRegion*)sourceRegion, (QWidget::RenderFlags)renderFlags); } void QWidget_setWindowTitle(QWidgetH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QWidget *)handle)->setWindowTitle(t_AnonParam1); } void QWidget_setStyleSheet(QWidgetH handle, PWideString styleSheet) { QString t_styleSheet; copyPWideStringToQString(styleSheet, t_styleSheet); ((QWidget *)handle)->setStyleSheet(t_styleSheet); } void QWidget_styleSheet(QWidgetH handle, PWideString retval) { QString t_retval; t_retval = ((QWidget *)handle)->styleSheet(); copyQStringToPWideString(t_retval, retval); } void QWidget_windowTitle(QWidgetH handle, PWideString retval) { QString t_retval; t_retval = ((QWidget *)handle)->windowTitle(); copyQStringToPWideString(t_retval, retval); } void QWidget_setWindowIcon(QWidgetH handle, const QIconH icon) { ((QWidget *)handle)->setWindowIcon(*(const QIcon*)icon); } void QWidget_windowIcon(QWidgetH handle, QIconH retval) { *(QIcon *)retval = ((QWidget *)handle)->windowIcon(); } void QWidget_setWindowIconText(QWidgetH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QWidget *)handle)->setWindowIconText(t_AnonParam1); } void QWidget_windowIconText(QWidgetH handle, PWideString retval) { QString t_retval; t_retval = ((QWidget *)handle)->windowIconText(); copyQStringToPWideString(t_retval, retval); } void QWidget_setWindowRole(QWidgetH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QWidget *)handle)->setWindowRole(t_AnonParam1); } void QWidget_windowRole(QWidgetH handle, PWideString retval) { QString t_retval; t_retval = ((QWidget *)handle)->windowRole(); copyQStringToPWideString(t_retval, retval); } void QWidget_setWindowFilePath(QWidgetH handle, PWideString filePath) { QString t_filePath; copyPWideStringToQString(filePath, t_filePath); ((QWidget *)handle)->setWindowFilePath(t_filePath); } void QWidget_windowFilePath(QWidgetH handle, PWideString retval) { QString t_retval; t_retval = ((QWidget *)handle)->windowFilePath(); copyQStringToPWideString(t_retval, retval); } void QWidget_setWindowOpacity(QWidgetH handle, qreal level) { ((QWidget *)handle)->setWindowOpacity(level); } qreal QWidget_windowOpacity(QWidgetH handle) { return (qreal) ((QWidget *)handle)->windowOpacity(); } bool QWidget_isWindowModified(QWidgetH handle) { return (bool) ((QWidget *)handle)->isWindowModified(); } void QWidget_setToolTip(QWidgetH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QWidget *)handle)->setToolTip(t_AnonParam1); } void QWidget_toolTip(QWidgetH handle, PWideString retval) { QString t_retval; t_retval = ((QWidget *)handle)->toolTip(); copyQStringToPWideString(t_retval, retval); } void QWidget_setStatusTip(QWidgetH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QWidget *)handle)->setStatusTip(t_AnonParam1); } void QWidget_statusTip(QWidgetH handle, PWideString retval) { QString t_retval; t_retval = ((QWidget *)handle)->statusTip(); copyQStringToPWideString(t_retval, retval); } void QWidget_setWhatsThis(QWidgetH handle, PWideString AnonParam1) { QString t_AnonParam1; copyPWideStringToQString(AnonParam1, t_AnonParam1); ((QWidget *)handle)->setWhatsThis(t_AnonParam1); } void QWidget_whatsThis(QWidgetH handle, PWideString retval) { QString t_retval; t_retval = ((QWidget *)handle)->whatsThis(); copyQStringToPWideString(t_retval, retval); } void QWidget_accessibleName(QWidgetH handle, PWideString retval) { QString t_retval; t_retval = ((QWidget *)handle)->accessibleName(); copyQStringToPWideString(t_retval, retval); } void QWidget_setAccessibleName(QWidgetH handle, PWideString name) { QString t_name; copyPWideStringToQString(name, t_name); ((QWidget *)handle)->setAccessibleName(t_name); } void QWidget_accessibleDescription(QWidgetH handle, PWideString retval) { QString t_retval; t_retval = ((QWidget *)handle)->accessibleDescription(); copyQStringToPWideString(t_retval, retval); } void QWidget_setAccessibleDescription(QWidgetH handle, PWideString description) { QString t_description; copyPWideStringToQString(description, t_description); ((QWidget *)handle)->setAccessibleDescription(t_description); } void QWidget_setLayoutDirection(QWidgetH handle, Qt::LayoutDirection direction) { ((QWidget *)handle)->setLayoutDirection(direction); } Qt::LayoutDirection QWidget_layoutDirection(QWidgetH handle) { return (Qt::LayoutDirection) ((QWidget *)handle)->layoutDirection(); } void QWidget_unsetLayoutDirection(QWidgetH handle) { ((QWidget *)handle)->unsetLayoutDirection(); } void QWidget_setLocale(QWidgetH handle, const QLocaleH locale) { ((QWidget *)handle)->setLocale(*(const QLocale*)locale); } void QWidget_locale(QWidgetH handle, QLocaleH retval) { *(QLocale *)retval = ((QWidget *)handle)->locale(); } void QWidget_unsetLocale(QWidgetH handle) { ((QWidget *)handle)->unsetLocale(); } bool QWidget_isRightToLeft(QWidgetH handle) { return (bool) ((QWidget *)handle)->isRightToLeft(); } bool QWidget_isLeftToRight(QWidgetH handle) { return (bool) ((QWidget *)handle)->isLeftToRight(); } void QWidget_setFocus(QWidgetH handle) { ((QWidget *)handle)->setFocus(); } bool QWidget_isActiveWindow(QWidgetH handle) { return (bool) ((QWidget *)handle)->isActiveWindow(); } void QWidget_activateWindow(QWidgetH handle) { ((QWidget *)handle)->activateWindow(); } void QWidget_clearFocus(QWidgetH handle) { ((QWidget *)handle)->clearFocus(); } void QWidget_setFocus2(QWidgetH handle, Qt::FocusReason reason) { ((QWidget *)handle)->setFocus(reason); } Qt::FocusPolicy QWidget_focusPolicy(QWidgetH handle) { return (Qt::FocusPolicy) ((QWidget *)handle)->focusPolicy(); } void QWidget_setFocusPolicy(QWidgetH handle, Qt::FocusPolicy policy) { ((QWidget *)handle)->setFocusPolicy(policy); } bool QWidget_hasFocus(QWidgetH handle) { return (bool) ((QWidget *)handle)->hasFocus(); } void QWidget_setTabOrder(QWidgetH AnonParam1, QWidgetH AnonParam2) { QWidget::setTabOrder((QWidget*)AnonParam1, (QWidget*)AnonParam2); } void QWidget_setFocusProxy(QWidgetH handle, QWidgetH AnonParam1) { ((QWidget *)handle)->setFocusProxy((QWidget*)AnonParam1); } QWidgetH QWidget_focusProxy(QWidgetH handle) { return (QWidgetH) ((QWidget *)handle)->focusProxy(); } Qt::ContextMenuPolicy QWidget_contextMenuPolicy(QWidgetH handle) { return (Qt::ContextMenuPolicy) ((QWidget *)handle)->contextMenuPolicy(); } void QWidget_setContextMenuPolicy(QWidgetH handle, Qt::ContextMenuPolicy policy) { ((QWidget *)handle)->setContextMenuPolicy(policy); } void QWidget_grabMouse(QWidgetH handle) { ((QWidget *)handle)->grabMouse(); } void QWidget_grabMouse2(QWidgetH handle, const QCursorH AnonParam1) { ((QWidget *)handle)->grabMouse(*(const QCursor*)AnonParam1); } void QWidget_releaseMouse(QWidgetH handle) { ((QWidget *)handle)->releaseMouse(); } void QWidget_grabKeyboard(QWidgetH handle) { ((QWidget *)handle)->grabKeyboard(); } void QWidget_releaseKeyboard(QWidgetH handle) { ((QWidget *)handle)->releaseKeyboard(); } int QWidget_grabShortcut(QWidgetH handle, const QKeySequenceH key, Qt::ShortcutContext context) { return (int) ((QWidget *)handle)->grabShortcut(*(const QKeySequence*)key, context); } void QWidget_releaseShortcut(QWidgetH handle, int id) { ((QWidget *)handle)->releaseShortcut(id); } void QWidget_setShortcutEnabled(QWidgetH handle, int id, bool enable) { ((QWidget *)handle)->setShortcutEnabled(id, enable); } void QWidget_setShortcutAutoRepeat(QWidgetH handle, int id, bool enable) { ((QWidget *)handle)->setShortcutAutoRepeat(id, enable); } QWidgetH QWidget_mouseGrabber() { return (QWidgetH) QWidget::mouseGrabber(); } QWidgetH QWidget_keyboardGrabber() { return (QWidgetH) QWidget::keyboardGrabber(); } bool QWidget_updatesEnabled(QWidgetH handle) { return (bool) ((QWidget *)handle)->updatesEnabled(); } void QWidget_setUpdatesEnabled(QWidgetH handle, bool enable) { ((QWidget *)handle)->setUpdatesEnabled(enable); } QGraphicsProxyWidgetH QWidget_graphicsProxyWidget(QWidgetH handle) { return (QGraphicsProxyWidgetH) ((QWidget *)handle)->graphicsProxyWidget(); } void QWidget_update(QWidgetH handle) { ((QWidget *)handle)->update(); } void QWidget_repaint(QWidgetH handle) { ((QWidget *)handle)->repaint(); } void QWidget_update2(QWidgetH handle, int x, int y, int w, int h) { ((QWidget *)handle)->update(x, y, w, h); } void QWidget_update3(QWidgetH handle, PRect AnonParam1) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QWidget *)handle)->update(t_AnonParam1); } void QWidget_update4(QWidgetH handle, const QRegionH AnonParam1) { ((QWidget *)handle)->update(*(const QRegion*)AnonParam1); } void QWidget_repaint2(QWidgetH handle, int x, int y, int w, int h) { ((QWidget *)handle)->repaint(x, y, w, h); } void QWidget_repaint3(QWidgetH handle, PRect AnonParam1) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QWidget *)handle)->repaint(t_AnonParam1); } void QWidget_repaint4(QWidgetH handle, const QRegionH AnonParam1) { ((QWidget *)handle)->repaint(*(const QRegion*)AnonParam1); } void QWidget_setVisible(QWidgetH handle, bool visible) { ((QWidget *)handle)->setVisible(visible); } void QWidget_setHidden(QWidgetH handle, bool hidden) { ((QWidget *)handle)->setHidden(hidden); } void QWidget_show(QWidgetH handle) { ((QWidget *)handle)->show(); } void QWidget_hide(QWidgetH handle) { ((QWidget *)handle)->hide(); } void QWidget_setShown(QWidgetH handle, bool shown) { ((QWidget *)handle)->setShown(shown); } void QWidget_showMinimized(QWidgetH handle) { ((QWidget *)handle)->showMinimized(); } void QWidget_showMaximized(QWidgetH handle) { ((QWidget *)handle)->showMaximized(); } void QWidget_showFullScreen(QWidgetH handle) { ((QWidget *)handle)->showFullScreen(); } void QWidget_showNormal(QWidgetH handle) { ((QWidget *)handle)->showNormal(); } bool QWidget_close(QWidgetH handle) { return (bool) ((QWidget *)handle)->close(); } void QWidget_raise(QWidgetH handle) { ((QWidget *)handle)->raise(); } void QWidget_lower(QWidgetH handle) { ((QWidget *)handle)->lower(); } void QWidget_stackUnder(QWidgetH handle, QWidgetH AnonParam1) { ((QWidget *)handle)->stackUnder((QWidget*)AnonParam1); } void QWidget_move(QWidgetH handle, int x, int y) { ((QWidget *)handle)->move(x, y); } void QWidget_move2(QWidgetH handle, const QPointH AnonParam1) { ((QWidget *)handle)->move(*(const QPoint*)AnonParam1); } void QWidget_resize(QWidgetH handle, int w, int h) { ((QWidget *)handle)->resize(w, h); } void QWidget_resize2(QWidgetH handle, const QSizeH AnonParam1) { ((QWidget *)handle)->resize(*(const QSize*)AnonParam1); } void QWidget_setGeometry(QWidgetH handle, int x, int y, int w, int h) { ((QWidget *)handle)->setGeometry(x, y, w, h); } void QWidget_setGeometry2(QWidgetH handle, PRect AnonParam1) { QRect t_AnonParam1; copyPRectToQRect(AnonParam1, t_AnonParam1); ((QWidget *)handle)->setGeometry(t_AnonParam1); } void QWidget_saveGeometry(QWidgetH handle, QByteArrayH retval) { *(QByteArray *)retval = ((QWidget *)handle)->saveGeometry(); } bool QWidget_restoreGeometry(QWidgetH handle, const QByteArrayH geometry) { return (bool) ((QWidget *)handle)->restoreGeometry(*(const QByteArray*)geometry); } void QWidget_adjustSize(QWidgetH handle) { ((QWidget *)handle)->adjustSize(); } bool QWidget_isVisible(QWidgetH handle) { return (bool) ((QWidget *)handle)->isVisible(); } bool QWidget_isVisibleTo(QWidgetH handle, QWidgetH AnonParam1) { return (bool) ((QWidget *)handle)->isVisibleTo((QWidget*)AnonParam1); } bool QWidget_isHidden(QWidgetH handle) { return (bool) ((QWidget *)handle)->isHidden(); } bool QWidget_isMinimized(QWidgetH handle) { return (bool) ((QWidget *)handle)->isMinimized(); } bool QWidget_isMaximized(QWidgetH handle) { return (bool) ((QWidget *)handle)->isMaximized(); } bool QWidget_isFullScreen(QWidgetH handle) { return (bool) ((QWidget *)handle)->isFullScreen(); } unsigned int QWidget_windowState(QWidgetH handle) { return (unsigned int) ((QWidget *)handle)->windowState(); } void QWidget_setWindowState(QWidgetH handle, unsigned int state) { ((QWidget *)handle)->setWindowState((Qt::WindowStates)state); } void QWidget_overrideWindowState(QWidgetH handle, unsigned int state) { ((QWidget *)handle)->overrideWindowState((Qt::WindowStates)state); } void QWidget_sizeHint(QWidgetH handle, PSize retval) { *(QSize *)retval = ((QWidget *)handle)->sizeHint(); } void QWidget_minimumSizeHint(QWidgetH handle, PSize retval) { *(QSize *)retval = ((QWidget *)handle)->minimumSizeHint(); } void QWidget_sizePolicy(QWidgetH handle, PQSizePolicy retval) { *(QSizePolicy *)retval = ((QWidget *)handle)->sizePolicy(); } void QWidget_setSizePolicy(QWidgetH handle, PQSizePolicy AnonParam1) { ((QWidget *)handle)->setSizePolicy(*(QSizePolicy *)AnonParam1); } void QWidget_setSizePolicy2(QWidgetH handle, QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical) { ((QWidget *)handle)->setSizePolicy(horizontal, vertical); } int QWidget_heightForWidth(QWidgetH handle, int AnonParam1) { return (int) ((QWidget *)handle)->heightForWidth(AnonParam1); } void QWidget_visibleRegion(QWidgetH handle, QRegionH retval) { *(QRegion *)retval = ((QWidget *)handle)->visibleRegion(); } void QWidget_setContentsMargins(QWidgetH handle, int left, int top, int right, int bottom) { ((QWidget *)handle)->setContentsMargins(left, top, right, bottom); } void QWidget_getContentsMargins(QWidgetH handle, int* left, int* top, int* right, int* bottom) { ((QWidget *)handle)->getContentsMargins(left, top, right, bottom); } void QWidget_contentsRect(QWidgetH handle, PRect retval) { QRect t_retval; t_retval = ((QWidget *)handle)->contentsRect(); copyQRectToPRect(t_retval, retval); } QLayoutH QWidget_layout(QWidgetH handle) { return (QLayoutH) ((QWidget *)handle)->layout(); } void QWidget_setLayout(QWidgetH handle, QLayoutH AnonParam1) { ((QWidget *)handle)->setLayout((QLayout*)AnonParam1); } void QWidget_updateGeometry(QWidgetH handle) { ((QWidget *)handle)->updateGeometry(); } void QWidget_setParent(QWidgetH handle, QWidgetH parent) { ((QWidget *)handle)->setParent((QWidget*)parent); } void QWidget_setParent2(QWidgetH handle, QWidgetH parent, unsigned int f) { ((QWidget *)handle)->setParent((QWidget*)parent, (Qt::WindowFlags)f); } void QWidget_scroll(QWidgetH handle, int dx, int dy) { ((QWidget *)handle)->scroll(dx, dy); } void QWidget_scroll2(QWidgetH handle, int dx, int dy, PRect AnonParam3) { QRect t_AnonParam3; copyPRectToQRect(AnonParam3, t_AnonParam3); ((QWidget *)handle)->scroll(dx, dy, t_AnonParam3); } QWidgetH QWidget_focusWidget(QWidgetH handle) { return (QWidgetH) ((QWidget *)handle)->focusWidget(); } QWidgetH QWidget_nextInFocusChain(QWidgetH handle) { return (QWidgetH) ((QWidget *)handle)->nextInFocusChain(); } bool QWidget_acceptDrops(QWidgetH handle) { return (bool) ((QWidget *)handle)->acceptDrops(); } void QWidget_setAcceptDrops(QWidgetH handle, bool on) { ((QWidget *)handle)->setAcceptDrops(on); } void QWidget_addAction(QWidgetH handle, QActionH action) { ((QWidget *)handle)->addAction((QAction*)action); } void QWidget_addActions(QWidgetH handle, PPtrIntArray actions) { QList t_actions; copyPtrIntArrayToQListTemplate(actions, t_actions); ((QWidget *)handle)->addActions(t_actions); } void QWidget_insertAction(QWidgetH handle, QActionH before, QActionH action) { ((QWidget *)handle)->insertAction((QAction*)before, (QAction*)action); } void QWidget_insertActions(QWidgetH handle, QActionH before, PPtrIntArray actions) { QList t_actions; copyPtrIntArrayToQListTemplate(actions, t_actions); ((QWidget *)handle)->insertActions((QAction*)before, t_actions); } void QWidget_removeAction(QWidgetH handle, QActionH action) { ((QWidget *)handle)->removeAction((QAction*)action); } void QWidget_actions(QWidgetH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QWidget *)handle)->actions(); copyQListTemplateToPtrIntArray(t_retval, retval); } QWidgetH QWidget_parentWidget(QWidgetH handle) { return (QWidgetH) ((QWidget *)handle)->parentWidget(); } void QWidget_setWindowFlags(QWidgetH handle, unsigned int type) { ((QWidget *)handle)->setWindowFlags((Qt::WindowFlags)type); } unsigned int QWidget_windowFlags(QWidgetH handle) { return (unsigned int) ((QWidget *)handle)->windowFlags(); } void QWidget_overrideWindowFlags(QWidgetH handle, unsigned int type) { ((QWidget *)handle)->overrideWindowFlags((Qt::WindowFlags)type); } Qt::WindowType QWidget_windowType(QWidgetH handle) { return (Qt::WindowType) ((QWidget *)handle)->windowType(); } QWidgetH QWidget_find(unsigned int AnonParam1) { return (QWidgetH) QWidget::find((WId)AnonParam1); } QWidgetH QWidget_childAt(QWidgetH handle, int x, int y) { return (QWidgetH) ((QWidget *)handle)->childAt(x, y); } QWidgetH QWidget_childAt2(QWidgetH handle, const QPointH p) { return (QWidgetH) ((QWidget *)handle)->childAt(*(const QPoint*)p); } #if defined BINUX const QX11InfoH QWidget_x11Info(QWidgetH handle) { return (const QX11InfoH) &((QWidget *)handle)->x11Info(); } Qt::HANDLE QWidget_x11PictureHandle(QWidgetH handle) { return (Qt::HANDLE) ((QWidget *)handle)->x11PictureHandle(); } #endif #if defined BINUX || DARWIN || QTOPIA Qt::HANDLE QWidget_handle(QWidgetH handle) { return (Qt::HANDLE) ((QWidget *)handle)->handle(); } #endif void QWidget_setAttribute(QWidgetH handle, Qt::WidgetAttribute AnonParam1, bool on) { ((QWidget *)handle)->setAttribute(AnonParam1, on); } bool QWidget_testAttribute(QWidgetH handle, Qt::WidgetAttribute AnonParam1) { return (bool) ((QWidget *)handle)->testAttribute(AnonParam1); } QPaintEngineH QWidget_paintEngine(QWidgetH handle) { return (QPaintEngineH) ((QWidget *)handle)->paintEngine(); } void QWidget_ensurePolished(QWidgetH handle) { ((QWidget *)handle)->ensurePolished(); } QInputContextH QWidget_inputContext(QWidgetH handle) { return (QInputContextH) ((QWidget *)handle)->inputContext(); } void QWidget_setInputContext(QWidgetH handle, QInputContextH AnonParam1) { ((QWidget *)handle)->setInputContext((QInputContext*)AnonParam1); } bool QWidget_isAncestorOf(QWidgetH handle, const QWidgetH child) { return (bool) ((QWidget *)handle)->isAncestorOf((const QWidget*)child); } bool QWidget_autoFillBackground(QWidgetH handle) { return (bool) ((QWidget *)handle)->autoFillBackground(); } void QWidget_setAutoFillBackground(QWidgetH handle, bool enabled) { ((QWidget *)handle)->setAutoFillBackground(enabled); } void QWidget_inputMethodQuery(QWidgetH handle, QVariantH retval, Qt::InputMethodQuery AnonParam1) { *(QVariant *)retval = ((QWidget *)handle)->inputMethodQuery(AnonParam1); } #if defined MSWINDOWS HDC QWidget_getDC(QWidgetH handle) { return (HDC) ((QWidget *)handle)->getDC(); } void QWidget_releaseDC(QWidgetH handle, HDC AnonParam1) { ((QWidget *)handle)->releaseDC(AnonParam1); } #endif #if defined DARWIN Qt::HANDLE QWidget_macQDHandle(QWidgetH handle) { return (Qt::HANDLE) ((QWidget *)handle)->macQDHandle(); } Qt::HANDLE QWidget_macCGHandle(QWidgetH handle) { return (Qt::HANDLE) ((QWidget *)handle)->macCGHandle(); } #endif QPaintDeviceH QWidget_to_QPaintDevice(QWidgetH handle) { return (QPaintDeviceH)(QPaintDevice *)(QWidget *)handle; } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmainwindow_hook.h0000664000212600021260000000447611677135472020574 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMAINWINDOW_HOOK_H #define QMAINWINDOW_HOOK_H #include #include "qwidget_hook.h" class QMainWindow_hook : public QWidget_hook { Q_OBJECT public: QMainWindow_hook(QObject *handle) : QWidget_hook(handle) { iconSizeChanged_event.func = NULL; toolButtonStyleChanged_event.func = NULL; } void hook_iconSizeChanged(QHook &hook) { if ( !iconSizeChanged_event.func ) connect(handle, SIGNAL(iconSizeChanged(const QSize&)), this, SLOT(iconSizeChanged_hook(const QSize&))); iconSizeChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(iconSizeChanged(const QSize&)), this, SLOT(iconSizeChanged_hook(const QSize&))); } void hook_toolButtonStyleChanged(QHook &hook) { if ( !toolButtonStyleChanged_event.func ) connect(handle, SIGNAL(toolButtonStyleChanged(Qt::ToolButtonStyle)), this, SLOT(toolButtonStyleChanged_hook(Qt::ToolButtonStyle))); toolButtonStyleChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(toolButtonStyleChanged(Qt::ToolButtonStyle)), this, SLOT(toolButtonStyleChanged_hook(Qt::ToolButtonStyle))); } private slots: void iconSizeChanged_hook(const QSize& iconSize) { if ( iconSizeChanged_event.func ) { typedef void (*func_type)(void *data, const QSizeH iconSize); (*(func_type)iconSizeChanged_event.func)(iconSizeChanged_event.data, (const QSizeH)&iconSize); } } void toolButtonStyleChanged_hook(Qt::ToolButtonStyle toolButtonStyle) { if ( toolButtonStyleChanged_event.func ) { typedef void (*func_type)(void *data, Qt::ToolButtonStyle toolButtonStyle); (*(func_type)toolButtonStyleChanged_event.func)(toolButtonStyleChanged_event.data, toolButtonStyle); } } private: QHook iconSizeChanged_event; QHook toolButtonStyleChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qbuttongroup_hook_c.h0000664000212600021260000000237411677135472021305 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QBUTTONGROUP_HOOK_C_H #define QBUTTONGROUP_HOOK_C_H #include "qbuttongroup_hook.h" C_EXPORT QButtonGroup_hookH QButtonGroup_hook_create(QObjectH handle); C_EXPORT void QButtonGroup_hook_destroy(QButtonGroup_hookH handle); C_EXPORT void QButtonGroup_hook_hook_buttonClicked(QButtonGroup_hookH handle, QHookH hook); C_EXPORT void QButtonGroup_hook_hook_buttonClicked2(QButtonGroup_hookH handle, QHookH hook); C_EXPORT void QButtonGroup_hook_hook_buttonPressed(QButtonGroup_hookH handle, QHookH hook); C_EXPORT void QButtonGroup_hook_hook_buttonPressed2(QButtonGroup_hookH handle, QHookH hook); C_EXPORT void QButtonGroup_hook_hook_buttonReleased(QButtonGroup_hookH handle, QHookH hook); C_EXPORT void QButtonGroup_hook_hook_buttonReleased2(QButtonGroup_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qsystemtrayicon_hook.h0000664000212600021260000000414011677135472021501 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QSYSTEMTRAYICON_HOOK_H #define QSYSTEMTRAYICON_HOOK_H #include #include "qobject_hook.h" class QSystemTrayIcon_hook : public QObject_hook { Q_OBJECT public: QSystemTrayIcon_hook(QObject *handle) : QObject_hook(handle) { activated_event.func = NULL; messageClicked_event.func = NULL; } void hook_activated(QHook &hook) { if ( !activated_event.func ) connect(handle, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), this, SLOT(activated_hook(QSystemTrayIcon::ActivationReason))); activated_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), this, SLOT(activated_hook(QSystemTrayIcon::ActivationReason))); } void hook_messageClicked(QHook &hook) { if ( !messageClicked_event.func ) connect(handle, SIGNAL(messageClicked()), this, SLOT(messageClicked_hook())); messageClicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(messageClicked()), this, SLOT(messageClicked_hook())); } private slots: void activated_hook(QSystemTrayIcon::ActivationReason reason) { if ( activated_event.func ) { typedef void (*func_type)(void *data, QSystemTrayIcon::ActivationReason reason); (*(func_type)activated_event.func)(activated_event.data, reason); } } void messageClicked_hook() { if ( messageClicked_event.func ) { typedef void (*func_type)(void *data); (*(func_type)messageClicked_event.func)(messageClicked_event.data); } } private: QHook activated_event; QHook messageClicked_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qwebsecurityorigin_hook.h0000664000212600021260000000140311677135472022160 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QWEBSECURITYORIGIN_HOOK_H #define QWEBSECURITYORIGIN_HOOK_H #include #include "qobject_hook.h" class QWebSecurityOrigin_hook : public QObject_hook { Q_OBJECT public: QWebSecurityOrigin_hook(QObject *handle) : QObject_hook(handle) { } }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkrequest_c.cpp0000664000212600021260000000561411677135472021332 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qnetworkrequest_c.h" QNetworkRequestH QNetworkRequest_create(const QUrlH url) { return (QNetworkRequestH) new QNetworkRequest(*(const QUrl*)url); } void QNetworkRequest_destroy(QNetworkRequestH handle) { delete (QNetworkRequest *)handle; } QNetworkRequestH QNetworkRequest_create2(const QNetworkRequestH other) { return (QNetworkRequestH) new QNetworkRequest(*(const QNetworkRequest*)other); } void QNetworkRequest_url(QNetworkRequestH handle, QUrlH retval) { *(QUrl *)retval = ((QNetworkRequest *)handle)->url(); } void QNetworkRequest_setUrl(QNetworkRequestH handle, const QUrlH url) { ((QNetworkRequest *)handle)->setUrl(*(const QUrl*)url); } void QNetworkRequest_header(QNetworkRequestH handle, QVariantH retval, QNetworkRequest::KnownHeaders header) { *(QVariant *)retval = ((QNetworkRequest *)handle)->header(header); } void QNetworkRequest_setHeader(QNetworkRequestH handle, QNetworkRequest::KnownHeaders header, const QVariantH value) { ((QNetworkRequest *)handle)->setHeader(header, *(const QVariant*)value); } bool QNetworkRequest_hasRawHeader(QNetworkRequestH handle, const QByteArrayH headerName) { return (bool) ((QNetworkRequest *)handle)->hasRawHeader(*(const QByteArray*)headerName); } void QNetworkRequest_rawHeader(QNetworkRequestH handle, QByteArrayH retval, const QByteArrayH headerName) { *(QByteArray *)retval = ((QNetworkRequest *)handle)->rawHeader(*(const QByteArray*)headerName); } void QNetworkRequest_setRawHeader(QNetworkRequestH handle, const QByteArrayH headerName, const QByteArrayH value) { ((QNetworkRequest *)handle)->setRawHeader(*(const QByteArray*)headerName, *(const QByteArray*)value); } void QNetworkRequest_attribute(QNetworkRequestH handle, QVariantH retval, QNetworkRequest::Attribute code, const QVariantH defaultValue) { *(QVariant *)retval = ((QNetworkRequest *)handle)->attribute(code, *(const QVariant*)defaultValue); } void QNetworkRequest_setAttribute(QNetworkRequestH handle, QNetworkRequest::Attribute code, const QVariantH value) { ((QNetworkRequest *)handle)->setAttribute(code, *(const QVariant*)value); } void QNetworkRequest_sslConfiguration(QNetworkRequestH handle, QSslConfigurationH retval) { *(QSslConfiguration *)retval = ((QNetworkRequest *)handle)->sslConfiguration(); } void QNetworkRequest_setSslConfiguration(QNetworkRequestH handle, const QSslConfigurationH configuration) { ((QNetworkRequest *)handle)->setSslConfiguration(*(const QSslConfiguration*)configuration); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtableview_hook_c.h0000664000212600021260000000130111677135472020664 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTABLEVIEW_HOOK_C_H #define QTABLEVIEW_HOOK_C_H #include "qtableview_hook.h" C_EXPORT QTableView_hookH QTableView_hook_create(QObjectH handle); C_EXPORT void QTableView_hook_destroy(QTableView_hookH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdesktopwidget_hook_c.cpp0000664000212600021260000000204311677135472022116 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qdesktopwidget_hook_c.h" QDesktopWidget_hookH QDesktopWidget_hook_create(QObjectH handle) { return (QDesktopWidget_hookH) new QDesktopWidget_hook((QObject*)handle); } void QDesktopWidget_hook_destroy(QDesktopWidget_hookH handle) { delete (QDesktopWidget_hook *)handle; } void QDesktopWidget_hook_hook_resized(QDesktopWidget_hookH handle, QHookH hook) { ((QDesktopWidget_hook *)handle)->hook_resized(hook); } void QDesktopWidget_hook_hook_workAreaResized(QDesktopWidget_hookH handle, QHookH hook) { ((QDesktopWidget_hook *)handle)->hook_workAreaResized(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractitemdelegate_c.h0000664000212600021260000000376411677135472022056 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QABSTRACTITEMDELEGATE_C_H #define QABSTRACTITEMDELEGATE_C_H #include #include "pascalbind.h" C_EXPORT void QAbstractItemDelegate_paint(QAbstractItemDelegateH handle, QPainterH painter, const QStyleOptionViewItemH option, const QModelIndexH index); C_EXPORT void QAbstractItemDelegate_sizeHint(QAbstractItemDelegateH handle, PSize retval, const QStyleOptionViewItemH option, const QModelIndexH index); C_EXPORT QWidgetH QAbstractItemDelegate_createEditor(QAbstractItemDelegateH handle, QWidgetH parent, const QStyleOptionViewItemH option, const QModelIndexH index); C_EXPORT void QAbstractItemDelegate_setEditorData(QAbstractItemDelegateH handle, QWidgetH editor, const QModelIndexH index); C_EXPORT void QAbstractItemDelegate_setModelData(QAbstractItemDelegateH handle, QWidgetH editor, QAbstractItemModelH model, const QModelIndexH index); C_EXPORT void QAbstractItemDelegate_updateEditorGeometry(QAbstractItemDelegateH handle, QWidgetH editor, const QStyleOptionViewItemH option, const QModelIndexH index); C_EXPORT bool QAbstractItemDelegate_editorEvent(QAbstractItemDelegateH handle, QEventH event, QAbstractItemModelH model, const QStyleOptionViewItemH option, const QModelIndexH index); C_EXPORT void QAbstractItemDelegate_elidedText(PWideString retval, const QFontMetricsH fontMetrics, int width, Qt::TextElideMode mode, PWideString text); C_EXPORT bool QAbstractItemDelegate_helpEvent(QAbstractItemDelegateH handle, QHelpEventH event, QAbstractItemViewH view, const QStyleOptionViewItemH option, const QModelIndexH index); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qprinterinfo_c.h0000664000212600021260000000233611677135472020232 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QPRINTERINFO_C_H #define QPRINTERINFO_C_H #include #include "pascalbind.h" C_EXPORT QPrinterInfoH QPrinterInfo_create(); C_EXPORT void QPrinterInfo_destroy(QPrinterInfoH handle); C_EXPORT QPrinterInfoH QPrinterInfo_create2(const QPrinterInfoH src); C_EXPORT QPrinterInfoH QPrinterInfo_create3(const QPrinterH printer); C_EXPORT void QPrinterInfo_printerName(QPrinterInfoH handle, PWideString retval); C_EXPORT bool QPrinterInfo_isNull(QPrinterInfoH handle); C_EXPORT bool QPrinterInfo_isDefault(QPrinterInfoH handle); C_EXPORT void QPrinterInfo_supportedPaperSizes(QPrinterInfoH handle, PPtrIntArray retval); C_EXPORT void QPrinterInfo_availablePrinters(PPtrIntArray retval); C_EXPORT void QPrinterInfo_defaultPrinter(QPrinterInfoH retval); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmdisubwindow_c.h0000664000212600021260000000410311677135472020400 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMDISUBWINDOW_C_H #define QMDISUBWINDOW_C_H #include #include "pascalbind.h" C_EXPORT QMdiSubWindowH QMdiSubWindow_create(QWidgetH parent, unsigned int flags); C_EXPORT void QMdiSubWindow_destroy(QMdiSubWindowH handle); C_EXPORT void QMdiSubWindow_sizeHint(QMdiSubWindowH handle, PSize retval); C_EXPORT void QMdiSubWindow_minimumSizeHint(QMdiSubWindowH handle, PSize retval); C_EXPORT void QMdiSubWindow_setWidget(QMdiSubWindowH handle, QWidgetH widget); C_EXPORT QWidgetH QMdiSubWindow_widget(QMdiSubWindowH handle); C_EXPORT QWidgetH QMdiSubWindow_maximizedButtonsWidget(QMdiSubWindowH handle); C_EXPORT QWidgetH QMdiSubWindow_maximizedSystemMenuIconWidget(QMdiSubWindowH handle); C_EXPORT bool QMdiSubWindow_isShaded(QMdiSubWindowH handle); C_EXPORT void QMdiSubWindow_setOption(QMdiSubWindowH handle, QMdiSubWindow::SubWindowOption option, bool on); C_EXPORT bool QMdiSubWindow_testOption(QMdiSubWindowH handle, QMdiSubWindow::SubWindowOption AnonParam1); C_EXPORT void QMdiSubWindow_setKeyboardSingleStep(QMdiSubWindowH handle, int step); C_EXPORT int QMdiSubWindow_keyboardSingleStep(QMdiSubWindowH handle); C_EXPORT void QMdiSubWindow_setKeyboardPageStep(QMdiSubWindowH handle, int step); C_EXPORT int QMdiSubWindow_keyboardPageStep(QMdiSubWindowH handle); C_EXPORT void QMdiSubWindow_setSystemMenu(QMdiSubWindowH handle, QMenuH systemMenu); C_EXPORT QMenuH QMdiSubWindow_systemMenu(QMdiSubWindowH handle); C_EXPORT QMdiAreaH QMdiSubWindow_mdiArea(QMdiSubWindowH handle); C_EXPORT void QMdiSubWindow_showSystemMenu(QMdiSubWindowH handle); C_EXPORT void QMdiSubWindow_showShaded(QMdiSubWindowH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpaintengine_c.cpp0000664000212600021260000001365511677135472020535 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qpaintengine_c.h" bool QPaintEngine_isActive(QPaintEngineH handle) { return (bool) ((QPaintEngine *)handle)->isActive(); } void QPaintEngine_setActive(QPaintEngineH handle, bool newState) { ((QPaintEngine *)handle)->setActive(newState); } bool QPaintEngine_begin(QPaintEngineH handle, QPaintDeviceH pdev) { return (bool) ((QPaintEngine *)handle)->begin((QPaintDevice*)pdev); } bool QPaintEngine_end(QPaintEngineH handle) { return (bool) ((QPaintEngine *)handle)->end(); } void QPaintEngine_drawRects(QPaintEngineH handle, PRect rects, int rectCount) { QRect t_rects; if ( rects ) copyPRectToQRect(rects, t_rects); ((QPaintEngine *)handle)->drawRects(rects ? &t_rects : NULL, rectCount); } void QPaintEngine_drawRects2(QPaintEngineH handle, const QRectFH rects, int rectCount) { ((QPaintEngine *)handle)->drawRects((const QRectF*)rects, rectCount); } void QPaintEngine_drawLines(QPaintEngineH handle, const QLineH lines, int lineCount) { ((QPaintEngine *)handle)->drawLines((const QLine*)lines, lineCount); } void QPaintEngine_drawLines2(QPaintEngineH handle, const QLineFH lines, int lineCount) { ((QPaintEngine *)handle)->drawLines((const QLineF*)lines, lineCount); } void QPaintEngine_drawEllipse(QPaintEngineH handle, const QRectFH r) { ((QPaintEngine *)handle)->drawEllipse(*(const QRectF*)r); } void QPaintEngine_drawEllipse2(QPaintEngineH handle, PRect r) { QRect t_r; copyPRectToQRect(r, t_r); ((QPaintEngine *)handle)->drawEllipse(t_r); } void QPaintEngine_drawPath(QPaintEngineH handle, const QPainterPathH path) { ((QPaintEngine *)handle)->drawPath(*(const QPainterPath*)path); } void QPaintEngine_drawPoints(QPaintEngineH handle, const QPointFH points, int pointCount) { ((QPaintEngine *)handle)->drawPoints((const QPointF*)points, pointCount); } void QPaintEngine_drawPoints2(QPaintEngineH handle, const QPointH points, int pointCount) { ((QPaintEngine *)handle)->drawPoints((const QPoint*)points, pointCount); } void QPaintEngine_drawPolygon(QPaintEngineH handle, const QPointFH points, int pointCount, QPaintEngine::PolygonDrawMode mode) { ((QPaintEngine *)handle)->drawPolygon((const QPointF*)points, pointCount, mode); } void QPaintEngine_drawPolygon2(QPaintEngineH handle, const QPointH points, int pointCount, QPaintEngine::PolygonDrawMode mode) { ((QPaintEngine *)handle)->drawPolygon((const QPoint*)points, pointCount, mode); } void QPaintEngine_drawPixmap(QPaintEngineH handle, const QRectFH r, const QPixmapH pm, const QRectFH sr) { ((QPaintEngine *)handle)->drawPixmap(*(const QRectF*)r, *(const QPixmap*)pm, *(const QRectF*)sr); } void QPaintEngine_drawTiledPixmap(QPaintEngineH handle, const QRectFH r, const QPixmapH pixmap, const QPointFH s) { ((QPaintEngine *)handle)->drawTiledPixmap(*(const QRectF*)r, *(const QPixmap*)pixmap, *(const QPointF*)s); } void QPaintEngine_drawImage(QPaintEngineH handle, const QRectFH r, const QImageH pm, const QRectFH sr, unsigned int flags) { ((QPaintEngine *)handle)->drawImage(*(const QRectF*)r, *(const QImage*)pm, *(const QRectF*)sr, (Qt::ImageConversionFlags)flags); } void QPaintEngine_setPaintDevice(QPaintEngineH handle, QPaintDeviceH device) { ((QPaintEngine *)handle)->setPaintDevice((QPaintDevice*)device); } QPaintDeviceH QPaintEngine_paintDevice(QPaintEngineH handle) { return (QPaintDeviceH) ((QPaintEngine *)handle)->paintDevice(); } void QPaintEngine_setSystemClip(QPaintEngineH handle, const QRegionH baseClip) { ((QPaintEngine *)handle)->setSystemClip(*(const QRegion*)baseClip); } void QPaintEngine_systemClip(QPaintEngineH handle, QRegionH retval) { *(QRegion *)retval = ((QPaintEngine *)handle)->systemClip(); } void QPaintEngine_setSystemRect(QPaintEngineH handle, PRect rect) { QRect t_rect; copyPRectToQRect(rect, t_rect); ((QPaintEngine *)handle)->setSystemRect(t_rect); } void QPaintEngine_systemRect(QPaintEngineH handle, PRect retval) { QRect t_retval; t_retval = ((QPaintEngine *)handle)->systemRect(); copyQRectToPRect(t_retval, retval); } void QPaintEngine_coordinateOffset(QPaintEngineH handle, PQtPoint retval) { *(QPoint *)retval = ((QPaintEngine *)handle)->coordinateOffset(); } QPaintEngine::Type QPaintEngine_type(QPaintEngineH handle) { return (QPaintEngine::Type) ((QPaintEngine *)handle)->type(); } void QPaintEngine_fix_neg_rect(QPaintEngineH handle, int* x, int* y, int* w, int* h) { ((QPaintEngine *)handle)->fix_neg_rect(x, y, w, h); } bool QPaintEngine_testDirty(QPaintEngineH handle, unsigned int df) { return (bool) ((QPaintEngine *)handle)->testDirty((QPaintEngine::DirtyFlags)df); } void QPaintEngine_setDirty(QPaintEngineH handle, unsigned int df) { ((QPaintEngine *)handle)->setDirty((QPaintEngine::DirtyFlags)df); } void QPaintEngine_clearDirty(QPaintEngineH handle, unsigned int df) { ((QPaintEngine *)handle)->clearDirty((QPaintEngine::DirtyFlags)df); } bool QPaintEngine_hasFeature(QPaintEngineH handle, unsigned int feature) { return (bool) ((QPaintEngine *)handle)->hasFeature((QPaintEngine::PaintEngineFeatures)feature); } QPainterH QPaintEngine_painter(QPaintEngineH handle) { return (QPainterH) ((QPaintEngine *)handle)->painter(); } void QPaintEngine_syncState(QPaintEngineH handle) { ((QPaintEngine *)handle)->syncState(); } bool QPaintEngine_isExtended(QPaintEngineH handle) { return (bool) ((QPaintEngine *)handle)->isExtended(); } #if defined MSWINDOWS HDC QPaintEngine_getDC(QPaintEngineH handle) { return (HDC) ((QPaintEngine *)handle)->getDC(); } void QPaintEngine_releaseDC(QPaintEngineH handle, HDC hdc) { ((QPaintEngine *)handle)->releaseDC(hdc); } #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qclipboard_hook.h0000664000212600021260000000621511677135472020350 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCLIPBOARD_HOOK_H #define QCLIPBOARD_HOOK_H #include #include "qobject_hook.h" class QClipboard_hook : public QObject_hook { Q_OBJECT public: QClipboard_hook(QObject *handle) : QObject_hook(handle) { changed_event.func = NULL; selectionChanged_event.func = NULL; findBufferChanged_event.func = NULL; dataChanged_event.func = NULL; } void hook_changed(QHook &hook) { if ( !changed_event.func ) connect(handle, SIGNAL(changed(QClipboard::Mode)), this, SLOT(changed_hook(QClipboard::Mode))); changed_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(changed(QClipboard::Mode)), this, SLOT(changed_hook(QClipboard::Mode))); } void hook_selectionChanged(QHook &hook) { if ( !selectionChanged_event.func ) connect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); selectionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); } void hook_findBufferChanged(QHook &hook) { if ( !findBufferChanged_event.func ) connect(handle, SIGNAL(findBufferChanged()), this, SLOT(findBufferChanged_hook())); findBufferChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(findBufferChanged()), this, SLOT(findBufferChanged_hook())); } void hook_dataChanged(QHook &hook) { if ( !dataChanged_event.func ) connect(handle, SIGNAL(dataChanged()), this, SLOT(dataChanged_hook())); dataChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(dataChanged()), this, SLOT(dataChanged_hook())); } private slots: void changed_hook(QClipboard::Mode mode) { if ( changed_event.func ) { typedef void (*func_type)(void *data, QClipboard::Mode mode); (*(func_type)changed_event.func)(changed_event.data, mode); } } void selectionChanged_hook() { if ( selectionChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)selectionChanged_event.func)(selectionChanged_event.data); } } void findBufferChanged_hook() { if ( findBufferChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)findBufferChanged_event.func)(findBufferChanged_event.data); } } void dataChanged_hook() { if ( dataChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)dataChanged_event.func)(dataChanged_event.data); } } private: QHook changed_event; QHook selectionChanged_event; QHook findBufferChanged_event; QHook dataChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qobject_c.h0000664000212600021260000000562011677135472017140 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QOBJECT_C_H #define QOBJECT_C_H #include #include "pascalbind.h" C_EXPORT QObjectH QObject_create(QObjectH parent); C_EXPORT void QObject_destroy(QObjectH handle); C_EXPORT bool QObject_event(QObjectH handle, QEventH AnonParam1); C_EXPORT bool QObject_eventFilter(QObjectH handle, QObjectH AnonParam1, QEventH AnonParam2); C_EXPORT void QObject_tr(PWideString retval, const char* sourceText, const char* comment, int n); C_EXPORT void QObject_trUtf8(PWideString retval, const char* sourceText, const char* comment, int n); C_EXPORT const QMetaObjectH QObject_metaObject(QObjectH handle); C_EXPORT void QObject_objectName(QObjectH handle, PWideString retval); C_EXPORT void QObject_setObjectName(QObjectH handle, PWideString name); C_EXPORT bool QObject_isWidgetType(QObjectH handle); C_EXPORT bool QObject_signalsBlocked(QObjectH handle); C_EXPORT bool QObject_blockSignals(QObjectH handle, bool b); C_EXPORT QThreadH QObject_thread(QObjectH handle); C_EXPORT void QObject_moveToThread(QObjectH handle, QThreadH thread); C_EXPORT int QObject_startTimer(QObjectH handle, int interval); C_EXPORT void QObject_killTimer(QObjectH handle, int id); C_EXPORT void QObject_children(QObjectH handle, PPtrIntArray retval); C_EXPORT void QObject_setParent(QObjectH handle, QObjectH AnonParam1); C_EXPORT void QObject_installEventFilter(QObjectH handle, QObjectH AnonParam1); C_EXPORT void QObject_removeEventFilter(QObjectH handle, QObjectH AnonParam1); C_EXPORT bool QObject_connect(const QObjectH sender, const char* signal, const QObjectH receiver, const char* member, Qt::ConnectionType AnonParam5); C_EXPORT bool QObject_connect2(QObjectH handle, const QObjectH sender, const char* signal, const char* member, Qt::ConnectionType type); C_EXPORT bool QObject_disconnect(const QObjectH sender, const char* signal, const QObjectH receiver, const char* member); C_EXPORT bool QObject_disconnect3(QObjectH handle, const QObjectH receiver, const char* member); C_EXPORT void QObject_dumpObjectTree(QObjectH handle); C_EXPORT void QObject_dumpObjectInfo(QObjectH handle); C_EXPORT bool QObject_setProperty(QObjectH handle, const char* name, const QVariantH value); C_EXPORT void QObject_property(QObjectH handle, QVariantH retval, const char* name); C_EXPORT uint QObject_registerUserData(); C_EXPORT QObjectH QObject_parent(QObjectH handle); C_EXPORT bool QObject_inherits(QObjectH handle, const char* classname); C_EXPORT void QObject_deleteLater(QObjectH handle); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbox_c.cpp0000664000212600021260000000743511677135472017721 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtoolbox_c.h" QToolBoxH QToolBox_create(QWidgetH parent, unsigned int f) { return (QToolBoxH) new QToolBox((QWidget*)parent, (Qt::WindowFlags)f); } void QToolBox_destroy(QToolBoxH handle) { delete (QToolBox *)handle; } int QToolBox_addItem(QToolBoxH handle, QWidgetH widget, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (int) ((QToolBox *)handle)->addItem((QWidget*)widget, t_text); } int QToolBox_addItem2(QToolBoxH handle, QWidgetH widget, const QIconH icon, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (int) ((QToolBox *)handle)->addItem((QWidget*)widget, *(const QIcon*)icon, t_text); } int QToolBox_insertItem(QToolBoxH handle, int index, QWidgetH widget, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (int) ((QToolBox *)handle)->insertItem(index, (QWidget*)widget, t_text); } int QToolBox_insertItem2(QToolBoxH handle, int index, QWidgetH widget, const QIconH icon, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (int) ((QToolBox *)handle)->insertItem(index, (QWidget*)widget, *(const QIcon*)icon, t_text); } void QToolBox_removeItem(QToolBoxH handle, int index) { ((QToolBox *)handle)->removeItem(index); } void QToolBox_setItemEnabled(QToolBoxH handle, int index, bool enabled) { ((QToolBox *)handle)->setItemEnabled(index, enabled); } bool QToolBox_isItemEnabled(QToolBoxH handle, int index) { return (bool) ((QToolBox *)handle)->isItemEnabled(index); } void QToolBox_setItemText(QToolBoxH handle, int index, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QToolBox *)handle)->setItemText(index, t_text); } void QToolBox_itemText(QToolBoxH handle, PWideString retval, int index) { QString t_retval; t_retval = ((QToolBox *)handle)->itemText(index); copyQStringToPWideString(t_retval, retval); } void QToolBox_setItemIcon(QToolBoxH handle, int index, const QIconH icon) { ((QToolBox *)handle)->setItemIcon(index, *(const QIcon*)icon); } void QToolBox_itemIcon(QToolBoxH handle, QIconH retval, int index) { *(QIcon *)retval = ((QToolBox *)handle)->itemIcon(index); } void QToolBox_setItemToolTip(QToolBoxH handle, int index, PWideString toolTip) { QString t_toolTip; copyPWideStringToQString(toolTip, t_toolTip); ((QToolBox *)handle)->setItemToolTip(index, t_toolTip); } void QToolBox_itemToolTip(QToolBoxH handle, PWideString retval, int index) { QString t_retval; t_retval = ((QToolBox *)handle)->itemToolTip(index); copyQStringToPWideString(t_retval, retval); } int QToolBox_currentIndex(QToolBoxH handle) { return (int) ((QToolBox *)handle)->currentIndex(); } QWidgetH QToolBox_currentWidget(QToolBoxH handle) { return (QWidgetH) ((QToolBox *)handle)->currentWidget(); } QWidgetH QToolBox_widget(QToolBoxH handle, int index) { return (QWidgetH) ((QToolBox *)handle)->widget(index); } int QToolBox_indexOf(QToolBoxH handle, QWidgetH widget) { return (int) ((QToolBox *)handle)->indexOf((QWidget*)widget); } int QToolBox_count(QToolBoxH handle) { return (int) ((QToolBox *)handle)->count(); } void QToolBox_setCurrentIndex(QToolBoxH handle, int index) { ((QToolBox *)handle)->setCurrentIndex(index); } void QToolBox_setCurrentWidget(QToolBoxH handle, QWidgetH widget) { ((QToolBox *)handle)->setCurrentWidget((QWidget*)widget); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextobject_c.cpp0000664000212600021260000001567011677135472020406 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtextobject_c.h" void QTextObject_format(QTextObjectH handle, QTextFormatH retval) { *(QTextFormat *)retval = ((QTextObject *)handle)->format(); } int QTextObject_formatIndex(QTextObjectH handle) { return (int) ((QTextObject *)handle)->formatIndex(); } QTextDocumentH QTextObject_document(QTextObjectH handle) { return (QTextDocumentH) ((QTextObject *)handle)->document(); } int QTextObject_objectIndex(QTextObjectH handle) { return (int) ((QTextObject *)handle)->objectIndex(); } QTextFrameH QTextFrame_create(QTextDocumentH doc) { return (QTextFrameH) new QTextFrame((QTextDocument*)doc); } void QTextFrame_destroy(QTextFrameH handle) { delete (QTextFrame *)handle; } void QTextFrame_setFrameFormat(QTextFrameH handle, const QTextFrameFormatH format) { ((QTextFrame *)handle)->setFrameFormat(*(const QTextFrameFormat*)format); } void QTextFrame_frameFormat(QTextFrameH handle, QTextFrameFormatH retval) { *(QTextFrameFormat *)retval = ((QTextFrame *)handle)->frameFormat(); } void QTextFrame_firstCursorPosition(QTextFrameH handle, QTextCursorH retval) { *(QTextCursor *)retval = ((QTextFrame *)handle)->firstCursorPosition(); } void QTextFrame_lastCursorPosition(QTextFrameH handle, QTextCursorH retval) { *(QTextCursor *)retval = ((QTextFrame *)handle)->lastCursorPosition(); } int QTextFrame_firstPosition(QTextFrameH handle) { return (int) ((QTextFrame *)handle)->firstPosition(); } int QTextFrame_lastPosition(QTextFrameH handle) { return (int) ((QTextFrame *)handle)->lastPosition(); } void QTextFrame_childFrames(QTextFrameH handle, PPtrIntArray retval) { QList t_retval; t_retval = ((QTextFrame *)handle)->childFrames(); copyQListTemplateToPtrIntArray(t_retval, retval); } QTextFrameH QTextFrame_parentFrame(QTextFrameH handle) { return (QTextFrameH) ((QTextFrame *)handle)->parentFrame(); } QTextBlockH QTextBlock_create() { return (QTextBlockH) new QTextBlock(); } void QTextBlock_destroy(QTextBlockH handle) { delete (QTextBlock *)handle; } QTextBlockH QTextBlock_create2(const QTextBlockH o) { return (QTextBlockH) new QTextBlock(*(const QTextBlock*)o); } bool QTextBlock_isValid(QTextBlockH handle) { return (bool) ((QTextBlock *)handle)->isValid(); } int QTextBlock_position(QTextBlockH handle) { return (int) ((QTextBlock *)handle)->position(); } int QTextBlock_length(QTextBlockH handle) { return (int) ((QTextBlock *)handle)->length(); } bool QTextBlock_contains(QTextBlockH handle, int position) { return (bool) ((QTextBlock *)handle)->contains(position); } QTextLayoutH QTextBlock_layout(QTextBlockH handle) { return (QTextLayoutH) ((QTextBlock *)handle)->layout(); } void QTextBlock_clearLayout(QTextBlockH handle) { ((QTextBlock *)handle)->clearLayout(); } void QTextBlock_blockFormat(QTextBlockH handle, QTextBlockFormatH retval) { *(QTextBlockFormat *)retval = ((QTextBlock *)handle)->blockFormat(); } int QTextBlock_blockFormatIndex(QTextBlockH handle) { return (int) ((QTextBlock *)handle)->blockFormatIndex(); } void QTextBlock_charFormat(QTextBlockH handle, QTextCharFormatH retval) { *(QTextCharFormat *)retval = ((QTextBlock *)handle)->charFormat(); } int QTextBlock_charFormatIndex(QTextBlockH handle) { return (int) ((QTextBlock *)handle)->charFormatIndex(); } void QTextBlock_text(QTextBlockH handle, PWideString retval) { QString t_retval; t_retval = ((QTextBlock *)handle)->text(); copyQStringToPWideString(t_retval, retval); } const QTextDocumentH QTextBlock_document(QTextBlockH handle) { return (const QTextDocumentH) ((QTextBlock *)handle)->document(); } QTextListH QTextBlock_textList(QTextBlockH handle) { return (QTextListH) ((QTextBlock *)handle)->textList(); } QTextBlockUserDataH QTextBlock_userData(QTextBlockH handle) { return (QTextBlockUserDataH) ((QTextBlock *)handle)->userData(); } void QTextBlock_setUserData(QTextBlockH handle, QTextBlockUserDataH data) { ((QTextBlock *)handle)->setUserData((QTextBlockUserData*)data); } int QTextBlock_userState(QTextBlockH handle) { return (int) ((QTextBlock *)handle)->userState(); } void QTextBlock_setUserState(QTextBlockH handle, int state) { ((QTextBlock *)handle)->setUserState(state); } int QTextBlock_revision(QTextBlockH handle) { return (int) ((QTextBlock *)handle)->revision(); } void QTextBlock_setRevision(QTextBlockH handle, int rev) { ((QTextBlock *)handle)->setRevision(rev); } bool QTextBlock_isVisible(QTextBlockH handle) { return (bool) ((QTextBlock *)handle)->isVisible(); } void QTextBlock_setVisible(QTextBlockH handle, bool visible) { ((QTextBlock *)handle)->setVisible(visible); } int QTextBlock_blockNumber(QTextBlockH handle) { return (int) ((QTextBlock *)handle)->blockNumber(); } int QTextBlock_firstLineNumber(QTextBlockH handle) { return (int) ((QTextBlock *)handle)->firstLineNumber(); } void QTextBlock_setLineCount(QTextBlockH handle, int count) { ((QTextBlock *)handle)->setLineCount(count); } int QTextBlock_lineCount(QTextBlockH handle) { return (int) ((QTextBlock *)handle)->lineCount(); } void QTextBlock_next(QTextBlockH handle, QTextBlockH retval) { *(QTextBlock *)retval = ((QTextBlock *)handle)->next(); } void QTextBlock_previous(QTextBlockH handle, QTextBlockH retval) { *(QTextBlock *)retval = ((QTextBlock *)handle)->previous(); } int QTextBlock_fragmentIndex(QTextBlockH handle) { return (int) ((QTextBlock *)handle)->fragmentIndex(); } QTextFragmentH QTextFragment_create() { return (QTextFragmentH) new QTextFragment(); } void QTextFragment_destroy(QTextFragmentH handle) { delete (QTextFragment *)handle; } QTextFragmentH QTextFragment_create2(const QTextFragmentH o) { return (QTextFragmentH) new QTextFragment(*(const QTextFragment*)o); } bool QTextFragment_isValid(QTextFragmentH handle) { return (bool) ((QTextFragment *)handle)->isValid(); } int QTextFragment_position(QTextFragmentH handle) { return (int) ((QTextFragment *)handle)->position(); } int QTextFragment_length(QTextFragmentH handle) { return (int) ((QTextFragment *)handle)->length(); } bool QTextFragment_contains(QTextFragmentH handle, int position) { return (bool) ((QTextFragment *)handle)->contains(position); } void QTextFragment_charFormat(QTextFragmentH handle, QTextCharFormatH retval) { *(QTextCharFormat *)retval = ((QTextFragment *)handle)->charFormat(); } int QTextFragment_charFormatIndex(QTextFragmentH handle) { return (int) ((QTextFragment *)handle)->charFormatIndex(); } void QTextFragment_text(QTextFragmentH handle, PWideString retval) { QString t_retval; t_retval = ((QTextFragment *)handle)->text(); copyQStringToPWideString(t_retval, retval); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcalendarwidget_hook.h0000664000212600021260000000651611677135472021372 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCALENDARWIDGET_HOOK_H #define QCALENDARWIDGET_HOOK_H #include #include "qwidget_hook.h" class QCalendarWidget_hook : public QWidget_hook { Q_OBJECT public: QCalendarWidget_hook(QObject *handle) : QWidget_hook(handle) { selectionChanged_event.func = NULL; clicked_event.func = NULL; activated_event.func = NULL; currentPageChanged_event.func = NULL; } void hook_selectionChanged(QHook &hook) { if ( !selectionChanged_event.func ) connect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); selectionChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(selectionChanged()), this, SLOT(selectionChanged_hook())); } void hook_clicked(QHook &hook) { if ( !clicked_event.func ) connect(handle, SIGNAL(clicked(const QDate&)), this, SLOT(clicked_hook(const QDate&))); clicked_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(clicked(const QDate&)), this, SLOT(clicked_hook(const QDate&))); } void hook_activated(QHook &hook) { if ( !activated_event.func ) connect(handle, SIGNAL(activated(const QDate&)), this, SLOT(activated_hook(const QDate&))); activated_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(activated(const QDate&)), this, SLOT(activated_hook(const QDate&))); } void hook_currentPageChanged(QHook &hook) { if ( !currentPageChanged_event.func ) connect(handle, SIGNAL(currentPageChanged(int, int)), this, SLOT(currentPageChanged_hook(int, int))); currentPageChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(currentPageChanged(int, int)), this, SLOT(currentPageChanged_hook(int, int))); } private slots: void selectionChanged_hook() { if ( selectionChanged_event.func ) { typedef void (*func_type)(void *data); (*(func_type)selectionChanged_event.func)(selectionChanged_event.data); } } void clicked_hook(const QDate& date) { if ( clicked_event.func ) { typedef void (*func_type)(void *data, const QDateH date); (*(func_type)clicked_event.func)(clicked_event.data, (const QDateH)&date); } } void activated_hook(const QDate& date) { if ( activated_event.func ) { typedef void (*func_type)(void *data, const QDateH date); (*(func_type)activated_event.func)(activated_event.data, (const QDateH)&date); } } void currentPageChanged_hook(int year, int month) { if ( currentPageChanged_event.func ) { typedef void (*func_type)(void *data, int year, int month); (*(func_type)currentPageChanged_event.func)(currentPageChanged_event.data, year, month); } } private: QHook selectionChanged_event; QHook clicked_event; QHook activated_event; QHook currentPageChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtoolbutton_hook.h0000664000212600021260000000261311677135472020620 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QTOOLBUTTON_HOOK_H #define QTOOLBUTTON_HOOK_H #include #include "qabstractbutton_hook.h" class QToolButton_hook : public QAbstractButton_hook { Q_OBJECT public: QToolButton_hook(QObject *handle) : QAbstractButton_hook(handle) { triggered_event.func = NULL; } void hook_triggered(QHook &hook) { if ( !triggered_event.func ) connect(handle, SIGNAL(triggered(QAction*)), this, SLOT(triggered_hook(QAction*))); triggered_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(triggered(QAction*)), this, SLOT(triggered_hook(QAction*))); } private slots: void triggered_hook(QAction* AnonParam1) { if ( triggered_event.func ) { typedef void (*func_type)(void *data, QActionH AnonParam1); (*(func_type)triggered_event.func)(triggered_event.data, (QActionH)AnonParam1); } } private: QHook triggered_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qx11info_x11_c.h0000664000212600021260000000402211677135472017643 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QX11INFO_X11_C_H #define QX11INFO_X11_C_H #include #include #include "pascalbind.h" #if defined BINUX C_EXPORT QX11InfoH QX11Info_create(); C_EXPORT void QX11Info_destroy(QX11InfoH handle); C_EXPORT QX11InfoH QX11Info_create2(const QX11InfoH other); C_EXPORT Display* QX11Info_display(); C_EXPORT const char* QX11Info_appClass(); C_EXPORT int QX11Info_screen(QX11InfoH handle); C_EXPORT int QX11Info_depth(QX11InfoH handle); C_EXPORT int QX11Info_cells(QX11InfoH handle); C_EXPORT Qt::HANDLE QX11Info_colormap(QX11InfoH handle); C_EXPORT bool QX11Info_defaultColormap(QX11InfoH handle); C_EXPORT void* QX11Info_visual(QX11InfoH handle); C_EXPORT bool QX11Info_defaultVisual(QX11InfoH handle); C_EXPORT int QX11Info_appScreen(); C_EXPORT int QX11Info_appDepth(int screen); C_EXPORT int QX11Info_appCells(int screen); C_EXPORT Qt::HANDLE QX11Info_appColormap(int screen); C_EXPORT void* QX11Info_appVisual(int screen); C_EXPORT Qt::HANDLE QX11Info_appRootWindow(int screen); C_EXPORT bool QX11Info_appDefaultColormap(int screen); C_EXPORT bool QX11Info_appDefaultVisual(int screen); C_EXPORT int QX11Info_appDpiX(int screen); C_EXPORT int QX11Info_appDpiY(int screen); C_EXPORT void QX11Info_setAppDpiX(int screen, int dpi); C_EXPORT void QX11Info_setAppDpiY(int screen, int dpi); C_EXPORT unsigned long QX11Info_appTime(); C_EXPORT unsigned long QX11Info_appUserTime(); C_EXPORT void QX11Info_setAppTime(unsigned long time); C_EXPORT void QX11Info_setAppUserTime(unsigned long time); C_EXPORT bool QX11Info_isCompositingManagerRunning(); #endif #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtextlayout_c.cpp0000664000212600021260000002322611677135472020451 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtextlayout_c.h" QTextInlineObjectH QTextInlineObject_create() { return (QTextInlineObjectH) new QTextInlineObject(); } void QTextInlineObject_destroy(QTextInlineObjectH handle) { delete (QTextInlineObject *)handle; } bool QTextInlineObject_isValid(QTextInlineObjectH handle) { return (bool) ((QTextInlineObject *)handle)->isValid(); } void QTextInlineObject_rect(QTextInlineObjectH handle, QRectFH retval) { *(QRectF *)retval = ((QTextInlineObject *)handle)->rect(); } qreal QTextInlineObject_width(QTextInlineObjectH handle) { return (qreal) ((QTextInlineObject *)handle)->width(); } qreal QTextInlineObject_ascent(QTextInlineObjectH handle) { return (qreal) ((QTextInlineObject *)handle)->ascent(); } qreal QTextInlineObject_descent(QTextInlineObjectH handle) { return (qreal) ((QTextInlineObject *)handle)->descent(); } qreal QTextInlineObject_height(QTextInlineObjectH handle) { return (qreal) ((QTextInlineObject *)handle)->height(); } Qt::LayoutDirection QTextInlineObject_textDirection(QTextInlineObjectH handle) { return (Qt::LayoutDirection) ((QTextInlineObject *)handle)->textDirection(); } void QTextInlineObject_setWidth(QTextInlineObjectH handle, qreal w) { ((QTextInlineObject *)handle)->setWidth(w); } void QTextInlineObject_setAscent(QTextInlineObjectH handle, qreal a) { ((QTextInlineObject *)handle)->setAscent(a); } void QTextInlineObject_setDescent(QTextInlineObjectH handle, qreal d) { ((QTextInlineObject *)handle)->setDescent(d); } int QTextInlineObject_textPosition(QTextInlineObjectH handle) { return (int) ((QTextInlineObject *)handle)->textPosition(); } int QTextInlineObject_formatIndex(QTextInlineObjectH handle) { return (int) ((QTextInlineObject *)handle)->formatIndex(); } void QTextInlineObject_format(QTextInlineObjectH handle, QTextFormatH retval) { *(QTextFormat *)retval = ((QTextInlineObject *)handle)->format(); } QTextLayoutH QTextLayout_create() { return (QTextLayoutH) new QTextLayout(); } void QTextLayout_destroy(QTextLayoutH handle) { delete (QTextLayout *)handle; } QTextLayoutH QTextLayout_create2(PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); return (QTextLayoutH) new QTextLayout(t_text); } QTextLayoutH QTextLayout_create3(PWideString text, const QFontH font, QPaintDeviceH paintdevice) { QString t_text; copyPWideStringToQString(text, t_text); return (QTextLayoutH) new QTextLayout(t_text, *(const QFont*)font, (QPaintDevice*)paintdevice); } QTextLayoutH QTextLayout_create4(const QTextBlockH b) { return (QTextLayoutH) new QTextLayout(*(const QTextBlock*)b); } void QTextLayout_setFont(QTextLayoutH handle, const QFontH f) { ((QTextLayout *)handle)->setFont(*(const QFont*)f); } void QTextLayout_font(QTextLayoutH handle, QFontH retval) { *(QFont *)retval = ((QTextLayout *)handle)->font(); } void QTextLayout_setText(QTextLayoutH handle, PWideString string) { QString t_string; copyPWideStringToQString(string, t_string); ((QTextLayout *)handle)->setText(t_string); } void QTextLayout_text(QTextLayoutH handle, PWideString retval) { QString t_retval; t_retval = ((QTextLayout *)handle)->text(); copyQStringToPWideString(t_retval, retval); } void QTextLayout_setTextOption(QTextLayoutH handle, const QTextOptionH option) { ((QTextLayout *)handle)->setTextOption(*(const QTextOption*)option); } void QTextLayout_textOption(QTextLayoutH handle, QTextOptionH retval) { *(QTextOption *)retval = ((QTextLayout *)handle)->textOption(); } void QTextLayout_setPreeditArea(QTextLayoutH handle, int position, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QTextLayout *)handle)->setPreeditArea(position, t_text); } int QTextLayout_preeditAreaPosition(QTextLayoutH handle) { return (int) ((QTextLayout *)handle)->preeditAreaPosition(); } void QTextLayout_preeditAreaText(QTextLayoutH handle, PWideString retval) { QString t_retval; t_retval = ((QTextLayout *)handle)->preeditAreaText(); copyQStringToPWideString(t_retval, retval); } void QTextLayout_clearAdditionalFormats(QTextLayoutH handle) { ((QTextLayout *)handle)->clearAdditionalFormats(); } void QTextLayout_setCacheEnabled(QTextLayoutH handle, bool enable) { ((QTextLayout *)handle)->setCacheEnabled(enable); } bool QTextLayout_cacheEnabled(QTextLayoutH handle) { return (bool) ((QTextLayout *)handle)->cacheEnabled(); } void QTextLayout_beginLayout(QTextLayoutH handle) { ((QTextLayout *)handle)->beginLayout(); } void QTextLayout_endLayout(QTextLayoutH handle) { ((QTextLayout *)handle)->endLayout(); } void QTextLayout_clearLayout(QTextLayoutH handle) { ((QTextLayout *)handle)->clearLayout(); } void QTextLayout_createLine(QTextLayoutH handle, QTextLineH retval) { *(QTextLine *)retval = ((QTextLayout *)handle)->createLine(); } int QTextLayout_lineCount(QTextLayoutH handle) { return (int) ((QTextLayout *)handle)->lineCount(); } void QTextLayout_lineAt(QTextLayoutH handle, QTextLineH retval, int i) { *(QTextLine *)retval = ((QTextLayout *)handle)->lineAt(i); } void QTextLayout_lineForTextPosition(QTextLayoutH handle, QTextLineH retval, int pos) { *(QTextLine *)retval = ((QTextLayout *)handle)->lineForTextPosition(pos); } bool QTextLayout_isValidCursorPosition(QTextLayoutH handle, int pos) { return (bool) ((QTextLayout *)handle)->isValidCursorPosition(pos); } int QTextLayout_nextCursorPosition(QTextLayoutH handle, int oldPos, QTextLayout::CursorMode mode) { return (int) ((QTextLayout *)handle)->nextCursorPosition(oldPos, mode); } int QTextLayout_previousCursorPosition(QTextLayoutH handle, int oldPos, QTextLayout::CursorMode mode) { return (int) ((QTextLayout *)handle)->previousCursorPosition(oldPos, mode); } void QTextLayout_drawCursor(QTextLayoutH handle, QPainterH p, const QPointFH pos, int cursorPosition) { ((QTextLayout *)handle)->drawCursor((QPainter*)p, *(const QPointF*)pos, cursorPosition); } void QTextLayout_drawCursor2(QTextLayoutH handle, QPainterH p, const QPointFH pos, int cursorPosition, int width) { ((QTextLayout *)handle)->drawCursor((QPainter*)p, *(const QPointF*)pos, cursorPosition, width); } void QTextLayout_position(QTextLayoutH handle, PQtPointF retval) { *(QPointF *)retval = ((QTextLayout *)handle)->position(); } void QTextLayout_setPosition(QTextLayoutH handle, const QPointFH p) { ((QTextLayout *)handle)->setPosition(*(const QPointF*)p); } void QTextLayout_boundingRect(QTextLayoutH handle, QRectFH retval) { *(QRectF *)retval = ((QTextLayout *)handle)->boundingRect(); } qreal QTextLayout_minimumWidth(QTextLayoutH handle) { return (qreal) ((QTextLayout *)handle)->minimumWidth(); } qreal QTextLayout_maximumWidth(QTextLayoutH handle) { return (qreal) ((QTextLayout *)handle)->maximumWidth(); } void QTextLayout_setFlags(QTextLayoutH handle, int flags) { ((QTextLayout *)handle)->setFlags(flags); } QTextLineH QTextLine_create() { return (QTextLineH) new QTextLine(); } void QTextLine_destroy(QTextLineH handle) { delete (QTextLine *)handle; } bool QTextLine_isValid(QTextLineH handle) { return (bool) ((QTextLine *)handle)->isValid(); } void QTextLine_rect(QTextLineH handle, QRectFH retval) { *(QRectF *)retval = ((QTextLine *)handle)->rect(); } qreal QTextLine_x(QTextLineH handle) { return (qreal) ((QTextLine *)handle)->x(); } qreal QTextLine_y(QTextLineH handle) { return (qreal) ((QTextLine *)handle)->y(); } qreal QTextLine_width(QTextLineH handle) { return (qreal) ((QTextLine *)handle)->width(); } qreal QTextLine_ascent(QTextLineH handle) { return (qreal) ((QTextLine *)handle)->ascent(); } qreal QTextLine_descent(QTextLineH handle) { return (qreal) ((QTextLine *)handle)->descent(); } qreal QTextLine_height(QTextLineH handle) { return (qreal) ((QTextLine *)handle)->height(); } qreal QTextLine_naturalTextWidth(QTextLineH handle) { return (qreal) ((QTextLine *)handle)->naturalTextWidth(); } void QTextLine_naturalTextRect(QTextLineH handle, QRectFH retval) { *(QRectF *)retval = ((QTextLine *)handle)->naturalTextRect(); } qreal QTextLine_cursorToX(QTextLineH handle, int* cursorPos, QTextLine::Edge edge) { return (qreal) ((QTextLine *)handle)->cursorToX(cursorPos, edge); } qreal QTextLine_cursorToX2(QTextLineH handle, int cursorPos, QTextLine::Edge edge) { return (qreal) ((QTextLine *)handle)->cursorToX(cursorPos, edge); } int QTextLine_xToCursor(QTextLineH handle, qreal x, QTextLine::CursorPosition AnonParam2) { return (int) ((QTextLine *)handle)->xToCursor(x, AnonParam2); } void QTextLine_setLineWidth(QTextLineH handle, qreal width) { ((QTextLine *)handle)->setLineWidth(width); } void QTextLine_setNumColumns(QTextLineH handle, int columns) { ((QTextLine *)handle)->setNumColumns(columns); } void QTextLine_setNumColumns2(QTextLineH handle, int columns, qreal alignmentWidth) { ((QTextLine *)handle)->setNumColumns(columns, alignmentWidth); } void QTextLine_setPosition(QTextLineH handle, const QPointFH pos) { ((QTextLine *)handle)->setPosition(*(const QPointF*)pos); } void QTextLine_position(QTextLineH handle, PQtPointF retval) { *(QPointF *)retval = ((QTextLine *)handle)->position(); } int QTextLine_textStart(QTextLineH handle) { return (int) ((QTextLine *)handle)->textStart(); } int QTextLine_textLength(QTextLineH handle) { return (int) ((QTextLine *)handle)->textLength(); } int QTextLine_lineNumber(QTextLineH handle) { return (int) ((QTextLine *)handle)->lineNumber(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractbutton_c.cpp0000664000212600021260000000767211677135472021275 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractbutton_c.h" void QAbstractButton_setText(QAbstractButtonH handle, PWideString text) { QString t_text; copyPWideStringToQString(text, t_text); ((QAbstractButton *)handle)->setText(t_text); } void QAbstractButton_text(QAbstractButtonH handle, PWideString retval) { QString t_retval; t_retval = ((QAbstractButton *)handle)->text(); copyQStringToPWideString(t_retval, retval); } void QAbstractButton_setIcon(QAbstractButtonH handle, const QIconH icon) { ((QAbstractButton *)handle)->setIcon(*(const QIcon*)icon); } void QAbstractButton_icon(QAbstractButtonH handle, QIconH retval) { *(QIcon *)retval = ((QAbstractButton *)handle)->icon(); } void QAbstractButton_iconSize(QAbstractButtonH handle, PSize retval) { *(QSize *)retval = ((QAbstractButton *)handle)->iconSize(); } void QAbstractButton_setShortcut(QAbstractButtonH handle, const QKeySequenceH key) { ((QAbstractButton *)handle)->setShortcut(*(const QKeySequence*)key); } void QAbstractButton_shortcut(QAbstractButtonH handle, QKeySequenceH retval) { *(QKeySequence *)retval = ((QAbstractButton *)handle)->shortcut(); } void QAbstractButton_setCheckable(QAbstractButtonH handle, bool AnonParam1) { ((QAbstractButton *)handle)->setCheckable(AnonParam1); } bool QAbstractButton_isCheckable(QAbstractButtonH handle) { return (bool) ((QAbstractButton *)handle)->isCheckable(); } bool QAbstractButton_isChecked(QAbstractButtonH handle) { return (bool) ((QAbstractButton *)handle)->isChecked(); } void QAbstractButton_setDown(QAbstractButtonH handle, bool AnonParam1) { ((QAbstractButton *)handle)->setDown(AnonParam1); } bool QAbstractButton_isDown(QAbstractButtonH handle) { return (bool) ((QAbstractButton *)handle)->isDown(); } void QAbstractButton_setAutoRepeat(QAbstractButtonH handle, bool AnonParam1) { ((QAbstractButton *)handle)->setAutoRepeat(AnonParam1); } bool QAbstractButton_autoRepeat(QAbstractButtonH handle) { return (bool) ((QAbstractButton *)handle)->autoRepeat(); } void QAbstractButton_setAutoRepeatDelay(QAbstractButtonH handle, int AnonParam1) { ((QAbstractButton *)handle)->setAutoRepeatDelay(AnonParam1); } int QAbstractButton_autoRepeatDelay(QAbstractButtonH handle) { return (int) ((QAbstractButton *)handle)->autoRepeatDelay(); } void QAbstractButton_setAutoRepeatInterval(QAbstractButtonH handle, int AnonParam1) { ((QAbstractButton *)handle)->setAutoRepeatInterval(AnonParam1); } int QAbstractButton_autoRepeatInterval(QAbstractButtonH handle) { return (int) ((QAbstractButton *)handle)->autoRepeatInterval(); } void QAbstractButton_setAutoExclusive(QAbstractButtonH handle, bool AnonParam1) { ((QAbstractButton *)handle)->setAutoExclusive(AnonParam1); } bool QAbstractButton_autoExclusive(QAbstractButtonH handle) { return (bool) ((QAbstractButton *)handle)->autoExclusive(); } QButtonGroupH QAbstractButton_group(QAbstractButtonH handle) { return (QButtonGroupH) ((QAbstractButton *)handle)->group(); } void QAbstractButton_setIconSize(QAbstractButtonH handle, const QSizeH size) { ((QAbstractButton *)handle)->setIconSize(*(const QSize*)size); } void QAbstractButton_animateClick(QAbstractButtonH handle, int msec) { ((QAbstractButton *)handle)->animateClick(msec); } void QAbstractButton_click(QAbstractButtonH handle) { ((QAbstractButton *)handle)->click(); } void QAbstractButton_toggle(QAbstractButtonH handle) { ((QAbstractButton *)handle)->toggle(); } void QAbstractButton_setChecked(QAbstractButtonH handle, bool AnonParam1) { ((QAbstractButton *)handle)->setChecked(AnonParam1); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qmdisubwindow_hook_c.h0000664000212600021260000000163111677135472021423 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QMDISUBWINDOW_HOOK_C_H #define QMDISUBWINDOW_HOOK_C_H #include "qmdisubwindow_hook.h" C_EXPORT QMdiSubWindow_hookH QMdiSubWindow_hook_create(QObjectH handle); C_EXPORT void QMdiSubWindow_hook_destroy(QMdiSubWindow_hookH handle); C_EXPORT void QMdiSubWindow_hook_hook_windowStateChanged(QMdiSubWindow_hookH handle, QHookH hook); C_EXPORT void QMdiSubWindow_hook_hook_aboutToActivate(QMdiSubWindow_hookH handle, QHookH hook); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qnetworkaccessmanager_c.h0000664000212600021260000000445111677135472022101 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QNETWORKACCESSMANAGER_C_H #define QNETWORKACCESSMANAGER_C_H #include #include "pascalbind.h" C_EXPORT QNetworkAccessManagerH QNetworkAccessManager_create(QObjectH parent); C_EXPORT void QNetworkAccessManager_destroy(QNetworkAccessManagerH handle); C_EXPORT void QNetworkAccessManager_proxy(QNetworkAccessManagerH handle, QNetworkProxyH retval); C_EXPORT void QNetworkAccessManager_setProxy(QNetworkAccessManagerH handle, const QNetworkProxyH proxy); C_EXPORT QNetworkProxyFactoryH QNetworkAccessManager_proxyFactory(QNetworkAccessManagerH handle); C_EXPORT void QNetworkAccessManager_setProxyFactory(QNetworkAccessManagerH handle, QNetworkProxyFactoryH factory); C_EXPORT QAbstractNetworkCacheH QNetworkAccessManager_cache(QNetworkAccessManagerH handle); C_EXPORT void QNetworkAccessManager_setCache(QNetworkAccessManagerH handle, QAbstractNetworkCacheH cache); C_EXPORT QNetworkCookieJarH QNetworkAccessManager_cookieJar(QNetworkAccessManagerH handle); C_EXPORT void QNetworkAccessManager_setCookieJar(QNetworkAccessManagerH handle, QNetworkCookieJarH cookieJar); C_EXPORT QNetworkReplyH QNetworkAccessManager_head(QNetworkAccessManagerH handle, const QNetworkRequestH request); C_EXPORT QNetworkReplyH QNetworkAccessManager_get(QNetworkAccessManagerH handle, const QNetworkRequestH request); C_EXPORT QNetworkReplyH QNetworkAccessManager_post(QNetworkAccessManagerH handle, const QNetworkRequestH request, QIODeviceH data); C_EXPORT QNetworkReplyH QNetworkAccessManager_post2(QNetworkAccessManagerH handle, const QNetworkRequestH request, const QByteArrayH data); C_EXPORT QNetworkReplyH QNetworkAccessManager_put(QNetworkAccessManagerH handle, const QNetworkRequestH request, QIODeviceH data); C_EXPORT QNetworkReplyH QNetworkAccessManager_put2(QNetworkAccessManagerH handle, const QNetworkRequestH request, const QByteArrayH data); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qpalette_c.cpp0000664000212600021260000001643711677135472017673 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qpalette_c.h" QPaletteH QPalette_create() { return (QPaletteH) new QPalette(); } void QPalette_destroy(QPaletteH handle) { delete (QPalette *)handle; } QPaletteH QPalette_create2(const QColorH button) { return (QPaletteH) new QPalette(*(const QColor*)button); } QPaletteH QPalette_create3(Qt::GlobalColor button) { return (QPaletteH) new QPalette(button); } QPaletteH QPalette_create4(const QColorH button, const QColorH window) { return (QPaletteH) new QPalette(*(const QColor*)button, *(const QColor*)window); } QPaletteH QPalette_create5(const QBrushH windowText, const QBrushH button, const QBrushH light, const QBrushH dark, const QBrushH mid, const QBrushH text, const QBrushH bright_text, const QBrushH base, const QBrushH window) { return (QPaletteH) new QPalette(*(const QBrush*)windowText, *(const QBrush*)button, *(const QBrush*)light, *(const QBrush*)dark, *(const QBrush*)mid, *(const QBrush*)text, *(const QBrush*)bright_text, *(const QBrush*)base, *(const QBrush*)window); } QPaletteH QPalette_create6(const QColorH windowText, const QColorH window, const QColorH light, const QColorH dark, const QColorH mid, const QColorH text, const QColorH base) { return (QPaletteH) new QPalette(*(const QColor*)windowText, *(const QColor*)window, *(const QColor*)light, *(const QColor*)dark, *(const QColor*)mid, *(const QColor*)text, *(const QColor*)base); } QPaletteH QPalette_create7(const QPaletteH palette) { return (QPaletteH) new QPalette(*(const QPalette*)palette); } QPalette::ColorGroup QPalette_currentColorGroup(QPaletteH handle) { return (QPalette::ColorGroup) ((QPalette *)handle)->currentColorGroup(); } void QPalette_setCurrentColorGroup(QPaletteH handle, QPalette::ColorGroup cg) { ((QPalette *)handle)->setCurrentColorGroup(cg); } const QColorH QPalette_color(QPaletteH handle, QPalette::ColorGroup cg, QPalette::ColorRole cr) { return (const QColorH) &((QPalette *)handle)->color(cg, cr); } const QBrushH QPalette_brush(QPaletteH handle, QPalette::ColorGroup cg, QPalette::ColorRole cr) { return (const QBrushH) &((QPalette *)handle)->brush(cg, cr); } void QPalette_setColor(QPaletteH handle, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QColorH color) { ((QPalette *)handle)->setColor(cg, cr, *(const QColor*)color); } void QPalette_setColor2(QPaletteH handle, QPalette::ColorRole cr, const QColorH color) { ((QPalette *)handle)->setColor(cr, *(const QColor*)color); } void QPalette_setBrush(QPaletteH handle, QPalette::ColorRole cr, const QBrushH brush) { ((QPalette *)handle)->setBrush(cr, *(const QBrush*)brush); } bool QPalette_isBrushSet(QPaletteH handle, QPalette::ColorGroup cg, QPalette::ColorRole cr) { return (bool) ((QPalette *)handle)->isBrushSet(cg, cr); } void QPalette_setBrush2(QPaletteH handle, QPalette::ColorGroup cg, QPalette::ColorRole cr, const QBrushH brush) { ((QPalette *)handle)->setBrush(cg, cr, *(const QBrush*)brush); } void QPalette_setColorGroup(QPaletteH handle, QPalette::ColorGroup cr, const QBrushH windowText, const QBrushH button, const QBrushH light, const QBrushH dark, const QBrushH mid, const QBrushH text, const QBrushH bright_text, const QBrushH base, const QBrushH window) { ((QPalette *)handle)->setColorGroup(cr, *(const QBrush*)windowText, *(const QBrush*)button, *(const QBrush*)light, *(const QBrush*)dark, *(const QBrush*)mid, *(const QBrush*)text, *(const QBrush*)bright_text, *(const QBrush*)base, *(const QBrush*)window); } bool QPalette_isEqual(QPaletteH handle, QPalette::ColorGroup cr1, QPalette::ColorGroup cr2) { return (bool) ((QPalette *)handle)->isEqual(cr1, cr2); } const QColorH QPalette_color2(QPaletteH handle, QPalette::ColorRole cr) { return (const QColorH) &((QPalette *)handle)->color(cr); } const QBrushH QPalette_brush2(QPaletteH handle, QPalette::ColorRole cr) { return (const QBrushH) &((QPalette *)handle)->brush(cr); } const QBrushH QPalette_foreground(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->foreground(); } const QBrushH QPalette_windowText(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->windowText(); } const QBrushH QPalette_button(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->button(); } const QBrushH QPalette_light(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->light(); } const QBrushH QPalette_dark(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->dark(); } const QBrushH QPalette_mid(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->mid(); } const QBrushH QPalette_text(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->text(); } const QBrushH QPalette_base(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->base(); } const QBrushH QPalette_alternateBase(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->alternateBase(); } const QBrushH QPalette_toolTipBase(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->toolTipBase(); } const QBrushH QPalette_toolTipText(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->toolTipText(); } const QBrushH QPalette_background(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->background(); } const QBrushH QPalette_window(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->window(); } const QBrushH QPalette_midlight(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->midlight(); } const QBrushH QPalette_brightText(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->brightText(); } const QBrushH QPalette_buttonText(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->buttonText(); } const QBrushH QPalette_shadow(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->shadow(); } const QBrushH QPalette_highlight(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->highlight(); } const QBrushH QPalette_highlightedText(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->highlightedText(); } const QBrushH QPalette_link(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->link(); } const QBrushH QPalette_linkVisited(QPaletteH handle) { return (const QBrushH) &((QPalette *)handle)->linkVisited(); } bool QPalette_isCopyOf(QPaletteH handle, const QPaletteH p) { return (bool) ((QPalette *)handle)->isCopyOf(*(const QPalette*)p); } int QPalette_serialNumber(QPaletteH handle) { return (int) ((QPalette *)handle)->serialNumber(); } qint64 QPalette_cacheKey(QPaletteH handle) { return (qint64) ((QPalette *)handle)->cacheKey(); } void QPalette_resolve(QPaletteH handle, QPaletteH retval, const QPaletteH AnonParam1) { *(QPalette *)retval = ((QPalette *)handle)->resolve(*(const QPalette*)AnonParam1); } uint QPalette_resolve2(QPaletteH handle) { return (uint) ((QPalette *)handle)->resolve(); } void QPalette_resolve3(QPaletteH handle, uint mask) { ((QPalette *)handle)->resolve(mask); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qlineedit_hook_c.cpp0000664000212600021260000000302511677135472021037 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qlineedit_hook_c.h" QLineEdit_hookH QLineEdit_hook_create(QObjectH handle) { return (QLineEdit_hookH) new QLineEdit_hook((QObject*)handle); } void QLineEdit_hook_destroy(QLineEdit_hookH handle) { delete (QLineEdit_hook *)handle; } void QLineEdit_hook_hook_textChanged(QLineEdit_hookH handle, QHookH hook) { ((QLineEdit_hook *)handle)->hook_textChanged(hook); } void QLineEdit_hook_hook_textEdited(QLineEdit_hookH handle, QHookH hook) { ((QLineEdit_hook *)handle)->hook_textEdited(hook); } void QLineEdit_hook_hook_cursorPositionChanged(QLineEdit_hookH handle, QHookH hook) { ((QLineEdit_hook *)handle)->hook_cursorPositionChanged(hook); } void QLineEdit_hook_hook_returnPressed(QLineEdit_hookH handle, QHookH hook) { ((QLineEdit_hook *)handle)->hook_returnPressed(hook); } void QLineEdit_hook_hook_editingFinished(QLineEdit_hookH handle, QHookH hook) { ((QLineEdit_hook *)handle)->hook_editingFinished(hook); } void QLineEdit_hook_hook_selectionChanged(QLineEdit_hookH handle, QHookH hook) { ((QLineEdit_hook *)handle)->hook_selectionChanged(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qcombobox_c.h0000664000212600021260000001315011677135472017477 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QCOMBOBOX_C_H #define QCOMBOBOX_C_H #include #include "pascalbind.h" C_EXPORT QComboBoxH QComboBox_create(QWidgetH parent); C_EXPORT void QComboBox_destroy(QComboBoxH handle); C_EXPORT int QComboBox_maxVisibleItems(QComboBoxH handle); C_EXPORT void QComboBox_setMaxVisibleItems(QComboBoxH handle, int maxItems); C_EXPORT int QComboBox_count(QComboBoxH handle); C_EXPORT void QComboBox_setMaxCount(QComboBoxH handle, int max); C_EXPORT int QComboBox_maxCount(QComboBoxH handle); C_EXPORT bool QComboBox_autoCompletion(QComboBoxH handle); C_EXPORT void QComboBox_setAutoCompletion(QComboBoxH handle, bool enable); C_EXPORT Qt::CaseSensitivity QComboBox_autoCompletionCaseSensitivity(QComboBoxH handle); C_EXPORT void QComboBox_setAutoCompletionCaseSensitivity(QComboBoxH handle, Qt::CaseSensitivity sensitivity); C_EXPORT bool QComboBox_duplicatesEnabled(QComboBoxH handle); C_EXPORT void QComboBox_setDuplicatesEnabled(QComboBoxH handle, bool enable); C_EXPORT void QComboBox_setFrame(QComboBoxH handle, bool AnonParam1); C_EXPORT bool QComboBox_hasFrame(QComboBoxH handle); C_EXPORT int QComboBox_findText(QComboBoxH handle, PWideString text, unsigned int flags); C_EXPORT int QComboBox_findData(QComboBoxH handle, const QVariantH data, Qt::ItemDataRole role, unsigned int flags); C_EXPORT QComboBox::InsertPolicy QComboBox_insertPolicy(QComboBoxH handle); C_EXPORT void QComboBox_setInsertPolicy(QComboBoxH handle, QComboBox::InsertPolicy policy); C_EXPORT QComboBox::SizeAdjustPolicy QComboBox_sizeAdjustPolicy(QComboBoxH handle); C_EXPORT void QComboBox_setSizeAdjustPolicy(QComboBoxH handle, QComboBox::SizeAdjustPolicy policy); C_EXPORT int QComboBox_minimumContentsLength(QComboBoxH handle); C_EXPORT void QComboBox_setMinimumContentsLength(QComboBoxH handle, int characters); C_EXPORT void QComboBox_iconSize(QComboBoxH handle, PSize retval); C_EXPORT void QComboBox_setIconSize(QComboBoxH handle, const QSizeH size); C_EXPORT bool QComboBox_isEditable(QComboBoxH handle); C_EXPORT void QComboBox_setEditable(QComboBoxH handle, bool editable); C_EXPORT void QComboBox_setLineEdit(QComboBoxH handle, QLineEditH edit); C_EXPORT QLineEditH QComboBox_lineEdit(QComboBoxH handle); C_EXPORT void QComboBox_setValidator(QComboBoxH handle, const QValidatorH v); C_EXPORT const QValidatorH QComboBox_validator(QComboBoxH handle); C_EXPORT void QComboBox_setCompleter(QComboBoxH handle, QCompleterH c); C_EXPORT QCompleterH QComboBox_completer(QComboBoxH handle); C_EXPORT QAbstractItemDelegateH QComboBox_itemDelegate(QComboBoxH handle); C_EXPORT void QComboBox_setItemDelegate(QComboBoxH handle, QAbstractItemDelegateH delegate); C_EXPORT QAbstractItemModelH QComboBox_model(QComboBoxH handle); C_EXPORT void QComboBox_setModel(QComboBoxH handle, QAbstractItemModelH model); C_EXPORT void QComboBox_rootModelIndex(QComboBoxH handle, QModelIndexH retval); C_EXPORT void QComboBox_setRootModelIndex(QComboBoxH handle, const QModelIndexH index); C_EXPORT int QComboBox_modelColumn(QComboBoxH handle); C_EXPORT void QComboBox_setModelColumn(QComboBoxH handle, int visibleColumn); C_EXPORT int QComboBox_currentIndex(QComboBoxH handle); C_EXPORT void QComboBox_currentText(QComboBoxH handle, PWideString retval); C_EXPORT void QComboBox_itemText(QComboBoxH handle, PWideString retval, int index); C_EXPORT void QComboBox_itemIcon(QComboBoxH handle, QIconH retval, int index); C_EXPORT void QComboBox_itemData(QComboBoxH handle, QVariantH retval, int index, Qt::ItemDataRole role); C_EXPORT void QComboBox_addItem(QComboBoxH handle, PWideString text, const QVariantH userData); C_EXPORT void QComboBox_addItem2(QComboBoxH handle, const QIconH icon, PWideString text, const QVariantH userData); C_EXPORT void QComboBox_addItems(QComboBoxH handle, const QStringListH texts); C_EXPORT void QComboBox_insertItem(QComboBoxH handle, int index, PWideString text, const QVariantH userData); C_EXPORT void QComboBox_insertItem2(QComboBoxH handle, int index, const QIconH icon, PWideString text, const QVariantH userData); C_EXPORT void QComboBox_insertItems(QComboBoxH handle, int index, const QStringListH texts); C_EXPORT void QComboBox_insertSeparator(QComboBoxH handle, int index); C_EXPORT void QComboBox_removeItem(QComboBoxH handle, int index); C_EXPORT void QComboBox_setItemText(QComboBoxH handle, int index, PWideString text); C_EXPORT void QComboBox_setItemIcon(QComboBoxH handle, int index, const QIconH icon); C_EXPORT void QComboBox_setItemData(QComboBoxH handle, int index, const QVariantH value, Qt::ItemDataRole role); C_EXPORT QAbstractItemViewH QComboBox_view(QComboBoxH handle); C_EXPORT void QComboBox_setView(QComboBoxH handle, QAbstractItemViewH itemView); C_EXPORT void QComboBox_sizeHint(QComboBoxH handle, PSize retval); C_EXPORT void QComboBox_minimumSizeHint(QComboBoxH handle, PSize retval); C_EXPORT void QComboBox_showPopup(QComboBoxH handle); C_EXPORT void QComboBox_hidePopup(QComboBoxH handle); C_EXPORT bool QComboBox_event(QComboBoxH handle, QEventH event); C_EXPORT void QComboBox_clear(QComboBoxH handle); C_EXPORT void QComboBox_clearEditText(QComboBoxH handle); C_EXPORT void QComboBox_setEditText(QComboBoxH handle, PWideString text); C_EXPORT void QComboBox_setCurrentIndex(QComboBoxH handle, int index); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qimagewriter_c.h0000664000212600021260000000454511677135472020216 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QIMAGEWRITER_C_H #define QIMAGEWRITER_C_H #include #include "pascalbind.h" C_EXPORT QImageWriterH QImageWriter_create(); C_EXPORT void QImageWriter_destroy(QImageWriterH handle); C_EXPORT QImageWriterH QImageWriter_create2(QIODeviceH device, const QByteArrayH format); C_EXPORT QImageWriterH QImageWriter_create3(PWideString fileName, const QByteArrayH format); C_EXPORT void QImageWriter_setFormat(QImageWriterH handle, const QByteArrayH format); C_EXPORT void QImageWriter_format(QImageWriterH handle, QByteArrayH retval); C_EXPORT void QImageWriter_setDevice(QImageWriterH handle, QIODeviceH device); C_EXPORT QIODeviceH QImageWriter_device(QImageWriterH handle); C_EXPORT void QImageWriter_setFileName(QImageWriterH handle, PWideString fileName); C_EXPORT void QImageWriter_fileName(QImageWriterH handle, PWideString retval); C_EXPORT void QImageWriter_setQuality(QImageWriterH handle, int quality); C_EXPORT int QImageWriter_quality(QImageWriterH handle); C_EXPORT void QImageWriter_setCompression(QImageWriterH handle, int compression); C_EXPORT int QImageWriter_compression(QImageWriterH handle); C_EXPORT void QImageWriter_setGamma(QImageWriterH handle, float gamma); C_EXPORT float QImageWriter_gamma(QImageWriterH handle); C_EXPORT void QImageWriter_setDescription(QImageWriterH handle, PWideString description); C_EXPORT void QImageWriter_description(QImageWriterH handle, PWideString retval); C_EXPORT void QImageWriter_setText(QImageWriterH handle, PWideString key, PWideString text); C_EXPORT bool QImageWriter_canWrite(QImageWriterH handle); C_EXPORT bool QImageWriter_write(QImageWriterH handle, const QImageH image); C_EXPORT QImageWriter::ImageWriterError QImageWriter_error(QImageWriterH handle); C_EXPORT void QImageWriter_errorString(QImageWriterH handle, PWideString retval); C_EXPORT bool QImageWriter_supportsOption(QImageWriterH handle, QImageIOHandler::ImageOption option); #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qdockwidget_hook.h0000664000212600021260000001073211677135472020534 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #ifndef QDOCKWIDGET_HOOK_H #define QDOCKWIDGET_HOOK_H #include #include "qwidget_hook.h" class QDockWidget_hook : public QWidget_hook { Q_OBJECT public: QDockWidget_hook(QObject *handle) : QWidget_hook(handle) { featuresChanged_event.func = NULL; topLevelChanged_event.func = NULL; allowedAreasChanged_event.func = NULL; visibilityChanged_event.func = NULL; dockLocationChanged_event.func = NULL; } void hook_featuresChanged(QHook &hook) { if ( !featuresChanged_event.func ) connect(handle, SIGNAL(featuresChanged(QDockWidget::DockWidgetFeatures)), this, SLOT(featuresChanged_hook(QDockWidget::DockWidgetFeatures))); featuresChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(featuresChanged(QDockWidget::DockWidgetFeatures)), this, SLOT(featuresChanged_hook(QDockWidget::DockWidgetFeatures))); } void hook_topLevelChanged(QHook &hook) { if ( !topLevelChanged_event.func ) connect(handle, SIGNAL(topLevelChanged(bool)), this, SLOT(topLevelChanged_hook(bool))); topLevelChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(topLevelChanged(bool)), this, SLOT(topLevelChanged_hook(bool))); } void hook_allowedAreasChanged(QHook &hook) { if ( !allowedAreasChanged_event.func ) connect(handle, SIGNAL(allowedAreasChanged(Qt::DockWidgetAreas)), this, SLOT(allowedAreasChanged_hook(Qt::DockWidgetAreas))); allowedAreasChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(allowedAreasChanged(Qt::DockWidgetAreas)), this, SLOT(allowedAreasChanged_hook(Qt::DockWidgetAreas))); } void hook_visibilityChanged(QHook &hook) { if ( !visibilityChanged_event.func ) connect(handle, SIGNAL(visibilityChanged(bool)), this, SLOT(visibilityChanged_hook(bool))); visibilityChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(visibilityChanged(bool)), this, SLOT(visibilityChanged_hook(bool))); } void hook_dockLocationChanged(QHook &hook) { if ( !dockLocationChanged_event.func ) connect(handle, SIGNAL(dockLocationChanged(Qt::DockWidgetArea)), this, SLOT(dockLocationChanged_hook(Qt::DockWidgetArea))); dockLocationChanged_event = hook; if ( !hook.func ) disconnect(handle, SIGNAL(dockLocationChanged(Qt::DockWidgetArea)), this, SLOT(dockLocationChanged_hook(Qt::DockWidgetArea))); } private slots: void featuresChanged_hook(QDockWidget::DockWidgetFeatures features) { if ( featuresChanged_event.func ) { typedef void (*func_type)(void *data, unsigned int features); (*(func_type)featuresChanged_event.func)(featuresChanged_event.data, (unsigned int)features); } } void topLevelChanged_hook(bool topLevel) { if ( topLevelChanged_event.func ) { typedef void (*func_type)(void *data, bool topLevel); (*(func_type)topLevelChanged_event.func)(topLevelChanged_event.data, topLevel); } } void allowedAreasChanged_hook(Qt::DockWidgetAreas allowedAreas) { if ( allowedAreasChanged_event.func ) { typedef void (*func_type)(void *data, unsigned int allowedAreas); (*(func_type)allowedAreasChanged_event.func)(allowedAreasChanged_event.data, (unsigned int)allowedAreas); } } void visibilityChanged_hook(bool visible) { if ( visibilityChanged_event.func ) { typedef void (*func_type)(void *data, bool visible); (*(func_type)visibilityChanged_event.func)(visibilityChanged_event.data, visible); } } void dockLocationChanged_hook(Qt::DockWidgetArea area) { if ( dockLocationChanged_event.func ) { typedef void (*func_type)(void *data, Qt::DockWidgetArea area); (*(func_type)dockLocationChanged_event.func)(dockLocationChanged_event.data, area); } } private: QHook featuresChanged_event; QHook topLevelChanged_event; QHook allowedAreasChanged_event; QHook visibilityChanged_event; QHook dockLocationChanged_event; }; #endif splitbuild-qt4pas-V2.5_Qt4.5.3/src/qabstractscrollarea_c.cpp0000664000212600021260000000733311677135472022103 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qabstractscrollarea_c.h" QAbstractScrollAreaH QAbstractScrollArea_create(QWidgetH parent) { return (QAbstractScrollAreaH) new QAbstractScrollArea((QWidget*)parent); } void QAbstractScrollArea_destroy(QAbstractScrollAreaH handle) { delete (QAbstractScrollArea *)handle; } Qt::ScrollBarPolicy QAbstractScrollArea_verticalScrollBarPolicy(QAbstractScrollAreaH handle) { return (Qt::ScrollBarPolicy) ((QAbstractScrollArea *)handle)->verticalScrollBarPolicy(); } void QAbstractScrollArea_setVerticalScrollBarPolicy(QAbstractScrollAreaH handle, Qt::ScrollBarPolicy AnonParam1) { ((QAbstractScrollArea *)handle)->setVerticalScrollBarPolicy(AnonParam1); } QScrollBarH QAbstractScrollArea_verticalScrollBar(QAbstractScrollAreaH handle) { return (QScrollBarH) ((QAbstractScrollArea *)handle)->verticalScrollBar(); } void QAbstractScrollArea_setVerticalScrollBar(QAbstractScrollAreaH handle, QScrollBarH scrollbar) { ((QAbstractScrollArea *)handle)->setVerticalScrollBar((QScrollBar*)scrollbar); } Qt::ScrollBarPolicy QAbstractScrollArea_horizontalScrollBarPolicy(QAbstractScrollAreaH handle) { return (Qt::ScrollBarPolicy) ((QAbstractScrollArea *)handle)->horizontalScrollBarPolicy(); } void QAbstractScrollArea_setHorizontalScrollBarPolicy(QAbstractScrollAreaH handle, Qt::ScrollBarPolicy AnonParam1) { ((QAbstractScrollArea *)handle)->setHorizontalScrollBarPolicy(AnonParam1); } QScrollBarH QAbstractScrollArea_horizontalScrollBar(QAbstractScrollAreaH handle) { return (QScrollBarH) ((QAbstractScrollArea *)handle)->horizontalScrollBar(); } void QAbstractScrollArea_setHorizontalScrollBar(QAbstractScrollAreaH handle, QScrollBarH scrollbar) { ((QAbstractScrollArea *)handle)->setHorizontalScrollBar((QScrollBar*)scrollbar); } QWidgetH QAbstractScrollArea_cornerWidget(QAbstractScrollAreaH handle) { return (QWidgetH) ((QAbstractScrollArea *)handle)->cornerWidget(); } void QAbstractScrollArea_setCornerWidget(QAbstractScrollAreaH handle, QWidgetH widget) { ((QAbstractScrollArea *)handle)->setCornerWidget((QWidget*)widget); } void QAbstractScrollArea_addScrollBarWidget(QAbstractScrollAreaH handle, QWidgetH widget, unsigned int alignment) { ((QAbstractScrollArea *)handle)->addScrollBarWidget((QWidget*)widget, (Qt::Alignment)alignment); } void QAbstractScrollArea_scrollBarWidgets(QAbstractScrollAreaH handle, PPtrIntArray retval, unsigned int alignment) { QList t_retval; t_retval = ((QAbstractScrollArea *)handle)->scrollBarWidgets((Qt::Alignment)alignment); copyQListTemplateToPtrIntArray(t_retval, retval); } QWidgetH QAbstractScrollArea_viewport(QAbstractScrollAreaH handle) { return (QWidgetH) ((QAbstractScrollArea *)handle)->viewport(); } void QAbstractScrollArea_setViewport(QAbstractScrollAreaH handle, QWidgetH widget) { ((QAbstractScrollArea *)handle)->setViewport((QWidget*)widget); } void QAbstractScrollArea_maximumViewportSize(QAbstractScrollAreaH handle, PSize retval) { *(QSize *)retval = ((QAbstractScrollArea *)handle)->maximumViewportSize(); } void QAbstractScrollArea_minimumSizeHint(QAbstractScrollAreaH handle, PSize retval) { *(QSize *)retval = ((QAbstractScrollArea *)handle)->minimumSizeHint(); } void QAbstractScrollArea_sizeHint(QAbstractScrollAreaH handle, PSize retval) { *(QSize *)retval = ((QAbstractScrollArea *)handle)->sizeHint(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qfilesystemwatcher_c.cpp0000664000212600021260000000370211677135472021766 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qfilesystemwatcher_c.h" QFileSystemWatcherH QFileSystemWatcher_create(QObjectH parent) { return (QFileSystemWatcherH) new QFileSystemWatcher((QObject*)parent); } void QFileSystemWatcher_destroy(QFileSystemWatcherH handle) { delete (QFileSystemWatcher *)handle; } QFileSystemWatcherH QFileSystemWatcher_create2(const QStringListH paths, QObjectH parent) { return (QFileSystemWatcherH) new QFileSystemWatcher(*(const QStringList*)paths, (QObject*)parent); } void QFileSystemWatcher_addPath(QFileSystemWatcherH handle, PWideString file) { QString t_file; copyPWideStringToQString(file, t_file); ((QFileSystemWatcher *)handle)->addPath(t_file); } void QFileSystemWatcher_addPaths(QFileSystemWatcherH handle, const QStringListH files) { ((QFileSystemWatcher *)handle)->addPaths(*(const QStringList*)files); } void QFileSystemWatcher_removePath(QFileSystemWatcherH handle, PWideString file) { QString t_file; copyPWideStringToQString(file, t_file); ((QFileSystemWatcher *)handle)->removePath(t_file); } void QFileSystemWatcher_removePaths(QFileSystemWatcherH handle, const QStringListH files) { ((QFileSystemWatcher *)handle)->removePaths(*(const QStringList*)files); } void QFileSystemWatcher_files(QFileSystemWatcherH handle, QStringListH retval) { *(QStringList *)retval = ((QFileSystemWatcher *)handle)->files(); } void QFileSystemWatcher_directories(QFileSystemWatcherH handle, QStringListH retval) { *(QStringList *)retval = ((QFileSystemWatcher *)handle)->directories(); } splitbuild-qt4pas-V2.5_Qt4.5.3/src/qtreeview_hook_c.cpp0000664000212600021260000000172311677135472021077 0ustar janjan//****************************************************************************** // Copyright (c) 2005-2011 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // 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. //****************************************************************************** #include "qtreeview_hook_c.h" QTreeView_hookH QTreeView_hook_create(QObjectH handle) { return (QTreeView_hookH) new QTreeView_hook((QObject*)handle); } void QTreeView_hook_destroy(QTreeView_hookH handle) { delete (QTreeView_hook *)handle; } void QTreeView_hook_hook_expanded(QTreeView_hookH handle, QHookH hook) { ((QTreeView_hook *)handle)->hook_expanded(hook); } void QTreeView_hook_hook_collapsed(QTreeView_hookH handle, QHookH hook) { ((QTreeView_hook *)handle)->hook_collapsed(hook); } splitbuild-qt4pas-V2.5_Qt4.5.3/README.TXT0000664000212600021260000000551311677135472015606 0ustar janjan Compile Pascal Qt Interface from source: ======================================== * Download and unpack the sources * cd into the resulting unpacked directory * This directory contains amongs other things a Qt Project File Qt4Pas.pro * run qmake -query to inspect your Qt installation * qmake (creates Makefile based upon Qt4Pas.pro) * make (compiles) * make install (obtain super user rights with sudo or su) * make clean (cleans directory, do this when switching Qt versions) Linux Note: ----------- To use a different Qt then the system wide Qt, use /PathToOtherQt/bin/qmake and learn about LD_LIBRARY_PATH (export LD_LIBRARY_PATH=/PathToOtherQt/lib) Maemo Linux Note: ----------------- Scratchbox: =========== * Install the scratchbox based Maemo5 SDK: http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation * as root start scratchbox: /scratchbox/sbin/sbox_ctl start * as normal user loging: /scratchbox/login * select vi sb-menu the arm setup * install the Qt4 devel package fakeroot apt-get update fakeroot apt-get install libqt4-dev * download (e.g. using wget) and unpack the sources * cd into the sources directory * qmake (creates Makefile) * make (compiles) * strip LibraryFileName (reduce filesize) * fakeroot make install (install in scratchbox) N900 Device =========== Optifying is highly recommended. Copy the library to /opt/lib/ on the device make links in /usr/lib to /opt/lib/LibraryName (.so.OneDigit and .so) Mac OsX Note: ------------- qmake may create a xcode project instead of a g++ Makefile use xcodebuild to compile to create a g++ Makefile: QMAKESPEC=macx-g++ qmake The qmake project is configured to create a framework instead of a plain library Windows Note: ------------- Verify the QTDIR,QMAKESPEC environment variables. e.g. QMAKESPEC=win32-g++ and that make -v and gcc -v produce the expected result. Installation ============ When compiling from source, you can use make install. When using the binary packages, see below. If preferred, first strip the libraries before installation. Linux Binary Installation ------------------------- The libraries should be copied to the distribution specific system library directory e.g. /usr/lib. Ensure the symlinks are correct. The .so.OneDigit link is used when running a program.(google soname) The .so link is used when linking during development Maemo Note ---------- For Maemo, optifying is highly recommended. Copy the library to /opt/lib/ make links in /usr/lib to /opt/lib/LibraryName (.so.OneDigit and .so) Windows Binary Installation --------------------------- The dll can be copied to e.g. the Qt bin directory, as this directory is already in the PATH environment variable. Mac OsX Binary Installation --------------------------- The provided package installs to /Library/Frameworks