@@ -30,10 +30,10 @@ class PythonQtShell_QTimer : public QTimer
30
30
PythonQtShell_QTimer (QObject* parent = 0 ):QTimer(parent),_wrapper(NULL ) {};
31
31
32
32
virtual void timerEvent (QTimerEvent* arg__1);
33
- virtual void childEvent (QChildEvent* arg__1);
34
- virtual void customEvent (QEvent* arg__1);
35
33
virtual bool event (QEvent* arg__1);
36
34
virtual bool eventFilter (QObject* arg__1, QEvent* arg__2);
35
+ virtual void childEvent (QChildEvent* arg__1);
36
+ virtual void customEvent (QEvent* arg__1);
37
37
38
38
PythonQtInstanceWrapper* _wrapper;
39
39
};
@@ -49,14 +49,14 @@ class PythonQtWrapper_QTimer : public QObject
49
49
public slots:
50
50
QTimer* new_QTimer (QObject* parent = 0 );
51
51
void delete_QTimer (QTimer* obj) { delete obj; }
52
+ void timerEvent (QTimer* theWrappedObject, QTimerEvent* arg__1);
52
53
int timerId (QTimer* theWrappedObject) const ;
53
54
void setSingleShot (QTimer* theWrappedObject, bool singleShot);
54
- void setInterval (QTimer* theWrappedObject, int msec);
55
55
bool isActive (QTimer* theWrappedObject) const ;
56
56
bool isSingleShot (QTimer* theWrappedObject) const ;
57
- int interval (QTimer* theWrappedObject) const ;
58
- void timerEvent (QTimer* theWrappedObject, QTimerEvent* arg__1);
57
+ void setInterval (QTimer* theWrappedObject, int msec);
59
58
void static_QTimer_singleShot (int msec, QObject* receiver, const char * member);
59
+ int interval (QTimer* theWrappedObject) const ;
60
60
};
61
61
62
62
@@ -92,11 +92,11 @@ class PythonQtShell_QTranslator : public QTranslator
92
92
93
93
virtual QString translate (const char * context, const char * sourceText, const char * disambiguation = 0 ) const ;
94
94
virtual bool isEmpty () const ;
95
- virtual void childEvent (QChildEvent* arg__1);
96
- virtual void timerEvent (QTimerEvent* arg__1);
97
- virtual void customEvent (QEvent* arg__1);
98
95
virtual bool event (QEvent* arg__1);
99
96
virtual bool eventFilter (QObject* arg__1, QEvent* arg__2);
97
+ virtual void childEvent (QChildEvent* arg__1);
98
+ virtual void customEvent (QEvent* arg__1);
99
+ virtual void timerEvent (QTimerEvent* arg__1);
100
100
101
101
PythonQtInstanceWrapper* _wrapper;
102
102
};
@@ -151,16 +151,19 @@ PythonQtShell_QUuid* a = new PythonQtShell_QUuid();
151
151
*((QUuid*)a) = other;
152
152
return a; }
153
153
void delete_QUuid (QUuid* obj) { delete obj; }
154
- QUuid static_QUuid_createUuid ();
155
- QUuid::Version version (QUuid* theWrappedObject) const ;
156
- bool operator_less (QUuid* theWrappedObject, const QUuid& other) const ;
157
154
QString toString (QUuid* theWrappedObject) const ;
158
- bool operator_equal (QUuid* theWrappedObject, const QUuid& orig) const ;
155
+ bool __gt__ (QUuid* theWrappedObject, const QUuid& other) const ;
156
+ bool __ne__ (QUuid* theWrappedObject, const QUuid& orig) const ;
157
+ bool __lt__ (QUuid* theWrappedObject, const QUuid& other) const ;
158
+ QUuid::Version version (QUuid* theWrappedObject) const ;
159
+ QUuid static_QUuid_createUuid ();
160
+ bool __eq__ (QUuid* theWrappedObject, const QUuid& orig) const ;
159
161
bool isNull (QUuid* theWrappedObject) const ;
160
162
QUuid::Variant variant (QUuid* theWrappedObject) const ;
161
163
void writeTo (QUuid* theWrappedObject, QDataStream& arg__1);
162
164
void readFrom (QUuid* theWrappedObject, QDataStream& arg__1);
163
165
QString py_toString (QUuid*);
166
+ bool __nonzero__ (QUuid* obj) { return !obj->isNull (); }
164
167
void py_set_data1 (QUuid* theWrappedObject, uint data1){ theWrappedObject->data1 = data1; }
165
168
uint py_get_data1 (QUuid* theWrappedObject){ return theWrappedObject->data1 ; }
166
169
void py_set_data2 (QUuid* theWrappedObject, ushort data2){ theWrappedObject->data2 = data2; }
@@ -179,16 +182,16 @@ class PythonQtShell_QVariantAnimation : public QVariantAnimation
179
182
PythonQtShell_QVariantAnimation (QObject* parent = 0 ):QVariantAnimation(parent),_wrapper(NULL ) {};
180
183
181
184
virtual bool event (QEvent* event);
185
+ virtual void updateCurrentValue (const QVariant& value);
182
186
virtual int duration () const ;
183
- virtual QVariant interpolated (const QVariant& from, const QVariant& to, qreal progress) const ;
184
187
virtual void updateCurrentTime (int arg__1);
185
- virtual void updateCurrentValue (const QVariant& value) ;
188
+ virtual QVariant interpolated (const QVariant& from, const QVariant& to, qreal progress) const ;
186
189
virtual void updateState (QAbstractAnimation::State newState, QAbstractAnimation::State oldState);
187
190
virtual void updateDirection (QAbstractAnimation::Direction direction);
191
+ virtual bool eventFilter (QObject* arg__1, QEvent* arg__2);
188
192
virtual void childEvent (QChildEvent* arg__1);
189
- virtual void timerEvent (QTimerEvent* arg__1);
190
193
virtual void customEvent (QEvent* arg__1);
191
- virtual bool eventFilter (QObject * arg__1, QEvent* arg__2 );
194
+ virtual void timerEvent (QTimerEvent * arg__1);
192
195
193
196
PythonQtInstanceWrapper* _wrapper;
194
197
};
@@ -197,8 +200,8 @@ class PythonQtPublicPromoter_QVariantAnimation : public QVariantAnimation
197
200
{ public:
198
201
inline bool promoted_event (QEvent* event) { return QVariantAnimation::event (event); }
199
202
inline int promoted_duration () const { return QVariantAnimation::duration (); }
200
- inline QVariant promoted_interpolated (const QVariant& from, const QVariant& to, qreal progress) const { return QVariantAnimation::interpolated (from, to, progress); }
201
203
inline void promoted_updateCurrentTime (int arg__1) { QVariantAnimation::updateCurrentTime (arg__1); }
204
+ inline QVariant promoted_interpolated (const QVariant& from, const QVariant& to, qreal progress) const { return QVariantAnimation::interpolated (from, to, progress); }
202
205
inline void promoted_updateState (QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { QVariantAnimation::updateState (newState, oldState); }
203
206
};
204
207
@@ -211,18 +214,18 @@ void delete_QVariantAnimation(QVariantAnimation* obj) { delete obj; }
211
214
QEasingCurve easingCurve (QVariantAnimation* theWrappedObject) const ;
212
215
QVariant keyValueAt (QVariantAnimation* theWrappedObject, qreal step) const ;
213
216
bool event (QVariantAnimation* theWrappedObject, QEvent* event);
214
- QVariant startValue (QVariantAnimation* theWrappedObject) const ;
215
217
QVariant currentValue (QVariantAnimation* theWrappedObject) const ;
218
+ QVariant startValue (QVariantAnimation* theWrappedObject) const ;
216
219
void setEndValue (QVariantAnimation* theWrappedObject, const QVariant& value);
217
- void setKeyValues (QVariantAnimation* theWrappedObject, const QVector<QPair<qreal , QVariant > >& values);
218
- void setDuration (QVariantAnimation* theWrappedObject, int msecs);
219
- void setStartValue (QVariantAnimation* theWrappedObject, const QVariant& value);
220
220
int duration (QVariantAnimation* theWrappedObject) const ;
221
+ void setStartValue (QVariantAnimation* theWrappedObject, const QVariant& value);
222
+ void updateCurrentTime (QVariantAnimation* theWrappedObject, int arg__1);
223
+ void setDuration (QVariantAnimation* theWrappedObject, int msecs);
224
+ QVariant endValue (QVariantAnimation* theWrappedObject) const ;
221
225
QVector<QPair<qreal , QVariant > > keyValues (QVariantAnimation* theWrappedObject) const ;
222
226
void setEasingCurve (QVariantAnimation* theWrappedObject, const QEasingCurve& easing);
227
+ void setKeyValues (QVariantAnimation* theWrappedObject, const QVector<QPair<qreal , QVariant > >& values);
223
228
QVariant interpolated (QVariantAnimation* theWrappedObject, const QVariant& from, const QVariant& to, qreal progress) const ;
224
- QVariant endValue (QVariantAnimation* theWrappedObject) const ;
225
- void updateCurrentTime (QVariantAnimation* theWrappedObject, int arg__1);
226
229
void setKeyValueAt (QVariantAnimation* theWrappedObject, qreal step, const QVariant& value);
227
230
void updateState (QVariantAnimation* theWrappedObject, QAbstractAnimation::State newState, QAbstractAnimation::State oldState);
228
231
};
@@ -238,8 +241,8 @@ public slots:
238
241
QWaitCondition* new_QWaitCondition ();
239
242
void delete_QWaitCondition (QWaitCondition* obj) { delete obj; }
240
243
void wakeAll (QWaitCondition* theWrappedObject);
241
- bool wait (QWaitCondition* theWrappedObject, QReadWriteLock* readWriteLock, unsigned long time = ULONG_MAX );
242
- bool wait (QWaitCondition* theWrappedObject, QMutex* mutex, unsigned long time = ULONG_MAX );
244
+ bool wait (QWaitCondition* theWrappedObject, QReadWriteLock* readWriteLock, unsigned long time = 0xffffffffUL );
245
+ bool wait (QWaitCondition* theWrappedObject, QMutex* mutex, unsigned long time = 0xffffffffUL );
243
246
void wakeOne (QWaitCondition* theWrappedObject);
244
247
};
245
248
0 commit comments