summaryrefslogtreecommitdiffstats
path: root/sip/tqt/tqtmod.sip
blob: b9dc95854609c137b31123152e2f12d0ca9f6551 (plain)
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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
// This is the SIP interface definition for the tqt module of PyTQt.
//
// Copyright (c) 2007
// 	Riverbank Computing Limited <info@riverbankcomputing.co.uk>
// 
// This file is part of PyTQt.
// 
// This copy of PyTQt is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2, or (at your option) any later
// version.
// 
// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
// details.
// 
// You should have received a copy of the GNU General Public License along with
// PyTQt; see the file LICENSE.  If not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


%Module PyTQt.tqt 2

%Plugin PyTQt3

%Include versions.sip
%Include copying.sip


unsigned PYTQT_VERSION;
const char *PYTQT_VERSION_STR;

%ModuleCode
static unsigned PYTQT_VERSION = 0x031201;
static const char *PYTQT_VERSION_STR = "3.18.1";
%End


// 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, "PyTQt cannot be used with this Python interpreter");
		return;
	}
%End

%End

%DefaultMetatype tqt.pytqtWrapperType
%DefaultSupertype tqt.pytqtWrapper

// Include the interface definitions for each class.

// These contain enum and type definitions that need to be defined before they
// are used so they do not seem to be classes.

%Include tqglobal.sip
%Include tqnamespace.sip
%Include tqwindowdefs.sip
%Include tqpen.sip

%Include tqpaintdevice.sip

%Include tqpixmap.sip
%Include tqbitmap.sip

%Include tqsize.sip
%Include tqsizepolicy.sip

