File: QtCoremod.sip

package info (click to toggle)
python-qt4 4.11.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 40,148 kB
  • ctags: 6,150
  • sloc: python: 125,936; cpp: 12,628; xml: 292; makefile: 259; php: 27; sh: 2
file content (223 lines) | stat: -rw-r--r-- 6,400 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
// QtCoremod.sip generated by MetaSIP
//
// This file is part of the QtCore Python extension module.
//
// Copyright (c) 2015 Riverbank Computing Limited <info@riverbankcomputing.com>
// 
// This file is part of PyQt4.
// 
// This file may be used under the terms of the GNU General Public License
// version 3.0 as published by the Free Software Foundation and appearing in
// the file LICENSE included in the packaging of this file.  Please review the
// following information to ensure the GNU General Public License version 3.0
// requirements will be met: http://www.gnu.org/copyleft/gpl.html.
// 
// If you do not wish to use this file under the terms of the GPL version 3.0
// then you may purchase a commercial license.  For more information contact
// info@riverbankcomputing.com.
// 
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.


%Module(name=PyQt4.QtCore, keyword_arguments="Optional", version=1)

%Timeline {Qt_4_1_0 Qt_4_1_1 Qt_4_1_2 Qt_4_1_3 Qt_4_2_0 Qt_4_2_1 Qt_4_2_2 Qt_4_2_3 Qt_4_3_0 Qt_4_3_1 Qt_4_3_2 Qt_4_3_3 Qt_4_3_4 Qt_4_4_0 Qt_4_4_1 Qt_4_4_2 Qt_4_5_0 Qt_4_5_1 Qt_4_5_2 Qt_4_5_3 Qt_4_6_0 Qt_4_6_1 Qt_4_6_2 Qt_4_6_3 Qt_4_7_0 Qt_4_7_1 Qt_4_7_2 Qt_4_7_3 Qt_4_7_4 Qt_4_8_0 Qt_4_8_1 Qt_4_8_2 Qt_4_8_3 Qt_4_8_4 Qt_4_8_5 Qt_4_8_6 Qt_4_8_7 Qt_5_0_0}

%Platforms {WS_X11 WS_WIN WS_MACX}

%Feature PyQt_Accessibility
%Feature PyQt_SessionManager
%Feature PyQt_StatusTip
%Feature PyQt_ToolTip
%Feature PyQt_WhatsThis
%Feature PyQt_NoQtPrintRangeBug
%Feature Py_DateTime
%Feature PyQt_OpenSSL
%Feature PyQt_SizeGrip
%Feature PyQt_qreal_double
%Feature Py_v3
%Feature PyQt_PrintDialog
%Feature PyQt_Printer
%Feature PyQt_PrintPreviewWidget
%Feature PyQt_PrintPreviewDialog
%Feature PyQt_SystemTrayIcon
%Feature PyQt_RawFont
%Feature PyQt_NoOpenGLES
%Feature PyQt_Deprecated_5_0
%Feature PyQt_NotBootstrapped

%Copying
Copyright (c) 2015 Riverbank Computing Limited <info@riverbankcomputing.com>

This file is part of PyQt4.

This file may be used under the terms of the GNU General Public License
version 3.0 as published by the Free Software Foundation and appearing in
the file LICENSE included in the packaging of this file.  Please review the
following information to ensure the GNU General Public License version 3.0
requirements will be met: http://www.gnu.org/copyleft/gpl.html.

If you do not wish to use this file under the terms of the GPL version 3.0
then you may purchase a commercial license.  For more information contact
info@riverbankcomputing.com.

This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
%End

%Plugin PyQt4

%If (Py_v3)
// Default to new, incompatible APIs for Python v3.
%API(name=QDate, version=2)
%API(name=QDateTime, version=2)
%API(name=QString, version=2)
%API(name=QTextStream, version=2)
%API(name=QTime, version=2)
%API(name=QUrl, version=2)
%API(name=QVariant, version=2)

%DefaultEncoding "ASCII"
%End

