##// END OF EJS Templates
florianlink -
r165:06bd1a1f31e2
parent child
Show More
@@ -0,0 +1,63
1
2 #include "PythonQt_QtBindings.h"
3
4 #include "PythonQt.h"
5
6 void PythonQt_init_QtGui(PyObject*);
7 void PythonQt_init_QtSvg(PyObject*);
8 void PythonQt_init_QtSql(PyObject*);
9 void PythonQt_init_QtNetwork(PyObject*);
10 void PythonQt_init_QtCore(PyObject*);
11 void PythonQt_init_QtWebKit(PyObject*);
12 void PythonQt_init_QtOpenGL(PyObject*);
13 void PythonQt_init_QtXml(PyObject*);
14 void PythonQt_init_QtXmlPatterns(PyObject*);
15 void PythonQt_init_QtUiTools(PyObject*);
16 void PythonQt_init_QtPhonon(PyObject*);
17
18 PYTHONQT_EXPORT void PythonQt_init_QtBindings()
19 {
20 #ifdef PYTHONQT_WRAP_Qtcore
21 PythonQt_init_QtCore(0);
22 #endif
23
24 #ifdef PYTHONQT_WRAP_Qtgui
25 PythonQt_init_QtGui(0);
26 #endif
27
28 #ifdef PYTHONQT_WRAP_Qtnetwork
29 PythonQt_init_QtNetwork(0);
30 #endif
31
32 #ifdef PYTHONQT_WRAP_Qtopengl
33 PythonQt_init_QtOpenGL(0);
34 #endif
35
36 #ifdef PYTHONQT_WRAP_Qtsql
37 PythonQt_init_QtSql(0);
38 #endif
39
40 #ifdef PYTHONQT_WRAP_Qtsvg
41 PythonQt_init_QtSvg(0);
42 #endif
43
44 #ifdef PYTHONQT_WRAP_Qtuitools
45 PythonQt_init_QtUiTools(0);
46 #endif
47
48 #ifdef PYTHONQT_WRAP_Qtwebkit
49 PythonQt_init_QtWebKit(0);
50 #endif
51
52 #ifdef PYTHONQT_WRAP_Qtxml
53 PythonQt_init_QtXml(0);
54 #endif
55
56 #ifdef PYTHONQT_WRAP_Qtxmlpatterns
57 PythonQt_init_QtXmlPatterns(0);
58 #endif
59
60 #ifdef PYTHONQT_WRAP_Qtphonon
61 PythonQt_init_QtPhonon(0);
62 #endif
63 };
@@ -0,0 +1,10
1 #ifndef _PYTHONQT_QTBINDINGS_H
2 #define _PYTHONQT_QTBINDINGS_H
3
4 #include "PythonQtSystem.h"
5
6 /// Initialize Qt bindings enabled at configuration time
7 PYTHONQT_EXPORT void PythonQt_init_QtBindings();
8
9 #endif
10
@@ -1,1462 +1,1462
1 1 #include <PythonQt.h>
2 2 #include <QDateTime>
3 3 #include <QDir>
4 4 #include <QObject>
5 5 #include <QSize>
6 6 #include <QStringList>
7 7 #include <QUrl>
8 8 #include <QVariant>
9 9 #include <qabstractanimation.h>
10 10 #include <qabstractitemmodel.h>
11 11 #include <qabstractstate.h>
12 12 #include <qabstracttransition.h>
13 13 #include <qanimationgroup.h>
14 14 #include <qbasictimer.h>
15 15 #include <qbuffer.h>
16 16 #include <qbytearray.h>
17 17 #include <qbytearraymatcher.h>
18 18 #include <qcoreapplication.h>
19 19 #include <qcoreevent.h>
20 20 #include <qcryptographichash.h>
21 21 #include <qdatastream.h>
22 22 #include <qdatetime.h>
23 23 #include <qdir.h>
24 24 #include <qdiriterator.h>
25 25 #include <qeasingcurve.h>
26 26 #include <qeventloop.h>
27 27 #include <qeventtransition.h>
28 28 #include <qfactoryinterface.h>
29 29 #include <qfile.h>
30 30 #include <qfileinfo.h>
31 31 #include <qfilesystemwatcher.h>
32 32 #include <qfinalstate.h>
33 33 #include <qhistorystate.h>
34 34 #include <qiodevice.h>
35 35 #include <qlibraryinfo.h>
36 36 #include <qlist.h>
37 37 #include <qmimedata.h>
38 38 #include <qobject.h>
39 39 #include <qsize.h>
40 40 #include <qstate.h>
41 41 #include <qstatemachine.h>
42 42 #include <qstringlist.h>
43 43 #include <qtranslator.h>
44 44 #include <qurl.h>
45 45
46 46
47 47
48 48 class PythonQtShell_QAbstractAnimation : public QAbstractAnimation
49 49 {
50 50 public:
51 51 PythonQtShell_QAbstractAnimation(QObject* parent = 0):QAbstractAnimation(parent),_wrapper(NULL) {};
52 52
53 53 virtual void childEvent(QChildEvent* arg__1);
54 54 virtual void customEvent(QEvent* arg__1);
55 55 virtual int duration() const;
56 56 virtual bool event(QEvent* event);
57 57 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
58 58 virtual void timerEvent(QTimerEvent* arg__1);
59 59 virtual void updateCurrentTime(int currentTime);
60 60 virtual void updateDirection(QAbstractAnimation::Direction direction);
61 61 virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState);
62 62
63 63 PythonQtInstanceWrapper* _wrapper;
64 64 };
65 65
66 66 class PythonQtPublicPromoter_QAbstractAnimation : public QAbstractAnimation
67 67 { public:
68 68 inline bool promoted_event(QEvent* event) { return QAbstractAnimation::event(event); }
69 69 inline void promoted_updateDirection(QAbstractAnimation::Direction direction) { QAbstractAnimation::updateDirection(direction); }
70 70 inline void promoted_updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QAbstractAnimation::updateState(newState, oldState); }
71 71 };
72 72
73 73 class PythonQtWrapper_QAbstractAnimation : public QObject
74 74 { Q_OBJECT
75 75 public:
76 76 Q_ENUMS(DeletionPolicy )
77 77 enum DeletionPolicy{
78 78 KeepWhenStopped = QAbstractAnimation::KeepWhenStopped, DeleteWhenStopped = QAbstractAnimation::DeleteWhenStopped};
79 79 public slots:
80 80 QAbstractAnimation* new_QAbstractAnimation(QObject* parent = 0);
81 81 void delete_QAbstractAnimation(QAbstractAnimation* obj) { delete obj; }
82 82 int currentLoop(QAbstractAnimation* theWrappedObject) const;
83 83 int currentLoopTime(QAbstractAnimation* theWrappedObject) const;
84 84 int currentTime(QAbstractAnimation* theWrappedObject) const;
85 85 QAbstractAnimation::Direction direction(QAbstractAnimation* theWrappedObject) const;
86 86 bool event(QAbstractAnimation* theWrappedObject, QEvent* event);
87 87 QAnimationGroup* group(QAbstractAnimation* theWrappedObject) const;
88 88 int loopCount(QAbstractAnimation* theWrappedObject) const;
89 89 void setDirection(QAbstractAnimation* theWrappedObject, QAbstractAnimation::Direction direction);
90 90 void setLoopCount(QAbstractAnimation* theWrappedObject, int loopCount);
91 91 QAbstractAnimation::State state(QAbstractAnimation* theWrappedObject) const;
92 92 int totalDuration(QAbstractAnimation* theWrappedObject) const;
93 93 void updateDirection(QAbstractAnimation* theWrappedObject, QAbstractAnimation::Direction direction);
94 94 void updateState(QAbstractAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState);
95 95 };
96 96
97 97
98 98
99 99
100 100
101 101 class PythonQtShell_QAbstractItemModel : public QAbstractItemModel
102 102 {
103 103 public:
104 104 PythonQtShell_QAbstractItemModel(QObject* parent = 0):QAbstractItemModel(parent),_wrapper(NULL) {};
105 105
106 106 virtual QModelIndex buddy(const QModelIndex& index) const;
107 107 virtual bool canFetchMore(const QModelIndex& parent) const;
108 108 virtual void childEvent(QChildEvent* arg__1);
109 109 virtual int columnCount(const QModelIndex& parent = QModelIndex()) const;
110 110 virtual void customEvent(QEvent* arg__1);
111 111 virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const;
112 112 virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent);
113 113 virtual bool event(QEvent* arg__1);
114 114 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
115 115 virtual void fetchMore(const QModelIndex& parent);
116 116 virtual Qt::ItemFlags flags(const QModelIndex& index) const;
117 117 virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const;
118 118 virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
119 119 virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const;
120 120 virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex());
121 121 virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex());
122 122 virtual QMap<int , QVariant > itemData(const QModelIndex& index) const;
123 123 virtual QList<QModelIndex > match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const;
124 124 virtual QMimeData* mimeData(const QList<QModelIndex >& indexes) const;
125 125 virtual QStringList mimeTypes() const;
126 126 virtual QModelIndex parent(const QModelIndex& child) const;
127 127 virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex());
128 128 virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex());
129 129 virtual void revert();
130 130 virtual int rowCount(const QModelIndex& parent = QModelIndex()) const;
131 131 virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
132 132 virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole);
133 133 virtual bool setItemData(const QModelIndex& index, const QMap<int , QVariant >& roles);
134 134 virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder);
135 135 virtual QSize span(const QModelIndex& index) const;
136 136 virtual bool submit();
137 137 virtual Qt::DropActions supportedDropActions() const;
138 138 virtual void timerEvent(QTimerEvent* arg__1);
139 139
140 140 PythonQtInstanceWrapper* _wrapper;
141 141 };
142 142
143 143 class PythonQtPublicPromoter_QAbstractItemModel : public QAbstractItemModel
144 144 { public:
145 145 inline QModelIndex promoted_buddy(const QModelIndex& index) const { return QAbstractItemModel::buddy(index); }
146 146 inline bool promoted_canFetchMore(const QModelIndex& parent) const { return QAbstractItemModel::canFetchMore(parent); }
147 147 inline bool promoted_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QAbstractItemModel::dropMimeData(data, action, row, column, parent); }
148 148 inline void promoted_fetchMore(const QModelIndex& parent) { QAbstractItemModel::fetchMore(parent); }
149 149 inline Qt::ItemFlags promoted_flags(const QModelIndex& index) const { return QAbstractItemModel::flags(index); }
150 150 inline bool promoted_hasChildren(const QModelIndex& parent = QModelIndex()) const { return QAbstractItemModel::hasChildren(parent); }
151 151 inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QAbstractItemModel::headerData(section, orientation, role); }
152 152 inline bool promoted_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::insertColumns(column, count, parent); }
153 153 inline bool promoted_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::insertRows(row, count, parent); }
154 154 inline QMap<int , QVariant > promoted_itemData(const QModelIndex& index) const { return QAbstractItemModel::itemData(index); }
155 155 inline QList<QModelIndex > promoted_match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const { return QAbstractItemModel::match(start, role, value, hits, flags); }
156 156 inline QMimeData* promoted_mimeData(const QList<QModelIndex >& indexes) const { return QAbstractItemModel::mimeData(indexes); }
157 157 inline QStringList promoted_mimeTypes() const { return QAbstractItemModel::mimeTypes(); }
158 158 inline bool promoted_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::removeColumns(column, count, parent); }
159 159 inline bool promoted_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::removeRows(row, count, parent); }
160 160 inline void promoted_revert() { QAbstractItemModel::revert(); }
161 161 inline bool promoted_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QAbstractItemModel::setData(index, value, role); }
162 162 inline bool promoted_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QAbstractItemModel::setHeaderData(section, orientation, value, role); }
163 163 inline bool promoted_setItemData(const QModelIndex& index, const QMap<int , QVariant >& roles) { return QAbstractItemModel::setItemData(index, roles); }
164 164 inline void promoted_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QAbstractItemModel::sort(column, order); }
165 165 inline QSize promoted_span(const QModelIndex& index) const { return QAbstractItemModel::span(index); }
166 166 inline bool promoted_submit() { return QAbstractItemModel::submit(); }
167 167 inline Qt::DropActions promoted_supportedDropActions() const { return QAbstractItemModel::supportedDropActions(); }
168 168 };
169 169
170 170 class PythonQtWrapper_QAbstractItemModel : public QObject
171 171 { Q_OBJECT
172 172 public:
173 173 public slots:
174 174 QAbstractItemModel* new_QAbstractItemModel(QObject* parent = 0);
175 175 void delete_QAbstractItemModel(QAbstractItemModel* obj) { delete obj; }
176 176 QModelIndex buddy(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const;
177 177 bool canFetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const;
178 178 bool dropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent);
179 179 void fetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent);
180 180 Qt::ItemFlags flags(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const;
181 181 bool hasChildren(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const;
182 182 bool hasIndex(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const;
183 183 QVariant headerData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
184 184 bool insertColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent = QModelIndex());
185 185 bool insertColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex());
186 186 bool insertRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent = QModelIndex());
187 187 bool insertRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex());
188 188 QMap<int , QVariant > itemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const;
189 189 QList<QModelIndex > match(QAbstractItemModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const;
190 190 QMimeData* mimeData(QAbstractItemModel* theWrappedObject, const QList<QModelIndex >& indexes) const;
191 191 QStringList mimeTypes(QAbstractItemModel* theWrappedObject) const;
192 192 QObject* parent(QAbstractItemModel* theWrappedObject) const;
193 193 bool removeColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent = QModelIndex());
194 194 bool removeColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex());
195 195 bool removeRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent = QModelIndex());
196 196 bool removeRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex());
197 197 const QHash<int , QByteArray >* roleNames(QAbstractItemModel* theWrappedObject) const;
198 198 bool setData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
199 199 bool setHeaderData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole);
200 200 bool setItemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QMap<int , QVariant >& roles);
201 201 void setSupportedDragActions(QAbstractItemModel* theWrappedObject, Qt::DropActions arg__1);
202 202 QModelIndex sibling(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& idx) const;
203 203 void sort(QAbstractItemModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder);
204 204 QSize span(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const;
205 205 Qt::DropActions supportedDragActions(QAbstractItemModel* theWrappedObject) const;
206 206 Qt::DropActions supportedDropActions(QAbstractItemModel* theWrappedObject) const;
207 207 };
208 208
209 209
210 210
211 211
212 212
213 213 class PythonQtShell_QAbstractListModel : public QAbstractListModel
214 214 {
215 215 public:
216 216 PythonQtShell_QAbstractListModel(QObject* parent = 0):QAbstractListModel(parent),_wrapper(NULL) {};
217 217
218 218 virtual QModelIndex buddy(const QModelIndex& index) const;
219 219 virtual bool canFetchMore(const QModelIndex& parent) const;
220 220 virtual void childEvent(QChildEvent* arg__1);
221 221 virtual void customEvent(QEvent* arg__1);
222 222 virtual QVariant data(const QModelIndex& index, int role) const;
223 223 virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent);
224 224 virtual bool event(QEvent* arg__1);
225 225 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
226 226 virtual void fetchMore(const QModelIndex& parent);
227 227 virtual Qt::ItemFlags flags(const QModelIndex& index) const;
228 228 virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const;
229 229 virtual QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const;
230 230 virtual bool insertColumns(int column, int count, const QModelIndex& parent);
231 231 virtual bool insertRows(int row, int count, const QModelIndex& parent);
232 232 virtual QMap<int , QVariant > itemData(const QModelIndex& index) const;
233 233 virtual QList<QModelIndex > match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const;
234 234 virtual QMimeData* mimeData(const QList<QModelIndex >& indexes) const;
235 235 virtual QStringList mimeTypes() const;
236 236 virtual bool removeColumns(int column, int count, const QModelIndex& parent);
237 237 virtual bool removeRows(int row, int count, const QModelIndex& parent);
238 238 virtual void revert();
239 239 virtual int rowCount(const QModelIndex& parent) const;
240 240 virtual bool setData(const QModelIndex& index, const QVariant& value, int role);
241 241 virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role);
242 242 virtual bool setItemData(const QModelIndex& index, const QMap<int , QVariant >& roles);
243 243 virtual void sort(int column, Qt::SortOrder order);
244 244 virtual QSize span(const QModelIndex& index) const;
245 245 virtual bool submit();
246 246 virtual Qt::DropActions supportedDropActions() const;
247 247 virtual void timerEvent(QTimerEvent* arg__1);
248 248
249 249 PythonQtInstanceWrapper* _wrapper;
250 250 };
251 251
252 252 class PythonQtPublicPromoter_QAbstractListModel : public QAbstractListModel
253 253 { public:
254 254 inline bool promoted_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QAbstractListModel::dropMimeData(data, action, row, column, parent); }
255 255 inline QModelIndex promoted_index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const { return QAbstractListModel::index(row, column, parent); }
256 256 };
257 257
258 258 class PythonQtWrapper_QAbstractListModel : public QObject
259 259 { Q_OBJECT
260 260 public:
261 261 public slots:
262 262 QAbstractListModel* new_QAbstractListModel(QObject* parent = 0);
263 263 void delete_QAbstractListModel(QAbstractListModel* obj) { delete obj; }
264 264 bool dropMimeData(QAbstractListModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent);
265 265 QModelIndex index(QAbstractListModel* theWrappedObject, int row, int column = 0, const QModelIndex& parent = QModelIndex()) const;
266 266 };
267 267
268 268
269 269
270 270
271 271
272 272 class PythonQtShell_QAbstractState : public QAbstractState
273 273 {
274 274 public:
275 275 PythonQtShell_QAbstractState(QState* parent = 0):QAbstractState(parent),_wrapper(NULL) {};
276 276
277 277 virtual void childEvent(QChildEvent* arg__1);
278 278 virtual void customEvent(QEvent* arg__1);
279 279 virtual bool event(QEvent* e);
280 280 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
281 281 virtual void onEntry(QEvent* event);
282 282 virtual void onExit(QEvent* event);
283 283 virtual void timerEvent(QTimerEvent* arg__1);
284 284
285 285 PythonQtInstanceWrapper* _wrapper;
286 286 };
287 287
288 288 class PythonQtPublicPromoter_QAbstractState : public QAbstractState
289 289 { public:
290 290 inline bool promoted_event(QEvent* e) { return QAbstractState::event(e); }
291 291 };
292 292
293 293 class PythonQtWrapper_QAbstractState : public QObject
294 294 { Q_OBJECT
295 295 public:
296 296 public slots:
297 297 void delete_QAbstractState(QAbstractState* obj) { delete obj; }
298 298 bool event(QAbstractState* theWrappedObject, QEvent* e);
299 299 QStateMachine* machine(QAbstractState* theWrappedObject) const;
300 300 QState* parentState(QAbstractState* theWrappedObject) const;
301 301 };
302 302
303 303
304 304
305 305
306 306
307 307 class PythonQtShell_QAbstractTransition : public QAbstractTransition
308 308 {
309 309 public:
310 310 PythonQtShell_QAbstractTransition(QState* sourceState = 0):QAbstractTransition(sourceState),_wrapper(NULL) {};
311 311
312 312 virtual void childEvent(QChildEvent* arg__1);
313 313 virtual void customEvent(QEvent* arg__1);
314 314 virtual bool event(QEvent* e);
315 315 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
316 316 virtual bool eventTest(QEvent* event);
317 317 virtual void onTransition(QEvent* event);
318 318 virtual void timerEvent(QTimerEvent* arg__1);
319 319
320 320 PythonQtInstanceWrapper* _wrapper;
321 321 };
322 322
323 323 class PythonQtPublicPromoter_QAbstractTransition : public QAbstractTransition
324 324 { public:
325 325 inline bool promoted_event(QEvent* e) { return QAbstractTransition::event(e); }
326 326 };
327 327
328 328 class PythonQtWrapper_QAbstractTransition : public QObject
329 329 { Q_OBJECT
330 330 public:
331 331 public slots:
332 332 QAbstractTransition* new_QAbstractTransition(QState* sourceState = 0);
333 333 void delete_QAbstractTransition(QAbstractTransition* obj) { delete obj; }
334 334 void addAnimation(QAbstractTransition* theWrappedObject, QAbstractAnimation* animation);
335 335 QList<QAbstractAnimation* > animations(QAbstractTransition* theWrappedObject) const;
336 336 bool event(QAbstractTransition* theWrappedObject, QEvent* e);
337 337 QStateMachine* machine(QAbstractTransition* theWrappedObject) const;
338 338 void removeAnimation(QAbstractTransition* theWrappedObject, QAbstractAnimation* animation);
339 339 void setTargetState(QAbstractTransition* theWrappedObject, QAbstractState* target);
340 340 void setTargetStates(QAbstractTransition* theWrappedObject, const QList<QAbstractState* >& targets);
341 341 QState* sourceState(QAbstractTransition* theWrappedObject) const;
342 342 QAbstractState* targetState(QAbstractTransition* theWrappedObject) const;
343 343 QList<QAbstractState* > targetStates(QAbstractTransition* theWrappedObject) const;
344 344 };
345 345
346 346
347 347
348 348
349 349
350 350 class PythonQtShell_QAnimationGroup : public QAnimationGroup
351 351 {
352 352 public:
353 353 PythonQtShell_QAnimationGroup(QObject* parent = 0):QAnimationGroup(parent),_wrapper(NULL) {};
354 354
355 355 virtual void childEvent(QChildEvent* arg__1);
356 356 virtual void customEvent(QEvent* arg__1);
357 357 virtual int duration() const;
358 358 virtual bool event(QEvent* event);
359 359 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
360 360 virtual void timerEvent(QTimerEvent* arg__1);
361 361 virtual void updateCurrentTime(int currentTime);
362 362 virtual void updateDirection(QAbstractAnimation::Direction direction);
363 363 virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState);
364 364
365 365 PythonQtInstanceWrapper* _wrapper;
366 366 };
367 367
368 368 class PythonQtPublicPromoter_QAnimationGroup : public QAnimationGroup
369 369 { public:
370 370 inline bool promoted_event(QEvent* event) { return QAnimationGroup::event(event); }
371 371 };
372 372
373 373 class PythonQtWrapper_QAnimationGroup : public QObject
374 374 { Q_OBJECT
375 375 public:
376 376 public slots:
377 377 QAnimationGroup* new_QAnimationGroup(QObject* parent = 0);
378 378 void delete_QAnimationGroup(QAnimationGroup* obj) { delete obj; }
379 379 void addAnimation(QAnimationGroup* theWrappedObject, QAbstractAnimation* animation);
380 380 QAbstractAnimation* animationAt(QAnimationGroup* theWrappedObject, int index) const;
381 381 int animationCount(QAnimationGroup* theWrappedObject) const;
382 382 void clear(QAnimationGroup* theWrappedObject);
383 383 bool event(QAnimationGroup* theWrappedObject, QEvent* event);
384 384 int indexOfAnimation(QAnimationGroup* theWrappedObject, QAbstractAnimation* animation) const;
385 385 void insertAnimation(QAnimationGroup* theWrappedObject, int index, QAbstractAnimation* animation);
386 386 void removeAnimation(QAnimationGroup* theWrappedObject, QAbstractAnimation* animation);
387 387 QAbstractAnimation* takeAnimation(QAnimationGroup* theWrappedObject, int index);
388 388 };
389 389
390 390
391 391
392 392
393 393
394 394 class PythonQtWrapper_QBasicTimer : public QObject
395 395 { Q_OBJECT
396 396 public:
397 397 public slots:
398 398 QBasicTimer* new_QBasicTimer();
399 399 QBasicTimer* new_QBasicTimer(const QBasicTimer& other) {
400 400 QBasicTimer* a = new QBasicTimer();
401 401 *((QBasicTimer*)a) = other;
402 402 return a; }
403 403 void delete_QBasicTimer(QBasicTimer* obj) { delete obj; }
404 404 bool isActive(QBasicTimer* theWrappedObject) const;
405 405 void start(QBasicTimer* theWrappedObject, int msec, QObject* obj);
406 406 void stop(QBasicTimer* theWrappedObject);
407 407 int timerId(QBasicTimer* theWrappedObject) const;
408 408 };
409 409
410 410
411 411
412 412
413 413
414 414 class PythonQtShell_QBuffer : public QBuffer
415 415 {
416 416 public:
417 417 PythonQtShell_QBuffer(QByteArray* buf, QObject* parent = 0):QBuffer(buf, parent),_wrapper(NULL) {};
418 418 PythonQtShell_QBuffer(QObject* parent = 0):QBuffer(parent),_wrapper(NULL) {};
419 419
420 420 virtual bool atEnd() const;
421 421 virtual qint64 bytesAvailable() const;
422 422 virtual qint64 bytesToWrite() const;
423 423 virtual bool canReadLine() const;
424 424 virtual void childEvent(QChildEvent* arg__1);
425 425 virtual void close();
426 426 virtual void customEvent(QEvent* arg__1);
427 427 virtual bool event(QEvent* arg__1);
428 428 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
429 429 virtual bool isSequential() const;
430 430 virtual bool open(QIODevice::OpenMode openMode);
431 431 virtual qint64 pos() const;
432 432 virtual qint64 readData(char* data, qint64 maxlen);
433 433 virtual qint64 readLineData(char* data, qint64 maxlen);
434 434 virtual bool reset();
435 435 virtual bool seek(qint64 off);
436 436 virtual qint64 size() const;
437 437 virtual void timerEvent(QTimerEvent* arg__1);
438 438 virtual bool waitForBytesWritten(int msecs);
439 439 virtual bool waitForReadyRead(int msecs);
440 440 virtual qint64 writeData(const char* data, qint64 len);
441 441
442 442 PythonQtInstanceWrapper* _wrapper;
443 443 };
444 444
445 445 class PythonQtPublicPromoter_QBuffer : public QBuffer
446 446 { public:
447 447 inline bool promoted_atEnd() const { return QBuffer::atEnd(); }
448 448 inline bool promoted_canReadLine() const { return QBuffer::canReadLine(); }
449 449 inline void promoted_close() { QBuffer::close(); }
450 450 inline bool promoted_open(QIODevice::OpenMode openMode) { return QBuffer::open(openMode); }
451 451 inline qint64 promoted_pos() const { return QBuffer::pos(); }
452 452 inline qint64 promoted_readData(char* data, qint64 maxlen) { return QBuffer::readData(data, maxlen); }
453 453 inline bool promoted_seek(qint64 off) { return QBuffer::seek(off); }
454 454 inline qint64 promoted_size() const { return QBuffer::size(); }
455 455 inline qint64 promoted_writeData(const char* data, qint64 len) { return QBuffer::writeData(data, len); }
456 456 };
457 457
458 458 class PythonQtWrapper_QBuffer : public QObject
459 459 { Q_OBJECT
460 460 public:
461 461 public slots:
462 462 QBuffer* new_QBuffer(QByteArray* buf, QObject* parent = 0);
463 463 QBuffer* new_QBuffer(QObject* parent = 0);
464 464 void delete_QBuffer(QBuffer* obj) { delete obj; }
465 465 bool atEnd(QBuffer* theWrappedObject) const;
466 466 bool canReadLine(QBuffer* theWrappedObject) const;
467 467 void close(QBuffer* theWrappedObject);
468 468 bool open(QBuffer* theWrappedObject, QIODevice::OpenMode openMode);
469 469 qint64 pos(QBuffer* theWrappedObject) const;
470 470 qint64 readData(QBuffer* theWrappedObject, char* data, qint64 maxlen);
471 471 bool seek(QBuffer* theWrappedObject, qint64 off);
472 472 void setBuffer(QBuffer* theWrappedObject, QByteArray* a);
473 473 void setData(QBuffer* theWrappedObject, const QByteArray& data);
474 474 qint64 size(QBuffer* theWrappedObject) const;
475 475 qint64 writeData(QBuffer* theWrappedObject, const char* data, qint64 len);
476 476 };
477 477
478 478
479 479
480 480
481 481
482 482 class PythonQtWrapper_QByteArrayMatcher : public QObject
483 483 { Q_OBJECT
484 484 public:
485 485 public slots:
486 486 QByteArrayMatcher* new_QByteArrayMatcher();
487 487 QByteArrayMatcher* new_QByteArrayMatcher(const QByteArray& pattern);
488 488 QByteArrayMatcher* new_QByteArrayMatcher(const QByteArrayMatcher& other);
489 489 QByteArrayMatcher* new_QByteArrayMatcher(const char* pattern, int length);
490 490 void delete_QByteArrayMatcher(QByteArrayMatcher* obj) { delete obj; }
491 491 int indexIn(QByteArrayMatcher* theWrappedObject, const QByteArray& ba, int from = 0) const;
492 492 int indexIn(QByteArrayMatcher* theWrappedObject, const char* str, int len, int from = 0) const;
493 493 QByteArray pattern(QByteArrayMatcher* theWrappedObject) const;
494 494 void setPattern(QByteArrayMatcher* theWrappedObject, const QByteArray& pattern);
495 495 };
496 496
497 497
498 498
499 499
500 500
501 501 class PythonQtShell_QChildEvent : public QChildEvent
502 502 {
503 503 public:
504 504 PythonQtShell_QChildEvent(QEvent::Type type, QObject* child):QChildEvent(type, child),_wrapper(NULL) {};
505 505
506 506
507 507 PythonQtInstanceWrapper* _wrapper;
508 508 };
509 509
510 510 class PythonQtWrapper_QChildEvent : public QObject
511 511 { Q_OBJECT
512 512 public:
513 513 public slots:
514 514 QChildEvent* new_QChildEvent(QEvent::Type type, QObject* child);
515 515 void delete_QChildEvent(QChildEvent* obj) { delete obj; }
516 516 bool added(QChildEvent* theWrappedObject) const;
517 517 QObject* child(QChildEvent* theWrappedObject) const;
518 518 bool polished(QChildEvent* theWrappedObject) const;
519 519 bool removed(QChildEvent* theWrappedObject) const;
520 520 };
521 521
522 522
523 523
524 524
525 525
526 526 class PythonQtShell_QCoreApplication : public QCoreApplication
527 527 {
528 528 public:
529 529
530 530 virtual void childEvent(QChildEvent* arg__1);
531 531 virtual void customEvent(QEvent* arg__1);
532 532 virtual bool event(QEvent* arg__1);
533 533 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
534 534 virtual bool notify(QObject* arg__1, QEvent* arg__2);
535 535 virtual void timerEvent(QTimerEvent* arg__1);
536 536
537 537 PythonQtInstanceWrapper* _wrapper;
538 538 };
539 539
540 540 class PythonQtPublicPromoter_QCoreApplication : public QCoreApplication
541 541 { public:
542 542 inline bool promoted_event(QEvent* arg__1) { return QCoreApplication::event(arg__1); }
543 543 inline bool promoted_notify(QObject* arg__1, QEvent* arg__2) { return QCoreApplication::notify(arg__1, arg__2); }
544 544 };
545 545
546 546 class PythonQtWrapper_QCoreApplication : public QObject
547 547 { Q_OBJECT
548 548 public:
549 549 Q_ENUMS(Encoding )
550 550 enum Encoding{
551 551 CodecForTr = QCoreApplication::CodecForTr, UnicodeUTF8 = QCoreApplication::UnicodeUTF8, DefaultCodec = QCoreApplication::DefaultCodec};
552 552 public slots:
553 553 void delete_QCoreApplication(QCoreApplication* obj) { delete obj; }
554 554 void static_QCoreApplication_addLibraryPath(const QString& arg__1);
555 555 QString static_QCoreApplication_applicationDirPath();
556 556 QString static_QCoreApplication_applicationFilePath();
557 557 QString static_QCoreApplication_applicationName();
558 558 qint64 static_QCoreApplication_applicationPid();
559 559 QString static_QCoreApplication_applicationVersion();
560 560 bool static_QCoreApplication_closingDown();
561 561 bool event(QCoreApplication* theWrappedObject, QEvent* arg__1);
562 562 int static_QCoreApplication_exec();
563 563 void static_QCoreApplication_exit(int retcode = 0);
564 564 void static_QCoreApplication_flush();
565 565 bool static_QCoreApplication_hasPendingEvents();
566 566 void static_QCoreApplication_installTranslator(QTranslator* messageFile);
567 567 QCoreApplication* static_QCoreApplication_instance();
568 568 QStringList static_QCoreApplication_libraryPaths();
569 569 bool notify(QCoreApplication* theWrappedObject, QObject* arg__1, QEvent* arg__2);
570 570 QString static_QCoreApplication_organizationDomain();
571 571 QString static_QCoreApplication_organizationName();
572 572 void static_QCoreApplication_postEvent(QObject* receiver, QEvent* event);
573 573 void static_QCoreApplication_postEvent(QObject* receiver, QEvent* event, int priority);
574 574 void static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents);
575 575 void static_QCoreApplication_processEvents(QEventLoop::ProcessEventsFlags flags, int maxtime);
576 576 void static_QCoreApplication_removeLibraryPath(const QString& arg__1);
577 577 void static_QCoreApplication_removePostedEvents(QObject* receiver);
578 578 void static_QCoreApplication_removePostedEvents(QObject* receiver, int eventType);
579 579 void static_QCoreApplication_removeTranslator(QTranslator* messageFile);
580 580 bool static_QCoreApplication_sendEvent(QObject* receiver, QEvent* event);
581 581 void static_QCoreApplication_sendPostedEvents();
582 582 void static_QCoreApplication_sendPostedEvents(QObject* receiver, int event_type);
583 583 void static_QCoreApplication_setApplicationName(const QString& application);
584 584 void static_QCoreApplication_setApplicationVersion(const QString& version);
585 585 void static_QCoreApplication_setAttribute(Qt::ApplicationAttribute attribute, bool on = true);
586 586 void static_QCoreApplication_setLibraryPaths(const QStringList& arg__1);
587 587 void static_QCoreApplication_setOrganizationDomain(const QString& orgDomain);
588 588 void static_QCoreApplication_setOrganizationName(const QString& orgName);
589 589 bool static_QCoreApplication_startingUp();
590 590 bool static_QCoreApplication_testAttribute(Qt::ApplicationAttribute attribute);
591 591 QString static_QCoreApplication_translate(const char* context, const char* key, const char* disambiguation = 0, QCoreApplication::Encoding encoding = QCoreApplication::CodecForTr);
592 592 QString static_QCoreApplication_translate(const char* context, const char* key, const char* disambiguation, QCoreApplication::Encoding encoding, int n);
593 593 };
594 594
595 595
596 596
597 597
598 598
599 599 class PythonQtWrapper_QCryptographicHash : public QObject
600 600 { Q_OBJECT
601 601 public:
602 602 Q_ENUMS(Algorithm )
603 603 enum Algorithm{
604 604 Md4 = QCryptographicHash::Md4, Md5 = QCryptographicHash::Md5, Sha1 = QCryptographicHash::Sha1};
605 605 public slots:
606 606 QCryptographicHash* new_QCryptographicHash(QCryptographicHash::Algorithm method);
607 607 void delete_QCryptographicHash(QCryptographicHash* obj) { delete obj; }
608 608 void addData(QCryptographicHash* theWrappedObject, const QByteArray& data);
609 609 QByteArray static_QCryptographicHash_hash(const QByteArray& data, QCryptographicHash::Algorithm method);
610 610 void reset(QCryptographicHash* theWrappedObject);
611 611 QByteArray result(QCryptographicHash* theWrappedObject) const;
612 612 };
613 613
614 614
615 615
616 616
617 617
618 618 class PythonQtShell_QDataStream : public QDataStream
619 619 {
620 620 public:
621 621 PythonQtShell_QDataStream():QDataStream(),_wrapper(NULL) {};
622 622 PythonQtShell_QDataStream(QByteArray* arg__1, QIODevice::OpenMode flags):QDataStream(arg__1, flags),_wrapper(NULL) {};
623 623 PythonQtShell_QDataStream(QIODevice* arg__1):QDataStream(arg__1),_wrapper(NULL) {};
624 624 PythonQtShell_QDataStream(const QByteArray& arg__1):QDataStream(arg__1),_wrapper(NULL) {};
625 625
626 626
627 627 PythonQtInstanceWrapper* _wrapper;
628 628 };
629 629
630 630 class PythonQtWrapper_QDataStream : public QObject
631 631 { Q_OBJECT
632 632 public:
633 633 Q_ENUMS(FloatingPointPrecision Version Status )
634 634 enum FloatingPointPrecision{
635 635 SinglePrecision = QDataStream::SinglePrecision, DoublePrecision = QDataStream::DoublePrecision};
636 636 enum Version{
637 637 Qt_1_0 = QDataStream::Qt_1_0, Qt_2_0 = QDataStream::Qt_2_0, Qt_2_1 = QDataStream::Qt_2_1, Qt_3_0 = QDataStream::Qt_3_0, Qt_3_1 = QDataStream::Qt_3_1, Qt_3_3 = QDataStream::Qt_3_3, Qt_4_0 = QDataStream::Qt_4_0, Qt_4_1 = QDataStream::Qt_4_1, Qt_4_2 = QDataStream::Qt_4_2, Qt_4_3 = QDataStream::Qt_4_3, Qt_4_4 = QDataStream::Qt_4_4, Qt_4_5 = QDataStream::Qt_4_5, Qt_4_6 = QDataStream::Qt_4_6};
638 638 enum Status{
639 639 Ok = QDataStream::Ok, ReadPastEnd = QDataStream::ReadPastEnd, ReadCorruptData = QDataStream::ReadCorruptData};
640 640 public slots:
641 641 QDataStream* new_QDataStream();
642 642 QDataStream* new_QDataStream(QByteArray* arg__1, QIODevice::OpenMode flags);
643 643 QDataStream* new_QDataStream(QIODevice* arg__1);
644 644 QDataStream* new_QDataStream(const QByteArray& arg__1);
645 645 void delete_QDataStream(QDataStream* obj) { delete obj; }
646 646 bool atEnd(QDataStream* theWrappedObject) const;
647 647 QIODevice* device(QDataStream* theWrappedObject) const;
648 648 QDataStream::FloatingPointPrecision floatingPointPrecision(QDataStream* theWrappedObject) const;
649 649 QDataStream* writeBoolean(QDataStream* theWrappedObject, bool i);
650 650 QDataStream* writeDouble(QDataStream* theWrappedObject, double f);
651 651 QDataStream* writeFloat(QDataStream* theWrappedObject, float f);
652 652 QDataStream* writeInt(QDataStream* theWrappedObject, int i);
653 653 QDataStream* writeLongLong(QDataStream* theWrappedObject, qint64 i);
654 654 QDataStream* writeShort(QDataStream* theWrappedObject, short i);
655 655 QDataStream* readBoolean(QDataStream* theWrappedObject, bool& i);
656 656 QDataStream* readDouble(QDataStream* theWrappedObject, double& f);
657 657 QDataStream* readFloat(QDataStream* theWrappedObject, float& f);
658 658 QDataStream* readInt(QDataStream* theWrappedObject, int& i);
659 659 QDataStream* readLongLong(QDataStream* theWrappedObject, qint64& i);
660 660 QDataStream* readShort(QDataStream* theWrappedObject, short& i);
661 661 QDataStream* readUShort(QDataStream* theWrappedObject, unsigned short& i);
662 662 void resetStatus(QDataStream* theWrappedObject);
663 663 void setDevice(QDataStream* theWrappedObject, QIODevice* arg__1);
664 664 void setFloatingPointPrecision(QDataStream* theWrappedObject, QDataStream::FloatingPointPrecision precision);
665 665 void setStatus(QDataStream* theWrappedObject, QDataStream::Status status);
666 666 void setVersion(QDataStream* theWrappedObject, int arg__1);
667 667 int skipRawData(QDataStream* theWrappedObject, int len);
668 668 QDataStream::Status status(QDataStream* theWrappedObject) const;
669 669 void unsetDevice(QDataStream* theWrappedObject);
670 670 int version(QDataStream* theWrappedObject) const;
671 671 };
672 672
673 673
674 674
675 675
676 676
677 677 class PythonQtWrapper_QDir : public QObject
678 678 { Q_OBJECT
679 679 public:
680 680 Q_ENUMS(Filter SortFlag )
681 681 Q_FLAGS(Filters SortFlags )
682 682 enum Filter{
683 683 Dirs = QDir::Dirs, Files = QDir::Files, Drives = QDir::Drives, NoSymLinks = QDir::NoSymLinks, AllEntries = QDir::AllEntries, TypeMask = QDir::TypeMask, Readable = QDir::Readable, Writable = QDir::Writable, Executable = QDir::Executable, PermissionMask = QDir::PermissionMask, Modified = QDir::Modified, Hidden = QDir::Hidden, System = QDir::System, AccessMask = QDir::AccessMask, AllDirs = QDir::AllDirs, CaseSensitive = QDir::CaseSensitive, NoDotAndDotDot = QDir::NoDotAndDotDot, NoFilter = QDir::NoFilter};
684 684 enum SortFlag{
685 685 Name = QDir::Name, Time = QDir::Time, Size = QDir::Size, Unsorted = QDir::Unsorted, SortByMask = QDir::SortByMask, DirsFirst = QDir::DirsFirst, Reversed = QDir::Reversed, IgnoreCase = QDir::IgnoreCase, DirsLast = QDir::DirsLast, LocaleAware = QDir::LocaleAware, Type = QDir::Type, NoSort = QDir::NoSort};
686 686 Q_DECLARE_FLAGS(Filters, Filter)
687 687 Q_DECLARE_FLAGS(SortFlags, SortFlag)
688 688 public slots:
689 689 QDir* new_QDir(const QDir& arg__1);
690 690 QDir* new_QDir(const QString& path = QString());
691 691 QDir* new_QDir(const QString& path, const QString& nameFilter, QDir::SortFlags sort = QDir::SortFlags(Name | IgnoreCase), QDir::Filters filter = QDir::AllEntries);
692 692 void delete_QDir(QDir* obj) { delete obj; }
693 693 QString absoluteFilePath(QDir* theWrappedObject, const QString& fileName) const;
694 694 QString absolutePath(QDir* theWrappedObject) const;
695 695 void static_QDir_addSearchPath(const QString& prefix, const QString& path);
696 696 QString canonicalPath(QDir* theWrappedObject) const;
697 697 bool cd(QDir* theWrappedObject, const QString& dirName);
698 698 bool cdUp(QDir* theWrappedObject);
699 699 QString static_QDir_cleanPath(const QString& path);
700 700 QString static_QDir_convertSeparators(const QString& pathName);
701 701 uint count(QDir* theWrappedObject) const;
702 702 QDir static_QDir_current();
703 703 QString static_QDir_currentPath();
704 704 QString dirName(QDir* theWrappedObject) const;
705 705 QList<QFileInfo > static_QDir_drives();
706 706 QList<QFileInfo > entryInfoList(QDir* theWrappedObject, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const;
707 707 QList<QFileInfo > entryInfoList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const;
708 708 QStringList entryList(QDir* theWrappedObject, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const;
709 709 QStringList entryList(QDir* theWrappedObject, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const;
710 710 bool exists(QDir* theWrappedObject) const;
711 711 bool exists(QDir* theWrappedObject, const QString& name) const;
712 712 QString filePath(QDir* theWrappedObject, const QString& fileName) const;
713 713 QDir::Filters filter(QDir* theWrappedObject) const;
714 714 QString static_QDir_fromNativeSeparators(const QString& pathName);
715 715 QDir static_QDir_home();
716 716 QString static_QDir_homePath();
717 717 bool isAbsolute(QDir* theWrappedObject) const;
718 718 bool static_QDir_isAbsolutePath(const QString& path);
719 719 bool isReadable(QDir* theWrappedObject) const;
720 720 bool isRelative(QDir* theWrappedObject) const;
721 721 bool static_QDir_isRelativePath(const QString& path);
722 722 bool isRoot(QDir* theWrappedObject) const;
723 723 bool makeAbsolute(QDir* theWrappedObject);
724 724 bool static_QDir_match(const QString& filter, const QString& fileName);
725 725 bool static_QDir_match(const QStringList& filters, const QString& fileName);
726 726 bool mkdir(QDir* theWrappedObject, const QString& dirName) const;
727 727 bool mkpath(QDir* theWrappedObject, const QString& dirPath) const;
728 728 QStringList nameFilters(QDir* theWrappedObject) const;
729 729 QStringList static_QDir_nameFiltersFromString(const QString& nameFilter);
730 730 bool __ne__(QDir* theWrappedObject, const QDir& dir) const;
731 731 bool __eq__(QDir* theWrappedObject, const QDir& dir) const;
732 732 QString operator_subscript(QDir* theWrappedObject, int arg__1) const;
733 733 QString path(QDir* theWrappedObject) const;
734 734 void refresh(QDir* theWrappedObject) const;
735 735 QString relativeFilePath(QDir* theWrappedObject, const QString& fileName) const;
736 736 bool remove(QDir* theWrappedObject, const QString& fileName);
737 737 bool rename(QDir* theWrappedObject, const QString& oldName, const QString& newName);
738 738 bool rmdir(QDir* theWrappedObject, const QString& dirName) const;
739 739 bool rmpath(QDir* theWrappedObject, const QString& dirPath) const;
740 740 QDir static_QDir_root();
741 741 QString static_QDir_rootPath();
742 742 QStringList static_QDir_searchPaths(const QString& prefix);
743 743 QChar static_QDir_separator();
744 744 bool static_QDir_setCurrent(const QString& path);
745 745 void setFilter(QDir* theWrappedObject, QDir::Filters filter);
746 746 void setNameFilters(QDir* theWrappedObject, const QStringList& nameFilters);
747 747 void setPath(QDir* theWrappedObject, const QString& path);
748 748 void static_QDir_setSearchPaths(const QString& prefix, const QStringList& searchPaths);
749 749 void setSorting(QDir* theWrappedObject, QDir::SortFlags sort);
750 750 QDir::SortFlags sorting(QDir* theWrappedObject) const;
751 751 QDir static_QDir_temp();
752 752 QString static_QDir_tempPath();
753 753 QString static_QDir_toNativeSeparators(const QString& pathName);
754 754 QString py_toString(QDir*);
755 755 };
756 756
757 757
758 758
759 759
760 760
761 761 class PythonQtShell_QDirIterator : public QDirIterator
762 762 {
763 763 public:
764 764 PythonQtShell_QDirIterator(const QDir& dir, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags):QDirIterator(dir, flags),_wrapper(NULL) {};
765 765 PythonQtShell_QDirIterator(const QString& path, QDir::Filters filter, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags):QDirIterator(path, filter, flags),_wrapper(NULL) {};
766 766 PythonQtShell_QDirIterator(const QString& path, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags):QDirIterator(path, flags),_wrapper(NULL) {};
767 767 PythonQtShell_QDirIterator(const QString& path, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags):QDirIterator(path, nameFilters, filters, flags),_wrapper(NULL) {};
768 768
769 769
770 770 PythonQtInstanceWrapper* _wrapper;
771 771 };
772 772
773 773 class PythonQtWrapper_QDirIterator : public QObject
774 774 { Q_OBJECT
775 775 public:
776 776 Q_ENUMS(IteratorFlag )
777 777 Q_FLAGS(IteratorFlags )
778 778 enum IteratorFlag{
779 779 NoIteratorFlags = QDirIterator::NoIteratorFlags, FollowSymlinks = QDirIterator::FollowSymlinks, Subdirectories = QDirIterator::Subdirectories};
780 780 Q_DECLARE_FLAGS(IteratorFlags, IteratorFlag)
781 781 public slots:
782 782 QDirIterator* new_QDirIterator(const QDir& dir, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags);
783 783 QDirIterator* new_QDirIterator(const QString& path, QDir::Filters filter, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags);
784 784 QDirIterator* new_QDirIterator(const QString& path, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags);
785 785 QDirIterator* new_QDirIterator(const QString& path, const QStringList& nameFilters, QDir::Filters filters = QDir::NoFilter, QDirIterator::IteratorFlags flags = QDirIterator::NoIteratorFlags);
786 786 void delete_QDirIterator(QDirIterator* obj) { delete obj; }
787 787 QFileInfo fileInfo(QDirIterator* theWrappedObject) const;
788 788 QString fileName(QDirIterator* theWrappedObject) const;
789 789 QString filePath(QDirIterator* theWrappedObject) const;
790 790 bool hasNext(QDirIterator* theWrappedObject) const;
791 791 QString next(QDirIterator* theWrappedObject);
792 792 QString path(QDirIterator* theWrappedObject) const;
793 793 };
794 794
795 795
796 796
797 797
798 798
799 799 class PythonQtWrapper_QDynamicPropertyChangeEvent : public QObject
800 800 { Q_OBJECT
801 801 public:
802 802 public slots:
803 803 QDynamicPropertyChangeEvent* new_QDynamicPropertyChangeEvent(const QByteArray& name);
804 804 void delete_QDynamicPropertyChangeEvent(QDynamicPropertyChangeEvent* obj) { delete obj; }
805 805 QByteArray propertyName(QDynamicPropertyChangeEvent* theWrappedObject) const;
806 806 };
807 807
808 808
809 809
810 810
811 811
812 812 class PythonQtWrapper_QEasingCurve : public QObject
813 813 { Q_OBJECT
814 814 public:
815 815 Q_ENUMS(Type )
816 816 enum Type{
817 817 Linear = QEasingCurve::Linear, InQuad = QEasingCurve::InQuad, OutQuad = QEasingCurve::OutQuad, InOutQuad = QEasingCurve::InOutQuad, OutInQuad = QEasingCurve::OutInQuad, InCubic = QEasingCurve::InCubic, OutCubic = QEasingCurve::OutCubic, InOutCubic = QEasingCurve::InOutCubic, OutInCubic = QEasingCurve::OutInCubic, InQuart = QEasingCurve::InQuart, OutQuart = QEasingCurve::OutQuart, InOutQuart = QEasingCurve::InOutQuart, OutInQuart = QEasingCurve::OutInQuart, InQuint = QEasingCurve::InQuint, OutQuint = QEasingCurve::OutQuint, InOutQuint = QEasingCurve::InOutQuint, OutInQuint = QEasingCurve::OutInQuint, InSine = QEasingCurve::InSine, OutSine = QEasingCurve::OutSine, InOutSine = QEasingCurve::InOutSine, OutInSine = QEasingCurve::OutInSine, InExpo = QEasingCurve::InExpo, OutExpo = QEasingCurve::OutExpo, InOutExpo = QEasingCurve::InOutExpo, OutInExpo = QEasingCurve::OutInExpo, InCirc = QEasingCurve::InCirc, OutCirc = QEasingCurve::OutCirc, InOutCirc = QEasingCurve::InOutCirc, OutInCirc = QEasingCurve::OutInCirc, InElastic = QEasingCurve::InElastic, OutElastic = QEasingCurve::OutElastic, InOutElastic = QEasingCurve::InOutElastic, OutInElastic = QEasingCurve::OutInElastic, InBack = QEasingCurve::InBack, OutBack = QEasingCurve::OutBack, InOutBack = QEasingCurve::InOutBack, OutInBack = QEasingCurve::OutInBack, InBounce = QEasingCurve::InBounce, OutBounce = QEasingCurve::OutBounce, InOutBounce = QEasingCurve::InOutBounce, OutInBounce = QEasingCurve::OutInBounce, InCurve = QEasingCurve::InCurve, OutCurve = QEasingCurve::OutCurve, SineCurve = QEasingCurve::SineCurve, CosineCurve = QEasingCurve::CosineCurve, Custom = QEasingCurve::Custom, NCurveTypes = QEasingCurve::NCurveTypes};
818 818 public slots:
819 819 QEasingCurve* new_QEasingCurve(QEasingCurve::Type type = QEasingCurve::Linear);
820 820 QEasingCurve* new_QEasingCurve(const QEasingCurve& other);
821 821 void delete_QEasingCurve(QEasingCurve* obj) { delete obj; }
822 822 qreal amplitude(QEasingCurve* theWrappedObject) const;
823 823 bool __ne__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const;
824 824 QEasingCurve* operator_assign(QEasingCurve* theWrappedObject, const QEasingCurve& other);
825 825 bool __eq__(QEasingCurve* theWrappedObject, const QEasingCurve& other) const;
826 826 qreal overshoot(QEasingCurve* theWrappedObject) const;
827 827 qreal period(QEasingCurve* theWrappedObject) const;
828 828 void setAmplitude(QEasingCurve* theWrappedObject, qreal amplitude);
829 829 void setOvershoot(QEasingCurve* theWrappedObject, qreal overshoot);
830 830 void setPeriod(QEasingCurve* theWrappedObject, qreal period);
831 831 void setType(QEasingCurve* theWrappedObject, QEasingCurve::Type type);
832 832 QEasingCurve::Type type(QEasingCurve* theWrappedObject) const;
833 833 qreal valueForProgress(QEasingCurve* theWrappedObject, qreal progress) const;
834 834 QString py_toString(QEasingCurve*);
835 835 };
836 836
837 837
838 838
839 839
840 840
841 841 class PythonQtShell_QEvent : public QEvent
842 842 {
843 843 public:
844 844 PythonQtShell_QEvent(QEvent::Type type):QEvent(type),_wrapper(NULL) {};
845 845
846 846
847 847 PythonQtInstanceWrapper* _wrapper;
848 848 };
849 849
850 850 class PythonQtWrapper_QEvent : public QObject
851 851 { Q_OBJECT
852 852 public:
853 853 Q_ENUMS(Type )
854 854 enum Type{
855 None = QEvent::None, Timer = QEvent::Timer, MouseButtonPress = QEvent::MouseButtonPress, MouseButtonRelease = QEvent::MouseButtonRelease, MouseButtonDblClick = QEvent::MouseButtonDblClick, MouseMove = QEvent::MouseMove, KeyPress = QEvent::KeyPress, KeyRelease = QEvent::KeyRelease, FocusIn = QEvent::FocusIn, FocusOut = QEvent::FocusOut, Enter = QEvent::Enter, Leave = QEvent::Leave, Paint = QEvent::Paint, Move = QEvent::Move, Resize = QEvent::Resize, Create = QEvent::Create, Destroy = QEvent::Destroy, Show = QEvent::Show, Hide = QEvent::Hide, Close = QEvent::Close, Quit = QEvent::Quit, ParentChange = QEvent::ParentChange, ParentAboutToChange = QEvent::ParentAboutToChange, ThreadChange = QEvent::ThreadChange, WindowActivate = QEvent::WindowActivate, WindowDeactivate = QEvent::WindowDeactivate, ShowToParent = QEvent::ShowToParent, HideToParent = QEvent::HideToParent, Wheel = QEvent::Wheel, WindowTitleChange = QEvent::WindowTitleChange, WindowIconChange = QEvent::WindowIconChange, ApplicationWindowIconChange = QEvent::ApplicationWindowIconChange, ApplicationFontChange = QEvent::ApplicationFontChange, ApplicationLayoutDirectionChange = QEvent::ApplicationLayoutDirectionChange, ApplicationPaletteChange = QEvent::ApplicationPaletteChange, PaletteChange = QEvent::PaletteChange, Clipboard = QEvent::Clipboard, Speech = QEvent::Speech, MetaCall = QEvent::MetaCall, SockAct = QEvent::SockAct, WinEventAct = QEvent::WinEventAct, DeferredDelete = QEvent::DeferredDelete, DragEnter = QEvent::DragEnter, DragMove = QEvent::DragMove, DragLeave = QEvent::DragLeave, Drop = QEvent::Drop, DragResponse = QEvent::DragResponse, ChildAdded = QEvent::ChildAdded, ChildPolished = QEvent::ChildPolished, ChildRemoved = QEvent::ChildRemoved, ShowWindowRequest = QEvent::ShowWindowRequest, PolishRequest = QEvent::PolishRequest, Polish = QEvent::Polish, LayoutRequest = QEvent::LayoutRequest, UpdateRequest = QEvent::UpdateRequest, UpdateLater = QEvent::UpdateLater, EmbeddingControl = QEvent::EmbeddingControl, ActivateControl = QEvent::ActivateControl, DeactivateControl = QEvent::DeactivateControl, ContextMenu = QEvent::ContextMenu, InputMethod = QEvent::InputMethod, AccessibilityPrepare = QEvent::AccessibilityPrepare, TabletMove = QEvent::TabletMove, LocaleChange = QEvent::LocaleChange, LanguageChange = QEvent::LanguageChange, LayoutDirectionChange = QEvent::LayoutDirectionChange, Style = QEvent::Style, TabletPress = QEvent::TabletPress, TabletRelease = QEvent::TabletRelease, OkRequest = QEvent::OkRequest, HelpRequest = QEvent::HelpRequest, IconDrag = QEvent::IconDrag, FontChange = QEvent::FontChange, EnabledChange = QEvent::EnabledChange, ActivationChange = QEvent::ActivationChange, StyleChange = QEvent::StyleChange, IconTextChange = QEvent::IconTextChange, ModifiedChange = QEvent::ModifiedChange, MouseTrackingChange = QEvent::MouseTrackingChange, WindowBlocked = QEvent::WindowBlocked, WindowUnblocked = QEvent::WindowUnblocked, WindowStateChange = QEvent::WindowStateChange, ToolTip = QEvent::ToolTip, WhatsThis = QEvent::WhatsThis, StatusTip = QEvent::StatusTip, ActionChanged = QEvent::ActionChanged, ActionAdded = QEvent::ActionAdded, ActionRemoved = QEvent::ActionRemoved, FileOpen = QEvent::FileOpen, Shortcut = QEvent::Shortcut, ShortcutOverride = QEvent::ShortcutOverride, WhatsThisClicked = QEvent::WhatsThisClicked, ToolBarChange = QEvent::ToolBarChange, ApplicationActivate = QEvent::ApplicationActivate, ApplicationActivated = QEvent::ApplicationActivated, ApplicationDeactivate = QEvent::ApplicationDeactivate, ApplicationDeactivated = QEvent::ApplicationDeactivated, QueryWhatsThis = QEvent::QueryWhatsThis, EnterWhatsThisMode = QEvent::EnterWhatsThisMode, LeaveWhatsThisMode = QEvent::LeaveWhatsThisMode, ZOrderChange = QEvent::ZOrderChange, HoverEnter = QEvent::HoverEnter, HoverLeave = QEvent::HoverLeave, HoverMove = QEvent::HoverMove, AccessibilityHelp = QEvent::AccessibilityHelp, AccessibilityDescription = QEvent::AccessibilityDescription, AcceptDropsChange = QEvent::AcceptDropsChange, MenubarUpdated = QEvent::MenubarUpdated, ZeroTimerEvent = QEvent::ZeroTimerEvent, GraphicsSceneMouseMove = QEvent::GraphicsSceneMouseMove, GraphicsSceneMousePress = QEvent::GraphicsSceneMousePress, GraphicsSceneMouseRelease = QEvent::GraphicsSceneMouseRelease, GraphicsSceneMouseDoubleClick = QEvent::GraphicsSceneMouseDoubleClick, GraphicsSceneContextMenu = QEvent::GraphicsSceneContextMenu, GraphicsSceneHoverEnter = QEvent::GraphicsSceneHoverEnter, GraphicsSceneHoverMove = QEvent::GraphicsSceneHoverMove, GraphicsSceneHoverLeave = QEvent::GraphicsSceneHoverLeave, GraphicsSceneHelp = QEvent::GraphicsSceneHelp, GraphicsSceneDragEnter = QEvent::GraphicsSceneDragEnter, GraphicsSceneDragMove = QEvent::GraphicsSceneDragMove, GraphicsSceneDragLeave = QEvent::GraphicsSceneDragLeave, GraphicsSceneDrop = QEvent::GraphicsSceneDrop, GraphicsSceneWheel = QEvent::GraphicsSceneWheel, KeyboardLayoutChange = QEvent::KeyboardLayoutChange, DynamicPropertyChange = QEvent::DynamicPropertyChange, TabletEnterProximity = QEvent::TabletEnterProximity, TabletLeaveProximity = QEvent::TabletLeaveProximity, NonClientAreaMouseMove = QEvent::NonClientAreaMouseMove, NonClientAreaMouseButtonPress = QEvent::NonClientAreaMouseButtonPress, NonClientAreaMouseButtonRelease = QEvent::NonClientAreaMouseButtonRelease, NonClientAreaMouseButtonDblClick = QEvent::NonClientAreaMouseButtonDblClick, MacSizeChange = QEvent::MacSizeChange, ContentsRectChange = QEvent::ContentsRectChange, MacGLWindowChange = QEvent::MacGLWindowChange, FutureCallOut = QEvent::FutureCallOut, GraphicsSceneResize = QEvent::GraphicsSceneResize, GraphicsSceneMove = QEvent::GraphicsSceneMove, CursorChange = QEvent::CursorChange, ToolTipChange = QEvent::ToolTipChange, NetworkReplyUpdated = QEvent::NetworkReplyUpdated, GrabMouse = QEvent::GrabMouse, UngrabMouse = QEvent::UngrabMouse, GrabKeyboard = QEvent::GrabKeyboard, UngrabKeyboard = QEvent::UngrabKeyboard, CocoaRequestModal = QEvent::CocoaRequestModal, MacGLClearDrawable = QEvent::MacGLClearDrawable, StateMachineSignal = QEvent::StateMachineSignal, StateMachineWrapped = QEvent::StateMachineWrapped, TouchBegin = QEvent::TouchBegin, TouchUpdate = QEvent::TouchUpdate, TouchEnd = QEvent::TouchEnd, NativeGesture = QEvent::NativeGesture, RequestSoftwareInputPanel = QEvent::RequestSoftwareInputPanel, CloseSoftwareInputPanel = QEvent::CloseSoftwareInputPanel, UpdateSoftKeys = QEvent::UpdateSoftKeys, WinIdChange = QEvent::WinIdChange, Gesture = QEvent::Gesture, GestureOverride = QEvent::GestureOverride, User = QEvent::User, MaxUser = QEvent::MaxUser};
855 None = QEvent::None, Timer = QEvent::Timer, MouseButtonPress = QEvent::MouseButtonPress, MouseButtonRelease = QEvent::MouseButtonRelease, MouseButtonDblClick = QEvent::MouseButtonDblClick, MouseMove = QEvent::MouseMove, KeyPress = QEvent::KeyPress, KeyRelease = QEvent::KeyRelease, FocusIn = QEvent::FocusIn, FocusOut = QEvent::FocusOut, Enter = QEvent::Enter, Leave = QEvent::Leave, Paint = QEvent::Paint, Move = QEvent::Move, Resize = QEvent::Resize, Create = QEvent::Create, Destroy = QEvent::Destroy, Show = QEvent::Show, Hide = QEvent::Hide, Close = QEvent::Close, Quit = QEvent::Quit, ParentChange = QEvent::ParentChange, ParentAboutToChange = QEvent::ParentAboutToChange, ThreadChange = QEvent::ThreadChange, WindowActivate = QEvent::WindowActivate, WindowDeactivate = QEvent::WindowDeactivate, ShowToParent = QEvent::ShowToParent, HideToParent = QEvent::HideToParent, Wheel = QEvent::Wheel, WindowTitleChange = QEvent::WindowTitleChange, WindowIconChange = QEvent::WindowIconChange, ApplicationWindowIconChange = QEvent::ApplicationWindowIconChange, ApplicationFontChange = QEvent::ApplicationFontChange, ApplicationLayoutDirectionChange = QEvent::ApplicationLayoutDirectionChange, ApplicationPaletteChange = QEvent::ApplicationPaletteChange, PaletteChange = QEvent::PaletteChange, Clipboard = QEvent::Clipboard, Speech = QEvent::Speech, MetaCall = QEvent::MetaCall, SockAct = QEvent::SockAct, WinEventAct = QEvent::WinEventAct, DeferredDelete = QEvent::DeferredDelete, DragEnter = QEvent::DragEnter, DragMove = QEvent::DragMove, DragLeave = QEvent::DragLeave, Drop = QEvent::Drop, DragResponse = QEvent::DragResponse, ChildAdded = QEvent::ChildAdded, ChildPolished = QEvent::ChildPolished, ChildRemoved = QEvent::ChildRemoved, ShowWindowRequest = QEvent::ShowWindowRequest, PolishRequest = QEvent::PolishRequest, Polish = QEvent::Polish, LayoutRequest = QEvent::LayoutRequest, UpdateRequest = QEvent::UpdateRequest, UpdateLater = QEvent::UpdateLater, EmbeddingControl = QEvent::EmbeddingControl, ActivateControl = QEvent::ActivateControl, DeactivateControl = QEvent::DeactivateControl, ContextMenu = QEvent::ContextMenu, InputMethod = QEvent::InputMethod, AccessibilityPrepare = QEvent::AccessibilityPrepare, TabletMove = QEvent::TabletMove, LocaleChange = QEvent::LocaleChange, LanguageChange = QEvent::LanguageChange, LayoutDirectionChange = QEvent::LayoutDirectionChange, Style = QEvent::Style, TabletPress = QEvent::TabletPress, TabletRelease = QEvent::TabletRelease, OkRequest = QEvent::OkRequest, HelpRequest = QEvent::HelpRequest, IconDrag = QEvent::IconDrag, FontChange = QEvent::FontChange, EnabledChange = QEvent::EnabledChange, ActivationChange = QEvent::ActivationChange, StyleChange = QEvent::StyleChange, IconTextChange = QEvent::IconTextChange, ModifiedChange = QEvent::ModifiedChange, MouseTrackingChange = QEvent::MouseTrackingChange, WindowBlocked = QEvent::WindowBlocked, WindowUnblocked = QEvent::WindowUnblocked, WindowStateChange = QEvent::WindowStateChange, ToolTip = QEvent::ToolTip, WhatsThis = QEvent::WhatsThis, StatusTip = QEvent::StatusTip, ActionChanged = QEvent::ActionChanged, ActionAdded = QEvent::ActionAdded, ActionRemoved = QEvent::ActionRemoved, FileOpen = QEvent::FileOpen, Shortcut = QEvent::Shortcut, ShortcutOverride = QEvent::ShortcutOverride, WhatsThisClicked = QEvent::WhatsThisClicked, ToolBarChange = QEvent::ToolBarChange, ApplicationActivate = QEvent::ApplicationActivate, ApplicationActivated = QEvent::ApplicationActivated, ApplicationDeactivate = QEvent::ApplicationDeactivate, ApplicationDeactivated = QEvent::ApplicationDeactivated, QueryWhatsThis = QEvent::QueryWhatsThis, EnterWhatsThisMode = QEvent::EnterWhatsThisMode, LeaveWhatsThisMode = QEvent::LeaveWhatsThisMode, ZOrderChange = QEvent::ZOrderChange, HoverEnter = QEvent::HoverEnter, HoverLeave = QEvent::HoverLeave, HoverMove = QEvent::HoverMove, AccessibilityHelp = QEvent::AccessibilityHelp, AccessibilityDescription = QEvent::AccessibilityDescription, AcceptDropsChange = QEvent::AcceptDropsChange, MenubarUpdated = QEvent::MenubarUpdated, ZeroTimerEvent = QEvent::ZeroTimerEvent, GraphicsSceneMouseMove = QEvent::GraphicsSceneMouseMove, GraphicsSceneMousePress = QEvent::GraphicsSceneMousePress, GraphicsSceneMouseRelease = QEvent::GraphicsSceneMouseRelease, GraphicsSceneMouseDoubleClick = QEvent::GraphicsSceneMouseDoubleClick, GraphicsSceneContextMenu = QEvent::GraphicsSceneContextMenu, GraphicsSceneHoverEnter = QEvent::GraphicsSceneHoverEnter, GraphicsSceneHoverMove = QEvent::GraphicsSceneHoverMove, GraphicsSceneHoverLeave = QEvent::GraphicsSceneHoverLeave, GraphicsSceneHelp = QEvent::GraphicsSceneHelp, GraphicsSceneDragEnter = QEvent::GraphicsSceneDragEnter, GraphicsSceneDragMove = QEvent::GraphicsSceneDragMove, GraphicsSceneDragLeave = QEvent::GraphicsSceneDragLeave, GraphicsSceneDrop = QEvent::GraphicsSceneDrop, GraphicsSceneWheel = QEvent::GraphicsSceneWheel, KeyboardLayoutChange = QEvent::KeyboardLayoutChange, DynamicPropertyChange = QEvent::DynamicPropertyChange, TabletEnterProximity = QEvent::TabletEnterProximity, TabletLeaveProximity = QEvent::TabletLeaveProximity, NonClientAreaMouseMove = QEvent::NonClientAreaMouseMove, NonClientAreaMouseButtonPress = QEvent::NonClientAreaMouseButtonPress, NonClientAreaMouseButtonRelease = QEvent::NonClientAreaMouseButtonRelease, NonClientAreaMouseButtonDblClick = QEvent::NonClientAreaMouseButtonDblClick, MacSizeChange = QEvent::MacSizeChange, ContentsRectChange = QEvent::ContentsRectChange, MacGLWindowChange = QEvent::MacGLWindowChange, FutureCallOut = QEvent::FutureCallOut, GraphicsSceneResize = QEvent::GraphicsSceneResize, GraphicsSceneMove = QEvent::GraphicsSceneMove, CursorChange = QEvent::CursorChange, ToolTipChange = QEvent::ToolTipChange, NetworkReplyUpdated = QEvent::NetworkReplyUpdated, GrabMouse = QEvent::GrabMouse, UngrabMouse = QEvent::UngrabMouse, GrabKeyboard = QEvent::GrabKeyboard, UngrabKeyboard = QEvent::UngrabKeyboard, /*CocoaRequestModal = QEvent::CocoaRequestModal,*/ MacGLClearDrawable = QEvent::MacGLClearDrawable, StateMachineSignal = QEvent::StateMachineSignal, StateMachineWrapped = QEvent::StateMachineWrapped, TouchBegin = QEvent::TouchBegin, TouchUpdate = QEvent::TouchUpdate, TouchEnd = QEvent::TouchEnd, NativeGesture = QEvent::NativeGesture, RequestSoftwareInputPanel = QEvent::RequestSoftwareInputPanel, CloseSoftwareInputPanel = QEvent::CloseSoftwareInputPanel, UpdateSoftKeys = QEvent::UpdateSoftKeys, WinIdChange = QEvent::WinIdChange, Gesture = QEvent::Gesture, GestureOverride = QEvent::GestureOverride, User = QEvent::User, MaxUser = QEvent::MaxUser};
856 856 public slots:
857 857 QEvent* new_QEvent(QEvent::Type type);
858 858 void delete_QEvent(QEvent* obj) { delete obj; }
859 859 void accept(QEvent* theWrappedObject);
860 860 void ignore(QEvent* theWrappedObject);
861 861 bool isAccepted(QEvent* theWrappedObject) const;
862 862 int static_QEvent_registerEventType(int hint = -1);
863 863 void setAccepted(QEvent* theWrappedObject, bool accepted);
864 864 bool spontaneous(QEvent* theWrappedObject) const;
865 865 QEvent::Type type(QEvent* theWrappedObject) const;
866 866 QString py_toString(QEvent*);
867 867 };
868 868
869 869
870 870
871 871
872 872
873 873 class PythonQtShell_QEventLoop : public QEventLoop
874 874 {
875 875 public:
876 876 PythonQtShell_QEventLoop(QObject* parent = 0):QEventLoop(parent),_wrapper(NULL) {};
877 877
878 878 virtual void childEvent(QChildEvent* arg__1);
879 879 virtual void customEvent(QEvent* arg__1);
880 880 virtual bool event(QEvent* arg__1);
881 881 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
882 882 virtual void timerEvent(QTimerEvent* arg__1);
883 883
884 884 PythonQtInstanceWrapper* _wrapper;
885 885 };
886 886
887 887 class PythonQtWrapper_QEventLoop : public QObject
888 888 { Q_OBJECT
889 889 public:
890 890 Q_ENUMS(ProcessEventsFlag )
891 891 Q_FLAGS(ProcessEventsFlags )
892 892 enum ProcessEventsFlag{
893 893 AllEvents = QEventLoop::AllEvents, ExcludeUserInputEvents = QEventLoop::ExcludeUserInputEvents, ExcludeSocketNotifiers = QEventLoop::ExcludeSocketNotifiers, WaitForMoreEvents = QEventLoop::WaitForMoreEvents, X11ExcludeTimers = QEventLoop::X11ExcludeTimers, DeferredDeletion = QEventLoop::DeferredDeletion, EventLoopExec = QEventLoop::EventLoopExec, DialogExec = QEventLoop::DialogExec};
894 894 Q_DECLARE_FLAGS(ProcessEventsFlags, ProcessEventsFlag)
895 895 public slots:
896 896 QEventLoop* new_QEventLoop(QObject* parent = 0);
897 897 void delete_QEventLoop(QEventLoop* obj) { delete obj; }
898 898 int exec(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents);
899 899 void exit(QEventLoop* theWrappedObject, int returnCode = 0);
900 900 bool isRunning(QEventLoop* theWrappedObject) const;
901 901 bool processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents);
902 902 void processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags, int maximumTime);
903 903 void wakeUp(QEventLoop* theWrappedObject);
904 904 };
905 905
906 906
907 907
908 908
909 909
910 910 class PythonQtShell_QEventTransition : public QEventTransition
911 911 {
912 912 public:
913 913 PythonQtShell_QEventTransition(QObject* object, QEvent::Type type, QState* sourceState = 0):QEventTransition(object, type, sourceState),_wrapper(NULL) {};
914 914 PythonQtShell_QEventTransition(QState* sourceState = 0):QEventTransition(sourceState),_wrapper(NULL) {};
915 915
916 916 virtual void childEvent(QChildEvent* arg__1);
917 917 virtual void customEvent(QEvent* arg__1);
918 918 virtual bool event(QEvent* e);
919 919 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
920 920 virtual bool eventTest(QEvent* event);
921 921 virtual void onTransition(QEvent* event);
922 922 virtual void timerEvent(QTimerEvent* arg__1);
923 923
924 924 PythonQtInstanceWrapper* _wrapper;
925 925 };
926 926
927 927 class PythonQtPublicPromoter_QEventTransition : public QEventTransition
928 928 { public:
929 929 inline bool promoted_event(QEvent* e) { return QEventTransition::event(e); }
930 930 inline bool promoted_eventTest(QEvent* event) { return QEventTransition::eventTest(event); }
931 931 inline void promoted_onTransition(QEvent* event) { QEventTransition::onTransition(event); }
932 932 };
933 933
934 934 class PythonQtWrapper_QEventTransition : public QObject
935 935 { Q_OBJECT
936 936 public:
937 937 public slots:
938 938 QEventTransition* new_QEventTransition(QObject* object, QEvent::Type type, QState* sourceState = 0);
939 939 QEventTransition* new_QEventTransition(QState* sourceState = 0);
940 940 void delete_QEventTransition(QEventTransition* obj) { delete obj; }
941 941 bool event(QEventTransition* theWrappedObject, QEvent* e);
942 942 QObject* eventSource(QEventTransition* theWrappedObject) const;
943 943 bool eventTest(QEventTransition* theWrappedObject, QEvent* event);
944 944 QEvent::Type eventType(QEventTransition* theWrappedObject) const;
945 945 void onTransition(QEventTransition* theWrappedObject, QEvent* event);
946 946 void setEventSource(QEventTransition* theWrappedObject, QObject* object);
947 947 void setEventType(QEventTransition* theWrappedObject, QEvent::Type type);
948 948 };
949 949
950 950
951 951
952 952
953 953
954 954 class PythonQtShell_QFactoryInterface : public QFactoryInterface
955 955 {
956 956 public:
957 957 PythonQtShell_QFactoryInterface():QFactoryInterface(),_wrapper(NULL) {};
958 958
959 959 virtual QStringList keys() const;
960 960
961 961 PythonQtInstanceWrapper* _wrapper;
962 962 };
963 963
964 964 class PythonQtWrapper_QFactoryInterface : public QObject
965 965 { Q_OBJECT
966 966 public:
967 967 public slots:
968 968 QFactoryInterface* new_QFactoryInterface();
969 969 void delete_QFactoryInterface(QFactoryInterface* obj) { delete obj; }
970 970 };
971 971
972 972
973 973
974 974
975 975
976 976 class PythonQtShell_QFile : public QFile
977 977 {
978 978 public:
979 979 PythonQtShell_QFile():QFile(),_wrapper(NULL) {};
980 980 PythonQtShell_QFile(QObject* parent):QFile(parent),_wrapper(NULL) {};
981 981 PythonQtShell_QFile(const QString& name):QFile(name),_wrapper(NULL) {};
982 982 PythonQtShell_QFile(const QString& name, QObject* parent):QFile(name, parent),_wrapper(NULL) {};
983 983
984 984 virtual bool atEnd() const;
985 985 virtual qint64 bytesAvailable() const;
986 986 virtual qint64 bytesToWrite() const;
987 987 virtual bool canReadLine() const;
988 988 virtual void childEvent(QChildEvent* arg__1);
989 989 virtual void close();
990 990 virtual void customEvent(QEvent* arg__1);
991 991 virtual bool event(QEvent* arg__1);
992 992 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
993 993 virtual QAbstractFileEngine* fileEngine() const;
994 994 virtual bool isSequential() const;
995 995 virtual bool open(QIODevice::OpenMode flags);
996 996 virtual qint64 pos() const;
997 997 virtual qint64 readData(char* data, qint64 maxlen);
998 998 virtual qint64 readLineData(char* data, qint64 maxlen);
999 999 virtual bool reset();
1000 1000 virtual bool seek(qint64 offset);
1001 1001 virtual qint64 size() const;
1002 1002 virtual void timerEvent(QTimerEvent* arg__1);
1003 1003 virtual bool waitForBytesWritten(int msecs);
1004 1004 virtual bool waitForReadyRead(int msecs);
1005 1005 virtual qint64 writeData(const char* data, qint64 len);
1006 1006
1007 1007 PythonQtInstanceWrapper* _wrapper;
1008 1008 };
1009 1009
1010 1010 class PythonQtPublicPromoter_QFile : public QFile
1011 1011 { public:
1012 1012 inline bool promoted_atEnd() const { return QFile::atEnd(); }
1013 1013 inline void promoted_close() { QFile::close(); }
1014 1014 inline QAbstractFileEngine* promoted_fileEngine() const { return QFile::fileEngine(); }
1015 1015 inline bool promoted_isSequential() const { return QFile::isSequential(); }
1016 1016 inline bool promoted_open(QIODevice::OpenMode flags) { return QFile::open(flags); }
1017 1017 inline qint64 promoted_pos() const { return QFile::pos(); }
1018 1018 inline qint64 promoted_readData(char* data, qint64 maxlen) { return QFile::readData(data, maxlen); }
1019 1019 inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return QFile::readLineData(data, maxlen); }
1020 1020 inline bool promoted_seek(qint64 offset) { return QFile::seek(offset); }
1021 1021 inline qint64 promoted_size() const { return QFile::size(); }
1022 1022 inline qint64 promoted_writeData(const char* data, qint64 len) { return QFile::writeData(data, len); }
1023 1023 };
1024 1024
1025 1025 class PythonQtWrapper_QFile : public QObject
1026 1026 { Q_OBJECT
1027 1027 public:
1028 1028 Q_ENUMS(FileError MemoryMapFlags Permission )
1029 1029 Q_FLAGS(Permissions )
1030 1030 enum FileError{
1031 1031 NoError = QFile::NoError, ReadError = QFile::ReadError, WriteError = QFile::WriteError, FatalError = QFile::FatalError, ResourceError = QFile::ResourceError, OpenError = QFile::OpenError, AbortError = QFile::AbortError, TimeOutError = QFile::TimeOutError, UnspecifiedError = QFile::UnspecifiedError, RemoveError = QFile::RemoveError, RenameError = QFile::RenameError, PositionError = QFile::PositionError, ResizeError = QFile::ResizeError, PermissionsError = QFile::PermissionsError, CopyError = QFile::CopyError};
1032 1032 enum MemoryMapFlags{
1033 1033 NoOptions = QFile::NoOptions};
1034 1034 enum Permission{
1035 1035 ReadOwner = QFile::ReadOwner, WriteOwner = QFile::WriteOwner, ExeOwner = QFile::ExeOwner, ReadUser = QFile::ReadUser, WriteUser = QFile::WriteUser, ExeUser = QFile::ExeUser, ReadGroup = QFile::ReadGroup, WriteGroup = QFile::WriteGroup, ExeGroup = QFile::ExeGroup, ReadOther = QFile::ReadOther, WriteOther = QFile::WriteOther, ExeOther = QFile::ExeOther};
1036 1036 Q_DECLARE_FLAGS(Permissions, Permission)
1037 1037 public slots:
1038 1038 QFile* new_QFile();
1039 1039 QFile* new_QFile(QObject* parent);
1040 1040 QFile* new_QFile(const QString& name);
1041 1041 QFile* new_QFile(const QString& name, QObject* parent);
1042 1042 void delete_QFile(QFile* obj) { delete obj; }
1043 1043 bool atEnd(QFile* theWrappedObject) const;
1044 1044 void close(QFile* theWrappedObject);
1045 1045 bool static_QFile_copy(const QString& fileName, const QString& newName);
1046 1046 bool copy(QFile* theWrappedObject, const QString& newName);
1047 1047 QString static_QFile_decodeName(const QByteArray& localFileName);
1048 1048 QByteArray static_QFile_encodeName(const QString& fileName);
1049 1049 QFile::FileError error(QFile* theWrappedObject) const;
1050 1050 bool exists(QFile* theWrappedObject) const;
1051 1051 bool static_QFile_exists(const QString& fileName);
1052 1052 QAbstractFileEngine* fileEngine(QFile* theWrappedObject) const;
1053 1053 QString fileName(QFile* theWrappedObject) const;
1054 1054 bool flush(QFile* theWrappedObject);
1055 1055 int handle(QFile* theWrappedObject) const;
1056 1056 bool isSequential(QFile* theWrappedObject) const;
1057 1057 bool link(QFile* theWrappedObject, const QString& newName);
1058 1058 bool static_QFile_link(const QString& oldname, const QString& newName);
1059 1059 bool open(QFile* theWrappedObject, QIODevice::OpenMode flags);
1060 1060 QFile::Permissions permissions(QFile* theWrappedObject) const;
1061 1061 QFile::Permissions static_QFile_permissions(const QString& filename);
1062 1062 qint64 pos(QFile* theWrappedObject) const;
1063 1063 qint64 readData(QFile* theWrappedObject, char* data, qint64 maxlen);
1064 1064 qint64 readLineData(QFile* theWrappedObject, char* data, qint64 maxlen);
1065 1065 bool remove(QFile* theWrappedObject);
1066 1066 bool static_QFile_remove(const QString& fileName);
1067 1067 bool rename(QFile* theWrappedObject, const QString& newName);
1068 1068 bool static_QFile_rename(const QString& oldName, const QString& newName);
1069 1069 bool static_QFile_resize(const QString& filename, qint64 sz);
1070 1070 bool resize(QFile* theWrappedObject, qint64 sz);
1071 1071 bool seek(QFile* theWrappedObject, qint64 offset);
1072 1072 void setFileName(QFile* theWrappedObject, const QString& name);
1073 1073 bool setPermissions(QFile* theWrappedObject, QFile::Permissions permissionSpec);
1074 1074 bool static_QFile_setPermissions(const QString& filename, QFile::Permissions permissionSpec);
1075 1075 qint64 size(QFile* theWrappedObject) const;
1076 1076 QString symLinkTarget(QFile* theWrappedObject) const;
1077 1077 QString static_QFile_symLinkTarget(const QString& fileName);
1078 1078 void unsetError(QFile* theWrappedObject);
1079 1079 qint64 writeData(QFile* theWrappedObject, const char* data, qint64 len);
1080 1080 };
1081 1081
1082 1082
1083 1083
1084 1084
1085 1085
1086 1086 class PythonQtWrapper_QFileInfo : public QObject
1087 1087 { Q_OBJECT
1088 1088 public:
1089 1089 public slots:
1090 1090 QFileInfo* new_QFileInfo();
1091 1091 QFileInfo* new_QFileInfo(const QDir& dir, const QString& file);
1092 1092 QFileInfo* new_QFileInfo(const QFile& file);
1093 1093 QFileInfo* new_QFileInfo(const QFileInfo& fileinfo);
1094 1094 QFileInfo* new_QFileInfo(const QString& file);
1095 1095 void delete_QFileInfo(QFileInfo* obj) { delete obj; }
1096 1096 QDir absoluteDir(QFileInfo* theWrappedObject) const;
1097 1097 QString absoluteFilePath(QFileInfo* theWrappedObject) const;
1098 1098 QString absolutePath(QFileInfo* theWrappedObject) const;
1099 1099 QString baseName(QFileInfo* theWrappedObject) const;
1100 1100 QString bundleName(QFileInfo* theWrappedObject) const;
1101 1101 bool caching(QFileInfo* theWrappedObject) const;
1102 1102 QString canonicalFilePath(QFileInfo* theWrappedObject) const;
1103 1103 QString canonicalPath(QFileInfo* theWrappedObject) const;
1104 1104 QString completeBaseName(QFileInfo* theWrappedObject) const;
1105 1105 QString completeSuffix(QFileInfo* theWrappedObject) const;
1106 1106 QDateTime created(QFileInfo* theWrappedObject) const;
1107 1107 QDir dir(QFileInfo* theWrappedObject) const;
1108 1108 bool exists(QFileInfo* theWrappedObject) const;
1109 1109 QString fileName(QFileInfo* theWrappedObject) const;
1110 1110 QString filePath(QFileInfo* theWrappedObject) const;
1111 1111 QString group(QFileInfo* theWrappedObject) const;
1112 1112 uint groupId(QFileInfo* theWrappedObject) const;
1113 1113 bool isAbsolute(QFileInfo* theWrappedObject) const;
1114 1114 bool isBundle(QFileInfo* theWrappedObject) const;
1115 1115 bool isDir(QFileInfo* theWrappedObject) const;
1116 1116 bool isExecutable(QFileInfo* theWrappedObject) const;
1117 1117 bool isFile(QFileInfo* theWrappedObject) const;
1118 1118 bool isHidden(QFileInfo* theWrappedObject) const;
1119 1119 bool isReadable(QFileInfo* theWrappedObject) const;
1120 1120 bool isRelative(QFileInfo* theWrappedObject) const;
1121 1121 bool isRoot(QFileInfo* theWrappedObject) const;
1122 1122 bool isSymLink(QFileInfo* theWrappedObject) const;
1123 1123 bool isWritable(QFileInfo* theWrappedObject) const;
1124 1124 QDateTime lastModified(QFileInfo* theWrappedObject) const;
1125 1125 QDateTime lastRead(QFileInfo* theWrappedObject) const;
1126 1126 bool makeAbsolute(QFileInfo* theWrappedObject);
1127 1127 bool __ne__(QFileInfo* theWrappedObject, const QFileInfo& fileinfo);
1128 1128 bool __eq__(QFileInfo* theWrappedObject, const QFileInfo& fileinfo);
1129 1129 QString owner(QFileInfo* theWrappedObject) const;
1130 1130 uint ownerId(QFileInfo* theWrappedObject) const;
1131 1131 QString path(QFileInfo* theWrappedObject) const;
1132 1132 bool permission(QFileInfo* theWrappedObject, QFile::Permissions permissions) const;
1133 1133 QFile::Permissions permissions(QFileInfo* theWrappedObject) const;
1134 1134 void refresh(QFileInfo* theWrappedObject);
1135 1135 void setCaching(QFileInfo* theWrappedObject, bool on);
1136 1136 void setFile(QFileInfo* theWrappedObject, const QDir& dir, const QString& file);
1137 1137 void setFile(QFileInfo* theWrappedObject, const QFile& file);
1138 1138 void setFile(QFileInfo* theWrappedObject, const QString& file);
1139 1139 qint64 size(QFileInfo* theWrappedObject) const;
1140 1140 QString suffix(QFileInfo* theWrappedObject) const;
1141 1141 QString symLinkTarget(QFileInfo* theWrappedObject) const;
1142 1142 };
1143 1143
1144 1144
1145 1145
1146 1146
1147 1147
1148 1148 class PythonQtShell_QFileSystemWatcher : public QFileSystemWatcher
1149 1149 {
1150 1150 public:
1151 1151 PythonQtShell_QFileSystemWatcher(QObject* parent = 0):QFileSystemWatcher(parent),_wrapper(NULL) {};
1152 1152 PythonQtShell_QFileSystemWatcher(const QStringList& paths, QObject* parent = 0):QFileSystemWatcher(paths, parent),_wrapper(NULL) {};
1153 1153
1154 1154 virtual void childEvent(QChildEvent* arg__1);
1155 1155 virtual void customEvent(QEvent* arg__1);
1156 1156 virtual bool event(QEvent* arg__1);
1157 1157 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
1158 1158 virtual void timerEvent(QTimerEvent* arg__1);
1159 1159
1160 1160 PythonQtInstanceWrapper* _wrapper;
1161 1161 };
1162 1162
1163 1163 class PythonQtWrapper_QFileSystemWatcher : public QObject
1164 1164 { Q_OBJECT
1165 1165 public:
1166 1166 public slots:
1167 1167 QFileSystemWatcher* new_QFileSystemWatcher(QObject* parent = 0);
1168 1168 QFileSystemWatcher* new_QFileSystemWatcher(const QStringList& paths, QObject* parent = 0);
1169 1169 void delete_QFileSystemWatcher(QFileSystemWatcher* obj) { delete obj; }
1170 1170 void addPath(QFileSystemWatcher* theWrappedObject, const QString& file);
1171 1171 void addPaths(QFileSystemWatcher* theWrappedObject, const QStringList& files);
1172 1172 QStringList directories(QFileSystemWatcher* theWrappedObject) const;
1173 1173 QStringList files(QFileSystemWatcher* theWrappedObject) const;
1174 1174 void removePath(QFileSystemWatcher* theWrappedObject, const QString& file);
1175 1175 void removePaths(QFileSystemWatcher* theWrappedObject, const QStringList& files);
1176 1176 };
1177 1177
1178 1178
1179 1179
1180 1180
1181 1181
1182 1182 class PythonQtShell_QFinalState : public QFinalState
1183 1183 {
1184 1184 public:
1185 1185 PythonQtShell_QFinalState(QState* parent = 0):QFinalState(parent),_wrapper(NULL) {};
1186 1186
1187 1187 virtual void childEvent(QChildEvent* arg__1);
1188 1188 virtual void customEvent(QEvent* arg__1);
1189 1189 virtual bool event(QEvent* e);
1190 1190 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
1191 1191 virtual void onEntry(QEvent* event);
1192 1192 virtual void onExit(QEvent* event);
1193 1193 virtual void timerEvent(QTimerEvent* arg__1);
1194 1194
1195 1195 PythonQtInstanceWrapper* _wrapper;
1196 1196 };
1197 1197
1198 1198 class PythonQtPublicPromoter_QFinalState : public QFinalState
1199 1199 { public:
1200 1200 inline bool promoted_event(QEvent* e) { return QFinalState::event(e); }
1201 1201 inline void promoted_onEntry(QEvent* event) { QFinalState::onEntry(event); }
1202 1202 inline void promoted_onExit(QEvent* event) { QFinalState::onExit(event); }
1203 1203 };
1204 1204
1205 1205 class PythonQtWrapper_QFinalState : public QObject
1206 1206 { Q_OBJECT
1207 1207 public:
1208 1208 public slots:
1209 1209 QFinalState* new_QFinalState(QState* parent = 0);
1210 1210 void delete_QFinalState(QFinalState* obj) { delete obj; }
1211 1211 bool event(QFinalState* theWrappedObject, QEvent* e);
1212 1212 void onEntry(QFinalState* theWrappedObject, QEvent* event);
1213 1213 void onExit(QFinalState* theWrappedObject, QEvent* event);
1214 1214 };
1215 1215
1216 1216
1217 1217
1218 1218
1219 1219
1220 1220 class PythonQtShell_QHistoryState : public QHistoryState
1221 1221 {
1222 1222 public:
1223 1223 PythonQtShell_QHistoryState(QHistoryState::HistoryType type, QState* parent = 0):QHistoryState(type, parent),_wrapper(NULL) {};
1224 1224 PythonQtShell_QHistoryState(QState* parent = 0):QHistoryState(parent),_wrapper(NULL) {};
1225 1225
1226 1226 virtual void childEvent(QChildEvent* arg__1);
1227 1227 virtual void customEvent(QEvent* arg__1);
1228 1228 virtual bool event(QEvent* e);
1229 1229 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
1230 1230 virtual void onEntry(QEvent* event);
1231 1231 virtual void onExit(QEvent* event);
1232 1232 virtual void timerEvent(QTimerEvent* arg__1);
1233 1233
1234 1234 PythonQtInstanceWrapper* _wrapper;
1235 1235 };
1236 1236
1237 1237 class PythonQtPublicPromoter_QHistoryState : public QHistoryState
1238 1238 { public:
1239 1239 inline bool promoted_event(QEvent* e) { return QHistoryState::event(e); }
1240 1240 inline void promoted_onEntry(QEvent* event) { QHistoryState::onEntry(event); }
1241 1241 inline void promoted_onExit(QEvent* event) { QHistoryState::onExit(event); }
1242 1242 };
1243 1243
1244 1244 class PythonQtWrapper_QHistoryState : public QObject
1245 1245 { Q_OBJECT
1246 1246 public:
1247 1247 public slots:
1248 1248 QHistoryState* new_QHistoryState(QHistoryState::HistoryType type, QState* parent = 0);
1249 1249 QHistoryState* new_QHistoryState(QState* parent = 0);
1250 1250 void delete_QHistoryState(QHistoryState* obj) { delete obj; }
1251 1251 QAbstractState* defaultState(QHistoryState* theWrappedObject) const;
1252 1252 bool event(QHistoryState* theWrappedObject, QEvent* e);
1253 1253 QHistoryState::HistoryType historyType(QHistoryState* theWrappedObject) const;
1254 1254 void onEntry(QHistoryState* theWrappedObject, QEvent* event);
1255 1255 void onExit(QHistoryState* theWrappedObject, QEvent* event);
1256 1256 void setDefaultState(QHistoryState* theWrappedObject, QAbstractState* state);
1257 1257 void setHistoryType(QHistoryState* theWrappedObject, QHistoryState::HistoryType type);
1258 1258 };
1259 1259
1260 1260
1261 1261
1262 1262
1263 1263
1264 1264 class PythonQtShell_QIODevice : public QIODevice
1265 1265 {
1266 1266 public:
1267 1267 PythonQtShell_QIODevice():QIODevice(),_wrapper(NULL) {};
1268 1268 PythonQtShell_QIODevice(QObject* parent):QIODevice(parent),_wrapper(NULL) {};
1269 1269
1270 1270 virtual bool atEnd() const;
1271 1271 virtual qint64 bytesAvailable() const;
1272 1272 virtual qint64 bytesToWrite() const;
1273 1273 virtual bool canReadLine() const;
1274 1274 virtual void childEvent(QChildEvent* arg__1);
1275 1275 virtual void close();
1276 1276 virtual void customEvent(QEvent* arg__1);
1277 1277 virtual bool event(QEvent* arg__1);
1278 1278 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
1279 1279 virtual bool isSequential() const;
1280 1280 virtual bool open(QIODevice::OpenMode mode);
1281 1281 virtual qint64 pos() const;
1282 1282 virtual qint64 readData(char* data, qint64 maxlen);
1283 1283 virtual qint64 readLineData(char* data, qint64 maxlen);
1284 1284 virtual bool reset();
1285 1285 virtual bool seek(qint64 pos);
1286 1286 virtual qint64 size() const;
1287 1287 virtual void timerEvent(QTimerEvent* arg__1);
1288 1288 virtual bool waitForBytesWritten(int msecs);
1289 1289 virtual bool waitForReadyRead(int msecs);
1290 1290 virtual qint64 writeData(const char* data, qint64 len);
1291 1291
1292 1292 PythonQtInstanceWrapper* _wrapper;
1293 1293 };
1294 1294
1295 1295 class PythonQtPublicPromoter_QIODevice : public QIODevice
1296 1296 { public:
1297 1297 inline bool promoted_atEnd() const { return QIODevice::atEnd(); }
1298 1298 inline qint64 promoted_bytesAvailable() const { return QIODevice::bytesAvailable(); }
1299 1299 inline qint64 promoted_bytesToWrite() const { return QIODevice::bytesToWrite(); }
1300 1300 inline bool promoted_canReadLine() const { return QIODevice::canReadLine(); }
1301 1301 inline void promoted_close() { QIODevice::close(); }
1302 1302 inline bool promoted_isSequential() const { return QIODevice::isSequential(); }
1303 1303 inline bool promoted_open(QIODevice::OpenMode mode) { return QIODevice::open(mode); }
1304 1304 inline qint64 promoted_pos() const { return QIODevice::pos(); }
1305 1305 inline qint64 promoted_readLineData(char* data, qint64 maxlen) { return QIODevice::readLineData(data, maxlen); }
1306 1306 inline bool promoted_reset() { return QIODevice::reset(); }
1307 1307 inline bool promoted_seek(qint64 pos) { return QIODevice::seek(pos); }
1308 1308 inline qint64 promoted_size() const { return QIODevice::size(); }
1309 1309 inline bool promoted_waitForBytesWritten(int msecs) { return QIODevice::waitForBytesWritten(msecs); }
1310 1310 inline bool promoted_waitForReadyRead(int msecs) { return QIODevice::waitForReadyRead(msecs); }
1311 1311 };
1312 1312
1313 1313 class PythonQtWrapper_QIODevice : public QObject
1314 1314 { Q_OBJECT
1315 1315 public:
1316 1316 Q_ENUMS(OpenModeFlag )
1317 1317 Q_FLAGS(OpenMode )
1318 1318 enum OpenModeFlag{
1319 1319 NotOpen = QIODevice::NotOpen, ReadOnly = QIODevice::ReadOnly, WriteOnly = QIODevice::WriteOnly, ReadWrite = QIODevice::ReadWrite, Append = QIODevice::Append, Truncate = QIODevice::Truncate, Text = QIODevice::Text, Unbuffered = QIODevice::Unbuffered};
1320 1320 Q_DECLARE_FLAGS(OpenMode, OpenModeFlag)
1321 1321 public slots:
1322 1322 QIODevice* new_QIODevice();
1323 1323 QIODevice* new_QIODevice(QObject* parent);
1324 1324 void delete_QIODevice(QIODevice* obj) { delete obj; }
1325 1325 bool atEnd(QIODevice* theWrappedObject) const;
1326 1326 qint64 bytesAvailable(QIODevice* theWrappedObject) const;
1327 1327 qint64 bytesToWrite(QIODevice* theWrappedObject) const;
1328 1328 bool canReadLine(QIODevice* theWrappedObject) const;
1329 1329 void close(QIODevice* theWrappedObject);
1330 1330 QString errorString(QIODevice* theWrappedObject) const;
1331 1331 bool getChar(QIODevice* theWrappedObject, char* c);
1332 1332 bool isOpen(QIODevice* theWrappedObject) const;
1333 1333 bool isReadable(QIODevice* theWrappedObject) const;
1334 1334 bool isSequential(QIODevice* theWrappedObject) const;
1335 1335 bool isTextModeEnabled(QIODevice* theWrappedObject) const;
1336 1336 bool isWritable(QIODevice* theWrappedObject) const;
1337 1337 bool open(QIODevice* theWrappedObject, QIODevice::OpenMode mode);
1338 1338 QIODevice::OpenMode openMode(QIODevice* theWrappedObject) const;
1339 1339 QByteArray peek(QIODevice* theWrappedObject, qint64 maxlen);
1340 1340 qint64 pos(QIODevice* theWrappedObject) const;
1341 1341 bool putChar(QIODevice* theWrappedObject, char c);
1342 1342 QByteArray read(QIODevice* theWrappedObject, qint64 maxlen);
1343 1343 QByteArray readAll(QIODevice* theWrappedObject);
1344 1344 QByteArray readLine(QIODevice* theWrappedObject, qint64 maxlen = 0);
1345 1345 qint64 readLineData(QIODevice* theWrappedObject, char* data, qint64 maxlen);
1346 1346 bool reset(QIODevice* theWrappedObject);
1347 1347 bool seek(QIODevice* theWrappedObject, qint64 pos);
1348 1348 void setTextModeEnabled(QIODevice* theWrappedObject, bool enabled);
1349 1349 qint64 size(QIODevice* theWrappedObject) const;
1350 1350 void ungetChar(QIODevice* theWrappedObject, char c);
1351 1351 bool waitForBytesWritten(QIODevice* theWrappedObject, int msecs);
1352 1352 bool waitForReadyRead(QIODevice* theWrappedObject, int msecs);
1353 1353 qint64 write(QIODevice* theWrappedObject, const QByteArray& data);
1354 1354 qint64 write(QIODevice* theWrappedObject, const char* data);
1355 1355 };
1356 1356
1357 1357
1358 1358
1359 1359
1360 1360
1361 1361 class PythonQtWrapper_QLibraryInfo : public QObject
1362 1362 { Q_OBJECT
1363 1363 public:
1364 1364 Q_ENUMS(LibraryLocation )
1365 1365 enum LibraryLocation{
1366 1366 PrefixPath = QLibraryInfo::PrefixPath, DocumentationPath = QLibraryInfo::DocumentationPath, HeadersPath = QLibraryInfo::HeadersPath, LibrariesPath = QLibraryInfo::LibrariesPath, BinariesPath = QLibraryInfo::BinariesPath, PluginsPath = QLibraryInfo::PluginsPath, DataPath = QLibraryInfo::DataPath, TranslationsPath = QLibraryInfo::TranslationsPath, SettingsPath = QLibraryInfo::SettingsPath, DemosPath = QLibraryInfo::DemosPath, ExamplesPath = QLibraryInfo::ExamplesPath};
1367 1367 public slots:
1368 1368 void delete_QLibraryInfo(QLibraryInfo* obj) { delete obj; }
1369 1369 QDate static_QLibraryInfo_buildDate();
1370 1370 QString static_QLibraryInfo_buildKey();
1371 1371 QString static_QLibraryInfo_licensedProducts();
1372 1372 QString static_QLibraryInfo_licensee();
1373 1373 QString static_QLibraryInfo_location(QLibraryInfo::LibraryLocation arg__1);
1374 1374 };
1375 1375
1376 1376
1377 1377
1378 1378
1379 1379
1380 1380 class PythonQtShell_QMimeData : public QMimeData
1381 1381 {
1382 1382 public:
1383 1383 PythonQtShell_QMimeData():QMimeData(),_wrapper(NULL) {};
1384 1384
1385 1385 virtual void childEvent(QChildEvent* arg__1);
1386 1386 virtual void customEvent(QEvent* arg__1);
1387 1387 virtual bool event(QEvent* arg__1);
1388 1388 virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
1389 1389 virtual QStringList formats() const;
1390 1390 virtual bool hasFormat(const QString& mimetype) const;
1391 1391 virtual QVariant retrieveData(const QString& mimetype, QVariant::Type preferredType) const;
1392 1392 virtual void timerEvent(QTimerEvent* arg__1);
1393 1393
1394 1394 PythonQtInstanceWrapper* _wrapper;
1395 1395 };
1396 1396
1397 1397 class PythonQtPublicPromoter_QMimeData : public QMimeData
1398 1398 { public:
1399 1399 inline QStringList promoted_formats() const { return QMimeData::formats(); }
1400 1400 inline bool promoted_hasFormat(const QString& mimetype) const { return QMimeData::hasFormat(mimetype); }
1401 1401 inline QVariant promoted_retrieveData(const QString& mimetype, QVariant::Type preferredType) const { return QMimeData::retrieveData(mimetype, preferredType); }
1402 1402 };
1403 1403
1404 1404 class PythonQtWrapper_QMimeData : public QObject
1405 1405 { Q_OBJECT
1406 1406 public:
1407 1407 public slots:
1408 1408 QMimeData* new_QMimeData();
1409 1409 void delete_QMimeData(QMimeData* obj) { delete obj; }
1410 1410 void clear(QMimeData* theWrappedObject);
1411 1411 QVariant colorData(QMimeData* theWrappedObject) const;
1412 1412 QByteArray data(QMimeData* theWrappedObject, const QString& mimetype) const;
1413 1413 QStringList formats(QMimeData* theWrappedObject) const;
1414 1414 bool hasColor(QMimeData* theWrappedObject) const;
1415 1415 bool hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const;
1416 1416 bool hasHtml(QMimeData* theWrappedObject) const;
1417 1417 bool hasImage(QMimeData* theWrappedObject) const;
1418 1418 bool hasText(QMimeData* theWrappedObject) const;
1419 1419 bool hasUrls(QMimeData* theWrappedObject) const;
1420 1420 QString html(QMimeData* theWrappedObject) const;
1421 1421 QVariant imageData(QMimeData* theWrappedObject) const;
1422 1422 void removeFormat(QMimeData* theWrappedObject, const QString& mimetype);
1423 1423 QVariant retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const;
1424 1424 void setColorData(QMimeData* theWrappedObject, const QVariant& color);
1425 1425 void setData(QMimeData* theWrappedObject, const QString& mimetype, const QByteArray& data);
1426 1426 void setHtml(QMimeData* theWrappedObject, const QString& html);
1427 1427 void setImageData(QMimeData* theWrappedObject, const QVariant& image);
1428 1428 void setText(QMimeData* theWrappedObject, const QString& text);
1429 1429 void setUrls(QMimeData* theWrappedObject, const QList<QUrl >& urls);
1430 1430 QString text(QMimeData* theWrappedObject) const;
1431 1431 QList<QUrl > urls(QMimeData* theWrappedObject) const;
1432 1432 };
1433 1433
1434 1434
1435 1435
1436 1436
1437 1437
1438 1438 class PythonQtWrapper_QModelIndex : public QObject
1439 1439 { Q_OBJECT
1440 1440 public:
1441 1441 public slots:
1442 1442 QModelIndex* new_QModelIndex();
1443 1443 QModelIndex* new_QModelIndex(const QModelIndex& other);
1444 1444 void delete_QModelIndex(QModelIndex* obj) { delete obj; }
1445 1445 QModelIndex child(QModelIndex* theWrappedObject, int row, int column) const;
1446 1446 int column(QModelIndex* theWrappedObject) const;
1447 1447 QVariant data(QModelIndex* theWrappedObject, int role = Qt::DisplayRole) const;
1448 1448 Qt::ItemFlags flags(QModelIndex* theWrappedObject) const;
1449 1449 qint64 internalId(QModelIndex* theWrappedObject) const;
1450 1450 void* internalPointer(QModelIndex* theWrappedObject) const;
1451 1451 bool isValid(QModelIndex* theWrappedObject) const;
1452 1452 const QAbstractItemModel* model(QModelIndex* theWrappedObject) const;
1453 1453 bool __ne__(QModelIndex* theWrappedObject, const QModelIndex& other) const;
1454 1454 bool __lt__(QModelIndex* theWrappedObject, const QModelIndex& other) const;
1455 1455 bool __eq__(QModelIndex* theWrappedObject, const QModelIndex& other) const;
1456 1456 QModelIndex parent(QModelIndex* theWrappedObject) const;
1457 1457 int row(QModelIndex* theWrappedObject) const;
1458 1458 QModelIndex sibling(QModelIndex* theWrappedObject, int row, int column) const;
1459 1459 QString py_toString(QModelIndex*);
1460 1460 };
1461 1461
1462 1462
@@ -1,107 +1,107
1 1 #include <PythonQt.h>
2 2 #include "com_trolltech_qt_core0.h"
3 3 #include "com_trolltech_qt_core1.h"
4 4 #include "com_trolltech_qt_core2.h"
5 5
6 static void* polymorphichandler_QEvent(const void *ptr, char **class_name)
6 static void* polymorphichandler_QEvent(const void *ptr, const char **class_name)
7 7 {
8 8 Q_ASSERT(ptr != 0);
9 9 QEvent *object = (QEvent *)ptr;
10 10 if (object->type() == QEvent::None) {
11 11 *class_name = "QEvent";
12 12 return (QEvent*)object;
13 13 }
14 14 if (object->type() == QEvent::ChildAdded || object->type() == QEvent::ChildPolished || object->type() == QEvent::ChildRemoved) {
15 15 *class_name = "QChildEvent";
16 16 return (QChildEvent*)object;
17 17 }
18 18 if (object->type() == QEvent::StateMachineWrapped) {
19 19 *class_name = "QStateMachine_WrappedEvent";
20 20 return (QStateMachine::WrappedEvent*)object;
21 21 }
22 22 if (object->type() == QEvent::StateMachineSignal) {
23 23 *class_name = "QStateMachine_SignalEvent";
24 24 return (QStateMachine::SignalEvent*)object;
25 25 }
26 26 if (object->type() == QEvent::Timer) {
27 27 *class_name = "QTimerEvent";
28 28 return (QTimerEvent*)object;
29 29 }
30 30 if (object->type() == QEvent::DynamicPropertyChange) {
31 31 *class_name = "QDynamicPropertyChangeEvent";
32 32 return (QDynamicPropertyChangeEvent*)object;
33 33 }
34 34 return NULL;
35 35 }
36 36
37 37 void PythonQt_init_QtCore(PyObject* module) {
38 38 PythonQt::priv()->registerClass(&QAbstractAnimation::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QAbstractAnimation>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractAnimation>, module, 0);
39 39 PythonQt::priv()->registerClass(&QAbstractItemModel::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QAbstractItemModel>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractItemModel>, module, 0);
40 40 PythonQt::priv()->registerClass(&QAbstractListModel::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QAbstractListModel>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractListModel>, module, 0);
41 41 PythonQt::priv()->registerClass(&QAbstractState::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QAbstractState>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractState>, module, 0);
42 42 PythonQt::priv()->registerClass(&QAbstractTransition::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QAbstractTransition>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractTransition>, module, 0);
43 43 PythonQt::priv()->registerClass(&QAnimationGroup::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QAnimationGroup>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAnimationGroup>, module, 0);
44 44 PythonQt::priv()->registerCPPClass("QBasicTimer", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QBasicTimer>, NULL, module, 0);
45 45 PythonQt::priv()->registerClass(&QBuffer::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QBuffer>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QBuffer>, module, 0);
46 46 PythonQt::priv()->registerCPPClass("QByteArrayMatcher", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QByteArrayMatcher>, NULL, module, 0);
47 47 PythonQt::priv()->registerCPPClass("QChildEvent", "QEvent", "QtCore", PythonQtCreateObject<PythonQtWrapper_QChildEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QChildEvent>, module, 0);
48 48 PythonQt::priv()->registerClass(&QCoreApplication::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QCoreApplication>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCoreApplication>, module, 0);
49 49 PythonQt::priv()->registerCPPClass("QCryptographicHash", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QCryptographicHash>, NULL, module, 0);
50 50 PythonQt::priv()->registerCPPClass("QDataStream", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QDataStream>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDataStream>, module, 0);
51 51 PythonQt::priv()->registerCPPClass("QDir", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QDir>, NULL, module, PythonQt::Type_RichCompare);
52 52 PythonQt::priv()->registerCPPClass("QDirIterator", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QDirIterator>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDirIterator>, module, 0);
53 53 PythonQt::priv()->registerCPPClass("QDynamicPropertyChangeEvent", "QEvent", "QtCore", PythonQtCreateObject<PythonQtWrapper_QDynamicPropertyChangeEvent>, NULL, module, 0);
54 54 PythonQt::priv()->registerCPPClass("QEasingCurve", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QEasingCurve>, NULL, module, PythonQt::Type_RichCompare);
55 55 PythonQt::priv()->registerCPPClass("QEvent", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QEvent>, module, 0);
56 56 PythonQt::priv()->registerClass(&QEventLoop::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QEventLoop>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QEventLoop>, module, 0);
57 57 PythonQt::priv()->registerClass(&QEventTransition::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QEventTransition>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QEventTransition>, module, 0);
58 58 PythonQt::priv()->registerCPPClass("QFactoryInterface", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QFactoryInterface>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QFactoryInterface>, module, 0);
59 59 PythonQt::priv()->registerClass(&QFile::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QFile>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QFile>, module, 0);
60 60 PythonQt::priv()->registerCPPClass("QFileInfo", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QFileInfo>, NULL, module, PythonQt::Type_RichCompare);
61 61 PythonQt::priv()->registerClass(&QFileSystemWatcher::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QFileSystemWatcher>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QFileSystemWatcher>, module, 0);
62 62 PythonQt::priv()->registerClass(&QFinalState::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QFinalState>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QFinalState>, module, 0);
63 63 PythonQt::priv()->registerClass(&QHistoryState::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QHistoryState>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHistoryState>, module, 0);
64 64 PythonQt::priv()->registerClass(&QIODevice::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QIODevice>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QIODevice>, module, 0);
65 65 PythonQt::priv()->registerCPPClass("QLibraryInfo", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QLibraryInfo>, NULL, module, 0);
66 66 PythonQt::priv()->registerClass(&QMimeData::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QMimeData>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QMimeData>, module, 0);
67 67 PythonQt::priv()->registerCPPClass("QModelIndex", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QModelIndex>, NULL, module, PythonQt::Type_RichCompare);
68 68 PythonQt::priv()->registerCPPClass("QMutex", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QMutex>, NULL, module, 0);
69 69 PythonQt::priv()->registerClass(&QObject::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QObject>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QObject>, module, 0);
70 70 PythonQt::priv()->registerClass(&QParallelAnimationGroup::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QParallelAnimationGroup>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QParallelAnimationGroup>, module, 0);
71 71 PythonQt::priv()->registerClass(&QPauseAnimation::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QPauseAnimation>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPauseAnimation>, module, 0);
72 72 PythonQt::priv()->registerClass(&QProcess::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QProcess>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QProcess>, module, 0);
73 73 PythonQt::priv()->registerCPPClass("QProcessEnvironment", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QProcessEnvironment>, NULL, module, PythonQt::Type_RichCompare);
74 74 PythonQt::priv()->registerClass(&QPropertyAnimation::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QPropertyAnimation>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPropertyAnimation>, module, 0);
75 75 PythonQt::priv()->registerCPPClass("QReadWriteLock", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QReadWriteLock>, NULL, module, 0);
76 76 PythonQt::priv()->registerCPPClass("QRunnable", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QRunnable>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QRunnable>, module, 0);
77 77 PythonQt::priv()->registerCPPClass("QSemaphore", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QSemaphore>, NULL, module, 0);
78 78 PythonQt::priv()->registerClass(&QSequentialAnimationGroup::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QSequentialAnimationGroup>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSequentialAnimationGroup>, module, 0);
79 79 PythonQt::priv()->registerClass(&QSettings::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QSettings>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSettings>, module, 0);
80 80 PythonQt::priv()->registerClass(&QSignalMapper::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QSignalMapper>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSignalMapper>, module, 0);
81 81 PythonQt::priv()->registerClass(&QSignalTransition::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QSignalTransition>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSignalTransition>, module, 0);
82 82 PythonQt::priv()->registerClass(&QSocketNotifier::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QSocketNotifier>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSocketNotifier>, module, 0);
83 83 PythonQt::priv()->registerClass(&QState::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QState>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QState>, module, 0);
84 84 PythonQt::priv()->registerClass(&QStateMachine::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QStateMachine>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStateMachine>, module, 0);
85 85 PythonQt::priv()->registerCPPClass("QStateMachine::SignalEvent", "QEvent", "QtCore", PythonQtCreateObject<PythonQtWrapper_QStateMachine_SignalEvent>, NULL, module, 0);
86 86 PythonQt::priv()->registerCPPClass("QStateMachine::WrappedEvent", "QEvent", "QtCore", PythonQtCreateObject<PythonQtWrapper_QStateMachine_WrappedEvent>, NULL, module, 0);
87 87 PythonQt::priv()->registerCPPClass("QStringMatcher", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QStringMatcher>, NULL, module, 0);
88 88 PythonQt::priv()->registerCPPClass("QSystemSemaphore", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QSystemSemaphore>, NULL, module, 0);
89 89 PythonQt::priv()->registerClass(&QTemporaryFile::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QTemporaryFile>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTemporaryFile>, module, 0);
90 90 PythonQt::priv()->registerCPPClass("QTextBoundaryFinder", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QTextBoundaryFinder>, NULL, module, 0);
91 91 PythonQt::priv()->registerCPPClass("QTextCodec", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QTextCodec>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextCodec>, module, 0);
92 92 PythonQt::priv()->registerCPPClass("QTextDecoder", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QTextDecoder>, NULL, module, 0);
93 93 PythonQt::priv()->registerCPPClass("QTextEncoder", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QTextEncoder>, NULL, module, 0);
94 94 PythonQt::priv()->registerCPPClass("QTextStream", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QTextStream>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextStream>, module, 0);
95 95 PythonQt::priv()->registerClass(&QThreadPool::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QThreadPool>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QThreadPool>, module, 0);
96 96 PythonQt::priv()->registerClass(&QTimeLine::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QTimeLine>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTimeLine>, module, 0);
97 97 PythonQt::priv()->registerClass(&QTimer::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QTimer>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTimer>, module, 0);
98 98 PythonQt::priv()->registerCPPClass("QTimerEvent", "QEvent", "QtCore", PythonQtCreateObject<PythonQtWrapper_QTimerEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTimerEvent>, module, 0);
99 99 PythonQt::priv()->registerClass(&QTranslator::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QTranslator>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTranslator>, module, 0);
100 100 PythonQt::priv()->registerCPPClass("QUuid", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QUuid>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QUuid>, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare);
101 101 PythonQt::priv()->registerClass(&QVariantAnimation::staticMetaObject, "QtCore", PythonQtCreateObject<PythonQtWrapper_QVariantAnimation>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QVariantAnimation>, module, 0);
102 102 PythonQt::priv()->registerCPPClass("QWaitCondition", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QWaitCondition>, NULL, module, 0);
103 103 PythonQt::priv()->registerCPPClass("QXmlStreamEntityResolver", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QXmlStreamEntityResolver>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QXmlStreamEntityResolver>, module, 0);
104 104 PythonQt::priv()->registerCPPClass("QtConcurrent", "", "QtCore", PythonQtCreateObject<PythonQtWrapper_QtConcurrent>, NULL, module, 0);
105 105
106 106 PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent);
107 107 }
@@ -1,686 +1,686
1 1 #include <PythonQt.h>
2 2 #include "com_trolltech_qt_gui0.h"
3 3 #include "com_trolltech_qt_gui1.h"
4 4 #include "com_trolltech_qt_gui2.h"
5 5 #include "com_trolltech_qt_gui3.h"
6 6 #include "com_trolltech_qt_gui4.h"
7 7 #include "com_trolltech_qt_gui5.h"
8 8 #include "com_trolltech_qt_gui6.h"
9 9 #include "com_trolltech_qt_gui7.h"
10 10 #include "com_trolltech_qt_gui8.h"
11 11 #include "com_trolltech_qt_gui9.h"
12 12 #include "com_trolltech_qt_gui10.h"
13 13
14 static void* polymorphichandler_QStyleOption(const void *ptr, char **class_name)
14 static void* polymorphichandler_QStyleOption(const void *ptr, const char **class_name)
15 15 {
16 16 Q_ASSERT(ptr != 0);
17 17 QStyleOption *object = (QStyleOption *)ptr;
18 18 if (object->type == QStyleOption::SO_Default) {
19 19 *class_name = "QStyleOption";
20 20 return (QStyleOption*)object;
21 21 }
22 22 if (object->type == QStyleOptionDockWidget::Type && object->version == QStyleOptionDockWidget::Version) {
23 23 *class_name = "QStyleOptionDockWidget";
24 24 return (QStyleOptionDockWidget*)object;
25 25 }
26 26 if (object->type == QStyleOptionToolBar::Type && object->version == QStyleOptionToolBar::Version) {
27 27 *class_name = "QStyleOptionToolBar";
28 28 return (QStyleOptionToolBar*)object;
29 29 }
30 30 if (object->type == QStyleOptionFrame::Type && object->version == QStyleOptionFrame::Version) {
31 31 *class_name = "QStyleOptionFrame";
32 32 return (QStyleOptionFrame*)object;
33 33 }
34 34 if (object->type == QStyleOptionComplex::Type && object->version == QStyleOptionComplex::Version) {
35 35 *class_name = "QStyleOptionComplex";
36 36 return (QStyleOptionComplex*)object;
37 37 }
38 38 if (object->type == QStyleOptionTab::Type && object->version == QStyleOptionTab::Version) {
39 39 *class_name = "QStyleOptionTab";
40 40 return (QStyleOptionTab*)object;
41 41 }
42 42 if (object->type == QStyleOptionProgressBar::Type && object->version == QStyleOptionProgressBar::Version) {
43 43 *class_name = "QStyleOptionProgressBar";
44 44 return (QStyleOptionProgressBar*)object;
45 45 }
46 46 if (object->type == QStyleOptionToolBox::Type && object->version == QStyleOptionToolBox::Version) {
47 47 *class_name = "QStyleOptionToolBox";
48 48 return (QStyleOptionToolBox*)object;
49 49 }
50 50 if (object->type == QStyleOptionGraphicsItem::Type && object->version == QStyleOptionGraphicsItem::Version) {
51 51 *class_name = "QStyleOptionGraphicsItem";
52 52 return (QStyleOptionGraphicsItem*)object;
53 53 }
54 54 if (object->type == QStyleOptionButton::Type && object->version == QStyleOptionButton::Version) {
55 55 *class_name = "QStyleOptionButton";
56 56 return (QStyleOptionButton*)object;
57 57 }
58 58 if (object->type == QStyleOptionFocusRect::Type && object->version == QStyleOptionFocusRect::Version) {
59 59 *class_name = "QStyleOptionFocusRect";
60 60 return (QStyleOptionFocusRect*)object;
61 61 }
62 62 if (object->type == QStyleOptionRubberBand::Type && object->version == QStyleOptionRubberBand::Version) {
63 63 *class_name = "QStyleOptionRubberBand";
64 64 return (QStyleOptionRubberBand*)object;
65 65 }
66 66 if (object->type == QStyleOptionMenuItem::Type && object->version == QStyleOptionMenuItem::Version) {
67 67 *class_name = "QStyleOptionMenuItem";
68 68 return (QStyleOptionMenuItem*)object;
69 69 }
70 70 if (object->type == QStyleOptionTabBarBase::Type && object->version == QStyleOptionTabBarBase::Version) {
71 71 *class_name = "QStyleOptionTabBarBase";
72 72 return (QStyleOptionTabBarBase*)object;
73 73 }
74 74 if (object->type == QStyleOptionViewItem::Type && object->version == QStyleOptionViewItem::Version) {
75 75 *class_name = "QStyleOptionViewItem";
76 76 return (QStyleOptionViewItem*)object;
77 77 }
78 78 if (object->type == QStyleOptionTabWidgetFrame::Type && object->version == QStyleOptionTabWidgetFrame::Version) {
79 79 *class_name = "QStyleOptionTabWidgetFrame";
80 80 return (QStyleOptionTabWidgetFrame*)object;
81 81 }
82 82 if (object->type == QStyleOptionHeader::Type && object->version == QStyleOptionHeader::Version) {
83 83 *class_name = "QStyleOptionHeader";
84 84 return (QStyleOptionHeader*)object;
85 85 }
86 86 if (object->type == QStyleOptionSpinBox::Type && object->version == QStyleOptionSpinBox::Version) {
87 87 *class_name = "QStyleOptionSpinBox";
88 88 return (QStyleOptionSpinBox*)object;
89 89 }
90 90 if (object->type == QStyleOptionProgressBarV2::Type && object->version == QStyleOptionProgressBarV2::Version) {
91 91 *class_name = "QStyleOptionProgressBarV2";
92 92 return (QStyleOptionProgressBarV2*)object;
93 93 }
94 94 if (object->type == QStyleOptionDockWidgetV2::Type && object->version == QStyleOptionDockWidgetV2::Version) {
95 95 *class_name = "QStyleOptionDockWidgetV2";
96 96 return (QStyleOptionDockWidgetV2*)object;
97 97 }
98 98 if (object->type == QStyleOptionTabV2::Type && object->version == QStyleOptionTabV2::Version) {
99 99 *class_name = "QStyleOptionTabV2";
100 100 return (QStyleOptionTabV2*)object;
101 101 }
102 102 if (object->type == QStyleOptionToolButton::Type && object->version == QStyleOptionToolButton::Version) {
103 103 *class_name = "QStyleOptionToolButton";
104 104 return (QStyleOptionToolButton*)object;
105 105 }
106 106 if (object->type == QStyleOptionFrameV2::Type && object->version == QStyleOptionFrameV2::Version) {
107 107 *class_name = "QStyleOptionFrameV2";
108 108 return (QStyleOptionFrameV2*)object;
109 109 }
110 110 if (object->type == QStyleOptionViewItemV2::Type && object->version == QStyleOptionViewItemV2::Version) {
111 111 *class_name = "QStyleOptionViewItemV2";
112 112 return (QStyleOptionViewItemV2*)object;
113 113 }
114 114 if (object->type == QStyleOptionTitleBar::Type && object->version == QStyleOptionTitleBar::Version) {
115 115 *class_name = "QStyleOptionTitleBar";
116 116 return (QStyleOptionTitleBar*)object;
117 117 }
118 118 if (object->type == QStyleOptionTabBarBaseV2::Type && object->version == QStyleOptionTabBarBaseV2::Version) {
119 119 *class_name = "QStyleOptionTabBarBaseV2";
120 120 return (QStyleOptionTabBarBaseV2*)object;
121 121 }
122 122 if (object->type == QStyleOptionSlider::Type && object->version == QStyleOptionSlider::Version) {
123 123 *class_name = "QStyleOptionSlider";
124 124 return (QStyleOptionSlider*)object;
125 125 }
126 126 if (object->type == QStyleOptionToolBoxV2::Type && object->version == QStyleOptionToolBoxV2::Version) {
127 127 *class_name = "QStyleOptionToolBoxV2";
128 128 return (QStyleOptionToolBoxV2*)object;
129 129 }
130 130 if (object->type == QStyleOptionComboBox::Type && object->version == QStyleOptionComboBox::Version) {
131 131 *class_name = "QStyleOptionComboBox";
132 132 return (QStyleOptionComboBox*)object;
133 133 }
134 134 if (object->type == QStyleOptionSizeGrip::Type && object->version == QStyleOptionSizeGrip::Version) {
135 135 *class_name = "QStyleOptionSizeGrip";
136 136 return (QStyleOptionSizeGrip*)object;
137 137 }
138 138 if (object->type == QStyleOptionGroupBox::Type && object->version == QStyleOptionGroupBox::Version) {
139 139 *class_name = "QStyleOptionGroupBox";
140 140 return (QStyleOptionGroupBox*)object;
141 141 }
142 142 if (object->type == QStyleOptionViewItemV3::Type && object->version == QStyleOptionViewItemV3::Version) {
143 143 *class_name = "QStyleOptionViewItemV3";
144 144 return (QStyleOptionViewItemV3*)object;
145 145 }
146 146 if (object->type == QStyleOptionTabV3::Type && object->version == QStyleOptionTabV3::Version) {
147 147 *class_name = "QStyleOptionTabV3";
148 148 return (QStyleOptionTabV3*)object;
149 149 }
150 150 if (object->type == QStyleOptionFrameV3::Type && object->version == QStyleOptionFrameV3::Version) {
151 151 *class_name = "QStyleOptionFrameV3";
152 152 return (QStyleOptionFrameV3*)object;
153 153 }
154 154 if (object->type == QStyleOptionViewItemV4::Type && object->version == QStyleOptionViewItemV4::Version) {
155 155 *class_name = "QStyleOptionViewItemV4";
156 156 return (QStyleOptionViewItemV4*)object;
157 157 }
158 158 return NULL;
159 159 }
160 static void* polymorphichandler_QGradient(const void *ptr, char **class_name)
160 static void* polymorphichandler_QGradient(const void *ptr, const char **class_name)
161 161 {
162 162 Q_ASSERT(ptr != 0);
163 163 QGradient *object = (QGradient *)ptr;
164 164 if (object->type() == QGradient::NoGradient) {
165 165 *class_name = "QGradient";
166 166 return (QGradient*)object;
167 167 }
168 168 if (object->type() == QGradient::LinearGradient) {
169 169 *class_name = "QLinearGradient";
170 170 return (QLinearGradient*)object;
171 171 }
172 172 if (object->type() == QGradient::ConicalGradient) {
173 173 *class_name = "QConicalGradient";
174 174 return (QConicalGradient*)object;
175 175 }
176 176 if (object->type() == QGradient::RadialGradient) {
177 177 *class_name = "QRadialGradient";
178 178 return (QRadialGradient*)object;
179 179 }
180 180 return NULL;
181 181 }
182 static void* polymorphichandler_QEvent(const void *ptr, char **class_name)
182 static void* polymorphichandler_QEvent(const void *ptr, const char **class_name)
183 183 {
184 184 Q_ASSERT(ptr != 0);
185 185 QEvent *object = (QEvent *)ptr;
186 186 if (object->type() == QEvent::FocusIn || object->type() == QEvent::FocusOut) {
187 187 *class_name = "QFocusEvent";
188 188 return (QFocusEvent*)object;
189 189 }
190 190 if (object->type() == QEvent::WhatsThisClicked) {
191 191 *class_name = "QWhatsThisClickedEvent";
192 192 return (QWhatsThisClickedEvent*)object;
193 193 }
194 194 if (object->type() == QEvent::Move) {
195 195 *class_name = "QMoveEvent";
196 196 return (QMoveEvent*)object;
197 197 }
198 198 if (object->type() == QEvent::HoverEnter || object->type() == QEvent::HoverLeave || object->type() == QEvent::HoverMove) {
199 199 *class_name = "QHoverEvent";
200 200 return (QHoverEvent*)object;
201 201 }
202 202 if (object->type() == QEvent::DragResponse) {
203 203 *class_name = "QDragResponseEvent";
204 204 return (QDragResponseEvent*)object;
205 205 }
206 206 if (object->type() == QEvent::DragLeave) {
207 207 *class_name = "QDragLeaveEvent";
208 208 return (QDragLeaveEvent*)object;
209 209 }
210 210 if (object->type() == QEvent::ToolTip || object->type() == QEvent::WhatsThis) {
211 211 *class_name = "QHelpEvent";
212 212 return (QHelpEvent*)object;
213 213 }
214 214 if (object->type() == QEvent::FileOpen) {
215 215 *class_name = "QFileOpenEvent";
216 216 return (QFileOpenEvent*)object;
217 217 }
218 218 if (object->type() == QEvent::Clipboard) {
219 219 *class_name = "QClipboardEvent";
220 220 return (QClipboardEvent*)object;
221 221 }
222 222 if (object->type() == QEvent::StatusTip) {
223 223 *class_name = "QStatusTipEvent";
224 224 return (QStatusTipEvent*)object;
225 225 }
226 226 if (object->type() == QEvent::IconDrag) {
227 227 *class_name = "QIconDragEvent";
228 228 return (QIconDragEvent*)object;
229 229 }
230 230 if (object->type() == QEvent::Paint) {
231 231 *class_name = "QPaintEvent";
232 232 return (QPaintEvent*)object;
233 233 }
234 234 if (object->type() == QEvent::Hide) {
235 235 *class_name = "QHideEvent";
236 236 return (QHideEvent*)object;
237 237 }
238 238 if (object->type() == QEvent::ToolBarChange) {
239 239 *class_name = "QToolBarChangeEvent";
240 240 return (QToolBarChangeEvent*)object;
241 241 }
242 242 if (object->type() == QEvent::ActionAdded || object->type() == QEvent::ActionRemoved || object->type() == QEvent::ActionChanged) {
243 243 *class_name = "QActionEvent";
244 244 return (QActionEvent*)object;
245 245 }
246 246 if (object->type() == QEvent::WindowStateChange) {
247 247 *class_name = "QWindowStateChangeEvent";
248 248 return (QWindowStateChangeEvent*)object;
249 249 }
250 250 if (object->type() == QEvent::Shortcut) {
251 251 *class_name = "QShortcutEvent";
252 252 return (QShortcutEvent*)object;
253 253 }
254 254 if (object->type() == QEvent::Close) {
255 255 *class_name = "QCloseEvent";
256 256 return (QCloseEvent*)object;
257 257 }
258 258 if (object->type() == QEvent::Show) {
259 259 *class_name = "QShowEvent";
260 260 return (QShowEvent*)object;
261 261 }
262 262 if (object->type() == QEvent::AccessibilityDescription || object->type() == QEvent::AccessibilityHelp) {
263 263 *class_name = "QAccessibleEvent";
264 264 return (QAccessibleEvent*)object;
265 265 }
266 266 if (object->type() == QEvent::Resize) {
267 267 *class_name = "QResizeEvent";
268 268 return (QResizeEvent*)object;
269 269 }
270 270 if (object->type() == QEvent::Drop) {
271 271 *class_name = "QDropEvent";
272 272 return (QDropEvent*)object;
273 273 }
274 274 if (object->type() == QEvent::GraphicsSceneHoverEnter || object->type() == QEvent::GraphicsSceneHoverLeave || object->type() == QEvent::GraphicsSceneHoverMove) {
275 275 *class_name = "QGraphicsSceneHoverEvent";
276 276 return (QGraphicsSceneHoverEvent*)object;
277 277 }
278 278 if (object->type() == QEvent::KeyPress || object->type() == QEvent::KeyRelease) {
279 279 *class_name = "QKeyEvent";
280 280 return (QKeyEvent*)object;
281 281 }
282 282 if (object->type() == QEvent::MouseButtonDblClick || object->type() == QEvent::MouseButtonPress || object->type() == QEvent::MouseButtonRelease || object->type() == QEvent::MouseMove) {
283 283 *class_name = "QMouseEvent";
284 284 return (QMouseEvent*)object;
285 285 }
286 286 if (object->type() == QEvent::GraphicsSceneHelp) {
287 287 *class_name = "QGraphicsSceneHelpEvent";
288 288 return (QGraphicsSceneHelpEvent*)object;
289 289 }
290 290 if (object->type() == QEvent::GraphicsSceneMouseDoubleClick || object->type() == QEvent::GraphicsSceneMouseMove || object->type() == QEvent::GraphicsSceneMousePress || object->type() == QEvent::GraphicsSceneMouseRelease) {
291 291 *class_name = "QGraphicsSceneMouseEvent";
292 292 return (QGraphicsSceneMouseEvent*)object;
293 293 }
294 294 if (object->type() == QEvent::TouchBegin || object->type() == QEvent::TouchUpdate || object->type() == QEvent::TouchEnd) {
295 295 *class_name = "QTouchEvent";
296 296 return (QTouchEvent*)object;
297 297 }
298 298 if (object->type() == QEvent::GraphicsSceneDragEnter || object->type() == QEvent::GraphicsSceneDragLeave || object->type() == QEvent::GraphicsSceneDragMove || object->type() == QEvent::GraphicsSceneDrop) {
299 299 *class_name = "QGraphicsSceneDragDropEvent";
300 300 return (QGraphicsSceneDragDropEvent*)object;
301 301 }
302 302 if (object->type() == QEvent::GraphicsSceneResize) {
303 303 *class_name = "QGraphicsSceneResizeEvent";
304 304 return (QGraphicsSceneResizeEvent*)object;
305 305 }
306 306 if (object->type() == QEvent::GraphicsSceneMove) {
307 307 *class_name = "QGraphicsSceneMoveEvent";
308 308 return (QGraphicsSceneMoveEvent*)object;
309 309 }
310 310 if (object->type() == QEvent::GraphicsSceneContextMenu) {
311 311 *class_name = "QGraphicsSceneContextMenuEvent";
312 312 return (QGraphicsSceneContextMenuEvent*)object;
313 313 }
314 314 if (object->type() == QEvent::DragMove) {
315 315 *class_name = "QDragMoveEvent";
316 316 return (QDragMoveEvent*)object;
317 317 }
318 318 if (object->type() == QEvent::TabletMove || object->type() == QEvent::TabletPress || object->type() == QEvent::TabletRelease) {
319 319 *class_name = "QTabletEvent";
320 320 return (QTabletEvent*)object;
321 321 }
322 322 if (object->type() == QEvent::Wheel) {
323 323 *class_name = "QWheelEvent";
324 324 return (QWheelEvent*)object;
325 325 }
326 326 if (object->type() == QEvent::ContextMenu) {
327 327 *class_name = "QContextMenuEvent";
328 328 return (QContextMenuEvent*)object;
329 329 }
330 330 if (object->type() == QEvent::GraphicsSceneWheel) {
331 331 *class_name = "QGraphicsSceneWheelEvent";
332 332 return (QGraphicsSceneWheelEvent*)object;
333 333 }
334 334 if (object->type() == QEvent::DragEnter) {
335 335 *class_name = "QDragEnterEvent";
336 336 return (QDragEnterEvent*)object;
337 337 }
338 338 return NULL;
339 339 }
340 340
341 341 void PythonQt_init_QtGui(PyObject* module) {
342 342 PythonQt::priv()->registerClass(&QAbstractButton::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QAbstractButton>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractButton>, module, 0);
343 343 PythonQt::priv()->registerCPPClass("QAbstractGraphicsShapeItem", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QAbstractGraphicsShapeItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractGraphicsShapeItem>, module, 0);
344 344 PythonQt::self()->addParentClass("QAbstractGraphicsShapeItem", "QGraphicsItem",PythonQtUpcastingOffset<QAbstractGraphicsShapeItem,QGraphicsItem>());
345 345 PythonQt::priv()->registerClass(&QAbstractItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QAbstractItemDelegate>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractItemDelegate>, module, 0);
346 346 PythonQt::priv()->registerClass(&QAbstractItemView::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QAbstractItemView>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractItemView>, module, 0);
347 347 PythonQt::priv()->registerClass(&QAbstractPageSetupDialog::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QAbstractPageSetupDialog>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractPageSetupDialog>, module, 0);
348 348 PythonQt::priv()->registerClass(&QAbstractPrintDialog::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QAbstractPrintDialog>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractPrintDialog>, module, 0);
349 349 PythonQt::priv()->registerClass(&QAbstractScrollArea::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QAbstractScrollArea>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractScrollArea>, module, 0);
350 350 PythonQt::priv()->registerClass(&QAbstractSlider::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QAbstractSlider>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractSlider>, module, 0);
351 351 PythonQt::priv()->registerClass(&QAbstractSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QAbstractSpinBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractSpinBox>, module, 0);
352 352 PythonQt::priv()->registerClass(&QAbstractTableModel::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QAbstractTableModel>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractTableModel>, module, 0);
353 353 PythonQt::priv()->registerCPPClass("QAccessible", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QAccessible>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAccessible>, module, 0);
354 354 PythonQt::priv()->registerCPPClass("QAccessible2Interface", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QAccessible2Interface>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAccessible2Interface>, module, 0);
355 355 PythonQt::priv()->registerCPPClass("QAccessibleBridge", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QAccessibleBridge>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAccessibleBridge>, module, 0);
356 356 PythonQt::priv()->registerCPPClass("QAccessibleEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QAccessibleEvent>, NULL, module, 0);
357 357 PythonQt::priv()->registerCPPClass("QAccessibleInterface", "QAccessible", "QtGui", PythonQtCreateObject<PythonQtWrapper_QAccessibleInterface>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAccessibleInterface>, module, 0);
358 358 PythonQt::priv()->registerCPPClass("QAccessibleInterfaceEx", "QAccessibleInterface", "QtGui", PythonQtCreateObject<PythonQtWrapper_QAccessibleInterfaceEx>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAccessibleInterfaceEx>, module, 0);
359 359 PythonQt::priv()->registerCPPClass("QAccessibleObject", "QAccessibleInterface", "QtGui", PythonQtCreateObject<PythonQtWrapper_QAccessibleObject>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAccessibleObject>, module, 0);
360 360 PythonQt::priv()->registerCPPClass("QAccessibleObjectEx", "QAccessibleInterfaceEx", "QtGui", PythonQtCreateObject<PythonQtWrapper_QAccessibleObjectEx>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAccessibleObjectEx>, module, 0);
361 361 PythonQt::priv()->registerClass(&QAccessiblePlugin::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QAccessiblePlugin>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAccessiblePlugin>, module, 0);
362 362 PythonQt::priv()->registerCPPClass("QAccessibleTableInterface", "QAccessible2Interface", "QtGui", PythonQtCreateObject<PythonQtWrapper_QAccessibleTableInterface>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAccessibleTableInterface>, module, 0);
363 363 PythonQt::priv()->registerCPPClass("QAccessibleWidget", "QAccessibleObject", "QtGui", PythonQtCreateObject<PythonQtWrapper_QAccessibleWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAccessibleWidget>, module, 0);
364 364 PythonQt::priv()->registerCPPClass("QAccessibleWidgetEx", "QAccessibleObjectEx", "QtGui", PythonQtCreateObject<PythonQtWrapper_QAccessibleWidgetEx>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAccessibleWidgetEx>, module, 0);
365 365 PythonQt::priv()->registerClass(&QAction::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QAction>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAction>, module, 0);
366 366 PythonQt::priv()->registerCPPClass("QActionEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QActionEvent>, NULL, module, 0);
367 367 PythonQt::priv()->registerClass(&QActionGroup::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QActionGroup>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QActionGroup>, module, 0);
368 368 PythonQt::priv()->registerClass(&QApplication::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QApplication>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QApplication>, module, 0);
369 369 PythonQt::priv()->registerClass(&QBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QBoxLayout>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QBoxLayout>, module, 0);
370 370 PythonQt::priv()->registerClass(&QButtonGroup::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QButtonGroup>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QButtonGroup>, module, 0);
371 371 PythonQt::priv()->registerClass(&QCDEStyle::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QCDEStyle>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCDEStyle>, module, 0);
372 372 PythonQt::priv()->registerClass(&QCalendarWidget::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QCalendarWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCalendarWidget>, module, 0);
373 373 PythonQt::priv()->registerClass(&QCheckBox::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QCheckBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCheckBox>, module, 0);
374 374 PythonQt::priv()->registerClass(&QCleanlooksStyle::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QCleanlooksStyle>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCleanlooksStyle>, module, 0);
375 375 PythonQt::priv()->registerClass(&QClipboard::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QClipboard>, NULL, module, 0);
376 376 PythonQt::priv()->registerCPPClass("QClipboardEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QClipboardEvent>, NULL, module, 0);
377 377 PythonQt::priv()->registerCPPClass("QCloseEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QCloseEvent>, NULL, module, 0);
378 378 PythonQt::priv()->registerClass(&QColorDialog::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QColorDialog>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QColorDialog>, module, 0);
379 379 PythonQt::priv()->registerClass(&QColumnView::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QColumnView>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QColumnView>, module, 0);
380 380 PythonQt::priv()->registerClass(&QComboBox::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QComboBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QComboBox>, module, 0);
381 381 PythonQt::priv()->registerClass(&QCommandLinkButton::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QCommandLinkButton>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCommandLinkButton>, module, 0);
382 382 PythonQt::priv()->registerClass(&QCommonStyle::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QCommonStyle>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCommonStyle>, module, 0);
383 383 PythonQt::priv()->registerClass(&QCompleter::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QCompleter>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QCompleter>, module, 0);
384 384 PythonQt::priv()->registerCPPClass("QConicalGradient", "QGradient", "QtGui", PythonQtCreateObject<PythonQtWrapper_QConicalGradient>, NULL, module, PythonQt::Type_RichCompare);
385 385 PythonQt::priv()->registerCPPClass("QContextMenuEvent", "QInputEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QContextMenuEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QContextMenuEvent>, module, 0);
386 386 PythonQt::priv()->registerClass(&QDataWidgetMapper::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QDataWidgetMapper>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDataWidgetMapper>, module, 0);
387 387 PythonQt::priv()->registerClass(&QDateEdit::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QDateEdit>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDateEdit>, module, 0);
388 388 PythonQt::priv()->registerClass(&QDateTimeEdit::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QDateTimeEdit>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDateTimeEdit>, module, 0);
389 389 PythonQt::priv()->registerCPPClass("QDesktopServices", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QDesktopServices>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDesktopServices>, module, 0);
390 390 PythonQt::priv()->registerClass(&QDesktopWidget::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QDesktopWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDesktopWidget>, module, 0);
391 391 PythonQt::priv()->registerClass(&QDial::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QDial>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDial>, module, 0);
392 392 PythonQt::priv()->registerClass(&QDialog::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QDialog>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDialog>, module, 0);
393 393 PythonQt::priv()->registerClass(&QDialogButtonBox::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QDialogButtonBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDialogButtonBox>, module, 0);
394 394 PythonQt::priv()->registerClass(&QDockWidget::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QDockWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDockWidget>, module, 0);
395 395 PythonQt::priv()->registerClass(&QDoubleSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QDoubleSpinBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDoubleSpinBox>, module, 0);
396 396 PythonQt::priv()->registerClass(&QDoubleValidator::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QDoubleValidator>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDoubleValidator>, module, 0);
397 397 PythonQt::priv()->registerClass(&QDrag::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QDrag>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDrag>, module, 0);
398 398 PythonQt::priv()->registerCPPClass("QDragEnterEvent", "QDragMoveEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QDragEnterEvent>, NULL, module, 0);
399 399 PythonQt::priv()->registerCPPClass("QDragLeaveEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QDragLeaveEvent>, NULL, module, 0);
400 400 PythonQt::priv()->registerCPPClass("QDragMoveEvent", "QDropEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QDragMoveEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDragMoveEvent>, module, 0);
401 401 PythonQt::priv()->registerCPPClass("QDragResponseEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QDragResponseEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDragResponseEvent>, module, 0);
402 402 PythonQt::priv()->registerCPPClass("QDropEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QDropEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QDropEvent>, module, 0);
403 403 PythonQt::priv()->registerClass(&QErrorMessage::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QErrorMessage>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QErrorMessage>, module, 0);
404 404 PythonQt::priv()->registerClass(&QFileDialog::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QFileDialog>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QFileDialog>, module, 0);
405 405 PythonQt::priv()->registerCPPClass("QFileIconProvider", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QFileIconProvider>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QFileIconProvider>, module, 0);
406 406 PythonQt::priv()->registerCPPClass("QFileOpenEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QFileOpenEvent>, NULL, module, 0);
407 407 PythonQt::priv()->registerCPPClass("QFocusEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QFocusEvent>, NULL, module, 0);
408 408 PythonQt::priv()->registerClass(&QFocusFrame::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QFocusFrame>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QFocusFrame>, module, 0);
409 409 PythonQt::priv()->registerClass(&QFontComboBox::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QFontComboBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QFontComboBox>, module, 0);
410 410 PythonQt::priv()->registerClass(&QFontDialog::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QFontDialog>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QFontDialog>, module, 0);
411 411 PythonQt::priv()->registerCPPClass("QFontInfo", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QFontInfo>, NULL, module, 0);
412 412 PythonQt::priv()->registerCPPClass("QFontMetrics", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QFontMetrics>, NULL, module, PythonQt::Type_RichCompare);
413 413 PythonQt::priv()->registerCPPClass("QFontMetricsF", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QFontMetricsF>, NULL, module, PythonQt::Type_RichCompare);
414 414 PythonQt::priv()->registerClass(&QFormLayout::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QFormLayout>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QFormLayout>, module, 0);
415 415 PythonQt::priv()->registerClass(&QFrame::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QFrame>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QFrame>, module, 0);
416 416 PythonQt::priv()->registerClass(&QGesture::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGesture>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGesture>, module, 0);
417 417 PythonQt::priv()->registerCPPClass("QGradient", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGradient>, NULL, module, PythonQt::Type_RichCompare);
418 418 PythonQt::priv()->registerClass(&QGraphicsAnchor::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsAnchor>, NULL, module, 0);
419 419 PythonQt::priv()->registerCPPClass("QGraphicsAnchorLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsAnchorLayout>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsAnchorLayout>, module, 0);
420 420 PythonQt::priv()->registerClass(&QGraphicsEffect::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsEffect>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsEffect>, module, 0);
421 421 PythonQt::priv()->registerCPPClass("QGraphicsEllipseItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsEllipseItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsEllipseItem>, module, 0);
422 422 PythonQt::priv()->registerCPPClass("QGraphicsGridLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsGridLayout>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsGridLayout>, module, 0);
423 423 PythonQt::priv()->registerCPPClass("QGraphicsItem", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsItem>, module, 0);
424 424 PythonQt::priv()->registerClass(&QGraphicsItemAnimation::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsItemAnimation>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsItemAnimation>, module, 0);
425 425 PythonQt::priv()->registerCPPClass("QGraphicsItemGroup", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsItemGroup>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsItemGroup>, module, 0);
426 426 PythonQt::self()->addParentClass("QGraphicsItemGroup", "QGraphicsItem",PythonQtUpcastingOffset<QGraphicsItemGroup,QGraphicsItem>());
427 427 PythonQt::priv()->registerCPPClass("QGraphicsLayout", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsLayout>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsLayout>, module, 0);
428 428 PythonQt::self()->addParentClass("QGraphicsLayout", "QGraphicsLayoutItem",PythonQtUpcastingOffset<QGraphicsLayout,QGraphicsLayoutItem>());
429 429 PythonQt::priv()->registerCPPClass("QGraphicsLayoutItem", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsLayoutItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsLayoutItem>, module, 0);
430 430 PythonQt::priv()->registerCPPClass("QGraphicsLineItem", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsLineItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsLineItem>, module, 0);
431 431 PythonQt::self()->addParentClass("QGraphicsLineItem", "QGraphicsItem",PythonQtUpcastingOffset<QGraphicsLineItem,QGraphicsItem>());
432 432 PythonQt::priv()->registerCPPClass("QGraphicsLinearLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsLinearLayout>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsLinearLayout>, module, 0);
433 433 PythonQt::priv()->registerClass(&QGraphicsObject::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsObject>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsObject>, module, 0);
434 434 PythonQt::self()->addParentClass("QGraphicsObject", "QGraphicsItem",PythonQtUpcastingOffset<QGraphicsObject,QGraphicsItem>());
435 435 PythonQt::priv()->registerClass(&QGraphicsOpacityEffect::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsOpacityEffect>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsOpacityEffect>, module, 0);
436 436 PythonQt::priv()->registerCPPClass("QGraphicsPathItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsPathItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsPathItem>, module, 0);
437 437 PythonQt::priv()->registerCPPClass("QGraphicsPixmapItem", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsPixmapItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsPixmapItem>, module, 0);
438 438 PythonQt::self()->addParentClass("QGraphicsPixmapItem", "QGraphicsItem",PythonQtUpcastingOffset<QGraphicsPixmapItem,QGraphicsItem>());
439 439 PythonQt::priv()->registerCPPClass("QGraphicsPolygonItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsPolygonItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsPolygonItem>, module, 0);
440 440 PythonQt::priv()->registerClass(&QGraphicsProxyWidget::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsProxyWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsProxyWidget>, module, 0);
441 441 PythonQt::priv()->registerCPPClass("QGraphicsRectItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsRectItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsRectItem>, module, 0);
442 442 PythonQt::priv()->registerClass(&QGraphicsRotation::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsRotation>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsRotation>, module, 0);
443 443 PythonQt::priv()->registerClass(&QGraphicsScale::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsScale>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsScale>, module, 0);
444 444 PythonQt::priv()->registerClass(&QGraphicsScene::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsScene>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsScene>, module, 0);
445 445 PythonQt::priv()->registerCPPClass("QGraphicsSceneContextMenuEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsSceneContextMenuEvent>, NULL, module, 0);
446 446 PythonQt::priv()->registerCPPClass("QGraphicsSceneDragDropEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsSceneDragDropEvent>, NULL, module, 0);
447 447 PythonQt::priv()->registerCPPClass("QGraphicsSceneEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsSceneEvent>, NULL, module, 0);
448 448 PythonQt::priv()->registerCPPClass("QGraphicsSceneHelpEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsSceneHelpEvent>, NULL, module, 0);
449 449 PythonQt::priv()->registerCPPClass("QGraphicsSceneHoverEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsSceneHoverEvent>, NULL, module, 0);
450 450 PythonQt::priv()->registerCPPClass("QGraphicsSceneMouseEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsSceneMouseEvent>, NULL, module, 0);
451 451 PythonQt::priv()->registerCPPClass("QGraphicsSceneMoveEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsSceneMoveEvent>, NULL, module, 0);
452 452 PythonQt::priv()->registerCPPClass("QGraphicsSceneResizeEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsSceneResizeEvent>, NULL, module, 0);
453 453 PythonQt::priv()->registerCPPClass("QGraphicsSceneWheelEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsSceneWheelEvent>, NULL, module, 0);
454 454 PythonQt::priv()->registerCPPClass("QGraphicsSimpleTextItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsSimpleTextItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsSimpleTextItem>, module, 0);
455 455 PythonQt::priv()->registerClass(&QGraphicsTextItem::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsTextItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsTextItem>, module, 0);
456 456 PythonQt::priv()->registerClass(&QGraphicsTransform::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsTransform>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsTransform>, module, 0);
457 457 PythonQt::priv()->registerClass(&QGraphicsView::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsView>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsView>, module, 0);
458 458 PythonQt::priv()->registerClass(&QGraphicsWidget::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGraphicsWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGraphicsWidget>, module, 0);
459 459 PythonQt::self()->addParentClass("QGraphicsWidget", "QGraphicsLayoutItem",PythonQtUpcastingOffset<QGraphicsWidget,QGraphicsLayoutItem>());
460 460 PythonQt::priv()->registerClass(&QGridLayout::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGridLayout>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGridLayout>, module, 0);
461 461 PythonQt::priv()->registerClass(&QGroupBox::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QGroupBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QGroupBox>, module, 0);
462 462 PythonQt::priv()->registerClass(&QHBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QHBoxLayout>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHBoxLayout>, module, 0);
463 463 PythonQt::priv()->registerClass(&QHeaderView::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QHeaderView>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHeaderView>, module, 0);
464 464 PythonQt::priv()->registerCPPClass("QHelpEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QHelpEvent>, NULL, module, 0);
465 465 PythonQt::priv()->registerCPPClass("QHideEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QHideEvent>, NULL, module, 0);
466 466 PythonQt::priv()->registerCPPClass("QHoverEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QHoverEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHoverEvent>, module, 0);
467 467 PythonQt::priv()->registerCPPClass("QIconDragEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QIconDragEvent>, NULL, module, 0);
468 468 PythonQt::priv()->registerCPPClass("QIconEngine", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QIconEngine>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QIconEngine>, module, 0);
469 469 PythonQt::priv()->registerClass(&QIconEnginePluginV2::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QIconEnginePluginV2>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QIconEnginePluginV2>, module, 0);
470 470 PythonQt::priv()->registerCPPClass("QImageIOHandler", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QImageIOHandler>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QImageIOHandler>, module, 0);
471 471 PythonQt::priv()->registerClass(&QImageIOPlugin::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QImageIOPlugin>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QImageIOPlugin>, module, 0);
472 472 PythonQt::priv()->registerCPPClass("QImageReader", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QImageReader>, NULL, module, 0);
473 473 PythonQt::priv()->registerCPPClass("QImageWriter", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QImageWriter>, NULL, module, 0);
474 474 PythonQt::priv()->registerClass(&QInputContext::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QInputContext>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QInputContext>, module, 0);
475 475 PythonQt::priv()->registerCPPClass("QInputContextFactory", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QInputContextFactory>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QInputContextFactory>, module, 0);
476 476 PythonQt::priv()->registerClass(&QInputContextPlugin::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QInputContextPlugin>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QInputContextPlugin>, module, 0);
477 477 PythonQt::priv()->registerClass(&QInputDialog::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QInputDialog>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QInputDialog>, module, 0);
478 478 PythonQt::priv()->registerCPPClass("QInputEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QInputEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QInputEvent>, module, 0);
479 479 PythonQt::priv()->registerClass(&QIntValidator::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QIntValidator>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QIntValidator>, module, 0);
480 480 PythonQt::priv()->registerClass(&QItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QItemDelegate>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QItemDelegate>, module, 0);
481 481 PythonQt::priv()->registerCPPClass("QItemEditorCreatorBase", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QItemEditorCreatorBase>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QItemEditorCreatorBase>, module, 0);
482 482 PythonQt::priv()->registerCPPClass("QItemEditorFactory", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QItemEditorFactory>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QItemEditorFactory>, module, 0);
483 483 PythonQt::priv()->registerCPPClass("QItemSelection", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QItemSelection>, NULL, module, PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Add);
484 484 PythonQt::priv()->registerClass(&QItemSelectionModel::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QItemSelectionModel>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QItemSelectionModel>, module, 0);
485 485 PythonQt::priv()->registerCPPClass("QItemSelectionRange", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QItemSelectionRange>, NULL, module, PythonQt::Type_RichCompare);
486 486 PythonQt::priv()->registerCPPClass("QKeyEvent", "QInputEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QKeyEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QKeyEvent>, module, 0);
487 487 PythonQt::priv()->registerClass(&QKeyEventTransition::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QKeyEventTransition>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QKeyEventTransition>, module, 0);
488 488 PythonQt::priv()->registerClass(&QLCDNumber::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QLCDNumber>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QLCDNumber>, module, 0);
489 489 PythonQt::priv()->registerClass(&QLabel::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QLabel>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QLabel>, module, 0);
490 490 PythonQt::priv()->registerClass(&QLayout::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QLayout>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QLayout>, module, 0);
491 491 PythonQt::self()->addParentClass("QLayout", "QLayoutItem",PythonQtUpcastingOffset<QLayout,QLayoutItem>());
492 492 PythonQt::priv()->registerCPPClass("QLayoutItem", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QLayoutItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QLayoutItem>, module, 0);
493 493 PythonQt::priv()->registerClass(&QLineEdit::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QLineEdit>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QLineEdit>, module, 0);
494 494 PythonQt::priv()->registerCPPClass("QLinearGradient", "QGradient", "QtGui", PythonQtCreateObject<PythonQtWrapper_QLinearGradient>, NULL, module, PythonQt::Type_RichCompare);
495 495 PythonQt::priv()->registerClass(&QListView::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QListView>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QListView>, module, 0);
496 496 PythonQt::priv()->registerClass(&QListWidget::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QListWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QListWidget>, module, 0);
497 497 PythonQt::priv()->registerCPPClass("QListWidgetItem", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QListWidgetItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QListWidgetItem>, module, PythonQt::Type_RichCompare);
498 498 PythonQt::priv()->registerClass(&QMainWindow::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QMainWindow>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QMainWindow>, module, 0);
499 499 PythonQt::priv()->registerCPPClass("QMargins", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QMargins>, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare);
500 500 PythonQt::priv()->registerCPPClass("QMatrix4x4", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QMatrix4x4>, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add);
501 501 PythonQt::priv()->registerClass(&QMdiArea::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QMdiArea>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QMdiArea>, module, 0);
502 502 PythonQt::priv()->registerClass(&QMdiSubWindow::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QMdiSubWindow>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QMdiSubWindow>, module, 0);
503 503 PythonQt::priv()->registerClass(&QMenu::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QMenu>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QMenu>, module, 0);
504 504 PythonQt::priv()->registerClass(&QMenuBar::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QMenuBar>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QMenuBar>, module, 0);
505 505 PythonQt::priv()->registerClass(&QMessageBox::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QMessageBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QMessageBox>, module, 0);
506 506 PythonQt::priv()->registerClass(&QMotifStyle::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QMotifStyle>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QMotifStyle>, module, 0);
507 507 PythonQt::priv()->registerCPPClass("QMouseEvent", "QInputEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QMouseEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QMouseEvent>, module, 0);
508 508 PythonQt::priv()->registerClass(&QMouseEventTransition::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QMouseEventTransition>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QMouseEventTransition>, module, 0);
509 509 PythonQt::priv()->registerCPPClass("QMoveEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QMoveEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QMoveEvent>, module, 0);
510 510 PythonQt::priv()->registerClass(&QMovie::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QMovie>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QMovie>, module, 0);
511 511 PythonQt::priv()->registerClass(&QPageSetupDialog::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QPageSetupDialog>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPageSetupDialog>, module, 0);
512 512 PythonQt::priv()->registerCPPClass("QPaintDevice", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPaintDevice>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPaintDevice>, module, 0);
513 513 PythonQt::priv()->registerCPPClass("QPaintEngine", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPaintEngine>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPaintEngine>, module, 0);
514 514 PythonQt::priv()->registerCPPClass("QPaintEngineState", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPaintEngineState>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPaintEngineState>, module, 0);
515 515 PythonQt::priv()->registerCPPClass("QPaintEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPaintEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPaintEvent>, module, 0);
516 516 PythonQt::priv()->registerCPPClass("QPainter", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPainter>, NULL, module, 0);
517 517 PythonQt::priv()->registerCPPClass("QPainterPath", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPainterPath>, NULL, module, PythonQt::Type_And|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_InplaceOr|PythonQt::Type_RichCompare|PythonQt::Type_Or|PythonQt::Type_InplaceAnd|PythonQt::Type_Subtract|PythonQt::Type_Multiply|PythonQt::Type_Add);
518 518 PythonQt::priv()->registerCPPClass("QPainterPathStroker", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPainterPathStroker>, NULL, module, 0);
519 519 PythonQt::priv()->registerClass(&QPanGesture::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QPanGesture>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPanGesture>, module, 0);
520 520 PythonQt::priv()->registerCPPClass("QPicture", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPicture>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPicture>, module, PythonQt::Type_NonZero);
521 521 PythonQt::self()->addParentClass("QPicture", "QPaintDevice",PythonQtUpcastingOffset<QPicture,QPaintDevice>());
522 522 PythonQt::priv()->registerClass(&QPictureFormatPlugin::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QPictureFormatPlugin>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPictureFormatPlugin>, module, 0);
523 523 PythonQt::priv()->registerCPPClass("QPictureIO", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPictureIO>, NULL, module, 0);
524 524 PythonQt::priv()->registerClass(&QPinchGesture::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QPinchGesture>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPinchGesture>, module, 0);
525 525 PythonQt::priv()->registerCPPClass("QPixmapCache", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPixmapCache>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPixmapCache>, module, 0);
526 526 PythonQt::priv()->registerCPPClass("QPixmapCache::Key", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPixmapCache_Key>, NULL, module, PythonQt::Type_RichCompare);
527 527 PythonQt::priv()->registerClass(&QPlainTextDocumentLayout::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QPlainTextDocumentLayout>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPlainTextDocumentLayout>, module, 0);
528 528 PythonQt::priv()->registerClass(&QPlainTextEdit::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QPlainTextEdit>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPlainTextEdit>, module, 0);
529 529 PythonQt::priv()->registerClass(&QPlastiqueStyle::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QPlastiqueStyle>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPlastiqueStyle>, module, 0);
530 530 PythonQt::priv()->registerCPPClass("QPolygonF", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPolygonF>, NULL, module, PythonQt::Type_RichCompare|PythonQt::Type_Multiply|PythonQt::Type_Add);
531 531 PythonQt::priv()->registerClass(&QPrintDialog::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QPrintDialog>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPrintDialog>, module, 0);
532 532 PythonQt::priv()->registerCPPClass("QPrintEngine", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPrintEngine>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPrintEngine>, module, 0);
533 533 PythonQt::priv()->registerClass(&QPrintPreviewDialog::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QPrintPreviewDialog>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPrintPreviewDialog>, module, 0);
534 534 PythonQt::priv()->registerClass(&QPrintPreviewWidget::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QPrintPreviewWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPrintPreviewWidget>, module, 0);
535 535 PythonQt::priv()->registerCPPClass("QPrinter", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QPrinter>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPrinter>, module, 0);
536 536 PythonQt::self()->addParentClass("QPrinter", "QPaintDevice",PythonQtUpcastingOffset<QPrinter,QPaintDevice>());
537 537 PythonQt::priv()->registerClass(&QProgressBar::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QProgressBar>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QProgressBar>, module, 0);
538 538 PythonQt::priv()->registerClass(&QProgressDialog::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QProgressDialog>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QProgressDialog>, module, 0);
539 539 PythonQt::priv()->registerClass(&QProxyStyle::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QProxyStyle>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QProxyStyle>, module, 0);
540 540 PythonQt::priv()->registerClass(&QPushButton::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QPushButton>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QPushButton>, module, 0);
541 541 PythonQt::priv()->registerCPPClass("QQuaternion", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QQuaternion>, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_NonZero|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add);
542 542 PythonQt::priv()->registerCPPClass("QRadialGradient", "QGradient", "QtGui", PythonQtCreateObject<PythonQtWrapper_QRadialGradient>, NULL, module, PythonQt::Type_RichCompare);
543 543 PythonQt::priv()->registerClass(&QRadioButton::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QRadioButton>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QRadioButton>, module, 0);
544 544 PythonQt::priv()->registerClass(&QRegExpValidator::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QRegExpValidator>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QRegExpValidator>, module, 0);
545 545 PythonQt::priv()->registerCPPClass("QResizeEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QResizeEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QResizeEvent>, module, 0);
546 546 PythonQt::priv()->registerClass(&QRubberBand::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QRubberBand>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QRubberBand>, module, 0);
547 547 PythonQt::priv()->registerClass(&QScrollArea::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QScrollArea>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QScrollArea>, module, 0);
548 548 PythonQt::priv()->registerClass(&QScrollBar::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QScrollBar>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QScrollBar>, module, 0);
549 549 PythonQt::priv()->registerClass(&QSessionManager::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QSessionManager>, NULL, module, 0);
550 550 PythonQt::priv()->registerClass(&QShortcut::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QShortcut>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QShortcut>, module, 0);
551 551 PythonQt::priv()->registerCPPClass("QShortcutEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QShortcutEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QShortcutEvent>, module, 0);
552 552 PythonQt::priv()->registerCPPClass("QShowEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QShowEvent>, NULL, module, 0);
553 553 PythonQt::priv()->registerClass(&QSizeGrip::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QSizeGrip>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSizeGrip>, module, 0);
554 554 PythonQt::priv()->registerClass(&QSlider::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QSlider>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSlider>, module, 0);
555 555 PythonQt::priv()->registerClass(&QSound::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QSound>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSound>, module, 0);
556 556 PythonQt::priv()->registerCPPClass("QSpacerItem", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QSpacerItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSpacerItem>, module, 0);
557 557 PythonQt::self()->addParentClass("QSpacerItem", "QLayoutItem",PythonQtUpcastingOffset<QSpacerItem,QLayoutItem>());
558 558 PythonQt::priv()->registerClass(&QSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QSpinBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSpinBox>, module, 0);
559 559 PythonQt::priv()->registerClass(&QSplashScreen::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QSplashScreen>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSplashScreen>, module, 0);
560 560 PythonQt::priv()->registerClass(&QSplitter::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QSplitter>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSplitter>, module, 0);
561 561 PythonQt::priv()->registerClass(&QSplitterHandle::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QSplitterHandle>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSplitterHandle>, module, 0);
562 562 PythonQt::priv()->registerClass(&QStackedLayout::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QStackedLayout>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStackedLayout>, module, 0);
563 563 PythonQt::priv()->registerClass(&QStackedWidget::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QStackedWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStackedWidget>, module, 0);
564 564 PythonQt::priv()->registerCPPClass("QStandardItem", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStandardItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStandardItem>, module, PythonQt::Type_RichCompare);
565 565 PythonQt::priv()->registerClass(&QStandardItemModel::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QStandardItemModel>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStandardItemModel>, module, 0);
566 566 PythonQt::priv()->registerClass(&QStatusBar::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QStatusBar>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStatusBar>, module, 0);
567 567 PythonQt::priv()->registerCPPClass("QStatusTipEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStatusTipEvent>, NULL, module, 0);
568 568 PythonQt::priv()->registerClass(&QStringListModel::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QStringListModel>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStringListModel>, module, 0);
569 569 PythonQt::priv()->registerClass(&QStyle::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyle>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyle>, module, 0);
570 570 PythonQt::priv()->registerCPPClass("QStyleFactory", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleFactory>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleFactory>, module, 0);
571 571 PythonQt::priv()->registerCPPClass("QStyleHintReturn", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleHintReturn>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleHintReturn>, module, 0);
572 572 PythonQt::priv()->registerCPPClass("QStyleHintReturnMask", "QStyleHintReturn", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleHintReturnMask>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleHintReturnMask>, module, 0);
573 573 PythonQt::priv()->registerCPPClass("QStyleHintReturnVariant", "QStyleHintReturn", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleHintReturnVariant>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleHintReturnVariant>, module, 0);
574 574 PythonQt::priv()->registerCPPClass("QStyleOption", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOption>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOption>, module, 0);
575 575 PythonQt::priv()->registerCPPClass("QStyleOptionButton", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionButton>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionButton>, module, 0);
576 576 PythonQt::priv()->registerCPPClass("QStyleOptionComboBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionComboBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionComboBox>, module, 0);
577 577 PythonQt::priv()->registerCPPClass("QStyleOptionDockWidget", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionDockWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionDockWidget>, module, 0);
578 578 PythonQt::priv()->registerCPPClass("QStyleOptionDockWidgetV2", "QStyleOptionDockWidget", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionDockWidgetV2>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionDockWidgetV2>, module, 0);
579 579 PythonQt::priv()->registerCPPClass("QStyleOptionFocusRect", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionFocusRect>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionFocusRect>, module, 0);
580 580 PythonQt::priv()->registerCPPClass("QStyleOptionFrame", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionFrame>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionFrame>, module, 0);
581 581 PythonQt::priv()->registerCPPClass("QStyleOptionFrameV2", "QStyleOptionFrame", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionFrameV2>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionFrameV2>, module, 0);
582 582 PythonQt::priv()->registerCPPClass("QStyleOptionFrameV3", "QStyleOptionFrameV2", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionFrameV3>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionFrameV3>, module, 0);
583 583 PythonQt::priv()->registerCPPClass("QStyleOptionGraphicsItem", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionGraphicsItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionGraphicsItem>, module, 0);
584 584 PythonQt::priv()->registerCPPClass("QStyleOptionGroupBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionGroupBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionGroupBox>, module, 0);
585 585 PythonQt::priv()->registerCPPClass("QStyleOptionHeader", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionHeader>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionHeader>, module, 0);
586 586 PythonQt::priv()->registerCPPClass("QStyleOptionMenuItem", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionMenuItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionMenuItem>, module, 0);
587 587 PythonQt::priv()->registerCPPClass("QStyleOptionProgressBar", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionProgressBar>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionProgressBar>, module, 0);
588 588 PythonQt::priv()->registerCPPClass("QStyleOptionProgressBarV2", "QStyleOptionProgressBar", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionProgressBarV2>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionProgressBarV2>, module, 0);
589 589 PythonQt::priv()->registerCPPClass("QStyleOptionRubberBand", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionRubberBand>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionRubberBand>, module, 0);
590 590 PythonQt::priv()->registerCPPClass("QStyleOptionSizeGrip", "QStyleOptionComplex", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionSizeGrip>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionSizeGrip>, module, 0);
591 591 PythonQt::priv()->registerCPPClass("QStyleOptionSlider", "QStyleOptionComplex", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionSlider>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionSlider>, module, 0);
592 592 PythonQt::priv()->registerCPPClass("QStyleOptionSpinBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionSpinBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionSpinBox>, module, 0);
593 593 PythonQt::priv()->registerCPPClass("QStyleOptionTab", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionTab>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionTab>, module, 0);
594 594 PythonQt::priv()->registerCPPClass("QStyleOptionTabBarBase", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionTabBarBase>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionTabBarBase>, module, 0);
595 595 PythonQt::priv()->registerCPPClass("QStyleOptionTabBarBaseV2", "QStyleOptionTabBarBase", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionTabBarBaseV2>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionTabBarBaseV2>, module, 0);
596 596 PythonQt::priv()->registerCPPClass("QStyleOptionTabV2", "QStyleOptionTab", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionTabV2>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionTabV2>, module, 0);
597 597 PythonQt::priv()->registerCPPClass("QStyleOptionTabV3", "QStyleOptionTabV2", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionTabV3>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionTabV3>, module, 0);
598 598 PythonQt::priv()->registerCPPClass("QStyleOptionTabWidgetFrame", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionTabWidgetFrame>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionTabWidgetFrame>, module, 0);
599 599 PythonQt::priv()->registerCPPClass("QStyleOptionTitleBar", "QStyleOptionComplex", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionTitleBar>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionTitleBar>, module, 0);
600 600 PythonQt::priv()->registerCPPClass("QStyleOptionToolBar", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionToolBar>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionToolBar>, module, 0);
601 601 PythonQt::priv()->registerCPPClass("QStyleOptionToolBox", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionToolBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionToolBox>, module, 0);
602 602 PythonQt::priv()->registerCPPClass("QStyleOptionToolBoxV2", "QStyleOptionToolBox", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionToolBoxV2>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionToolBoxV2>, module, 0);
603 603 PythonQt::priv()->registerCPPClass("QStyleOptionToolButton", "QStyleOptionComplex", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionToolButton>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionToolButton>, module, 0);
604 604 PythonQt::priv()->registerCPPClass("QStyleOptionViewItem", "QStyleOption", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionViewItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionViewItem>, module, 0);
605 605 PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV2", "QStyleOptionViewItem", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionViewItemV2>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionViewItemV2>, module, 0);
606 606 PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV3", "QStyleOptionViewItemV2", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionViewItemV3>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionViewItemV3>, module, 0);
607 607 PythonQt::priv()->registerCPPClass("QStyleOptionViewItemV4", "QStyleOptionViewItemV3", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyleOptionViewItemV4>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyleOptionViewItemV4>, module, 0);
608 608 PythonQt::priv()->registerCPPClass("QStylePainter", "QPainter", "QtGui", PythonQtCreateObject<PythonQtWrapper_QStylePainter>, NULL, module, 0);
609 609 PythonQt::priv()->registerClass(&QStylePlugin::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QStylePlugin>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStylePlugin>, module, 0);
610 610 PythonQt::priv()->registerClass(&QStyledItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QStyledItemDelegate>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QStyledItemDelegate>, module, 0);
611 611 PythonQt::priv()->registerClass(&QSwipeGesture::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QSwipeGesture>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSwipeGesture>, module, 0);
612 612 PythonQt::priv()->registerClass(&QSyntaxHighlighter::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QSyntaxHighlighter>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSyntaxHighlighter>, module, 0);
613 613 PythonQt::priv()->registerClass(&QSystemTrayIcon::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QSystemTrayIcon>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSystemTrayIcon>, module, 0);
614 614 PythonQt::priv()->registerClass(&QTabBar::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTabBar>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTabBar>, module, 0);
615 615 PythonQt::priv()->registerClass(&QTabWidget::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTabWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTabWidget>, module, 0);
616 616 PythonQt::priv()->registerClass(&QTableView::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTableView>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTableView>, module, 0);
617 617 PythonQt::priv()->registerClass(&QTableWidget::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTableWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTableWidget>, module, 0);
618 618 PythonQt::priv()->registerCPPClass("QTableWidgetItem", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTableWidgetItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTableWidgetItem>, module, PythonQt::Type_RichCompare);
619 619 PythonQt::priv()->registerCPPClass("QTableWidgetSelectionRange", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTableWidgetSelectionRange>, NULL, module, 0);
620 620 PythonQt::priv()->registerCPPClass("QTabletEvent", "QInputEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTabletEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTabletEvent>, module, 0);
621 621 PythonQt::priv()->registerCPPClass("QTextBlock", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextBlock>, NULL, module, PythonQt::Type_RichCompare);
622 622 PythonQt::priv()->registerCPPClass("QTextBlockFormat", "QTextFormat", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextBlockFormat>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextBlockFormat>, module, PythonQt::Type_RichCompare);
623 623 PythonQt::priv()->registerClass(&QTextBlockGroup::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextBlockGroup>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextBlockGroup>, module, 0);
624 624 PythonQt::priv()->registerCPPClass("QTextBlockUserData", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextBlockUserData>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextBlockUserData>, module, 0);
625 625 PythonQt::priv()->registerClass(&QTextBrowser::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextBrowser>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextBrowser>, module, 0);
626 626 PythonQt::priv()->registerCPPClass("QTextCharFormat", "QTextFormat", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextCharFormat>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextCharFormat>, module, PythonQt::Type_RichCompare);
627 627 PythonQt::priv()->registerClass(&QTextCodecPlugin::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextCodecPlugin>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextCodecPlugin>, module, 0);
628 628 PythonQt::priv()->registerCPPClass("QTextCursor", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextCursor>, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare);
629 629 PythonQt::priv()->registerClass(&QTextDocument::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextDocument>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextDocument>, module, 0);
630 630 PythonQt::priv()->registerCPPClass("QTextDocumentFragment", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextDocumentFragment>, NULL, module, 0);
631 631 PythonQt::priv()->registerCPPClass("QTextDocumentWriter", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextDocumentWriter>, NULL, module, 0);
632 632 PythonQt::priv()->registerClass(&QTextEdit::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextEdit>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextEdit>, module, 0);
633 633 PythonQt::priv()->registerCPPClass("QTextFragment", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextFragment>, NULL, module, PythonQt::Type_RichCompare);
634 634 PythonQt::priv()->registerClass(&QTextFrame::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextFrame>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextFrame>, module, 0);
635 635 PythonQt::priv()->registerCPPClass("QTextFrameFormat", "QTextFormat", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextFrameFormat>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextFrameFormat>, module, PythonQt::Type_RichCompare);
636 636 PythonQt::priv()->registerCPPClass("QTextImageFormat", "QTextCharFormat", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextImageFormat>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextImageFormat>, module, PythonQt::Type_RichCompare);
637 637 PythonQt::priv()->registerCPPClass("QTextInlineObject", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextInlineObject>, NULL, module, 0);
638 638 PythonQt::priv()->registerCPPClass("QTextItem", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextItem>, module, 0);
639 639 PythonQt::priv()->registerCPPClass("QTextLine", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextLine>, NULL, module, 0);
640 640 PythonQt::priv()->registerClass(&QTextList::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextList>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextList>, module, 0);
641 641 PythonQt::priv()->registerCPPClass("QTextListFormat", "QTextFormat", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextListFormat>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextListFormat>, module, PythonQt::Type_RichCompare);
642 642 PythonQt::priv()->registerClass(&QTextObject::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextObject>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextObject>, module, 0);
643 643 PythonQt::priv()->registerClass(&QTextTable::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextTable>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextTable>, module, 0);
644 644 PythonQt::priv()->registerCPPClass("QTextTableCell", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextTableCell>, NULL, module, PythonQt::Type_RichCompare);
645 645 PythonQt::priv()->registerCPPClass("QTextTableCellFormat", "QTextCharFormat", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextTableCellFormat>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextTableCellFormat>, module, PythonQt::Type_RichCompare);
646 646 PythonQt::priv()->registerCPPClass("QTextTableFormat", "QTextFrameFormat", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTextTableFormat>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTextTableFormat>, module, PythonQt::Type_RichCompare);
647 647 PythonQt::priv()->registerCPPClass("QTileRules", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTileRules>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTileRules>, module, 0);
648 648 PythonQt::priv()->registerClass(&QTimeEdit::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTimeEdit>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTimeEdit>, module, 0);
649 649 PythonQt::priv()->registerClass(&QToolBar::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QToolBar>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QToolBar>, module, 0);
650 650 PythonQt::priv()->registerCPPClass("QToolBarChangeEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QToolBarChangeEvent>, NULL, module, 0);
651 651 PythonQt::priv()->registerClass(&QToolBox::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QToolBox>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QToolBox>, module, 0);
652 652 PythonQt::priv()->registerClass(&QToolButton::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QToolButton>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QToolButton>, module, 0);
653 653 PythonQt::priv()->registerCPPClass("QToolTip", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QToolTip>, NULL, module, 0);
654 654 PythonQt::priv()->registerCPPClass("QTouchEvent", "QInputEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTouchEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTouchEvent>, module, 0);
655 655 PythonQt::priv()->registerCPPClass("QTouchEvent::TouchPoint", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTouchEvent_TouchPoint>, NULL, module, 0);
656 656 PythonQt::priv()->registerCPPClass("QTransform", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTransform>, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add);
657 657 PythonQt::priv()->registerClass(&QTreeView::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTreeView>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTreeView>, module, 0);
658 658 PythonQt::priv()->registerClass(&QTreeWidget::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QTreeWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTreeWidget>, module, 0);
659 659 PythonQt::priv()->registerCPPClass("QTreeWidgetItem", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QTreeWidgetItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTreeWidgetItem>, module, PythonQt::Type_RichCompare);
660 660 PythonQt::priv()->registerCPPClass("QUndoCommand", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QUndoCommand>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QUndoCommand>, module, 0);
661 661 PythonQt::priv()->registerClass(&QUndoGroup::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QUndoGroup>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QUndoGroup>, module, 0);
662 662 PythonQt::priv()->registerClass(&QUndoStack::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QUndoStack>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QUndoStack>, module, 0);
663 663 PythonQt::priv()->registerClass(&QUndoView::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QUndoView>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QUndoView>, module, 0);
664 664 PythonQt::priv()->registerClass(&QVBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QVBoxLayout>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QVBoxLayout>, module, 0);
665 665 PythonQt::priv()->registerClass(&QValidator::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QValidator>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QValidator>, module, 0);
666 666 PythonQt::priv()->registerCPPClass("QVector2D", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QVector2D>, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_NonZero|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add);
667 667 PythonQt::priv()->registerCPPClass("QVector3D", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QVector3D>, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_NonZero|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add);
668 668 PythonQt::priv()->registerCPPClass("QVector4D", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QVector4D>, NULL, module, PythonQt::Type_Divide|PythonQt::Type_InplaceDivide|PythonQt::Type_NonZero|PythonQt::Type_InplaceSubtract|PythonQt::Type_InplaceAdd|PythonQt::Type_RichCompare|PythonQt::Type_Subtract|PythonQt::Type_InplaceMultiply|PythonQt::Type_Multiply|PythonQt::Type_Add);
669 669 PythonQt::priv()->registerCPPClass("QWhatsThis", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QWhatsThis>, NULL, module, 0);
670 670 PythonQt::priv()->registerCPPClass("QWhatsThisClickedEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QWhatsThisClickedEvent>, NULL, module, 0);
671 671 PythonQt::priv()->registerCPPClass("QWheelEvent", "QInputEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QWheelEvent>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QWheelEvent>, module, 0);
672 672 PythonQt::priv()->registerClass(&QWidget::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QWidget>, module, 0);
673 673 PythonQt::self()->addParentClass("QWidget", "QPaintDevice",PythonQtUpcastingOffset<QWidget,QPaintDevice>());
674 674 PythonQt::priv()->registerClass(&QWidgetAction::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QWidgetAction>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QWidgetAction>, module, 0);
675 675 PythonQt::priv()->registerCPPClass("QWidgetItem", "", "QtGui", PythonQtCreateObject<PythonQtWrapper_QWidgetItem>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QWidgetItem>, module, 0);
676 676 PythonQt::self()->addParentClass("QWidgetItem", "QLayoutItem",PythonQtUpcastingOffset<QWidgetItem,QLayoutItem>());
677 677 PythonQt::priv()->registerCPPClass("QWindowStateChangeEvent", "QEvent", "QtGui", PythonQtCreateObject<PythonQtWrapper_QWindowStateChangeEvent>, NULL, module, 0);
678 678 PythonQt::priv()->registerClass(&QWindowsStyle::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QWindowsStyle>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QWindowsStyle>, module, 0);
679 679 PythonQt::priv()->registerClass(&QWizard::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QWizard>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QWizard>, module, 0);
680 680 PythonQt::priv()->registerClass(&QWizardPage::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QWizardPage>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QWizardPage>, module, 0);
681 681 PythonQt::priv()->registerClass(&QWorkspace::staticMetaObject, "QtGui", PythonQtCreateObject<PythonQtWrapper_QWorkspace>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QWorkspace>, module, 0);
682 682
683 683 PythonQt::self()->addPolymorphicHandler("QStyleOption", polymorphichandler_QStyleOption);
684 684 PythonQt::self()->addPolymorphicHandler("QGradient", polymorphichandler_QGradient);
685 685 PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent);
686 686 }
General Comments 0
You need to be logged in to leave comments. Login now