%Include tqaccel.sip
%Include tqaction.sip
%Include tqapplication.sip
%Include tqassistantclient.sip
%Include tqbrush.sip
%Include tqbutton.sip
%Include tqbuttongroup.sip
%Include tqbytearray.sip
%Include tqcdestyle.sip
%Include tqcheckbox.sip
%Include tqclipboard.sip
%Include tqcolor.sip
%Include tqcolordialog.sip
%Include tqcolorgroup.sip
%Include tqcombobox.sip
%Include tqcommonstyle.sip
%Include tqcstring.sip
%Include tqcursor.sip
%Include tqdatastream.sip
%Include tqdatetime.sip
%Include tqdatetimeedit.sip
%Include tqdesktopwidget.sip
%Include tqdial.sip
%Include tqdialog.sip
%Include tqdir.sip
%Include tqdockarea.sip
%Include tqdockwindow.sip
%Include tqdragobject.sip
%Include tqdrawutil.sip
%Include tqdropsite.sip
%Include tqerrormessage.sip
%Include tqevent.sip
%Include tqeventloop.sip
%Include tqfile.sip
%Include tqfiledialog.sip
%Include tqfileinfo.sip
%Include tqfont.sip
%Include tqfontdatabase.sip
%Include tqfontdialog.sip
%Include tqfontinfo.sip
%Include tqfontmetrics.sip
%Include tqframe.sip
%Include tqgrid.sip
%Include tqgridview.sip
%Include tqgroupbox.sip
%Include tqhbox.sip
%Include tqhbuttongroup.sip
%Include tqheader.sip
%Include tqhgroupbox.sip
%Include tqiconset.sip
%Include tqiconview.sip
%Include tqimage.sip
%Include tqinputdialog.sip
%Include tqinterlacestyle.sip
%Include tqiodevice.sip
%Include tqkeysequence.sip
%Include tqlabel.sip
%Include tqlayout.sip
%Include tqlcdnumber.sip
%Include tqlibrary.sip
%Include tqlineedit.sip
%Include tqlistbox.sip
%Include tqlistview.sip
%Include tqlocale.sip
%Include tqmainwindow.sip
%Include tqmemarray.sip
%Include tqmenubar.sip
%Include tqmenudata.sip
%Include tqmessagebox.sip
%Include tqmetaobject.sip
%Include tqmime.sip
%Include tqmotifplusstyle.sip
%Include tqmotifstyle.sip
%Include tqmovie.sip
%Include tqmutex.sip
%Include tqmultilinedit.sip
%Include tqnetworkprotocol.sip
%Include tqobject.sip
%Include tqobjectcleanuphandler.sip
%Include tqobjectlist.sip
%Include tqpaintdevicemetrics.sip
%Include tqpainter.sip
%Include tqpair.sip
%Include tqpalette.sip
%Include tqpicture.sip
%Include tqpixmapcache.sip
%Include tqplatinumstyle.sip
%Include tqpoint.sip
%Include tqpointarray.sip
%Include tqpopupmenu.sip
%Include tqprintdialog.sip
%Include tqprinter.sip
%Include tqprocess.sip
%Include tqprogressbar.sip
%Include tqprogressdialog.sip
%Include tqptrlist.sip
%Include tqpushbutton.sip
%Include tqradiobutton.sip
%Include tqrangecontrol.sip
%Include tqrect.sip
%Include tqregexp.sip
%Include tqregion.sip
%Include tqscrollbar.sip
%Include tqscrollview.sip
%Include tqsemaphore.sip
%Include tqsessionmanager.sip
%Include tqsettings.sip
%Include tqsgistyle.sip
%Include tqsignalmapper.sip
%Include tqsimplerichtext.sip
%Include tqsizegrip.sip
%Include tqslider.sip
%Include tqsocketnotifier.sip
%Include tqsound.sip
%Include tqspinbox.sip
%Include tqsplashscreen.sip
%Include tqsplitter.sip
%Include tqstatusbar.sip
%Include tqstring.sip
%Include tqstringlist.sip
%Include tqstrlist.sip
%Include tqstyle.sip
%Include tqstylefactory.sip
%Include tqstylesheet.sip
%Include tqsyntaxhighlighter.sip
%Include tqtabbar.sip
%Include tqtabdialog.sip
%Include tqtabwidget.sip
%Include tqtextbrowser.sip
%Include tqtextcodec.sip
%Include tqtextedit.sip
%Include tqtextstream.sip
%Include tqtextview.sip
%Include tqthread.sip
%Include tqtimer.sip
%Include tqtoolbar.sip
%Include tqtoolbox.sip
%Include tqtoolbutton.sip
%Include tqtooltip.sip
%Include tqtranslator.sip
%Include tqurl.sip
%Include tqurlinfo.sip
%Include tqurloperator.sip
%Include tquuid.sip
%Include tqvalidator.sip
%Include tqvaluelist.sip
%Include tqvariant.sip
%Include tqvbox.sip
%Include tqvbuttongroup.sip
%Include tqvgroupbox.sip
%Include tqwaitcondition.sip
%Include tqwhatsthis.sip
%Include tqwidget.sip
%Include tqwidgetlist.sip
%Include tqwidgetstack.sip
%Include tqwindowsstyle.sip
%Include tqwindowsxpstyle.sip
%Include tqwizard.sip
%Include tqwmatrix.sip
%Include tqworkspace.sip


// The build file templates.

%Makefile tqt.pro.in
# The project file for the tqt module.
#
# Copyright (c) 2007
# 	Riverbank Computing Limited <info@riverbankcomputing.co.uk>
# 
# This file is part of PyTQt.
# 
# This copy of PyTQt is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2, or (at your option) any later
# version.
# 
# PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
# details.
# 
# You should have received a copy of the GNU General Public License along with
# PyTQt; see the file LICENSE.  If not, write to the Free Software Foundation,
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


TEMPLATE = lib
TARGET = @BLX_TARGET_LIB@
DESTDIR = @PYTQT_MODDIR@
CONFIG += @BLX_CONFIG_LIB@ @PYTQT_WARN@
INCLUDEPATH = @BLX_INCLUDEPATH@
DEFINES = @BLX_DEFINES@
LIBS += @PYTQT_TQASSISTANTCLIENT_LIB@ @BLX_LIBS@
macx:QMAKE_LFLAGS += -framework Python

SOURCES = $B

HEADERS = $H
%End