%If (!Py_v3)
// Default to the compatible APIs for Python v2.
%API(name=QDate, version=1)
%API(name=QDateTime, version=1)
%API(name=QString, version=1)
%API(name=QTextStream, version=1)
%API(name=QTime, version=1)
%API(name=QUrl, version=1)
%API(name=QVariant, version=1)
%End

%Include(name=staticplugins.sip, optional=True)

%If (!Py_v3)
// Hook into the VendorID package if it is enabled.
%Feature VendorID

%If (VendorID)

%ModuleCode
#include <vendorid.h>
%End

%PreInitialisationCode
    if (!vendorid_check())
    {
        PyErr_SetString(PyExc_RuntimeError, "PyQt cannot be used with this Python interpreter");
        return;
    }
%End

%End

%End


%Include(name=pyqt-internal.sip5, optional=True)
%Include(name=pyqt-gpl.sip5, optional=True)
%Include(name=pyqt-commercial.sip5, optional=True)

%DefaultMetatype PyQt4.QtCore.pyqtWrapperType
%DefaultSupertype sip.simplewrapper

%Include qglobal.sip
%Include qnamespace.sip
%Include qabstractanimation.sip
%Include qabstracteventdispatcher.sip
%Include qabstractfileengine.sip
%Include qabstractitemmodel.sip
%Include qabstractnativeeventfilter.sip
%Include qabstractstate.sip
%Include qabstracttransition.sip
%Include qanimationgroup.sip
%Include qbasictimer.sip
%Include qbitarray.sip
%Include qbuffer.sip
%Include qbytearray.sip
%Include qbytearraymatcher.sip
%Include qchar.sip
%Include qcoreapplication.sip
%Include qcoreevent.sip
%Include qcryptographichash.sip
%Include qdatastream.sip
%Include qdatetime.sip
%Include qdir.sip
%Include qdiriterator.sip
%Include qeasingcurve.sip
%Include qelapsedtimer.sip
%Include qeventloop.sip
%Include qeventtransition.sip
%Include qfile.sip
%Include qfiledevice.sip
%Include qfileinfo.sip
%Include qfilesystemwatcher.sip
%Include qfinalstate.sip
%Include qfsfileengine.sip
%Include qhash.sip
%Include qhistorystate.sip
%Include qiodevice.sip
%Include qlibrary.sip
%Include qlibraryinfo.sip
%Include qline.sip
%Include qlist.sip
%Include qlocale.sip
%Include qmap.sip
%Include qmargins.sip
%Include qmetaobject.sip
%Include qmetatype.sip
%Include qmimedata.sip
%Include qmutex.sip
%Include qnumeric.sip
%Include qobject.sip
%Include qobjectcleanuphandler.sip
%Include qobjectdefs.sip
%Include qpair.sip
%Include qparallelanimationgroup.sip
%Include qpauseanimation.sip
%Include qpropertyanimation.sip
%Include qpluginloader.sip
%Include qpoint.sip
%Include qprocess.sip
%Include qreadwritelock.sip
%Include qrect.sip
%Include qregexp.sip
%Include qresource.sip
%Include qrunnable.sip
%Include qsemaphore.sip
%Include qsequentialanimationgroup.sip
%Include qset.sip
%Include qsettings.sip
%Include qsharedmemory.sip
%Include qsignalmapper.sip
%Include qsignaltransition.sip
%Include qsize.sip
%Include qsocketnotifier.sip
%Include qstate.sip
%Include qstatemachine.sip
%Include qstring.sip
%Include qstringlist.sip
%Include qstringmatcher.sip
%Include qsystemsemaphore.sip
%Include qtemporaryfile.sip
%Include qtextboundaryfinder.sip
%Include qtextcodec.sip
%Include qtextstream.sip
%Include qthread.sip
%Include qthreadpool.sip
%Include qtimeline.sip
%Include qtimer.sip
%Include qtranslator.sip
%Include qurl.sip
%Include qurlquery.sip
%Include quuid.sip
%Include qvariant.sip
%Include qvariantanimation.sip
%Include qvector.sip
%Include qwaitcondition.sip
%Include qxmlstream.sip
%Include qpynullvariant.sip
%Include qwineventnotifier.sip